conductor-node 14.2.1 → 14.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +92 -0
- package/README.md +2 -2
- package/client.d.mts +4 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -3
- package/client.d.ts.map +1 -1
- package/client.js +26 -10
- package/client.js.map +1 -1
- package/client.mjs +26 -10
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +12 -1
- package/resources/qbd/accounts.d.mts +8 -6
- package/resources/qbd/accounts.d.mts.map +1 -1
- package/resources/qbd/accounts.d.ts +8 -6
- package/resources/qbd/accounts.d.ts.map +1 -1
- package/resources/qbd/bill-check-payments.d.mts +4 -4
- package/resources/qbd/bill-check-payments.d.ts +4 -4
- package/resources/qbd/bill-credit-card-payments.d.mts +4 -4
- package/resources/qbd/bill-credit-card-payments.d.ts +4 -4
- package/resources/qbd/bills.d.mts +4 -4
- package/resources/qbd/bills.d.ts +4 -4
- package/resources/qbd/checks.d.mts +4 -2
- package/resources/qbd/checks.d.mts.map +1 -1
- package/resources/qbd/checks.d.ts +4 -2
- package/resources/qbd/checks.d.ts.map +1 -1
- package/resources/qbd/credit-card-charges.d.mts +4 -4
- package/resources/qbd/credit-card-charges.d.ts +4 -4
- package/resources/qbd/credit-card-credits.d.mts +4 -4
- package/resources/qbd/credit-card-credits.d.ts +4 -4
- package/resources/qbd/credit-card-refunds.d.mts +4 -4
- package/resources/qbd/credit-card-refunds.d.ts +4 -4
- package/resources/qbd/credit-memos.d.mts +5 -5
- package/resources/qbd/credit-memos.d.mts.map +1 -1
- package/resources/qbd/credit-memos.d.ts +5 -5
- package/resources/qbd/credit-memos.d.ts.map +1 -1
- package/resources/qbd/customers.d.mts +8 -6
- package/resources/qbd/customers.d.mts.map +1 -1
- package/resources/qbd/customers.d.ts +8 -6
- package/resources/qbd/customers.d.ts.map +1 -1
- package/resources/qbd/deleted-list-objects.d.mts +11 -0
- package/resources/qbd/deleted-list-objects.d.mts.map +1 -1
- package/resources/qbd/deleted-list-objects.d.ts +11 -0
- package/resources/qbd/deleted-list-objects.d.ts.map +1 -1
- package/resources/qbd/estimates.d.mts +4 -2
- package/resources/qbd/estimates.d.mts.map +1 -1
- package/resources/qbd/estimates.d.ts +4 -2
- package/resources/qbd/estimates.d.ts.map +1 -1
- package/resources/qbd/index.d.mts +1 -0
- package/resources/qbd/index.d.mts.map +1 -1
- package/resources/qbd/index.d.ts +1 -0
- package/resources/qbd/index.d.ts.map +1 -1
- package/resources/qbd/index.js +4 -2
- package/resources/qbd/index.js.map +1 -1
- package/resources/qbd/index.mjs +1 -0
- package/resources/qbd/index.mjs.map +1 -1
- package/resources/qbd/invoices.d.mts +4 -2
- package/resources/qbd/invoices.d.mts.map +1 -1
- package/resources/qbd/invoices.d.ts +4 -2
- package/resources/qbd/invoices.d.ts.map +1 -1
- package/resources/qbd/item-receipts.d.mts +4 -4
- package/resources/qbd/item-receipts.d.ts +4 -4
- package/resources/qbd/journal-entries.d.mts +8 -8
- package/resources/qbd/journal-entries.d.ts +8 -8
- package/resources/qbd/preferences.d.mts +1 -1
- package/resources/qbd/preferences.d.mts.map +1 -1
- package/resources/qbd/preferences.d.ts +1 -1
- package/resources/qbd/preferences.d.ts.map +1 -1
- package/resources/qbd/price-levels.d.mts +8 -8
- package/resources/qbd/price-levels.d.ts +8 -8
- package/resources/qbd/purchase-orders.d.mts +4 -4
- package/resources/qbd/purchase-orders.d.ts +4 -4
- package/resources/qbd/qbd.d.mts +4 -0
- package/resources/qbd/qbd.d.mts.map +1 -1
- package/resources/qbd/qbd.d.ts +4 -0
- package/resources/qbd/qbd.d.ts.map +1 -1
- package/resources/qbd/qbd.js +4 -0
- package/resources/qbd/qbd.js.map +1 -1
- package/resources/qbd/qbd.mjs +4 -0
- package/resources/qbd/qbd.mjs.map +1 -1
- package/resources/qbd/receive-payments.d.mts +4 -4
- package/resources/qbd/receive-payments.d.ts +4 -4
- package/resources/qbd/sales-orders.d.mts +4 -4
- package/resources/qbd/sales-orders.d.ts +4 -4
- package/resources/qbd/sales-receipts.d.mts +4 -4
- package/resources/qbd/sales-receipts.d.ts +4 -4
- package/resources/qbd/shipping-methods.d.mts +247 -0
- package/resources/qbd/shipping-methods.d.mts.map +1 -0
- package/resources/qbd/shipping-methods.d.ts +247 -0
- package/resources/qbd/shipping-methods.d.ts.map +1 -0
- package/resources/qbd/shipping-methods.js +76 -0
- package/resources/qbd/shipping-methods.js.map +1 -0
- package/resources/qbd/shipping-methods.mjs +72 -0
- package/resources/qbd/shipping-methods.mjs.map +1 -0
- package/resources/qbd/transactions.d.mts +4 -4
- package/resources/qbd/transactions.d.ts +4 -4
- package/resources/qbd/vendor-credits.d.mts +4 -4
- package/resources/qbd/vendor-credits.d.ts +4 -4
- package/resources/qbd/vendors.d.mts +8 -6
- package/resources/qbd/vendors.d.mts.map +1 -1
- package/resources/qbd/vendors.d.ts +8 -6
- package/resources/qbd/vendors.d.ts.map +1 -1
- package/src/client.ts +36 -15
- package/src/internal/parse.ts +6 -0
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/qbd/accounts.ts +8 -6
- package/src/resources/qbd/bill-check-payments.ts +4 -4
- package/src/resources/qbd/bill-credit-card-payments.ts +4 -4
- package/src/resources/qbd/bills.ts +4 -4
- package/src/resources/qbd/checks.ts +4 -2
- package/src/resources/qbd/credit-card-charges.ts +4 -4
- package/src/resources/qbd/credit-card-credits.ts +4 -4
- package/src/resources/qbd/credit-card-refunds.ts +4 -4
- package/src/resources/qbd/credit-memos.ts +5 -5
- package/src/resources/qbd/customers.ts +8 -6
- package/src/resources/qbd/deleted-list-objects.ts +12 -0
- package/src/resources/qbd/estimates.ts +4 -2
- package/src/resources/qbd/index.ts +8 -0
- package/src/resources/qbd/invoices.ts +4 -2
- package/src/resources/qbd/item-receipts.ts +4 -4
- package/src/resources/qbd/journal-entries.ts +8 -8
- package/src/resources/qbd/preferences.ts +1 -1
- package/src/resources/qbd/price-levels.ts +8 -8
- package/src/resources/qbd/purchase-orders.ts +4 -4
- package/src/resources/qbd/qbd.ts +20 -0
- package/src/resources/qbd/receive-payments.ts +4 -4
- package/src/resources/qbd/sales-orders.ts +4 -4
- package/src/resources/qbd/sales-receipts.ts +4 -4
- package/src/resources/qbd/shipping-methods.ts +310 -0
- package/src/resources/qbd/transactions.ts +4 -4
- package/src/resources/qbd/vendor-credits.ts +4 -4
- package/src/resources/qbd/vendors.ts +8 -6
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -156,8 +156,8 @@ export interface Bill {
|
|
|
156
156
|
createdAt: string;
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
|
-
* The bill's currency. For built-in currencies, the name and code are standard
|
|
160
|
-
* international values. For user-defined currencies, all values are editable.
|
|
159
|
+
* The bill's currency. For built-in currencies, the name and code are standard ISO
|
|
160
|
+
* 4217 international values. For user-defined currencies, all values are editable.
|
|
161
161
|
*/
|
|
162
162
|
currency: Bill.Currency | null;
|
|
163
163
|
|
|
@@ -317,8 +317,8 @@ export interface Bill {
|
|
|
317
317
|
|
|
318
318
|
export namespace Bill {
|
|
319
319
|
/**
|
|
320
|
-
* The bill's currency. For built-in currencies, the name and code are standard
|
|
321
|
-
* international values. For user-defined currencies, all values are editable.
|
|
320
|
+
* The bill's currency. For built-in currencies, the name and code are standard ISO
|
|
321
|
+
* 4217 international values. For user-defined currencies, all values are editable.
|
|
322
322
|
*/
|
|
323
323
|
export interface Currency {
|
|
324
324
|
/**
|
|
@@ -167,7 +167,8 @@ export interface Check {
|
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
169
|
* The check's currency. For built-in currencies, the name and code are standard
|
|
170
|
-
* international values. For user-defined currencies, all values are
|
|
170
|
+
* ISO 4217 international values. For user-defined currencies, all values are
|
|
171
|
+
* editable.
|
|
171
172
|
*/
|
|
172
173
|
currency: Check.Currency | null;
|
|
173
174
|
|
|
@@ -367,7 +368,8 @@ export namespace Check {
|
|
|
367
368
|
|
|
368
369
|
/**
|
|
369
370
|
* The check's currency. For built-in currencies, the name and code are standard
|
|
370
|
-
* international values. For user-defined currencies, all values are
|
|
371
|
+
* ISO 4217 international values. For user-defined currencies, all values are
|
|
372
|
+
* editable.
|
|
371
373
|
*/
|
|
372
374
|
export interface Currency {
|
|
373
375
|
/**
|
|
@@ -178,8 +178,8 @@ export interface CreditCardCharge {
|
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
180
|
* The credit card charge's currency. For built-in currencies, the name and code
|
|
181
|
-
* are standard international values. For user-defined currencies, all
|
|
182
|
-
* editable.
|
|
181
|
+
* are standard ISO 4217 international values. For user-defined currencies, all
|
|
182
|
+
* values are editable.
|
|
183
183
|
*/
|
|
184
184
|
currency: CreditCardCharge.Currency | null;
|
|
185
185
|
|
|
@@ -301,8 +301,8 @@ export namespace CreditCardCharge {
|
|
|
301
301
|
|
|
302
302
|
/**
|
|
303
303
|
* The credit card charge's currency. For built-in currencies, the name and code
|
|
304
|
-
* are standard international values. For user-defined currencies, all
|
|
305
|
-
* editable.
|
|
304
|
+
* are standard ISO 4217 international values. For user-defined currencies, all
|
|
305
|
+
* values are editable.
|
|
306
306
|
*/
|
|
307
307
|
export interface Currency {
|
|
308
308
|
/**
|
|
@@ -175,8 +175,8 @@ export interface CreditCardCredit {
|
|
|
175
175
|
|
|
176
176
|
/**
|
|
177
177
|
* The credit card credit's currency. For built-in currencies, the name and code
|
|
178
|
-
* are standard international values. For user-defined currencies, all
|
|
179
|
-
* editable.
|
|
178
|
+
* are standard ISO 4217 international values. For user-defined currencies, all
|
|
179
|
+
* values are editable.
|
|
180
180
|
*/
|
|
181
181
|
currency: CreditCardCredit.Currency | null;
|
|
182
182
|
|
|
@@ -297,8 +297,8 @@ export namespace CreditCardCredit {
|
|
|
297
297
|
|
|
298
298
|
/**
|
|
299
299
|
* The credit card credit's currency. For built-in currencies, the name and code
|
|
300
|
-
* are standard international values. For user-defined currencies, all
|
|
301
|
-
* editable.
|
|
300
|
+
* are standard ISO 4217 international values. For user-defined currencies, all
|
|
301
|
+
* values are editable.
|
|
302
302
|
*/
|
|
303
303
|
export interface Currency {
|
|
304
304
|
/**
|
|
@@ -149,8 +149,8 @@ export interface CreditCardRefund {
|
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* The credit card refund's currency. For built-in currencies, the name and code
|
|
152
|
-
* are standard international values. For user-defined currencies, all
|
|
153
|
-
* editable.
|
|
152
|
+
* are standard ISO 4217 international values. For user-defined currencies, all
|
|
153
|
+
* values are editable.
|
|
154
154
|
*/
|
|
155
155
|
currency: CreditCardRefund.Currency | null;
|
|
156
156
|
|
|
@@ -482,8 +482,8 @@ export namespace CreditCardRefund {
|
|
|
482
482
|
|
|
483
483
|
/**
|
|
484
484
|
* The credit card refund's currency. For built-in currencies, the name and code
|
|
485
|
-
* are standard international values. For user-defined currencies, all
|
|
486
|
-
* editable.
|
|
485
|
+
* are standard ISO 4217 international values. For user-defined currencies, all
|
|
486
|
+
* values are editable.
|
|
487
487
|
*/
|
|
488
488
|
export interface Currency {
|
|
489
489
|
/**
|
|
@@ -172,15 +172,15 @@ export interface CreditMemo {
|
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* The credit memo's currency. For built-in currencies, the name and code are
|
|
175
|
-
* standard international values. For user-defined currencies, all values
|
|
176
|
-
* editable.
|
|
175
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
176
|
+
* are editable.
|
|
177
177
|
*/
|
|
178
178
|
currency: CreditMemo.Currency | null;
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
* The customer or customer-job associated with this credit memo.
|
|
182
182
|
*/
|
|
183
|
-
customer: CreditMemo.Customer;
|
|
183
|
+
customer: CreditMemo.Customer | null;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* The message to display to the customer on the credit memo.
|
|
@@ -489,8 +489,8 @@ export namespace CreditMemo {
|
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
491
|
* The credit memo's currency. For built-in currencies, the name and code are
|
|
492
|
-
* standard international values. For user-defined currencies, all values
|
|
493
|
-
* editable.
|
|
492
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
493
|
+
* are editable.
|
|
494
494
|
*/
|
|
495
495
|
export interface Currency {
|
|
496
496
|
/**
|
|
@@ -200,7 +200,8 @@ export interface Customer {
|
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
202
|
* The customer's currency. For built-in currencies, the name and code are standard
|
|
203
|
-
* international values. For user-defined currencies, all values are
|
|
203
|
+
* ISO 4217 international values. For user-defined currencies, all values are
|
|
204
|
+
* editable.
|
|
204
205
|
*/
|
|
205
206
|
currency: Customer.Currency | null;
|
|
206
207
|
|
|
@@ -752,7 +753,8 @@ export namespace Customer {
|
|
|
752
753
|
|
|
753
754
|
/**
|
|
754
755
|
* The customer's currency. For built-in currencies, the name and code are standard
|
|
755
|
-
* international values. For user-defined currencies, all values are
|
|
756
|
+
* ISO 4217 international values. For user-defined currencies, all values are
|
|
757
|
+
* editable.
|
|
756
758
|
*/
|
|
757
759
|
export interface Currency {
|
|
758
760
|
/**
|
|
@@ -1169,8 +1171,8 @@ export interface CustomerCreateParams {
|
|
|
1169
1171
|
|
|
1170
1172
|
/**
|
|
1171
1173
|
* Body param: The customer's currency. For built-in currencies, the name and code
|
|
1172
|
-
* are standard international values. For user-defined currencies, all
|
|
1173
|
-
* editable.
|
|
1174
|
+
* are standard ISO 4217 international values. For user-defined currencies, all
|
|
1175
|
+
* values are editable.
|
|
1174
1176
|
*/
|
|
1175
1177
|
currencyId?: string;
|
|
1176
1178
|
|
|
@@ -1833,8 +1835,8 @@ export interface CustomerUpdateParams {
|
|
|
1833
1835
|
|
|
1834
1836
|
/**
|
|
1835
1837
|
* Body param: The customer's currency. For built-in currencies, the name and code
|
|
1836
|
-
* are standard international values. For user-defined currencies, all
|
|
1837
|
-
* editable.
|
|
1838
|
+
* are standard ISO 4217 international values. For user-defined currencies, all
|
|
1839
|
+
* values are editable.
|
|
1838
1840
|
*/
|
|
1839
1841
|
currencyId?: string;
|
|
1840
1842
|
|
|
@@ -56,6 +56,18 @@ export interface DeletedListObject {
|
|
|
56
56
|
*/
|
|
57
57
|
deletedAt: string;
|
|
58
58
|
|
|
59
|
+
/**
|
|
60
|
+
* The case-insensitive fully-qualified unique name of this deleted list-object,
|
|
61
|
+
* formed by combining the names of its hierarchical parent objects with its own
|
|
62
|
+
* `name`, separated by colons. For example, if a deleted list-object is under
|
|
63
|
+
* "Parent" and has the `name` "Child", its `fullName` would be "Parent:Child".
|
|
64
|
+
*
|
|
65
|
+
* **NOTE**: Unlike `name`, `fullName` is guaranteed to be unique across all
|
|
66
|
+
* deleted list-object objects. However, `fullName` can still be arbitrarily
|
|
67
|
+
* changed by the QuickBooks user when they modify the underlying `name` field.
|
|
68
|
+
*/
|
|
69
|
+
fullName: string | null;
|
|
70
|
+
|
|
59
71
|
/**
|
|
60
72
|
* The type of deleted list object (i.e., non-transaction).
|
|
61
73
|
*/
|
|
@@ -156,7 +156,8 @@ export interface Estimate {
|
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* The estimate's currency. For built-in currencies, the name and code are standard
|
|
159
|
-
* international values. For user-defined currencies, all values are
|
|
159
|
+
* ISO 4217 international values. For user-defined currencies, all values are
|
|
160
|
+
* editable.
|
|
160
161
|
*/
|
|
161
162
|
currency: Estimate.Currency | null;
|
|
162
163
|
|
|
@@ -448,7 +449,8 @@ export namespace Estimate {
|
|
|
448
449
|
|
|
449
450
|
/**
|
|
450
451
|
* The estimate's currency. For built-in currencies, the name and code are standard
|
|
451
|
-
* international values. For user-defined currencies, all values are
|
|
452
|
+
* ISO 4217 international values. For user-defined currencies, all values are
|
|
453
|
+
* editable.
|
|
452
454
|
*/
|
|
453
455
|
export interface Currency {
|
|
454
456
|
/**
|
|
@@ -418,6 +418,14 @@ export {
|
|
|
418
418
|
type ServiceItemListParams,
|
|
419
419
|
type ServiceItemsCursorPage,
|
|
420
420
|
} from './service-items';
|
|
421
|
+
export {
|
|
422
|
+
ShippingMethods,
|
|
423
|
+
type ShippingMethod,
|
|
424
|
+
type ShippingMethodListResponse,
|
|
425
|
+
type ShippingMethodCreateParams,
|
|
426
|
+
type ShippingMethodRetrieveParams,
|
|
427
|
+
type ShippingMethodListParams,
|
|
428
|
+
} from './shipping-methods';
|
|
421
429
|
export {
|
|
422
430
|
StandardTerms,
|
|
423
431
|
type StandardTerm,
|
|
@@ -176,7 +176,8 @@ export interface Invoice {
|
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* The invoice's currency. For built-in currencies, the name and code are standard
|
|
179
|
-
* international values. For user-defined currencies, all values are
|
|
179
|
+
* ISO 4217 international values. For user-defined currencies, all values are
|
|
180
|
+
* editable.
|
|
180
181
|
*/
|
|
181
182
|
currency: Invoice.Currency | null;
|
|
182
183
|
|
|
@@ -516,7 +517,8 @@ export namespace Invoice {
|
|
|
516
517
|
|
|
517
518
|
/**
|
|
518
519
|
* The invoice's currency. For built-in currencies, the name and code are standard
|
|
519
|
-
* international values. For user-defined currencies, all values are
|
|
520
|
+
* ISO 4217 international values. For user-defined currencies, all values are
|
|
521
|
+
* editable.
|
|
520
522
|
*/
|
|
521
523
|
export interface Currency {
|
|
522
524
|
/**
|
|
@@ -152,8 +152,8 @@ export interface ItemReceipt {
|
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* The item receipt's currency. For built-in currencies, the name and code are
|
|
155
|
-
* standard international values. For user-defined currencies, all values
|
|
156
|
-
* editable.
|
|
155
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
156
|
+
* are editable.
|
|
157
157
|
*/
|
|
158
158
|
currency: ItemReceipt.Currency | null;
|
|
159
159
|
|
|
@@ -291,8 +291,8 @@ export interface ItemReceipt {
|
|
|
291
291
|
export namespace ItemReceipt {
|
|
292
292
|
/**
|
|
293
293
|
* The item receipt's currency. For built-in currencies, the name and code are
|
|
294
|
-
* standard international values. For user-defined currencies, all values
|
|
295
|
-
* editable.
|
|
294
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
295
|
+
* are editable.
|
|
296
296
|
*/
|
|
297
297
|
export interface Currency {
|
|
298
298
|
/**
|
|
@@ -168,8 +168,8 @@ export interface JournalEntry {
|
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
170
|
* The journal entry's currency. For built-in currencies, the name and code are
|
|
171
|
-
* standard international values. For user-defined currencies, all values
|
|
172
|
-
* editable.
|
|
171
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
172
|
+
* are editable.
|
|
173
173
|
*/
|
|
174
174
|
currency: JournalEntry.Currency | null;
|
|
175
175
|
|
|
@@ -404,8 +404,8 @@ export namespace JournalEntry {
|
|
|
404
404
|
|
|
405
405
|
/**
|
|
406
406
|
* The journal entry's currency. For built-in currencies, the name and code are
|
|
407
|
-
* standard international values. For user-defined currencies, all values
|
|
408
|
-
* editable.
|
|
407
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
408
|
+
* are editable.
|
|
409
409
|
*/
|
|
410
410
|
export interface Currency {
|
|
411
411
|
/**
|
|
@@ -665,8 +665,8 @@ export interface JournalEntryCreateParams {
|
|
|
665
665
|
|
|
666
666
|
/**
|
|
667
667
|
* Body param: The journal entry's currency. For built-in currencies, the name and
|
|
668
|
-
* code are standard international values. For user-defined currencies,
|
|
669
|
-
* are editable.
|
|
668
|
+
* code are standard ISO 4217 international values. For user-defined currencies,
|
|
669
|
+
* all values are editable.
|
|
670
670
|
*/
|
|
671
671
|
currencyId?: string;
|
|
672
672
|
|
|
@@ -854,8 +854,8 @@ export interface JournalEntryUpdateParams {
|
|
|
854
854
|
|
|
855
855
|
/**
|
|
856
856
|
* Body param: The journal entry's currency. For built-in currencies, the name and
|
|
857
|
-
* code are standard international values. For user-defined currencies,
|
|
858
|
-
* are editable.
|
|
857
|
+
* code are standard ISO 4217 international values. For user-defined currencies,
|
|
858
|
+
* all values are editable.
|
|
859
859
|
*/
|
|
860
860
|
currencyId?: string;
|
|
861
861
|
|
|
@@ -575,7 +575,7 @@ export namespace Preferences {
|
|
|
575
575
|
/**
|
|
576
576
|
* The default tax code for sales for this company file.
|
|
577
577
|
*/
|
|
578
|
-
defaultItemSalesTax: SalesTax.DefaultItemSalesTax;
|
|
578
|
+
defaultItemSalesTax: SalesTax.DefaultItemSalesTax | null;
|
|
579
579
|
|
|
580
580
|
/**
|
|
581
581
|
* The default tax code for non-taxable sales for this company file.
|
|
@@ -111,8 +111,8 @@ export interface PriceLevel {
|
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
113
|
* The price level's currency. For built-in currencies, the name and code are
|
|
114
|
-
* standard international values. For user-defined currencies, all values
|
|
115
|
-
* editable.
|
|
114
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
115
|
+
* are editable.
|
|
116
116
|
*/
|
|
117
117
|
currency: PriceLevel.Currency | null;
|
|
118
118
|
|
|
@@ -179,8 +179,8 @@ export interface PriceLevel {
|
|
|
179
179
|
export namespace PriceLevel {
|
|
180
180
|
/**
|
|
181
181
|
* The price level's currency. For built-in currencies, the name and code are
|
|
182
|
-
* standard international values. For user-defined currencies, all values
|
|
183
|
-
* editable.
|
|
182
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
183
|
+
* are editable.
|
|
184
184
|
*/
|
|
185
185
|
export interface Currency {
|
|
186
186
|
/**
|
|
@@ -284,8 +284,8 @@ export interface PriceLevelCreateParams {
|
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
286
|
* Body param: The price level's currency. For built-in currencies, the name and
|
|
287
|
-
* code are standard international values. For user-defined currencies,
|
|
288
|
-
* are editable.
|
|
287
|
+
* code are standard ISO 4217 international values. For user-defined currencies,
|
|
288
|
+
* all values are editable.
|
|
289
289
|
*/
|
|
290
290
|
currencyId?: string;
|
|
291
291
|
|
|
@@ -383,8 +383,8 @@ export interface PriceLevelUpdateParams {
|
|
|
383
383
|
|
|
384
384
|
/**
|
|
385
385
|
* Body param: The price level's currency. For built-in currencies, the name and
|
|
386
|
-
* code are standard international values. For user-defined currencies,
|
|
387
|
-
* are editable.
|
|
386
|
+
* code are standard ISO 4217 international values. For user-defined currencies,
|
|
387
|
+
* all values are editable.
|
|
388
388
|
*/
|
|
389
389
|
currencyId?: string;
|
|
390
390
|
|
|
@@ -162,8 +162,8 @@ export interface PurchaseOrder {
|
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
164
|
* The purchase order's currency. For built-in currencies, the name and code are
|
|
165
|
-
* standard international values. For user-defined currencies, all values
|
|
166
|
-
* editable.
|
|
165
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
166
|
+
* are editable.
|
|
167
167
|
*/
|
|
168
168
|
currency: PurchaseOrder.Currency | null;
|
|
169
169
|
|
|
@@ -415,8 +415,8 @@ export namespace PurchaseOrder {
|
|
|
415
415
|
|
|
416
416
|
/**
|
|
417
417
|
* The purchase order's currency. For built-in currencies, the name and code are
|
|
418
|
-
* standard international values. For user-defined currencies, all values
|
|
419
|
-
* editable.
|
|
418
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
419
|
+
* are editable.
|
|
420
420
|
*/
|
|
421
421
|
export interface Currency {
|
|
422
422
|
/**
|
package/src/resources/qbd/qbd.ts
CHANGED
|
@@ -464,6 +464,15 @@ import {
|
|
|
464
464
|
ServiceItems,
|
|
465
465
|
ServiceItemsCursorPage,
|
|
466
466
|
} from './service-items';
|
|
467
|
+
import * as ShippingMethodsAPI from './shipping-methods';
|
|
468
|
+
import {
|
|
469
|
+
ShippingMethod,
|
|
470
|
+
ShippingMethodCreateParams,
|
|
471
|
+
ShippingMethodListParams,
|
|
472
|
+
ShippingMethodListResponse,
|
|
473
|
+
ShippingMethodRetrieveParams,
|
|
474
|
+
ShippingMethods,
|
|
475
|
+
} from './shipping-methods';
|
|
467
476
|
import * as StandardTermsAPI from './standard-terms';
|
|
468
477
|
import {
|
|
469
478
|
StandardTerm,
|
|
@@ -618,6 +627,7 @@ export class Qbd extends APIResource {
|
|
|
618
627
|
salesTaxCodes: SalesTaxCodesAPI.SalesTaxCodes = new SalesTaxCodesAPI.SalesTaxCodes(this._client);
|
|
619
628
|
salesTaxItems: SalesTaxItemsAPI.SalesTaxItems = new SalesTaxItemsAPI.SalesTaxItems(this._client);
|
|
620
629
|
serviceItems: ServiceItemsAPI.ServiceItems = new ServiceItemsAPI.ServiceItems(this._client);
|
|
630
|
+
shippingMethods: ShippingMethodsAPI.ShippingMethods = new ShippingMethodsAPI.ShippingMethods(this._client);
|
|
621
631
|
standardTerms: StandardTermsAPI.StandardTerms = new StandardTermsAPI.StandardTerms(this._client);
|
|
622
632
|
subtotalItems: SubtotalItemsAPI.SubtotalItems = new SubtotalItemsAPI.SubtotalItems(this._client);
|
|
623
633
|
templates: TemplatesAPI.Templates = new TemplatesAPI.Templates(this._client);
|
|
@@ -719,6 +729,7 @@ Qbd.SalesRepresentatives = SalesRepresentatives;
|
|
|
719
729
|
Qbd.SalesTaxCodes = SalesTaxCodes;
|
|
720
730
|
Qbd.SalesTaxItems = SalesTaxItems;
|
|
721
731
|
Qbd.ServiceItems = ServiceItems;
|
|
732
|
+
Qbd.ShippingMethods = ShippingMethods;
|
|
722
733
|
Qbd.StandardTerms = StandardTerms;
|
|
723
734
|
Qbd.SubtotalItems = SubtotalItems;
|
|
724
735
|
Qbd.Templates = Templates;
|
|
@@ -1202,6 +1213,15 @@ export declare namespace Qbd {
|
|
|
1202
1213
|
type ServiceItemListParams as ServiceItemListParams,
|
|
1203
1214
|
};
|
|
1204
1215
|
|
|
1216
|
+
export {
|
|
1217
|
+
ShippingMethods as ShippingMethods,
|
|
1218
|
+
type ShippingMethod as ShippingMethod,
|
|
1219
|
+
type ShippingMethodListResponse as ShippingMethodListResponse,
|
|
1220
|
+
type ShippingMethodCreateParams as ShippingMethodCreateParams,
|
|
1221
|
+
type ShippingMethodRetrieveParams as ShippingMethodRetrieveParams,
|
|
1222
|
+
type ShippingMethodListParams as ShippingMethodListParams,
|
|
1223
|
+
};
|
|
1224
|
+
|
|
1205
1225
|
export {
|
|
1206
1226
|
StandardTerms as StandardTerms,
|
|
1207
1227
|
type StandardTerm as StandardTerm,
|
|
@@ -175,8 +175,8 @@ export interface ReceivePayment {
|
|
|
175
175
|
|
|
176
176
|
/**
|
|
177
177
|
* The receive-payment's currency. For built-in currencies, the name and code are
|
|
178
|
-
* standard international values. For user-defined currencies, all values
|
|
179
|
-
* editable.
|
|
178
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
179
|
+
* are editable.
|
|
180
180
|
*/
|
|
181
181
|
currency: ReceivePayment.Currency | null;
|
|
182
182
|
|
|
@@ -665,8 +665,8 @@ export namespace ReceivePayment {
|
|
|
665
665
|
|
|
666
666
|
/**
|
|
667
667
|
* The receive-payment's currency. For built-in currencies, the name and code are
|
|
668
|
-
* standard international values. For user-defined currencies, all values
|
|
669
|
-
* editable.
|
|
668
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
669
|
+
* are editable.
|
|
670
670
|
*/
|
|
671
671
|
export interface Currency {
|
|
672
672
|
/**
|
|
@@ -160,8 +160,8 @@ export interface SalesOrder {
|
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
162
|
* The sales order's currency. For built-in currencies, the name and code are
|
|
163
|
-
* standard international values. For user-defined currencies, all values
|
|
164
|
-
* editable.
|
|
163
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
164
|
+
* are editable.
|
|
165
165
|
*/
|
|
166
166
|
currency: SalesOrder.Currency | null;
|
|
167
167
|
|
|
@@ -493,8 +493,8 @@ export namespace SalesOrder {
|
|
|
493
493
|
|
|
494
494
|
/**
|
|
495
495
|
* The sales order's currency. For built-in currencies, the name and code are
|
|
496
|
-
* standard international values. For user-defined currencies, all values
|
|
497
|
-
* editable.
|
|
496
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
497
|
+
* are editable.
|
|
498
498
|
*/
|
|
499
499
|
export interface Currency {
|
|
500
500
|
/**
|
|
@@ -181,8 +181,8 @@ export interface SalesReceipt {
|
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
183
|
* The sales receipt's currency. For built-in currencies, the name and code are
|
|
184
|
-
* standard international values. For user-defined currencies, all values
|
|
185
|
-
* editable.
|
|
184
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
185
|
+
* are editable.
|
|
186
186
|
*/
|
|
187
187
|
currency: SalesReceipt.Currency | null;
|
|
188
188
|
|
|
@@ -662,8 +662,8 @@ export namespace SalesReceipt {
|
|
|
662
662
|
|
|
663
663
|
/**
|
|
664
664
|
* The sales receipt's currency. For built-in currencies, the name and code are
|
|
665
|
-
* standard international values. For user-defined currencies, all values
|
|
666
|
-
* editable.
|
|
665
|
+
* standard ISO 4217 international values. For user-defined currencies, all values
|
|
666
|
+
* are editable.
|
|
667
667
|
*/
|
|
668
668
|
export interface Currency {
|
|
669
669
|
/**
|