@augno/sdk 0.12.7 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/CHANGELOG.md +2 -4
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs +1 -1
  8. package/client.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/catalog/catalog.d.mts +4 -4
  11. package/resources/catalog/catalog.d.mts.map +1 -1
  12. package/resources/catalog/catalog.d.ts +4 -4
  13. package/resources/catalog/catalog.d.ts.map +1 -1
  14. package/resources/catalog/catalog.js.map +1 -1
  15. package/resources/catalog/catalog.mjs.map +1 -1
  16. package/resources/catalog/index.d.mts +2 -2
  17. package/resources/catalog/index.d.mts.map +1 -1
  18. package/resources/catalog/index.d.ts +2 -2
  19. package/resources/catalog/index.d.ts.map +1 -1
  20. package/resources/catalog/index.js.map +1 -1
  21. package/resources/catalog/index.mjs.map +1 -1
  22. package/resources/catalog/items/index.d.mts +1 -1
  23. package/resources/catalog/items/index.d.mts.map +1 -1
  24. package/resources/catalog/items/index.d.ts +1 -1
  25. package/resources/catalog/items/index.d.ts.map +1 -1
  26. package/resources/catalog/items/index.js.map +1 -1
  27. package/resources/catalog/items/index.mjs.map +1 -1
  28. package/resources/catalog/items/items.d.mts +77 -1
  29. package/resources/catalog/items/items.d.mts.map +1 -1
  30. package/resources/catalog/items/items.d.ts +77 -1
  31. package/resources/catalog/items/items.d.ts.map +1 -1
  32. package/resources/catalog/items/items.js +29 -0
  33. package/resources/catalog/items/items.js.map +1 -1
  34. package/resources/catalog/items/items.mjs +29 -0
  35. package/resources/catalog/items/items.mjs.map +1 -1
  36. package/resources/catalog/product-lines.d.mts +42 -8
  37. package/resources/catalog/product-lines.d.mts.map +1 -1
  38. package/resources/catalog/product-lines.d.ts +42 -8
  39. package/resources/catalog/product-lines.d.ts.map +1 -1
  40. package/resources/catalog/product-lines.js +3 -3
  41. package/resources/catalog/product-lines.js.map +1 -1
  42. package/resources/catalog/product-lines.mjs +3 -3
  43. package/resources/catalog/product-lines.mjs.map +1 -1
  44. package/resources/catalog/products.d.mts +2 -2
  45. package/resources/catalog/products.d.ts +2 -2
  46. package/resources/catalog/products.js +2 -2
  47. package/resources/catalog/products.mjs +2 -2
  48. package/resources/core/analytics.d.mts +547 -0
  49. package/resources/core/analytics.d.mts.map +1 -0
  50. package/resources/core/analytics.d.ts +547 -0
  51. package/resources/core/analytics.d.ts.map +1 -0
  52. package/resources/core/analytics.js +67 -0
  53. package/resources/core/analytics.js.map +1 -0
  54. package/resources/core/analytics.mjs +63 -0
  55. package/resources/core/analytics.mjs.map +1 -0
  56. package/resources/core/audit-events.d.mts +4 -4
  57. package/resources/core/audit-events.d.mts.map +1 -1
  58. package/resources/core/audit-events.d.ts +4 -4
  59. package/resources/core/audit-events.d.ts.map +1 -1
  60. package/resources/core/core.d.mts +6 -2
  61. package/resources/core/core.d.mts.map +1 -1
  62. package/resources/core/core.d.ts +6 -2
  63. package/resources/core/core.d.ts.map +1 -1
  64. package/resources/core/core.js +4 -0
  65. package/resources/core/core.js.map +1 -1
  66. package/resources/core/core.mjs +4 -0
  67. package/resources/core/core.mjs.map +1 -1
  68. package/resources/core/index.d.mts +1 -0
  69. package/resources/core/index.d.mts.map +1 -1
  70. package/resources/core/index.d.ts +1 -0
  71. package/resources/core/index.d.ts.map +1 -1
  72. package/resources/core/index.js +3 -1
  73. package/resources/core/index.js.map +1 -1
  74. package/resources/core/index.mjs +1 -0
  75. package/resources/core/index.mjs.map +1 -1
  76. package/resources/index.d.mts +1 -1
  77. package/resources/index.d.mts.map +1 -1
  78. package/resources/index.d.ts +1 -1
  79. package/resources/index.d.ts.map +1 -1
  80. package/resources/index.js.map +1 -1
  81. package/resources/index.mjs +1 -1
  82. package/resources/index.mjs.map +1 -1
  83. package/resources/messaging/conversations/conversations.d.mts +3 -3
  84. package/resources/messaging/conversations/conversations.d.mts.map +1 -1
  85. package/resources/messaging/conversations/conversations.d.ts +3 -3
  86. package/resources/messaging/conversations/conversations.d.ts.map +1 -1
  87. package/resources/messaging/conversations/conversations.js.map +1 -1
  88. package/resources/messaging/conversations/conversations.mjs.map +1 -1
  89. package/resources/messaging/conversations/links.d.mts +2 -2
  90. package/resources/messaging/conversations/links.d.mts.map +1 -1
  91. package/resources/messaging/conversations/links.d.ts +2 -2
  92. package/resources/messaging/conversations/links.d.ts.map +1 -1
  93. package/resources/messaging/conversations/messages.d.mts +2 -2
  94. package/resources/messaging/conversations/messages.d.mts.map +1 -1
  95. package/resources/messaging/conversations/messages.d.ts +2 -2
  96. package/resources/messaging/conversations/messages.d.ts.map +1 -1
  97. package/resources/messaging/notifications/notifications.d.mts +2 -2
  98. package/resources/messaging/notifications/notifications.d.mts.map +1 -1
  99. package/resources/messaging/notifications/notifications.d.ts +2 -2
  100. package/resources/messaging/notifications/notifications.d.ts.map +1 -1
  101. package/resources/messaging/notifications/notifications.js.map +1 -1
  102. package/resources/messaging/notifications/notifications.mjs.map +1 -1
  103. package/resources/operations/demand-overrides.d.mts +468 -0
  104. package/resources/operations/demand-overrides.d.mts.map +1 -0
  105. package/resources/operations/demand-overrides.d.ts +468 -0
  106. package/resources/operations/demand-overrides.d.ts.map +1 -0
  107. package/resources/operations/demand-overrides.js +120 -0
  108. package/resources/operations/demand-overrides.js.map +1 -0
  109. package/resources/operations/demand-overrides.mjs +116 -0
  110. package/resources/operations/demand-overrides.mjs.map +1 -0
  111. package/resources/operations/index.d.mts +5 -1
  112. package/resources/operations/index.d.mts.map +1 -1
  113. package/resources/operations/index.d.ts +5 -1
  114. package/resources/operations/index.d.ts.map +1 -1
  115. package/resources/operations/index.js +9 -1
  116. package/resources/operations/index.js.map +1 -1
  117. package/resources/operations/index.mjs +5 -1
  118. package/resources/operations/index.mjs.map +1 -1
  119. package/resources/operations/machine-downtime-events.d.mts +424 -0
  120. package/resources/operations/machine-downtime-events.d.mts.map +1 -0
  121. package/resources/operations/machine-downtime-events.d.ts +424 -0
  122. package/resources/operations/machine-downtime-events.d.ts.map +1 -0
  123. package/resources/operations/machine-downtime-events.js +110 -0
  124. package/resources/operations/machine-downtime-events.js.map +1 -0
  125. package/resources/operations/machine-downtime-events.mjs +106 -0
  126. package/resources/operations/machine-downtime-events.mjs.map +1 -0
  127. package/resources/operations/operations.d.mts +444 -0
  128. package/resources/operations/operations.d.mts.map +1 -1
  129. package/resources/operations/operations.d.ts +444 -0
  130. package/resources/operations/operations.d.ts.map +1 -1
  131. package/resources/operations/operations.js +89 -0
  132. package/resources/operations/operations.js.map +1 -1
  133. package/resources/operations/operations.mjs +89 -0
  134. package/resources/operations/operations.mjs.map +1 -1
  135. package/resources/operations/production-schedule-settings/index.d.mts +3 -0
  136. package/resources/operations/production-schedule-settings/index.d.mts.map +1 -0
  137. package/resources/operations/production-schedule-settings/index.d.ts +3 -0
  138. package/resources/operations/production-schedule-settings/index.d.ts.map +1 -0
  139. package/resources/operations/production-schedule-settings/index.js +9 -0
  140. package/resources/operations/production-schedule-settings/index.js.map +1 -0
  141. package/resources/operations/production-schedule-settings/index.mjs +4 -0
  142. package/resources/operations/production-schedule-settings/index.mjs.map +1 -0
  143. package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts +470 -0
  144. package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts.map +1 -0
  145. package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts +470 -0
  146. package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts.map +1 -0
  147. package/resources/operations/production-schedule-settings/production-schedule-settings.js +88 -0
  148. package/resources/operations/production-schedule-settings/production-schedule-settings.js.map +1 -0
  149. package/resources/operations/production-schedule-settings/production-schedule-settings.mjs +83 -0
  150. package/resources/operations/production-schedule-settings/production-schedule-settings.mjs.map +1 -0
  151. package/resources/operations/production-schedule-settings/resources.d.mts +176 -0
  152. package/resources/operations/production-schedule-settings/resources.d.mts.map +1 -0
  153. package/resources/operations/production-schedule-settings/resources.d.ts +176 -0
  154. package/resources/operations/production-schedule-settings/resources.d.ts.map +1 -0
  155. package/resources/operations/production-schedule-settings/resources.js +74 -0
  156. package/resources/operations/production-schedule-settings/resources.js.map +1 -0
  157. package/resources/operations/production-schedule-settings/resources.mjs +70 -0
  158. package/resources/operations/production-schedule-settings/resources.mjs.map +1 -0
  159. package/resources/operations/production-schedule-settings.d.mts +2 -0
  160. package/resources/operations/production-schedule-settings.d.mts.map +1 -0
  161. package/resources/operations/production-schedule-settings.d.ts +2 -0
  162. package/resources/operations/production-schedule-settings.d.ts.map +1 -0
  163. package/resources/operations/production-schedule-settings.js +6 -0
  164. package/resources/operations/production-schedule-settings.js.map +1 -0
  165. package/resources/operations/production-schedule-settings.mjs +3 -0
  166. package/resources/operations/production-schedule-settings.mjs.map +1 -0
  167. package/resources/operations/production-schedules/actions.d.mts +668 -0
  168. package/resources/operations/production-schedules/actions.d.mts.map +1 -0
  169. package/resources/operations/production-schedules/actions.d.ts +668 -0
  170. package/resources/operations/production-schedules/actions.d.ts.map +1 -0
  171. package/resources/operations/production-schedules/actions.js +181 -0
  172. package/resources/operations/production-schedules/actions.js.map +1 -0
  173. package/resources/operations/production-schedules/actions.mjs +177 -0
  174. package/resources/operations/production-schedules/actions.mjs.map +1 -0
  175. package/resources/operations/production-schedules/index.d.mts +4 -0
  176. package/resources/operations/production-schedules/index.d.mts.map +1 -0
  177. package/resources/operations/production-schedules/index.d.ts +4 -0
  178. package/resources/operations/production-schedules/index.d.ts.map +1 -0
  179. package/resources/operations/production-schedules/index.js +11 -0
  180. package/resources/operations/production-schedules/index.js.map +1 -0
  181. package/resources/operations/production-schedules/index.mjs +5 -0
  182. package/resources/operations/production-schedules/index.mjs.map +1 -0
  183. package/resources/operations/production-schedules/lines.d.mts +420 -0
  184. package/resources/operations/production-schedules/lines.d.mts.map +1 -0
  185. package/resources/operations/production-schedules/lines.d.ts +420 -0
  186. package/resources/operations/production-schedules/lines.d.ts.map +1 -0
  187. package/resources/operations/production-schedules/lines.js +106 -0
  188. package/resources/operations/production-schedules/lines.js.map +1 -0
  189. package/resources/operations/production-schedules/lines.mjs +102 -0
  190. package/resources/operations/production-schedules/lines.mjs.map +1 -0
  191. package/resources/operations/production-schedules/production-schedules.d.mts +1177 -0
  192. package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -0
  193. package/resources/operations/production-schedules/production-schedules.d.ts +1177 -0
  194. package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -0
  195. package/resources/operations/production-schedules/production-schedules.js +238 -0
  196. package/resources/operations/production-schedules/production-schedules.js.map +1 -0
  197. package/resources/operations/production-schedules/production-schedules.mjs +233 -0
  198. package/resources/operations/production-schedules/production-schedules.mjs.map +1 -0
  199. package/resources/operations/production-schedules.d.mts +2 -0
  200. package/resources/operations/production-schedules.d.mts.map +1 -0
  201. package/resources/operations/production-schedules.d.ts +2 -0
  202. package/resources/operations/production-schedules.d.ts.map +1 -0
  203. package/resources/operations/production-schedules.js +6 -0
  204. package/resources/operations/production-schedules.js.map +1 -0
  205. package/resources/operations/production-schedules.mjs +3 -0
  206. package/resources/operations/production-schedules.mjs.map +1 -0
  207. package/resources/operations/shipping-terms.d.mts +9 -8
  208. package/resources/operations/shipping-terms.d.mts.map +1 -1
  209. package/resources/operations/shipping-terms.d.ts +9 -8
  210. package/resources/operations/shipping-terms.d.ts.map +1 -1
  211. package/resources/operations/shipping-terms.js.map +1 -1
  212. package/resources/operations/shipping-terms.mjs.map +1 -1
  213. package/resources/sales/customers/customers.d.mts +6 -18
  214. package/resources/sales/customers/customers.d.mts.map +1 -1
  215. package/resources/sales/customers/customers.d.ts +6 -18
  216. package/resources/sales/customers/customers.d.ts.map +1 -1
  217. package/resources/sales/customers/customers.js.map +1 -1
  218. package/resources/sales/customers/customers.mjs.map +1 -1
  219. package/resources/sales/customers/index.d.mts +1 -1
  220. package/resources/sales/customers/index.d.mts.map +1 -1
  221. package/resources/sales/customers/index.d.ts +1 -1
  222. package/resources/sales/customers/index.d.ts.map +1 -1
  223. package/resources/sales/customers/index.js.map +1 -1
  224. package/resources/sales/customers/index.mjs.map +1 -1
  225. package/resources/sales/index.d.mts +1 -1
  226. package/resources/sales/index.d.mts.map +1 -1
  227. package/resources/sales/index.d.ts +1 -1
  228. package/resources/sales/index.d.ts.map +1 -1
  229. package/resources/sales/index.js.map +1 -1
  230. package/resources/sales/index.mjs.map +1 -1
  231. package/resources/sales/sales-orders/lines/lines.d.mts +5 -5
  232. package/resources/sales/sales-orders/lines/lines.d.mts.map +1 -1
  233. package/resources/sales/sales-orders/lines/lines.d.ts +5 -5
  234. package/resources/sales/sales-orders/lines/lines.d.ts.map +1 -1
  235. package/resources/sales/sales-orders/sales-orders.d.mts +3 -2
  236. package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
  237. package/resources/sales/sales-orders/sales-orders.d.ts +3 -2
  238. package/resources/sales/sales-orders/sales-orders.d.ts.map +1 -1
  239. package/resources/sales/sales-orders/sales-orders.js.map +1 -1
  240. package/resources/sales/sales-orders/sales-orders.mjs.map +1 -1
  241. package/resources/sales/sales.d.mts +2 -2
  242. package/resources/sales/sales.d.mts.map +1 -1
  243. package/resources/sales/sales.d.ts +2 -2
  244. package/resources/sales/sales.d.ts.map +1 -1
  245. package/resources/sales/sales.js.map +1 -1
  246. package/resources/sales/sales.mjs.map +1 -1
  247. package/src/client.ts +30 -2
  248. package/src/resources/catalog/catalog.ts +6 -0
  249. package/src/resources/catalog/index.ts +3 -0
  250. package/src/resources/catalog/items/index.ts +2 -0
  251. package/src/resources/catalog/items/items.ts +92 -0
  252. package/src/resources/catalog/product-lines.ts +49 -7
  253. package/src/resources/catalog/products.ts +2 -2
  254. package/src/resources/core/analytics.ts +677 -0
  255. package/src/resources/core/audit-events.ts +84 -0
  256. package/src/resources/core/core.ts +82 -0
  257. package/src/resources/core/index.ts +18 -0
  258. package/src/resources/index.ts +15 -1
  259. package/src/resources/messaging/conversations/conversations.ts +63 -0
  260. package/src/resources/messaging/conversations/links.ts +42 -0
  261. package/src/resources/messaging/conversations/messages.ts +42 -0
  262. package/src/resources/messaging/notifications/notifications.ts +42 -0
  263. package/src/resources/operations/demand-overrides.ts +631 -0
  264. package/src/resources/operations/index.ts +72 -1
  265. package/src/resources/operations/machine-downtime-events.ts +584 -0
  266. package/src/resources/operations/operations.ts +673 -0
  267. package/src/resources/operations/production-schedule-settings/index.ts +15 -0
  268. package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts +595 -0
  269. package/src/resources/operations/production-schedule-settings/resources.ts +217 -0
  270. package/src/resources/operations/production-schedule-settings.ts +3 -0
  271. package/src/resources/operations/production-schedules/actions.ts +835 -0
  272. package/src/resources/operations/production-schedules/index.ts +64 -0
  273. package/src/resources/operations/production-schedules/lines.ts +584 -0
  274. package/src/resources/operations/production-schedules/production-schedules.ts +1548 -0
  275. package/src/resources/operations/production-schedules.ts +3 -0
  276. package/src/resources/operations/shipping-terms.ts +9 -8
  277. package/src/resources/sales/customers/customers.ts +5 -20
  278. package/src/resources/sales/customers/index.ts +0 -1
  279. package/src/resources/sales/index.ts +0 -1
  280. package/src/resources/sales/sales-orders/lines/lines.ts +5 -5
  281. package/src/resources/sales/sales-orders/sales-orders.ts +3 -2
  282. package/src/resources/sales/sales.ts +0 -2
  283. package/src/version.ts +1 -1
  284. package/version.d.mts +1 -1
  285. package/version.d.ts +1 -1
  286. package/version.js +1 -1
  287. package/version.mjs +1 -1
