conductor-node 14.24.2 → 14.24.4

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 (267) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/package.json +1 -1
  3. package/resources/qbd/accounts.d.mts +47 -13
  4. package/resources/qbd/accounts.d.mts.map +1 -1
  5. package/resources/qbd/accounts.d.ts +47 -13
  6. package/resources/qbd/accounts.d.ts.map +1 -1
  7. package/resources/qbd/bill-check-payments.d.mts +10 -0
  8. package/resources/qbd/bill-check-payments.d.mts.map +1 -1
  9. package/resources/qbd/bill-check-payments.d.ts +10 -0
  10. package/resources/qbd/bill-check-payments.d.ts.map +1 -1
  11. package/resources/qbd/bill-credit-card-payments.d.mts +8 -0
  12. package/resources/qbd/bill-credit-card-payments.d.mts.map +1 -1
  13. package/resources/qbd/bill-credit-card-payments.d.ts +8 -0
  14. package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -1
  15. package/resources/qbd/bills.d.mts +56 -0
  16. package/resources/qbd/bills.d.mts.map +1 -1
  17. package/resources/qbd/bills.d.ts +56 -0
  18. package/resources/qbd/bills.d.ts.map +1 -1
  19. package/resources/qbd/build-assemblies.d.mts +18 -0
  20. package/resources/qbd/build-assemblies.d.mts.map +1 -1
  21. package/resources/qbd/build-assemblies.d.ts +18 -0
  22. package/resources/qbd/build-assemblies.d.ts.map +1 -1
  23. package/resources/qbd/checks.d.mts +56 -0
  24. package/resources/qbd/checks.d.mts.map +1 -1
  25. package/resources/qbd/checks.d.ts +56 -0
  26. package/resources/qbd/checks.d.ts.map +1 -1
  27. package/resources/qbd/classes.d.mts +25 -9
  28. package/resources/qbd/classes.d.mts.map +1 -1
  29. package/resources/qbd/classes.d.ts +25 -9
  30. package/resources/qbd/classes.d.ts.map +1 -1
  31. package/resources/qbd/credit-card-charges.d.mts +48 -0
  32. package/resources/qbd/credit-card-charges.d.mts.map +1 -1
  33. package/resources/qbd/credit-card-charges.d.ts +48 -0
  34. package/resources/qbd/credit-card-charges.d.ts.map +1 -1
  35. package/resources/qbd/credit-card-credits.d.mts +48 -0
  36. package/resources/qbd/credit-card-credits.d.mts.map +1 -1
  37. package/resources/qbd/credit-card-credits.d.ts +48 -0
  38. package/resources/qbd/credit-card-credits.d.ts.map +1 -1
  39. package/resources/qbd/credit-card-refunds.d.mts +34 -0
  40. package/resources/qbd/credit-card-refunds.d.mts.map +1 -1
  41. package/resources/qbd/credit-card-refunds.d.ts +34 -0
  42. package/resources/qbd/credit-card-refunds.d.ts.map +1 -1
  43. package/resources/qbd/credit-memos.d.mts +74 -0
  44. package/resources/qbd/credit-memos.d.mts.map +1 -1
  45. package/resources/qbd/credit-memos.d.ts +74 -0
  46. package/resources/qbd/credit-memos.d.ts.map +1 -1
  47. package/resources/qbd/currencies.d.mts +15 -9
  48. package/resources/qbd/currencies.d.mts.map +1 -1
  49. package/resources/qbd/currencies.d.ts +15 -9
  50. package/resources/qbd/currencies.d.ts.map +1 -1
  51. package/resources/qbd/customer-types.d.mts +25 -9
  52. package/resources/qbd/customer-types.d.mts.map +1 -1
  53. package/resources/qbd/customer-types.d.ts +25 -9
  54. package/resources/qbd/customer-types.d.ts.map +1 -1
  55. package/resources/qbd/customers.d.mts +142 -4
  56. package/resources/qbd/customers.d.mts.map +1 -1
  57. package/resources/qbd/customers.d.ts +142 -4
  58. package/resources/qbd/customers.d.ts.map +1 -1
  59. package/resources/qbd/date-driven-terms.d.mts +25 -9
  60. package/resources/qbd/date-driven-terms.d.mts.map +1 -1
  61. package/resources/qbd/date-driven-terms.d.ts +25 -9
  62. package/resources/qbd/date-driven-terms.d.ts.map +1 -1
  63. package/resources/qbd/deposits.d.mts +16 -0
  64. package/resources/qbd/deposits.d.mts.map +1 -1
  65. package/resources/qbd/deposits.d.ts +16 -0
  66. package/resources/qbd/deposits.d.ts.map +1 -1
  67. package/resources/qbd/discount-items.d.mts +29 -4
  68. package/resources/qbd/discount-items.d.mts.map +1 -1
  69. package/resources/qbd/discount-items.d.ts +29 -4
  70. package/resources/qbd/discount-items.d.ts.map +1 -1
  71. package/resources/qbd/employees.d.mts +101 -9
  72. package/resources/qbd/employees.d.mts.map +1 -1
  73. package/resources/qbd/employees.d.ts +101 -9
  74. package/resources/qbd/employees.d.ts.map +1 -1
  75. package/resources/qbd/estimates.d.mts +81 -5
  76. package/resources/qbd/estimates.d.mts.map +1 -1
  77. package/resources/qbd/estimates.d.ts +81 -5
  78. package/resources/qbd/estimates.d.ts.map +1 -1
  79. package/resources/qbd/inventory-adjustments.d.mts +36 -6
  80. package/resources/qbd/inventory-adjustments.d.mts.map +1 -1
  81. package/resources/qbd/inventory-adjustments.d.ts +36 -6
  82. package/resources/qbd/inventory-adjustments.d.ts.map +1 -1
  83. package/resources/qbd/inventory-assembly-items.d.mts +47 -4
  84. package/resources/qbd/inventory-assembly-items.d.mts.map +1 -1
  85. package/resources/qbd/inventory-assembly-items.d.ts +47 -4
  86. package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
  87. package/resources/qbd/inventory-items.d.mts +49 -4
  88. package/resources/qbd/inventory-items.d.mts.map +1 -1
  89. package/resources/qbd/inventory-items.d.ts +49 -4
  90. package/resources/qbd/inventory-items.d.ts.map +1 -1
  91. package/resources/qbd/inventory-sites.d.mts +27 -4
  92. package/resources/qbd/inventory-sites.d.mts.map +1 -1
  93. package/resources/qbd/inventory-sites.d.ts +27 -4
  94. package/resources/qbd/inventory-sites.d.ts.map +1 -1
  95. package/resources/qbd/invoices.d.mts +74 -0
  96. package/resources/qbd/invoices.d.mts.map +1 -1
  97. package/resources/qbd/invoices.d.ts +74 -0
  98. package/resources/qbd/invoices.d.ts.map +1 -1
  99. package/resources/qbd/item-groups.d.mts +33 -4
  100. package/resources/qbd/item-groups.d.mts.map +1 -1
  101. package/resources/qbd/item-groups.d.ts +33 -4
  102. package/resources/qbd/item-groups.d.ts.map +1 -1
  103. package/resources/qbd/item-receipts.d.mts +48 -0
  104. package/resources/qbd/item-receipts.d.mts.map +1 -1
  105. package/resources/qbd/item-receipts.d.ts +48 -0
  106. package/resources/qbd/item-receipts.d.ts.map +1 -1
  107. package/resources/qbd/journal-entries.d.mts +12 -0
  108. package/resources/qbd/journal-entries.d.mts.map +1 -1
  109. package/resources/qbd/journal-entries.d.ts +12 -0
  110. package/resources/qbd/journal-entries.d.ts.map +1 -1
  111. package/resources/qbd/non-inventory-items.d.mts +59 -4
  112. package/resources/qbd/non-inventory-items.d.mts.map +1 -1
  113. package/resources/qbd/non-inventory-items.d.ts +59 -4
  114. package/resources/qbd/non-inventory-items.d.ts.map +1 -1
  115. package/resources/qbd/other-charge-items.d.mts +55 -4
  116. package/resources/qbd/other-charge-items.d.mts.map +1 -1
  117. package/resources/qbd/other-charge-items.d.ts +55 -4
  118. package/resources/qbd/other-charge-items.d.ts.map +1 -1
  119. package/resources/qbd/other-names.d.mts +59 -11
  120. package/resources/qbd/other-names.d.mts.map +1 -1
  121. package/resources/qbd/other-names.d.ts +59 -11
  122. package/resources/qbd/other-names.d.ts.map +1 -1
  123. package/resources/qbd/payment-methods.d.mts +25 -9
  124. package/resources/qbd/payment-methods.d.mts.map +1 -1
  125. package/resources/qbd/payment-methods.d.ts +25 -9
  126. package/resources/qbd/payment-methods.d.ts.map +1 -1
  127. package/resources/qbd/payroll-wage-items.d.mts +24 -4
  128. package/resources/qbd/payroll-wage-items.d.mts.map +1 -1
  129. package/resources/qbd/payroll-wage-items.d.ts +24 -4
  130. package/resources/qbd/payroll-wage-items.d.ts.map +1 -1
  131. package/resources/qbd/price-levels.d.mts +37 -15
  132. package/resources/qbd/price-levels.d.mts.map +1 -1
  133. package/resources/qbd/price-levels.d.ts +37 -15
  134. package/resources/qbd/price-levels.d.ts.map +1 -1
  135. package/resources/qbd/purchase-orders.d.mts +76 -0
  136. package/resources/qbd/purchase-orders.d.mts.map +1 -1
  137. package/resources/qbd/purchase-orders.d.ts +76 -0
  138. package/resources/qbd/purchase-orders.d.ts.map +1 -1
  139. package/resources/qbd/receive-payments.d.mts +54 -0
  140. package/resources/qbd/receive-payments.d.mts.map +1 -1
  141. package/resources/qbd/receive-payments.d.ts +54 -0
  142. package/resources/qbd/receive-payments.d.ts.map +1 -1
  143. package/resources/qbd/sales-orders.d.mts +74 -0
  144. package/resources/qbd/sales-orders.d.mts.map +1 -1
  145. package/resources/qbd/sales-orders.d.ts +74 -0
  146. package/resources/qbd/sales-orders.d.ts.map +1 -1
  147. package/resources/qbd/sales-receipts.d.mts +122 -0
  148. package/resources/qbd/sales-receipts.d.mts.map +1 -1
  149. package/resources/qbd/sales-receipts.d.ts +122 -0
  150. package/resources/qbd/sales-receipts.d.ts.map +1 -1
  151. package/resources/qbd/sales-representatives.d.mts +15 -9
  152. package/resources/qbd/sales-representatives.d.mts.map +1 -1
  153. package/resources/qbd/sales-representatives.d.ts +15 -9
  154. package/resources/qbd/sales-representatives.d.ts.map +1 -1
  155. package/resources/qbd/sales-tax-codes.d.mts +29 -9
  156. package/resources/qbd/sales-tax-codes.d.mts.map +1 -1
  157. package/resources/qbd/sales-tax-codes.d.ts +29 -9
  158. package/resources/qbd/sales-tax-codes.d.ts.map +1 -1
  159. package/resources/qbd/sales-tax-group-items.d.mts +29 -4
  160. package/resources/qbd/sales-tax-group-items.d.mts.map +1 -1
  161. package/resources/qbd/sales-tax-group-items.d.ts +29 -4
  162. package/resources/qbd/sales-tax-group-items.d.ts.map +1 -1
  163. package/resources/qbd/sales-tax-items.d.mts +29 -4
  164. package/resources/qbd/sales-tax-items.d.mts.map +1 -1
  165. package/resources/qbd/sales-tax-items.d.ts +29 -4
  166. package/resources/qbd/sales-tax-items.d.ts.map +1 -1
  167. package/resources/qbd/sales-tax-payment-checks.d.mts +18 -0
  168. package/resources/qbd/sales-tax-payment-checks.d.mts.map +1 -1
  169. package/resources/qbd/sales-tax-payment-checks.d.ts +18 -0
  170. package/resources/qbd/sales-tax-payment-checks.d.ts.map +1 -1
  171. package/resources/qbd/service-items.d.mts +55 -4
  172. package/resources/qbd/service-items.d.mts.map +1 -1
  173. package/resources/qbd/service-items.d.ts +55 -4
  174. package/resources/qbd/service-items.d.ts.map +1 -1
  175. package/resources/qbd/shipping-methods.d.mts +25 -9
  176. package/resources/qbd/shipping-methods.d.mts.map +1 -1
  177. package/resources/qbd/shipping-methods.d.ts +25 -9
  178. package/resources/qbd/shipping-methods.d.ts.map +1 -1
  179. package/resources/qbd/standard-terms.d.mts +25 -9
  180. package/resources/qbd/standard-terms.d.mts.map +1 -1
  181. package/resources/qbd/standard-terms.d.ts +25 -9
  182. package/resources/qbd/standard-terms.d.ts.map +1 -1
  183. package/resources/qbd/subtotal-items.d.mts +29 -4
  184. package/resources/qbd/subtotal-items.d.mts.map +1 -1
  185. package/resources/qbd/subtotal-items.d.ts +29 -4
  186. package/resources/qbd/subtotal-items.d.ts.map +1 -1
  187. package/resources/qbd/time-tracking-activities.d.mts +4 -0
  188. package/resources/qbd/time-tracking-activities.d.mts.map +1 -1
  189. package/resources/qbd/time-tracking-activities.d.ts +4 -0
  190. package/resources/qbd/time-tracking-activities.d.ts.map +1 -1
  191. package/resources/qbd/transactions.d.mts +6 -0
  192. package/resources/qbd/transactions.d.mts.map +1 -1
  193. package/resources/qbd/transactions.d.ts +6 -0
  194. package/resources/qbd/transactions.d.ts.map +1 -1
  195. package/resources/qbd/transfers.d.mts +4 -0
  196. package/resources/qbd/transfers.d.mts.map +1 -1
  197. package/resources/qbd/transfers.d.ts +4 -0
  198. package/resources/qbd/transfers.d.ts.map +1 -1
  199. package/resources/qbd/unit-of-measure-sets.d.mts +18 -9
  200. package/resources/qbd/unit-of-measure-sets.d.mts.map +1 -1
  201. package/resources/qbd/unit-of-measure-sets.d.ts +18 -9
  202. package/resources/qbd/unit-of-measure-sets.d.ts.map +1 -1
  203. package/resources/qbd/vendor-credits.d.mts +48 -0
  204. package/resources/qbd/vendor-credits.d.mts.map +1 -1
  205. package/resources/qbd/vendor-credits.d.ts +48 -0
  206. package/resources/qbd/vendor-credits.d.ts.map +1 -1
  207. package/resources/qbd/vendors.d.mts +114 -4
  208. package/resources/qbd/vendors.d.mts.map +1 -1
  209. package/resources/qbd/vendors.d.ts +114 -4
  210. package/resources/qbd/vendors.d.ts.map +1 -1
  211. package/src/resources/qbd/accounts.ts +47 -13
  212. package/src/resources/qbd/bill-check-payments.ts +10 -0
  213. package/src/resources/qbd/bill-credit-card-payments.ts +8 -0
  214. package/src/resources/qbd/bills.ts +56 -0
  215. package/src/resources/qbd/build-assemblies.ts +18 -0
  216. package/src/resources/qbd/checks.ts +56 -0
  217. package/src/resources/qbd/classes.ts +25 -9
  218. package/src/resources/qbd/credit-card-charges.ts +48 -0
  219. package/src/resources/qbd/credit-card-credits.ts +48 -0
  220. package/src/resources/qbd/credit-card-refunds.ts +34 -0
  221. package/src/resources/qbd/credit-memos.ts +74 -0
  222. package/src/resources/qbd/currencies.ts +15 -9
  223. package/src/resources/qbd/customer-types.ts +25 -9
  224. package/src/resources/qbd/customers.ts +142 -4
  225. package/src/resources/qbd/date-driven-terms.ts +25 -9
  226. package/src/resources/qbd/deposits.ts +16 -0
  227. package/src/resources/qbd/discount-items.ts +29 -4
  228. package/src/resources/qbd/employees.ts +101 -9
  229. package/src/resources/qbd/estimates.ts +81 -5
  230. package/src/resources/qbd/inventory-adjustments.ts +36 -6
  231. package/src/resources/qbd/inventory-assembly-items.ts +47 -4
  232. package/src/resources/qbd/inventory-items.ts +49 -4
  233. package/src/resources/qbd/inventory-sites.ts +27 -4
  234. package/src/resources/qbd/invoices.ts +74 -0
  235. package/src/resources/qbd/item-groups.ts +33 -4
  236. package/src/resources/qbd/item-receipts.ts +48 -0
  237. package/src/resources/qbd/journal-entries.ts +12 -0
  238. package/src/resources/qbd/non-inventory-items.ts +59 -4
  239. package/src/resources/qbd/other-charge-items.ts +55 -4
  240. package/src/resources/qbd/other-names.ts +59 -11
  241. package/src/resources/qbd/payment-methods.ts +25 -9
  242. package/src/resources/qbd/payroll-wage-items.ts +24 -4
  243. package/src/resources/qbd/price-levels.ts +37 -15
  244. package/src/resources/qbd/purchase-orders.ts +76 -0
  245. package/src/resources/qbd/receive-payments.ts +54 -0
  246. package/src/resources/qbd/sales-orders.ts +74 -0
  247. package/src/resources/qbd/sales-receipts.ts +122 -0
  248. package/src/resources/qbd/sales-representatives.ts +15 -9
  249. package/src/resources/qbd/sales-tax-codes.ts +29 -9
  250. package/src/resources/qbd/sales-tax-group-items.ts +29 -4
  251. package/src/resources/qbd/sales-tax-items.ts +29 -4
  252. package/src/resources/qbd/sales-tax-payment-checks.ts +18 -0
  253. package/src/resources/qbd/service-items.ts +55 -4
  254. package/src/resources/qbd/shipping-methods.ts +25 -9
  255. package/src/resources/qbd/standard-terms.ts +25 -9
  256. package/src/resources/qbd/subtotal-items.ts +29 -4
  257. package/src/resources/qbd/time-tracking-activities.ts +4 -0
  258. package/src/resources/qbd/transactions.ts +6 -0
  259. package/src/resources/qbd/transfers.ts +4 -0
  260. package/src/resources/qbd/unit-of-measure-sets.ts +18 -9
  261. package/src/resources/qbd/vendor-credits.ts +48 -0
  262. package/src/resources/qbd/vendors.ts +114 -4
  263. package/src/version.ts +1 -1
  264. package/version.d.mts +1 -1
  265. package/version.d.ts +1 -1
  266. package/version.js +1 -1
  267. package/version.mjs +1 -1
