@augno/sdk 0.18.2 → 0.19.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 (193) hide show
  1. package/CHANGELOG.md +2 -2
  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/machine-downtime-events.d.mts +5 -5
  112. package/resources/operations/machine-downtime-events.d.mts.map +1 -1
  113. package/resources/operations/machine-downtime-events.d.ts +5 -5
  114. package/resources/operations/machine-downtime-events.d.ts.map +1 -1
  115. package/resources/operations/production-schedules/actions.d.mts +1 -95
  116. package/resources/operations/production-schedules/actions.d.mts.map +1 -1
  117. package/resources/operations/production-schedules/actions.d.ts +1 -95
  118. package/resources/operations/production-schedules/actions.d.ts.map +1 -1
  119. package/resources/operations/production-schedules/actions.js +0 -34
  120. package/resources/operations/production-schedules/actions.js.map +1 -1
  121. package/resources/operations/production-schedules/actions.mjs +0 -34
  122. package/resources/operations/production-schedules/actions.mjs.map +1 -1
  123. package/resources/operations/production-schedules/index.d.mts +1 -1
  124. package/resources/operations/production-schedules/index.d.mts.map +1 -1
  125. package/resources/operations/production-schedules/index.d.ts +1 -1
  126. package/resources/operations/production-schedules/index.d.ts.map +1 -1
  127. package/resources/operations/production-schedules/index.js.map +1 -1
  128. package/resources/operations/production-schedules/index.mjs.map +1 -1
  129. package/resources/operations/production-schedules/production-schedules.d.mts +2 -2
  130. package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -1
  131. package/resources/operations/production-schedules/production-schedules.d.ts +2 -2
  132. package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -1
  133. package/resources/operations/production-schedules/production-schedules.js.map +1 -1
  134. package/resources/operations/production-schedules/production-schedules.mjs.map +1 -1
  135. package/resources/operations/shipping-terms.d.mts +9 -9
  136. package/resources/operations/shipping-terms.d.mts.map +1 -1
  137. package/resources/operations/shipping-terms.d.ts +9 -9
  138. package/resources/operations/shipping-terms.d.ts.map +1 -1
  139. package/resources/sales/account-prices/account-prices.d.mts +3 -3
  140. package/resources/sales/account-prices/account-prices.d.mts.map +1 -1
  141. package/resources/sales/account-prices/account-prices.d.ts +3 -3
  142. package/resources/sales/account-prices/account-prices.d.ts.map +1 -1
  143. package/resources/sales/account-users/sales-targets.d.mts +2 -2
  144. package/resources/sales/account-users/sales-targets.d.mts.map +1 -1
  145. package/resources/sales/account-users/sales-targets.d.ts +2 -2
  146. package/resources/sales/account-users/sales-targets.d.ts.map +1 -1
  147. package/resources/sales/customers/customers.d.mts +5 -5
  148. package/resources/sales/customers/customers.d.mts.map +1 -1
  149. package/resources/sales/customers/customers.d.ts +5 -5
  150. package/resources/sales/customers/customers.d.ts.map +1 -1
  151. package/resources/sales/sales-orders/lines/lines.d.mts +5 -5
  152. package/resources/sales/sales-orders/lines/lines.d.mts.map +1 -1
  153. package/resources/sales/sales-orders/lines/lines.d.ts +5 -5
  154. package/resources/sales/sales-orders/lines/lines.d.ts.map +1 -1
  155. package/resources/sales/sales-orders/sales-orders.d.mts +8 -4
  156. package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
  157. package/resources/sales/sales-orders/sales-orders.d.ts +8 -4
  158. package/resources/sales/sales-orders/sales-orders.d.ts.map +1 -1
  159. package/resources/sales/sales-orders/sales-orders.js.map +1 -1
  160. package/resources/sales/sales-orders/sales-orders.mjs.map +1 -1
  161. package/src/resources/catalog/catalog.ts +2 -8
  162. package/src/resources/catalog/index.ts +1 -4
  163. package/src/resources/catalog/items/actions.ts +296 -0
  164. package/src/resources/catalog/items/index.ts +23 -3
  165. package/src/resources/catalog/items/inventory.ts +294 -0
  166. package/src/resources/catalog/items/items.ts +54 -124
  167. package/src/resources/catalog/materials/index.ts +1 -0
  168. package/src/resources/catalog/materials/materials.ts +41 -2
  169. package/src/resources/catalog/product-lines/index.ts +0 -1
  170. package/src/resources/catalog/product-lines/product-lines.ts +7 -25
  171. package/src/resources/core/audit-events.ts +26 -14
  172. package/src/resources/core/core.ts +13 -7
  173. package/src/resources/core/jobs.ts +7 -4
  174. package/src/resources/messaging/blocks.ts +4 -3
  175. package/src/resources/messaging/conversations/conversations.ts +21 -12
  176. package/src/resources/messaging/conversations/links.ts +14 -8
  177. package/src/resources/messaging/conversations/messages.ts +14 -8
  178. package/src/resources/messaging/notifications/notifications.ts +14 -8
  179. package/src/resources/operations/machine-downtime-events.ts +5 -5
  180. package/src/resources/operations/production-schedules/actions.ts +0 -118
  181. package/src/resources/operations/production-schedules/index.ts +0 -3
  182. package/src/resources/operations/production-schedules/production-schedules.ts +0 -6
  183. package/src/resources/operations/shipping-terms.ts +9 -9
  184. package/src/resources/sales/account-prices/account-prices.ts +3 -3
  185. package/src/resources/sales/account-users/sales-targets.ts +2 -2
  186. package/src/resources/sales/customers/customers.ts +5 -5
  187. package/src/resources/sales/sales-orders/lines/lines.ts +5 -5
  188. package/src/resources/sales/sales-orders/sales-orders.ts +9 -4
  189. package/src/version.ts +1 -1
  190. package/version.d.mts +1 -1
  191. package/version.d.ts +1 -1
  192. package/version.js +1 -1
  193. package/version.mjs +1 -1
