@openmrp/sdk 0.19.3

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 (2253) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/LICENSE +201 -0
  3. package/README.md +385 -0
  4. package/api-promise.d.mts +2 -0
  5. package/api-promise.d.mts.map +1 -0
  6. package/api-promise.d.ts +2 -0
  7. package/api-promise.d.ts.map +1 -0
  8. package/api-promise.js +6 -0
  9. package/api-promise.js.map +1 -0
  10. package/api-promise.mjs +2 -0
  11. package/api-promise.mjs.map +1 -0
  12. package/client.d.mts +240 -0
  13. package/client.d.mts.map +1 -0
  14. package/client.d.ts +240 -0
  15. package/client.d.ts.map +1 -0
  16. package/client.js +527 -0
  17. package/client.js.map +1 -0
  18. package/client.mjs +523 -0
  19. package/client.mjs.map +1 -0
  20. package/core/api-promise.d.mts +46 -0
  21. package/core/api-promise.d.mts.map +1 -0
  22. package/core/api-promise.d.ts +46 -0
  23. package/core/api-promise.d.ts.map +1 -0
  24. package/core/api-promise.js +74 -0
  25. package/core/api-promise.js.map +1 -0
  26. package/core/api-promise.mjs +70 -0
  27. package/core/api-promise.mjs.map +1 -0
  28. package/core/error.d.mts +46 -0
  29. package/core/error.d.mts.map +1 -0
  30. package/core/error.d.ts +46 -0
  31. package/core/error.d.ts.map +1 -0
  32. package/core/error.js +113 -0
  33. package/core/error.js.map +1 -0
  34. package/core/error.mjs +97 -0
  35. package/core/error.mjs.map +1 -0
  36. package/core/resource.d.mts +6 -0
  37. package/core/resource.d.mts.map +1 -0
  38. package/core/resource.d.ts +6 -0
  39. package/core/resource.d.ts.map +1 -0
  40. package/core/resource.js +11 -0
  41. package/core/resource.js.map +1 -0
  42. package/core/resource.mjs +7 -0
  43. package/core/resource.mjs.map +1 -0
  44. package/core/uploads.d.mts +3 -0
  45. package/core/uploads.d.mts.map +1 -0
  46. package/core/uploads.d.ts +3 -0
  47. package/core/uploads.d.ts.map +1 -0
  48. package/core/uploads.js +6 -0
  49. package/core/uploads.js.map +1 -0
  50. package/core/uploads.mjs +2 -0
  51. package/core/uploads.mjs.map +1 -0
  52. package/error.d.mts +2 -0
  53. package/error.d.mts.map +1 -0
  54. package/error.d.ts +2 -0
  55. package/error.d.ts.map +1 -0
  56. package/error.js +6 -0
  57. package/error.js.map +1 -0
  58. package/error.mjs +2 -0
  59. package/error.mjs.map +1 -0
  60. package/index.d.mts +6 -0
  61. package/index.d.mts.map +1 -0
  62. package/index.d.ts +6 -0
  63. package/index.d.ts.map +1 -0
  64. package/index.js +30 -0
  65. package/index.js.map +1 -0
  66. package/index.mjs +7 -0
  67. package/index.mjs.map +1 -0
  68. package/internal/builtin-types.d.mts +73 -0
  69. package/internal/builtin-types.d.mts.map +1 -0
  70. package/internal/builtin-types.d.ts +73 -0
  71. package/internal/builtin-types.d.ts.map +1 -0
  72. package/internal/builtin-types.js +4 -0
  73. package/internal/builtin-types.js.map +1 -0
  74. package/internal/builtin-types.mjs +3 -0
  75. package/internal/builtin-types.mjs.map +1 -0
  76. package/internal/errors.d.mts +3 -0
  77. package/internal/errors.d.mts.map +1 -0
  78. package/internal/errors.d.ts +3 -0
  79. package/internal/errors.d.ts.map +1 -0
  80. package/internal/errors.js +41 -0
  81. package/internal/errors.js.map +1 -0
  82. package/internal/errors.mjs +36 -0
  83. package/internal/errors.mjs.map +1 -0
  84. package/internal/headers.d.mts +20 -0
  85. package/internal/headers.d.mts.map +1 -0
  86. package/internal/headers.d.ts +20 -0
  87. package/internal/headers.d.ts.map +1 -0
  88. package/internal/headers.js +79 -0
  89. package/internal/headers.js.map +1 -0
  90. package/internal/headers.mjs +74 -0
  91. package/internal/headers.mjs.map +1 -0
  92. package/internal/parse.d.mts +12 -0
  93. package/internal/parse.d.mts.map +1 -0
  94. package/internal/parse.d.ts +12 -0
  95. package/internal/parse.d.ts.map +1 -0
  96. package/internal/parse.js +40 -0
  97. package/internal/parse.js.map +1 -0
  98. package/internal/parse.mjs +37 -0
  99. package/internal/parse.mjs.map +1 -0
  100. package/internal/qs/formats.d.mts +7 -0
  101. package/internal/qs/formats.d.mts.map +1 -0
  102. package/internal/qs/formats.d.ts +7 -0
  103. package/internal/qs/formats.d.ts.map +1 -0
  104. package/internal/qs/formats.js +13 -0
  105. package/internal/qs/formats.js.map +1 -0
  106. package/internal/qs/formats.mjs +9 -0
  107. package/internal/qs/formats.mjs.map +1 -0
  108. package/internal/qs/index.d.mts +10 -0
  109. package/internal/qs/index.d.mts.map +1 -0
  110. package/internal/qs/index.d.ts +10 -0
  111. package/internal/qs/index.d.ts.map +1 -0
  112. package/internal/qs/index.js +14 -0
  113. package/internal/qs/index.js.map +1 -0
  114. package/internal/qs/index.mjs +10 -0
  115. package/internal/qs/index.mjs.map +1 -0
  116. package/internal/qs/stringify.d.mts +3 -0
  117. package/internal/qs/stringify.d.mts.map +1 -0
  118. package/internal/qs/stringify.d.ts +3 -0
  119. package/internal/qs/stringify.d.ts.map +1 -0
  120. package/internal/qs/stringify.js +277 -0
  121. package/internal/qs/stringify.js.map +1 -0
  122. package/internal/qs/stringify.mjs +274 -0
  123. package/internal/qs/stringify.mjs.map +1 -0
  124. package/internal/qs/types.d.mts +57 -0
  125. package/internal/qs/types.d.mts.map +1 -0
  126. package/internal/qs/types.d.ts +57 -0
  127. package/internal/qs/types.d.ts.map +1 -0
  128. package/internal/qs/types.js +3 -0
  129. package/internal/qs/types.js.map +1 -0
  130. package/internal/qs/types.mjs +2 -0
  131. package/internal/qs/types.mjs.map +1 -0
  132. package/internal/qs/utils.d.mts +15 -0
  133. package/internal/qs/utils.d.mts.map +1 -0
  134. package/internal/qs/utils.d.ts +15 -0
  135. package/internal/qs/utils.d.ts.map +1 -0
  136. package/internal/qs/utils.js +230 -0
  137. package/internal/qs/utils.js.map +1 -0
  138. package/internal/qs/utils.mjs +217 -0
  139. package/internal/qs/utils.mjs.map +1 -0
  140. package/internal/request-options.d.mts +75 -0
  141. package/internal/request-options.d.mts.map +1 -0
  142. package/internal/request-options.d.ts +75 -0
  143. package/internal/request-options.d.ts.map +1 -0
  144. package/internal/request-options.js +14 -0
  145. package/internal/request-options.js.map +1 -0
  146. package/internal/request-options.mjs +10 -0
  147. package/internal/request-options.mjs.map +1 -0
  148. package/internal/shim-types.d.mts +17 -0
  149. package/internal/shim-types.d.mts.map +1 -0
  150. package/internal/shim-types.d.ts +17 -0
  151. package/internal/shim-types.d.ts.map +1 -0
  152. package/internal/shim-types.js +4 -0
  153. package/internal/shim-types.js.map +1 -0
  154. package/internal/shim-types.mjs +3 -0
  155. package/internal/shim-types.mjs.map +1 -0
  156. package/internal/shims.d.mts +20 -0
  157. package/internal/shims.d.mts.map +1 -0
  158. package/internal/shims.d.ts +20 -0
  159. package/internal/shims.d.ts.map +1 -0
  160. package/internal/shims.js +92 -0
  161. package/internal/shims.js.map +1 -0
  162. package/internal/shims.mjs +85 -0
  163. package/internal/shims.mjs.map +1 -0
  164. package/internal/to-file.d.mts +45 -0
  165. package/internal/to-file.d.mts.map +1 -0
  166. package/internal/to-file.d.ts +45 -0
  167. package/internal/to-file.d.ts.map +1 -0
  168. package/internal/to-file.js +91 -0
  169. package/internal/to-file.js.map +1 -0
  170. package/internal/to-file.mjs +88 -0
  171. package/internal/to-file.mjs.map +1 -0
  172. package/internal/tslib.js +81 -0
  173. package/internal/tslib.mjs +17 -0
  174. package/internal/types.d.mts +69 -0
  175. package/internal/types.d.mts.map +1 -0
  176. package/internal/types.d.ts +69 -0
  177. package/internal/types.d.ts.map +1 -0
  178. package/internal/types.js +4 -0
  179. package/internal/types.js.map +1 -0
  180. package/internal/types.mjs +3 -0
  181. package/internal/types.mjs.map +1 -0
  182. package/internal/uploads.d.mts +42 -0
  183. package/internal/uploads.d.mts.map +1 -0
  184. package/internal/uploads.d.ts +42 -0
  185. package/internal/uploads.d.ts.map +1 -0
  186. package/internal/uploads.js +141 -0
  187. package/internal/uploads.js.map +1 -0
  188. package/internal/uploads.mjs +131 -0
  189. package/internal/uploads.mjs.map +1 -0
  190. package/internal/utils/base64.d.mts +3 -0
  191. package/internal/utils/base64.d.mts.map +1 -0
  192. package/internal/utils/base64.d.ts +3 -0
  193. package/internal/utils/base64.d.ts.map +1 -0
  194. package/internal/utils/base64.js +38 -0
  195. package/internal/utils/base64.js.map +1 -0
  196. package/internal/utils/base64.mjs +33 -0
  197. package/internal/utils/base64.mjs.map +1 -0
  198. package/internal/utils/bytes.d.mts +4 -0
  199. package/internal/utils/bytes.d.mts.map +1 -0
  200. package/internal/utils/bytes.d.ts +4 -0
  201. package/internal/utils/bytes.d.ts.map +1 -0
  202. package/internal/utils/bytes.js +31 -0
  203. package/internal/utils/bytes.js.map +1 -0
  204. package/internal/utils/bytes.mjs +26 -0
  205. package/internal/utils/bytes.mjs.map +1 -0
  206. package/internal/utils/env.d.mts +9 -0
  207. package/internal/utils/env.d.mts.map +1 -0
  208. package/internal/utils/env.d.ts +9 -0
  209. package/internal/utils/env.d.ts.map +1 -0
  210. package/internal/utils/env.js +22 -0
  211. package/internal/utils/env.js.map +1 -0
  212. package/internal/utils/env.mjs +18 -0
  213. package/internal/utils/env.mjs.map +1 -0
  214. package/internal/utils/log.d.mts +37 -0
  215. package/internal/utils/log.d.mts.map +1 -0
  216. package/internal/utils/log.d.ts +37 -0
  217. package/internal/utils/log.d.ts.map +1 -0
  218. package/internal/utils/log.js +87 -0
  219. package/internal/utils/log.js.map +1 -0
  220. package/internal/utils/log.mjs +81 -0
  221. package/internal/utils/log.mjs.map +1 -0
  222. package/internal/utils/path.d.mts +15 -0
  223. package/internal/utils/path.d.mts.map +1 -0
  224. package/internal/utils/path.d.ts +15 -0
  225. package/internal/utils/path.d.ts.map +1 -0
  226. package/internal/utils/path.js +79 -0
  227. package/internal/utils/path.js.map +1 -0
  228. package/internal/utils/path.mjs +74 -0
  229. package/internal/utils/path.mjs.map +1 -0
  230. package/internal/utils/query.d.mts +2 -0
  231. package/internal/utils/query.d.mts.map +1 -0
  232. package/internal/utils/query.d.ts +2 -0
  233. package/internal/utils/query.d.ts.map +1 -0
  234. package/internal/utils/query.js +10 -0
  235. package/internal/utils/query.js.map +1 -0
  236. package/internal/utils/query.mjs +6 -0
  237. package/internal/utils/query.mjs.map +1 -0
  238. package/internal/utils/sleep.d.mts +2 -0
  239. package/internal/utils/sleep.d.mts.map +1 -0
  240. package/internal/utils/sleep.d.ts +2 -0
  241. package/internal/utils/sleep.d.ts.map +1 -0
  242. package/internal/utils/sleep.js +7 -0
  243. package/internal/utils/sleep.js.map +1 -0
  244. package/internal/utils/sleep.mjs +3 -0
  245. package/internal/utils/sleep.mjs.map +1 -0
  246. package/internal/utils/uuid.d.mts +5 -0
  247. package/internal/utils/uuid.d.mts.map +1 -0
  248. package/internal/utils/uuid.d.ts +5 -0
  249. package/internal/utils/uuid.d.ts.map +1 -0
  250. package/internal/utils/uuid.js +19 -0
  251. package/internal/utils/uuid.js.map +1 -0
  252. package/internal/utils/uuid.mjs +15 -0
  253. package/internal/utils/uuid.mjs.map +1 -0
  254. package/internal/utils/values.d.mts +18 -0
  255. package/internal/utils/values.d.mts.map +1 -0
  256. package/internal/utils/values.d.ts +18 -0
  257. package/internal/utils/values.d.ts.map +1 -0
  258. package/internal/utils/values.js +112 -0
  259. package/internal/utils/values.js.map +1 -0
  260. package/internal/utils/values.mjs +94 -0
  261. package/internal/utils/values.mjs.map +1 -0
  262. package/internal/utils.d.mts +8 -0
  263. package/internal/utils.d.mts.map +1 -0
  264. package/internal/utils.d.ts +8 -0
  265. package/internal/utils.d.ts.map +1 -0
  266. package/internal/utils.js +12 -0
  267. package/internal/utils.js.map +1 -0
  268. package/internal/utils.mjs +9 -0
  269. package/internal/utils.mjs.map +1 -0
  270. package/package.json +149 -0
  271. package/resource.d.mts +2 -0
  272. package/resource.d.mts.map +1 -0
  273. package/resource.d.ts +2 -0
  274. package/resource.d.ts.map +1 -0
  275. package/resource.js +6 -0
  276. package/resource.js.map +1 -0
  277. package/resource.mjs +2 -0
  278. package/resource.mjs.map +1 -0
  279. package/resources/ai/agents.d.mts +831 -0
  280. package/resources/ai/agents.d.mts.map +1 -0
  281. package/resources/ai/agents.d.ts +831 -0
  282. package/resources/ai/agents.d.ts.map +1 -0
  283. package/resources/ai/agents.js +151 -0
  284. package/resources/ai/agents.js.map +1 -0
  285. package/resources/ai/agents.mjs +147 -0
  286. package/resources/ai/agents.mjs.map +1 -0
  287. package/resources/ai/ai.d.mts +256 -0
  288. package/resources/ai/ai.d.mts.map +1 -0
  289. package/resources/ai/ai.d.ts +256 -0
  290. package/resources/ai/ai.d.ts.map +1 -0
  291. package/resources/ai/ai.js +64 -0
  292. package/resources/ai/ai.js.map +1 -0
  293. package/resources/ai/ai.mjs +59 -0
  294. package/resources/ai/ai.mjs.map +1 -0
  295. package/resources/ai/index.d.mts +5 -0
  296. package/resources/ai/index.d.mts.map +1 -0
  297. package/resources/ai/index.d.ts +5 -0
  298. package/resources/ai/index.d.ts.map +1 -0
  299. package/resources/ai/index.js +13 -0
  300. package/resources/ai/index.js.map +1 -0
  301. package/resources/ai/index.mjs +6 -0
  302. package/resources/ai/index.mjs.map +1 -0
  303. package/resources/ai/memories.d.mts +437 -0
  304. package/resources/ai/memories.d.mts.map +1 -0
  305. package/resources/ai/memories.d.ts +437 -0
  306. package/resources/ai/memories.d.ts.map +1 -0
  307. package/resources/ai/memories.js +109 -0
  308. package/resources/ai/memories.js.map +1 -0
  309. package/resources/ai/memories.mjs +105 -0
  310. package/resources/ai/memories.mjs.map +1 -0
  311. package/resources/ai/runs/actions.d.mts +182 -0
  312. package/resources/ai/runs/actions.d.mts.map +1 -0
  313. package/resources/ai/runs/actions.d.ts +182 -0
  314. package/resources/ai/runs/actions.d.ts.map +1 -0
  315. package/resources/ai/runs/actions.js +89 -0
  316. package/resources/ai/runs/actions.js.map +1 -0
  317. package/resources/ai/runs/actions.mjs +85 -0
  318. package/resources/ai/runs/actions.mjs.map +1 -0
  319. package/resources/ai/runs/index.d.mts +3 -0
  320. package/resources/ai/runs/index.d.mts.map +1 -0
  321. package/resources/ai/runs/index.d.ts +3 -0
  322. package/resources/ai/runs/index.d.ts.map +1 -0
  323. package/resources/ai/runs/index.js +9 -0
  324. package/resources/ai/runs/index.js.map +1 -0
  325. package/resources/ai/runs/index.mjs +4 -0
  326. package/resources/ai/runs/index.mjs.map +1 -0
  327. package/resources/ai/runs/runs.d.mts +483 -0
  328. package/resources/ai/runs/runs.d.mts.map +1 -0
  329. package/resources/ai/runs/runs.d.ts +483 -0
  330. package/resources/ai/runs/runs.d.ts.map +1 -0
  331. package/resources/ai/runs/runs.js +78 -0
  332. package/resources/ai/runs/runs.js.map +1 -0
  333. package/resources/ai/runs/runs.mjs +73 -0
  334. package/resources/ai/runs/runs.mjs.map +1 -0
  335. package/resources/ai/runs.d.mts +2 -0
  336. package/resources/ai/runs.d.mts.map +1 -0
  337. package/resources/ai/runs.d.ts +2 -0
  338. package/resources/ai/runs.d.ts.map +1 -0
  339. package/resources/ai/runs.js +6 -0
  340. package/resources/ai/runs.js.map +1 -0
  341. package/resources/ai/runs.mjs +3 -0
  342. package/resources/ai/runs.mjs.map +1 -0
  343. package/resources/ai.d.mts +2 -0
  344. package/resources/ai.d.mts.map +1 -0
  345. package/resources/ai.d.ts +2 -0
  346. package/resources/ai.d.ts.map +1 -0
  347. package/resources/ai.js +6 -0
  348. package/resources/ai.js.map +1 -0
  349. package/resources/ai.mjs +3 -0
  350. package/resources/ai.mjs.map +1 -0
  351. package/resources/auth/api-keys/actions.d.mts +83 -0
  352. package/resources/auth/api-keys/actions.d.mts.map +1 -0
  353. package/resources/auth/api-keys/actions.d.ts +83 -0
  354. package/resources/auth/api-keys/actions.d.ts.map +1 -0
  355. package/resources/auth/api-keys/actions.js +50 -0
  356. package/resources/auth/api-keys/actions.js.map +1 -0
  357. package/resources/auth/api-keys/actions.mjs +46 -0
  358. package/resources/auth/api-keys/actions.mjs.map +1 -0
  359. package/resources/auth/api-keys/api-keys.d.mts +642 -0
  360. package/resources/auth/api-keys/api-keys.d.mts.map +1 -0
  361. package/resources/auth/api-keys/api-keys.d.ts +642 -0
  362. package/resources/auth/api-keys/api-keys.d.ts.map +1 -0
  363. package/resources/auth/api-keys/api-keys.js +105 -0
  364. package/resources/auth/api-keys/api-keys.js.map +1 -0
  365. package/resources/auth/api-keys/api-keys.mjs +100 -0
  366. package/resources/auth/api-keys/api-keys.mjs.map +1 -0
  367. package/resources/auth/api-keys/index.d.mts +3 -0
  368. package/resources/auth/api-keys/index.d.mts.map +1 -0
  369. package/resources/auth/api-keys/index.d.ts +3 -0
  370. package/resources/auth/api-keys/index.d.ts.map +1 -0
  371. package/resources/auth/api-keys/index.js +9 -0
  372. package/resources/auth/api-keys/index.js.map +1 -0
  373. package/resources/auth/api-keys/index.mjs +4 -0
  374. package/resources/auth/api-keys/index.mjs.map +1 -0
  375. package/resources/auth/api-keys.d.mts +2 -0
  376. package/resources/auth/api-keys.d.mts.map +1 -0
  377. package/resources/auth/api-keys.d.ts +2 -0
  378. package/resources/auth/api-keys.d.ts.map +1 -0
  379. package/resources/auth/api-keys.js +6 -0
  380. package/resources/auth/api-keys.js.map +1 -0
  381. package/resources/auth/api-keys.mjs +3 -0
  382. package/resources/auth/api-keys.mjs.map +1 -0
  383. package/resources/auth/auth.d.mts +10 -0
  384. package/resources/auth/auth.d.mts.map +1 -0
  385. package/resources/auth/auth.d.ts +10 -0
  386. package/resources/auth/auth.d.ts.map +1 -0
  387. package/resources/auth/auth.js +17 -0
  388. package/resources/auth/auth.js.map +1 -0
  389. package/resources/auth/auth.mjs +12 -0
  390. package/resources/auth/auth.mjs.map +1 -0
  391. package/resources/auth/index.d.mts +3 -0
  392. package/resources/auth/index.d.mts.map +1 -0
  393. package/resources/auth/index.d.ts +3 -0
  394. package/resources/auth/index.d.ts.map +1 -0
  395. package/resources/auth/index.js +9 -0
  396. package/resources/auth/index.js.map +1 -0
  397. package/resources/auth/index.mjs +4 -0
  398. package/resources/auth/index.mjs.map +1 -0
  399. package/resources/auth.d.mts +2 -0
  400. package/resources/auth.d.mts.map +1 -0
  401. package/resources/auth.d.ts +2 -0
  402. package/resources/auth.d.ts.map +1 -0
  403. package/resources/auth.js +6 -0
  404. package/resources/auth.js.map +1 -0
  405. package/resources/auth.mjs +3 -0
  406. package/resources/auth.mjs.map +1 -0
  407. package/resources/catalog/catalog.d.mts +42 -0
  408. package/resources/catalog/catalog.d.mts.map +1 -0
  409. package/resources/catalog/catalog.d.ts +42 -0
  410. package/resources/catalog/catalog.d.ts.map +1 -0
  411. package/resources/catalog/catalog.js +49 -0
  412. package/resources/catalog/catalog.js.map +1 -0
  413. package/resources/catalog/catalog.mjs +44 -0
  414. package/resources/catalog/catalog.mjs.map +1 -0
  415. package/resources/catalog/index.d.mts +11 -0
  416. package/resources/catalog/index.d.mts.map +1 -0
  417. package/resources/catalog/index.d.ts +11 -0
  418. package/resources/catalog/index.d.ts.map +1 -0
  419. package/resources/catalog/index.js +25 -0
  420. package/resources/catalog/index.js.map +1 -0
  421. package/resources/catalog/index.mjs +12 -0
  422. package/resources/catalog/index.mjs.map +1 -0
  423. package/resources/catalog/item-categories/actions.d.mts +99 -0
  424. package/resources/catalog/item-categories/actions.d.mts.map +1 -0
  425. package/resources/catalog/item-categories/actions.d.ts +99 -0
  426. package/resources/catalog/item-categories/actions.d.ts.map +1 -0
  427. package/resources/catalog/item-categories/actions.js +40 -0
  428. package/resources/catalog/item-categories/actions.js.map +1 -0
  429. package/resources/catalog/item-categories/actions.mjs +36 -0
  430. package/resources/catalog/item-categories/actions.mjs.map +1 -0
  431. package/resources/catalog/item-categories/index.d.mts +4 -0
  432. package/resources/catalog/item-categories/index.d.mts.map +1 -0
  433. package/resources/catalog/item-categories/index.d.ts +4 -0
  434. package/resources/catalog/item-categories/index.d.ts.map +1 -0
  435. package/resources/catalog/item-categories/index.js +11 -0
  436. package/resources/catalog/item-categories/index.js.map +1 -0
  437. package/resources/catalog/item-categories/index.mjs +5 -0
  438. package/resources/catalog/item-categories/index.mjs.map +1 -0
  439. package/resources/catalog/item-categories/item-categories.d.mts +291 -0
  440. package/resources/catalog/item-categories/item-categories.d.mts.map +1 -0
  441. package/resources/catalog/item-categories/item-categories.d.ts +291 -0
  442. package/resources/catalog/item-categories/item-categories.d.ts.map +1 -0
  443. package/resources/catalog/item-categories/item-categories.js +155 -0
  444. package/resources/catalog/item-categories/item-categories.js.map +1 -0
  445. package/resources/catalog/item-categories/item-categories.mjs +150 -0
  446. package/resources/catalog/item-categories/item-categories.mjs.map +1 -0
  447. package/resources/catalog/item-categories/properties.d.mts +67 -0
  448. package/resources/catalog/item-categories/properties.d.mts.map +1 -0
  449. package/resources/catalog/item-categories/properties.d.ts +67 -0
  450. package/resources/catalog/item-categories/properties.d.ts.map +1 -0
  451. package/resources/catalog/item-categories/properties.js +58 -0
  452. package/resources/catalog/item-categories/properties.js.map +1 -0
  453. package/resources/catalog/item-categories/properties.mjs +54 -0
  454. package/resources/catalog/item-categories/properties.mjs.map +1 -0
  455. package/resources/catalog/item-categories.d.mts +2 -0
  456. package/resources/catalog/item-categories.d.mts.map +1 -0
  457. package/resources/catalog/item-categories.d.ts +2 -0
  458. package/resources/catalog/item-categories.d.ts.map +1 -0
  459. package/resources/catalog/item-categories.js +6 -0
  460. package/resources/catalog/item-categories.js.map +1 -0
  461. package/resources/catalog/item-categories.mjs +3 -0
  462. package/resources/catalog/item-categories.mjs.map +1 -0
  463. package/resources/catalog/items/actions.d.mts +249 -0
  464. package/resources/catalog/items/actions.d.mts.map +1 -0
  465. package/resources/catalog/items/actions.d.ts +249 -0
  466. package/resources/catalog/items/actions.d.ts.map +1 -0
  467. package/resources/catalog/items/actions.js +46 -0
  468. package/resources/catalog/items/actions.js.map +1 -0
  469. package/resources/catalog/items/actions.mjs +42 -0
  470. package/resources/catalog/items/actions.mjs.map +1 -0
  471. package/resources/catalog/items/attributes.d.mts +73 -0
  472. package/resources/catalog/items/attributes.d.mts.map +1 -0
  473. package/resources/catalog/items/attributes.d.ts +73 -0
  474. package/resources/catalog/items/attributes.d.ts.map +1 -0
  475. package/resources/catalog/items/attributes.js +63 -0
  476. package/resources/catalog/items/attributes.js.map +1 -0
  477. package/resources/catalog/items/attributes.mjs +59 -0
  478. package/resources/catalog/items/attributes.mjs.map +1 -0
  479. package/resources/catalog/items/index.d.mts +5 -0
  480. package/resources/catalog/items/index.d.mts.map +1 -0
  481. package/resources/catalog/items/index.d.ts +5 -0
  482. package/resources/catalog/items/index.d.ts.map +1 -0
  483. package/resources/catalog/items/index.js +13 -0
  484. package/resources/catalog/items/index.js.map +1 -0
  485. package/resources/catalog/items/index.mjs +6 -0
  486. package/resources/catalog/items/index.mjs.map +1 -0
  487. package/resources/catalog/items/inventory.d.mts +247 -0
  488. package/resources/catalog/items/inventory.d.mts.map +1 -0
  489. package/resources/catalog/items/inventory.d.ts +247 -0
  490. package/resources/catalog/items/inventory.d.ts.map +1 -0
  491. package/resources/catalog/items/inventory.js +75 -0
  492. package/resources/catalog/items/inventory.js.map +1 -0
  493. package/resources/catalog/items/inventory.mjs +71 -0
  494. package/resources/catalog/items/inventory.mjs.map +1 -0
  495. package/resources/catalog/items/items.d.mts +438 -0
  496. package/resources/catalog/items/items.d.mts.map +1 -0
  497. package/resources/catalog/items/items.d.ts +438 -0
  498. package/resources/catalog/items/items.d.ts.map +1 -0
  499. package/resources/catalog/items/items.js +119 -0
  500. package/resources/catalog/items/items.js.map +1 -0
  501. package/resources/catalog/items/items.mjs +114 -0
  502. package/resources/catalog/items/items.mjs.map +1 -0
  503. package/resources/catalog/items.d.mts +2 -0
  504. package/resources/catalog/items.d.mts.map +1 -0
  505. package/resources/catalog/items.d.ts +2 -0
  506. package/resources/catalog/items.d.ts.map +1 -0
  507. package/resources/catalog/items.js +6 -0
  508. package/resources/catalog/items.js.map +1 -0
  509. package/resources/catalog/items.mjs +3 -0
  510. package/resources/catalog/items.mjs.map +1 -0
  511. package/resources/catalog/materials/actions.d.mts +123 -0
  512. package/resources/catalog/materials/actions.d.mts.map +1 -0
  513. package/resources/catalog/materials/actions.d.ts +123 -0
  514. package/resources/catalog/materials/actions.d.ts.map +1 -0
  515. package/resources/catalog/materials/actions.js +38 -0
  516. package/resources/catalog/materials/actions.js.map +1 -0
  517. package/resources/catalog/materials/actions.mjs +34 -0
  518. package/resources/catalog/materials/actions.mjs.map +1 -0
  519. package/resources/catalog/materials/index.d.mts +3 -0
  520. package/resources/catalog/materials/index.d.mts.map +1 -0
  521. package/resources/catalog/materials/index.d.ts +3 -0
  522. package/resources/catalog/materials/index.d.ts.map +1 -0
  523. package/resources/catalog/materials/index.js +9 -0
  524. package/resources/catalog/materials/index.js.map +1 -0
  525. package/resources/catalog/materials/index.mjs +4 -0
  526. package/resources/catalog/materials/index.mjs.map +1 -0
  527. package/resources/catalog/materials/materials.d.mts +522 -0
  528. package/resources/catalog/materials/materials.d.mts.map +1 -0
  529. package/resources/catalog/materials/materials.d.ts +522 -0
  530. package/resources/catalog/materials/materials.d.ts.map +1 -0
  531. package/resources/catalog/materials/materials.js +159 -0
  532. package/resources/catalog/materials/materials.js.map +1 -0
  533. package/resources/catalog/materials/materials.mjs +154 -0
  534. package/resources/catalog/materials/materials.mjs.map +1 -0
  535. package/resources/catalog/materials.d.mts +2 -0
  536. package/resources/catalog/materials.d.mts.map +1 -0
  537. package/resources/catalog/materials.d.ts +2 -0
  538. package/resources/catalog/materials.d.ts.map +1 -0
  539. package/resources/catalog/materials.js +6 -0
  540. package/resources/catalog/materials.js.map +1 -0
  541. package/resources/catalog/materials.mjs +3 -0
  542. package/resources/catalog/materials.mjs.map +1 -0
  543. package/resources/catalog/parts/actions.d.mts +113 -0
  544. package/resources/catalog/parts/actions.d.mts.map +1 -0
  545. package/resources/catalog/parts/actions.d.ts +113 -0
  546. package/resources/catalog/parts/actions.d.ts.map +1 -0
  547. package/resources/catalog/parts/actions.js +37 -0
  548. package/resources/catalog/parts/actions.js.map +1 -0
  549. package/resources/catalog/parts/actions.mjs +33 -0
  550. package/resources/catalog/parts/actions.mjs.map +1 -0
  551. package/resources/catalog/parts/index.d.mts +3 -0
  552. package/resources/catalog/parts/index.d.mts.map +1 -0
  553. package/resources/catalog/parts/index.d.ts +3 -0
  554. package/resources/catalog/parts/index.d.ts.map +1 -0
  555. package/resources/catalog/parts/index.js +9 -0
  556. package/resources/catalog/parts/index.js.map +1 -0
  557. package/resources/catalog/parts/index.mjs +4 -0
  558. package/resources/catalog/parts/index.mjs.map +1 -0
  559. package/resources/catalog/parts/parts.d.mts +368 -0
  560. package/resources/catalog/parts/parts.d.mts.map +1 -0
  561. package/resources/catalog/parts/parts.d.ts +368 -0
  562. package/resources/catalog/parts/parts.d.ts.map +1 -0
  563. package/resources/catalog/parts/parts.js +138 -0
  564. package/resources/catalog/parts/parts.js.map +1 -0
  565. package/resources/catalog/parts/parts.mjs +133 -0
  566. package/resources/catalog/parts/parts.mjs.map +1 -0
  567. package/resources/catalog/parts.d.mts +2 -0
  568. package/resources/catalog/parts.d.mts.map +1 -0
  569. package/resources/catalog/parts.d.ts +2 -0
  570. package/resources/catalog/parts.d.ts.map +1 -0
  571. package/resources/catalog/parts.js +6 -0
  572. package/resources/catalog/parts.js.map +1 -0
  573. package/resources/catalog/parts.mjs +3 -0
  574. package/resources/catalog/parts.mjs.map +1 -0
  575. package/resources/catalog/product-lines/actions.d.mts +88 -0
  576. package/resources/catalog/product-lines/actions.d.mts.map +1 -0
  577. package/resources/catalog/product-lines/actions.d.ts +88 -0
  578. package/resources/catalog/product-lines/actions.d.ts.map +1 -0
  579. package/resources/catalog/product-lines/actions.js +39 -0
  580. package/resources/catalog/product-lines/actions.js.map +1 -0
  581. package/resources/catalog/product-lines/actions.mjs +35 -0
  582. package/resources/catalog/product-lines/actions.mjs.map +1 -0
  583. package/resources/catalog/product-lines/index.d.mts +3 -0
  584. package/resources/catalog/product-lines/index.d.mts.map +1 -0
  585. package/resources/catalog/product-lines/index.d.ts +3 -0
  586. package/resources/catalog/product-lines/index.d.ts.map +1 -0
  587. package/resources/catalog/product-lines/index.js +9 -0
  588. package/resources/catalog/product-lines/index.js.map +1 -0
  589. package/resources/catalog/product-lines/index.mjs +4 -0
  590. package/resources/catalog/product-lines/index.mjs.map +1 -0
  591. package/resources/catalog/product-lines/product-lines.d.mts +486 -0
  592. package/resources/catalog/product-lines/product-lines.d.mts.map +1 -0
  593. package/resources/catalog/product-lines/product-lines.d.ts +486 -0
  594. package/resources/catalog/product-lines/product-lines.d.ts.map +1 -0
  595. package/resources/catalog/product-lines/product-lines.js +136 -0
  596. package/resources/catalog/product-lines/product-lines.js.map +1 -0
  597. package/resources/catalog/product-lines/product-lines.mjs +131 -0
  598. package/resources/catalog/product-lines/product-lines.mjs.map +1 -0
  599. package/resources/catalog/product-lines.d.mts +2 -0
  600. package/resources/catalog/product-lines.d.mts.map +1 -0
  601. package/resources/catalog/product-lines.d.ts +2 -0
  602. package/resources/catalog/product-lines.d.ts.map +1 -0
  603. package/resources/catalog/product-lines.js +6 -0
  604. package/resources/catalog/product-lines.js.map +1 -0
  605. package/resources/catalog/product-lines.mjs +3 -0
  606. package/resources/catalog/product-lines.mjs.map +1 -0
  607. package/resources/catalog/products/actions.d.mts +129 -0
  608. package/resources/catalog/products/actions.d.mts.map +1 -0
  609. package/resources/catalog/products/actions.d.ts +129 -0
  610. package/resources/catalog/products/actions.d.ts.map +1 -0
  611. package/resources/catalog/products/actions.js +38 -0
  612. package/resources/catalog/products/actions.js.map +1 -0
  613. package/resources/catalog/products/actions.mjs +34 -0
  614. package/resources/catalog/products/actions.mjs.map +1 -0
  615. package/resources/catalog/products/index.d.mts +3 -0
  616. package/resources/catalog/products/index.d.mts.map +1 -0
  617. package/resources/catalog/products/index.d.ts +3 -0
  618. package/resources/catalog/products/index.d.ts.map +1 -0
  619. package/resources/catalog/products/index.js +9 -0
  620. package/resources/catalog/products/index.js.map +1 -0
  621. package/resources/catalog/products/index.mjs +4 -0
  622. package/resources/catalog/products/index.mjs.map +1 -0
  623. package/resources/catalog/products/products.d.mts +587 -0
  624. package/resources/catalog/products/products.d.mts.map +1 -0
  625. package/resources/catalog/products/products.d.ts +587 -0
  626. package/resources/catalog/products/products.d.ts.map +1 -0
  627. package/resources/catalog/products/products.js +185 -0
  628. package/resources/catalog/products/products.js.map +1 -0
  629. package/resources/catalog/products/products.mjs +180 -0
  630. package/resources/catalog/products/products.mjs.map +1 -0
  631. package/resources/catalog/products.d.mts +2 -0
  632. package/resources/catalog/products.d.mts.map +1 -0
  633. package/resources/catalog/products.d.ts +2 -0
  634. package/resources/catalog/products.d.ts.map +1 -0
  635. package/resources/catalog/products.js +6 -0
  636. package/resources/catalog/products.js.map +1 -0
  637. package/resources/catalog/products.mjs +3 -0
  638. package/resources/catalog/products.mjs.map +1 -0
  639. package/resources/catalog/properties/actions.d.mts +91 -0
  640. package/resources/catalog/properties/actions.d.mts.map +1 -0
  641. package/resources/catalog/properties/actions.d.ts +91 -0
  642. package/resources/catalog/properties/actions.d.ts.map +1 -0
  643. package/resources/catalog/properties/actions.js +38 -0
  644. package/resources/catalog/properties/actions.js.map +1 -0
  645. package/resources/catalog/properties/actions.mjs +34 -0
  646. package/resources/catalog/properties/actions.mjs.map +1 -0
  647. package/resources/catalog/properties/attributes.d.mts +245 -0
  648. package/resources/catalog/properties/attributes.d.mts.map +1 -0
  649. package/resources/catalog/properties/attributes.d.ts +245 -0
  650. package/resources/catalog/properties/attributes.d.ts.map +1 -0
  651. package/resources/catalog/properties/attributes.js +125 -0
  652. package/resources/catalog/properties/attributes.js.map +1 -0
  653. package/resources/catalog/properties/attributes.mjs +121 -0
  654. package/resources/catalog/properties/attributes.mjs.map +1 -0
  655. package/resources/catalog/properties/index.d.mts +4 -0
  656. package/resources/catalog/properties/index.d.mts.map +1 -0
  657. package/resources/catalog/properties/index.d.ts +4 -0
  658. package/resources/catalog/properties/index.d.ts.map +1 -0
  659. package/resources/catalog/properties/index.js +11 -0
  660. package/resources/catalog/properties/index.js.map +1 -0
  661. package/resources/catalog/properties/index.mjs +5 -0
  662. package/resources/catalog/properties/index.mjs.map +1 -0
  663. package/resources/catalog/properties/properties.d.mts +309 -0
  664. package/resources/catalog/properties/properties.d.mts.map +1 -0
  665. package/resources/catalog/properties/properties.d.ts +309 -0
  666. package/resources/catalog/properties/properties.d.ts.map +1 -0
  667. package/resources/catalog/properties/properties.js +110 -0
  668. package/resources/catalog/properties/properties.js.map +1 -0
  669. package/resources/catalog/properties/properties.mjs +105 -0
  670. package/resources/catalog/properties/properties.mjs.map +1 -0
  671. package/resources/catalog/properties.d.mts +2 -0
  672. package/resources/catalog/properties.d.mts.map +1 -0
  673. package/resources/catalog/properties.d.ts +2 -0
  674. package/resources/catalog/properties.d.ts.map +1 -0
  675. package/resources/catalog/properties.js +6 -0
  676. package/resources/catalog/properties.js.map +1 -0
  677. package/resources/catalog/properties.mjs +3 -0
  678. package/resources/catalog/properties.mjs.map +1 -0
  679. package/resources/catalog/unit-groups/actions.d.mts +121 -0
  680. package/resources/catalog/unit-groups/actions.d.mts.map +1 -0
  681. package/resources/catalog/unit-groups/actions.d.ts +121 -0
  682. package/resources/catalog/unit-groups/actions.d.ts.map +1 -0
  683. package/resources/catalog/unit-groups/actions.js +44 -0
  684. package/resources/catalog/unit-groups/actions.js.map +1 -0
  685. package/resources/catalog/unit-groups/actions.mjs +40 -0
  686. package/resources/catalog/unit-groups/actions.mjs.map +1 -0
  687. package/resources/catalog/unit-groups/index.d.mts +4 -0
  688. package/resources/catalog/unit-groups/index.d.mts.map +1 -0
  689. package/resources/catalog/unit-groups/index.d.ts +4 -0
  690. package/resources/catalog/unit-groups/index.d.ts.map +1 -0
  691. package/resources/catalog/unit-groups/index.js +11 -0
  692. package/resources/catalog/unit-groups/index.js.map +1 -0
  693. package/resources/catalog/unit-groups/index.mjs +5 -0
  694. package/resources/catalog/unit-groups/index.mjs.map +1 -0
  695. package/resources/catalog/unit-groups/unit-groups.d.mts +472 -0
  696. package/resources/catalog/unit-groups/unit-groups.d.mts.map +1 -0
  697. package/resources/catalog/unit-groups/unit-groups.d.ts +472 -0
  698. package/resources/catalog/unit-groups/unit-groups.d.ts.map +1 -0
  699. package/resources/catalog/unit-groups/unit-groups.js +136 -0
  700. package/resources/catalog/unit-groups/unit-groups.js.map +1 -0
  701. package/resources/catalog/unit-groups/unit-groups.mjs +131 -0
  702. package/resources/catalog/unit-groups/unit-groups.mjs.map +1 -0
  703. package/resources/catalog/unit-groups/units.d.mts +271 -0
  704. package/resources/catalog/unit-groups/units.d.mts.map +1 -0
  705. package/resources/catalog/unit-groups/units.d.ts +271 -0
  706. package/resources/catalog/unit-groups/units.d.ts.map +1 -0
  707. package/resources/catalog/unit-groups/units.js +138 -0
  708. package/resources/catalog/unit-groups/units.js.map +1 -0
  709. package/resources/catalog/unit-groups/units.mjs +134 -0
  710. package/resources/catalog/unit-groups/units.mjs.map +1 -0
  711. package/resources/catalog/unit-groups.d.mts +2 -0
  712. package/resources/catalog/unit-groups.d.mts.map +1 -0
  713. package/resources/catalog/unit-groups.d.ts +2 -0
  714. package/resources/catalog/unit-groups.d.ts.map +1 -0
  715. package/resources/catalog/unit-groups.js +6 -0
  716. package/resources/catalog/unit-groups.js.map +1 -0
  717. package/resources/catalog/unit-groups.mjs +3 -0
  718. package/resources/catalog/unit-groups.mjs.map +1 -0
  719. package/resources/catalog/units/actions.d.mts +97 -0
  720. package/resources/catalog/units/actions.d.mts.map +1 -0
  721. package/resources/catalog/units/actions.d.ts +97 -0
  722. package/resources/catalog/units/actions.d.ts.map +1 -0
  723. package/resources/catalog/units/actions.js +42 -0
  724. package/resources/catalog/units/actions.js.map +1 -0
  725. package/resources/catalog/units/actions.mjs +38 -0
  726. package/resources/catalog/units/actions.mjs.map +1 -0
  727. package/resources/catalog/units/index.d.mts +3 -0
  728. package/resources/catalog/units/index.d.mts.map +1 -0
  729. package/resources/catalog/units/index.d.ts +3 -0
  730. package/resources/catalog/units/index.d.ts.map +1 -0
  731. package/resources/catalog/units/index.js +9 -0
  732. package/resources/catalog/units/index.js.map +1 -0
  733. package/resources/catalog/units/index.mjs +4 -0
  734. package/resources/catalog/units/index.mjs.map +1 -0
  735. package/resources/catalog/units/units.d.mts +449 -0
  736. package/resources/catalog/units/units.d.mts.map +1 -0
  737. package/resources/catalog/units/units.d.ts +449 -0
  738. package/resources/catalog/units/units.d.ts.map +1 -0
  739. package/resources/catalog/units/units.js +122 -0
  740. package/resources/catalog/units/units.js.map +1 -0
  741. package/resources/catalog/units/units.mjs +117 -0
  742. package/resources/catalog/units/units.mjs.map +1 -0
  743. package/resources/catalog/units.d.mts +2 -0
  744. package/resources/catalog/units.d.mts.map +1 -0
  745. package/resources/catalog/units.d.ts +2 -0
  746. package/resources/catalog/units.d.ts.map +1 -0
  747. package/resources/catalog/units.js +6 -0
  748. package/resources/catalog/units.js.map +1 -0
  749. package/resources/catalog/units.mjs +3 -0
  750. package/resources/catalog/units.mjs.map +1 -0
  751. package/resources/catalog.d.mts +2 -0
  752. package/resources/catalog.d.mts.map +1 -0
  753. package/resources/catalog.d.ts +2 -0
  754. package/resources/catalog.d.ts.map +1 -0
  755. package/resources/catalog.js +6 -0
  756. package/resources/catalog.js.map +1 -0
  757. package/resources/catalog.mjs +3 -0
  758. package/resources/catalog.mjs.map +1 -0
  759. package/resources/core/actions.d.mts +73 -0
  760. package/resources/core/actions.d.mts.map +1 -0
  761. package/resources/core/actions.d.ts +73 -0
  762. package/resources/core/actions.d.ts.map +1 -0
  763. package/resources/core/actions.js +36 -0
  764. package/resources/core/actions.js.map +1 -0
  765. package/resources/core/actions.mjs +32 -0
  766. package/resources/core/actions.mjs.map +1 -0
  767. package/resources/core/addresses/actions.d.mts +175 -0
  768. package/resources/core/addresses/actions.d.mts.map +1 -0
  769. package/resources/core/addresses/actions.d.ts +175 -0
  770. package/resources/core/addresses/actions.d.ts.map +1 -0
  771. package/resources/core/addresses/actions.js +38 -0
  772. package/resources/core/addresses/actions.js.map +1 -0
  773. package/resources/core/addresses/actions.mjs +34 -0
  774. package/resources/core/addresses/actions.mjs.map +1 -0
  775. package/resources/core/addresses/addresses.d.mts +106 -0
  776. package/resources/core/addresses/addresses.d.mts.map +1 -0
  777. package/resources/core/addresses/addresses.d.ts +106 -0
  778. package/resources/core/addresses/addresses.d.ts.map +1 -0
  779. package/resources/core/addresses/addresses.js +40 -0
  780. package/resources/core/addresses/addresses.js.map +1 -0
  781. package/resources/core/addresses/addresses.mjs +35 -0
  782. package/resources/core/addresses/addresses.mjs.map +1 -0
  783. package/resources/core/addresses/index.d.mts +3 -0
  784. package/resources/core/addresses/index.d.mts.map +1 -0
  785. package/resources/core/addresses/index.d.ts +3 -0
  786. package/resources/core/addresses/index.d.ts.map +1 -0
  787. package/resources/core/addresses/index.js +9 -0
  788. package/resources/core/addresses/index.js.map +1 -0
  789. package/resources/core/addresses/index.mjs +4 -0
  790. package/resources/core/addresses/index.mjs.map +1 -0
  791. package/resources/core/addresses.d.mts +2 -0
  792. package/resources/core/addresses.d.mts.map +1 -0
  793. package/resources/core/addresses.d.ts +2 -0
  794. package/resources/core/addresses.d.ts.map +1 -0
  795. package/resources/core/addresses.js +6 -0
  796. package/resources/core/addresses.js.map +1 -0
  797. package/resources/core/addresses.mjs +3 -0
  798. package/resources/core/addresses.mjs.map +1 -0
  799. package/resources/core/analytics.d.mts +1178 -0
  800. package/resources/core/analytics.d.mts.map +1 -0
  801. package/resources/core/analytics.d.ts +1178 -0
  802. package/resources/core/analytics.d.ts.map +1 -0
  803. package/resources/core/analytics.js +144 -0
  804. package/resources/core/analytics.js.map +1 -0
  805. package/resources/core/analytics.mjs +140 -0
  806. package/resources/core/analytics.mjs.map +1 -0
  807. package/resources/core/audit-events.d.mts +366 -0
  808. package/resources/core/audit-events.d.mts.map +1 -0
  809. package/resources/core/audit-events.d.ts +366 -0
  810. package/resources/core/audit-events.d.ts.map +1 -0
  811. package/resources/core/audit-events.js +68 -0
  812. package/resources/core/audit-events.js.map +1 -0
  813. package/resources/core/audit-events.mjs +64 -0
  814. package/resources/core/audit-events.mjs.map +1 -0
  815. package/resources/core/core.d.mts +166 -0
  816. package/resources/core/core.d.mts.map +1 -0
  817. package/resources/core/core.d.ts +166 -0
  818. package/resources/core/core.d.ts.map +1 -0
  819. package/resources/core/core.js +75 -0
  820. package/resources/core/core.js.map +1 -0
  821. package/resources/core/core.mjs +70 -0
  822. package/resources/core/core.mjs.map +1 -0
  823. package/resources/core/email-logs.d.mts +148 -0
  824. package/resources/core/email-logs.d.mts.map +1 -0
  825. package/resources/core/email-logs.d.ts +148 -0
  826. package/resources/core/email-logs.d.ts.map +1 -0
  827. package/resources/core/email-logs.js +44 -0
  828. package/resources/core/email-logs.js.map +1 -0
  829. package/resources/core/email-logs.mjs +40 -0
  830. package/resources/core/email-logs.mjs.map +1 -0
  831. package/resources/core/index.d.mts +10 -0
  832. package/resources/core/index.d.mts.map +1 -0
  833. package/resources/core/index.d.ts +10 -0
  834. package/resources/core/index.d.ts.map +1 -0
  835. package/resources/core/index.js +23 -0
  836. package/resources/core/index.js.map +1 -0
  837. package/resources/core/index.mjs +11 -0
  838. package/resources/core/index.mjs.map +1 -0
  839. package/resources/core/jobs.d.mts +278 -0
  840. package/resources/core/jobs.d.mts.map +1 -0
  841. package/resources/core/jobs.d.ts +278 -0
  842. package/resources/core/jobs.d.ts.map +1 -0
  843. package/resources/core/jobs.js +49 -0
  844. package/resources/core/jobs.js.map +1 -0
  845. package/resources/core/jobs.mjs +45 -0
  846. package/resources/core/jobs.mjs.map +1 -0
  847. package/resources/core/request-logs.d.mts +390 -0
  848. package/resources/core/request-logs.d.mts.map +1 -0
  849. package/resources/core/request-logs.d.ts +390 -0
  850. package/resources/core/request-logs.d.ts.map +1 -0
  851. package/resources/core/request-logs.js +57 -0
  852. package/resources/core/request-logs.js.map +1 -0
  853. package/resources/core/request-logs.mjs +53 -0
  854. package/resources/core/request-logs.mjs.map +1 -0
  855. package/resources/core/sandboxes.d.mts +215 -0
  856. package/resources/core/sandboxes.d.mts.map +1 -0
  857. package/resources/core/sandboxes.d.ts +215 -0
  858. package/resources/core/sandboxes.d.ts.map +1 -0
  859. package/resources/core/sandboxes.js +94 -0
  860. package/resources/core/sandboxes.js.map +1 -0
  861. package/resources/core/sandboxes.mjs +90 -0
  862. package/resources/core/sandboxes.mjs.map +1 -0
  863. package/resources/core.d.mts +2 -0
  864. package/resources/core.d.mts.map +1 -0
  865. package/resources/core.d.ts +2 -0
  866. package/resources/core.d.ts.map +1 -0
  867. package/resources/core.js +6 -0
  868. package/resources/core.js.map +1 -0
  869. package/resources/core.mjs +3 -0
  870. package/resources/core.mjs.map +1 -0
  871. package/resources/finance/finance.d.mts +289 -0
  872. package/resources/finance/finance.d.mts.map +1 -0
  873. package/resources/finance/finance.d.ts +289 -0
  874. package/resources/finance/finance.d.ts.map +1 -0
  875. package/resources/finance/finance.js +70 -0
  876. package/resources/finance/finance.js.map +1 -0
  877. package/resources/finance/finance.mjs +65 -0
  878. package/resources/finance/finance.mjs.map +1 -0
  879. package/resources/finance/index.d.mts +3 -0
  880. package/resources/finance/index.d.mts.map +1 -0
  881. package/resources/finance/index.d.ts +3 -0
  882. package/resources/finance/index.d.ts.map +1 -0
  883. package/resources/finance/index.js +9 -0
  884. package/resources/finance/index.js.map +1 -0
  885. package/resources/finance/index.mjs +4 -0
  886. package/resources/finance/index.mjs.map +1 -0
  887. package/resources/finance/payment-terms.d.mts +207 -0
  888. package/resources/finance/payment-terms.d.mts.map +1 -0
  889. package/resources/finance/payment-terms.d.ts +207 -0
  890. package/resources/finance/payment-terms.d.ts.map +1 -0
  891. package/resources/finance/payment-terms.js +112 -0
  892. package/resources/finance/payment-terms.js.map +1 -0
  893. package/resources/finance/payment-terms.mjs +108 -0
  894. package/resources/finance/payment-terms.mjs.map +1 -0
  895. package/resources/finance.d.mts +2 -0
  896. package/resources/finance.d.mts.map +1 -0
  897. package/resources/finance.d.ts +2 -0
  898. package/resources/finance.d.ts.map +1 -0
  899. package/resources/finance.js +6 -0
  900. package/resources/finance.js.map +1 -0
  901. package/resources/finance.mjs +3 -0
  902. package/resources/finance.mjs.map +1 -0
  903. package/resources/identity/account-users/account-users.d.mts +452 -0
  904. package/resources/identity/account-users/account-users.d.mts.map +1 -0
  905. package/resources/identity/account-users/account-users.d.ts +452 -0
  906. package/resources/identity/account-users/account-users.d.ts.map +1 -0
  907. package/resources/identity/account-users/account-users.js +140 -0
  908. package/resources/identity/account-users/account-users.js.map +1 -0
  909. package/resources/identity/account-users/account-users.mjs +135 -0
  910. package/resources/identity/account-users/account-users.mjs.map +1 -0
  911. package/resources/identity/account-users/actions.d.mts +80 -0
  912. package/resources/identity/account-users/actions.d.mts.map +1 -0
  913. package/resources/identity/account-users/actions.d.ts +80 -0
  914. package/resources/identity/account-users/actions.d.ts.map +1 -0
  915. package/resources/identity/account-users/actions.js +81 -0
  916. package/resources/identity/account-users/actions.js.map +1 -0
  917. package/resources/identity/account-users/actions.mjs +77 -0
  918. package/resources/identity/account-users/actions.mjs.map +1 -0
  919. package/resources/identity/account-users/index.d.mts +3 -0
  920. package/resources/identity/account-users/index.d.mts.map +1 -0
  921. package/resources/identity/account-users/index.d.ts +3 -0
  922. package/resources/identity/account-users/index.d.ts.map +1 -0
  923. package/resources/identity/account-users/index.js +9 -0
  924. package/resources/identity/account-users/index.js.map +1 -0
  925. package/resources/identity/account-users/index.mjs +4 -0
  926. package/resources/identity/account-users/index.mjs.map +1 -0
  927. package/resources/identity/account-users.d.mts +2 -0
  928. package/resources/identity/account-users.d.mts.map +1 -0
  929. package/resources/identity/account-users.d.ts +2 -0
  930. package/resources/identity/account-users.d.ts.map +1 -0
  931. package/resources/identity/account-users.js +6 -0
  932. package/resources/identity/account-users.js.map +1 -0
  933. package/resources/identity/account-users.mjs +3 -0
  934. package/resources/identity/account-users.mjs.map +1 -0
  935. package/resources/identity/accounts.d.mts +34 -0
  936. package/resources/identity/accounts.d.mts.map +1 -0
  937. package/resources/identity/accounts.d.ts +34 -0
  938. package/resources/identity/accounts.d.ts.map +1 -0
  939. package/resources/identity/accounts.js +35 -0
  940. package/resources/identity/accounts.js.map +1 -0
  941. package/resources/identity/accounts.mjs +31 -0
  942. package/resources/identity/accounts.mjs.map +1 -0
  943. package/resources/identity/identity.d.mts +207 -0
  944. package/resources/identity/identity.d.mts.map +1 -0
  945. package/resources/identity/identity.d.ts +207 -0
  946. package/resources/identity/identity.d.ts.map +1 -0
  947. package/resources/identity/identity.js +47 -0
  948. package/resources/identity/identity.js.map +1 -0
  949. package/resources/identity/identity.mjs +42 -0
  950. package/resources/identity/identity.mjs.map +1 -0
  951. package/resources/identity/index.d.mts +5 -0
  952. package/resources/identity/index.d.mts.map +1 -0
  953. package/resources/identity/index.d.ts +5 -0
  954. package/resources/identity/index.d.ts.map +1 -0
  955. package/resources/identity/index.js +13 -0
  956. package/resources/identity/index.js.map +1 -0
  957. package/resources/identity/index.mjs +6 -0
  958. package/resources/identity/index.mjs.map +1 -0
  959. package/resources/identity/roles.d.mts +253 -0
  960. package/resources/identity/roles.d.mts.map +1 -0
  961. package/resources/identity/roles.d.ts +253 -0
  962. package/resources/identity/roles.d.ts.map +1 -0
  963. package/resources/identity/roles.js +115 -0
  964. package/resources/identity/roles.js.map +1 -0
  965. package/resources/identity/roles.mjs +111 -0
  966. package/resources/identity/roles.mjs.map +1 -0
  967. package/resources/identity.d.mts +2 -0
  968. package/resources/identity.d.mts.map +1 -0
  969. package/resources/identity.d.ts +2 -0
  970. package/resources/identity.d.ts.map +1 -0
  971. package/resources/identity.js +6 -0
  972. package/resources/identity.js.map +1 -0
  973. package/resources/identity.mjs +3 -0
  974. package/resources/identity.mjs.map +1 -0
  975. package/resources/index.d.mts +11 -0
  976. package/resources/index.d.mts.map +1 -0
  977. package/resources/index.d.ts +11 -0
  978. package/resources/index.d.ts.map +1 -0
  979. package/resources/index.js +25 -0
  980. package/resources/index.js.map +1 -0
  981. package/resources/index.mjs +12 -0
  982. package/resources/index.mjs.map +1 -0
  983. package/resources/messaging/announcements/actions.d.mts +94 -0
  984. package/resources/messaging/announcements/actions.d.mts.map +1 -0
  985. package/resources/messaging/announcements/actions.d.ts +94 -0
  986. package/resources/messaging/announcements/actions.d.ts.map +1 -0
  987. package/resources/messaging/announcements/actions.js +91 -0
  988. package/resources/messaging/announcements/actions.js.map +1 -0
  989. package/resources/messaging/announcements/actions.mjs +87 -0
  990. package/resources/messaging/announcements/actions.mjs.map +1 -0
  991. package/resources/messaging/announcements/announcements.d.mts +211 -0
  992. package/resources/messaging/announcements/announcements.d.mts.map +1 -0
  993. package/resources/messaging/announcements/announcements.d.ts +211 -0
  994. package/resources/messaging/announcements/announcements.d.ts.map +1 -0
  995. package/resources/messaging/announcements/announcements.js +61 -0
  996. package/resources/messaging/announcements/announcements.js.map +1 -0
  997. package/resources/messaging/announcements/announcements.mjs +56 -0
  998. package/resources/messaging/announcements/announcements.mjs.map +1 -0
  999. package/resources/messaging/announcements/index.d.mts +3 -0
  1000. package/resources/messaging/announcements/index.d.mts.map +1 -0
  1001. package/resources/messaging/announcements/index.d.ts +3 -0
  1002. package/resources/messaging/announcements/index.d.ts.map +1 -0
  1003. package/resources/messaging/announcements/index.js +9 -0
  1004. package/resources/messaging/announcements/index.js.map +1 -0
  1005. package/resources/messaging/announcements/index.mjs +4 -0
  1006. package/resources/messaging/announcements/index.mjs.map +1 -0
  1007. package/resources/messaging/announcements.d.mts +2 -0
  1008. package/resources/messaging/announcements.d.mts.map +1 -0
  1009. package/resources/messaging/announcements.d.ts +2 -0
  1010. package/resources/messaging/announcements.d.ts.map +1 -0
  1011. package/resources/messaging/announcements.js +6 -0
  1012. package/resources/messaging/announcements.js.map +1 -0
  1013. package/resources/messaging/announcements.mjs +3 -0
  1014. package/resources/messaging/announcements.mjs.map +1 -0
  1015. package/resources/messaging/blocks.d.mts +781 -0
  1016. package/resources/messaging/blocks.d.mts.map +1 -0
  1017. package/resources/messaging/blocks.d.ts +781 -0
  1018. package/resources/messaging/blocks.d.ts.map +1 -0
  1019. package/resources/messaging/blocks.js +70 -0
  1020. package/resources/messaging/blocks.js.map +1 -0
  1021. package/resources/messaging/blocks.mjs +66 -0
  1022. package/resources/messaging/blocks.mjs.map +1 -0
  1023. package/resources/messaging/conversations/actions.d.mts +492 -0
  1024. package/resources/messaging/conversations/actions.d.mts.map +1 -0
  1025. package/resources/messaging/conversations/actions.d.ts +492 -0
  1026. package/resources/messaging/conversations/actions.d.ts.map +1 -0
  1027. package/resources/messaging/conversations/actions.js +339 -0
  1028. package/resources/messaging/conversations/actions.js.map +1 -0
  1029. package/resources/messaging/conversations/actions.mjs +335 -0
  1030. package/resources/messaging/conversations/actions.mjs.map +1 -0
  1031. package/resources/messaging/conversations/attachments/actions.d.mts +109 -0
  1032. package/resources/messaging/conversations/attachments/actions.d.mts.map +1 -0
  1033. package/resources/messaging/conversations/attachments/actions.d.ts +109 -0
  1034. package/resources/messaging/conversations/attachments/actions.d.ts.map +1 -0
  1035. package/resources/messaging/conversations/attachments/actions.js +42 -0
  1036. package/resources/messaging/conversations/attachments/actions.js.map +1 -0
  1037. package/resources/messaging/conversations/attachments/actions.mjs +38 -0
  1038. package/resources/messaging/conversations/attachments/actions.mjs.map +1 -0
  1039. package/resources/messaging/conversations/attachments/attachments.d.mts +10 -0
  1040. package/resources/messaging/conversations/attachments/attachments.d.mts.map +1 -0
  1041. package/resources/messaging/conversations/attachments/attachments.d.ts +10 -0
  1042. package/resources/messaging/conversations/attachments/attachments.d.ts.map +1 -0
  1043. package/resources/messaging/conversations/attachments/attachments.js +17 -0
  1044. package/resources/messaging/conversations/attachments/attachments.js.map +1 -0
  1045. package/resources/messaging/conversations/attachments/attachments.mjs +12 -0
  1046. package/resources/messaging/conversations/attachments/attachments.mjs.map +1 -0
  1047. package/resources/messaging/conversations/attachments/index.d.mts +3 -0
  1048. package/resources/messaging/conversations/attachments/index.d.mts.map +1 -0
  1049. package/resources/messaging/conversations/attachments/index.d.ts +3 -0
  1050. package/resources/messaging/conversations/attachments/index.d.ts.map +1 -0
  1051. package/resources/messaging/conversations/attachments/index.js +9 -0
  1052. package/resources/messaging/conversations/attachments/index.js.map +1 -0
  1053. package/resources/messaging/conversations/attachments/index.mjs +4 -0
  1054. package/resources/messaging/conversations/attachments/index.mjs.map +1 -0
  1055. package/resources/messaging/conversations/attachments.d.mts +2 -0
  1056. package/resources/messaging/conversations/attachments.d.mts.map +1 -0
  1057. package/resources/messaging/conversations/attachments.d.ts +2 -0
  1058. package/resources/messaging/conversations/attachments.d.ts.map +1 -0
  1059. package/resources/messaging/conversations/attachments.js +6 -0
  1060. package/resources/messaging/conversations/attachments.js.map +1 -0
  1061. package/resources/messaging/conversations/attachments.mjs +3 -0
  1062. package/resources/messaging/conversations/attachments.mjs.map +1 -0
  1063. package/resources/messaging/conversations/conversations.d.mts +940 -0
  1064. package/resources/messaging/conversations/conversations.d.mts.map +1 -0
  1065. package/resources/messaging/conversations/conversations.d.ts +940 -0
  1066. package/resources/messaging/conversations/conversations.d.ts.map +1 -0
  1067. package/resources/messaging/conversations/conversations.js +125 -0
  1068. package/resources/messaging/conversations/conversations.js.map +1 -0
  1069. package/resources/messaging/conversations/conversations.mjs +120 -0
  1070. package/resources/messaging/conversations/conversations.mjs.map +1 -0
  1071. package/resources/messaging/conversations/index.d.mts +7 -0
  1072. package/resources/messaging/conversations/index.d.mts.map +1 -0
  1073. package/resources/messaging/conversations/index.d.ts +7 -0
  1074. package/resources/messaging/conversations/index.d.ts.map +1 -0
  1075. package/resources/messaging/conversations/index.js +17 -0
  1076. package/resources/messaging/conversations/index.js.map +1 -0
  1077. package/resources/messaging/conversations/index.mjs +8 -0
  1078. package/resources/messaging/conversations/index.mjs.map +1 -0
  1079. package/resources/messaging/conversations/links.d.mts +167 -0
  1080. package/resources/messaging/conversations/links.d.mts.map +1 -0
  1081. package/resources/messaging/conversations/links.d.ts +167 -0
  1082. package/resources/messaging/conversations/links.d.ts.map +1 -0
  1083. package/resources/messaging/conversations/links.js +79 -0
  1084. package/resources/messaging/conversations/links.js.map +1 -0
  1085. package/resources/messaging/conversations/links.mjs +75 -0
  1086. package/resources/messaging/conversations/links.mjs.map +1 -0
  1087. package/resources/messaging/conversations/messages.d.mts +412 -0
  1088. package/resources/messaging/conversations/messages.d.mts.map +1 -0
  1089. package/resources/messaging/conversations/messages.d.ts +412 -0
  1090. package/resources/messaging/conversations/messages.d.ts.map +1 -0
  1091. package/resources/messaging/conversations/messages.js +88 -0
  1092. package/resources/messaging/conversations/messages.js.map +1 -0
  1093. package/resources/messaging/conversations/messages.mjs +84 -0
  1094. package/resources/messaging/conversations/messages.mjs.map +1 -0
  1095. package/resources/messaging/conversations/participants/actions.d.mts +72 -0
  1096. package/resources/messaging/conversations/participants/actions.d.mts.map +1 -0
  1097. package/resources/messaging/conversations/participants/actions.d.ts +72 -0
  1098. package/resources/messaging/conversations/participants/actions.d.ts.map +1 -0
  1099. package/resources/messaging/conversations/participants/actions.js +45 -0
  1100. package/resources/messaging/conversations/participants/actions.js.map +1 -0
  1101. package/resources/messaging/conversations/participants/actions.mjs +41 -0
  1102. package/resources/messaging/conversations/participants/actions.mjs.map +1 -0
  1103. package/resources/messaging/conversations/participants/index.d.mts +3 -0
  1104. package/resources/messaging/conversations/participants/index.d.mts.map +1 -0
  1105. package/resources/messaging/conversations/participants/index.d.ts +3 -0
  1106. package/resources/messaging/conversations/participants/index.d.ts.map +1 -0
  1107. package/resources/messaging/conversations/participants/index.js +9 -0
  1108. package/resources/messaging/conversations/participants/index.js.map +1 -0
  1109. package/resources/messaging/conversations/participants/index.mjs +4 -0
  1110. package/resources/messaging/conversations/participants/index.mjs.map +1 -0
  1111. package/resources/messaging/conversations/participants/participants.d.mts +117 -0
  1112. package/resources/messaging/conversations/participants/participants.d.mts.map +1 -0
  1113. package/resources/messaging/conversations/participants/participants.d.ts +117 -0
  1114. package/resources/messaging/conversations/participants/participants.d.ts.map +1 -0
  1115. package/resources/messaging/conversations/participants/participants.js +81 -0
  1116. package/resources/messaging/conversations/participants/participants.js.map +1 -0
  1117. package/resources/messaging/conversations/participants/participants.mjs +76 -0
  1118. package/resources/messaging/conversations/participants/participants.mjs.map +1 -0
  1119. package/resources/messaging/conversations/participants.d.mts +2 -0
  1120. package/resources/messaging/conversations/participants.d.mts.map +1 -0
  1121. package/resources/messaging/conversations/participants.d.ts +2 -0
  1122. package/resources/messaging/conversations/participants.d.ts.map +1 -0
  1123. package/resources/messaging/conversations/participants.js +6 -0
  1124. package/resources/messaging/conversations/participants.js.map +1 -0
  1125. package/resources/messaging/conversations/participants.mjs +3 -0
  1126. package/resources/messaging/conversations/participants.mjs.map +1 -0
  1127. package/resources/messaging/conversations.d.mts +2 -0
  1128. package/resources/messaging/conversations.d.mts.map +1 -0
  1129. package/resources/messaging/conversations.d.ts +2 -0
  1130. package/resources/messaging/conversations.d.ts.map +1 -0
  1131. package/resources/messaging/conversations.js +6 -0
  1132. package/resources/messaging/conversations.js.map +1 -0
  1133. package/resources/messaging/conversations.mjs +3 -0
  1134. package/resources/messaging/conversations.mjs.map +1 -0
  1135. package/resources/messaging/email-domains/actions.d.mts +30 -0
  1136. package/resources/messaging/email-domains/actions.d.mts.map +1 -0
  1137. package/resources/messaging/email-domains/actions.d.ts +30 -0
  1138. package/resources/messaging/email-domains/actions.d.ts.map +1 -0
  1139. package/resources/messaging/email-domains/actions.js +35 -0
  1140. package/resources/messaging/email-domains/actions.js.map +1 -0
  1141. package/resources/messaging/email-domains/actions.mjs +31 -0
  1142. package/resources/messaging/email-domains/actions.mjs.map +1 -0
  1143. package/resources/messaging/email-domains/email-domains.d.mts +182 -0
  1144. package/resources/messaging/email-domains/email-domains.d.mts.map +1 -0
  1145. package/resources/messaging/email-domains/email-domains.d.ts +182 -0
  1146. package/resources/messaging/email-domains/email-domains.d.ts.map +1 -0
  1147. package/resources/messaging/email-domains/email-domains.js +97 -0
  1148. package/resources/messaging/email-domains/email-domains.js.map +1 -0
  1149. package/resources/messaging/email-domains/email-domains.mjs +92 -0
  1150. package/resources/messaging/email-domains/email-domains.mjs.map +1 -0
  1151. package/resources/messaging/email-domains/index.d.mts +3 -0
  1152. package/resources/messaging/email-domains/index.d.mts.map +1 -0
  1153. package/resources/messaging/email-domains/index.d.ts +3 -0
  1154. package/resources/messaging/email-domains/index.d.ts.map +1 -0
  1155. package/resources/messaging/email-domains/index.js +9 -0
  1156. package/resources/messaging/email-domains/index.js.map +1 -0
  1157. package/resources/messaging/email-domains/index.mjs +4 -0
  1158. package/resources/messaging/email-domains/index.mjs.map +1 -0
  1159. package/resources/messaging/email-domains.d.mts +2 -0
  1160. package/resources/messaging/email-domains.d.mts.map +1 -0
  1161. package/resources/messaging/email-domains.d.ts +2 -0
  1162. package/resources/messaging/email-domains.d.ts.map +1 -0
  1163. package/resources/messaging/email-domains.js +6 -0
  1164. package/resources/messaging/email-domains.js.map +1 -0
  1165. package/resources/messaging/email-domains.mjs +3 -0
  1166. package/resources/messaging/email-domains.mjs.map +1 -0
  1167. package/resources/messaging/email-inboxes.d.mts +456 -0
  1168. package/resources/messaging/email-inboxes.d.mts.map +1 -0
  1169. package/resources/messaging/email-inboxes.d.ts +456 -0
  1170. package/resources/messaging/email-inboxes.d.ts.map +1 -0
  1171. package/resources/messaging/email-inboxes.js +124 -0
  1172. package/resources/messaging/email-inboxes.js.map +1 -0
  1173. package/resources/messaging/email-inboxes.mjs +120 -0
  1174. package/resources/messaging/email-inboxes.mjs.map +1 -0
  1175. package/resources/messaging/groups/groups.d.mts +174 -0
  1176. package/resources/messaging/groups/groups.d.mts.map +1 -0
  1177. package/resources/messaging/groups/groups.d.ts +174 -0
  1178. package/resources/messaging/groups/groups.d.ts.map +1 -0
  1179. package/resources/messaging/groups/groups.js +115 -0
  1180. package/resources/messaging/groups/groups.js.map +1 -0
  1181. package/resources/messaging/groups/groups.mjs +110 -0
  1182. package/resources/messaging/groups/groups.mjs.map +1 -0
  1183. package/resources/messaging/groups/index.d.mts +3 -0
  1184. package/resources/messaging/groups/index.d.mts.map +1 -0
  1185. package/resources/messaging/groups/index.d.ts +3 -0
  1186. package/resources/messaging/groups/index.d.ts.map +1 -0
  1187. package/resources/messaging/groups/index.js +9 -0
  1188. package/resources/messaging/groups/index.js.map +1 -0
  1189. package/resources/messaging/groups/index.mjs +4 -0
  1190. package/resources/messaging/groups/index.mjs.map +1 -0
  1191. package/resources/messaging/groups/members.d.mts +95 -0
  1192. package/resources/messaging/groups/members.d.mts.map +1 -0
  1193. package/resources/messaging/groups/members.d.ts +95 -0
  1194. package/resources/messaging/groups/members.d.ts.map +1 -0
  1195. package/resources/messaging/groups/members.js +61 -0
  1196. package/resources/messaging/groups/members.js.map +1 -0
  1197. package/resources/messaging/groups/members.mjs +57 -0
  1198. package/resources/messaging/groups/members.mjs.map +1 -0
  1199. package/resources/messaging/groups.d.mts +2 -0
  1200. package/resources/messaging/groups.d.mts.map +1 -0
  1201. package/resources/messaging/groups.d.ts +2 -0
  1202. package/resources/messaging/groups.d.ts.map +1 -0
  1203. package/resources/messaging/groups.js +6 -0
  1204. package/resources/messaging/groups.js.map +1 -0
  1205. package/resources/messaging/groups.mjs +3 -0
  1206. package/resources/messaging/groups.mjs.map +1 -0
  1207. package/resources/messaging/index.d.mts +11 -0
  1208. package/resources/messaging/index.d.mts.map +1 -0
  1209. package/resources/messaging/index.d.ts +11 -0
  1210. package/resources/messaging/index.d.ts.map +1 -0
  1211. package/resources/messaging/index.js +25 -0
  1212. package/resources/messaging/index.js.map +1 -0
  1213. package/resources/messaging/index.mjs +12 -0
  1214. package/resources/messaging/index.mjs.map +1 -0
  1215. package/resources/messaging/messages/actions.d.mts +110 -0
  1216. package/resources/messaging/messages/actions.d.mts.map +1 -0
  1217. package/resources/messaging/messages/actions.d.ts +110 -0
  1218. package/resources/messaging/messages/actions.d.ts.map +1 -0
  1219. package/resources/messaging/messages/actions.js +95 -0
  1220. package/resources/messaging/messages/actions.js.map +1 -0
  1221. package/resources/messaging/messages/actions.mjs +91 -0
  1222. package/resources/messaging/messages/actions.mjs.map +1 -0
  1223. package/resources/messaging/messages/index.d.mts +3 -0
  1224. package/resources/messaging/messages/index.d.mts.map +1 -0
  1225. package/resources/messaging/messages/index.d.ts +3 -0
  1226. package/resources/messaging/messages/index.d.ts.map +1 -0
  1227. package/resources/messaging/messages/index.js +9 -0
  1228. package/resources/messaging/messages/index.js.map +1 -0
  1229. package/resources/messaging/messages/index.mjs +4 -0
  1230. package/resources/messaging/messages/index.mjs.map +1 -0
  1231. package/resources/messaging/messages/messages.d.mts +70 -0
  1232. package/resources/messaging/messages/messages.d.mts.map +1 -0
  1233. package/resources/messaging/messages/messages.d.ts +70 -0
  1234. package/resources/messaging/messages/messages.d.ts.map +1 -0
  1235. package/resources/messaging/messages/messages.js +45 -0
  1236. package/resources/messaging/messages/messages.js.map +1 -0
  1237. package/resources/messaging/messages/messages.mjs +40 -0
  1238. package/resources/messaging/messages/messages.mjs.map +1 -0
  1239. package/resources/messaging/messages.d.mts +2 -0
  1240. package/resources/messaging/messages.d.mts.map +1 -0
  1241. package/resources/messaging/messages.d.ts +2 -0
  1242. package/resources/messaging/messages.d.ts.map +1 -0
  1243. package/resources/messaging/messages.js +6 -0
  1244. package/resources/messaging/messages.js.map +1 -0
  1245. package/resources/messaging/messages.mjs +3 -0
  1246. package/resources/messaging/messages.mjs.map +1 -0
  1247. package/resources/messaging/messaging.d.mts +123 -0
  1248. package/resources/messaging/messaging.d.mts.map +1 -0
  1249. package/resources/messaging/messaging.d.ts +123 -0
  1250. package/resources/messaging/messaging.d.ts.map +1 -0
  1251. package/resources/messaging/messaging.js +78 -0
  1252. package/resources/messaging/messaging.js.map +1 -0
  1253. package/resources/messaging/messaging.mjs +73 -0
  1254. package/resources/messaging/messaging.mjs.map +1 -0
  1255. package/resources/messaging/notifications/actions.d.mts +105 -0
  1256. package/resources/messaging/notifications/actions.d.mts.map +1 -0
  1257. package/resources/messaging/notifications/actions.d.ts +105 -0
  1258. package/resources/messaging/notifications/actions.d.ts.map +1 -0
  1259. package/resources/messaging/notifications/actions.js +102 -0
  1260. package/resources/messaging/notifications/actions.js.map +1 -0
  1261. package/resources/messaging/notifications/actions.mjs +98 -0
  1262. package/resources/messaging/notifications/actions.mjs.map +1 -0
  1263. package/resources/messaging/notifications/index.d.mts +3 -0
  1264. package/resources/messaging/notifications/index.d.mts.map +1 -0
  1265. package/resources/messaging/notifications/index.d.ts +3 -0
  1266. package/resources/messaging/notifications/index.d.ts.map +1 -0
  1267. package/resources/messaging/notifications/index.js +9 -0
  1268. package/resources/messaging/notifications/index.js.map +1 -0
  1269. package/resources/messaging/notifications/index.mjs +4 -0
  1270. package/resources/messaging/notifications/index.mjs.map +1 -0
  1271. package/resources/messaging/notifications/notifications.d.mts +502 -0
  1272. package/resources/messaging/notifications/notifications.d.mts.map +1 -0
  1273. package/resources/messaging/notifications/notifications.d.ts +502 -0
  1274. package/resources/messaging/notifications/notifications.d.ts.map +1 -0
  1275. package/resources/messaging/notifications/notifications.js +129 -0
  1276. package/resources/messaging/notifications/notifications.js.map +1 -0
  1277. package/resources/messaging/notifications/notifications.mjs +124 -0
  1278. package/resources/messaging/notifications/notifications.mjs.map +1 -0
  1279. package/resources/messaging/notifications.d.mts +2 -0
  1280. package/resources/messaging/notifications.d.mts.map +1 -0
  1281. package/resources/messaging/notifications.d.ts +2 -0
  1282. package/resources/messaging/notifications.d.ts.map +1 -0
  1283. package/resources/messaging/notifications.js +6 -0
  1284. package/resources/messaging/notifications.js.map +1 -0
  1285. package/resources/messaging/notifications.mjs +3 -0
  1286. package/resources/messaging/notifications.mjs.map +1 -0
  1287. package/resources/messaging/preferences.d.mts +243 -0
  1288. package/resources/messaging/preferences.d.mts.map +1 -0
  1289. package/resources/messaging/preferences.d.ts +243 -0
  1290. package/resources/messaging/preferences.d.ts.map +1 -0
  1291. package/resources/messaging/preferences.js +56 -0
  1292. package/resources/messaging/preferences.js.map +1 -0
  1293. package/resources/messaging/preferences.mjs +52 -0
  1294. package/resources/messaging/preferences.mjs.map +1 -0
  1295. package/resources/messaging.d.mts +2 -0
  1296. package/resources/messaging.d.mts.map +1 -0
  1297. package/resources/messaging.d.ts +2 -0
  1298. package/resources/messaging.d.ts.map +1 -0
  1299. package/resources/messaging.js +6 -0
  1300. package/resources/messaging.js.map +1 -0
  1301. package/resources/messaging.mjs +3 -0
  1302. package/resources/messaging.mjs.map +1 -0
  1303. package/resources/operations/carriers/carriers.d.mts +278 -0
  1304. package/resources/operations/carriers/carriers.d.mts.map +1 -0
  1305. package/resources/operations/carriers/carriers.d.ts +278 -0
  1306. package/resources/operations/carriers/carriers.d.ts.map +1 -0
  1307. package/resources/operations/carriers/carriers.js +121 -0
  1308. package/resources/operations/carriers/carriers.js.map +1 -0
  1309. package/resources/operations/carriers/carriers.mjs +116 -0
  1310. package/resources/operations/carriers/carriers.mjs.map +1 -0
  1311. package/resources/operations/carriers/index.d.mts +3 -0
  1312. package/resources/operations/carriers/index.d.mts.map +1 -0
  1313. package/resources/operations/carriers/index.d.ts +3 -0
  1314. package/resources/operations/carriers/index.d.ts.map +1 -0
  1315. package/resources/operations/carriers/index.js +9 -0
  1316. package/resources/operations/carriers/index.js.map +1 -0
  1317. package/resources/operations/carriers/index.mjs +4 -0
  1318. package/resources/operations/carriers/index.mjs.map +1 -0
  1319. package/resources/operations/carriers/service-levels.d.mts +330 -0
  1320. package/resources/operations/carriers/service-levels.d.mts.map +1 -0
  1321. package/resources/operations/carriers/service-levels.d.ts +330 -0
  1322. package/resources/operations/carriers/service-levels.d.ts.map +1 -0
  1323. package/resources/operations/carriers/service-levels.js +141 -0
  1324. package/resources/operations/carriers/service-levels.js.map +1 -0
  1325. package/resources/operations/carriers/service-levels.mjs +137 -0
  1326. package/resources/operations/carriers/service-levels.mjs.map +1 -0
  1327. package/resources/operations/carriers.d.mts +2 -0
  1328. package/resources/operations/carriers.d.mts.map +1 -0
  1329. package/resources/operations/carriers.d.ts +2 -0
  1330. package/resources/operations/carriers.d.ts.map +1 -0
  1331. package/resources/operations/carriers.js +6 -0
  1332. package/resources/operations/carriers.js.map +1 -0
  1333. package/resources/operations/carriers.mjs +3 -0
  1334. package/resources/operations/carriers.mjs.map +1 -0
  1335. package/resources/operations/demand-overrides.d.mts +638 -0
  1336. package/resources/operations/demand-overrides.d.mts.map +1 -0
  1337. package/resources/operations/demand-overrides.d.ts +638 -0
  1338. package/resources/operations/demand-overrides.d.ts.map +1 -0
  1339. package/resources/operations/demand-overrides.js +130 -0
  1340. package/resources/operations/demand-overrides.js.map +1 -0
  1341. package/resources/operations/demand-overrides.mjs +126 -0
  1342. package/resources/operations/demand-overrides.mjs.map +1 -0
  1343. package/resources/operations/departments.d.mts +332 -0
  1344. package/resources/operations/departments.d.mts.map +1 -0
  1345. package/resources/operations/departments.d.ts +332 -0
  1346. package/resources/operations/departments.d.ts.map +1 -0
  1347. package/resources/operations/departments.js +115 -0
  1348. package/resources/operations/departments.js.map +1 -0
  1349. package/resources/operations/departments.mjs +111 -0
  1350. package/resources/operations/departments.mjs.map +1 -0
  1351. package/resources/operations/fulfillment-recommendations/actions.d.mts +59 -0
  1352. package/resources/operations/fulfillment-recommendations/actions.d.mts.map +1 -0
  1353. package/resources/operations/fulfillment-recommendations/actions.d.ts +59 -0
  1354. package/resources/operations/fulfillment-recommendations/actions.d.ts.map +1 -0
  1355. package/resources/operations/fulfillment-recommendations/actions.js +40 -0
  1356. package/resources/operations/fulfillment-recommendations/actions.js.map +1 -0
  1357. package/resources/operations/fulfillment-recommendations/actions.mjs +36 -0
  1358. package/resources/operations/fulfillment-recommendations/actions.mjs.map +1 -0
  1359. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.d.mts +165 -0
  1360. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.d.mts.map +1 -0
  1361. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.d.ts +165 -0
  1362. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.d.ts.map +1 -0
  1363. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.js +52 -0
  1364. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.js.map +1 -0
  1365. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.mjs +47 -0
  1366. package/resources/operations/fulfillment-recommendations/fulfillment-recommendations.mjs.map +1 -0
  1367. package/resources/operations/fulfillment-recommendations/index.d.mts +3 -0
  1368. package/resources/operations/fulfillment-recommendations/index.d.mts.map +1 -0
  1369. package/resources/operations/fulfillment-recommendations/index.d.ts +3 -0
  1370. package/resources/operations/fulfillment-recommendations/index.d.ts.map +1 -0
  1371. package/resources/operations/fulfillment-recommendations/index.js +9 -0
  1372. package/resources/operations/fulfillment-recommendations/index.js.map +1 -0
  1373. package/resources/operations/fulfillment-recommendations/index.mjs +4 -0
  1374. package/resources/operations/fulfillment-recommendations/index.mjs.map +1 -0
  1375. package/resources/operations/fulfillment-recommendations.d.mts +2 -0
  1376. package/resources/operations/fulfillment-recommendations.d.mts.map +1 -0
  1377. package/resources/operations/fulfillment-recommendations.d.ts +2 -0
  1378. package/resources/operations/fulfillment-recommendations.d.ts.map +1 -0
  1379. package/resources/operations/fulfillment-recommendations.js +6 -0
  1380. package/resources/operations/fulfillment-recommendations.js.map +1 -0
  1381. package/resources/operations/fulfillment-recommendations.mjs +3 -0
  1382. package/resources/operations/fulfillment-recommendations.mjs.map +1 -0
  1383. package/resources/operations/index.d.mts +16 -0
  1384. package/resources/operations/index.d.mts.map +1 -0
  1385. package/resources/operations/index.d.ts +16 -0
  1386. package/resources/operations/index.d.ts.map +1 -0
  1387. package/resources/operations/index.js +35 -0
  1388. package/resources/operations/index.js.map +1 -0
  1389. package/resources/operations/index.mjs +17 -0
  1390. package/resources/operations/index.mjs.map +1 -0
  1391. package/resources/operations/location-types.d.mts +123 -0
  1392. package/resources/operations/location-types.d.mts.map +1 -0
  1393. package/resources/operations/location-types.d.ts +123 -0
  1394. package/resources/operations/location-types.d.ts.map +1 -0
  1395. package/resources/operations/location-types.js +47 -0
  1396. package/resources/operations/location-types.js.map +1 -0
  1397. package/resources/operations/location-types.mjs +43 -0
  1398. package/resources/operations/location-types.mjs.map +1 -0
  1399. package/resources/operations/locations/actions.d.mts +72 -0
  1400. package/resources/operations/locations/actions.d.mts.map +1 -0
  1401. package/resources/operations/locations/actions.d.ts +72 -0
  1402. package/resources/operations/locations/actions.d.ts.map +1 -0
  1403. package/resources/operations/locations/actions.js +32 -0
  1404. package/resources/operations/locations/actions.js.map +1 -0
  1405. package/resources/operations/locations/actions.mjs +28 -0
  1406. package/resources/operations/locations/actions.mjs.map +1 -0
  1407. package/resources/operations/locations/index.d.mts +3 -0
  1408. package/resources/operations/locations/index.d.mts.map +1 -0
  1409. package/resources/operations/locations/index.d.ts +3 -0
  1410. package/resources/operations/locations/index.d.ts.map +1 -0
  1411. package/resources/operations/locations/index.js +9 -0
  1412. package/resources/operations/locations/index.js.map +1 -0
  1413. package/resources/operations/locations/index.mjs +4 -0
  1414. package/resources/operations/locations/index.mjs.map +1 -0
  1415. package/resources/operations/locations/locations.d.mts +273 -0
  1416. package/resources/operations/locations/locations.d.mts.map +1 -0
  1417. package/resources/operations/locations/locations.d.ts +273 -0
  1418. package/resources/operations/locations/locations.d.ts.map +1 -0
  1419. package/resources/operations/locations/locations.js +113 -0
  1420. package/resources/operations/locations/locations.js.map +1 -0
  1421. package/resources/operations/locations/locations.mjs +108 -0
  1422. package/resources/operations/locations/locations.mjs.map +1 -0
  1423. package/resources/operations/locations.d.mts +2 -0
  1424. package/resources/operations/locations.d.mts.map +1 -0
  1425. package/resources/operations/locations.d.ts +2 -0
  1426. package/resources/operations/locations.d.ts.map +1 -0
  1427. package/resources/operations/locations.js +6 -0
  1428. package/resources/operations/locations.js.map +1 -0
  1429. package/resources/operations/locations.mjs +3 -0
  1430. package/resources/operations/locations.mjs.map +1 -0
  1431. package/resources/operations/machine-downtime-events.d.mts +572 -0
  1432. package/resources/operations/machine-downtime-events.d.mts.map +1 -0
  1433. package/resources/operations/machine-downtime-events.d.ts +572 -0
  1434. package/resources/operations/machine-downtime-events.d.ts.map +1 -0
  1435. package/resources/operations/machine-downtime-events.js +129 -0
  1436. package/resources/operations/machine-downtime-events.js.map +1 -0
  1437. package/resources/operations/machine-downtime-events.mjs +125 -0
  1438. package/resources/operations/machine-downtime-events.mjs.map +1 -0
  1439. package/resources/operations/machines.d.mts +223 -0
  1440. package/resources/operations/machines.d.mts.map +1 -0
  1441. package/resources/operations/machines.d.ts +223 -0
  1442. package/resources/operations/machines.d.ts.map +1 -0
  1443. package/resources/operations/machines.js +106 -0
  1444. package/resources/operations/machines.js.map +1 -0
  1445. package/resources/operations/machines.mjs +102 -0
  1446. package/resources/operations/machines.mjs.map +1 -0
  1447. package/resources/operations/operating-calendars/closures.d.mts +173 -0
  1448. package/resources/operations/operating-calendars/closures.d.mts.map +1 -0
  1449. package/resources/operations/operating-calendars/closures.d.ts +173 -0
  1450. package/resources/operations/operating-calendars/closures.d.ts.map +1 -0
  1451. package/resources/operations/operating-calendars/closures.js +81 -0
  1452. package/resources/operations/operating-calendars/closures.js.map +1 -0
  1453. package/resources/operations/operating-calendars/closures.mjs +77 -0
  1454. package/resources/operations/operating-calendars/closures.mjs.map +1 -0
  1455. package/resources/operations/operating-calendars/index.d.mts +3 -0
  1456. package/resources/operations/operating-calendars/index.d.mts.map +1 -0
  1457. package/resources/operations/operating-calendars/index.d.ts +3 -0
  1458. package/resources/operations/operating-calendars/index.d.ts.map +1 -0
  1459. package/resources/operations/operating-calendars/index.js +9 -0
  1460. package/resources/operations/operating-calendars/index.js.map +1 -0
  1461. package/resources/operations/operating-calendars/index.mjs +4 -0
  1462. package/resources/operations/operating-calendars/index.mjs.map +1 -0
  1463. package/resources/operations/operating-calendars/operating-calendars.d.mts +332 -0
  1464. package/resources/operations/operating-calendars/operating-calendars.d.mts.map +1 -0
  1465. package/resources/operations/operating-calendars/operating-calendars.d.ts +332 -0
  1466. package/resources/operations/operating-calendars/operating-calendars.d.ts.map +1 -0
  1467. package/resources/operations/operating-calendars/operating-calendars.js +129 -0
  1468. package/resources/operations/operating-calendars/operating-calendars.js.map +1 -0
  1469. package/resources/operations/operating-calendars/operating-calendars.mjs +124 -0
  1470. package/resources/operations/operating-calendars/operating-calendars.mjs.map +1 -0
  1471. package/resources/operations/operating-calendars.d.mts +2 -0
  1472. package/resources/operations/operating-calendars.d.mts.map +1 -0
  1473. package/resources/operations/operating-calendars.d.ts +2 -0
  1474. package/resources/operations/operating-calendars.d.ts.map +1 -0
  1475. package/resources/operations/operating-calendars.js +6 -0
  1476. package/resources/operations/operating-calendars.js.map +1 -0
  1477. package/resources/operations/operating-calendars.mjs +3 -0
  1478. package/resources/operations/operating-calendars.mjs.map +1 -0
  1479. package/resources/operations/operations.d.mts +556 -0
  1480. package/resources/operations/operations.d.mts.map +1 -0
  1481. package/resources/operations/operations.d.ts +556 -0
  1482. package/resources/operations/operations.d.ts.map +1 -0
  1483. package/resources/operations/operations.js +151 -0
  1484. package/resources/operations/operations.js.map +1 -0
  1485. package/resources/operations/operations.mjs +146 -0
  1486. package/resources/operations/operations.mjs.map +1 -0
  1487. package/resources/operations/production-schedule-settings/index.d.mts +4 -0
  1488. package/resources/operations/production-schedule-settings/index.d.mts.map +1 -0
  1489. package/resources/operations/production-schedule-settings/index.d.ts +4 -0
  1490. package/resources/operations/production-schedule-settings/index.d.ts.map +1 -0
  1491. package/resources/operations/production-schedule-settings/index.js +11 -0
  1492. package/resources/operations/production-schedule-settings/index.js.map +1 -0
  1493. package/resources/operations/production-schedule-settings/index.mjs +5 -0
  1494. package/resources/operations/production-schedule-settings/index.mjs.map +1 -0
  1495. package/resources/operations/production-schedule-settings/items.d.mts +228 -0
  1496. package/resources/operations/production-schedule-settings/items.d.mts.map +1 -0
  1497. package/resources/operations/production-schedule-settings/items.d.ts +228 -0
  1498. package/resources/operations/production-schedule-settings/items.d.ts.map +1 -0
  1499. package/resources/operations/production-schedule-settings/items.js +109 -0
  1500. package/resources/operations/production-schedule-settings/items.js.map +1 -0
  1501. package/resources/operations/production-schedule-settings/items.mjs +105 -0
  1502. package/resources/operations/production-schedule-settings/items.mjs.map +1 -0
  1503. package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts +806 -0
  1504. package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts.map +1 -0
  1505. package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts +806 -0
  1506. package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts.map +1 -0
  1507. package/resources/operations/production-schedule-settings/production-schedule-settings.js +103 -0
  1508. package/resources/operations/production-schedule-settings/production-schedule-settings.js.map +1 -0
  1509. package/resources/operations/production-schedule-settings/production-schedule-settings.mjs +98 -0
  1510. package/resources/operations/production-schedule-settings/production-schedule-settings.mjs.map +1 -0
  1511. package/resources/operations/production-schedule-settings/resources.d.mts +231 -0
  1512. package/resources/operations/production-schedule-settings/resources.d.mts.map +1 -0
  1513. package/resources/operations/production-schedule-settings/resources.d.ts +231 -0
  1514. package/resources/operations/production-schedule-settings/resources.d.ts.map +1 -0
  1515. package/resources/operations/production-schedule-settings/resources.js +88 -0
  1516. package/resources/operations/production-schedule-settings/resources.js.map +1 -0
  1517. package/resources/operations/production-schedule-settings/resources.mjs +84 -0
  1518. package/resources/operations/production-schedule-settings/resources.mjs.map +1 -0
  1519. package/resources/operations/production-schedule-settings.d.mts +2 -0
  1520. package/resources/operations/production-schedule-settings.d.mts.map +1 -0
  1521. package/resources/operations/production-schedule-settings.d.ts +2 -0
  1522. package/resources/operations/production-schedule-settings.d.ts.map +1 -0
  1523. package/resources/operations/production-schedule-settings.js +6 -0
  1524. package/resources/operations/production-schedule-settings.js.map +1 -0
  1525. package/resources/operations/production-schedule-settings.mjs +3 -0
  1526. package/resources/operations/production-schedule-settings.mjs.map +1 -0
  1527. package/resources/operations/production-schedules/actions.d.mts +890 -0
  1528. package/resources/operations/production-schedules/actions.d.mts.map +1 -0
  1529. package/resources/operations/production-schedules/actions.d.ts +890 -0
  1530. package/resources/operations/production-schedules/actions.d.ts.map +1 -0
  1531. package/resources/operations/production-schedules/actions.js +216 -0
  1532. package/resources/operations/production-schedules/actions.js.map +1 -0
  1533. package/resources/operations/production-schedules/actions.mjs +212 -0
  1534. package/resources/operations/production-schedules/actions.mjs.map +1 -0
  1535. package/resources/operations/production-schedules/index.d.mts +4 -0
  1536. package/resources/operations/production-schedules/index.d.mts.map +1 -0
  1537. package/resources/operations/production-schedules/index.d.ts +4 -0
  1538. package/resources/operations/production-schedules/index.d.ts.map +1 -0
  1539. package/resources/operations/production-schedules/index.js +11 -0
  1540. package/resources/operations/production-schedules/index.js.map +1 -0
  1541. package/resources/operations/production-schedules/index.mjs +5 -0
  1542. package/resources/operations/production-schedules/index.mjs.map +1 -0
  1543. package/resources/operations/production-schedules/lines.d.mts +526 -0
  1544. package/resources/operations/production-schedules/lines.d.mts.map +1 -0
  1545. package/resources/operations/production-schedules/lines.d.ts +526 -0
  1546. package/resources/operations/production-schedules/lines.d.ts.map +1 -0
  1547. package/resources/operations/production-schedules/lines.js +119 -0
  1548. package/resources/operations/production-schedules/lines.js.map +1 -0
  1549. package/resources/operations/production-schedules/lines.mjs +115 -0
  1550. package/resources/operations/production-schedules/lines.mjs.map +1 -0
  1551. package/resources/operations/production-schedules/production-schedules.d.mts +1926 -0
  1552. package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -0
  1553. package/resources/operations/production-schedules/production-schedules.d.ts +1926 -0
  1554. package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -0
  1555. package/resources/operations/production-schedules/production-schedules.js +330 -0
  1556. package/resources/operations/production-schedules/production-schedules.js.map +1 -0
  1557. package/resources/operations/production-schedules/production-schedules.mjs +325 -0
  1558. package/resources/operations/production-schedules/production-schedules.mjs.map +1 -0
  1559. package/resources/operations/production-schedules.d.mts +2 -0
  1560. package/resources/operations/production-schedules.d.mts.map +1 -0
  1561. package/resources/operations/production-schedules.d.ts +2 -0
  1562. package/resources/operations/production-schedules.d.ts.map +1 -0
  1563. package/resources/operations/production-schedules.js +6 -0
  1564. package/resources/operations/production-schedules.js.map +1 -0
  1565. package/resources/operations/production-schedules.mjs +3 -0
  1566. package/resources/operations/production-schedules.mjs.map +1 -0
  1567. package/resources/operations/scanning-stations.d.mts +341 -0
  1568. package/resources/operations/scanning-stations.d.mts.map +1 -0
  1569. package/resources/operations/scanning-stations.d.ts +341 -0
  1570. package/resources/operations/scanning-stations.d.ts.map +1 -0
  1571. package/resources/operations/scanning-stations.js +126 -0
  1572. package/resources/operations/scanning-stations.js.map +1 -0
  1573. package/resources/operations/scanning-stations.mjs +122 -0
  1574. package/resources/operations/scanning-stations.mjs.map +1 -0
  1575. package/resources/operations/shipments/actions.d.mts +282 -0
  1576. package/resources/operations/shipments/actions.d.mts.map +1 -0
  1577. package/resources/operations/shipments/actions.d.ts +282 -0
  1578. package/resources/operations/shipments/actions.d.ts.map +1 -0
  1579. package/resources/operations/shipments/actions.js +65 -0
  1580. package/resources/operations/shipments/actions.js.map +1 -0
  1581. package/resources/operations/shipments/actions.mjs +61 -0
  1582. package/resources/operations/shipments/actions.mjs.map +1 -0
  1583. package/resources/operations/shipments/index.d.mts +3 -0
  1584. package/resources/operations/shipments/index.d.mts.map +1 -0
  1585. package/resources/operations/shipments/index.d.ts +3 -0
  1586. package/resources/operations/shipments/index.d.ts.map +1 -0
  1587. package/resources/operations/shipments/index.js +9 -0
  1588. package/resources/operations/shipments/index.js.map +1 -0
  1589. package/resources/operations/shipments/index.mjs +4 -0
  1590. package/resources/operations/shipments/index.mjs.map +1 -0
  1591. package/resources/operations/shipments/shipments.d.mts +10 -0
  1592. package/resources/operations/shipments/shipments.d.mts.map +1 -0
  1593. package/resources/operations/shipments/shipments.d.ts +10 -0
  1594. package/resources/operations/shipments/shipments.d.ts.map +1 -0
  1595. package/resources/operations/shipments/shipments.js +17 -0
  1596. package/resources/operations/shipments/shipments.js.map +1 -0
  1597. package/resources/operations/shipments/shipments.mjs +12 -0
  1598. package/resources/operations/shipments/shipments.mjs.map +1 -0
  1599. package/resources/operations/shipments.d.mts +2 -0
  1600. package/resources/operations/shipments.d.mts.map +1 -0
  1601. package/resources/operations/shipments.d.ts +2 -0
  1602. package/resources/operations/shipments.d.ts.map +1 -0
  1603. package/resources/operations/shipments.js +6 -0
  1604. package/resources/operations/shipments.js.map +1 -0
  1605. package/resources/operations/shipments.mjs +3 -0
  1606. package/resources/operations/shipments.mjs.map +1 -0
  1607. package/resources/operations/shipping-terms.d.mts +359 -0
  1608. package/resources/operations/shipping-terms.d.mts.map +1 -0
  1609. package/resources/operations/shipping-terms.d.ts +359 -0
  1610. package/resources/operations/shipping-terms.d.ts.map +1 -0
  1611. package/resources/operations/shipping-terms.js +137 -0
  1612. package/resources/operations/shipping-terms.js.map +1 -0
  1613. package/resources/operations/shipping-terms.mjs +133 -0
  1614. package/resources/operations/shipping-terms.mjs.map +1 -0
  1615. package/resources/operations.d.mts +2 -0
  1616. package/resources/operations.d.mts.map +1 -0
  1617. package/resources/operations.d.ts +2 -0
  1618. package/resources/operations.d.ts.map +1 -0
  1619. package/resources/operations.js +6 -0
  1620. package/resources/operations.js.map +1 -0
  1621. package/resources/operations.mjs +3 -0
  1622. package/resources/operations.mjs.map +1 -0
  1623. package/resources/sales/account-groups.d.mts +405 -0
  1624. package/resources/sales/account-groups.d.mts.map +1 -0
  1625. package/resources/sales/account-groups.d.ts +405 -0
  1626. package/resources/sales/account-groups.d.ts.map +1 -0
  1627. package/resources/sales/account-groups.js +122 -0
  1628. package/resources/sales/account-groups.js.map +1 -0
  1629. package/resources/sales/account-groups.mjs +118 -0
  1630. package/resources/sales/account-groups.mjs.map +1 -0
  1631. package/resources/sales/account-prices/account-prices.d.mts +1008 -0
  1632. package/resources/sales/account-prices/account-prices.d.mts.map +1 -0
  1633. package/resources/sales/account-prices/account-prices.d.ts +1008 -0
  1634. package/resources/sales/account-prices/account-prices.d.ts.map +1 -0
  1635. package/resources/sales/account-prices/account-prices.js +143 -0
  1636. package/resources/sales/account-prices/account-prices.js.map +1 -0
  1637. package/resources/sales/account-prices/account-prices.mjs +138 -0
  1638. package/resources/sales/account-prices/account-prices.mjs.map +1 -0
  1639. package/resources/sales/account-prices/actions.d.mts +58 -0
  1640. package/resources/sales/account-prices/actions.d.mts.map +1 -0
  1641. package/resources/sales/account-prices/actions.d.ts +58 -0
  1642. package/resources/sales/account-prices/actions.d.ts.map +1 -0
  1643. package/resources/sales/account-prices/actions.js +44 -0
  1644. package/resources/sales/account-prices/actions.js.map +1 -0
  1645. package/resources/sales/account-prices/actions.mjs +40 -0
  1646. package/resources/sales/account-prices/actions.mjs.map +1 -0
  1647. package/resources/sales/account-prices/index.d.mts +3 -0
  1648. package/resources/sales/account-prices/index.d.mts.map +1 -0
  1649. package/resources/sales/account-prices/index.d.ts +3 -0
  1650. package/resources/sales/account-prices/index.d.ts.map +1 -0
  1651. package/resources/sales/account-prices/index.js +9 -0
  1652. package/resources/sales/account-prices/index.js.map +1 -0
  1653. package/resources/sales/account-prices/index.mjs +4 -0
  1654. package/resources/sales/account-prices/index.mjs.map +1 -0
  1655. package/resources/sales/account-prices.d.mts +2 -0
  1656. package/resources/sales/account-prices.d.mts.map +1 -0
  1657. package/resources/sales/account-prices.d.ts +2 -0
  1658. package/resources/sales/account-prices.d.ts.map +1 -0
  1659. package/resources/sales/account-prices.js +6 -0
  1660. package/resources/sales/account-prices.js.map +1 -0
  1661. package/resources/sales/account-prices.mjs +3 -0
  1662. package/resources/sales/account-prices.mjs.map +1 -0
  1663. package/resources/sales/account-statuses.d.mts +143 -0
  1664. package/resources/sales/account-statuses.d.mts.map +1 -0
  1665. package/resources/sales/account-statuses.d.ts +143 -0
  1666. package/resources/sales/account-statuses.d.ts.map +1 -0
  1667. package/resources/sales/account-statuses.js +44 -0
  1668. package/resources/sales/account-statuses.js.map +1 -0
  1669. package/resources/sales/account-statuses.mjs +40 -0
  1670. package/resources/sales/account-statuses.mjs.map +1 -0
  1671. package/resources/sales/account-users/account-users.d.mts +10 -0
  1672. package/resources/sales/account-users/account-users.d.mts.map +1 -0
  1673. package/resources/sales/account-users/account-users.d.ts +10 -0
  1674. package/resources/sales/account-users/account-users.d.ts.map +1 -0
  1675. package/resources/sales/account-users/account-users.js +17 -0
  1676. package/resources/sales/account-users/account-users.js.map +1 -0
  1677. package/resources/sales/account-users/account-users.mjs +12 -0
  1678. package/resources/sales/account-users/account-users.mjs.map +1 -0
  1679. package/resources/sales/account-users/index.d.mts +3 -0
  1680. package/resources/sales/account-users/index.d.mts.map +1 -0
  1681. package/resources/sales/account-users/index.d.ts +3 -0
  1682. package/resources/sales/account-users/index.d.ts.map +1 -0
  1683. package/resources/sales/account-users/index.js +9 -0
  1684. package/resources/sales/account-users/index.js.map +1 -0
  1685. package/resources/sales/account-users/index.mjs +4 -0
  1686. package/resources/sales/account-users/index.mjs.map +1 -0
  1687. package/resources/sales/account-users/sales-targets.d.mts +285 -0
  1688. package/resources/sales/account-users/sales-targets.d.mts.map +1 -0
  1689. package/resources/sales/account-users/sales-targets.d.ts +285 -0
  1690. package/resources/sales/account-users/sales-targets.d.ts.map +1 -0
  1691. package/resources/sales/account-users/sales-targets.js +98 -0
  1692. package/resources/sales/account-users/sales-targets.js.map +1 -0
  1693. package/resources/sales/account-users/sales-targets.mjs +94 -0
  1694. package/resources/sales/account-users/sales-targets.mjs.map +1 -0
  1695. package/resources/sales/account-users.d.mts +2 -0
  1696. package/resources/sales/account-users.d.mts.map +1 -0
  1697. package/resources/sales/account-users.d.ts +2 -0
  1698. package/resources/sales/account-users.d.ts.map +1 -0
  1699. package/resources/sales/account-users.js +6 -0
  1700. package/resources/sales/account-users.js.map +1 -0
  1701. package/resources/sales/account-users.mjs +3 -0
  1702. package/resources/sales/account-users.mjs.map +1 -0
  1703. package/resources/sales/addresses.d.mts +394 -0
  1704. package/resources/sales/addresses.d.mts.map +1 -0
  1705. package/resources/sales/addresses.d.ts +394 -0
  1706. package/resources/sales/addresses.d.ts.map +1 -0
  1707. package/resources/sales/addresses.js +126 -0
  1708. package/resources/sales/addresses.js.map +1 -0
  1709. package/resources/sales/addresses.mjs +122 -0
  1710. package/resources/sales/addresses.mjs.map +1 -0
  1711. package/resources/sales/contacts/actions.d.mts +137 -0
  1712. package/resources/sales/contacts/actions.d.mts.map +1 -0
  1713. package/resources/sales/contacts/actions.d.ts +137 -0
  1714. package/resources/sales/contacts/actions.d.ts.map +1 -0
  1715. package/resources/sales/contacts/actions.js +40 -0
  1716. package/resources/sales/contacts/actions.js.map +1 -0
  1717. package/resources/sales/contacts/actions.mjs +36 -0
  1718. package/resources/sales/contacts/actions.mjs.map +1 -0
  1719. package/resources/sales/contacts/contacts.d.mts +10 -0
  1720. package/resources/sales/contacts/contacts.d.mts.map +1 -0
  1721. package/resources/sales/contacts/contacts.d.ts +10 -0
  1722. package/resources/sales/contacts/contacts.d.ts.map +1 -0
  1723. package/resources/sales/contacts/contacts.js +17 -0
  1724. package/resources/sales/contacts/contacts.js.map +1 -0
  1725. package/resources/sales/contacts/contacts.mjs +12 -0
  1726. package/resources/sales/contacts/contacts.mjs.map +1 -0
  1727. package/resources/sales/contacts/index.d.mts +3 -0
  1728. package/resources/sales/contacts/index.d.mts.map +1 -0
  1729. package/resources/sales/contacts/index.d.ts +3 -0
  1730. package/resources/sales/contacts/index.d.ts.map +1 -0
  1731. package/resources/sales/contacts/index.js +9 -0
  1732. package/resources/sales/contacts/index.js.map +1 -0
  1733. package/resources/sales/contacts/index.mjs +4 -0
  1734. package/resources/sales/contacts/index.mjs.map +1 -0
  1735. package/resources/sales/contacts.d.mts +2 -0
  1736. package/resources/sales/contacts.d.mts.map +1 -0
  1737. package/resources/sales/contacts.d.ts +2 -0
  1738. package/resources/sales/contacts.d.ts.map +1 -0
  1739. package/resources/sales/contacts.js +6 -0
  1740. package/resources/sales/contacts.js.map +1 -0
  1741. package/resources/sales/contacts.mjs +3 -0
  1742. package/resources/sales/contacts.mjs.map +1 -0
  1743. package/resources/sales/customers/actions.d.mts +63 -0
  1744. package/resources/sales/customers/actions.d.mts.map +1 -0
  1745. package/resources/sales/customers/actions.d.ts +63 -0
  1746. package/resources/sales/customers/actions.d.ts.map +1 -0
  1747. package/resources/sales/customers/actions.js +44 -0
  1748. package/resources/sales/customers/actions.js.map +1 -0
  1749. package/resources/sales/customers/actions.mjs +40 -0
  1750. package/resources/sales/customers/actions.mjs.map +1 -0
  1751. package/resources/sales/customers/customers.d.mts +973 -0
  1752. package/resources/sales/customers/customers.d.mts.map +1 -0
  1753. package/resources/sales/customers/customers.d.ts +973 -0
  1754. package/resources/sales/customers/customers.d.ts.map +1 -0
  1755. package/resources/sales/customers/customers.js +196 -0
  1756. package/resources/sales/customers/customers.js.map +1 -0
  1757. package/resources/sales/customers/customers.mjs +191 -0
  1758. package/resources/sales/customers/customers.mjs.map +1 -0
  1759. package/resources/sales/customers/index.d.mts +3 -0
  1760. package/resources/sales/customers/index.d.mts.map +1 -0
  1761. package/resources/sales/customers/index.d.ts +3 -0
  1762. package/resources/sales/customers/index.d.ts.map +1 -0
  1763. package/resources/sales/customers/index.js +9 -0
  1764. package/resources/sales/customers/index.js.map +1 -0
  1765. package/resources/sales/customers/index.mjs +4 -0
  1766. package/resources/sales/customers/index.mjs.map +1 -0
  1767. package/resources/sales/customers.d.mts +2 -0
  1768. package/resources/sales/customers.d.mts.map +1 -0
  1769. package/resources/sales/customers.d.ts +2 -0
  1770. package/resources/sales/customers.d.ts.map +1 -0
  1771. package/resources/sales/customers.js +6 -0
  1772. package/resources/sales/customers.js.map +1 -0
  1773. package/resources/sales/customers.mjs +3 -0
  1774. package/resources/sales/customers.mjs.map +1 -0
  1775. package/resources/sales/index.d.mts +13 -0
  1776. package/resources/sales/index.d.mts.map +1 -0
  1777. package/resources/sales/index.d.ts +13 -0
  1778. package/resources/sales/index.d.ts.map +1 -0
  1779. package/resources/sales/index.js +29 -0
  1780. package/resources/sales/index.js.map +1 -0
  1781. package/resources/sales/index.mjs +14 -0
  1782. package/resources/sales/index.mjs.map +1 -0
  1783. package/resources/sales/order-discounts/actions.d.mts +85 -0
  1784. package/resources/sales/order-discounts/actions.d.mts.map +1 -0
  1785. package/resources/sales/order-discounts/actions.d.ts +85 -0
  1786. package/resources/sales/order-discounts/actions.d.ts.map +1 -0
  1787. package/resources/sales/order-discounts/actions.js +35 -0
  1788. package/resources/sales/order-discounts/actions.js.map +1 -0
  1789. package/resources/sales/order-discounts/actions.mjs +31 -0
  1790. package/resources/sales/order-discounts/actions.mjs.map +1 -0
  1791. package/resources/sales/order-discounts/index.d.mts +3 -0
  1792. package/resources/sales/order-discounts/index.d.mts.map +1 -0
  1793. package/resources/sales/order-discounts/index.d.ts +3 -0
  1794. package/resources/sales/order-discounts/index.d.ts.map +1 -0
  1795. package/resources/sales/order-discounts/index.js +9 -0
  1796. package/resources/sales/order-discounts/index.js.map +1 -0
  1797. package/resources/sales/order-discounts/index.mjs +4 -0
  1798. package/resources/sales/order-discounts/index.mjs.map +1 -0
  1799. package/resources/sales/order-discounts/order-discounts.d.mts +365 -0
  1800. package/resources/sales/order-discounts/order-discounts.d.mts.map +1 -0
  1801. package/resources/sales/order-discounts/order-discounts.d.ts +365 -0
  1802. package/resources/sales/order-discounts/order-discounts.d.ts.map +1 -0
  1803. package/resources/sales/order-discounts/order-discounts.js +125 -0
  1804. package/resources/sales/order-discounts/order-discounts.js.map +1 -0
  1805. package/resources/sales/order-discounts/order-discounts.mjs +120 -0
  1806. package/resources/sales/order-discounts/order-discounts.mjs.map +1 -0
  1807. package/resources/sales/order-discounts.d.mts +2 -0
  1808. package/resources/sales/order-discounts.d.mts.map +1 -0
  1809. package/resources/sales/order-discounts.d.ts +2 -0
  1810. package/resources/sales/order-discounts.d.ts.map +1 -0
  1811. package/resources/sales/order-discounts.js +6 -0
  1812. package/resources/sales/order-discounts.js.map +1 -0
  1813. package/resources/sales/order-discounts.mjs +3 -0
  1814. package/resources/sales/order-discounts.mjs.map +1 -0
  1815. package/resources/sales/priorities.d.mts +101 -0
  1816. package/resources/sales/priorities.d.mts.map +1 -0
  1817. package/resources/sales/priorities.d.ts +101 -0
  1818. package/resources/sales/priorities.d.ts.map +1 -0
  1819. package/resources/sales/priorities.js +48 -0
  1820. package/resources/sales/priorities.js.map +1 -0
  1821. package/resources/sales/priorities.mjs +44 -0
  1822. package/resources/sales/priorities.mjs.map +1 -0
  1823. package/resources/sales/sales-orders/actions.d.mts +490 -0
  1824. package/resources/sales/sales-orders/actions.d.mts.map +1 -0
  1825. package/resources/sales/sales-orders/actions.d.ts +490 -0
  1826. package/resources/sales/sales-orders/actions.d.ts.map +1 -0
  1827. package/resources/sales/sales-orders/actions.js +205 -0
  1828. package/resources/sales/sales-orders/actions.js.map +1 -0
  1829. package/resources/sales/sales-orders/actions.mjs +201 -0
  1830. package/resources/sales/sales-orders/actions.mjs.map +1 -0
  1831. package/resources/sales/sales-orders/index.d.mts +4 -0
  1832. package/resources/sales/sales-orders/index.d.mts.map +1 -0
  1833. package/resources/sales/sales-orders/index.d.ts +4 -0
  1834. package/resources/sales/sales-orders/index.d.ts.map +1 -0
  1835. package/resources/sales/sales-orders/index.js +11 -0
  1836. package/resources/sales/sales-orders/index.js.map +1 -0
  1837. package/resources/sales/sales-orders/index.mjs +5 -0
  1838. package/resources/sales/sales-orders/index.mjs.map +1 -0
  1839. package/resources/sales/sales-orders/lines/actions.d.mts +58 -0
  1840. package/resources/sales/sales-orders/lines/actions.d.mts.map +1 -0
  1841. package/resources/sales/sales-orders/lines/actions.d.ts +58 -0
  1842. package/resources/sales/sales-orders/lines/actions.d.ts.map +1 -0
  1843. package/resources/sales/sales-orders/lines/actions.js +36 -0
  1844. package/resources/sales/sales-orders/lines/actions.js.map +1 -0
  1845. package/resources/sales/sales-orders/lines/actions.mjs +32 -0
  1846. package/resources/sales/sales-orders/lines/actions.mjs.map +1 -0
  1847. package/resources/sales/sales-orders/lines/index.d.mts +3 -0
  1848. package/resources/sales/sales-orders/lines/index.d.mts.map +1 -0
  1849. package/resources/sales/sales-orders/lines/index.d.ts +3 -0
  1850. package/resources/sales/sales-orders/lines/index.d.ts.map +1 -0
  1851. package/resources/sales/sales-orders/lines/index.js +9 -0
  1852. package/resources/sales/sales-orders/lines/index.js.map +1 -0
  1853. package/resources/sales/sales-orders/lines/index.mjs +4 -0
  1854. package/resources/sales/sales-orders/lines/index.mjs.map +1 -0
  1855. package/resources/sales/sales-orders/lines/lines.d.mts +246 -0
  1856. package/resources/sales/sales-orders/lines/lines.d.mts.map +1 -0
  1857. package/resources/sales/sales-orders/lines/lines.d.ts +246 -0
  1858. package/resources/sales/sales-orders/lines/lines.d.ts.map +1 -0
  1859. package/resources/sales/sales-orders/lines/lines.js +113 -0
  1860. package/resources/sales/sales-orders/lines/lines.js.map +1 -0
  1861. package/resources/sales/sales-orders/lines/lines.mjs +108 -0
  1862. package/resources/sales/sales-orders/lines/lines.mjs.map +1 -0
  1863. package/resources/sales/sales-orders/lines.d.mts +2 -0
  1864. package/resources/sales/sales-orders/lines.d.mts.map +1 -0
  1865. package/resources/sales/sales-orders/lines.d.ts +2 -0
  1866. package/resources/sales/sales-orders/lines.d.ts.map +1 -0
  1867. package/resources/sales/sales-orders/lines.js +6 -0
  1868. package/resources/sales/sales-orders/lines.js.map +1 -0
  1869. package/resources/sales/sales-orders/lines.mjs +3 -0
  1870. package/resources/sales/sales-orders/lines.mjs.map +1 -0
  1871. package/resources/sales/sales-orders/sales-orders.d.mts +1750 -0
  1872. package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -0
  1873. package/resources/sales/sales-orders/sales-orders.d.ts +1750 -0
  1874. package/resources/sales/sales-orders/sales-orders.d.ts.map +1 -0
  1875. package/resources/sales/sales-orders/sales-orders.js +221 -0
  1876. package/resources/sales/sales-orders/sales-orders.js.map +1 -0
  1877. package/resources/sales/sales-orders/sales-orders.mjs +216 -0
  1878. package/resources/sales/sales-orders/sales-orders.mjs.map +1 -0
  1879. package/resources/sales/sales-orders.d.mts +2 -0
  1880. package/resources/sales/sales-orders.d.mts.map +1 -0
  1881. package/resources/sales/sales-orders.d.ts +2 -0
  1882. package/resources/sales/sales-orders.d.ts.map +1 -0
  1883. package/resources/sales/sales-orders.js +6 -0
  1884. package/resources/sales/sales-orders.js.map +1 -0
  1885. package/resources/sales/sales-orders.mjs +3 -0
  1886. package/resources/sales/sales-orders.mjs.map +1 -0
  1887. package/resources/sales/sales.d.mts +50 -0
  1888. package/resources/sales/sales.d.mts.map +1 -0
  1889. package/resources/sales/sales.d.ts +50 -0
  1890. package/resources/sales/sales.d.ts.map +1 -0
  1891. package/resources/sales/sales.js +57 -0
  1892. package/resources/sales/sales.js.map +1 -0
  1893. package/resources/sales/sales.mjs +52 -0
  1894. package/resources/sales/sales.mjs.map +1 -0
  1895. package/resources/sales/volume-discounts.d.mts +684 -0
  1896. package/resources/sales/volume-discounts.d.mts.map +1 -0
  1897. package/resources/sales/volume-discounts.d.ts +684 -0
  1898. package/resources/sales/volume-discounts.d.ts.map +1 -0
  1899. package/resources/sales/volume-discounts.js +152 -0
  1900. package/resources/sales/volume-discounts.js.map +1 -0
  1901. package/resources/sales/volume-discounts.mjs +148 -0
  1902. package/resources/sales/volume-discounts.mjs.map +1 -0
  1903. package/resources/sales.d.mts +2 -0
  1904. package/resources/sales.d.mts.map +1 -0
  1905. package/resources/sales.d.ts +2 -0
  1906. package/resources/sales.d.ts.map +1 -0
  1907. package/resources/sales.js +6 -0
  1908. package/resources/sales.js.map +1 -0
  1909. package/resources/sales.mjs +3 -0
  1910. package/resources/sales.mjs.map +1 -0
  1911. package/resources/settings/index.d.mts +4 -0
  1912. package/resources/settings/index.d.mts.map +1 -0
  1913. package/resources/settings/index.d.ts +4 -0
  1914. package/resources/settings/index.d.ts.map +1 -0
  1915. package/resources/settings/index.js +11 -0
  1916. package/resources/settings/index.js.map +1 -0
  1917. package/resources/settings/index.mjs +5 -0
  1918. package/resources/settings/index.mjs.map +1 -0
  1919. package/resources/settings/integrations.d.mts +273 -0
  1920. package/resources/settings/integrations.d.mts.map +1 -0
  1921. package/resources/settings/integrations.d.ts +273 -0
  1922. package/resources/settings/integrations.d.ts.map +1 -0
  1923. package/resources/settings/integrations.js +102 -0
  1924. package/resources/settings/integrations.js.map +1 -0
  1925. package/resources/settings/integrations.mjs +98 -0
  1926. package/resources/settings/integrations.mjs.map +1 -0
  1927. package/resources/settings/portal-domains/actions.d.mts +31 -0
  1928. package/resources/settings/portal-domains/actions.d.mts.map +1 -0
  1929. package/resources/settings/portal-domains/actions.d.ts +31 -0
  1930. package/resources/settings/portal-domains/actions.d.ts.map +1 -0
  1931. package/resources/settings/portal-domains/actions.js +36 -0
  1932. package/resources/settings/portal-domains/actions.js.map +1 -0
  1933. package/resources/settings/portal-domains/actions.mjs +32 -0
  1934. package/resources/settings/portal-domains/actions.mjs.map +1 -0
  1935. package/resources/settings/portal-domains/index.d.mts +3 -0
  1936. package/resources/settings/portal-domains/index.d.mts.map +1 -0
  1937. package/resources/settings/portal-domains/index.d.ts +3 -0
  1938. package/resources/settings/portal-domains/index.d.ts.map +1 -0
  1939. package/resources/settings/portal-domains/index.js +9 -0
  1940. package/resources/settings/portal-domains/index.js.map +1 -0
  1941. package/resources/settings/portal-domains/index.mjs +4 -0
  1942. package/resources/settings/portal-domains/index.mjs.map +1 -0
  1943. package/resources/settings/portal-domains/portal-domains.d.mts +254 -0
  1944. package/resources/settings/portal-domains/portal-domains.d.mts.map +1 -0
  1945. package/resources/settings/portal-domains/portal-domains.d.ts +254 -0
  1946. package/resources/settings/portal-domains/portal-domains.d.ts.map +1 -0
  1947. package/resources/settings/portal-domains/portal-domains.js +104 -0
  1948. package/resources/settings/portal-domains/portal-domains.js.map +1 -0
  1949. package/resources/settings/portal-domains/portal-domains.mjs +99 -0
  1950. package/resources/settings/portal-domains/portal-domains.mjs.map +1 -0
  1951. package/resources/settings/portal-domains.d.mts +2 -0
  1952. package/resources/settings/portal-domains.d.mts.map +1 -0
  1953. package/resources/settings/portal-domains.d.ts +2 -0
  1954. package/resources/settings/portal-domains.d.ts.map +1 -0
  1955. package/resources/settings/portal-domains.js +6 -0
  1956. package/resources/settings/portal-domains.js.map +1 -0
  1957. package/resources/settings/portal-domains.mjs +3 -0
  1958. package/resources/settings/portal-domains.mjs.map +1 -0
  1959. package/resources/settings/settings.d.mts +14 -0
  1960. package/resources/settings/settings.d.mts.map +1 -0
  1961. package/resources/settings/settings.d.ts +14 -0
  1962. package/resources/settings/settings.d.ts.map +1 -0
  1963. package/resources/settings/settings.js +21 -0
  1964. package/resources/settings/settings.js.map +1 -0
  1965. package/resources/settings/settings.mjs +16 -0
  1966. package/resources/settings/settings.mjs.map +1 -0
  1967. package/resources/settings.d.mts +2 -0
  1968. package/resources/settings.d.mts.map +1 -0
  1969. package/resources/settings.d.ts +2 -0
  1970. package/resources/settings.d.ts.map +1 -0
  1971. package/resources/settings.js +6 -0
  1972. package/resources/settings.js.map +1 -0
  1973. package/resources/settings.mjs +3 -0
  1974. package/resources/settings.mjs.map +1 -0
  1975. package/resources.d.mts +2 -0
  1976. package/resources.d.mts.map +1 -0
  1977. package/resources.d.ts +2 -0
  1978. package/resources.d.ts.map +1 -0
  1979. package/resources.js +5 -0
  1980. package/resources.js.map +1 -0
  1981. package/resources.mjs +2 -0
  1982. package/resources.mjs.map +1 -0
  1983. package/src/api-promise.ts +2 -0
  1984. package/src/client.ts +918 -0
  1985. package/src/core/README.md +3 -0
  1986. package/src/core/api-promise.ts +92 -0
  1987. package/src/core/error.ts +130 -0
  1988. package/src/core/resource.ts +11 -0
  1989. package/src/core/uploads.ts +2 -0
  1990. package/src/error.ts +2 -0
  1991. package/src/index.ts +22 -0
  1992. package/src/internal/README.md +3 -0
  1993. package/src/internal/builtin-types.ts +93 -0
  1994. package/src/internal/errors.ts +33 -0
  1995. package/src/internal/headers.ts +97 -0
  1996. package/src/internal/parse.ts +56 -0
  1997. package/src/internal/qs/LICENSE.md +13 -0
  1998. package/src/internal/qs/README.md +3 -0
  1999. package/src/internal/qs/formats.ts +10 -0
  2000. package/src/internal/qs/index.ts +13 -0
  2001. package/src/internal/qs/stringify.ts +385 -0
  2002. package/src/internal/qs/types.ts +71 -0
  2003. package/src/internal/qs/utils.ts +265 -0
  2004. package/src/internal/request-options.ts +91 -0
  2005. package/src/internal/shim-types.ts +26 -0
  2006. package/src/internal/shims.ts +107 -0
  2007. package/src/internal/to-file.ts +154 -0
  2008. package/src/internal/types.ts +93 -0
  2009. package/src/internal/uploads.ts +187 -0
  2010. package/src/internal/utils/base64.ts +40 -0
  2011. package/src/internal/utils/bytes.ts +32 -0
  2012. package/src/internal/utils/env.ts +18 -0
  2013. package/src/internal/utils/log.ts +128 -0
  2014. package/src/internal/utils/path.ts +88 -0
  2015. package/src/internal/utils/query.ts +7 -0
  2016. package/src/internal/utils/sleep.ts +3 -0
  2017. package/src/internal/utils/uuid.ts +17 -0
  2018. package/src/internal/utils/values.ts +105 -0
  2019. package/src/internal/utils.ts +9 -0
  2020. package/src/lib/.keep +4 -0
  2021. package/src/resource.ts +2 -0
  2022. package/src/resources/ai/agents.ts +981 -0
  2023. package/src/resources/ai/ai.ts +399 -0
  2024. package/src/resources/ai/index.ts +56 -0
  2025. package/src/resources/ai/memories.ts +517 -0
  2026. package/src/resources/ai/runs/actions.ts +227 -0
  2027. package/src/resources/ai/runs/index.ts +22 -0
  2028. package/src/resources/ai/runs/runs.ts +608 -0
  2029. package/src/resources/ai/runs.ts +3 -0
  2030. package/src/resources/ai.ts +3 -0
  2031. package/src/resources/auth/api-keys/actions.ts +103 -0
  2032. package/src/resources/auth/api-keys/api-keys.ts +776 -0
  2033. package/src/resources/auth/api-keys/index.ts +22 -0
  2034. package/src/resources/auth/api-keys.ts +3 -0
  2035. package/src/resources/auth/auth.ts +51 -0
  2036. package/src/resources/auth/index.ts +22 -0
  2037. package/src/resources/auth.ts +3 -0
  2038. package/src/resources/catalog/catalog.ts +277 -0
  2039. package/src/resources/catalog/index.ts +119 -0
  2040. package/src/resources/catalog/item-categories/actions.ts +124 -0
  2041. package/src/resources/catalog/item-categories/index.ts +29 -0
  2042. package/src/resources/catalog/item-categories/item-categories.ts +429 -0
  2043. package/src/resources/catalog/item-categories/properties.ts +93 -0
  2044. package/src/resources/catalog/item-categories.ts +3 -0
  2045. package/src/resources/catalog/items/actions.ts +296 -0
  2046. package/src/resources/catalog/items/attributes.ts +127 -0
  2047. package/src/resources/catalog/items/index.ts +38 -0
  2048. package/src/resources/catalog/items/inventory.ts +294 -0
  2049. package/src/resources/catalog/items/items.ts +623 -0
  2050. package/src/resources/catalog/items.ts +3 -0
  2051. package/src/resources/catalog/materials/actions.ts +152 -0
  2052. package/src/resources/catalog/materials/index.ts +23 -0
  2053. package/src/resources/catalog/materials/materials.ts +678 -0
  2054. package/src/resources/catalog/materials.ts +3 -0
  2055. package/src/resources/catalog/parts/actions.ts +140 -0
  2056. package/src/resources/catalog/parts/index.ts +20 -0
  2057. package/src/resources/catalog/parts/parts.ts +482 -0
  2058. package/src/resources/catalog/parts.ts +3 -0
  2059. package/src/resources/catalog/product-lines/actions.ts +109 -0
  2060. package/src/resources/catalog/product-lines/index.ts +20 -0
  2061. package/src/resources/catalog/product-lines/product-lines.ts +592 -0
  2062. package/src/resources/catalog/product-lines.ts +3 -0
  2063. package/src/resources/catalog/products/actions.ts +159 -0
  2064. package/src/resources/catalog/products/index.ts +22 -0
  2065. package/src/resources/catalog/products/products.ts +818 -0
  2066. package/src/resources/catalog/products.ts +3 -0
  2067. package/src/resources/catalog/properties/actions.ts +113 -0
  2068. package/src/resources/catalog/properties/attributes.ts +316 -0
  2069. package/src/resources/catalog/properties/index.ts +34 -0
  2070. package/src/resources/catalog/properties/properties.ts +421 -0
  2071. package/src/resources/catalog/properties.ts +3 -0
  2072. package/src/resources/catalog/unit-groups/actions.ts +150 -0
  2073. package/src/resources/catalog/unit-groups/index.ts +36 -0
  2074. package/src/resources/catalog/unit-groups/unit-groups.ts +610 -0
  2075. package/src/resources/catalog/unit-groups/units.ts +352 -0
  2076. package/src/resources/catalog/unit-groups.ts +3 -0
  2077. package/src/resources/catalog/units/actions.ts +122 -0
  2078. package/src/resources/catalog/units/index.ts +20 -0
  2079. package/src/resources/catalog/units/units.ts +547 -0
  2080. package/src/resources/catalog/units.ts +3 -0
  2081. package/src/resources/catalog.ts +3 -0
  2082. package/src/resources/core/actions.ts +89 -0
  2083. package/src/resources/core/addresses/actions.ts +210 -0
  2084. package/src/resources/core/addresses/addresses.ts +144 -0
  2085. package/src/resources/core/addresses/index.ts +15 -0
  2086. package/src/resources/core/addresses.ts +3 -0
  2087. package/src/resources/core/analytics.ts +1428 -0
  2088. package/src/resources/core/audit-events.ts +1658 -0
  2089. package/src/resources/core/core.ts +977 -0
  2090. package/src/resources/core/email-logs.ts +186 -0
  2091. package/src/resources/core/index.ts +95 -0
  2092. package/src/resources/core/jobs.ts +683 -0
  2093. package/src/resources/core/request-logs.ts +540 -0
  2094. package/src/resources/core/sandboxes.ts +262 -0
  2095. package/src/resources/core.ts +3 -0
  2096. package/src/resources/finance/finance.ts +377 -0
  2097. package/src/resources/finance/index.ts +25 -0
  2098. package/src/resources/finance/payment-terms.ts +268 -0
  2099. package/src/resources/finance.ts +3 -0
  2100. package/src/resources/identity/account-users/account-users.ts +550 -0
  2101. package/src/resources/identity/account-users/actions.ts +96 -0
  2102. package/src/resources/identity/account-users/index.ts +19 -0
  2103. package/src/resources/identity/account-users.ts +3 -0
  2104. package/src/resources/identity/accounts.ts +40 -0
  2105. package/src/resources/identity/identity.ts +296 -0
  2106. package/src/resources/identity/index.ts +33 -0
  2107. package/src/resources/identity/roles.ts +309 -0
  2108. package/src/resources/identity.ts +3 -0
  2109. package/src/resources/index.ts +52 -0
  2110. package/src/resources/messaging/announcements/actions.ts +137 -0
  2111. package/src/resources/messaging/announcements/announcements.ts +273 -0
  2112. package/src/resources/messaging/announcements/index.ts +10 -0
  2113. package/src/resources/messaging/announcements.ts +3 -0
  2114. package/src/resources/messaging/blocks.ts +935 -0
  2115. package/src/resources/messaging/conversations/actions.ts +836 -0
  2116. package/src/resources/messaging/conversations/attachments/actions.ts +138 -0
  2117. package/src/resources/messaging/conversations/attachments/attachments.ts +25 -0
  2118. package/src/resources/messaging/conversations/attachments/index.ts +9 -0
  2119. package/src/resources/messaging/conversations/attachments.ts +3 -0
  2120. package/src/resources/messaging/conversations/conversations.ts +2170 -0
  2121. package/src/resources/messaging/conversations/index.ts +70 -0
  2122. package/src/resources/messaging/conversations/links.ts +846 -0
  2123. package/src/resources/messaging/conversations/messages.ts +1124 -0
  2124. package/src/resources/messaging/conversations/participants/actions.ts +102 -0
  2125. package/src/resources/messaging/conversations/participants/index.ts +10 -0
  2126. package/src/resources/messaging/conversations/participants/participants.ts +167 -0
  2127. package/src/resources/messaging/conversations/participants.ts +3 -0
  2128. package/src/resources/messaging/conversations.ts +3 -0
  2129. package/src/resources/messaging/email-domains/actions.ts +35 -0
  2130. package/src/resources/messaging/email-domains/email-domains.ts +220 -0
  2131. package/src/resources/messaging/email-domains/index.ts +11 -0
  2132. package/src/resources/messaging/email-domains.ts +3 -0
  2133. package/src/resources/messaging/email-inboxes.ts +543 -0
  2134. package/src/resources/messaging/groups/groups.ts +223 -0
  2135. package/src/resources/messaging/groups/index.ts +17 -0
  2136. package/src/resources/messaging/groups/members.ts +124 -0
  2137. package/src/resources/messaging/groups.ts +3 -0
  2138. package/src/resources/messaging/index.ts +106 -0
  2139. package/src/resources/messaging/messages/actions.ts +199 -0
  2140. package/src/resources/messaging/messages/index.ts +10 -0
  2141. package/src/resources/messaging/messages/messages.ts +116 -0
  2142. package/src/resources/messaging/messages.ts +3 -0
  2143. package/src/resources/messaging/messaging.ts +353 -0
  2144. package/src/resources/messaging/notifications/actions.ts +152 -0
  2145. package/src/resources/messaging/notifications/index.ts +24 -0
  2146. package/src/resources/messaging/notifications/notifications.ts +1255 -0
  2147. package/src/resources/messaging/notifications.ts +3 -0
  2148. package/src/resources/messaging/preferences.ts +278 -0
  2149. package/src/resources/messaging.ts +3 -0
  2150. package/src/resources/operations/carriers/carriers.ts +361 -0
  2151. package/src/resources/operations/carriers/index.ts +24 -0
  2152. package/src/resources/operations/carriers/service-levels.ts +422 -0
  2153. package/src/resources/operations/carriers.ts +3 -0
  2154. package/src/resources/operations/demand-overrides.ts +801 -0
  2155. package/src/resources/operations/departments.ts +414 -0
  2156. package/src/resources/operations/fulfillment-recommendations/actions.ts +75 -0
  2157. package/src/resources/operations/fulfillment-recommendations/fulfillment-recommendations.ts +206 -0
  2158. package/src/resources/operations/fulfillment-recommendations/index.ts +8 -0
  2159. package/src/resources/operations/fulfillment-recommendations.ts +3 -0
  2160. package/src/resources/operations/index.ts +171 -0
  2161. package/src/resources/operations/location-types.ts +151 -0
  2162. package/src/resources/operations/locations/actions.ts +93 -0
  2163. package/src/resources/operations/locations/index.ts +18 -0
  2164. package/src/resources/operations/locations/locations.ts +344 -0
  2165. package/src/resources/operations/locations.ts +3 -0
  2166. package/src/resources/operations/machine-downtime-events.ts +738 -0
  2167. package/src/resources/operations/machines.ts +282 -0
  2168. package/src/resources/operations/operating-calendars/closures.ts +223 -0
  2169. package/src/resources/operations/operating-calendars/index.ts +23 -0
  2170. package/src/resources/operations/operating-calendars/operating-calendars.ts +427 -0
  2171. package/src/resources/operations/operating-calendars.ts +3 -0
  2172. package/src/resources/operations/operations.ts +982 -0
  2173. package/src/resources/operations/production-schedule-settings/index.ts +23 -0
  2174. package/src/resources/operations/production-schedule-settings/items.ts +273 -0
  2175. package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts +959 -0
  2176. package/src/resources/operations/production-schedule-settings/resources.ts +272 -0
  2177. package/src/resources/operations/production-schedule-settings.ts +3 -0
  2178. package/src/resources/operations/production-schedules/actions.ts +1064 -0
  2179. package/src/resources/operations/production-schedules/index.ts +74 -0
  2180. package/src/resources/operations/production-schedules/lines.ts +690 -0
  2181. package/src/resources/operations/production-schedules/production-schedules.ts +2408 -0
  2182. package/src/resources/operations/production-schedules.ts +3 -0
  2183. package/src/resources/operations/scanning-stations.ts +418 -0
  2184. package/src/resources/operations/shipments/actions.ts +322 -0
  2185. package/src/resources/operations/shipments/index.ts +12 -0
  2186. package/src/resources/operations/shipments/shipments.ts +31 -0
  2187. package/src/resources/operations/shipments.ts +3 -0
  2188. package/src/resources/operations/shipping-terms.ts +444 -0
  2189. package/src/resources/operations.ts +3 -0
  2190. package/src/resources/sales/account-groups.ts +478 -0
  2191. package/src/resources/sales/account-prices/account-prices.ts +1201 -0
  2192. package/src/resources/sales/account-prices/actions.ts +74 -0
  2193. package/src/resources/sales/account-prices/index.ts +27 -0
  2194. package/src/resources/sales/account-prices.ts +3 -0
  2195. package/src/resources/sales/account-statuses.ts +179 -0
  2196. package/src/resources/sales/account-users/account-users.ts +33 -0
  2197. package/src/resources/sales/account-users/index.ts +13 -0
  2198. package/src/resources/sales/account-users/sales-targets.ts +348 -0
  2199. package/src/resources/sales/account-users.ts +3 -0
  2200. package/src/resources/sales/addresses.ts +475 -0
  2201. package/src/resources/sales/contacts/actions.ts +167 -0
  2202. package/src/resources/sales/contacts/contacts.ts +27 -0
  2203. package/src/resources/sales/contacts/index.ts +10 -0
  2204. package/src/resources/sales/contacts.ts +3 -0
  2205. package/src/resources/sales/customers/actions.ts +102 -0
  2206. package/src/resources/sales/customers/customers.ts +1250 -0
  2207. package/src/resources/sales/customers/index.ts +15 -0
  2208. package/src/resources/sales/customers.ts +3 -0
  2209. package/src/resources/sales/index.ts +138 -0
  2210. package/src/resources/sales/order-discounts/actions.ts +102 -0
  2211. package/src/resources/sales/order-discounts/index.ts +13 -0
  2212. package/src/resources/sales/order-discounts/order-discounts.ts +442 -0
  2213. package/src/resources/sales/order-discounts.ts +3 -0
  2214. package/src/resources/sales/priorities.ts +129 -0
  2215. package/src/resources/sales/sales-orders/actions.ts +601 -0
  2216. package/src/resources/sales/sales-orders/index.ts +63 -0
  2217. package/src/resources/sales/sales-orders/lines/actions.ts +74 -0
  2218. package/src/resources/sales/sales-orders/lines/index.ts +17 -0
  2219. package/src/resources/sales/sales-orders/lines/lines.ts +322 -0
  2220. package/src/resources/sales/sales-orders/lines.ts +3 -0
  2221. package/src/resources/sales/sales-orders/sales-orders.ts +2257 -0
  2222. package/src/resources/sales/sales-orders.ts +3 -0
  2223. package/src/resources/sales/sales.ts +318 -0
  2224. package/src/resources/sales/volume-discounts.ts +813 -0
  2225. package/src/resources/sales.ts +3 -0
  2226. package/src/resources/settings/index.ts +23 -0
  2227. package/src/resources/settings/integrations.ts +326 -0
  2228. package/src/resources/settings/portal-domains/actions.ts +36 -0
  2229. package/src/resources/settings/portal-domains/index.ts +13 -0
  2230. package/src/resources/settings/portal-domains/portal-domains.ts +302 -0
  2231. package/src/resources/settings/portal-domains.ts +3 -0
  2232. package/src/resources/settings/settings.ts +57 -0
  2233. package/src/resources/settings.ts +3 -0
  2234. package/src/resources.ts +1 -0
  2235. package/src/tsconfig.json +11 -0
  2236. package/src/uploads.ts +2 -0
  2237. package/src/version.ts +1 -0
  2238. package/uploads.d.mts +2 -0
  2239. package/uploads.d.mts.map +1 -0
  2240. package/uploads.d.ts +2 -0
  2241. package/uploads.d.ts.map +1 -0
  2242. package/uploads.js +6 -0
  2243. package/uploads.js.map +1 -0
  2244. package/uploads.mjs +2 -0
  2245. package/uploads.mjs.map +1 -0
  2246. package/version.d.mts +2 -0
  2247. package/version.d.mts.map +1 -0
  2248. package/version.d.ts +2 -0
  2249. package/version.d.ts.map +1 -0
  2250. package/version.js +5 -0
  2251. package/version.js.map +1 -0
  2252. package/version.mjs +2 -0
  2253. package/version.mjs.map +1 -0
