@emilgroup/action-sdk-node 1.0.1-beta.20 → 1.0.1-beta.21
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/.openapi-generator/FILES +8 -0
- package/README.md +2 -2
- package/api/actions-api.ts +720 -0
- package/api.ts +2 -0
- package/dist/api/actions-api.d.ts +411 -0
- package/dist/api/actions-api.js +658 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/action-class.d.ts +84 -0
- package/dist/models/action-class.js +15 -0
- package/dist/models/create-action-request-dto.d.ts +48 -0
- package/dist/models/create-action-request-dto.js +15 -0
- package/dist/models/create-action-response-class.d.ts +25 -0
- package/dist/models/create-action-response-class.js +15 -0
- package/dist/models/get-action-response-class.d.ts +25 -0
- package/dist/models/get-action-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/list-actions-response-class.d.ts +43 -0
- package/dist/models/list-actions-response-class.js +15 -0
- package/dist/models/update-action-request-dto.d.ts +54 -0
- package/dist/models/update-action-request-dto.js +15 -0
- package/dist/models/update-action-response-class.d.ts +25 -0
- package/dist/models/update-action-response-class.js +15 -0
- package/models/action-class.ts +90 -0
- package/models/create-action-request-dto.ts +54 -0
- package/models/create-action-response-class.ts +31 -0
- package/models/get-action-response-class.ts +31 -0
- package/models/index.ts +7 -0
- package/models/list-actions-response-class.ts +49 -0
- package/models/update-action-request-dto.ts +60 -0
- package/models/update-action-response-class.ts +31 -0
- package/package.json +1 -1
|
@@ -0,0 +1,720 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ActionService
|
|
5
|
+
* The EMIL ActionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { CreateActionRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CreateActionResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { GetActionResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { ListActionsResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { UpdateActionRequestDto } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { UpdateActionResponseClass } from '../models';
|
|
35
|
+
// URLSearchParams not necessarily used
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
import { URL, URLSearchParams } from 'url';
|
|
38
|
+
const FormData = require('form-data');
|
|
39
|
+
/**
|
|
40
|
+
* ActionsApi - axios parameter creator
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
export const ActionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44
|
+
return {
|
|
45
|
+
/**
|
|
46
|
+
* Creates a new action configuration
|
|
47
|
+
* @summary Create the action
|
|
48
|
+
* @param {CreateActionRequestDto} createActionRequestDto
|
|
49
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
createAction: async (createActionRequestDto: CreateActionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
|
+
// verify required parameter 'createActionRequestDto' is not null or undefined
|
|
55
|
+
assertParamExists('createAction', 'createActionRequestDto', createActionRequestDto)
|
|
56
|
+
const localVarPath = `/actionservice/v1/actions`;
|
|
57
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
59
|
+
let baseOptions;
|
|
60
|
+
let baseAccessToken;
|
|
61
|
+
if (configuration) {
|
|
62
|
+
baseOptions = configuration.baseOptions;
|
|
63
|
+
baseAccessToken = configuration.accessToken;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
67
|
+
const localVarHeaderParameter = {} as any;
|
|
68
|
+
const localVarQueryParameter = {} as any;
|
|
69
|
+
|
|
70
|
+
// authentication bearer required
|
|
71
|
+
// http bearer authentication required
|
|
72
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73
|
+
|
|
74
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
75
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
81
|
+
|
|
82
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
85
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createActionRequestDto, localVarRequestOptions, configuration)
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
url: toPathString(localVarUrlObj),
|
|
89
|
+
options: localVarRequestOptions,
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
/**
|
|
93
|
+
* Deletes an action configuration by its code
|
|
94
|
+
* @summary Delete the action
|
|
95
|
+
* @param {string} code
|
|
96
|
+
* @param {any} action Unique identifier for the object.
|
|
97
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
deleteAction: async (code: string, action: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102
|
+
// verify required parameter 'code' is not null or undefined
|
|
103
|
+
assertParamExists('deleteAction', 'code', code)
|
|
104
|
+
// verify required parameter 'action' is not null or undefined
|
|
105
|
+
assertParamExists('deleteAction', 'action', action)
|
|
106
|
+
const localVarPath = `/actionservice/v1/actions/{code}`
|
|
107
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)))
|
|
108
|
+
.replace(`{${"action"}}`, encodeURIComponent(String(action)));
|
|
109
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
110
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
111
|
+
let baseOptions;
|
|
112
|
+
let baseAccessToken;
|
|
113
|
+
if (configuration) {
|
|
114
|
+
baseOptions = configuration.baseOptions;
|
|
115
|
+
baseAccessToken = configuration.accessToken;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
119
|
+
const localVarHeaderParameter = {} as any;
|
|
120
|
+
const localVarQueryParameter = {} as any;
|
|
121
|
+
|
|
122
|
+
// authentication bearer required
|
|
123
|
+
// http bearer authentication required
|
|
124
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
125
|
+
|
|
126
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
127
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
133
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
135
|
+
|
|
136
|
+
return {
|
|
137
|
+
url: toPathString(localVarUrlObj),
|
|
138
|
+
options: localVarRequestOptions,
|
|
139
|
+
};
|
|
140
|
+
},
|
|
141
|
+
/**
|
|
142
|
+
* Retrieves an action configuration by its code
|
|
143
|
+
* @summary Retrieve the action
|
|
144
|
+
* @param {string} code
|
|
145
|
+
* @param {any} action Unique identifier for the object.
|
|
146
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
*/
|
|
150
|
+
getAction: async (code: string, action: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
151
|
+
// verify required parameter 'code' is not null or undefined
|
|
152
|
+
assertParamExists('getAction', 'code', code)
|
|
153
|
+
// verify required parameter 'action' is not null or undefined
|
|
154
|
+
assertParamExists('getAction', 'action', action)
|
|
155
|
+
const localVarPath = `/actionservice/v1/actions/{code}`
|
|
156
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)))
|
|
157
|
+
.replace(`{${"action"}}`, encodeURIComponent(String(action)));
|
|
158
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
159
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
160
|
+
let baseOptions;
|
|
161
|
+
let baseAccessToken;
|
|
162
|
+
if (configuration) {
|
|
163
|
+
baseOptions = configuration.baseOptions;
|
|
164
|
+
baseAccessToken = configuration.accessToken;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
168
|
+
const localVarHeaderParameter = {} as any;
|
|
169
|
+
const localVarQueryParameter = {} as any;
|
|
170
|
+
|
|
171
|
+
// authentication bearer required
|
|
172
|
+
// http bearer authentication required
|
|
173
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
174
|
+
|
|
175
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
176
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
182
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
183
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
184
|
+
|
|
185
|
+
return {
|
|
186
|
+
url: toPathString(localVarUrlObj),
|
|
187
|
+
options: localVarRequestOptions,
|
|
188
|
+
};
|
|
189
|
+
},
|
|
190
|
+
/**
|
|
191
|
+
* Lists all action configurations with optional filters
|
|
192
|
+
* @summary List actions
|
|
193
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
194
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
195
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
196
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
197
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
198
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
199
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
200
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
listActions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
205
|
+
const localVarPath = `/actionservice/v1/actions`;
|
|
206
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
207
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
208
|
+
let baseOptions;
|
|
209
|
+
let baseAccessToken;
|
|
210
|
+
if (configuration) {
|
|
211
|
+
baseOptions = configuration.baseOptions;
|
|
212
|
+
baseAccessToken = configuration.accessToken;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
216
|
+
const localVarHeaderParameter = {} as any;
|
|
217
|
+
const localVarQueryParameter = {} as any;
|
|
218
|
+
|
|
219
|
+
// authentication bearer required
|
|
220
|
+
// http bearer authentication required
|
|
221
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
222
|
+
|
|
223
|
+
if (pageSize !== undefined) {
|
|
224
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
if (pageToken !== undefined) {
|
|
228
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
if (filter !== undefined) {
|
|
232
|
+
localVarQueryParameter['filter'] = filter;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
if (search !== undefined) {
|
|
236
|
+
localVarQueryParameter['search'] = search;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
if (order !== undefined) {
|
|
240
|
+
localVarQueryParameter['order'] = order;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
if (expand !== undefined) {
|
|
244
|
+
localVarQueryParameter['expand'] = expand;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
if (filters !== undefined) {
|
|
248
|
+
localVarQueryParameter['filters'] = filters;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
252
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
258
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
259
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
260
|
+
|
|
261
|
+
return {
|
|
262
|
+
url: toPathString(localVarUrlObj),
|
|
263
|
+
options: localVarRequestOptions,
|
|
264
|
+
};
|
|
265
|
+
},
|
|
266
|
+
/**
|
|
267
|
+
* Updates an existing action configuration (patch semantics)
|
|
268
|
+
* @summary Update the action
|
|
269
|
+
* @param {string} code
|
|
270
|
+
* @param {any} action Unique identifier for the object.
|
|
271
|
+
* @param {UpdateActionRequestDto} updateActionRequestDto
|
|
272
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
273
|
+
* @param {*} [options] Override http request option.
|
|
274
|
+
* @throws {RequiredError}
|
|
275
|
+
*/
|
|
276
|
+
updateAction: async (code: string, action: any, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
277
|
+
// verify required parameter 'code' is not null or undefined
|
|
278
|
+
assertParamExists('updateAction', 'code', code)
|
|
279
|
+
// verify required parameter 'action' is not null or undefined
|
|
280
|
+
assertParamExists('updateAction', 'action', action)
|
|
281
|
+
// verify required parameter 'updateActionRequestDto' is not null or undefined
|
|
282
|
+
assertParamExists('updateAction', 'updateActionRequestDto', updateActionRequestDto)
|
|
283
|
+
const localVarPath = `/actionservice/v1/actions/{code}`
|
|
284
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)))
|
|
285
|
+
.replace(`{${"action"}}`, encodeURIComponent(String(action)));
|
|
286
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
287
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
288
|
+
let baseOptions;
|
|
289
|
+
let baseAccessToken;
|
|
290
|
+
if (configuration) {
|
|
291
|
+
baseOptions = configuration.baseOptions;
|
|
292
|
+
baseAccessToken = configuration.accessToken;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
296
|
+
const localVarHeaderParameter = {} as any;
|
|
297
|
+
const localVarQueryParameter = {} as any;
|
|
298
|
+
|
|
299
|
+
// authentication bearer required
|
|
300
|
+
// http bearer authentication required
|
|
301
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
302
|
+
|
|
303
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
304
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
310
|
+
|
|
311
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
312
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
313
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
314
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateActionRequestDto, localVarRequestOptions, configuration)
|
|
315
|
+
|
|
316
|
+
return {
|
|
317
|
+
url: toPathString(localVarUrlObj),
|
|
318
|
+
options: localVarRequestOptions,
|
|
319
|
+
};
|
|
320
|
+
},
|
|
321
|
+
}
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* ActionsApi - functional programming interface
|
|
326
|
+
* @export
|
|
327
|
+
*/
|
|
328
|
+
export const ActionsApiFp = function(configuration?: Configuration) {
|
|
329
|
+
const localVarAxiosParamCreator = ActionsApiAxiosParamCreator(configuration)
|
|
330
|
+
return {
|
|
331
|
+
/**
|
|
332
|
+
* Creates a new action configuration
|
|
333
|
+
* @summary Create the action
|
|
334
|
+
* @param {CreateActionRequestDto} createActionRequestDto
|
|
335
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
*/
|
|
339
|
+
async createAction(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateActionResponseClass>> {
|
|
340
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAction(createActionRequestDto, authorization, options);
|
|
341
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
342
|
+
},
|
|
343
|
+
/**
|
|
344
|
+
* Deletes an action configuration by its code
|
|
345
|
+
* @summary Delete the action
|
|
346
|
+
* @param {string} code
|
|
347
|
+
* @param {any} action Unique identifier for the object.
|
|
348
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
async deleteAction(code: string, action: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
353
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAction(code, action, authorization, options);
|
|
354
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
355
|
+
},
|
|
356
|
+
/**
|
|
357
|
+
* Retrieves an action configuration by its code
|
|
358
|
+
* @summary Retrieve the action
|
|
359
|
+
* @param {string} code
|
|
360
|
+
* @param {any} action Unique identifier for the object.
|
|
361
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
*/
|
|
365
|
+
async getAction(code: string, action: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionResponseClass>> {
|
|
366
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAction(code, action, authorization, options);
|
|
367
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
368
|
+
},
|
|
369
|
+
/**
|
|
370
|
+
* Lists all action configurations with optional filters
|
|
371
|
+
* @summary List actions
|
|
372
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
373
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
374
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
375
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
376
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
377
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
378
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
379
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
380
|
+
* @param {*} [options] Override http request option.
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
*/
|
|
383
|
+
async listActions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionsResponseClass>> {
|
|
384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listActions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
385
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
386
|
+
},
|
|
387
|
+
/**
|
|
388
|
+
* Updates an existing action configuration (patch semantics)
|
|
389
|
+
* @summary Update the action
|
|
390
|
+
* @param {string} code
|
|
391
|
+
* @param {any} action Unique identifier for the object.
|
|
392
|
+
* @param {UpdateActionRequestDto} updateActionRequestDto
|
|
393
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
394
|
+
* @param {*} [options] Override http request option.
|
|
395
|
+
* @throws {RequiredError}
|
|
396
|
+
*/
|
|
397
|
+
async updateAction(code: string, action: any, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateActionResponseClass>> {
|
|
398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateAction(code, action, updateActionRequestDto, authorization, options);
|
|
399
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
400
|
+
},
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* ActionsApi - factory interface
|
|
406
|
+
* @export
|
|
407
|
+
*/
|
|
408
|
+
export const ActionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
409
|
+
const localVarFp = ActionsApiFp(configuration)
|
|
410
|
+
return {
|
|
411
|
+
/**
|
|
412
|
+
* Creates a new action configuration
|
|
413
|
+
* @summary Create the action
|
|
414
|
+
* @param {CreateActionRequestDto} createActionRequestDto
|
|
415
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
416
|
+
* @param {*} [options] Override http request option.
|
|
417
|
+
* @throws {RequiredError}
|
|
418
|
+
*/
|
|
419
|
+
createAction(createActionRequestDto: CreateActionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateActionResponseClass> {
|
|
420
|
+
return localVarFp.createAction(createActionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
421
|
+
},
|
|
422
|
+
/**
|
|
423
|
+
* Deletes an action configuration by its code
|
|
424
|
+
* @summary Delete the action
|
|
425
|
+
* @param {string} code
|
|
426
|
+
* @param {any} action Unique identifier for the object.
|
|
427
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
428
|
+
* @param {*} [options] Override http request option.
|
|
429
|
+
* @throws {RequiredError}
|
|
430
|
+
*/
|
|
431
|
+
deleteAction(code: string, action: any, authorization?: string, options?: any): AxiosPromise<void> {
|
|
432
|
+
return localVarFp.deleteAction(code, action, authorization, options).then((request) => request(axios, basePath));
|
|
433
|
+
},
|
|
434
|
+
/**
|
|
435
|
+
* Retrieves an action configuration by its code
|
|
436
|
+
* @summary Retrieve the action
|
|
437
|
+
* @param {string} code
|
|
438
|
+
* @param {any} action Unique identifier for the object.
|
|
439
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
getAction(code: string, action: any, authorization?: string, options?: any): AxiosPromise<GetActionResponseClass> {
|
|
444
|
+
return localVarFp.getAction(code, action, authorization, options).then((request) => request(axios, basePath));
|
|
445
|
+
},
|
|
446
|
+
/**
|
|
447
|
+
* Lists all action configurations with optional filters
|
|
448
|
+
* @summary List actions
|
|
449
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
450
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
451
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
452
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
453
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
454
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
455
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
456
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
457
|
+
* @param {*} [options] Override http request option.
|
|
458
|
+
* @throws {RequiredError}
|
|
459
|
+
*/
|
|
460
|
+
listActions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionsResponseClass> {
|
|
461
|
+
return localVarFp.listActions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
462
|
+
},
|
|
463
|
+
/**
|
|
464
|
+
* Updates an existing action configuration (patch semantics)
|
|
465
|
+
* @summary Update the action
|
|
466
|
+
* @param {string} code
|
|
467
|
+
* @param {any} action Unique identifier for the object.
|
|
468
|
+
* @param {UpdateActionRequestDto} updateActionRequestDto
|
|
469
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
470
|
+
* @param {*} [options] Override http request option.
|
|
471
|
+
* @throws {RequiredError}
|
|
472
|
+
*/
|
|
473
|
+
updateAction(code: string, action: any, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass> {
|
|
474
|
+
return localVarFp.updateAction(code, action, updateActionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
475
|
+
},
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* Request parameters for createAction operation in ActionsApi.
|
|
481
|
+
* @export
|
|
482
|
+
* @interface ActionsApiCreateActionRequest
|
|
483
|
+
*/
|
|
484
|
+
export interface ActionsApiCreateActionRequest {
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @type {CreateActionRequestDto}
|
|
488
|
+
* @memberof ActionsApiCreateAction
|
|
489
|
+
*/
|
|
490
|
+
readonly createActionRequestDto: CreateActionRequestDto
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
494
|
+
* @type {string}
|
|
495
|
+
* @memberof ActionsApiCreateAction
|
|
496
|
+
*/
|
|
497
|
+
readonly authorization?: string
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* Request parameters for deleteAction operation in ActionsApi.
|
|
502
|
+
* @export
|
|
503
|
+
* @interface ActionsApiDeleteActionRequest
|
|
504
|
+
*/
|
|
505
|
+
export interface ActionsApiDeleteActionRequest {
|
|
506
|
+
/**
|
|
507
|
+
*
|
|
508
|
+
* @type {string}
|
|
509
|
+
* @memberof ActionsApiDeleteAction
|
|
510
|
+
*/
|
|
511
|
+
readonly code: string
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* Unique identifier for the object.
|
|
515
|
+
* @type {any}
|
|
516
|
+
* @memberof ActionsApiDeleteAction
|
|
517
|
+
*/
|
|
518
|
+
readonly action: any
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
522
|
+
* @type {string}
|
|
523
|
+
* @memberof ActionsApiDeleteAction
|
|
524
|
+
*/
|
|
525
|
+
readonly authorization?: string
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Request parameters for getAction operation in ActionsApi.
|
|
530
|
+
* @export
|
|
531
|
+
* @interface ActionsApiGetActionRequest
|
|
532
|
+
*/
|
|
533
|
+
export interface ActionsApiGetActionRequest {
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @type {string}
|
|
537
|
+
* @memberof ActionsApiGetAction
|
|
538
|
+
*/
|
|
539
|
+
readonly code: string
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Unique identifier for the object.
|
|
543
|
+
* @type {any}
|
|
544
|
+
* @memberof ActionsApiGetAction
|
|
545
|
+
*/
|
|
546
|
+
readonly action: any
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
550
|
+
* @type {string}
|
|
551
|
+
* @memberof ActionsApiGetAction
|
|
552
|
+
*/
|
|
553
|
+
readonly authorization?: string
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* Request parameters for listActions operation in ActionsApi.
|
|
558
|
+
* @export
|
|
559
|
+
* @interface ActionsApiListActionsRequest
|
|
560
|
+
*/
|
|
561
|
+
export interface ActionsApiListActionsRequest {
|
|
562
|
+
/**
|
|
563
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
564
|
+
* @type {string}
|
|
565
|
+
* @memberof ActionsApiListActions
|
|
566
|
+
*/
|
|
567
|
+
readonly authorization?: string
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
571
|
+
* @type {number}
|
|
572
|
+
* @memberof ActionsApiListActions
|
|
573
|
+
*/
|
|
574
|
+
readonly pageSize?: number
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
578
|
+
* @type {string}
|
|
579
|
+
* @memberof ActionsApiListActions
|
|
580
|
+
*/
|
|
581
|
+
readonly pageToken?: string
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
585
|
+
* @type {string}
|
|
586
|
+
* @memberof ActionsApiListActions
|
|
587
|
+
*/
|
|
588
|
+
readonly filter?: string
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
592
|
+
* @type {string}
|
|
593
|
+
* @memberof ActionsApiListActions
|
|
594
|
+
*/
|
|
595
|
+
readonly search?: string
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt</i>
|
|
599
|
+
* @type {string}
|
|
600
|
+
* @memberof ActionsApiListActions
|
|
601
|
+
*/
|
|
602
|
+
readonly order?: string
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
606
|
+
* @type {string}
|
|
607
|
+
* @memberof ActionsApiListActions
|
|
608
|
+
*/
|
|
609
|
+
readonly expand?: string
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, name, slug, isEnabled, workflowCode, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
613
|
+
* @type {string}
|
|
614
|
+
* @memberof ActionsApiListActions
|
|
615
|
+
*/
|
|
616
|
+
readonly filters?: string
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Request parameters for updateAction operation in ActionsApi.
|
|
621
|
+
* @export
|
|
622
|
+
* @interface ActionsApiUpdateActionRequest
|
|
623
|
+
*/
|
|
624
|
+
export interface ActionsApiUpdateActionRequest {
|
|
625
|
+
/**
|
|
626
|
+
*
|
|
627
|
+
* @type {string}
|
|
628
|
+
* @memberof ActionsApiUpdateAction
|
|
629
|
+
*/
|
|
630
|
+
readonly code: string
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Unique identifier for the object.
|
|
634
|
+
* @type {any}
|
|
635
|
+
* @memberof ActionsApiUpdateAction
|
|
636
|
+
*/
|
|
637
|
+
readonly action: any
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @type {UpdateActionRequestDto}
|
|
642
|
+
* @memberof ActionsApiUpdateAction
|
|
643
|
+
*/
|
|
644
|
+
readonly updateActionRequestDto: UpdateActionRequestDto
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
648
|
+
* @type {string}
|
|
649
|
+
* @memberof ActionsApiUpdateAction
|
|
650
|
+
*/
|
|
651
|
+
readonly authorization?: string
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* ActionsApi - object-oriented interface
|
|
656
|
+
* @export
|
|
657
|
+
* @class ActionsApi
|
|
658
|
+
* @extends {BaseAPI}
|
|
659
|
+
*/
|
|
660
|
+
export class ActionsApi extends BaseAPI {
|
|
661
|
+
/**
|
|
662
|
+
* Creates a new action configuration
|
|
663
|
+
* @summary Create the action
|
|
664
|
+
* @param {ActionsApiCreateActionRequest} requestParameters Request parameters.
|
|
665
|
+
* @param {*} [options] Override http request option.
|
|
666
|
+
* @throws {RequiredError}
|
|
667
|
+
* @memberof ActionsApi
|
|
668
|
+
*/
|
|
669
|
+
public createAction(requestParameters: ActionsApiCreateActionRequest, options?: AxiosRequestConfig) {
|
|
670
|
+
return ActionsApiFp(this.configuration).createAction(requestParameters.createActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* Deletes an action configuration by its code
|
|
675
|
+
* @summary Delete the action
|
|
676
|
+
* @param {ActionsApiDeleteActionRequest} requestParameters Request parameters.
|
|
677
|
+
* @param {*} [options] Override http request option.
|
|
678
|
+
* @throws {RequiredError}
|
|
679
|
+
* @memberof ActionsApi
|
|
680
|
+
*/
|
|
681
|
+
public deleteAction(requestParameters: ActionsApiDeleteActionRequest, options?: AxiosRequestConfig) {
|
|
682
|
+
return ActionsApiFp(this.configuration).deleteAction(requestParameters.code, requestParameters.action, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Retrieves an action configuration by its code
|
|
687
|
+
* @summary Retrieve the action
|
|
688
|
+
* @param {ActionsApiGetActionRequest} requestParameters Request parameters.
|
|
689
|
+
* @param {*} [options] Override http request option.
|
|
690
|
+
* @throws {RequiredError}
|
|
691
|
+
* @memberof ActionsApi
|
|
692
|
+
*/
|
|
693
|
+
public getAction(requestParameters: ActionsApiGetActionRequest, options?: AxiosRequestConfig) {
|
|
694
|
+
return ActionsApiFp(this.configuration).getAction(requestParameters.code, requestParameters.action, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Lists all action configurations with optional filters
|
|
699
|
+
* @summary List actions
|
|
700
|
+
* @param {ActionsApiListActionsRequest} requestParameters Request parameters.
|
|
701
|
+
* @param {*} [options] Override http request option.
|
|
702
|
+
* @throws {RequiredError}
|
|
703
|
+
* @memberof ActionsApi
|
|
704
|
+
*/
|
|
705
|
+
public listActions(requestParameters: ActionsApiListActionsRequest = {}, options?: AxiosRequestConfig) {
|
|
706
|
+
return ActionsApiFp(this.configuration).listActions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* Updates an existing action configuration (patch semantics)
|
|
711
|
+
* @summary Update the action
|
|
712
|
+
* @param {ActionsApiUpdateActionRequest} requestParameters Request parameters.
|
|
713
|
+
* @param {*} [options] Override http request option.
|
|
714
|
+
* @throws {RequiredError}
|
|
715
|
+
* @memberof ActionsApi
|
|
716
|
+
*/
|
|
717
|
+
public updateAction(requestParameters: ActionsApiUpdateActionRequest, options?: AxiosRequestConfig) {
|
|
718
|
+
return ActionsApiFp(this.configuration).updateAction(requestParameters.code, requestParameters.action, requestParameters.updateActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
719
|
+
}
|
|
720
|
+
}
|