@augno/sdk 0.13.4 → 0.15.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 (557) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/package.json +1 -1
  3. package/resources/catalog/catalog.d.mts +10 -10
  4. package/resources/catalog/catalog.d.mts.map +1 -1
  5. package/resources/catalog/catalog.d.ts +10 -10
  6. package/resources/catalog/catalog.d.ts.map +1 -1
  7. package/resources/catalog/catalog.js +10 -10
  8. package/resources/catalog/catalog.js.map +1 -1
  9. package/resources/catalog/catalog.mjs +10 -10
  10. package/resources/catalog/catalog.mjs.map +1 -1
  11. package/resources/catalog/index.d.mts +5 -5
  12. package/resources/catalog/index.d.ts +5 -5
  13. package/resources/catalog/index.js +14 -14
  14. package/resources/catalog/index.js.map +1 -1
  15. package/resources/catalog/index.mjs +5 -5
  16. package/resources/catalog/item-categories/actions.d.mts +93 -0
  17. package/resources/catalog/item-categories/actions.d.mts.map +1 -0
  18. package/resources/catalog/item-categories/actions.d.ts +93 -0
  19. package/resources/catalog/item-categories/actions.d.ts.map +1 -0
  20. package/resources/catalog/item-categories/actions.js +35 -0
  21. package/resources/catalog/item-categories/actions.js.map +1 -0
  22. package/resources/catalog/item-categories/actions.mjs +31 -0
  23. package/resources/catalog/item-categories/actions.mjs.map +1 -0
  24. package/resources/catalog/item-categories/index.d.mts +1 -0
  25. package/resources/catalog/item-categories/index.d.mts.map +1 -1
  26. package/resources/catalog/item-categories/index.d.ts +1 -0
  27. package/resources/catalog/item-categories/index.d.ts.map +1 -1
  28. package/resources/catalog/item-categories/index.js +3 -1
  29. package/resources/catalog/item-categories/index.js.map +1 -1
  30. package/resources/catalog/item-categories/index.mjs +1 -0
  31. package/resources/catalog/item-categories/index.mjs.map +1 -1
  32. package/resources/catalog/item-categories/item-categories.d.mts +4 -0
  33. package/resources/catalog/item-categories/item-categories.d.mts.map +1 -1
  34. package/resources/catalog/item-categories/item-categories.d.ts +4 -0
  35. package/resources/catalog/item-categories/item-categories.d.ts.map +1 -1
  36. package/resources/catalog/item-categories/item-categories.js +4 -0
  37. package/resources/catalog/item-categories/item-categories.js.map +1 -1
  38. package/resources/catalog/item-categories/item-categories.mjs +4 -0
  39. package/resources/catalog/item-categories/item-categories.mjs.map +1 -1
  40. package/resources/catalog/items/items.d.mts +1 -1
  41. package/resources/catalog/items/items.d.mts.map +1 -1
  42. package/resources/catalog/items/items.d.ts +1 -1
  43. package/resources/catalog/items/items.d.ts.map +1 -1
  44. package/resources/catalog/items/items.js.map +1 -1
  45. package/resources/catalog/items/items.mjs.map +1 -1
  46. package/resources/catalog/materials/actions.d.mts +118 -0
  47. package/resources/catalog/materials/actions.d.mts.map +1 -0
  48. package/resources/catalog/materials/actions.d.ts +118 -0
  49. package/resources/catalog/materials/actions.d.ts.map +1 -0
  50. package/resources/catalog/materials/actions.js +33 -0
  51. package/resources/catalog/materials/actions.js.map +1 -0
  52. package/resources/catalog/materials/actions.mjs +29 -0
  53. package/resources/catalog/materials/actions.mjs.map +1 -0
  54. package/resources/catalog/materials/index.d.mts +3 -0
  55. package/resources/catalog/materials/index.d.mts.map +1 -0
  56. package/resources/catalog/materials/index.d.ts +3 -0
  57. package/resources/catalog/materials/index.d.ts.map +1 -0
  58. package/resources/catalog/materials/index.js +9 -0
  59. package/resources/catalog/materials/index.js.map +1 -0
  60. package/resources/catalog/materials/index.mjs +4 -0
  61. package/resources/catalog/materials/index.mjs.map +1 -0
  62. package/resources/catalog/materials/materials.d.mts +483 -0
  63. package/resources/catalog/materials/materials.d.mts.map +1 -0
  64. package/resources/catalog/materials/materials.d.ts +483 -0
  65. package/resources/catalog/materials/materials.d.ts.map +1 -0
  66. package/resources/catalog/materials/materials.js +159 -0
  67. package/resources/catalog/materials/materials.js.map +1 -0
  68. package/resources/catalog/materials/materials.mjs +154 -0
  69. package/resources/catalog/materials/materials.mjs.map +1 -0
  70. package/resources/catalog/materials.d.mts +1 -478
  71. package/resources/catalog/materials.d.mts.map +1 -1
  72. package/resources/catalog/materials.d.ts +1 -478
  73. package/resources/catalog/materials.d.ts.map +1 -1
  74. package/resources/catalog/materials.js +2 -147
  75. package/resources/catalog/materials.js.map +1 -1
  76. package/resources/catalog/materials.mjs +1 -145
  77. package/resources/catalog/materials.mjs.map +1 -1
  78. package/resources/catalog/parts/actions.d.mts +108 -0
  79. package/resources/catalog/parts/actions.d.mts.map +1 -0
  80. package/resources/catalog/parts/actions.d.ts +108 -0
  81. package/resources/catalog/parts/actions.d.ts.map +1 -0
  82. package/resources/catalog/parts/actions.js +32 -0
  83. package/resources/catalog/parts/actions.js.map +1 -0
  84. package/resources/catalog/parts/actions.mjs +28 -0
  85. package/resources/catalog/parts/actions.mjs.map +1 -0
  86. package/resources/catalog/parts/index.d.mts +3 -0
  87. package/resources/catalog/parts/index.d.mts.map +1 -0
  88. package/resources/catalog/parts/index.d.ts +3 -0
  89. package/resources/catalog/parts/index.d.ts.map +1 -0
  90. package/resources/catalog/parts/index.js +9 -0
  91. package/resources/catalog/parts/index.js.map +1 -0
  92. package/resources/catalog/parts/index.mjs +4 -0
  93. package/resources/catalog/parts/index.mjs.map +1 -0
  94. package/resources/catalog/parts/parts.d.mts +362 -0
  95. package/resources/catalog/parts/parts.d.mts.map +1 -0
  96. package/resources/catalog/parts/parts.d.ts +362 -0
  97. package/resources/catalog/parts/parts.d.ts.map +1 -0
  98. package/resources/catalog/parts/parts.js +138 -0
  99. package/resources/catalog/parts/parts.js.map +1 -0
  100. package/resources/catalog/parts/parts.mjs +133 -0
  101. package/resources/catalog/parts/parts.mjs.map +1 -0
  102. package/resources/catalog/parts.d.mts +1 -357
  103. package/resources/catalog/parts.d.mts.map +1 -1
  104. package/resources/catalog/parts.d.ts +1 -357
  105. package/resources/catalog/parts.d.ts.map +1 -1
  106. package/resources/catalog/parts.js +2 -126
  107. package/resources/catalog/parts.js.map +1 -1
  108. package/resources/catalog/parts.mjs +1 -124
  109. package/resources/catalog/parts.mjs.map +1 -1
  110. package/resources/catalog/product-lines/actions.d.mts +82 -0
  111. package/resources/catalog/product-lines/actions.d.mts.map +1 -0
  112. package/resources/catalog/product-lines/actions.d.ts +82 -0
  113. package/resources/catalog/product-lines/actions.d.ts.map +1 -0
  114. package/resources/catalog/product-lines/actions.js +34 -0
  115. package/resources/catalog/product-lines/actions.js.map +1 -0
  116. package/resources/catalog/product-lines/actions.mjs +30 -0
  117. package/resources/catalog/product-lines/actions.mjs.map +1 -0
  118. package/resources/catalog/product-lines/index.d.mts +3 -0
  119. package/resources/catalog/product-lines/index.d.mts.map +1 -0
  120. package/resources/catalog/product-lines/index.d.ts +3 -0
  121. package/resources/catalog/product-lines/index.d.ts.map +1 -0
  122. package/resources/catalog/product-lines/index.js +9 -0
  123. package/resources/catalog/product-lines/index.js.map +1 -0
  124. package/resources/catalog/product-lines/index.mjs +4 -0
  125. package/resources/catalog/product-lines/index.mjs.map +1 -0
  126. package/resources/catalog/product-lines/product-lines.d.mts +501 -0
  127. package/resources/catalog/product-lines/product-lines.d.mts.map +1 -0
  128. package/resources/catalog/product-lines/product-lines.d.ts +501 -0
  129. package/resources/catalog/product-lines/product-lines.d.ts.map +1 -0
  130. package/resources/catalog/product-lines/product-lines.js +136 -0
  131. package/resources/catalog/product-lines/product-lines.js.map +1 -0
  132. package/resources/catalog/product-lines/product-lines.mjs +131 -0
  133. package/resources/catalog/product-lines/product-lines.mjs.map +1 -0
  134. package/resources/catalog/product-lines.d.mts +1 -443
  135. package/resources/catalog/product-lines.d.mts.map +1 -1
  136. package/resources/catalog/product-lines.d.ts +1 -443
  137. package/resources/catalog/product-lines.d.ts.map +1 -1
  138. package/resources/catalog/product-lines.js +2 -124
  139. package/resources/catalog/product-lines.js.map +1 -1
  140. package/resources/catalog/product-lines.mjs +1 -122
  141. package/resources/catalog/product-lines.mjs.map +1 -1
  142. package/resources/catalog/products/actions.d.mts +124 -0
  143. package/resources/catalog/products/actions.d.mts.map +1 -0
  144. package/resources/catalog/products/actions.d.ts +124 -0
  145. package/resources/catalog/products/actions.d.ts.map +1 -0
  146. package/resources/catalog/products/actions.js +33 -0
  147. package/resources/catalog/products/actions.js.map +1 -0
  148. package/resources/catalog/products/actions.mjs +29 -0
  149. package/resources/catalog/products/actions.mjs.map +1 -0
  150. package/resources/catalog/products/index.d.mts +3 -0
  151. package/resources/catalog/products/index.d.mts.map +1 -0
  152. package/resources/catalog/products/index.d.ts +3 -0
  153. package/resources/catalog/products/index.d.ts.map +1 -0
  154. package/resources/catalog/products/index.js +9 -0
  155. package/resources/catalog/products/index.js.map +1 -0
  156. package/resources/catalog/products/index.mjs +4 -0
  157. package/resources/catalog/products/index.mjs.map +1 -0
  158. package/resources/catalog/products/products.d.mts +585 -0
  159. package/resources/catalog/products/products.d.mts.map +1 -0
  160. package/resources/catalog/products/products.d.ts +585 -0
  161. package/resources/catalog/products/products.d.ts.map +1 -0
  162. package/resources/catalog/products/products.js +185 -0
  163. package/resources/catalog/products/products.js.map +1 -0
  164. package/resources/catalog/products/products.mjs +180 -0
  165. package/resources/catalog/products/products.mjs.map +1 -0
  166. package/resources/catalog/products.d.mts +1 -580
  167. package/resources/catalog/products.d.mts.map +1 -1
  168. package/resources/catalog/products.d.ts +1 -580
  169. package/resources/catalog/products.d.ts.map +1 -1
  170. package/resources/catalog/products.js +2 -173
  171. package/resources/catalog/products.js.map +1 -1
  172. package/resources/catalog/products.mjs +1 -171
  173. package/resources/catalog/products.mjs.map +1 -1
  174. package/resources/catalog/properties/actions.d.mts +86 -0
  175. package/resources/catalog/properties/actions.d.mts.map +1 -0
  176. package/resources/catalog/properties/actions.d.ts +86 -0
  177. package/resources/catalog/properties/actions.d.ts.map +1 -0
  178. package/resources/catalog/properties/actions.js +33 -0
  179. package/resources/catalog/properties/actions.js.map +1 -0
  180. package/resources/catalog/properties/actions.mjs +29 -0
  181. package/resources/catalog/properties/actions.mjs.map +1 -0
  182. package/resources/catalog/properties/index.d.mts +1 -0
  183. package/resources/catalog/properties/index.d.mts.map +1 -1
  184. package/resources/catalog/properties/index.d.ts +1 -0
  185. package/resources/catalog/properties/index.d.ts.map +1 -1
  186. package/resources/catalog/properties/index.js +3 -1
  187. package/resources/catalog/properties/index.js.map +1 -1
  188. package/resources/catalog/properties/index.mjs +1 -0
  189. package/resources/catalog/properties/index.mjs.map +1 -1
  190. package/resources/catalog/properties/properties.d.mts +4 -0
  191. package/resources/catalog/properties/properties.d.mts.map +1 -1
  192. package/resources/catalog/properties/properties.d.ts +4 -0
  193. package/resources/catalog/properties/properties.d.ts.map +1 -1
  194. package/resources/catalog/properties/properties.js +4 -0
  195. package/resources/catalog/properties/properties.js.map +1 -1
  196. package/resources/catalog/properties/properties.mjs +4 -0
  197. package/resources/catalog/properties/properties.mjs.map +1 -1
  198. package/resources/catalog/unit-groups/actions.d.mts +116 -0
  199. package/resources/catalog/unit-groups/actions.d.mts.map +1 -0
  200. package/resources/catalog/unit-groups/actions.d.ts +116 -0
  201. package/resources/catalog/unit-groups/actions.d.ts.map +1 -0
  202. package/resources/catalog/unit-groups/actions.js +39 -0
  203. package/resources/catalog/unit-groups/actions.js.map +1 -0
  204. package/resources/catalog/unit-groups/actions.mjs +35 -0
  205. package/resources/catalog/unit-groups/actions.mjs.map +1 -0
  206. package/resources/catalog/unit-groups/index.d.mts +1 -0
  207. package/resources/catalog/unit-groups/index.d.mts.map +1 -1
  208. package/resources/catalog/unit-groups/index.d.ts +1 -0
  209. package/resources/catalog/unit-groups/index.d.ts.map +1 -1
  210. package/resources/catalog/unit-groups/index.js +3 -1
  211. package/resources/catalog/unit-groups/index.js.map +1 -1
  212. package/resources/catalog/unit-groups/index.mjs +1 -0
  213. package/resources/catalog/unit-groups/index.mjs.map +1 -1
  214. package/resources/catalog/unit-groups/unit-groups.d.mts +9 -5
  215. package/resources/catalog/unit-groups/unit-groups.d.mts.map +1 -1
  216. package/resources/catalog/unit-groups/unit-groups.d.ts +9 -5
  217. package/resources/catalog/unit-groups/unit-groups.d.ts.map +1 -1
  218. package/resources/catalog/unit-groups/unit-groups.js +6 -2
  219. package/resources/catalog/unit-groups/unit-groups.js.map +1 -1
  220. package/resources/catalog/unit-groups/unit-groups.mjs +6 -2
  221. package/resources/catalog/unit-groups/unit-groups.mjs.map +1 -1
  222. package/resources/catalog/units/actions.d.mts +91 -0
  223. package/resources/catalog/units/actions.d.mts.map +1 -0
  224. package/resources/catalog/units/actions.d.ts +91 -0
  225. package/resources/catalog/units/actions.d.ts.map +1 -0
  226. package/resources/catalog/units/actions.js +37 -0
  227. package/resources/catalog/units/actions.js.map +1 -0
  228. package/resources/catalog/units/actions.mjs +33 -0
  229. package/resources/catalog/units/actions.mjs.map +1 -0
  230. package/resources/catalog/units/index.d.mts +3 -0
  231. package/resources/catalog/units/index.d.mts.map +1 -0
  232. package/resources/catalog/units/index.d.ts +3 -0
  233. package/resources/catalog/units/index.d.ts.map +1 -0
  234. package/resources/catalog/units/index.js +9 -0
  235. package/resources/catalog/units/index.js.map +1 -0
  236. package/resources/catalog/units/index.mjs +4 -0
  237. package/resources/catalog/units/index.mjs.map +1 -0
  238. package/resources/catalog/units/units.d.mts +449 -0
  239. package/resources/catalog/units/units.d.mts.map +1 -0
  240. package/resources/catalog/units/units.d.ts +449 -0
  241. package/resources/catalog/units/units.d.ts.map +1 -0
  242. package/resources/catalog/units/units.js +122 -0
  243. package/resources/catalog/units/units.js.map +1 -0
  244. package/resources/catalog/units/units.mjs +117 -0
  245. package/resources/catalog/units/units.mjs.map +1 -0
  246. package/resources/catalog/units.d.mts +1 -444
  247. package/resources/catalog/units.d.mts.map +1 -1
  248. package/resources/catalog/units.d.ts +1 -444
  249. package/resources/catalog/units.d.ts.map +1 -1
  250. package/resources/catalog/units.js +2 -110
  251. package/resources/catalog/units.js.map +1 -1
  252. package/resources/catalog/units.mjs +1 -108
  253. package/resources/catalog/units.mjs.map +1 -1
  254. package/resources/core/analytics.d.mts +252 -1
  255. package/resources/core/analytics.d.mts.map +1 -1
  256. package/resources/core/analytics.d.ts +252 -1
  257. package/resources/core/analytics.d.ts.map +1 -1
  258. package/resources/core/analytics.js +38 -0
  259. package/resources/core/analytics.js.map +1 -1
  260. package/resources/core/analytics.mjs +38 -0
  261. package/resources/core/analytics.mjs.map +1 -1
  262. package/resources/core/audit-events.d.mts +6 -6
  263. package/resources/core/audit-events.d.mts.map +1 -1
  264. package/resources/core/audit-events.d.ts +6 -6
  265. package/resources/core/audit-events.d.ts.map +1 -1
  266. package/resources/core/core.d.mts +8 -4
  267. package/resources/core/core.d.mts.map +1 -1
  268. package/resources/core/core.d.ts +8 -4
  269. package/resources/core/core.d.ts.map +1 -1
  270. package/resources/core/core.js +4 -0
  271. package/resources/core/core.js.map +1 -1
  272. package/resources/core/core.mjs +4 -0
  273. package/resources/core/core.mjs.map +1 -1
  274. package/resources/core/index.d.mts +2 -1
  275. package/resources/core/index.d.mts.map +1 -1
  276. package/resources/core/index.d.ts +2 -1
  277. package/resources/core/index.d.ts.map +1 -1
  278. package/resources/core/index.js +3 -1
  279. package/resources/core/index.js.map +1 -1
  280. package/resources/core/index.mjs +1 -0
  281. package/resources/core/index.mjs.map +1 -1
  282. package/resources/core/jobs.d.mts +236 -0
  283. package/resources/core/jobs.d.mts.map +1 -0
  284. package/resources/core/jobs.d.ts +236 -0
  285. package/resources/core/jobs.d.ts.map +1 -0
  286. package/resources/core/jobs.js +43 -0
  287. package/resources/core/jobs.js.map +1 -0
  288. package/resources/core/jobs.mjs +39 -0
  289. package/resources/core/jobs.mjs.map +1 -0
  290. package/resources/messaging/conversations/conversations.d.mts +3 -3
  291. package/resources/messaging/conversations/conversations.d.mts.map +1 -1
  292. package/resources/messaging/conversations/conversations.d.ts +3 -3
  293. package/resources/messaging/conversations/conversations.d.ts.map +1 -1
  294. package/resources/messaging/conversations/conversations.js.map +1 -1
  295. package/resources/messaging/conversations/conversations.mjs.map +1 -1
  296. package/resources/messaging/conversations/links.d.mts +2 -2
  297. package/resources/messaging/conversations/links.d.mts.map +1 -1
  298. package/resources/messaging/conversations/links.d.ts +2 -2
  299. package/resources/messaging/conversations/links.d.ts.map +1 -1
  300. package/resources/messaging/conversations/messages.d.mts +2 -2
  301. package/resources/messaging/conversations/messages.d.mts.map +1 -1
  302. package/resources/messaging/conversations/messages.d.ts +2 -2
  303. package/resources/messaging/conversations/messages.d.ts.map +1 -1
  304. package/resources/messaging/notifications/notifications.d.mts +2 -2
  305. package/resources/messaging/notifications/notifications.d.mts.map +1 -1
  306. package/resources/messaging/notifications/notifications.d.ts +2 -2
  307. package/resources/messaging/notifications/notifications.d.ts.map +1 -1
  308. package/resources/messaging/notifications/notifications.js.map +1 -1
  309. package/resources/messaging/notifications/notifications.mjs.map +1 -1
  310. package/resources/operations/demand-overrides.d.mts +1 -1
  311. package/resources/operations/demand-overrides.d.mts.map +1 -1
  312. package/resources/operations/demand-overrides.d.ts +1 -1
  313. package/resources/operations/demand-overrides.d.ts.map +1 -1
  314. package/resources/operations/fulfillment-recommendations/actions.d.mts +59 -0
  315. package/resources/operations/fulfillment-recommendations/actions.d.mts.map +1 -0
  316. package/resources/operations/fulfillment-recommendations/actions.d.ts +59 -0
  317. package/resources/operations/fulfillment-recommendations/actions.d.ts.map +1 -0
  318. package/resources/operations/fulfillment-recommendations/actions.js +40 -0
  319. package/resources/operations/fulfillment-recommendations/actions.js.map +1 -0
  320. package/resources/operations/fulfillment-recommendations/actions.mjs +36 -0
  321. package/resources/operations/fulfillment-recommendations/actions.mjs.map +1 -0
  322. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.d.mts +165 -0
  323. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.d.mts.map +1 -0
  324. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.d.ts +165 -0
  325. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.d.ts.map +1 -0
  326. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.js +52 -0
  327. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.js.map +1 -0
  328. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.mjs +47 -0
  329. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.mjs.map +1 -0
  330. package/resources/operations/fulfillment-recommendations/index.d.mts +3 -0
  331. package/resources/operations/fulfillment-recommendations/index.d.mts.map +1 -0
  332. package/resources/operations/fulfillment-recommendations/index.d.ts +3 -0
  333. package/resources/operations/fulfillment-recommendations/index.d.ts.map +1 -0
  334. package/resources/operations/fulfillment-recommendations/index.js +9 -0
  335. package/resources/operations/fulfillment-recommendations/index.js.map +1 -0
  336. package/resources/operations/fulfillment-recommendations/index.mjs +4 -0
  337. package/resources/operations/fulfillment-recommendations/index.mjs.map +1 -0
  338. package/resources/operations/fulfillment-recommendations.d.mts +2 -0
  339. package/resources/operations/fulfillment-recommendations.d.mts.map +1 -0
  340. package/resources/operations/fulfillment-recommendations.d.ts +2 -0
  341. package/resources/operations/fulfillment-recommendations.d.ts.map +1 -0
  342. package/resources/operations/fulfillment-recommendations.js +6 -0
  343. package/resources/operations/fulfillment-recommendations.js.map +1 -0
  344. package/resources/operations/fulfillment-recommendations.mjs +3 -0
  345. package/resources/operations/fulfillment-recommendations.mjs.map +1 -0
  346. package/resources/operations/index.d.mts +3 -2
  347. package/resources/operations/index.d.mts.map +1 -1
  348. package/resources/operations/index.d.ts +3 -2
  349. package/resources/operations/index.d.ts.map +1 -1
  350. package/resources/operations/index.js +11 -9
  351. package/resources/operations/index.js.map +1 -1
  352. package/resources/operations/index.mjs +2 -1
  353. package/resources/operations/index.mjs.map +1 -1
  354. package/resources/operations/locations/actions.d.mts +67 -0
  355. package/resources/operations/locations/actions.d.mts.map +1 -0
  356. package/resources/operations/locations/actions.d.ts +67 -0
  357. package/resources/operations/locations/actions.d.ts.map +1 -0
  358. package/resources/operations/locations/actions.js +27 -0
  359. package/resources/operations/locations/actions.js.map +1 -0
  360. package/resources/operations/locations/actions.mjs +23 -0
  361. package/resources/operations/locations/actions.mjs.map +1 -0
  362. package/resources/operations/locations/index.d.mts +3 -0
  363. package/resources/operations/locations/index.d.mts.map +1 -0
  364. package/resources/operations/locations/index.d.ts +3 -0
  365. package/resources/operations/locations/index.d.ts.map +1 -0
  366. package/resources/operations/locations/index.js +9 -0
  367. package/resources/operations/locations/index.js.map +1 -0
  368. package/resources/operations/locations/index.mjs +4 -0
  369. package/resources/operations/locations/index.mjs.map +1 -0
  370. package/resources/operations/locations/locations.d.mts +273 -0
  371. package/resources/operations/locations/locations.d.mts.map +1 -0
  372. package/resources/operations/locations/locations.d.ts +273 -0
  373. package/resources/operations/locations/locations.d.ts.map +1 -0
  374. package/resources/operations/locations/locations.js +113 -0
  375. package/resources/operations/locations/locations.js.map +1 -0
  376. package/resources/operations/locations/locations.mjs +108 -0
  377. package/resources/operations/locations/locations.mjs.map +1 -0
  378. package/resources/operations/locations.d.mts +1 -268
  379. package/resources/operations/locations.d.mts.map +1 -1
  380. package/resources/operations/locations.d.ts +1 -268
  381. package/resources/operations/locations.d.ts.map +1 -1
  382. package/resources/operations/locations.js +2 -101
  383. package/resources/operations/locations.js.map +1 -1
  384. package/resources/operations/locations.mjs +1 -99
  385. package/resources/operations/locations.mjs.map +1 -1
  386. package/resources/operations/operations.d.mts +8 -4
  387. package/resources/operations/operations.d.mts.map +1 -1
  388. package/resources/operations/operations.d.ts +8 -4
  389. package/resources/operations/operations.d.ts.map +1 -1
  390. package/resources/operations/operations.js +6 -2
  391. package/resources/operations/operations.js.map +1 -1
  392. package/resources/operations/operations.mjs +6 -2
  393. package/resources/operations/operations.mjs.map +1 -1
  394. package/resources/operations/production-schedule-settings/index.d.mts +1 -0
  395. package/resources/operations/production-schedule-settings/index.d.mts.map +1 -1
  396. package/resources/operations/production-schedule-settings/index.d.ts +1 -0
  397. package/resources/operations/production-schedule-settings/index.d.ts.map +1 -1
  398. package/resources/operations/production-schedule-settings/index.js +3 -1
  399. package/resources/operations/production-schedule-settings/index.js.map +1 -1
  400. package/resources/operations/production-schedule-settings/index.mjs +1 -0
  401. package/resources/operations/production-schedule-settings/index.mjs.map +1 -1
  402. package/resources/operations/production-schedule-settings/items.d.mts +228 -0
  403. package/resources/operations/production-schedule-settings/items.d.mts.map +1 -0
  404. package/resources/operations/production-schedule-settings/items.d.ts +228 -0
  405. package/resources/operations/production-schedule-settings/items.d.ts.map +1 -0
  406. package/resources/operations/production-schedule-settings/items.js +109 -0
  407. package/resources/operations/production-schedule-settings/items.js.map +1 -0
  408. package/resources/operations/production-schedule-settings/items.mjs +105 -0
  409. package/resources/operations/production-schedule-settings/items.mjs.map +1 -0
  410. package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts +60 -0
  411. package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts.map +1 -1
  412. package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts +60 -0
  413. package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts.map +1 -1
  414. package/resources/operations/production-schedule-settings/production-schedule-settings.js +6 -0
  415. package/resources/operations/production-schedule-settings/production-schedule-settings.js.map +1 -1
  416. package/resources/operations/production-schedule-settings/production-schedule-settings.mjs +6 -0
  417. package/resources/operations/production-schedule-settings/production-schedule-settings.mjs.map +1 -1
  418. package/resources/operations/production-schedules/actions.d.mts +117 -1
  419. package/resources/operations/production-schedules/actions.d.mts.map +1 -1
  420. package/resources/operations/production-schedules/actions.d.ts +117 -1
  421. package/resources/operations/production-schedules/actions.d.ts.map +1 -1
  422. package/resources/operations/production-schedules/actions.js +34 -0
  423. package/resources/operations/production-schedules/actions.js.map +1 -1
  424. package/resources/operations/production-schedules/actions.mjs +34 -0
  425. package/resources/operations/production-schedules/actions.mjs.map +1 -1
  426. package/resources/operations/production-schedules/index.d.mts +2 -2
  427. package/resources/operations/production-schedules/index.d.mts.map +1 -1
  428. package/resources/operations/production-schedules/index.d.ts +2 -2
  429. package/resources/operations/production-schedules/index.d.ts.map +1 -1
  430. package/resources/operations/production-schedules/index.js.map +1 -1
  431. package/resources/operations/production-schedules/index.mjs.map +1 -1
  432. package/resources/operations/production-schedules/production-schedules.d.mts +260 -3
  433. package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -1
  434. package/resources/operations/production-schedules/production-schedules.d.ts +260 -3
  435. package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -1
  436. package/resources/operations/production-schedules/production-schedules.js +29 -0
  437. package/resources/operations/production-schedules/production-schedules.js.map +1 -1
  438. package/resources/operations/production-schedules/production-schedules.mjs +29 -0
  439. package/resources/operations/production-schedules/production-schedules.mjs.map +1 -1
  440. package/resources/operations/scanning-stations.d.mts +12 -4
  441. package/resources/operations/scanning-stations.d.mts.map +1 -1
  442. package/resources/operations/scanning-stations.d.ts +12 -4
  443. package/resources/operations/scanning-stations.d.ts.map +1 -1
  444. package/resources/operations/shipping-terms.d.mts +1 -1
  445. package/resources/operations/shipping-terms.d.mts.map +1 -1
  446. package/resources/operations/shipping-terms.d.ts +1 -1
  447. package/resources/operations/shipping-terms.d.ts.map +1 -1
  448. package/resources/sales/account-groups.d.mts +27 -0
  449. package/resources/sales/account-groups.d.mts.map +1 -1
  450. package/resources/sales/account-groups.d.ts +27 -0
  451. package/resources/sales/account-groups.d.ts.map +1 -1
  452. package/resources/sales/customers/customers.d.mts +100 -2
  453. package/resources/sales/customers/customers.d.mts.map +1 -1
  454. package/resources/sales/customers/customers.d.ts +100 -2
  455. package/resources/sales/customers/customers.d.ts.map +1 -1
  456. package/resources/sales/customers/customers.js +27 -0
  457. package/resources/sales/customers/customers.js.map +1 -1
  458. package/resources/sales/customers/customers.mjs +27 -0
  459. package/resources/sales/customers/customers.mjs.map +1 -1
  460. package/resources/sales/customers/index.d.mts +1 -1
  461. package/resources/sales/customers/index.d.mts.map +1 -1
  462. package/resources/sales/customers/index.d.ts +1 -1
  463. package/resources/sales/customers/index.d.ts.map +1 -1
  464. package/resources/sales/customers/index.js.map +1 -1
  465. package/resources/sales/customers/index.mjs.map +1 -1
  466. package/resources/sales/index.d.mts +1 -1
  467. package/resources/sales/index.d.mts.map +1 -1
  468. package/resources/sales/index.d.ts +1 -1
  469. package/resources/sales/index.d.ts.map +1 -1
  470. package/resources/sales/index.js.map +1 -1
  471. package/resources/sales/index.mjs.map +1 -1
  472. package/resources/sales/sales-orders/lines/lines.d.mts +2 -2
  473. package/resources/sales/sales-orders/lines/lines.d.ts +2 -2
  474. package/resources/sales/sales-orders/sales-orders.d.mts +39 -4
  475. package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
  476. package/resources/sales/sales-orders/sales-orders.d.ts +39 -4
  477. package/resources/sales/sales-orders/sales-orders.d.ts.map +1 -1
  478. package/resources/sales/sales-orders/sales-orders.js.map +1 -1
  479. package/resources/sales/sales-orders/sales-orders.mjs.map +1 -1
  480. package/resources/sales/sales.d.mts +2 -2
  481. package/resources/sales/sales.d.mts.map +1 -1
  482. package/resources/sales/sales.d.ts +2 -2
  483. package/resources/sales/sales.d.ts.map +1 -1
  484. package/resources/sales/sales.js.map +1 -1
  485. package/resources/sales/sales.mjs.map +1 -1
  486. package/src/resources/catalog/catalog.ts +51 -51
  487. package/src/resources/catalog/index.ts +5 -5
  488. package/src/resources/catalog/item-categories/actions.ts +112 -0
  489. package/src/resources/catalog/item-categories/index.ts +7 -0
  490. package/src/resources/catalog/item-categories/item-categories.ts +18 -0
  491. package/src/resources/catalog/items/items.ts +1 -1
  492. package/src/resources/catalog/materials/actions.ts +141 -0
  493. package/src/resources/catalog/materials/index.ts +22 -0
  494. package/src/resources/catalog/materials/materials.ts +633 -0
  495. package/src/resources/catalog/materials.ts +1 -611
  496. package/src/resources/catalog/parts/actions.ts +129 -0
  497. package/src/resources/catalog/parts/index.ts +20 -0
  498. package/src/resources/catalog/parts/parts.ts +476 -0
  499. package/src/resources/catalog/parts.ts +1 -454
  500. package/src/resources/catalog/product-lines/actions.ts +97 -0
  501. package/src/resources/catalog/product-lines/index.ts +21 -0
  502. package/src/resources/catalog/product-lines/product-lines.ts +610 -0
  503. package/src/resources/catalog/product-lines.ts +1 -532
  504. package/src/resources/catalog/products/actions.ts +148 -0
  505. package/src/resources/catalog/products/index.ts +22 -0
  506. package/src/resources/catalog/products/products.ts +816 -0
  507. package/src/resources/catalog/products.ts +1 -794
  508. package/src/resources/catalog/properties/actions.ts +102 -0
  509. package/src/resources/catalog/properties/index.ts +7 -0
  510. package/src/resources/catalog/properties/properties.ts +18 -0
  511. package/src/resources/catalog/unit-groups/actions.ts +139 -0
  512. package/src/resources/catalog/unit-groups/index.ts +8 -0
  513. package/src/resources/catalog/unit-groups/unit-groups.ts +25 -5
  514. package/src/resources/catalog/units/actions.ts +110 -0
  515. package/src/resources/catalog/units/index.ts +20 -0
  516. package/src/resources/catalog/units/units.ts +547 -0
  517. package/src/resources/catalog/units.ts +1 -532
  518. package/src/resources/core/analytics.ts +300 -0
  519. package/src/resources/core/audit-events.ts +48 -4
  520. package/src/resources/core/core.ts +51 -1
  521. package/src/resources/core/index.ts +16 -0
  522. package/src/resources/core/jobs.ts +321 -0
  523. package/src/resources/messaging/conversations/conversations.ts +36 -3
  524. package/src/resources/messaging/conversations/links.ts +24 -2
  525. package/src/resources/messaging/conversations/messages.ts +24 -2
  526. package/src/resources/messaging/notifications/notifications.ts +24 -2
  527. package/src/resources/operations/demand-overrides.ts +1 -1
  528. package/src/resources/operations/fulfillment-recommendations/actions.ts +75 -0
  529. package/src/resources/operations/fulfillment-recommendations/fulfillment-recommendations.ts +206 -0
  530. package/src/resources/operations/fulfillment-recommendations/index.ts +8 -0
  531. package/src/resources/operations/fulfillment-recommendations.ts +3 -0
  532. package/src/resources/operations/index.ts +12 -1
  533. package/src/resources/operations/locations/actions.ts +82 -0
  534. package/src/resources/operations/locations/index.ts +18 -0
  535. package/src/resources/operations/locations/locations.ts +344 -0
  536. package/src/resources/operations/locations.ts +1 -329
  537. package/src/resources/operations/operations.ts +38 -11
  538. package/src/resources/operations/production-schedule-settings/index.ts +8 -0
  539. package/src/resources/operations/production-schedule-settings/items.ts +273 -0
  540. package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts +82 -0
  541. package/src/resources/operations/production-schedules/actions.ts +144 -0
  542. package/src/resources/operations/production-schedules/index.ts +9 -0
  543. package/src/resources/operations/production-schedules/production-schedules.ts +310 -0
  544. package/src/resources/operations/scanning-stations.ts +12 -4
  545. package/src/resources/operations/shipping-terms.ts +1 -1
  546. package/src/resources/sales/account-groups.ts +32 -0
  547. package/src/resources/sales/customers/customers.ts +113 -1
  548. package/src/resources/sales/customers/index.ts +1 -0
  549. package/src/resources/sales/index.ts +1 -0
  550. package/src/resources/sales/sales-orders/lines/lines.ts +2 -2
  551. package/src/resources/sales/sales-orders/sales-orders.ts +45 -4
  552. package/src/resources/sales/sales.ts +2 -0
  553. package/src/version.ts +1 -1
  554. package/version.d.mts +1 -1
  555. package/version.d.ts +1 -1
  556. package/version.js +1 -1
  557. package/version.mjs +1 -1
