@augno/sdk 0.12.7 → 0.13.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 (287) hide show
  1. package/CHANGELOG.md +2 -4
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs +1 -1
  8. package/client.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/catalog/catalog.d.mts +4 -4
  11. package/resources/catalog/catalog.d.mts.map +1 -1
  12. package/resources/catalog/catalog.d.ts +4 -4
  13. package/resources/catalog/catalog.d.ts.map +1 -1
  14. package/resources/catalog/catalog.js.map +1 -1
  15. package/resources/catalog/catalog.mjs.map +1 -1
  16. package/resources/catalog/index.d.mts +2 -2
  17. package/resources/catalog/index.d.mts.map +1 -1
  18. package/resources/catalog/index.d.ts +2 -2
  19. package/resources/catalog/index.d.ts.map +1 -1
  20. package/resources/catalog/index.js.map +1 -1
  21. package/resources/catalog/index.mjs.map +1 -1
  22. package/resources/catalog/items/index.d.mts +1 -1
  23. package/resources/catalog/items/index.d.mts.map +1 -1
  24. package/resources/catalog/items/index.d.ts +1 -1
  25. package/resources/catalog/items/index.d.ts.map +1 -1
  26. package/resources/catalog/items/index.js.map +1 -1
  27. package/resources/catalog/items/index.mjs.map +1 -1
  28. package/resources/catalog/items/items.d.mts +77 -1
  29. package/resources/catalog/items/items.d.mts.map +1 -1
  30. package/resources/catalog/items/items.d.ts +77 -1
  31. package/resources/catalog/items/items.d.ts.map +1 -1
  32. package/resources/catalog/items/items.js +29 -0
  33. package/resources/catalog/items/items.js.map +1 -1
  34. package/resources/catalog/items/items.mjs +29 -0
  35. package/resources/catalog/items/items.mjs.map +1 -1
  36. package/resources/catalog/product-lines.d.mts +42 -8
  37. package/resources/catalog/product-lines.d.mts.map +1 -1
  38. package/resources/catalog/product-lines.d.ts +42 -8
  39. package/resources/catalog/product-lines.d.ts.map +1 -1
  40. package/resources/catalog/product-lines.js +3 -3
  41. package/resources/catalog/product-lines.js.map +1 -1
  42. package/resources/catalog/product-lines.mjs +3 -3
  43. package/resources/catalog/product-lines.mjs.map +1 -1
  44. package/resources/catalog/products.d.mts +2 -2
  45. package/resources/catalog/products.d.ts +2 -2
  46. package/resources/catalog/products.js +2 -2
  47. package/resources/catalog/products.mjs +2 -2
  48. package/resources/core/analytics.d.mts +547 -0
  49. package/resources/core/analytics.d.mts.map +1 -0
  50. package/resources/core/analytics.d.ts +547 -0
  51. package/resources/core/analytics.d.ts.map +1 -0
  52. package/resources/core/analytics.js +67 -0
  53. package/resources/core/analytics.js.map +1 -0
  54. package/resources/core/analytics.mjs +63 -0
  55. package/resources/core/analytics.mjs.map +1 -0
  56. package/resources/core/audit-events.d.mts +4 -4
  57. package/resources/core/audit-events.d.mts.map +1 -1
  58. package/resources/core/audit-events.d.ts +4 -4
  59. package/resources/core/audit-events.d.ts.map +1 -1
  60. package/resources/core/core.d.mts +6 -2
  61. package/resources/core/core.d.mts.map +1 -1
  62. package/resources/core/core.d.ts +6 -2
  63. package/resources/core/core.d.ts.map +1 -1
  64. package/resources/core/core.js +4 -0
  65. package/resources/core/core.js.map +1 -1
  66. package/resources/core/core.mjs +4 -0
  67. package/resources/core/core.mjs.map +1 -1
  68. package/resources/core/index.d.mts +1 -0
  69. package/resources/core/index.d.mts.map +1 -1
  70. package/resources/core/index.d.ts +1 -0
  71. package/resources/core/index.d.ts.map +1 -1
  72. package/resources/core/index.js +3 -1
  73. package/resources/core/index.js.map +1 -1
  74. package/resources/core/index.mjs +1 -0
  75. package/resources/core/index.mjs.map +1 -1
  76. package/resources/index.d.mts +1 -1
  77. package/resources/index.d.mts.map +1 -1
  78. package/resources/index.d.ts +1 -1
  79. package/resources/index.d.ts.map +1 -1
  80. package/resources/index.js.map +1 -1
  81. package/resources/index.mjs +1 -1
  82. package/resources/index.mjs.map +1 -1
  83. package/resources/messaging/conversations/conversations.d.mts +3 -3
  84. package/resources/messaging/conversations/conversations.d.mts.map +1 -1
  85. package/resources/messaging/conversations/conversations.d.ts +3 -3
  86. package/resources/messaging/conversations/conversations.d.ts.map +1 -1
  87. package/resources/messaging/conversations/conversations.js.map +1 -1
  88. package/resources/messaging/conversations/conversations.mjs.map +1 -1
  89. package/resources/messaging/conversations/links.d.mts +2 -2
  90. package/resources/messaging/conversations/links.d.mts.map +1 -1
  91. package/resources/messaging/conversations/links.d.ts +2 -2
  92. package/resources/messaging/conversations/links.d.ts.map +1 -1
  93. package/resources/messaging/conversations/messages.d.mts +2 -2
  94. package/resources/messaging/conversations/messages.d.mts.map +1 -1
  95. package/resources/messaging/conversations/messages.d.ts +2 -2
  96. package/resources/messaging/conversations/messages.d.ts.map +1 -1
  97. package/resources/messaging/notifications/notifications.d.mts +2 -2
  98. package/resources/messaging/notifications/notifications.d.mts.map +1 -1
  99. package/resources/messaging/notifications/notifications.d.ts +2 -2
  100. package/resources/messaging/notifications/notifications.d.ts.map +1 -1
  101. package/resources/messaging/notifications/notifications.js.map +1 -1
  102. package/resources/messaging/notifications/notifications.mjs.map +1 -1
  103. package/resources/operations/demand-overrides.d.mts +468 -0
  104. package/resources/operations/demand-overrides.d.mts.map +1 -0
  105. package/resources/operations/demand-overrides.d.ts +468 -0
  106. package/resources/operations/demand-overrides.d.ts.map +1 -0
  107. package/resources/operations/demand-overrides.js +120 -0
  108. package/resources/operations/demand-overrides.js.map +1 -0
  109. package/resources/operations/demand-overrides.mjs +116 -0
  110. package/resources/operations/demand-overrides.mjs.map +1 -0
  111. package/resources/operations/index.d.mts +5 -1
  112. package/resources/operations/index.d.mts.map +1 -1
  113. package/resources/operations/index.d.ts +5 -1
  114. package/resources/operations/index.d.ts.map +1 -1
  115. package/resources/operations/index.js +9 -1
  116. package/resources/operations/index.js.map +1 -1
  117. package/resources/operations/index.mjs +5 -1
  118. package/resources/operations/index.mjs.map +1 -1
  119. package/resources/operations/machine-downtime-events.d.mts +424 -0
  120. package/resources/operations/machine-downtime-events.d.mts.map +1 -0
  121. package/resources/operations/machine-downtime-events.d.ts +424 -0
  122. package/resources/operations/machine-downtime-events.d.ts.map +1 -0
  123. package/resources/operations/machine-downtime-events.js +110 -0
  124. package/resources/operations/machine-downtime-events.js.map +1 -0
  125. package/resources/operations/machine-downtime-events.mjs +106 -0
  126. package/resources/operations/machine-downtime-events.mjs.map +1 -0
  127. package/resources/operations/operations.d.mts +444 -0
  128. package/resources/operations/operations.d.mts.map +1 -1
  129. package/resources/operations/operations.d.ts +444 -0
  130. package/resources/operations/operations.d.ts.map +1 -1
  131. package/resources/operations/operations.js +89 -0
  132. package/resources/operations/operations.js.map +1 -1
  133. package/resources/operations/operations.mjs +89 -0
  134. package/resources/operations/operations.mjs.map +1 -1
  135. package/resources/operations/production-schedule-settings/index.d.mts +3 -0
  136. package/resources/operations/production-schedule-settings/index.d.mts.map +1 -0
  137. package/resources/operations/production-schedule-settings/index.d.ts +3 -0
  138. package/resources/operations/production-schedule-settings/index.d.ts.map +1 -0
  139. package/resources/operations/production-schedule-settings/index.js +9 -0
  140. package/resources/operations/production-schedule-settings/index.js.map +1 -0
  141. package/resources/operations/production-schedule-settings/index.mjs +4 -0
  142. package/resources/operations/production-schedule-settings/index.mjs.map +1 -0
  143. package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts +470 -0
  144. package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts.map +1 -0
  145. package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts +470 -0
  146. package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts.map +1 -0
  147. package/resources/operations/production-schedule-settings/production-schedule-settings.js +88 -0
  148. package/resources/operations/production-schedule-settings/production-schedule-settings.js.map +1 -0
  149. package/resources/operations/production-schedule-settings/production-schedule-settings.mjs +83 -0
  150. package/resources/operations/production-schedule-settings/production-schedule-settings.mjs.map +1 -0
  151. package/resources/operations/production-schedule-settings/resources.d.mts +176 -0
  152. package/resources/operations/production-schedule-settings/resources.d.mts.map +1 -0
  153. package/resources/operations/production-schedule-settings/resources.d.ts +176 -0
  154. package/resources/operations/production-schedule-settings/resources.d.ts.map +1 -0
  155. package/resources/operations/production-schedule-settings/resources.js +74 -0
  156. package/resources/operations/production-schedule-settings/resources.js.map +1 -0
  157. package/resources/operations/production-schedule-settings/resources.mjs +70 -0
  158. package/resources/operations/production-schedule-settings/resources.mjs.map +1 -0
  159. package/resources/operations/production-schedule-settings.d.mts +2 -0
  160. package/resources/operations/production-schedule-settings.d.mts.map +1 -0
  161. package/resources/operations/production-schedule-settings.d.ts +2 -0
  162. package/resources/operations/production-schedule-settings.d.ts.map +1 -0
  163. package/resources/operations/production-schedule-settings.js +6 -0
  164. package/resources/operations/production-schedule-settings.js.map +1 -0
  165. package/resources/operations/production-schedule-settings.mjs +3 -0
  166. package/resources/operations/production-schedule-settings.mjs.map +1 -0
  167. package/resources/operations/production-schedules/actions.d.mts +668 -0
  168. package/resources/operations/production-schedules/actions.d.mts.map +1 -0
  169. package/resources/operations/production-schedules/actions.d.ts +668 -0
  170. package/resources/operations/production-schedules/actions.d.ts.map +1 -0
  171. package/resources/operations/production-schedules/actions.js +181 -0
  172. package/resources/operations/production-schedules/actions.js.map +1 -0
  173. package/resources/operations/production-schedules/actions.mjs +177 -0
  174. package/resources/operations/production-schedules/actions.mjs.map +1 -0
  175. package/resources/operations/production-schedules/index.d.mts +4 -0
  176. package/resources/operations/production-schedules/index.d.mts.map +1 -0
  177. package/resources/operations/production-schedules/index.d.ts +4 -0
  178. package/resources/operations/production-schedules/index.d.ts.map +1 -0
  179. package/resources/operations/production-schedules/index.js +11 -0
  180. package/resources/operations/production-schedules/index.js.map +1 -0
  181. package/resources/operations/production-schedules/index.mjs +5 -0
  182. package/resources/operations/production-schedules/index.mjs.map +1 -0
  183. package/resources/operations/production-schedules/lines.d.mts +420 -0
  184. package/resources/operations/production-schedules/lines.d.mts.map +1 -0
  185. package/resources/operations/production-schedules/lines.d.ts +420 -0
  186. package/resources/operations/production-schedules/lines.d.ts.map +1 -0
  187. package/resources/operations/production-schedules/lines.js +106 -0
  188. package/resources/operations/production-schedules/lines.js.map +1 -0
  189. package/resources/operations/production-schedules/lines.mjs +102 -0
  190. package/resources/operations/production-schedules/lines.mjs.map +1 -0
  191. package/resources/operations/production-schedules/production-schedules.d.mts +1177 -0
  192. package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -0
  193. package/resources/operations/production-schedules/production-schedules.d.ts +1177 -0
  194. package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -0
  195. package/resources/operations/production-schedules/production-schedules.js +238 -0
  196. package/resources/operations/production-schedules/production-schedules.js.map +1 -0
  197. package/resources/operations/production-schedules/production-schedules.mjs +233 -0
  198. package/resources/operations/production-schedules/production-schedules.mjs.map +1 -0
  199. package/resources/operations/production-schedules.d.mts +2 -0
  200. package/resources/operations/production-schedules.d.mts.map +1 -0
  201. package/resources/operations/production-schedules.d.ts +2 -0
  202. package/resources/operations/production-schedules.d.ts.map +1 -0
  203. package/resources/operations/production-schedules.js +6 -0
  204. package/resources/operations/production-schedules.js.map +1 -0
  205. package/resources/operations/production-schedules.mjs +3 -0
  206. package/resources/operations/production-schedules.mjs.map +1 -0
  207. package/resources/operations/shipping-terms.d.mts +9 -8
  208. package/resources/operations/shipping-terms.d.mts.map +1 -1
  209. package/resources/operations/shipping-terms.d.ts +9 -8
  210. package/resources/operations/shipping-terms.d.ts.map +1 -1
  211. package/resources/operations/shipping-terms.js.map +1 -1
  212. package/resources/operations/shipping-terms.mjs.map +1 -1
  213. package/resources/sales/customers/customers.d.mts +6 -18
  214. package/resources/sales/customers/customers.d.mts.map +1 -1
  215. package/resources/sales/customers/customers.d.ts +6 -18
  216. package/resources/sales/customers/customers.d.ts.map +1 -1
  217. package/resources/sales/customers/customers.js.map +1 -1
  218. package/resources/sales/customers/customers.mjs.map +1 -1
  219. package/resources/sales/customers/index.d.mts +1 -1
  220. package/resources/sales/customers/index.d.mts.map +1 -1
  221. package/resources/sales/customers/index.d.ts +1 -1
  222. package/resources/sales/customers/index.d.ts.map +1 -1
  223. package/resources/sales/customers/index.js.map +1 -1
  224. package/resources/sales/customers/index.mjs.map +1 -1
  225. package/resources/sales/index.d.mts +1 -1
  226. package/resources/sales/index.d.mts.map +1 -1
  227. package/resources/sales/index.d.ts +1 -1
  228. package/resources/sales/index.d.ts.map +1 -1
  229. package/resources/sales/index.js.map +1 -1
  230. package/resources/sales/index.mjs.map +1 -1
  231. package/resources/sales/sales-orders/lines/lines.d.mts +5 -5
  232. package/resources/sales/sales-orders/lines/lines.d.mts.map +1 -1
  233. package/resources/sales/sales-orders/lines/lines.d.ts +5 -5
  234. package/resources/sales/sales-orders/lines/lines.d.ts.map +1 -1
  235. package/resources/sales/sales-orders/sales-orders.d.mts +3 -2
  236. package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
  237. package/resources/sales/sales-orders/sales-orders.d.ts +3 -2
  238. package/resources/sales/sales-orders/sales-orders.d.ts.map +1 -1
  239. package/resources/sales/sales-orders/sales-orders.js.map +1 -1
  240. package/resources/sales/sales-orders/sales-orders.mjs.map +1 -1
  241. package/resources/sales/sales.d.mts +2 -2
  242. package/resources/sales/sales.d.mts.map +1 -1
  243. package/resources/sales/sales.d.ts +2 -2
  244. package/resources/sales/sales.d.ts.map +1 -1
  245. package/resources/sales/sales.js.map +1 -1
  246. package/resources/sales/sales.mjs.map +1 -1
  247. package/src/client.ts +30 -2
  248. package/src/resources/catalog/catalog.ts +6 -0
  249. package/src/resources/catalog/index.ts +3 -0
  250. package/src/resources/catalog/items/index.ts +2 -0
  251. package/src/resources/catalog/items/items.ts +92 -0
  252. package/src/resources/catalog/product-lines.ts +49 -7
  253. package/src/resources/catalog/products.ts +2 -2
  254. package/src/resources/core/analytics.ts +677 -0
  255. package/src/resources/core/audit-events.ts +84 -0
  256. package/src/resources/core/core.ts +82 -0
  257. package/src/resources/core/index.ts +18 -0
  258. package/src/resources/index.ts +15 -1
  259. package/src/resources/messaging/conversations/conversations.ts +63 -0
  260. package/src/resources/messaging/conversations/links.ts +42 -0
  261. package/src/resources/messaging/conversations/messages.ts +42 -0
  262. package/src/resources/messaging/notifications/notifications.ts +42 -0
  263. package/src/resources/operations/demand-overrides.ts +631 -0
  264. package/src/resources/operations/index.ts +72 -1
  265. package/src/resources/operations/machine-downtime-events.ts +584 -0
  266. package/src/resources/operations/operations.ts +673 -0
  267. package/src/resources/operations/production-schedule-settings/index.ts +15 -0
  268. package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts +595 -0
  269. package/src/resources/operations/production-schedule-settings/resources.ts +217 -0
  270. package/src/resources/operations/production-schedule-settings.ts +3 -0
  271. package/src/resources/operations/production-schedules/actions.ts +835 -0
  272. package/src/resources/operations/production-schedules/index.ts +64 -0
  273. package/src/resources/operations/production-schedules/lines.ts +584 -0
  274. package/src/resources/operations/production-schedules/production-schedules.ts +1548 -0
  275. package/src/resources/operations/production-schedules.ts +3 -0
  276. package/src/resources/operations/shipping-terms.ts +9 -8
  277. package/src/resources/sales/customers/customers.ts +5 -20
  278. package/src/resources/sales/customers/index.ts +0 -1
  279. package/src/resources/sales/index.ts +0 -1
  280. package/src/resources/sales/sales-orders/lines/lines.ts +5 -5
  281. package/src/resources/sales/sales-orders/sales-orders.ts +3 -2
  282. package/src/resources/sales/sales.ts +0 -2
  283. package/src/version.ts +1 -1
  284. package/version.d.mts +1 -1
  285. package/version.d.ts +1 -1
  286. package/version.js +1 -1
  287. package/version.mjs +1 -1
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export * from './production-schedules/index';
@@ -1,6 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../core/resource';
4
+ import * as ProductLinesAPI from '../catalog/product-lines';
4
5
  import * as APIKeysAPI from '../auth/api-keys/api-keys';
