conductor-node 12.0.0-beta.10 → 12.0.0-beta.12

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 (67) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/package.json +1 -1
  3. package/resources/qbd/bill-check-payments.d.ts +4 -4
  4. package/resources/qbd/bill-credit-card-payments.d.ts +4 -4
  5. package/resources/qbd/bills.d.ts +4 -4
  6. package/resources/qbd/checks.d.ts +4 -4
  7. package/resources/qbd/credit-card-charges.d.ts +4 -4
  8. package/resources/qbd/credit-card-credits.d.ts +4 -4
  9. package/resources/qbd/credit-memos.d.ts +4 -4
  10. package/resources/qbd/employees.d.ts +4 -4
  11. package/resources/qbd/estimates.d.ts +4 -4
  12. package/resources/qbd/index.d.ts +1 -0
  13. package/resources/qbd/index.d.ts.map +1 -1
  14. package/resources/qbd/index.js +4 -1
  15. package/resources/qbd/index.js.map +1 -1
  16. package/resources/qbd/index.mjs +1 -0
  17. package/resources/qbd/index.mjs.map +1 -1
  18. package/resources/qbd/inventory-adjustments.d.ts +4 -4
  19. package/resources/qbd/invoices.d.ts +4 -4
  20. package/resources/qbd/journal-entries.d.ts +4 -4
  21. package/resources/qbd/purchase-orders.d.ts +4 -4
  22. package/resources/qbd/qbd.d.ts +4 -0
  23. package/resources/qbd/qbd.d.ts.map +1 -1
  24. package/resources/qbd/qbd.js +5 -0
  25. package/resources/qbd/qbd.js.map +1 -1
  26. package/resources/qbd/qbd.mjs +5 -0
  27. package/resources/qbd/qbd.mjs.map +1 -1
  28. package/resources/qbd/receive-payments.d.ts +4 -4
  29. package/resources/qbd/sales-orders.d.ts +4 -4
  30. package/resources/qbd/sales-receipts.d.ts +4 -4
  31. package/resources/qbd/time-tracking-activities.d.ts +4 -4
  32. package/resources/qbd/transactions.d.ts +310 -0
  33. package/resources/qbd/transactions.d.ts.map +1 -0
  34. package/resources/qbd/transactions.js +40 -0
  35. package/resources/qbd/transactions.js.map +1 -0
  36. package/resources/qbd/transactions.mjs +35 -0
  37. package/resources/qbd/transactions.mjs.map +1 -0
  38. package/resources/qbd/transfers.d.ts +4 -4
  39. package/resources/qbd/vendor-credits.d.ts +4 -4
  40. package/resources/qbd/vendors.d.ts +4 -4
  41. package/src/resources/qbd/bill-check-payments.ts +4 -4
  42. package/src/resources/qbd/bill-credit-card-payments.ts +4 -4
  43. package/src/resources/qbd/bills.ts +4 -4
  44. package/src/resources/qbd/checks.ts +4 -4
  45. package/src/resources/qbd/credit-card-charges.ts +4 -4
  46. package/src/resources/qbd/credit-card-credits.ts +4 -4
  47. package/src/resources/qbd/credit-memos.ts +4 -4
  48. package/src/resources/qbd/employees.ts +4 -4
  49. package/src/resources/qbd/estimates.ts +4 -4
  50. package/src/resources/qbd/index.ts +7 -0
  51. package/src/resources/qbd/inventory-adjustments.ts +4 -4
  52. package/src/resources/qbd/invoices.ts +4 -4
  53. package/src/resources/qbd/journal-entries.ts +4 -4
  54. package/src/resources/qbd/purchase-orders.ts +4 -4
  55. package/src/resources/qbd/qbd.ts +19 -0
  56. package/src/resources/qbd/receive-payments.ts +4 -4
  57. package/src/resources/qbd/sales-orders.ts +4 -4
  58. package/src/resources/qbd/sales-receipts.ts +4 -4
  59. package/src/resources/qbd/time-tracking-activities.ts +4 -4
  60. package/src/resources/qbd/transactions.ts +439 -0
  61. package/src/resources/qbd/transfers.ts +4 -4
  62. package/src/resources/qbd/vendor-credits.ts +4 -4
  63. package/src/resources/qbd/vendors.ts +4 -4
  64. package/src/version.ts +1 -1
  65. package/version.d.ts +1 -1
  66. package/version.js +1 -1
  67. package/version.mjs +1 -1
