conductor-node 12.32.0 → 12.34.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 +26 -0
- package/package.json +1 -1
- package/resources/qbd/accounts.d.ts +6 -2
- package/resources/qbd/accounts.d.ts.map +1 -1
- package/resources/qbd/accounts.js +6 -2
- package/resources/qbd/accounts.js.map +1 -1
- package/resources/qbd/accounts.mjs +6 -2
- package/resources/qbd/accounts.mjs.map +1 -1
- package/resources/qbd/bill-check-payments.d.ts +11 -10
- package/resources/qbd/bill-check-payments.d.ts.map +1 -1
- package/resources/qbd/bill-check-payments.js +7 -2
- package/resources/qbd/bill-check-payments.js.map +1 -1
- package/resources/qbd/bill-check-payments.mjs +7 -2
- package/resources/qbd/bill-check-payments.mjs.map +1 -1
- package/resources/qbd/bill-credit-card-payments.d.ts +7 -9
- package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -1
- package/resources/qbd/bill-credit-card-payments.js +3 -1
- package/resources/qbd/bill-credit-card-payments.js.map +1 -1
- package/resources/qbd/bill-credit-card-payments.mjs +3 -1
- package/resources/qbd/bill-credit-card-payments.mjs.map +1 -1
- package/resources/qbd/bills.d.ts +9 -6
- package/resources/qbd/bills.d.ts.map +1 -1
- package/resources/qbd/bills.js +7 -2
- package/resources/qbd/bills.js.map +1 -1
- package/resources/qbd/bills.mjs +7 -2
- package/resources/qbd/bills.mjs.map +1 -1
- package/resources/qbd/build-assemblies.d.ts +3 -1
- package/resources/qbd/build-assemblies.d.ts.map +1 -1
- package/resources/qbd/build-assemblies.js +3 -1
- package/resources/qbd/build-assemblies.js.map +1 -1
- package/resources/qbd/build-assemblies.mjs +3 -1
- package/resources/qbd/build-assemblies.mjs.map +1 -1
- package/resources/qbd/checks.d.ts +8 -6
- package/resources/qbd/checks.d.ts.map +1 -1
- package/resources/qbd/checks.js +6 -2
- package/resources/qbd/checks.js.map +1 -1
- package/resources/qbd/checks.mjs +6 -2
- package/resources/qbd/checks.mjs.map +1 -1
- package/resources/qbd/credit-card-charges.d.ts +3 -1
- package/resources/qbd/credit-card-charges.d.ts.map +1 -1
- package/resources/qbd/credit-card-charges.js +3 -1
- package/resources/qbd/credit-card-charges.js.map +1 -1
- package/resources/qbd/credit-card-charges.mjs +3 -1
- package/resources/qbd/credit-card-charges.mjs.map +1 -1
- package/resources/qbd/credit-card-refunds.d.ts +1011 -0
- package/resources/qbd/credit-card-refunds.d.ts.map +1 -0
- package/resources/qbd/credit-card-refunds.js +105 -0
- package/resources/qbd/credit-card-refunds.js.map +1 -0
- package/resources/qbd/credit-card-refunds.mjs +100 -0
- package/resources/qbd/credit-card-refunds.mjs.map +1 -0
- package/resources/qbd/credit-memos.d.ts +6 -16
- package/resources/qbd/credit-memos.d.ts.map +1 -1
- package/resources/qbd/credit-memos.js.map +1 -1
- package/resources/qbd/credit-memos.mjs.map +1 -1
- package/resources/qbd/date-driven-terms.d.ts +4 -1
- package/resources/qbd/date-driven-terms.d.ts.map +1 -1
- package/resources/qbd/date-driven-terms.js +4 -1
- package/resources/qbd/date-driven-terms.js.map +1 -1
- package/resources/qbd/date-driven-terms.mjs +4 -1
- package/resources/qbd/date-driven-terms.mjs.map +1 -1
- package/resources/qbd/discount-items.d.ts +7 -2
- package/resources/qbd/discount-items.d.ts.map +1 -1
- package/resources/qbd/discount-items.js +7 -2
- package/resources/qbd/discount-items.js.map +1 -1
- package/resources/qbd/discount-items.mjs +7 -2
- package/resources/qbd/discount-items.mjs.map +1 -1
- package/resources/qbd/employees.d.ts +6 -2
- package/resources/qbd/employees.d.ts.map +1 -1
- package/resources/qbd/employees.js +6 -2
- package/resources/qbd/employees.js.map +1 -1
- package/resources/qbd/employees.mjs +6 -2
- package/resources/qbd/employees.mjs.map +1 -1
- package/resources/qbd/estimates.d.ts +2 -4
- package/resources/qbd/estimates.d.ts.map +1 -1
- package/resources/qbd/estimates.js.map +1 -1
- package/resources/qbd/estimates.mjs.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 +5 -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/inventory-adjustments.d.ts +3 -1
- package/resources/qbd/inventory-adjustments.d.ts.map +1 -1
- package/resources/qbd/inventory-adjustments.js +3 -1
- package/resources/qbd/inventory-adjustments.js.map +1 -1
- package/resources/qbd/inventory-adjustments.mjs +3 -1
- package/resources/qbd/inventory-adjustments.mjs.map +1 -1
- package/resources/qbd/inventory-assembly-items.d.ts +4 -2
- package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
- package/resources/qbd/inventory-assembly-items.js +4 -2
- package/resources/qbd/inventory-assembly-items.js.map +1 -1
- package/resources/qbd/inventory-assembly-items.mjs +4 -2
- package/resources/qbd/inventory-assembly-items.mjs.map +1 -1
- package/resources/qbd/inventory-items.d.ts +3 -1
- package/resources/qbd/inventory-items.d.ts.map +1 -1
- package/resources/qbd/inventory-items.js +3 -1
- package/resources/qbd/inventory-items.js.map +1 -1
- package/resources/qbd/inventory-items.mjs +3 -1
- package/resources/qbd/inventory-items.mjs.map +1 -1
- package/resources/qbd/inventory-sites.d.ts +2 -1
- package/resources/qbd/inventory-sites.d.ts.map +1 -1
- package/resources/qbd/inventory-sites.js +2 -1
- package/resources/qbd/inventory-sites.js.map +1 -1
- package/resources/qbd/inventory-sites.mjs +2 -1
- package/resources/qbd/inventory-sites.mjs.map +1 -1
- package/resources/qbd/invoices.d.ts +8 -17
- package/resources/qbd/invoices.d.ts.map +1 -1
- package/resources/qbd/invoices.js +2 -1
- package/resources/qbd/invoices.js.map +1 -1
- package/resources/qbd/invoices.mjs +2 -1
- package/resources/qbd/invoices.mjs.map +1 -1
- package/resources/qbd/item-receipts.d.ts +6 -5
- package/resources/qbd/item-receipts.d.ts.map +1 -1
- package/resources/qbd/item-receipts.js +4 -1
- package/resources/qbd/item-receipts.js.map +1 -1
- package/resources/qbd/item-receipts.mjs +4 -1
- package/resources/qbd/item-receipts.mjs.map +1 -1
- package/resources/qbd/journal-entries.d.ts +7 -2
- package/resources/qbd/journal-entries.d.ts.map +1 -1
- package/resources/qbd/journal-entries.js +7 -2
- package/resources/qbd/journal-entries.js.map +1 -1
- package/resources/qbd/journal-entries.mjs +7 -2
- package/resources/qbd/journal-entries.mjs.map +1 -1
- package/resources/qbd/non-inventory-items.d.ts +6 -1
- package/resources/qbd/non-inventory-items.d.ts.map +1 -1
- package/resources/qbd/non-inventory-items.js +6 -1
- package/resources/qbd/non-inventory-items.js.map +1 -1
- package/resources/qbd/non-inventory-items.mjs +6 -1
- package/resources/qbd/non-inventory-items.mjs.map +1 -1
- package/resources/qbd/purchase-orders.d.ts +2 -4
- package/resources/qbd/purchase-orders.d.ts.map +1 -1
- package/resources/qbd/purchase-orders.js.map +1 -1
- package/resources/qbd/purchase-orders.mjs.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 +5 -0
- package/resources/qbd/qbd.js.map +1 -1
- package/resources/qbd/qbd.mjs +5 -0
- package/resources/qbd/qbd.mjs.map +1 -1
- package/resources/qbd/receive-payments.d.ts +15 -22
- package/resources/qbd/receive-payments.d.ts.map +1 -1
- package/resources/qbd/receive-payments.js +7 -2
- package/resources/qbd/receive-payments.js.map +1 -1
- package/resources/qbd/receive-payments.mjs +7 -2
- package/resources/qbd/receive-payments.mjs.map +1 -1
- package/resources/qbd/sales-orders.d.ts +2 -4
- package/resources/qbd/sales-orders.d.ts.map +1 -1
- package/resources/qbd/sales-orders.js.map +1 -1
- package/resources/qbd/sales-orders.mjs.map +1 -1
- package/resources/qbd/sales-receipts.d.ts +7 -2
- package/resources/qbd/sales-receipts.d.ts.map +1 -1
- package/resources/qbd/sales-receipts.js +7 -2
- package/resources/qbd/sales-receipts.js.map +1 -1
- package/resources/qbd/sales-receipts.mjs +7 -2
- package/resources/qbd/sales-receipts.mjs.map +1 -1
- package/resources/qbd/sales-representatives.d.ts +2 -1
- package/resources/qbd/sales-representatives.d.ts.map +1 -1
- package/resources/qbd/sales-representatives.js +2 -1
- package/resources/qbd/sales-representatives.js.map +1 -1
- package/resources/qbd/sales-representatives.mjs +2 -1
- package/resources/qbd/sales-representatives.mjs.map +1 -1
- package/resources/qbd/sales-tax-codes.d.ts +4 -1
- package/resources/qbd/sales-tax-codes.d.ts.map +1 -1
- package/resources/qbd/sales-tax-codes.js +4 -1
- package/resources/qbd/sales-tax-codes.js.map +1 -1
- package/resources/qbd/sales-tax-codes.mjs +4 -1
- package/resources/qbd/sales-tax-codes.mjs.map +1 -1
- package/resources/qbd/service-items.d.ts +5 -1
- package/resources/qbd/service-items.d.ts.map +1 -1
- package/resources/qbd/service-items.js +5 -1
- package/resources/qbd/service-items.js.map +1 -1
- package/resources/qbd/service-items.mjs +5 -1
- package/resources/qbd/service-items.mjs.map +1 -1
- package/resources/qbd/transactions.d.ts +2 -4
- package/resources/qbd/transactions.d.ts.map +1 -1
- package/resources/qbd/transactions.js.map +1 -1
- package/resources/qbd/transactions.mjs.map +1 -1
- package/resources/qbd/vendor-credits.d.ts +6 -6
- package/resources/qbd/vendor-credits.d.ts.map +1 -1
- package/resources/qbd/vendor-credits.js +4 -2
- package/resources/qbd/vendor-credits.js.map +1 -1
- package/resources/qbd/vendor-credits.mjs +4 -2
- package/resources/qbd/vendor-credits.mjs.map +1 -1
- package/src/resources/qbd/accounts.ts +6 -2
- package/src/resources/qbd/bill-check-payments.ts +66 -10
- package/src/resources/qbd/bill-credit-card-payments.ts +62 -9
- package/src/resources/qbd/bills.ts +38 -7
- package/src/resources/qbd/build-assemblies.ts +3 -1
- package/src/resources/qbd/checks.ts +37 -7
- package/src/resources/qbd/credit-card-charges.ts +3 -1
- package/src/resources/qbd/credit-card-refunds.ts +1252 -0
- package/src/resources/qbd/credit-memos.ts +35 -17
- package/src/resources/qbd/date-driven-terms.ts +4 -1
- package/src/resources/qbd/discount-items.ts +7 -2
- package/src/resources/qbd/employees.ts +6 -2
- package/src/resources/qbd/estimates.ts +31 -5
- package/src/resources/qbd/index.ts +10 -0
- package/src/resources/qbd/inventory-adjustments.ts +3 -1
- package/src/resources/qbd/inventory-assembly-items.ts +4 -2
- package/src/resources/qbd/inventory-items.ts +3 -1
- package/src/resources/qbd/inventory-sites.ts +2 -1
- package/src/resources/qbd/invoices.ts +37 -18
- package/src/resources/qbd/item-receipts.ts +35 -6
- package/src/resources/qbd/journal-entries.ts +7 -2
- package/src/resources/qbd/non-inventory-items.ts +6 -1
- package/src/resources/qbd/purchase-orders.ts +31 -5
- package/src/resources/qbd/qbd.ts +27 -0
- package/src/resources/qbd/receive-payments.ts +71 -23
- package/src/resources/qbd/sales-orders.ts +31 -5
- package/src/resources/qbd/sales-receipts.ts +7 -2
- package/src/resources/qbd/sales-representatives.ts +2 -1
- package/src/resources/qbd/sales-tax-codes.ts +4 -1
- package/src/resources/qbd/service-items.ts +5 -1
- package/src/resources/qbd/transactions.ts +29 -4
- package/src/resources/qbd/vendor-credits.ts +35 -7
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -6,7 +6,10 @@ import { CursorPage, type CursorPageParams } from "../../pagination.js";
|
|
|
6
6
|
|
|
7
7
|
export class ReceivePayments extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Records a customer payment and optionally applies it to specific invoices or
|
|
10
|
+
* credits. All allocations must target the same accounts receivable account as
|
|
11
|
+
* those invoices, and each one has to include a payment amount, discount, or
|
|
12
|
+
* credit so QuickBooks can close out the balance.
|
|
10
13
|
*
|
|
11
14
|
* @example
|
|
12
15
|
* ```ts
|
|
@@ -53,7 +56,9 @@ export class ReceivePayments extends APIResource {
|
|
|
53
56
|
}
|
|
54
57
|
|
|
55
58
|
/**
|
|
56
|
-
* Updates
|
|
59
|
+
* Updates a received payment. When you resubmit applications to invoices, keep
|
|
60
|
+
* them on the same accounts receivable account and include the payment amount,
|
|
61
|
+
* discount, or credit on every allocation you send.
|
|
57
62
|
*
|
|
58
63
|
* @example
|
|
59
64
|
* ```ts
|
|
@@ -221,9 +226,7 @@ export interface ReceivePayment {
|
|
|
221
226
|
* default A/R account.
|
|
222
227
|
*
|
|
223
228
|
* **IMPORTANT**: If this receive-payment is linked to other transactions, this A/R
|
|
224
|
-
* account must match the `receivablesAccount` used in all linked transactions.
|
|
225
|
-
* example, when refunding a credit card payment, the A/R account must match the
|
|
226
|
-
* one used in the original credit transactions being refunded.
|
|
229
|
+
* account must match the `receivablesAccount` used in all linked transactions.
|
|
227
230
|
*/
|
|
228
231
|
receivablesAccount: ReceivePayment.ReceivablesAccount | null;
|
|
229
232
|
|
|
@@ -344,11 +347,36 @@ export namespace ReceivePayment {
|
|
|
344
347
|
transactionId: string;
|
|
345
348
|
|
|
346
349
|
/**
|
|
347
|
-
* The type of transaction for this receivable transaction.
|
|
348
|
-
* field is a raw string, not an enum, because in rare cases QuickBooks Desktop may
|
|
349
|
-
* return a value outside its own schema, which we pass through unchanged.
|
|
350
|
+
* The type of transaction for this receivable transaction.
|
|
350
351
|
*/
|
|
351
|
-
transactionType:
|
|
352
|
+
transactionType:
|
|
353
|
+
| 'ar_refund_credit_card'
|
|
354
|
+
| 'bill'
|
|
355
|
+
| 'bill_payment_check'
|
|
356
|
+
| 'bill_payment_credit_card'
|
|
357
|
+
| 'build_assembly'
|
|
358
|
+
| 'charge'
|
|
359
|
+
| 'check'
|
|
360
|
+
| 'credit_card_charge'
|
|
361
|
+
| 'credit_card_credit'
|
|
362
|
+
| 'credit_memo'
|
|
363
|
+
| 'deposit'
|
|
364
|
+
| 'estimate'
|
|
365
|
+
| 'inventory_adjustment'
|
|
366
|
+
| 'invoice'
|
|
367
|
+
| 'item_receipt'
|
|
368
|
+
| 'journal_entry'
|
|
369
|
+
| 'liability_adjustment'
|
|
370
|
+
| 'paycheck'
|
|
371
|
+
| 'payroll_liability_check'
|
|
372
|
+
| 'purchase_order'
|
|
373
|
+
| 'receive_payment'
|
|
374
|
+
| 'sales_order'
|
|
375
|
+
| 'sales_receipt'
|
|
376
|
+
| 'sales_tax_payment_check'
|
|
377
|
+
| 'transfer'
|
|
378
|
+
| 'vendor_credit'
|
|
379
|
+
| 'ytd_adjustment';
|
|
352
380
|
}
|
|
353
381
|
|
|
354
382
|
export namespace AppliedToTransaction {
|
|
@@ -428,11 +456,37 @@ export namespace ReceivePayment {
|
|
|
428
456
|
transactionDate: string;
|
|
429
457
|
|
|
430
458
|
/**
|
|
431
|
-
* The type of transaction for this linked transaction.
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
459
|
+
* The type of transaction for this linked transaction.
|
|
460
|
+
*/
|
|
461
|
+
transactionType:
|
|
462
|
+
| 'ar_refund_credit_card'
|
|
463
|
+
| 'bill'
|
|
464
|
+
| 'bill_payment_check'
|
|
465
|
+
| 'bill_payment_credit_card'
|
|
466
|
+
| 'build_assembly'
|
|
467
|
+
| 'charge'
|
|
468
|
+
| 'check'
|
|
469
|
+
| 'credit_card_charge'
|
|
470
|
+
| 'credit_card_credit'
|
|
471
|
+
| 'credit_memo'
|
|
472
|
+
| 'deposit'
|
|
473
|
+
| 'estimate'
|
|
474
|
+
| 'inventory_adjustment'
|
|
475
|
+
| 'invoice'
|
|
476
|
+
| 'item_receipt'
|
|
477
|
+
| 'journal_entry'
|
|
478
|
+
| 'liability_adjustment'
|
|
479
|
+
| 'paycheck'
|
|
480
|
+
| 'payroll_liability_check'
|
|
481
|
+
| 'purchase_order'
|
|
482
|
+
| 'receive_payment'
|
|
483
|
+
| 'sales_order'
|
|
484
|
+
| 'sales_receipt'
|
|
485
|
+
| 'sales_tax_payment_check'
|
|
486
|
+
| 'transfer'
|
|
487
|
+
| 'vendor_credit'
|
|
488
|
+
| 'ytd_adjustment'
|
|
489
|
+
| 'unknown';
|
|
436
490
|
}
|
|
437
491
|
}
|
|
438
492
|
|
|
@@ -725,9 +779,7 @@ export namespace ReceivePayment {
|
|
|
725
779
|
* default A/R account.
|
|
726
780
|
*
|
|
727
781
|
* **IMPORTANT**: If this receive-payment is linked to other transactions, this A/R
|
|
728
|
-
* account must match the `receivablesAccount` used in all linked transactions.
|
|
729
|
-
* example, when refunding a credit card payment, the A/R account must match the
|
|
730
|
-
* one used in the original credit transactions being refunded.
|
|
782
|
+
* account must match the `receivablesAccount` used in all linked transactions.
|
|
731
783
|
*/
|
|
732
784
|
export interface ReceivablesAccount {
|
|
733
785
|
/**
|
|
@@ -879,9 +931,7 @@ export interface ReceivePaymentCreateParams {
|
|
|
879
931
|
* will use its default A/R account.
|
|
880
932
|
*
|
|
881
933
|
* **IMPORTANT**: If this receive-payment is linked to other transactions, this A/R
|
|
882
|
-
* account must match the `receivablesAccount` used in all linked transactions.
|
|
883
|
-
* example, when refunding a credit card payment, the A/R account must match the
|
|
884
|
-
* one used in the original credit transactions being refunded.
|
|
934
|
+
* account must match the `receivablesAccount` used in all linked transactions.
|
|
885
935
|
*/
|
|
886
936
|
receivablesAccountId?: string;
|
|
887
937
|
|
|
@@ -1209,9 +1259,7 @@ export interface ReceivePaymentUpdateParams {
|
|
|
1209
1259
|
* will use its default A/R account.
|
|
1210
1260
|
*
|
|
1211
1261
|
* **IMPORTANT**: If this receive-payment is linked to other transactions, this A/R
|
|
1212
|
-
* account must match the `receivablesAccount` used in all linked transactions.
|
|
1213
|
-
* example, when refunding a credit card payment, the A/R account must match the
|
|
1214
|
-
* one used in the original credit transactions being refunded.
|
|
1262
|
+
* account must match the `receivablesAccount` used in all linked transactions.
|
|
1215
1263
|
*/
|
|
1216
1264
|
receivablesAccountId?: string;
|
|
1217
1265
|
|
|
@@ -1488,11 +1488,37 @@ export namespace SalesOrder {
|
|
|
1488
1488
|
transactionDate: string;
|
|
1489
1489
|
|
|
1490
1490
|
/**
|
|
1491
|
-
* The type of transaction for this linked transaction.
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1491
|
+
* The type of transaction for this linked transaction.
|
|
1492
|
+
*/
|
|
1493
|
+
transactionType:
|
|
1494
|
+
| 'ar_refund_credit_card'
|
|
1495
|
+
| 'bill'
|
|
1496
|
+
| 'bill_payment_check'
|
|
1497
|
+
| 'bill_payment_credit_card'
|
|
1498
|
+
| 'build_assembly'
|
|
1499
|
+
| 'charge'
|
|
1500
|
+
| 'check'
|
|
1501
|
+
| 'credit_card_charge'
|
|
1502
|
+
| 'credit_card_credit'
|
|
1503
|
+
| 'credit_memo'
|
|
1504
|
+
| 'deposit'
|
|
1505
|
+
| 'estimate'
|
|
1506
|
+
| 'inventory_adjustment'
|
|
1507
|
+
| 'invoice'
|
|
1508
|
+
| 'item_receipt'
|
|
1509
|
+
| 'journal_entry'
|
|
1510
|
+
| 'liability_adjustment'
|
|
1511
|
+
| 'paycheck'
|
|
1512
|
+
| 'payroll_liability_check'
|
|
1513
|
+
| 'purchase_order'
|
|
1514
|
+
| 'receive_payment'
|
|
1515
|
+
| 'sales_order'
|
|
1516
|
+
| 'sales_receipt'
|
|
1517
|
+
| 'sales_tax_payment_check'
|
|
1518
|
+
| 'transfer'
|
|
1519
|
+
| 'vendor_credit'
|
|
1520
|
+
| 'ytd_adjustment'
|
|
1521
|
+
| 'unknown';
|
|
1496
1522
|
}
|
|
1497
1523
|
|
|
1498
1524
|
/**
|
|
@@ -6,7 +6,10 @@ import { CursorPage, type CursorPageParams } from "../../pagination.js";
|
|
|
6
6
|
|
|
7
7
|
export class SalesReceipts extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* Creates a
|
|
9
|
+
* Creates a sales receipt for a sale paid in full. If you include credit card
|
|
10
|
+
* transaction details, QuickBooks requires the payment method to reference a
|
|
11
|
+
* credit card type and automatically deposits the funds to Undeposited Funds
|
|
12
|
+
* rather than a specific bank account.
|
|
10
13
|
*
|
|
11
14
|
* @example
|
|
12
15
|
* ```ts
|
|
@@ -51,7 +54,9 @@ export class SalesReceipts extends APIResource {
|
|
|
51
54
|
}
|
|
52
55
|
|
|
53
56
|
/**
|
|
54
|
-
* Updates an existing sales receipt.
|
|
57
|
+
* Updates an existing sales receipt. Credit card payments still have to use a
|
|
58
|
+
* credit-card payment method and remain deposited to Undeposited Funds, so don’t
|
|
59
|
+
* switch the deposit account in those scenarios.
|
|
55
60
|
*
|
|
56
61
|
* @example
|
|
57
62
|
* ```ts
|
|
@@ -5,7 +5,8 @@ import * as Core from "../../core.js";
|
|
|
5
5
|
|
|
6
6
|
export class SalesRepresentatives extends APIResource {
|
|
7
7
|
/**
|
|
8
|
-
* Creates a
|
|
8
|
+
* Creates a sales representative that references an existing employee, vendor, or
|
|
9
|
+
* other-name record so it can be assigned on sales forms.
|
|
9
10
|
*
|
|
10
11
|
* @example
|
|
11
12
|
* ```ts
|
|
@@ -51,7 +51,10 @@ export class SalesTaxCodes extends APIResource {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* Updates
|
|
54
|
+
* Updates a sales-tax code’s name, activity status, or linked tax items. Once a
|
|
55
|
+
* code has been used you can’t flip it between taxable and non-taxable, and the
|
|
56
|
+
* built-in TAX/NON codes keep their original taxable setting, so plan new codes if
|
|
57
|
+
* you need a different tax status.
|
|
55
58
|
*
|
|
56
59
|
* @example
|
|
57
60
|
* ```ts
|
|
@@ -52,7 +52,11 @@ export class ServiceItems extends APIResource {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Updates
|
|
55
|
+
* Updates a service item’s details, including its accounts and unit-of-measure
|
|
56
|
+
* set. QuickBooks won’t let you convert a sell-only service into a buy-and-sell
|
|
57
|
+
* service (or the reverse); create a separate item instead. If you’re switching
|
|
58
|
+
* the unit of measure, set `forceUnitOfMeasureChange` so QuickBooks replaces it on
|
|
59
|
+
* existing forms.
|
|
56
60
|
*
|
|
57
61
|
* @example
|
|
58
62
|
* ```ts
|
|
@@ -137,11 +137,36 @@ export interface Transaction {
|
|
|
137
137
|
transactionLineId: string | null;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
|
-
* The type of transaction.
|
|
141
|
-
* because in rare cases QuickBooks Desktop may return a value outside its own
|
|
142
|
-
* schema, which we pass through unchanged.
|
|
140
|
+
* The type of transaction.
|
|
143
141
|
*/
|
|
144
|
-
transactionType:
|
|
142
|
+
transactionType:
|
|
143
|
+
| 'ar_refund_credit_card'
|
|
144
|
+
| 'bill'
|
|
145
|
+
| 'bill_payment_check'
|
|
146
|
+
| 'bill_payment_credit_card'
|
|
147
|
+
| 'build_assembly'
|
|
148
|
+
| 'charge'
|
|
149
|
+
| 'check'
|
|
150
|
+
| 'credit_card_charge'
|
|
151
|
+
| 'credit_card_credit'
|
|
152
|
+
| 'credit_memo'
|
|
153
|
+
| 'deposit'
|
|
154
|
+
| 'estimate'
|
|
155
|
+
| 'inventory_adjustment'
|
|
156
|
+
| 'invoice'
|
|
157
|
+
| 'item_receipt'
|
|
158
|
+
| 'journal_entry'
|
|
159
|
+
| 'liability_adjustment'
|
|
160
|
+
| 'paycheck'
|
|
161
|
+
| 'payroll_liability_check'
|
|
162
|
+
| 'purchase_order'
|
|
163
|
+
| 'receive_payment'
|
|
164
|
+
| 'sales_order'
|
|
165
|
+
| 'sales_receipt'
|
|
166
|
+
| 'sales_tax_payment_check'
|
|
167
|
+
| 'transfer'
|
|
168
|
+
| 'vendor_credit'
|
|
169
|
+
| 'ytd_adjustment';
|
|
145
170
|
|
|
146
171
|
/**
|
|
147
172
|
* The date and time when this transaction was last updated, in ISO 8601 format
|
|
@@ -6,7 +6,8 @@ import { CursorPage, type CursorPageParams } from "../../pagination.js";
|
|
|
6
6
|
|
|
7
7
|
export class VendorCredits extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* Creates a
|
|
9
|
+
* Creates a vendor credit to capture returns, rebates, or other amounts a vendor
|
|
10
|
+
* owes so you can apply the credit when recording future bill payments.
|
|
10
11
|
*
|
|
11
12
|
* @example
|
|
12
13
|
* ```ts
|
|
@@ -54,7 +55,8 @@ export class VendorCredits extends APIResource {
|
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
/**
|
|
57
|
-
* Updates
|
|
58
|
+
* Updates a vendor credit before you apply it to bills, letting you adjust the
|
|
59
|
+
* amounts, memo, or line allocations that make up the credit.
|
|
58
60
|
*
|
|
59
61
|
* @example
|
|
60
62
|
* ```ts
|
|
@@ -1481,11 +1483,37 @@ export namespace VendorCredit {
|
|
|
1481
1483
|
transactionDate: string;
|
|
1482
1484
|
|
|
1483
1485
|
/**
|
|
1484
|
-
* The type of transaction for this linked transaction.
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1486
|
+
* The type of transaction for this linked transaction.
|
|
1487
|
+
*/
|
|
1488
|
+
transactionType:
|
|
1489
|
+
| 'ar_refund_credit_card'
|
|
1490
|
+
| 'bill'
|
|
1491
|
+
| 'bill_payment_check'
|
|
1492
|
+
| 'bill_payment_credit_card'
|
|
1493
|
+
| 'build_assembly'
|
|
1494
|
+
| 'charge'
|
|
1495
|
+
| 'check'
|
|
1496
|
+
| 'credit_card_charge'
|
|
1497
|
+
| 'credit_card_credit'
|
|
1498
|
+
| 'credit_memo'
|
|
1499
|
+
| 'deposit'
|
|
1500
|
+
| 'estimate'
|
|
1501
|
+
| 'inventory_adjustment'
|
|
1502
|
+
| 'invoice'
|
|
1503
|
+
| 'item_receipt'
|
|
1504
|
+
| 'journal_entry'
|
|
1505
|
+
| 'liability_adjustment'
|
|
1506
|
+
| 'paycheck'
|
|
1507
|
+
| 'payroll_liability_check'
|
|
1508
|
+
| 'purchase_order'
|
|
1509
|
+
| 'receive_payment'
|
|
1510
|
+
| 'sales_order'
|
|
1511
|
+
| 'sales_receipt'
|
|
1512
|
+
| 'sales_tax_payment_check'
|
|
1513
|
+
| 'transfer'
|
|
1514
|
+
| 'vendor_credit'
|
|
1515
|
+
| 'ytd_adjustment'
|
|
1516
|
+
| 'unknown';
|
|
1489
1517
|
}
|
|
1490
1518
|
|
|
1491
1519
|
/**
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '12.
|
|
1
|
+
export const VERSION = '12.34.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "12.
|
|
1
|
+
export declare const VERSION = "12.34.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '12.
|
|
1
|
+
export const VERSION = '12.34.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|