conductor-node 12.32.0 → 12.33.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.
Files changed (92) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/package.json +1 -1
  3. package/resources/qbd/bill-check-payments.d.ts +4 -8
  4. package/resources/qbd/bill-check-payments.d.ts.map +1 -1
  5. package/resources/qbd/bill-check-payments.js.map +1 -1
  6. package/resources/qbd/bill-check-payments.mjs.map +1 -1
  7. package/resources/qbd/bill-credit-card-payments.d.ts +4 -8
  8. package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -1
  9. package/resources/qbd/bill-credit-card-payments.js.map +1 -1
  10. package/resources/qbd/bill-credit-card-payments.mjs.map +1 -1
  11. package/resources/qbd/bills.d.ts +2 -4
  12. package/resources/qbd/bills.d.ts.map +1 -1
  13. package/resources/qbd/bills.js.map +1 -1
  14. package/resources/qbd/bills.mjs.map +1 -1
  15. package/resources/qbd/checks.d.ts +2 -4
  16. package/resources/qbd/checks.d.ts.map +1 -1
  17. package/resources/qbd/checks.js.map +1 -1
  18. package/resources/qbd/checks.mjs.map +1 -1
  19. package/resources/qbd/credit-card-refunds.d.ts +1011 -0
  20. package/resources/qbd/credit-card-refunds.d.ts.map +1 -0
  21. package/resources/qbd/credit-card-refunds.js +105 -0
  22. package/resources/qbd/credit-card-refunds.js.map +1 -0
  23. package/resources/qbd/credit-card-refunds.mjs +100 -0
  24. package/resources/qbd/credit-card-refunds.mjs.map +1 -0
  25. package/resources/qbd/credit-memos.d.ts +6 -16
  26. package/resources/qbd/credit-memos.d.ts.map +1 -1
  27. package/resources/qbd/credit-memos.js.map +1 -1
  28. package/resources/qbd/credit-memos.mjs.map +1 -1
  29. package/resources/qbd/estimates.d.ts +2 -4
  30. package/resources/qbd/estimates.d.ts.map +1 -1
  31. package/resources/qbd/estimates.js.map +1 -1
  32. package/resources/qbd/estimates.mjs.map +1 -1
  33. package/resources/qbd/index.d.ts +1 -0
  34. package/resources/qbd/index.d.ts.map +1 -1
  35. package/resources/qbd/index.js +5 -2
  36. package/resources/qbd/index.js.map +1 -1
  37. package/resources/qbd/index.mjs +1 -0
  38. package/resources/qbd/index.mjs.map +1 -1
  39. package/resources/qbd/invoices.d.ts +6 -16
  40. package/resources/qbd/invoices.d.ts.map +1 -1
  41. package/resources/qbd/invoices.js.map +1 -1
  42. package/resources/qbd/invoices.mjs.map +1 -1
  43. package/resources/qbd/item-receipts.d.ts +2 -4
  44. package/resources/qbd/item-receipts.d.ts.map +1 -1
  45. package/resources/qbd/item-receipts.js.map +1 -1
  46. package/resources/qbd/item-receipts.mjs.map +1 -1
  47. package/resources/qbd/purchase-orders.d.ts +2 -4
  48. package/resources/qbd/purchase-orders.d.ts.map +1 -1
  49. package/resources/qbd/purchase-orders.js.map +1 -1
  50. package/resources/qbd/purchase-orders.mjs.map +1 -1
  51. package/resources/qbd/qbd.d.ts +4 -0
  52. package/resources/qbd/qbd.d.ts.map +1 -1
  53. package/resources/qbd/qbd.js +5 -0
  54. package/resources/qbd/qbd.js.map +1 -1
  55. package/resources/qbd/qbd.mjs +5 -0
  56. package/resources/qbd/qbd.mjs.map +1 -1
  57. package/resources/qbd/receive-payments.d.ts +8 -20
  58. package/resources/qbd/receive-payments.d.ts.map +1 -1
  59. package/resources/qbd/receive-payments.js.map +1 -1
  60. package/resources/qbd/receive-payments.mjs.map +1 -1
  61. package/resources/qbd/sales-orders.d.ts +2 -4
  62. package/resources/qbd/sales-orders.d.ts.map +1 -1
  63. package/resources/qbd/sales-orders.js.map +1 -1
  64. package/resources/qbd/sales-orders.mjs.map +1 -1
  65. package/resources/qbd/transactions.d.ts +2 -4
  66. package/resources/qbd/transactions.d.ts.map +1 -1
  67. package/resources/qbd/transactions.js.map +1 -1
  68. package/resources/qbd/transactions.mjs.map +1 -1
  69. package/resources/qbd/vendor-credits.d.ts +2 -4
  70. package/resources/qbd/vendor-credits.d.ts.map +1 -1
  71. package/resources/qbd/vendor-credits.js.map +1 -1
  72. package/resources/qbd/vendor-credits.mjs.map +1 -1
  73. package/src/resources/qbd/bill-check-payments.ts +59 -8
  74. package/src/resources/qbd/bill-credit-card-payments.ts +59 -8
  75. package/src/resources/qbd/bills.ts +31 -5
  76. package/src/resources/qbd/checks.ts +31 -5
  77. package/src/resources/qbd/credit-card-refunds.ts +1252 -0
  78. package/src/resources/qbd/credit-memos.ts +35 -17
  79. package/src/resources/qbd/estimates.ts +31 -5
  80. package/src/resources/qbd/index.ts +10 -0
  81. package/src/resources/qbd/invoices.ts +35 -17
  82. package/src/resources/qbd/item-receipts.ts +31 -5
  83. package/src/resources/qbd/purchase-orders.ts +31 -5
  84. package/src/resources/qbd/qbd.ts +27 -0
  85. package/src/resources/qbd/receive-payments.ts +64 -21
  86. package/src/resources/qbd/sales-orders.ts +31 -5
  87. package/src/resources/qbd/transactions.ts +29 -4
  88. package/src/resources/qbd/vendor-credits.ts +31 -5
  89. package/src/version.ts +1 -1
  90. package/version.d.ts +1 -1
  91. package/version.js +1 -1
  92. package/version.mjs +1 -1
