Skip to content

Commit c5fdb7f

Browse files
feat(api): api update
1 parent a9cc218 commit c5fdb7f

File tree

2 files changed

+41
-2
lines changed

2 files changed

+41
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 118
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-672b562b91c2e644498b93b1940f8866576a6734a81346b324ed5792e9276bf3.yml
3-
openapi_spec_hash: 3c1a3cc113493afd824bdc6773a202bb
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-145c6652d32a05c9305e4674643e2aa7d559073e48dc252d6c3c0fe802ce7ec6.yml
3+
openapi_spec_hash: 6bbbbe1687099b69faee47fda12bf82c
44
config_hash: e6db17547fe854b1c240407cf4c6dc9e

src/resources/customers/customers.ts

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ export interface CustomerCreateParams {
650650
| NewSphereConfiguration
651651
| CustomerCreateParams.NewNumeralConfiguration
652652
| CustomerCreateParams.NewAnrokConfiguration
653+
| CustomerCreateParams.NewStripeTaxConfiguration
653654
| null;
654655

655656
/**
@@ -832,6 +833,18 @@ export namespace CustomerCreateParams {
832833
*/
833834
automatic_tax_enabled?: boolean | null;
834835
}
836+
837+
export interface NewStripeTaxConfiguration {
838+
tax_exempt: boolean;
839+
840+
tax_provider: 'stripe';
841+
842+
/**
843+
* Whether to automatically calculate tax for this customer. When null, inherits
844+
* from account-level setting. When true or false, overrides the account setting.
845+
*/
846+
automatic_tax_enabled?: boolean | null;
847+
}
835848
}
836849

837850
export interface CustomerUpdateParams {
@@ -927,6 +940,7 @@ export interface CustomerUpdateParams {
927940
| NewSphereConfiguration
928941
| CustomerUpdateParams.NewNumeralConfiguration
929942
| CustomerUpdateParams.NewAnrokConfiguration
943+
| CustomerUpdateParams.NewStripeTaxConfiguration
930944
| null;
931945

932946
/**
@@ -1102,6 +1116,18 @@ export namespace CustomerUpdateParams {
11021116
*/
11031117
automatic_tax_enabled?: boolean | null;
11041118
}
1119+
1120+
export interface NewStripeTaxConfiguration {
1121+
tax_exempt: boolean;
1122+
1123+
tax_provider: 'stripe';
1124+
1125+
/**
1126+
* Whether to automatically calculate tax for this customer. When null, inherits
1127+
* from account-level setting. When true or false, overrides the account setting.
1128+
*/
1129+
automatic_tax_enabled?: boolean | null;
1130+
}
11051131
}
11061132

11071133
export interface CustomerListParams extends PageParams {
@@ -1207,6 +1233,7 @@ export interface CustomerUpdateByExternalIDParams {
12071233
| NewSphereConfiguration
12081234
| CustomerUpdateByExternalIDParams.NewNumeralConfiguration
12091235
| CustomerUpdateByExternalIDParams.NewAnrokConfiguration
1236+
| CustomerUpdateByExternalIDParams.NewStripeTaxConfiguration
12101237
| null;
12111238

12121239
/**
@@ -1382,6 +1409,18 @@ export namespace CustomerUpdateByExternalIDParams {
13821409
*/
13831410
automatic_tax_enabled?: boolean | null;
13841411
}
1412+
1413+
export interface NewStripeTaxConfiguration {
1414+
tax_exempt: boolean;
1415+
1416+
tax_provider: 'stripe';
1417+
1418+
/**
1419+
* Whether to automatically calculate tax for this customer. When null, inherits
1420+
* from account-level setting. When true or false, overrides the account setting.
1421+
*/
1422+
automatic_tax_enabled?: boolean | null;
1423+
}
13851424
}
13861425

13871426
Customers.CustomersPage = CustomersPage;

0 commit comments

Comments
 (0)