5
6
  import * as CustomersAPI from '../sales/customers/customers';
6
7
  import { APIPromise } from '../../core/api-promise';
@@ -168,7 +169,7 @@ export interface CreateShippingTermRequest {
168
169
  /**
169
170
  * A value with an associated unit, used in create and update requests.
170
171
  */
171
- flat_rate?: CustomersAPI.QuantityInput;
172
+ flat_rate?: ProductLinesAPI.QuantityInput;
172
173
 
173
174
  /**
174
175
  * IDs of service levels that ship for free under this term (typically once
@@ -179,7 +180,7 @@ export interface CreateShippingTermRequest {
179
180
  /**
180
181
  * A value with an associated unit, used in create and update requests.
181
182
  */
182
- minimum_order_value?: CustomersAPI.QuantityInput;
183
+ minimum_order_value?: ProductLinesAPI.QuantityInput;
183
184
  }
184
185
 
185
186
  /**
@@ -213,7 +214,7 @@ export interface UpdateShippingTermRequest {
213
214
  /**
214
215
  * A value with an associated unit, used in create and update requests.
215
216
  */
216
- flat_rate?: CustomersAPI.QuantityInput | null;
217
+ flat_rate?: ProductLinesAPI.QuantityInput | null;
217
218
 
218
219
  /**
219
220
  * IDs of service levels that ship for free under this term (typically once
@@ -226,7 +227,7 @@ export interface UpdateShippingTermRequest {
226
227
  /**
227
228
  * A value with an associated unit, used in create and update requests.
228
229
  */
