@augno/sdk 0.18.2 → 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 -3
- 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/machine-downtime-events.d.mts +5 -5
- package/resources/operations/machine-downtime-events.d.mts.map +1 -1
- package/resources/operations/machine-downtime-events.d.ts +5 -5
- package/resources/operations/machine-downtime-events.d.ts.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-prices/account-prices.d.mts +3 -3
- package/resources/sales/account-prices/account-prices.d.mts.map +1 -1
- package/resources/sales/account-prices/account-prices.d.ts +3 -3
- package/resources/sales/account-prices/account-prices.d.ts.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 +5 -5
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +5 -5
- package/resources/sales/customers/customers.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 +8 -4
- package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.ts +8 -4
- 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/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 +26 -10
- package/src/resources/core/core.ts +13 -5
- package/src/resources/core/jobs.ts +7 -3
- package/src/resources/messaging/blocks.ts +4 -3
- package/src/resources/messaging/conversations/conversations.ts +21 -9
- package/src/resources/messaging/conversations/links.ts +14 -6
- package/src/resources/messaging/conversations/messages.ts +14 -6
- package/src/resources/messaging/notifications/notifications.ts +14 -6
- package/src/resources/operations/machine-downtime-events.ts +5 -5
- package/src/resources/operations/shipping-terms.ts +9 -9
- package/src/resources/sales/account-prices/account-prices.ts +3 -3
- package/src/resources/sales/account-users/sales-targets.ts +2 -2
- package/src/resources/sales/customers/customers.ts +5 -5
- package/src/resources/sales/sales-orders/lines/lines.ts +5 -5
- package/src/resources/sales/sales-orders/sales-orders.ts +9 -4
- 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
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../core/resource';
|
|
4
4
|
import * as APIKeysAPI from '../../auth/api-keys/api-keys';
|
|
5
|
-
import * as
|
|
5
|
+
import * as InventoryAPI from '../items/inventory';
|
|
6
|
+
import * as MaterialsAPI from '../materials/materials';
|
|
6
7
|
import * as ActionsAPI from './actions';
|
|
7
8
|
import {
|
|
8
9
|
ActionBulkUpsertParams,
|
|
@@ -198,7 +199,7 @@ export interface CreateProductLineRequest {
|
|
|
198
199
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
199
200
|
* the same way as physical amounts like weights or counts.
|
|
200
201
|
*/
|
|
201
|
-
default_lot?: QuantityInput;
|
|
202
|
+
default_lot?: InventoryAPI.QuantityInput;
|
|
202
203
|
|
|
203
204
|
/**
|
|
204
205
|
* How products in this line are produced when they do not say for themselves.
|
|
@@ -273,7 +274,7 @@ export interface ProductLine {
|
|
|
273
274
|
* resources point at them to report stock levels, ordered and packed amounts,
|
|
274
275
|
* money, weights, and durations.
|
|
275
276
|
*/
|
|
276
|
-
default_lot:
|
|
277
|
+
default_lot: MaterialsAPI.Quantity | null;
|
|
277
278
|
|
|
278
279
|
/**
|
|
279
280
|
* Free-form description of the product line.
|
|
@@ -340,24 +341,6 @@ export interface ProductLine {
|
|
|
340
341
|
updated_at: string;
|
|
341
342
|
}
|
|
342
343
|
|
|
343
|
-
/**
|
|
344
|
-
* An amount together with the unit it is expressed in.
|
|
345
|
-
*
|
|
346
|
-
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
347
|
-
* the same way as physical amounts like weights or counts.
|
|
348
|
-
*/
|
|
349
|
-
export interface QuantityInput {
|
|
350
|
-
/**
|
|
351
|
-
* ID of the unit of measure for the value.
|
|
352
|
-
*/
|
|
353
|
-
unit_id: string;
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* Decimal value, as a string to preserve precision.
|
|
357
|
-
*/
|
|
358
|
-
value: string;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
344
|
/**
|
|
362
345
|
* Request to partially update a product line.
|
|
363
346
|
*/
|
|
@@ -377,7 +360,7 @@ export interface UpdateProductLineRequest {
|
|
|
377
360
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
378
361
|
* the same way as physical amounts like weights or counts.
|
|
379
362
|
*/
|
|
380
|
-
default_lot?: QuantityInput | null;
|
|
363
|
+
default_lot?: InventoryAPI.QuantityInput | null;
|
|
381
364
|
|
|
382
365
|
/**
|
|
383
366
|
* Default freight policy for products in this product line.
|
|
@@ -506,7 +489,7 @@ export interface ProductLineCreateParams {
|
|
|
506
489
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
507
490
|
* the same way as physical amounts like weights or counts.
|
|
508
491
|
*/
|
|
509
|
-
default_lot?: QuantityInput;
|
|
492
|
+
default_lot?: InventoryAPI.QuantityInput;
|
|
510
493
|
|
|
511
494
|
/**
|
|
512
495
|
* Body param: How products in this line are produced when they do not say for
|
|
@@ -542,7 +525,7 @@ export interface ProductLineUpdateParams {
|
|
|
542
525
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
543
526
|
* the same way as physical amounts like weights or counts.
|
|
544
527
|
*/
|
|
545
|
-
default_lot?: QuantityInput | null;
|
|
528
|
+
default_lot?: InventoryAPI.QuantityInput | null;
|
|
546
529
|
|
|
547
530
|
/**
|
|
548
531
|
* Body param: Default freight policy for products in this product line.
|
|
@@ -592,7 +575,6 @@ export declare namespace ProductLines {
|
|
|
592
575
|
type CreateProductLineRequest as CreateProductLineRequest,
|
|
593
576
|
type ListProductLine as ListProductLine,
|
|
594
577
|
type ProductLine as ProductLine,
|
|
595
|
-
type QuantityInput as QuantityInput,
|
|
596
578
|
type UpdateProductLineRequest as UpdateProductLineRequest,
|
|
597
579
|
type ProductLineDeleteResponse as ProductLineDeleteResponse,
|
|
598
580
|
type ProductLineListParams as ProductLineListParams,
|
|
@@ -441,8 +441,6 @@ export interface AuditEvent {
|
|
|
441
441
|
| 'batch_lot'
|
|
442
442
|
| 'check_duplicate_result'
|
|
443
443
|
| 'item_trend_point'
|
|
444
|
-
| 'pack_pick_response'
|
|
445
|
-
| 'pick_shipments_response'
|
|
446
444
|
| 'tenancy_pending_registration'
|
|
447
445
|
| 'invoice_allocation_entry'
|
|
448
446
|
| 'allocation_customer'
|
|
@@ -481,7 +479,13 @@ export interface AuditEvent {
|
|
|
481
479
|
| 'computed_quantity'
|
|
482
480
|
| 'analyze_realized_margins_response'
|
|
483
481
|
| 'realized_margin_finding'
|
|
484
|
-
| 'realized_margin_summary'
|
|
482
|
+
| 'realized_margin_summary'
|
|
483
|
+
| 'shipment_related'
|
|
484
|
+
| 'invoice_related'
|
|
485
|
+
| 'pick_related'
|
|
486
|
+
| 'pick_shipments_response'
|
|
487
|
+
| 'pick_totals'
|
|
488
|
+
| 'pick_stage_total';
|
|
485
489
|
|
|
486
490
|
/**
|
|
487
491
|
* Originating client IP address.
|
|
@@ -850,8 +854,6 @@ export interface ListObjectType {
|
|
|
850
854
|
| 'batch_lot'
|
|
851
855
|
| 'check_duplicate_result'
|
|
852
856
|
| 'item_trend_point'
|
|
853
|
-
| 'pack_pick_response'
|
|
854
|
-
| 'pick_shipments_response'
|
|
855
857
|
| 'tenancy_pending_registration'
|
|
856
858
|
| 'invoice_allocation_entry'
|
|
857
859
|
| 'allocation_customer'
|
|
@@ -891,6 +893,12 @@ export interface ListObjectType {
|
|
|
891
893
|
| 'analyze_realized_margins_response'
|
|
892
894
|
| 'realized_margin_finding'
|
|
893
895
|
| 'realized_margin_summary'
|
|
896
|
+
| 'shipment_related'
|
|
897
|
+
| 'invoice_related'
|
|
898
|
+
| 'pick_related'
|
|
899
|
+
| 'pick_shipments_response'
|
|
900
|
+
| 'pick_totals'
|
|
901
|
+
| 'pick_stage_total'
|
|
894
902
|
>;
|
|
895
903
|
|
|
896
904
|
/**
|
|
@@ -1247,8 +1255,6 @@ export interface AuditEventListParams {
|
|
|
1247
1255
|
| 'batch_lot'
|
|
1248
1256
|
| 'check_duplicate_result'
|
|
1249
1257
|
| 'item_trend_point'
|
|
1250
|
-
| 'pack_pick_response'
|
|
1251
|
-
| 'pick_shipments_response'
|
|
1252
1258
|
| 'tenancy_pending_registration'
|
|
1253
1259
|
| 'invoice_allocation_entry'
|
|
1254
1260
|
| 'allocation_customer'
|
|
@@ -1288,6 +1294,12 @@ export interface AuditEventListParams {
|
|
|
1288
1294
|
| 'analyze_realized_margins_response'
|
|
1289
1295
|
| 'realized_margin_finding'
|
|
1290
1296
|
| 'realized_margin_summary'
|
|
1297
|
+
| 'shipment_related'
|
|
1298
|
+
| 'invoice_related'
|
|
1299
|
+
| 'pick_related'
|
|
1300
|
+
| 'pick_shipments_response'
|
|
1301
|
+
| 'pick_totals'
|
|
1302
|
+
| 'pick_stage_total'
|
|
1291
1303
|
>;
|
|
1292
1304
|
|
|
1293
1305
|
/**
|
|
@@ -1567,8 +1579,6 @@ export interface AuditEventListParams {
|
|
|
1567
1579
|
| 'batch_lot'
|
|
1568
1580
|
| 'check_duplicate_result'
|
|
1569
1581
|
| 'item_trend_point'
|
|
1570
|
-
| 'pack_pick_response'
|
|
1571
|
-
| 'pick_shipments_response'
|
|
1572
1582
|
| 'tenancy_pending_registration'
|
|
1573
1583
|
| 'invoice_allocation_entry'
|
|
1574
1584
|
| 'allocation_customer'
|
|
@@ -1607,7 +1617,13 @@ export interface AuditEventListParams {
|
|
|
1607
1617
|
| 'computed_quantity'
|
|
1608
1618
|
| 'analyze_realized_margins_response'
|
|
1609
1619
|
| 'realized_margin_finding'
|
|
1610
|
-
| 'realized_margin_summary'
|
|
1620
|
+
| 'realized_margin_summary'
|
|
1621
|
+
| 'shipment_related'
|
|
1622
|
+
| 'invoice_related'
|
|
1623
|
+
| 'pick_related'
|
|
1624
|
+
| 'pick_shipments_response'
|
|
1625
|
+
| 'pick_totals'
|
|
1626
|
+
| 'pick_stage_total';
|
|
1611
1627
|
|
|
1612
1628
|
/**
|
|
1613
1629
|
* Restricts results to audit events on or after this timestamp.
|
|
@@ -434,8 +434,6 @@ export interface Entity {
|
|
|
434
434
|
| 'batch_lot'
|
|
435
435
|
| 'check_duplicate_result'
|
|
436
436
|
| 'item_trend_point'
|
|
437
|
-
| 'pack_pick_response'
|
|
438
|
-
| 'pick_shipments_response'
|
|
439
437
|
| 'tenancy_pending_registration'
|
|
440
438
|
| 'invoice_allocation_entry'
|
|
441
439
|
| 'allocation_customer'
|
|
@@ -474,7 +472,13 @@ export interface Entity {
|
|
|
474
472
|
| 'computed_quantity'
|
|
475
473
|
| 'analyze_realized_margins_response'
|
|
476
474
|
| 'realized_margin_finding'
|
|
477
|
-
| 'realized_margin_summary'
|
|
475
|
+
| 'realized_margin_summary'
|
|
476
|
+
| 'shipment_related'
|
|
477
|
+
| 'invoice_related'
|
|
478
|
+
| 'pick_related'
|
|
479
|
+
| 'pick_shipments_response'
|
|
480
|
+
| 'pick_totals'
|
|
481
|
+
| 'pick_stage_total';
|
|
478
482
|
}
|
|
479
483
|
|
|
480
484
|
/**
|
|
@@ -809,8 +813,6 @@ export interface CoreRetrieveSearchParams {
|
|
|
809
813
|
| 'batch_lot'
|
|
810
814
|
| 'check_duplicate_result'
|
|
811
815
|
| 'item_trend_point'
|
|
812
|
-
| 'pack_pick_response'
|
|
813
|
-
| 'pick_shipments_response'
|
|
814
816
|
| 'tenancy_pending_registration'
|
|
815
817
|
| 'invoice_allocation_entry'
|
|
816
818
|
| 'allocation_customer'
|
|
@@ -850,6 +852,12 @@ export interface CoreRetrieveSearchParams {
|
|
|
850
852
|
| 'analyze_realized_margins_response'
|
|
851
853
|
| 'realized_margin_finding'
|
|
852
854
|
| 'realized_margin_summary'
|
|
855
|
+
| 'shipment_related'
|
|
856
|
+
| 'invoice_related'
|
|
857
|
+
| 'pick_related'
|
|
858
|
+
| 'pick_shipments_response'
|
|
859
|
+
| 'pick_totals'
|
|
860
|
+
| 'pick_stage_total'
|
|
853
861
|
>;
|
|
854
862
|
}
|
|
855
863
|
|
|
@@ -383,8 +383,6 @@ export interface Job {
|
|
|
383
383
|
| 'batch_lot'
|
|
384
384
|
| 'check_duplicate_result'
|
|
385
385
|
| 'item_trend_point'
|
|
386
|
-
| 'pack_pick_response'
|
|
387
|
-
| 'pick_shipments_response'
|
|
388
386
|
| 'tenancy_pending_registration'
|
|
389
387
|
| 'invoice_allocation_entry'
|
|
390
388
|
| 'allocation_customer'
|
|
@@ -424,6 +422,12 @@ export interface Job {
|
|
|
424
422
|
| 'analyze_realized_margins_response'
|
|
425
423
|
| 'realized_margin_finding'
|
|
426
424
|
| 'realized_margin_summary'
|
|
425
|
+
| 'shipment_related'
|
|
426
|
+
| 'invoice_related'
|
|
427
|
+
| 'pick_related'
|
|
428
|
+
| 'pick_shipments_response'
|
|
429
|
+
| 'pick_totals'
|
|
430
|
+
| 'pick_stage_total'
|
|
427
431
|
| null;
|
|
428
432
|
|
|
429
433
|
/**
|
|
@@ -448,7 +452,7 @@ export interface Job {
|
|
|
448
452
|
/**
|
|
449
453
|
* The kind of work the job carries out.
|
|
450
454
|
*/
|
|
451
|
-
type: 'bulk_create' | 'bulk_upsert' | 'export';
|
|
455
|
+
type: 'bulk_create' | 'bulk_upsert' | 'export' | 'pack_pick';
|
|
452
456
|
|
|
453
457
|
/**
|
|
454
458
|
* When the job was last updated.
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import * as APIKeysAPI from '../auth/api-keys/api-keys';
|
|
5
5
|
import * as ItemsAPI from '../catalog/items/items';
|
|
6
|
+
import * as MaterialsAPI from '../catalog/materials/materials';
|
|
6
7
|
import { APIPromise } from '../../core/api-promise';
|
|
7
8
|
import { RequestOptions } from '../../internal/request-options';
|
|
8
9
|
import { path } from '../../internal/utils/path';
|
|
@@ -207,7 +208,7 @@ export interface Consumption {
|
|
|
207
208
|
* resources point at them to report stock levels, ordered and packed amounts,
|
|
208
209
|
* money, weights, and durations.
|
|
209
210
|
*/
|
|
210
|
-
quantity:
|
|
211
|
+
quantity: MaterialsAPI.Quantity | null;
|
|
211
212
|
|
|
212
213
|
/**
|
|
213
214
|
* Last updated timestamp.
|
|
@@ -221,7 +222,7 @@ export interface Consumption {
|
|
|
221
222
|
* resources point at them to report stock levels, ordered and packed amounts,
|
|
222
223
|
* money, weights, and durations.
|
|
223
224
|
*/
|
|
224
|
-
waste_quantity:
|
|
225
|
+
waste_quantity: MaterialsAPI.Quantity | null;
|
|
225
226
|
}
|
|
226
227
|
|
|
227
228
|
/**
|
|
@@ -615,7 +616,7 @@ export interface ProductionOutput {
|
|
|
615
616
|
* resources point at them to report stock levels, ordered and packed amounts,
|
|
616
617
|
* money, weights, and durations.
|
|
617
618
|
*/
|
|
618
|
-
quantity:
|
|
619
|
+
quantity: MaterialsAPI.Quantity | null;
|
|
619
620
|
|
|
620
621
|
/**
|
|
621
622
|
* Last updated timestamp.
|
|
@@ -726,8 +726,6 @@ export interface CreateConversationRequest {
|
|
|
726
726
|
| 'batch_lot'
|
|
727
727
|
| 'check_duplicate_result'
|
|
728
728
|
| 'item_trend_point'
|
|
729
|
-
| 'pack_pick_response'
|
|
730
|
-
| 'pick_shipments_response'
|
|
731
729
|
| 'tenancy_pending_registration'
|
|
732
730
|
| 'invoice_allocation_entry'
|
|
733
731
|
| 'allocation_customer'
|
|
@@ -766,7 +764,13 @@ export interface CreateConversationRequest {
|
|
|
766
764
|
| 'computed_quantity'
|
|
767
765
|
| 'analyze_realized_margins_response'
|
|
768
766
|
| 'realized_margin_finding'
|
|
769
|
-
| 'realized_margin_summary'
|
|
767
|
+
| 'realized_margin_summary'
|
|
768
|
+
| 'shipment_related'
|
|
769
|
+
| 'invoice_related'
|
|
770
|
+
| 'pick_related'
|
|
771
|
+
| 'pick_shipments_response'
|
|
772
|
+
| 'pick_totals'
|
|
773
|
+
| 'pick_stage_total';
|
|
770
774
|
}
|
|
771
775
|
|
|
772
776
|
/**
|
|
@@ -1582,8 +1586,6 @@ export interface ConversationCreateParams {
|
|
|
1582
1586
|
| 'batch_lot'
|
|
1583
1587
|
| 'check_duplicate_result'
|
|
1584
1588
|
| 'item_trend_point'
|
|
1585
|
-
| 'pack_pick_response'
|
|
1586
|
-
| 'pick_shipments_response'
|
|
1587
1589
|
| 'tenancy_pending_registration'
|
|
1588
1590
|
| 'invoice_allocation_entry'
|
|
1589
1591
|
| 'allocation_customer'
|
|
@@ -1622,7 +1624,13 @@ export interface ConversationCreateParams {
|
|
|
1622
1624
|
| 'computed_quantity'
|
|
1623
1625
|
| 'analyze_realized_margins_response'
|
|
1624
1626
|
| 'realized_margin_finding'
|
|
1625
|
-
| 'realized_margin_summary'
|
|
1627
|
+
| 'realized_margin_summary'
|
|
1628
|
+
| 'shipment_related'
|
|
1629
|
+
| 'invoice_related'
|
|
1630
|
+
| 'pick_related'
|
|
1631
|
+
| 'pick_shipments_response'
|
|
1632
|
+
| 'pick_totals'
|
|
1633
|
+
| 'pick_stage_total';
|
|
1626
1634
|
}
|
|
1627
1635
|
|
|
1628
1636
|
export interface ConversationListParams {
|
|
@@ -1967,8 +1975,6 @@ export interface ConversationListParams {
|
|
|
1967
1975
|
| 'batch_lot'
|
|
1968
1976
|
| 'check_duplicate_result'
|
|
1969
1977
|
| 'item_trend_point'
|
|
1970
|
-
| 'pack_pick_response'
|
|
1971
|
-
| 'pick_shipments_response'
|
|
1972
1978
|
| 'tenancy_pending_registration'
|
|
1973
1979
|
| 'invoice_allocation_entry'
|
|
1974
1980
|
| 'allocation_customer'
|
|
@@ -2007,7 +2013,13 @@ export interface ConversationListParams {
|
|
|
2007
2013
|
| 'computed_quantity'
|
|
2008
2014
|
| 'analyze_realized_margins_response'
|
|
2009
2015
|
| 'realized_margin_finding'
|
|
2010
|
-
| 'realized_margin_summary'
|
|
2016
|
+
| 'realized_margin_summary'
|
|
2017
|
+
| 'shipment_related'
|
|
2018
|
+
| 'invoice_related'
|
|
2019
|
+
| 'pick_related'
|
|
2020
|
+
| 'pick_shipments_response'
|
|
2021
|
+
| 'pick_totals'
|
|
2022
|
+
| 'pick_stage_total';
|
|
2011
2023
|
|
|
2012
2024
|
/**
|
|
2013
2025
|
* Filter by conversation type.
|
|
@@ -360,8 +360,6 @@ export interface AddConversationLinkRequest {
|
|
|
360
360
|
| 'batch_lot'
|
|
361
361
|
| 'check_duplicate_result'
|
|
362
362
|
| 'item_trend_point'
|
|
363
|
-
| 'pack_pick_response'
|
|
364
|
-
| 'pick_shipments_response'
|
|
365
363
|
| 'tenancy_pending_registration'
|
|
366
364
|
| 'invoice_allocation_entry'
|
|
367
365
|
| 'allocation_customer'
|
|
@@ -400,7 +398,13 @@ export interface AddConversationLinkRequest {
|
|
|
400
398
|
| 'computed_quantity'
|
|
401
399
|
| 'analyze_realized_margins_response'
|
|
402
400
|
| 'realized_margin_finding'
|
|
403
|
-
| 'realized_margin_summary'
|
|
401
|
+
| 'realized_margin_summary'
|
|
402
|
+
| 'shipment_related'
|
|
403
|
+
| 'invoice_related'
|
|
404
|
+
| 'pick_related'
|
|
405
|
+
| 'pick_shipments_response'
|
|
406
|
+
| 'pick_totals'
|
|
407
|
+
| 'pick_stage_total';
|
|
404
408
|
}
|
|
405
409
|
|
|
406
410
|
/**
|
|
@@ -739,8 +743,6 @@ export interface LinkCreateParams {
|
|
|
739
743
|
| 'batch_lot'
|
|
740
744
|
| 'check_duplicate_result'
|
|
741
745
|
| 'item_trend_point'
|
|
742
|
-
| 'pack_pick_response'
|
|
743
|
-
| 'pick_shipments_response'
|
|
744
746
|
| 'tenancy_pending_registration'
|
|
745
747
|
| 'invoice_allocation_entry'
|
|
746
748
|
| 'allocation_customer'
|
|
@@ -779,7 +781,13 @@ export interface LinkCreateParams {
|
|
|
779
781
|
| 'computed_quantity'
|
|
780
782
|
| 'analyze_realized_margins_response'
|
|
781
783
|
| 'realized_margin_finding'
|
|
782
|
-
| 'realized_margin_summary'
|
|
784
|
+
| 'realized_margin_summary'
|
|
785
|
+
| 'shipment_related'
|
|
786
|
+
| 'invoice_related'
|
|
787
|
+
| 'pick_related'
|
|
788
|
+
| 'pick_shipments_response'
|
|
789
|
+
| 'pick_totals'
|
|
790
|
+
| 'pick_stage_total';
|
|
783
791
|
|
|
784
792
|
/**
|
|
785
793
|
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
@@ -511,8 +511,6 @@ export interface SendMessageRequest {
|
|
|
511
511
|
| 'batch_lot'
|
|
512
512
|
| 'check_duplicate_result'
|
|
513
513
|
| 'item_trend_point'
|
|
514
|
-
| 'pack_pick_response'
|
|
515
|
-
| 'pick_shipments_response'
|
|
516
514
|
| 'tenancy_pending_registration'
|
|
517
515
|
| 'invoice_allocation_entry'
|
|
518
516
|
| 'allocation_customer'
|
|
@@ -551,7 +549,13 @@ export interface SendMessageRequest {
|
|
|
551
549
|
| 'computed_quantity'
|
|
552
550
|
| 'analyze_realized_margins_response'
|
|
553
551
|
| 'realized_margin_finding'
|
|
554
|
-
| 'realized_margin_summary'
|
|
552
|
+
| 'realized_margin_summary'
|
|
553
|
+
| 'shipment_related'
|
|
554
|
+
| 'invoice_related'
|
|
555
|
+
| 'pick_related'
|
|
556
|
+
| 'pick_shipments_response'
|
|
557
|
+
| 'pick_totals'
|
|
558
|
+
| 'pick_stage_total';
|
|
555
559
|
|
|
556
560
|
/**
|
|
557
561
|
* Account user ids explicitly @mentioned in the message.
|
|
@@ -953,8 +957,6 @@ export interface MessageCreateParams {
|
|
|
953
957
|
| 'batch_lot'
|
|
954
958
|
| 'check_duplicate_result'
|
|
955
959
|
| 'item_trend_point'
|
|
956
|
-
| 'pack_pick_response'
|
|
957
|
-
| 'pick_shipments_response'
|
|
958
960
|
| 'tenancy_pending_registration'
|
|
959
961
|
| 'invoice_allocation_entry'
|
|
960
962
|
| 'allocation_customer'
|
|
@@ -993,7 +995,13 @@ export interface MessageCreateParams {
|
|
|
993
995
|
| 'computed_quantity'
|
|
994
996
|
| 'analyze_realized_margins_response'
|
|
995
997
|
| 'realized_margin_finding'
|
|
996
|
-
| 'realized_margin_summary'
|
|
998
|
+
| 'realized_margin_summary'
|
|
999
|
+
| 'shipment_related'
|
|
1000
|
+
| 'invoice_related'
|
|
1001
|
+
| 'pick_related'
|
|
1002
|
+
| 'pick_shipments_response'
|
|
1003
|
+
| 'pick_totals'
|
|
1004
|
+
| 'pick_stage_total';
|
|
997
1005
|
|
|
998
1006
|
/**
|
|
999
1007
|
* Body param: Account user ids explicitly @mentioned in the message.
|
|
@@ -741,8 +741,6 @@ export interface SendNotificationRequest {
|
|
|
741
741
|
| 'batch_lot'
|
|
742
742
|
| 'check_duplicate_result'
|
|
743
743
|
| 'item_trend_point'
|
|
744
|
-
| 'pack_pick_response'
|
|
745
|
-
| 'pick_shipments_response'
|
|
746
744
|
| 'tenancy_pending_registration'
|
|
747
745
|
| 'invoice_allocation_entry'
|
|
748
746
|
| 'allocation_customer'
|
|
@@ -781,7 +779,13 @@ export interface SendNotificationRequest {
|
|
|
781
779
|
| 'computed_quantity'
|
|
782
780
|
| 'analyze_realized_margins_response'
|
|
783
781
|
| 'realized_margin_finding'
|
|
784
|
-
| 'realized_margin_summary'
|
|
782
|
+
| 'realized_margin_summary'
|
|
783
|
+
| 'shipment_related'
|
|
784
|
+
| 'invoice_related'
|
|
785
|
+
| 'pick_related'
|
|
786
|
+
| 'pick_shipments_response'
|
|
787
|
+
| 'pick_totals'
|
|
788
|
+
| 'pick_stage_total';
|
|
785
789
|
|
|
786
790
|
/**
|
|
787
791
|
* How prominently the notification should be surfaced, from `low` through
|
|
@@ -1096,8 +1100,6 @@ export interface NotificationCreateParams {
|
|
|
1096
1100
|
| 'batch_lot'
|
|
1097
1101
|
| 'check_duplicate_result'
|
|
1098
1102
|
| 'item_trend_point'
|
|
1099
|
-
| 'pack_pick_response'
|
|
1100
|
-
| 'pick_shipments_response'
|
|
1101
1103
|
| 'tenancy_pending_registration'
|
|
1102
1104
|
| 'invoice_allocation_entry'
|
|
1103
1105
|
| 'allocation_customer'
|
|
@@ -1136,7 +1138,13 @@ export interface NotificationCreateParams {
|
|
|
1136
1138
|
| 'computed_quantity'
|
|
1137
1139
|
| 'analyze_realized_margins_response'
|
|
1138
1140
|
| 'realized_margin_finding'
|
|
1139
|
-
| 'realized_margin_summary'
|
|
1141
|
+
| 'realized_margin_summary'
|
|
1142
|
+
| 'shipment_related'
|
|
1143
|
+
| 'invoice_related'
|
|
1144
|
+
| 'pick_related'
|
|
1145
|
+
| 'pick_shipments_response'
|
|
1146
|
+
| 'pick_totals'
|
|
1147
|
+
| 'pick_stage_total';
|
|
1140
1148
|
|
|
1141
1149
|
/**
|
|
1142
1150
|
* How prominently the notification should be surfaced, from `low` through
|
|
@@ -6,8 +6,8 @@ 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
|
-
import * as ProductLinesAPI from '../catalog/product-lines/product-lines';
|
|
11
11
|
import { APIPromise } from '../../core/api-promise';
|
|
12
12
|
import { RequestOptions } from '../../internal/request-options';
|
|
13
13
|
import { path } from '../../internal/utils/path';
|
|
@@ -198,7 +198,7 @@ export interface CreateMachineDowntimeEventRequest {
|
|
|
198
198
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
199
199
|
* the same way as physical amounts like weights or counts.
|
|
200
200
|
*/
|
|
201
|
-
duration?:
|
|
201
|
+
duration?: InventoryAPI.QuantityInput;
|
|
202
202
|
|
|
203
203
|
/**
|
|
204
204
|
* When the machine started running again.
|
|
@@ -401,7 +401,7 @@ export interface UpdateMachineDowntimeEventRequest {
|
|
|
401
401
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
402
402
|
* the same way as physical amounts like weights or counts.
|
|
403
403
|
*/
|
|
404
|
-
duration?:
|
|
404
|
+
duration?: InventoryAPI.QuantityInput | null;
|
|
405
405
|
|
|
406
406
|
/**
|
|
407
407
|
* When the machine started running again.
|
|
@@ -599,7 +599,7 @@ export interface MachineDowntimeEventCreateParams {
|
|
|
599
599
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
600
600
|
* the same way as physical amounts like weights or counts.
|
|
601
601
|
*/
|
|
602
|
-
duration?:
|
|
602
|
+
duration?: InventoryAPI.QuantityInput;
|
|
603
603
|
|
|
604
604
|
/**
|
|
605
605
|
* Body param: When the machine started running again.
|
|
@@ -657,7 +657,7 @@ export interface MachineDowntimeEventUpdateParams {
|
|
|
657
657
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
658
658
|
* the same way as physical amounts like weights or counts.
|
|
659
659
|
*/
|
|
660
|
-
duration?:
|
|
660
|
+
duration?: InventoryAPI.QuantityInput | null;
|
|
661
661
|
|
|
662
662
|
/**
|
|
663
663
|
* Body param: When the machine started running again.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import * as APIKeysAPI from '../auth/api-keys/api-keys';
|
|
5
|
-
import * as
|
|
5
|
+
import * as InventoryAPI from '../catalog/items/inventory';
|
|
6
6
|
import * as AccountPricesAPI from '../sales/account-prices/account-prices';
|
|
7
7
|
import { APIPromise } from '../../core/api-promise';
|
|
8
8
|
import { RequestOptions } from '../../internal/request-options';
|
|
@@ -183,7 +183,7 @@ export interface CreateShippingTermRequest {
|
|
|
183
183
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
184
184
|
* the same way as physical amounts like weights or counts.
|
|
185
185
|
*/
|
|
186
|
-
flat_rate?:
|
|
186
|
+
flat_rate?: InventoryAPI.QuantityInput;
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
189
|
* IDs of the service levels that ship for free once an order exceeds
|
|
@@ -200,7 +200,7 @@ export interface CreateShippingTermRequest {
|
|
|
200
200
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
201
201
|
* the same way as physical amounts like weights or counts.
|
|
202
202
|
*/
|
|
203
|
-
minimum_order_value?:
|
|
203
|
+
minimum_order_value?: InventoryAPI.QuantityInput;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
/**
|
|
@@ -244,7 +244,7 @@ export interface UpdateShippingTermRequest {
|
|
|
244
244
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
245
245
|
* the same way as physical amounts like weights or counts.
|
|
246
246
|
*/
|
|
247
|
-
flat_rate?:
|
|
247
|
+
flat_rate?: InventoryAPI.QuantityInput | null;
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
250
|
* IDs of the service levels that ship for free once an order exceeds
|
|
@@ -262,7 +262,7 @@ export interface UpdateShippingTermRequest {
|
|
|
262
262
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
263
263
|
* the same way as physical amounts like weights or counts.
|
|
264
264
|
*/
|
|
265
|
-
minimum_order_value?:
|
|
265
|
+
minimum_order_value?: InventoryAPI.QuantityInput | null;
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
268
|
* Human-readable name for the shipping term, used to identify it when assigning
|
|
@@ -357,7 +357,7 @@ export interface ShippingTermCreateParams {
|
|
|
357
357
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
358
358
|
* the same way as physical amounts like weights or counts.
|
|
359
359
|
*/
|
|
360
|
-
flat_rate?:
|
|
360
|
+
flat_rate?: InventoryAPI.QuantityInput;
|
|
361
361
|
|
|
362
362
|
/**
|
|
363
363
|
* Body param: IDs of the service levels that ship for free once an order exceeds
|
|
@@ -374,7 +374,7 @@ export interface ShippingTermCreateParams {
|
|
|
374
374
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
375
375
|
* the same way as physical amounts like weights or counts.
|
|
376
376
|
*/
|
|
377
|
-
minimum_order_value?:
|
|
377
|
+
minimum_order_value?: InventoryAPI.QuantityInput;
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
export interface ShippingTermUpdateParams {
|
|
@@ -392,7 +392,7 @@ export interface ShippingTermUpdateParams {
|
|
|
392
392
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
393
393
|
* the same way as physical amounts like weights or counts.
|
|
394
394
|
*/
|
|
395
|
-
flat_rate?:
|
|
395
|
+
flat_rate?: InventoryAPI.QuantityInput | null;
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
398
|
* Body param: IDs of the service levels that ship for free once an order exceeds
|
|
@@ -410,7 +410,7 @@ export interface ShippingTermUpdateParams {
|
|
|
410
410
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
411
411
|
* the same way as physical amounts like weights or counts.
|
|
412
412
|
*/
|
|
413
|
-
minimum_order_value?:
|
|
413
|
+
minimum_order_value?: InventoryAPI.QuantityInput | null;
|
|
414
414
|
|
|
415
415
|
/**
|
|
416
416
|
* Body param: Human-readable name for the shipping term, used to identify it when
|
|
@@ -397,7 +397,7 @@ export interface Customer {
|
|
|
397
397
|
* resources point at them to report stock levels, ordered and packed amounts,
|
|
398
398
|
* money, weights, and durations.
|
|
399
399
|
*/
|
|
400
|
-
credit_limit:
|
|
400
|
+
credit_limit: MaterialsAPI.Quantity | null;
|
|
401
401
|
|
|
402
402
|
/**
|
|
403
403
|
* Values used to fill in a new sales order for this customer when the order does
|
|
@@ -939,7 +939,7 @@ export interface ShippingTerm {
|
|
|
939
939
|
* resources point at them to report stock levels, ordered and packed amounts,
|
|
940
940
|
* money, weights, and durations.
|
|
941
941
|
*/
|
|
942
|
-
flat_rate:
|
|
942
|
+
flat_rate: MaterialsAPI.Quantity | null;
|
|
943
943
|
|
|
944
944
|
/**
|
|
945
945
|
* A single page of resources, together with the metadata needed to page through
|
|
@@ -954,7 +954,7 @@ export interface ShippingTerm {
|
|
|
954
954
|
* resources point at them to report stock levels, ordered and packed amounts,
|
|
955
955
|
* money, weights, and durations.
|
|
956
956
|
*/
|
|
957
|
-
minimum_order_value:
|
|
957
|
+
minimum_order_value: MaterialsAPI.Quantity | null;
|
|
958
958
|
|
|
959
959
|
/**
|
|
960
960
|
* Human-readable name for the shipping term, used to identify it when assigning
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { APIResource } from '../../../core/resource';
|
|
4
4
|
import * as CoreAPI from '../../core/core';
|
|
5
5
|
import * as APIKeysAPI from '../../auth/api-keys/api-keys';
|
|
6
|
-
import * as
|
|
6
|
+
import * as MaterialsAPI from '../../catalog/materials/materials';
|
|
7
7
|
import { APIPromise } from '../../../core/api-promise';
|
|
8
8
|
import { RequestOptions } from '../../../internal/request-options';
|
|
9
9
|
import { path } from '../../../internal/utils/path';
|
|
@@ -177,7 +177,7 @@ export interface SalesTarget {
|
|
|
177
177
|
* resources point at them to report stock levels, ordered and packed amounts,
|
|
178
178
|
* money, weights, and durations.
|
|
179
179
|
*/
|
|
180
|
-
amount:
|
|
180
|
+
amount: MaterialsAPI.Quantity | null;
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
183
|
* Creation timestamp.
|