@@ -583,7 +583,6 @@ export interface CreateConversationRequest {
583
583
  | 'delivery_breakdown'
584
584
  | 'schedule_order_coverage'
585
585
  | 'schedule_order_coverage_line'
586
- | 'promise_date_quote'
587
586
  | 'schedule_deviation_type'
588
587
  | 'schedule_at_risk_order'
589
588
  | 'production_schedule_finished_policy'
@@ -726,8 +725,6 @@ export interface CreateConversationRequest {
726
725
  | 'batch_lot'
727
726
  | 'check_duplicate_result'
728
727
  | 'item_trend_point'
729
- | 'pack_pick_response'
730
- | 'pick_shipments_response'
731
728
  | 'tenancy_pending_registration'
732
729
  | 'invoice_allocation_entry'
733
730
  | 'allocation_customer'
@@ -766,7 +763,13 @@ export interface CreateConversationRequest {
766
763
  | 'computed_quantity'
767
764
  | 'analyze_realized_margins_response'
768
765
  | 'realized_margin_finding'
769
- | 'realized_margin_summary';
766
+ | 'realized_margin_summary'
767
+ | 'shipment_related'
768
+ | 'invoice_related'
769
+ | 'pick_related'
770
+ | 'pick_shipments_response'
771
+ | 'pick_totals'
772
+ | 'pick_stage_total';
770
773
  }
771
774
 
772
775
  /**
@@ -1439,7 +1442,6 @@ export interface ConversationCreateParams {
1439
1442
  | 'delivery_breakdown'
1440
1443
  | 'schedule_order_coverage'
1441
1444
  | 'schedule_order_coverage_line'
1442
- | 'promise_date_quote'
1443
1445
  | 'schedule_deviation_type'
1444
1446
  | 'schedule_at_risk_order'
1445
1447
  | 'production_schedule_finished_policy'
@@ -1582,8 +1584,6 @@ export interface ConversationCreateParams {
1582
1584
  | 'batch_lot'
1583
1585
  | 'check_duplicate_result'
1584
1586
  | 'item_trend_point'
1585
- | 'pack_pick_response'
1586
- | 'pick_shipments_response'
1587
1587
  | 'tenancy_pending_registration'
1588
1588
  | 'invoice_allocation_entry'
1589
1589
  | 'allocation_customer'
@@ -1622,7 +1622,13 @@ export interface ConversationCreateParams {
1622
1622
  | 'computed_quantity'
1623
1623
  | 'analyze_realized_margins_response'
1624
1624
  | 'realized_margin_finding'
1625
- | 'realized_margin_summary';
1625
+ | 'realized_margin_summary'
1626
+ | 'shipment_related'
1627
+ | 'invoice_related'
1628
+ | 'pick_related'
1629
+ | 'pick_shipments_response'
1630
+ | 'pick_totals'
1631
+ | 'pick_stage_total';
1626
1632
  }
1627
1633
 
1628
1634
  export interface ConversationListParams {
@@ -1824,7 +1830,6 @@ export interface ConversationListParams {
1824
1830
  | 'delivery_breakdown'
1825
1831
  | 'schedule_order_coverage'
1826
1832
  | 'schedule_order_coverage_line'
1827
- | 'promise_date_quote'
1828
1833
  | 'schedule_deviation_type'
1829
1834
  | 'schedule_at_risk_order'
1830
1835
  | 'production_schedule_finished_policy'
@@ -1967,8 +1972,6 @@ export interface ConversationListParams {
1967
1972
  | 'batch_lot'
1968
1973
  | 'check_duplicate_result'
1969
1974
  | 'item_trend_point'
1970
- | 'pack_pick_response'
1971
- | 'pick_shipments_response'
1972
1975
  | 'tenancy_pending_registration'
1973
1976
  | 'invoice_allocation_entry'
1974
1977
  | 'allocation_customer'
@@ -2007,7 +2010,13 @@ export interface ConversationListParams {
2007
2010
  | 'computed_quantity'
2008
2011
  | 'analyze_realized_margins_response'
2009
2012
  | 'realized_margin_finding'
2010
- | 'realized_margin_summary';
2013
+ | 'realized_margin_summary'
2014
+ | 'shipment_related'
2015
+ | 'invoice_related'
2016
+ | 'pick_related'
2017
+ | 'pick_shipments_response'
2018
+ | 'pick_totals'
2019
+ | 'pick_stage_total';
2011
2020
 
2012
2021
  /**
2013
2022
  * Filter by conversation type.
@@ -217,7 +217,6 @@ export interface AddConversationLinkRequest {
217
217
  | 'delivery_breakdown'
218
218
  | 'schedule_order_coverage'
219
219
  | 'schedule_order_coverage_line'
220
- | 'promise_date_quote'
221
220
  | 'schedule_deviation_type'
222
221
  | 'schedule_at_risk_order'
223
222
  | 'production_schedule_finished_policy'
@@ -360,8 +359,6 @@ export interface AddConversationLinkRequest {
360
359
  | 'batch_lot'
361
360
  | 'check_duplicate_result'
362
361
  | 'item_trend_point'
363
- | 'pack_pick_response'
364
- | 'pick_shipments_response'
365
362
  | 'tenancy_pending_registration'
366
363
  | 'invoice_allocation_entry'
367
364
  | 'allocation_customer'
@@ -400,7 +397,13 @@ export interface AddConversationLinkRequest {
400
397
  | 'computed_quantity'
401
398
  | 'analyze_realized_margins_response'
402
399
  | 'realized_margin_finding'
403
- | 'realized_margin_summary';
400
+ | 'realized_margin_summary'
401
+ | 'shipment_related'
402
+ | 'invoice_related'
403
+ | 'pick_related'
404
+ | 'pick_shipments_response'
405
+ | 'pick_totals'
406
+ | 'pick_stage_total';
404
407
  }
405
408
 
406
409
  /**
@@ -596,7 +599,6 @@ export interface LinkCreateParams {
596
599
  | 'delivery_breakdown'
597
600
  | 'schedule_order_coverage'
598
601
  | 'schedule_order_coverage_line'
599
- | 'promise_date_quote'
600
602
  | 'schedule_deviation_type'
601
603
  | 'schedule_at_risk_order'
602
604
  | 'production_schedule_finished_policy'
@@ -739,8 +741,6 @@ export interface LinkCreateParams {
739
741
  | 'batch_lot'
740
742
  | 'check_duplicate_result'
741
743
  | 'item_trend_point'
742
- | 'pack_pick_response'
743
- | 'pick_shipments_response'
744
744
  | 'tenancy_pending_registration'
745
745
  | 'invoice_allocation_entry'
746
746
  | 'allocation_customer'
@@ -779,7 +779,13 @@ export interface LinkCreateParams {
779
779
  | 'computed_quantity'
780
780
  | 'analyze_realized_margins_response'
781
781
  | 'realized_margin_finding'
782
- | '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';
783
789
 
784
790
  /**
785
791
  * Query param: Sub-objects to expand in the response. When omitted, sub-objects
@@ -368,7 +368,6 @@ export interface SendMessageRequest {
368
368
  | 'delivery_breakdown'
369
369
  | 'schedule_order_coverage'
370
370
  | 'schedule_order_coverage_line'
371
- | 'promise_date_quote'
372
371
  | 'schedule_deviation_type'
373
372
  | 'schedule_at_risk_order'
374
373
  | 'production_schedule_finished_policy'
@@ -511,8 +510,6 @@ export interface SendMessageRequest {
511
510
  | 'batch_lot'
512
511
  | 'check_duplicate_result'
513
512
  | 'item_trend_point'
514
- | 'pack_pick_response'
515
- | 'pick_shipments_response'
516
513
  | 'tenancy_pending_registration'
517
514
  | 'invoice_allocation_entry'
518
515
  | 'allocation_customer'
@@ -551,7 +548,13 @@ export interface SendMessageRequest {
551
548
  | 'computed_quantity'
552
549
  | 'analyze_realized_margins_response'
553
550
  | 'realized_margin_finding'
554
- | 'realized_margin_summary';
551
+ | 'realized_margin_summary'
552
+ | 'shipment_related'
553
+ | 'invoice_related'
554
+ | 'pick_related'
555
+ | 'pick_shipments_response'
556
+ | 'pick_totals'
557
+ | 'pick_stage_total';
555
558
 
556
559
  /**
557
560
  * Account user ids explicitly @mentioned in the message.
@@ -810,7 +813,6 @@ export interface MessageCreateParams {
810
813
  | 'delivery_breakdown'
811
814
  | 'schedule_order_coverage'
812
815
  | 'schedule_order_coverage_line'
813
- | 'promise_date_quote'
814
816
  | 'schedule_deviation_type'
815
817
  | 'schedule_at_risk_order'
816
818
  | 'production_schedule_finished_policy'
@@ -953,8 +955,6 @@ export interface MessageCreateParams {
953
955
  | 'batch_lot'
954
956
  | 'check_duplicate_result'
955
957
  | 'item_trend_point'
956
- | 'pack_pick_response'
957
- | 'pick_shipments_response'
958
958
  | 'tenancy_pending_registration'
959
959
  | 'invoice_allocation_entry'
960
960
  | 'allocation_customer'
@@ -993,7 +993,13 @@ export interface MessageCreateParams {
993
993
  | 'computed_quantity'
994
994
  | 'analyze_realized_margins_response'
995
995
  | 'realized_margin_finding'
996
- | 'realized_margin_summary';
996
+ | 'realized_margin_summary'
997
+ | 'shipment_related'
998
+ | 'invoice_related'
999
+ | 'pick_related'
1000
+ | 'pick_shipments_response'
1001
+ | 'pick_totals'
1002
+ | 'pick_stage_total';
997
1003
 
998
1004
  /**
999
1005
  * Body param: Account user ids explicitly @mentioned in the message.
@@ -598,7 +598,6 @@ export interface SendNotificationRequest {
598
598
  | 'delivery_breakdown'
599
599
  | 'schedule_order_coverage'
600
600
  | 'schedule_order_coverage_line'
601
- | 'promise_date_quote'
602
601
  | 'schedule_deviation_type'
603
602
  | 'schedule_at_risk_order'
604
603
  | 'production_schedule_finished_policy'
@@ -741,8 +740,6 @@ export interface SendNotificationRequest {
741
740
  | 'batch_lot'
742
741
  | 'check_duplicate_result'
743
742
  | 'item_trend_point'
744
- | 'pack_pick_response'
745
- | 'pick_shipments_response'
746
743
  | 'tenancy_pending_registration'
747
744
  | 'invoice_allocation_entry'
748
745
  | 'allocation_customer'
@@ -781,7 +778,13 @@ export interface SendNotificationRequest {
781
778
  | 'computed_quantity'
782
779
  | 'analyze_realized_margins_response'
783
780
  | 'realized_margin_finding'
784
- | 'realized_margin_summary';
781
+ | 'realized_margin_summary'
782
+ | 'shipment_related'
783
+ | 'invoice_related'
784
+ | 'pick_related'
785
+ | 'pick_shipments_response'
786
+ | 'pick_totals'
787
+ | 'pick_stage_total';
785
788
 
786
789
  /**
787
790
  * How prominently the notification should be surfaced, from `low` through
@@ -953,7 +956,6 @@ export interface NotificationCreateParams {
953
956
  | 'delivery_breakdown'
954
957
  | 'schedule_order_coverage'
955
958
  | 'schedule_order_coverage_line'
956
- | 'promise_date_quote'
957
959
  | 'schedule_deviation_type'
958
960
  | 'schedule_at_risk_order'
959
961
  | 'production_schedule_finished_policy'
@@ -1096,8 +1098,6 @@ export interface NotificationCreateParams {
1096
1098
  | 'batch_lot'
1097
1099
  | 'check_duplicate_result'
1098
1100
  | 'item_trend_point'
1099
- | 'pack_pick_response'
1100
- | 'pick_shipments_response'
1101
1101
  | 'tenancy_pending_registration'
1102
1102
  | 'invoice_allocation_entry'
1103
1103
  | 'allocation_customer'
@@ -1136,7 +1136,13 @@ export interface NotificationCreateParams {
1136
1136
  | 'computed_quantity'
1137
1137
  | 'analyze_realized_margins_response'
1138
1138
  | 'realized_margin_finding'
1139
- | 'realized_margin_summary';
1139
+ | 'realized_margin_summary'
1140
+ | 'shipment_related'
1141
+ | 'invoice_related'
1142
+ | 'pick_related'
1143
+ | 'pick_shipments_response'
1144
+ | 'pick_totals'
1145
+ | 'pick_stage_total';
1140
1146
 
1141
1147
  /**
1142
1148
  * How prominently the notification should be surfaced, from `low` through
@@ -6,8 +6,8 @@ import * as RequestLogsAPI from '../core/request-logs';
6
6
  import * as BlocksAPI from '../messaging/blocks';
7
7
  import * as OperationsAPI from './operations';
8
8
  import * as APIKeysAPI from '../auth/api-keys/api-keys';
9
+ import * as InventoryAPI from '../catalog/items/inventory';
9
10
  import * as ItemsAPI from '../catalog/items/items';
10
- import * as ProductLinesAPI from '../catalog/product-lines/product-lines';
11
11
  import { APIPromise } from '../../core/api-promise';
12
12
  import { RequestOptions } from '../../internal/request-options';
13
13
  import { path } from '../../internal/utils/path';
@@ -198,7 +198,7 @@ export interface CreateMachineDowntimeEventRequest {
198
198
  * The unit may be a currency, so money amounts such as a credit limit are written
199
199
  * the same way as physical amounts like weights or counts.
200
200
  */
201
- duration?: ProductLinesAPI.QuantityInput;
201
+ duration?: InventoryAPI.QuantityInput;
202
202
 
203
203
  /**
204
204
  * When the machine started running again.
@@ -401,7 +401,7 @@ export interface UpdateMachineDowntimeEventRequest {
401
401
  * The unit may be a currency, so money amounts such as a credit limit are written
402
402
  * the same way as physical amounts like weights or counts.
403
403
  */
404
- duration?: ProductLinesAPI.QuantityInput | null;
404
+ duration?: InventoryAPI.QuantityInput | null;
405
405
 
406
406
  /**
407
407
  * When the machine started running again.
@@ -599,7 +599,7 @@ export interface MachineDowntimeEventCreateParams {
599
599
  * The unit may be a currency, so money amounts such as a credit limit are written
600
600
  * the same way as physical amounts like weights or counts.
601
601
  */
602
- duration?: ProductLinesAPI.QuantityInput;
602
+ duration?: InventoryAPI.QuantityInput;
603
603
 
604
604
  /**
605
605
  * Body param: When the machine started running again.
@@ -657,7 +657,7 @@ export interface MachineDowntimeEventUpdateParams {
657
657
  * The unit may be a currency, so money amounts such as a credit limit are written
658
658
  * the same way as physical amounts like weights or counts.
659
659
  */
660
- duration?: ProductLinesAPI.QuantityInput | null;
660
+ duration?: InventoryAPI.QuantityInput | null;
661
661
 
662
662
  /**
663
663
  * Body param: When the machine started running again.
@@ -126,44 +126,6 @@ export class Actions extends APIResource {
126
126
  });
127
127
  }
128
128
 
129
- /**
130
- * Returns the earliest date the published schedule could ship a quantity of an
131
- * item.
132
- *
133
- * Quoted from the published version — the plan the floor is actually working to —
134
- * and net of everything already promised to other orders. A date backed by stock
135
- * somebody else is owed is not a date, so existing commitments are consumed before
136
- * anything is offered.
137
- *
138
- * The answer allows for finishing after the constraint stage completes, so it is a
139
- * ship date rather than a production date. When the published horizon cannot
140
- * supply the quantity at all, `is_promisable` is false and no date is returned: a
141
- * plan that runs thirteen weeks cannot speak for the fourteenth, and inventing a
142
- * date beyond it would be the one number a customer actually relies on.
143
- *
144
- * Quoting does not reserve anything. Two quotes taken a minute apart can both come
145
- * back with the same date, and only issuing an order commits the supply.
146
- *
147
- * This endpoint requires the permission: `production_schedules:read`.
148
- *
149
- * @example
150
- * ```ts
151
- * const promiseDateQuote =
152
- * await client.operations.productionSchedules.actions.quotePromiseDate(
153
- * { item_id: 'it_pej07ckhvu62', quantity: 1200 },
154
- * );
155
- * ```
156
- */
157
- quotePromiseDate(
158
- body: ActionQuotePromiseDateParams,
159
- options?: RequestOptions,
160
- ): APIPromise<PromiseDateQuote> {
161
- return this._client.post('/v1/operations/production-schedules/actions/quote-promise-date', {
162
- body,
163
- ...options,
164
- });
165
- }
166
-
167
129
  /**
168
130
  * Publishes a draft schedule, freezing its first weeks.
169
131
  *
@@ -555,71 +517,6 @@ export interface ProductionScheduleRegeneratePreview {
555
517
  solver_version: string;
556
518
  }
557
519
 
558
- /**
559
- * The earliest date the published plan could ship a quantity of an item.
560
- */
561
- export interface PromiseDateQuote {
562
- /**
563
- * Earliest date the quantity could ship, allowing for finishing after the
564
- * constraint stage completes.
565
- */
566
- earliest_ship_date: string | null;
567
-
568
- /**
569
- * Horizon week the constraint stage would complete in.
570
- */
571
- earliest_week_index: number | null;
572
-
573
- /**
574
- * Whether the published horizon can supply it at all.
575
- *
576
- * False means the plan as published runs out before it could cover this quantity.
577
- * That is not the same as "never" — it is the honest limit of a plan that only
578
- * runs so many weeks.
579
- */
580
- is_promisable: boolean;
581
-
582
- /**
583
- * Entity is a polymorphic reference to any resource in the system.
584
- */
585
- item: CoreAPI.Entity | null;
586
-
587
- /**
588
- * Resource type identifier.
589
- */
590
- object: 'promise_date_quote';
591
-
592
- /**
593
- * Entity is a polymorphic reference to any resource in the system.
594
- */
595
- production_schedule: CoreAPI.Entity | null;
596
-
597
- /**
598
- * Version number of that schedule.
599
- */
600
- production_schedule_version: number;
601
-
602
- /**
603
- * The quantity being quoted.
604
- */
605
- quantity: number;
606
- }
607
-
608
- /**
609
- * Request to quote the earliest date a quantity could ship.
610
- */
611
- export interface QuotePromiseDateRequest {
612
- /**
613
- * Item being quoted.
614
- */
615
- item_id: string;
616
-
617
- /**
618
- * Quantity being quoted, in the item's own unit.
619
- */
620
- quantity: number;
621
- }
622
-
623
520
  /**
624
521
  * Request to re-solve a draft in place.
625
522
  */
@@ -1110,18 +1007,6 @@ export interface ActionRegenerateParams {
1110
1007
  planning_as_of?: string;
1111
1008
  }
1112
1009
 
1113
- export interface ActionQuotePromiseDateParams {
1114
- /**
1115
- * Item being quoted.
1116
- */
1117
- item_id: string;
1118
-
1119
- /**
1120
- * Quantity being quoted, in the item's own unit.
1121
- */
1122
- quantity: number;
1123
- }
1124
-
1125
1010
  export interface ActionReleaseWeekParams {
1126
1011
  /**
1127
1012
  * ID of the account user accountable for executing the run.
@@ -1164,8 +1049,6 @@ export declare namespace Actions {
1164
1049
  type PreviewRegenerateProductionScheduleRequest as PreviewRegenerateProductionScheduleRequest,
1165
1050
  type ProductionSchedulePreview as ProductionSchedulePreview,
1166
1051
  type ProductionScheduleRegeneratePreview as ProductionScheduleRegeneratePreview,
1167
- type PromiseDateQuote as PromiseDateQuote,
1168
- type QuotePromiseDateRequest as QuotePromiseDateRequest,
1169
1052
  type RegenerateProductionScheduleRequest as RegenerateProductionScheduleRequest,
1170
1053
  type ReleaseProductionScheduleWeekRequest as ReleaseProductionScheduleWeekRequest,
1171
1054
  type ReleaseScheduleWeekResult as ReleaseScheduleWeekResult,
@@ -1176,7 +1059,6 @@ export declare namespace Actions {
1176
1059
  type ActionPreviewParams as ActionPreviewParams,
1177
1060
  type ActionPreviewRegenerateParams as ActionPreviewRegenerateParams,
1178
1061
  type ActionRegenerateParams as ActionRegenerateParams,
1179
- type ActionQuotePromiseDateParams as ActionQuotePromiseDateParams,
1180
1062
  type ActionReleaseWeekParams as ActionReleaseWeekParams,
1181
1063
  };
1182
1064
  }
@@ -10,8 +10,6 @@ export {
10
10
  type PreviewRegenerateProductionScheduleRequest,
11
11
  type ProductionSchedulePreview,
12
12
  type ProductionScheduleRegeneratePreview,
13
- type PromiseDateQuote,
14
- type QuotePromiseDateRequest,
15
13
  type RegenerateProductionScheduleRequest,
16
14
  type ReleaseProductionScheduleWeekRequest,
17
15
  type ReleaseScheduleWeekResult,
@@ -22,7 +20,6 @@ export {
22
20
  type ActionPreviewParams,
23
21
  type ActionPreviewRegenerateParams,
24
22
  type ActionRegenerateParams,
25
- type ActionQuotePromiseDateParams,
26
23
  type ActionReleaseWeekParams,
27
24
  } from './actions';
28
25
  export {
@@ -8,7 +8,6 @@ import * as ActionsAPI from './actions';
8
8
  import {
9
9
  ActionPreviewParams,
10
10
  ActionPreviewRegenerateParams,
11
- ActionQuotePromiseDateParams,
12
11
  ActionRegenerateParams,
13
12
  ActionReleaseWeekParams,
14
13
  Actions,
@@ -20,8 +19,6 @@ import {
20
19
  PreviewRegenerateProductionScheduleRequest,
21
20
  ProductionSchedulePreview,
22
21
  ProductionScheduleRegeneratePreview,
23
- PromiseDateQuote,
24
- QuotePromiseDateRequest,
25
22
  RegenerateProductionScheduleRequest,
26
23
  ReleaseProductionScheduleWeekRequest,
27
24
  ReleaseScheduleWeekResult,
@@ -2396,8 +2393,6 @@ export declare namespace ProductionSchedules {
2396
2393
  type PreviewRegenerateProductionScheduleRequest as PreviewRegenerateProductionScheduleRequest,
2397
2394
  type ProductionSchedulePreview as ProductionSchedulePreview,
2398
2395
  type ProductionScheduleRegeneratePreview as ProductionScheduleRegeneratePreview,
2399
- type PromiseDateQuote as PromiseDateQuote,
2400
- type QuotePromiseDateRequest as QuotePromiseDateRequest,
2401
2396
  type RegenerateProductionScheduleRequest as RegenerateProductionScheduleRequest,
2402
2397
  type ReleaseProductionScheduleWeekRequest as ReleaseProductionScheduleWeekRequest,
2403
2398
  type ReleaseScheduleWeekResult as ReleaseScheduleWeekResult,
@@ -2408,7 +2403,6 @@ export declare namespace ProductionSchedules {
2408
2403
  type ActionPreviewParams as ActionPreviewParams,
2409
2404
  type ActionPreviewRegenerateParams as ActionPreviewRegenerateParams,
2410
2405
  type ActionRegenerateParams as ActionRegenerateParams,
2411
- type ActionQuotePromiseDateParams as ActionQuotePromiseDateParams,
2412
2406
  type ActionReleaseWeekParams as ActionReleaseWeekParams,
2413
2407
  };
2414
2408
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { APIResource } from '../../core/resource';
4
4
  import * as APIKeysAPI from '../auth/api-keys/api-keys';
5
- import * as ProductLinesAPI from '../catalog/product-lines/product-lines';
5
+ import * as InventoryAPI from '../catalog/items/inventory';
6
6
  import * as AccountPricesAPI from '../sales/account-prices/account-prices';
7
7
  import { APIPromise } from '../../core/api-promise';
8
8
  import { RequestOptions } from '../../internal/request-options';
@@ -183,7 +183,7 @@ export interface CreateShippingTermRequest {
183
183
  * The unit may be a currency, so money amounts such as a credit limit are written
184
184
  * the same way as physical amounts like weights or counts.
185
185
  */
186
- flat_rate?: ProductLinesAPI.QuantityInput;
186
+ flat_rate?: InventoryAPI.QuantityInput;
187
187
 
188
188
  /**
189
189
  * IDs of the service levels that ship for free once an order exceeds
@@ -200,7 +200,7 @@ export interface CreateShippingTermRequest {
200
200
  * The unit may be a currency, so money amounts such as a credit limit are written
201
201
  * the same way as physical amounts like weights or counts.
202
202
  */
203
- minimum_order_value?: ProductLinesAPI.QuantityInput;
203
+ minimum_order_value?: InventoryAPI.QuantityInput;
204
204
  }
205
205
 
206
206
  /**
@@ -244,7 +244,7 @@ export interface UpdateShippingTermRequest {
244
244
  * The unit may be a currency, so money amounts such as a credit limit are written
245
245
  * the same way as physical amounts like weights or counts.
246
246
  */
247
- flat_rate?: ProductLinesAPI.QuantityInput | null;
247
+ flat_rate?: InventoryAPI.QuantityInput | null;
248
248
 
249
249
  /**
250
250
  * IDs of the service levels that ship for free once an order exceeds
@@ -262,7 +262,7 @@ export interface UpdateShippingTermRequest {
262
262
  * The unit may be a currency, so money amounts such as a credit limit are written
263
263
  * the same way as physical amounts like weights or counts.
264
264
  */
265
- minimum_order_value?: ProductLinesAPI.QuantityInput | null;
265
+ minimum_order_value?: InventoryAPI.QuantityInput | null;
266
266
 
267
267
  /**
268
268
  * Human-readable name for the shipping term, used to identify it when assigning
@@ -357,7 +357,7 @@ export interface ShippingTermCreateParams {
357
357
  * The unit may be a currency, so money amounts such as a credit limit are written
358
358
  * the same way as physical amounts like weights or counts.
359
359
  */
360
- flat_rate?: ProductLinesAPI.QuantityInput;
360
+ flat_rate?: InventoryAPI.QuantityInput;
361
361
 
362
362
  /**
363
363
  * Body param: IDs of the service levels that ship for free once an order exceeds
@@ -374,7 +374,7 @@ export interface ShippingTermCreateParams {
374
374
  * The unit may be a currency, so money amounts such as a credit limit are written
375
375
  * the same way as physical amounts like weights or counts.
376
376
  */
377
- minimum_order_value?: ProductLinesAPI.QuantityInput;
377
+ minimum_order_value?: InventoryAPI.QuantityInput;
378
378
  }
379
379
 
380
380
  export interface ShippingTermUpdateParams {
@@ -392,7 +392,7 @@ export interface ShippingTermUpdateParams {
392
392
  * The unit may be a currency, so money amounts such as a credit limit are written
393
393
  * the same way as physical amounts like weights or counts.
394
394
  */
395
- flat_rate?: ProductLinesAPI.QuantityInput | null;
395
+ flat_rate?: InventoryAPI.QuantityInput | null;
396
396
 
397
397
  /**
398
398
  * Body param: IDs of the service levels that ship for free once an order exceeds
@@ -410,7 +410,7 @@ export interface ShippingTermUpdateParams {
410
410
  * The unit may be a currency, so money amounts such as a credit limit are written
411
411
  * the same way as physical amounts like weights or counts.
412
412
  */
413
- minimum_order_value?: ProductLinesAPI.QuantityInput | null;
413
+ minimum_order_value?: InventoryAPI.QuantityInput | null;
414
414
 
415
415
  /**
416
416
  * Body param: Human-readable name for the shipping term, used to identify it when
@@ -397,7 +397,7 @@ export interface Customer {
397
397
  * resources point at them to report stock levels, ordered and packed amounts,
398
398
  * money, weights, and durations.
399
399
  */
400
- credit_limit: ItemsAPI.Quantity | null;
400
+ credit_limit: MaterialsAPI.Quantity | null;
401
401
 
402
402
  /**
403
403
  * Values used to fill in a new sales order for this customer when the order does
@@ -939,7 +939,7 @@ export interface ShippingTerm {
939
939
  * resources point at them to report stock levels, ordered and packed amounts,
940
940
  * money, weights, and durations.
941
941
  */
942
- flat_rate: ItemsAPI.Quantity | null;
942
+ flat_rate: MaterialsAPI.Quantity | null;
943
943
 
944
944
  /**
945
945
  * A single page of resources, together with the metadata needed to page through
@@ -954,7 +954,7 @@ export interface ShippingTerm {
954
954
  * resources point at them to report stock levels, ordered and packed amounts,
955
955
  * money, weights, and durations.
956
956
  */
957
- minimum_order_value: ItemsAPI.Quantity | null;
957
+ minimum_order_value: MaterialsAPI.Quantity | null;
958
958
 
959
959
  /**
960
960
  * Human-readable name for the shipping term, used to identify it when assigning
@@ -3,7 +3,7 @@
3
3
  import { APIResource } from '../../../core/resource';
4
4
  import * as CoreAPI from '../../core/core';
5
5
  import * as APIKeysAPI from '../../auth/api-keys/api-keys';
6
- import * as ItemsAPI from '../../catalog/items/items';
6
+ import * as MaterialsAPI from '../../catalog/materials/materials';
7
7
  import { APIPromise } from '../../../core/api-promise';
8
8
  import { RequestOptions } from '../../../internal/request-options';
9
9
  import { path } from '../../../internal/utils/path';
@@ -177,7 +177,7 @@ export interface SalesTarget {
177
177
  * resources point at them to report stock levels, ordered and packed amounts,
178
178
  * money, weights, and durations.
179
179
  */
180
- amount: ItemsAPI.Quantity | null;
180
+ amount: MaterialsAPI.Quantity | null;
181
181
 
182
182
  /**
183
183
  * Creation timestamp.