@augno/sdk 0.18.1 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. package/CHANGELOG.md +3 -5
  2. package/package.json +1 -1
  3. package/resources/catalog/catalog.d.mts +6 -6
  4. package/resources/catalog/catalog.d.mts.map +1 -1
  5. package/resources/catalog/catalog.d.ts +6 -6
  6. package/resources/catalog/catalog.d.ts.map +1 -1
  7. package/resources/catalog/catalog.js.map +1 -1
  8. package/resources/catalog/catalog.mjs.map +1 -1
  9. package/resources/catalog/index.d.mts +3 -3
  10. package/resources/catalog/index.d.mts.map +1 -1
  11. package/resources/catalog/index.d.ts +3 -3
  12. package/resources/catalog/index.d.ts.map +1 -1
  13. package/resources/catalog/index.js.map +1 -1
  14. package/resources/catalog/index.mjs.map +1 -1
  15. package/resources/catalog/items/actions.d.mts +249 -0
  16. package/resources/catalog/items/actions.d.mts.map +1 -0
  17. package/resources/catalog/items/actions.d.ts +249 -0
  18. package/resources/catalog/items/actions.d.ts.map +1 -0
  19. package/resources/catalog/items/actions.js +46 -0
  20. package/resources/catalog/items/actions.js.map +1 -0
  21. package/resources/catalog/items/actions.mjs +42 -0
  22. package/resources/catalog/items/actions.mjs.map +1 -0
  23. package/resources/catalog/items/index.d.mts +3 -1
  24. package/resources/catalog/items/index.d.mts.map +1 -1
  25. package/resources/catalog/items/index.d.ts +3 -1
  26. package/resources/catalog/items/index.d.ts.map +1 -1
  27. package/resources/catalog/items/index.js +5 -1
  28. package/resources/catalog/items/index.js.map +1 -1
  29. package/resources/catalog/items/index.mjs +2 -0
  30. package/resources/catalog/items/index.mjs.map +1 -1
  31. package/resources/catalog/items/inventory.d.mts +247 -0
  32. package/resources/catalog/items/inventory.d.mts.map +1 -0
  33. package/resources/catalog/items/inventory.d.ts +247 -0
  34. package/resources/catalog/items/inventory.d.ts.map +1 -0
  35. package/resources/catalog/items/inventory.js +75 -0
  36. package/resources/catalog/items/inventory.js.map +1 -0
  37. package/resources/catalog/items/inventory.mjs +71 -0
  38. package/resources/catalog/items/inventory.mjs.map +1 -0
  39. package/resources/catalog/items/items.d.mts +9 -104
  40. package/resources/catalog/items/items.d.mts.map +1 -1
  41. package/resources/catalog/items/items.d.ts +9 -104
  42. package/resources/catalog/items/items.d.ts.map +1 -1
  43. package/resources/catalog/items/items.js +8 -21
  44. package/resources/catalog/items/items.js.map +1 -1
  45. package/resources/catalog/items/items.mjs +8 -21
  46. package/resources/catalog/items/items.mjs.map +1 -1
  47. package/resources/catalog/materials/index.d.mts +1 -1
  48. package/resources/catalog/materials/index.d.mts.map +1 -1
  49. package/resources/catalog/materials/index.d.ts +1 -1
  50. package/resources/catalog/materials/index.d.ts.map +1 -1
  51. package/resources/catalog/materials/index.js.map +1 -1
  52. package/resources/catalog/materials/index.mjs.map +1 -1
  53. package/resources/catalog/materials/materials.d.mts +36 -3
  54. package/resources/catalog/materials/materials.d.mts.map +1 -1
  55. package/resources/catalog/materials/materials.d.ts +36 -3
  56. package/resources/catalog/materials/materials.d.ts.map +1 -1
  57. package/resources/catalog/materials/materials.js.map +1 -1
  58. package/resources/catalog/materials/materials.mjs.map +1 -1
  59. package/resources/catalog/product-lines/index.d.mts +1 -1
  60. package/resources/catalog/product-lines/index.d.mts.map +1 -1
  61. package/resources/catalog/product-lines/index.d.ts +1 -1
  62. package/resources/catalog/product-lines/index.d.ts.map +1 -1
  63. package/resources/catalog/product-lines/index.js.map +1 -1
  64. package/resources/catalog/product-lines/index.mjs.map +1 -1
  65. package/resources/catalog/product-lines/product-lines.d.mts +8 -23
  66. package/resources/catalog/product-lines/product-lines.d.mts.map +1 -1
  67. package/resources/catalog/product-lines/product-lines.d.ts +8 -23
  68. package/resources/catalog/product-lines/product-lines.d.ts.map +1 -1
  69. package/resources/catalog/product-lines/product-lines.js.map +1 -1
  70. package/resources/catalog/product-lines/product-lines.mjs.map +1 -1
  71. package/resources/core/audit-events.d.mts +4 -4
  72. package/resources/core/audit-events.d.mts.map +1 -1
  73. package/resources/core/audit-events.d.ts +4 -4
  74. package/resources/core/audit-events.d.ts.map +1 -1
  75. package/resources/core/core.d.mts +2 -2
  76. package/resources/core/core.d.mts.map +1 -1
  77. package/resources/core/core.d.ts +2 -2
  78. package/resources/core/core.d.ts.map +1 -1
  79. package/resources/core/core.js.map +1 -1
  80. package/resources/core/core.mjs.map +1 -1
  81. package/resources/core/jobs.d.mts +2 -2
  82. package/resources/core/jobs.d.mts.map +1 -1
  83. package/resources/core/jobs.d.ts +2 -2
  84. package/resources/core/jobs.d.ts.map +1 -1
  85. package/resources/messaging/blocks.d.mts +4 -3
  86. package/resources/messaging/blocks.d.mts.map +1 -1
  87. package/resources/messaging/blocks.d.ts +4 -3
  88. package/resources/messaging/blocks.d.ts.map +1 -1
  89. package/resources/messaging/blocks.js.map +1 -1
  90. package/resources/messaging/blocks.mjs.map +1 -1
  91. package/resources/messaging/conversations/conversations.d.mts +3 -3
  92. package/resources/messaging/conversations/conversations.d.mts.map +1 -1
  93. package/resources/messaging/conversations/conversations.d.ts +3 -3
  94. package/resources/messaging/conversations/conversations.d.ts.map +1 -1
  95. package/resources/messaging/conversations/conversations.js.map +1 -1
  96. package/resources/messaging/conversations/conversations.mjs.map +1 -1
  97. package/resources/messaging/conversations/links.d.mts +2 -2
  98. package/resources/messaging/conversations/links.d.mts.map +1 -1
  99. package/resources/messaging/conversations/links.d.ts +2 -2
  100. package/resources/messaging/conversations/links.d.ts.map +1 -1
  101. package/resources/messaging/conversations/messages.d.mts +2 -2
  102. package/resources/messaging/conversations/messages.d.mts.map +1 -1
  103. package/resources/messaging/conversations/messages.d.ts +2 -2
  104. package/resources/messaging/conversations/messages.d.ts.map +1 -1
  105. package/resources/messaging/notifications/notifications.d.mts +2 -2
  106. package/resources/messaging/notifications/notifications.d.mts.map +1 -1
  107. package/resources/messaging/notifications/notifications.d.ts +2 -2
  108. package/resources/messaging/notifications/notifications.d.ts.map +1 -1
  109. package/resources/messaging/notifications/notifications.js.map +1 -1
  110. package/resources/messaging/notifications/notifications.mjs.map +1 -1
  111. package/resources/operations/index.d.mts +1 -1
  112. package/resources/operations/index.d.mts.map +1 -1
  113. package/resources/operations/index.d.ts +1 -1
  114. package/resources/operations/index.d.ts.map +1 -1
  115. package/resources/operations/index.js.map +1 -1
  116. package/resources/operations/index.mjs.map +1 -1
  117. package/resources/operations/machine-downtime-events.d.mts +56 -7
  118. package/resources/operations/machine-downtime-events.d.mts.map +1 -1
  119. package/resources/operations/machine-downtime-events.d.ts +56 -7
  120. package/resources/operations/machine-downtime-events.d.ts.map +1 -1
  121. package/resources/operations/machine-downtime-events.js +11 -7
  122. package/resources/operations/machine-downtime-events.js.map +1 -1
  123. package/resources/operations/machine-downtime-events.mjs +11 -7
  124. package/resources/operations/machine-downtime-events.mjs.map +1 -1
  125. package/resources/operations/operations.d.mts +2 -2
  126. package/resources/operations/operations.d.mts.map +1 -1
  127. package/resources/operations/operations.d.ts +2 -2
  128. package/resources/operations/operations.d.ts.map +1 -1
  129. package/resources/operations/operations.js.map +1 -1
  130. package/resources/operations/operations.mjs.map +1 -1
  131. package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts +13 -12
  132. package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts.map +1 -1
  133. package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts +13 -12
  134. package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts.map +1 -1
  135. package/resources/operations/production-schedule-settings/production-schedule-settings.js.map +1 -1
  136. package/resources/operations/production-schedule-settings/production-schedule-settings.mjs.map +1 -1
  137. package/resources/operations/production-schedules/actions.d.mts +34 -1
  138. package/resources/operations/production-schedules/actions.d.mts.map +1 -1
  139. package/resources/operations/production-schedules/actions.d.ts +34 -1
  140. package/resources/operations/production-schedules/actions.d.ts.map +1 -1
  141. package/resources/operations/production-schedules/actions.js +8 -0
  142. package/resources/operations/production-schedules/actions.js.map +1 -1
  143. package/resources/operations/production-schedules/actions.mjs +8 -0
  144. package/resources/operations/production-schedules/actions.mjs.map +1 -1
  145. package/resources/operations/production-schedules/index.d.mts +1 -1
  146. package/resources/operations/production-schedules/index.d.mts.map +1 -1
  147. package/resources/operations/production-schedules/index.d.ts +1 -1
  148. package/resources/operations/production-schedules/index.d.ts.map +1 -1
  149. package/resources/operations/production-schedules/index.js.map +1 -1
  150. package/resources/operations/production-schedules/index.mjs.map +1 -1
  151. package/resources/operations/production-schedules/production-schedules.d.mts +295 -2
  152. package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -1
  153. package/resources/operations/production-schedules/production-schedules.d.ts +295 -2
  154. package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -1
  155. package/resources/operations/production-schedules/production-schedules.js +42 -0
  156. package/resources/operations/production-schedules/production-schedules.js.map +1 -1
  157. package/resources/operations/production-schedules/production-schedules.mjs +42 -0
  158. package/resources/operations/production-schedules/production-schedules.mjs.map +1 -1
  159. package/resources/operations/shipping-terms.d.mts +9 -9
  160. package/resources/operations/shipping-terms.d.mts.map +1 -1
  161. package/resources/operations/shipping-terms.d.ts +9 -9
  162. package/resources/operations/shipping-terms.d.ts.map +1 -1
  163. package/resources/sales/account-groups.d.mts +2 -1
  164. package/resources/sales/account-groups.d.mts.map +1 -1
  165. package/resources/sales/account-groups.d.ts +2 -1
  166. package/resources/sales/account-groups.d.ts.map +1 -1
  167. package/resources/sales/account-prices/account-prices.d.mts +5 -4
  168. package/resources/sales/account-prices/account-prices.d.mts.map +1 -1
  169. package/resources/sales/account-prices/account-prices.d.ts +5 -4
  170. package/resources/sales/account-prices/account-prices.d.ts.map +1 -1
  171. package/resources/sales/account-prices/account-prices.js.map +1 -1
  172. package/resources/sales/account-prices/account-prices.mjs.map +1 -1
  173. package/resources/sales/account-users/sales-targets.d.mts +2 -2
  174. package/resources/sales/account-users/sales-targets.d.mts.map +1 -1
  175. package/resources/sales/account-users/sales-targets.d.ts +2 -2
  176. package/resources/sales/account-users/sales-targets.d.ts.map +1 -1
  177. package/resources/sales/customers/customers.d.mts +48 -19
  178. package/resources/sales/customers/customers.d.mts.map +1 -1
  179. package/resources/sales/customers/customers.d.ts +48 -19
  180. package/resources/sales/customers/customers.d.ts.map +1 -1
  181. package/resources/sales/customers/customers.js +10 -5
  182. package/resources/sales/customers/customers.js.map +1 -1
  183. package/resources/sales/customers/customers.mjs +10 -5
  184. package/resources/sales/customers/customers.mjs.map +1 -1
  185. package/resources/sales/customers/index.d.mts +1 -1
  186. package/resources/sales/customers/index.d.mts.map +1 -1
  187. package/resources/sales/customers/index.d.ts +1 -1
  188. package/resources/sales/customers/index.d.ts.map +1 -1
  189. package/resources/sales/customers/index.js.map +1 -1
  190. package/resources/sales/customers/index.mjs.map +1 -1
  191. package/resources/sales/index.d.mts +1 -1
  192. package/resources/sales/index.d.mts.map +1 -1
  193. package/resources/sales/index.d.ts +1 -1
  194. package/resources/sales/index.d.ts.map +1 -1
  195. package/resources/sales/index.js.map +1 -1
  196. package/resources/sales/index.mjs.map +1 -1
  197. package/resources/sales/sales-orders/actions.d.mts +14 -2
  198. package/resources/sales/sales-orders/actions.d.mts.map +1 -1
  199. package/resources/sales/sales-orders/actions.d.ts +14 -2
  200. package/resources/sales/sales-orders/actions.d.ts.map +1 -1
  201. package/resources/sales/sales-orders/lines/lines.d.mts +5 -5
  202. package/resources/sales/sales-orders/lines/lines.d.mts.map +1 -1
  203. package/resources/sales/sales-orders/lines/lines.d.ts +5 -5
  204. package/resources/sales/sales-orders/lines/lines.d.ts.map +1 -1
  205. package/resources/sales/sales-orders/sales-orders.d.mts +10 -6
  206. package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
  207. package/resources/sales/sales-orders/sales-orders.d.ts +10 -6
  208. package/resources/sales/sales-orders/sales-orders.d.ts.map +1 -1
  209. package/resources/sales/sales-orders/sales-orders.js.map +1 -1
  210. package/resources/sales/sales-orders/sales-orders.mjs.map +1 -1
  211. package/resources/sales/sales.d.mts +2 -2
  212. package/resources/sales/sales.d.mts.map +1 -1
  213. package/resources/sales/sales.d.ts +2 -2
  214. package/resources/sales/sales.d.ts.map +1 -1
  215. package/resources/sales/sales.js.map +1 -1
  216. package/resources/sales/sales.mjs.map +1 -1
  217. package/src/resources/catalog/catalog.ts +2 -8
  218. package/src/resources/catalog/index.ts +1 -4
  219. package/src/resources/catalog/items/actions.ts +296 -0
  220. package/src/resources/catalog/items/index.ts +23 -3
  221. package/src/resources/catalog/items/inventory.ts +294 -0
  222. package/src/resources/catalog/items/items.ts +54 -124
  223. package/src/resources/catalog/materials/index.ts +1 -0
  224. package/src/resources/catalog/materials/materials.ts +41 -2
  225. package/src/resources/catalog/product-lines/index.ts +0 -1
  226. package/src/resources/catalog/product-lines/product-lines.ts +7 -25
  227. package/src/resources/core/audit-events.ts +30 -10
  228. package/src/resources/core/core.ts +15 -5
  229. package/src/resources/core/jobs.ts +8 -3
  230. package/src/resources/messaging/blocks.ts +4 -3
  231. package/src/resources/messaging/conversations/conversations.ts +24 -9
  232. package/src/resources/messaging/conversations/links.ts +16 -6
  233. package/src/resources/messaging/conversations/messages.ts +16 -6
  234. package/src/resources/messaging/notifications/notifications.ts +16 -6
  235. package/src/resources/operations/index.ts +4 -0
  236. package/src/resources/operations/machine-downtime-events.ts +62 -7
  237. package/src/resources/operations/operations.ts +8 -0
  238. package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts +13 -12
  239. package/src/resources/operations/production-schedules/actions.ts +37 -1
  240. package/src/resources/operations/production-schedules/index.ts +4 -0
  241. package/src/resources/operations/production-schedules/production-schedules.ts +354 -1
  242. package/src/resources/operations/shipping-terms.ts +9 -9
  243. package/src/resources/sales/account-groups.ts +2 -1
  244. package/src/resources/sales/account-prices/account-prices.ts +5 -4
  245. package/src/resources/sales/account-users/sales-targets.ts +2 -2
  246. package/src/resources/sales/customers/customers.ts +62 -19
  247. package/src/resources/sales/customers/index.ts +1 -0
  248. package/src/resources/sales/index.ts +1 -0
  249. package/src/resources/sales/sales-orders/actions.ts +15 -1
  250. package/src/resources/sales/sales-orders/lines/lines.ts +5 -5
  251. package/src/resources/sales/sales-orders/sales-orders.ts +11 -5
  252. package/src/resources/sales/sales.ts +2 -0
  253. package/src/version.ts +1 -1
  254. package/version.d.mts +1 -1
  255. package/version.d.ts +1 -1
  256. package/version.js +1 -1
  257. package/version.mjs +1 -1
