Skip to content

Commit 024cfe9

Browse files
feat(api): api update
1 parent 26ac9ce commit 024cfe9

File tree

10 files changed

+6
-76
lines changed

10 files changed

+6
-76
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

lib/orb/models/customer_update_by_external_id_params.rb

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ class CustomerUpdateByExternalIDParams < Orb::Internal::Type::BaseModel
3737
# @return [Boolean, nil]
3838
optional :auto_issuance, Orb::Internal::Type::Boolean, nil?: true
3939

40-
# @!attribute automatic_tax_enabled
41-
# Whether automatic tax calculation is enabled for this customer. When null,
42-
# inherits from account-level setting. When true or false, overrides the account
43-
# setting.
44-
#
45-
# @return [Boolean, nil]
46-
optional :automatic_tax_enabled, Orb::Internal::Type::Boolean, nil?: true
47-
4840
# @!attribute billing_address
4941
#
5042
# @return [Orb::Models::AddressInput, nil]
@@ -285,7 +277,7 @@ class CustomerUpdateByExternalIDParams < Orb::Internal::Type::BaseModel
285277
# @return [Orb::Models::CustomerTaxID, nil]
286278
optional :tax_id, -> { Orb::CustomerTaxID }, nil?: true
287279

288-
# @!method initialize(accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, automatic_tax_enabled: nil, billing_address: nil, currency: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
280+
# @!method initialize(accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, billing_address: nil, currency: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
289281
# Some parameter documentations has been truncated, see
290282
# {Orb::Models::CustomerUpdateByExternalIDParams} for more details.
291283
#
@@ -297,8 +289,6 @@ class CustomerUpdateByExternalIDParams < Orb::Internal::Type::BaseModel
297289
#
298290
# @param auto_issuance [Boolean, nil] Used to determine if invoices for this customer will be automatically issued. If
299291
#
300-
# @param automatic_tax_enabled [Boolean, nil] Whether automatic tax calculation is enabled for this customer. When null, inher
301-
#
302292
# @param billing_address [Orb::Models::AddressInput, nil]
303293
#
304294
# @param currency [String, nil] An ISO 4217 currency string used for the customer's invoices and balance. If not

lib/orb/models/customer_update_params.rb

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ class CustomerUpdateParams < Orb::Internal::Type::BaseModel
3737
# @return [Boolean, nil]
3838
optional :auto_issuance, Orb::Internal::Type::Boolean, nil?: true
3939

40-
# @!attribute automatic_tax_enabled
41-
# Whether automatic tax calculation is enabled for this customer. When null,
42-
# inherits from account-level setting. When true or false, overrides the account
43-
# setting.
44-
#
45-
# @return [Boolean, nil]
46-
optional :automatic_tax_enabled, Orb::Internal::Type::Boolean, nil?: true
47-
4840
# @!attribute billing_address
4941
#
5042
# @return [Orb::Models::AddressInput, nil]
@@ -281,7 +273,7 @@ class CustomerUpdateParams < Orb::Internal::Type::BaseModel
281273
# @return [Orb::Models::CustomerTaxID, nil]
282274
optional :tax_id, -> { Orb::CustomerTaxID }, nil?: true
283275

284-
# @!method initialize(accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, automatic_tax_enabled: nil, billing_address: nil, currency: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
276+
# @!method initialize(accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, billing_address: nil, currency: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
285277
# Some parameter documentations has been truncated, see
286278
# {Orb::Models::CustomerUpdateParams} for more details.
287279
#
@@ -293,8 +285,6 @@ class CustomerUpdateParams < Orb::Internal::Type::BaseModel
293285
#
294286
# @param auto_issuance [Boolean, nil] Used to determine if invoices for this customer will be automatically issued. If
295287
#
296-
# @param automatic_tax_enabled [Boolean, nil] Whether automatic tax calculation is enabled for this customer. When null, inher
297-
#
298288
# @param billing_address [Orb::Models::AddressInput, nil]
299289
#
300290
# @param currency [String, nil] An ISO 4217 currency string used for the customer's invoices and balance. If not