@@ -0,0 +1,2408 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../core/resource';
4
+ import * as CoreAPI from '../../core/core';
5
+ import * as RequestLogsAPI from '../../core/request-logs';
6
+ import * as APIKeysAPI from '../../auth/api-keys/api-keys';
7
+ import * as ActionsAPI from './actions';
8
+ import {
9
+ ActionPreviewParams,
10
+ ActionPreviewRegenerateParams,
11
+ ActionRegenerateParams,
12
+ ActionReleaseWeekParams,
13
+ Actions,
14
+ ListScheduleCampaign,
15
+ ListScheduleDiffLine,
16
+ ListSchedulePolicy,
17
+ ListScheduleProjection,
18
+ PreviewProductionScheduleRequest,
19
+ PreviewRegenerateProductionScheduleRequest,
20
+ ProductionSchedulePreview,
21
+ ProductionScheduleRegeneratePreview,
22
+ RegenerateProductionScheduleRequest,
23
+ ReleaseProductionScheduleWeekRequest,
24
+ ReleaseScheduleWeekResult,
25
+ ScheduleCampaign,
26
+ ScheduleDiffLine,
27
+ SchedulePolicy,
28
+ ScheduleProjection,
29
+ } from './actions';
30
+ import * as LinesAPI from './lines';
31
+ import {
32
+ CreateProductionScheduleLineRequest,
33
+ LineCreateParams,
34
+ LineDeleteParams,
35
+ LineDeleteResponse,
36
+ LineListParams,
37
+ LineUpdateParams,
38
+ Lines,
39
+ ListProductionScheduleLine,
40
+ ProductionScheduleLine,
41
+ UpdateProductionScheduleLineRequest,
42
+ } from './lines';
43
+ import { APIPromise } from '../../../core/api-promise';
44
+ import { RequestOptions } from '../../../internal/request-options';
45
+ import { path } from '../../../internal/utils/path';
46
+
47
+ /**
48
+ * Generate and review machine-level production schedules.
49
+ */
50
+ export class ProductionSchedules extends APIResource {
51
+ lines: LinesAPI.Lines = new LinesAPI.Lines(this._client);
52
+ actions: ActionsAPI.Actions = new ActionsAPI.Actions(this._client);
53
+
54
+ /**
55
+ * Returns a paginated list of production schedule versions, newest first.
56
+ *
57
+ * This endpoint requires the permission: `production_schedules:read`.
58
+ *
59
+ * @example
60
+ * ```ts
61
+ * const listProductionSchedule =
62
+ * await client.operations.productionSchedules.list();
63
+ * ```
64
+ */
65
+ list(
66
+ query: ProductionScheduleListParams | null | undefined = {},
67
+ options?: RequestOptions,
68
+ ): APIPromise<ListProductionSchedule> {
69
+ return this._client.get('/v1/operations/production-schedules', { query, ...options });
70
+ }
71
+
72
+ /**
73
+ * Generates and saves a new production schedule.
74
+ *
75
+ * The plan is saved as a draft: nothing is frozen yet, so campaigns can be added,
76
+ * changed and removed without having to give a reason. Generating again creates a
77
+ * new version rather than replacing this one, because attainment is measured
78
+ * against whichever version was live at the time.
79
+ *
80
+ * The solver plans the constraint department — the room that sets the pace of the
81
+ * factory — so production schedule settings must name one and it must have
82
+ * machines that are included in planning. Without that there is nothing to
83
+ * schedule and the request is rejected rather than returning an empty plan.
84
+ *
85
+ * Alongside the campaigns, the version stores the assumptions it was solved with,
86
+ * the per-item policies behind each campaign, and the downstream department work
87
+ * implied by the plan.
88
+ *
89
+ * This endpoint requires the permission: `production_schedules:create`.
90
+ *
91
+ * @example
92
+ * ```ts
93
+ * const productionSchedule =
94
+ * await client.operations.productionSchedules.create({
95
+ * name: '2026-W31 knit plan',
96
+ * });
97
+ * ```
98
+ */
99
+ create(
100
+ body: ProductionScheduleCreateParams | null | undefined = {},
101
+ options?: RequestOptions,
102
+ ): APIPromise<ProductionSchedule> {
103
+ return this._client.post('/v1/operations/production-schedules', { body, ...options });
104
+ }
105
+
106
+ /**
107
+ * Returns the published schedule covering today.
108
+ *
109
+ * Responds 404 when no published version covers today, which is the normal state
110
+ * before the first schedule is published. Drafts are never returned here — a plan
111
+ * nobody has committed to is not the current plan.
112
+ *
113
+ * At most one version is ever current: publishing a new one supersedes every
114
+ * published version its horizon overlaps, so republishing mid-horizon takes over
115
+ * immediately.
116
+ *
117
+ * This endpoint requires the permission: `production_schedules:read`.
118
+ *
119
+ * @example
120
+ * ```ts
121
+ * const productionSchedule =
122
+ * await client.operations.productionSchedules.retrieveCurrent();
123
+ * ```
124
+ */
125
+ retrieveCurrent(options?: RequestOptions): APIPromise<ProductionSchedule> {
126
+ return this._client.get('/v1/operations/production-schedules/current', options);
127
+ }
128
+
129
+ /**
130
+ * Returns a single production schedule version.
131
+ *
132
+ * This endpoint requires the permission: `production_schedules:read`.
133
+ *
134
+ * @example
135
+ * ```ts
136
+ * const productionSchedule =
137
+ * await client.operations.productionSchedules.retrieve(
138
+ * 'pnsc_m4zt3z8g8src',
139
+ * );
140
+ * ```
141
+ */
142
+ retrieve(id: string, options?: RequestOptions): APIPromise<ProductionSchedule> {
143
+ return this._client.get(path`/v1/operations/production-schedules/${id}`, options);
144
+ }
145
+
146
+ /**
147
+ * Returns the per-item policy behind a schedule version, ordered by constraint run
148
+ * hours descending.
149
+ *
150
+ * This is the "why" behind every campaign: lot size, reorder point, safety stock
151
+ * and lead times as they stood when the plan was generated.
152
+ *
153
+ * This endpoint requires the permission: `production_schedules:read`.
154
+ *
155
+ * @example
156
+ * ```ts
157
+ * const listProductionScheduleItemPolicy =
158
+ * await client.operations.productionSchedules.retrieveItemPolicies(
159
+ * 'pnsc_m4zt3z8g8src',
160
+ * );
161
+ * ```
162
+ */
163
+ retrieveItemPolicies(id: string, options?: RequestOptions): APIPromise<ListProductionScheduleItemPolicy> {
164
+ return this._client.get(path`/v1/operations/production-schedules/${id}/item-policies`, options);
165
+ }
166
+
167
+ /**
168
+ * Returns the per-finished-SKU inventory targets behind a schedule version,
169
+ * grouped under the constraint item each one is made from.
170
+ *
171
+ * The item policies pool every finished good a constraint item feeds into one
172
+ * echelon figure, which is what the build decision is made against. These rows are
173
+ * what that pooling hides: each finished SKU's own demand, its own variability,
174
+ * its own stock, and a buffer sized against the finishing lead time rather than
175
+ * the constraint's.
176
+ *
177
+ * The two stages do not overlap, so together they describe the whole network's
178
+ * stock without counting any of it twice: the constraint stage holds its pooled
179
+ * buffer, and the finished stage holds these.
180
+ *
181
+ * This endpoint requires the permission: `production_schedules:read`.
182
+ *
183
+ * @example
184
+ * ```ts
185
+ * const listProductionScheduleFinishedPolicy =
186
+ * await client.operations.productionSchedules.retrieveFinishedPolicies(
187
+ * 'pnsc_m4zt3z8g8src',
188
+ * );
189
+ * ```
190
+ */
191
+ retrieveFinishedPolicies(
192
+ id: string,
193
+ options?: RequestOptions,
194
+ ): APIPromise<ListProductionScheduleFinishedPolicy> {
195
+ return this._client.get(path`/v1/operations/production-schedules/${id}/finished-policies`, options);
196
+ }
197
+
198
+ /**
199
+ * Returns the second stage of a schedule: how many of which finished good to make
200
+ * from the knitted parts, week by week.
201
+ *
202
+ * The constraint plan says how much greige to knit and deliberately does not say
203
+ * what to turn it into — a family's demand is pooled onto the greige precisely so
204
+ * the buffer can sit at the undifferentiated stage, where it is cheapest. These
205
+ * lines are where that pooling is undone, against each finished SKU's own stock
206
+ * position, its own orders, and the hours the rest of the factory has that week.
207
+ *
208
+ * Levelled, not merely allocated. Work that does not fit a week moves to the next
209
+ * one rather than being dropped, so the plan never asks the second stage for more
210
+ * hours than it has. Two things bound it, and they are reported separately in the
211
+ * schedule's diagnostics because they call for opposite responses: a SKU held back
212
+ * for want of greige is a knitting problem, and a SKU held back for want of hours
213
+ * is a finishing one.
214
+ *
215
+ * Everything is counted in the constraint item's unit, so `greige_consumed` here
216
+ * and `planned_quantity` on the constraint plan are directly comparable — which is
217
+ * what lets the two stages be reconciled rather than only read side by side.
218
+ *
219
+ * This endpoint requires the permission: `production_schedules:read`.
220
+ *
221
+ * @example
222
+ * ```ts
223
+ * const listProductionScheduleFinishingLine =
224
+ * await client.operations.productionSchedules.retrieveFinishingLines(
225
+ * 'pnsc_m4zt3z8g8src',
226
+ * );
227
+ * ```
228
+ */
229
+ retrieveFinishingLines(
230
+ id: string,
231
+ query: ProductionScheduleRetrieveFinishingLinesParams | null | undefined = {},
232
+ options?: RequestOptions,
233
+ ): APIPromise<ListProductionScheduleFinishingLine> {
234
+ return this._client.get(path`/v1/operations/production-schedules/${id}/finishing-lines`, {
235
+ query,
236
+ ...options,
237
+ });
238
+ }
239
+
240
+ /**
241
+ * Returns the department work implied by a schedule's constraint plan.
242
+ *
243
+ * The solver schedules only the constraint; every other department's work is
244
+ * derived from it by walking the production-step graph, applying each step's
245
+ * lead-time offset and yield. That makes this the work list a supervisor reads,
246
+ * rather than a second plan someone has to maintain.
247
+ *
248
+ * `explosion_depth` is how many steps downstream the work sits, which is what a
249
+ * readiness indicator keys off. Depth 0 is the constraint's own campaigns, so a
250
+ * plant with nothing configured downstream of its constraint still gets the work
251
+ * it actually scheduled. Work whose derived week falls past the schedule's horizon
252
+ * is still returned — a department needs to see it coming.
253
+ *
254
+ * This endpoint requires the permission: `production_schedules:read`.
255
+ *
256
+ * @example
257
+ * ```ts
258
+ * const listProductionScheduleDerivedLine =
259
+ * await client.operations.productionSchedules.retrieveDerivedLines(
260
+ * 'pnsc_m4zt3z8g8src',
261
+ * );
262
+ * ```
263
+ */
264
+ retrieveDerivedLines(
265
+ id: string,
266
+ query: ProductionScheduleRetrieveDerivedLinesParams | null | undefined = {},
267
+ options?: RequestOptions,
268
+ ): APIPromise<ListProductionScheduleDerivedLine> {
269
+ return this._client.get(path`/v1/operations/production-schedules/${id}/derived-lines`, {
270
+ query,
271
+ ...options,
272
+ });
273
+ }
274
+
275
+ /**
276
+ * Returns the customer commitments this schedule version does not meet, soonest
277
+ * first.
278
+ *
279
+ * Three ways an order lands here. `past_due` means the constraint stage needed to
280
+ * start before this plan begins. `undated` means the order carries no ship-by
281
+ * commitment at all, so it is treated as owed now. `short` means the plan simply
282
+ * does not build enough of it in time — the campaigns it does allocate are listed
283
+ * alongside, because building three hundred of five hundred is a different
284
+ * conversation from building none.
285
+ *
286
+ * Read from the version's own record rather than re-solved, so what comes back is
287
+ * what was decided when the plan was made. A version generated before commitments
288
+ * were tracked reports nothing, which is correct: it made no promises it could
289
+ * break.
290
+ *
291
+ * This endpoint requires the permission: `production_schedules:read`.
292
+ *
293
+ * @example
294
+ * ```ts
295
+ * const listScheduleOrderCoverage =
296
+ * await client.operations.productionSchedules.retrieveAtRiskOrders(
297
+ * 'pnsc_m4zt3z8g8src',
298
+ * );
299
+ * ```
300
+ */
301
+ retrieveAtRiskOrders(id: string, options?: RequestOptions): APIPromise<ListScheduleOrderCoverage> {
302
+ return this._client.get(path`/v1/operations/production-schedules/${id}/at-risk-orders`, options);
303
+ }
304
+
305
+ /**
306
+ * Returns the append-only log of hand changes made to a schedule, most recent
307
+ * first.
308
+ *
309
+ * This is what frozen-week adherence is measured from. A change recorded as frozen
310
+ * was inside the freeze window at the moment it was made, and stays that way
311
+ * regardless of what is published later.
312
+ *
313
+ * This endpoint requires the permission: `production_schedules:read`.
314
+ *
315
+ * @example
316
+ * ```ts
317
+ * const listProductionScheduleDeviation =
318
+ * await client.operations.productionSchedules.retrieveDeviations(
319
+ * 'pnsc_m4zt3z8g8src',
320
+ * );
321
+ * ```
322
+ */
323
+ retrieveDeviations(
324
+ id: string,
325
+ query: ProductionScheduleRetrieveDeviationsParams | null | undefined = {},
326
+ options?: RequestOptions,
327
+ ): APIPromise<ListProductionScheduleDeviation> {
328
+ return this._client.get(path`/v1/operations/production-schedules/${id}/deviations`, {
329
+ query,
330
+ ...options,
331
+ });
332
+ }
333
+
334
+ /**
335
+ * Returns what releasing a week would create, without creating it.
336
+ *
337
+ * The lots are resolved exactly as the release itself resolves them, so what a
338
+ * planner is shown and what the floor receives cannot drift apart.
339
+ *
340
+ * `is_releasable` is false when the week is empty or already released, with
341
+ * `blocked_reason` saying which; `existing_production_run_id` names the run a
342
+ * released week is already tied to.
343
+ *
344
+ * Cancelled campaigns and campaigns planned at zero are excluded here exactly as
345
+ * the release excludes them, so a week holding nothing but those previews as
346
+ * empty.
347
+ *
348
+ * Lots the floor is already holding are named as such. A batch with
349
+ * `carried_forward_from` set is a ticket an earlier week issued and nobody worked,
350
+ * which the release moves into the new run rather than reissuing, so nothing has
351
+ * to be reprinted.
352
+ *
353
+ * This endpoint requires the permission: `production_schedules:read`.
354
+ *
355
+ * @example
356
+ * ```ts
357
+ * const releaseScheduleWeekPreview =
358
+ * await client.operations.productionSchedules.retrieveWeekReleasePreview(
359
+ * 'pnsc_m4zt3z8g8src',
360
+ * );
361
+ * ```
362
+ */
363
+ retrieveWeekReleasePreview(
364
+ id: string,
365
+ query: ProductionScheduleRetrieveWeekReleasePreviewParams | null | undefined = {},
366
+ options?: RequestOptions,
367
+ ): APIPromise<ReleaseScheduleWeekPreview> {
368
+ return this._client.get(path`/v1/operations/production-schedules/${id}/week-release-preview`, {
369
+ query,
370
+ ...options,
371
+ });
372
+ }
373
+
374
+ /**
375
+ * Deletes a draft schedule along with its planned campaigns and its item policy
376
+ * snapshot.
377
+ *
378
+ * Only drafts can be deleted. A published version is the baseline attainment is
379
+ * measured against, so removing it would erase the record of what was promised —
380
+ * archive those instead.
381
+ *
382
+ * This endpoint requires the permission: `production_schedules:delete`.
383
+ *
384
+ * @example
385
+ * ```ts
386
+ * const productionSchedule =
387
+ * await client.operations.productionSchedules.delete(
388
+ * 'pnsc_m4zt3z8g8src',
389
+ * );
390
+ * ```
391
+ */
392
+ delete(id: string, options?: RequestOptions): APIPromise<ProductionScheduleDeleteResponse> {
393
+ return this._client.delete(path`/v1/operations/production-schedules/${id}`, options);
394
+ }
395
+ }
396
+
397
+ /**
398
+ * Request to generate a production schedule.
399
+ */
400
+ export interface GenerateProductionScheduleRequest {
401
+ /**
402
+ * How future demand is derived, overriding the account's configured basis for this
403
+ * version only.
404
+ *
405
+ * - `trailing_12`: demand is the trailing twelve months of orders.
406
+ * - `seasonal_ema`: demand is a seasonal exponential moving average, which follows
407
+ * a season arriving early or late rather than flattening it.
408
+ */
409
+ demand_basis?: 'trailing_12' | 'seasonal_ema';
410
+
411
+ /**
412
+ * Number of weeks the plan should cover, overriding the account's configured
413
+ * horizon for this version only.
414
+ */
415
+ horizon_weeks?: number;
416
+
417
+ /**
418
+ * Human-readable label for the version, such as the week it was cut for.
419
+ *
420
+ * Purely for recognising the version in a list; versions are numbered
421
+ * automatically and the number is what identifies them.
422
+ */
423
+ name?: string;
424
+
425
+ /**
426
+ * The instant to plan against, which is what stock, demand history and active
427
+ * demand overrides are read as of.
428
+ *
429
+ * Left unset, the plan is solved against the moment the request arrives. The
430
+ * horizon starts on the account's configured week-start day on or before this
431
+ * instant, so backdating this shifts the whole week grid.
432
+ */
433
+ planning_as_of?: string;
434
+ }
435
+
436
+ /**
437
+ * A single page of resources, together with the metadata needed to page through
438
+ * the rest of the result set.
439
+ */
440
+ export interface ListProductionSchedule {
441
+ /**
442
+ * Resources in this page.
443
+ */
444
+ data: Array<ProductionSchedule>;
445
+
446
+ /**
447
+ * Resource type identifier.
448
+ */
449
+ object: 'list';
450
+
451
+ /**
452
+ * PageInfo describes where the current page sits within a paginated result set and
453
+ * how to move to the adjacent pages.
454
+ *
455
+ * Page a list by following the URLs below rather than assembling cursors yourself.
456
+ * For a top-level list endpoint the URL repeats the original request's query
457
+ * string with only the cursor swapped, so following it preserves the same filters,
458
+ * search term, and page size.
459
+ */
460
+ page_info: APIKeysAPI.PageInfo;
461
+ }
462
+
463
+ /**
464
+ * A single page of resources, together with the metadata needed to page through
465
+ * the rest of the result set.
466
+ */
467
+ export interface ListProductionScheduleDerivedLine {
468
+ /**
469
+ * Resources in this page.
470
+ */
471
+ data: Array<ProductionScheduleDerivedLine>;
472
+
473
+ /**
474
+ * Resource type identifier.
475
+ */
476
+ object: 'list';
477
+
478
+ /**
479
+ * PageInfo describes where the current page sits within a paginated result set and
480
+ * how to move to the adjacent pages.
481
+ *
482
+ * Page a list by following the URLs below rather than assembling cursors yourself.
483
+ * For a top-level list endpoint the URL repeats the original request's query
484
+ * string with only the cursor swapped, so following it preserves the same filters,
485
+ * search term, and page size.
486
+ */
487
+ page_info: APIKeysAPI.PageInfo;
488
+ }
489
+
490
+ /**
491
+ * A single page of resources, together with the metadata needed to page through
492
+ * the rest of the result set.
493
+ */
494
+ export interface ListProductionScheduleDeviation {
495
+ /**
496
+ * Resources in this page.
497
+ */
498
+ data: Array<ProductionScheduleDeviation>;
499
+
500
+ /**
501
+ * Resource type identifier.
502
+ */
503
+ object: 'list';
504
+
505
+ /**
506
+ * PageInfo describes where the current page sits within a paginated result set and
507
+ * how to move to the adjacent pages.
508
+ *
509
+ * Page a list by following the URLs below rather than assembling cursors yourself.
510
+ * For a top-level list endpoint the URL repeats the original request's query
511
+ * string with only the cursor swapped, so following it preserves the same filters,
512
+ * search term, and page size.
513
+ */
514
+ page_info: APIKeysAPI.PageInfo;
515
+ }
516
+
517
+ /**
518
+ * A single page of resources, together with the metadata needed to page through
519
+ * the rest of the result set.
520
+ */
521
+ export interface ListProductionScheduleFinishedPolicy {
522
+ /**
523
+ * Resources in this page.
524
+ */
525
+ data: Array<ProductionScheduleFinishedPolicy>;
526
+
527
+ /**
528
+ * Resource type identifier.
529
+ */
530
+ object: 'list';
531
+
532
+ /**
533
+ * PageInfo describes where the current page sits within a paginated result set and
534
+ * how to move to the adjacent pages.
535
+ *
536
+ * Page a list by following the URLs below rather than assembling cursors yourself.
537
+ * For a top-level list endpoint the URL repeats the original request's query
538
+ * string with only the cursor swapped, so following it preserves the same filters,
539
+ * search term, and page size.
540
+ */
541
+ page_info: APIKeysAPI.PageInfo;
542
+ }
543
+
544
+ /**
545
+ * A single page of resources, together with the metadata needed to page through
546
+ * the rest of the result set.
547
+ */
548
+ export interface ListProductionScheduleFinishingLine {
549
+ /**
550
+ * Resources in this page.
551
+ */
552
+ data: Array<ProductionScheduleFinishingLine>;
553
+
554
+ /**
555
+ * Resource type identifier.
556
+ */
557
+ object: 'list';
558
+
559
+ /**
560
+ * PageInfo describes where the current page sits within a paginated result set and
561
+ * how to move to the adjacent pages.
562
+ *
563
+ * Page a list by following the URLs below rather than assembling cursors yourself.
564
+ * For a top-level list endpoint the URL repeats the original request's query
565
+ * string with only the cursor swapped, so following it preserves the same filters,
566
+ * search term, and page size.
567
+ */
568
+ page_info: APIKeysAPI.PageInfo;
569
+ }
570
+
571
+ /**
572
+ * A single page of resources, together with the metadata needed to page through
573
+ * the rest of the result set.
574
+ */
575
+ export interface ListProductionScheduleItemPolicy {
576
+ /**
577
+ * Resources in this page.
578
+ */
579
+ data: Array<ProductionScheduleItemPolicy>;
580
+
581
+ /**
582
+ * Resource type identifier.
583
+ */
584
+ object: 'list';
585
+
586
+ /**
587
+ * PageInfo describes where the current page sits within a paginated result set and
588
+ * how to move to the adjacent pages.
589
+ *
590
+ * Page a list by following the URLs below rather than assembling cursors yourself.
591
+ * For a top-level list endpoint the URL repeats the original request's query
592
+ * string with only the cursor swapped, so following it preserves the same filters,
593
+ * search term, and page size.
594
+ */
595
+ page_info: APIKeysAPI.PageInfo;
596
+ }
597
+
598
+ /**
599
+ * A single page of resources, together with the metadata needed to page through
600
+ * the rest of the result set.
601
+ */
602
+ export interface ListReleaseScheduleBatch {
603
+ /**
604
+ * Resources in this page.
605
+ */
606
+ data: Array<ReleaseScheduleBatch>;
607
+
608
+ /**
609
+ * Resource type identifier.
610
+ */
611
+ object: 'list';
612
+
613
+ /**
614
+ * PageInfo describes where the current page sits within a paginated result set and
615
+ * how to move to the adjacent pages.
616
+ *
617
+ * Page a list by following the URLs below rather than assembling cursors yourself.
618
+ * For a top-level list endpoint the URL repeats the original request's query
619
+ * string with only the cursor swapped, so following it preserves the same filters,
620
+ * search term, and page size.
621
+ */
622
+ page_info: APIKeysAPI.PageInfo;
623
+ }
624
+
625
+ /**
626
+ * A single page of resources, together with the metadata needed to page through
627
+ * the rest of the result set.
628
+ */
629
+ export interface ListReleasedScheduleLine {
630
+ /**
631
+ * Resources in this page.
632
+ */
633
+ data: Array<ReleasedScheduleLine>;
634
+
635
+ /**
636
+ * Resource type identifier.
637
+ */
638
+ object: 'list';
639
+
640
+ /**
641
+ * PageInfo describes where the current page sits within a paginated result set and
642
+ * how to move to the adjacent pages.
643
+ *
644
+ * Page a list by following the URLs below rather than assembling cursors yourself.
645
+ * For a top-level list endpoint the URL repeats the original request's query
646
+ * string with only the cursor swapped, so following it preserves the same filters,
647
+ * search term, and page size.
648
+ */
649
+ page_info: APIKeysAPI.PageInfo;
650
+ }
651
+
652
+ /**
653
+ * A single page of resources, together with the metadata needed to page through
654
+ * the rest of the result set.
655
+ */
656
+ export interface ListScheduleAppliedOverride {
657
+ /**
658
+ * Resources in this page.
659
+ */
660
+ data: Array<ScheduleAppliedOverride>;
661
+
662
+ /**
663
+ * Resource type identifier.
664
+ */
665
+ object: 'list';
666
+
667
+ /**
668
+ * PageInfo describes where the current page sits within a paginated result set and
669
+ * how to move to the adjacent pages.
670
+ *
671
+ * Page a list by following the URLs below rather than assembling cursors yourself.
672
+ * For a top-level list endpoint the URL repeats the original request's query
673
+ * string with only the cursor swapped, so following it preserves the same filters,
674
+ * search term, and page size.
675
+ */
676
+ page_info: APIKeysAPI.PageInfo;
677
+ }
678
+
679
+ /**
680
+ * A single page of resources, together with the metadata needed to page through
681
+ * the rest of the result set.
682
+ */
683
+ export interface ListScheduleAtRiskOrder {
684
+ /**
685
+ * Resources in this page.
686
+ */
687
+ data: Array<ScheduleAtRiskOrder>;
688
+
689
+ /**
690
+ * Resource type identifier.
691
+ */
692
+ object: 'list';
693
+
694
+ /**
695
+ * PageInfo describes where the current page sits within a paginated result set and
696
+ * how to move to the adjacent pages.
697
+ *
698
+ * Page a list by following the URLs below rather than assembling cursors yourself.
699
+ * For a top-level list endpoint the URL repeats the original request's query
700
+ * string with only the cursor swapped, so following it preserves the same filters,
701
+ * search term, and page size.
702
+ */
703
+ page_info: APIKeysAPI.PageInfo;
704
+ }
705
+
706
+ /**
707
+ * A single page of resources, together with the metadata needed to page through
708
+ * the rest of the result set.
709
+ */
710
+ export interface ListScheduleOrderCoverage {
711
+ /**
712
+ * Resources in this page.
713
+ */
714
+ data: Array<ScheduleOrderCoverage>;
715
+
716
+ /**
717
+ * Resource type identifier.
718
+ */
719
+ object: 'list';
720
+
721
+ /**
722
+ * PageInfo describes where the current page sits within a paginated result set and
723
+ * how to move to the adjacent pages.
724
+ *
725
+ * Page a list by following the URLs below rather than assembling cursors yourself.
726
+ * For a top-level list endpoint the URL repeats the original request's query
727
+ * string with only the cursor swapped, so following it preserves the same filters,
728
+ * search term, and page size.
729
+ */
730
+ page_info: APIKeysAPI.PageInfo;
731
+ }
732
+
733
+ /**
734
+ * A single page of resources, together with the metadata needed to page through
735
+ * the rest of the result set.
736
+ */
737
+ export interface ListScheduleOrderCoverageLine {
738
+ /**
739
+ * Resources in this page.
740
+ */
741
+ data: Array<ScheduleOrderCoverageLine>;
742
+
743
+ /**
744
+ * Resource type identifier.
745
+ */
746
+ object: 'list';
747
+
748
+ /**
749
+ * PageInfo describes where the current page sits within a paginated result set and
750
+ * how to move to the adjacent pages.
751
+ *
752
+ * Page a list by following the URLs below rather than assembling cursors yourself.
753
+ * For a top-level list endpoint the URL repeats the original request's query
754
+ * string with only the cursor swapped, so following it preserves the same filters,
755
+ * search term, and page size.
756
+ */
757
+ page_info: APIKeysAPI.PageInfo;
758
+ }
759
+
760
+ /**
761
+ * A saved production schedule.
762
+ *
763
+ * A published version is a record rather than a document that keeps being edited:
764
+ * generating again creates a new version, and publishing supersedes the previous
765
+ * one rather than changing it, because attainment is measured against whichever
766
+ * version was live at the time.
767
+ */
768
+ export interface ProductionSchedule {
769
+ /**
770
+ * Schedule ID.
771
+ */
772
+ id: string;
773
+
774
+ /**
775
+ * Creation timestamp.
776
+ */
777
+ created_at: string;
778
+
779
+ /**
780
+ * Which demand basis produced the plan.
781
+ *
782
+ * - `trailing_12`: demand is taken from the trailing twelve months of orders.
783
+ * - `seasonal_ema`: demand is a seasonal exponential moving average, which follows
784
+ * a season arriving earlier or later than usual.
785
+ */
786
+ demand_basis: 'trailing_12' | 'seasonal_ema';
787
+
788
+ /**
789
+ * What the solver could not do, and why the plan differs from raw history.
790
+ */
791
+ diagnostics: ScheduleDiagnostics;
792
+
793
+ /**
794
+ * Why generation failed, when it did.
795
+ */
796
+ error_message: string | null;
797
+
798
+ /**
799
+ * Number of lines that were frozen at publish.
800
+ *
801
+ * Captured once and never recomputed, because frozen-week adherence measures
802
+ * against what was committed to.
803
+ */
804
+ frozen_line_count: number;
805
+
806
+ /**
807
+ * Total quantity frozen at publish.
808
+ */
809
+ frozen_planned_quantity: number;
810
+
811
+ /**
812
+ * The last day the frozen window covers, set when the version is published.
813
+ */
814
+ frozen_through_at: string | null;
815
+
816
+ /**
817
+ * How many leading weeks freeze on publish.
818
+ *
819
+ * Publishing freezes every campaign that starts inside the window; changing one
820
+ * afterwards requires a reason and is recorded in the deviation log.
821
+ */
822
+ frozen_weeks: number;
823
+
824
+ /**
825
+ * Reference to an actor — the user, API key, agent, or group identity associated
826
+ * with an action.
827
+ */
828
+ generated_by: RequestLogsAPI.Actor | null;
829
+
830
+ /**
831
+ * What triggered the generation.
832
+ *
833
+ * - `manual`: someone asked for this version.
834
+ * - `scheduled`: the account's generation cadence produced it on its own.
835
+ */
836
+ generation_source: 'manual' | 'scheduled';
837
+
838
+ /**
839
+ * First instant of the last day of the horizon.
840
+ */
841
+ horizon_ends_at: string;
842
+
843
+ /**
844
+ * First instant of the horizon.
845
+ */
846
+ horizon_starts_at: string;
847
+
848
+ /**
849
+ * Length of the horizon in weeks.
850
+ */
851
+ horizon_weeks: number;
852
+
853
+ /**
854
+ * Label for the version, such as the planning cycle it was generated for.
855
+ */
856
+ name: string | null;
857
+
858
+ /**
859
+ * Resource type identifier.
860
+ */
861
+ object: 'production_schedule';
862
+
863
+ /**
864
+ * The instant the plan was calculated against.
865
+ */
866
+ planning_as_of_at: string;
867
+
868
+ /**
869
+ * When this version was published.
870
+ */
871
+ published_at: string | null;
872
+
873
+ /**
874
+ * Reference to an actor — the user, API key, agent, or group identity associated
875
+ * with an action.
876
+ */
877
+ published_by: RequestLogsAPI.Actor | null;
878
+
879
+ /**
880
+ * The planning assumptions used, frozen at generation so the plan stays
881
+ * explainable after settings change.
882
+ */
883
+ settings_snapshot: { [key: string]: unknown };
884
+
885
+ /**
886
+ * Version of the solver that produced the plan.
887
+ */
888
+ solver_version: string;
889
+
890
+ /**
891
+ * Where this version is in its lifecycle.
892
+ *
893
+ * - `draft`: still editable and commits to nothing.
894
+ * - `generating`: a scheduled solve is still building this version.
895
+ * - `published`: live, with its leading weeks frozen as a commitment to the floor.
896
+ * - `superseded`: a later version was published over an overlapping horizon.
897
+ * - `archived`: retired without being replaced.
898
+ * - `failed`: the solver could not produce a plan; `error_message` says why.
899
+ */
900
+ status: 'draft' | 'generating' | 'published' | 'superseded' | 'archived' | 'failed';
901
+
902
+ /**
903
+ * Entity is a polymorphic reference to any resource in the system.
904
+ */
905
+ superseded_by: CoreAPI.Entity | null;
906
+
907
+ /**
908
+ * Last updated timestamp.
909
+ */
910
+ updated_at: string;
911
+
912
+ /**
913
+ * Sequential version number within the account.
914
+ *
915
+ * Regenerating a draft re-solves it in place and keeps its number; only generating
916
+ * a new plan takes the next one.
917
+ */
918
+ version: number;
919
+ }
920
+
921
+ /**
922
+ * Downstream department work implied by a constraint campaign.
923
+ *
924
+ * The solver only schedules the constraint; every other department's work follows
925
+ * from it by walking the production-step graph. `explosion_depth` is how many
926
+ * steps downstream this sits — depth 1 waits only on the constraint, depth 3 waits
927
+ * on two intermediate steps — which is what a readiness indicator keys off.
928
+ *
929
+ * The derived week can fall past the schedule's horizon when a long chain follows
930
+ * a late campaign. That work is still returned rather than dropped, because a
931
+ * department needs to see it coming.
932
+ */
933
+ export interface ProductionScheduleDerivedLine {
934
+ /**
935
+ * Derived line ID.
936
+ */
937
+ id: string;
938
+
939
+ /**
940
+ * Creation timestamp.
941
+ */
942
+ created_at: string;
943
+
944
+ /**
945
+ * Entity is a polymorphic reference to any resource in the system.
946
+ */
947
+ department: CoreAPI.Entity | null;
948
+
949
+ /**
950
+ * How many steps downstream of the constraint this work sits.
951
+ */
952
+ explosion_depth: number;
953
+
954
+ /**
955
+ * Entity is a polymorphic reference to any resource in the system.
956
+ */
957
+ item: CoreAPI.Entity | null;
958
+
959
+ /**
960
+ * Resource type identifier.
961
+ */
962
+ object: 'production_schedule_derived_line';
963
+
964
+ /**
965
+ * Weeks after the constraint campaign this work starts.
966
+ */
967
+ offset_weeks: number;
968
+
969
+ /**
970
+ * Entity is a polymorphic reference to any resource in the system.
971
+ */
972
+ planned_unit: CoreAPI.Entity | null;
973
+
974
+ /**
975
+ * Entity is a polymorphic reference to any resource in the system.
976
+ */
977
+ production_schedule: CoreAPI.Entity | null;
978
+
979
+ /**
980
+ * Entity is a polymorphic reference to any resource in the system.
981
+ */
982
+ production_step: CoreAPI.Entity | null;
983
+
984
+ /**
985
+ * Units implied for this step.
986
+ */
987
+ quantity: number;
988
+
989
+ /**
990
+ * Entity is a polymorphic reference to any resource in the system.
991
+ */
992
+ source_line: CoreAPI.Entity | null;
993
+
994
+ /**
995
+ * State of the derived work.
996
+ *
997
+ * Derived rows are discarded and rebuilt from the constraint plan every time the
998
+ * version is solved, and are only ever written as `planned`, so they report what
999
+ * the plan implies rather than what the floor has done.
1000
+ */
1001
+ status: 'planned' | 'released' | 'in_progress' | 'complete' | 'cancelled';
1002
+
1003
+ /**
1004
+ * Last updated timestamp.
1005
+ */
1006
+ updated_at: string;
1007
+
1008
+ /**
1009
+ * Horizon week the work falls in, zero-based.
1010
+ */
1011
+ week_index: number;
1012
+
1013
+ /**
1014
+ * First instant of that week.
1015
+ */
1016
+ week_starts_at: string;
1017
+ }
1018
+
1019
+ /**
1020
+ * One hand change to a production schedule.
1021
+ *
1022
+ * The log is append-only: it is what frozen-week adherence is measured from, and a
1023
+ * plan edited back into shape has to stay distinguishable from one that was right
1024
+ * the first time. `before` and `after` are full snapshots of the line, so a
1025
+ * deviation stays readable after the line it describes is deleted.
1026
+ *
1027
+ * `freeze_status` is recorded when the change is made, from the freeze window as
1028
+ * it stood at that moment. It is never re-derived, so a later publish cannot
1029
+ * retroactively reclassify a past edit.
1030
+ */
1031
+ export interface ProductionScheduleDeviation {
1032
+ /**
1033
+ * Deviation ID.
1034
+ */
1035
+ id: string;
1036
+
1037
+ /**
1038
+ * Reference to an actor — the user, API key, agent, or group identity associated
1039
+ * with an action.
1040
+ */
1041
+ actor: RequestLogsAPI.Actor | null;
1042
+
1043
+ /**
1044
+ * Snapshot of the line after the change, null when the change removed it. Encoded
1045
+ * as a JSON value (object, array, string, number, boolean, or null), not a
1046
+ * JSON-encoded string.
1047
+ */
1048
+ after: unknown | null;
1049
+
1050
+ /**
1051
+ * Snapshot of the line before the change, null when the change created it. Encoded
1052
+ * as a JSON value (object, array, string, number, boolean, or null), not a
1053
+ * JSON-encoded string.
1054
+ */
1055
+ before: unknown | null;
1056
+
1057
+ /**
1058
+ * When the change was made.
1059
+ */
1060
+ created_at: string;
1061
+
1062
+ /**
1063
+ * Signed change in planned units.
1064
+ */
1065
+ delta_quantity: number;
1066
+
1067
+ /**
1068
+ * Signed change in planned run hours.
1069
+ */
1070
+ delta_run_hours: number;
1071
+
1072
+ /**
1073
+ * What kind of change this was.
1074
+ *
1075
+ * Derived from the change itself rather than supplied by the person making it. An
1076
+ * edit that both moves a campaign to another machine and changes its quantity is
1077
+ * recorded as the machine change, because that is what a planner has to react to
1078
+ * first.
1079
+ */
1080
+ deviation_type:
1081
+ | 'line_added'
1082
+ | 'line_removed'
1083
+ | 'quantity_changed'
1084
+ | 'machine_changed'
1085
+ | 'resequenced'
1086
+ | 'week_moved';
1087
+
1088
+ /**
1089
+ * Whether the change fell inside the frozen window when it was made.
1090
+ */
1091
+ freeze_status: 'frozen' | 'flexible';
1092
+
1093
+ /**
1094
+ * Entity is a polymorphic reference to any resource in the system.
1095
+ */
1096
+ item: CoreAPI.Entity | null;
1097
+
1098
+ /**
1099
+ * Entity is a polymorphic reference to any resource in the system.
1100
+ */
1101
+ line: CoreAPI.Entity | null;
1102
+
1103
+ /**
1104
+ * Entity is a polymorphic reference to any resource in the system.
1105
+ */
1106
+ machine: CoreAPI.Entity | null;
1107
+
1108
+ /**
1109
+ * Resource type identifier.
1110
+ */
1111
+ object: 'production_schedule_deviation';
1112
+
1113
+ /**
1114
+ * Entity is a polymorphic reference to any resource in the system.
1115
+ */
1116
+ production_schedule: CoreAPI.Entity | null;
1117
+
1118
+ /**
1119
+ * Why the change was made.
1120
+ *
1121
+ * A change inside a frozen week has to supply one; outside it a reason is left to
1122
+ * the planner.
1123
+ *
1124
+ * - `machine_down`: the machine the campaign was on stopped running.
1125
+ * - `material_shortage`: the material the campaign needs did not arrive.
1126
+ * - `rush_order`: demand that could not wait for the next plan.
1127
+ * - `quality_hold`: the work was stopped over a quality problem.
1128
+ * - `over_run`: the floor produced more than the plan asked for.
1129
+ * - `under_run`: the floor produced less than the plan asked for.
1130
+ * - `capacity_change`: the available machine time changed, such as a shutdown or
1131
+ * an added shift.
1132
+ * - `other`: something outside the list, which should be spelled out in
1133
+ * `reason_note`.
1134
+ */
1135
+ reason:
1136
+ | 'machine_down'
1137
+ | 'material_shortage'
1138
+ | 'rush_order'
1139
+ | 'quality_hold'
1140
+ | 'over_run'
1141
+ | 'under_run'
1142
+ | 'capacity_change'
1143
+ | 'other'
1144
+ | null;
1145
+
1146
+ /**
1147
+ * Free-form explanation of the change.
1148
+ */
1149
+ reason_note: string | null;
1150
+
1151
+ /**
1152
+ * The horizon week the change affected, zero-based.
1153
+ */
1154
+ week_index: number | null;
1155
+ }
1156
+
1157
+ /**
1158
+ * One finished SKU's own inventory target, snapshotted onto a schedule version.
1159
+ *
1160
+ * The item policy pools every finished good a constraint item feeds into one
1161
+ * echelon figure, which is the right basis for deciding whether to build. These
1162
+ * rows are what that pooling hides: this SKU's own demand, its own variability,
1163
+ * and a buffer sized against the finishing lead time rather than the constraint's
1164
+ * — because finishing, not the constraint, is what replenishes this stock.
1165
+ *
1166
+ * The two stages do not overlap. The constraint stage holds its pooled buffer and
1167
+ * the finished stage holds these, so together they describe the whole network's
1168
+ * stock without counting any of it twice.
1169
+ */
1170
+ export interface ProductionScheduleFinishedPolicy {
1171
+ /**
1172
+ * Finished policy ID.
1173
+ */
1174
+ id: string;
1175
+
1176
+ /**
1177
+ * This SKU's own annual demand.
1178
+ */
1179
+ annual_demand: number;
1180
+
1181
+ /**
1182
+ * Creation timestamp.
1183
+ */
1184
+ created_at: string;
1185
+
1186
+ /**
1187
+ * Entity is a polymorphic reference to any resource in the system.
1188
+ */
1189
+ greige_item: CoreAPI.Entity | null;
1190
+
1191
+ /**
1192
+ * SKU of that constraint item.
1193
+ */
1194
+ greige_sku: string;
1195
+
1196
+ /**
1197
+ * Entity is a polymorphic reference to any resource in the system.
1198
+ */
1199
+ item: CoreAPI.Entity | null;
1200
+
1201
+ /**
1202
+ * Resource type identifier.
1203
+ */
1204
+ object: 'production_schedule_finished_policy';
1205
+
1206
+ /**
1207
+ * This SKU's own stock, not the echelon it contributes to.
1208
+ */
1209
+ on_hand: number;
1210
+
1211
+ /**
1212
+ * Entity is a polymorphic reference to any resource in the system.
1213
+ */
1214
+ product_line: CoreAPI.Entity | null;
1215
+
1216
+ /**
1217
+ * Entity is a polymorphic reference to any resource in the system.
1218
+ */
1219
+ production_schedule: CoreAPI.Entity | null;
1220
+
1221
+ /**
1222
+ * Stock position at which this finished good needs replenishing.
1223
+ */
1224
+ reorder_point: number;
1225
+
1226
+ /**
1227
+ * Buffer held as this finished good, covering the finishing lead time.
1228
+ */
1229
+ safety_stock: number;
1230
+
1231
+ /**
1232
+ * This SKU's own weekly demand variability.
1233
+ *
1234
+ * The constraint buffer pools these as the root of the sum of squares; these
1235
+ * targets use them one at a time.
1236
+ */
1237
+ sigma_weekly: number;
1238
+
1239
+ /**
1240
+ * SKU of the finished good.
1241
+ */
1242
+ sku: string;
1243
+
1244
+ /**
1245
+ * Last updated timestamp.
1246
+ */
1247
+ updated_at: string;
1248
+
1249
+ /**
1250
+ * This SKU's own weekly demand.
1251
+ */
1252
+ weekly_demand: number;
1253
+
1254
+ /**
1255
+ * Weeks of demand this SKU's own stock covers.
1256
+ */
1257
+ weeks_of_cover: number;
1258
+ }
1259
+
1260
+ /**
1261
+ * One finished good's build in one week: the second stage of the plan.
1262
+ *
1263
+ * The constraint plan says how much greige to knit and deliberately does not say
1264
+ * what to turn it into — a family's demand is pooled onto the greige precisely so
1265
+ * the buffer can sit at the undifferentiated stage. These lines are where that
1266
+ * pooling is undone: how many of which finished good to make from the knitted
1267
+ * parts, decided against each SKU's own stock position, its own orders, and the
1268
+ * hours the rest of the factory has that week.
1269
+ *
1270
+ * Quantities are counted in the constraint item's unit, so `greige_consumed` and
1271
+ * the knit plan's `planned_quantity` are directly comparable. That is what lets
1272
+ * the two stages be reconciled rather than merely read side by side.
1273
+ */
1274
+ export interface ProductionScheduleFinishingLine {
1275
+ /**
1276
+ * Finishing line ID.
1277
+ */
1278
+ id: string;
1279
+
1280
+ /**
1281
+ * Creation timestamp.
1282
+ */
1283
+ created_at: string;
1284
+
1285
+ /**
1286
+ * Entity is a polymorphic reference to any resource in the system.
1287
+ */
1288
+ department: CoreAPI.Entity | null;
1289
+
1290
+ /**
1291
+ * How much of the week's draw on this SKU is an order rather than a forecast.
1292
+ */
1293
+ firm_units: number;
1294
+
1295
+ /**
1296
+ * Units of the constraint item this takes out of the greige buffer.
1297
+ *
1298
+ * Equal to `planned_quantity` unless a finishing yield loss means a finished unit
1299
+ * costs more than one knitted one.
1300
+ */
1301
+ greige_consumed: number;
1302
+
1303
+ /**
1304
+ * Entity is a polymorphic reference to any resource in the system.
1305
+ */
1306
+ greige_item: CoreAPI.Entity | null;
1307
+
1308
+ /**
1309
+ * SKU of that constraint item.
1310
+ */
1311
+ greige_sku: string;
1312
+
1313
+ /**
1314
+ * Whether the line sits inside the published frozen window.
1315
+ */
1316
+ is_frozen: boolean;
1317
+
1318
+ /**
1319
+ * Entity is a polymorphic reference to any resource in the system.
1320
+ */
1321
+ item: CoreAPI.Entity | null;
1322
+
1323
+ /**
1324
+ * Resource type identifier.
1325
+ */
1326
+ object: 'production_schedule_finishing_line';
1327
+
1328
+ /**
1329
+ * Units in one lot.
1330
+ */
1331
+ planned_lot_units: number;
1332
+
1333
+ /**
1334
+ * How many lots the quantity breaks into.
1335
+ */
1336
+ planned_lots: number;
1337
+
1338
+ /**
1339
+ * Units of the finished good to make.
1340
+ */
1341
+ planned_quantity: number;
1342
+
1343
+ /**
1344
+ * Hours of the second stage's capacity this line consumes.
1345
+ */
1346
+ planned_run_hours: number;
1347
+
1348
+ /**
1349
+ * Entity is a polymorphic reference to any resource in the system.
1350
+ */
1351
+ production_schedule: CoreAPI.Entity | null;
1352
+
1353
+ /**
1354
+ * Entity is a polymorphic reference to any resource in the system.
1355
+ */
1356
+ production_step: CoreAPI.Entity | null;
1357
+
1358
+ /**
1359
+ * And after it lands.
1360
+ */
1361
+ projected_on_hand_after: number;
1362
+
1363
+ /**
1364
+ * This SKU's own projected stock before the line lands.
1365
+ */
1366
+ projected_on_hand_before: number;
1367
+
1368
+ /**
1369
+ * SKU of the finished good, as it stood when the plan was generated.
1370
+ */
1371
+ sku: string;
1372
+
1373
+ /**
1374
+ * Whether the solver produced this line or a person did.
1375
+ */
1376
+ source: 'solver' | 'manual';
1377
+
1378
+ /**
1379
+ * Where the line stands.
1380
+ */
1381
+ status: 'planned' | 'released' | 'in_progress' | 'complete' | 'cancelled';
1382
+
1383
+ /**
1384
+ * Abbreviation of the unit everything on this line is counted in.
1385
+ */
1386
+ unit: string | null;
1387
+
1388
+ /**
1389
+ * Last updated timestamp.
1390
+ */
1391
+ updated_at: string;
1392
+
1393
+ /**
1394
+ * Zero-based week offset from the start of the horizon.
1395
+ */
1396
+ week_index: number;
1397
+
1398
+ /**
1399
+ * First day of the week this is planned in.
1400
+ */
1401
+ week_starts_at: string;
1402
+ }
1403
+
1404
+ /**
1405
+ * The per-item policy behind a schedule version.
1406
+ *
1407
+ * Snapshotted at generation rather than recomputed, so a historical plan can still
1408
+ * explain itself after costs, demand or settings move.
1409
+ */
1410
+ export interface ProductionScheduleItemPolicy {
1411
+ /**
1412
+ * Policy ID.
1413
+ */
1414
+ id: string;
1415
+
1416
+ /**
1417
+ * ABC class by share of constraint run hours.
1418
+ *
1419
+ * - `a`: consumes the largest share of constraint capacity.
1420
+ * - `b`: moderate constraint consumption.
1421
+ * - `c`: consumes little constraint capacity.
1422
+ */
1423
+ abc_class: 'a' | 'b' | 'c' | null;
1424
+
1425
+ /**
1426
+ * Demand used for planning, annualized.
1427
+ */
1428
+ annual_demand: number;
1429
+
1430
+ /**
1431
+ * Constraint hours this item's annual demand consumes.
1432
+ */
1433
+ annual_run_hours: number;
1434
+
1435
+ /**
1436
+ * What the constraint stage holds on average: its buffer, plus half a campaign as
1437
+ * one lands and drains.
1438
+ */
1439
+ average_greige_inventory: number;
1440
+
1441
+ /**
1442
+ * Observed or default lead time at the constraint.
1443
+ */
1444
+ constraint_lead_time_weeks: number;
1445
+
1446
+ /**
1447
+ * Limits the solver hit while sizing this item's campaigns, empty when the policy
1448
+ * was applied as calculated.
1449
+ *
1450
+ * - `eoq_capped`: the economic lot size did not fit one machine-week and was cut
1451
+ * back to what does, so campaigns run shorter and more often than the cost
1452
+ * calculation alone would ask for.
1453
+ * - `capacity_starved`: the item was already below its trigger point and never won
1454
+ * a slot in the horizon, so the plan does not replenish it.
1455
+ */
1456
+ constraints: Array<'eoq_capped' | 'capacity_starved'>;
1457
+
1458
+ /**
1459
+ * Creation timestamp.
1460
+ */
1461
+ created_at: string;
1462
+
1463
+ /**
1464
+ * Economic order quantity: the campaign size that balances the cost of a
1465
+ * changeover against the cost of holding what it produces.
1466
+ */
1467
+ eoq_units: number;
1468
+
1469
+ /**
1470
+ * Lead time from the constraint to sellable stock.
1471
+ */
1472
+ finish_lead_time_weeks: number;
1473
+
1474
+ /**
1475
+ * Outstanding quantity the order book already owed for this item over the horizon.
1476
+ */
1477
+ firm_demand_units: number;
1478
+
1479
+ /**
1480
+ * Quantity the forecast projected for the same window.
1481
+ */
1482
+ forecast_demand_units: number;
1483
+
1484
+ /**
1485
+ * How this item was planned.
1486
+ *
1487
+ * - `make_to_stock`: built to the forecast, holding a safety stock against its
1488
+ * variability.
1489
+ * - `make_to_order`: built only against orders already on the book, holding no
1490
+ * buffer, so its safety stocks and reorder point are all zero.
1491
+ */
1492
+ fulfillment_policy: 'make_to_stock' | 'make_to_order';
1493
+
1494
+ /**
1495
+ * Annual cost of holding one unit.
1496
+ */
1497
+ holding_cost: number;
1498
+
1499
+ /**
1500
+ * Entity is a polymorphic reference to any resource in the system.
1501
+ */
1502
+ item: CoreAPI.Entity | null;
1503
+
1504
+ /**
1505
+ * What the constraint stage holds at its peak: its buffer plus a whole campaign.
1506
+ */
1507
+ max_greige_inventory: number;
1508
+
1509
+ /**
1510
+ * Resource type identifier.
1511
+ */
1512
+ object: 'production_schedule_item_policy';
1513
+
1514
+ /**
1515
+ * Stock at the constraint plus everything downstream of it.
1516
+ *
1517
+ * This is what the build decision is made against — stock already finished still
1518
+ * counts against building more.
1519
+ */
1520
+ on_hand_echelon: number;
1521
+
1522
+ /**
1523
+ * Stock sitting at the constraint stage on its own.
1524
+ *
1525
+ * Kept alongside the echelon total because that total cannot be decomposed back
1526
+ * into its stages once summed.
1527
+ */
1528
+ on_hand_greige: number;
1529
+
1530
+ /**
1531
+ * Ceiling on how far ahead this item is built.
1532
+ */
1533
+ order_up_to: number;
1534
+
1535
+ /**
1536
+ * Which rule decided that policy: the item itself, its product line, or the
1537
+ * account default.
1538
+ */
1539
+ policy_source: 'item' | 'product_line' | 'account_default';
1540
+
1541
+ /**
1542
+ * Entity is a polymorphic reference to any resource in the system.
1543
+ */
1544
+ primary_machine: CoreAPI.Entity | null;
1545
+
1546
+ /**
1547
+ * Entity is a polymorphic reference to any resource in the system.
1548
+ */
1549
+ production_schedule: CoreAPI.Entity | null;
1550
+
1551
+ /**
1552
+ * Entity is a polymorphic reference to any resource in the system.
1553
+ */
1554
+ production_step: CoreAPI.Entity | null;
1555
+
1556
+ /**
1557
+ * The echelon position at the end of each horizon week, after that week's
1558
+ * campaigns land and its demand is drawn down.
1559
+ *
1560
+ * A run of weeks with no campaign is stock draining toward `reorder_point`; this
1561
+ * is what makes that visible rather than looking like the solver did nothing.
1562
+ */
1563
+ projected_on_hand: Array<number>;
1564
+
1565
+ /**
1566
+ * Stock position at which a campaign is triggered.
1567
+ */
1568
+ reorder_point: number;
1569
+
1570
+ /**
1571
+ * Buffer held as finished goods.
1572
+ */
1573
+ safety_stock_downstream: number;
1574
+
1575
+ /**
1576
+ * Buffer held at the constraint.
1577
+ */
1578
+ safety_stock_primary: number;
1579
+
1580
+ /**
1581
+ * How long one unit occupies the constraint.
1582
+ */
1583
+ seconds_per_unit: number;
1584
+
1585
+ /**
1586
+ * Cost of one changeover.
1587
+ */
1588
+ setup_cost: number;
1589
+
1590
+ /**
1591
+ * Summed weekly variability of the finished goods this item becomes.
1592
+ */
1593
+ sigma_downstream_sum: number;
1594
+
1595
+ /**
1596
+ * Pooled weekly demand variability at the constraint.
1597
+ */
1598
+ sigma_weekly_pooled: number;
1599
+
1600
+ /**
1601
+ * SKU of the item.
1602
+ */
1603
+ sku: string;
1604
+
1605
+ /**
1606
+ * Entity is a polymorphic reference to any resource in the system.
1607
+ */
1608
+ unit: CoreAPI.Entity | null;
1609
+
1610
+ /**
1611
+ * Abbreviation of the unit every quantity in this policy is counted in, for
1612
+ * display.
1613
+ *
1614
+ * A reorder point of 2,508 is uninterpretable without it, so the two are never
1615
+ * meaningful apart.
1616
+ */
1617
+ unit_abbreviation: string | null;
1618
+
1619
+ /**
1620
+ * Standard cost per unit.
1621
+ */
1622
+ unit_cost: number;
1623
+
1624
+ /**
1625
+ * Last updated timestamp.
1626
+ */
1627
+ updated_at: string;
1628
+
1629
+ /**
1630
+ * Demand used for planning, per week.
1631
+ */
1632
+ weekly_demand: number;
1633
+
1634
+ /**
1635
+ * Weeks of demand the current stock covers.
1636
+ */
1637
+ weeks_of_cover: number;
1638
+ }
1639
+
1640
+ /**
1641
+ * One batch a release created, or would create: a single lot off one planned
1642
+ * campaign.
1643
+ */
1644
+ export interface ReleaseScheduleBatch {
1645
+ /**
1646
+ * Entity is a polymorphic reference to any resource in the system.
1647
+ */
1648
+ batch: CoreAPI.Entity | null;
1649
+
1650
+ /**
1651
+ * The number of the run this ticket came off, when the batch already existed.
1652
+ *
1653
+ * Present on a lot carried forward from an earlier week that the floor never
1654
+ * worked. The ticket is already printed and on the floor, so the release moves it
1655
+ * into the new run rather than issuing a replacement.
1656
+ */
1657
+ carried_forward_from: string | null;
1658
+
1659
+ /**
1660
+ * Entity is a polymorphic reference to any resource in the system.
1661
+ */
1662
+ item: CoreAPI.Entity | null;
1663
+
1664
+ /**
1665
+ * Units in this lot.
1666
+ *
1667
+ * The last lot of a campaign is short when the planned quantity is not a whole
1668
+ * number of lots.
1669
+ */
1670
+ quantity: number;
1671
+
1672
+ /**
1673
+ * The item's SKU, as it stood when the plan was generated.
1674
+ */
1675
+ sku: string;
1676
+ }
1677
+
1678
+ /**
1679
+ * What releasing a week would create, with nothing written.
1680
+ *
1681
+ * A release makes a numbered production run and every batch under it, which is
1682
+ * real work to undo by hand, so the confirmation is driven by this rather than by
1683
+ * a count computed in the browser.
1684
+ */
1685
+ export interface ReleaseScheduleWeekPreview {
1686
+ /**
1687
+ * How many batches the run would hold, created and carried forward together.
1688
+ */
1689
+ batch_count: number;
1690
+
1691
+ /**
1692
+ * Why the week cannot be released, phrased for display.
1693
+ *
1694
+ * A week is blocked when it has already been released to the floor, or when it
1695
+ * holds nothing to release.
1696
+ */
1697
+ blocked_reason: string | null;
1698
+
1699
+ /**
1700
+ * How many of `batch_count` would be moved off an earlier run rather than created.
1701
+ */
1702
+ carried_forward_batch_count: number;
1703
+
1704
+ /**
1705
+ * Entity is a polymorphic reference to any resource in the system.
1706
+ */
1707
+ existing_production_run: CoreAPI.Entity | null;
1708
+
1709
+ /**
1710
+ * Whether the week can be released.
1711
+ */
1712
+ is_releasable: boolean;
1713
+
1714
+ /**
1715
+ * How many campaigns would be released.
1716
+ */
1717
+ line_count: number;
1718
+
1719
+ /**
1720
+ * A single page of resources, together with the metadata needed to page through
1721
+ * the rest of the result set.
1722
+ */
1723
+ lines: ListReleasedScheduleLine | null;
1724
+
1725
+ /**
1726
+ * Resource type identifier.
1727
+ */
1728
+ object: 'production_schedule_week_release_preview';
1729
+
1730
+ /**
1731
+ * Total units that would be released.
1732
+ */
1733
+ total_quantity: number;
1734
+
1735
+ /**
1736
+ * Zero-based week offset from the start of the horizon.
1737
+ */
1738
+ week_index: number;
1739
+
1740
+ /**
1741
+ * First instant of the week.
1742
+ */
1743
+ week_starts_at: string;
1744
+ }
1745
+
1746
+ /**
1747
+ * One planned campaign and the lots it broke into.
1748
+ */
1749
+ export interface ReleasedScheduleLine {
1750
+ /**
1751
+ * How many batches the campaign broke into.
1752
+ */
1753
+ batch_count: number;
1754
+
1755
+ /**
1756
+ * A single page of resources, together with the metadata needed to page through
1757
+ * the rest of the result set.
1758
+ */
1759
+ batches: ListReleaseScheduleBatch | null;
1760
+
1761
+ /**
1762
+ * How much of `planned_quantity` is covered by tickets an earlier week already
1763
+ * issued.
1764
+ */
1765
+ carried_forward_quantity: number;
1766
+
1767
+ /**
1768
+ * Entity is a polymorphic reference to any resource in the system.
1769
+ */
1770
+ item: CoreAPI.Entity | null;
1771
+
1772
+ /**
1773
+ * Entity is a polymorphic reference to any resource in the system.
1774
+ */
1775
+ line: CoreAPI.Entity | null;
1776
+
1777
+ /**
1778
+ * Units in one lot.
1779
+ */
1780
+ lot_units: number;
1781
+
1782
+ /**
1783
+ * Entity is a polymorphic reference to any resource in the system.
1784
+ */
1785
+ machine: CoreAPI.Entity | null;
1786
+
1787
+ /**
1788
+ * Total units planned for the campaign.
1789
+ */
1790
+ planned_quantity: number;
1791
+
1792
+ /**
1793
+ * The item's SKU, as it stood when the plan was generated.
1794
+ */
1795
+ sku: string;
1796
+
1797
+ /**
1798
+ * Abbreviation of the unit the quantity and the lot are counted in.
1799
+ *
1800
+ * `6 × 60` is not an instruction until it says 6 × 60 of what.
1801
+ */
1802
+ unit: string | null;
1803
+ }
1804
+
1805
+ /**
1806
+ * A demand override that changed a number, recorded so the plan can explain
1807
+ * itself.
1808
+ */
1809
+ export interface ScheduleAppliedOverride {
1810
+ /**
1811
+ * How the override was expressed.
1812
+ *
1813
+ * - `absolute`: the override replaced the forecast for the month outright.
1814
+ * - `delta_units`: the override was added to the forecast.
1815
+ * - `delta_percent`: the override scaled the forecast.
1816
+ */
1817
+ adjustment: 'absolute' | 'delta_units' | 'delta_percent';
1818
+
1819
+ /**
1820
+ * Demand after the override.
1821
+ */
1822
+ after: number;
1823
+
1824
+ /**
1825
+ * Demand before the override.
1826
+ */
1827
+ before: number;
1828
+
1829
+ /**
1830
+ * Entity is a polymorphic reference to any resource in the system.
1831
+ */
1832
+ item: CoreAPI.Entity | null;
1833
+
1834
+ /**
1835
+ * The first instant of the month the override applied to.
1836
+ */
1837
+ month_starts_at: string;
1838
+
1839
+ /**
1840
+ * Entity is a polymorphic reference to any resource in the system.
1841
+ */
1842
+ override: CoreAPI.Entity | null;
1843
+
1844
+ /**
1845
+ * Why the override exists.
1846
+ */
1847
+ reason:
1848
+ | 'new_customer'
1849
+ | 'lost_account'
1850
+ | 'promotion'
1851
+ | 'seasonal_shift'
1852
+ | 'new_product'
1853
+ | 'discontinued'
1854
+ | 'market_intelligence'
1855
+ | 'other'
1856
+ | null;
1857
+ }
1858
+
1859
+ /**
1860
+ * An order commitment the plan does not meet.
1861
+ */
1862
+ export interface ScheduleAtRiskOrder {
1863
+ /**
1864
+ * Horizon week the constraint stage has to finish in for the order to ship on
1865
+ * time.
1866
+ */
1867
+ due_week: number;
1868
+
1869
+ /**
1870
+ * Entity is a polymorphic reference to any resource in the system.
1871
+ */
1872
+ item: CoreAPI.Entity | null;
1873
+
1874
+ /**
1875
+ * Resource type identifier.
1876
+ */
1877
+ object: 'schedule_at_risk_order';
1878
+
1879
+ /**
1880
+ * Why the commitment is at risk.
1881
+ *
1882
+ * - `past_due`: production needed to start before this plan begins.
1883
+ * - `undated`: the order carries no ship-by commitment, so it is treated as owed
1884
+ * now.
1885
+ * - `short`: the plan projects less stock than the order needs in the week it is
1886
+ * needed.
1887
+ */
1888
+ reason: 'past_due' | 'undated' | 'short';
1889
+
1890
+ /**
1891
+ * Entity is a polymorphic reference to any resource in the system.
1892
+ */
1893
+ sales_order: CoreAPI.Entity | null;
1894
+
1895
+ /**
1896
+ * SKU of that item.
1897
+ */
1898
+ sku: string;
1899
+
1900
+ /**
1901
+ * Outstanding quantity still owed.
1902
+ */
1903
+ units: number;
1904
+ }
1905
+
1906
+ /**
1907
+ * What the solver could not do, and why the plan differs from raw history.
1908
+ */
1909
+ export interface ScheduleDiagnostics {
1910
+ /**
1911
+ * A single page of resources, together with the metadata needed to page through
1912
+ * the rest of the result set.
1913
+ */
1914
+ applied_overrides: ListScheduleAppliedOverride | null;
1915
+
1916
+ /**
1917
+ * A single page of resources, together with the metadata needed to page through
1918
+ * the rest of the result set.
1919
+ */
1920
+ at_risk_orders: ListScheduleAtRiskOrder | null;
1921
+
1922
+ /**
1923
+ * Average inputs a product transition introduces, measured from history.
1924
+ */
1925
+ average_inputs_added: number;
1926
+
1927
+ /**
1928
+ * Items below their reorder point that never won a slot in the horizon.
1929
+ *
1930
+ * This is the signal that the plant is short of capacity.
1931
+ */
1932
+ capacity_starved_skus: Array<string>;
1933
+
1934
+ /**
1935
+ * Minutes of changeover the model adds for each new input a product transition
1936
+ * introduces.
1937
+ *
1938
+ * Calibrated from measured production against `average_inputs_added`, so the
1939
+ * modelled changeover lands on the time the floor actually reports rather than on
1940
+ * a fixed allowance.
1941
+ */
1942
+ changeover_slope_minutes: number;
1943
+
1944
+ /**
1945
+ * Machines the constraint department contributed to this solve.
1946
+ */
1947
+ constraint_machine_count: number;
1948
+
1949
+ /**
1950
+ * Items whose economic lot size was reduced to fit one machine-week, meaning
1951
+ * shorter and more frequent campaigns.
1952
+ */
1953
+ eoq_capped_skus: Array<string>;
1954
+
1955
+ /**
1956
+ * Number of items the merchant has excluded from planning.
1957
+ */
1958
+ excluded_item_count: number;
1959
+
1960
+ /**
1961
+ * How the second stage fared: what it could not make, and which of the two things
1962
+ * it ran out of.
1963
+ *
1964
+ * The two starvation lists are the point of planning in two stages at all. A
1965
+ * finished good held back for want of greige is a knitting problem — knit more of
1966
+ * it, or knit it sooner — and one held back for want of hours is a finishing
1967
+ * problem: another shift, or a different mix. A single "short" list would throw
1968
+ * that distinction away, and it is the only thing this model knows that a
1969
+ * one-stage plan does not.
1970
+ */
1971
+ finishing: ScheduleFinishingDiagnostics;
1972
+
1973
+ /**
1974
+ * Whether the second stage's capacity was estimated rather than counted from
1975
+ * machines.
1976
+ */
1977
+ finishing_capacity_is_estimated: boolean;
1978
+
1979
+ /**
1980
+ * Machines outside the constraint department that the second stage was sized from.
1981
+ *
1982
+ * Zero means its capacity was estimated from the shift pattern alone rather than
1983
+ * counted.
1984
+ */
1985
+ finishing_machine_count: number;
1986
+
1987
+ /**
1988
+ * Outstanding order quantity this plan owes, expressed in the constraint item's
1989
+ * own unit.
1990
+ *
1991
+ * Zero means nothing is on order and the plan is driven purely by the forecast.
1992
+ */
1993
+ firm_demand_units: number;
1994
+
1995
+ /**
1996
+ * Items with no measured run rate, which cannot be scheduled because their machine
1997
+ * time is unknown.
1998
+ */
1999
+ items_without_run_rate: Array<string>;
2000
+
2001
+ /**
2002
+ * Machines in the constraint department with no production step.
2003
+ *
2004
+ * Their campaigns derive no downstream department work.
2005
+ */
2006
+ machines_without_step: number;
2007
+
2008
+ /**
2009
+ * Planned items built only against the order book rather than to a forecast.
2010
+ */
2011
+ make_to_order_item_count: number;
2012
+
2013
+ /**
2014
+ * Batches found on those machines in the demand window.
2015
+ *
2016
+ * Zero means nothing has been scanned there, which is why a plan can be empty even
2017
+ * with machines configured.
2018
+ */
2019
+ measured_batch_count: number;
2020
+
2021
+ /**
2022
+ * Open orders carrying no ship-by commitment, dated at the front of the horizon
2023
+ * because they are issued and unshipped.
2024
+ *
2025
+ * A non-zero count means orders placed before commitments were tracked still need
2026
+ * a ship-by date.
2027
+ */
2028
+ undated_firm_order_count: number;
2029
+
2030
+ /**
2031
+ * Items that cannot fit even a single lot into a machine-week and are therefore
2032
+ * never scheduled.
2033
+ */
2034
+ unschedulable_skus: Array<string>;
2035
+ }
2036
+
2037
+ /**
2038
+ * How the second stage fared: what it could not make, and which of the two things
2039
+ * it ran out of.
2040
+ *
2041
+ * The two starvation lists are the point of planning in two stages at all. A
2042
+ * finished good held back for want of greige is a knitting problem — knit more of
2043
+ * it, or knit it sooner — and one held back for want of hours is a finishing
2044
+ * problem: another shift, or a different mix. A single "short" list would throw
2045
+ * that distinction away, and it is the only thing this model knows that a
2046
+ * one-stage plan does not.
2047
+ */
2048
+ export interface ScheduleFinishingDiagnostics {
2049
+ /**
2050
+ * Finished goods that had greige and never had hours.
2051
+ */
2052
+ capacity_starved_skus: Array<string>;
2053
+
2054
+ /**
2055
+ * Finished goods that wanted building across the whole horizon and never had
2056
+ * greige to build from.
2057
+ */
2058
+ greige_starved_skus: Array<string>;
2059
+
2060
+ /**
2061
+ * Finished goods with no measured finishing rate, which cannot be levelled because
2062
+ * the hours they cost are unknown.
2063
+ */
2064
+ items_without_run_rate: Array<string>;
2065
+
2066
+ /**
2067
+ * How many finishing lines the plan holds.
2068
+ */
2069
+ line_count: number;
2070
+
2071
+ /**
2072
+ * Hours the plan asks of it, week by week.
2073
+ */
2074
+ planned_hours_by_week: Array<number>;
2075
+
2076
+ /**
2077
+ * Total finished units the stage plans across the horizon.
2078
+ */
2079
+ total_planned_units: number;
2080
+
2081
+ /**
2082
+ * Constraint output the horizon never converts into anything.
2083
+ *
2084
+ * A large figure means the two stages are planned against different demand, which
2085
+ * is worth looking at rather than leaving as an unexplained pile of greige.
2086
+ */
2087
+ unused_greige_units: number;
2088
+
2089
+ /**
2090
+ * Those hours as a fraction of capacity, week by week.
2091
+ */
2092
+ utilisation_by_week: Array<number>;
2093
+
2094
+ /**
2095
+ * Hours the second stage can work in one week.
2096
+ */
2097
+ weekly_capacity_hours: number;
2098
+ }
2099
+
2100
+ /**
2101
+ * An order this schedule does not build in time, with the campaigns covering the
2102
+ * part it does.
2103
+ */
2104
+ export interface ScheduleOrderCoverage {
2105
+ /**
2106
+ * A single page of resources, together with the metadata needed to page through
2107
+ * the rest of the result set.
2108
+ */
2109
+ covering_lines: ListScheduleOrderCoverageLine | null;
2110
+
2111
+ /**
2112
+ * Horizon week the constraint stage has to finish in for the order to ship on
2113
+ * time.
2114
+ */
2115
+ due_week: number;
2116
+
2117
+ /**
2118
+ * Entity is a polymorphic reference to any resource in the system.
2119
+ */
2120
+ item: CoreAPI.Entity | null;
2121
+
2122
+ /**
2123
+ * Resource type identifier.
2124
+ */
2125
+ object: 'schedule_order_coverage';
2126
+
2127
+ /**
2128
+ * Why the commitment is at risk.
2129
+ */
2130
+ reason: 'past_due' | 'undated' | 'short';
2131
+
2132
+ /**
2133
+ * Entity is a polymorphic reference to any resource in the system.
2134
+ */
2135
+ sales_order: CoreAPI.Entity | null;
2136
+
2137
+ /**
2138
+ * The date this order is contractually due to ship.
2139
+ */
2140
+ ship_by_date: string | null;
2141
+
2142
+ /**
2143
+ * SKU of that item.
2144
+ */
2145
+ sku: string;
2146
+
2147
+ /**
2148
+ * Quantity the plan does not build in time.
2149
+ *
2150
+ * Less than the whole order when the plan builds part of it — a mostly-built order
2151
+ * is mostly built, and reporting the full quantity would read as a total miss.
2152
+ */
2153
+ units_at_risk: number;
2154
+ }
2155
+
2156
+ /**
2157
+ * One campaign earmarked for an order.
2158
+ */
2159
+ export interface ScheduleOrderCoverageLine {
2160
+ /**
2161
+ * Quantity of that campaign earmarked for this order.
2162
+ */
2163
+ allocated_quantity: number;
2164
+
2165
+ /**
2166
+ * Entity is a polymorphic reference to any resource in the system.
2167
+ */
2168
+ machine: CoreAPI.Entity | null;
2169
+
2170
+ /**
2171
+ * Resource type identifier.
2172
+ */
2173
+ object: 'schedule_order_coverage_line';
2174
+
2175
+ /**
2176
+ * Entity is a polymorphic reference to any resource in the system.
2177
+ */
2178
+ production_schedule_line: CoreAPI.Entity | null;
2179
+
2180
+ /**
2181
+ * Horizon week it runs in.
2182
+ */
2183
+ week_index: number;
2184
+ }
2185
+
2186
+ export interface ProductionScheduleDeleteResponse {}
2187
+
2188
+ export interface ProductionScheduleListParams {
2189
+ /**
2190
+ * Opaque cursor token identifying where the page of results starts.
2191
+ *
2192
+ * Use the `cursor` value embedded in a previous response's `next_page_url` or
2193
+ * `previous_page_url` to fetch the adjacent page. Omit to start from the first
2194
+ * page.
2195
+ */
2196
+ cursor?: string;
2197
+
2198
+ /**
2199
+ * Maximum number of results to return in a single page.
2200
+ */
2201
+ limit?: number;
2202
+
2203
+ /**
2204
+ * Free-text search term used to filter results.
2205
+ *
2206
+ * Which fields are matched against the term varies by endpoint.
2207
+ */
2208
+ q?: string;
2209
+
2210
+ /**
2211
+ * Only return versions in these lifecycle states.
2212
+ *
2213
+ * - `draft`: still editable and committed to nothing.
2214
+ * - `generating`: the solver is still building the version.
2215
+ * - `published`: live, with its first weeks frozen as a commitment to the floor.
2216
+ * - `superseded`: a later version was published over the same horizon and replaced
2217
+ * this one.
2218
+ * - `archived`: retired without being replaced.
2219
+ * - `failed`: the solver could not produce a plan.
2220
+ */
2221
+ statuses?: Array<'draft' | 'generating' | 'published' | 'superseded' | 'archived' | 'failed'>;
2222
+ }
2223
+
2224
+ export interface ProductionScheduleCreateParams {
2225
+ /**
2226
+ * How future demand is derived, overriding the account's configured basis for this
2227
+ * version only.
2228
+ *
2229
+ * - `trailing_12`: demand is the trailing twelve months of orders.
2230
+ * - `seasonal_ema`: demand is a seasonal exponential moving average, which follows
2231
+ * a season arriving early or late rather than flattening it.
2232
+ */
2233
+ demand_basis?: 'trailing_12' | 'seasonal_ema';
2234
+
2235
+ /**
2236
+ * Number of weeks the plan should cover, overriding the account's configured
2237
+ * horizon for this version only.
2238
+ */
2239
+ horizon_weeks?: number;
2240
+
2241
+ /**
2242
+ * Human-readable label for the version, such as the week it was cut for.
2243
+ *
2244
+ * Purely for recognising the version in a list; versions are numbered
2245
+ * automatically and the number is what identifies them.
2246
+ */
2247
+ name?: string;
2248
+
2249
+ /**
2250
+ * The instant to plan against, which is what stock, demand history and active
2251
+ * demand overrides are read as of.
2252
+ *
2253
+ * Left unset, the plan is solved against the moment the request arrives. The
2254
+ * horizon starts on the account's configured week-start day on or before this
2255
+ * instant, so backdating this shifts the whole week grid.
2256
+ */
2257
+ planning_as_of?: string;
2258
+ }
2259
+
2260
+ export interface ProductionScheduleRetrieveFinishingLinesParams {
2261
+ /**
2262
+ * Only the finishing planned for this finished good.
2263
+ */
2264
+ item_id?: string;
2265
+
2266
+ /**
2267
+ * Only the finishing planned for this week, zero-based from the start of the
2268
+ * horizon.
2269
+ */
2270
+ week_index?: number;
2271
+ }
2272
+
2273
+ export interface ProductionScheduleRetrieveDerivedLinesParams {
2274
+ /**
2275
+ * Only return work owned by these departments.
2276
+ */
2277
+ department_ids?: Array<string>;
2278
+
2279
+ /**
2280
+ * Only return work in this horizon week, zero-based.
2281
+ */
2282
+ week_index?: number;
2283
+ }
2284
+
2285
+ export interface ProductionScheduleRetrieveDeviationsParams {
2286
+ /**
2287
+ * Opaque cursor token identifying where the page of results starts.
2288
+ *
2289
+ * Use the `cursor` value embedded in a previous response's `next_page_url` or
2290
+ * `previous_page_url` to fetch the adjacent page. Omit to start from the first
2291
+ * page.
2292
+ */
2293
+ cursor?: string;
2294
+
2295
+ /**
2296
+ * Whether the change fell inside the frozen window.
2297
+ *
2298
+ * Judged against the freeze as it stood when the change was made, not as it stands
2299
+ * now, so a later publish cannot reclassify history.
2300
+ */
2301
+ frozen?: boolean;
2302
+
2303
+ /**
2304
+ * Maximum number of results to return in a single page.
2305
+ */
2306
+ limit?: number;
2307
+
2308
+ /**
2309
+ * Free-text search term used to filter results.
2310
+ *
2311
+ * Which fields are matched against the term varies by endpoint.
2312
+ */
2313
+ q?: string;
2314
+ }
2315
+
2316
+ export interface ProductionScheduleRetrieveWeekReleasePreviewParams {
2317
+ /**
2318
+ * Preview the week as if every batch were newly issued.
2319
+ *
2320
+ * By default the preview counts tickets an earlier week issued and the floor never
2321
+ * worked against this week's campaigns, because that is what releasing would do.
2322
+ */
2323
+ skip_carry_forward?: boolean;
2324
+
2325
+ /**
2326
+ * Zero-based week offset from the start of the horizon.
2327
+ */
2328
+ week_index?: number;
2329
+ }
2330
+
2331
+ ProductionSchedules.Lines = Lines;
2332
+ ProductionSchedules.Actions = Actions;
2333
+
2334
+ export declare namespace ProductionSchedules {
2335
+ export {
2336
+ type GenerateProductionScheduleRequest as GenerateProductionScheduleRequest,
2337
+ type ListProductionSchedule as ListProductionSchedule,
2338
+ type ListProductionScheduleDerivedLine as ListProductionScheduleDerivedLine,
2339
+ type ListProductionScheduleDeviation as ListProductionScheduleDeviation,
2340
+ type ListProductionScheduleFinishedPolicy as ListProductionScheduleFinishedPolicy,
2341
+ type ListProductionScheduleFinishingLine as ListProductionScheduleFinishingLine,
2342
+ type ListProductionScheduleItemPolicy as ListProductionScheduleItemPolicy,
2343
+ type ListReleaseScheduleBatch as ListReleaseScheduleBatch,
2344
+ type ListReleasedScheduleLine as ListReleasedScheduleLine,
2345
+ type ListScheduleAppliedOverride as ListScheduleAppliedOverride,
2346
+ type ListScheduleAtRiskOrder as ListScheduleAtRiskOrder,
2347
+ type ListScheduleOrderCoverage as ListScheduleOrderCoverage,
2348
+ type ListScheduleOrderCoverageLine as ListScheduleOrderCoverageLine,
2349
+ type ProductionSchedule as ProductionSchedule,
2350
+ type ProductionScheduleDerivedLine as ProductionScheduleDerivedLine,
2351
+ type ProductionScheduleDeviation as ProductionScheduleDeviation,
2352
+ type ProductionScheduleFinishedPolicy as ProductionScheduleFinishedPolicy,
2353
+ type ProductionScheduleFinishingLine as ProductionScheduleFinishingLine,
2354
+ type ProductionScheduleItemPolicy as ProductionScheduleItemPolicy,
2355
+ type ReleaseScheduleBatch as ReleaseScheduleBatch,
2356
+ type ReleaseScheduleWeekPreview as ReleaseScheduleWeekPreview,
2357
+ type ReleasedScheduleLine as ReleasedScheduleLine,
2358
+ type ScheduleAppliedOverride as ScheduleAppliedOverride,
2359
+ type ScheduleAtRiskOrder as ScheduleAtRiskOrder,
2360
+ type ScheduleDiagnostics as ScheduleDiagnostics,
2361
+ type ScheduleFinishingDiagnostics as ScheduleFinishingDiagnostics,
2362
+ type ScheduleOrderCoverage as ScheduleOrderCoverage,
2363
+ type ScheduleOrderCoverageLine as ScheduleOrderCoverageLine,
2364
+ type ProductionScheduleDeleteResponse as ProductionScheduleDeleteResponse,
2365
+ type ProductionScheduleListParams as ProductionScheduleListParams,
2366
+ type ProductionScheduleCreateParams as ProductionScheduleCreateParams,
2367
+ type ProductionScheduleRetrieveFinishingLinesParams as ProductionScheduleRetrieveFinishingLinesParams,
2368
+ type ProductionScheduleRetrieveDerivedLinesParams as ProductionScheduleRetrieveDerivedLinesParams,
2369
+ type ProductionScheduleRetrieveDeviationsParams as ProductionScheduleRetrieveDeviationsParams,
2370
+ type ProductionScheduleRetrieveWeekReleasePreviewParams as ProductionScheduleRetrieveWeekReleasePreviewParams,
2371
+ };
2372
+
2373
+ export {
2374
+ Lines as Lines,
2375
+ type CreateProductionScheduleLineRequest as CreateProductionScheduleLineRequest,
2376
+ type ListProductionScheduleLine as ListProductionScheduleLine,
2377
+ type ProductionScheduleLine as ProductionScheduleLine,
2378
+ type UpdateProductionScheduleLineRequest as UpdateProductionScheduleLineRequest,
2379
+ type LineDeleteResponse as LineDeleteResponse,
2380
+ type LineListParams as LineListParams,
2381
+ type LineCreateParams as LineCreateParams,
2382
+ type LineUpdateParams as LineUpdateParams,
2383
+ type LineDeleteParams as LineDeleteParams,
2384
+ };
2385
+
2386
+ export {
2387
+ Actions as Actions,
2388
+ type ListScheduleCampaign as ListScheduleCampaign,
2389
+ type ListScheduleDiffLine as ListScheduleDiffLine,
2390
+ type ListSchedulePolicy as ListSchedulePolicy,
2391
+ type ListScheduleProjection as ListScheduleProjection,
2392
+ type PreviewProductionScheduleRequest as PreviewProductionScheduleRequest,
2393
+ type PreviewRegenerateProductionScheduleRequest as PreviewRegenerateProductionScheduleRequest,
2394
+ type ProductionSchedulePreview as ProductionSchedulePreview,
2395
+ type ProductionScheduleRegeneratePreview as ProductionScheduleRegeneratePreview,
2396
+ type RegenerateProductionScheduleRequest as RegenerateProductionScheduleRequest,
2397
+ type ReleaseProductionScheduleWeekRequest as ReleaseProductionScheduleWeekRequest,
2398
+ type ReleaseScheduleWeekResult as ReleaseScheduleWeekResult,
2399
+ type ScheduleCampaign as ScheduleCampaign,
2400
+ type ScheduleDiffLine as ScheduleDiffLine,
2401
+ type SchedulePolicy as SchedulePolicy,
2402
+ type ScheduleProjection as ScheduleProjection,
2403
+ type ActionPreviewParams as ActionPreviewParams,
2404
+ type ActionPreviewRegenerateParams as ActionPreviewRegenerateParams,
2405
+ type ActionRegenerateParams as ActionRegenerateParams,
2406
+ type ActionReleaseWeekParams as ActionReleaseWeekParams,
2407
+ };
2408
+ }