@augno/sdk 0.18.0 → 0.18.2
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 +2 -7
- package/package.json +1 -1
- package/resources/ai/memories.d.mts +6 -6
- package/resources/ai/memories.d.mts.map +1 -1
- package/resources/ai/memories.d.ts +6 -6
- package/resources/ai/memories.d.ts.map +1 -1
- package/resources/auth/api-keys/api-keys.d.mts +8 -0
- package/resources/auth/api-keys/api-keys.d.mts.map +1 -1
- package/resources/auth/api-keys/api-keys.d.ts +8 -0
- package/resources/auth/api-keys/api-keys.d.ts.map +1 -1
- package/resources/auth/api-keys/api-keys.js.map +1 -1
- package/resources/auth/api-keys/api-keys.mjs.map +1 -1
- package/resources/catalog/items/attributes.d.mts +3 -0
- package/resources/catalog/items/attributes.d.mts.map +1 -1
- package/resources/catalog/items/attributes.d.ts +3 -0
- package/resources/catalog/items/attributes.d.ts.map +1 -1
- package/resources/catalog/items/attributes.js +3 -0
- package/resources/catalog/items/attributes.js.map +1 -1
- package/resources/catalog/items/attributes.mjs +3 -0
- package/resources/catalog/items/attributes.mjs.map +1 -1
- package/resources/catalog/materials/materials.d.mts +6 -0
- package/resources/catalog/materials/materials.d.mts.map +1 -1
- package/resources/catalog/materials/materials.d.ts +6 -0
- 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/parts/parts.d.mts +6 -0
- package/resources/catalog/parts/parts.d.mts.map +1 -1
- package/resources/catalog/parts/parts.d.ts +6 -0
- package/resources/catalog/parts/parts.d.ts.map +1 -1
- package/resources/catalog/parts/parts.js.map +1 -1
- package/resources/catalog/parts/parts.mjs.map +1 -1
- package/resources/catalog/products/products.d.mts +6 -4
- package/resources/catalog/products/products.d.mts.map +1 -1
- package/resources/catalog/products/products.d.ts +6 -4
- package/resources/catalog/products/products.d.ts.map +1 -1
- package/resources/catalog/products/products.js.map +1 -1
- package/resources/catalog/products/products.mjs.map +1 -1
- package/resources/core/actions.d.mts +73 -0
- package/resources/core/actions.d.mts.map +1 -0
- package/resources/core/actions.d.ts +73 -0
- package/resources/core/actions.d.ts.map +1 -0
- package/resources/core/actions.js +36 -0
- package/resources/core/actions.js.map +1 -0
- package/resources/core/actions.mjs +32 -0
- package/resources/core/actions.mjs.map +1 -0
- 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 +6 -2
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +6 -2
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.js +4 -0
- package/resources/core/core.js.map +1 -1
- package/resources/core/core.mjs +4 -0
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/index.d.mts +1 -0
- package/resources/core/index.d.mts.map +1 -1
- package/resources/core/index.d.ts +1 -0
- package/resources/core/index.d.ts.map +1 -1
- package/resources/core/index.js +3 -1
- package/resources/core/index.js.map +1 -1
- package/resources/core/index.mjs +1 -0
- package/resources/core/index.mjs.map +1 -1
- package/resources/core/jobs.d.mts +1 -1
- package/resources/core/jobs.d.mts.map +1 -1
- package/resources/core/jobs.d.ts +1 -1
- package/resources/core/jobs.d.ts.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 +2 -1
- package/resources/operations/index.d.mts.map +1 -1
- package/resources/operations/index.d.ts +2 -1
- package/resources/operations/index.d.ts.map +1 -1
- package/resources/operations/index.js +9 -7
- package/resources/operations/index.js.map +1 -1
- package/resources/operations/index.mjs +1 -0
- 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/operating-calendars/closures.d.mts +173 -0
- package/resources/operations/operating-calendars/closures.d.mts.map +1 -0
- package/resources/operations/operating-calendars/closures.d.ts +173 -0
- package/resources/operations/operating-calendars/closures.d.ts.map +1 -0
- package/resources/operations/operating-calendars/closures.js +81 -0
- package/resources/operations/operating-calendars/closures.js.map +1 -0
- package/resources/operations/operating-calendars/closures.mjs +77 -0
- package/resources/operations/operating-calendars/closures.mjs.map +1 -0
- package/resources/operations/operating-calendars/index.d.mts +3 -0
- package/resources/operations/operating-calendars/index.d.mts.map +1 -0
- package/resources/operations/operating-calendars/index.d.ts +3 -0
- package/resources/operations/operating-calendars/index.d.ts.map +1 -0
- package/resources/operations/operating-calendars/index.js +9 -0
- package/resources/operations/operating-calendars/index.js.map +1 -0
- package/resources/operations/operating-calendars/index.mjs +4 -0
- package/resources/operations/operating-calendars/index.mjs.map +1 -0
- package/resources/operations/operating-calendars/operating-calendars.d.mts +332 -0
- package/resources/operations/operating-calendars/operating-calendars.d.mts.map +1 -0
- package/resources/operations/operating-calendars/operating-calendars.d.ts +332 -0
- package/resources/operations/operating-calendars/operating-calendars.d.ts.map +1 -0
- package/resources/operations/operating-calendars/operating-calendars.js +129 -0
- package/resources/operations/operating-calendars/operating-calendars.js.map +1 -0
- package/resources/operations/operating-calendars/operating-calendars.mjs +124 -0
- package/resources/operations/operating-calendars/operating-calendars.mjs.map +1 -0
- package/resources/operations/operating-calendars.d.mts +2 -0
- package/resources/operations/operating-calendars.d.mts.map +1 -0
- package/resources/operations/operating-calendars.d.ts +2 -0
- package/resources/operations/operating-calendars.d.ts.map +1 -0
- package/resources/operations/operating-calendars.js +6 -0
- package/resources/operations/operating-calendars.js.map +1 -0
- package/resources/operations/operating-calendars.mjs +3 -0
- package/resources/operations/operating-calendars.mjs.map +1 -0
- package/resources/operations/operations.d.mts +6 -2
- package/resources/operations/operations.d.mts.map +1 -1
- package/resources/operations/operations.d.ts +6 -2
- package/resources/operations/operations.d.ts.map +1 -1
- package/resources/operations/operations.js +4 -0
- package/resources/operations/operations.js.map +1 -1
- package/resources/operations/operations.mjs +4 -0
- package/resources/operations/operations.mjs.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts +43 -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 +43 -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/lines.d.mts +10 -6
- package/resources/operations/production-schedules/lines.d.mts.map +1 -1
- package/resources/operations/production-schedules/lines.d.ts +10 -6
- package/resources/operations/production-schedules/lines.d.ts.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/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 +10 -1
- package/resources/sales/account-prices/account-prices.d.mts.map +1 -1
- package/resources/sales/account-prices/account-prices.d.ts +10 -1
- 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/addresses.d.mts +20 -0
- package/resources/sales/addresses.d.mts.map +1 -1
- package/resources/sales/addresses.d.ts +20 -0
- package/resources/sales/addresses.d.ts.map +1 -1
- package/resources/sales/customers/customers.d.mts +72 -14
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +72 -14
- 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 +217 -1
- package/resources/sales/sales-orders/actions.d.mts.map +1 -1
- package/resources/sales/sales-orders/actions.d.ts +217 -1
- package/resources/sales/sales-orders/actions.d.ts.map +1 -1
- package/resources/sales/sales-orders/actions.js +36 -0
- package/resources/sales/sales-orders/actions.js.map +1 -1
- package/resources/sales/sales-orders/actions.mjs +36 -0
- package/resources/sales/sales-orders/actions.mjs.map +1 -1
- package/resources/sales/sales-orders/index.d.mts +1 -1
- package/resources/sales/sales-orders/index.d.mts.map +1 -1
- package/resources/sales/sales-orders/index.d.ts +1 -1
- package/resources/sales/sales-orders/index.d.ts.map +1 -1
- package/resources/sales/sales-orders/index.js.map +1 -1
- package/resources/sales/sales-orders/index.mjs.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.mts +105 -9
- package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.ts +105 -9
- 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/ai/memories.ts +6 -6
- package/src/resources/auth/api-keys/api-keys.ts +9 -0
- package/src/resources/catalog/items/attributes.ts +3 -0
- package/src/resources/catalog/materials/materials.ts +6 -0
- package/src/resources/catalog/parts/parts.ts +6 -0
- package/src/resources/catalog/products/products.ts +6 -4
- package/src/resources/core/actions.ts +89 -0
- package/src/resources/core/audit-events.ts +16 -0
- package/src/resources/core/core.ts +19 -0
- package/src/resources/core/index.ts +6 -0
- package/src/resources/core/jobs.ts +4 -0
- package/src/resources/messaging/conversations/conversations.ts +12 -0
- package/src/resources/messaging/conversations/links.ts +8 -0
- package/src/resources/messaging/conversations/messages.ts +8 -0
- package/src/resources/messaging/notifications/notifications.ts +8 -0
- package/src/resources/operations/index.ts +15 -0
- package/src/resources/operations/machine-downtime-events.ts +62 -7
- package/src/resources/operations/operating-calendars/closures.ts +223 -0
- package/src/resources/operations/operating-calendars/index.ts +23 -0
- package/src/resources/operations/operating-calendars/operating-calendars.ts +427 -0
- package/src/resources/operations/operating-calendars.ts +3 -0
- package/src/resources/operations/operations.ts +36 -0
- package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts +49 -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/lines.ts +10 -6
- package/src/resources/operations/production-schedules/production-schedules.ts +354 -1
- package/src/resources/sales/account-groups.ts +2 -1
- package/src/resources/sales/account-prices/account-prices.ts +11 -1
- package/src/resources/sales/addresses.ts +24 -0
- package/src/resources/sales/customers/customers.ts +90 -14
- 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 +266 -0
- package/src/resources/sales/sales-orders/index.ts +4 -0
- package/src/resources/sales/sales-orders/sales-orders.ts +131 -7
- 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
|
@@ -16,10 +16,14 @@ import {
|
|
|
16
16
|
ActionBulkDeleteResponse,
|
|
17
17
|
ActionCreateProductionRunParams,
|
|
18
18
|
ActionIssueParams,
|
|
19
|
+
ActionQuoteCommitmentParams,
|
|
19
20
|
Actions,
|
|
20
21
|
BulkDeleteSalesOrdersRequest,
|
|
22
|
+
CommitmentQuoteStep,
|
|
21
23
|
IssueSalesOrderRequest,
|
|
22
24
|
ProductionRun,
|
|
25
|
+
QuoteSalesOrderCommitmentRequest,
|
|
26
|
+
QuoteSalesOrderCommitmentResponse,
|
|
23
27
|
QuoteSalesOrderFreightResponse,
|
|
24
28
|
} from './actions';
|
|
25
29
|
import * as LinesAPI from './lines/lines';
|
|
@@ -456,6 +460,15 @@ export interface CreateSalesOrderRequest {
|
|
|
456
460
|
*/
|
|
457
461
|
invoice_email_contacts?: Array<SalesOrderEmailContactInput>;
|
|
458
462
|
|
|
463
|
+
/**
|
|
464
|
+
* Days between this order being issued and it being due to ship, replacing the
|
|
465
|
+
* customer's standing lead time for this order alone.
|
|
466
|
+
*
|
|
467
|
+
* Already a ship lead time, so no carrier transit is subtracted from it. Mutually
|
|
468
|
+
* exclusive with promised_at and ship_by_override_date.
|
|
469
|
+
*/
|
|
470
|
+
lead_time_override_days?: number;
|
|
471
|
+
|
|
459
472
|
/**
|
|
460
473
|
* Free-form note about the order.
|
|
461
474
|
*/
|
|
@@ -479,6 +492,11 @@ export interface CreateSalesOrderRequest {
|
|
|
479
492
|
|
|
480
493
|
/**
|
|
481
494
|
* Date delivery is promised to the customer.
|
|
495
|
+
*
|
|
496
|
+
* The order's ship-by date is worked back from this: the goods have to reach the
|
|
497
|
+
* customer on a day they receive, so transit and both operating calendars are
|
|
498
|
+
* subtracted from it. Mutually exclusive with lead_time_override_days and
|
|
499
|
+
* ship_by_override_date.
|
|
482
500
|
*/
|
|
483
501
|
promised_at?: string;
|
|
484
502
|
|
|
@@ -501,6 +519,16 @@ export interface CreateSalesOrderRequest {
|
|
|
501
519
|
*/
|
|
502
520
|
service_level_id?: string;
|
|
503
521
|
|
|
522
|
+
/**
|
|
523
|
+
* The exact date the order is due to ship, bypassing transit and the customer's
|
|
524
|
+
* receiving days.
|
|
525
|
+
*
|
|
526
|
+
* Still moved back to the nearest earlier day the plant ships on, since a date
|
|
527
|
+
* nobody can ship on is not a deadline. Mutually exclusive with promised_at and
|
|
528
|
+
* lead_time_override_days.
|
|
529
|
+
*/
|
|
530
|
+
ship_by_override_date?: string;
|
|
531
|
+
|
|
504
532
|
/**
|
|
505
533
|
* ID of the shipping terms for the order.
|
|
506
534
|
*
|
|
@@ -919,6 +947,15 @@ export interface SalesOrder {
|
|
|
919
947
|
*/
|
|
920
948
|
bill_to_address: APIKeysAPI.Address | null;
|
|
921
949
|
|
|
950
|
+
/**
|
|
951
|
+
* Days the customer's receiving calendar and the plant's shipping calendar pulled
|
|
952
|
+
* the ship-by date back, beyond what carrier transit accounted for.
|
|
953
|
+
*
|
|
954
|
+
* Zero means every date along the way already fell on an open day. This is what
|
|
955
|
+
* explains a ship-by date that is earlier than transit alone would suggest.
|
|
956
|
+
*/
|
|
957
|
+
calendar_adjustment_days: number | null;
|
|
958
|
+
|
|
922
959
|
/**
|
|
923
960
|
* When the order was fulfilled and closed.
|
|
924
961
|
*/
|
|
@@ -983,10 +1020,24 @@ export interface SalesOrder {
|
|
|
983
1020
|
*/
|
|
984
1021
|
lead_time_days: number | null;
|
|
985
1022
|
|
|
1023
|
+
/**
|
|
1024
|
+
* Days between issue and the ship-by date, set on this order alone in place of the
|
|
1025
|
+
* customer's standing lead time.
|
|
1026
|
+
*/
|
|
1027
|
+
lead_time_override_days: number | null;
|
|
1028
|
+
|
|
986
1029
|
/**
|
|
987
1030
|
* Which rule produced the ship-by date.
|
|
988
1031
|
*/
|
|
989
|
-
lead_time_source:
|
|
1032
|
+
lead_time_source:
|
|
1033
|
+
| 'customer'
|
|
1034
|
+
| 'parent_customer'
|
|
1035
|
+
| 'account_group'
|
|
1036
|
+
| 'account'
|
|
1037
|
+
| 'manual'
|
|
1038
|
+
| 'order_lead_time'
|
|
1039
|
+
| 'order_ship_by'
|
|
1040
|
+
| null;
|
|
990
1041
|
|
|
991
1042
|
/**
|
|
992
1043
|
* Number of lines on this order.
|
|
@@ -1066,20 +1117,37 @@ export interface SalesOrder {
|
|
|
1066
1117
|
*/
|
|
1067
1118
|
sales_rep: RequestLogsAPI.Actor | null;
|
|
1068
1119
|
|
|
1120
|
+
/**
|
|
1121
|
+
* The ship-by date at the plant's pickup cutoff — the moment freight has to be
|
|
1122
|
+
* tendered by, not just the day.
|
|
1123
|
+
*
|
|
1124
|
+
* Only set when the account's shipping calendar carries a cutoff time.
|
|
1125
|
+
*/
|
|
1126
|
+
ship_by_cutoff_at: string | null;
|
|
1127
|
+
|
|
1069
1128
|
/**
|
|
1070
1129
|
* Date this order is contractually due to ship.
|
|
1071
1130
|
*
|
|
1072
1131
|
* Stamped when the order is issued. With a promised delivery date, this is that
|
|
1073
|
-
* date less the carrier's transit for the order's lane
|
|
1074
|
-
* the day the order has to leave to arrive when
|
|
1075
|
-
*
|
|
1132
|
+
* date less the carrier's transit for the order's lane and less any day the
|
|
1133
|
+
* customer cannot receive on — the day the order has to leave to arrive when
|
|
1134
|
+
* promised. Otherwise it comes from a lead time, whether this order's own or the
|
|
1135
|
+
* one on the customer, its parent account, its account group, or the account.
|
|
1076
1136
|
*
|
|
1077
|
-
*
|
|
1078
|
-
*
|
|
1079
|
-
*
|
|
1137
|
+
* Always a day the plant actually ships on, whichever rule produced it.
|
|
1138
|
+
*
|
|
1139
|
+
* It is not recomputed afterwards, so neither renegotiating a customer's lead
|
|
1140
|
+
* time, nor a later carrier estimate, nor a holiday added to a calendar moves
|
|
1141
|
+
* commitments already made. Cleared if the order is unissued.
|
|
1080
1142
|
*/
|
|
1081
1143
|
ship_by_date: string | null;
|
|
1082
1144
|
|
|
1145
|
+
/**
|
|
1146
|
+
* The ship date pinned on this order, bypassing transit and the customer's
|
|
1147
|
+
* receiving days.
|
|
1148
|
+
*/
|
|
1149
|
+
ship_by_override_date: string | null;
|
|
1150
|
+
|
|
1083
1151
|
/**
|
|
1084
1152
|
* A saved address that can be used for billing and shipping on sales orders,
|
|
1085
1153
|
* invoices, and shipments.
|
|
@@ -1469,6 +1537,13 @@ export interface UpdateSalesOrderRequest {
|
|
|
1469
1537
|
*/
|
|
1470
1538
|
invoice_email_contacts?: Array<SalesOrderEmailContactInput>;
|
|
1471
1539
|
|
|
1540
|
+
/**
|
|
1541
|
+
* Days between this order being issued and it being due to ship, replacing the
|
|
1542
|
+
* customer's standing lead time for this order alone. Mutually exclusive with
|
|
1543
|
+
* promised_at and ship_by_override_date; clear one to switch to another.
|
|
1544
|
+
*/
|
|
1545
|
+
lead_time_override_days?: number | null;
|
|
1546
|
+
|
|
1472
1547
|
/**
|
|
1473
1548
|
* Free-form note about the order.
|
|
1474
1549
|
*/
|
|
@@ -1507,6 +1582,12 @@ export interface UpdateSalesOrderRequest {
|
|
|
1507
1582
|
*/
|
|
1508
1583
|
service_level_id?: string | null;
|
|
1509
1584
|
|
|
1585
|
+
/**
|
|
1586
|
+
* The exact date the order is due to ship, bypassing transit and the customer's
|
|
1587
|
+
* receiving days. Mutually exclusive with promised_at and lead_time_override_days.
|
|
1588
|
+
*/
|
|
1589
|
+
ship_by_override_date?: string | null;
|
|
1590
|
+
|
|
1510
1591
|
/**
|
|
1511
1592
|
* Shipping address ID.
|
|
1512
1593
|
*
|
|
@@ -1840,6 +1921,15 @@ export interface SalesOrderCreateParams {
|
|
|
1840
1921
|
*/
|
|
1841
1922
|
invoice_email_contacts?: Array<SalesOrderEmailContactInput>;
|
|
1842
1923
|
|
|
1924
|
+
/**
|
|
1925
|
+
* Body param: Days between this order being issued and it being due to ship,
|
|
1926
|
+
* replacing the customer's standing lead time for this order alone.
|
|
1927
|
+
*
|
|
1928
|
+
* Already a ship lead time, so no carrier transit is subtracted from it. Mutually
|
|
1929
|
+
* exclusive with promised_at and ship_by_override_date.
|
|
1930
|
+
*/
|
|
1931
|
+
lead_time_override_days?: number;
|
|
1932
|
+
|
|
1843
1933
|
/**
|
|
1844
1934
|
* Body param: Free-form note about the order.
|
|
1845
1935
|
*/
|
|
@@ -1864,6 +1954,11 @@ export interface SalesOrderCreateParams {
|
|
|
1864
1954
|
|
|
1865
1955
|
/**
|
|
1866
1956
|
* Body param: Date delivery is promised to the customer.
|
|
1957
|
+
*
|
|
1958
|
+
* The order's ship-by date is worked back from this: the goods have to reach the
|
|
1959
|
+
* customer on a day they receive, so transit and both operating calendars are
|
|
1960
|
+
* subtracted from it. Mutually exclusive with lead_time_override_days and
|
|
1961
|
+
* ship_by_override_date.
|
|
1867
1962
|
*/
|
|
1868
1963
|
promised_at?: string;
|
|
1869
1964
|
|
|
@@ -1886,6 +1981,16 @@ export interface SalesOrderCreateParams {
|
|
|
1886
1981
|
*/
|
|
1887
1982
|
service_level_id?: string;
|
|
1888
1983
|
|
|
1984
|
+
/**
|
|
1985
|
+
* Body param: The exact date the order is due to ship, bypassing transit and the
|
|
1986
|
+
* customer's receiving days.
|
|
1987
|
+
*
|
|
1988
|
+
* Still moved back to the nearest earlier day the plant ships on, since a date
|
|
1989
|
+
* nobody can ship on is not a deadline. Mutually exclusive with promised_at and
|
|
1990
|
+
* lead_time_override_days.
|
|
1991
|
+
*/
|
|
1992
|
+
ship_by_override_date?: string;
|
|
1993
|
+
|
|
1889
1994
|
/**
|
|
1890
1995
|
* Body param: ID of the shipping terms for the order.
|
|
1891
1996
|
*
|
|
@@ -1993,6 +2098,14 @@ export interface SalesOrderUpdateParams {
|
|
|
1993
2098
|
*/
|
|
1994
2099
|
invoice_email_contacts?: Array<SalesOrderEmailContactInput>;
|
|
1995
2100
|
|
|
2101
|
+
/**
|
|
2102
|
+
* Body param: Days between this order being issued and it being due to ship,
|
|
2103
|
+
* replacing the customer's standing lead time for this order alone. Mutually
|
|
2104
|
+
* exclusive with promised_at and ship_by_override_date; clear one to switch to
|
|
2105
|
+
* another.
|
|
2106
|
+
*/
|
|
2107
|
+
lead_time_override_days?: number | null;
|
|
2108
|
+
|
|
1996
2109
|
/**
|
|
1997
2110
|
* Body param: Free-form note about the order.
|
|
1998
2111
|
*/
|
|
@@ -2031,6 +2144,13 @@ export interface SalesOrderUpdateParams {
|
|
|
2031
2144
|
*/
|
|
2032
2145
|
service_level_id?: string | null;
|
|
2033
2146
|
|
|
2147
|
+
/**
|
|
2148
|
+
* Body param: The exact date the order is due to ship, bypassing transit and the
|
|
2149
|
+
* customer's receiving days. Mutually exclusive with promised_at and
|
|
2150
|
+
* lead_time_override_days.
|
|
2151
|
+
*/
|
|
2152
|
+
ship_by_override_date?: string | null;
|
|
2153
|
+
|
|
2034
2154
|
/**
|
|
2035
2155
|
* Body param: Shipping address ID.
|
|
2036
2156
|
*
|
|
@@ -2108,12 +2228,16 @@ export declare namespace SalesOrders {
|
|
|
2108
2228
|
export {
|
|
2109
2229
|
Actions as Actions,
|
|
2110
2230
|
type BulkDeleteSalesOrdersRequest as BulkDeleteSalesOrdersRequest,
|
|
2231
|
+
type CommitmentQuoteStep as CommitmentQuoteStep,
|
|
2111
2232
|
type IssueSalesOrderRequest as IssueSalesOrderRequest,
|
|
2112
2233
|
type ProductionRun as ProductionRun,
|
|
2234
|
+
type QuoteSalesOrderCommitmentRequest as QuoteSalesOrderCommitmentRequest,
|
|
2235
|
+
type QuoteSalesOrderCommitmentResponse as QuoteSalesOrderCommitmentResponse,
|
|
2113
2236
|
type QuoteSalesOrderFreightResponse as QuoteSalesOrderFreightResponse,
|
|
2114
2237
|
type ActionBulkDeleteResponse as ActionBulkDeleteResponse,
|
|
2115
2238
|
type ActionBulkDeleteParams as ActionBulkDeleteParams,
|
|
2116
2239
|
type ActionIssueParams as ActionIssueParams,
|
|
2240
|
+
type ActionQuoteCommitmentParams as ActionQuoteCommitmentParams,
|
|
2117
2241
|
type ActionCreateProductionRunParams as ActionCreateProductionRunParams,
|
|
2118
2242
|
};
|
|
2119
2243
|
|
|
@@ -87,6 +87,7 @@ import {
|
|
|
87
87
|
CustomerDeleteResponse,
|
|
88
88
|
CustomerLeadTime,
|
|
89
89
|
CustomerListParams,
|
|
90
|
+
CustomerRetrieveLeadTimeParams,
|
|
90
91
|
CustomerRetrieveParams,
|
|
91
92
|
CustomerUpdateParams,
|
|
92
93
|
Customers,
|
|
@@ -244,6 +245,7 @@ export declare namespace Sales {
|
|
|
244
245
|
type CustomerRetrieveParams as CustomerRetrieveParams,
|
|
245
246
|
type CustomerCreateParams as CustomerCreateParams,
|
|
246
247
|
type CustomerUpdateParams as CustomerUpdateParams,
|
|
248
|
+
type CustomerRetrieveLeadTimeParams as CustomerRetrieveLeadTimeParams,
|
|
247
249
|
};
|
|
248
250
|
|
|
249
251
|
export { Contacts as Contacts };
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.18.
|
|
1
|
+
export const VERSION = '0.18.2'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.18.
|
|
1
|
+
export declare const VERSION = "0.18.2";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.18.
|
|
1
|
+
export declare const VERSION = "0.18.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.18.
|
|
1
|
+
export const VERSION = '0.18.2'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|