@openmrp/sdk 0.24.1 → 0.24.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 (78) hide show
  1. package/CHANGELOG.md +2 -3
  2. package/package.json +1 -1
  3. package/resources/catalog/items/actions.d.mts +34 -12
  4. package/resources/catalog/items/actions.d.mts.map +1 -1
  5. package/resources/catalog/items/actions.d.ts +34 -12
  6. package/resources/catalog/items/actions.d.ts.map +1 -1
  7. package/resources/catalog/items/actions.js.map +1 -1
  8. package/resources/catalog/items/actions.mjs.map +1 -1
  9. package/resources/core/analytics.d.mts +35 -10
  10. package/resources/core/analytics.d.mts.map +1 -1
  11. package/resources/core/analytics.d.ts +35 -10
  12. package/resources/core/analytics.d.ts.map +1 -1
  13. package/resources/core/audit-events.d.mts +4 -4
  14. package/resources/core/audit-events.d.mts.map +1 -1
  15. package/resources/core/audit-events.d.ts +4 -4
  16. package/resources/core/audit-events.d.ts.map +1 -1
  17. package/resources/core/core.d.mts +2 -2
  18. package/resources/core/core.d.mts.map +1 -1
  19. package/resources/core/core.d.ts +2 -2
  20. package/resources/core/core.d.ts.map +1 -1
  21. package/resources/core/core.js.map +1 -1
  22. package/resources/core/core.mjs.map +1 -1
  23. package/resources/core/jobs.d.mts +1 -1
  24. package/resources/core/jobs.d.mts.map +1 -1
  25. package/resources/core/jobs.d.ts +1 -1
  26. package/resources/core/jobs.d.ts.map +1 -1
  27. package/resources/messaging/conversations/conversations.d.mts +3 -3
  28. package/resources/messaging/conversations/conversations.d.mts.map +1 -1
  29. package/resources/messaging/conversations/conversations.d.ts +3 -3
  30. package/resources/messaging/conversations/conversations.d.ts.map +1 -1
  31. package/resources/messaging/conversations/conversations.js.map +1 -1
  32. package/resources/messaging/conversations/conversations.mjs.map +1 -1
  33. package/resources/messaging/conversations/links.d.mts +2 -2
  34. package/resources/messaging/conversations/links.d.mts.map +1 -1
  35. package/resources/messaging/conversations/links.d.ts +2 -2
  36. package/resources/messaging/conversations/links.d.ts.map +1 -1
  37. package/resources/messaging/conversations/messages.d.mts +2 -2
  38. package/resources/messaging/conversations/messages.d.mts.map +1 -1
  39. package/resources/messaging/conversations/messages.d.ts +2 -2
  40. package/resources/messaging/conversations/messages.d.ts.map +1 -1
  41. package/resources/messaging/notifications/notifications.d.mts +3 -2
  42. package/resources/messaging/notifications/notifications.d.mts.map +1 -1
  43. package/resources/messaging/notifications/notifications.d.ts +3 -2
  44. package/resources/messaging/notifications/notifications.d.ts.map +1 -1
  45. package/resources/messaging/notifications/notifications.js.map +1 -1
  46. package/resources/messaging/notifications/notifications.mjs.map +1 -1
  47. package/resources/operations/picks/lines/lines.d.mts +1 -1
  48. package/resources/operations/picks/lines/lines.d.mts.map +1 -1
  49. package/resources/operations/picks/lines/lines.d.ts +1 -1
  50. package/resources/operations/picks/lines/lines.d.ts.map +1 -1
  51. package/resources/operations/picks/lines/lines.js.map +1 -1
  52. package/resources/operations/picks/lines/lines.mjs.map +1 -1
  53. package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts +3 -3
  54. package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts +3 -3
  55. package/resources/operations/production-schedules/lines.d.mts +3 -3
  56. package/resources/operations/production-schedules/lines.d.ts +3 -3
  57. package/resources/operations/production-schedules/production-schedules.d.mts +6 -6
  58. package/resources/operations/production-schedules/production-schedules.d.ts +6 -6
  59. package/resources/operations/production-schedules/production-schedules.js +1 -1
  60. package/resources/operations/production-schedules/production-schedules.mjs +1 -1
  61. package/src/resources/catalog/items/actions.ts +36 -12
  62. package/src/resources/core/analytics.ts +39 -10
  63. package/src/resources/core/audit-events.ts +40 -4
  64. package/src/resources/core/core.ts +20 -2
  65. package/src/resources/core/jobs.ts +10 -1
  66. package/src/resources/messaging/conversations/conversations.ts +30 -3
  67. package/src/resources/messaging/conversations/links.ts +20 -2
  68. package/src/resources/messaging/conversations/messages.ts +20 -2
  69. package/src/resources/messaging/notifications/notifications.ts +22 -2
  70. package/src/resources/operations/picks/lines/lines.ts +1 -6
  71. package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts +3 -3
  72. package/src/resources/operations/production-schedules/lines.ts +3 -3
  73. package/src/resources/operations/production-schedules/production-schedules.ts +6 -6
  74. package/src/version.ts +1 -1
  75. package/version.d.mts +1 -1
  76. package/version.d.ts +1 -1
  77. package/version.js +1 -1
  78. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.mjs","sourceRoot":"","sources":["../../../src/resources/messaging/notifications/notifications.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,KAAK,UAAU;OACf,EAKL,OAAO,GACR;OAGM,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAA9C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyHrE,CAAC;IAvHC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,CACN,EAAU,EACV,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,+BAA+B,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,mBAAmB,CAAC,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0CAA0C,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,qBAAqB,CAAC,OAAwB;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4CAA4C,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CACF;AAskCD,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"notifications.mjs","sourceRoot":"","sources":["../../../src/resources/messaging/notifications/notifications.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,KAAK,UAAU;OACf,EAKL,OAAO,GACR;OAGM,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAA9C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyHrE,CAAC;IAvHC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6BAA6B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,CACN,EAAU,EACV,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,+BAA+B,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,mBAAmB,CAAC,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0CAA0C,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,qBAAqB,CAAC,OAAwB;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4CAA4C,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CACF;AA0lCD,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC"}
