Skip to content

Commit 9594849

Browse files
feat(api): api update
1 parent ff159b3 commit 9594849

File tree

2 files changed

+35
-7
lines changed

2 files changed

+35
-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

src/resources/customers/customers.ts

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,14 @@ export interface Customer {
309309
* When not in test mode, the connection must first be configured in the Orb
310310
* webapp.
311311
*/
312-
payment_provider: 'quickbooks' | 'bill.com' | 'stripe_charge' | 'stripe_invoice' | 'netsuite' | null;
312+
payment_provider:
313+
| 'quickbooks'
314+
| 'bill.com'
315+
| 'stripe_charge'
316+
| 'stripe_invoice'
317+
| 'netsuite'
318+
| 'netsuite_ampersand'
319+
| null;
313320

314321
/**
315322
* The ID of this customer in an external payments solution, such as Stripe. This
@@ -514,7 +521,7 @@ export namespace Customer {
514521
export interface AccountingProvider {
515522
external_provider_id: string | null;
516523

517-
provider_type: 'quickbooks' | 'netsuite';
524+
provider_type: 'quickbooks' | 'netsuite' | 'netsuite_ampersand';
518525
}
519526
}
520527

@@ -691,7 +698,14 @@ export interface CustomerCreateParams {
691698
* When not in test mode, the connection must first be configured in the Orb
692699
* webapp.
693700
*/
694-
payment_provider?: 'quickbooks' | 'bill.com' | 'stripe_charge' | 'stripe_invoice' | 'netsuite' | null;
701+
payment_provider?:
702+
| 'quickbooks'
703+
| 'bill.com'
704+
| 'stripe_charge'
705+
| 'stripe_invoice'
706+
| 'netsuite'
707+
| 'netsuite_ampersand'
708+
| null;
695709

696710
/**
697711
* The ID of this customer in an external payments solution, such as Stripe. This
@@ -1019,7 +1033,14 @@ export interface CustomerUpdateParams {
10191033
* `bill.com`, `netsuite`), any product mappings must first be configured with
10201034
* the Orb team.
10211035
*/
1022-
payment_provider?: 'quickbooks' | 'bill.com' | 'stripe_charge' | 'stripe_invoice' | 'netsuite' | null;
1036+
payment_provider?:
1037+
| 'quickbooks'
1038+
| 'bill.com'
1039+
| 'stripe_charge'
1040+
| 'stripe_invoice'
1041+
| 'netsuite'
1042+
| 'netsuite_ampersand'
1043+
| null;
10231044

10241045
/**
10251046
* The ID of this customer in an external payments solution, such as Stripe. This
@@ -1350,7 +1371,14 @@ export interface CustomerUpdateByExternalIDParams {
13501371
* `bill.com`, `netsuite`), any product mappings must first be configured with
13511372
* the Orb team.
13521373
*/
1353-
payment_provider?: 'quickbooks' | 'bill.com' | 'stripe_charge' | 'stripe_invoice' | 'netsuite' | null;
1374+
payment_provider?:
1375+
| 'quickbooks'
1376+
| 'bill.com'
1377+
| 'stripe_charge'
1378+
| 'stripe_invoice'
1379+
| 'netsuite'
1380+
| 'netsuite_ampersand'
1381+
| null;
13541382

13551383
/**
13561384
* The ID of this customer in an external payments solution, such as Stripe. This

0 commit comments

Comments
 (0)