@whiplashmerch/whiplash-api-client 2.0.17 → 2.0.19
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/dist/client.esm.js +1 -35
- package/dist/client.esm.js.map +1 -1
- package/dist/generated/Items.d.ts +1 -19
- package/dist/generated/data-contracts.d.ts +78 -10
- package/generated/Items.ts +0 -44
- package/generated/data-contracts.ts +78 -12
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiV21EntitiesIncident, ApiV21EntitiesItem, ApiV21EntitiesLocation, ApiV21EntitiesPostResponse, ApiV21EntitiesShipnoticeItem, ApiV2EntitiesAudits, ApiV2EntitiesBundleItem, ApiV2EntitiesCount, ApiV2EntitiesIncident, ApiV2EntitiesItem, ApiV2EntitiesItemLocation, ApiV2EntitiesItemWarehouseQuantity, ApiV2EntitiesLocation, ApiV2EntitiesMessage, ApiV2EntitiesMetaFields, ApiV2EntitiesOriginator, ApiV2EntitiesResult, ApiV2EntitiesScancode, ApiV2EntitiesScancodeAlias, ApiV2EntitiesShipnoticeItem, ApiV2EntitiesSidekiqBatch, ApiV2EntitiesTransaction, GetApiV21ItemsAggregateParams, GetApiV21ItemsCountParams, GetApiV21ItemsIdCallTraitParams, GetApiV21ItemsIdInboundParams, GetApiV21ItemsIdIncidentsCountParams, GetApiV21ItemsIdIncidentsParams, GetApiV21ItemsIdLocationsCountParams, GetApiV21ItemsIdLocationsParams, GetApiV21ItemsIdLocationsWithTransferCountParams, GetApiV21ItemsIdMessagesCountParams, GetApiV21ItemsIdMessagesParams, GetApiV21ItemsIdMetaFieldsParams,
|
|
1
|
+
import { ApiV21EntitiesIncident, ApiV21EntitiesItem, ApiV21EntitiesLocation, ApiV21EntitiesPostResponse, ApiV21EntitiesShipnoticeItem, ApiV2EntitiesAudits, ApiV2EntitiesBundleItem, ApiV2EntitiesCount, ApiV2EntitiesIncident, ApiV2EntitiesItem, ApiV2EntitiesItemLocation, ApiV2EntitiesItemWarehouseQuantity, ApiV2EntitiesLocation, ApiV2EntitiesMessage, ApiV2EntitiesMetaFields, ApiV2EntitiesOriginator, ApiV2EntitiesResult, ApiV2EntitiesScancode, ApiV2EntitiesScancodeAlias, ApiV2EntitiesShipnoticeItem, ApiV2EntitiesSidekiqBatch, ApiV2EntitiesTransaction, GetApiV21ItemsAggregateParams, GetApiV21ItemsCountParams, GetApiV21ItemsIdCallTraitParams, GetApiV21ItemsIdInboundParams, GetApiV21ItemsIdIncidentsCountParams, GetApiV21ItemsIdIncidentsParams, GetApiV21ItemsIdLocationsCountParams, GetApiV21ItemsIdLocationsParams, GetApiV21ItemsIdLocationsWithTransferCountParams, GetApiV21ItemsIdMessagesCountParams, GetApiV21ItemsIdMessagesParams, GetApiV21ItemsIdMetaFieldsParams, GetApiV21ItemsIdOriginatorsParams, GetApiV21ItemsIdScancodeAliasesParams, GetApiV21ItemsIdScancodesCountParams, GetApiV21ItemsIdScancodesParams, GetApiV21ItemsIdShipnoticeItemsCountParams, GetApiV21ItemsIdShipnoticeItemsParams, GetApiV21ItemsIdTraitsParams, GetApiV21ItemsIdTransactionsCountParams, GetApiV21ItemsIdTransactionsParams, GetApiV21ItemsParams, GetApiV2ItemsAggregateParams, GetApiV2ItemsCountParams, GetApiV2ItemsIdCallTraitParams, GetApiV2ItemsIdInboundParams, GetApiV2ItemsIdIncidentsCountParams, GetApiV2ItemsIdIncidentsParams, GetApiV2ItemsIdLocationsCountParams, GetApiV2ItemsIdLocationsParams, GetApiV2ItemsIdLocationsWithTransferCountParams, GetApiV2ItemsIdMessagesCountParams, GetApiV2ItemsIdMessagesParams, GetApiV2ItemsIdMetaFieldsParams, GetApiV2ItemsIdOriginatorsParams, GetApiV2ItemsIdScancodeAliasesParams, GetApiV2ItemsIdScancodesCountParams, GetApiV2ItemsIdScancodesParams, GetApiV2ItemsIdShipnoticeItemsCountParams, GetApiV2ItemsIdShipnoticeItemsParams, GetApiV2ItemsIdTraitsParams, GetApiV2ItemsIdTransactionsCountParams, GetApiV2ItemsIdTransactionsParams, GetApiV2ItemsParams, PostApiV21ItemsIdBundleItemsRequest, PostApiV21ItemsIdIncidentsRequest, PostApiV21ItemsIdLocationsRequest, PostApiV21ItemsIdMessagesRequest, PostApiV21ItemsIdOriginatorsRequest, PostApiV21ItemsRequest, PostApiV2ItemsIdBundleItemsRequest, PostApiV2ItemsIdIncidentsRequest, PostApiV2ItemsIdLocationsRequest, PostApiV2ItemsIdMessagesRequest, PostApiV2ItemsIdOriginatorsRequest, PostApiV2ItemsRequest, PutApiV21ItemsIdCallActionRequest, PutApiV21ItemsIdCallAsyncActionRequest, PutApiV21ItemsIdMetaFieldsRequest, PutApiV21ItemsIdRequest, PutApiV2ItemsIdCallActionRequest, PutApiV2ItemsIdCallAsyncActionRequest, PutApiV2ItemsIdMetaFieldsRequest, PutApiV2ItemsIdRequest } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
/**
|
|
4
4
|
* @description Get a list of items
|
|
@@ -279,15 +279,6 @@ export declare const getApiV2ItemsIdOriginators: (client: HttpClient, { id, ...q
|
|
|
279
279
|
* @request POST:/api/v2/items/{id}/originators
|
|
280
280
|
*/
|
|
281
281
|
export declare const postApiV2ItemsIdOriginators: (client: HttpClient, id: number, data: PostApiV2ItemsIdOriginatorsRequest, params?: RequestParams) => Promise<ApiV2EntitiesOriginator>;
|
|
282
|
-
/**
|
|
283
|
-
* @description Get the count of originators for a(n) Item
|
|
284
|
-
*
|
|
285
|
-
* @tags items
|
|
286
|
-
* @name GetApiV2ItemsIdOriginatorsCount
|
|
287
|
-
* @summary Count originators
|
|
288
|
-
* @request GET:/api/v2/items/{id}/originators/count
|
|
289
|
-
*/
|
|
290
|
-
export declare const getApiV2ItemsIdOriginatorsCount: (client: HttpClient, { id, ...query }: GetApiV2ItemsIdOriginatorsCountParams, params?: RequestParams) => Promise<ApiV2EntitiesCount>;
|
|
291
282
|
/**
|
|
292
283
|
* @description show scancodes associated with this item
|
|
293
284
|
*
|
|
@@ -657,15 +648,6 @@ export declare const getApiV21ItemsIdOriginators: (client: HttpClient, { id, ...
|
|
|
657
648
|
* @request POST:/api/v2.1/items/{id}/originators
|
|
658
649
|
*/
|
|
659
650
|
export declare const postApiV21ItemsIdOriginators: (client: HttpClient, id: number, data: PostApiV21ItemsIdOriginatorsRequest, params?: RequestParams) => Promise<ApiV21EntitiesPostResponse>;
|
|
660
|
-
/**
|
|
661
|
-
* @description Get the count of originators for a(n) Item
|
|
662
|
-
*
|
|
663
|
-
* @tags items
|
|
664
|
-
* @name GetApiV21ItemsIdOriginatorsCount
|
|
665
|
-
* @summary Count originators
|
|
666
|
-
* @request GET:/api/v2.1/items/{id}/originators/count
|
|
667
|
-
*/
|
|
668
|
-
export declare const getApiV21ItemsIdOriginatorsCount: (client: HttpClient, { id, ...query }: GetApiV21ItemsIdOriginatorsCountParams, params?: RequestParams) => Promise<ApiV2EntitiesCount>;
|
|
669
651
|
/**
|
|
670
652
|
* @description show scancodes associated with this item
|
|
671
653
|
*
|
|
@@ -4672,6 +4672,8 @@ export interface ApiV2EntitiesShipnotice {
|
|
|
4672
4672
|
* @format date-time
|
|
4673
4673
|
*/
|
|
4674
4674
|
arrived_at?: string;
|
|
4675
|
+
/** BOL proxy for this shipnotice. */
|
|
4676
|
+
bol_proxy?: string | null;
|
|
4675
4677
|
/** shipping carrier */
|
|
4676
4678
|
carrier?: string;
|
|
4677
4679
|
/**
|
|
@@ -4725,6 +4727,8 @@ export interface ApiV2EntitiesShipnotice {
|
|
|
4725
4727
|
inspection_required?: boolean;
|
|
4726
4728
|
/** meta data for this shipnotice as stringified JSON */
|
|
4727
4729
|
meta_data?: string | null;
|
|
4730
|
+
/** MID code for this shipnotice. */
|
|
4731
|
+
mid_code?: string | null;
|
|
4728
4732
|
/** notes by customer */
|
|
4729
4733
|
notes_by_customer?: string | null;
|
|
4730
4734
|
/** notes by whiplash */
|
|
@@ -4815,6 +4819,8 @@ export interface ApiV2EntitiesShipnotice {
|
|
|
4815
4819
|
* @format int32
|
|
4816
4820
|
*/
|
|
4817
4821
|
warehouse_id?: number;
|
|
4822
|
+
/** zone status of this shipnotice. */
|
|
4823
|
+
zone_status?: string | null;
|
|
4818
4824
|
}
|
|
4819
4825
|
/** V2 */
|
|
4820
4826
|
export interface ApiV2EntitiesShipnoticeItem {
|
|
@@ -4896,6 +4902,11 @@ export interface ApiV2EntitiesShipnoticeItem {
|
|
|
4896
4902
|
* @format int32
|
|
4897
4903
|
*/
|
|
4898
4904
|
unallocated?: number;
|
|
4905
|
+
/**
|
|
4906
|
+
* unit cost for this shipnotice item
|
|
4907
|
+
* @format float
|
|
4908
|
+
*/
|
|
4909
|
+
unit_cost?: number | null;
|
|
4899
4910
|
/**
|
|
4900
4911
|
* the shipnotice item last update date and time
|
|
4901
4912
|
* @format date-time
|
|
@@ -8291,6 +8302,8 @@ export interface ApiV21EntitiesShipnotice {
|
|
|
8291
8302
|
* @format date-time
|
|
8292
8303
|
*/
|
|
8293
8304
|
arrived_at?: string;
|
|
8305
|
+
/** BOL proxy for this shipnotice. */
|
|
8306
|
+
bol_proxy?: string | null;
|
|
8294
8307
|
/**
|
|
8295
8308
|
* the shipnotice must be completed by date and time
|
|
8296
8309
|
* @format date-time
|
|
@@ -8343,6 +8356,8 @@ export interface ApiV21EntitiesShipnotice {
|
|
|
8343
8356
|
inspection_required?: boolean;
|
|
8344
8357
|
/** meta data for this shipnotice as stringified JSON */
|
|
8345
8358
|
meta_data?: string | null;
|
|
8359
|
+
/** MID code for this shipnotice. */
|
|
8360
|
+
mid_code?: string | null;
|
|
8346
8361
|
/** notes by customer */
|
|
8347
8362
|
notes_by_customer?: string | null;
|
|
8348
8363
|
/** notes by whiplash */
|
|
@@ -8431,6 +8446,8 @@ export interface ApiV21EntitiesShipnotice {
|
|
|
8431
8446
|
warehouse_id?: number;
|
|
8432
8447
|
/** The name of the associated warehouse */
|
|
8433
8448
|
warehouse_name?: string;
|
|
8449
|
+
/** zone status of this shipnotice. */
|
|
8450
|
+
zone_status?: string | null;
|
|
8434
8451
|
}
|
|
8435
8452
|
/** V2_1 */
|
|
8436
8453
|
export interface ApiV21EntitiesShipnoticeItem {
|
|
@@ -8495,6 +8512,11 @@ export interface ApiV21EntitiesShipnoticeItem {
|
|
|
8495
8512
|
* @format int32
|
|
8496
8513
|
*/
|
|
8497
8514
|
shipnotice_id?: number | null;
|
|
8515
|
+
/**
|
|
8516
|
+
* unit cost for this shipnotice item
|
|
8517
|
+
* @format float
|
|
8518
|
+
*/
|
|
8519
|
+
unit_cost?: number | null;
|
|
8498
8520
|
/**
|
|
8499
8521
|
* the shipnotice item last update date and time
|
|
8500
8522
|
* @format date-time
|
|
@@ -9741,11 +9763,6 @@ export interface GetApiV21ItemsIdMetaFieldsParams {
|
|
|
9741
9763
|
associations?: string[];
|
|
9742
9764
|
id: number;
|
|
9743
9765
|
}
|
|
9744
|
-
export interface GetApiV21ItemsIdOriginatorsCountParams {
|
|
9745
|
-
/** JSON search string like {"attribute_eq": "Term"} */
|
|
9746
|
-
search?: string;
|
|
9747
|
-
id: number;
|
|
9748
|
-
}
|
|
9749
9766
|
export interface GetApiV21ItemsIdOriginatorsParams {
|
|
9750
9767
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
9751
9768
|
search?: string;
|
|
@@ -12437,11 +12454,6 @@ export interface GetApiV2ItemsIdMetaFieldsParams {
|
|
|
12437
12454
|
associations?: string[];
|
|
12438
12455
|
id: number;
|
|
12439
12456
|
}
|
|
12440
|
-
export interface GetApiV2ItemsIdOriginatorsCountParams {
|
|
12441
|
-
/** JSON search string like {"attribute_eq": "Term"} */
|
|
12442
|
-
search?: string;
|
|
12443
|
-
id: number;
|
|
12444
|
-
}
|
|
12445
12457
|
export interface GetApiV2ItemsIdOriginatorsParams {
|
|
12446
12458
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
12447
12459
|
search?: string;
|
|
@@ -17361,6 +17373,12 @@ export interface PostApiV21ShipnoticesBulkRequest {
|
|
|
17361
17373
|
reference?: string;
|
|
17362
17374
|
/** JSON object of required and optional receiving quantities verified by staff */
|
|
17363
17375
|
quantities_verified?: object;
|
|
17376
|
+
/** BOL proxy for this shipnotice. */
|
|
17377
|
+
bol_proxy?: string;
|
|
17378
|
+
/** MID code for this shipnotice. */
|
|
17379
|
+
mid_code?: string;
|
|
17380
|
+
/** zone status of this shipnotice. */
|
|
17381
|
+
zone_status?: string;
|
|
17364
17382
|
/** is inspection required? (default: false) */
|
|
17365
17383
|
inspection_required?: boolean;
|
|
17366
17384
|
/**
|
|
@@ -17514,6 +17532,11 @@ export interface PostApiV21ShipnoticesIdShipnoticeItemsRequest {
|
|
|
17514
17532
|
quantity?: number;
|
|
17515
17533
|
/** action to perform on item return */
|
|
17516
17534
|
return_action?: string;
|
|
17535
|
+
/**
|
|
17536
|
+
* Unit cost per item
|
|
17537
|
+
* @format float
|
|
17538
|
+
*/
|
|
17539
|
+
unit_cost?: number;
|
|
17517
17540
|
}
|
|
17518
17541
|
export interface PostApiV21ShipnoticesRequest {
|
|
17519
17542
|
/**
|
|
@@ -17526,6 +17549,8 @@ export interface PostApiV21ShipnoticesRequest {
|
|
|
17526
17549
|
* @format date-time
|
|
17527
17550
|
*/
|
|
17528
17551
|
arrived_at?: string;
|
|
17552
|
+
/** BOL proxy for this shipnotice. */
|
|
17553
|
+
bol_proxy?: string;
|
|
17529
17554
|
carrier?: string;
|
|
17530
17555
|
/**
|
|
17531
17556
|
* the shipnotice completion date and time
|
|
@@ -17564,6 +17589,8 @@ export interface PostApiV21ShipnoticesRequest {
|
|
|
17564
17589
|
/** Included meta fields for associations */
|
|
17565
17590
|
association_fields?: object;
|
|
17566
17591
|
};
|
|
17592
|
+
/** MID code for this shipnotice. */
|
|
17593
|
+
mid_code?: string;
|
|
17567
17594
|
/** notes by customer */
|
|
17568
17595
|
notes_by_customer?: string;
|
|
17569
17596
|
/** notes by whiplash */
|
|
@@ -17668,6 +17695,8 @@ export interface PostApiV21ShipnoticesRequest {
|
|
|
17668
17695
|
* @format int32
|
|
17669
17696
|
*/
|
|
17670
17697
|
warehouse_id?: number;
|
|
17698
|
+
/** zone status of this shipnotice. */
|
|
17699
|
+
zone_status?: string;
|
|
17671
17700
|
}
|
|
17672
17701
|
export interface PostApiV21ShippingAliasesRequest {
|
|
17673
17702
|
/**
|
|
@@ -20967,6 +20996,12 @@ export interface PostApiV2ShipnoticesBulkRequest {
|
|
|
20967
20996
|
reference?: string;
|
|
20968
20997
|
/** JSON object of required and optional receiving quantities verified by staff */
|
|
20969
20998
|
quantities_verified?: object;
|
|
20999
|
+
/** BOL proxy for this shipnotice. */
|
|
21000
|
+
bol_proxy?: string;
|
|
21001
|
+
/** MID code for this shipnotice. */
|
|
21002
|
+
mid_code?: string;
|
|
21003
|
+
/** zone status of this shipnotice. */
|
|
21004
|
+
zone_status?: string;
|
|
20970
21005
|
/** is inspection required? (default: false) */
|
|
20971
21006
|
inspection_required?: boolean;
|
|
20972
21007
|
/**
|
|
@@ -21120,6 +21155,11 @@ export interface PostApiV2ShipnoticesIdShipnoticeItemsRequest {
|
|
|
21120
21155
|
quantity?: number;
|
|
21121
21156
|
/** action to perform on item return */
|
|
21122
21157
|
return_action?: string;
|
|
21158
|
+
/**
|
|
21159
|
+
* Unit cost per item
|
|
21160
|
+
* @format float
|
|
21161
|
+
*/
|
|
21162
|
+
unit_cost?: number;
|
|
21123
21163
|
}
|
|
21124
21164
|
export interface PostApiV2ShipnoticesRequest {
|
|
21125
21165
|
/**
|
|
@@ -21132,6 +21172,8 @@ export interface PostApiV2ShipnoticesRequest {
|
|
|
21132
21172
|
* @format date-time
|
|
21133
21173
|
*/
|
|
21134
21174
|
arrived_at?: string;
|
|
21175
|
+
/** BOL proxy for this shipnotice. */
|
|
21176
|
+
bol_proxy?: string;
|
|
21135
21177
|
carrier?: string;
|
|
21136
21178
|
/**
|
|
21137
21179
|
* the shipnotice completion date and time
|
|
@@ -21170,6 +21212,8 @@ export interface PostApiV2ShipnoticesRequest {
|
|
|
21170
21212
|
/** Included meta fields for associations */
|
|
21171
21213
|
association_fields?: object;
|
|
21172
21214
|
};
|
|
21215
|
+
/** MID code for this shipnotice. */
|
|
21216
|
+
mid_code?: string;
|
|
21173
21217
|
/** notes by customer */
|
|
21174
21218
|
notes_by_customer?: string;
|
|
21175
21219
|
/** notes by whiplash */
|
|
@@ -21274,6 +21318,8 @@ export interface PostApiV2ShipnoticesRequest {
|
|
|
21274
21318
|
* @format int32
|
|
21275
21319
|
*/
|
|
21276
21320
|
warehouse_id?: number;
|
|
21321
|
+
/** zone status of this shipnotice. */
|
|
21322
|
+
zone_status?: string;
|
|
21277
21323
|
}
|
|
21278
21324
|
export interface PostApiV2ShippingAliasesRequest {
|
|
21279
21325
|
/**
|
|
@@ -24033,6 +24079,11 @@ export interface PutApiV21ShipnoticeItemsIdRequest {
|
|
|
24033
24079
|
* @format int32
|
|
24034
24080
|
*/
|
|
24035
24081
|
quantity?: number;
|
|
24082
|
+
/**
|
|
24083
|
+
* Unit cost per item
|
|
24084
|
+
* @format float
|
|
24085
|
+
*/
|
|
24086
|
+
unit_cost?: number;
|
|
24036
24087
|
}
|
|
24037
24088
|
export interface PutApiV21ShipnoticesIdCallActionRequest {
|
|
24038
24089
|
action?: string;
|
|
@@ -24061,6 +24112,8 @@ export interface PutApiV21ShipnoticesIdRequest {
|
|
|
24061
24112
|
* @format date-time
|
|
24062
24113
|
*/
|
|
24063
24114
|
arrived_at?: string;
|
|
24115
|
+
/** BOL proxy for this shipnotice. */
|
|
24116
|
+
bol_proxy?: string;
|
|
24064
24117
|
carrier?: string;
|
|
24065
24118
|
/**
|
|
24066
24119
|
* the shipnotice completion date and time
|
|
@@ -24090,6 +24143,8 @@ export interface PutApiV21ShipnoticesIdRequest {
|
|
|
24090
24143
|
handling_billed?: boolean;
|
|
24091
24144
|
/** meta data for this shipnotice as stringified JSON */
|
|
24092
24145
|
meta_data?: string;
|
|
24146
|
+
/** MID code for this shipnotice. */
|
|
24147
|
+
mid_code?: string;
|
|
24093
24148
|
/** notes by customer */
|
|
24094
24149
|
notes_by_customer?: string;
|
|
24095
24150
|
/** notes by whiplash */
|
|
@@ -24144,6 +24199,8 @@ export interface PutApiV21ShipnoticesIdRequest {
|
|
|
24144
24199
|
tracking?: string;
|
|
24145
24200
|
/** shipnotice type (Shipnotice, ConsumerReturn) */
|
|
24146
24201
|
type?: string;
|
|
24202
|
+
/** zone status of this shipnotice. */
|
|
24203
|
+
zone_status?: string;
|
|
24147
24204
|
}
|
|
24148
24205
|
export interface PutApiV21ShippingAliasesIdRequest {
|
|
24149
24206
|
/**
|
|
@@ -27007,6 +27064,11 @@ export interface PutApiV2ShipnoticeItemsIdRequest {
|
|
|
27007
27064
|
* @format int32
|
|
27008
27065
|
*/
|
|
27009
27066
|
quantity?: number;
|
|
27067
|
+
/**
|
|
27068
|
+
* Unit cost per item
|
|
27069
|
+
* @format float
|
|
27070
|
+
*/
|
|
27071
|
+
unit_cost?: number;
|
|
27010
27072
|
}
|
|
27011
27073
|
export interface PutApiV2ShipnoticesIdCallActionRequest {
|
|
27012
27074
|
action?: string;
|
|
@@ -27035,6 +27097,8 @@ export interface PutApiV2ShipnoticesIdRequest {
|
|
|
27035
27097
|
* @format date-time
|
|
27036
27098
|
*/
|
|
27037
27099
|
arrived_at?: string;
|
|
27100
|
+
/** BOL proxy for this shipnotice. */
|
|
27101
|
+
bol_proxy?: string;
|
|
27038
27102
|
carrier?: string;
|
|
27039
27103
|
/**
|
|
27040
27104
|
* the shipnotice completion date and time
|
|
@@ -27064,6 +27128,8 @@ export interface PutApiV2ShipnoticesIdRequest {
|
|
|
27064
27128
|
handling_billed?: boolean;
|
|
27065
27129
|
/** meta data for this shipnotice as stringified JSON */
|
|
27066
27130
|
meta_data?: string;
|
|
27131
|
+
/** MID code for this shipnotice. */
|
|
27132
|
+
mid_code?: string;
|
|
27067
27133
|
/** notes by customer */
|
|
27068
27134
|
notes_by_customer?: string;
|
|
27069
27135
|
/** notes by whiplash */
|
|
@@ -27118,6 +27184,8 @@ export interface PutApiV2ShipnoticesIdRequest {
|
|
|
27118
27184
|
tracking?: string;
|
|
27119
27185
|
/** shipnotice type (Shipnotice, ConsumerReturn) */
|
|
27120
27186
|
type?: string;
|
|
27187
|
+
/** zone status of this shipnotice. */
|
|
27188
|
+
zone_status?: string;
|
|
27121
27189
|
}
|
|
27122
27190
|
export interface PutApiV2ShippingAliasesIdRequest {
|
|
27123
27191
|
/**
|
package/generated/Items.ts
CHANGED
|
@@ -28,7 +28,6 @@ import {
|
|
|
28
28
|
GetApiV21ItemsCountParams,
|
|
29
29
|
GetApiV21ItemsIdLocationsWithTransferCountParams,
|
|
30
30
|
GetApiV21ItemsIdMetaFieldsParams,
|
|
31
|
-
GetApiV21ItemsIdOriginatorsCountParams,
|
|
32
31
|
GetApiV21ItemsIdOriginatorsParams,
|
|
33
32
|
GetApiV21ItemsIdScancodesParams,
|
|
34
33
|
GetApiV21ItemsIdShipnoticeItemsCountParams,
|
|
@@ -39,7 +38,6 @@ import {
|
|
|
39
38
|
GetApiV2ItemsCountParams,
|
|
40
39
|
GetApiV2ItemsIdLocationsWithTransferCountParams,
|
|
41
40
|
GetApiV2ItemsIdMetaFieldsParams,
|
|
42
|
-
GetApiV2ItemsIdOriginatorsCountParams,
|
|
43
41
|
GetApiV2ItemsIdOriginatorsParams,
|
|
44
42
|
GetApiV2ItemsIdScancodesParams,
|
|
45
43
|
GetApiV2ItemsIdShipnoticeItemsCountParams,
|
|
@@ -345,27 +343,6 @@ export const getApiV2ItemsIdOriginators = (
|
|
|
345
343
|
...params,
|
|
346
344
|
});
|
|
347
345
|
};
|
|
348
|
-
/**
|
|
349
|
-
* @description Get the count of originators for a(n) Item
|
|
350
|
-
*
|
|
351
|
-
* @tags items
|
|
352
|
-
* @name GetApiV2ItemsIdOriginatorsCount
|
|
353
|
-
* @summary Count originators
|
|
354
|
-
* @request GET:/api/v2/items/{id}/originators/count
|
|
355
|
-
*/
|
|
356
|
-
export const getApiV2ItemsIdOriginatorsCount = (
|
|
357
|
-
client: HttpClient,
|
|
358
|
-
{ id, ...query }: GetApiV2ItemsIdOriginatorsCountParams,
|
|
359
|
-
params: RequestParams = {},
|
|
360
|
-
) => {
|
|
361
|
-
return client.request<ApiV2EntitiesCount, ApiV2EntitiesApiError>({
|
|
362
|
-
path: `/api/v2/items/${id}/originators/count`,
|
|
363
|
-
method: "GET",
|
|
364
|
-
query: query,
|
|
365
|
-
format: "json",
|
|
366
|
-
...params,
|
|
367
|
-
});
|
|
368
|
-
};
|
|
369
346
|
/**
|
|
370
347
|
* @description show scancodes associated with this item
|
|
371
348
|
*
|
|
@@ -790,27 +767,6 @@ export const getApiV21ItemsIdOriginators = (
|
|
|
790
767
|
...params,
|
|
791
768
|
});
|
|
792
769
|
};
|
|
793
|
-
/**
|
|
794
|
-
* @description Get the count of originators for a(n) Item
|
|
795
|
-
*
|
|
796
|
-
* @tags items
|
|
797
|
-
* @name GetApiV21ItemsIdOriginatorsCount
|
|
798
|
-
* @summary Count originators
|
|
799
|
-
* @request GET:/api/v2.1/items/{id}/originators/count
|
|
800
|
-
*/
|
|
801
|
-
export const getApiV21ItemsIdOriginatorsCount = (
|
|
802
|
-
client: HttpClient,
|
|
803
|
-
{ id, ...query }: GetApiV21ItemsIdOriginatorsCountParams,
|
|
804
|
-
params: RequestParams = {},
|
|
805
|
-
) => {
|
|
806
|
-
return client.request<ApiV2EntitiesCount, ApiV2EntitiesApiError>({
|
|
807
|
-
path: `/api/v2.1/items/${id}/originators/count`,
|
|
808
|
-
method: "GET",
|
|
809
|
-
query: query,
|
|
810
|
-
format: "json",
|
|
811
|
-
...params,
|
|
812
|
-
});
|
|
813
|
-
};
|
|
814
770
|
/**
|
|
815
771
|
* @description show scancodes associated with this item
|
|
816
772
|
*
|
|
@@ -2143,6 +2143,8 @@ export interface ApiV2EntitiesShipnotice {
|
|
|
2143
2143
|
* @format date-time
|
|
2144
2144
|
*/
|
|
2145
2145
|
arrived_at?: string;
|
|
2146
|
+
/** BOL proxy for this shipnotice. */
|
|
2147
|
+
bol_proxy?: string | null;
|
|
2146
2148
|
/** shipping carrier */
|
|
2147
2149
|
carrier?: string;
|
|
2148
2150
|
/**
|
|
@@ -2196,6 +2198,8 @@ export interface ApiV2EntitiesShipnotice {
|
|
|
2196
2198
|
inspection_required?: boolean;
|
|
2197
2199
|
/** meta data for this shipnotice as stringified JSON */
|
|
2198
2200
|
meta_data?: string | null;
|
|
2201
|
+
/** MID code for this shipnotice. */
|
|
2202
|
+
mid_code?: string | null;
|
|
2199
2203
|
/** notes by customer */
|
|
2200
2204
|
notes_by_customer?: string | null;
|
|
2201
2205
|
/** notes by whiplash */
|
|
@@ -2286,6 +2290,8 @@ export interface ApiV2EntitiesShipnotice {
|
|
|
2286
2290
|
* @format int32
|
|
2287
2291
|
*/
|
|
2288
2292
|
warehouse_id?: number;
|
|
2293
|
+
/** zone status of this shipnotice. */
|
|
2294
|
+
zone_status?: string | null;
|
|
2289
2295
|
}
|
|
2290
2296
|
|
|
2291
2297
|
/** V2 */
|
|
@@ -2368,6 +2374,11 @@ export interface ApiV2EntitiesShipnoticeItem {
|
|
|
2368
2374
|
* @format int32
|
|
2369
2375
|
*/
|
|
2370
2376
|
unallocated?: number;
|
|
2377
|
+
/**
|
|
2378
|
+
* unit cost for this shipnotice item
|
|
2379
|
+
* @format float
|
|
2380
|
+
*/
|
|
2381
|
+
unit_cost?: number | null;
|
|
2371
2382
|
/**
|
|
2372
2383
|
* the shipnotice item last update date and time
|
|
2373
2384
|
* @format date-time
|
|
@@ -4162,6 +4173,8 @@ export interface ApiV21EntitiesShipnotice {
|
|
|
4162
4173
|
* @format date-time
|
|
4163
4174
|
*/
|
|
4164
4175
|
arrived_at?: string;
|
|
4176
|
+
/** BOL proxy for this shipnotice. */
|
|
4177
|
+
bol_proxy?: string | null;
|
|
4165
4178
|
/**
|
|
4166
4179
|
* the shipnotice must be completed by date and time
|
|
4167
4180
|
* @format date-time
|
|
@@ -4214,6 +4227,8 @@ export interface ApiV21EntitiesShipnotice {
|
|
|
4214
4227
|
inspection_required?: boolean;
|
|
4215
4228
|
/** meta data for this shipnotice as stringified JSON */
|
|
4216
4229
|
meta_data?: string | null;
|
|
4230
|
+
/** MID code for this shipnotice. */
|
|
4231
|
+
mid_code?: string | null;
|
|
4217
4232
|
/** notes by customer */
|
|
4218
4233
|
notes_by_customer?: string | null;
|
|
4219
4234
|
/** notes by whiplash */
|
|
@@ -4302,6 +4317,8 @@ export interface ApiV21EntitiesShipnotice {
|
|
|
4302
4317
|
warehouse_id?: number;
|
|
4303
4318
|
/** The name of the associated warehouse */
|
|
4304
4319
|
warehouse_name?: string;
|
|
4320
|
+
/** zone status of this shipnotice. */
|
|
4321
|
+
zone_status?: string | null;
|
|
4305
4322
|
}
|
|
4306
4323
|
|
|
4307
4324
|
/** V2_1 */
|
|
@@ -4367,6 +4384,11 @@ export interface ApiV21EntitiesShipnoticeItem {
|
|
|
4367
4384
|
* @format int32
|
|
4368
4385
|
*/
|
|
4369
4386
|
shipnotice_id?: number | null;
|
|
4387
|
+
/**
|
|
4388
|
+
* unit cost for this shipnotice item
|
|
4389
|
+
* @format float
|
|
4390
|
+
*/
|
|
4391
|
+
unit_cost?: number | null;
|
|
4370
4392
|
/**
|
|
4371
4393
|
* the shipnotice item last update date and time
|
|
4372
4394
|
* @format date-time
|
|
@@ -4686,12 +4708,6 @@ export interface GetApiV21ItemsIdMetaFieldsParams {
|
|
|
4686
4708
|
id: number;
|
|
4687
4709
|
}
|
|
4688
4710
|
|
|
4689
|
-
export interface GetApiV21ItemsIdOriginatorsCountParams {
|
|
4690
|
-
/** JSON search string like {"attribute_eq": "Term"} */
|
|
4691
|
-
search?: string;
|
|
4692
|
-
id: number;
|
|
4693
|
-
}
|
|
4694
|
-
|
|
4695
4711
|
export interface GetApiV21ItemsIdOriginatorsParams {
|
|
4696
4712
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
4697
4713
|
search?: string;
|
|
@@ -5305,12 +5321,6 @@ export interface GetApiV2ItemsIdMetaFieldsParams {
|
|
|
5305
5321
|
id: number;
|
|
5306
5322
|
}
|
|
5307
5323
|
|
|
5308
|
-
export interface GetApiV2ItemsIdOriginatorsCountParams {
|
|
5309
|
-
/** JSON search string like {"attribute_eq": "Term"} */
|
|
5310
|
-
search?: string;
|
|
5311
|
-
id: number;
|
|
5312
|
-
}
|
|
5313
|
-
|
|
5314
5324
|
export interface GetApiV2ItemsIdOriginatorsParams {
|
|
5315
5325
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
5316
5326
|
search?: string;
|
|
@@ -7431,6 +7441,12 @@ export interface PostApiV21ShipnoticesBulkRequest {
|
|
|
7431
7441
|
reference?: string;
|
|
7432
7442
|
/** JSON object of required and optional receiving quantities verified by staff */
|
|
7433
7443
|
quantities_verified?: object;
|
|
7444
|
+
/** BOL proxy for this shipnotice. */
|
|
7445
|
+
bol_proxy?: string;
|
|
7446
|
+
/** MID code for this shipnotice. */
|
|
7447
|
+
mid_code?: string;
|
|
7448
|
+
/** zone status of this shipnotice. */
|
|
7449
|
+
zone_status?: string;
|
|
7434
7450
|
/** is inspection required? (default: false) */
|
|
7435
7451
|
inspection_required?: boolean;
|
|
7436
7452
|
/**
|
|
@@ -7535,6 +7551,11 @@ export interface PostApiV21ShipnoticesIdShipnoticeItemsRequest {
|
|
|
7535
7551
|
quantity?: number;
|
|
7536
7552
|
/** action to perform on item return */
|
|
7537
7553
|
return_action?: string;
|
|
7554
|
+
/**
|
|
7555
|
+
* Unit cost per item
|
|
7556
|
+
* @format float
|
|
7557
|
+
*/
|
|
7558
|
+
unit_cost?: number;
|
|
7538
7559
|
}
|
|
7539
7560
|
|
|
7540
7561
|
export interface PostApiV21ShipnoticesRequest {
|
|
@@ -7548,6 +7569,8 @@ export interface PostApiV21ShipnoticesRequest {
|
|
|
7548
7569
|
* @format date-time
|
|
7549
7570
|
*/
|
|
7550
7571
|
arrived_at?: string;
|
|
7572
|
+
/** BOL proxy for this shipnotice. */
|
|
7573
|
+
bol_proxy?: string;
|
|
7551
7574
|
carrier?: string;
|
|
7552
7575
|
/**
|
|
7553
7576
|
* the shipnotice completion date and time
|
|
@@ -7586,6 +7609,8 @@ export interface PostApiV21ShipnoticesRequest {
|
|
|
7586
7609
|
/** Included meta fields for associations */
|
|
7587
7610
|
association_fields?: object;
|
|
7588
7611
|
};
|
|
7612
|
+
/** MID code for this shipnotice. */
|
|
7613
|
+
mid_code?: string;
|
|
7589
7614
|
/** notes by customer */
|
|
7590
7615
|
notes_by_customer?: string;
|
|
7591
7616
|
/** notes by whiplash */
|
|
@@ -7690,6 +7715,8 @@ export interface PostApiV21ShipnoticesRequest {
|
|
|
7690
7715
|
* @format int32
|
|
7691
7716
|
*/
|
|
7692
7717
|
warehouse_id?: number;
|
|
7718
|
+
/** zone status of this shipnotice. */
|
|
7719
|
+
zone_status?: string;
|
|
7693
7720
|
}
|
|
7694
7721
|
|
|
7695
7722
|
export interface PostApiV21SimulateConsumerReturnsCreateRequest {
|
|
@@ -9362,6 +9389,12 @@ export interface PostApiV2ShipnoticesBulkRequest {
|
|
|
9362
9389
|
reference?: string;
|
|
9363
9390
|
/** JSON object of required and optional receiving quantities verified by staff */
|
|
9364
9391
|
quantities_verified?: object;
|
|
9392
|
+
/** BOL proxy for this shipnotice. */
|
|
9393
|
+
bol_proxy?: string;
|
|
9394
|
+
/** MID code for this shipnotice. */
|
|
9395
|
+
mid_code?: string;
|
|
9396
|
+
/** zone status of this shipnotice. */
|
|
9397
|
+
zone_status?: string;
|
|
9365
9398
|
/** is inspection required? (default: false) */
|
|
9366
9399
|
inspection_required?: boolean;
|
|
9367
9400
|
/**
|
|
@@ -9466,6 +9499,11 @@ export interface PostApiV2ShipnoticesIdShipnoticeItemsRequest {
|
|
|
9466
9499
|
quantity?: number;
|
|
9467
9500
|
/** action to perform on item return */
|
|
9468
9501
|
return_action?: string;
|
|
9502
|
+
/**
|
|
9503
|
+
* Unit cost per item
|
|
9504
|
+
* @format float
|
|
9505
|
+
*/
|
|
9506
|
+
unit_cost?: number;
|
|
9469
9507
|
}
|
|
9470
9508
|
|
|
9471
9509
|
export interface PostApiV2ShipnoticesRequest {
|
|
@@ -9479,6 +9517,8 @@ export interface PostApiV2ShipnoticesRequest {
|
|
|
9479
9517
|
* @format date-time
|
|
9480
9518
|
*/
|
|
9481
9519
|
arrived_at?: string;
|
|
9520
|
+
/** BOL proxy for this shipnotice. */
|
|
9521
|
+
bol_proxy?: string;
|
|
9482
9522
|
carrier?: string;
|
|
9483
9523
|
/**
|
|
9484
9524
|
* the shipnotice completion date and time
|
|
@@ -9517,6 +9557,8 @@ export interface PostApiV2ShipnoticesRequest {
|
|
|
9517
9557
|
/** Included meta fields for associations */
|
|
9518
9558
|
association_fields?: object;
|
|
9519
9559
|
};
|
|
9560
|
+
/** MID code for this shipnotice. */
|
|
9561
|
+
mid_code?: string;
|
|
9520
9562
|
/** notes by customer */
|
|
9521
9563
|
notes_by_customer?: string;
|
|
9522
9564
|
/** notes by whiplash */
|
|
@@ -9621,6 +9663,8 @@ export interface PostApiV2ShipnoticesRequest {
|
|
|
9621
9663
|
* @format int32
|
|
9622
9664
|
*/
|
|
9623
9665
|
warehouse_id?: number;
|
|
9666
|
+
/** zone status of this shipnotice. */
|
|
9667
|
+
zone_status?: string;
|
|
9624
9668
|
}
|
|
9625
9669
|
|
|
9626
9670
|
export interface PostApiV2SimulateConsumerReturnsCreateRequest {
|
|
@@ -10701,6 +10745,11 @@ export interface PutApiV21ShipnoticeItemsIdRequest {
|
|
|
10701
10745
|
* @format int32
|
|
10702
10746
|
*/
|
|
10703
10747
|
quantity?: number;
|
|
10748
|
+
/**
|
|
10749
|
+
* Unit cost per item
|
|
10750
|
+
* @format float
|
|
10751
|
+
*/
|
|
10752
|
+
unit_cost?: number;
|
|
10704
10753
|
}
|
|
10705
10754
|
|
|
10706
10755
|
export interface PutApiV21ShipnoticesIdMetaFieldsRequest {
|
|
@@ -10721,6 +10770,8 @@ export interface PutApiV21ShipnoticesIdRequest {
|
|
|
10721
10770
|
* @format date-time
|
|
10722
10771
|
*/
|
|
10723
10772
|
arrived_at?: string;
|
|
10773
|
+
/** BOL proxy for this shipnotice. */
|
|
10774
|
+
bol_proxy?: string;
|
|
10724
10775
|
carrier?: string;
|
|
10725
10776
|
/**
|
|
10726
10777
|
* the shipnotice completion date and time
|
|
@@ -10750,6 +10801,8 @@ export interface PutApiV21ShipnoticesIdRequest {
|
|
|
10750
10801
|
handling_billed?: boolean;
|
|
10751
10802
|
/** meta data for this shipnotice as stringified JSON */
|
|
10752
10803
|
meta_data?: string;
|
|
10804
|
+
/** MID code for this shipnotice. */
|
|
10805
|
+
mid_code?: string;
|
|
10753
10806
|
/** notes by customer */
|
|
10754
10807
|
notes_by_customer?: string;
|
|
10755
10808
|
/** notes by whiplash */
|
|
@@ -10804,6 +10857,8 @@ export interface PutApiV21ShipnoticesIdRequest {
|
|
|
10804
10857
|
tracking?: string;
|
|
10805
10858
|
/** shipnotice type (Shipnotice, ConsumerReturn) */
|
|
10806
10859
|
type?: string;
|
|
10860
|
+
/** zone status of this shipnotice. */
|
|
10861
|
+
zone_status?: string;
|
|
10807
10862
|
}
|
|
10808
10863
|
|
|
10809
10864
|
export interface PutApiV21SimulateConsumerReturnsConsumerReturnIdProcessingRequest {
|
|
@@ -11918,6 +11973,11 @@ export interface PutApiV2ShipnoticeItemsIdRequest {
|
|
|
11918
11973
|
* @format int32
|
|
11919
11974
|
*/
|
|
11920
11975
|
quantity?: number;
|
|
11976
|
+
/**
|
|
11977
|
+
* Unit cost per item
|
|
11978
|
+
* @format float
|
|
11979
|
+
*/
|
|
11980
|
+
unit_cost?: number;
|
|
11921
11981
|
}
|
|
11922
11982
|
|
|
11923
11983
|
export interface PutApiV2ShipnoticesIdMetaFieldsRequest {
|
|
@@ -11938,6 +11998,8 @@ export interface PutApiV2ShipnoticesIdRequest {
|
|
|
11938
11998
|
* @format date-time
|
|
11939
11999
|
*/
|
|
11940
12000
|
arrived_at?: string;
|
|
12001
|
+
/** BOL proxy for this shipnotice. */
|
|
12002
|
+
bol_proxy?: string;
|
|
11941
12003
|
carrier?: string;
|
|
11942
12004
|
/**
|
|
11943
12005
|
* the shipnotice completion date and time
|
|
@@ -11967,6 +12029,8 @@ export interface PutApiV2ShipnoticesIdRequest {
|
|
|
11967
12029
|
handling_billed?: boolean;
|
|
11968
12030
|
/** meta data for this shipnotice as stringified JSON */
|
|
11969
12031
|
meta_data?: string;
|
|
12032
|
+
/** MID code for this shipnotice. */
|
|
12033
|
+
mid_code?: string;
|
|
11970
12034
|
/** notes by customer */
|
|
11971
12035
|
notes_by_customer?: string;
|
|
11972
12036
|
/** notes by whiplash */
|
|
@@ -12021,6 +12085,8 @@ export interface PutApiV2ShipnoticesIdRequest {
|
|
|
12021
12085
|
tracking?: string;
|
|
12022
12086
|
/** shipnotice type (Shipnotice, ConsumerReturn) */
|
|
12023
12087
|
type?: string;
|
|
12088
|
+
/** zone status of this shipnotice. */
|
|
12089
|
+
zone_status?: string;
|
|
12024
12090
|
}
|
|
12025
12091
|
|
|
12026
12092
|
export interface PutApiV2SimulateConsumerReturnsConsumerReturnIdProcessingRequest {
|