@@ -2953,14 +2953,14 @@ export interface CheckListParams extends CursorPageParams {
2953
2953
  refNumberTo?: string;
2954
2954
 
2955
2955
  /**
2956
- * Query param: Filter for checks created on or after this date, in ISO 8601 format
2957
- * (YYYY-MM-DD).
2956
+ * Query param: Filter for checks whose `date` field is on or after this date, in
2957
+ * ISO 8601 format (YYYY-MM-DD).
2958
2958
  */
2959
2959
  transactionDateFrom?: string;
2960
2960
 
2961
2961
  /**
2962
- * Query param: Filter for checks created on or before this date, in ISO 8601
2963
- * format (YYYY-MM-DD).
2962
+ * Query param: Filter for checks whose `date` field is on or before this date, in
2963
+ * ISO 8601 format (YYYY-MM-DD).
2964
2964
  */
2965
2965
  transactionDateTo?: string;
2966
2966
 
@@ -2596,14 +2596,14 @@ export interface CreditCardChargeListParams extends CursorPageParams {
2596
2596
  refNumberTo?: string;
2597
2597
 
2598
2598
  /**
2599
- * Query param: Filter for credit card charges created on or after this date, in
2600
- * ISO 8601 format (YYYY-MM-DD).
2599
+ * Query param: Filter for credit card charges whose `date` field is on or after
2600
+ * this date, in ISO 8601 format (YYYY-MM-DD).
2601
2601
  */
2602
2602
  transactionDateFrom?: string;
2603
2603
 
2604
2604
  /**
2605
- * Query param: Filter for credit card charges created on or before this date, in
2606
- * ISO 8601 format (YYYY-MM-DD).
2605
+ * Query param: Filter for credit card charges whose `date` field is on or before
2606
+ * this date, in ISO 8601 format (YYYY-MM-DD).
2607
2607
  */
2608
2608
  transactionDateTo?: string;
2609
2609
 
@@ -2593,14 +2593,14 @@ export interface CreditCardCreditListParams extends CursorPageParams {
2593
2593
  refNumberTo?: string;
2594
2594
 
2595
2595
  /**
2596
- * Query param: Filter for credit card credits created on or after this date, in
2597
- * ISO 8601 format (YYYY-MM-DD).
2596
+ * Query param: Filter for credit card credits whose `date` field is on or after
2597
+ * this date, in ISO 8601 format (YYYY-MM-DD).
2598
2598
  */
2599
2599
  transactionDateFrom?: string;
2600
2600
 
2601
2601
  /**
2602
- * Query param: Filter for credit card credits created on or before this date, in
2603
- * ISO 8601 format (YYYY-MM-DD).
2602
+ * Query param: Filter for credit card credits whose `date` field is on or before
2603
+ * this date, in ISO 8601 format (YYYY-MM-DD).
2604
2604
  */
2605
2605
  transactionDateTo?: string;
2606
2606
 
@@ -3107,14 +3107,14 @@ export interface CreditMemoListParams extends CursorPageParams {
3107
3107
  refNumberTo?: string;
3108
3108
 
3109
3109
  /**
3110
- * Query param: Filter for credit memos created on or after this date, in ISO 8601
3111
- * format (YYYY-MM-DD).
3110
+ * Query param: Filter for credit memos whose `date` field is on or after this
3111
+ * date, in ISO 8601 format (YYYY-MM-DD).
3112
3112
  */
3113
3113
  transactionDateFrom?: string;
3114
3114
 
3115
3115
  /**
3116
- * Query param: Filter for credit memos created on or before this date, in ISO 8601
3117
- * format (YYYY-MM-DD).
3116
+ * Query param: Filter for credit memos whose `date` field is on or before this
3117
+ * date, in ISO 8601 format (YYYY-MM-DD).
3118
3118
  */
3119
3119
  transactionDateTo?: string;
3120
3120
 
@@ -108,7 +108,7 @@ export interface Employee {
108
108
 
109
109
  /**
110
110
  * The employee's billing rate, used to override service item rates in time
111
- * tracking transactions.
111
+ * tracking activities.
112
112
  */
113
113
  billingRate: Employee.BillingRate | null;
114
114
 
@@ -513,7 +513,7 @@ export namespace Employee {
513
513
 
514
514
  /**
515
515
  * The employee's billing rate, used to override service item rates in time
516
- * tracking transactions.
516
+ * tracking activities.
517
517
  */
518
518
  export interface BillingRate {
519
519
  /**
@@ -931,7 +931,7 @@ export interface EmployeeCreateParams {
931
931
 
932
932
  /**
933
933
  * Body param: The employee's billing rate, used to override service item rates in
934
- * time tracking transactions.
934
+ * time tracking activities.
935
935
  */
936
936
  billingRateId?: string;
937
937
 
@@ -1610,7 +1610,7 @@ export interface EmployeeUpdateParams {
1610
1610
 
1611
1611
  /**
1612
1612
  * Body param: The employee's billing rate, used to override service item rates in
1613
- * time tracking transactions.
1613
+ * time tracking activities.
1614
1614
  */
1615
1615
  billingRateId?: string;
1616
1616
 
@@ -2925,14 +2925,14 @@ export interface EstimateListParams extends CursorPageParams {
2925
2925
  refNumberTo?: string;
2926
2926
 
2927
2927
  /**
2928
- * Query param: Filter for estimates created on or after this date, in ISO 8601
2929
- * format (YYYY-MM-DD).
2928
+ * Query param: Filter for estimates whose `date` field is on or after this date,
2929
+ * in ISO 8601 format (YYYY-MM-DD).
2930
2930
  */
2931
2931
  transactionDateFrom?: string;
2932
2932
 
2933
2933
  /**
2934
- * Query param: Filter for estimates created on or before this date, in ISO 8601
2935
- * format (YYYY-MM-DD).
2934
+ * Query param: Filter for estimates whose `date` field is on or before this date,
2935
+ * in ISO 8601 format (YYYY-MM-DD).
2936
2936
  */
2937
2937
  transactionDateTo?: string;
2938
2938
 
@@ -326,6 +326,13 @@ export {
326
326
  type TimeTrackingActivityListParams,
327
327
  type TimeTrackingActivityDeleteParams,
328
328
  } from './time-tracking-activities';
329
+ export {
330
+ TransactionsCursorPage,
331
+ Transactions,
332
+ type Transaction,
333
+ type TransactionRetrieveParams,
334
+ type TransactionListParams,
335
+ } from './transactions';
329
336
  export {
330
337
  TransfersCursorPage,
331
338
  Transfers,
@@ -960,14 +960,14 @@ export interface InventoryAdjustmentListParams {
960
960
  refNumberTo?: string;
961
961
 
962
962
  /**
963
- * Query param: Filter for inventory adjustments created on or after this date, in
964
- * ISO 8601 format (YYYY-MM-DD).
963
+ * Query param: Filter for inventory adjustments whose `date` field is on or after
964
+ * this date, in ISO 8601 format (YYYY-MM-DD).
965
965
  */
966
966
  transactionDateFrom?: string;
967
967
 
968
968
  /**
969
- * Query param: Filter for inventory adjustments created on or before this date, in
970
- * ISO 8601 format (YYYY-MM-DD).
969
+ * Query param: Filter for inventory adjustments whose `date` field is on or before
970
+ * this date, in ISO 8601 format (YYYY-MM-DD).
971
971
  */
972
972
  transactionDateTo?: string;
973
973
 
@@ -3348,14 +3348,14 @@ export interface InvoiceListParams extends CursorPageParams {
3348
3348
  refNumberTo?: string;
3349
3349
 
3350
3350
  /**
3351
- * Query param: Filter for invoices created on or after this date, in ISO 8601
3352
- * format (YYYY-MM-DD).
3351
+ * Query param: Filter for invoices whose `date` field is on or after this date, in
3352
+ * ISO 8601 format (YYYY-MM-DD).
3353
3353
  */
3354
3354
  transactionDateFrom?: string;
3355
3355
 
3356
3356
  /**
3357
- * Query param: Filter for invoices created on or before this date, in ISO 8601
3358
- * format (YYYY-MM-DD).
3357
+ * Query param: Filter for invoices whose `date` field is on or before this date,
3358
+ * in ISO 8601 format (YYYY-MM-DD).
3359
3359
  */
3360
3360
  transactionDateTo?: string;
3361
3361
 
@@ -1001,14 +1001,14 @@ export interface JournalEntryListParams extends CursorPageParams {
1001
1001
  refNumberTo?: string;
1002
1002
 
1003
1003
  /**
1004
- * Query param: Filter for journal entries created on or after this date, in ISO
1005
- * 8601 format (YYYY-MM-DD).
1004
+ * Query param: Filter for journal entries whose `date` field is on or after this
1005
+ * date, in ISO 8601 format (YYYY-MM-DD).
1006
1006
  */
1007
1007
  transactionDateFrom?: string;
1008
1008
 
1009
1009
  /**
1010
- * Query param: Filter for journal entries created on or before this date, in ISO
1011
- * 8601 format (YYYY-MM-DD).
1010
+ * Query param: Filter for journal entries whose `date` field is on or before this
1011
+ * date, in ISO 8601 format (YYYY-MM-DD).
1012
1012
  */
1013
1013
  transactionDateTo?: string;
1014
1014
 
@@ -2990,14 +2990,14 @@ export interface PurchaseOrderListParams extends CursorPageParams {
2990
2990
  refNumberTo?: string;
2991
2991
 
2992
2992
  /**
2993
- * Query param: Filter for purchase orders created on or after this date, in ISO
2994
- * 8601 format (YYYY-MM-DD).
2993
+ * Query param: Filter for purchase orders whose `date` field is on or after this
2994
+ * date, in ISO 8601 format (YYYY-MM-DD).
2995
2995
  */
2996
2996
  transactionDateFrom?: string;
2997
2997
 
2998
2998
  /**
2999
- * Query param: Filter for purchase orders created on or before this date, in ISO
3000
- * 8601 format (YYYY-MM-DD).
2999
+ * Query param: Filter for purchase orders whose `date` field is on or before this
3000
+ * date, in ISO 8601 format (YYYY-MM-DD).
3001
3001
  */
3002
3002
  transactionDateTo?: string;
3003
3003
 
@@ -360,6 +360,14 @@ import {
360
360
  TimeTrackingActivityRetrieveParams,
361
361
  TimeTrackingActivityUpdateParams,
362
362
  } from './time-tracking-activities';
363
+ import * as TransactionsAPI from './transactions';
364
+ import {
365
+ Transaction,
366
+ TransactionListParams,
367
+ TransactionRetrieveParams,
368
+ Transactions,
369
+ TransactionsCursorPage,
370
+ } from './transactions';
363
371
  import * as TransfersAPI from './transfers';
364
372
  import {
365
373
  Transfer,
@@ -442,6 +450,7 @@ export class Qbd extends APIResource {
442
450
  subtotalItems: SubtotalItemsAPI.SubtotalItems = new SubtotalItemsAPI.SubtotalItems(this._client);
443
451
  timeTrackingActivities: TimeTrackingActivitiesAPI.TimeTrackingActivities =
444
452
  new TimeTrackingActivitiesAPI.TimeTrackingActivities(this._client);
453
+ transactions: TransactionsAPI.Transactions = new TransactionsAPI.Transactions(this._client);
445
454
  transfers: TransfersAPI.Transfers = new TransfersAPI.Transfers(this._client);
446
455
  vendorCredits: VendorCreditsAPI.VendorCredits = new VendorCreditsAPI.VendorCredits(this._client);
447
456
  vendors: VendorsAPI.Vendors = new VendorsAPI.Vendors(this._client);
@@ -544,6 +553,8 @@ Qbd.SubtotalItems = SubtotalItems;
544
553
  Qbd.SubtotalItemsCursorPage = SubtotalItemsCursorPage;
545
554
  Qbd.TimeTrackingActivities = TimeTrackingActivities;
546
555
  Qbd.TimeTrackingActivitiesCursorPage = TimeTrackingActivitiesCursorPage;
556
+ Qbd.Transactions = Transactions;
557
+ Qbd.TransactionsCursorPage = TransactionsCursorPage;
547
558
  Qbd.Transfers = Transfers;
548
559
  Qbd.TransfersCursorPage = TransfersCursorPage;
549
560
  Qbd.VendorCredits = VendorCredits;
@@ -915,6 +926,14 @@ export declare namespace Qbd {
915
926
  type TimeTrackingActivityDeleteParams as TimeTrackingActivityDeleteParams,
916
927
  };
917
928
 
929
+ export {
930
+ Transactions as Transactions,
931
+ type Transaction as Transaction,
932
+ TransactionsCursorPage as TransactionsCursorPage,
933
+ type TransactionRetrieveParams as TransactionRetrieveParams,
934
+ type TransactionListParams as TransactionListParams,
935
+ };
936
+
918
937
  export {
919
938
  Transfers as Transfers,
920
939
  type Transfer as Transfer,
@@ -1559,14 +1559,14 @@ export interface ReceivePaymentListParams extends CursorPageParams {
1559
1559
  refNumberTo?: string;
1560
1560
 
1561
1561
  /**
1562
- * Query param: Filter for receive-payments created on or after this date, in ISO
1563
- * 8601 format (YYYY-MM-DD).
1562
+ * Query param: Filter for receive-payments whose `date` field is on or after this
1563
+ * date, in ISO 8601 format (YYYY-MM-DD).
1564
1564
  */
1565
1565
  transactionDateFrom?: string;
1566
1566
 
1567
1567
  /**
1568
- * Query param: Filter for receive-payments created on or before this date, in ISO
1569
- * 8601 format (YYYY-MM-DD).
1568
+ * Query param: Filter for receive-payments whose `date` field is on or before this
1569
+ * date, in ISO 8601 format (YYYY-MM-DD).
1570
1570
  */
1571
1571
  transactionDateTo?: string;
1572
1572
 
@@ -3091,14 +3091,14 @@ export interface SalesOrderListParams extends CursorPageParams {
3091
3091
  refNumberTo?: string;
3092
3092
 
3093
3093
  /**
3094
- * Query param: Filter for sales orders created on or after this date, in ISO 8601
3095
- * format (YYYY-MM-DD).
3094
+ * Query param: Filter for sales orders whose `date` field is on or after this
3095
+ * date, in ISO 8601 format (YYYY-MM-DD).
3096
3096
  */
3097
3097
  transactionDateFrom?: string;
3098
3098
 
3099
3099
  /**
3100
- * Query param: Filter for sales orders created on or before this date, in ISO 8601
3101
- * format (YYYY-MM-DD).
3100
+ * Query param: Filter for sales orders whose `date` field is on or before this
3101
+ * date, in ISO 8601 format (YYYY-MM-DD).
3102
3102
  */
3103
3103
  transactionDateTo?: string;
3104
3104
 
@@ -3927,14 +3927,14 @@ export interface SalesReceiptListParams extends CursorPageParams {
3927
3927
  refNumberTo?: string;
3928
3928
 
3929
3929
  /**
3930
- * Query param: Filter for sales receipts created on or after this date, in ISO
3931
- * 8601 format (YYYY-MM-DD).
3930
+ * Query param: Filter for sales receipts whose `date` field is on or after this
3931
+ * date, in ISO 8601 format (YYYY-MM-DD).
3932
3932
  */
3933
3933
  transactionDateFrom?: string;
3934
3934
 
3935
3935
  /**
3936
- * Query param: Filter for sales receipts created on or before this date, in ISO
3937
- * 8601 format (YYYY-MM-DD).
3936
+ * Query param: Filter for sales receipts whose `date` field is on or before this
3937
+ * date, in ISO 8601 format (YYYY-MM-DD).
3938
3938
  */
3939
3939
  transactionDateTo?: string;
3940
3940
 
@@ -565,14 +565,14 @@ export interface TimeTrackingActivityListParams extends CursorPageParams {
565
565
  ids?: Array<string>;
566
566
 
567
567
  /**
568
- * Query param: Filter for time tracking activities created on or after this date,
569
- * in ISO 8601 format (YYYY-MM-DD).
568
+ * Query param: Filter for time tracking activities whose `date` field is on or
569
+ * after this date, in ISO 8601 format (YYYY-MM-DD).
570
570
  */
571
571
  transactionDateFrom?: string;
572
572
 
573
573
  /**
574
- * Query param: Filter for time tracking activities created on or before this date,
575
- * in ISO 8601 format (YYYY-MM-DD).
574
+ * Query param: Filter for time tracking activities whose `date` field is on or
575
+ * before this date, in ISO 8601 format (YYYY-MM-DD).
576
576
  */
577
577
  transactionDateTo?: string;
578
578