@whiplashmerch/whiplash-api-client 0.4.78 → 0.4.81
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIV21EntitiesAllocation, APIV21EntitiesLocation, APIV21EntitiesShipnoticeItem, APIV2EntitiesAllocation, APIV2EntitiesAudits, APIV2EntitiesCount, APIV2EntitiesLocation, APIV2EntitiesMetaFields, APIV2EntitiesOriginator, APIV2EntitiesShipnoticeItem, APIV2EntitiesSidekiqBatch, APIV2EntitiesTag, DeleteApiV2ShipnoticeItemsIdTagsParams, GetApiV21ShipnoticeItemsAggregateParams, GetApiV21ShipnoticeItemsCountParams, GetApiV21ShipnoticeItemsIdAllocationsParams, GetApiV21ShipnoticeItemsIdLocationsParams, GetApiV21ShipnoticeItemsIdMetaFieldsParams, GetApiV21ShipnoticeItemsIdReceivedParams, GetApiV21ShipnoticeItemsParams, GetApiV2ShipnoticeItemsAggregateParams, GetApiV2ShipnoticeItemsCountParams, GetApiV2ShipnoticeItemsIdAllocationsParams, GetApiV2ShipnoticeItemsIdLocationsParams, GetApiV2ShipnoticeItemsIdMetaFieldsParams, GetApiV2ShipnoticeItemsIdReceivedParams, GetApiV2ShipnoticeItemsIdTagsParams, GetApiV2ShipnoticeItemsParams, PostApiV2ShipnoticeItemsIdTags, PutApiV21ShipnoticeItemsId, PutApiV21ShipnoticeItemsIdCallAction, PutApiV21ShipnoticeItemsIdCallAsyncAction, PutApiV21ShipnoticeItemsIdMetaFields, PutApiV21ShipnoticeItemsIdReceive, PutApiV2ShipnoticeItemsId, PutApiV2ShipnoticeItemsIdCallAction, PutApiV2ShipnoticeItemsIdCallAsyncAction, PutApiV2ShipnoticeItemsIdMetaFields, PutApiV2ShipnoticeItemsIdReceive } from "./data-contracts";
|
|
1
|
+
import { APIV21EntitiesAllocation, APIV21EntitiesLocation, APIV21EntitiesShipnoticeItem, APIV2EntitiesAllocation, APIV2EntitiesAudits, APIV2EntitiesCount, APIV2EntitiesLocation, APIV2EntitiesMetaFields, APIV2EntitiesOriginator, APIV2EntitiesResult, APIV2EntitiesShipnoticeItem, APIV2EntitiesSidekiqBatch, APIV2EntitiesTag, DeleteApiV2ShipnoticeItemsIdTagsParams, GetApiV21ShipnoticeItemsAggregateParams, GetApiV21ShipnoticeItemsCountParams, GetApiV21ShipnoticeItemsIdAllocationsParams, GetApiV21ShipnoticeItemsIdCallTraitParams, GetApiV21ShipnoticeItemsIdLocationsParams, GetApiV21ShipnoticeItemsIdMetaFieldsParams, GetApiV21ShipnoticeItemsIdReceivedParams, GetApiV21ShipnoticeItemsIdTraitsParams, GetApiV21ShipnoticeItemsParams, GetApiV2ShipnoticeItemsAggregateParams, GetApiV2ShipnoticeItemsCountParams, GetApiV2ShipnoticeItemsIdAllocationsParams, GetApiV2ShipnoticeItemsIdCallTraitParams, GetApiV2ShipnoticeItemsIdLocationsParams, GetApiV2ShipnoticeItemsIdMetaFieldsParams, GetApiV2ShipnoticeItemsIdReceivedParams, GetApiV2ShipnoticeItemsIdTagsParams, GetApiV2ShipnoticeItemsIdTraitsParams, GetApiV2ShipnoticeItemsParams, PostApiV2ShipnoticeItemsIdTags, PutApiV21ShipnoticeItemsId, PutApiV21ShipnoticeItemsIdCallAction, PutApiV21ShipnoticeItemsIdCallAsyncAction, PutApiV21ShipnoticeItemsIdMetaFields, PutApiV21ShipnoticeItemsIdReceive, PutApiV2ShipnoticeItemsId, PutApiV2ShipnoticeItemsIdCallAction, PutApiV2ShipnoticeItemsIdCallAsyncAction, PutApiV2ShipnoticeItemsIdMetaFields, PutApiV2ShipnoticeItemsIdReceive } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
/**
|
|
4
4
|
* @description Get resource actions
|
|
@@ -9,6 +9,15 @@ import { HttpClient, RequestParams } from "./http-client";
|
|
|
9
9
|
* @request GET:/api/v2/shipnotice_items/actions
|
|
10
10
|
*/
|
|
11
11
|
export declare const getApiV2ShipnoticeItemsActions: (client: HttpClient, params?: RequestParams) => Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* @description Get shipnotice_items traits
|
|
14
|
+
*
|
|
15
|
+
* @tags shipnotice_items
|
|
16
|
+
* @name GetApiV2ShipnoticeItemsTraits
|
|
17
|
+
* @summary List shipnotice_items traits
|
|
18
|
+
* @request GET:/api/v2/shipnotice_items/traits
|
|
19
|
+
*/
|
|
20
|
+
export declare const getApiV2ShipnoticeItemsTraits: (client: HttpClient, params?: RequestParams) => Promise<void>;
|
|
12
21
|
/**
|
|
13
22
|
* No description
|
|
14
23
|
*
|
|
@@ -44,6 +53,15 @@ export declare const getApiV2ShipnoticeItemsIdOriginator: (client: HttpClient, i
|
|
|
44
53
|
* @request GET:/api/v2/shipnotice_items/{id}/audits
|
|
45
54
|
*/
|
|
46
55
|
export declare const getApiV2ShipnoticeItemsIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesAudits>;
|
|
56
|
+
/**
|
|
57
|
+
* No description
|
|
58
|
+
*
|
|
59
|
+
* @tags shipnotice_items
|
|
60
|
+
* @name GetApiV2ShipnoticeItemsIdTraits
|
|
61
|
+
* @summary Retrieve the specified shipnotice_items traits
|
|
62
|
+
* @request GET:/api/v2/shipnotice_items/{id}/traits
|
|
63
|
+
*/
|
|
64
|
+
export declare const getApiV2ShipnoticeItemsIdTraits: (client: HttpClient, { id, ...query }: GetApiV2ShipnoticeItemsIdTraitsParams, params?: RequestParams) => Promise<APIV2EntitiesResult>;
|
|
47
65
|
/**
|
|
48
66
|
* @description Get all allocations for a shipnotice_item
|
|
49
67
|
*
|
|
@@ -152,6 +170,15 @@ export declare const postApiV2ShipnoticeItemsIdTags: (client: HttpClient, id: nu
|
|
|
152
170
|
* @request DELETE:/api/v2/shipnotice_items/{id}/tags
|
|
153
171
|
*/
|
|
154
172
|
export declare const deleteApiV2ShipnoticeItemsIdTags: (client: HttpClient, { id, ...query }: DeleteApiV2ShipnoticeItemsIdTagsParams, params?: RequestParams) => Promise<void>;
|
|
173
|
+
/**
|
|
174
|
+
* No description
|
|
175
|
+
*
|
|
176
|
+
* @tags shipnotice_items
|
|
177
|
+
* @name GetApiV2ShipnoticeItemsIdCallTrait
|
|
178
|
+
* @summary Retrieve the specified shipnotice_items trait
|
|
179
|
+
* @request GET:/api/v2/shipnotice_items/{id}/call/{trait}
|
|
180
|
+
*/
|
|
181
|
+
export declare const getApiV2ShipnoticeItemsIdCallTrait: (client: HttpClient, { trait, id, ...query }: GetApiV2ShipnoticeItemsIdCallTraitParams, params?: RequestParams) => Promise<APIV2EntitiesResult>;
|
|
155
182
|
/**
|
|
156
183
|
* No description
|
|
157
184
|
*
|
|
@@ -188,6 +215,15 @@ export declare const putApiV2ShipnoticeItemsIdCallAsyncAction: (client: HttpClie
|
|
|
188
215
|
* @request GET:/api/v2.1/shipnotice_items/actions
|
|
189
216
|
*/
|
|
190
217
|
export declare const getApiV21ShipnoticeItemsActions: (client: HttpClient, params?: RequestParams) => Promise<void>;
|
|
218
|
+
/**
|
|
219
|
+
* @description Get shipnotice_items traits
|
|
220
|
+
*
|
|
221
|
+
* @tags shipnotice_items
|
|
222
|
+
* @name GetApiV21ShipnoticeItemsTraits
|
|
223
|
+
* @summary List shipnotice_items traits
|
|
224
|
+
* @request GET:/api/v2.1/shipnotice_items/traits
|
|
225
|
+
*/
|
|
226
|
+
export declare const getApiV21ShipnoticeItemsTraits: (client: HttpClient, params?: RequestParams) => Promise<void>;
|
|
191
227
|
/**
|
|
192
228
|
* No description
|
|
193
229
|
*
|
|
@@ -214,6 +250,15 @@ export declare const getApiV21ShipnoticeItemsAggregate: (client: HttpClient, que
|
|
|
214
250
|
* @request GET:/api/v2.1/shipnotice_items/{id}/originator
|
|
215
251
|
*/
|
|
216
252
|
export declare const getApiV21ShipnoticeItemsIdOriginator: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesOriginator>;
|
|
253
|
+
/**
|
|
254
|
+
* No description
|
|
255
|
+
*
|
|
256
|
+
* @tags shipnotice_items
|
|
257
|
+
* @name GetApiV21ShipnoticeItemsIdTraits
|
|
258
|
+
* @summary Retrieve the specified shipnotice_items traits
|
|
259
|
+
* @request GET:/api/v2.1/shipnotice_items/{id}/traits
|
|
260
|
+
*/
|
|
261
|
+
export declare const getApiV21ShipnoticeItemsIdTraits: (client: HttpClient, { id, ...query }: GetApiV21ShipnoticeItemsIdTraitsParams, params?: RequestParams) => Promise<APIV2EntitiesResult>;
|
|
217
262
|
/**
|
|
218
263
|
* @description Get all allocations for a shipnotice_item
|
|
219
264
|
*
|
|
@@ -295,6 +340,15 @@ export declare const getApiV21ShipnoticeItemsIdLocations: (client: HttpClient, {
|
|
|
295
340
|
* @request GET:/api/v2.1/shipnotice_items/{id}/received
|
|
296
341
|
*/
|
|
297
342
|
export declare const getApiV21ShipnoticeItemsIdReceived: (client: HttpClient, { id, ...query }: GetApiV21ShipnoticeItemsIdReceivedParams, params?: RequestParams) => Promise<APIV21EntitiesShipnoticeItem>;
|
|
343
|
+
/**
|
|
344
|
+
* No description
|
|
345
|
+
*
|
|
346
|
+
* @tags shipnotice_items
|
|
347
|
+
* @name GetApiV21ShipnoticeItemsIdCallTrait
|
|
348
|
+
* @summary Retrieve the specified shipnotice_items trait
|
|
349
|
+
* @request GET:/api/v2.1/shipnotice_items/{id}/call/{trait}
|
|
350
|
+
*/
|
|
351
|
+
export declare const getApiV21ShipnoticeItemsIdCallTrait: (client: HttpClient, { trait, id, ...query }: GetApiV21ShipnoticeItemsIdCallTraitParams, params?: RequestParams) => Promise<APIV2EntitiesResult>;
|
|
298
352
|
/**
|
|
299
353
|
* No description
|
|
300
354
|
*
|
|
@@ -9346,6 +9346,13 @@ export interface GetApiV21ShipnoticeItemsIdAllocationsParams {
|
|
|
9346
9346
|
/** @format int32 */
|
|
9347
9347
|
id: number;
|
|
9348
9348
|
}
|
|
9349
|
+
export interface GetApiV21ShipnoticeItemsIdCallTraitParams {
|
|
9350
|
+
/** Method params */
|
|
9351
|
+
args?: string;
|
|
9352
|
+
trait: string;
|
|
9353
|
+
/** @format int32 */
|
|
9354
|
+
id: number;
|
|
9355
|
+
}
|
|
9349
9356
|
export interface GetApiV21ShipnoticeItemsIdLocationsParams {
|
|
9350
9357
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
9351
9358
|
search?: string;
|
|
@@ -9376,6 +9383,12 @@ export interface GetApiV21ShipnoticeItemsIdReceivedParams {
|
|
|
9376
9383
|
/** @format int32 */
|
|
9377
9384
|
id: number;
|
|
9378
9385
|
}
|
|
9386
|
+
export interface GetApiV21ShipnoticeItemsIdTraitsParams {
|
|
9387
|
+
/** List of traits to return */
|
|
9388
|
+
traits: string;
|
|
9389
|
+
/** @format int32 */
|
|
9390
|
+
id: number;
|
|
9391
|
+
}
|
|
9379
9392
|
export interface GetApiV21ShipnoticeItemsParams {
|
|
9380
9393
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
9381
9394
|
search?: string;
|
|
@@ -11493,6 +11506,13 @@ export interface GetApiV2ShipnoticeItemsIdAllocationsParams {
|
|
|
11493
11506
|
/** @format int32 */
|
|
11494
11507
|
id: number;
|
|
11495
11508
|
}
|
|
11509
|
+
export interface GetApiV2ShipnoticeItemsIdCallTraitParams {
|
|
11510
|
+
/** Method params */
|
|
11511
|
+
args?: string;
|
|
11512
|
+
trait: string;
|
|
11513
|
+
/** @format int32 */
|
|
11514
|
+
id: number;
|
|
11515
|
+
}
|
|
11496
11516
|
export interface GetApiV2ShipnoticeItemsIdLocationsParams {
|
|
11497
11517
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
11498
11518
|
search?: string;
|
|
@@ -11529,6 +11549,12 @@ export interface GetApiV2ShipnoticeItemsIdTagsParams {
|
|
|
11529
11549
|
/** @format int32 */
|
|
11530
11550
|
id: number;
|
|
11531
11551
|
}
|
|
11552
|
+
export interface GetApiV2ShipnoticeItemsIdTraitsParams {
|
|
11553
|
+
/** List of traits to return */
|
|
11554
|
+
traits: string;
|
|
11555
|
+
/** @format int32 */
|
|
11556
|
+
id: number;
|
|
11557
|
+
}
|
|
11532
11558
|
export interface GetApiV2ShipnoticeItemsParams {
|
|
11533
11559
|
/** JSON search string like {"attribute_eq": "Term"} */
|
|
11534
11560
|
search?: string;
|
|
@@ -17,3 +17,4 @@ export declare const getApiV21OrderBatchesIdPublicPicklistUrl: (client: HttpClie
|
|
|
17
17
|
export declare const putApiV21OrderBatchesIdReleaseUnshipped: (client: HttpClient, orderBatchId: number) => Promise<void>;
|
|
18
18
|
export declare const putApiV21OrderBatchesIdForcePick: (client: HttpClient, orderBatchId: number) => Promise<void>;
|
|
19
19
|
export declare const putApiV21OrderBatchesIdbuyLabels: (client: HttpClient, orderBatchId: number) => Promise<void>;
|
|
20
|
+
export declare const putApiV21OrderBatchesIdSetCache: (client: HttpClient, orderBatchId: number) => Promise<void>;
|