@augno/sdk 0.18.1 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -5
- package/package.json +1 -1
- package/resources/catalog/catalog.d.mts +6 -6
- package/resources/catalog/catalog.d.mts.map +1 -1
- package/resources/catalog/catalog.d.ts +6 -6
- package/resources/catalog/catalog.d.ts.map +1 -1
- package/resources/catalog/catalog.js.map +1 -1
- package/resources/catalog/catalog.mjs.map +1 -1
- package/resources/catalog/index.d.mts +3 -3
- package/resources/catalog/index.d.mts.map +1 -1
- package/resources/catalog/index.d.ts +3 -3
- package/resources/catalog/index.d.ts.map +1 -1
- package/resources/catalog/index.js.map +1 -1
- package/resources/catalog/index.mjs.map +1 -1
- package/resources/catalog/items/actions.d.mts +249 -0
- package/resources/catalog/items/actions.d.mts.map +1 -0
- package/resources/catalog/items/actions.d.ts +249 -0
- package/resources/catalog/items/actions.d.ts.map +1 -0
- package/resources/catalog/items/actions.js +46 -0
- package/resources/catalog/items/actions.js.map +1 -0
- package/resources/catalog/items/actions.mjs +42 -0
- package/resources/catalog/items/actions.mjs.map +1 -0
- package/resources/catalog/items/index.d.mts +3 -1
- package/resources/catalog/items/index.d.mts.map +1 -1
- package/resources/catalog/items/index.d.ts +3 -1
- package/resources/catalog/items/index.d.ts.map +1 -1
- package/resources/catalog/items/index.js +5 -1
- package/resources/catalog/items/index.js.map +1 -1
- package/resources/catalog/items/index.mjs +2 -0
- package/resources/catalog/items/index.mjs.map +1 -1
- package/resources/catalog/items/inventory.d.mts +247 -0
- package/resources/catalog/items/inventory.d.mts.map +1 -0
- package/resources/catalog/items/inventory.d.ts +247 -0
- package/resources/catalog/items/inventory.d.ts.map +1 -0
- package/resources/catalog/items/inventory.js +75 -0
- package/resources/catalog/items/inventory.js.map +1 -0
- package/resources/catalog/items/inventory.mjs +71 -0
- package/resources/catalog/items/inventory.mjs.map +1 -0
- package/resources/catalog/items/items.d.mts +9 -104
- package/resources/catalog/items/items.d.mts.map +1 -1
- package/resources/catalog/items/items.d.ts +9 -104
- package/resources/catalog/items/items.d.ts.map +1 -1
- package/resources/catalog/items/items.js +8 -21
- package/resources/catalog/items/items.js.map +1 -1
- package/resources/catalog/items/items.mjs +8 -21
- package/resources/catalog/items/items.mjs.map +1 -1
- package/resources/catalog/materials/index.d.mts +1 -1
- package/resources/catalog/materials/index.d.mts.map +1 -1
- package/resources/catalog/materials/index.d.ts +1 -1
- package/resources/catalog/materials/index.d.ts.map +1 -1
- package/resources/catalog/materials/index.js.map +1 -1
- package/resources/catalog/materials/index.mjs.map +1 -1
- package/resources/catalog/materials/materials.d.mts +36 -3
- package/resources/catalog/materials/materials.d.mts.map +1 -1
- package/resources/catalog/materials/materials.d.ts +36 -3
- package/resources/catalog/materials/materials.d.ts.map +1 -1
- package/resources/catalog/materials/materials.js.map +1 -1
- package/resources/catalog/materials/materials.mjs.map +1 -1
- package/resources/catalog/product-lines/index.d.mts +1 -1
- package/resources/catalog/product-lines/index.d.mts.map +1 -1
- package/resources/catalog/product-lines/index.d.ts +1 -1
- package/resources/catalog/product-lines/index.d.ts.map +1 -1
- package/resources/catalog/product-lines/index.js.map +1 -1
- package/resources/catalog/product-lines/index.mjs.map +1 -1
- package/resources/catalog/product-lines/product-lines.d.mts +8 -23
- package/resources/catalog/product-lines/product-lines.d.mts.map +1 -1
- package/resources/catalog/product-lines/product-lines.d.ts +8 -23
- package/resources/catalog/product-lines/product-lines.d.ts.map +1 -1
- package/resources/catalog/product-lines/product-lines.js.map +1 -1
- package/resources/catalog/product-lines/product-lines.mjs.map +1 -1
- package/resources/core/audit-events.d.mts +4 -4
- package/resources/core/audit-events.d.mts.map +1 -1
- package/resources/core/audit-events.d.ts +4 -4
- package/resources/core/audit-events.d.ts.map +1 -1
- package/resources/core/core.d.mts +2 -2
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +2 -2
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.js.map +1 -1
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/jobs.d.mts +2 -2
- package/resources/core/jobs.d.mts.map +1 -1
- package/resources/core/jobs.d.ts +2 -2
- package/resources/core/jobs.d.ts.map +1 -1
- package/resources/messaging/blocks.d.mts +4 -3
- package/resources/messaging/blocks.d.mts.map +1 -1
- package/resources/messaging/blocks.d.ts +4 -3
- package/resources/messaging/blocks.d.ts.map +1 -1
- package/resources/messaging/blocks.js.map +1 -1
- package/resources/messaging/blocks.mjs.map +1 -1
- package/resources/messaging/conversations/conversations.d.mts +3 -3
- package/resources/messaging/conversations/conversations.d.mts.map +1 -1
- package/resources/messaging/conversations/conversations.d.ts +3 -3
- package/resources/messaging/conversations/conversations.d.ts.map +1 -1
- package/resources/messaging/conversations/conversations.js.map +1 -1
- package/resources/messaging/conversations/conversations.mjs.map +1 -1
- package/resources/messaging/conversations/links.d.mts +2 -2
- package/resources/messaging/conversations/links.d.mts.map +1 -1
- package/resources/messaging/conversations/links.d.ts +2 -2
- package/resources/messaging/conversations/links.d.ts.map +1 -1
- package/resources/messaging/conversations/messages.d.mts +2 -2
- package/resources/messaging/conversations/messages.d.mts.map +1 -1
- package/resources/messaging/conversations/messages.d.ts +2 -2
- package/resources/messaging/conversations/messages.d.ts.map +1 -1
- package/resources/messaging/notifications/notifications.d.mts +2 -2
- package/resources/messaging/notifications/notifications.d.mts.map +1 -1
- package/resources/messaging/notifications/notifications.d.ts +2 -2
- package/resources/messaging/notifications/notifications.d.ts.map +1 -1
- package/resources/messaging/notifications/notifications.js.map +1 -1
- package/resources/messaging/notifications/notifications.mjs.map +1 -1
- package/resources/operations/index.d.mts +1 -1
- package/resources/operations/index.d.mts.map +1 -1
- package/resources/operations/index.d.ts +1 -1
- package/resources/operations/index.d.ts.map +1 -1
- package/resources/operations/index.js.map +1 -1
- package/resources/operations/index.mjs.map +1 -1
- package/resources/operations/machine-downtime-events.d.mts +56 -7
- package/resources/operations/machine-downtime-events.d.mts.map +1 -1
- package/resources/operations/machine-downtime-events.d.ts +56 -7
- package/resources/operations/machine-downtime-events.d.ts.map +1 -1
- package/resources/operations/machine-downtime-events.js +11 -7
- package/resources/operations/machine-downtime-events.js.map +1 -1
- package/resources/operations/machine-downtime-events.mjs +11 -7
- package/resources/operations/machine-downtime-events.mjs.map +1 -1
- package/resources/operations/operations.d.mts +2 -2
- package/resources/operations/operations.d.mts.map +1 -1
- package/resources/operations/operations.d.ts +2 -2
- package/resources/operations/operations.d.ts.map +1 -1
- package/resources/operations/operations.js.map +1 -1
- package/resources/operations/operations.mjs.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts +13 -12
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts +13 -12
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.js.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.mjs.map +1 -1
- package/resources/operations/production-schedules/actions.d.mts +34 -1
- package/resources/operations/production-schedules/actions.d.mts.map +1 -1
- package/resources/operations/production-schedules/actions.d.ts +34 -1
- package/resources/operations/production-schedules/actions.d.ts.map +1 -1
- package/resources/operations/production-schedules/actions.js +8 -0
- package/resources/operations/production-schedules/actions.js.map +1 -1
- package/resources/operations/production-schedules/actions.mjs +8 -0
- package/resources/operations/production-schedules/actions.mjs.map +1 -1
- package/resources/operations/production-schedules/index.d.mts +1 -1
- package/resources/operations/production-schedules/index.d.mts.map +1 -1
- package/resources/operations/production-schedules/index.d.ts +1 -1
- package/resources/operations/production-schedules/index.d.ts.map +1 -1
- package/resources/operations/production-schedules/index.js.map +1 -1
- package/resources/operations/production-schedules/index.mjs.map +1 -1
- package/resources/operations/production-schedules/production-schedules.d.mts +295 -2
- package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.d.ts +295 -2
- package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.js +42 -0
- package/resources/operations/production-schedules/production-schedules.js.map +1 -1
- package/resources/operations/production-schedules/production-schedules.mjs +42 -0
- package/resources/operations/production-schedules/production-schedules.mjs.map +1 -1
- package/resources/operations/shipping-terms.d.mts +9 -9
- package/resources/operations/shipping-terms.d.mts.map +1 -1
- package/resources/operations/shipping-terms.d.ts +9 -9
- package/resources/operations/shipping-terms.d.ts.map +1 -1
- package/resources/sales/account-groups.d.mts +2 -1
- package/resources/sales/account-groups.d.mts.map +1 -1
- package/resources/sales/account-groups.d.ts +2 -1
- package/resources/sales/account-groups.d.ts.map +1 -1
- package/resources/sales/account-prices/account-prices.d.mts +5 -4
- package/resources/sales/account-prices/account-prices.d.mts.map +1 -1
- package/resources/sales/account-prices/account-prices.d.ts +5 -4
- package/resources/sales/account-prices/account-prices.d.ts.map +1 -1
- package/resources/sales/account-prices/account-prices.js.map +1 -1
- package/resources/sales/account-prices/account-prices.mjs.map +1 -1
- package/resources/sales/account-users/sales-targets.d.mts +2 -2
- package/resources/sales/account-users/sales-targets.d.mts.map +1 -1
- package/resources/sales/account-users/sales-targets.d.ts +2 -2
- package/resources/sales/account-users/sales-targets.d.ts.map +1 -1
- package/resources/sales/customers/customers.d.mts +48 -19
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +48 -19
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/customers/customers.js +10 -5
- package/resources/sales/customers/customers.js.map +1 -1
- package/resources/sales/customers/customers.mjs +10 -5
- package/resources/sales/customers/customers.mjs.map +1 -1
- package/resources/sales/customers/index.d.mts +1 -1
- package/resources/sales/customers/index.d.mts.map +1 -1
- package/resources/sales/customers/index.d.ts +1 -1
- package/resources/sales/customers/index.d.ts.map +1 -1
- package/resources/sales/customers/index.js.map +1 -1
- package/resources/sales/customers/index.mjs.map +1 -1
- package/resources/sales/index.d.mts +1 -1
- package/resources/sales/index.d.mts.map +1 -1
- package/resources/sales/index.d.ts +1 -1
- package/resources/sales/index.d.ts.map +1 -1
- package/resources/sales/index.js.map +1 -1
- package/resources/sales/index.mjs.map +1 -1
- package/resources/sales/sales-orders/actions.d.mts +14 -2
- package/resources/sales/sales-orders/actions.d.mts.map +1 -1
- package/resources/sales/sales-orders/actions.d.ts +14 -2
- package/resources/sales/sales-orders/actions.d.ts.map +1 -1
- package/resources/sales/sales-orders/lines/lines.d.mts +5 -5
- package/resources/sales/sales-orders/lines/lines.d.mts.map +1 -1
- package/resources/sales/sales-orders/lines/lines.d.ts +5 -5
- package/resources/sales/sales-orders/lines/lines.d.ts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.mts +10 -6
- package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.ts +10 -6
- package/resources/sales/sales-orders/sales-orders.d.ts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.js.map +1 -1
- package/resources/sales/sales-orders/sales-orders.mjs.map +1 -1
- package/resources/sales/sales.d.mts +2 -2
- package/resources/sales/sales.d.mts.map +1 -1
- package/resources/sales/sales.d.ts +2 -2
- package/resources/sales/sales.d.ts.map +1 -1
- package/resources/sales/sales.js.map +1 -1
- package/resources/sales/sales.mjs.map +1 -1
- package/src/resources/catalog/catalog.ts +2 -8
- package/src/resources/catalog/index.ts +1 -4
- package/src/resources/catalog/items/actions.ts +296 -0
- package/src/resources/catalog/items/index.ts +23 -3
- package/src/resources/catalog/items/inventory.ts +294 -0
- package/src/resources/catalog/items/items.ts +54 -124
- package/src/resources/catalog/materials/index.ts +1 -0
- package/src/resources/catalog/materials/materials.ts +41 -2
- package/src/resources/catalog/product-lines/index.ts +0 -1
- package/src/resources/catalog/product-lines/product-lines.ts +7 -25
- package/src/resources/core/audit-events.ts +30 -10
- package/src/resources/core/core.ts +15 -5
- package/src/resources/core/jobs.ts +8 -3
- package/src/resources/messaging/blocks.ts +4 -3
- package/src/resources/messaging/conversations/conversations.ts +24 -9
- package/src/resources/messaging/conversations/links.ts +16 -6
- package/src/resources/messaging/conversations/messages.ts +16 -6
- package/src/resources/messaging/notifications/notifications.ts +16 -6
- package/src/resources/operations/index.ts +4 -0
- package/src/resources/operations/machine-downtime-events.ts +62 -7
- package/src/resources/operations/operations.ts +8 -0
- package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts +13 -12
- package/src/resources/operations/production-schedules/actions.ts +37 -1
- package/src/resources/operations/production-schedules/index.ts +4 -0
- package/src/resources/operations/production-schedules/production-schedules.ts +354 -1
- package/src/resources/operations/shipping-terms.ts +9 -9
- package/src/resources/sales/account-groups.ts +2 -1
- package/src/resources/sales/account-prices/account-prices.ts +5 -4
- package/src/resources/sales/account-users/sales-targets.ts +2 -2
- package/src/resources/sales/customers/customers.ts +62 -19
- package/src/resources/sales/customers/index.ts +1 -0
- package/src/resources/sales/index.ts +1 -0
- package/src/resources/sales/sales-orders/actions.ts +15 -1
- package/src/resources/sales/sales-orders/lines/lines.ts +5 -5
- package/src/resources/sales/sales-orders/sales-orders.ts +11 -5
- package/src/resources/sales/sales.ts +2 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -6,6 +6,7 @@ import * as RequestLogsAPI from '../core/request-logs';
|
|
|
6
6
|
import * as BlocksAPI from '../messaging/blocks';
|
|
7
7
|
import * as OperationsAPI from './operations';
|
|
8
8
|
import * as APIKeysAPI from '../auth/api-keys/api-keys';
|
|
9
|
+
import * as InventoryAPI from '../catalog/items/inventory';
|
|
9
10
|
import * as ItemsAPI from '../catalog/items/items';
|
|
10
11
|
import { APIPromise } from '../../core/api-promise';
|
|
11
12
|
import { RequestOptions } from '../../internal/request-options';
|
|
@@ -61,9 +62,11 @@ export class MachineDowntimeEvents extends APIResource {
|
|
|
61
62
|
/**
|
|
62
63
|
* Logs a machine downtime event.
|
|
63
64
|
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
65
|
+
* Give the stoppage an end either as `ended_at` or as a `duration` counted in a
|
|
66
|
+
* unit of time — sending both is rejected. Omit `ended_at` while the machine is
|
|
67
|
+
* still down. A machine can only have one open event at a time, so logging a
|
|
68
|
+
* second open stoppage against a machine that is already down is rejected until
|
|
69
|
+
* the first is closed.
|
|
67
70
|
*
|
|
68
71
|
* The department is taken from the machine, the business day is taken from
|
|
69
72
|
* `started_at`, the event is attributed to the credentials that made the request,
|
|
@@ -96,10 +99,12 @@ export class MachineDowntimeEvents extends APIResource {
|
|
|
96
99
|
/**
|
|
97
100
|
* Closes or corrects a machine downtime event.
|
|
98
101
|
*
|
|
99
|
-
* Only the fields provided in the request are changed. Setting `ended_at`
|
|
100
|
-
* the
|
|
101
|
-
*
|
|
102
|
-
*
|
|
102
|
+
* Only the fields provided in the request are changed. Setting `ended_at` — or a
|
|
103
|
+
* `duration`, which says the same thing as a length of time from the start —
|
|
104
|
+
* closes the event and calculates how long it lasted; sending either as null
|
|
105
|
+
* reopens an event closed by mistake, which is rejected when the machine already
|
|
106
|
+
* has another open stoppage. Moving the event to another machine re-resolves the
|
|
107
|
+
* department the stoppage is charged to.
|
|
103
108
|
*
|
|
104
109
|
* This endpoint requires the permission: `machine_downtime:update`.
|
|
105
110
|
*
|
|
@@ -187,6 +192,14 @@ export interface CreateMachineDowntimeEventRequest {
|
|
|
187
192
|
*/
|
|
188
193
|
batch_id?: string;
|
|
189
194
|
|
|
195
|
+
/**
|
|
196
|
+
* An amount together with the unit it is expressed in.
|
|
197
|
+
*
|
|
198
|
+
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
199
|
+
* the same way as physical amounts like weights or counts.
|
|
200
|
+
*/
|
|
201
|
+
duration?: InventoryAPI.QuantityInput;
|
|
202
|
+
|
|
190
203
|
/**
|
|
191
204
|
* When the machine started running again.
|
|
192
205
|
*
|
|
@@ -382,6 +395,14 @@ export interface UpdateMachineDowntimeEventRequest {
|
|
|
382
395
|
*/
|
|
383
396
|
batch_id?: string | null;
|
|
384
397
|
|
|
398
|
+
/**
|
|
399
|
+
* An amount together with the unit it is expressed in.
|
|
400
|
+
*
|
|
401
|
+
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
402
|
+
* the same way as physical amounts like weights or counts.
|
|
403
|
+
*/
|
|
404
|
+
duration?: InventoryAPI.QuantityInput | null;
|
|
405
|
+
|
|
385
406
|
/**
|
|
386
407
|
* When the machine started running again.
|
|
387
408
|
*
|
|
@@ -398,6 +419,15 @@ export interface UpdateMachineDowntimeEventRequest {
|
|
|
398
419
|
*/
|
|
399
420
|
item_id?: string | null;
|
|
400
421
|
|
|
422
|
+
/**
|
|
423
|
+
* ID of the machine that stopped.
|
|
424
|
+
*
|
|
425
|
+
* Moving an event to another machine re-resolves the department it is charged to,
|
|
426
|
+
* so past availability changes for both rooms. Rejected when the destination
|
|
427
|
+
* machine already has an open stoppage and this one is open too.
|
|
428
|
+
*/
|
|
429
|
+
machine_id?: string;
|
|
430
|
+
|
|
401
431
|
/**
|
|
402
432
|
* Free-form notes about the stoppage.
|
|
403
433
|
*
|
|
@@ -563,6 +593,14 @@ export interface MachineDowntimeEventCreateParams {
|
|
|
563
593
|
*/
|
|
564
594
|
batch_id?: string;
|
|
565
595
|
|
|
596
|
+
/**
|
|
597
|
+
* Body param: An amount together with the unit it is expressed in.
|
|
598
|
+
*
|
|
599
|
+
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
600
|
+
* the same way as physical amounts like weights or counts.
|
|
601
|
+
*/
|
|
602
|
+
duration?: InventoryAPI.QuantityInput;
|
|
603
|
+
|
|
566
604
|
/**
|
|
567
605
|
* Body param: When the machine started running again.
|
|
568
606
|
*
|
|
@@ -613,6 +651,14 @@ export interface MachineDowntimeEventUpdateParams {
|
|
|
613
651
|
*/
|
|
614
652
|
batch_id?: string | null;
|
|
615
653
|
|
|
654
|
+
/**
|
|
655
|
+
* Body param: An amount together with the unit it is expressed in.
|
|
656
|
+
*
|
|
657
|
+
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
658
|
+
* the same way as physical amounts like weights or counts.
|
|
659
|
+
*/
|
|
660
|
+
duration?: InventoryAPI.QuantityInput | null;
|
|
661
|
+
|
|
616
662
|
/**
|
|
617
663
|
* Body param: When the machine started running again.
|
|
618
664
|
*
|
|
@@ -629,6 +675,15 @@ export interface MachineDowntimeEventUpdateParams {
|
|
|
629
675
|
*/
|
|
630
676
|
item_id?: string | null;
|
|
631
677
|
|
|
678
|
+
/**
|
|
679
|
+
* Body param: ID of the machine that stopped.
|
|
680
|
+
*
|
|
681
|
+
* Moving an event to another machine re-resolves the department it is charged to,
|
|
682
|
+
* so past availability changes for both rooms. Rejected when the destination
|
|
683
|
+
* machine already has an open stoppage and this one is open too.
|
|
684
|
+
*/
|
|
685
|
+
machine_id?: string;
|
|
686
|
+
|
|
632
687
|
/**
|
|
633
688
|
* Body param: Free-form notes about the stoppage.
|
|
634
689
|
*
|
|
@@ -132,6 +132,7 @@ import {
|
|
|
132
132
|
ListProductionScheduleDerivedLine,
|
|
133
133
|
ListProductionScheduleDeviation,
|
|
134
134
|
ListProductionScheduleFinishedPolicy,
|
|
135
|
+
ListProductionScheduleFinishingLine,
|
|
135
136
|
ListProductionScheduleItemPolicy,
|
|
136
137
|
ListReleaseScheduleBatch,
|
|
137
138
|
ListReleasedScheduleLine,
|
|
@@ -145,10 +146,12 @@ import {
|
|
|
145
146
|
ProductionScheduleDerivedLine,
|
|
146
147
|
ProductionScheduleDeviation,
|
|
147
148
|
ProductionScheduleFinishedPolicy,
|
|
149
|
+
ProductionScheduleFinishingLine,
|
|
148
150
|
ProductionScheduleItemPolicy,
|
|
149
151
|
ProductionScheduleListParams,
|
|
150
152
|
ProductionScheduleRetrieveDerivedLinesParams,
|
|
151
153
|
ProductionScheduleRetrieveDeviationsParams,
|
|
154
|
+
ProductionScheduleRetrieveFinishingLinesParams,
|
|
152
155
|
ProductionScheduleRetrieveWeekReleasePreviewParams,
|
|
153
156
|
ProductionSchedules,
|
|
154
157
|
ReleaseScheduleBatch,
|
|
@@ -157,6 +160,7 @@ import {
|
|
|
157
160
|
ScheduleAppliedOverride,
|
|
158
161
|
ScheduleAtRiskOrder,
|
|
159
162
|
ScheduleDiagnostics,
|
|
163
|
+
ScheduleFinishingDiagnostics,
|
|
160
164
|
ScheduleOrderCoverage,
|
|
161
165
|
ScheduleOrderCoverageLine,
|
|
162
166
|
} from './production-schedules/production-schedules';
|
|
@@ -889,6 +893,7 @@ export declare namespace Operations {
|
|
|
889
893
|
type ListProductionScheduleDerivedLine as ListProductionScheduleDerivedLine,
|
|
890
894
|
type ListProductionScheduleDeviation as ListProductionScheduleDeviation,
|
|
891
895
|
type ListProductionScheduleFinishedPolicy as ListProductionScheduleFinishedPolicy,
|
|
896
|
+
type ListProductionScheduleFinishingLine as ListProductionScheduleFinishingLine,
|
|
892
897
|
type ListProductionScheduleItemPolicy as ListProductionScheduleItemPolicy,
|
|
893
898
|
type ListReleaseScheduleBatch as ListReleaseScheduleBatch,
|
|
894
899
|
type ListReleasedScheduleLine as ListReleasedScheduleLine,
|
|
@@ -900,6 +905,7 @@ export declare namespace Operations {
|
|
|
900
905
|
type ProductionScheduleDerivedLine as ProductionScheduleDerivedLine,
|
|
901
906
|
type ProductionScheduleDeviation as ProductionScheduleDeviation,
|
|
902
907
|
type ProductionScheduleFinishedPolicy as ProductionScheduleFinishedPolicy,
|
|
908
|
+
type ProductionScheduleFinishingLine as ProductionScheduleFinishingLine,
|
|
903
909
|
type ProductionScheduleItemPolicy as ProductionScheduleItemPolicy,
|
|
904
910
|
type ReleaseScheduleBatch as ReleaseScheduleBatch,
|
|
905
911
|
type ReleaseScheduleWeekPreview as ReleaseScheduleWeekPreview,
|
|
@@ -907,11 +913,13 @@ export declare namespace Operations {
|
|
|
907
913
|
type ScheduleAppliedOverride as ScheduleAppliedOverride,
|
|
908
914
|
type ScheduleAtRiskOrder as ScheduleAtRiskOrder,
|
|
909
915
|
type ScheduleDiagnostics as ScheduleDiagnostics,
|
|
916
|
+
type ScheduleFinishingDiagnostics as ScheduleFinishingDiagnostics,
|
|
910
917
|
type ScheduleOrderCoverage as ScheduleOrderCoverage,
|
|
911
918
|
type ScheduleOrderCoverageLine as ScheduleOrderCoverageLine,
|
|
912
919
|
type ProductionScheduleDeleteResponse as ProductionScheduleDeleteResponse,
|
|
913
920
|
type ProductionScheduleListParams as ProductionScheduleListParams,
|
|
914
921
|
type ProductionScheduleCreateParams as ProductionScheduleCreateParams,
|
|
922
|
+
type ProductionScheduleRetrieveFinishingLinesParams as ProductionScheduleRetrieveFinishingLinesParams,
|
|
915
923
|
type ProductionScheduleRetrieveDerivedLinesParams as ProductionScheduleRetrieveDerivedLinesParams,
|
|
916
924
|
type ProductionScheduleRetrieveDeviationsParams as ProductionScheduleRetrieveDeviationsParams,
|
|
917
925
|
type ProductionScheduleRetrieveWeekReleasePreviewParams as ProductionScheduleRetrieveWeekReleasePreviewParams,
|
package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts
CHANGED
|
@@ -206,8 +206,9 @@ export interface ProductionScheduleSettings {
|
|
|
206
206
|
/**
|
|
207
207
|
* Calendar days between an order being issued and it being due to ship.
|
|
208
208
|
*
|
|
209
|
-
* The last resort in the ship-by chain: a lead time set on the customer,
|
|
210
|
-
* customer's account group
|
|
209
|
+
* The last resort in the ship-by chain: a lead time set on the customer, on its
|
|
210
|
+
* parent account, or on the customer's account group takes precedence. Zero means
|
|
211
|
+
* same-day shipping.
|
|
211
212
|
*/
|
|
212
213
|
default_customer_lead_time_days: number;
|
|
213
214
|
|
|
@@ -481,11 +482,11 @@ export interface UpdateProductionScheduleSettingsRequest {
|
|
|
481
482
|
/**
|
|
482
483
|
* Calendar days between an order being issued and it being due to ship.
|
|
483
484
|
*
|
|
484
|
-
* The last resort in the ship-by chain: a lead time set on the customer,
|
|
485
|
-
* customer's account group
|
|
486
|
-
* shipping on every order that falls through to
|
|
487
|
-
* whole settings object and omitting the field is
|
|
488
|
-
* alone.
|
|
485
|
+
* The last resort in the ship-by chain: a lead time set on the customer, on its
|
|
486
|
+
* parent account, or on the customer's account group takes precedence. Zero
|
|
487
|
+
* commits the account to same-day shipping on every order that falls through to
|
|
488
|
+
* it, so this update replaces the whole settings object and omitting the field is
|
|
489
|
+
* not the same as leaving it alone.
|
|
489
490
|
*/
|
|
490
491
|
default_customer_lead_time_days: number;
|
|
491
492
|
|
|
@@ -741,11 +742,11 @@ export interface ProductionScheduleSettingUpdateParams {
|
|
|
741
742
|
/**
|
|
742
743
|
* Calendar days between an order being issued and it being due to ship.
|
|
743
744
|
*
|
|
744
|
-
* The last resort in the ship-by chain: a lead time set on the customer,
|
|
745
|
-
* customer's account group
|
|
746
|
-
* shipping on every order that falls through to
|
|
747
|
-
* whole settings object and omitting the field is
|
|
748
|
-
* alone.
|
|
745
|
+
* The last resort in the ship-by chain: a lead time set on the customer, on its
|
|
746
|
+
* parent account, or on the customer's account group takes precedence. Zero
|
|
747
|
+
* commits the account to same-day shipping on every order that falls through to
|
|
748
|
+
* it, so this update replaces the whole settings object and omitting the field is
|
|
749
|
+
* not the same as leaving it alone.
|
|
749
750
|
*/
|
|
750
751
|
default_customer_lead_time_days: number;
|
|
751
752
|
|
|
@@ -210,6 +210,14 @@ export class Actions extends APIResource {
|
|
|
210
210
|
* released line records the run now carrying it, and a line that is already
|
|
211
211
|
* released is never re-pointed.
|
|
212
212
|
*
|
|
213
|
+
* Lots an earlier week already issued are carried forward rather than reissued.
|
|
214
|
+
* When a week fell short, the next plan asks for the shortfall — and the batches
|
|
215
|
+
* covering it are usually already printed and sitting on the floor. Those tickets
|
|
216
|
+
* are moved into this run and counted against the campaign, so only the genuinely
|
|
217
|
+
* new work is created. `carried_forward_batch_count` says how many arrived that
|
|
218
|
+
* way, and each one names the run it came off. Send `skip_carry_forward` to issue
|
|
219
|
+
* the whole week new instead.
|
|
220
|
+
*
|
|
213
221
|
* Cancelled campaigns and campaigns planned at zero are left behind rather than
|
|
214
222
|
* released. A week that would produce an implausible number of batches is rejected
|
|
215
223
|
* outright, since that is far more likely to be a misconfigured lot size than a
|
|
@@ -679,6 +687,16 @@ export interface ReleaseProductionScheduleWeekRequest {
|
|
|
679
687
|
* Applied to every batch this release creates, across all machines in the week.
|
|
680
688
|
*/
|
|
681
689
|
scanning_station_id?: string;
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Issue the whole week as new batches, leaving an earlier week's unworked lots
|
|
693
|
+
* where they are.
|
|
694
|
+
*
|
|
695
|
+
* Off unless you ask for it: reprinting a ticket the floor is already holding is
|
|
696
|
+
* exactly what carrying work forward exists to prevent, so it takes a deliberate
|
|
697
|
+
* choice to do it.
|
|
698
|
+
*/
|
|
699
|
+
skip_carry_forward?: boolean;
|
|
682
700
|
}
|
|
683
701
|
|
|
684
702
|
/**
|
|
@@ -689,10 +707,18 @@ export interface ReleaseProductionScheduleWeekRequest {
|
|
|
689
707
|
*/
|
|
690
708
|
export interface ReleaseScheduleWeekResult {
|
|
691
709
|
/**
|
|
692
|
-
* How many batches
|
|
710
|
+
* How many batches the run holds across all campaigns, created and carried forward
|
|
711
|
+
* together.
|
|
693
712
|
*/
|
|
694
713
|
batch_count: number;
|
|
695
714
|
|
|
715
|
+
/**
|
|
716
|
+
* How many of `batch_count` were moved off an earlier run rather than created.
|
|
717
|
+
*
|
|
718
|
+
* Tickets for these are already printed and on the floor.
|
|
719
|
+
*/
|
|
720
|
+
carried_forward_batch_count: number;
|
|
721
|
+
|
|
696
722
|
/**
|
|
697
723
|
* A single page of resources, together with the metadata needed to page through
|
|
698
724
|
* the rest of the result set.
|
|
@@ -1116,6 +1142,16 @@ export interface ActionReleaseWeekParams {
|
|
|
1116
1142
|
* Applied to every batch this release creates, across all machines in the week.
|
|
1117
1143
|
*/
|
|
1118
1144
|
scanning_station_id?: string;
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* Issue the whole week as new batches, leaving an earlier week's unworked lots
|
|
1148
|
+
* where they are.
|
|
1149
|
+
*
|
|
1150
|
+
* Off unless you ask for it: reprinting a ticket the floor is already holding is
|
|
1151
|
+
* exactly what carrying work forward exists to prevent, so it takes a deliberate
|
|
1152
|
+
* choice to do it.
|
|
1153
|
+
*/
|
|
1154
|
+
skip_carry_forward?: boolean;
|
|
1119
1155
|
}
|
|
1120
1156
|
|
|
1121
1157
|
export declare namespace Actions {
|
|
@@ -44,6 +44,7 @@ export {
|
|
|
44
44
|
type ListProductionScheduleDerivedLine,
|
|
45
45
|
type ListProductionScheduleDeviation,
|
|
46
46
|
type ListProductionScheduleFinishedPolicy,
|
|
47
|
+
type ListProductionScheduleFinishingLine,
|
|
47
48
|
type ListProductionScheduleItemPolicy,
|
|
48
49
|
type ListReleaseScheduleBatch,
|
|
49
50
|
type ListReleasedScheduleLine,
|
|
@@ -55,6 +56,7 @@ export {
|
|
|
55
56
|
type ProductionScheduleDerivedLine,
|
|
56
57
|
type ProductionScheduleDeviation,
|
|
57
58
|
type ProductionScheduleFinishedPolicy,
|
|
59
|
+
type ProductionScheduleFinishingLine,
|
|
58
60
|
type ProductionScheduleItemPolicy,
|
|
59
61
|
type ReleaseScheduleBatch,
|
|
60
62
|
type ReleaseScheduleWeekPreview,
|
|
@@ -62,11 +64,13 @@ export {
|
|
|
62
64
|
type ScheduleAppliedOverride,
|
|
63
65
|
type ScheduleAtRiskOrder,
|
|
64
66
|
type ScheduleDiagnostics,
|
|
67
|
+
type ScheduleFinishingDiagnostics,
|
|
65
68
|
type ScheduleOrderCoverage,
|
|
66
69
|
type ScheduleOrderCoverageLine,
|
|
67
70
|
type ProductionScheduleDeleteResponse,
|
|
68
71
|
type ProductionScheduleListParams,
|
|
69
72
|
type ProductionScheduleCreateParams,
|
|
73
|
+
type ProductionScheduleRetrieveFinishingLinesParams,
|
|
70
74
|
type ProductionScheduleRetrieveDerivedLinesParams,
|
|
71
75
|
type ProductionScheduleRetrieveDeviationsParams,
|
|
72
76
|
type ProductionScheduleRetrieveWeekReleasePreviewParams,
|