@@ -0,0 +1,181 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Actions = void 0;
5
+ const resource_1 = require("../../../core/resource.js");
6
+ const path_1 = require("../../../internal/utils/path.js");
7
+ /**
8
+ * Generate and review machine-level production schedules.
9
+ */
10
+ class Actions extends resource_1.APIResource {
11
+ /**
12
+ * Runs the production scheduling solver and returns the plan without saving it.
13
+ *
14
+ * This is the inspection surface for the scheduler: it takes the same path a
15
+ * generated schedule will take, minus the write, so a plan can be reviewed and
16
+ * compared before anything depends on it. Machines must be marked as the planning
17
+ * constraint in production schedule settings, otherwise there is nothing to
18
+ * schedule.
19
+ *
20
+ * This endpoint requires the permission: `production_schedules:read`.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const productionSchedulePreview =
25
+ * await client.operations.productionSchedules.actions.preview(
26
+ * { horizon_weeks: 13 },
27
+ * );
28
+ * ```
29
+ */
30
+ preview(body = {}, options) {
31
+ return this._client.put('/v1/operations/production-schedules/actions/preview', { body, ...options });
32
+ }
33
+ /**
34
+ * Returns what regenerating this draft would change, without changing it.
35
+ *
36
+ * Every campaign either plan holds is listed, including the ones both agree on, so
37
+ * the caller can render a full side-by-side rather than a list of surprises.
38
+ * `discarded_manual_count` is what `replace_all` would destroy — a regenerate that
39
+ * silently eats hand-work is abandoned within two cycles, so the destructive mode
40
+ * has to be able to state its cost before it runs.
41
+ *
42
+ * Planning inputs default to the ones the version was generated with, so a plain
43
+ * preview answers "what would the solver say now" rather than answering a
44
+ * different question with a different horizon.
45
+ *
46
+ * This endpoint requires the permission: `production_schedules:read`.
47
+ *
48
+ * @example
49
+ * ```ts
50
+ * const productionScheduleRegeneratePreview =
51
+ * await client.operations.productionSchedules.actions.previewRegenerate(
52
+ * 'pnsc_0192a4c17b3e4f8a91c2d0',
53
+ * { horizon_weeks: 13 },
54
+ * );
55
+ * ```
56
+ */
57
+ previewRegenerate(id, body = {}, options) {
58
+ return this._client.put((0, path_1.path) `/v1/operations/production-schedules/${id}/actions/preview-regenerate`, {
59
+ body,
60
+ ...options,
61
+ });
62
+ }
63
+ /**
64
+ * Re-solves a draft in place, keeping its version number.
65
+ *
66
+ * Only a draft can be regenerated. A published version is a commitment the floor
67
+ * is already working to, and a superseded or archived one is history; re-solving
68
+ * either in place would change what a week was measured against after the fact. To
69
+ * replan against a published version, generate a new one — publishing it
70
+ * supersedes the current one.
71
+ *
72
+ * The version number is kept deliberately: minting a new version for every
73
+ * re-solve would fill the list with drafts nobody asked for and make the version
74
+ * number meaningless as a count of the plans actually considered.
75
+ *
76
+ * `preserve_manual` keeps every hand-edited campaign and replaces the rest.
77
+ * `replace_all` takes the fresh solve whole, and each hand edit it destroys is
78
+ * written to the deviation log first — "where did my change go" has to stay
79
+ * answerable. Call `preview-regenerate` first to see the cost as a number.
80
+ *
81
+ * This endpoint requires the permission: `production_schedules:update`.
82
+ *
83
+ * @example
84
+ * ```ts
85
+ * const productionSchedule =
86
+ * await client.operations.productionSchedules.actions.regenerate(
87
+ * 'pnsc_0192a4c17b3e4f8a91c2d0',
88
+ * { merge_mode: 'preserve_manual' },
89
+ * );
90
+ * ```
91
+ */
92
+ regenerate(id, body = {}, options) {
93
+ return this._client.put((0, path_1.path) `/v1/operations/production-schedules/${id}/actions/regenerate`, {
94
+ body,
95
+ ...options,
96
+ });
97
+ }
98
+ /**
99
+ * Publishes a draft schedule, freezing its first weeks.
100
+ *
101
+ * Publishing is what makes a plan a commitment: the frozen weeks' lines are marked
102
+ * frozen, the frozen line count and quantity are captured onto the version, and
103
+ * any published version covering the same horizon is superseded rather than
104
+ * rewritten. After this, changes inside the frozen window require a reason and are
105
+ * recorded as deviations.
106
+ *
107
+ * The frozen counts are snapshotted here and never recomputed, so adherence keeps
108
+ * the denominator it was committed to.
109
+ *
110
+ * This endpoint requires the permission: `production_schedules:update`.
111
+ *
112
+ * @example
113
+ * ```ts
114
+ * const productionSchedule =
115
+ * await client.operations.productionSchedules.actions.publish(
116
+ * 'pnsc_0192a4c17b3e4f8a91c2d0',
117
+ * );
118
+ * ```
119
+ */
120
+ publish(id, options) {
121
+ return this._client.put((0, path_1.path) `/v1/operations/production-schedules/${id}/actions/publish`, options);
122
+ }
123
+ /**
124
+ * Turns one planned week into a production run.
125
+ *
126
+ * Each campaign in the week becomes one batch per planned lot, using the lot size
127
+ * the campaign was planned at. A 360-unit campaign at a 60-unit lot arrives on the
128
+ * floor as six batches, not one instruction to make 360; a quantity that is not a
129
+ * whole number of lots trails a single short lot at the end of the run.
130
+ *
131
+ * The release is atomic. A run holding half a week's batches is worse than no run,
132
+ * because the missing half looks like work nobody was asked to do and attainment
133
+ * would count it as unplanned production.
134
+ *
135
+ * Releasing the same week twice fails rather than creating a second run. Each
136
+ * released line records the run now carrying it, and a line that is already
137
+ * released is never re-pointed.
138
+ *
139
+ * This endpoint requires the permissions: `production_schedules:update`,
140
+ * `production_runs:create`.
141
+ *
142
+ * @example
143
+ * ```ts
144
+ * const releaseScheduleWeekResult =
145
+ * await client.operations.productionSchedules.actions.releaseWeek(
146
+ * 'pnsc_0192a4c17b3e4f8a91c2d0',
147
+ * {
148
+ * responsible_user_id: 'us_0151164dcaea4cbded27b50aae',
149
+ * week_index: 0,
150
+ * },
151
+ * );
152
+ * ```
153
+ */
154
+ releaseWeek(id, body, options) {
155
+ return this._client.post((0, path_1.path) `/v1/operations/production-schedules/${id}/actions/release-week`, {
156
+ body,
157
+ ...options,
158
+ });
159
+ }
160
+ /**
161
+ * Archives a schedule version, retiring it without discarding its history.
162
+ *
163
+ * This is how a published version is taken out of use: it stays readable and still
164
+ * backs any attainment already measured against it.
165
+ *
166
+ * This endpoint requires the permission: `production_schedules:update`.
167
+ *
168
+ * @example
169
+ * ```ts
170
+ * const productionSchedule =
171
+ * await client.operations.productionSchedules.actions.archive(
172
+ * 'pnsc_0192a4c17b3e4f8a91c2d0',
173
+ * );
174
+ * ```
175
+ */
176
+ archive(id, options) {
177
+ return this._client.put((0, path_1.path) `/v1/operations/production-schedules/${id}/actions/archive`, options);
178
+ }
179
+ }
180
+ exports.Actions = Actions;
181
+ //# sourceMappingURL=actions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/operations/production-schedules/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAOrD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;;OAkBG;IACH,OAAO,CACL,OAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qDAAqD,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,iBAAiB,CACf,EAAU,EACV,OAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uCAAuC,EAAE,6BAA6B,EAAE;YAClG,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,UAAU,CACR,EAAU,EACV,OAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uCAAuC,EAAE,qBAAqB,EAAE;YAC1F,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uCAAuC,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACpG,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,WAAW,CACT,EAAU,EACV,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,uCAAuC,EAAE,uBAAuB,EAAE;YAC7F,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uCAAuC,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACpG,CAAC;CACF;AA7LD,0BA6LC"}
@@ -0,0 +1,177 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ import { path } from "../../../internal/utils/path.mjs";
4
+ /**
5
+ * Generate and review machine-level production schedules.
6
+ */
7
+ export class Actions extends APIResource {
8
+ /**
9
+ * Runs the production scheduling solver and returns the plan without saving it.
10
+ *
11
+ * This is the inspection surface for the scheduler: it takes the same path a
12
+ * generated schedule will take, minus the write, so a plan can be reviewed and
13
+ * compared before anything depends on it. Machines must be marked as the planning
14
+ * constraint in production schedule settings, otherwise there is nothing to
15
+ * schedule.
16
+ *
17
+ * This endpoint requires the permission: `production_schedules:read`.
18
+ *
19
+ * @example
20
+ * ```ts
21
+ * const productionSchedulePreview =
22
+ * await client.operations.productionSchedules.actions.preview(
23
+ * { horizon_weeks: 13 },
24
+ * );
25
+ * ```
26
+ */
27
+ preview(body = {}, options) {
28
+ return this._client.put('/v1/operations/production-schedules/actions/preview', { body, ...options });
29
+ }
30
+ /**
31
+ * Returns what regenerating this draft would change, without changing it.
32
+ *
33
+ * Every campaign either plan holds is listed, including the ones both agree on, so
34
+ * the caller can render a full side-by-side rather than a list of surprises.
35
+ * `discarded_manual_count` is what `replace_all` would destroy — a regenerate that
36
+ * silently eats hand-work is abandoned within two cycles, so the destructive mode
37
+ * has to be able to state its cost before it runs.
38
+ *
39
+ * Planning inputs default to the ones the version was generated with, so a plain
40
+ * preview answers "what would the solver say now" rather than answering a
41
+ * different question with a different horizon.
42
+ *
43
+ * This endpoint requires the permission: `production_schedules:read`.
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * const productionScheduleRegeneratePreview =
48
+ * await client.operations.productionSchedules.actions.previewRegenerate(
49
+ * 'pnsc_0192a4c17b3e4f8a91c2d0',
50
+ * { horizon_weeks: 13 },
51
+ * );
52
+ * ```
53
+ */
54
+ previewRegenerate(id, body = {}, options) {
55
+ return this._client.put(path `/v1/operations/production-schedules/${id}/actions/preview-regenerate`, {
56
+ body,
57
+ ...options,
58
+ });
59
+ }
60
+ /**
61
+ * Re-solves a draft in place, keeping its version number.
62
+ *
63
+ * Only a draft can be regenerated. A published version is a commitment the floor
64
+ * is already working to, and a superseded or archived one is history; re-solving
65
+ * either in place would change what a week was measured against after the fact. To
66
+ * replan against a published version, generate a new one — publishing it
67
+ * supersedes the current one.
68
+ *
69
+ * The version number is kept deliberately: minting a new version for every
70
+ * re-solve would fill the list with drafts nobody asked for and make the version
71
+ * number meaningless as a count of the plans actually considered.
72
+ *
73
+ * `preserve_manual` keeps every hand-edited campaign and replaces the rest.
74
+ * `replace_all` takes the fresh solve whole, and each hand edit it destroys is
75
+ * written to the deviation log first — "where did my change go" has to stay
76
+ * answerable. Call `preview-regenerate` first to see the cost as a number.
77
+ *
78
+ * This endpoint requires the permission: `production_schedules:update`.
79
+ *
80
+ * @example
81
+ * ```ts
82
+ * const productionSchedule =
83
+ * await client.operations.productionSchedules.actions.regenerate(
84
+ * 'pnsc_0192a4c17b3e4f8a91c2d0',
85
+ * { merge_mode: 'preserve_manual' },
86
+ * );
87
+ * ```
88
+ */
89
+ regenerate(id, body = {}, options) {
90
+ return this._client.put(path `/v1/operations/production-schedules/${id}/actions/regenerate`, {
91
+ body,
92
+ ...options,
93
+ });
94
+ }
95
+ /**
96
+ * Publishes a draft schedule, freezing its first weeks.
97
+ *
98
+ * Publishing is what makes a plan a commitment: the frozen weeks' lines are marked
99
+ * frozen, the frozen line count and quantity are captured onto the version, and
100
+ * any published version covering the same horizon is superseded rather than
101
+ * rewritten. After this, changes inside the frozen window require a reason and are
102
+ * recorded as deviations.
103
+ *
104
+ * The frozen counts are snapshotted here and never recomputed, so adherence keeps
105
+ * the denominator it was committed to.
106
+ *
107
+ * This endpoint requires the permission: `production_schedules:update`.
108
+ *
109
+ * @example
110
+ * ```ts
111
+ * const productionSchedule =
112
+ * await client.operations.productionSchedules.actions.publish(
113
+ * 'pnsc_0192a4c17b3e4f8a91c2d0',
114
+ * );
115
+ * ```
116
+ */
117
+ publish(id, options) {
118
+ return this._client.put(path `/v1/operations/production-schedules/${id}/actions/publish`, options);
119
+ }
120
+ /**
121
+ * Turns one planned week into a production run.
122
+ *
123
+ * Each campaign in the week becomes one batch per planned lot, using the lot size
124
+ * the campaign was planned at. A 360-unit campaign at a 60-unit lot arrives on the
125
+ * floor as six batches, not one instruction to make 360; a quantity that is not a
126
+ * whole number of lots trails a single short lot at the end of the run.
127
+ *
128
+ * The release is atomic. A run holding half a week's batches is worse than no run,
129
+ * because the missing half looks like work nobody was asked to do and attainment
130
+ * would count it as unplanned production.
131
+ *
132
+ * Releasing the same week twice fails rather than creating a second run. Each
133
+ * released line records the run now carrying it, and a line that is already
134
+ * released is never re-pointed.
135
+ *
136
+ * This endpoint requires the permissions: `production_schedules:update`,
137
+ * `production_runs:create`.
138
+ *
139
+ * @example
140
+ * ```ts
141
+ * const releaseScheduleWeekResult =
142
+ * await client.operations.productionSchedules.actions.releaseWeek(
143
+ * 'pnsc_0192a4c17b3e4f8a91c2d0',
144
+ * {
145
+ * responsible_user_id: 'us_0151164dcaea4cbded27b50aae',
146
+ * week_index: 0,
147
+ * },
148
+ * );
149
+ * ```
150
+ */
151
+ releaseWeek(id, body, options) {
152
+ return this._client.post(path `/v1/operations/production-schedules/${id}/actions/release-week`, {
153
+ body,
154
+ ...options,
155
+ });
156
+ }
157
+ /**
158
+ * Archives a schedule version, retiring it without discarding its history.
159
+ *
160
+ * This is how a published version is taken out of use: it stays readable and still
161
+ * backs any attainment already measured against it.
162
+ *
163
+ * This endpoint requires the permission: `production_schedules:update`.
164
+ *
165
+ * @example
166
+ * ```ts
167
+ * const productionSchedule =
168
+ * await client.operations.productionSchedules.actions.archive(
169
+ * 'pnsc_0192a4c17b3e4f8a91c2d0',
170
+ * );
171
+ * ```
172
+ */
173
+ archive(id, options) {
174
+ return this._client.put(path `/v1/operations/production-schedules/${id}/actions/archive`, options);
175
+ }
176
+ }
177
+ //# sourceMappingURL=actions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/operations/production-schedules/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAOf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;OAkBG;IACH,OAAO,CACL,OAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qDAAqD,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,iBAAiB,CACf,EAAU,EACV,OAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uCAAuC,EAAE,6BAA6B,EAAE;YAClG,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,UAAU,CACR,EAAU,EACV,OAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uCAAuC,EAAE,qBAAqB,EAAE;YAC1F,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uCAAuC,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACpG,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,WAAW,CACT,EAAU,EACV,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,uCAAuC,EAAE,uBAAuB,EAAE;YAC7F,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uCAAuC,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACpG,CAAC;CACF"}
@@ -0,0 +1,4 @@
1
+ export { Actions, type ListScheduleCampaign, type ListScheduleDiffLine, type ListSchedulePolicy, type ListScheduleProjection, type PreviewProductionScheduleRequest, type PreviewRegenerateProductionScheduleRequest, type ProductionSchedulePreview, type ProductionScheduleRegeneratePreview, type RegenerateProductionScheduleRequest, type ReleaseProductionScheduleWeekRequest, type ReleaseScheduleWeekResult, type ScheduleCampaign, type ScheduleDiffLine, type SchedulePolicy, type ScheduleProjection, type ActionPreviewParams, type ActionPreviewRegenerateParams, type ActionRegenerateParams, type ActionReleaseWeekParams, } from "./actions.mjs";
2
+ export { Lines, type CreateProductionScheduleLineRequest, type ListProductionScheduleLine, type ProductionScheduleLine, type UpdateProductionScheduleLineRequest, type LineDeleteResponse, type LineListParams, type LineCreateParams, type LineUpdateParams, type LineDeleteParams, } from "./lines.mjs";
3
+ export { ProductionSchedules, type GenerateProductionScheduleRequest, type ListProductionSchedule, type ListProductionScheduleDerivedLine, type ListProductionScheduleDeviation, type ListProductionScheduleFinishedPolicy, type ListProductionScheduleItemPolicy, type ListReleaseScheduleBatch, type ListReleasedScheduleLine, type ListScheduleAppliedOverride, type ProductionSchedule, type ProductionScheduleDerivedLine, type ProductionScheduleDeviation, type ProductionScheduleFinishedPolicy, type ProductionScheduleItemPolicy, type ReleaseScheduleBatch, type ReleaseScheduleWeekPreview, type ReleasedScheduleLine, type ScheduleAppliedOverride, type ScheduleDiagnostics, type ProductionScheduleDeleteResponse, type ProductionScheduleListParams, type ProductionScheduleCreateParams, type ProductionScheduleRetrieveDerivedLinesParams, type ProductionScheduleRetrieveDeviationsParams, type ProductionScheduleRetrieveWeekReleasePreviewParams, } from "./production-schedules.mjs";
4
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/operations/production-schedules/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,gCAAgC,EACrC,KAAK,0CAA0C,EAC/C,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,GAC7B;OACM,EACL,KAAK,EACL,KAAK,mCAAmC,EACxC,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,mCAAmC,EACxC,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB;OACM,EACL,mBAAmB,EACnB,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,gCAAgC,EACrC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,4CAA4C,EACjD,KAAK,0CAA0C,EAC/C,KAAK,kDAAkD,GACxD"}
@@ -0,0 +1,4 @@
1
+ export { Actions, type ListScheduleCampaign, type ListScheduleDiffLine, type ListSchedulePolicy, type ListScheduleProjection, type PreviewProductionScheduleRequest, type PreviewRegenerateProductionScheduleRequest, type ProductionSchedulePreview, type ProductionScheduleRegeneratePreview, type RegenerateProductionScheduleRequest, type ReleaseProductionScheduleWeekRequest, type ReleaseScheduleWeekResult, type ScheduleCampaign, type ScheduleDiffLine, type SchedulePolicy, type ScheduleProjection, type ActionPreviewParams, type ActionPreviewRegenerateParams, type ActionRegenerateParams, type ActionReleaseWeekParams, } from "./actions.js";
2
+ export { Lines, type CreateProductionScheduleLineRequest, type ListProductionScheduleLine, type ProductionScheduleLine, type UpdateProductionScheduleLineRequest, type LineDeleteResponse, type LineListParams, type LineCreateParams, type LineUpdateParams, type LineDeleteParams, } from "./lines.js";
3
+ export { ProductionSchedules, type GenerateProductionScheduleRequest, type ListProductionSchedule, type ListProductionScheduleDerivedLine, type ListProductionScheduleDeviation, type ListProductionScheduleFinishedPolicy, type ListProductionScheduleItemPolicy, type ListReleaseScheduleBatch, type ListReleasedScheduleLine, type ListScheduleAppliedOverride, type ProductionSchedule, type ProductionScheduleDerivedLine, type ProductionScheduleDeviation, type ProductionScheduleFinishedPolicy, type ProductionScheduleItemPolicy, type ReleaseScheduleBatch, type ReleaseScheduleWeekPreview, type ReleasedScheduleLine, type ScheduleAppliedOverride, type ScheduleDiagnostics, type ProductionScheduleDeleteResponse, type ProductionScheduleListParams, type ProductionScheduleCreateParams, type ProductionScheduleRetrieveDerivedLinesParams, type ProductionScheduleRetrieveDeviationsParams, type ProductionScheduleRetrieveWeekReleasePreviewParams, } from "./production-schedules.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/operations/production-schedules/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,gCAAgC,EACrC,KAAK,0CAA0C,EAC/C,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,GAC7B;OACM,EACL,KAAK,EACL,KAAK,mCAAmC,EACxC,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,mCAAmC,EACxC,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB;OACM,EACL,mBAAmB,EACnB,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,gCAAgC,EACrC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,4CAA4C,EACjD,KAAK,0CAA0C,EAC/C,KAAK,kDAAkD,GACxD"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ProductionSchedules = exports.Lines = exports.Actions = void 0;
5
+ var actions_1 = require("./actions.js");
6
+ Object.defineProperty(exports, "Actions", { enumerable: true, get: function () { return actions_1.Actions; } });
7
+ var lines_1 = require("./lines.js");
8
+ Object.defineProperty(exports, "Lines", { enumerable: true, get: function () { return lines_1.Lines; } });
9
+ var production_schedules_1 = require("./production-schedules.js");
10
+ Object.defineProperty(exports, "ProductionSchedules", { enumerable: true, get: function () { return production_schedules_1.ProductionSchedules; } });
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/operations/production-schedules/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAqBmB;AApBjB,kGAAA,OAAO,OAAA;AAqBT,oCAWiB;AAVf,8FAAA,KAAK,OAAA;AAWP,kEA2BgC;AA1B9B,2HAAA,mBAAmB,OAAA"}
@@ -0,0 +1,5 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Actions, } from "./actions.mjs";
3
+ export { Lines, } from "./lines.mjs";
4
+ export { ProductionSchedules, } from "./production-schedules.mjs";
5
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/operations/production-schedules/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAoBR;OACM,EACL,KAAK,GAUN;OACM,EACL,mBAAmB,GA0BpB"}