conductor-node 12.5.0 → 12.5.1

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 (335) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/package.json +1 -1
  3. package/resources/auth-sessions.d.ts +8 -0
  4. package/resources/auth-sessions.d.ts.map +1 -1
  5. package/resources/auth-sessions.js +8 -0
  6. package/resources/auth-sessions.js.map +1 -1
  7. package/resources/auth-sessions.mjs +8 -0
  8. package/resources/auth-sessions.mjs.map +1 -1
  9. package/resources/end-users.d.ts +37 -0
  10. package/resources/end-users.d.ts.map +1 -1
  11. package/resources/end-users.js +28 -0
  12. package/resources/end-users.js.map +1 -1
  13. package/resources/end-users.mjs +28 -0
  14. package/resources/end-users.mjs.map +1 -1
  15. package/resources/qbd/account-tax-lines.d.ts +8 -0
  16. package/resources/qbd/account-tax-lines.d.ts.map +1 -1
  17. package/resources/qbd/account-tax-lines.js +8 -0
  18. package/resources/qbd/account-tax-lines.js.map +1 -1
  19. package/resources/qbd/account-tax-lines.mjs +8 -0
  20. package/resources/qbd/account-tax-lines.mjs.map +1 -1
  21. package/resources/qbd/accounts.d.ts +35 -0
  22. package/resources/qbd/accounts.d.ts.map +1 -1
  23. package/resources/qbd/accounts.js +35 -0
  24. package/resources/qbd/accounts.js.map +1 -1
  25. package/resources/qbd/accounts.mjs +35 -0
  26. package/resources/qbd/accounts.mjs.map +1 -1
  27. package/resources/qbd/bill-check-payments.d.ts +54 -0
  28. package/resources/qbd/bill-check-payments.d.ts.map +1 -1
  29. package/resources/qbd/bill-check-payments.js +54 -0
  30. package/resources/qbd/bill-check-payments.js.map +1 -1
  31. package/resources/qbd/bill-check-payments.mjs +54 -0
  32. package/resources/qbd/bill-check-payments.mjs.map +1 -1
  33. package/resources/qbd/bill-credit-card-payments.d.ts +42 -0
  34. package/resources/qbd/bill-credit-card-payments.d.ts.map +1 -1
  35. package/resources/qbd/bill-credit-card-payments.js +42 -0
  36. package/resources/qbd/bill-credit-card-payments.js.map +1 -1
  37. package/resources/qbd/bill-credit-card-payments.mjs +42 -0
  38. package/resources/qbd/bill-credit-card-payments.mjs.map +1 -1
  39. package/resources/qbd/bills.d.ts +46 -0
  40. package/resources/qbd/bills.d.ts.map +1 -1
  41. package/resources/qbd/bills.js +46 -0
  42. package/resources/qbd/bills.js.map +1 -1
  43. package/resources/qbd/bills.mjs +46 -0
  44. package/resources/qbd/bills.mjs.map +1 -1
  45. package/resources/qbd/checks.d.ts +46 -0
  46. package/resources/qbd/checks.d.ts.map +1 -1
  47. package/resources/qbd/checks.js +46 -0
  48. package/resources/qbd/checks.js.map +1 -1
  49. package/resources/qbd/checks.mjs +46 -0
  50. package/resources/qbd/checks.mjs.map +1 -1
  51. package/resources/qbd/classes.d.ts +34 -0
  52. package/resources/qbd/classes.d.ts.map +1 -1
  53. package/resources/qbd/classes.js +34 -0
  54. package/resources/qbd/classes.js.map +1 -1
  55. package/resources/qbd/classes.mjs +34 -0
  56. package/resources/qbd/classes.mjs.map +1 -1
  57. package/resources/qbd/company.d.ts +7 -0
  58. package/resources/qbd/company.d.ts.map +1 -1
  59. package/resources/qbd/company.js +7 -0
  60. package/resources/qbd/company.js.map +1 -1
  61. package/resources/qbd/company.mjs +7 -0
  62. package/resources/qbd/company.mjs.map +1 -1
  63. package/resources/qbd/credit-card-charges.d.ts +50 -0
  64. package/resources/qbd/credit-card-charges.d.ts.map +1 -1
  65. package/resources/qbd/credit-card-charges.js +50 -0
  66. package/resources/qbd/credit-card-charges.js.map +1 -1
  67. package/resources/qbd/credit-card-charges.mjs +50 -0
  68. package/resources/qbd/credit-card-charges.mjs.map +1 -1
  69. package/resources/qbd/credit-card-credits.d.ts +50 -0
  70. package/resources/qbd/credit-card-credits.d.ts.map +1 -1
  71. package/resources/qbd/credit-card-credits.js +50 -0
  72. package/resources/qbd/credit-card-credits.js.map +1 -1
  73. package/resources/qbd/credit-card-credits.mjs +50 -0
  74. package/resources/qbd/credit-card-credits.mjs.map +1 -1
  75. package/resources/qbd/credit-memos.d.ts +46 -0
  76. package/resources/qbd/credit-memos.d.ts.map +1 -1
  77. package/resources/qbd/credit-memos.js +46 -0
  78. package/resources/qbd/credit-memos.js.map +1 -1
  79. package/resources/qbd/credit-memos.mjs +46 -0
  80. package/resources/qbd/credit-memos.mjs.map +1 -1
  81. package/resources/qbd/customers.d.ts +37 -0
  82. package/resources/qbd/customers.d.ts.map +1 -1
  83. package/resources/qbd/customers.js +37 -0
  84. package/resources/qbd/customers.js.map +1 -1
  85. package/resources/qbd/customers.mjs +37 -0
  86. package/resources/qbd/customers.mjs.map +1 -1
  87. package/resources/qbd/date-driven-terms.d.ts +27 -0
  88. package/resources/qbd/date-driven-terms.d.ts.map +1 -1
  89. package/resources/qbd/date-driven-terms.js +27 -0
  90. package/resources/qbd/date-driven-terms.js.map +1 -1
  91. package/resources/qbd/date-driven-terms.mjs +27 -0
  92. package/resources/qbd/date-driven-terms.mjs.map +1 -1
  93. package/resources/qbd/discount-items.d.ts +39 -0
  94. package/resources/qbd/discount-items.d.ts.map +1 -1
  95. package/resources/qbd/discount-items.js +39 -0
  96. package/resources/qbd/discount-items.js.map +1 -1
  97. package/resources/qbd/discount-items.mjs +39 -0
  98. package/resources/qbd/discount-items.mjs.map +1 -1
  99. package/resources/qbd/employees.d.ts +36 -0
  100. package/resources/qbd/employees.d.ts.map +1 -1
  101. package/resources/qbd/employees.js +36 -0
  102. package/resources/qbd/employees.js.map +1 -1
  103. package/resources/qbd/employees.mjs +36 -0
  104. package/resources/qbd/employees.mjs.map +1 -1
  105. package/resources/qbd/estimates.d.ts +46 -0
  106. package/resources/qbd/estimates.d.ts.map +1 -1
  107. package/resources/qbd/estimates.js +46 -0
  108. package/resources/qbd/estimates.js.map +1 -1
  109. package/resources/qbd/estimates.mjs +46 -0
  110. package/resources/qbd/estimates.mjs.map +1 -1
  111. package/resources/qbd/inventory-adjustments.d.ts +48 -0
  112. package/resources/qbd/inventory-adjustments.d.ts.map +1 -1
  113. package/resources/qbd/inventory-adjustments.js +48 -0
  114. package/resources/qbd/inventory-adjustments.js.map +1 -1
  115. package/resources/qbd/inventory-adjustments.mjs +48 -0
  116. package/resources/qbd/inventory-adjustments.mjs.map +1 -1
  117. package/resources/qbd/inventory-assembly-items.d.ts +43 -0
  118. package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
  119. package/resources/qbd/inventory-assembly-items.js +43 -0
  120. package/resources/qbd/inventory-assembly-items.js.map +1 -1
  121. package/resources/qbd/inventory-assembly-items.mjs +43 -0
  122. package/resources/qbd/inventory-assembly-items.mjs.map +1 -1
  123. package/resources/qbd/inventory-items.d.ts +43 -0
  124. package/resources/qbd/inventory-items.d.ts.map +1 -1
  125. package/resources/qbd/inventory-items.js +43 -0
  126. package/resources/qbd/inventory-items.js.map +1 -1
  127. package/resources/qbd/inventory-items.mjs +43 -0
  128. package/resources/qbd/inventory-items.mjs.map +1 -1
  129. package/resources/qbd/inventory-sites.d.ts +37 -0
  130. package/resources/qbd/inventory-sites.d.ts.map +1 -1
  131. package/resources/qbd/inventory-sites.js +37 -0
  132. package/resources/qbd/inventory-sites.js.map +1 -1
  133. package/resources/qbd/inventory-sites.mjs +37 -0
  134. package/resources/qbd/inventory-sites.mjs.map +1 -1
  135. package/resources/qbd/invoices.d.ts +46 -0
  136. package/resources/qbd/invoices.d.ts.map +1 -1
  137. package/resources/qbd/invoices.js +46 -0
  138. package/resources/qbd/invoices.js.map +1 -1
  139. package/resources/qbd/invoices.mjs +46 -0
  140. package/resources/qbd/invoices.mjs.map +1 -1
  141. package/resources/qbd/item-groups.d.ts +38 -0
  142. package/resources/qbd/item-groups.d.ts.map +1 -1
  143. package/resources/qbd/item-groups.js +38 -0
  144. package/resources/qbd/item-groups.js.map +1 -1
  145. package/resources/qbd/item-groups.mjs +38 -0
  146. package/resources/qbd/item-groups.mjs.map +1 -1
  147. package/resources/qbd/item-receipts.d.ts +46 -0
  148. package/resources/qbd/item-receipts.d.ts.map +1 -1
  149. package/resources/qbd/item-receipts.js +46 -0
  150. package/resources/qbd/item-receipts.js.map +1 -1
  151. package/resources/qbd/item-receipts.mjs +46 -0
  152. package/resources/qbd/item-receipts.mjs.map +1 -1
  153. package/resources/qbd/item-sites.d.ts +18 -0
  154. package/resources/qbd/item-sites.d.ts.map +1 -1
  155. package/resources/qbd/item-sites.js +18 -0
  156. package/resources/qbd/item-sites.js.map +1 -1
  157. package/resources/qbd/item-sites.mjs +18 -0
  158. package/resources/qbd/item-sites.mjs.map +1 -1
  159. package/resources/qbd/journal-entries.d.ts +48 -0
  160. package/resources/qbd/journal-entries.d.ts.map +1 -1
  161. package/resources/qbd/journal-entries.js +48 -0
  162. package/resources/qbd/journal-entries.js.map +1 -1
  163. package/resources/qbd/journal-entries.mjs +48 -0
  164. package/resources/qbd/journal-entries.mjs.map +1 -1
  165. package/resources/qbd/non-inventory-items.d.ts +40 -0
  166. package/resources/qbd/non-inventory-items.d.ts.map +1 -1
  167. package/resources/qbd/non-inventory-items.js +40 -0
  168. package/resources/qbd/non-inventory-items.js.map +1 -1
  169. package/resources/qbd/non-inventory-items.mjs +40 -0
  170. package/resources/qbd/non-inventory-items.mjs.map +1 -1
  171. package/resources/qbd/payroll-wage-items.d.ts +30 -0
  172. package/resources/qbd/payroll-wage-items.d.ts.map +1 -1
  173. package/resources/qbd/payroll-wage-items.js +30 -0
  174. package/resources/qbd/payroll-wage-items.js.map +1 -1
  175. package/resources/qbd/payroll-wage-items.mjs +30 -0
  176. package/resources/qbd/payroll-wage-items.mjs.map +1 -1
  177. package/resources/qbd/preferences.d.ts +7 -0
  178. package/resources/qbd/preferences.d.ts.map +1 -1
  179. package/resources/qbd/preferences.js +7 -0
  180. package/resources/qbd/preferences.js.map +1 -1
  181. package/resources/qbd/preferences.mjs +7 -0
  182. package/resources/qbd/preferences.mjs.map +1 -1
  183. package/resources/qbd/price-levels.d.ts +34 -0
  184. package/resources/qbd/price-levels.d.ts.map +1 -1
  185. package/resources/qbd/price-levels.js +34 -0
  186. package/resources/qbd/price-levels.js.map +1 -1
  187. package/resources/qbd/price-levels.mjs +34 -0
  188. package/resources/qbd/price-levels.mjs.map +1 -1
  189. package/resources/qbd/purchase-orders.d.ts +49 -0
  190. package/resources/qbd/purchase-orders.d.ts.map +1 -1
  191. package/resources/qbd/purchase-orders.js +49 -0
  192. package/resources/qbd/purchase-orders.js.map +1 -1
  193. package/resources/qbd/purchase-orders.mjs +49 -0
  194. package/resources/qbd/purchase-orders.mjs.map +1 -1
  195. package/resources/qbd/qbd.d.ts +7 -0
  196. package/resources/qbd/qbd.d.ts.map +1 -1
  197. package/resources/qbd/qbd.js +7 -0
  198. package/resources/qbd/qbd.js.map +1 -1
  199. package/resources/qbd/qbd.mjs +7 -0
  200. package/resources/qbd/qbd.mjs.map +1 -1
  201. package/resources/qbd/receive-payments.d.ts +51 -0
  202. package/resources/qbd/receive-payments.d.ts.map +1 -1
  203. package/resources/qbd/receive-payments.js +51 -0
  204. package/resources/qbd/receive-payments.js.map +1 -1
  205. package/resources/qbd/receive-payments.mjs +51 -0
  206. package/resources/qbd/receive-payments.mjs.map +1 -1
  207. package/resources/qbd/sales-orders.d.ts +46 -0
  208. package/resources/qbd/sales-orders.d.ts.map +1 -1
  209. package/resources/qbd/sales-orders.js +46 -0
  210. package/resources/qbd/sales-orders.js.map +1 -1
  211. package/resources/qbd/sales-orders.mjs +46 -0
  212. package/resources/qbd/sales-orders.mjs.map +1 -1
  213. package/resources/qbd/sales-receipts.d.ts +47 -0
  214. package/resources/qbd/sales-receipts.d.ts.map +1 -1
  215. package/resources/qbd/sales-receipts.js +47 -0
  216. package/resources/qbd/sales-receipts.js.map +1 -1
  217. package/resources/qbd/sales-receipts.mjs +47 -0
  218. package/resources/qbd/sales-receipts.mjs.map +1 -1
  219. package/resources/qbd/sales-representatives.d.ts +39 -0
  220. package/resources/qbd/sales-representatives.d.ts.map +1 -1
  221. package/resources/qbd/sales-representatives.js +39 -0
  222. package/resources/qbd/sales-representatives.js.map +1 -1
  223. package/resources/qbd/sales-representatives.mjs +39 -0
  224. package/resources/qbd/sales-representatives.mjs.map +1 -1
  225. package/resources/qbd/sales-tax-codes.d.ts +36 -0
  226. package/resources/qbd/sales-tax-codes.d.ts.map +1 -1
  227. package/resources/qbd/sales-tax-codes.js +36 -0
  228. package/resources/qbd/sales-tax-codes.js.map +1 -1
  229. package/resources/qbd/sales-tax-codes.mjs +36 -0
  230. package/resources/qbd/sales-tax-codes.mjs.map +1 -1
  231. package/resources/qbd/sales-tax-items.d.ts +38 -0
  232. package/resources/qbd/sales-tax-items.d.ts.map +1 -1
  233. package/resources/qbd/sales-tax-items.js +38 -0
  234. package/resources/qbd/sales-tax-items.js.map +1 -1
  235. package/resources/qbd/sales-tax-items.mjs +38 -0
  236. package/resources/qbd/sales-tax-items.mjs.map +1 -1
  237. package/resources/qbd/service-items.d.ts +37 -0
  238. package/resources/qbd/service-items.d.ts.map +1 -1
  239. package/resources/qbd/service-items.js +37 -0
  240. package/resources/qbd/service-items.js.map +1 -1
  241. package/resources/qbd/service-items.mjs +37 -0
  242. package/resources/qbd/service-items.mjs.map +1 -1
  243. package/resources/qbd/standard-terms.d.ts +24 -0
  244. package/resources/qbd/standard-terms.d.ts.map +1 -1
  245. package/resources/qbd/standard-terms.js +24 -0
  246. package/resources/qbd/standard-terms.js.map +1 -1
  247. package/resources/qbd/standard-terms.mjs +24 -0
  248. package/resources/qbd/standard-terms.mjs.map +1 -1
  249. package/resources/qbd/subtotal-items.d.ts +38 -0
  250. package/resources/qbd/subtotal-items.d.ts.map +1 -1
  251. package/resources/qbd/subtotal-items.js +38 -0
  252. package/resources/qbd/subtotal-items.js.map +1 -1
  253. package/resources/qbd/subtotal-items.mjs +38 -0
  254. package/resources/qbd/subtotal-items.mjs.map +1 -1
  255. package/resources/qbd/time-tracking-activities.d.ts +53 -0
  256. package/resources/qbd/time-tracking-activities.d.ts.map +1 -1
  257. package/resources/qbd/time-tracking-activities.js +53 -0
  258. package/resources/qbd/time-tracking-activities.js.map +1 -1
  259. package/resources/qbd/time-tracking-activities.mjs +53 -0
  260. package/resources/qbd/time-tracking-activities.mjs.map +1 -1
  261. package/resources/qbd/transactions.d.ts +18 -0
  262. package/resources/qbd/transactions.d.ts.map +1 -1
  263. package/resources/qbd/transactions.js +18 -0
  264. package/resources/qbd/transactions.js.map +1 -1
  265. package/resources/qbd/transactions.mjs +18 -0
  266. package/resources/qbd/transactions.mjs.map +1 -1
  267. package/resources/qbd/transfers.d.ts +40 -0
  268. package/resources/qbd/transfers.d.ts.map +1 -1
  269. package/resources/qbd/transfers.js +40 -0
  270. package/resources/qbd/transfers.js.map +1 -1
  271. package/resources/qbd/transfers.mjs +40 -0
  272. package/resources/qbd/transfers.mjs.map +1 -1
  273. package/resources/qbd/vendor-credits.d.ts +47 -0
  274. package/resources/qbd/vendor-credits.d.ts.map +1 -1
  275. package/resources/qbd/vendor-credits.js +47 -0
  276. package/resources/qbd/vendor-credits.js.map +1 -1
  277. package/resources/qbd/vendor-credits.mjs +47 -0
  278. package/resources/qbd/vendor-credits.mjs.map +1 -1
  279. package/resources/qbd/vendors.d.ts +37 -0
  280. package/resources/qbd/vendors.d.ts.map +1 -1
  281. package/resources/qbd/vendors.js +37 -0
  282. package/resources/qbd/vendors.js.map +1 -1
  283. package/resources/qbd/vendors.mjs +37 -0
  284. package/resources/qbd/vendors.mjs.map +1 -1
  285. package/src/resources/auth-sessions.ts +8 -0
  286. package/src/resources/end-users.ts +37 -0
  287. package/src/resources/qbd/account-tax-lines.ts +8 -0
  288. package/src/resources/qbd/accounts.ts +35 -0
  289. package/src/resources/qbd/bill-check-payments.ts +54 -0
  290. package/src/resources/qbd/bill-credit-card-payments.ts +42 -0
  291. package/src/resources/qbd/bills.ts +46 -0
  292. package/src/resources/qbd/checks.ts +46 -0
  293. package/src/resources/qbd/classes.ts +34 -0
  294. package/src/resources/qbd/company.ts +7 -0
  295. package/src/resources/qbd/credit-card-charges.ts +50 -0
  296. package/src/resources/qbd/credit-card-credits.ts +50 -0
  297. package/src/resources/qbd/credit-memos.ts +46 -0
  298. package/src/resources/qbd/customers.ts +37 -0
  299. package/src/resources/qbd/date-driven-terms.ts +27 -0
  300. package/src/resources/qbd/discount-items.ts +39 -0
  301. package/src/resources/qbd/employees.ts +36 -0
  302. package/src/resources/qbd/estimates.ts +46 -0
  303. package/src/resources/qbd/inventory-adjustments.ts +48 -0
  304. package/src/resources/qbd/inventory-assembly-items.ts +43 -0
  305. package/src/resources/qbd/inventory-items.ts +43 -0
  306. package/src/resources/qbd/inventory-sites.ts +37 -0
  307. package/src/resources/qbd/invoices.ts +46 -0
  308. package/src/resources/qbd/item-groups.ts +38 -0
  309. package/src/resources/qbd/item-receipts.ts +46 -0
  310. package/src/resources/qbd/item-sites.ts +18 -0
  311. package/src/resources/qbd/journal-entries.ts +48 -0
  312. package/src/resources/qbd/non-inventory-items.ts +40 -0
  313. package/src/resources/qbd/payroll-wage-items.ts +30 -0
  314. package/src/resources/qbd/preferences.ts +7 -0
  315. package/src/resources/qbd/price-levels.ts +34 -0
  316. package/src/resources/qbd/purchase-orders.ts +49 -0
  317. package/src/resources/qbd/qbd.ts +7 -0
  318. package/src/resources/qbd/receive-payments.ts +51 -0
  319. package/src/resources/qbd/sales-orders.ts +46 -0
  320. package/src/resources/qbd/sales-receipts.ts +47 -0
  321. package/src/resources/qbd/sales-representatives.ts +39 -0
  322. package/src/resources/qbd/sales-tax-codes.ts +36 -0
  323. package/src/resources/qbd/sales-tax-items.ts +38 -0
  324. package/src/resources/qbd/service-items.ts +37 -0
  325. package/src/resources/qbd/standard-terms.ts +24 -0
  326. package/src/resources/qbd/subtotal-items.ts +38 -0
  327. package/src/resources/qbd/time-tracking-activities.ts +53 -0
  328. package/src/resources/qbd/transactions.ts +18 -0
  329. package/src/resources/qbd/transfers.ts +40 -0
  330. package/src/resources/qbd/vendor-credits.ts +47 -0
  331. package/src/resources/qbd/vendors.ts +37 -0
  332. package/src/version.ts +1 -1
  333. package/version.d.ts +1 -1
  334. package/version.js +1 -1
  335. package/version.mjs +1 -1
