conductor-node 14.11.0 → 14.12.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 (167) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/package.json +1 -1
  3. package/resources/qbd/bill-check-payments.d.mts +25 -0
  4. package/resources/qbd/bill-check-payments.d.mts.map +1 -1
  5. package/resources/qbd/bill-check-payments.d.ts +25 -0
  6. package/resources/qbd/bill-check-payments.d.ts.map +1 -1
  7. package/resources/qbd/bill-credit-card-payments.d.mts +11 -0
  8. package/resources/qbd/bill-credit-card-payments.d.mts.map +1 -1
  9. package/resources/qbd/bill-credit-card-payments.d.ts +11 -0
  10. package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -1
  11. package/resources/qbd/bills.d.mts +28 -0
  12. package/resources/qbd/bills.d.mts.map +1 -1
  13. package/resources/qbd/bills.d.ts +28 -0
  14. package/resources/qbd/bills.d.ts.map +1 -1
  15. package/resources/qbd/build-assemblies.d.mts +4 -0
  16. package/resources/qbd/build-assemblies.d.mts.map +1 -1
  17. package/resources/qbd/build-assemblies.d.ts +4 -0
  18. package/resources/qbd/build-assemblies.d.ts.map +1 -1
  19. package/resources/qbd/checks.d.mts +34 -0
  20. package/resources/qbd/checks.d.mts.map +1 -1
  21. package/resources/qbd/checks.d.ts +34 -0
  22. package/resources/qbd/checks.d.ts.map +1 -1
  23. package/resources/qbd/credit-card-charges.d.mts +28 -0
  24. package/resources/qbd/credit-card-charges.d.mts.map +1 -1
  25. package/resources/qbd/credit-card-charges.d.ts +28 -0
  26. package/resources/qbd/credit-card-charges.d.ts.map +1 -1
  27. package/resources/qbd/credit-card-credits.d.mts +28 -0
  28. package/resources/qbd/credit-card-credits.d.mts.map +1 -1
  29. package/resources/qbd/credit-card-credits.d.ts +28 -0
  30. package/resources/qbd/credit-card-credits.d.ts.map +1 -1
  31. package/resources/qbd/credit-card-refunds.d.mts +5 -0
  32. package/resources/qbd/credit-card-refunds.d.mts.map +1 -1
  33. package/resources/qbd/credit-card-refunds.d.ts +5 -0
  34. package/resources/qbd/credit-card-refunds.d.ts.map +1 -1
  35. package/resources/qbd/credit-memos.d.mts +26 -0
  36. package/resources/qbd/credit-memos.d.mts.map +1 -1
  37. package/resources/qbd/credit-memos.d.ts +26 -0
  38. package/resources/qbd/credit-memos.d.ts.map +1 -1
  39. package/resources/qbd/customers.d.mts +12 -0
  40. package/resources/qbd/customers.d.mts.map +1 -1
  41. package/resources/qbd/customers.d.ts +12 -0
  42. package/resources/qbd/customers.d.ts.map +1 -1
  43. package/resources/qbd/deposits.d.mts +12 -0
  44. package/resources/qbd/deposits.d.mts.map +1 -1
  45. package/resources/qbd/deposits.d.ts +12 -0
  46. package/resources/qbd/deposits.d.ts.map +1 -1
  47. package/resources/qbd/discount-items.d.mts +9 -3
  48. package/resources/qbd/discount-items.d.mts.map +1 -1
  49. package/resources/qbd/discount-items.d.ts +9 -3
  50. package/resources/qbd/discount-items.d.ts.map +1 -1
  51. package/resources/qbd/employees.d.mts +26 -0
  52. package/resources/qbd/employees.d.mts.map +1 -1
  53. package/resources/qbd/employees.d.ts +26 -0
  54. package/resources/qbd/employees.d.ts.map +1 -1
  55. package/resources/qbd/estimates.d.mts +26 -0
  56. package/resources/qbd/estimates.d.mts.map +1 -1
  57. package/resources/qbd/estimates.d.ts +26 -0
  58. package/resources/qbd/estimates.d.ts.map +1 -1
  59. package/resources/qbd/inventory-adjustments.d.mts +4 -0
  60. package/resources/qbd/inventory-adjustments.d.mts.map +1 -1
  61. package/resources/qbd/inventory-adjustments.d.ts +4 -0
  62. package/resources/qbd/inventory-adjustments.d.ts.map +1 -1
  63. package/resources/qbd/inventory-assembly-items.d.mts +8 -5
  64. package/resources/qbd/inventory-assembly-items.d.mts.map +1 -1
  65. package/resources/qbd/inventory-assembly-items.d.ts +8 -5
  66. package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
  67. package/resources/qbd/inventory-items.d.mts +8 -5
  68. package/resources/qbd/inventory-items.d.mts.map +1 -1
  69. package/resources/qbd/inventory-items.d.ts +8 -5
  70. package/resources/qbd/inventory-items.d.ts.map +1 -1
  71. package/resources/qbd/inventory-sites.d.mts +4 -0
  72. package/resources/qbd/inventory-sites.d.mts.map +1 -1
  73. package/resources/qbd/inventory-sites.d.ts +4 -0
  74. package/resources/qbd/inventory-sites.d.ts.map +1 -1
  75. package/resources/qbd/invoices.d.mts +32 -0
  76. package/resources/qbd/invoices.d.mts.map +1 -1
  77. package/resources/qbd/invoices.d.ts +32 -0
  78. package/resources/qbd/invoices.d.ts.map +1 -1
  79. package/resources/qbd/item-receipts.d.mts +28 -0
  80. package/resources/qbd/item-receipts.d.mts.map +1 -1
  81. package/resources/qbd/item-receipts.d.ts +28 -0
  82. package/resources/qbd/item-receipts.d.ts.map +1 -1
  83. package/resources/qbd/journal-entries.d.mts +13 -0
  84. package/resources/qbd/journal-entries.d.mts.map +1 -1
  85. package/resources/qbd/journal-entries.d.ts +13 -0
  86. package/resources/qbd/journal-entries.d.ts.map +1 -1
  87. package/resources/qbd/other-names.d.mts +12 -0
  88. package/resources/qbd/other-names.d.mts.map +1 -1
  89. package/resources/qbd/other-names.d.ts +12 -0
  90. package/resources/qbd/other-names.d.ts.map +1 -1
  91. package/resources/qbd/payroll-wage-items.d.mts +3 -0
  92. package/resources/qbd/payroll-wage-items.d.mts.map +1 -1
  93. package/resources/qbd/payroll-wage-items.d.ts +3 -0
  94. package/resources/qbd/payroll-wage-items.d.ts.map +1 -1
  95. package/resources/qbd/price-levels.d.mts +18 -18
  96. package/resources/qbd/price-levels.d.mts.map +1 -1
  97. package/resources/qbd/price-levels.d.ts +18 -18
  98. package/resources/qbd/price-levels.d.ts.map +1 -1
  99. package/resources/qbd/purchase-orders.d.mts +26 -0
  100. package/resources/qbd/purchase-orders.d.mts.map +1 -1
  101. package/resources/qbd/purchase-orders.d.ts +26 -0
  102. package/resources/qbd/purchase-orders.d.ts.map +1 -1
  103. package/resources/qbd/receive-payments.d.mts +28 -0
  104. package/resources/qbd/receive-payments.d.mts.map +1 -1
  105. package/resources/qbd/receive-payments.d.ts +28 -0
  106. package/resources/qbd/receive-payments.d.ts.map +1 -1
  107. package/resources/qbd/sales-orders.d.mts +26 -0
  108. package/resources/qbd/sales-orders.d.mts.map +1 -1
  109. package/resources/qbd/sales-orders.d.ts +26 -0
  110. package/resources/qbd/sales-orders.d.ts.map +1 -1
  111. package/resources/qbd/sales-receipts.d.mts +26 -0
  112. package/resources/qbd/sales-receipts.d.mts.map +1 -1
  113. package/resources/qbd/sales-receipts.d.ts +26 -0
  114. package/resources/qbd/sales-receipts.d.ts.map +1 -1
  115. package/resources/qbd/time-tracking-activities.d.mts +6 -0
  116. package/resources/qbd/time-tracking-activities.d.mts.map +1 -1
  117. package/resources/qbd/time-tracking-activities.d.ts +6 -0
  118. package/resources/qbd/time-tracking-activities.d.ts.map +1 -1
  119. package/resources/qbd/transfers.d.mts +6 -0
  120. package/resources/qbd/transfers.d.mts.map +1 -1
  121. package/resources/qbd/transfers.d.ts +6 -0
  122. package/resources/qbd/transfers.d.ts.map +1 -1
  123. package/resources/qbd/vendor-credits.d.mts +28 -0
  124. package/resources/qbd/vendor-credits.d.mts.map +1 -1
  125. package/resources/qbd/vendor-credits.d.ts +28 -0
  126. package/resources/qbd/vendor-credits.d.ts.map +1 -1
  127. package/resources/qbd/vendors.d.mts +16 -0
  128. package/resources/qbd/vendors.d.mts.map +1 -1
  129. package/resources/qbd/vendors.d.ts +16 -0
  130. package/resources/qbd/vendors.d.ts.map +1 -1
  131. package/src/resources/qbd/bill-check-payments.ts +25 -0
  132. package/src/resources/qbd/bill-credit-card-payments.ts +11 -0
  133. package/src/resources/qbd/bills.ts +28 -0
  134. package/src/resources/qbd/build-assemblies.ts +4 -0
  135. package/src/resources/qbd/checks.ts +34 -0
  136. package/src/resources/qbd/credit-card-charges.ts +28 -0
  137. package/src/resources/qbd/credit-card-credits.ts +28 -0
  138. package/src/resources/qbd/credit-card-refunds.ts +5 -0
  139. package/src/resources/qbd/credit-memos.ts +26 -0
  140. package/src/resources/qbd/customers.ts +12 -0
  141. package/src/resources/qbd/deposits.ts +12 -0
  142. package/src/resources/qbd/discount-items.ts +9 -3
  143. package/src/resources/qbd/employees.ts +26 -0
  144. package/src/resources/qbd/estimates.ts +26 -0
  145. package/src/resources/qbd/inventory-adjustments.ts +4 -0
  146. package/src/resources/qbd/inventory-assembly-items.ts +8 -5
  147. package/src/resources/qbd/inventory-items.ts +8 -5
  148. package/src/resources/qbd/inventory-sites.ts +4 -0
  149. package/src/resources/qbd/invoices.ts +32 -0
  150. package/src/resources/qbd/item-receipts.ts +28 -0
  151. package/src/resources/qbd/journal-entries.ts +13 -0
  152. package/src/resources/qbd/other-names.ts +12 -0
  153. package/src/resources/qbd/payroll-wage-items.ts +3 -0
  154. package/src/resources/qbd/price-levels.ts +20 -20
  155. package/src/resources/qbd/purchase-orders.ts +26 -0
  156. package/src/resources/qbd/receive-payments.ts +28 -0
  157. package/src/resources/qbd/sales-orders.ts +26 -0
  158. package/src/resources/qbd/sales-receipts.ts +26 -0
  159. package/src/resources/qbd/time-tracking-activities.ts +6 -0
  160. package/src/resources/qbd/transfers.ts +6 -0
  161. package/src/resources/qbd/vendor-credits.ts +28 -0
  162. package/src/resources/qbd/vendors.ts +16 -0
  163. package/src/version.ts +1 -1
  164. package/version.d.mts +1 -1
  165. package/version.d.ts +1 -1
  166. package/version.js +1 -1
  167. package/version.mjs +1 -1
