conductor-node 12.0.0-beta.9 → 12.0.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 (175) hide show
  1. package/CHANGELOG.md +185 -0
  2. package/README.md +2 -4
  3. package/_shims/index.d.ts +2 -0
  4. package/_shims/index.js +5 -1
  5. package/_shims/index.mjs +5 -1
  6. package/core.d.ts.map +1 -1
  7. package/core.js +5 -2
  8. package/core.js.map +1 -1
  9. package/core.mjs +6 -3
  10. package/core.mjs.map +1 -1
  11. package/index.d.mts +4 -4
  12. package/index.d.ts +4 -4
  13. package/index.d.ts.map +1 -1
  14. package/index.js.map +1 -1
  15. package/index.mjs.map +1 -1
  16. package/package.json +8 -29
  17. package/pagination.js +1 -1
  18. package/pagination.js.map +1 -1
  19. package/pagination.mjs +1 -1
  20. package/pagination.mjs.map +1 -1
  21. package/resources/auth-sessions.d.ts +1 -1
  22. package/resources/auth-sessions.js +1 -1
  23. package/resources/auth-sessions.mjs +1 -1
  24. package/resources/end-users.d.ts +1 -13
  25. package/resources/end-users.d.ts.map +1 -1
  26. package/resources/end-users.js +0 -8
  27. package/resources/end-users.js.map +1 -1
  28. package/resources/end-users.mjs +0 -8
  29. package/resources/end-users.mjs.map +1 -1
  30. package/resources/index.d.ts +2 -2
  31. package/resources/index.d.ts.map +1 -1
  32. package/resources/index.js.map +1 -1
  33. package/resources/index.mjs.map +1 -1
  34. package/resources/qbd/account-tax-lines.d.ts +48 -0
  35. package/resources/qbd/account-tax-lines.d.ts.map +1 -0
  36. package/resources/qbd/account-tax-lines.js +21 -0
  37. package/resources/qbd/account-tax-lines.js.map +1 -0
  38. package/resources/qbd/account-tax-lines.mjs +17 -0
  39. package/resources/qbd/account-tax-lines.mjs.map +1 -0
  40. package/resources/qbd/accounts.d.ts +9 -3
  41. package/resources/qbd/accounts.d.ts.map +1 -1
  42. package/resources/qbd/bill-check-payments.d.ts +4 -4
  43. package/resources/qbd/bill-credit-card-payments.d.ts +4 -4
  44. package/resources/qbd/bills.d.ts +7 -8
  45. package/resources/qbd/bills.d.ts.map +1 -1
  46. package/resources/qbd/bills.js.map +1 -1
  47. package/resources/qbd/bills.mjs.map +1 -1
  48. package/resources/qbd/checks.d.ts +4 -4
  49. package/resources/qbd/company.d.ts +354 -0
  50. package/resources/qbd/company.d.ts.map +1 -0
  51. package/resources/qbd/company.js +22 -0
  52. package/resources/qbd/company.js.map +1 -0
  53. package/resources/qbd/company.mjs +18 -0
  54. package/resources/qbd/company.mjs.map +1 -0
  55. package/resources/qbd/credit-card-charges.d.ts +4 -4
  56. package/resources/qbd/credit-card-credits.d.ts +4 -4
  57. package/resources/qbd/credit-memos.d.ts +4 -4
  58. package/resources/qbd/customers.d.ts +2 -2
  59. package/resources/qbd/customers.d.ts.map +1 -1
  60. package/resources/qbd/employees.d.ts +17 -6
  61. package/resources/qbd/employees.d.ts.map +1 -1
  62. package/resources/qbd/employees.js.map +1 -1
  63. package/resources/qbd/employees.mjs.map +1 -1
  64. package/resources/qbd/estimates.d.ts +4 -4
  65. package/resources/qbd/index.d.ts +7 -1
  66. package/resources/qbd/index.d.ts.map +1 -1
  67. package/resources/qbd/index.js +16 -2
  68. package/resources/qbd/index.js.map +1 -1
  69. package/resources/qbd/index.mjs +6 -0
  70. package/resources/qbd/index.mjs.map +1 -1
  71. package/resources/qbd/inventory-adjustments.d.ts +4 -4
  72. package/resources/qbd/invoices.d.ts +4 -4
  73. package/resources/qbd/item-receipts.d.ts +2336 -0
  74. package/resources/qbd/item-receipts.d.ts.map +1 -0
  75. package/resources/qbd/item-receipts.js +69 -0
  76. package/resources/qbd/item-receipts.js.map +1 -0
  77. package/resources/qbd/item-receipts.mjs +64 -0
  78. package/resources/qbd/item-receipts.mjs.map +1 -0
  79. package/resources/qbd/journal-entries.d.ts +4 -4
  80. package/resources/qbd/preferences.d.ts +591 -0
  81. package/resources/qbd/preferences.d.ts.map +1 -0
  82. package/resources/qbd/preferences.js +21 -0
  83. package/resources/qbd/preferences.js.map +1 -0
  84. package/resources/qbd/preferences.mjs +17 -0
  85. package/resources/qbd/preferences.mjs.map +1 -0
  86. package/resources/qbd/price-levels.d.ts +454 -0
  87. package/resources/qbd/price-levels.d.ts.map +1 -0
  88. package/resources/qbd/price-levels.js +54 -0
  89. package/resources/qbd/price-levels.js.map +1 -0
  90. package/resources/qbd/price-levels.mjs +50 -0
  91. package/resources/qbd/price-levels.mjs.map +1 -0
  92. package/resources/qbd/purchase-orders.d.ts +4 -4
  93. package/resources/qbd/qbd.d.ts +52 -0
  94. package/resources/qbd/qbd.d.ts.map +1 -1
  95. package/resources/qbd/qbd.js +39 -0
  96. package/resources/qbd/qbd.js.map +1 -1
  97. package/resources/qbd/qbd.mjs +39 -0
  98. package/resources/qbd/qbd.mjs.map +1 -1
  99. package/resources/qbd/receive-payments.d.ts +4 -4
  100. package/resources/qbd/sales-orders.d.ts +4 -4
  101. package/resources/qbd/sales-receipts.d.ts +4 -4
  102. package/resources/qbd/sales-representatives.d.ts +4 -0
  103. package/resources/qbd/sales-representatives.d.ts.map +1 -1
  104. package/resources/qbd/time-tracking-activities.d.ts +4 -4
  105. package/resources/qbd/transactions.d.ts +310 -0
  106. package/resources/qbd/transactions.d.ts.map +1 -0
  107. package/resources/qbd/transactions.js +40 -0
  108. package/resources/qbd/transactions.js.map +1 -0
  109. package/resources/qbd/transactions.mjs +35 -0
  110. package/resources/qbd/transactions.mjs.map +1 -0
  111. package/resources/qbd/transfers.d.ts +4 -4
  112. package/resources/qbd/vendor-credits.d.ts +4 -4
  113. package/resources/qbd/vendors.d.ts +6 -6
  114. package/resources/qbd/vendors.d.ts.map +1 -1
  115. package/resources/qbd.d.ts +2 -0
  116. package/resources/qbd.d.ts.map +1 -0
  117. package/resources/qbd.js +19 -0
  118. package/resources/qbd.js.map +1 -0
  119. package/resources/qbd.mjs +3 -0
  120. package/resources/qbd.mjs.map +1 -0
  121. package/resources.d.ts +2 -0
  122. package/resources.d.ts.map +1 -0
  123. package/resources.js +18 -0
  124. package/resources.js.map +1 -0
  125. package/resources.mjs +2 -0
  126. package/resources.mjs.map +1 -0
  127. package/src/_shims/index.d.ts +2 -0
  128. package/src/_shims/index.js +5 -1
  129. package/src/_shims/index.mjs +5 -1
  130. package/src/core.ts +9 -4
  131. package/src/index.ts +6 -4
  132. package/src/pagination.ts +1 -1
  133. package/src/resources/auth-sessions.ts +1 -1
  134. package/src/resources/end-users.ts +0 -21
  135. package/src/resources/index.ts +1 -2
  136. package/src/resources/qbd/account-tax-lines.ts +70 -0
  137. package/src/resources/qbd/accounts.ts +9 -3
  138. package/src/resources/qbd/bill-check-payments.ts +4 -4
  139. package/src/resources/qbd/bill-credit-card-payments.ts +4 -4
  140. package/src/resources/qbd/bills.ts +7 -8
  141. package/src/resources/qbd/checks.ts +4 -4
  142. package/src/resources/qbd/company.ts +466 -0
  143. package/src/resources/qbd/credit-card-charges.ts +4 -4
  144. package/src/resources/qbd/credit-card-credits.ts +4 -4
  145. package/src/resources/qbd/credit-memos.ts +4 -4
  146. package/src/resources/qbd/customers.ts +2 -2
  147. package/src/resources/qbd/employees.ts +18 -6
  148. package/src/resources/qbd/estimates.ts +4 -4
  149. package/src/resources/qbd/index.ts +36 -1
  150. package/src/resources/qbd/inventory-adjustments.ts +4 -4
  151. package/src/resources/qbd/invoices.ts +4 -4
  152. package/src/resources/qbd/item-receipts.ts +2783 -0
  153. package/src/resources/qbd/journal-entries.ts +4 -4
  154. package/src/resources/qbd/preferences.ts +684 -0
  155. package/src/resources/qbd/price-levels.ts +561 -0
  156. package/src/resources/qbd/purchase-orders.ts +4 -4
  157. package/src/resources/qbd/qbd.ts +144 -0
  158. package/src/resources/qbd/receive-payments.ts +4 -4
  159. package/src/resources/qbd/sales-orders.ts +4 -4
  160. package/src/resources/qbd/sales-receipts.ts +4 -4
  161. package/src/resources/qbd/sales-representatives.ts +4 -0
  162. package/src/resources/qbd/time-tracking-activities.ts +4 -4
  163. package/src/resources/qbd/transactions.ts +439 -0
  164. package/src/resources/qbd/transfers.ts +4 -4
  165. package/src/resources/qbd/vendor-credits.ts +4 -4
  166. package/src/resources/qbd/vendors.ts +6 -6
  167. package/src/resources/qbd.ts +3 -0
  168. package/src/resources.ts +1 -0
  169. package/src/version.ts +1 -1
  170. package/version.d.ts +1 -1
  171. package/version.d.ts.map +1 -1
  172. package/version.js +1 -1
  173. package/version.js.map +1 -1
  174. package/version.mjs +1 -1
  175. package/version.mjs.map +1 -1
