conductor-node 12.0.0-beta.2 → 12.0.0-beta.21

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 (169) hide show
  1. package/CHANGELOG.md +223 -0
  2. package/README.md +1 -1
  3. package/core.js +2 -1
  4. package/core.js.map +1 -1
  5. package/core.mjs +2 -1
  6. package/core.mjs.map +1 -1
  7. package/index.d.mts +4 -4
  8. package/index.d.ts +4 -4
  9. package/index.d.ts.map +1 -1
  10. package/index.js.map +1 -1
  11. package/index.mjs.map +1 -1
  12. package/package.json +8 -29
  13. package/pagination.js +1 -1
  14. package/pagination.js.map +1 -1
  15. package/pagination.mjs +1 -1
  16. package/pagination.mjs.map +1 -1
  17. package/resources/auth-sessions.d.ts +12 -16
  18. package/resources/auth-sessions.d.ts.map +1 -1
  19. package/resources/auth-sessions.js +3 -9
  20. package/resources/auth-sessions.js.map +1 -1
  21. package/resources/auth-sessions.mjs +3 -9
  22. package/resources/auth-sessions.mjs.map +1 -1
  23. package/resources/end-users.d.ts +20 -32
  24. package/resources/end-users.d.ts.map +1 -1
  25. package/resources/end-users.js +4 -12
  26. package/resources/end-users.js.map +1 -1
  27. package/resources/end-users.mjs +4 -12
  28. package/resources/end-users.mjs.map +1 -1
  29. package/resources/index.d.ts +2 -2
  30. package/resources/index.d.ts.map +1 -1
  31. package/resources/index.js.map +1 -1
  32. package/resources/index.mjs.map +1 -1
  33. package/resources/qbd/bill-check-payments.d.ts +4 -4
  34. package/resources/qbd/bill-credit-card-payments.d.ts +4 -4
  35. package/resources/qbd/bills.d.ts +7 -8
  36. package/resources/qbd/bills.d.ts.map +1 -1
  37. package/resources/qbd/bills.js.map +1 -1
  38. package/resources/qbd/bills.mjs.map +1 -1
  39. package/resources/qbd/checks.d.ts +4 -4
  40. package/resources/qbd/company.d.ts +354 -0
  41. package/resources/qbd/company.d.ts.map +1 -0
  42. package/resources/qbd/company.js +22 -0
  43. package/resources/qbd/company.js.map +1 -0
  44. package/resources/qbd/company.mjs +18 -0
  45. package/resources/qbd/company.mjs.map +1 -0
  46. package/resources/qbd/credit-card-charges.d.ts +4 -4
  47. package/resources/qbd/credit-card-credits.d.ts +4 -4
  48. package/resources/qbd/credit-memos.d.ts +4 -4
  49. package/resources/qbd/customers.d.ts +2 -2
  50. package/resources/qbd/customers.d.ts.map +1 -1
  51. package/resources/qbd/employees.d.ts +89 -36
  52. package/resources/qbd/employees.d.ts.map +1 -1
  53. package/resources/qbd/employees.js.map +1 -1
  54. package/resources/qbd/employees.mjs.map +1 -1
  55. package/resources/qbd/estimates.d.ts +4 -4
  56. package/resources/qbd/index.d.ts +7 -1
  57. package/resources/qbd/index.d.ts.map +1 -1
  58. package/resources/qbd/index.js +17 -2
  59. package/resources/qbd/index.js.map +1 -1
  60. package/resources/qbd/index.mjs +6 -0
  61. package/resources/qbd/index.mjs.map +1 -1
  62. package/resources/qbd/inventory-adjustments.d.ts +4 -4
  63. package/resources/qbd/inventory-assembly-items.d.ts +1 -1
  64. package/resources/qbd/inventory-assembly-items.d.ts.map +1 -1
  65. package/resources/qbd/inventory-items.d.ts +1 -1
  66. package/resources/qbd/inventory-items.d.ts.map +1 -1
  67. package/resources/qbd/invoices.d.ts +4 -4
  68. package/resources/qbd/item-receipts.d.ts +2336 -0
  69. package/resources/qbd/item-receipts.d.ts.map +1 -0
  70. package/resources/qbd/item-receipts.js +69 -0
  71. package/resources/qbd/item-receipts.js.map +1 -0
  72. package/resources/qbd/item-receipts.mjs +64 -0
  73. package/resources/qbd/item-receipts.mjs.map +1 -0
  74. package/resources/qbd/journal-entries.d.ts +4 -4
  75. package/resources/qbd/preferences.d.ts +591 -0
  76. package/resources/qbd/preferences.d.ts.map +1 -0
  77. package/resources/qbd/preferences.js +21 -0
  78. package/resources/qbd/preferences.js.map +1 -0
  79. package/resources/qbd/preferences.mjs +17 -0
  80. package/resources/qbd/preferences.mjs.map +1 -0
  81. package/resources/qbd/price-levels.d.ts +454 -0
  82. package/resources/qbd/price-levels.d.ts.map +1 -0
  83. package/resources/qbd/price-levels.js +54 -0
  84. package/resources/qbd/price-levels.js.map +1 -0
  85. package/resources/qbd/price-levels.mjs +50 -0
  86. package/resources/qbd/price-levels.mjs.map +1 -0
  87. package/resources/qbd/purchase-orders.d.ts +4 -4
  88. package/resources/qbd/qbd.d.ts +52 -0
  89. package/resources/qbd/qbd.d.ts.map +1 -1
  90. package/resources/qbd/qbd.js +40 -0
  91. package/resources/qbd/qbd.js.map +1 -1
  92. package/resources/qbd/qbd.mjs +40 -0
  93. package/resources/qbd/qbd.mjs.map +1 -1
  94. package/resources/qbd/receive-payments.d.ts +4 -4
  95. package/resources/qbd/sales-orders.d.ts +4 -4
  96. package/resources/qbd/sales-receipts.d.ts +4 -4
  97. package/resources/qbd/time-tracking-activities.d.ts +485 -0
  98. package/resources/qbd/time-tracking-activities.d.ts.map +1 -0
  99. package/resources/qbd/time-tracking-activities.js +66 -0
  100. package/resources/qbd/time-tracking-activities.js.map +1 -0
  101. package/resources/qbd/time-tracking-activities.mjs +61 -0
  102. package/resources/qbd/time-tracking-activities.mjs.map +1 -0
  103. package/resources/qbd/transactions.d.ts +310 -0
  104. package/resources/qbd/transactions.d.ts.map +1 -0
  105. package/resources/qbd/transactions.js +40 -0
  106. package/resources/qbd/transactions.js.map +1 -0
  107. package/resources/qbd/transactions.mjs +35 -0
  108. package/resources/qbd/transactions.mjs.map +1 -0
  109. package/resources/qbd/transfers.d.ts +4 -4
  110. package/resources/qbd/vendor-credits.d.ts +4 -4
  111. package/resources/qbd/vendors.d.ts +6 -6
  112. package/resources/qbd/vendors.d.ts.map +1 -1
  113. package/resources/qbd.d.ts +2 -0
  114. package/resources/qbd.d.ts.map +1 -0
  115. package/resources/qbd.js +19 -0
  116. package/resources/qbd.js.map +1 -0
  117. package/resources/qbd.mjs +3 -0
  118. package/resources/qbd.mjs.map +1 -0
  119. package/resources.d.ts +2 -0
  120. package/resources.d.ts.map +1 -0
  121. package/resources.js +18 -0
  122. package/resources.js.map +1 -0
  123. package/resources.mjs +2 -0
  124. package/resources.mjs.map +1 -0
  125. package/src/core.ts +3 -3
  126. package/src/index.ts +6 -4
  127. package/src/pagination.ts +1 -1
  128. package/src/resources/auth-sessions.ts +12 -19
  129. package/src/resources/end-users.ts +19 -40
  130. package/src/resources/index.ts +1 -2
  131. package/src/resources/qbd/bill-check-payments.ts +4 -4
  132. package/src/resources/qbd/bill-credit-card-payments.ts +4 -4
  133. package/src/resources/qbd/bills.ts +7 -8
  134. package/src/resources/qbd/checks.ts +4 -4
  135. package/src/resources/qbd/company.ts +466 -0
  136. package/src/resources/qbd/credit-card-charges.ts +4 -4
  137. package/src/resources/qbd/credit-card-credits.ts +4 -4
  138. package/src/resources/qbd/credit-memos.ts +4 -4
  139. package/src/resources/qbd/customers.ts +2 -2
  140. package/src/resources/qbd/employees.ts +90 -36
  141. package/src/resources/qbd/estimates.ts +4 -4
  142. package/src/resources/qbd/index.ts +41 -1
  143. package/src/resources/qbd/inventory-adjustments.ts +4 -4
  144. package/src/resources/qbd/inventory-assembly-items.ts +1 -1
  145. package/src/resources/qbd/inventory-items.ts +1 -1
  146. package/src/resources/qbd/invoices.ts +4 -4
  147. package/src/resources/qbd/item-receipts.ts +2783 -0
  148. package/src/resources/qbd/journal-entries.ts +4 -4
  149. package/src/resources/qbd/preferences.ts +684 -0
  150. package/src/resources/qbd/price-levels.ts +561 -0
  151. package/src/resources/qbd/purchase-orders.ts +4 -4
  152. package/src/resources/qbd/qbd.ts +156 -0
  153. package/src/resources/qbd/receive-payments.ts +4 -4
  154. package/src/resources/qbd/sales-orders.ts +4 -4
  155. package/src/resources/qbd/sales-receipts.ts +4 -4
  156. package/src/resources/qbd/time-tracking-activities.ts +615 -0
  157. package/src/resources/qbd/transactions.ts +439 -0
  158. package/src/resources/qbd/transfers.ts +4 -4
  159. package/src/resources/qbd/vendor-credits.ts +4 -4
  160. package/src/resources/qbd/vendors.ts +6 -6
  161. package/src/resources/qbd.ts +3 -0
  162. package/src/resources.ts +1 -0
  163. package/src/version.ts +1 -1
  164. package/version.d.ts +1 -1
  165. package/version.d.ts.map +1 -1
  166. package/version.js +1 -1
  167. package/version.js.map +1 -1
  168. package/version.mjs +1 -1
  169. package/version.mjs.map +1 -1