lib/orb/resources/customers.rb

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def create(params)
9393
# `additional_emails` of an existing customer. Other fields on a customer are
9494
# currently immutable.
9595
#
96-
# @overload update(customer_id, accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, automatic_tax_enabled: nil, billing_address: nil, currency: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
96+
# @overload update(customer_id, accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, billing_address: nil, currency: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
9797
#
9898
# @param customer_id [String]
9999
#
@@ -105,8 +105,6 @@ def create(params)
105105
#
106106
# @param auto_issuance [Boolean, nil] Used to determine if invoices for this customer will be automatically issued. If
107107
#
108-
# @param automatic_tax_enabled [Boolean, nil] Whether automatic tax calculation is enabled for this customer. When null, inher
109-
#
110108
# @param billing_address [Orb::Models::AddressInput, nil]
111109
#
112110
# @param currency [String, nil] An ISO 4217 currency string used for the customer's invoices and balance. If not
@@ -333,7 +331,7 @@ def sync_payment_methods_from_gateway_by_external_customer_id(external_customer_
333331
# resource and semantics of this endpoint exactly mirror
334332
# [Update Customer](update-customer).
335333
#
336-
# @overload update_by_external_id(id, accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, automatic_tax_enabled: nil, billing_address: nil, currency: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
334+
# @overload update_by_external_id(id, accounting_sync_configuration: nil, additional_emails: nil, auto_collection: nil, auto_issuance: nil, billing_address: nil, currency: nil, email: nil, email_delivery: nil, external_customer_id: nil, hierarchy: nil, metadata: nil, name: nil, payment_provider: nil, payment_provider_id: nil, reporting_configuration: nil, shipping_address: nil, tax_configuration: nil, tax_id: nil, request_options: {})
337335
#
338336
# @param id [String]
339337
#
@@ -345,8 +343,6 @@ def sync_payment_methods_from_gateway_by_external_customer_id(external_customer_
345343
#
346344
# @param auto_issuance [Boolean, nil] Used to determine if invoices for this customer will be automatically issued. If
347345
#
348-
# @param automatic_tax_enabled [Boolean, nil] Whether automatic tax calculation is enabled for this customer. When null, inher
349-
#
350346
# @param billing_address [Orb::Models::AddressInput, nil]
351347
#
352348
# @param currency [String, nil] An ISO 4217 currency string used for the customer's invoices and balance. If not

rbi/orb/models/customer_update_by_external_id_params.rbi

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ module Orb
4141
sig { returns(T.nilable(T::Boolean)) }
4242
attr_accessor :auto_issuance
4343

44-
# Whether automatic tax calculation is enabled for this customer. When null,
45-
# inherits from account-level setting. When true or false, overrides the account
46-
# setting.
47-
sig { returns(T.nilable(T::Boolean)) }
48-
attr_accessor :automatic_tax_enabled
49-
5044
sig { returns(T.nilable(Orb::AddressInput)) }
5145
attr_reader :billing_address
5246

@@ -304,7 +298,6 @@ module Orb
304298
additional_emails: T.nilable(T::Array[String]),
305299
auto_collection: T.nilable(T::Boolean),
306300
auto_issuance: T.nilable(T::Boolean),
307-
automatic_tax_enabled: T.nilable(T::Boolean),
308301
billing_address: T.nilable(Orb::AddressInput::OrHash),
309302
currency: T.nilable(String),
310303
email: T.nilable(String),
@@ -350,10 +343,6 @@ module Orb
350343
# manual approval.If `null` is specified, the customer's auto issuance setting
351344
# will be inherited from the account-level setting.
352345
auto_issuance: nil,
353-
# Whether automatic tax calculation is enabled for this customer. When null,
354-
# inherits from account-level setting. When true or false, overrides the account
355-
# setting.
356-
automatic_tax_enabled: nil,
357346
billing_address: nil,
358347
# An ISO 4217 currency string used for the customer's invoices and balance. If not
359348
# set at creation time, will be set at subscription creation time.
@@ -546,7 +535,6 @@ module Orb
546535
additional_emails: T.nilable(T::Array[String]),
547536
auto_collection: T.nilable(T::Boolean),
548537
auto_issuance: T.nilable(T::Boolean),
549-
automatic_tax_enabled: T.nilable(T::Boolean),
550538
billing_address: T.nilable(Orb::AddressInput),
551539
currency: T.nilable(String),
552540
email: T.nilable(String),

rbi/orb/models/customer_update_params.rbi

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ module Orb
4141
sig { returns(T.nilable(T::Boolean)) }
4242
attr_accessor :auto_issuance
4343

44-
# Whether automatic tax calculation is enabled for this customer. When null,
45-
# inherits from account-level setting. When true or false, overrides the account
46-
# setting.
47-
sig { returns(T.nilable(T::Boolean)) }
48-
attr_accessor :automatic_tax_enabled
49-
5044
sig { returns(T.nilable(Orb::AddressInput)) }
5145
attr_reader :billing_address
5246

@@ -300,7 +294,6 @@ module Orb
300294
additional_emails: T.nilable(T::Array[String]),
301295
auto_collection: T.nilable(T::Boolean),
302296
auto_issuance: T.nilable(T::Boolean),
303-
automatic_tax_enabled: T.nilable(T::Boolean),
304297
billing_address: T.nilable(Orb::AddressInput::OrHash),
305298
currency: T.nilable(String),
306299
email: T.nilable(String),
@@ -344,10 +337,6 @@ module Orb
344337
# manual approval.If `null` is specified, the customer's auto issuance setting
345338
# will be inherited from the account-level setting.
346339
auto_issuance: nil,
347-
# Whether automatic tax calculation is enabled for this customer. When null,
348-
# inherits from account-level setting. When true or false, overrides the account
349-
# setting.
350-
automatic_tax_enabled: nil,
351340
billing_address: nil,
352341
# An ISO 4217 currency string used for the customer's invoices and balance. If not
353342
# set at creation time, will be set at subscription creation time.
@@ -540,7 +529,6 @@ module Orb
540529
additional_emails: T.nilable(T::Array[String]),
541530
auto_collection: T.nilable(T::Boolean),
542531
auto_issuance: T.nilable(T::Boolean),
543-
automatic_tax_enabled: T.nilable(T::Boolean),
544532
billing_address: T.nilable(Orb::AddressInput),
545533
currency: T.nilable(String),
546534
email: T.nilable(String),

rbi/orb/resources/customers.rbi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ module Orb
272272
additional_emails: T.nilable(T::Array[String]),
273273
auto_collection: T.nilable(T::Boolean),
274274
auto_issuance: T.nilable(T::Boolean),
275-
automatic_tax_enabled: T.nilable(T::Boolean),
276275
billing_address: T.nilable(Orb::AddressInput::OrHash),
277276
currency: T.nilable(String),
278277
email: T.nilable(String),
@@ -317,10 +316,6 @@ module Orb
317316
# manual approval.If `null` is specified, the customer's auto issuance setting
318317
# will be inherited from the account-level setting.
319318
auto_issuance: nil,
320-
# Whether automatic tax calculation is enabled for this customer. When null,
321-
# inherits from account-level setting. When true or false, overrides the account
322-
# setting.
323-
automatic_tax_enabled: nil,
324319
billing_address: nil,
325320
# An ISO 4217 currency string used for the customer's invoices and balance. If not
326321
# set at creation time, will be set at subscription creation time.
@@ -631,7 +626,6 @@ module Orb
631626
additional_emails: T.nilable(T::Array[String]),
632627
auto_collection: T.nilable(T::Boolean),
633628
auto_issuance: T.nilable(T::Boolean),
634-
automatic_tax_enabled: T.nilable(T::Boolean),
635629
billing_address: T.nilable(Orb::AddressInput::OrHash),
636630
currency: T.nilable(String),
637631
email: T.nilable(String),
@@ -678,10 +672,6 @@ module Orb
678672
# manual approval.If `null` is specified, the customer's auto issuance setting
679673
# will be inherited from the account-level setting.
680674
auto_issuance: nil,
681-
# Whether automatic tax calculation is enabled for this customer. When null,
682-
# inherits from account-level setting. When true or false, overrides the account
683-
# setting.
684-
automatic_tax_enabled: nil,
685675
billing_address: nil,
686676
# An ISO 4217 currency string used for the customer's invoices and balance. If not
687677
# set at creation time, will be set at subscription creation time.

sig/orb/models/customer_update_by_external_id_params.rbs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ module Orb
66
additional_emails: ::Array[String]?,
77
auto_collection: bool?,
88
auto_issuance: bool?,
9-
automatic_tax_enabled: bool?,
109
billing_address: Orb::AddressInput?,
1110
currency: String?,
1211
email: String?,
@@ -36,8 +35,6 @@ module Orb
3635

3736
attr_accessor auto_issuance: bool?
3837

39-
attr_accessor automatic_tax_enabled: bool?
40-
4138
attr_accessor billing_address: Orb::AddressInput?
4239

4340
attr_accessor currency: String?
@@ -71,7 +68,6 @@ module Orb
7168
?additional_emails: ::Array[String]?,
7269
?auto_collection: bool?,
7370
?auto_issuance: bool?,
74-
?automatic_tax_enabled: bool?,
7571
?billing_address: Orb::AddressInput?,
7672
?currency: String?,
7773
?email: String?,
@@ -94,7 +90,6 @@ module Orb
9490
additional_emails: ::Array[String]?,
9591
auto_collection: bool?,
9692
auto_issuance: bool?,
97-
automatic_tax_enabled: bool?,
9893
billing_address: Orb::AddressInput?,
9994
currency: String?,
10095
email: String?,

sig/orb/models/customer_update_params.rbs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ module Orb
66
additional_emails: ::Array[String]?,
77
auto_collection: bool?,
88
auto_issuance: bool?,
9-
automatic_tax_enabled: bool?,
109
billing_address: Orb::AddressInput?,
1110
currency: String?,
1211
email: String?,
@@ -36,8 +35,6 @@ module Orb
3635

3736
attr_accessor auto_issuance: bool?
3837

39-
attr_accessor automatic_tax_enabled: bool?
40-
4138
attr_accessor billing_address: Orb::AddressInput?
4239

4340
attr_accessor currency: String?
@@ -71,7 +68,6 @@ module Orb
7168
?additional_emails: ::Array[String]?,
7269
?auto_collection: bool?,
7370
?auto_issuance: bool?,
74-
?automatic_tax_enabled: bool?,
7571
?billing_address: Orb::AddressInput?,
7672
?currency: String?,
7773
?email: String?,
@@ -94,7 +90,6 @@ module Orb
9490
additional_emails: ::Array[String]?,
9591
auto_collection: bool?,
9692
auto_issuance: bool?,
97-
automatic_tax_enabled: bool?,
9893
billing_address: Orb::AddressInput?,
9994
currency: String?,
10095
email: String?,

sig/orb/resources/customers.rbs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ module Orb
3636
?additional_emails: ::Array[String]?,
3737
?auto_collection: bool?,
3838
?auto_issuance: bool?,
39-
?automatic_tax_enabled: bool?,
4039
?billing_address: Orb::AddressInput?,
4140
?currency: String?,
4241
?email: String?,
@@ -95,7 +94,6 @@ module Orb
9594
?additional_emails: ::Array[String]?,
9695
?auto_collection: bool?,
9796
?auto_issuance: bool?,
98-
?automatic_tax_enabled: bool?,
9997
?billing_address: Orb::AddressInput?,
10098
?currency: String?,
10199
?email: String?,

0 commit comments

Comments
 (0)