@whiplashmerch/whiplash-api-client 3.2.53 → 3.2.54

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 { 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>;
@@ -25145,6 +25145,11 @@ export interface PutApiV21OrderBatchItemsIdCallActionRequest {
25145
25145
  /** Method params */
25146
25146
  args?: object;
25147
25147
  }
25148
+ export interface PutApiV21OrderBatchRequestsIdCallActionRequest {
25149
+ action?: string;
25150
+ /** Method params */
25151
+ args?: object;
25152
+ }
25148
25153
  export interface PutApiV21OrderBatchesIdCallActionRequest {
25149
25154
  action?: string;
25150
25155
  /** Method params */
@@ -28031,6 +28036,11 @@ export interface PutApiV2OrderBatchItemsIdCallActionRequest {
28031
28036
  /** Method params */
28032
28037
  args?: object;
28033
28038
  }
28039
+ export interface PutApiV2OrderBatchRequestsIdCallActionRequest {
28040
+ action?: string;
28041
+ /** Method params */
28042
+ args?: object;
28043
+ }
28034
28044
  export interface PutApiV2OrderBatchesIdCallActionRequest {
28035
28045
  action?: string;
28036
28046
  /** Method params */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "3.2.53",
3
+ "version": "3.2.54",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {