conductor-node 12.9.0 → 12.10.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 (248) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +11 -9
  3. package/package.json +1 -1
  4. package/resources/auth-sessions.d.ts +1 -1
  5. package/resources/auth-sessions.js +1 -1
  6. package/resources/auth-sessions.mjs +1 -1
  7. package/resources/end-users.d.ts +5 -5
  8. package/resources/end-users.js +4 -4
  9. package/resources/end-users.mjs +4 -4
  10. package/resources/qbd/account-tax-lines.d.ts +1 -1
  11. package/resources/qbd/account-tax-lines.js +1 -1
  12. package/resources/qbd/account-tax-lines.mjs +1 -1
  13. package/resources/qbd/accounts.d.ts +4 -4
  14. package/resources/qbd/accounts.js +4 -4
  15. package/resources/qbd/accounts.mjs +4 -4
  16. package/resources/qbd/bill-check-payments.d.ts +5 -5
  17. package/resources/qbd/bill-check-payments.js +5 -5
  18. package/resources/qbd/bill-check-payments.mjs +5 -5
  19. package/resources/qbd/bill-credit-card-payments.d.ts +4 -4
  20. package/resources/qbd/bill-credit-card-payments.js +4 -4
  21. package/resources/qbd/bill-credit-card-payments.mjs +4 -4
  22. package/resources/qbd/bills.d.ts +5 -5
  23. package/resources/qbd/bills.js +5 -5
  24. package/resources/qbd/bills.mjs +5 -5
  25. package/resources/qbd/checks.d.ts +5 -5
  26. package/resources/qbd/checks.js +5 -5
  27. package/resources/qbd/checks.mjs +5 -5
  28. package/resources/qbd/classes.d.ts +4 -4
  29. package/resources/qbd/classes.js +4 -4
  30. package/resources/qbd/classes.mjs +4 -4
  31. package/resources/qbd/company.d.ts +1 -1
  32. package/resources/qbd/company.js +1 -1
  33. package/resources/qbd/company.mjs +1 -1
  34. package/resources/qbd/credit-card-charges.d.ts +5 -5
  35. package/resources/qbd/credit-card-charges.js +5 -5
  36. package/resources/qbd/credit-card-charges.mjs +5 -5
  37. package/resources/qbd/credit-card-credits.d.ts +5 -5
  38. package/resources/qbd/credit-card-credits.js +5 -5
  39. package/resources/qbd/credit-card-credits.mjs +5 -5
  40. package/resources/qbd/credit-memos.d.ts +7 -7
  41. package/resources/qbd/credit-memos.js +7 -7
  42. package/resources/qbd/credit-memos.mjs +7 -7
  43. package/resources/qbd/customers.d.ts +4 -4
  44. package/resources/qbd/customers.js +4 -4
  45. package/resources/qbd/customers.mjs +4 -4
  46. package/resources/qbd/date-driven-terms.d.ts +3 -3
  47. package/resources/qbd/date-driven-terms.js +3 -3
  48. package/resources/qbd/date-driven-terms.mjs +3 -3
  49. package/resources/qbd/discount-items.d.ts +16 -14
  50. package/resources/qbd/discount-items.d.ts.map +1 -1
  51. package/resources/qbd/discount-items.js +16 -14
  52. package/resources/qbd/discount-items.js.map +1 -1
  53. package/resources/qbd/discount-items.mjs +16 -14
  54. package/resources/qbd/discount-items.mjs.map +1 -1
  55. package/resources/qbd/employees.d.ts +4 -4
  56. package/resources/qbd/employees.js +4 -4
  57. package/resources/qbd/employees.mjs +4 -4
  58. package/resources/qbd/estimates.d.ts +5 -5
  59. package/resources/qbd/estimates.js +5 -5
  60. package/resources/qbd/estimates.mjs +5 -5
  61. package/resources/qbd/inventory-adjustments.d.ts +5 -5
  62. package/resources/qbd/inventory-adjustments.js +5 -5
  63. package/resources/qbd/inventory-adjustments.mjs +5 -5
  64. package/resources/qbd/inventory-assembly-items.d.ts +4 -4
  65. package/resources/qbd/inventory-assembly-items.js +4 -4
  66. package/resources/qbd/inventory-assembly-items.mjs +4 -4
  67. package/resources/qbd/inventory-items.d.ts +4 -4
  68. package/resources/qbd/inventory-items.js +4 -4
  69. package/resources/qbd/inventory-items.mjs +4 -4
  70. package/resources/qbd/inventory-sites.d.ts +7 -6
  71. package/resources/qbd/inventory-sites.d.ts.map +1 -1
  72. package/resources/qbd/inventory-sites.js +7 -6
  73. package/resources/qbd/inventory-sites.js.map +1 -1
  74. package/resources/qbd/inventory-sites.mjs +7 -6
  75. package/resources/qbd/inventory-sites.mjs.map +1 -1
  76. package/resources/qbd/invoices.d.ts +5 -5
  77. package/resources/qbd/invoices.js +5 -5
  78. package/resources/qbd/invoices.mjs +5 -5
  79. package/resources/qbd/item-groups.d.ts +6 -6
  80. package/resources/qbd/item-groups.js +6 -6
  81. package/resources/qbd/item-groups.mjs +6 -6
  82. package/resources/qbd/item-receipts.d.ts +15 -12
  83. package/resources/qbd/item-receipts.d.ts.map +1 -1
  84. package/resources/qbd/item-receipts.js +15 -12
  85. package/resources/qbd/item-receipts.js.map +1 -1
  86. package/resources/qbd/item-receipts.mjs +15 -12
  87. package/resources/qbd/item-receipts.mjs.map +1 -1
  88. package/resources/qbd/item-sites.d.ts +2 -2
  89. package/resources/qbd/item-sites.js +2 -2
  90. package/resources/qbd/item-sites.mjs +2 -2
  91. package/resources/qbd/journal-entries.d.ts +18 -17
  92. package/resources/qbd/journal-entries.d.ts.map +1 -1
  93. package/resources/qbd/journal-entries.js +18 -17
  94. package/resources/qbd/journal-entries.js.map +1 -1
  95. package/resources/qbd/journal-entries.mjs +18 -17
  96. package/resources/qbd/journal-entries.mjs.map +1 -1
  97. package/resources/qbd/non-inventory-items.d.ts +4 -4
  98. package/resources/qbd/non-inventory-items.js +4 -4
  99. package/resources/qbd/non-inventory-items.mjs +4 -4
  100. package/resources/qbd/other-names.d.ts +4 -4
  101. package/resources/qbd/other-names.js +4 -4
  102. package/resources/qbd/other-names.mjs +4 -4
  103. package/resources/qbd/payment-methods.d.ts +6 -5
  104. package/resources/qbd/payment-methods.d.ts.map +1 -1
  105. package/resources/qbd/payment-methods.js +6 -5
  106. package/resources/qbd/payment-methods.js.map +1 -1
  107. package/resources/qbd/payment-methods.mjs +6 -5
  108. package/resources/qbd/payment-methods.mjs.map +1 -1
  109. package/resources/qbd/payroll-wage-items.d.ts +3 -3
  110. package/resources/qbd/payroll-wage-items.js +3 -3
  111. package/resources/qbd/payroll-wage-items.mjs +3 -3
  112. package/resources/qbd/preferences.d.ts +4 -3
  113. package/resources/qbd/preferences.d.ts.map +1 -1
  114. package/resources/qbd/preferences.js +4 -3
  115. package/resources/qbd/preferences.js.map +1 -1
  116. package/resources/qbd/preferences.mjs +4 -3
  117. package/resources/qbd/preferences.mjs.map +1 -1
  118. package/resources/qbd/price-levels.d.ts +4 -4
  119. package/resources/qbd/price-levels.js +4 -4
  120. package/resources/qbd/price-levels.mjs +4 -4
  121. package/resources/qbd/purchase-orders.d.ts +5 -5
  122. package/resources/qbd/purchase-orders.js +5 -5
  123. package/resources/qbd/purchase-orders.mjs +5 -5
  124. package/resources/qbd/qbd.d.ts +1 -1
  125. package/resources/qbd/qbd.js +1 -1
  126. package/resources/qbd/qbd.mjs +1 -1
  127. package/resources/qbd/receive-payments.d.ts +5 -5
  128. package/resources/qbd/receive-payments.js +5 -5
  129. package/resources/qbd/receive-payments.mjs +5 -5
  130. package/resources/qbd/sales-orders.d.ts +7 -7
  131. package/resources/qbd/sales-orders.js +7 -7
  132. package/resources/qbd/sales-orders.mjs +7 -7
  133. package/resources/qbd/sales-receipts.d.ts +21 -18
  134. package/resources/qbd/sales-receipts.d.ts.map +1 -1
  135. package/resources/qbd/sales-receipts.js +21 -18
  136. package/resources/qbd/sales-receipts.js.map +1 -1
  137. package/resources/qbd/sales-receipts.mjs +21 -18
  138. package/resources/qbd/sales-receipts.mjs.map +1 -1
  139. package/resources/qbd/sales-representatives.d.ts +4 -4
  140. package/resources/qbd/sales-representatives.js +4 -4
  141. package/resources/qbd/sales-representatives.mjs +4 -4
  142. package/resources/qbd/sales-tax-codes.d.ts +19 -16
  143. package/resources/qbd/sales-tax-codes.d.ts.map +1 -1
  144. package/resources/qbd/sales-tax-codes.js +19 -16
  145. package/resources/qbd/sales-tax-codes.js.map +1 -1
  146. package/resources/qbd/sales-tax-codes.mjs +19 -16
  147. package/resources/qbd/sales-tax-codes.mjs.map +1 -1
  148. package/resources/qbd/sales-tax-items.d.ts +15 -13
  149. package/resources/qbd/sales-tax-items.d.ts.map +1 -1
  150. package/resources/qbd/sales-tax-items.js +15 -13
  151. package/resources/qbd/sales-tax-items.js.map +1 -1
  152. package/resources/qbd/sales-tax-items.mjs +15 -13
  153. package/resources/qbd/sales-tax-items.mjs.map +1 -1
  154. package/resources/qbd/service-items.d.ts +13 -10
  155. package/resources/qbd/service-items.d.ts.map +1 -1
  156. package/resources/qbd/service-items.js +13 -10
  157. package/resources/qbd/service-items.js.map +1 -1
  158. package/resources/qbd/service-items.mjs +13 -10
  159. package/resources/qbd/service-items.mjs.map +1 -1
  160. package/resources/qbd/standard-terms.d.ts +10 -8
  161. package/resources/qbd/standard-terms.d.ts.map +1 -1
  162. package/resources/qbd/standard-terms.js +10 -8
  163. package/resources/qbd/standard-terms.js.map +1 -1
  164. package/resources/qbd/standard-terms.mjs +10 -8
  165. package/resources/qbd/standard-terms.mjs.map +1 -1
  166. package/resources/qbd/subtotal-items.d.ts +15 -13
  167. package/resources/qbd/subtotal-items.d.ts.map +1 -1
  168. package/resources/qbd/subtotal-items.js +15 -13
  169. package/resources/qbd/subtotal-items.js.map +1 -1
  170. package/resources/qbd/subtotal-items.mjs +15 -13
  171. package/resources/qbd/subtotal-items.mjs.map +1 -1
  172. package/resources/qbd/time-tracking-activities.d.ts +5 -5
  173. package/resources/qbd/time-tracking-activities.js +5 -5
  174. package/resources/qbd/time-tracking-activities.mjs +5 -5
  175. package/resources/qbd/transactions.d.ts +6 -5
  176. package/resources/qbd/transactions.d.ts.map +1 -1
  177. package/resources/qbd/transactions.js +6 -5
  178. package/resources/qbd/transactions.js.map +1 -1
  179. package/resources/qbd/transactions.mjs +6 -5
  180. package/resources/qbd/transactions.mjs.map +1 -1
  181. package/resources/qbd/transfers.d.ts +4 -4
  182. package/resources/qbd/transfers.js +4 -4
  183. package/resources/qbd/transfers.mjs +4 -4
  184. package/resources/qbd/vendor-credits.d.ts +21 -18
  185. package/resources/qbd/vendor-credits.d.ts.map +1 -1
  186. package/resources/qbd/vendor-credits.js +21 -18
  187. package/resources/qbd/vendor-credits.js.map +1 -1
  188. package/resources/qbd/vendor-credits.mjs +21 -18
  189. package/resources/qbd/vendor-credits.mjs.map +1 -1
  190. package/resources/qbd/vendors.d.ts +4 -4
  191. package/resources/qbd/vendors.js +4 -4
  192. package/resources/qbd/vendors.mjs +4 -4
  193. package/src/resources/auth-sessions.ts +1 -1
  194. package/src/resources/end-users.ts +5 -5
  195. package/src/resources/qbd/account-tax-lines.ts +1 -1
  196. package/src/resources/qbd/accounts.ts +4 -4
  197. package/src/resources/qbd/bill-check-payments.ts +5 -5
  198. package/src/resources/qbd/bill-credit-card-payments.ts +4 -4
  199. package/src/resources/qbd/bills.ts +5 -5
  200. package/src/resources/qbd/checks.ts +5 -5
  201. package/src/resources/qbd/classes.ts +4 -4
  202. package/src/resources/qbd/company.ts +1 -1
  203. package/src/resources/qbd/credit-card-charges.ts +5 -5
  204. package/src/resources/qbd/credit-card-credits.ts +5 -5
  205. package/src/resources/qbd/credit-memos.ts +7 -7
  206. package/src/resources/qbd/customers.ts +4 -4
  207. package/src/resources/qbd/date-driven-terms.ts +3 -3
  208. package/src/resources/qbd/discount-items.ts +16 -14
  209. package/src/resources/qbd/employees.ts +4 -4
  210. package/src/resources/qbd/estimates.ts +5 -5
  211. package/src/resources/qbd/inventory-adjustments.ts +5 -5
  212. package/src/resources/qbd/inventory-assembly-items.ts +4 -4
  213. package/src/resources/qbd/inventory-items.ts +4 -4
  214. package/src/resources/qbd/inventory-sites.ts +7 -6
  215. package/src/resources/qbd/invoices.ts +5 -5
  216. package/src/resources/qbd/item-groups.ts +6 -6
  217. package/src/resources/qbd/item-receipts.ts +15 -12
  218. package/src/resources/qbd/item-sites.ts +2 -2
  219. package/src/resources/qbd/journal-entries.ts +18 -17
  220. package/src/resources/qbd/non-inventory-items.ts +4 -4
  221. package/src/resources/qbd/other-names.ts +4 -4
  222. package/src/resources/qbd/payment-methods.ts +6 -5
  223. package/src/resources/qbd/payroll-wage-items.ts +3 -3
  224. package/src/resources/qbd/preferences.ts +4 -3
  225. package/src/resources/qbd/price-levels.ts +4 -4
  226. package/src/resources/qbd/purchase-orders.ts +5 -5
  227. package/src/resources/qbd/qbd.ts +1 -1
  228. package/src/resources/qbd/receive-payments.ts +5 -5
  229. package/src/resources/qbd/sales-orders.ts +7 -7
  230. package/src/resources/qbd/sales-receipts.ts +21 -18
  231. package/src/resources/qbd/sales-representatives.ts +4 -4
  232. package/src/resources/qbd/sales-tax-codes.ts +19 -16
  233. package/src/resources/qbd/sales-tax-items.ts +15 -13
  234. package/src/resources/qbd/service-items.ts +13 -10
  235. package/src/resources/qbd/standard-terms.ts +10 -8
  236. package/src/resources/qbd/subtotal-items.ts +15 -13
  237. package/src/resources/qbd/time-tracking-activities.ts +5 -5
  238. package/src/resources/qbd/transactions.ts +6 -5
  239. package/src/resources/qbd/transfers.ts +4 -4
  240. package/src/resources/qbd/vendor-credits.ts +21 -18
  241. package/src/resources/qbd/vendors.ts +4 -4
  242. package/src/version.ts +1 -1
  243. package/version.d.ts +1 -1
  244. package/version.d.ts.map +1 -1
  245. package/version.js +1 -1
  246. package/version.js.map +1 -1
  247. package/version.mjs +1 -1
  248. package/version.mjs.map +1 -1
@@ -9,7 +9,7 @@ export class Classes extends APIResource {
9
9
  *
10
10
  * @example
11
11
  * ```ts
12
- * const _class = await client.qbd.classes.create({
12
+ * const _class = await conductor.qbd.classes.create({
13
13
  * name: 'Marketing',
14
14
  * conductorEndUserId: 'end_usr_1234567abcdefg',
15
15
  * });
@@ -29,7 +29,7 @@ export class Classes extends APIResource {
29
29
  *
30
30
  * @example
31
31
  * ```ts
32
- * const _class = await client.qbd.classes.retrieve(
32
+ * const _class = await conductor.qbd.classes.retrieve(
33
33
  * '80000001-1234567890',
34
34
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
35
35
  * );
@@ -48,7 +48,7 @@ export class Classes extends APIResource {
48
48
  *
49
49
  * @example
50
50
  * ```ts
51
- * const _class = await client.qbd.classes.update(
51
+ * const _class = await conductor.qbd.classes.update(
52
52
  * '80000001-1234567890',
53
53
  * {
54
54
  * revisionNumber: '1721172183',
@@ -73,7 +73,7 @@ export class Classes extends APIResource {
73
73
  *
74
74
  * @example
75
75
  * ```ts
76
- * const classes = await client.qbd.classes.list({
76
+ * const classes = await conductor.qbd.classes.list({
77
77
  * conductorEndUserId: 'end_usr_1234567abcdefg',
78
78
  * });
79
79
  * ```
@@ -12,7 +12,7 @@ export class CompanyResource extends APIResource {
12
12
  *
13
13
  * @example
14
14
  * ```ts
15
- * const company = await client.qbd.company.retrieve({
15
+ * const company = await conductor.qbd.company.retrieve({
16
16
  * conductorEndUserId: 'end_usr_1234567abcdefg',
17
17
  * });
18
18
  * ```
@@ -11,7 +11,7 @@ export class CreditCardCharges extends APIResource {
11
11
  * @example
12
12
  * ```ts
13
13
  * const creditCardCharge =
14
- * await client.qbd.creditCardCharges.create({
14
+ * await conductor.qbd.creditCardCharges.create({
15
15
  * accountId: '80000001-1234567890',
16
16
  * transactionDate: '2021-10-01',
17
17
  * conductorEndUserId: 'end_usr_1234567abcdefg',
@@ -36,7 +36,7 @@ export class CreditCardCharges extends APIResource {
36
36
  * @example
37
37
  * ```ts
38
38
  * const creditCardCharge =
39
- * await client.qbd.creditCardCharges.retrieve(
39
+ * await conductor.qbd.creditCardCharges.retrieve(
40
40
  * '123ABC-1234567890',
41
41
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
42
42
  * );
@@ -60,7 +60,7 @@ export class CreditCardCharges extends APIResource {
60
60
  * @example
61
61
  * ```ts
62
62
  * const creditCardCharge =
63
- * await client.qbd.creditCardCharges.update(
63
+ * await conductor.qbd.creditCardCharges.update(
64
64
  * '123ABC-1234567890',
65
65
  * {
66
66
  * revisionNumber: '1721172183',
@@ -89,7 +89,7 @@ export class CreditCardCharges extends APIResource {
89
89
  * @example
90
90
  * ```ts
91
91
  * // Automatically fetches more pages as needed.
92
- * for await (const creditCardCharge of client.qbd.creditCardCharges.list(
92
+ * for await (const creditCardCharge of conductor.qbd.creditCardCharges.list(
93
93
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
94
94
  * )) {
95
95
  * // ...
@@ -115,7 +115,7 @@ export class CreditCardCharges extends APIResource {
115
115
  * @example
116
116
  * ```ts
117
117
  * const creditCardCharge =
118
- * await client.qbd.creditCardCharges.delete(
118
+ * await conductor.qbd.creditCardCharges.delete(
119
119
  * '123ABC-1234567890',
120
120
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
121
121
  * );
@@ -11,7 +11,7 @@ export class CreditCardCredits extends APIResource {
11
11
  * @example
12
12
  * ```ts
13
13
  * const creditCardCredit =
14
- * await client.qbd.creditCardCredits.create({
14
+ * await conductor.qbd.creditCardCredits.create({
15
15
  * accountId: '80000001-1234567890',
16
16
  * transactionDate: '2021-10-01',
17
17
  * conductorEndUserId: 'end_usr_1234567abcdefg',
@@ -36,7 +36,7 @@ export class CreditCardCredits extends APIResource {
36
36
  * @example
37
37
  * ```ts
38
38
  * const creditCardCredit =
39
- * await client.qbd.creditCardCredits.retrieve(
39
+ * await conductor.qbd.creditCardCredits.retrieve(
40
40
  * '123ABC-1234567890',
41
41
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
42
42
  * );
@@ -60,7 +60,7 @@ export class CreditCardCredits extends APIResource {
60
60
  * @example
61
61
  * ```ts
62
62
  * const creditCardCredit =
63
- * await client.qbd.creditCardCredits.update(
63
+ * await conductor.qbd.creditCardCredits.update(
64
64
  * '123ABC-1234567890',
65
65
  * {
66
66
  * revisionNumber: '1721172183',
@@ -89,7 +89,7 @@ export class CreditCardCredits extends APIResource {
89
89
  * @example
90
90
  * ```ts
91
91
  * // Automatically fetches more pages as needed.
92
- * for await (const creditCardCredit of client.qbd.creditCardCredits.list(
92
+ * for await (const creditCardCredit of conductor.qbd.creditCardCredits.list(
93
93
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
94
94
  * )) {
95
95
  * // ...
@@ -115,7 +115,7 @@ export class CreditCardCredits extends APIResource {
115
115
  * @example
116
116
  * ```ts
117
117
  * const creditCardCredit =
118
- * await client.qbd.creditCardCredits.delete(
118
+ * await conductor.qbd.creditCardCredits.delete(
119
119
  * '123ABC-1234567890',
120
120
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
121
121
  * );
@@ -10,7 +10,7 @@ export class CreditMemos extends APIResource {
10
10
  *
11
11
  * @example
12
12
  * ```ts
13
- * const creditMemo = await client.qbd.creditMemos.create({
13
+ * const creditMemo = await conductor.qbd.creditMemos.create({
14
14
  * customerId: '80000001-1234567890',
15
15
  * transactionDate: '2021-10-01',
16
16
  * conductorEndUserId: 'end_usr_1234567abcdefg',
@@ -31,7 +31,7 @@ export class CreditMemos extends APIResource {
31
31
  *
32
32
  * @example
33
33
  * ```ts
34
- * const creditMemo = await client.qbd.creditMemos.retrieve(
34
+ * const creditMemo = await conductor.qbd.creditMemos.retrieve(
35
35
  * '123ABC-1234567890',
36
36
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
37
37
  * );
@@ -54,7 +54,7 @@ export class CreditMemos extends APIResource {
54
54
  *
55
55
  * @example
56
56
  * ```ts
57
- * const creditMemo = await client.qbd.creditMemos.update(
57
+ * const creditMemo = await conductor.qbd.creditMemos.update(
58
58
  * '123ABC-1234567890',
59
59
  * {
60
60
  * revisionNumber: '1721172183',
@@ -83,9 +83,9 @@ export class CreditMemos extends APIResource {
83
83
  * @example
84
84
  * ```ts
85
85
  * // Automatically fetches more pages as needed.
86
- * for await (const creditMemo of client.qbd.creditMemos.list({
87
- * conductorEndUserId: 'end_usr_1234567abcdefg',
88
- * })) {
86
+ * for await (const creditMemo of conductor.qbd.creditMemos.list(
87
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
88
+ * )) {
89
89
  * // ...
90
90
  * }
91
91
  * ```
@@ -108,7 +108,7 @@ export class CreditMemos extends APIResource {
108
108
  *
109
109
  * @example
110
110
  * ```ts
111
- * const creditMemo = await client.qbd.creditMemos.delete(
111
+ * const creditMemo = await conductor.qbd.creditMemos.delete(
112
112
  * '123ABC-1234567890',
113
113
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
114
114
  * );
@@ -10,7 +10,7 @@ export class Customers extends APIResource {
10
10
  *
11
11
  * @example
12
12
  * ```ts
13
- * const customer = await client.qbd.customers.create({
13
+ * const customer = await conductor.qbd.customers.create({
14
14
  * name: 'Website Redesign Project',
15
15
  * conductorEndUserId: 'end_usr_1234567abcdefg',
16
16
  * });
@@ -30,7 +30,7 @@ export class Customers extends APIResource {
30
30
  *
31
31
  * @example
32
32
  * ```ts
33
- * const customer = await client.qbd.customers.retrieve(
33
+ * const customer = await conductor.qbd.customers.retrieve(
34
34
  * '80000001-1234567890',
35
35
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
36
36
  * );
@@ -53,7 +53,7 @@ export class Customers extends APIResource {
53
53
  *
54
54
  * @example
55
55
  * ```ts
56
- * const customer = await client.qbd.customers.update(
56
+ * const customer = await conductor.qbd.customers.update(
57
57
  * '80000001-1234567890',
58
58
  * {
59
59
  * revisionNumber: '1721172183',
@@ -78,7 +78,7 @@ export class Customers extends APIResource {
78
78
  * @example
79
79
  * ```ts
80
80
  * // Automatically fetches more pages as needed.
81
- * for await (const customer of client.qbd.customers.list({
81
+ * for await (const customer of conductor.qbd.customers.list({
82
82
  * conductorEndUserId: 'end_usr_1234567abcdefg',
83
83
  * })) {
84
84
  * // ...
@@ -10,7 +10,7 @@ export class DateDrivenTerms extends APIResource {
10
10
  * @example
11
11
  * ```ts
12
12
  * const dateDrivenTerm =
13
- * await client.qbd.dateDrivenTerms.create({
13
+ * await conductor.qbd.dateDrivenTerms.create({
14
14
  * dueDayOfMonth: 15,
15
15
  * name: '2% 5th Net 25th',
16
16
  * conductorEndUserId: 'end_usr_1234567abcdefg',
@@ -32,7 +32,7 @@ export class DateDrivenTerms extends APIResource {
32
32
  * @example
33
33
  * ```ts
34
34
  * const dateDrivenTerm =
35
- * await client.qbd.dateDrivenTerms.retrieve(
35
+ * await conductor.qbd.dateDrivenTerms.retrieve(
36
36
  * '80000001-1234567890',
37
37
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
38
38
  * );
@@ -58,7 +58,7 @@ export class DateDrivenTerms extends APIResource {
58
58
  * @example
59
59
  * ```ts
60
60
  * const dateDrivenTerms =
61
- * await client.qbd.dateDrivenTerms.list({
61
+ * await conductor.qbd.dateDrivenTerms.list({
62
62
  * conductorEndUserId: 'end_usr_1234567abcdefg',
63
63
  * });
64
64
  * ```
@@ -10,11 +10,12 @@ export class DiscountItems extends APIResource {
10
10
  *
11
11
  * @example
12
12
  * ```ts
13
- * const discountItem = await client.qbd.discountItems.create({
14
- * accountId: '80000001-1234567890',
15
- * name: '10% labor discount',
16
- * conductorEndUserId: 'end_usr_1234567abcdefg',
17
- * });
13
+ * const discountItem =
14
+ * await conductor.qbd.discountItems.create({
15
+ * accountId: '80000001-1234567890',
16
+ * name: '10% labor discount',
17
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
18
+ * });
18
19
  * ```
19
20
  */
20
21
  create(params: DiscountItemCreateParams, options?: Core.RequestOptions): Core.APIPromise<DiscountItem> {
@@ -32,7 +33,7 @@ export class DiscountItems extends APIResource {
32
33
  * @example
33
34
  * ```ts
34
35
  * const discountItem =
35
- * await client.qbd.discountItems.retrieve(
36
+ * await conductor.qbd.discountItems.retrieve(
36
37
  * '80000001-1234567890',
37
38
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
38
39
  * );
@@ -55,13 +56,14 @@ export class DiscountItems extends APIResource {
55
56
  *
56
57
  * @example
57
58
  * ```ts
58
- * const discountItem = await client.qbd.discountItems.update(
59
- * '80000001-1234567890',
60
- * {
61
- * revisionNumber: '1721172183',
62
- * conductorEndUserId: 'end_usr_1234567abcdefg',
63
- * },
64
- * );
59
+ * const discountItem =
60
+ * await conductor.qbd.discountItems.update(
61
+ * '80000001-1234567890',
62
+ * {
63
+ * revisionNumber: '1721172183',
64
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
65
+ * },
66
+ * );
65
67
  * ```
66
68
  */
67
69
  update(
@@ -84,7 +86,7 @@ export class DiscountItems extends APIResource {
84
86
  * @example
85
87
  * ```ts
86
88
  * // Automatically fetches more pages as needed.
87
- * for await (const discountItem of client.qbd.discountItems.list(
89
+ * for await (const discountItem of conductor.qbd.discountItems.list(
88
90
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
89
91
  * )) {
90
92
  * // ...
@@ -10,7 +10,7 @@ export class Employees extends APIResource {
10
10
  *
11
11
  * @example
12
12
  * ```ts
13
- * const employee = await client.qbd.employees.create({
13
+ * const employee = await conductor.qbd.employees.create({
14
14
  * conductorEndUserId: 'end_usr_1234567abcdefg',
15
15
  * });
16
16
  * ```
@@ -29,7 +29,7 @@ export class Employees extends APIResource {
29
29
  *
30
30
  * @example
31
31
  * ```ts
32
- * const employee = await client.qbd.employees.retrieve(
32
+ * const employee = await conductor.qbd.employees.retrieve(
33
33
  * '80000001-1234567890',
34
34
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
35
35
  * );
@@ -52,7 +52,7 @@ export class Employees extends APIResource {
52
52
  *
53
53
  * @example
54
54
  * ```ts
55
- * const employee = await client.qbd.employees.update(
55
+ * const employee = await conductor.qbd.employees.update(
56
56
  * '80000001-1234567890',
57
57
  * {
58
58
  * revisionNumber: '1721172183',
@@ -77,7 +77,7 @@ export class Employees extends APIResource {
77
77
  * @example
78
78
  * ```ts
79
79
  * // Automatically fetches more pages as needed.
80
- * for await (const employee of client.qbd.employees.list({
80
+ * for await (const employee of conductor.qbd.employees.list({
81
81
  * conductorEndUserId: 'end_usr_1234567abcdefg',
82
82
  * })) {
83
83
  * // ...
@@ -10,7 +10,7 @@ export class Estimates extends APIResource {
10
10
  *
11
11
  * @example
12
12
  * ```ts
13
- * const estimate = await client.qbd.estimates.create({
13
+ * const estimate = await conductor.qbd.estimates.create({
14
14
  * customerId: '80000001-1234567890',
15
15
  * transactionDate: '2021-10-01',
16
16
  * conductorEndUserId: 'end_usr_1234567abcdefg',
@@ -31,7 +31,7 @@ export class Estimates extends APIResource {
31
31
  *
32
32
  * @example
33
33
  * ```ts
34
- * const estimate = await client.qbd.estimates.retrieve(
34
+ * const estimate = await conductor.qbd.estimates.retrieve(
35
35
  * '123ABC-1234567890',
36
36
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
37
37
  * );
@@ -54,7 +54,7 @@ export class Estimates extends APIResource {
54
54
  *
55
55
  * @example
56
56
  * ```ts
57
- * const estimate = await client.qbd.estimates.update(
57
+ * const estimate = await conductor.qbd.estimates.update(
58
58
  * '123ABC-1234567890',
59
59
  * {
60
60
  * revisionNumber: '1721172183',
@@ -79,7 +79,7 @@ export class Estimates extends APIResource {
79
79
  * @example
80
80
  * ```ts
81
81
  * // Automatically fetches more pages as needed.
82
- * for await (const estimate of client.qbd.estimates.list({
82
+ * for await (const estimate of conductor.qbd.estimates.list({
83
83
  * conductorEndUserId: 'end_usr_1234567abcdefg',
84
84
  * })) {
85
85
  * // ...
@@ -104,7 +104,7 @@ export class Estimates extends APIResource {
104
104
  *
105
105
  * @example
106
106
  * ```ts
107
- * const estimate = await client.qbd.estimates.delete(
107
+ * const estimate = await conductor.qbd.estimates.delete(
108
108
  * '123ABC-1234567890',
109
109
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
110
110
  * );
@@ -10,7 +10,7 @@ export class InventoryAdjustments extends APIResource {
10
10
  * @example
11
11
  * ```ts
12
12
  * const inventoryAdjustment =
13
- * await client.qbd.inventoryAdjustments.create({
13
+ * await conductor.qbd.inventoryAdjustments.create({
14
14
  * accountId: '80000001-1234567890',
15
15
  * transactionDate: '2021-10-01',
16
16
  * conductorEndUserId: 'end_usr_1234567abcdefg',
@@ -35,7 +35,7 @@ export class InventoryAdjustments extends APIResource {
35
35
  * @example
36
36
  * ```ts
37
37
  * const inventoryAdjustment =
38
- * await client.qbd.inventoryAdjustments.retrieve(
38
+ * await conductor.qbd.inventoryAdjustments.retrieve(
39
39
  * '123ABC-1234567890',
40
40
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
41
41
  * );
@@ -59,7 +59,7 @@ export class InventoryAdjustments extends APIResource {
59
59
  * @example
60
60
  * ```ts
61
61
  * const inventoryAdjustment =
62
- * await client.qbd.inventoryAdjustments.update(
62
+ * await conductor.qbd.inventoryAdjustments.update(
63
63
  * '123ABC-1234567890',
64
64
  * {
65
65
  * revisionNumber: '1721172183',
@@ -89,7 +89,7 @@ export class InventoryAdjustments extends APIResource {
89
89
  * @example
90
90
  * ```ts
91
91
  * const inventoryAdjustments =
92
- * await client.qbd.inventoryAdjustments.list({
92
+ * await conductor.qbd.inventoryAdjustments.list({
93
93
  * conductorEndUserId: 'end_usr_1234567abcdefg',
94
94
  * });
95
95
  * ```
@@ -114,7 +114,7 @@ export class InventoryAdjustments extends APIResource {
114
114
  * @example
115
115
  * ```ts
116
116
  * const inventoryAdjustment =
117
- * await client.qbd.inventoryAdjustments.delete(
117
+ * await conductor.qbd.inventoryAdjustments.delete(
118
118
  * '123ABC-1234567890',
119
119
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
120
120
  * );
@@ -11,7 +11,7 @@ export class InventoryAssemblyItems extends APIResource {
11
11
  * @example
12
12
  * ```ts
13
13
  * const inventoryAssemblyItem =
14
- * await client.qbd.inventoryAssemblyItems.create({
14
+ * await conductor.qbd.inventoryAssemblyItems.create({
15
15
  * assetAccountId: '80000001-1234567890',
16
16
  * cogsAccountId: '80000001-1234567890',
17
17
  * incomeAccountId: '80000001-1234567890',
@@ -38,7 +38,7 @@ export class InventoryAssemblyItems extends APIResource {
38
38
  * @example
39
39
  * ```ts
40
40
  * const inventoryAssemblyItem =
41
- * await client.qbd.inventoryAssemblyItems.retrieve(
41
+ * await conductor.qbd.inventoryAssemblyItems.retrieve(
42
42
  * '80000001-1234567890',
43
43
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
44
44
  * );
@@ -62,7 +62,7 @@ export class InventoryAssemblyItems extends APIResource {
62
62
  * @example
63
63
  * ```ts
64
64
  * const inventoryAssemblyItem =
65
- * await client.qbd.inventoryAssemblyItems.update(
65
+ * await conductor.qbd.inventoryAssemblyItems.update(
66
66
  * '80000001-1234567890',
67
67
  * {
68
68
  * revisionNumber: '1721172183',
@@ -91,7 +91,7 @@ export class InventoryAssemblyItems extends APIResource {
91
91
  * @example
92
92
  * ```ts
93
93
  * // Automatically fetches more pages as needed.
94
- * for await (const inventoryAssemblyItem of client.qbd.inventoryAssemblyItems.list(
94
+ * for await (const inventoryAssemblyItem of conductor.qbd.inventoryAssemblyItems.list(
95
95
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
96
96
  * )) {
97
97
  * // ...
@@ -11,7 +11,7 @@ export class InventoryItems extends APIResource {
11
11
  * @example
12
12
  * ```ts
13
13
  * const inventoryItem =
14
- * await client.qbd.inventoryItems.create({
14
+ * await conductor.qbd.inventoryItems.create({
15
15
  * assetAccountId: '80000001-1234567890',
16
16
  * cogsAccountId: '80000001-1234567890',
17
17
  * incomeAccountId: '80000001-1234567890',
@@ -35,7 +35,7 @@ export class InventoryItems extends APIResource {
35
35
  * @example
36
36
  * ```ts
37
37
  * const inventoryItem =
38
- * await client.qbd.inventoryItems.retrieve(
38
+ * await conductor.qbd.inventoryItems.retrieve(
39
39
  * '80000001-1234567890',
40
40
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
41
41
  * );
@@ -59,7 +59,7 @@ export class InventoryItems extends APIResource {
59
59
  * @example
60
60
  * ```ts
61
61
  * const inventoryItem =
62
- * await client.qbd.inventoryItems.update(
62
+ * await conductor.qbd.inventoryItems.update(
63
63
  * '80000001-1234567890',
64
64
  * {
65
65
  * revisionNumber: '1721172183',
@@ -88,7 +88,7 @@ export class InventoryItems extends APIResource {
88
88
  * @example
89
89
  * ```ts
90
90
  * // Automatically fetches more pages as needed.
91
- * for await (const inventoryItem of client.qbd.inventoryItems.list(
91
+ * for await (const inventoryItem of conductor.qbd.inventoryItems.list(
92
92
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
93
93
  * )) {
94
94
  * // ...
@@ -10,7 +10,7 @@ export class InventorySites extends APIResource {
10
10
  * @example
11
11
  * ```ts
12
12
  * const inventorySite =
13
- * await client.qbd.inventorySites.create({
13
+ * await conductor.qbd.inventorySites.create({
14
14
  * name: 'Stockroom',
15
15
  * conductorEndUserId: 'end_usr_1234567abcdefg',
16
16
  * });
@@ -31,7 +31,7 @@ export class InventorySites extends APIResource {
31
31
  * @example
32
32
  * ```ts
33
33
  * const inventorySite =
34
- * await client.qbd.inventorySites.retrieve(
34
+ * await conductor.qbd.inventorySites.retrieve(
35
35
  * '80000001-1234567890',
36
36
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
37
37
  * );
@@ -55,7 +55,7 @@ export class InventorySites extends APIResource {
55
55
  * @example
56
56
  * ```ts
57
57
  * const inventorySite =
58
- * await client.qbd.inventorySites.update(
58
+ * await conductor.qbd.inventorySites.update(
59
59
  * '80000001-1234567890',
60
60
  * {
61
61
  * revisionNumber: '1721172183',
@@ -84,9 +84,10 @@ export class InventorySites extends APIResource {
84
84
  *
85
85
  * @example
86
86
  * ```ts
87
- * const inventorySites = await client.qbd.inventorySites.list(
88
- * { conductorEndUserId: 'end_usr_1234567abcdefg' },
89
- * );
87
+ * const inventorySites =
88
+ * await conductor.qbd.inventorySites.list({
89
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
90
+ * });
90
91
  * ```
91
92
  */
92
93
  list(
@@ -10,7 +10,7 @@ export class Invoices extends APIResource {
10
10
  *
11
11
  * @example
12
12
  * ```ts
13
- * const invoice = await client.qbd.invoices.create({
13
+ * const invoice = await conductor.qbd.invoices.create({
14
14
  * customerId: '80000001-1234567890',
15
15
  * transactionDate: '2021-10-01',
16
16
  * conductorEndUserId: 'end_usr_1234567abcdefg',
@@ -31,7 +31,7 @@ export class Invoices extends APIResource {
31
31
  *
32
32
  * @example
33
33
  * ```ts
34
- * const invoice = await client.qbd.invoices.retrieve(
34
+ * const invoice = await conductor.qbd.invoices.retrieve(
35
35
  * '123ABC-1234567890',
36
36
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
37
37
  * );
@@ -54,7 +54,7 @@ export class Invoices extends APIResource {
54
54
  *
55
55
  * @example
56
56
  * ```ts
57
- * const invoice = await client.qbd.invoices.update(
57
+ * const invoice = await conductor.qbd.invoices.update(
58
58
  * '123ABC-1234567890',
59
59
  * {
60
60
  * revisionNumber: '1721172183',
@@ -79,7 +79,7 @@ export class Invoices extends APIResource {
79
79
  * @example
80
80
  * ```ts
81
81
  * // Automatically fetches more pages as needed.
82
- * for await (const invoice of client.qbd.invoices.list({
82
+ * for await (const invoice of conductor.qbd.invoices.list({
83
83
  * conductorEndUserId: 'end_usr_1234567abcdefg',
84
84
  * })) {
85
85
  * // ...
@@ -104,7 +104,7 @@ export class Invoices extends APIResource {
104
104
  *
105
105
  * @example
106
106
  * ```ts
107
- * const invoice = await client.qbd.invoices.delete(
107
+ * const invoice = await conductor.qbd.invoices.delete(
108
108
  * '123ABC-1234567890',
109
109
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
110
110
  * );
@@ -10,7 +10,7 @@ export class ItemGroups extends APIResource {
10
10
  *
11
11
  * @example
12
12
  * ```ts
13
- * const itemGroup = await client.qbd.itemGroups.create({
13
+ * const itemGroup = await conductor.qbd.itemGroups.create({
14
14
  * name: 'Office Supplies Bundle',
15
15
  * shouldPrintItemsInGroup: true,
16
16
  * conductorEndUserId: 'end_usr_1234567abcdefg',
@@ -31,7 +31,7 @@ export class ItemGroups extends APIResource {
31
31
  *
32
32
  * @example
33
33
  * ```ts
34
- * const itemGroup = await client.qbd.itemGroups.retrieve(
34
+ * const itemGroup = await conductor.qbd.itemGroups.retrieve(
35
35
  * '80000001-1234567890',
36
36
  * { conductorEndUserId: 'end_usr_1234567abcdefg' },
37
37
  * );
@@ -54,7 +54,7 @@ export class ItemGroups extends APIResource {
54
54
  *
55
55
  * @example
56
56
  * ```ts
57
- * const itemGroup = await client.qbd.itemGroups.update(
57
+ * const itemGroup = await conductor.qbd.itemGroups.update(
58
58
  * '80000001-1234567890',
59
59
  * {
60
60
  * revisionNumber: '1721172183',
@@ -83,9 +83,9 @@ export class ItemGroups extends APIResource {
83
83
  * @example
84
84
  * ```ts
85
85
  * // Automatically fetches more pages as needed.
86
- * for await (const itemGroup of client.qbd.itemGroups.list({
87
- * conductorEndUserId: 'end_usr_1234567abcdefg',
88
- * })) {
86
+ * for await (const itemGroup of conductor.qbd.itemGroups.list(
87
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
88
+ * )) {
89
89
  * // ...
90
90
  * }
91
91
  * ```