Skip to content

Commit ec9d784

Browse files
feat(api): api update
1 parent 928552f commit ec9d784

File tree

5 files changed

+2
-44
lines changed

5 files changed

+2
-44
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-d74790c0b5540235e8387ccad7b806c11bcbb968fbdf99ea7dfbfc004bceb9dc.yml
3-
openapi_spec_hash: eae212fa0114d8c3b4293c35f6ed7f7f
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-5b9152241ebdd0d2f3fd536784f33721d24a5c4a59e75cab366a3dcb36552d3d.yml
3+
openapi_spec_hash: b40061d10bbe1ebab8998bddd1827cf8
44
config_hash: dd4343ce95871032ef6e0735a4ca038c

src/orb/resources/customers/customers.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,6 @@ def update(
376376
additional_emails: Optional[SequenceNotStr[str]] | Omit = omit,
377377
auto_collection: Optional[bool] | Omit = omit,
378378
auto_issuance: Optional[bool] | Omit = omit,
379-
automatic_tax_enabled: Optional[bool] | Omit = omit,
380379
billing_address: Optional[AddressInputParam] | Omit = omit,
381380
currency: Optional[str] | Omit = omit,
382381
email: Optional[str] | Omit = omit,
@@ -421,10 +420,6 @@ def update(
421420
manual approval.If `null` is specified, the customer's auto issuance setting
422421
will be inherited from the account-level setting.
423422
424-
automatic_tax_enabled: Whether automatic tax calculation is enabled for this customer. When null,
425-
inherits from account-level setting. When true or false, overrides the account
426-
setting.
427-
428423
currency: An ISO 4217 currency string used for the customer's invoices and balance. If not
429424
set at creation time, will be set at subscription creation time.
430425
@@ -620,7 +615,6 @@ def update(
620615
"additional_emails": additional_emails,
621616
"auto_collection": auto_collection,
622617
"auto_issuance": auto_issuance,
623-
"automatic_tax_enabled": automatic_tax_enabled,
624618
"billing_address": billing_address,
625619
"currency": currency,
626620
"email": email,
@@ -942,7 +936,6 @@ def update_by_external_id(
942936
additional_emails: Optional[SequenceNotStr[str]] | Omit = omit,
943937
auto_collection: Optional[bool] | Omit = omit,
944938
auto_issuance: Optional[bool] | Omit = omit,
945-
automatic_tax_enabled: Optional[bool] | Omit = omit,
946939
billing_address: Optional[AddressInputParam] | Omit = omit,
947940
currency: Optional[str] | Omit = omit,
948941
email: Optional[str] | Omit = omit,
@@ -986,10 +979,6 @@ def update_by_external_id(
986979
manual approval.If `null` is specified, the customer's auto issuance setting
987980
will be inherited from the account-level setting.
988981
989-
automatic_tax_enabled: Whether automatic tax calculation is enabled for this customer. When null,
990-
inherits from account-level setting. When true or false, overrides the account
991-
setting.
992-
993982
currency: An ISO 4217 currency string used for the customer's invoices and balance. If not
994983
set at creation time, will be set at subscription creation time.
995984
@@ -1185,7 +1174,6 @@ def update_by_external_id(
11851174
"additional_emails": additional_emails,
11861175
"auto_collection": auto_collection,
11871176
"auto_issuance": auto_issuance,
1188-
"automatic_tax_enabled": automatic_tax_enabled,
11891177
"billing_address": billing_address,
11901178
"currency": currency,
11911179
"email": email,
@@ -1534,7 +1522,6 @@ async def update(
15341522
additional_emails: Optional[SequenceNotStr[str]] | Omit = omit,
15351523
auto_collection: Optional[bool] | Omit = omit,
15361524
auto_issuance: Optional[bool] | Omit = omit,
1537-
automatic_tax_enabled: Optional[bool] | Omit = omit,
15381525
billing_address: Optional[AddressInputParam] | Omit = omit,
15391526
currency: Optional[str] | Omit = omit,
15401527
email: Optional[str] | Omit = omit,
@@ -1579,10 +1566,6 @@ async def update(
15791566
manual approval.If `null` is specified, the customer's auto issuance setting
15801567
will be inherited from the account-level setting.
15811568
1582-
automatic_tax_enabled: Whether automatic tax calculation is enabled for this customer. When null,
1583-
inherits from account-level setting. When true or false, overrides the account
1584-
setting.
1585-
15861569
currency: An ISO 4217 currency string used for the customer's invoices and balance. If not
15871570
set at creation time, will be set at subscription creation time.
15881571
@@ -1778,7 +1761,6 @@ async def update(
17781761
"additional_emails": additional_emails,
17791762
"auto_collection": auto_collection,
17801763
"auto_issuance": auto_issuance,
1781-
"automatic_tax_enabled": automatic_tax_enabled,
17821764
"billing_address": billing_address,
17831765
"currency": currency,
17841766
"email": email,
@@ -2100,7 +2082,6 @@ async def update_by_external_id(
21002082
additional_emails: Optional[SequenceNotStr[str]] | Omit = omit,
21012083
auto_collection: Optional[bool] | Omit = omit,
21022084
auto_issuance: Optional[bool] | Omit = omit,
2103-
automatic_tax_enabled: Optional[bool] | Omit = omit,
21042085
billing_address: Optional[AddressInputParam] | Omit = omit,
21052086
currency: Optional[str] | Omit = omit,
21062087
email: Optional[str] | Omit = omit,
@@ -2144,10 +2125,6 @@ async def update_by_external_id(
21442125
manual approval.If `null` is specified, the customer's auto issuance setting
21452126
will be inherited from the account-level setting.
21462127
2147-
automatic_tax_enabled: Whether automatic tax calculation is enabled for this customer. When null,
2148-
inherits from account-level setting. When true or false, overrides the account
2149-
setting.
2150-
21512128
currency: An ISO 4217 currency string used for the customer's invoices and balance. If not
21522129
set at creation time, will be set at subscription creation time.
21532130
@@ -2343,7 +2320,6 @@ async def update_by_external_id(
23432320
"additional_emails": additional_emails,
23442321
"auto_collection": auto_collection,
23452322
"auto_issuance": auto_issuance,
2346-
"automatic_tax_enabled": automatic_tax_enabled,
23472323
"billing_address": billing_address,
23482324
"currency": currency,
23492325
"email": email,

src/orb/types/customer_update_by_external_id_params.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ class CustomerUpdateByExternalIDParams(TypedDict, total=False):
4949
will be inherited from the account-level setting.
5050
"""
5151

52-
automatic_tax_enabled: Optional[bool]
53-
"""Whether automatic tax calculation is enabled for this customer.
54-
55-
When null, inherits from account-level setting. When true or false, overrides
56-
the account setting.
57-
"""
58-
5952
billing_address: Optional[AddressInputParam]
6053

6154
currency: Optional[str]

src/orb/types/customer_update_params.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ class CustomerUpdateParams(TypedDict, total=False):
4949
will be inherited from the account-level setting.
5050
"""
5151

52-
automatic_tax_enabled: Optional[bool]
53-
"""Whether automatic tax calculation is enabled for this customer.
54-
55-
When null, inherits from account-level setting. When true or false, overrides
56-
the account setting.
57-
"""
58-
5952
billing_address: Optional[AddressInputParam]
6053

6154
currency: Optional[str]

tests/api_resources/test_customers.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ def test_method_update_with_all_params(self, client: Orb) -> None:
137137
additional_emails=["string"],
138138
auto_collection=True,
139139
auto_issuance=True,
140-
automatic_tax_enabled=True,
141140
billing_address={
142141
"city": "city",
143142
"country": "country",
@@ -462,7 +461,6 @@ def test_method_update_by_external_id_with_all_params(self, client: Orb) -> None
462461
additional_emails=["string"],
463462
auto_collection=True,
464463
auto_issuance=True,
465-
automatic_tax_enabled=True,
466464
billing_address={
467465
"city": "city",
468466
"country": "country",
@@ -659,7 +657,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncOrb) -> No
659657
additional_emails=["string"],
660658
auto_collection=True,
661659
auto_issuance=True,
662-
automatic_tax_enabled=True,
663660
billing_address={
664661
"city": "city",
665662
"country": "country",
@@ -996,7 +993,6 @@ async def test_method_update_by_external_id_with_all_params(self, async_client:
996993
additional_emails=["string"],
997994
auto_collection=True,
998995
auto_issuance=True,
999-
automatic_tax_enabled=True,
1000996
billing_address={
1001997
"city": "city",
1002998
"country": "country",

0 commit comments

Comments
 (0)