@whiplashmerch/whiplash-api-client 3.2.34 → 3.2.35
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 { ApiSharedEntitiesSidekiqBatch, ApiV21EntitiesPostResponse, ApiV21EntitiesScancode, ApiV2EntitiesScancode, GetApiV21ScancodesParams, GetApiV2ScancodesParams, PostApiV21ScancodesRequest, PostApiV2ScancodesRequest, PutApiV21ScancodesIdCallActionRequest, PutApiV21ScancodesIdCallAsyncActionRequest, PutApiV21ScancodesIdRequest, PutApiV2ScancodesIdCallActionRequest, PutApiV2ScancodesIdCallAsyncActionRequest, PutApiV2ScancodesIdRequest } from "./data-contracts";
|
|
1
|
+
import { ApiSharedEntitiesSidekiqBatch, ApiV21EntitiesPostResponse, ApiV21EntitiesScancode, ApiV2EntitiesScancode, DeleteApiV21ScancodesIdParams, DeleteApiV2ScancodesIdParams, GetApiV21ScancodesParams, GetApiV2ScancodesParams, PostApiV21ScancodesRequest, PostApiV2ScancodesRequest, PutApiV21ScancodesIdCallActionRequest, PutApiV21ScancodesIdCallAsyncActionRequest, PutApiV21ScancodesIdRequest, PutApiV2ScancodesIdCallActionRequest, PutApiV2ScancodesIdCallAsyncActionRequest, PutApiV2ScancodesIdRequest } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
/**
|
|
4
4
|
* @description Get all scancodes
|
|
@@ -27,6 +27,15 @@ export declare const postApiV2Scancodes: (client: HttpClient, data: PostApiV2Sca
|
|
|
27
27
|
* @request PUT:/api/v2/scancodes/{id}
|
|
28
28
|
*/
|
|
29
29
|
export declare const putApiV2ScancodesId: (client: HttpClient, id: number, data: PutApiV2ScancodesIdRequest, params?: RequestParams) => Promise<ApiV2EntitiesScancode>;
|
|
30
|
+
/**
|
|
31
|
+
* @description Delete a scancode
|
|
32
|
+
*
|
|
33
|
+
* @tags scancodes
|
|
34
|
+
* @name DeleteApiV2ScancodesId
|
|
35
|
+
* @summary Delete a scancode
|
|
36
|
+
* @request DELETE:/api/v2/scancodes/{id}
|
|
37
|
+
*/
|
|
38
|
+
export declare const deleteApiV2ScancodesId: (client: HttpClient, { id, ...query }: DeleteApiV2ScancodesIdParams, params?: RequestParams) => Promise<void>;
|
|
30
39
|
/**
|
|
31
40
|
* @description Perform an action on a scancode
|
|
32
41
|
*
|
|
@@ -72,6 +81,15 @@ export declare const postApiV21Scancodes: (client: HttpClient, data: PostApiV21S
|
|
|
72
81
|
* @request PUT:/api/v2.1/scancodes/{id}
|
|
73
82
|
*/
|
|
74
83
|
export declare const putApiV21ScancodesId: (client: HttpClient, id: number, data: PutApiV21ScancodesIdRequest, params?: RequestParams) => Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
* @description Delete a scancode
|
|
86
|
+
*
|
|
87
|
+
* @tags scancodes
|
|
88
|
+
* @name DeleteApiV21ScancodesId
|
|
89
|
+
* @summary Delete a scancode
|
|
90
|
+
* @request DELETE:/api/v2.1/scancodes/{id}
|
|
91
|
+
*/
|
|
92
|
+
export declare const deleteApiV21ScancodesId: (client: HttpClient, { id, ...query }: DeleteApiV21ScancodesIdParams, params?: RequestParams) => Promise<void>;
|
|
75
93
|
/**
|
|
76
94
|
* @description Perform an action on a scancode
|
|
77
95
|
*
|
|
@@ -10906,6 +10906,13 @@ export interface DeleteApiV21LocationAdjustmentsIdTagsParams {
|
|
|
10906
10906
|
tag_type: string;
|
|
10907
10907
|
id: number;
|
|
10908
10908
|
}
|
|
10909
|
+
export interface DeleteApiV21ScancodesIdParams {
|
|
10910
|
+
/** the name for the scancode */
|
|
10911
|
+
name?: string;
|
|
10912
|
+
/** label format for the scancode */
|
|
10913
|
+
label_format?: string;
|
|
10914
|
+
id: number;
|
|
10915
|
+
}
|
|
10909
10916
|
export interface DeleteApiV21ShipnoticeItemsIdTagsParams {
|
|
10910
10917
|
/** The tag type associated with this resource */
|
|
10911
10918
|
tag_type: string;
|
|
@@ -10916,6 +10923,13 @@ export interface DeleteApiV2LocationAdjustmentsIdTagsParams {
|
|
|
10916
10923
|
tag_type: string;
|
|
10917
10924
|
id: number;
|
|
10918
10925
|
}
|
|
10926
|
+
export interface DeleteApiV2ScancodesIdParams {
|
|
10927
|
+
/** the name for the scancode */
|
|
10928
|
+
name?: string;
|
|
10929
|
+
/** label format for the scancode */
|
|
10930
|
+
label_format?: string;
|
|
10931
|
+
id: number;
|
|
10932
|
+
}
|
|
10919
10933
|
export interface DeleteApiV2ShipnoticeItemsIdTagsParams {
|
|
10920
10934
|
/** The tag type associated with this resource */
|
|
10921
10935
|
tag_type: string;
|
|
@@ -25982,21 +25996,10 @@ export interface PutApiV21ScancodesIdCallAsyncActionRequest {
|
|
|
25982
25996
|
args?: string;
|
|
25983
25997
|
}
|
|
25984
25998
|
export interface PutApiV21ScancodesIdRequest {
|
|
25985
|
-
/** is this scancode active? */
|
|
25986
|
-
active?: boolean;
|
|
25987
|
-
/**
|
|
25988
|
-
* the customer_id
|
|
25989
|
-
* @format int32
|
|
25990
|
-
*/
|
|
25991
|
-
customer_id?: number;
|
|
25992
25999
|
/** label format for the scancode */
|
|
25993
26000
|
label_format?: string;
|
|
25994
26001
|
/** the name for the scancode */
|
|
25995
26002
|
name?: string;
|
|
25996
|
-
/** is this the primary scancode? */
|
|
25997
|
-
primary?: boolean;
|
|
25998
|
-
/** the name for the scancode (legacy) */
|
|
25999
|
-
scancode?: string;
|
|
26000
26003
|
}
|
|
26001
26004
|
export interface PutApiV21SerialNumbersIdCallActionRequest {
|
|
26002
26005
|
action?: string;
|
|
@@ -28850,21 +28853,10 @@ export interface PutApiV2ScancodesIdCallAsyncActionRequest {
|
|
|
28850
28853
|
args?: string;
|
|
28851
28854
|
}
|
|
28852
28855
|
export interface PutApiV2ScancodesIdRequest {
|
|
28853
|
-
/** is this scancode active? */
|
|
28854
|
-
active?: boolean;
|
|
28855
|
-
/**
|
|
28856
|
-
* the customer_id
|
|
28857
|
-
* @format int32
|
|
28858
|
-
*/
|
|
28859
|
-
customer_id?: number;
|
|
28860
28856
|
/** label format for the scancode */
|
|
28861
28857
|
label_format?: string;
|
|
28862
28858
|
/** the name for the scancode */
|
|
28863
28859
|
name?: string;
|
|
28864
|
-
/** is this the primary scancode? */
|
|
28865
|
-
primary?: boolean;
|
|
28866
|
-
/** the name for the scancode (legacy) */
|
|
28867
|
-
scancode?: string;
|
|
28868
28860
|
}
|
|
28869
28861
|
export interface PutApiV2SerialNumbersIdCallActionRequest {
|
|
28870
28862
|
action?: string;
|