@@ -1,6 +1,14 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../resource';
4
+ import * as Core from '../../core';
5
+ import * as AccountTaxLinesAPI from './account-tax-lines';
6
+ import {
7
+ AccountTaxLine,
8
+ AccountTaxLineListParams,
9
+ AccountTaxLineListResponse,
10
+ AccountTaxLines,
11
+ } from './account-tax-lines';
4
12
  import * as AccountsAPI from './accounts';
5
13
  import {
6
14
  Account,
@@ -68,6 +76,8 @@ import {
68
76
  ClassUpdateParams,
69
77
  Classes,
70
78
  } from './classes';
79
+ import * as CompanyAPI from './company';
80
+ import { Company, CompanyResource, CompanyRetrieveParams } from './company';
71
81
  import * as CreditCardChargesAPI from './credit-card-charges';
72
82
  import {
73
83
  CreditCardCharge,
@@ -209,6 +219,18 @@ import {
209
219
  Invoices,
210
220
  InvoicesCursorPage,
211
221
  } from './invoices';
222
+ import * as ItemReceiptsAPI from './item-receipts';
223
+ import {
224
+ ItemReceipt,
225
+ ItemReceiptCreateParams,
226
+ ItemReceiptDeleteParams,
227
+ ItemReceiptDeleteResponse,
228
+ ItemReceiptListParams,
229
+ ItemReceiptRetrieveParams,
230
+ ItemReceiptUpdateParams,
231
+ ItemReceipts,
232
+ ItemReceiptsCursorPage,
233
+ } from './item-receipts';
212
234
  import * as JournalEntriesAPI from './journal-entries';
213
235
  import {
214
236
  JournalEntries,
@@ -240,6 +262,18 @@ import {
240
262
  PayrollWageItems,
241
263
  PayrollWageItemsCursorPage,
242
264
  } from './payroll-wage-items';
265
+ import * as PreferencesAPI from './preferences';
266
+ import { PreferenceRetrieveParams, Preferences } from './preferences';
267
+ import * as PriceLevelsAPI from './price-levels';
268
+ import {
269
+ PriceLevel,
270
+ PriceLevelCreateParams,
271
+ PriceLevelListParams,
272
+ PriceLevelListResponse,
273
+ PriceLevelRetrieveParams,
274
+ PriceLevelUpdateParams,
275
+ PriceLevels,
276
+ } from './price-levels';
243
277
  import * as PurchaseOrdersAPI from './purchase-orders';
244
278
  import {
245
279
  PurchaseOrder,
@@ -359,6 +393,14 @@ import {
359
393
  TimeTrackingActivityRetrieveParams,
360
394
  TimeTrackingActivityUpdateParams,
361
395
  } from './time-tracking-activities';
396
+ import * as TransactionsAPI from './transactions';
397
+ import {
398
+ Transaction,
399
+ TransactionListParams,
400
+ TransactionRetrieveParams,
401
+ Transactions,
402
+ TransactionsCursorPage,
403
+ } from './transactions';
362
404
  import * as TransfersAPI from './transfers';
363
405
  import {
364
406
  Transfer,
@@ -393,6 +435,7 @@ import {
393
435
  } from './vendors';
394
436
 
395
437
  export class Qbd extends APIResource {
438
+ accountTaxLines: AccountTaxLinesAPI.AccountTaxLines = new AccountTaxLinesAPI.AccountTaxLines(this._client);
396
439
  accounts: AccountsAPI.Accounts = new AccountsAPI.Accounts(this._client);
397
440
  billCheckPayments: BillCheckPaymentsAPI.BillCheckPayments = new BillCheckPaymentsAPI.BillCheckPayments(
398
441
  this._client,
@@ -402,6 +445,7 @@ export class Qbd extends APIResource {
402
445
  bills: BillsAPI.Bills = new BillsAPI.Bills(this._client);
403
446
  checks: ChecksAPI.Checks = new ChecksAPI.Checks(this._client);
404
447
  classes: ClassesAPI.Classes = new ClassesAPI.Classes(this._client);
448
+ company: CompanyAPI.CompanyResource = new CompanyAPI.CompanyResource(this._client);
405
449
  creditCardCharges: CreditCardChargesAPI.CreditCardCharges = new CreditCardChargesAPI.CreditCardCharges(
406
450
  this._client,
407
451
  );
@@ -421,6 +465,7 @@ export class Qbd extends APIResource {
421
465
  inventoryItems: InventoryItemsAPI.InventoryItems = new InventoryItemsAPI.InventoryItems(this._client);
422
466
  inventorySites: InventorySitesAPI.InventorySites = new InventorySitesAPI.InventorySites(this._client);
423
467
  invoices: InvoicesAPI.Invoices = new InvoicesAPI.Invoices(this._client);
468
+ itemReceipts: ItemReceiptsAPI.ItemReceipts = new ItemReceiptsAPI.ItemReceipts(this._client);
424
469
  journalEntries: JournalEntriesAPI.JournalEntries = new JournalEntriesAPI.JournalEntries(this._client);
425
470
  nonInventoryItems: NonInventoryItemsAPI.NonInventoryItems = new NonInventoryItemsAPI.NonInventoryItems(
426
471
  this._client,
@@ -428,6 +473,8 @@ export class Qbd extends APIResource {
428
473
  payrollWageItems: PayrollWageItemsAPI.PayrollWageItems = new PayrollWageItemsAPI.PayrollWageItems(
429
474
  this._client,
430
475
  );
476
+ preferences: PreferencesAPI.Preferences = new PreferencesAPI.Preferences(this._client);
477
+ priceLevels: PriceLevelsAPI.PriceLevels = new PriceLevelsAPI.PriceLevels(this._client);
431
478
  purchaseOrders: PurchaseOrdersAPI.PurchaseOrders = new PurchaseOrdersAPI.PurchaseOrders(this._client);
432
479
  receivePayments: ReceivePaymentsAPI.ReceivePayments = new ReceivePaymentsAPI.ReceivePayments(this._client);
433
480
  salesOrders: SalesOrdersAPI.SalesOrders = new SalesOrdersAPI.SalesOrders(this._client);
@@ -441,11 +488,52 @@ export class Qbd extends APIResource {
441
488
  subtotalItems: SubtotalItemsAPI.SubtotalItems = new SubtotalItemsAPI.SubtotalItems(this._client);
442
489
  timeTrackingActivities: TimeTrackingActivitiesAPI.TimeTrackingActivities =
443
490
  new TimeTrackingActivitiesAPI.TimeTrackingActivities(this._client);
491
+ transactions: TransactionsAPI.Transactions = new TransactionsAPI.Transactions(this._client);
444
492
  transfers: TransfersAPI.Transfers = new TransfersAPI.Transfers(this._client);
445
493
  vendorCredits: VendorCreditsAPI.VendorCredits = new VendorCreditsAPI.VendorCredits(this._client);
446
494
  vendors: VendorsAPI.Vendors = new VendorsAPI.Vendors(this._client);
495
+
496
+ /**
497
+ * Checks whether the specified QuickBooks Desktop connection is active and can
498
+ * process requests end-to-end. This is useful for showing a "connection status"
499
+ * indicator in your app. If an error occurs, the typical Conductor error response
500
+ * will be returned. As with any request to QuickBooks Desktop, the health check
501
+ * may fail if the application is not running, the wrong company file is open, or
502
+ * if a modal dialog is open. Timeout is 60 seconds.
503
+ */
504
+ healthCheck(
505
+ params: QbdHealthCheckParams,
506
+ options?: Core.RequestOptions,
507
+ ): Core.APIPromise<QbdHealthCheckResponse> {
508
+ const { conductorEndUserId } = params;
509
+ return this._client.get('/quickbooks-desktop/health-check', {
510
+ ...options,
511
+ headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
512
+ });
513
+ }
514
+ }
515
+
516
+ export interface QbdHealthCheckResponse {
517
+ /**
518
+ * The time, in milliseconds, that it took to perform the health check.
519
+ */
520
+ duration: number;
521
+
522
+ /**
523
+ * The status of the health check.
524
+ */
525
+ status: 'ok';
447
526
  }
448
527
 
528
+ export interface QbdHealthCheckParams {
529
+ /**
530
+ * The ID of the EndUser to receive this request (e.g.,
531
+ * `"Conductor-End-User-Id: {{END_USER_ID}}"`).
532
+ */
533
+ conductorEndUserId: string;
534
+ }
535
+
536
+ Qbd.AccountTaxLines = AccountTaxLines;
449
537
  Qbd.Accounts = Accounts;
450
538
  Qbd.BillCheckPayments = BillCheckPayments;
451
539
  Qbd.BillCheckPaymentsCursorPage = BillCheckPaymentsCursorPage;
@@ -456,6 +544,7 @@ Qbd.BillsCursorPage = BillsCursorPage;
456
544
  Qbd.Checks = Checks;
457
545
  Qbd.ChecksCursorPage = ChecksCursorPage;
458
546
  Qbd.Classes = Classes;
547
+ Qbd.CompanyResource = CompanyResource;
459
548
  Qbd.CreditCardCharges = CreditCardCharges;
460
549
  Qbd.CreditCardChargesCursorPage = CreditCardChargesCursorPage;
461
550
  Qbd.CreditCardCredits = CreditCardCredits;
@@ -479,12 +568,15 @@ Qbd.InventoryItemsCursorPage = InventoryItemsCursorPage;
479
568
  Qbd.InventorySites = InventorySites;
480
569
  Qbd.Invoices = Invoices;
481
570
  Qbd.InvoicesCursorPage = InvoicesCursorPage;
571
+ Qbd.ItemReceipts = ItemReceipts;
572
+ Qbd.ItemReceiptsCursorPage = ItemReceiptsCursorPage;
482
573
  Qbd.JournalEntries = JournalEntries;
483
574
  Qbd.JournalEntriesCursorPage = JournalEntriesCursorPage;
484
575
  Qbd.NonInventoryItems = NonInventoryItems;
485
576
  Qbd.NonInventoryItemsCursorPage = NonInventoryItemsCursorPage;
486
577
  Qbd.PayrollWageItems = PayrollWageItems;
487
578
  Qbd.PayrollWageItemsCursorPage = PayrollWageItemsCursorPage;
579
+ Qbd.PriceLevels = PriceLevels;
488
580
  Qbd.PurchaseOrders = PurchaseOrders;
489
581
  Qbd.PurchaseOrdersCursorPage = PurchaseOrdersCursorPage;
490
582
  Qbd.ReceivePayments = ReceivePayments;
@@ -504,6 +596,8 @@ Qbd.SubtotalItems = SubtotalItems;
504
596
  Qbd.SubtotalItemsCursorPage = SubtotalItemsCursorPage;
505
597
  Qbd.TimeTrackingActivities = TimeTrackingActivities;
506
598
  Qbd.TimeTrackingActivitiesCursorPage = TimeTrackingActivitiesCursorPage;
599
+ Qbd.Transactions = Transactions;
600
+ Qbd.TransactionsCursorPage = TransactionsCursorPage;
507
601
  Qbd.Transfers = Transfers;
508
602
  Qbd.TransfersCursorPage = TransfersCursorPage;
509
603
  Qbd.VendorCredits = VendorCredits;
@@ -512,6 +606,18 @@ Qbd.Vendors = Vendors;
512
606
  Qbd.VendorsCursorPage = VendorsCursorPage;
513
607
 
514
608
  export declare namespace Qbd {
609
+ export {
610
+ type QbdHealthCheckResponse as QbdHealthCheckResponse,
611
+ type QbdHealthCheckParams as QbdHealthCheckParams,
612
+ };
613
+
614
+ export {
615
+ AccountTaxLines as AccountTaxLines,
616
+ type AccountTaxLine as AccountTaxLine,
617
+ type AccountTaxLineListResponse as AccountTaxLineListResponse,
618
+ type AccountTaxLineListParams as AccountTaxLineListParams,
619
+ };
620
+
515
621
  export {
516
622
  Accounts as Accounts,
517
623
  type Account as Account,
@@ -579,6 +685,12 @@ export declare namespace Qbd {
579
685
  type ClassListParams as ClassListParams,
580
686
  };
581
687
 
688
+ export {
689
+ CompanyResource as CompanyResource,
690
+ type Company as Company,
691
+ type CompanyRetrieveParams as CompanyRetrieveParams,
692
+ };
693
+
582
694
  export {
583
695
  CreditCardCharges as CreditCardCharges,
584
696
  type CreditCardCharge as CreditCardCharge,
@@ -720,6 +832,18 @@ export declare namespace Qbd {
720
832
  type InvoiceDeleteParams as InvoiceDeleteParams,
721
833
  };
722
834
 
835
+ export {
836
+ ItemReceipts as ItemReceipts,
837
+ type ItemReceipt as ItemReceipt,
838
+ type ItemReceiptDeleteResponse as ItemReceiptDeleteResponse,
839
+ ItemReceiptsCursorPage as ItemReceiptsCursorPage,
840
+ type ItemReceiptCreateParams as ItemReceiptCreateParams,
841
+ type ItemReceiptRetrieveParams as ItemReceiptRetrieveParams,
842
+ type ItemReceiptUpdateParams as ItemReceiptUpdateParams,
843
+ type ItemReceiptListParams as ItemReceiptListParams,
844
+ type ItemReceiptDeleteParams as ItemReceiptDeleteParams,
845
+ };
846
+
723
847
  export {
724
848
  JournalEntries as JournalEntries,
725
849
  type JournalEntry as JournalEntry,
@@ -751,6 +875,18 @@ export declare namespace Qbd {
751
875
  type PayrollWageItemListParams as PayrollWageItemListParams,
752
876
  };
753
877
 
878
+ export { type Preferences as Preferences, type PreferenceRetrieveParams as PreferenceRetrieveParams };
879
+
880
+ export {
881
+ PriceLevels as PriceLevels,
882
+ type PriceLevel as PriceLevel,
883
+ type PriceLevelListResponse as PriceLevelListResponse,
884
+ type PriceLevelCreateParams as PriceLevelCreateParams,
885
+ type PriceLevelRetrieveParams as PriceLevelRetrieveParams,
886
+ type PriceLevelUpdateParams as PriceLevelUpdateParams,
887
+ type PriceLevelListParams as PriceLevelListParams,
888
+ };
889
+
754
890
  export {
755
891
  PurchaseOrders as PurchaseOrders,
756
892
  type PurchaseOrder as PurchaseOrder,
@@ -870,6 +1006,14 @@ export declare namespace Qbd {
870
1006
  type TimeTrackingActivityDeleteParams as TimeTrackingActivityDeleteParams,
871
1007
  };
872
1008
 
1009
+ export {
1010
+ Transactions as Transactions,
1011
+ type Transaction as Transaction,
1012
+ TransactionsCursorPage as TransactionsCursorPage,
1013
+ type TransactionRetrieveParams as TransactionRetrieveParams,
1014
+ type TransactionListParams as TransactionListParams,
1015
+ };
1016
+
873
1017
  export {
874
1018
  Transfers as Transfers,
875
1019
  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
 
@@ -169,6 +169,8 @@ export interface SalesRepresentativeCreateParams {
169
169
 
170
170
  /**
171
171
  * Body param: The initials of this sales representative's name.
172
+ *
173
+ * Maximum length: 5 characters.
172
174
  */
173
175
  initial: string;
174
176
 
@@ -217,6 +219,8 @@ export interface SalesRepresentativeUpdateParams {
217
219
 
218
220
  /**
219
221
  * Body param: The initials of this sales representative's name.
222
+ *
223
+ * Maximum length: 5 characters.
220
224
  */
221
225
  initial?: string;
222
226
 
@@ -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