@@ -433,6 +433,8 @@ export interface DiscountItemCreateParams {
433
433
  /**
434
434
  * Body param: The discount item's description that will appear on sales forms that
435
435
  * include this item.
436
+ *
437
+ * Maximum length: 4095 characters.
436
438
  */
437
439
  description?: string;
438
440
 
@@ -515,6 +517,8 @@ export namespace DiscountItemCreateParams {
515
517
 
516
518
  /**
517
519
  * The item's barcode value.
520
+ *
521
+ * Maximum length: 50 characters.
518
522
  */
519
523
  value?: string;
520
524
  }
@@ -562,6 +566,8 @@ export interface DiscountItemUpdateParams {
562
566
  /**
563
567
  * Body param: The discount item's description that will appear on sales forms that
564
568
  * include this item.
569
+ *
570
+ * Maximum length: 4095 characters.
565
571
  */
566
572
  description?: string;
567
573
 
@@ -655,6 +661,8 @@ export namespace DiscountItemUpdateParams {
655
661
 
656
662
  /**
657
663
  * The item's barcode value.
664
+ *
665
+ * Maximum length: 50 characters.
658
666
  */
659
667
  value?: string;
660
668
  }
@@ -719,8 +727,17 @@ export interface DiscountItemListParams extends CursorPageParams {
719
727
  nameEndsWith?: string;
720
728
 
721
729
  /**
722
- * Query param: Filter for discount items whose `name` is alphabetically greater
723
- * than or equal to this value.
730
+ * Query param: Filter for discount items whose `fullName` sorts at or after this
731
+ * value (inclusive), compared case-insensitively in QuickBooks' sort order:
732
+ * punctuation first, then digits, then letters.
733
+ *
734
+ * When you set `nameFrom` or `nameTo`, QuickBooks returns discount items sorted by
735
+ * `fullName` in that order; without either, the order is not guaranteed. To page
736
+ * through discount items by name, see
737
+ * [Paging by name](https://docs.conductor.is/api-ref/pagination#paging-by-name).
738
+ *
739
+ * **NOTE**: If you use this parameter, you cannot also use `nameContains`,
740
+ * `nameStartsWith`, or `nameEndsWith`.
724
741
  */
725
742
  nameFrom?: string;
726
743
 
@@ -734,8 +751,16 @@ export interface DiscountItemListParams extends CursorPageParams {
734
751
  nameStartsWith?: string;
735
752
 
736
753
  /**
737
- * Query param: Filter for discount items whose `name` is alphabetically less than
738
- * or equal to this value.
754
+ * Query param: Filter for discount items whose `fullName` sorts at or before this
755
+ * value (inclusive), compared case-insensitively in QuickBooks' sort order:
756
+ * punctuation first, then digits, then letters. If you also set `nameFrom`, it
757
+ * must not sort after this value, or QuickBooks returns an error.
758
+ *
759
+ * When you set `nameFrom` or `nameTo`, QuickBooks returns discount items sorted by
760
+ * `fullName` in that order; without either, the order is not guaranteed.
761
+ *
762
+ * **NOTE**: If you use this parameter, you cannot also use `nameContains`,
763
+ * `nameStartsWith`, or `nameEndsWith`.
739
764
  */
740
765
  nameTo?: string;
741
766
 
@@ -917,6 +917,8 @@ export interface EmployeeCreateParams {
917
917
  * Note that if the "Use Account Numbers" preference is turned off in QuickBooks,
918
918
  * the account number may not be visible in the user interface, but it can still be
919
919
  * set and retrieved through the API.
920
+ *
921
+ * Maximum length: 99 characters.
920
922
  */
921
923
  accountNumber?: string;
922
924
 
@@ -968,17 +970,23 @@ export interface EmployeeCreateParams {
968
970
  /**
969
971
  * Body param: The employee's department. Found in the "employment job details"
970
972
  * section of the employee's record in QuickBooks.
973
+ *
974
+ * Maximum length: 31 characters.
971
975
  */
972
976
  department?: string;
973
977
 
974
978
  /**
975
979
  * Body param: A description of this employee. Found in the "employment job
976
980
  * details" section of the employee's record in QuickBooks.
981
+ *
982
+ * Maximum length: 64 characters.
977
983
  */
978
984
  description?: string;
979
985
 
980
986
  /**
981
987
  * Body param: A description of this employee's disability.
988
+ *
989
+ * Maximum length: 25 characters.
982
990
  */
983
991
  disabilityDescription?: string;
984
992
 
@@ -989,6 +997,8 @@ export interface EmployeeCreateParams {
989
997
 
990
998
  /**
991
999
  * Body param: The employee's email address.
1000
+ *
1001
+ * Maximum length: 1023 characters.
992
1002
  */
993
1003
  email?: string;
994
1004
 
@@ -1068,6 +1078,8 @@ export interface EmployeeCreateParams {
1068
1078
 
1069
1079
  /**
1070
1080
  * Body param: The employee's job title.
1081
+ *
1082
+ * Maximum length: 41 characters.
1071
1083
  */
1072
1084
  jobTitle?: string;
1073
1085
 
@@ -1104,6 +1116,8 @@ export interface EmployeeCreateParams {
1104
1116
 
1105
1117
  /**
1106
1118
  * Body param: A note or comment about this employee.
1119
+ *
1120
+ * Maximum length: 4095 characters.
1107
1121
  */
1108
1122
  note?: string;
1109
1123
 
@@ -1128,6 +1142,8 @@ export interface EmployeeCreateParams {
1128
1142
 
1129
1143
  /**
1130
1144
  * Body param: The employee's pager PIN.
1145
+ *
1146
+ * Maximum length: 10 characters.
1131
1147
  */
1132
1148
  pagerPin?: string;
1133
1149
 
@@ -1141,12 +1157,16 @@ export interface EmployeeCreateParams {
1141
1157
  /**
1142
1158
  * Body param: The name to use when printing this employee from QuickBooks. By
1143
1159
  * default, this is the same as the `name` field.
1160
+ *
1161
+ * Maximum length: 41 characters.
1144
1162
  */
1145
1163
  printAs?: string;
1146
1164
 
1147
1165
  /**
1148
1166
  * Body param: The employee's formal salutation title that precedes their name,
1149
1167
  * such as "Mr.", "Ms.", or "Dr.".
1168
+ *
1169
+ * Maximum length: 15 characters.
1150
1170
  */
1151
1171
  salutation?: string;
1152
1172
 
@@ -1155,6 +1175,8 @@ export interface EmployeeCreateParams {
1155
1175
  * without dashes.
1156
1176
  *
1157
1177
  * **NOTE**: This field cannot be changed after the employee is created.
1178
+ *
1179
+ * Maximum length: 15 characters.
1158
1180
  */
1159
1181
  ssn?: string;
1160
1182
 
@@ -1168,6 +1190,9 @@ export interface EmployeeCreateParams {
1168
1190
  * Body param: The target bonus for this employee, represented as a decimal string.
1169
1191
  * Found in the "employment job details" section of the employee's record in
1170
1192
  * QuickBooks.
1193
+ *
1194
+ * Decimal string format: exactly 2 decimal places when cents are included and up
1195
+ * to 13 digits before the decimal point (for example, "123.45").
1171
1196
  */
1172
1197
  targetBonus?: string;
1173
1198
 
@@ -1199,6 +1224,8 @@ export namespace EmployeeCreateParams {
1199
1224
  export interface AdditionalNote {
1200
1225
  /**
1201
1226
  * The text of this note.
1227
+ *
1228
+ * Maximum length: 4095 characters.
1202
1229
  */
1203
1230
  note: string;
1204
1231
  }
@@ -1341,11 +1368,15 @@ export namespace EmployeeCreateParams {
1341
1368
  export interface CustomContactField {
1342
1369
  /**
1343
1370
  * The name of the contact field (e.g., "old address", "secondary phone").
1371
+ *
1372
+ * Maximum length: 40 characters.
1344
1373
  */
1345
1374
  name: string;
1346
1375
 
1347
1376
  /**
1348
1377
  * The value of the contact field.
1378
+ *
1379
+ * Maximum length: 255 characters.
1349
1380
  */
1350
1381
  value: string;
1351
1382
  }
@@ -1372,11 +1403,15 @@ export namespace EmployeeCreateParams {
1372
1403
  export interface PrimaryContact {
1373
1404
  /**
1374
1405
  * The name of the contact field (e.g., "old address", "secondary phone").
1406
+ *
1407
+ * Maximum length: 40 characters.
1375
1408
  */
1376
1409
  name: string;
1377
1410
 
1378
1411
  /**
1379
1412
  * The value of the contact field.
1413
+ *
1414
+ * Maximum length: 255 characters.
1380
1415
  */
1381
1416
  value: string;
1382
1417
 
@@ -1402,11 +1437,15 @@ export namespace EmployeeCreateParams {
1402
1437
  export interface SecondaryContact {
1403
1438
  /**
1404
1439
  * The name of the contact field (e.g., "old address", "secondary phone").
1440
+ *
1441
+ * Maximum length: 40 characters.
1405
1442
  */
1406
1443
  name: string;
1407
1444
 
1408
1445
  /**
1409
1446
  * The value of the contact field.
1447
+ *
1448
+ * Maximum length: 255 characters.
1410
1449
  */
1411
1450
  value: string;
1412
1451
 
@@ -1621,6 +1660,8 @@ export interface EmployeeUpdateParams {
1621
1660
  * Note that if the "Use Account Numbers" preference is turned off in QuickBooks,
1622
1661
  * the account number may not be visible in the user interface, but it can still be
1623
1662
  * set and retrieved through the API.
1663
+ *
1664
+ * Maximum length: 99 characters.
1624
1665
  */
1625
1666
  accountNumber?: string;
1626
1667
 
@@ -1672,17 +1713,23 @@ export interface EmployeeUpdateParams {
1672
1713
  /**
1673
1714
  * Body param: The employee's department. Found in the "employment job details"
1674
1715
  * section of the employee's record in QuickBooks.
1716
+ *
1717
+ * Maximum length: 31 characters.
1675
1718
  */
1676
1719
  department?: string;
1677
1720
 
1678
1721
  /**
1679
1722
  * Body param: A description of this employee. Found in the "employment job
1680
1723
  * details" section of the employee's record in QuickBooks.
1724
+ *
1725
+ * Maximum length: 64 characters.
1681
1726
  */
1682
1727
  description?: string;
1683
1728
 
1684
1729
  /**
1685
1730
  * Body param: A description of this employee's disability.
1731
+ *
1732
+ * Maximum length: 25 characters.
1686
1733
  */
1687
1734
  disabilityDescription?: string;
1688
1735
 
@@ -1693,6 +1740,8 @@ export interface EmployeeUpdateParams {
1693
1740
 
1694
1741
  /**
1695
1742
  * Body param: The employee's email address.
1743
+ *
1744
+ * Maximum length: 1023 characters.
1696
1745
  */
1697
1746
  email?: string;
1698
1747
 
@@ -1765,6 +1814,8 @@ export interface EmployeeUpdateParams {
1765
1814
 
1766
1815
  /**
1767
1816
  * Body param: The employee's job title.
1817
+ *
1818
+ * Maximum length: 41 characters.
1768
1819
  */
1769
1820
  jobTitle?: string;
1770
1821
 
@@ -1801,6 +1852,8 @@ export interface EmployeeUpdateParams {
1801
1852
 
1802
1853
  /**
1803
1854
  * Body param: A note or comment about this employee.
1855
+ *
1856
+ * Maximum length: 4095 characters.
1804
1857
  */
1805
1858
  note?: string;
1806
1859
 
@@ -1825,6 +1878,8 @@ export interface EmployeeUpdateParams {
1825
1878
 
1826
1879
  /**
1827
1880
  * Body param: The employee's pager PIN.
1881
+ *
1882
+ * Maximum length: 10 characters.
1828
1883
  */
1829
1884
  pagerPin?: string;
1830
1885
 
@@ -1838,12 +1893,16 @@ export interface EmployeeUpdateParams {
1838
1893
  /**
1839
1894
  * Body param: The name to use when printing this employee from QuickBooks. By
1840
1895
  * default, this is the same as the `name` field.
1896
+ *
1897
+ * Maximum length: 41 characters.
1841
1898
  */
1842
1899
  printAs?: string;
1843
1900
 
1844
1901
  /**
1845
1902
  * Body param: The employee's formal salutation title that precedes their name,
1846
1903
  * such as "Mr.", "Ms.", or "Dr.".
1904
+ *
1905
+ * Maximum length: 15 characters.
1847
1906
  */
1848
1907
  salutation?: string;
1849
1908
 
@@ -1857,6 +1916,9 @@ export interface EmployeeUpdateParams {
1857
1916
  * Body param: The target bonus for this employee, represented as a decimal string.
1858
1917
  * Found in the "employment job details" section of the employee's record in
1859
1918
  * QuickBooks.
1919
+ *
1920
+ * Decimal string format: exactly 2 decimal places when cents are included and up
1921
+ * to 13 digits before the decimal point (for example, "123.45").
1860
1922
  */
1861
1923
  targetBonus?: string;
1862
1924
 
@@ -1893,6 +1955,8 @@ export namespace EmployeeUpdateParams {
1893
1955
 
1894
1956
  /**
1895
1957
  * The text of this note.
1958
+ *
1959
+ * Maximum length: 4095 characters.
1896
1960
  */
1897
1961
  note: string;
1898
1962
  }
@@ -2035,11 +2099,15 @@ export namespace EmployeeUpdateParams {
2035
2099
  export interface CustomContactField {
2036
2100
  /**
2037
2101
  * The name of the contact field (e.g., "old address", "secondary phone").
2102
+ *
2103
+ * Maximum length: 40 characters.
2038
2104
  */
2039
2105
  name: string;
2040
2106
 
2041
2107
  /**
2042
2108
  * The value of the contact field.
2109
+ *
2110
+ * Maximum length: 255 characters.
2043
2111
  */
2044
2112
  value: string;
2045
2113
  }
@@ -2066,11 +2134,15 @@ export namespace EmployeeUpdateParams {
2066
2134
  export interface PrimaryContact {
2067
2135
  /**
2068
2136
  * The name of the contact field (e.g., "old address", "secondary phone").
2137
+ *
2138
+ * Maximum length: 40 characters.
2069
2139
  */
2070
2140
  name: string;
2071
2141
 
2072
2142
  /**
2073
2143
  * The value of the contact field.
2144
+ *
2145
+ * Maximum length: 255 characters.
2074
2146
  */
2075
2147
  value: string;
2076
2148
 
@@ -2096,11 +2168,15 @@ export namespace EmployeeUpdateParams {
2096
2168
  export interface SecondaryContact {
2097
2169
  /**
2098
2170
  * The name of the contact field (e.g., "old address", "secondary phone").
2171
+ *
2172
+ * Maximum length: 40 characters.
2099
2173
  */
2100
2174
  name: string;
2101
2175
 
2102
2176
  /**
2103
2177
  * The value of the contact field.
2178
+ *
2179
+ * Maximum length: 255 characters.
2104
2180
  */
2105
2181
  value: string;
2106
2182
 
@@ -2329,13 +2405,12 @@ export interface EmployeeListParams {
2329
2405
  * Query param: The maximum number of objects to return.
2330
2406
  *
2331
2407
  * **IMPORTANT**: QuickBooks Desktop does not support cursor-based pagination for
2332
- * employees. This parameter will limit the response size, but you cannot fetch
2333
- * subsequent results using a cursor. For pagination, use the name-range parameters
2334
- * instead (e.g., `nameFrom=A&nameTo=B`).
2408
+ * employees, so this parameter only limits the response size. To page through
2409
+ * employees by name, see
2410
+ * [Paging by name](https://docs.conductor.is/api-ref/pagination#paging-by-name).
2335
2411
  *
2336
2412
  * When this parameter is omitted, the endpoint returns all employees without
2337
- * limit, unlike paginated endpoints which default to 150 records. This is
2338
- * acceptable because employees typically have low record counts.
2413
+ * limit, unlike paginated endpoints which default to 150 records.
2339
2414
  */
2340
2415
  limit?: number;
2341
2416
 
@@ -2358,8 +2433,17 @@ export interface EmployeeListParams {
2358
2433
  nameEndsWith?: string;
2359
2434
 
2360
2435
  /**
2361
- * Query param: Filter for employees whose `name` is alphabetically greater than or
2362
- * equal to this value.
2436
+ * Query param: Filter for employees whose `name` sorts at or after this value
2437
+ * (inclusive), compared case-insensitively in QuickBooks' sort order: punctuation
2438
+ * first, then digits, then letters.
2439
+ *
2440
+ * When you set `nameFrom` or `nameTo`, QuickBooks returns employees sorted by
2441
+ * `name` in that order; without either, the order is not guaranteed. To page
2442
+ * through employees by name, see
2443
+ * [Paging by name](https://docs.conductor.is/api-ref/pagination#paging-by-name).
2444
+ *
2445
+ * **NOTE**: If you use this parameter, you cannot also use `nameContains`,
2446
+ * `nameStartsWith`, or `nameEndsWith`.
2363
2447
  */
2364
2448
  nameFrom?: string;
2365
2449
 
@@ -2385,8 +2469,16 @@ export interface EmployeeListParams {
2385
2469
  nameStartsWith?: string;
2386
2470
 
2387
2471
  /**
2388
- * Query param: Filter for employees whose `name` is alphabetically less than or
2389
- * equal to this value.
2472
+ * Query param: Filter for employees whose `name` sorts at or before this value
2473
+ * (inclusive), compared case-insensitively in QuickBooks' sort order: punctuation
2474
+ * first, then digits, then letters. If you also set `nameFrom`, it must not sort
2475
+ * after this value, or QuickBooks returns an error.
2476
+ *
2477
+ * When you set `nameFrom` or `nameTo`, QuickBooks returns employees sorted by
2478
+ * `name` in that order; without either, the order is not guaranteed.
2479
+ *
2480
+ * **NOTE**: If you use this parameter, you cannot also use `nameContains`,
2481
+ * `nameStartsWith`, or `nameEndsWith`.
2390
2482
  */
2391
2483
  nameTo?: string;
2392
2484