Skip to content

Commit 337be04

Browse files
feat(api): api update
1 parent f434716 commit 337be04

13 files changed

+62
-7
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: 139
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-d6a851f21804170f796637f1911c3382f1c57f5ed6b9b77cd7d0c6f74c06e174.yml
3-
openapi_spec_hash: 82df33badf54d0c7087a61145d379f58
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-6b1440d47f0b1b1b92f2e40f9ad5efd301d90f66e2e05c5a932902608935aa64.yml
3+
openapi_spec_hash: 14f386604d0d87d9459352b8a7b84eff
44
config_hash: 3279841440b02d4e8303c961d6983492

lib/orb/models/customer.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ module PaymentProvider
407407
STRIPE_CHARGE = :stripe_charge
408408
STRIPE_INVOICE = :stripe_invoice
409409
NETSUITE = :netsuite
410+
NETSUITE_AMPERSAND = :netsuite_ampersand
410411

411412
# @!method self.values
412413
# @return [Array<Symbol>]
@@ -451,6 +452,7 @@ module ProviderType
451452

452453
QUICKBOOKS = :quickbooks
453454
NETSUITE = :netsuite
455+
NETSUITE_AMPERSAND = :netsuite_ampersand
454456

455457
# @!method self.values
456458
# @return [Array<Symbol>]

lib/orb/models/customer_create_params.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ module PaymentProvider
397397
STRIPE_CHARGE = :stripe_charge
398398
STRIPE_INVOICE = :stripe_invoice
399399
NETSUITE = :netsuite
400+
NETSUITE_AMPERSAND = :netsuite_ampersand
400401

401402
# @!method self.values
402403
# @return [Array<Symbol>]

lib/orb/models/customer_update_by_external_id_params.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ module PaymentProvider
410410
STRIPE_CHARGE = :stripe_charge
411411
STRIPE_INVOICE = :stripe_invoice
412412
NETSUITE = :netsuite
413+
NETSUITE_AMPERSAND = :netsuite_ampersand
413414

414415
# @!method self.values
415416
# @return [Array<Symbol>]

lib/orb/models/customer_update_params.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ module PaymentProvider
404404
STRIPE_CHARGE = :stripe_charge
405405
STRIPE_INVOICE = :stripe_invoice
406406
NETSUITE = :netsuite
407+
NETSUITE_AMPERSAND = :netsuite_ampersand
407408

408409
# @!method self.values
409410
# @return [Array<Symbol>]

rbi/orb/models/customer.rbi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,11 @@ module Orb
636636
T.let(:stripe_invoice, Orb::Customer::PaymentProvider::TaggedSymbol)
637637
NETSUITE =
638638
T.let(:netsuite, Orb::Customer::PaymentProvider::TaggedSymbol)
639+
NETSUITE_AMPERSAND =
640+
T.let(
641+
:netsuite_ampersand,
642+
Orb::Customer::PaymentProvider::TaggedSymbol
643+
)
639644

640645
sig do
641646
override.returns(
@@ -756,6 +761,11 @@ module Orb
756761
:netsuite,
757762
Orb::Customer::AccountingSyncConfiguration::AccountingProvider::ProviderType::TaggedSymbol
758763
)
764+
NETSUITE_AMPERSAND =
765+
T.let(
766+
:netsuite_ampersand,
767+
Orb::Customer::AccountingSyncConfiguration::AccountingProvider::ProviderType::TaggedSymbol
768+
)
759769

760770
sig do
761771
override.returns(

rbi/orb/models/customer_create_params.rbi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,11 @@ module Orb
779779
:netsuite,
780780
Orb::CustomerCreateParams::PaymentProvider::TaggedSymbol
781781
)
782+
NETSUITE_AMPERSAND =
783+
T.let(
784+
:netsuite_ampersand,
785+
Orb::CustomerCreateParams::PaymentProvider::TaggedSymbol
786+
)
782787

783788
sig do
784789
override.returns(

rbi/orb/models/customer_update_by_external_id_params.rbi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,11 @@ module Orb
808808
:netsuite,
809809
Orb::CustomerUpdateByExternalIDParams::PaymentProvider::TaggedSymbol
810810
)
811+
NETSUITE_AMPERSAND =
812+
T.let(
813+
:netsuite_ampersand,
814+
Orb::CustomerUpdateByExternalIDParams::PaymentProvider::TaggedSymbol
815+
)
811816

812817
sig do
813818
override.returns(

rbi/orb/models/customer_update_params.rbi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,11 @@ module Orb
789789
:netsuite,
790790
Orb::CustomerUpdateParams::PaymentProvider::TaggedSymbol
791791
)
792+
NETSUITE_AMPERSAND =
793+
T.let(
794+
:netsuite_ampersand,
795+
Orb::CustomerUpdateParams::PaymentProvider::TaggedSymbol
796+
)
792797

793798
sig do
794799
override.returns(

sig/orb/models/customer.rbs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,12 @@ module Orb
159159
end
160160

161161
type payment_provider =
162-
:quickbooks | :"bill.com" | :stripe_charge | :stripe_invoice | :netsuite
162+
:quickbooks
163+
| :"bill.com"
164+
| :stripe_charge
165+
| :stripe_invoice
166+
| :netsuite
167+
| :netsuite_ampersand
163168

164169
module PaymentProvider
165170
extend Orb::Internal::Type::Enum
@@ -169,6 +174,7 @@ module Orb
169174
STRIPE_CHARGE: :stripe_charge
170175
STRIPE_INVOICE: :stripe_invoice
171176
NETSUITE: :netsuite
177+
NETSUITE_AMPERSAND: :netsuite_ampersand
172178

173179
def self?.values: -> ::Array[Orb::Models::Customer::payment_provider]
174180
end
@@ -215,13 +221,14 @@ module Orb
215221
provider_type: Orb::Models::Customer::AccountingSyncConfiguration::AccountingProvider::provider_type
216222
}
217223

218-
type provider_type = :quickbooks | :netsuite
224+
type provider_type = :quickbooks | :netsuite | :netsuite_ampersand
219225

220226
module ProviderType
221227
extend Orb::Internal::Type::Enum
222228

223229
QUICKBOOKS: :quickbooks
224230
NETSUITE: :netsuite
231+
NETSUITE_AMPERSAND: :netsuite_ampersand
225232

226233
def self?.values: -> ::Array[Orb::Models::Customer::AccountingSyncConfiguration::AccountingProvider::provider_type]
227234
end

0 commit comments

Comments
 (0)