@@ -52,7 +52,7 @@ export interface LineUpdateParams {
52
52
  * Query param: Sub-objects to expand in the response. When omitted, sub-objects
53
53
  * are returned as `null`.
54
54
  */
55
- include?: Array<'sales_order_line' | 'sales_order_line.product' | 'quantity' | 'quantity.unit' | 'ordered_quantity' | 'ordered_quantity.unit'>;
55
+ include?: Array<'sales_order_line' | 'sales_order_line.product' | 'quantity.unit' | 'ordered_quantity.unit'>;
56
56
  /**
57
57
  * Body param: New picked quantity for the line, as a decimal string read in the
58
58
  * unit the sales order line was sold in, stored as given and not capped at the
@@ -1 +1 @@
1
- {"version":3,"file":"lines.d.mts","sourceRoot":"","sources":["../../../../src/resources/operations/picks/lines/lines.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,UAAU;OACf,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,EAAE;OAC/C,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EA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B;IACpC;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CACb,kBAAkB,GAAG,0BAA0B,GAAG,eAAe,GAAG,uBAAuB,CAC5F,CAAC;IAEF;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAID,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;IAE1G,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
@@ -52,7 +52,7 @@ export interface LineUpdateParams {
52
52
  * Query param: Sub-objects to expand in the response. When omitted, sub-objects
53
53
  * are returned as `null`.
54
54
  */
55
- include?: Array<'sales_order_line' | 'sales_order_line.product' | 'quantity' | 'quantity.unit' | 'ordered_quantity' | 'ordered_quantity.unit'>;
55
+ include?: Array<'sales_order_line' | 'sales_order_line.product' | 'quantity.unit' | 'ordered_quantity.unit'>;
56
56
  /**
57
57
  * Body param: New picked quantity for the line, as a decimal string read in the
58
58
  * unit the sales order line was sold in, stored as given and not capped at the
@@ -1 +1 @@
1
- {"version":3,"file":"lines.d.ts","sourceRoot":"","sources":["../../../../src/resources/operations/picks/lines/lines.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,KAAK,UAAU;OACf,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,EAAE;OAC/C,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC,OAAO,EAAE,UAAU,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IAAA,WAAI,EAAA,wBAAwB,OAAO,UAAU,EAAE,EAAE,EAAE;YAC3E,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA9BD,sBA8BC;AA8CD,KAAK,CAAC,OAAO,GAAG,iBAAO,CAAC"}
1
+ {"version":3,"file":"lines.js","sourceRoot":"","sources":["../../../../src/resources/operations/picks/lines/lines.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,2DAAwD;AAExD,iEAAwC;AACxC,0CAAwE;AAGxE,6DAAuD;AAEvD;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA6BrE,CAAC;IA3BC;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,EAAU,EAAE,MAAwB,EAAE,OAAwB;QACnE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,wBAAwB,OAAO,UAAU,EAAE,EAAE,EAAE;YAC3E,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA9BD,sBA8BC;AAyCD,KAAK,CAAC,OAAO,GAAG,iBAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"lines.mjs","sourceRoot":"","sources":["../../../../src/resources/operations/picks/lines/lines.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,UAAU;OACf,EAAsC,OAAO,EAAE;OAG/C,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,YAAO,GA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C"}
@@ -125,7 +125,7 @@ export interface ProductionScheduleSettings {
125
125
  /**
126
126
  * Typical changeover duration.
127
127
  *
128
- * Changeover time is modelled as rising with the number of new inputs a product
128
+ * Changeover time is modeled as rising with the number of new inputs a product
129
129
  * introduces, between the minimum and maximum below. The slope is calibrated from
130
130
  * production history so the model reproduces this average across the transitions
131
131
  * actually observed, which is why the value belongs at the changeover time the
@@ -372,7 +372,7 @@ export interface UpdateProductionScheduleSettingsRequest {
372
372
  /**
373
373
  * Typical changeover duration.
374
374
  *
375
- * Changeover time is modelled as rising with the number of new inputs a product
375
+ * Changeover time is modeled as rising with the number of new inputs a product
376
376
  * introduces, between the minimum and maximum below. The slope is calibrated from
377
377
  * production history so the model reproduces this average across the transitions
378
378
  * actually observed; set it to the changeover time the floor typically reports
@@ -599,7 +599,7 @@ export interface ProductionScheduleSettingUpdateParams {
599
599
  /**
600
600
  * Typical changeover duration.
601
601
  *
602
- * Changeover time is modelled as rising with the number of new inputs a product
602
+ * Changeover time is modeled as rising with the number of new inputs a product
603
603
  * introduces, between the minimum and maximum below. The slope is calibrated from
604
604
  * production history so the model reproduces this average across the transitions
605
605
  * actually observed; set it to the changeover time the floor typically reports
@@ -125,7 +125,7 @@ export interface ProductionScheduleSettings {
125
125
  /**
126
126
  * Typical changeover duration.
127
127
  *
128
- * Changeover time is modelled as rising with the number of new inputs a product
128
+ * Changeover time is modeled as rising with the number of new inputs a product
129
129
  * introduces, between the minimum and maximum below. The slope is calibrated from
130
130
  * production history so the model reproduces this average across the transitions
131
131
  * actually observed, which is why the value belongs at the changeover time the
@@ -372,7 +372,7 @@ export interface UpdateProductionScheduleSettingsRequest {
372
372
  /**
373
373
  * Typical changeover duration.
374
374
  *
375
- * Changeover time is modelled as rising with the number of new inputs a product
375
+ * Changeover time is modeled as rising with the number of new inputs a product
376
376
  * introduces, between the minimum and maximum below. The slope is calibrated from
377
377
  * production history so the model reproduces this average across the transitions
378
378
  * actually observed; set it to the changeover time the floor typically reports
@@ -599,7 +599,7 @@ export interface ProductionScheduleSettingUpdateParams {
599
599
  /**
600
600
  * Typical changeover duration.
601
601
  *
602
- * Changeover time is modelled as rising with the number of new inputs a product
602
+ * Changeover time is modeled as rising with the number of new inputs a product
603
603
  * introduces, between the minimum and maximum below. The slope is calibrated from
604
604
  * production history so the model reproduces this average across the transitions
605
605
  * actually observed; set it to the changeover time the floor typically reports
@@ -150,7 +150,7 @@ export interface CreateProductionScheduleLineRequest {
150
150
  * Machine hours the campaign will take.
151
151
  *
152
152
  * Left unset, it is estimated from the rate this version was solved with for this
153
- * item, so the week's utilisation still reflects the added work. An item the
153
+ * item, so the week's utilization still reflects the added work. An item the
154
154
  * version holds no policy for estimates to zero.
155
155
  */
156
156
  run_hours?: number;
@@ -213,7 +213,7 @@ export interface ProductionScheduleLine {
213
213
  */
214
214
  object: 'production_schedule_line';
215
215
  /**
216
- * Modelled changeover time before the campaign.
216
+ * Modeled changeover time before the campaign.
217
217
  */
218
218
  planned_changeover_minutes: number;
219
219
  /**
@@ -437,7 +437,7 @@ export interface LineCreateParams {
437
437
  * Machine hours the campaign will take.
438
438
  *
439
439
  * Left unset, it is estimated from the rate this version was solved with for this
440
- * item, so the week's utilisation still reflects the added work. An item the
440
+ * item, so the week's utilization still reflects the added work. An item the
441
441
  * version holds no policy for estimates to zero.
442
442
  */
443
443
  run_hours?: number;
@@ -150,7 +150,7 @@ export interface CreateProductionScheduleLineRequest {
150
150
  * Machine hours the campaign will take.
151
151
  *
152
152
  * Left unset, it is estimated from the rate this version was solved with for this
153
- * item, so the week's utilisation still reflects the added work. An item the
153
+ * item, so the week's utilization still reflects the added work. An item the
154
154
  * version holds no policy for estimates to zero.
155
155
  */
156
156
  run_hours?: number;
@@ -213,7 +213,7 @@ export interface ProductionScheduleLine {
213
213
  */
214
214
  object: 'production_schedule_line';
215
215
  /**
216
- * Modelled changeover time before the campaign.
216
+ * Modeled changeover time before the campaign.
217
217
  */
218
218
  planned_changeover_minutes: number;
219
219
  /**
@@ -437,7 +437,7 @@ export interface LineCreateParams {
437
437
  * Machine hours the campaign will take.
438
438
  *
439
439
  * Left unset, it is estimated from the rate this version was solved with for this
440
- * item, so the week's utilisation still reflects the added work. An item the
440
+ * item, so the week's utilization still reflects the added work. An item the
441
441
  * version holds no policy for estimates to zero.
442
442
  */
443
443
  run_hours?: number;
@@ -141,7 +141,7 @@ export declare class ProductionSchedules extends APIResource {
141
141
  * lines are where that pooling is undone, against each finished SKU's own stock
142
142
  * position, its own orders, and the hours the rest of the factory has that week.
143
143
  *
144
- * Levelled, not merely allocated. Work that does not fit a week moves to the next
144
+ * Leveled, not merely allocated. Work that does not fit a week moves to the next
145
145
  * one rather than being dropped, so the plan never asks the second stage for more
146
146
  * hours than it has. Two things bound it, and they are reported separately in the
147
147
  * schedule's diagnostics because they call for opposite responses: a SKU held back
@@ -305,7 +305,7 @@ export interface GenerateProductionScheduleRequest {
305
305
  /**
306
306
  * Human-readable label for the version, such as the week it was cut for.
307
307
  *
308
- * Purely for recognising the version in a list; versions are numbered
308
+ * Purely for recognizing the version in a list; versions are numbered
309
309
  * automatically and the number is what identifies them.
310
310
  */
311
311
  name?: string;
@@ -1591,8 +1591,8 @@ export interface ScheduleDiagnostics {
1591
1591
  * introduces.
1592
1592
  *
1593
1593
  * Calibrated from measured production against `average_inputs_added`, so the
1594
- * modelled changeover lands on the time the floor actually reports rather than on
1595
- * a fixed allowance.
1594
+ * modeled changeover lands on the time the floor actually reports rather than on a
1595
+ * fixed allowance.
1596
1596
  */
1597
1597
  changeover_slope_minutes: number;
1598
1598
  /**
@@ -1697,7 +1697,7 @@ export interface ScheduleFinishingDiagnostics {
1697
1697
  */
1698
1698
  greige_starved_skus: Array<string>;
1699
1699
  /**
1700
- * Finished goods with no measured finishing rate, which cannot be levelled because
1700
+ * Finished goods with no measured finishing rate, which cannot be leveled because
1701
1701
  * the hours they cost are unknown.
1702
1702
  */
1703
1703
  items_without_run_rate: Array<string>;
@@ -1853,7 +1853,7 @@ export interface ProductionScheduleCreateParams {
1853
1853
  /**
1854
1854
  * Human-readable label for the version, such as the week it was cut for.
1855
1855
  *
1856
- * Purely for recognising the version in a list; versions are numbered
1856
+ * Purely for recognizing the version in a list; versions are numbered
1857
1857
  * automatically and the number is what identifies them.
1858
1858
  */
1859
1859
  name?: string;
@@ -141,7 +141,7 @@ export declare class ProductionSchedules extends APIResource {
141
141
  * lines are where that pooling is undone, against each finished SKU's own stock
142
142
  * position, its own orders, and the hours the rest of the factory has that week.
143
143
  *
144
- * Levelled, not merely allocated. Work that does not fit a week moves to the next
144
+ * Leveled, not merely allocated. Work that does not fit a week moves to the next
145
145
  * one rather than being dropped, so the plan never asks the second stage for more
146
146
  * hours than it has. Two things bound it, and they are reported separately in the
147
147
  * schedule's diagnostics because they call for opposite responses: a SKU held back
@@ -305,7 +305,7 @@ export interface GenerateProductionScheduleRequest {
305
305
  /**
306
306
  * Human-readable label for the version, such as the week it was cut for.
307
307
  *
308
- * Purely for recognising the version in a list; versions are numbered
308
+ * Purely for recognizing the version in a list; versions are numbered
309
309
  * automatically and the number is what identifies them.
310
310
  */
311
311
  name?: string;
@@ -1591,8 +1591,8 @@ export interface ScheduleDiagnostics {
1591
1591
  * introduces.
1592
1592
  *
1593
1593
  * Calibrated from measured production against `average_inputs_added`, so the
1594
- * modelled changeover lands on the time the floor actually reports rather than on
1595
- * a fixed allowance.
1594
+ * modeled changeover lands on the time the floor actually reports rather than on a
1595
+ * fixed allowance.
1596
1596
  */
1597
1597
  changeover_slope_minutes: number;
1598
1598
  /**
@@ -1697,7 +1697,7 @@ export interface ScheduleFinishingDiagnostics {
1697
1697
  */
1698
1698
  greige_starved_skus: Array<string>;
1699
1699
  /**
1700
- * Finished goods with no measured finishing rate, which cannot be levelled because
1700
+ * Finished goods with no measured finishing rate, which cannot be leveled because
1701
1701
  * the hours they cost are unknown.
1702
1702
  */
1703
1703
  items_without_run_rate: Array<string>;
@@ -1853,7 +1853,7 @@ export interface ProductionScheduleCreateParams {
1853
1853
  /**
1854
1854
  * Human-readable label for the version, such as the week it was cut for.
1855
1855
  *
1856
- * Purely for recognising the version in a list; versions are numbered
1856
+ * Purely for recognizing the version in a list; versions are numbered
1857
1857
  * automatically and the number is what identifies them.
1858
1858
  */
1859
1859
  name?: string;
@@ -157,7 +157,7 @@ class ProductionSchedules extends resource_1.APIResource {
157
157
  * lines are where that pooling is undone, against each finished SKU's own stock
158
158
  * position, its own orders, and the hours the rest of the factory has that week.
159
159
  *
160
- * Levelled, not merely allocated. Work that does not fit a week moves to the next
160
+ * Leveled, not merely allocated. Work that does not fit a week moves to the next
161
161
  * one rather than being dropped, so the plan never asks the second stage for more
162
162
  * hours than it has. Two things bound it, and they are reported separately in the
163
163
  * schedule's diagnostics because they call for opposite responses: a SKU held back
@@ -153,7 +153,7 @@ export class ProductionSchedules extends APIResource {
153
153
  * lines are where that pooling is undone, against each finished SKU's own stock
154
154
  * position, its own orders, and the hours the rest of the factory has that week.
155
155
  *
156
- * Levelled, not merely allocated. Work that does not fit a week moves to the next
156
+ * Leveled, not merely allocated. Work that does not fit a week moves to the next
157
157
  * one rather than being dropped, so the plan never asks the second stage for more
158
158
  * hours than it has. Two things bound it, and they are reported separately in the
159
159
  * schedule's diagnostics because they call for opposite responses: a SKU held back
@@ -1,7 +1,9 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../../core/resource';
4
+ import * as CoreAPI from '../../core/core';
4
5
  import * as APIKeysAPI from '../../auth/api-keys/api-keys';
6
+ import * as InventoryAPI from './inventory';
5
7
  import { APIPromise } from '../../../core/api-promise';
6
8
  import { RequestOptions } from '../../../internal/request-options';
7
9
 
@@ -217,50 +219,72 @@ export interface ReconcileErrorResult {
217
219
  error: string;
218
220
 
219
221
  /**
220
- * Item SKU.
222
+ * Entity is a polymorphic reference to any resource in the system.
221
223
  */
222
- sku: string;
224
+ item: CoreAPI.Entity | null;
225
+
226
+ /**
227
+ * Resource type identifier.
228
+ */
229
+ object: 'reconcile_error_result';
223
230
  }
224
231
 
225
232
  /**
226
233
  * An item whose on-hand quantity was successfully reconciled.
227
234
  *
228
235
  * Both quantities are expressed in the item's own base unit, not in the unit
229
- * submitted with the request.
236
+ * submitted with the request, and both arrive with that unit resolved.
230
237
  */
231
238
  export interface ReconciledItemResult {
232
239
  /**
233
- * Item ID.
240
+ * Entity is a polymorphic reference to any resource in the system.
234
241
  */
235
- item_id: string;
242
+ item: CoreAPI.Entity | null;
236
243
 
237
244
  /**
238
- * Quantity after the reconciliation, as a decimal string.
245
+ * An amount calculated on demand rather than stored.
246
+ *
247
+ * The same shape as a quantity minus the ID, because nothing was written: it is
248
+ * derived per request, such as a total rolled up across invoiced lines for one
249
+ * analysis.
239
250
  */
240
- new_quantity: string;
251
+ new_quantity: InventoryAPI.ComputedQuantity | null;
241
252
 
242
253
  /**
243
- * Quantity before the reconciliation, as a decimal string.
254
+ * Resource type identifier.
244
255
  */
245
- previous_quantity: string;
256
+ object: 'reconciled_item_result';
246
257
 
247
258
  /**
248
- * Item SKU.
259
+ * An amount calculated on demand rather than stored.
260
+ *
261
+ * The same shape as a quantity minus the ID, because nothing was written: it is
262
+ * derived per request, such as a total rolled up across invoiced lines for one
263
+ * analysis.
249
264
  */
250
- sku: string;
265
+ previous_quantity: InventoryAPI.ComputedQuantity | null;
251
266
  }
252
267
 
253
268
  /**
254
269
  * A submitted row that was skipped rather than reconciled.
270
+ *
271
+ * A skipped row is reported by the SKU it was submitted under rather than as an
272
+ * item reference, because the usual reason to skip one is that no item carries
273
+ * that SKU — there is nothing to point at.
255
274
  */
256
275
  export interface SkippedItemResult {
276
+ /**
277
+ * Resource type identifier.
278
+ */
279
+ object: 'skipped_item_result';
280
+
257
281
  /**
258
282
  * Human-readable reason the item was skipped.
259
283
  */
260
284
  reason: string;
261
285
 
262
286
  /**
263
- * Item SKU.
287
+ * Item SKU, as submitted.
264
288
  */
265
289
  sku: string;
266
290
  }
@@ -1047,7 +1047,7 @@ export interface OeeDepartment {
1047
1047
  availability_loss_seconds: number;
1048
1048
 
1049
1049
  /**
1050
- * Run time divided by scheduled time.
1050
+ * Run time (capped at scheduled) divided by scheduled time.
1051
1051
  */
1052
1052
  availability_pct: number | null;
1053
1053
 
@@ -1085,7 +1085,7 @@ export interface OeeDepartment {
1085
1085
  /**
1086
1086
  * Whether availability was measured from logged downtime or estimated from
1087
1087
  * runtime. A department with no logged downtime computes as perfectly available,
1088
- * so an estimate is labelled rather than presented as a measurement.
1088
+ * so an estimate is labeled rather than presented as a measurement.
1089
1089
  */
1090
1090
  measurement_status: 'measured' | 'estimated';
1091
1091
 
@@ -1100,14 +1100,27 @@ export interface OeeDepartment {
1100
1100
  */
1101
1101
  oee_pct: number | null;
1102
1102
 
1103
+ /**
1104
+ * The scheduled machines' measured run time (first-to-last scan per machine per
1105
+ * day), in seconds. Performance's denominator.
1106
+ */
1107
+ operating_time_seconds: number;
1108
+
1109
+ /**
1110
+ * Measured run time beyond the scheduled window, in seconds. A schedule-adherence
1111
+ * signal reported apart from OEE, so overtime is not counted as extra
1112
+ * availability.
1113
+ */
1114
+ overrun_seconds: number;
1115
+
1103
1116
  /**
1104
1117
  * Logged downtime charged against performance, in seconds.
1105
1118
  */
1106
1119
  performance_loss_seconds: number;
1107
1120
 
1108
1121
  /**
1109
- * Standard seconds earned divided by run time: how fast the department ran against
1110
- * the designed speed of its production steps.
1122
+ * Standard seconds earned divided by measured operating time: how fast the
1123
+ * department ran against the designed speed of its production steps.
1111
1124
  */
1112
1125
  performance_pct: number | null;
1113
1126
 
@@ -1122,12 +1135,14 @@ export interface OeeDepartment {
1122
1135
  quality_pct: number | null;
1123
1136
 
1124
1137
  /**
1125
- * Scheduled time net of availability losses, in seconds.
1138
+ * Operating time counted toward availability: measured run time capped at
1139
+ * scheduled time, in seconds.
1126
1140
  */
1127
1141
  run_time_seconds: number;
1128
1142
 
1129
1143
  /**
1130
- * Planned time net of not-scheduled downtime, in seconds.
1144
+ * Planned production time net of not-scheduled downtime, in seconds.
1145
+ * Availability's denominator.
1131
1146
  */
1132
1147
  scheduled_seconds: number;
1133
1148
 
@@ -1212,7 +1227,7 @@ export interface OeeTrendPeriod {
1212
1227
  availability_loss_seconds: number;
1213
1228
 
1214
1229
  /**
1215
- * Run time divided by scheduled time.
1230
+ * Run time (capped at scheduled) divided by scheduled time.
1216
1231
  */
1217
1232
  availability_pct: number | null;
1218
1233
 
@@ -1249,7 +1264,19 @@ export interface OeeTrendPeriod {
1249
1264
  oee_pct: number | null;
1250
1265
 
1251
1266
  /**
1252
- * Standard seconds earned divided by run time.
1267
+ * The scheduled machines' measured run time, in seconds. Performance's
1268
+ * denominator.
1269
+ */
1270
+ operating_time_seconds: number;
1271
+
1272
+ /**
1273
+ * Measured run time beyond the scheduled window, in seconds, reported apart from
1274
+ * OEE.
1275
+ */
1276
+ overrun_seconds: number;
1277
+
1278
+ /**
1279
+ * Standard seconds earned divided by measured operating time.
1253
1280
  */
1254
1281
  performance_pct: number | null;
1255
1282
 
@@ -1259,12 +1286,14 @@ export interface OeeTrendPeriod {
1259
1286
  quality_pct: number | null;
1260
1287
 
1261
1288
  /**
1262
- * Scheduled time net of availability losses, in seconds.
1289
+ * Operating time counted toward availability: measured run time capped at
1290
+ * scheduled time, in seconds.
1263
1291
  */
1264
1292
  run_time_seconds: number;
1265
1293
 
1266
1294
  /**
1267
- * Planned time net of not-scheduled downtime, in seconds.
1295
+ * Planned production time net of not-scheduled downtime, in seconds.
1296
+ * Availability's denominator.
1268
1297
  */
1269
1298
  scheduled_seconds: number;
1270
1299
 
@@ -319,6 +319,7 @@ export interface AuditEvent {
319
319
  | 'priority'
320
320
  | 'delivery'
321
321
  | 'delivery_line'
322
+ | 'delivery_related'
322
323
  | 'sales_order'
323
324
  | 'location'
324
325
  | 'location_type'
@@ -398,11 +399,14 @@ export interface AuditEvent {
398
399
  | 'map'
399
400
  | 'purchase_order'
400
401
  | 'purchase_order_line'
402
+ | 'purchase_order_related'
401
403
  | 'supplier'
402
- | 'supplier_summary'
403
404
  | 'receivable_entry'
404
405
  | 'receiving_order'
405
406
  | 'receiving_order_line'
407
+ | 'receiving_order_totals'
408
+ | 'receiving_order_stage_total'
409
+ | 'receiving_order_related'
406
410
  | 'email_contact'
407
411
  | 'allocation_entry'
408
412
  | 'open_credit_entry'
@@ -444,6 +448,11 @@ export interface AuditEvent {
444
448
  | 'user_photo_url'
445
449
  | 'batch_lot'
446
450
  | 'check_duplicate_result'
451
+ | 'item_costs'
452
+ | 'item_trends'
453
+ | 'reconciled_item_result'
454
+ | 'skipped_item_result'
455
+ | 'reconcile_error_result'
447
456
  | 'item_trend_point'
448
457
  | 'tenancy_pending_registration'
449
458
  | 'invoice_allocation_entry'
@@ -735,6 +744,7 @@ export interface ListObjectType {
735
744
  | 'priority'
736
745
  | 'delivery'
737
746
  | 'delivery_line'
747
+ | 'delivery_related'
738
748
  | 'sales_order'
739
749
  | 'location'
740
750
  | 'location_type'
@@ -814,11 +824,14 @@ export interface ListObjectType {
814
824
  | 'map'
815
825
  | 'purchase_order'
816
826
  | 'purchase_order_line'
827
+ | 'purchase_order_related'
817
828
  | 'supplier'
818
- | 'supplier_summary'
819
829
  | 'receivable_entry'
820
830
  | 'receiving_order'
821
831
  | 'receiving_order_line'
832
+ | 'receiving_order_totals'
833
+ | 'receiving_order_stage_total'
834
+ | 'receiving_order_related'
822
835
  | 'email_contact'
823
836
  | 'allocation_entry'
824
837
  | 'open_credit_entry'
@@ -860,6 +873,11 @@ export interface ListObjectType {
860
873
  | 'user_photo_url'
861
874
  | 'batch_lot'
862
875
  | 'check_duplicate_result'
876
+ | 'item_costs'
877
+ | 'item_trends'
878
+ | 'reconciled_item_result'
879
+ | 'skipped_item_result'
880
+ | 'reconcile_error_result'
863
881
  | 'item_trend_point'
864
882
  | 'tenancy_pending_registration'
865
883
  | 'invoice_allocation_entry'
@@ -1139,6 +1157,7 @@ export interface AuditEventListParams {
1139
1157
  | 'priority'
1140
1158
  | 'delivery'
1141
1159
  | 'delivery_line'
1160
+ | 'delivery_related'
1142
1161
  | 'sales_order'
1143
1162
  | 'location'
1144
1163
  | 'location_type'
@@ -1218,11 +1237,14 @@ export interface AuditEventListParams {
1218
1237
  | 'map'
1219
1238
  | 'purchase_order'
1220
1239
  | 'purchase_order_line'
1240
+ | 'purchase_order_related'
1221
1241
  | 'supplier'
1222
- | 'supplier_summary'
1223
1242
  | 'receivable_entry'
1224
1243
  | 'receiving_order'
1225
1244
  | 'receiving_order_line'
1245
+ | 'receiving_order_totals'
1246
+ | 'receiving_order_stage_total'
1247
+ | 'receiving_order_related'
1226
1248
  | 'email_contact'
1227
1249
  | 'allocation_entry'
1228
1250
  | 'open_credit_entry'
@@ -1264,6 +1286,11 @@ export interface AuditEventListParams {
1264
1286
  | 'user_photo_url'
1265
1287
  | 'batch_lot'
1266
1288
  | 'check_duplicate_result'
1289
+ | 'item_costs'
1290
+ | 'item_trends'
1291
+ | 'reconciled_item_result'
1292
+ | 'skipped_item_result'
1293
+ | 'reconcile_error_result'
1267
1294
  | 'item_trend_point'
1268
1295
  | 'tenancy_pending_registration'
1269
1296
  | 'invoice_allocation_entry'
@@ -1466,6 +1493,7 @@ export interface AuditEventListParams {
1466
1493
  | 'priority'
1467
1494
  | 'delivery'
1468
1495
  | 'delivery_line'
1496
+ | 'delivery_related'
1469
1497
  | 'sales_order'
1470
1498
  | 'location'
1471
1499
  | 'location_type'
@@ -1545,11 +1573,14 @@ export interface AuditEventListParams {
1545
1573
  | 'map'
1546
1574
  | 'purchase_order'
1547
1575
  | 'purchase_order_line'
1576
+ | 'purchase_order_related'
1548
1577
  | 'supplier'
1549
- | 'supplier_summary'
1550
1578
  | 'receivable_entry'
1551
1579
  | 'receiving_order'
1552
1580
  | 'receiving_order_line'
1581
+ | 'receiving_order_totals'
1582
+ | 'receiving_order_stage_total'
1583
+ | 'receiving_order_related'
1553
1584
  | 'email_contact'
1554
1585
  | 'allocation_entry'
1555
1586
  | 'open_credit_entry'
@@ -1591,6 +1622,11 @@ export interface AuditEventListParams {
1591
1622
  | 'user_photo_url'
1592
1623
  | 'batch_lot'
1593
1624
  | 'check_duplicate_result'
1625
+ | 'item_costs'
1626
+ | 'item_trends'
1627
+ | 'reconciled_item_result'
1628
+ | 'skipped_item_result'
1629
+ | 'reconcile_error_result'
1594
1630
  | 'item_trend_point'
1595
1631
  | 'tenancy_pending_registration'
1596
1632
  | 'invoice_allocation_entry'