@@ -0,0 +1,454 @@
1
+ import { APIResource } from "../../resource.js";
2
+ import * as Core from "../../core.js";
3
+ export declare class PriceLevels extends APIResource {
4
+ /**
5
+ * Creates a new price level.
6
+ */
7
+ create(params: PriceLevelCreateParams, options?: Core.RequestOptions): Core.APIPromise<PriceLevel>;
8
+ /**
9
+ * Retrieves a price level by ID.
10
+ */
11
+ retrieve(id: string, params: PriceLevelRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<PriceLevel>;
12
+ /**
13
+ * Updates an existing price level.
14
+ */
15
+ update(id: string, params: PriceLevelUpdateParams, options?: Core.RequestOptions): Core.APIPromise<PriceLevel>;
16
+ /**
17
+ * Returns a list of price levels. NOTE: QuickBooks Desktop does not support
18
+ * pagination for price levels; hence, there is no `cursor` parameter. Users
19
+ * typically have few price levels.
20
+ */
21
+ list(params: PriceLevelListParams, options?: Core.RequestOptions): Core.APIPromise<PriceLevelListResponse>;
22
+ }
23
+ export interface PriceLevel {
24
+ /**
25
+ * The unique identifier assigned by QuickBooks to this price level. This ID is
26
+ * unique across all price levels but not across different QuickBooks object types.
27
+ */
28
+ id: string;
29
+ /**
30
+ * The date and time when this price level was created, in ISO 8601 format
31
+ * (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone
32
+ * in QuickBooks.
33
+ */
34
+ createdAt: string;
35
+ /**
36
+ * The price level's currency. For built-in currencies, the name and code are
37
+ * standard international values. For user-defined currencies, all values are
38
+ * editable.
39
+ */
40
+ currency: PriceLevel.Currency | null;
41
+ /**
42
+ * The fixed percentage adjustment applied to all items for this price level
43
+ * (instead of a per-item price level). Once you create the price level, you cannot
44
+ * change this.
45
+ *
46
+ * When this price level is applied to a customer, it automatically adjusts the
47
+ * `rate` and `amount` columns for applicable line items in sales orders and
48
+ * invoices for that customer. This value supports both positive and negative
49
+ * values - a value of "20" increases prices by 20%, while "-10" decreases prices
50
+ * by 10%.
51
+ */
52
+ fixedPercentage: string | null;
53
+ /**
54
+ * Indicates whether this price level is active. Inactive objects are typically
55
+ * hidden from views and reports in QuickBooks. Defaults to `true`.
56
+ */
57
+ isActive: boolean;
58
+ /**
59
+ * The case-insensitive unique name of this price level, unique across all price
60
+ * levels.
61
+ *
62
+ * **NOTE**: Price levels do not have a `fullName` field because they are not
63
+ * hierarchical objects, which is why `name` is unique for them but not for objects
64
+ * that have parents.
65
+ */
66
+ name: string;
67
+ /**
68
+ * The type of object. This value is always `"qbd_price_level"`.
69
+ */
70
+ objectType: 'qbd_price_level';
71
+ /**
72
+ * The per-item price level configurations for this price level.
73
+ */
74
+ perItemPriceLevels: Array<PriceLevel.PerItemPriceLevel>;
75
+ /**
76
+ * The price level's type.
77
+ */
78
+ priceLevelType: 'fixed_percentage' | 'per_item';
79
+ /**
80
+ * The current QuickBooks-assigned revision number of this price level object,
81
+ * which changes each time the object is modified. When updating this object, you
82
+ * must provide the most recent `revisionNumber` to ensure you're working with the
83
+ * latest data; otherwise, the update will return an error.
84
+ */
85
+ revisionNumber: string;
86
+ /**
87
+ * The date and time when this price level was last updated, in ISO 8601 format
88
+ * (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone
89
+ * in QuickBooks.
90
+ */
91
+ updatedAt: string;
92
+ }
93
+ export declare namespace PriceLevel {
94
+ /**
95
+ * The price level's currency. For built-in currencies, the name and code are
96
+ * standard international values. For user-defined currencies, all values are
97
+ * editable.
98
+ */
99
+ interface Currency {
100
+ /**
101
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
102
+ * across all objects of the same type, but not across different QuickBooks object
103
+ * types.
104
+ */
105
+ id: string | null;
106
+ /**
107
+ * The fully-qualified unique name for this object, formed by combining the names
108
+ * of its parent objects with its own `name`, separated by colons. Not
109
+ * case-sensitive.
110
+ */
111
+ fullName: string | null;
112
+ }
113
+ interface PerItemPriceLevel {
114
+ /**
115
+ * The fixed amount custom price for this per-item price level that overrides the
116
+ * standard price for the specified item. Used when setting an absolute price value
117
+ * for the item in this price level.
118
+ */
119
+ customPrice: string | null;
120
+ /**
121
+ * The fixed discount percentage for this per-item price level that modifies the
122
+ * specified item's standard price. Used to create a fixed percentage markup or
123
+ * discount specific to this item within this price level.
124
+ */
125
+ customPricePercent: string | null;
126
+ /**
127
+ * The item associated with this per-item price level. This can refer to any good
128
+ * or service that the business buys or sells, including item types such as a
129
+ * service item, inventory item, or special calculation item like a discount item
130
+ * or sales-tax item.
131
+ */
132
+ item: PerItemPriceLevel.Item | null;
133
+ }
134
+ namespace PerItemPriceLevel {
135
+ /**
136
+ * The item associated with this per-item price level. This can refer to any good
137
+ * or service that the business buys or sells, including item types such as a
138
+ * service item, inventory item, or special calculation item like a discount item
139
+ * or sales-tax item.
140
+ */
141
+ interface Item {
142
+ /**
143
+ * The unique identifier assigned by QuickBooks to this object. This ID is unique
144
+ * across all objects of the same type, but not across different QuickBooks object
145
+ * types.
146
+ */
147
+ id: string | null;
148
+ /**
149
+ * The fully-qualified unique name for this object, formed by combining the names
150
+ * of its parent objects with its own `name`, separated by colons. Not
151
+ * case-sensitive.
152
+ */
153
+ fullName: string | null;
154
+ }
155
+ }
156
+ }
157
+ export interface PriceLevelListResponse {
158
+ /**
159
+ * The array of price levels.
160
+ */
161
+ data: Array<PriceLevel>;
162
+ /**
163
+ * The type of object. This value is always `"list"`.
164
+ */
165
+ objectType: 'list';
166
+ /**
167
+ * The endpoint URL where this list can be accessed.
168
+ */
169
+ url: string;
170
+ }
171
+ export interface PriceLevelCreateParams {
172
+ /**
173
+ * Body param: The case-insensitive unique name of this price level, unique across
174
+ * all price levels.
175
+ *
176
+ * **NOTE**: Price levels do not have a `fullName` field because they are not
177
+ * hierarchical objects, which is why `name` is unique for them but not for objects
178
+ * that have parents.
179
+ *
180
+ * Maximum length: 31 characters.
181
+ */
182
+ name: string;
183
+ /**
184
+ * Header param: The ID of the EndUser to receive this request (e.g.,
185
+ * `"Conductor-End-User-Id: {{END_USER_ID}}"`).
186
+ */
187
+ conductorEndUserId: string;
188
+ /**
189
+ * Body param: The price level's currency. For built-in currencies, the name and
190
+ * code are standard international values. For user-defined currencies, all values
191
+ * are editable.
192
+ */
193
+ currencyId?: string;
194
+ /**
195
+ * Body param: The fixed percentage adjustment applied to all items for this price
196
+ * level (instead of a per-item price level). Once you create the price level, you
197
+ * cannot change this.
198
+ *
199
+ * When this price level is applied to a customer, it automatically adjusts the
200
+ * `rate` and `amount` columns for applicable line items in sales orders and
201
+ * invoices for that customer. This value supports both positive and negative
202
+ * values - a value of "20" increases prices by 20%, while "-10" decreases prices
203
+ * by 10%.
204
+ */
205
+ fixedPercentage?: string;
206
+ /**
207
+ * Body param: Indicates whether this price level is active. Inactive objects are
208
+ * typically hidden from views and reports in QuickBooks. Defaults to `true`.
209
+ */
210
+ isActive?: boolean;
211
+ /**
212
+ * Body param: The per-item price level configurations for this price level.
213
+ */
214
+ perItemPriceLevels?: Array<PriceLevelCreateParams.PerItemPriceLevel>;
215
+ }
216
+ export declare namespace PriceLevelCreateParams {
217
+ interface PerItemPriceLevel {
218
+ /**
219
+ * The percentage adjustment for this per-item price level when using relative
220
+ * pricing. Specifies a percentage to modify pricing, using positive values (e.g.,
221
+ * "20") to increase prices by that percentage, or negative values (e.g., "-10") to
222
+ * apply a discount.
223
+ */
224
+ adjustPercentage: string;
225
+ /**
226
+ * The base value reference for this per-item price level's percentage adjustment.
227
+ * Specifies which price to use as the starting point for the adjustment
228
+ * calculation in the price level.
229
+ *
230
+ * **NOTE:** The price level must use either a fixed pricing approach
231
+ * (`customPrice` or `customPricePercent`) or a relative adjustment approach
232
+ * (`adjustPercentage` with `adjustRelativeTo`) when configuring per-item price
233
+ * levels.
234
+ */
235
+ adjustRelativeTo: 'cost' | 'current_custom_price' | 'standard_price';
236
+ /**
237
+ * The fixed amount custom price for this per-item price level that overrides the
238
+ * standard price for the specified item. Used when setting an absolute price value
239
+ * for the item in this price level.
240
+ */
241
+ customPrice?: string;
242
+ /**
243
+ * The fixed discount percentage for this per-item price level that modifies the
244
+ * specified item's standard price. Used to create a fixed percentage markup or
245
+ * discount specific to this item within this price level.
246
+ */
247
+ customPricePercent?: string;
248
+ /**
249
+ * The item associated with this per-item price level. This can refer to any good
250
+ * or service that the business buys or sells, including item types such as a
251
+ * service item, inventory item, or special calculation item like a discount item
252
+ * or sales-tax item.
253
+ */
254
+ itemId?: string;
255
+ }
256
+ }
257
+ export interface PriceLevelRetrieveParams {
258
+ /**
259
+ * The ID of the EndUser to receive this request (e.g.,
260
+ * `"Conductor-End-User-Id: {{END_USER_ID}}"`).
261
+ */
262
+ conductorEndUserId: string;
263
+ }
264
+ export interface PriceLevelUpdateParams {
265
+ /**
266
+ * Body param: The current QuickBooks-assigned revision number of the price level
267
+ * object you are updating, which you can get by fetching the object first. Provide
268
+ * the most recent `revisionNumber` to ensure you're working with the latest data;
269
+ * otherwise, the update will return an error.
270
+ */
271
+ revisionNumber: string;
272
+ /**
273
+ * Header param: The ID of the EndUser to receive this request (e.g.,
274
+ * `"Conductor-End-User-Id: {{END_USER_ID}}"`).
275
+ */
276
+ conductorEndUserId: string;
277
+ /**
278
+ * Body param: The price level's currency. For built-in currencies, the name and
279
+ * code are standard international values. For user-defined currencies, all values
280
+ * are editable.
281
+ */
282
+ currencyId?: string;
283
+ /**
284
+ * Body param: The fixed percentage adjustment applied to all items for this price
285
+ * level (instead of a per-item price level). Once you create the price level, you
286
+ * cannot change this.
287
+ *
288
+ * When this price level is applied to a customer, it automatically adjusts the
289
+ * `rate` and `amount` columns for applicable line items in sales orders and
290
+ * invoices for that customer. This value supports both positive and negative
291
+ * values - a value of "20" increases prices by 20%, while "-10" decreases prices
292
+ * by 10%.
293
+ */
294
+ fixedPercentage?: string;
295
+ /**
296
+ * Body param: Indicates whether this price level is active. Inactive objects are
297
+ * typically hidden from views and reports in QuickBooks. Defaults to `true`.
298
+ */
299
+ isActive?: boolean;
300
+ /**
301
+ * Body param: The case-insensitive unique name of this price level, unique across
302
+ * all price levels.
303
+ *
304
+ * **NOTE**: Price levels do not have a `fullName` field because they are not
305
+ * hierarchical objects, which is why `name` is unique for them but not for objects
306
+ * that have parents.
307
+ *
308
+ * Maximum length: 31 characters.
309
+ */
310
+ name?: string;
311
+ /**
312
+ * Body param: The per-item price level configurations for this price level.
313
+ */
314
+ perItemPriceLevels?: Array<PriceLevelUpdateParams.PerItemPriceLevel>;
315
+ }
316
+ export declare namespace PriceLevelUpdateParams {
317
+ interface PerItemPriceLevel {
318
+ /**
319
+ * The percentage adjustment for this per-item price level when using relative
320
+ * pricing. Specifies a percentage to modify pricing, using positive values (e.g.,
321
+ * "20") to increase prices by that percentage, or negative values (e.g., "-10") to
322
+ * apply a discount.
323
+ */
324
+ adjustPercentage: string;
325
+ /**
326
+ * The base value reference for this per-item price level's percentage adjustment.
327
+ * Specifies which price to use as the starting point for the adjustment
328
+ * calculation in the price level.
329
+ *
330
+ * **NOTE:** The price level must use either a fixed pricing approach
331
+ * (`customPrice` or `customPricePercent`) or a relative adjustment approach
332
+ * (`adjustPercentage` with `adjustRelativeTo`) when configuring per-item price
333
+ * levels.
334
+ */
335
+ adjustRelativeTo: 'cost' | 'current_custom_price' | 'standard_price';
336
+ /**
337
+ * The fixed amount custom price for this per-item price level that overrides the
338
+ * standard price for the specified item. Used when setting an absolute price value
339
+ * for the item in this price level.
340
+ */
341
+ customPrice?: string;
342
+ /**
343
+ * The fixed discount percentage for this per-item price level that modifies the
344
+ * specified item's standard price. Used to create a fixed percentage markup or
345
+ * discount specific to this item within this price level.
346
+ */
347
+ customPricePercent?: string;
348
+ /**
349
+ * The item associated with this per-item price level. This can refer to any good
350
+ * or service that the business buys or sells, including item types such as a
351
+ * service item, inventory item, or special calculation item like a discount item
352
+ * or sales-tax item.
353
+ */
354
+ itemId?: string;
355
+ }
356
+ }
357
+ export interface PriceLevelListParams {
358
+ /**
359
+ * Header param: The ID of the EndUser to receive this request (e.g.,
360
+ * `"Conductor-End-User-Id: {{END_USER_ID}}"`).
361
+ */
362
+ conductorEndUserId: string;
363
+ /**
364
+ * Query param: Filter for price levels in these currencies.
365
+ */
366
+ currencyIds?: Array<string>;
367
+ /**
368
+ * Query param: Filter for specific price levels by their QuickBooks-assigned
369
+ * unique identifier(s).
370
+ *
371
+ * **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other
372
+ * query parameters for this request.
373
+ *
374
+ * **NOTE**: If any of the values you specify in this parameter are not found, the
375
+ * request will return an error.
376
+ */
377
+ ids?: Array<string>;
378
+ /**
379
+ * Query param: Filter for price levels containing these items.
380
+ */
381
+ itemIds?: Array<string>;
382
+ /**
383
+ * Query param: The maximum number of objects to return.
384
+ *
385
+ * **IMPORTANT**: QuickBooks Desktop does not support cursor-based pagination for
386
+ * price levels. This parameter will limit the response size, but you cannot fetch
387
+ * subsequent results using a cursor. For pagination, use the name-range parameters
388
+ * instead (e.g., `nameFrom=A&nameTo=B`).
389
+ *
390
+ * When this parameter is omitted, the endpoint returns all price levels without
391
+ * limit, unlike paginated endpoints which default to 150 records. This is
392
+ * acceptable because price levels typically have low record counts.
393
+ */
394
+ limit?: number;
395
+ /**
396
+ * Query param: Filter for price levels whose `name` contains this substring,
397
+ * case-insensitive. NOTE: If you use this parameter, you cannot also use
398
+ * `nameStartsWith` or `nameEndsWith`.
399
+ */
400
+ nameContains?: string;
401
+ /**
402
+ * Query param: Filter for price levels whose `name` ends with this substring,
403
+ * case-insensitive. NOTE: If you use this parameter, you cannot also use
404
+ * `nameContains` or `nameStartsWith`.
405
+ */
406
+ nameEndsWith?: string;
407
+ /**
408
+ * Query param: Filter for price levels whose `name` is alphabetically greater than
409
+ * or equal to this value.
410
+ */
411
+ nameFrom?: string;
412
+ /**
413
+ * Query param: Filter for specific price levels by their name(s),
414
+ * case-insensitive. Like `id`, `name` is a unique identifier for a price level.
415
+ *
416
+ * **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other
417
+ * query parameters for this request.
418
+ *
419
+ * **NOTE**: If any of the values you specify in this parameter are not found, the
420
+ * request will return an error.
421
+ */
422
+ names?: Array<string>;
423
+ /**
424
+ * Query param: Filter for price levels whose `name` starts with this substring,
425
+ * case-insensitive. NOTE: If you use this parameter, you cannot also use
426
+ * `nameContains` or `nameEndsWith`.
427
+ */
428
+ nameStartsWith?: string;
429
+ /**
430
+ * Query param: Filter for price levels whose `name` is alphabetically less than or
431
+ * equal to this value.
432
+ */
433
+ nameTo?: string;
434
+ /**
435
+ * Query param: Filter for price levels that are active, inactive, or both.
436
+ */
437
+ status?: 'active' | 'all' | 'inactive';
438
+ /**
439
+ * Query param: Filter for price levels updated on or after this date and time, in
440
+ * ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date (YYYY-MM-DD),
441
+ * the time is assumed to be 00:00:00 of that day.
442
+ */
443
+ updatedAfter?: string;
444
+ /**
445
+ * Query param: Filter for price levels updated on or before this date and time, in
446
+ * ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date (YYYY-MM-DD),
447
+ * the time is assumed to be 23:59:59 of that day.
448
+ */
449
+ updatedBefore?: string;
450
+ }
451
+ export declare namespace PriceLevels {
452
+ export { type PriceLevel as PriceLevel, type PriceLevelListResponse as PriceLevelListResponse, type PriceLevelCreateParams as PriceLevelCreateParams, type PriceLevelRetrieveParams as PriceLevelRetrieveParams, type PriceLevelUpdateParams as PriceLevelUpdateParams, type PriceLevelListParams as PriceLevelListParams, };
453
+ }
454
+ //# sourceMappingURL=price-levels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"price-levels.d.ts","sourceRoot":"","sources":["../../src/resources/qbd/price-levels.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC,qBAAa,WAAY,SAAQ,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AAC,CAAC;IAE5B;;;;;;;;;OASG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,UAAU,CAAC;IAEvC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PriceLevels = void 0;
5
+ const resource_1 = require("../../resource.js");
6
+ class PriceLevels extends resource_1.APIResource {
7
+ /**
8
+ * Creates a new price level.
9
+ */
10
+ create(params, options) {
11
+ const { conductorEndUserId, ...body } = params;
12
+ return this._client.post('/quickbooks-desktop/price-levels', {
13
+ body,
14
+ ...options,
15
+ headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
16
+ });
17
+ }
18
+ /**
19
+ * Retrieves a price level by ID.
20
+ */
21
+ retrieve(id, params, options) {
22
+ const { conductorEndUserId } = params;
23
+ return this._client.get(`/quickbooks-desktop/price-levels/${id}`, {
24
+ ...options,
25
+ headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
26
+ });
27
+ }
28
+ /**
29
+ * Updates an existing price level.
30
+ */
31
+ update(id, params, options) {
32
+ const { conductorEndUserId, ...body } = params;
33
+ return this._client.post(`/quickbooks-desktop/price-levels/${id}`, {
34
+ body,
35
+ ...options,
36
+ headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
37
+ });
38
+ }
39
+ /**
40
+ * Returns a list of price levels. NOTE: QuickBooks Desktop does not support
41
+ * pagination for price levels; hence, there is no `cursor` parameter. Users
42
+ * typically have few price levels.
43
+ */
44
+ list(params, options) {
45
+ const { conductorEndUserId, ...query } = params;
46
+ return this._client.get('/quickbooks-desktop/price-levels', {
47
+ query,
48
+ ...options,
49
+ headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
50
+ });
51
+ }
52
+ }
53
+ exports.PriceLevels = PriceLevels;
54
+ //# sourceMappingURL=price-levels.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"price-levels.js","sourceRoot":"","sources":["../../src/resources/qbd/price-levels.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAG7C,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;OAEG;IACH,MAAM,CAAC,MAA8B,EAAE,OAA6B;QAClE,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE;YAC3D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from "../../resource.mjs";
3
+ export class PriceLevels extends APIResource {
4
+ /**
5
+ * Creates a new price level.
6
+ */
7
+ create(params, options) {
8
+ const { conductorEndUserId, ...body } = params;
9
+ return this._client.post('/quickbooks-desktop/price-levels', {
10
+ body,
11
+ ...options,
12
+ headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
13
+ });
14
+ }
15
+ /**
16
+ * Retrieves a price level by ID.
17
+ */
18
+ retrieve(id, params, options) {
19
+ const { conductorEndUserId } = params;
20
+ return this._client.get(`/quickbooks-desktop/price-levels/${id}`, {
21
+ ...options,
22
+ headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
23
+ });
24
+ }
25
+ /**
26
+ * Updates an existing price level.
27
+ */
28
+ update(id, params, options) {
29
+ const { conductorEndUserId, ...body } = params;
30
+ return this._client.post(`/quickbooks-desktop/price-levels/${id}`, {
31
+ body,
32
+ ...options,
33
+ headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
34
+ });
35
+ }
36
+ /**
37
+ * Returns a list of price levels. NOTE: QuickBooks Desktop does not support
38
+ * pagination for price levels; hence, there is no `cursor` parameter. Users
39
+ * typically have few price levels.
40
+ */
41
+ list(params, options) {
42
+ const { conductorEndUserId, ...query } = params;
43
+ return this._client.get('/quickbooks-desktop/price-levels', {
44
+ query,
45
+ ...options,
46
+ headers: { 'Conductor-End-User-Id': conductorEndUserId, ...options?.headers },
47
+ });
48
+ }
49
+ }
50
+ //# sourceMappingURL=price-levels.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"price-levels.mjs","sourceRoot":"","sources":["../../src/resources/qbd/price-levels.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CAAC,MAA8B,EAAE,OAA6B;QAClE,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;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urchaseOrderListParams extends CursorPageParams {
2515
2515
  */
2516
2516
  refNumberTo?: string;
2517
2517
  /**
2518
- * Query param: Filter for purchase orders created on or after this date, in ISO
2519
- * 8601 format (YYYY-MM-DD).
2518
+ * Query param: Filter for purchase orders whose `date` field is on or after this
2519
+ * date, in ISO 8601 format (YYYY-MM-DD).
2520
2520
  */
2521
2521
  transactionDateFrom?: string;
2522
2522
  /**
2523
- * Query param: Filter for purchase orders created on or before this date, in ISO
2524
- * 8601 format (YYYY-MM-DD).
2523
+ * Query param: Filter for purchase orders whose `date` field is on or before this
2524
+ * date, in ISO 8601 format (YYYY-MM-DD).
2525
2525
  */
2526
2526
  transactionDateTo?: string;
2527
2527
  /**