@whiplashmerch/whiplash-api-client 3.2.53 → 3.2.55
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 +52 -1
- package/dist/client.esm.js.map +1 -1
- package/dist/generated/OrderBatchRequests.d.ts +19 -1
- package/dist/generated/data-contracts.d.ts +12526 -10606
- package/generated/data-contracts.ts +11901 -11347
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiV21EntitiesCount, ApiV21EntitiesOrderBatchRequest, ApiV2EntitiesCount, ApiV2EntitiesOrderBatchRequest, GetApiV21OrderBatchRequestsCountParams, GetApiV21OrderBatchRequestsParams, GetApiV2OrderBatchRequestsCountParams, GetApiV2OrderBatchRequestsParams } from "./data-contracts";
|
|
1
|
+
import { ApiV21EntitiesCount, ApiV21EntitiesOrderBatchRequest, ApiV2EntitiesCount, ApiV2EntitiesOrderBatchRequest, GetApiV21OrderBatchRequestsCountParams, GetApiV21OrderBatchRequestsParams, GetApiV2OrderBatchRequestsCountParams, GetApiV2OrderBatchRequestsParams, PutApiV21OrderBatchRequestsIdCallActionRequest, PutApiV2OrderBatchRequestsIdCallActionRequest } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
/**
|
|
4
4
|
* @description Returns all order batch requests
|
|
@@ -27,6 +27,15 @@ export declare const getApiV2OrderBatchRequestsCount: (client: HttpClient, query
|
|
|
27
27
|
* @request GET:/api/v2/order_batch_requests/{id}
|
|
28
28
|
*/
|
|
29
29
|
export declare const getApiV2OrderBatchRequestsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesOrderBatchRequest>;
|
|
30
|
+
/**
|
|
31
|
+
* @description Perform an action on an order batch request
|
|
32
|
+
*
|
|
33
|
+
* @tags order_batch_requests
|
|
34
|
+
* @name PutApiV2OrderBatchRequestsIdCallAction
|
|
35
|
+
* @summary Perform an action on an order batch request
|
|
36
|
+
* @request PUT:/api/v2/order_batch_requests/{id}/call/{action}
|
|
37
|
+
*/
|
|
38
|
+
export declare const putApiV2OrderBatchRequestsIdCallAction: (client: HttpClient, action: string, id: number, data: PutApiV2OrderBatchRequestsIdCallActionRequest, params?: RequestParams) => Promise<ApiV2EntitiesOrderBatchRequest>;
|
|
30
39
|
/**
|
|
31
40
|
* @description Returns all order batch requests
|
|
32
41
|
*
|
|
@@ -54,3 +63,12 @@ export declare const getApiV21OrderBatchRequestsCount: (client: HttpClient, quer
|
|
|
54
63
|
* @request GET:/api/v2.1/order_batch_requests/{id}
|
|
55
64
|
*/
|
|
56
65
|
export declare const getApiV21OrderBatchRequestsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV21EntitiesOrderBatchRequest>;
|
|
66
|
+
/**
|
|
67
|
+
* @description Perform an action on an order batch request
|
|
68
|
+
*
|
|
69
|
+
* @tags order_batch_requests
|
|
70
|
+
* @name PutApiV21OrderBatchRequestsIdCallAction
|
|
71
|
+
* @summary Perform an action on an order batch request
|
|
72
|
+
* @request PUT:/api/v2.1/order_batch_requests/{id}/call/{action}
|
|
73
|
+
*/
|
|
74
|
+
export declare const putApiV21OrderBatchRequestsIdCallAction: (client: HttpClient, action: string, id: number, data: PutApiV21OrderBatchRequestsIdCallActionRequest, params?: RequestParams) => Promise<void>;
|