@openmrp/sdk 0.21.0 → 0.22.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 +11 -2
- package/README.md +1 -1
- package/client.js +1 -1
- package/client.mjs +1 -1
- package/package.json +1 -1
- package/resources/auth/api-keys/api-keys.d.mts +4 -4
- package/resources/auth/api-keys/api-keys.d.ts +4 -4
- 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 +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 -0
- package/resources/operations/index.d.mts.map +1 -1
- package/resources/operations/index.d.ts +2 -0
- package/resources/operations/index.d.ts.map +1 -1
- package/resources/operations/index.js +15 -11
- package/resources/operations/index.js.map +1 -1
- package/resources/operations/index.mjs +2 -0
- package/resources/operations/index.mjs.map +1 -1
- package/resources/operations/inventory-change-logs/actions.d.mts +60 -0
- package/resources/operations/inventory-change-logs/actions.d.mts.map +1 -0
- package/resources/operations/inventory-change-logs/actions.d.ts +60 -0
- package/resources/operations/inventory-change-logs/actions.d.ts.map +1 -0
- package/resources/operations/inventory-change-logs/actions.js +30 -0
- package/resources/operations/inventory-change-logs/actions.js.map +1 -0
- package/resources/operations/inventory-change-logs/actions.mjs +26 -0
- package/resources/operations/inventory-change-logs/actions.mjs.map +1 -0
- package/resources/operations/inventory-change-logs/index.d.mts +3 -0
- package/resources/operations/inventory-change-logs/index.d.mts.map +1 -0
- package/resources/operations/inventory-change-logs/index.d.ts +3 -0
- package/resources/operations/inventory-change-logs/index.d.ts.map +1 -0
- package/resources/operations/inventory-change-logs/index.js +9 -0
- package/resources/operations/inventory-change-logs/index.js.map +1 -0
- package/resources/operations/inventory-change-logs/index.mjs +4 -0
- package/resources/operations/inventory-change-logs/index.mjs.map +1 -0
- package/resources/operations/inventory-change-logs/inventory-change-logs.d.mts +188 -0
- package/resources/operations/inventory-change-logs/inventory-change-logs.d.mts.map +1 -0
- package/resources/operations/inventory-change-logs/inventory-change-logs.d.ts +188 -0
- package/resources/operations/inventory-change-logs/inventory-change-logs.d.ts.map +1 -0
- package/resources/operations/inventory-change-logs/inventory-change-logs.js +55 -0
- package/resources/operations/inventory-change-logs/inventory-change-logs.js.map +1 -0
- package/resources/operations/inventory-change-logs/inventory-change-logs.mjs +50 -0
- package/resources/operations/inventory-change-logs/inventory-change-logs.mjs.map +1 -0
- package/resources/operations/inventory-change-logs.d.mts +2 -0
- package/resources/operations/inventory-change-logs.d.mts.map +1 -0
- package/resources/operations/inventory-change-logs.d.ts +2 -0
- package/resources/operations/inventory-change-logs.d.ts.map +1 -0
- package/resources/operations/inventory-change-logs.js +6 -0
- package/resources/operations/inventory-change-logs.js.map +1 -0
- package/resources/operations/inventory-change-logs.mjs +3 -0
- package/resources/operations/inventory-change-logs.mjs.map +1 -0
- package/resources/operations/operations.d.mts +8 -0
- package/resources/operations/operations.d.mts.map +1 -1
- package/resources/operations/operations.d.ts +8 -0
- package/resources/operations/operations.d.ts.map +1 -1
- package/resources/operations/operations.js +8 -0
- package/resources/operations/operations.js.map +1 -1
- package/resources/operations/operations.mjs +8 -0
- package/resources/operations/operations.mjs.map +1 -1
- package/resources/operations/picks/actions.d.mts +111 -0
- package/resources/operations/picks/actions.d.mts.map +1 -0
- package/resources/operations/picks/actions.d.ts +111 -0
- package/resources/operations/picks/actions.d.ts.map +1 -0
- package/resources/operations/picks/actions.js +93 -0
- package/resources/operations/picks/actions.js.map +1 -0
- package/resources/operations/picks/actions.mjs +89 -0
- package/resources/operations/picks/actions.mjs.map +1 -0
- package/resources/operations/picks/index.d.mts +4 -0
- package/resources/operations/picks/index.d.mts.map +1 -0
- package/resources/operations/picks/index.d.ts +4 -0
- package/resources/operations/picks/index.d.ts.map +1 -0
- package/resources/operations/picks/index.js +11 -0
- package/resources/operations/picks/index.js.map +1 -0
- package/resources/operations/picks/index.mjs +5 -0
- package/resources/operations/picks/index.mjs.map +1 -0
- package/resources/operations/picks/lines/actions.d.mts +65 -0
- package/resources/operations/picks/lines/actions.d.mts.map +1 -0
- package/resources/operations/picks/lines/actions.d.ts +65 -0
- package/resources/operations/picks/lines/actions.d.ts.map +1 -0
- package/resources/operations/picks/lines/actions.js +59 -0
- package/resources/operations/picks/lines/actions.js.map +1 -0
- package/resources/operations/picks/lines/actions.mjs +55 -0
- package/resources/operations/picks/lines/actions.mjs.map +1 -0
- package/resources/operations/picks/lines/index.d.mts +3 -0
- package/resources/operations/picks/lines/index.d.mts.map +1 -0
- package/resources/operations/picks/lines/index.d.ts +3 -0
- package/resources/operations/picks/lines/index.d.ts.map +1 -0
- package/resources/operations/picks/lines/index.js +9 -0
- package/resources/operations/picks/lines/index.js.map +1 -0
- package/resources/operations/picks/lines/index.mjs +4 -0
- package/resources/operations/picks/lines/index.mjs.map +1 -0
- package/resources/operations/picks/lines/lines.d.mts +70 -0
- package/resources/operations/picks/lines/lines.d.mts.map +1 -0
- package/resources/operations/picks/lines/lines.d.ts +70 -0
- package/resources/operations/picks/lines/lines.d.ts.map +1 -0
- package/resources/operations/picks/lines/lines.js +48 -0
- package/resources/operations/picks/lines/lines.js.map +1 -0
- package/resources/operations/picks/lines/lines.mjs +43 -0
- package/resources/operations/picks/lines/lines.mjs.map +1 -0
- package/resources/operations/picks/lines.d.mts +2 -0
- package/resources/operations/picks/lines.d.mts.map +1 -0
- package/resources/operations/picks/lines.d.ts +2 -0
- package/resources/operations/picks/lines.d.ts.map +1 -0
- package/resources/operations/picks/lines.js +6 -0
- package/resources/operations/picks/lines.js.map +1 -0
- package/resources/operations/picks/lines.mjs +3 -0
- package/resources/operations/picks/lines.mjs.map +1 -0
- package/resources/operations/picks/picks.d.mts +383 -0
- package/resources/operations/picks/picks.d.mts.map +1 -0
- package/resources/operations/picks/picks.d.ts +383 -0
- package/resources/operations/picks/picks.d.ts.map +1 -0
- package/resources/operations/picks/picks.js +57 -0
- package/resources/operations/picks/picks.js.map +1 -0
- package/resources/operations/picks/picks.mjs +52 -0
- package/resources/operations/picks/picks.mjs.map +1 -0
- package/resources/operations/picks.d.mts +2 -0
- package/resources/operations/picks.d.mts.map +1 -0
- package/resources/operations/picks.d.ts +2 -0
- package/resources/operations/picks.d.ts.map +1 -0
- package/resources/operations/picks.js +6 -0
- package/resources/operations/picks.js.map +1 -0
- package/resources/operations/picks.mjs +3 -0
- package/resources/operations/picks.mjs.map +1 -0
- 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 +12 -40
- package/resources/sales/sales-orders/actions.d.mts.map +1 -1
- package/resources/sales/sales-orders/actions.d.ts +12 -40
- package/resources/sales/sales-orders/actions.d.ts.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 -63
- package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.ts +105 -63
- 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/client.ts +1 -1
- package/src/resources/auth/api-keys/api-keys.ts +4 -4
- package/src/resources/core/audit-events.ts +16 -4
- package/src/resources/core/core.ts +8 -2
- package/src/resources/core/jobs.ts +4 -1
- package/src/resources/messaging/conversations/conversations.ts +12 -3
- package/src/resources/messaging/conversations/links.ts +8 -2
- package/src/resources/messaging/conversations/messages.ts +8 -2
- package/src/resources/messaging/notifications/notifications.ts +8 -2
- package/src/resources/operations/index.ts +19 -0
- package/src/resources/operations/inventory-change-logs/actions.ts +73 -0
- package/src/resources/operations/inventory-change-logs/index.ts +10 -0
- package/src/resources/operations/inventory-change-logs/inventory-change-logs.ts +239 -0
- package/src/resources/operations/inventory-change-logs.ts +3 -0
- package/src/resources/operations/operations.ts +47 -0
- package/src/resources/operations/picks/actions.ts +131 -0
- package/src/resources/operations/picks/index.ts +16 -0
- package/src/resources/operations/picks/lines/actions.ts +78 -0
- package/src/resources/operations/picks/lines/index.ts +4 -0
- package/src/resources/operations/picks/lines/lines.ts +100 -0
- package/src/resources/operations/picks/lines.ts +3 -0
- package/src/resources/operations/picks/picks.ts +502 -0
- package/src/resources/operations/picks.ts +3 -0
- package/src/resources/sales/index.ts +1 -0
- package/src/resources/sales/sales-orders/actions.ts +12 -55
- package/src/resources/sales/sales-orders/index.ts +1 -0
- package/src/resources/sales/sales-orders/sales-orders.ts +124 -79
- 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
|
@@ -298,6 +298,117 @@ export interface CheckoutSalesOrderResponse {
|
|
|
298
298
|
object: 'checkout_sales_order';
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
+
/**
|
|
302
|
+
* Commitment describes when a record is due to ship: what was asked for, what that
|
|
303
|
+
* resolved to, and which rule decided.
|
|
304
|
+
*
|
|
305
|
+
* It is a generic, reusable sub-resource shared by anything carrying a ship-by
|
|
306
|
+
* commitment — a sales order, the pick that fulfills it, or a preview of an order
|
|
307
|
+
* that does not exist yet.
|
|
308
|
+
*
|
|
309
|
+
* The three inputs are alternative answers to the same question and at most one is
|
|
310
|
+
* ever set; `lead_time_source` reports which of them, or which level of the
|
|
311
|
+
* customer chain, produced the date. They are written flat on the create and
|
|
312
|
+
* update bodies, the way a carrier is written as `carrier_id` and read back under
|
|
313
|
+
* `freight`.
|
|
314
|
+
*/
|
|
315
|
+
export interface Commitment {
|
|
316
|
+
/**
|
|
317
|
+
* Days the customer's receiving calendar and the plant's shipping calendar pulled
|
|
318
|
+
* the ship-by date back, beyond what carrier transit accounted for.
|
|
319
|
+
*
|
|
320
|
+
* Zero means every date along the way already fell on an open day. This is what
|
|
321
|
+
* explains a ship-by date that is earlier than transit alone would suggest.
|
|
322
|
+
*/
|
|
323
|
+
calendar_adjustment_days: number | null;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* When freight leaving on the ship-by date would reach the customer: transit
|
|
327
|
+
* walked forward from it and landed on a day their dock receives.
|
|
328
|
+
*
|
|
329
|
+
* Reported by the commitment preview, which is asked what a set of inputs would
|
|
330
|
+
* produce and so computes the arrival too. A record carries the commitment it was
|
|
331
|
+
* stamped with, not a projection, and leaves this null.
|
|
332
|
+
*/
|
|
333
|
+
estimated_delivery_date: string | null;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Calendar days between issue and the ship-by date.
|
|
337
|
+
*/
|
|
338
|
+
lead_time_days: number | null;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Days between issue and the ship-by date, set on this record alone in place of
|
|
342
|
+
* the customer's standing lead time.
|
|
343
|
+
*/
|
|
344
|
+
lead_time_override_days: number | null;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Which rule produced the ship-by date.
|
|
348
|
+
*/
|
|
349
|
+
lead_time_source:
|
|
350
|
+
| 'customer'
|
|
351
|
+
| 'parent_customer'
|
|
352
|
+
| 'account_group'
|
|
353
|
+
| 'account'
|
|
354
|
+
| 'manual'
|
|
355
|
+
| 'order_lead_time'
|
|
356
|
+
| 'order_ship_by'
|
|
357
|
+
| null;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Resource type identifier.
|
|
361
|
+
*/
|
|
362
|
+
object: 'commitment';
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Date delivery was promised to the customer, if one was committed.
|
|
366
|
+
*/
|
|
367
|
+
promised_at: string | null;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* When the record is contractually due to ship.
|
|
371
|
+
*
|
|
372
|
+
* Stamped at issue. With a promised delivery date, this is that date less the
|
|
373
|
+
* carrier's transit for the order's lane and less any day the customer cannot
|
|
374
|
+
* receive on — when the order has to leave to arrive when promised. Otherwise it
|
|
375
|
+
* comes from a lead time, whether the order's own or the one on the customer, its
|
|
376
|
+
* parent account, its account group, or the account.
|
|
377
|
+
*
|
|
378
|
+
* Always a day the plant actually ships on, whichever rule produced it, and
|
|
379
|
+
* carries the plant's pickup cutoff as its time of day when the shipping calendar
|
|
380
|
+
* sets one — the moment freight has to be tendered by, not just the day. Midnight
|
|
381
|
+
* UTC means no cutoff is configured rather than a deadline at midnight.
|
|
382
|
+
*
|
|
383
|
+
* Recomputed while the order is still open whenever something it was derived from
|
|
384
|
+
* moves — the basis above, or the carrier, service level, or ship-to address the
|
|
385
|
+
* transit was quoted on. Renegotiating a customer's standing lead time or adding a
|
|
386
|
+
* holiday to a calendar does not reach back into commitments already made. Cleared
|
|
387
|
+
* if the order is unissued.
|
|
388
|
+
*/
|
|
389
|
+
ship_by_date: string | null;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* The ship date pinned by hand, bypassing transit and the customer's receiving
|
|
393
|
+
* days.
|
|
394
|
+
*/
|
|
395
|
+
ship_by_override_date: string | null;
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Business days the carrier needs to cover this lane, subtracted from the promised
|
|
399
|
+
* delivery date to reach the ship-by date.
|
|
400
|
+
*
|
|
401
|
+
* Only set when a delivery date was promised and the lane could be priced. Without
|
|
402
|
+
* it the ship-by date falls back to the promised date itself.
|
|
403
|
+
*/
|
|
404
|
+
transit_days: number | null;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Where the transit estimate came from.
|
|
408
|
+
*/
|
|
409
|
+
transit_source: 'carrier_lane' | 'service_level' | null;
|
|
410
|
+
}
|
|
411
|
+
|
|
301
412
|
/**
|
|
302
413
|
* A rate calculated on demand rather than stored.
|
|
303
414
|
*
|
|
@@ -948,13 +1059,20 @@ export interface SalesOrder {
|
|
|
948
1059
|
bill_to_address: APIKeysAPI.Address | null;
|
|
949
1060
|
|
|
950
1061
|
/**
|
|
951
|
-
*
|
|
952
|
-
*
|
|
1062
|
+
* Commitment describes when a record is due to ship: what was asked for, what that
|
|
1063
|
+
* resolved to, and which rule decided.
|
|
953
1064
|
*
|
|
954
|
-
*
|
|
955
|
-
*
|
|
1065
|
+
* It is a generic, reusable sub-resource shared by anything carrying a ship-by
|
|
1066
|
+
* commitment — a sales order, the pick that fulfills it, or a preview of an order
|
|
1067
|
+
* that does not exist yet.
|
|
1068
|
+
*
|
|
1069
|
+
* The three inputs are alternative answers to the same question and at most one is
|
|
1070
|
+
* ever set; `lead_time_source` reports which of them, or which level of the
|
|
1071
|
+
* customer chain, produced the date. They are written flat on the create and
|
|
1072
|
+
* update bodies, the way a carrier is written as `carrier_id` and read back under
|
|
1073
|
+
* `freight`.
|
|
956
1074
|
*/
|
|
957
|
-
|
|
1075
|
+
commitment: Commitment | null;
|
|
958
1076
|
|
|
959
1077
|
/**
|
|
960
1078
|
* When the order was fulfilled and closed.
|
|
@@ -1015,30 +1133,6 @@ export interface SalesOrder {
|
|
|
1015
1133
|
*/
|
|
1016
1134
|
issued_at: string | null;
|
|
1017
1135
|
|
|
1018
|
-
/**
|
|
1019
|
-
* Calendar days between issue and the ship-by date.
|
|
1020
|
-
*/
|
|
1021
|
-
lead_time_days: number | null;
|
|
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
|
-
|
|
1029
|
-
/**
|
|
1030
|
-
* Which rule produced the ship-by date.
|
|
1031
|
-
*/
|
|
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;
|
|
1041
|
-
|
|
1042
1136
|
/**
|
|
1043
1137
|
* Number of lines on this order.
|
|
1044
1138
|
*/
|
|
@@ -1098,11 +1192,6 @@ export interface SalesOrder {
|
|
|
1098
1192
|
*/
|
|
1099
1193
|
priority: 'low' | 'normal' | 'high';
|
|
1100
1194
|
|
|
1101
|
-
/**
|
|
1102
|
-
* Date promised to the customer for delivery, if one was committed.
|
|
1103
|
-
*/
|
|
1104
|
-
promised_at: string | null;
|
|
1105
|
-
|
|
1106
1195
|
/**
|
|
1107
1196
|
* The fulfillment records produced from a sales order.
|
|
1108
1197
|
*
|
|
@@ -1117,37 +1206,6 @@ export interface SalesOrder {
|
|
|
1117
1206
|
*/
|
|
1118
1207
|
sales_rep: RequestLogsAPI.Actor | null;
|
|
1119
1208
|
|
|
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
|
-
|
|
1128
|
-
/**
|
|
1129
|
-
* Date this order is contractually due to ship.
|
|
1130
|
-
*
|
|
1131
|
-
* Stamped when the order is issued. With a promised delivery date, this is that
|
|
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.
|
|
1136
|
-
*
|
|
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.
|
|
1142
|
-
*/
|
|
1143
|
-
ship_by_date: string | null;
|
|
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
|
-
|
|
1151
1209
|
/**
|
|
1152
1210
|
* A saved address that can be used for billing and shipping on sales orders,
|
|
1153
1211
|
* invoices, and shipments.
|
|
@@ -1186,20 +1244,6 @@ export interface SalesOrder {
|
|
|
1186
1244
|
*/
|
|
1187
1245
|
totals: SalesOrderTotals | null;
|
|
1188
1246
|
|
|
1189
|
-
/**
|
|
1190
|
-
* Business days the carrier needs to cover this order's lane, subtracted from the
|
|
1191
|
-
* promised delivery date to reach the ship-by date.
|
|
1192
|
-
*
|
|
1193
|
-
* Only set when a delivery date was promised and the lane could be priced. Without
|
|
1194
|
-
* it the ship-by date falls back to the promised date itself.
|
|
1195
|
-
*/
|
|
1196
|
-
transit_days: number | null;
|
|
1197
|
-
|
|
1198
|
-
/**
|
|
1199
|
-
* Where the transit estimate came from.
|
|
1200
|
-
*/
|
|
1201
|
-
transit_source: 'carrier_lane' | 'service_level' | null;
|
|
1202
|
-
|
|
1203
1247
|
/**
|
|
1204
1248
|
* Last updated timestamp.
|
|
1205
1249
|
*/
|
|
@@ -2195,6 +2239,7 @@ export declare namespace SalesOrders {
|
|
|
2195
2239
|
export {
|
|
2196
2240
|
type CheckoutSalesOrderRequest as CheckoutSalesOrderRequest,
|
|
2197
2241
|
type CheckoutSalesOrderResponse as CheckoutSalesOrderResponse,
|
|
2242
|
+
type Commitment as Commitment,
|
|
2198
2243
|
type ComputedRate as ComputedRate,
|
|
2199
2244
|
type CreateSalesOrderLineInput as CreateSalesOrderLineInput,
|
|
2200
2245
|
type CreateSalesOrderRequest as CreateSalesOrderRequest,
|
|
@@ -108,6 +108,7 @@ import * as SalesOrdersAPI from './sales-orders/sales-orders';
|
|
|
108
108
|
import {
|
|
109
109
|
CheckoutSalesOrderRequest,
|
|
110
110
|
CheckoutSalesOrderResponse,
|
|
111
|
+
Commitment,
|
|
111
112
|
ComputedRate,
|
|
112
113
|
CreateSalesOrderLineInput,
|
|
113
114
|
CreateSalesOrderRequest,
|
|
@@ -265,6 +266,7 @@ export declare namespace Sales {
|
|
|
265
266
|
SalesOrders as SalesOrders,
|
|
266
267
|
type CheckoutSalesOrderRequest as CheckoutSalesOrderRequest,
|
|
267
268
|
type CheckoutSalesOrderResponse as CheckoutSalesOrderResponse,
|
|
269
|
+
type Commitment as Commitment,
|
|
268
270
|
type ComputedRate as ComputedRate,
|
|
269
271
|
type CreateSalesOrderLineInput as CreateSalesOrderLineInput,
|
|
270
272
|
type CreateSalesOrderRequest as CreateSalesOrderRequest,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.22.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.22.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.22.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.22.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|