@whiplashmerch/whiplash-api-client 3.2.1 → 3.2.2
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 { ApiV21EntitiesScancode, ApiV2EntitiesScancode, GetApiV21ScancodesParams, GetApiV2ScancodesParams, PutApiV21ScancodesIdRequest, PutApiV2ScancodesIdRequest } from "./data-contracts";
|
|
1
|
+
import { ApiSharedEntitiesSidekiqBatch, ApiV21EntitiesScancode, ApiV2EntitiesScancode, GetApiV21ScancodesParams, GetApiV2ScancodesParams, 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
|
|
@@ -18,6 +18,24 @@ export declare const getApiV2Scancodes: (client: HttpClient, query: GetApiV2Scan
|
|
|
18
18
|
* @request PUT:/api/v2/scancodes/{id}
|
|
19
19
|
*/
|
|
20
20
|
export declare const putApiV2ScancodesId: (client: HttpClient, id: number, data: PutApiV2ScancodesIdRequest, params?: RequestParams) => Promise<ApiV2EntitiesScancode>;
|
|
21
|
+
/**
|
|
22
|
+
* @description Perform an action on a scancode
|
|
23
|
+
*
|
|
24
|
+
* @tags scancodes
|
|
25
|
+
* @name PutApiV2ScancodesIdCallAction
|
|
26
|
+
* @summary Perform an action on a scancode
|
|
27
|
+
* @request PUT:/api/v2/scancodes/{id}/call/{action}
|
|
28
|
+
*/
|
|
29
|
+
export declare const putApiV2ScancodesIdCallAction: (client: HttpClient, action: string, id: number, data: PutApiV2ScancodesIdCallActionRequest, params?: RequestParams) => Promise<ApiV2EntitiesScancode>;
|
|
30
|
+
/**
|
|
31
|
+
* @description Perform an action on a scancode asynchronously
|
|
32
|
+
*
|
|
33
|
+
* @tags scancodes
|
|
34
|
+
* @name PutApiV2ScancodesIdCallAsyncAction
|
|
35
|
+
* @summary Perform an action on a scancode asynchronously
|
|
36
|
+
* @request PUT:/api/v2/scancodes/{id}/call_async/{action}
|
|
37
|
+
*/
|
|
38
|
+
export declare const putApiV2ScancodesIdCallAsyncAction: (client: HttpClient, action: string, id: number, data: PutApiV2ScancodesIdCallAsyncActionRequest, params?: RequestParams) => Promise<ApiSharedEntitiesSidekiqBatch>;
|
|
21
39
|
/**
|
|
22
40
|
* @description Get all scancodes
|
|
23
41
|
*
|
|
@@ -36,3 +54,21 @@ export declare const getApiV21Scancodes: (client: HttpClient, query: GetApiV21Sc
|
|
|
36
54
|
* @request PUT:/api/v2.1/scancodes/{id}
|
|
37
55
|
*/
|
|
38
56
|
export declare const putApiV21ScancodesId: (client: HttpClient, id: number, data: PutApiV21ScancodesIdRequest, params?: RequestParams) => Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* @description Perform an action on a scancode
|
|
59
|
+
*
|
|
60
|
+
* @tags scancodes
|
|
61
|
+
* @name PutApiV21ScancodesIdCallAction
|
|
62
|
+
* @summary Perform an action on a scancode
|
|
63
|
+
* @request PUT:/api/v2.1/scancodes/{id}/call/{action}
|
|
64
|
+
*/
|
|
65
|
+
export declare const putApiV21ScancodesIdCallAction: (client: HttpClient, action: string, id: number, data: PutApiV21ScancodesIdCallActionRequest, params?: RequestParams) => Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* @description Perform an action on a scancode asynchronously
|
|
68
|
+
*
|
|
69
|
+
* @tags scancodes
|
|
70
|
+
* @name PutApiV21ScancodesIdCallAsyncAction
|
|
71
|
+
* @summary Perform an action on a scancode asynchronously
|
|
72
|
+
* @request PUT:/api/v2.1/scancodes/{id}/call_async/{action}
|
|
73
|
+
*/
|
|
74
|
+
export declare const putApiV21ScancodesIdCallAsyncAction: (client: HttpClient, action: string, id: number, data: PutApiV21ScancodesIdCallAsyncActionRequest, params?: RequestParams) => Promise<ApiSharedEntitiesSidekiqBatch>;
|
|
@@ -25316,6 +25316,16 @@ export interface PutApiV21ScancodeAliasesIdRequest {
|
|
|
25316
25316
|
/** the scancode for the scancode_alias */
|
|
25317
25317
|
scancode?: string;
|
|
25318
25318
|
}
|
|
25319
|
+
export interface PutApiV21ScancodesIdCallActionRequest {
|
|
25320
|
+
action?: string;
|
|
25321
|
+
/** Method params */
|
|
25322
|
+
args?: string;
|
|
25323
|
+
}
|
|
25324
|
+
export interface PutApiV21ScancodesIdCallAsyncActionRequest {
|
|
25325
|
+
action?: string;
|
|
25326
|
+
/** Method params */
|
|
25327
|
+
args?: string;
|
|
25328
|
+
}
|
|
25319
25329
|
export interface PutApiV21ScancodesIdRequest {
|
|
25320
25330
|
/** is this scancode active? */
|
|
25321
25331
|
active?: boolean;
|
|
@@ -28131,6 +28141,16 @@ export interface PutApiV2ScancodeAliasesIdRequest {
|
|
|
28131
28141
|
/** the scancode for the scancode_alias */
|
|
28132
28142
|
scancode?: string;
|
|
28133
28143
|
}
|
|
28144
|
+
export interface PutApiV2ScancodesIdCallActionRequest {
|
|
28145
|
+
action?: string;
|
|
28146
|
+
/** Method params */
|
|
28147
|
+
args?: string;
|
|
28148
|
+
}
|
|
28149
|
+
export interface PutApiV2ScancodesIdCallAsyncActionRequest {
|
|
28150
|
+
action?: string;
|
|
28151
|
+
/** Method params */
|
|
28152
|
+
args?: string;
|
|
28153
|
+
}
|
|
28134
28154
|
export interface PutApiV2ScancodesIdRequest {
|
|
28135
28155
|
/** is this scancode active? */
|
|
28136
28156
|
active?: boolean;
|