229
- minimum_order_value?: CustomersAPI.QuantityInput | null;
230
+ minimum_order_value?: ProductLinesAPI.QuantityInput | null;
230
231
 
231
232
  /**
232
233
  * Human-readable name for the shipping term, used to identify it when assigning
@@ -318,7 +319,7 @@ export interface ShippingTermCreateParams {
318
319
  /**
319
320
  * Body param: A value with an associated unit, used in create and update requests.
320
321
  */
321
- flat_rate?: CustomersAPI.QuantityInput;
322
+ flat_rate?: ProductLinesAPI.QuantityInput;
322
323
 
323
324
  /**
324
325
  * Body param: IDs of service levels that ship for free under this term (typically
@@ -329,7 +330,7 @@ export interface ShippingTermCreateParams {
329
330
  /**
330
331
  * Body param: A value with an associated unit, used in create and update requests.
331
332
  */
332
- minimum_order_value?: CustomersAPI.QuantityInput;
333
+ minimum_order_value?: ProductLinesAPI.QuantityInput;
333
334
  }
334
335
 
335
336
  export interface ShippingTermUpdateParams {
@@ -344,7 +345,7 @@ export interface ShippingTermUpdateParams {
344
345
  /**
345
346
  * Body param: A value with an associated unit, used in create and update requests.
346
347
  */
347
- flat_rate?: CustomersAPI.QuantityInput | null;
348
+ flat_rate?: ProductLinesAPI.QuantityInput | null;
348
349
 
349
350
  /**
350
351
  * Body param: IDs of service levels that ship for free under this term (typically
@@ -357,7 +358,7 @@ export interface ShippingTermUpdateParams {
357
358
  /**
358
359
  * Body param: A value with an associated unit, used in create and update requests.
359
360
  */
360
- minimum_order_value?: CustomersAPI.QuantityInput | null;
361
+ minimum_order_value?: ProductLinesAPI.QuantityInput | null;
361
362
 
362
363
  /**
363
364
  * Body param: Human-readable name for the shipping term, used to identify it when
@@ -1,6 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../../core/resource';
4
+ import * as ProductLinesAPI from '../../catalog/product-lines';
4
5
  import * as BlocksAPI from '../../messaging/blocks';
5
6
  import * as AccountGroupsAPI from '../account-groups';
6
7
  import * as AddressesAPI from '../addresses';
@@ -320,7 +321,7 @@ export interface CreateCustomerRequest {
320
321
  /**
321
322
  * A value with an associated unit, used in create and update requests.
322
323
  */
323
- credit_limit?: QuantityInput;
324
+ credit_limit?: ProductLinesAPI.QuantityInput;
324
325
 
325
326
  /**
326
327
  * IDs of the account groups of type `pricing_group` to assign to this customer,
@@ -735,21 +736,6 @@ export interface PaymentTerm {
735
736
  updated_at: string;
736
737
  }
737
738
 
738
- /**
739
- * A value with an associated unit, used in create and update requests.
740
- */
741
- export interface QuantityInput {
742
- /**
743
- * ID of the unit of measure for the value.
744
- */
745
- unit_id: string;
746
-
747
- /**
748
- * Decimal value, as a string to preserve precision.
749
- */
750
- value: string;
751
- }
752
-
753
739
  /**
754
740
  * Shipping service level for a carrier.
755
741
  */
@@ -906,7 +892,7 @@ export interface UpdateCustomerRequest {
906
892
  /**
907
893
  * A value with an associated unit, used in create and update requests.
908
894
  */
909
- credit_limit?: QuantityInput | null;
895
+ credit_limit?: ProductLinesAPI.QuantityInput | null;
910
896
 
911
897
  /**
912
898
  * IDs of the account groups of type `pricing_group` to assign to this customer,
@@ -1274,7 +1260,7 @@ export interface CustomerCreateParams {
1274
1260
  /**
1275
1261
  * Body param: A value with an associated unit, used in create and update requests.
1276
1262
  */
1277
- credit_limit?: QuantityInput;
1263
+ credit_limit?: ProductLinesAPI.QuantityInput;
1278
1264
 
1279
1265
  /**
1280
1266
  * Body param: IDs of the account groups of type `pricing_group` to assign to this
@@ -1411,7 +1397,7 @@ export interface CustomerUpdateParams {
1411
1397
  /**
1412
1398
  * Body param: A value with an associated unit, used in create and update requests.
1413
1399
  */
1414
- credit_limit?: QuantityInput | null;
1400
+ credit_limit?: ProductLinesAPI.QuantityInput | null;
1415
1401
 
1416
1402
  /**
1417
1403
  * Body param: IDs of the account groups of type `pricing_group` to assign to this
@@ -1536,7 +1522,6 @@ export declare namespace Customers {
1536
1522
  type ListCustomer as ListCustomer,
1537
1523
  type ListServiceLevel as ListServiceLevel,
1538
1524
  type PaymentTerm as PaymentTerm,
1539
- type QuantityInput as QuantityInput,
1540
1525
  type ServiceLevel as ServiceLevel,
1541
1526
  type ShippingTerm as ShippingTerm,
1542
1527
  type UpdateCustomerRequest as UpdateCustomerRequest,
@@ -13,7 +13,6 @@ export {
13
13
  type ListCustomer,
14
14
  type ListServiceLevel,
15
15
  type PaymentTerm,
16
- type QuantityInput,
17
16
  type ServiceLevel,
18
17
  type ShippingTerm,
19
18
  type UpdateCustomerRequest,
@@ -41,7 +41,6 @@ export {
41
41
  type ListCustomer,
42
42
  type ListServiceLevel,
43
43
  type PaymentTerm,
44
- type QuantityInput,
45
44
  type ServiceLevel,
46
45
  type ShippingTerm,
47
46
  type UpdateCustomerRequest,
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { APIResource } from '../../../../core/resource';
4
4
  import * as MaterialsAPI from '../../../catalog/materials';
5
- import * as CustomersAPI from '../../customers/customers';
5
+ import * as ProductLinesAPI from '../../../catalog/product-lines';
6
6
  import * as SalesOrdersAPI from '../sales-orders';
7
7
  import * as ActionsAPI from './actions';
8
8
  import {
@@ -134,7 +134,7 @@ export interface CreateSalesOrderLineRequest {
134
134
  /**
135
135
  * A value with an associated unit, used in create and update requests.
136
136
  */
137
- quantity: CustomersAPI.QuantityInput;
137
+ quantity: ProductLinesAPI.QuantityInput;
138
138
 
139
139
  /**
140
140
  * The product description recorded on the line.
@@ -165,7 +165,7 @@ export interface UpdateSalesOrderLineRequest {
165
165
  /**
166
166
  * A value with an associated unit, used in create and update requests.
167
167
  */
168
- quantity?: CustomersAPI.QuantityInput;
168
+ quantity?: ProductLinesAPI.QuantityInput;
169
169
 
170
170
  /**
171
171
  * A rate value with its numerator and denominator units, used in create and update
@@ -196,7 +196,7 @@ export interface LineCreateParams {
196
196
  /**
197
197
  * Body param: A value with an associated unit, used in create and update requests.
198
198
  */
199
- quantity: CustomersAPI.QuantityInput;
199
+ quantity: ProductLinesAPI.QuantityInput;
200
200
 
201
201
  /**
202
202
  * Query param: Sub-objects to expand in the response. When omitted, sub-objects
@@ -241,7 +241,7 @@ export interface LineUpdateParams {
241
241
  /**
242
242
  * Body param: A value with an associated unit, used in create and update requests.
243
243
  */
244
- quantity?: CustomersAPI.QuantityInput;
244
+ quantity?: ProductLinesAPI.QuantityInput;
245
245
 
246
246
  /**
247
247
  * Body param: A rate value with its numerator and denominator units, used in
@@ -2,6 +2,7 @@
2
2
 
3
3
  import { APIResource } from '../../../core/resource';
4
4
  import * as MaterialsAPI from '../../catalog/materials';
5
+ import * as ProductLinesAPI from '../../catalog/product-lines';
5
6
  import * as ProductsAPI from '../../catalog/products';
6
7
  import * as UnitsAPI from '../../catalog/units';
7
8
  import * as RequestLogsAPI from '../../core/request-logs';
@@ -288,7 +289,7 @@ export interface CreateSalesOrderLineInput {
288
289
  /**
289
290
  * A value with an associated unit, used in create and update requests.
290
291
  */
291
- quantity: CustomersAPI.QuantityInput;
292
+ quantity: ProductLinesAPI.QuantityInput;
292
293
 
293
294
  /**
294
295
  * Description recorded on the line.
@@ -702,7 +703,7 @@ export interface QuoteSalesOrderLineInput {
702
703
  /**
703
704
  * A value with an associated unit, used in create and update requests.
704
705
  */
705
- quantity: CustomersAPI.QuantityInput;
706
+ quantity: ProductLinesAPI.QuantityInput;
706
707
  }
707
708
 
708
709
  /**
@@ -54,7 +54,6 @@ import {
54
54
  ListCustomer,
55
55
  ListServiceLevel,
56
56
  PaymentTerm,
57
- QuantityInput,
58
57
  ServiceLevel,
59
58
  ShippingTerm,
60
59
  UpdateCustomerRequest,
@@ -169,7 +168,6 @@ export declare namespace Sales {
169
168
  type ListCustomer as ListCustomer,
170
169
  type ListServiceLevel as ListServiceLevel,
171
170
  type PaymentTerm as PaymentTerm,
172
- type QuantityInput as QuantityInput,
173
171
  type ServiceLevel as ServiceLevel,
174
172
  type ShippingTerm as ShippingTerm,
175
173
  type UpdateCustomerRequest as UpdateCustomerRequest,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.12.7'; // x-release-please-version
1
+ export const VERSION = '0.13.1'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.12.7";
1
+ export declare const VERSION = "0.13.1";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.12.7";
1
+ export declare const VERSION = "0.13.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.12.7'; // x-release-please-version
4
+ exports.VERSION = '0.13.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.12.7'; // x-release-please-version
1
+ export const VERSION = '0.13.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map