@@ -126,6 +126,44 @@ 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
+
129
167
  /**
130
168
  * Publishes a draft schedule, freezing its first weeks.
131
169
  *
@@ -509,6 +547,71 @@ export interface ProductionScheduleRegeneratePreview {
509
547
  solver_version: string;
510
548
  }
511
549
 
550
+ /**
551
+ * The earliest date the published plan could ship a quantity of an item.
552
+ */
553
+ export interface PromiseDateQuote {
554
+ /**
555
+ * Earliest date the quantity could ship, allowing for finishing after the
556
+ * constraint stage completes.
557
+ */
558
+ earliest_ship_date: string | null;
559
+
560
+ /**
561
+ * Horizon week the constraint stage would complete in.
562
+ */
563
+ earliest_week_index: number | null;
564
+
565
+ /**
566
+ * Whether the published horizon can supply it at all.
567
+ *
568
+ * False means the plan as published runs out before it could cover this quantity.
569
+ * That is not the same as "never" — it is the honest limit of a plan that only
570
+ * runs so many weeks.
571
+ */
572
+ is_promisable: boolean;
573
+
574
+ /**
575
+ * Entity is a polymorphic reference to any resource in the system.
576
+ */
577
+ item: CoreAPI.Entity | null;
578
+
579
+ /**
580
+ * Resource type identifier.
581
+ */
582
+ object: 'promise_date_quote';
583
+
584
+ /**
585
+ * Entity is a polymorphic reference to any resource in the system.
586
+ */
587
+ production_schedule: CoreAPI.Entity | null;
588
+
589
+ /**
590
+ * Version number of that schedule.
591
+ */
592
+ production_schedule_version: number;
593
+
594
+ /**
595
+ * The quantity being quoted.
596
+ */
597
+ quantity: number;
598
+ }
599
+
600
+ /**
601
+ * Request to quote the earliest date a quantity could ship.
602
+ */
603
+ export interface QuotePromiseDateRequest {
604
+ /**
605
+ * Item being quoted.
606
+ */
607
+ item_id: string;
608
+
609
+ /**
610
+ * Quantity being quoted, in the item's own unit.
611
+ */
612
+ quantity: number;
613
+ }
614
+
512
615
  /**
513
616
  * Request to re-solve a draft in place.
514
617
  */