@@ -1930,6 +1930,8 @@ export interface CreditMemoCreateParams {
1930
1930
  * not required to be unique and can be arbitrarily changed by the QuickBooks user.
1931
1931
  * When left blank in this create request, this field will be left blank in
1932
1932
  * QuickBooks (i.e., it does _not_ auto-increment).
1933
+ *
1934
+ * Maximum length: 11 characters.
1933
1935
  */
1934
1936
  refNumber?: string;
1935
1937
 
@@ -1964,6 +1966,8 @@ export interface CreditMemoCreateParams {
1964
1966
  * goods transfer from seller to buyer. Internally, QuickBooks uses the term "FOB"
1965
1967
  * for this field, which stands for "freight on board". This field is informational
1966
1968
  * and has no accounting implications.
1969
+ *
1970
+ * Maximum length: 13 characters.
1967
1971
  */
1968
1972
  shipmentOrigin?: string;
1969
1973
 
@@ -2148,6 +2152,9 @@ export namespace CreditMemoCreateParams {
2148
2152
  * use them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
2149
2153
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
2150
2154
  * `1` and the suggested `rate`. This field cannot be cleared.
2155
+ *
2156
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2157
+ * to 13 digits before the decimal point (for example, "123.45").
2151
2158
  */
2152
2159
  amount?: string;
2153
2160
 
@@ -2242,6 +2249,9 @@ export namespace CreditMemoCreateParams {
2242
2249
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2243
2250
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2244
2251
  * decimal string. This field cannot be cleared.
2252
+ *
2253
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2254
+ * decimal point (for example, "123.45").
2245
2255
  */
2246
2256
  rate?: string;
2247
2257
 
@@ -2542,6 +2552,8 @@ export interface CreditMemoUpdateParams {
2542
2552
  * Body param: The case-sensitive user-defined reference number for this credit
2543
2553
  * memo, which can be used to identify the transaction in QuickBooks. This value is
2544
2554
  * not required to be unique and can be arbitrarily changed by the QuickBooks user.
2555
+ *
2556
+ * Maximum length: 11 characters.
2545
2557
  */
2546
2558
  refNumber?: string;
2547
2559
 
@@ -2576,6 +2588,8 @@ export interface CreditMemoUpdateParams {
2576
2588
  * goods transfer from seller to buyer. Internally, QuickBooks uses the term "FOB"
2577
2589
  * for this field, which stands for "freight on board". This field is informational
2578
2590
  * and has no accounting implications.
2591
+ *
2592
+ * Maximum length: 13 characters.
2579
2593
  */
2580
2594
  shipmentOrigin?: string;
2581
2595
 
@@ -2760,6 +2774,9 @@ export namespace CreditMemoUpdateParams {
2760
2774
  * use them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
2761
2775
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
2762
2776
  * `1` and the suggested `rate`. This field cannot be cleared.
2777
+ *
2778
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2779
+ * to 13 digits before the decimal point (for example, "123.45").
2763
2780
  */
2764
2781
  amount?: string;
2765
2782
 
@@ -2859,6 +2876,9 @@ export namespace CreditMemoUpdateParams {
2859
2876
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2860
2877
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2861
2878
  * decimal string. This field cannot be cleared.
2879
+ *
2880
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2881
+ * decimal point (for example, "123.45").
2862
2882
  */
2863
2883
  rate?: string;
2864
2884
 
@@ -2916,6 +2936,9 @@ export namespace CreditMemoUpdateParams {
2916
2936
  * use them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
2917
2937
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
2918
2938
  * `1` and the suggested `rate`. This field cannot be cleared.
2939
+ *
2940
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2941
+ * to 13 digits before the decimal point (for example, "123.45").
2919
2942
  */
2920
2943
  amount?: string;
2921
2944
 
@@ -3015,6 +3038,9 @@ export namespace CreditMemoUpdateParams {
3015
3038
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
3016
3039
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
3017
3040
  * decimal string. This field cannot be cleared.
3041
+ *
3042
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
3043
+ * decimal point (for example, "123.45").
3018
3044
  */
3019
3045
  rate?: string;
3020
3046
 
@@ -1124,6 +1124,8 @@ export interface CustomerCreateParams {
1124
1124
 
1125
1125
  /**
1126
1126
  * Body param: The customer's alternate telephone number.
1127
+ *
1128
+ * Maximum length: 21 characters.
1127
1129
  */
1128
1130
  alternatePhone?: string;
1129
1131
 
@@ -1211,6 +1213,8 @@ export interface CustomerCreateParams {
1211
1213
 
1212
1214
  /**
1213
1215
  * Body param: The customer's fax number.
1216
+ *
1217
+ * Maximum length: 21 characters.
1214
1218
  */
1215
1219
  fax?: string;
1216
1220
 
@@ -1310,6 +1314,8 @@ export interface CustomerCreateParams {
1310
1314
 
1311
1315
  /**
1312
1316
  * Body param: The customer's primary telephone number.
1317
+ *
1318
+ * Maximum length: 21 characters.
1313
1319
  */
1314
1320
  phone?: string;
1315
1321
 
@@ -1788,6 +1794,8 @@ export interface CustomerUpdateParams {
1788
1794
 
1789
1795
  /**
1790
1796
  * Body param: The customer's alternate telephone number.
1797
+ *
1798
+ * Maximum length: 21 characters.
1791
1799
  */
1792
1800
  alternatePhone?: string;
1793
1801
 
@@ -1865,6 +1873,8 @@ export interface CustomerUpdateParams {
1865
1873
 
1866
1874
  /**
1867
1875
  * Body param: The customer's fax number.
1876
+ *
1877
+ * Maximum length: 21 characters.
1868
1878
  */
1869
1879
  fax?: string;
1870
1880
 
@@ -1964,6 +1974,8 @@ export interface CustomerUpdateParams {
1964
1974
 
1965
1975
  /**
1966
1976
  * Body param: The customer's primary telephone number.
1977
+ *
1978
+ * Maximum length: 21 characters.
1967
1979
  */
1968
1980
  phone?: string;
1969
1981
 
@@ -698,6 +698,9 @@ export namespace DepositCreateParams {
698
698
  /**
699
699
  * The cash-back amount taken out of the deposit and recorded to this deposit
700
700
  * cash-back line's account, represented as a decimal string.
701
+ *
702
+ * Decimal string format: exactly 2 decimal places when cents are included and up
703
+ * to 13 digits before the decimal point (for example, "123.45").
701
704
  */
702
705
  amount?: string;
703
706
 
@@ -718,6 +721,9 @@ export namespace DepositCreateParams {
718
721
  /**
719
722
  * For a manual deposit line, the amount transferred from the line's account into
720
723
  * the deposit's destination account, represented as a decimal string.
724
+ *
725
+ * Decimal string format: exactly 2 decimal places when cents are included and up
726
+ * to 13 digits before the decimal point (for example, "123.45").
721
727
  */
722
728
  amount?: string;
723
729
 
@@ -882,6 +888,9 @@ export namespace DepositUpdateParams {
882
888
  /**
883
889
  * The cash-back amount taken out of the deposit and recorded to this deposit
884
890
  * cash-back line's account, represented as a decimal string.
891
+ *
892
+ * Decimal string format: exactly 2 decimal places when cents are included and up
893
+ * to 13 digits before the decimal point (for example, "123.45").
885
894
  */
886
895
  amount?: string;
887
896
 
@@ -910,6 +919,9 @@ export namespace DepositUpdateParams {
910
919
  /**
911
920
  * For a manual deposit line, the amount transferred from the line's account into
912
921
  * the deposit's destination account, represented as a decimal string.
922
+ *
923
+ * Decimal string format: exactly 2 decimal places when cents are included and up
924
+ * to 13 digits before the decimal point (for example, "123.45").
913
925
  */
914
926
  amount?: string;
915
927
 
@@ -163,7 +163,7 @@ export interface DiscountItem {
163
163
 
164
164
  /**
165
165
  * The monetary amount to subtract from the total or subtotal when applying this
166
- * discount item to a transaction.
166
+ * discount item to a transaction, represented as a decimal string.
167
167
  *
168
168
  * **NOTE**: A flat rate discount applies to ALL lines recorded above it and
169
169
  * distributes the discount amount equally across those lines, which affects tax
@@ -436,13 +436,16 @@ export interface DiscountItemCreateParams {
436
436
 
437
437
  /**
438
438
  * Body param: The monetary amount to subtract from the total or subtotal when
439
- * applying this discount item to a transaction.
439
+ * applying this discount item to a transaction, represented as a decimal string.
440
440
  *
441
441
  * **NOTE**: A flat rate discount applies to ALL lines recorded above it and
442
442
  * distributes the discount amount equally across those lines, which affects tax
443
443
  * calculations. For example, a $10 discount applied to a $100 taxable item and
444
444
  * $100 non-taxable item would result in a $5 taxable discount and $5 non-taxable
445
445
  * discount.
446
+ *
447
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
448
+ * decimal point (for example, "123.45").
446
449
  */
447
450
  discountRate?: string;
448
451
 
@@ -561,13 +564,16 @@ export interface DiscountItemUpdateParams {
561
564
 
562
565
  /**
563
566
  * Body param: The monetary amount to subtract from the total or subtotal when
564
- * applying this discount item to a transaction.
567
+ * applying this discount item to a transaction, represented as a decimal string.
565
568
  *
566
569
  * **NOTE**: A flat rate discount applies to ALL lines recorded above it and
567
570
  * distributes the discount amount equally across those lines, which affects tax
568
571
  * calculations. For example, a $10 discount applied to a $100 taxable item and
569
572
  * $100 non-taxable item would result in a $5 taxable discount and $5 non-taxable
570
573
  * discount.
574
+ *
575
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
576
+ * decimal point (for example, "123.45").
571
577
  */
572
578
  discountRate?: string;
573
579
 
@@ -926,6 +926,8 @@ export interface EmployeeCreateParams {
926
926
 
927
927
  /**
928
928
  * Body param: The employee's alternate telephone number.
929
+ *
930
+ * Maximum length: 21 characters.
929
931
  */
930
932
  alternatePhone?: string;
931
933
 
@@ -1014,6 +1016,8 @@ export interface EmployeeCreateParams {
1014
1016
 
1015
1017
  /**
1016
1018
  * Body param: The employee's fax number.
1019
+ *
1020
+ * Maximum length: 21 characters.
1017
1021
  */
1018
1022
  fax?: string;
1019
1023
 
@@ -1076,6 +1080,8 @@ export interface EmployeeCreateParams {
1076
1080
 
1077
1081
  /**
1078
1082
  * Body param: The employee's mobile phone number.
1083
+ *
1084
+ * Maximum length: 21 characters.
1079
1085
  */
1080
1086
  mobile?: string;
1081
1087
 
@@ -1098,6 +1104,8 @@ export interface EmployeeCreateParams {
1098
1104
 
1099
1105
  /**
1100
1106
  * Body param: The employee's pager number.
1107
+ *
1108
+ * Maximum length: 21 characters.
1101
1109
  */
1102
1110
  pager?: string;
1103
1111
 
@@ -1108,6 +1116,8 @@ export interface EmployeeCreateParams {
1108
1116
 
1109
1117
  /**
1110
1118
  * Body param: The employee's primary telephone number.
1119
+ *
1120
+ * Maximum length: 21 characters.
1111
1121
  */
1112
1122
  phone?: string;
1113
1123
 
@@ -1436,6 +1446,9 @@ export namespace EmployeeCreateParams {
1436
1446
 
1437
1447
  /**
1438
1448
  * The hourly rate for this employee, represented as a decimal string.
1449
+ *
1450
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
1451
+ * decimal point (for example, "123.45").
1439
1452
  */
1440
1453
  rate?: string;
1441
1454
 
@@ -1603,6 +1616,8 @@ export interface EmployeeUpdateParams {
1603
1616
 
1604
1617
  /**
1605
1618
  * Body param: The employee's alternate telephone number.
1619
+ *
1620
+ * Maximum length: 21 characters.
1606
1621
  */
1607
1622
  alternatePhone?: string;
1608
1623
 
@@ -1681,6 +1696,8 @@ export interface EmployeeUpdateParams {
1681
1696
 
1682
1697
  /**
1683
1698
  * Body param: The employee's fax number.
1699
+ *
1700
+ * Maximum length: 21 characters.
1684
1701
  */
1685
1702
  fax?: string;
1686
1703
 
@@ -1738,6 +1755,8 @@ export interface EmployeeUpdateParams {
1738
1755
 
1739
1756
  /**
1740
1757
  * Body param: The employee's mobile phone number.
1758
+ *
1759
+ * Maximum length: 21 characters.
1741
1760
  */
1742
1761
  mobile?: string;
1743
1762
 
@@ -1760,6 +1779,8 @@ export interface EmployeeUpdateParams {
1760
1779
 
1761
1780
  /**
1762
1781
  * Body param: The employee's pager number.
1782
+ *
1783
+ * Maximum length: 21 characters.
1763
1784
  */
1764
1785
  pager?: string;
1765
1786
 
@@ -1770,6 +1791,8 @@ export interface EmployeeUpdateParams {
1770
1791
 
1771
1792
  /**
1772
1793
  * Body param: The employee's primary telephone number.
1794
+ *
1795
+ * Maximum length: 21 characters.
1773
1796
  */
1774
1797
  phone?: string;
1775
1798
 
@@ -2107,6 +2130,9 @@ export namespace EmployeeUpdateParams {
2107
2130
 
2108
2131
  /**
2109
2132
  * The hourly rate for this employee, represented as a decimal string.
2133
+ *
2134
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2135
+ * decimal point (for example, "123.45").
2110
2136
  */
2111
2137
  rate?: string;
2112
2138
 
@@ -1741,6 +1741,8 @@ export interface EstimateCreateParams {
1741
1741
  * required to be unique and can be arbitrarily changed by the QuickBooks user.
1742
1742
  * When left blank in this create request, this field will be left blank in
1743
1743
  * QuickBooks (i.e., it does _not_ auto-increment).
1744
+ *
1745
+ * Maximum length: 11 characters.
1744
1746
  */
1745
1747
  refNumber?: string;
1746
1748
 
@@ -1775,6 +1777,8 @@ export interface EstimateCreateParams {
1775
1777
  * goods transfer from seller to buyer. Internally, QuickBooks uses the term "FOB"
1776
1778
  * for this field, which stands for "freight on board". This field is informational
1777
1779
  * and has no accounting implications.
1780
+ *
1781
+ * Maximum length: 13 characters.
1778
1782
  */
1779
1783
  shipmentOrigin?: string;
1780
1784
 
@@ -1943,6 +1947,9 @@ export namespace EstimateCreateParams {
1943
1947
  * `markupRatePercent` is provided. If `amount`, `rate`, and `quantity` are all
1944
1948
  * unspecified, QuickBooks will calculate `amount` based on a `quantity` of `1` and
1945
1949
  * the suggested `rate`. This field cannot be cleared.
1950
+ *
1951
+ * Decimal string format: exactly 2 decimal places when cents are included and up
1952
+ * to 13 digits before the decimal point (for example, "123.45").
1946
1953
  */
1947
1954
  amount?: string;
1948
1955
 
@@ -2050,6 +2057,9 @@ export namespace EstimateCreateParams {
2050
2057
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2051
2058
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2052
2059
  * decimal string. This field cannot be cleared.
2060
+ *
2061
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2062
+ * decimal point (for example, "123.45").
2053
2063
  */
2054
2064
  rate?: string;
2055
2065
 
@@ -2330,6 +2340,8 @@ export interface EstimateUpdateParams {
2330
2340
  * Body param: The case-sensitive user-defined reference number for this estimate,
2331
2341
  * which can be used to identify the transaction in QuickBooks. This value is not
2332
2342
  * required to be unique and can be arbitrarily changed by the QuickBooks user.
2343
+ *
2344
+ * Maximum length: 11 characters.
2333
2345
  */
2334
2346
  refNumber?: string;
2335
2347
 
@@ -2364,6 +2376,8 @@ export interface EstimateUpdateParams {
2364
2376
  * goods transfer from seller to buyer. Internally, QuickBooks uses the term "FOB"
2365
2377
  * for this field, which stands for "freight on board". This field is informational
2366
2378
  * and has no accounting implications.
2379
+ *
2380
+ * Maximum length: 13 characters.
2367
2381
  */
2368
2382
  shipmentOrigin?: string;
2369
2383
 
@@ -2539,6 +2553,9 @@ export namespace EstimateUpdateParams {
2539
2553
  * `markupRatePercent` is provided. If `amount`, `rate`, and `quantity` are all
2540
2554
  * unspecified, QuickBooks will calculate `amount` based on a `quantity` of `1` and
2541
2555
  * the suggested `rate`. This field cannot be cleared.
2556
+ *
2557
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2558
+ * to 13 digits before the decimal point (for example, "123.45").
2542
2559
  */
2543
2560
  amount?: string;
2544
2561
 
@@ -2645,6 +2662,9 @@ export namespace EstimateUpdateParams {
2645
2662
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2646
2663
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2647
2664
  * decimal string. This field cannot be cleared.
2665
+ *
2666
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2667
+ * decimal point (for example, "123.45").
2648
2668
  */
2649
2669
  rate?: string;
2650
2670
 
@@ -2692,6 +2712,9 @@ export namespace EstimateUpdateParams {
2692
2712
  * `markupRatePercent` is provided. If `amount`, `rate`, and `quantity` are all
2693
2713
  * unspecified, QuickBooks will calculate `amount` based on a `quantity` of `1` and
2694
2714
  * the suggested `rate`. This field cannot be cleared.
2715
+ *
2716
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2717
+ * to 13 digits before the decimal point (for example, "123.45").
2695
2718
  */
2696
2719
  amount?: string;
2697
2720
 
@@ -2798,6 +2821,9 @@ export namespace EstimateUpdateParams {
2798
2821
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2799
2822
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2800
2823
  * decimal string. This field cannot be cleared.
2824
+ *
2825
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2826
+ * decimal point (for example, "123.45").
2801
2827
  */
2802
2828
  rate?: string;
2803
2829
 
@@ -641,6 +641,8 @@ export interface InventoryAdjustmentCreateParams {
641
641
  * value is not required to be unique and can be arbitrarily changed by the
642
642
  * QuickBooks user. When left blank in this create request, this field will be left
643
643
  * blank in QuickBooks (i.e., it does _not_ auto-increment).
644
+ *
645
+ * Maximum length: 11 characters.
644
646
  */
645
647
  refNumber?: string;
646
648
  }
@@ -901,6 +903,8 @@ export interface InventoryAdjustmentUpdateParams {
901
903
  * adjustment, which can be used to identify the transaction in QuickBooks. This
902
904
  * value is not required to be unique and can be arbitrarily changed by the
903
905
  * QuickBooks user.
906
+ *
907
+ * Maximum length: 11 characters.
904
908
  */
905
909
  refNumber?: string;
906
910
 
@@ -780,11 +780,14 @@ export interface InventoryAssemblyItemCreateParams {
780
780
  salesTaxCodeId?: string;
781
781
 
782
782
  /**
783
- * Body param: The total value of this inventory assembly item. If `totalValue` is
784
- * provided, `quantityOnHand` must also be provided and must be greater than zero.
785
- * If both `quantityOnHand` and `purchaseCost` are provided, then `totalValue` will
786
- * be set to `quantityOnHand` times `purchaseCost`, regardless of what `totalValue`
787
- * is explicitly set to.
783
+ * Body param: The total value of this inventory assembly item, represented as a
784
+ * decimal string. If `totalValue` is provided, `quantityOnHand` must also be
785
+ * provided and must be greater than zero. If both `quantityOnHand` and
786
+ * `purchaseCost` are provided, then `totalValue` will be set to `quantityOnHand`
787
+ * times `purchaseCost`, regardless of what `totalValue` is explicitly set to.
788
+ *
789
+ * Decimal string format: exactly 2 decimal places when cents are included and up
790
+ * to 13 digits before the decimal point (for example, "123.45").
788
791
  */
789
792
  totalValue?: string;
790
793
 
@@ -709,11 +709,14 @@ export interface InventoryItemCreateParams {
709
709
  sku?: string;
710
710
 
711
711
  /**
712
- * Body param: The total value of this inventory item. If `totalValue` is provided,
713
- * `quantityOnHand` must also be provided and must be greater than zero. If both
714
- * `quantityOnHand` and `purchaseCost` are provided, then `totalValue` will be set
715
- * to `quantityOnHand` times `purchaseCost`, regardless of what `totalValue` is
716
- * explicitly set to.
712
+ * Body param: The total value of this inventory item, represented as a decimal
713
+ * string. If `totalValue` is provided, `quantityOnHand` must also be provided and
714
+ * must be greater than zero. If both `quantityOnHand` and `purchaseCost` are
715
+ * provided, then `totalValue` will be set to `quantityOnHand` times
716
+ * `purchaseCost`, regardless of what `totalValue` is explicitly set to.
717
+ *
718
+ * Decimal string format: exactly 2 decimal places when cents are included and up
719
+ * to 13 digits before the decimal point (for example, "123.45").
717
720
  */
718
721
  totalValue?: string;
719
722
 
@@ -444,6 +444,8 @@ export interface InventorySiteUpdateParams {
444
444
 
445
445
  /**
446
446
  * Body param: The inventory site's fax number.
447
+ *
448
+ * Maximum length: 21 characters.
447
449
  */
448
450
  fax?: string;
449
451
 
@@ -472,6 +474,8 @@ export interface InventorySiteUpdateParams {
472
474
 
473
475
  /**
474
476
  * Body param: The inventory site's primary telephone number.
477
+ *
478
+ * Maximum length: 21 characters.
475
479
  */
476
480
  phone?: string;
477
481
  }
@@ -2004,6 +2004,8 @@ export interface InvoiceCreateParams {
2004
2004
  * required to be unique and can be arbitrarily changed by the QuickBooks user.
2005
2005
  * When left blank in this create request, this field will be left blank in
2006
2006
  * QuickBooks (i.e., it does _not_ auto-increment).
2007
+ *
2008
+ * Maximum length: 11 characters.
2007
2009
  */
2008
2010
  refNumber?: string;
2009
2011
 
@@ -2048,6 +2050,8 @@ export interface InvoiceCreateParams {
2048
2050
  * transfer from seller to buyer. Internally, QuickBooks uses the term "FOB" for
2049
2051
  * this field, which stands for "freight on board". This field is informational and
2050
2052
  * has no accounting implications.
2053
+ *
2054
+ * Maximum length: 13 characters.
2051
2055
  */
2052
2056
  shipmentOrigin?: string;
2053
2057
 
@@ -2080,6 +2084,9 @@ export namespace InvoiceCreateParams {
2080
2084
  /**
2081
2085
  * The amount of credit applied to this transaction. This could include customer
2082
2086
  * deposits, payments, or credits. Represented as a decimal string.
2087
+ *
2088
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2089
+ * to 13 digits before the decimal point (for example, "123.45").
2083
2090
  */
2084
2091
  appliedAmount: string;
2085
2092
 
@@ -2251,6 +2258,9 @@ export namespace InvoiceCreateParams {
2251
2258
  * them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
2252
2259
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
2253
2260
  * `1` and the suggested `rate`. This field cannot be cleared.
2261
+ *
2262
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2263
+ * to 13 digits before the decimal point (for example, "123.45").
2254
2264
  */
2255
2265
  amount?: string;
2256
2266
 
@@ -2384,6 +2394,9 @@ export namespace InvoiceCreateParams {
2384
2394
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
2385
2395
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
2386
2396
  * decimal string. This field cannot be cleared.
2397
+ *
2398
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
2399
+ * decimal point (for example, "123.45").
2387
2400
  */
2388
2401
  rate?: string;
2389
2402
 
@@ -2740,6 +2753,8 @@ export interface InvoiceUpdateParams {
2740
2753
  * Body param: The case-sensitive user-defined reference number for this invoice,
2741
2754
  * which can be used to identify the transaction in QuickBooks. This value is not
2742
2755
  * required to be unique and can be arbitrarily changed by the QuickBooks user.
2756
+ *
2757
+ * Maximum length: 11 characters.
2743
2758
  */
2744
2759
  refNumber?: string;
2745
2760
 
@@ -2784,6 +2799,8 @@ export interface InvoiceUpdateParams {
2784
2799
  * transfer from seller to buyer. Internally, QuickBooks uses the term "FOB" for
2785
2800
  * this field, which stands for "freight on board". This field is informational and
2786
2801
  * has no accounting implications.
2802
+ *
2803
+ * Maximum length: 13 characters.
2787
2804
  */
2788
2805
  shipmentOrigin?: string;
2789
2806
 
@@ -2821,6 +2838,9 @@ export namespace InvoiceUpdateParams {
2821
2838
  /**
2822
2839
  * The amount of credit applied to this transaction. This could include customer
2823
2840
  * deposits, payments, or credits. Represented as a decimal string.
2841
+ *
2842
+ * Decimal string format: exactly 2 decimal places when cents are included and up
2843
+ * to 13 digits before the decimal point (for example, "123.45").
2824
2844
  */
2825
2845
  appliedAmount: string;
2826
2846
 
@@ -2987,6 +3007,9 @@ export namespace InvoiceUpdateParams {
2987
3007
  * them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
2988
3008
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
2989
3009
  * `1` and the suggested `rate`. This field cannot be cleared.
3010
+ *
3011
+ * Decimal string format: exactly 2 decimal places when cents are included and up
3012
+ * to 13 digits before the decimal point (for example, "123.45").
2990
3013
  */
2991
3014
  amount?: string;
2992
3015
 
@@ -3092,6 +3115,9 @@ export namespace InvoiceUpdateParams {
3092
3115
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
3093
3116
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
3094
3117
  * decimal string. This field cannot be cleared.
3118
+ *
3119
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
3120
+ * decimal point (for example, "123.45").
3095
3121
  */
3096
3122
  rate?: string;
3097
3123
 
@@ -3148,6 +3174,9 @@ export namespace InvoiceUpdateParams {
3148
3174
  * them to calculate `amount`. If `amount`, `rate`, and `quantity` are all
3149
3175
  * unspecified, then QuickBooks will calculate `amount` based on a `quantity` of
3150
3176
  * `1` and the suggested `rate`. This field cannot be cleared.
3177
+ *
3178
+ * Decimal string format: exactly 2 decimal places when cents are included and up
3179
+ * to 13 digits before the decimal point (for example, "123.45").
3151
3180
  */
3152
3181
  amount?: string;
3153
3182
 
@@ -3253,6 +3282,9 @@ export namespace InvoiceUpdateParams {
3253
3282
  * specified, `rate` will be ignored. If both `quantity` and `amount` are specified
3254
3283
  * but not `rate`, QuickBooks will use them to calculate `rate`. Represented as a
3255
3284
  * decimal string. This field cannot be cleared.
3285
+ *
3286
+ * Decimal string format: up to 5 decimal places and up to 10 digits before the
3287
+ * decimal point (for example, "123.45").
3256
3288
  */
3257
3289
  rate?: string;
3258
3290