@@ -6,6 +6,14 @@ import * as Core from '../../core';
6
6
  export class PriceLevels extends APIResource {
7
7
  /**
8
8
  * Creates a new price level.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const priceLevel = await client.qbd.priceLevels.create({
13
+ * name: 'Wholesale 20% Discount',
14
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
15
+ * });
16
+ * ```
9
17
  */
10
18
  create(params: PriceLevelCreateParams, options?: Core.RequestOptions): Core.APIPromise<PriceLevel> {
11
19
  const { conductorEndUserId, ...body } = params;
@@ -18,6 +26,14 @@ export class PriceLevels extends APIResource {
18
26
 
19
27
  /**
20
28
  * Retrieves a price level by ID.
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * const priceLevel = await client.qbd.priceLevels.retrieve(
33
+ * '80000001-1234567890',
34
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
35
+ * );
36
+ * ```
21
37
  */
22
38
  retrieve(
23
39
  id: string,
@@ -33,6 +49,17 @@ export class PriceLevels extends APIResource {
33
49
 
34
50
  /**
35
51
  * Updates an existing price level.
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * const priceLevel = await client.qbd.priceLevels.update(
56
+ * '80000001-1234567890',
57
+ * {
58
+ * revisionNumber: '1721172183',
59
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
60
+ * },
61
+ * );
62
+ * ```
36
63
  */
37
64
  update(
38
65
  id: string,
@@ -51,6 +78,13 @@ export class PriceLevels extends APIResource {
51
78
  * Returns a list of price levels. NOTE: QuickBooks Desktop does not support
52
79
  * pagination for price levels; hence, there is no `cursor` parameter. Users
53
80
  * typically have few price levels.
81
+ *
82
+ * @example
83
+ * ```ts
84
+ * const priceLevels = await client.qbd.priceLevels.list({
85
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
86
+ * });
87
+ * ```
54
88
  */
55
89
  list(params: PriceLevelListParams, options?: Core.RequestOptions): Core.APIPromise<PriceLevelListResponse> {
56
90
  const { conductorEndUserId, ...query } = params;
@@ -7,6 +7,15 @@ import { CursorPage, type CursorPageParams } from '../../pagination';
7
7
  export class PurchaseOrders extends APIResource {
8
8
  /**
9
9
  * Creates a new purchase order.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const purchaseOrder =
14
+ * await client.qbd.purchaseOrders.create({
15
+ * transactionDate: '2021-10-01',
16
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
17
+ * });
18
+ * ```
10
19
  */
11
20
  create(params: PurchaseOrderCreateParams, options?: Core.RequestOptions): Core.APIPromise<PurchaseOrder> {
12
21
  const { conductorEndUserId, ...body } = params;
@@ -19,6 +28,15 @@ export class PurchaseOrders extends APIResource {
19
28
 
20
29
  /**
21
30
  * Retrieves a purchase order by ID.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const purchaseOrder =
35
+ * await client.qbd.purchaseOrders.retrieve(
36
+ * '123ABC-1234567890',
37
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
38
+ * );
39
+ * ```
22
40
  */
23
41
  retrieve(
24
42
  id: string,
@@ -34,6 +52,18 @@ export class PurchaseOrders extends APIResource {
34
52
 
35
53
  /**
36
54
  * Updates an existing purchase order.
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const purchaseOrder =
59
+ * await client.qbd.purchaseOrders.update(
60
+ * '123ABC-1234567890',
61
+ * {
62
+ * revisionNumber: '1721172183',
63
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
64
+ * },
65
+ * );
66
+ * ```
37
67
  */
38
68
  update(
39
69
  id: string,
@@ -51,6 +81,16 @@ export class PurchaseOrders extends APIResource {
51
81
  /**
52
82
  * Returns a list of purchase orders. Use the `cursor` parameter to paginate
53
83
  * through the results.
84
+ *
85
+ * @example
86
+ * ```ts
87
+ * // Automatically fetches more pages as needed.
88
+ * for await (const purchaseOrder of client.qbd.purchaseOrders.list(
89
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
90
+ * )) {
91
+ * // ...
92
+ * }
93
+ * ```
54
94
  */
55
95
  list(
56
96
  params: PurchaseOrderListParams,
@@ -67,6 +107,15 @@ export class PurchaseOrders extends APIResource {
67
107
  /**
68
108
  * Permanently deletes a a purchase order. The deletion will fail if the purchase
69
109
  * order is currently in use or has any linked transactions that are in use.
110
+ *
111
+ * @example
112
+ * ```ts
113
+ * const purchaseOrder =
114
+ * await client.qbd.purchaseOrders.delete(
115
+ * '123ABC-1234567890',
116
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
117
+ * );
118
+ * ```
70
119
  */
71
120
  delete(
72
121
  id: string,
@@ -520,6 +520,13 @@ export class Qbd extends APIResource {
520
520
  * will be returned. As with any request to QuickBooks Desktop, the health check
521
521
  * may fail if the application is not running, the wrong company file is open, or
522
522
  * if a modal dialog is open. Timeout is 60 seconds.
523
+ *
524
+ * @example
525
+ * ```ts
526
+ * const response = await client.qbd.healthCheck({
527
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
528
+ * });
529
+ * ```
523
530
  */
524
531
  healthCheck(
525
532
  params: QbdHealthCheckParams,
@@ -7,6 +7,17 @@ import { CursorPage, type CursorPageParams } from '../../pagination';
7
7
  export class ReceivePayments extends APIResource {
8
8
  /**
9
9
  * Creates a new receive-payment.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const receivePayment =
14
+ * await client.qbd.receivePayments.create({
15
+ * customerId: '80000001-1234567890',
16
+ * totalAmount: '1000.00',
17
+ * transactionDate: '2021-10-01',
18
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
19
+ * });
20
+ * ```
10
21
  */
11
22
  create(params: ReceivePaymentCreateParams, options?: Core.RequestOptions): Core.APIPromise<ReceivePayment> {
12
23
  const { conductorEndUserId, ...body } = params;
@@ -19,6 +30,15 @@ export class ReceivePayments extends APIResource {
19
30
 
20
31
  /**
21
32
  * Retrieves a receive-payment by ID.
33
+ *
34
+ * @example
35
+ * ```ts
36
+ * const receivePayment =
37
+ * await client.qbd.receivePayments.retrieve(
38
+ * '123ABC-1234567890',
39
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
40
+ * );
41
+ * ```
22
42
  */
23
43
  retrieve(
24
44
  id: string,
@@ -34,6 +54,18 @@ export class ReceivePayments extends APIResource {
34
54
 
35
55
  /**
36
56
  * Updates an existing receive-payment.
57
+ *
58
+ * @example
59
+ * ```ts
60
+ * const receivePayment =
61
+ * await client.qbd.receivePayments.update(
62
+ * '123ABC-1234567890',
63
+ * {
64
+ * revisionNumber: '1721172183',
65
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
66
+ * },
67
+ * );
68
+ * ```
37
69
  */
38
70
  update(
39
71
  id: string,
@@ -51,6 +83,16 @@ export class ReceivePayments extends APIResource {
51
83
  /**
52
84
  * Returns a list of receive-payments. Use the `cursor` parameter to paginate
53
85
  * through the results.
86
+ *
87
+ * @example
88
+ * ```ts
89
+ * // Automatically fetches more pages as needed.
90
+ * for await (const receivePayment of client.qbd.receivePayments.list(
91
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
92
+ * )) {
93
+ * // ...
94
+ * }
95
+ * ```
54
96
  */
55
97
  list(
56
98
  params: ReceivePaymentListParams,
@@ -68,6 +110,15 @@ export class ReceivePayments extends APIResource {
68
110
  * Permanently deletes a a receive-payment. The deletion will fail if the
69
111
  * receive-payment is currently in use or has any linked transactions that are in
70
112
  * use.
113
+ *
114
+ * @example
115
+ * ```ts
116
+ * const receivePayment =
117
+ * await client.qbd.receivePayments.delete(
118
+ * '123ABC-1234567890',
119
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
120
+ * );
121
+ * ```
71
122
  */
72
123
  delete(
73
124
  id: string,
@@ -7,6 +7,15 @@ import { CursorPage, type CursorPageParams } from '../../pagination';
7
7
  export class SalesOrders extends APIResource {
8
8
  /**
9
9
  * Creates a new sales order.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const salesOrder = await client.qbd.salesOrders.create({
14
+ * customerId: '80000001-1234567890',
15
+ * transactionDate: '2021-10-01',
16
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
17
+ * });
18
+ * ```
10
19
  */
11
20
  create(params: SalesOrderCreateParams, options?: Core.RequestOptions): Core.APIPromise<SalesOrder> {
12
21
  const { conductorEndUserId, ...body } = params;
@@ -19,6 +28,14 @@ export class SalesOrders extends APIResource {
19
28
 
20
29
  /**
21
30
  * Retrieves a sales order by ID.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const salesOrder = await client.qbd.salesOrders.retrieve(
35
+ * '123ABC-1234567890',
36
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
37
+ * );
38
+ * ```
22
39
  */
23
40
  retrieve(
24
41
  id: string,
@@ -34,6 +51,17 @@ export class SalesOrders extends APIResource {
34
51
 
35
52
  /**
36
53
  * Updates an existing sales order.
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * const salesOrder = await client.qbd.salesOrders.update(
58
+ * '123ABC-1234567890',
59
+ * {
60
+ * revisionNumber: '1721172183',
61
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
62
+ * },
63
+ * );
64
+ * ```
37
65
  */
38
66
  update(
39
67
  id: string,
@@ -51,6 +79,16 @@ export class SalesOrders extends APIResource {
51
79
  /**
52
80
  * Returns a list of sales orders. Use the `cursor` parameter to paginate through
53
81
  * the results.
82
+ *
83
+ * @example
84
+ * ```ts
85
+ * // Automatically fetches more pages as needed.
86
+ * for await (const salesOrder of client.qbd.salesOrders.list({
87
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
88
+ * })) {
89
+ * // ...
90
+ * }
91
+ * ```
54
92
  */
55
93
  list(
56
94
  params: SalesOrderListParams,
@@ -67,6 +105,14 @@ export class SalesOrders extends APIResource {
67
105
  /**
68
106
  * Permanently deletes a a sales order. The deletion will fail if the sales order
69
107
  * is currently in use or has any linked transactions that are in use.
108
+ *
109
+ * @example
110
+ * ```ts
111
+ * const salesOrder = await client.qbd.salesOrders.delete(
112
+ * '123ABC-1234567890',
113
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
114
+ * );
115
+ * ```
70
116
  */
71
117
  delete(
72
118
  id: string,
@@ -7,6 +7,15 @@ import { CursorPage, type CursorPageParams } from '../../pagination';
7
7
  export class SalesReceipts extends APIResource {
8
8
  /**
9
9
  * Creates a new sales receipt.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const salesReceipt = await client.qbd.salesReceipts.create({
14
+ * customerId: '80000001-1234567890',
15
+ * transactionDate: '2021-10-01',
16
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
17
+ * });
18
+ * ```
10
19
  */
11
20
  create(params: SalesReceiptCreateParams, options?: Core.RequestOptions): Core.APIPromise<SalesReceipt> {
12
21
  const { conductorEndUserId, ...body } = params;
@@ -19,6 +28,15 @@ export class SalesReceipts extends APIResource {
19
28
 
20
29
  /**
21
30
  * Retrieves a sales receipt by ID.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const salesReceipt =
35
+ * await client.qbd.salesReceipts.retrieve(
36
+ * '123ABC-1234567890',
37
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
38
+ * );
39
+ * ```
22
40
  */
23
41
  retrieve(
24
42
  id: string,
@@ -34,6 +52,17 @@ export class SalesReceipts extends APIResource {
34
52
 
35
53
  /**
36
54
  * Updates an existing sales receipt.
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const salesReceipt = await client.qbd.salesReceipts.update(
59
+ * '123ABC-1234567890',
60
+ * {
61
+ * revisionNumber: '1721172183',
62
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
63
+ * },
64
+ * );
65
+ * ```
37
66
  */
38
67
  update(
39
68
  id: string,
@@ -51,6 +80,16 @@ export class SalesReceipts extends APIResource {
51
80
  /**
52
81
  * Returns a list of sales receipts. Use the `cursor` parameter to paginate through
53
82
  * the results.
83
+ *
84
+ * @example
85
+ * ```ts
86
+ * // Automatically fetches more pages as needed.
87
+ * for await (const salesReceipt of client.qbd.salesReceipts.list(
88
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
89
+ * )) {
90
+ * // ...
91
+ * }
92
+ * ```
54
93
  */
55
94
  list(
56
95
  params: SalesReceiptListParams,
@@ -67,6 +106,14 @@ export class SalesReceipts extends APIResource {
67
106
  /**
68
107
  * Permanently deletes a a sales receipt. The deletion will fail if the sales
69
108
  * receipt is currently in use or has any linked transactions that are in use.
109
+ *
110
+ * @example
111
+ * ```ts
112
+ * const salesReceipt = await client.qbd.salesReceipts.delete(
113
+ * '123ABC-1234567890',
114
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
115
+ * );
116
+ * ```
70
117
  */
71
118
  delete(
72
119
  id: string,
@@ -6,6 +6,16 @@ import * as Core from '../../core';
6
6
  export class SalesRepresentatives extends APIResource {
7
7
  /**
8
8
  * Creates a new sales representative.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const salesRepresentative =
13
+ * await client.qbd.salesRepresentatives.create({
14
+ * entityId: '80000001-1234567890',
15
+ * initial: 'JD',
16
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
17
+ * });
18
+ * ```
9
19
  */
10
20
  create(
11
21
  params: SalesRepresentativeCreateParams,
@@ -21,6 +31,15 @@ export class SalesRepresentatives extends APIResource {
21
31
 
22
32
  /**
23
33
  * Retrieves a sales representative by ID.
34
+ *
35
+ * @example
36
+ * ```ts
37
+ * const salesRepresentative =
38
+ * await client.qbd.salesRepresentatives.retrieve(
39
+ * '80000001-1234567890',
40
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
41
+ * );
42
+ * ```
24
43
  */
25
44
  retrieve(
26
45
  id: string,
@@ -36,6 +55,18 @@ export class SalesRepresentatives extends APIResource {
36
55
 
37
56
  /**
38
57
  * Updates an existing sales representative.
58
+ *
59
+ * @example
60
+ * ```ts
61
+ * const salesRepresentative =
62
+ * await client.qbd.salesRepresentatives.update(
63
+ * '80000001-1234567890',
64
+ * {
65
+ * revisionNumber: '1721172183',
66
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
67
+ * },
68
+ * );
69
+ * ```
39
70
  */
40
71
  update(
41
72
  id: string,
@@ -54,6 +85,14 @@ export class SalesRepresentatives extends APIResource {
54
85
  * Returns a list of sales representatives. NOTE: QuickBooks Desktop does not
55
86
  * support pagination for sales representatives; hence, there is no `cursor`
56
87
  * parameter. Users typically have few sales representatives.
88
+ *
89
+ * @example
90
+ * ```ts
91
+ * const salesRepresentatives =
92
+ * await client.qbd.salesRepresentatives.list({
93
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
94
+ * });
95
+ * ```
57
96
  */
58
97
  list(
59
98
  params: SalesRepresentativeListParams,
@@ -6,6 +6,15 @@ import * as Core from '../../core';
6
6
  export class SalesTaxCodes extends APIResource {
7
7
  /**
8
8
  * Creates a new sales-tax code.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const salesTaxCode = await client.qbd.salesTaxCodes.create({
13
+ * isTaxable: true,
14
+ * name: 'Tax',
15
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
16
+ * });
17
+ * ```
9
18
  */
10
19
  create(params: SalesTaxCodeCreateParams, options?: Core.RequestOptions): Core.APIPromise<SalesTaxCode> {
11
20
  const { conductorEndUserId, ...body } = params;
@@ -18,6 +27,15 @@ export class SalesTaxCodes extends APIResource {
18
27
 
19
28
  /**
20
29
  * Retrieves a sales-tax code by ID.
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * const salesTaxCode =
34
+ * await client.qbd.salesTaxCodes.retrieve(
35
+ * '80000001-1234567890',
36
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
37
+ * );
38
+ * ```
21
39
  */
22
40
  retrieve(
23
41
  id: string,
@@ -33,6 +51,17 @@ export class SalesTaxCodes extends APIResource {
33
51
 
34
52
  /**
35
53
  * Updates an existing sales-tax code.
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * const salesTaxCode = await client.qbd.salesTaxCodes.update(
58
+ * '80000001-1234567890',
59
+ * {
60
+ * revisionNumber: '1721172183',
61
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
62
+ * },
63
+ * );
64
+ * ```
36
65
  */
37
66
  update(
38
67
  id: string,
@@ -51,6 +80,13 @@ export class SalesTaxCodes extends APIResource {
51
80
  * Returns a list of sales-tax codes. NOTE: QuickBooks Desktop does not support
52
81
  * pagination for sales-tax codes; hence, there is no `cursor` parameter. Users
53
82
  * typically have few sales-tax codes.
83
+ *
84
+ * @example
85
+ * ```ts
86
+ * const salesTaxCodes = await client.qbd.salesTaxCodes.list({
87
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
88
+ * });
89
+ * ```
54
90
  */
55
91
  list(
56
92
  params: SalesTaxCodeListParams,
@@ -7,6 +7,14 @@ import { CursorPage, type CursorPageParams } from '../../pagination';
7
7
  export class SalesTaxItems extends APIResource {
8
8
  /**
9
9
  * Creates a new sales-tax item.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const salesTaxItem = await client.qbd.salesTaxItems.create({
14
+ * name: 'Standard Tax',
15
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
16
+ * });
17
+ * ```
10
18
  */
11
19
  create(params: SalesTaxItemCreateParams, options?: Core.RequestOptions): Core.APIPromise<SalesTaxItem> {
12
20
  const { conductorEndUserId, ...body } = params;
@@ -19,6 +27,15 @@ export class SalesTaxItems extends APIResource {
19
27
 
20
28
  /**
21
29
  * Retrieves a sales-tax item by ID.
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * const salesTaxItem =
34
+ * await client.qbd.salesTaxItems.retrieve(
35
+ * '80000001-1234567890',
36
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
37
+ * );
38
+ * ```
22
39
  */
23
40
  retrieve(
24
41
  id: string,
@@ -34,6 +51,17 @@ export class SalesTaxItems extends APIResource {
34
51
 
35
52
  /**
36
53
  * Updates an existing sales-tax item.
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * const salesTaxItem = await client.qbd.salesTaxItems.update(
58
+ * '80000001-1234567890',
59
+ * {
60
+ * revisionNumber: '1721172183',
61
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
62
+ * },
63
+ * );
64
+ * ```
37
65
  */
38
66
  update(
39
67
  id: string,
@@ -51,6 +79,16 @@ export class SalesTaxItems extends APIResource {
51
79
  /**
52
80
  * Returns a list of sales-tax items. Use the `cursor` parameter to paginate
53
81
  * through the results.
82
+ *
83
+ * @example
84
+ * ```ts
85
+ * // Automatically fetches more pages as needed.
86
+ * for await (const salesTaxItem of client.qbd.salesTaxItems.list(
87
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
88
+ * )) {
89
+ * // ...
90
+ * }
91
+ * ```
54
92
  */
55
93
  list(
56
94
  params: SalesTaxItemListParams,
@@ -7,6 +7,14 @@ import { CursorPage, type CursorPageParams } from '../../pagination';
7
7
  export class ServiceItems extends APIResource {
8
8
  /**
9
9
  * Creates a new service item.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const serviceItem = await client.qbd.serviceItems.create({
14
+ * name: 'Web-Design',
15
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
16
+ * });
17
+ * ```
10
18
  */
11
19
  create(params: ServiceItemCreateParams, options?: Core.RequestOptions): Core.APIPromise<ServiceItem> {
12
20
  const { conductorEndUserId, ...body } = params;
@@ -19,6 +27,14 @@ export class ServiceItems extends APIResource {
19
27
 
20
28
  /**
21
29
  * Retrieves a service item by ID.
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * const serviceItem = await client.qbd.serviceItems.retrieve(
34
+ * '80000001-1234567890',
35
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
36
+ * );
37
+ * ```
22
38
  */
23
39
  retrieve(
24
40
  id: string,
@@ -34,6 +50,17 @@ export class ServiceItems extends APIResource {
34
50
 
35
51
  /**
36
52
  * Updates an existing service item.
53
+ *
54
+ * @example
55
+ * ```ts
56
+ * const serviceItem = await client.qbd.serviceItems.update(
57
+ * '80000001-1234567890',
58
+ * {
59
+ * revisionNumber: '1721172183',
60
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
61
+ * },
62
+ * );
63
+ * ```
37
64
  */
38
65
  update(
39
66
  id: string,
@@ -51,6 +78,16 @@ export class ServiceItems extends APIResource {
51
78
  /**
52
79
  * Returns a list of service items. Use the `cursor` parameter to paginate through
53
80
  * the results.
81
+ *
82
+ * @example
83
+ * ```ts
84
+ * // Automatically fetches more pages as needed.
85
+ * for await (const serviceItem of client.qbd.serviceItems.list(
86
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
87
+ * )) {
88
+ * // ...
89
+ * }
90
+ * ```
54
91
  */
55
92
  list(
56
93
  params: ServiceItemListParams,
@@ -6,6 +6,14 @@ import * as Core from '../../core';
6
6
  export class StandardTerms extends APIResource {
7
7
  /**
8
8
  * Creates a new standard term.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const standardTerm = await client.qbd.standardTerms.create({
13
+ * name: 'Net 30',
14
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
15
+ * });
16
+ * ```
9
17
  */
10
18
  create(params: StandardTermCreateParams, options?: Core.RequestOptions): Core.APIPromise<StandardTerm> {
11
19
  const { conductorEndUserId, ...body } = params;
@@ -18,6 +26,15 @@ export class StandardTerms extends APIResource {
18
26
 
19
27
  /**
20
28
  * Retrieves a standard term by ID.
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * const standardTerm =
33
+ * await client.qbd.standardTerms.retrieve(
34
+ * '80000001-1234567890',
35
+ * { conductorEndUserId: 'end_usr_1234567abcdefg' },
36
+ * );
37
+ * ```
21
38
  */
22
39
  retrieve(
23
40
  id: string,
@@ -35,6 +52,13 @@ export class StandardTerms extends APIResource {
35
52
  * Returns a list of standard terms. NOTE: QuickBooks Desktop does not support
36
53
  * pagination for standard terms; hence, there is no `cursor` parameter. Users
37
54
  * typically have few standard terms.
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const standardTerms = await client.qbd.standardTerms.list({
59
+ * conductorEndUserId: 'end_usr_1234567abcdefg',
60
+ * });
61
+ * ```
38
62
  */
39
63
  list(
40
64
  params: StandardTermListParams,