@@ -766,6 +869,26 @@ export interface SchedulePolicy {
766
869
  */
767
870
  finish_lead_time_weeks: number;
768
871
 
872
+ /**
873
+ * Outstanding quantity the order book already owed for this item over the horizon.
874
+ */
875
+ firm_demand_units: number;
876
+
877
+ /**
878
+ * Quantity the forecast projected for the same window.
879
+ */
880
+ forecast_demand_units: number;
881
+
882
+ /**
883
+ * How this item was planned.
884
+ *
885
+ * - `make_to_stock`: built to the forecast, holding a safety stock against its
886
+ * variability.
887
+ * - `make_to_order`: built only against orders already on the book, holding no
888
+ * buffer, so its safety stocks and reorder point are all zero.
889
+ */
890
+ fulfillment_policy: 'make_to_stock' | 'make_to_order';
891
+
769
892
  /**
770
893
  * Annual cost of holding one unit.
771
894
  */
@@ -796,6 +919,12 @@ export interface SchedulePolicy {
796
919
  */
797
920
  order_up_to: number;
798
921
 
922
+ /**
923
+ * Which rule decided that policy: the item itself, its product line, or the
924
+ * account default.
925
+ */
926
+ policy_source: 'item' | 'product_line' | 'account_default';
927
+
799
928
  /**
800
929
  * Stock position at which a campaign is triggered.
801
930
  */
@@ -955,6 +1084,18 @@ export interface ActionRegenerateParams {
955
1084
  planning_as_of?: string;
956
1085
  }
957
1086
 
1087
+ export interface ActionQuotePromiseDateParams {
1088
+ /**
1089
+ * Item being quoted.
1090
+ */
1091
+ item_id: string;
1092
+
1093
+ /**
1094
+ * Quantity being quoted, in the item's own unit.
1095
+ */
1096
+ quantity: number;
1097
+ }
1098
+
958
1099
  export interface ActionReleaseWeekParams {
959
1100
  /**
960
1101
  * ID of the account user accountable for executing the run.
@@ -987,6 +1128,8 @@ export declare namespace Actions {
987
1128
  type PreviewRegenerateProductionScheduleRequest as PreviewRegenerateProductionScheduleRequest,
988
1129
  type ProductionSchedulePreview as ProductionSchedulePreview,
989
1130
  type ProductionScheduleRegeneratePreview as ProductionScheduleRegeneratePreview,
1131
+ type PromiseDateQuote as PromiseDateQuote,
1132
+ type QuotePromiseDateRequest as QuotePromiseDateRequest,
990
1133
  type RegenerateProductionScheduleRequest as RegenerateProductionScheduleRequest,
991
1134
  type ReleaseProductionScheduleWeekRequest as ReleaseProductionScheduleWeekRequest,
992
1135
  type ReleaseScheduleWeekResult as ReleaseScheduleWeekResult,
@@ -997,6 +1140,7 @@ export declare namespace Actions {
997
1140
  type ActionPreviewParams as ActionPreviewParams,
998
1141
  type ActionPreviewRegenerateParams as ActionPreviewRegenerateParams,
999
1142
  type ActionRegenerateParams as ActionRegenerateParams,
1143
+ type ActionQuotePromiseDateParams as ActionQuotePromiseDateParams,
1000
1144
  type ActionReleaseWeekParams as ActionReleaseWeekParams,
1001
1145
  };
1002
1146
  }
@@ -10,6 +10,8 @@ export {
10
10
  type PreviewRegenerateProductionScheduleRequest,
11
11
  type ProductionSchedulePreview,
12
12
  type ProductionScheduleRegeneratePreview,
13
+ type PromiseDateQuote,
14
+ type QuotePromiseDateRequest,
13
15
  type RegenerateProductionScheduleRequest,
14
16
  type ReleaseProductionScheduleWeekRequest,
15
17
  type ReleaseScheduleWeekResult,
@@ -20,6 +22,7 @@ export {
20
22
  type ActionPreviewParams,
21
23
  type ActionPreviewRegenerateParams,
22
24
  type ActionRegenerateParams,
25
+ type ActionQuotePromiseDateParams,
23
26
  type ActionReleaseWeekParams,
24
27
  } from './actions';
25
28
  export {
@@ -45,6 +48,9 @@ export {
45
48
  type ListReleaseScheduleBatch,
46
49
  type ListReleasedScheduleLine,
47
50
  type ListScheduleAppliedOverride,
51
+ type ListScheduleAtRiskOrder,
52
+ type ListScheduleOrderCoverage,
53
+ type ListScheduleOrderCoverageLine,
48
54
  type ProductionSchedule,
49
55
  type ProductionScheduleDerivedLine,
50
56
  type ProductionScheduleDeviation,
@@ -54,7 +60,10 @@ export {
54
60
  type ReleaseScheduleWeekPreview,
55
61
  type ReleasedScheduleLine,
56
62
  type ScheduleAppliedOverride,
63
+ type ScheduleAtRiskOrder,
57
64
  type ScheduleDiagnostics,
65
+ type ScheduleOrderCoverage,
66
+ type ScheduleOrderCoverageLine,
58
67
  type ProductionScheduleDeleteResponse,
59
68
  type ProductionScheduleListParams,
60
69
  type ProductionScheduleCreateParams,
@@ -8,6 +8,7 @@ import * as ActionsAPI from './actions';
8
8
  import {
9
9
  ActionPreviewParams,
10
10
  ActionPreviewRegenerateParams,
11
+ ActionQuotePromiseDateParams,
11
12
  ActionRegenerateParams,
12
13
  ActionReleaseWeekParams,
13
14
  Actions,
@@ -19,6 +20,8 @@ import {
19
20
  PreviewRegenerateProductionScheduleRequest,
20
21
  ProductionSchedulePreview,
21
22
  ProductionScheduleRegeneratePreview,
23
+ PromiseDateQuote,
24
+ QuotePromiseDateRequest,
22
25
  RegenerateProductionScheduleRequest,
23
26
  ReleaseProductionScheduleWeekRequest,
24
27
  ReleaseScheduleWeekResult,
@@ -228,6 +231,36 @@ export class ProductionSchedules extends APIResource {
228
231
  });
229
232
  }
230
233
 
234
+ /**
235
+ * Returns the customer commitments this schedule version does not meet, soonest
236
+ * first.
237
+ *
238
+ * Three ways an order lands here. `past_due` means the constraint stage needed to
239
+ * start before this plan begins. `undated` means the order carries no ship-by
240
+ * commitment at all, so it is treated as owed now. `short` means the plan simply
241
+ * does not build enough of it in time — the campaigns it does allocate are listed
242
+ * alongside, because building three hundred of five hundred is a different
243
+ * conversation from building none.
244
+ *
245
+ * Read from the version's own record rather than re-solved, so what comes back is
246
+ * what was decided when the plan was made. A version generated before commitments
247
+ * were tracked reports nothing, which is correct: it made no promises it could
248
+ * break.
249
+ *
250
+ * This endpoint requires the permission: `production_schedules:read`.
251
+ *
252
+ * @example
253
+ * ```ts
254
+ * const listScheduleOrderCoverage =
255
+ * await client.operations.productionSchedules.retrieveAtRiskOrders(
256
+ * 'pnsc_m4zt3z8g8src',
257
+ * );
258
+ * ```
259
+ */
260
+ retrieveAtRiskOrders(id: string, options?: RequestOptions): APIPromise<ListScheduleOrderCoverage> {
261
+ return this._client.get(path`/v1/operations/production-schedules/${id}/at-risk-orders`, options);
262
+ }
263
+
231
264
  /**
232
265
  * Returns the append-only log of hand changes made to a schedule, most recent
233
266
  * first.
@@ -570,6 +603,87 @@ export interface ListScheduleAppliedOverride {
570
603
  page_info: APIKeysAPI.PageInfo;
571
604
  }
572
605
 
606
+ /**
607
+ * A single page of resources, together with the metadata needed to page through
608
+ * the rest of the result set.
609
+ */
610
+ export interface ListScheduleAtRiskOrder {
611
+ /**
612
+ * Resources in this page.
613
+ */
614
+ data: Array<ScheduleAtRiskOrder>;
615
+
616
+ /**
617
+ * Resource type identifier.
618
+ */
619
+ object: 'list';
620
+
621
+ /**
622
+ * PageInfo describes where the current page sits within a paginated result set and
623
+ * how to move to the adjacent pages.
624
+ *
625
+ * Page a list by following the URLs below rather than assembling cursors yourself.
626
+ * For a top-level list endpoint the URL repeats the original request's query
627
+ * string with only the cursor swapped, so following it preserves the same filters,
628
+ * search term, and page size.
629
+ */
630
+ page_info: APIKeysAPI.PageInfo;
631
+ }
632
+
633
+ /**
634
+ * A single page of resources, together with the metadata needed to page through
635
+ * the rest of the result set.
636
+ */
637
+ export interface ListScheduleOrderCoverage {
638
+ /**
639
+ * Resources in this page.
640
+ */
641
+ data: Array<ScheduleOrderCoverage>;
642
+
643
+ /**
644
+ * Resource type identifier.
645
+ */
646
+ object: 'list';
647
+
648
+ /**
649
+ * PageInfo describes where the current page sits within a paginated result set and
650
+ * how to move to the adjacent pages.
651
+ *
652
+ * Page a list by following the URLs below rather than assembling cursors yourself.
653
+ * For a top-level list endpoint the URL repeats the original request's query
654
+ * string with only the cursor swapped, so following it preserves the same filters,
655
+ * search term, and page size.
656
+ */
657
+ page_info: APIKeysAPI.PageInfo;
658
+ }
659
+
660
+ /**
661
+ * A single page of resources, together with the metadata needed to page through
662
+ * the rest of the result set.
663
+ */
664
+ export interface ListScheduleOrderCoverageLine {
665
+ /**
666
+ * Resources in this page.
667
+ */
668
+ data: Array<ScheduleOrderCoverageLine>;
669
+
670
+ /**
671
+ * Resource type identifier.
672
+ */
673
+ object: 'list';
674
+
675
+ /**
676
+ * PageInfo describes where the current page sits within a paginated result set and
677
+ * how to move to the adjacent pages.
678
+ *
679
+ * Page a list by following the URLs below rather than assembling cursors yourself.
680
+ * For a top-level list endpoint the URL repeats the original request's query
681
+ * string with only the cursor swapped, so following it preserves the same filters,
682
+ * search term, and page size.
683
+ */
684
+ page_info: APIKeysAPI.PageInfo;
685
+ }
686
+
573
687
  /**
574
688
  * A saved production schedule.
575
689
  *
@@ -1140,6 +1254,26 @@ export interface ProductionScheduleItemPolicy {
1140
1254
  */
1141
1255
  finish_lead_time_weeks: number;
1142
1256
 
1257
+ /**
1258
+ * Outstanding quantity the order book already owed for this item over the horizon.
1259
+ */
1260
+ firm_demand_units: number;
1261
+
1262
+ /**
1263
+ * Quantity the forecast projected for the same window.
1264
+ */
1265
+ forecast_demand_units: number;
1266
+
1267
+ /**
1268
+ * How this item was planned.
1269
+ *
1270
+ * - `make_to_stock`: built to the forecast, holding a safety stock against its
1271
+ * variability.
1272
+ * - `make_to_order`: built only against orders already on the book, holding no
1273
+ * buffer, so its safety stocks and reorder point are all zero.
1274
+ */
1275
+ fulfillment_policy: 'make_to_stock' | 'make_to_order';
1276
+
1143
1277
  /**
1144
1278
  * Annual cost of holding one unit.
1145
1279
  */
@@ -1181,6 +1315,12 @@ export interface ProductionScheduleItemPolicy {
1181
1315
  */
1182
1316
  order_up_to: number;
1183
1317
 
1318
+ /**
1319
+ * Which rule decided that policy: the item itself, its product line, or the
1320
+ * account default.
1321
+ */
1322
+ policy_source: 'item' | 'product_line' | 'account_default';
1323
+
1184
1324
  /**
1185
1325
  * Entity is a polymorphic reference to any resource in the system.
1186
1326
  */
@@ -1479,6 +1619,53 @@ export interface ScheduleAppliedOverride {
1479
1619
  | null;
1480
1620
  }
1481
1621
 
1622
+ /**
1623
+ * An order commitment the plan does not meet.
1624
+ */
1625
+ export interface ScheduleAtRiskOrder {
1626
+ /**
1627
+ * Horizon week the constraint stage has to finish in for the order to ship on
1628
+ * time.
1629
+ */
1630
+ due_week: number;
1631
+
1632
+ /**
1633
+ * Entity is a polymorphic reference to any resource in the system.
1634
+ */
1635
+ item: CoreAPI.Entity | null;
1636
+
1637
+ /**
1638
+ * Resource type identifier.
1639
+ */
1640
+ object: 'schedule_at_risk_order';
1641
+
1642
+ /**
1643
+ * Why the commitment is at risk.
1644
+ *
1645
+ * - `past_due`: production needed to start before this plan begins.
1646
+ * - `undated`: the order carries no ship-by commitment, so it is treated as owed
1647
+ * now.
1648
+ * - `short`: the plan projects less stock than the order needs in the week it is
1649
+ * needed.
1650
+ */
1651
+ reason: 'past_due' | 'undated' | 'short';
1652
+
1653
+ /**
1654
+ * Entity is a polymorphic reference to any resource in the system.
1655
+ */
1656
+ sales_order: CoreAPI.Entity | null;
1657
+
1658
+ /**
1659
+ * SKU of that item.
1660
+ */
1661
+ sku: string;
1662
+
1663
+ /**
1664
+ * Outstanding quantity still owed.
1665
+ */
1666
+ units: number;
1667
+ }
1668
+
1482
1669
  /**
1483
1670
  * What the solver could not do, and why the plan differs from raw history.
1484
1671
  */
@@ -1489,6 +1676,12 @@ export interface ScheduleDiagnostics {
1489
1676
  */
1490
1677
  applied_overrides: ListScheduleAppliedOverride | null;
1491
1678
 
1679
+ /**
1680
+ * A single page of resources, together with the metadata needed to page through
1681
+ * the rest of the result set.
1682
+ */
1683
+ at_risk_orders: ListScheduleAtRiskOrder | null;
1684
+
1492
1685
  /**
1493
1686
  * Average inputs a product transition introduces, measured from history.
1494
1687
  */
@@ -1527,6 +1720,14 @@ export interface ScheduleDiagnostics {
1527
1720
  */
1528
1721
  excluded_item_count: number;
1529
1722
 
1723
+ /**
1724
+ * Outstanding order quantity this plan owes, expressed in the constraint item's
1725
+ * own unit.
1726
+ *
1727
+ * Zero means nothing is on order and the plan is driven purely by the forecast.
1728
+ */
1729
+ firm_demand_units: number;
1730
+
1530
1731
  /**
1531
1732
  * Items with no measured run rate, which cannot be scheduled because their machine
1532
1733
  * time is unknown.
@@ -1540,6 +1741,11 @@ export interface ScheduleDiagnostics {
1540
1741
  */
1541
1742
  machines_without_step: number;
1542
1743
 
1744
+ /**
1745
+ * Planned items built only against the order book rather than to a forecast.
1746
+ */
1747
+ make_to_order_item_count: number;
1748
+
1543
1749
  /**
1544
1750
  * Batches found on those machines in the demand window.
1545
1751
  *
@@ -1548,6 +1754,15 @@ export interface ScheduleDiagnostics {
1548
1754
  */
1549
1755
  measured_batch_count: number;
1550
1756
 
1757
+ /**
1758
+ * Open orders carrying no ship-by commitment, dated at the front of the horizon
1759
+ * because they are issued and unshipped.
1760
+ *
1761
+ * A non-zero count means orders placed before commitments were tracked still need
1762
+ * a ship-by date.
1763
+ */
1764
+ undated_firm_order_count: number;
1765
+
1551
1766
  /**
1552
1767
  * Items that cannot fit even a single lot into a machine-week and are therefore
1553
1768
  * never scheduled.
@@ -1555,6 +1770,92 @@ export interface ScheduleDiagnostics {
1555
1770
  unschedulable_skus: Array<string>;
1556
1771
  }
1557
1772
 
1773
+ /**
1774
+ * An order this schedule does not build in time, with the campaigns covering the
1775
+ * part it does.
1776
+ */
1777
+ export interface ScheduleOrderCoverage {
1778
+ /**
1779
+ * A single page of resources, together with the metadata needed to page through
1780
+ * the rest of the result set.
1781
+ */
1782
+ covering_lines: ListScheduleOrderCoverageLine | null;
1783
+
1784
+ /**
1785
+ * Horizon week the constraint stage has to finish in for the order to ship on
1786
+ * time.
1787
+ */
1788
+ due_week: number;
1789
+
1790
+ /**
1791
+ * Entity is a polymorphic reference to any resource in the system.
1792
+ */
1793
+ item: CoreAPI.Entity | null;
1794
+
1795
+ /**
1796
+ * Resource type identifier.
1797
+ */
1798
+ object: 'schedule_order_coverage';
1799
+
1800
+ /**
1801
+ * Why the commitment is at risk.
1802
+ */
1803
+ reason: 'past_due' | 'undated' | 'short';
1804
+
1805
+ /**
1806
+ * Entity is a polymorphic reference to any resource in the system.
1807
+ */
1808
+ sales_order: CoreAPI.Entity | null;
1809
+
1810
+ /**
1811
+ * The date this order is contractually due to ship.
1812
+ */
1813
+ ship_by_date: string | null;
1814
+
1815
+ /**
1816
+ * SKU of that item.
1817
+ */
1818
+ sku: string;
1819
+
1820
+ /**
1821
+ * Quantity the plan does not build in time.
1822
+ *
1823
+ * Less than the whole order when the plan builds part of it — a mostly-built order
1824
+ * is mostly built, and reporting the full quantity would read as a total miss.
1825
+ */
1826
+ units_at_risk: number;
1827
+ }
1828
+
1829
+ /**
1830
+ * One campaign earmarked for an order.
1831
+ */
1832
+ export interface ScheduleOrderCoverageLine {
1833
+ /**
1834
+ * Quantity of that campaign earmarked for this order.
1835
+ */
1836
+ allocated_quantity: number;
1837
+
1838
+ /**
1839
+ * Entity is a polymorphic reference to any resource in the system.
1840
+ */
1841
+ machine: CoreAPI.Entity | null;
1842
+
1843
+ /**
1844
+ * Resource type identifier.
1845
+ */
1846
+ object: 'schedule_order_coverage_line';
1847
+
1848
+ /**
1849
+ * Entity is a polymorphic reference to any resource in the system.
1850
+ */
1851
+ production_schedule_line: CoreAPI.Entity | null;
1852
+
1853
+ /**
1854
+ * Horizon week it runs in.
1855
+ */
1856
+ week_index: number;
1857
+ }
1858
+
1558
1859
  export interface ProductionScheduleDeleteResponse {}
1559
1860
 
1560
1861
  export interface ProductionScheduleListParams {
@@ -1693,6 +1994,9 @@ export declare namespace ProductionSchedules {
1693
1994
  type ListReleaseScheduleBatch as ListReleaseScheduleBatch,
1694
1995
  type ListReleasedScheduleLine as ListReleasedScheduleLine,
1695
1996
  type ListScheduleAppliedOverride as ListScheduleAppliedOverride,
1997
+ type ListScheduleAtRiskOrder as ListScheduleAtRiskOrder,
1998
+ type ListScheduleOrderCoverage as ListScheduleOrderCoverage,
1999
+ type ListScheduleOrderCoverageLine as ListScheduleOrderCoverageLine,
1696
2000
  type ProductionSchedule as ProductionSchedule,
1697
2001
  type ProductionScheduleDerivedLine as ProductionScheduleDerivedLine,
1698
2002
  type ProductionScheduleDeviation as ProductionScheduleDeviation,
@@ -1702,7 +2006,10 @@ export declare namespace ProductionSchedules {
1702
2006
  type ReleaseScheduleWeekPreview as ReleaseScheduleWeekPreview,
1703
2007
  type ReleasedScheduleLine as ReleasedScheduleLine,
1704
2008
  type ScheduleAppliedOverride as ScheduleAppliedOverride,
2009
+ type ScheduleAtRiskOrder as ScheduleAtRiskOrder,
1705
2010
  type ScheduleDiagnostics as ScheduleDiagnostics,
2011
+ type ScheduleOrderCoverage as ScheduleOrderCoverage,
2012
+ type ScheduleOrderCoverageLine as ScheduleOrderCoverageLine,
1706
2013
  type ProductionScheduleDeleteResponse as ProductionScheduleDeleteResponse,
1707
2014
  type ProductionScheduleListParams as ProductionScheduleListParams,
1708
2015
  type ProductionScheduleCreateParams as ProductionScheduleCreateParams,
@@ -1734,6 +2041,8 @@ export declare namespace ProductionSchedules {
1734
2041
  type PreviewRegenerateProductionScheduleRequest as PreviewRegenerateProductionScheduleRequest,
1735
2042
  type ProductionSchedulePreview as ProductionSchedulePreview,
1736
2043
  type ProductionScheduleRegeneratePreview as ProductionScheduleRegeneratePreview,
2044
+ type PromiseDateQuote as PromiseDateQuote,
2045
+ type QuotePromiseDateRequest as QuotePromiseDateRequest,
1737
2046
  type RegenerateProductionScheduleRequest as RegenerateProductionScheduleRequest,
1738
2047
  type ReleaseProductionScheduleWeekRequest as ReleaseProductionScheduleWeekRequest,
1739
2048
  type ReleaseScheduleWeekResult as ReleaseScheduleWeekResult,
@@ -1744,6 +2053,7 @@ export declare namespace ProductionSchedules {
1744
2053
  type ActionPreviewParams as ActionPreviewParams,
1745
2054
  type ActionPreviewRegenerateParams as ActionPreviewRegenerateParams,
1746
2055
  type ActionRegenerateParams as ActionRegenerateParams,
2056
+ type ActionQuotePromiseDateParams as ActionQuotePromiseDateParams,
1747
2057
  type ActionReleaseWeekParams as ActionReleaseWeekParams,
1748
2058
  };
1749
2059
  }
@@ -214,8 +214,10 @@ export interface UpdateScanningStationRequest {
214
214
  /**
215
215
  * Size of the labels printed at this station, given as width-by-height (for
216
216
  * example, `1x1`).
217
+ *
218
+ * Send `null` or an empty string to clear.
217
219
  */
218
- label_size?: '1x1' | '1x3' | '1x4' | '2x4';
220
+ label_size?: '1x1' | '1x3' | '1x4' | '2x4' | null;
219
221
 
220
222
  /**
221
223
  * Type of label printed at this station.
@@ -223,8 +225,10 @@ export interface UpdateScanningStationRequest {
223
225
  * - `tag`: a label attached to the physical product.
224
226
  * - `traveler`: a routing sheet that accompanies the batch through every
225
227
  * production step.
228
+ *
229
+ * Send `null` or an empty string to clear.
226
230
  */
227
- label_type?: 'tag' | 'traveler';
231
+ label_type?: 'tag' | 'traveler' | null;
228
232
 
229
233
  /**
230
234
  * Display name of the scanning station.
@@ -362,8 +366,10 @@ export interface ScanningStationUpdateParams {
362
366
  /**
363
367
  * Body param: Size of the labels printed at this station, given as width-by-height
364
368
  * (for example, `1x1`).
369
+ *
370
+ * Send `null` or an empty string to clear.
365
371
  */
366
- label_size?: '1x1' | '1x3' | '1x4' | '2x4';
372
+ label_size?: '1x1' | '1x3' | '1x4' | '2x4' | null;
367
373
 
368
374
  /**
369
375
  * Body param: Type of label printed at this station.
@@ -371,8 +377,10 @@ export interface ScanningStationUpdateParams {
371
377
  * - `tag`: a label attached to the physical product.
372
378
  * - `traveler`: a routing sheet that accompanies the batch through every
373
379
  * production step.
380
+ *
381
+ * Send `null` or an empty string to clear.
374
382
  */
375
- label_type?: 'tag' | 'traveler';
383
+ label_type?: 'tag' | 'traveler' | null;
376
384
 
377
385
  /**
378
386
  * Body param: Display name of the scanning station.
@@ -1,8 +1,8 @@
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';
5
4
  import * as APIKeysAPI from '../auth/api-keys/api-keys';
5
+ import * as ProductLinesAPI from '../catalog/product-lines/product-lines';
6
6
  import * as CustomersAPI from '../sales/customers/customers';
7
7
  import { APIPromise } from '../../core/api-promise';
8
8
  import { RequestOptions } from '../../internal/request-options';