@@ -2,7 +2,8 @@
2
2
 
3
3
  import { APIResource } from '../../../core/resource';
4
4
  import * as APIKeysAPI from '../../auth/api-keys/api-keys';
5
- import * as ItemsAPI from '../items/items';
5
+ import * as InventoryAPI from '../items/inventory';
6
+ import * as MaterialsAPI from '../materials/materials';
6
7
  import * as ActionsAPI from './actions';
7
8
  import {
8
9
  ActionBulkUpsertParams,
@@ -198,7 +199,7 @@ export interface CreateProductLineRequest {
198
199
  * The unit may be a currency, so money amounts such as a credit limit are written
199
200
  * the same way as physical amounts like weights or counts.
200
201
  */
201
- default_lot?: QuantityInput;
202
+ default_lot?: InventoryAPI.QuantityInput;
202
203
 
203
204
  /**
204
205
  * How products in this line are produced when they do not say for themselves.
@@ -273,7 +274,7 @@ export interface ProductLine {
273
274
  * resources point at them to report stock levels, ordered and packed amounts,
274
275
  * money, weights, and durations.
275
276
  */
276
- default_lot: ItemsAPI.Quantity | null;
277
+ default_lot: MaterialsAPI.Quantity | null;
277
278
 
278
279
  /**
279
280
  * Free-form description of the product line.
@@ -340,24 +341,6 @@ export interface ProductLine {
340
341
  updated_at: string;
341
342
  }
342
343
 
343
- /**
344
- * An amount together with the unit it is expressed in.
345
- *
346
- * The unit may be a currency, so money amounts such as a credit limit are written
347
- * the same way as physical amounts like weights or counts.
348
- */
349
- export interface QuantityInput {
350
- /**
351
- * ID of the unit of measure for the value.
352
- */
353
- unit_id: string;
354
-
355
- /**
356
- * Decimal value, as a string to preserve precision.
357
- */
358
- value: string;
359
- }
360
-
361
344
  /**
362
345
  * Request to partially update a product line.
363
346
  */
@@ -377,7 +360,7 @@ export interface UpdateProductLineRequest {
377
360
  * The unit may be a currency, so money amounts such as a credit limit are written
378
361
  * the same way as physical amounts like weights or counts.
379
362
  */
380
- default_lot?: QuantityInput | null;
363
+ default_lot?: InventoryAPI.QuantityInput | null;
381
364
 
382
365
  /**
383
366
  * Default freight policy for products in this product line.
@@ -506,7 +489,7 @@ export interface ProductLineCreateParams {
506
489
  * The unit may be a currency, so money amounts such as a credit limit are written
507
490
  * the same way as physical amounts like weights or counts.
508
491
  */
509
- default_lot?: QuantityInput;
492
+ default_lot?: InventoryAPI.QuantityInput;
510
493
 
511
494
  /**
512
495
  * Body param: How products in this line are produced when they do not say for
@@ -542,7 +525,7 @@ export interface ProductLineUpdateParams {
542
525
  * The unit may be a currency, so money amounts such as a credit limit are written
543
526
  * the same way as physical amounts like weights or counts.
544
527
  */
545
- default_lot?: QuantityInput | null;
528
+ default_lot?: InventoryAPI.QuantityInput | null;
546
529
 
547
530
  /**
548
531
  * Body param: Default freight policy for products in this product line.
@@ -592,7 +575,6 @@ export declare namespace ProductLines {
592
575
  type CreateProductLineRequest as CreateProductLineRequest,
593
576
  type ListProductLine as ListProductLine,
594
577
  type ProductLine as ProductLine,
595
- type QuantityInput as QuantityInput,
596
578
  type UpdateProductLineRequest as UpdateProductLineRequest,
597
579
  type ProductLineDeleteResponse as ProductLineDeleteResponse,
598
580
  type ProductLineListParams as ProductLineListParams,
@@ -302,6 +302,7 @@ export interface AuditEvent {
302
302
  | 'schedule_deviation_type'
303
303
  | 'schedule_at_risk_order'
304
304
  | 'production_schedule_finished_policy'
305
+ | 'production_schedule_finishing_line'
305
306
  | 'production_schedule_week_release'
306
307
  | 'production_schedule_week_release_preview'
307
308
  | 'production_schedule_item_policy'
@@ -440,8 +441,6 @@ export interface AuditEvent {
440
441
  | 'batch_lot'
441
442
  | 'check_duplicate_result'
442
443
  | 'item_trend_point'
443
- | 'pack_pick_response'
444
- | 'pick_shipments_response'
445
444
  | 'tenancy_pending_registration'
446
445
  | 'invoice_allocation_entry'
447
446
  | 'allocation_customer'
@@ -480,7 +479,13 @@ export interface AuditEvent {
480
479
  | 'computed_quantity'
481
480
  | 'analyze_realized_margins_response'
482
481
  | 'realized_margin_finding'
483
- | 'realized_margin_summary';
482
+ | 'realized_margin_summary'
483
+ | 'shipment_related'
484
+ | 'invoice_related'
485
+ | 'pick_related'
486
+ | 'pick_shipments_response'
487
+ | 'pick_totals'
488
+ | 'pick_stage_total';
484
489
 
485
490
  /**
486
491
  * Originating client IP address.
@@ -710,6 +715,7 @@ export interface ListObjectType {
710
715
  | 'schedule_deviation_type'
711
716
  | 'schedule_at_risk_order'
712
717
  | 'production_schedule_finished_policy'
718
+ | 'production_schedule_finishing_line'
713
719
  | 'production_schedule_week_release'
714
720
  | 'production_schedule_week_release_preview'
715
721
  | 'production_schedule_item_policy'
@@ -848,8 +854,6 @@ export interface ListObjectType {
848
854
  | 'batch_lot'
849
855
  | 'check_duplicate_result'
850
856
  | 'item_trend_point'
851
- | 'pack_pick_response'
852
- | 'pick_shipments_response'
853
857
  | 'tenancy_pending_registration'
854
858
  | 'invoice_allocation_entry'
855
859
  | 'allocation_customer'
@@ -889,6 +893,12 @@ export interface ListObjectType {
889
893
  | 'analyze_realized_margins_response'
890
894
  | 'realized_margin_finding'
891
895
  | 'realized_margin_summary'
896
+ | 'shipment_related'
897
+ | 'invoice_related'
898
+ | 'pick_related'
899
+ | 'pick_shipments_response'
900
+ | 'pick_totals'
901
+ | 'pick_stage_total'
892
902
  >;
893
903
 
894
904
  /**
@@ -1106,6 +1116,7 @@ export interface AuditEventListParams {
1106
1116
  | 'schedule_deviation_type'
1107
1117
  | 'schedule_at_risk_order'
1108
1118
  | 'production_schedule_finished_policy'
1119
+ | 'production_schedule_finishing_line'
1109
1120
  | 'production_schedule_week_release'
1110
1121
  | 'production_schedule_week_release_preview'
1111
1122
  | 'production_schedule_item_policy'
@@ -1244,8 +1255,6 @@ export interface AuditEventListParams {
1244
1255
  | 'batch_lot'
1245
1256
  | 'check_duplicate_result'
1246
1257
  | 'item_trend_point'
1247
- | 'pack_pick_response'
1248
- | 'pick_shipments_response'
1249
1258
  | 'tenancy_pending_registration'
1250
1259
  | 'invoice_allocation_entry'
1251
1260
  | 'allocation_customer'
@@ -1285,6 +1294,12 @@ export interface AuditEventListParams {
1285
1294
  | 'analyze_realized_margins_response'
1286
1295
  | 'realized_margin_finding'
1287
1296
  | 'realized_margin_summary'
1297
+ | 'shipment_related'
1298
+ | 'invoice_related'
1299
+ | 'pick_related'
1300
+ | 'pick_shipments_response'
1301
+ | 'pick_totals'
1302
+ | 'pick_stage_total'
1288
1303
  >;
1289
1304
 
1290
1305
  /**
@@ -1425,6 +1440,7 @@ export interface AuditEventListParams {
1425
1440
  | 'schedule_deviation_type'
1426
1441
  | 'schedule_at_risk_order'
1427
1442
  | 'production_schedule_finished_policy'
1443
+ | 'production_schedule_finishing_line'
1428
1444
  | 'production_schedule_week_release'
1429
1445
  | 'production_schedule_week_release_preview'
1430
1446
  | 'production_schedule_item_policy'
@@ -1563,8 +1579,6 @@ export interface AuditEventListParams {
1563
1579
  | 'batch_lot'
1564
1580
  | 'check_duplicate_result'
1565
1581
  | 'item_trend_point'
1566
- | 'pack_pick_response'
1567
- | 'pick_shipments_response'
1568
1582
  | 'tenancy_pending_registration'
1569
1583
  | 'invoice_allocation_entry'
1570
1584
  | 'allocation_customer'
@@ -1603,7 +1617,13 @@ export interface AuditEventListParams {
1603
1617
  | 'computed_quantity'
1604
1618
  | 'analyze_realized_margins_response'
1605
1619
  | 'realized_margin_finding'
1606
- | 'realized_margin_summary';
1620
+ | 'realized_margin_summary'
1621
+ | 'shipment_related'
1622
+ | 'invoice_related'
1623
+ | 'pick_related'
1624
+ | 'pick_shipments_response'
1625
+ | 'pick_totals'
1626
+ | 'pick_stage_total';
1607
1627
 
1608
1628
  /**
1609
1629
  * Restricts results to audit events on or after this timestamp.
@@ -295,6 +295,7 @@ export interface Entity {
295
295
  | 'schedule_deviation_type'
296
296
  | 'schedule_at_risk_order'
297
297
  | 'production_schedule_finished_policy'
298
+ | 'production_schedule_finishing_line'
298
299
  | 'production_schedule_week_release'
299
300
  | 'production_schedule_week_release_preview'
300
301
  | 'production_schedule_item_policy'
@@ -433,8 +434,6 @@ export interface Entity {
433
434
  | 'batch_lot'
434
435
  | 'check_duplicate_result'
435
436
  | 'item_trend_point'
436
- | 'pack_pick_response'
437
- | 'pick_shipments_response'
438
437
  | 'tenancy_pending_registration'
439
438
  | 'invoice_allocation_entry'
440
439
  | 'allocation_customer'
@@ -473,7 +472,13 @@ export interface Entity {
473
472
  | 'computed_quantity'
474
473
  | 'analyze_realized_margins_response'
475
474
  | 'realized_margin_finding'
476
- | 'realized_margin_summary';
475
+ | 'realized_margin_summary'
476
+ | 'shipment_related'
477
+ | 'invoice_related'
478
+ | 'pick_related'
479
+ | 'pick_shipments_response'
480
+ | 'pick_totals'
481
+ | 'pick_stage_total';
477
482
  }
478
483
 
479
484
  /**
@@ -669,6 +674,7 @@ export interface CoreRetrieveSearchParams {
669
674
  | 'schedule_deviation_type'
670
675
  | 'schedule_at_risk_order'
671
676
  | 'production_schedule_finished_policy'
677
+ | 'production_schedule_finishing_line'
672
678
  | 'production_schedule_week_release'
673
679
  | 'production_schedule_week_release_preview'
674
680
  | 'production_schedule_item_policy'
@@ -807,8 +813,6 @@ export interface CoreRetrieveSearchParams {
807
813
  | 'batch_lot'
808
814
  | 'check_duplicate_result'
809
815
  | 'item_trend_point'
810
- | 'pack_pick_response'
811
- | 'pick_shipments_response'
812
816
  | 'tenancy_pending_registration'
813
817
  | 'invoice_allocation_entry'
814
818
  | 'allocation_customer'
@@ -848,6 +852,12 @@ export interface CoreRetrieveSearchParams {
848
852
  | 'analyze_realized_margins_response'
849
853
  | 'realized_margin_finding'
850
854
  | 'realized_margin_summary'
855
+ | 'shipment_related'
856
+ | 'invoice_related'
857
+ | 'pick_related'
858
+ | 'pick_shipments_response'
859
+ | 'pick_totals'
860
+ | 'pick_stage_total'
851
861
  >;
852
862
  }
853
863
 
@@ -244,6 +244,7 @@ export interface Job {
244
244
  | 'schedule_deviation_type'
245
245
  | 'schedule_at_risk_order'
246
246
  | 'production_schedule_finished_policy'
247
+ | 'production_schedule_finishing_line'
247
248
  | 'production_schedule_week_release'
248
249
  | 'production_schedule_week_release_preview'
249
250
  | 'production_schedule_item_policy'
@@ -382,8 +383,6 @@ export interface Job {
382
383
  | 'batch_lot'
383
384
  | 'check_duplicate_result'
384
385
  | 'item_trend_point'
385
- | 'pack_pick_response'
386
- | 'pick_shipments_response'
387
386
  | 'tenancy_pending_registration'
388
387
  | 'invoice_allocation_entry'
389
388
  | 'allocation_customer'
@@ -423,6 +422,12 @@ export interface Job {
423
422
  | 'analyze_realized_margins_response'
424
423
  | 'realized_margin_finding'
425
424
  | 'realized_margin_summary'
425
+ | 'shipment_related'
426
+ | 'invoice_related'
427
+ | 'pick_related'
428
+ | 'pick_shipments_response'
429
+ | 'pick_totals'
430
+ | 'pick_stage_total'
426
431
  | null;
427
432
 
428
433
  /**
@@ -447,7 +452,7 @@ export interface Job {
447
452
  /**
448
453
  * The kind of work the job carries out.
449
454
  */
450
- type: 'bulk_create' | 'bulk_upsert' | 'export';
455
+ type: 'bulk_create' | 'bulk_upsert' | 'export' | 'pack_pick';
451
456
 
452
457
  /**
453
458
  * When the job was last updated.
@@ -3,6 +3,7 @@
3
3
  import { APIResource } from '../../core/resource';
4
4
  import * as APIKeysAPI from '../auth/api-keys/api-keys';
5
5
  import * as ItemsAPI from '../catalog/items/items';
6
+ import * as MaterialsAPI from '../catalog/materials/materials';
6
7
  import { APIPromise } from '../../core/api-promise';
7
8
  import { RequestOptions } from '../../internal/request-options';
8
9
  import { path } from '../../internal/utils/path';
@@ -207,7 +208,7 @@ export interface Consumption {
207
208
  * resources point at them to report stock levels, ordered and packed amounts,
208
209
  * money, weights, and durations.
209
210
  */
210
- quantity: ItemsAPI.Quantity | null;
211
+ quantity: MaterialsAPI.Quantity | null;
211
212
 
212
213
  /**
213
214
  * Last updated timestamp.
@@ -221,7 +222,7 @@ export interface Consumption {
221
222
  * resources point at them to report stock levels, ordered and packed amounts,
222
223
  * money, weights, and durations.
223
224
  */
224
- waste_quantity: ItemsAPI.Quantity | null;
225
+ waste_quantity: MaterialsAPI.Quantity | null;
225
226
  }
226
227
 
227
228
  /**
@@ -615,7 +616,7 @@ export interface ProductionOutput {
615
616
  * resources point at them to report stock levels, ordered and packed amounts,
616
617
  * money, weights, and durations.
617
618
  */
618
- quantity: ItemsAPI.Quantity | null;
619
+ quantity: MaterialsAPI.Quantity | null;
619
620
 
620
621
  /**
621
622
  * Last updated timestamp.
@@ -587,6 +587,7 @@ export interface CreateConversationRequest {
587
587
  | 'schedule_deviation_type'
588
588
  | 'schedule_at_risk_order'
589
589
  | 'production_schedule_finished_policy'
590
+ | 'production_schedule_finishing_line'
590
591
  | 'production_schedule_week_release'
591
592
  | 'production_schedule_week_release_preview'
592
593
  | 'production_schedule_item_policy'
@@ -725,8 +726,6 @@ export interface CreateConversationRequest {
725
726
  | 'batch_lot'
726
727
  | 'check_duplicate_result'
727
728
  | 'item_trend_point'
728
- | 'pack_pick_response'
729
- | 'pick_shipments_response'
730
729
  | 'tenancy_pending_registration'
731
730
  | 'invoice_allocation_entry'
732
731
  | 'allocation_customer'
@@ -765,7 +764,13 @@ export interface CreateConversationRequest {
765
764
  | 'computed_quantity'
766
765
  | 'analyze_realized_margins_response'
767
766
  | 'realized_margin_finding'
768
- | 'realized_margin_summary';
767
+ | 'realized_margin_summary'
768
+ | 'shipment_related'
769
+ | 'invoice_related'
770
+ | 'pick_related'
771
+ | 'pick_shipments_response'
772
+ | 'pick_totals'
773
+ | 'pick_stage_total';
769
774
  }
770
775
 
771
776
  /**
@@ -1442,6 +1447,7 @@ export interface ConversationCreateParams {
1442
1447
  | 'schedule_deviation_type'
1443
1448
  | 'schedule_at_risk_order'
1444
1449
  | 'production_schedule_finished_policy'
1450
+ | 'production_schedule_finishing_line'
1445
1451
  | 'production_schedule_week_release'
1446
1452
  | 'production_schedule_week_release_preview'
1447
1453
  | 'production_schedule_item_policy'
@@ -1580,8 +1586,6 @@ export interface ConversationCreateParams {
1580
1586
  | 'batch_lot'
1581
1587
  | 'check_duplicate_result'
1582
1588
  | 'item_trend_point'
1583
- | 'pack_pick_response'
1584
- | 'pick_shipments_response'
1585
1589
  | 'tenancy_pending_registration'
1586
1590
  | 'invoice_allocation_entry'
1587
1591
  | 'allocation_customer'
@@ -1620,7 +1624,13 @@ export interface ConversationCreateParams {
1620
1624
  | 'computed_quantity'
1621
1625
  | 'analyze_realized_margins_response'
1622
1626
  | 'realized_margin_finding'
1623
- | 'realized_margin_summary';
1627
+ | 'realized_margin_summary'
1628
+ | 'shipment_related'
1629
+ | 'invoice_related'
1630
+ | 'pick_related'
1631
+ | 'pick_shipments_response'
1632
+ | 'pick_totals'
1633
+ | 'pick_stage_total';
1624
1634
  }
1625
1635
 
1626
1636
  export interface ConversationListParams {
@@ -1826,6 +1836,7 @@ export interface ConversationListParams {
1826
1836
  | 'schedule_deviation_type'
1827
1837
  | 'schedule_at_risk_order'
1828
1838
  | 'production_schedule_finished_policy'
1839
+ | 'production_schedule_finishing_line'
1829
1840
  | 'production_schedule_week_release'
1830
1841
  | 'production_schedule_week_release_preview'
1831
1842
  | 'production_schedule_item_policy'
@@ -1964,8 +1975,6 @@ export interface ConversationListParams {
1964
1975
  | 'batch_lot'
1965
1976
  | 'check_duplicate_result'
1966
1977
  | 'item_trend_point'
1967
- | 'pack_pick_response'
1968
- | 'pick_shipments_response'
1969
1978
  | 'tenancy_pending_registration'
1970
1979
  | 'invoice_allocation_entry'
1971
1980
  | 'allocation_customer'
@@ -2004,7 +2013,13 @@ export interface ConversationListParams {
2004
2013
  | 'computed_quantity'
2005
2014
  | 'analyze_realized_margins_response'
2006
2015
  | 'realized_margin_finding'
2007
- | 'realized_margin_summary';
2016
+ | 'realized_margin_summary'
2017
+ | 'shipment_related'
2018
+ | 'invoice_related'
2019
+ | 'pick_related'
2020
+ | 'pick_shipments_response'
2021
+ | 'pick_totals'
2022
+ | 'pick_stage_total';
2008
2023
 
2009
2024
  /**
2010
2025
  * Filter by conversation type.
@@ -221,6 +221,7 @@ export interface AddConversationLinkRequest {
221
221
  | 'schedule_deviation_type'
222
222
  | 'schedule_at_risk_order'
223
223
  | 'production_schedule_finished_policy'
224
+ | 'production_schedule_finishing_line'
224
225
  | 'production_schedule_week_release'
225
226
  | 'production_schedule_week_release_preview'
226
227
  | 'production_schedule_item_policy'
@@ -359,8 +360,6 @@ export interface AddConversationLinkRequest {
359
360
  | 'batch_lot'
360
361
  | 'check_duplicate_result'
361
362
  | 'item_trend_point'
362
- | 'pack_pick_response'
363
- | 'pick_shipments_response'
364
363
  | 'tenancy_pending_registration'
365
364
  | 'invoice_allocation_entry'
366
365
  | 'allocation_customer'
@@ -399,7 +398,13 @@ export interface AddConversationLinkRequest {
399
398
  | 'computed_quantity'
400
399
  | 'analyze_realized_margins_response'
401
400
  | 'realized_margin_finding'
402
- | 'realized_margin_summary';
401
+ | 'realized_margin_summary'
402
+ | 'shipment_related'
403
+ | 'invoice_related'
404
+ | 'pick_related'
405
+ | 'pick_shipments_response'
406
+ | 'pick_totals'
407
+ | 'pick_stage_total';
403
408
  }
404
409
 
405
410
  /**
@@ -599,6 +604,7 @@ export interface LinkCreateParams {
599
604
  | 'schedule_deviation_type'
600
605
  | 'schedule_at_risk_order'
601
606
  | 'production_schedule_finished_policy'
607
+ | 'production_schedule_finishing_line'
602
608
  | 'production_schedule_week_release'
603
609
  | 'production_schedule_week_release_preview'
604
610
  | 'production_schedule_item_policy'
@@ -737,8 +743,6 @@ export interface LinkCreateParams {
737
743
  | 'batch_lot'
738
744
  | 'check_duplicate_result'
739
745
  | 'item_trend_point'
740
- | 'pack_pick_response'
741
- | 'pick_shipments_response'
742
746
  | 'tenancy_pending_registration'
743
747
  | 'invoice_allocation_entry'
744
748
  | 'allocation_customer'
@@ -777,7 +781,13 @@ export interface LinkCreateParams {
777
781
  | 'computed_quantity'
778
782
  | 'analyze_realized_margins_response'
779
783
  | 'realized_margin_finding'
780
- | 'realized_margin_summary';
784
+ | 'realized_margin_summary'
785
+ | 'shipment_related'
786
+ | 'invoice_related'
787
+ | 'pick_related'
788
+ | 'pick_shipments_response'
789
+ | 'pick_totals'
790
+ | 'pick_stage_total';
781
791
 
782
792
  /**
783
793
  * Query param: Sub-objects to expand in the response. When omitted, sub-objects
@@ -372,6 +372,7 @@ export interface SendMessageRequest {
372
372
  | 'schedule_deviation_type'
373
373
  | 'schedule_at_risk_order'
374
374
  | 'production_schedule_finished_policy'
375
+ | 'production_schedule_finishing_line'
375
376
  | 'production_schedule_week_release'
376
377
  | 'production_schedule_week_release_preview'
377
378
  | 'production_schedule_item_policy'
@@ -510,8 +511,6 @@ export interface SendMessageRequest {
510
511
  | 'batch_lot'
511
512
  | 'check_duplicate_result'
512
513
  | 'item_trend_point'
513
- | 'pack_pick_response'
514
- | 'pick_shipments_response'
515
514
  | 'tenancy_pending_registration'
516
515
  | 'invoice_allocation_entry'
517
516
  | 'allocation_customer'
@@ -550,7 +549,13 @@ export interface SendMessageRequest {
550
549
  | 'computed_quantity'
551
550
  | 'analyze_realized_margins_response'
552
551
  | 'realized_margin_finding'
553
- | 'realized_margin_summary';
552
+ | 'realized_margin_summary'
553
+ | 'shipment_related'
554
+ | 'invoice_related'
555
+ | 'pick_related'
556
+ | 'pick_shipments_response'
557
+ | 'pick_totals'
558
+ | 'pick_stage_total';
554
559
 
555
560
  /**
556
561
  * Account user ids explicitly @mentioned in the message.
@@ -813,6 +818,7 @@ export interface MessageCreateParams {
813
818
  | 'schedule_deviation_type'
814
819
  | 'schedule_at_risk_order'
815
820
  | 'production_schedule_finished_policy'
821
+ | 'production_schedule_finishing_line'
816
822
  | 'production_schedule_week_release'
817
823
  | 'production_schedule_week_release_preview'
818
824
  | 'production_schedule_item_policy'
@@ -951,8 +957,6 @@ export interface MessageCreateParams {
951
957
  | 'batch_lot'
952
958
  | 'check_duplicate_result'
953
959
  | 'item_trend_point'
954
- | 'pack_pick_response'
955
- | 'pick_shipments_response'
956
960
  | 'tenancy_pending_registration'
957
961
  | 'invoice_allocation_entry'
958
962
  | 'allocation_customer'
@@ -991,7 +995,13 @@ export interface MessageCreateParams {
991
995
  | 'computed_quantity'
992
996
  | 'analyze_realized_margins_response'
993
997
  | 'realized_margin_finding'
994
- | 'realized_margin_summary';
998
+ | 'realized_margin_summary'
999
+ | 'shipment_related'
1000
+ | 'invoice_related'
1001
+ | 'pick_related'
1002
+ | 'pick_shipments_response'
1003
+ | 'pick_totals'
1004
+ | 'pick_stage_total';
995
1005
 
996
1006
  /**
997
1007
  * Body param: Account user ids explicitly @mentioned in the message.
@@ -602,6 +602,7 @@ export interface SendNotificationRequest {
602
602
  | 'schedule_deviation_type'
603
603
  | 'schedule_at_risk_order'
604
604
  | 'production_schedule_finished_policy'
605
+ | 'production_schedule_finishing_line'
605
606
  | 'production_schedule_week_release'
606
607
  | 'production_schedule_week_release_preview'
607
608
  | 'production_schedule_item_policy'
@@ -740,8 +741,6 @@ export interface SendNotificationRequest {
740
741
  | 'batch_lot'
741
742
  | 'check_duplicate_result'
742
743
  | 'item_trend_point'
743
- | 'pack_pick_response'
744
- | 'pick_shipments_response'
745
744
  | 'tenancy_pending_registration'
746
745
  | 'invoice_allocation_entry'
747
746
  | 'allocation_customer'
@@ -780,7 +779,13 @@ export interface SendNotificationRequest {
780
779
  | 'computed_quantity'
781
780
  | 'analyze_realized_margins_response'
782
781
  | 'realized_margin_finding'
783
- | 'realized_margin_summary';
782
+ | 'realized_margin_summary'
783
+ | 'shipment_related'
784
+ | 'invoice_related'
785
+ | 'pick_related'
786
+ | 'pick_shipments_response'
787
+ | 'pick_totals'
788
+ | 'pick_stage_total';
784
789
 
785
790
  /**
786
791
  * How prominently the notification should be surfaced, from `low` through
@@ -956,6 +961,7 @@ export interface NotificationCreateParams {
956
961
  | 'schedule_deviation_type'
957
962
  | 'schedule_at_risk_order'
958
963
  | 'production_schedule_finished_policy'
964
+ | 'production_schedule_finishing_line'
959
965
  | 'production_schedule_week_release'
960
966
  | 'production_schedule_week_release_preview'
961
967
  | 'production_schedule_item_policy'
@@ -1094,8 +1100,6 @@ export interface NotificationCreateParams {
1094
1100
  | 'batch_lot'
1095
1101
  | 'check_duplicate_result'
1096
1102
  | 'item_trend_point'
1097
- | 'pack_pick_response'
1098
- | 'pick_shipments_response'
1099
1103
  | 'tenancy_pending_registration'
1100
1104
  | 'invoice_allocation_entry'
1101
1105
  | 'allocation_customer'
@@ -1134,7 +1138,13 @@ export interface NotificationCreateParams {
1134
1138
  | 'computed_quantity'
1135
1139
  | 'analyze_realized_margins_response'
1136
1140
  | 'realized_margin_finding'
1137
- | 'realized_margin_summary';
1141
+ | 'realized_margin_summary'
1142
+ | 'shipment_related'
1143
+ | 'invoice_related'
1144
+ | 'pick_related'
1145
+ | 'pick_shipments_response'
1146
+ | 'pick_totals'
1147
+ | 'pick_stage_total';
1138
1148
 
1139
1149
  /**
1140
1150
  * How prominently the notification should be surfaced, from `low` through
@@ -116,6 +116,7 @@ export {
116
116
  type ListProductionScheduleDerivedLine,
117
117
  type ListProductionScheduleDeviation,
118
118
  type ListProductionScheduleFinishedPolicy,
119
+ type ListProductionScheduleFinishingLine,
119
120
  type ListProductionScheduleItemPolicy,
120
121
  type ListReleaseScheduleBatch,
121
122
  type ListReleasedScheduleLine,
@@ -127,6 +128,7 @@ export {
127
128
  type ProductionScheduleDerivedLine,
128
129
  type ProductionScheduleDeviation,
129
130
  type ProductionScheduleFinishedPolicy,
131
+ type ProductionScheduleFinishingLine,
130
132
  type ProductionScheduleItemPolicy,
131
133
  type ReleaseScheduleBatch,
132
134
  type ReleaseScheduleWeekPreview,
@@ -134,11 +136,13 @@ export {
134
136
  type ScheduleAppliedOverride,
135
137
  type ScheduleAtRiskOrder,
136
138
  type ScheduleDiagnostics,
139
+ type ScheduleFinishingDiagnostics,
137
140
  type ScheduleOrderCoverage,
138
141
  type ScheduleOrderCoverageLine,
139
142
  type ProductionScheduleDeleteResponse,
140
143
  type ProductionScheduleListParams,
141
144
  type ProductionScheduleCreateParams,
145
+ type ProductionScheduleRetrieveFinishingLinesParams,
142
146
  type ProductionScheduleRetrieveDerivedLinesParams,
143
147
  type ProductionScheduleRetrieveDeviationsParams,
144
148
  type ProductionScheduleRetrieveWeekReleasePreviewParams,