@@ -294,9 +294,7 @@ export interface CreditMemo {
294
294
  * default A/R account.
295
295
  *
296
296
  * **IMPORTANT**: If this credit memo is linked to other transactions, this A/R
297
- * account must match the `receivablesAccount` used in all linked transactions. For
298
- * example, when refunding a credit card payment, the A/R account must match the
299
- * one used in the original credit transactions being refunded.
297
+ * account must match the `receivablesAccount` used in all linked transactions.
300
298
  */
301
299
  receivablesAccount: CreditMemo.ReceivablesAccount | null;
302
300
 
@@ -1476,11 +1474,37 @@ export namespace CreditMemo {
1476
1474
  transactionDate: string;
1477
1475
 
1478
1476
  /**
1479
- * The type of transaction for this linked transaction. The output for this field
1480
- * is a raw string, not an enum, because in rare cases QuickBooks Desktop may
1481
- * return a value outside its own schema, which we pass through unchanged.
1482
- */
1483
- transactionType: string;
1477
+ * The type of transaction for this linked transaction.
1478
+ */
1479
+ transactionType:
1480
+ | 'ar_refund_credit_card'
1481
+ | 'bill'
1482
+ | 'bill_payment_check'
1483
+ | 'bill_payment_credit_card'
1484
+ | 'build_assembly'
1485
+ | 'charge'
1486
+ | 'check'
1487
+ | 'credit_card_charge'
1488
+ | 'credit_card_credit'
1489
+ | 'credit_memo'
1490
+ | 'deposit'
1491
+ | 'estimate'
1492
+ | 'inventory_adjustment'
1493
+ | 'invoice'
1494
+ | 'item_receipt'
1495
+ | 'journal_entry'
1496
+ | 'liability_adjustment'
1497
+ | 'paycheck'
1498
+ | 'payroll_liability_check'
1499
+ | 'purchase_order'
1500
+ | 'receive_payment'
1501
+ | 'sales_order'
1502
+ | 'sales_receipt'
1503
+ | 'sales_tax_payment_check'
1504
+ | 'transfer'
1505
+ | 'vendor_credit'
1506
+ | 'ytd_adjustment'
1507
+ | 'unknown';
1484
1508
  }
1485
1509
 
1486
1510
  /**
@@ -1489,9 +1513,7 @@ export namespace CreditMemo {
1489
1513
  * default A/R account.
1490
1514
  *
1491
1515
  * **IMPORTANT**: If this credit memo is linked to other transactions, this A/R
1492
- * account must match the `receivablesAccount` used in all linked transactions. For
1493
- * example, when refunding a credit card payment, the A/R account must match the
1494
- * one used in the original credit transactions being refunded.
1516
+ * account must match the `receivablesAccount` used in all linked transactions.
1495
1517
  */
1496
1518
  export interface ReceivablesAccount {
1497
1519
  /**
@@ -1826,9 +1848,7 @@ export interface CreditMemoCreateParams {
1826
1848
  * will use its default A/R account.
1827
1849
  *
1828
1850
  * **IMPORTANT**: If this credit memo is linked to other transactions, this A/R
1829
- * account must match the `receivablesAccount` used in all linked transactions. For
1830
- * example, when refunding a credit card payment, the A/R account must match the
1831
- * one used in the original credit transactions being refunded.
1851
+ * account must match the `receivablesAccount` used in all linked transactions.
1832
1852
  */
1833
1853
  receivablesAccountId?: string;
1834
1854
 
@@ -2435,9 +2455,7 @@ export interface CreditMemoUpdateParams {
2435
2455
  * will use its default A/R account.
2436
2456
  *
2437
2457
  * **IMPORTANT**: If this credit memo is linked to other transactions, this A/R
2438
- * account must match the `receivablesAccount` used in all linked transactions. For
2439
- * example, when refunding a credit card payment, the A/R account must match the
2440
- * one used in the original credit transactions being refunded.
2458
+ * account must match the `receivablesAccount` used in all linked transactions.
2441
2459
  */
2442
2460
  receivablesAccountId?: string;
2443
2461
 
@@ -1409,11 +1409,37 @@ export namespace Estimate {
1409
1409
  transactionDate: string;
1410
1410
 
1411
1411
  /**
1412
- * The type of transaction for this linked transaction. The output for this field
1413
- * is a raw string, not an enum, because in rare cases QuickBooks Desktop may
1414
- * return a value outside its own schema, which we pass through unchanged.
1415
- */
1416
- transactionType: string;
1412
+ * The type of transaction for this linked transaction.
1413
+ */
1414
+ transactionType:
1415
+ | 'ar_refund_credit_card'
1416
+ | 'bill'
1417
+ | 'bill_payment_check'
1418
+ | 'bill_payment_credit_card'
1419
+ | 'build_assembly'
1420
+ | 'charge'
1421
+ | 'check'
1422
+ | 'credit_card_charge'
1423
+ | 'credit_card_credit'
1424
+ | 'credit_memo'
1425
+ | 'deposit'
1426
+ | 'estimate'
1427
+ | 'inventory_adjustment'
1428
+ | 'invoice'
1429
+ | 'item_receipt'
1430
+ | 'journal_entry'
1431
+ | 'liability_adjustment'
1432
+ | 'paycheck'
1433
+ | 'payroll_liability_check'
1434
+ | 'purchase_order'
1435
+ | 'receive_payment'
1436
+ | 'sales_order'
1437
+ | 'sales_receipt'
1438
+ | 'sales_tax_payment_check'
1439
+ | 'transfer'
1440
+ | 'vendor_credit'
1441
+ | 'ytd_adjustment'
1442
+ | 'unknown';
1417
1443
  }
1418
1444
 
1419
1445
  /**
@@ -101,6 +101,16 @@ export {
101
101
  type CreditCardCreditListParams,
102
102
  type CreditCardCreditDeleteParams,
103
103
  } from "./credit-card-credits.js";
104
+ export {
105
+ CreditCardRefundsCursorPage,
106
+ CreditCardRefunds,
107
+ type CreditCardRefund,
108
+ type CreditCardRefundDeleteResponse,
109
+ type CreditCardRefundCreateParams,
110
+ type CreditCardRefundRetrieveParams,
111
+ type CreditCardRefundListParams,
112
+ type CreditCardRefundDeleteParams,
113
+ } from "./credit-card-refunds.js";
104
114
  export {
105
115
  CreditMemosCursorPage,
106
116
  CreditMemos,
@@ -305,9 +305,7 @@ export interface Invoice {
305
305
  * A/R account.
306
306
  *
307
307
  * **IMPORTANT**: If this invoice is linked to other transactions, this A/R account
308
- * must match the `receivablesAccount` used in all linked transactions. For
309
- * example, when refunding a credit card payment, the A/R account must match the
310
- * one used in the original credit transactions being refunded.
308
+ * must match the `receivablesAccount` used in all linked transactions.
311
309
  */
312
310
  receivablesAccount: Invoice.ReceivablesAccount | null;
313
311
 
@@ -1498,11 +1496,37 @@ export namespace Invoice {
1498
1496
  transactionDate: string;
1499
1497
 
1500
1498
  /**
1501
- * The type of transaction for this linked transaction. The output for this field
1502
- * is a raw string, not an enum, because in rare cases QuickBooks Desktop may
1503
- * return a value outside its own schema, which we pass through unchanged.
1504
- */
1505
- transactionType: string;
1499
+ * The type of transaction for this linked transaction.
1500
+ */
1501
+ transactionType:
1502
+ | 'ar_refund_credit_card'
1503
+ | 'bill'
1504
+ | 'bill_payment_check'
1505
+ | 'bill_payment_credit_card'
1506
+ | 'build_assembly'
1507
+ | 'charge'
1508
+ | 'check'
1509
+ | 'credit_card_charge'
1510
+ | 'credit_card_credit'
1511
+ | 'credit_memo'
1512
+ | 'deposit'
1513
+ | 'estimate'
1514
+ | 'inventory_adjustment'
1515
+ | 'invoice'
1516
+ | 'item_receipt'
1517
+ | 'journal_entry'
1518
+ | 'liability_adjustment'
1519
+ | 'paycheck'
1520
+ | 'payroll_liability_check'
1521
+ | 'purchase_order'
1522
+ | 'receive_payment'
1523
+ | 'sales_order'
1524
+ | 'sales_receipt'
1525
+ | 'sales_tax_payment_check'
1526
+ | 'transfer'
1527
+ | 'vendor_credit'
1528
+ | 'ytd_adjustment'
1529
+ | 'unknown';
1506
1530
  }
1507
1531
 
1508
1532
  /**
@@ -1511,9 +1535,7 @@ export namespace Invoice {
1511
1535
  * A/R account.
1512
1536
  *
1513
1537
  * **IMPORTANT**: If this invoice is linked to other transactions, this A/R account
1514
- * must match the `receivablesAccount` used in all linked transactions. For
1515
- * example, when refunding a credit card payment, the A/R account must match the
1516
- * one used in the original credit transactions being refunded.
1538
+ * must match the `receivablesAccount` used in all linked transactions.
1517
1539
  */
1518
1540
  export interface ReceivablesAccount {
1519
1541
  /**
@@ -1900,9 +1922,7 @@ export interface InvoiceCreateParams {
1900
1922
  * will use its default A/R account.
1901
1923
  *
1902
1924
  * **IMPORTANT**: If this invoice is linked to other transactions, this A/R account
1903
- * must match the `receivablesAccount` used in all linked transactions. For
1904
- * example, when refunding a credit card payment, the A/R account must match the
1905
- * one used in the original credit transactions being refunded.
1925
+ * must match the `receivablesAccount` used in all linked transactions.
1906
1926
  */
1907
1927
  receivablesAccountId?: string;
1908
1928
 
@@ -2633,9 +2653,7 @@ export interface InvoiceUpdateParams {
2633
2653
  * will use its default A/R account.
2634
2654
  *
2635
2655
  * **IMPORTANT**: If this invoice is linked to other transactions, this A/R account
2636
- * must match the `receivablesAccount` used in all linked transactions. For
2637
- * example, when refunding a credit card payment, the A/R account must match the
2638
- * one used in the original credit transactions being refunded.
2656
+ * must match the `receivablesAccount` used in all linked transactions.
2639
2657
  */
2640
2658
  receivablesAccountId?: string;
2641
2659
 
@@ -1498,11 +1498,37 @@ export namespace ItemReceipt {
1498
1498
  transactionDate: string;
1499
1499
 
1500
1500
  /**
1501
- * The type of transaction for this linked transaction. The output for this field
1502
- * is a raw string, not an enum, because in rare cases QuickBooks Desktop may
1503
- * return a value outside its own schema, which we pass through unchanged.
1504
- */
1505
- transactionType: string;
1501
+ * The type of transaction for this linked transaction.
1502
+ */
1503
+ transactionType:
1504
+ | 'ar_refund_credit_card'
1505
+ | 'bill'
1506
+ | 'bill_payment_check'
1507
+ | 'bill_payment_credit_card'
1508
+ | 'build_assembly'
1509
+ | 'charge'
1510
+ | 'check'
1511
+ | 'credit_card_charge'
1512
+ | 'credit_card_credit'
1513
+ | 'credit_memo'
1514
+ | 'deposit'
1515
+ | 'estimate'
1516
+ | 'inventory_adjustment'
1517
+ | 'invoice'
1518
+ | 'item_receipt'
1519
+ | 'journal_entry'
1520
+ | 'liability_adjustment'
1521
+ | 'paycheck'
1522
+ | 'payroll_liability_check'
1523
+ | 'purchase_order'
1524
+ | 'receive_payment'
1525
+ | 'sales_order'
1526
+ | 'sales_receipt'
1527
+ | 'sales_tax_payment_check'
1528
+ | 'transfer'
1529
+ | 'vendor_credit'
1530
+ | 'ytd_adjustment'
1531
+ | 'unknown';
1506
1532
  }
1507
1533
 
1508
1534
  /**
@@ -1392,11 +1392,37 @@ export namespace PurchaseOrder {
1392
1392
  transactionDate: string;
1393
1393
 
1394
1394
  /**
1395
- * The type of transaction for this linked transaction. The output for this field
1396
- * is a raw string, not an enum, because in rare cases QuickBooks Desktop may
1397
- * return a value outside its own schema, which we pass through unchanged.
1398
- */
1399
- transactionType: string;
1395
+ * The type of transaction for this linked transaction.
1396
+ */
1397
+ transactionType:
1398
+ | 'ar_refund_credit_card'
1399
+ | 'bill'
1400
+ | 'bill_payment_check'
1401
+ | 'bill_payment_credit_card'
1402
+ | 'build_assembly'
1403
+ | 'charge'
1404
+ | 'check'
1405
+ | 'credit_card_charge'
1406
+ | 'credit_card_credit'
1407
+ | 'credit_memo'
1408
+ | 'deposit'
1409
+ | 'estimate'
1410
+ | 'inventory_adjustment'
1411
+ | 'invoice'
1412
+ | 'item_receipt'
1413
+ | 'journal_entry'
1414
+ | 'liability_adjustment'
1415
+ | 'paycheck'
1416
+ | 'payroll_liability_check'
1417
+ | 'purchase_order'
1418
+ | 'receive_payment'
1419
+ | 'sales_order'
1420
+ | 'sales_receipt'
1421
+ | 'sales_tax_payment_check'
1422
+ | 'transfer'
1423
+ | 'vendor_credit'
1424
+ | 'ytd_adjustment'
1425
+ | 'unknown';
1400
1426
  }
1401
1427
 
1402
1428
  /**
@@ -114,6 +114,17 @@ import {
114
114
  CreditCardCredits,
115
115
  CreditCardCreditsCursorPage,
116
116
  } from "./credit-card-credits.js";
117
+ import * as CreditCardRefundsAPI from "./credit-card-refunds.js";
118
+ import {
119
+ CreditCardRefund,
120
+ CreditCardRefundCreateParams,
121
+ CreditCardRefundDeleteParams,
122
+ CreditCardRefundDeleteResponse,
123
+ CreditCardRefundListParams,
124
+ CreditCardRefundRetrieveParams,
125
+ CreditCardRefunds,
126
+ CreditCardRefundsCursorPage,
127
+ } from "./credit-card-refunds.js";
117
128
  import * as CreditMemosAPI from "./credit-memos.js";
118
129
  import {
119
130
  CreditMemo,
@@ -547,6 +558,9 @@ export class Qbd extends APIResource {
547
558
  creditCardCredits: CreditCardCreditsAPI.CreditCardCredits = new CreditCardCreditsAPI.CreditCardCredits(
548
559
  this._client,
549
560
  );
561
+ creditCardRefunds: CreditCardRefundsAPI.CreditCardRefunds = new CreditCardRefundsAPI.CreditCardRefunds(
562
+ this._client,
563
+ );
550
564
  creditMemos: CreditMemosAPI.CreditMemos = new CreditMemosAPI.CreditMemos(this._client);
551
565
  currencies: CurrenciesAPI.Currencies = new CurrenciesAPI.Currencies(this._client);
552
566
  customers: CustomersAPI.Customers = new CustomersAPI.Customers(this._client);
@@ -670,6 +684,8 @@ Qbd.CreditCardCharges = CreditCardCharges;
670
684
  Qbd.CreditCardChargesCursorPage = CreditCardChargesCursorPage;
671
685
  Qbd.CreditCardCredits = CreditCardCredits;
672
686
  Qbd.CreditCardCreditsCursorPage = CreditCardCreditsCursorPage;
687
+ Qbd.CreditCardRefunds = CreditCardRefunds;
688
+ Qbd.CreditCardRefundsCursorPage = CreditCardRefundsCursorPage;
673
689
  Qbd.CreditMemos = CreditMemos;
674
690
  Qbd.CreditMemosCursorPage = CreditMemosCursorPage;
675
691
  Qbd.Currencies = Currencies;
@@ -860,6 +876,17 @@ export declare namespace Qbd {
860
876
  type CreditCardCreditDeleteParams as CreditCardCreditDeleteParams,
861
877
  };
862
878
 
879
+ export {
880
+ CreditCardRefunds as CreditCardRefunds,
881
+ type CreditCardRefund as CreditCardRefund,
882
+ type CreditCardRefundDeleteResponse as CreditCardRefundDeleteResponse,
883
+ CreditCardRefundsCursorPage as CreditCardRefundsCursorPage,
884
+ type CreditCardRefundCreateParams as CreditCardRefundCreateParams,
885
+ type CreditCardRefundRetrieveParams as CreditCardRefundRetrieveParams,
886
+ type CreditCardRefundListParams as CreditCardRefundListParams,
887
+ type CreditCardRefundDeleteParams as CreditCardRefundDeleteParams,
888
+ };
889
+
863
890
  export {
864
891
  CreditMemos as CreditMemos,
865
892
  type CreditMemo as CreditMemo,
@@ -221,9 +221,7 @@ export interface ReceivePayment {
221
221
  * default A/R account.
222
222
  *
223
223
  * **IMPORTANT**: If this receive-payment is linked to other transactions, this A/R
224
- * account must match the `receivablesAccount` used in all linked transactions. For
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.
224
+ * account must match the `receivablesAccount` used in all linked transactions.
227
225
  */
228
226
  receivablesAccount: ReceivePayment.ReceivablesAccount | null;
229
227
 
@@ -344,11 +342,36 @@ export namespace ReceivePayment {
344
342
  transactionId: string;
345
343
 
346
344
  /**
347
- * The type of transaction for this receivable transaction. The output for this
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.
345
+ * The type of transaction for this receivable transaction.
350
346
  */
351
- transactionType: string;
347
+ transactionType:
348
+ | 'ar_refund_credit_card'
349
+ | 'bill'
350
+ | 'bill_payment_check'
351
+ | 'bill_payment_credit_card'
352
+ | 'build_assembly'
353
+ | 'charge'
354
+ | 'check'
355
+ | 'credit_card_charge'
356
+ | 'credit_card_credit'
357
+ | 'credit_memo'
358
+ | 'deposit'
359
+ | 'estimate'
360
+ | 'inventory_adjustment'
361
+ | 'invoice'
362
+ | 'item_receipt'
363
+ | 'journal_entry'
364
+ | 'liability_adjustment'
365
+ | 'paycheck'
366
+ | 'payroll_liability_check'
367
+ | 'purchase_order'
368
+ | 'receive_payment'
369
+ | 'sales_order'
370
+ | 'sales_receipt'
371
+ | 'sales_tax_payment_check'
372
+ | 'transfer'
373
+ | 'vendor_credit'
374
+ | 'ytd_adjustment';
352
375
  }
353
376
 
354
377
  export namespace AppliedToTransaction {
@@ -428,11 +451,37 @@ export namespace ReceivePayment {
428
451
  transactionDate: string;
429
452
 
430
453
  /**
431
- * The type of transaction for this linked transaction. The output for this field
432
- * is a raw string, not an enum, because in rare cases QuickBooks Desktop may
433
- * return a value outside its own schema, which we pass through unchanged.
434
- */
435
- transactionType: string;
454
+ * The type of transaction for this linked transaction.
455
+ */
456
+ transactionType:
457
+ | 'ar_refund_credit_card'
458
+ | 'bill'
459
+ | 'bill_payment_check'
460
+ | 'bill_payment_credit_card'
461
+ | 'build_assembly'
462
+ | 'charge'
463
+ | 'check'
464
+ | 'credit_card_charge'
465
+ | 'credit_card_credit'
466
+ | 'credit_memo'
467
+ | 'deposit'
468
+ | 'estimate'
469
+ | 'inventory_adjustment'
470
+ | 'invoice'
471
+ | 'item_receipt'
472
+ | 'journal_entry'
473
+ | 'liability_adjustment'
474
+ | 'paycheck'
475
+ | 'payroll_liability_check'
476
+ | 'purchase_order'
477
+ | 'receive_payment'
478
+ | 'sales_order'
479
+ | 'sales_receipt'
480
+ | 'sales_tax_payment_check'
481
+ | 'transfer'
482
+ | 'vendor_credit'
483
+ | 'ytd_adjustment'
484
+ | 'unknown';
436
485
  }
437
486
  }
438
487
 
@@ -725,9 +774,7 @@ export namespace ReceivePayment {
725
774
  * default A/R account.
726
775
  *
727
776
  * **IMPORTANT**: If this receive-payment is linked to other transactions, this A/R
728
- * account must match the `receivablesAccount` used in all linked transactions. For
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.
777
+ * account must match the `receivablesAccount` used in all linked transactions.
731
778
  */
732
779
  export interface ReceivablesAccount {
733
780
  /**
@@ -879,9 +926,7 @@ export interface ReceivePaymentCreateParams {
879
926
  * will use its default A/R account.
880
927
  *
881
928
  * **IMPORTANT**: If this receive-payment is linked to other transactions, this A/R
882
- * account must match the `receivablesAccount` used in all linked transactions. For
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.
929
+ * account must match the `receivablesAccount` used in all linked transactions.
885
930
  */
886
931
  receivablesAccountId?: string;
887
932
 
@@ -1209,9 +1254,7 @@ export interface ReceivePaymentUpdateParams {
1209
1254
  * will use its default A/R account.
1210
1255
  *
1211
1256
  * **IMPORTANT**: If this receive-payment is linked to other transactions, this A/R
1212
- * account must match the `receivablesAccount` used in all linked transactions. For
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.
1257
+ * account must match the `receivablesAccount` used in all linked transactions.
1215
1258
  */
1216
1259
  receivablesAccountId?: string;
1217
1260
 
@@ -1488,11 +1488,37 @@ export namespace SalesOrder {
1488
1488
  transactionDate: string;
1489
1489
 
1490
1490
  /**
1491
- * The type of transaction for this linked transaction. The output for this field
1492
- * is a raw string, not an enum, because in rare cases QuickBooks Desktop may
1493
- * return a value outside its own schema, which we pass through unchanged.
1494
- */
1495
- transactionType: string;
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
  /**
@@ -137,11 +137,36 @@ export interface Transaction {
137
137
  transactionLineId: string | null;
138
138
 
139
139
  /**
140
- * The type of transaction. The output for this field is a raw string, not an enum,
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: string;
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
@@ -1481,11 +1481,37 @@ export namespace VendorCredit {
1481
1481
  transactionDate: string;
1482
1482
 
1483
1483
  /**
1484
- * The type of transaction for this linked transaction. The output for this field
1485
- * is a raw string, not an enum, because in rare cases QuickBooks Desktop may
1486
- * return a value outside its own schema, which we pass through unchanged.
1487
- */
1488
- transactionType: string;
1484
+ * The type of transaction for this linked transaction.
1485
+ */
1486
+ transactionType:
1487
+ | 'ar_refund_credit_card'
1488
+ | 'bill'
1489
+ | 'bill_payment_check'
1490
+ | 'bill_payment_credit_card'
1491
+ | 'build_assembly'
1492
+ | 'charge'
1493
+ | 'check'
1494
+ | 'credit_card_charge'
1495
+ | 'credit_card_credit'
1496
+ | 'credit_memo'
1497
+ | 'deposit'
1498
+ | 'estimate'
1499
+ | 'inventory_adjustment'
1500
+ | 'invoice'
1501
+ | 'item_receipt'
1502
+ | 'journal_entry'
1503
+ | 'liability_adjustment'
1504
+ | 'paycheck'
1505
+ | 'payroll_liability_check'
1506
+ | 'purchase_order'
1507
+ | 'receive_payment'
1508
+ | 'sales_order'
1509
+ | 'sales_receipt'
1510
+ | 'sales_tax_payment_check'
1511
+ | 'transfer'
1512
+ | 'vendor_credit'
1513
+ | 'ytd_adjustment'
1514
+ | 'unknown';
1489
1515
  }
1490
1516
 
1491
1517
  /**
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '12.32.0'; // x-release-please-version
1
+ export const VERSION = '12.33.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "12.32.0";
1
+ export declare const VERSION = "12.33.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '12.32.0'; // x-release-please-version
4
+ exports.VERSION = '12.33.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '12.32.0'; // x-release-please-version
1
+ export const VERSION = '12.33.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map