@emilgroup/action-sdk-node 1.0.1-beta.48 → 1.1.0

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.
@@ -17,12 +17,9 @@ models/action-ref-class.ts
17
17
  models/action-version-class.ts
18
18
  models/create-action-request-dto.ts
19
19
  models/create-action-response-class.ts
20
- models/export-actions-as-yaml-response-class.ts
21
20
  models/get-action-execution-status-response-class.ts
22
21
  models/get-action-response-class.ts
23
22
  models/get-action-version-response-class.ts
24
- models/import-actions-from-yaml-request-dto.ts
25
- models/import-actions-from-yaml-response-class.ts
26
23
  models/index.ts
27
24
  models/inline-response200.ts
28
25
  models/inline-response503.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/action-sdk-node@1.0.1-beta.48 --save
20
+ npm install @emilgroup/action-sdk-node@1.1.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/action-sdk-node@1.0.1-beta.48
24
+ yarn add @emilgroup/action-sdk-node@1.1.0
25
25
  ```
26
26
 
27
27
  And then you can import `ActionsApi`.
@@ -25,16 +25,10 @@ import { CreateActionRequestDto } from '../models';
25
25
  // @ts-ignore
26
26
  import { CreateActionResponseClass } from '../models';
27
27
  // @ts-ignore
28
- import { ExportActionsAsYamlResponseClass } from '../models';
29
- // @ts-ignore
30
28
  import { GetActionResponseClass } from '../models';
31
29
  // @ts-ignore
32
30
  import { GetActionVersionResponseClass } from '../models';
33
31
  // @ts-ignore
34
- import { ImportActionsFromYamlRequestDto } from '../models';
35
- // @ts-ignore
36
- import { ImportActionsFromYamlResponseClass } from '../models';
37
- // @ts-ignore
38
32
  import { ListActionVersionsResponseClass } from '../models';
39
33
  // @ts-ignore
40
34
  import { ListActionsResponseClass } from '../models';
@@ -180,71 +174,6 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
180
174
 
181
175
 
182
176
 
183
- setSearchParams(localVarUrlObj, localVarQueryParameter);
184
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
185
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
186
-
187
- return {
188
- url: toPathString(localVarUrlObj),
189
- options: localVarRequestOptions,
190
- };
191
- },
192
- /**
193
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
194
- * @summary Retrieve the entity-actions-yaml
195
- * @param {string} productSlug Product slug
196
- * @param {number} productVersionId Product version ID
197
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
198
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
199
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
200
- * @param {*} [options] Override http request option.
201
- * @throws {RequiredError}
202
- */
203
- exportActionsAsYaml: async (productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
204
- // verify required parameter 'productSlug' is not null or undefined
205
- assertParamExists('exportActionsAsYaml', 'productSlug', productSlug)
206
- // verify required parameter 'productVersionId' is not null or undefined
207
- assertParamExists('exportActionsAsYaml', 'productVersionId', productVersionId)
208
- const localVarPath = `/actionservice/v1/actions/entity-actions-yaml`;
209
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
210
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
211
- let baseOptions;
212
- let baseAccessToken;
213
- if (configuration) {
214
- baseOptions = configuration.baseOptions;
215
- baseAccessToken = configuration.accessToken;
216
- }
217
-
218
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
219
- const localVarHeaderParameter = {} as any;
220
- const localVarQueryParameter = {} as any;
221
-
222
- // authentication bearer required
223
- // http bearer authentication required
224
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
225
-
226
- if (productSlug !== undefined) {
227
- localVarQueryParameter['productSlug'] = productSlug;
228
- }
229
-
230
- if (productVersionId !== undefined) {
231
- localVarQueryParameter['productVersionId'] = productVersionId;
232
- }
233
-
234
- if (actionSlugs) {
235
- localVarQueryParameter['actionSlugs'] = actionSlugs;
236
- }
237
-
238
- if (includeDisabled !== undefined) {
239
- localVarQueryParameter['includeDisabled'] = includeDisabled;
240
- }
241
-
242
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
243
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
244
- }
245
-
246
-
247
-
248
177
  setSearchParams(localVarUrlObj, localVarQueryParameter);
249
178
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
250
179
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -354,53 +283,6 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
354
283
  options: localVarRequestOptions,
355
284
  };
356
285
  },
357
- /**
358
- * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
359
- * @summary Update the entity-actions-yaml
360
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
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
- importActionsFromYaml: async (importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
366
- // verify required parameter 'importActionsFromYamlRequestDto' is not null or undefined
367
- assertParamExists('importActionsFromYaml', 'importActionsFromYamlRequestDto', importActionsFromYamlRequestDto)
368
- const localVarPath = `/actionservice/v1/actions/entity-actions-yaml`;
369
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
370
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
371
- let baseOptions;
372
- let baseAccessToken;
373
- if (configuration) {
374
- baseOptions = configuration.baseOptions;
375
- baseAccessToken = configuration.accessToken;
376
- }
377
-
378
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
379
- const localVarHeaderParameter = {} as any;
380
- const localVarQueryParameter = {} as any;
381
-
382
- // authentication bearer required
383
- // http bearer authentication required
384
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
385
-
386
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
387
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
388
- }
389
-
390
-
391
-
392
- localVarHeaderParameter['Content-Type'] = 'application/json';
393
-
394
- setSearchParams(localVarUrlObj, localVarQueryParameter);
395
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
396
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
397
- localVarRequestOptions.data = serializeDataIfNeeded(importActionsFromYamlRequestDto, localVarRequestOptions, configuration)
398
-
399
- return {
400
- url: toPathString(localVarUrlObj),
401
- options: localVarRequestOptions,
402
- };
403
- },
404
286
  /**
405
287
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
406
288
  * @summary List action versions
@@ -781,21 +663,6 @@ export const ActionsApiFp = function(configuration?: Configuration) {
781
663
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteActionVersion(versionCode, authorization, options);
782
664
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
783
665
  },
784
- /**
785
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
786
- * @summary Retrieve the entity-actions-yaml
787
- * @param {string} productSlug Product slug
788
- * @param {number} productVersionId Product version ID
789
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
790
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
791
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
792
- * @param {*} [options] Override http request option.
793
- * @throws {RequiredError}
794
- */
795
- async exportActionsAsYaml(productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExportActionsAsYamlResponseClass>> {
796
- const localVarAxiosArgs = await localVarAxiosParamCreator.exportActionsAsYaml(productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options);
797
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
798
- },
799
666
  /**
800
667
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
801
668
  * @summary Retrieve the action
@@ -822,18 +689,6 @@ export const ActionsApiFp = function(configuration?: Configuration) {
822
689
  const localVarAxiosArgs = await localVarAxiosParamCreator.getActionVersion(versionCode, authorization, expand, options);
823
690
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
824
691
  },
825
- /**
826
- * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
827
- * @summary Update the entity-actions-yaml
828
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
829
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
830
- * @param {*} [options] Override http request option.
831
- * @throws {RequiredError}
832
- */
833
- async importActionsFromYaml(importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportActionsFromYamlResponseClass>> {
834
- const localVarAxiosArgs = await localVarAxiosParamCreator.importActionsFromYaml(importActionsFromYamlRequestDto, authorization, options);
835
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
836
- },
837
692
  /**
838
693
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
839
694
  * @summary List action versions
@@ -958,20 +813,6 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
958
813
  deleteActionVersion(versionCode: string, authorization?: string, options?: any): AxiosPromise<void> {
959
814
  return localVarFp.deleteActionVersion(versionCode, authorization, options).then((request) => request(axios, basePath));
960
815
  },
961
- /**
962
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
963
- * @summary Retrieve the entity-actions-yaml
964
- * @param {string} productSlug Product slug
965
- * @param {number} productVersionId Product version ID
966
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
967
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
968
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
969
- * @param {*} [options] Override http request option.
970
- * @throws {RequiredError}
971
- */
972
- exportActionsAsYaml(productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: any): AxiosPromise<ExportActionsAsYamlResponseClass> {
973
- return localVarFp.exportActionsAsYaml(productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options).then((request) => request(axios, basePath));
974
- },
975
816
  /**
976
817
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
977
818
  * @summary Retrieve the action
@@ -996,17 +837,6 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
996
837
  getActionVersion(versionCode: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetActionVersionResponseClass> {
997
838
  return localVarFp.getActionVersion(versionCode, authorization, expand, options).then((request) => request(axios, basePath));
998
839
  },
999
- /**
1000
- * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
1001
- * @summary Update the entity-actions-yaml
1002
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
1003
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1004
- * @param {*} [options] Override http request option.
1005
- * @throws {RequiredError}
1006
- */
1007
- importActionsFromYaml(importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: any): AxiosPromise<ImportActionsFromYamlResponseClass> {
1008
- return localVarFp.importActionsFromYaml(importActionsFromYamlRequestDto, authorization, options).then((request) => request(axios, basePath));
1009
- },
1010
840
  /**
1011
841
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
1012
842
  * @summary List action versions
@@ -1149,48 +979,6 @@ export interface ActionsApiDeleteActionVersionRequest {
1149
979
  readonly authorization?: string
1150
980
  }
1151
981
 
1152
- /**
1153
- * Request parameters for exportActionsAsYaml operation in ActionsApi.
1154
- * @export
1155
- * @interface ActionsApiExportActionsAsYamlRequest
1156
- */
1157
- export interface ActionsApiExportActionsAsYamlRequest {
1158
- /**
1159
- * Product slug
1160
- * @type {string}
1161
- * @memberof ActionsApiExportActionsAsYaml
1162
- */
1163
- readonly productSlug: string
1164
-
1165
- /**
1166
- * Product version ID
1167
- * @type {number}
1168
- * @memberof ActionsApiExportActionsAsYaml
1169
- */
1170
- readonly productVersionId: number
1171
-
1172
- /**
1173
- * Bearer Token: provided by the login endpoint under the name accessToken.
1174
- * @type {string}
1175
- * @memberof ActionsApiExportActionsAsYaml
1176
- */
1177
- readonly authorization?: string
1178
-
1179
- /**
1180
- * Optional list of action slugs to export; if omitted, all actions for the product version are exported
1181
- * @type {Array<string>}
1182
- * @memberof ActionsApiExportActionsAsYaml
1183
- */
1184
- readonly actionSlugs?: Array<string>
1185
-
1186
- /**
1187
- * Include draft (disabled) actions
1188
- * @type {boolean}
1189
- * @memberof ActionsApiExportActionsAsYaml
1190
- */
1191
- readonly includeDisabled?: boolean
1192
- }
1193
-
1194
982
  /**
1195
983
  * Request parameters for getAction operation in ActionsApi.
1196
984
  * @export
@@ -1247,27 +1035,6 @@ export interface ActionsApiGetActionVersionRequest {
1247
1035
  readonly expand?: string
1248
1036
  }
1249
1037
 
1250
- /**
1251
- * Request parameters for importActionsFromYaml operation in ActionsApi.
1252
- * @export
1253
- * @interface ActionsApiImportActionsFromYamlRequest
1254
- */
1255
- export interface ActionsApiImportActionsFromYamlRequest {
1256
- /**
1257
- *
1258
- * @type {ImportActionsFromYamlRequestDto}
1259
- * @memberof ActionsApiImportActionsFromYaml
1260
- */
1261
- readonly importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto
1262
-
1263
- /**
1264
- * Bearer Token: provided by the login endpoint under the name accessToken.
1265
- * @type {string}
1266
- * @memberof ActionsApiImportActionsFromYaml
1267
- */
1268
- readonly authorization?: string
1269
- }
1270
-
1271
1038
  /**
1272
1039
  * Request parameters for listActionVersions operation in ActionsApi.
1273
1040
  * @export
@@ -1563,18 +1330,6 @@ export class ActionsApi extends BaseAPI {
1563
1330
  return ActionsApiFp(this.configuration).deleteActionVersion(requestParameters.versionCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1564
1331
  }
1565
1332
 
1566
- /**
1567
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
1568
- * @summary Retrieve the entity-actions-yaml
1569
- * @param {ActionsApiExportActionsAsYamlRequest} requestParameters Request parameters.
1570
- * @param {*} [options] Override http request option.
1571
- * @throws {RequiredError}
1572
- * @memberof ActionsApi
1573
- */
1574
- public exportActionsAsYaml(requestParameters: ActionsApiExportActionsAsYamlRequest, options?: AxiosRequestConfig) {
1575
- return ActionsApiFp(this.configuration).exportActionsAsYaml(requestParameters.productSlug, requestParameters.productVersionId, requestParameters.authorization, requestParameters.actionSlugs, requestParameters.includeDisabled, options).then((request) => request(this.axios, this.basePath));
1576
- }
1577
-
1578
1333
  /**
1579
1334
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
1580
1335
  * @summary Retrieve the action
@@ -1599,18 +1354,6 @@ export class ActionsApi extends BaseAPI {
1599
1354
  return ActionsApiFp(this.configuration).getActionVersion(requestParameters.versionCode, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1600
1355
  }
1601
1356
 
1602
- /**
1603
- * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
1604
- * @summary Update the entity-actions-yaml
1605
- * @param {ActionsApiImportActionsFromYamlRequest} requestParameters Request parameters.
1606
- * @param {*} [options] Override http request option.
1607
- * @throws {RequiredError}
1608
- * @memberof ActionsApi
1609
- */
1610
- public importActionsFromYaml(requestParameters: ActionsApiImportActionsFromYamlRequest, options?: AxiosRequestConfig) {
1611
- return ActionsApiFp(this.configuration).importActionsFromYaml(requestParameters.importActionsFromYamlRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1612
- }
1613
-
1614
1357
  /**
1615
1358
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
1616
1359
  * @summary List action versions
@@ -14,11 +14,8 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateActionRequestDto } from '../models';
16
16
  import { CreateActionResponseClass } from '../models';
17
- import { ExportActionsAsYamlResponseClass } from '../models';
18
17
  import { GetActionResponseClass } from '../models';
19
18
  import { GetActionVersionResponseClass } from '../models';
20
- import { ImportActionsFromYamlRequestDto } from '../models';
21
- import { ImportActionsFromYamlResponseClass } from '../models';
22
19
  import { ListActionVersionsResponseClass } from '../models';
23
20
  import { ListActionsResponseClass } from '../models';
24
21
  import { UpdateActionRequestDto } from '../models';
@@ -55,18 +52,6 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
55
52
  * @throws {RequiredError}
56
53
  */
57
54
  deleteActionVersion: (versionCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
58
- /**
59
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
60
- * @summary Retrieve the entity-actions-yaml
61
- * @param {string} productSlug Product slug
62
- * @param {number} productVersionId Product version ID
63
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
64
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
65
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
66
- * @param {*} [options] Override http request option.
67
- * @throws {RequiredError}
68
- */
69
- exportActionsAsYaml: (productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
70
55
  /**
71
56
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
72
57
  * @summary Retrieve the action
@@ -87,15 +72,6 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
87
72
  * @throws {RequiredError}
88
73
  */
89
74
  getActionVersion: (versionCode: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
90
- /**
91
- * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
92
- * @summary Update the entity-actions-yaml
93
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
94
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
95
- * @param {*} [options] Override http request option.
96
- * @throws {RequiredError}
97
- */
98
- importActionsFromYaml: (importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
99
75
  /**
100
76
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
101
77
  * @summary List action versions
@@ -195,18 +171,6 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
195
171
  * @throws {RequiredError}
196
172
  */
197
173
  deleteActionVersion(versionCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
198
- /**
199
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
200
- * @summary Retrieve the entity-actions-yaml
201
- * @param {string} productSlug Product slug
202
- * @param {number} productVersionId Product version ID
203
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
204
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
205
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
206
- * @param {*} [options] Override http request option.
207
- * @throws {RequiredError}
208
- */
209
- exportActionsAsYaml(productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExportActionsAsYamlResponseClass>>;
210
174
  /**
211
175
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
212
176
  * @summary Retrieve the action
@@ -227,15 +191,6 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
227
191
  * @throws {RequiredError}
228
192
  */
229
193
  getActionVersion(versionCode: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetActionVersionResponseClass>>;
230
- /**
231
- * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
232
- * @summary Update the entity-actions-yaml
233
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
234
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
235
- * @param {*} [options] Override http request option.
236
- * @throws {RequiredError}
237
- */
238
- importActionsFromYaml(importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportActionsFromYamlResponseClass>>;
239
194
  /**
240
195
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
241
196
  * @summary List action versions
@@ -335,18 +290,6 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
335
290
  * @throws {RequiredError}
336
291
  */
337
292
  deleteActionVersion(versionCode: string, authorization?: string, options?: any): AxiosPromise<void>;
338
- /**
339
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
340
- * @summary Retrieve the entity-actions-yaml
341
- * @param {string} productSlug Product slug
342
- * @param {number} productVersionId Product version ID
343
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
344
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
345
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
346
- * @param {*} [options] Override http request option.
347
- * @throws {RequiredError}
348
- */
349
- exportActionsAsYaml(productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: any): AxiosPromise<ExportActionsAsYamlResponseClass>;
350
293
  /**
351
294
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
352
295
  * @summary Retrieve the action
@@ -367,15 +310,6 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
367
310
  * @throws {RequiredError}
368
311
  */
369
312
  getActionVersion(versionCode: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetActionVersionResponseClass>;
370
- /**
371
- * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
372
- * @summary Update the entity-actions-yaml
373
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
374
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
375
- * @param {*} [options] Override http request option.
376
- * @throws {RequiredError}
377
- */
378
- importActionsFromYaml(importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: any): AxiosPromise<ImportActionsFromYamlResponseClass>;
379
313
  /**
380
314
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
381
315
  * @summary List action versions
@@ -500,43 +434,6 @@ export interface ActionsApiDeleteActionVersionRequest {
500
434
  */
501
435
  readonly authorization?: string;
502
436
  }
503
- /**
504
- * Request parameters for exportActionsAsYaml operation in ActionsApi.
505
- * @export
506
- * @interface ActionsApiExportActionsAsYamlRequest
507
- */
508
- export interface ActionsApiExportActionsAsYamlRequest {
509
- /**
510
- * Product slug
511
- * @type {string}
512
- * @memberof ActionsApiExportActionsAsYaml
513
- */
514
- readonly productSlug: string;
515
- /**
516
- * Product version ID
517
- * @type {number}
518
- * @memberof ActionsApiExportActionsAsYaml
519
- */
520
- readonly productVersionId: number;
521
- /**
522
- * Bearer Token: provided by the login endpoint under the name accessToken.
523
- * @type {string}
524
- * @memberof ActionsApiExportActionsAsYaml
525
- */
526
- readonly authorization?: string;
527
- /**
528
- * Optional list of action slugs to export; if omitted, all actions for the product version are exported
529
- * @type {Array<string>}
530
- * @memberof ActionsApiExportActionsAsYaml
531
- */
532
- readonly actionSlugs?: Array<string>;
533
- /**
534
- * Include draft (disabled) actions
535
- * @type {boolean}
536
- * @memberof ActionsApiExportActionsAsYaml
537
- */
538
- readonly includeDisabled?: boolean;
539
- }
540
437
  /**
541
438
  * Request parameters for getAction operation in ActionsApi.
542
439
  * @export
@@ -587,25 +484,6 @@ export interface ActionsApiGetActionVersionRequest {
587
484
  */
588
485
  readonly expand?: string;
589
486
  }
590
- /**
591
- * Request parameters for importActionsFromYaml operation in ActionsApi.
592
- * @export
593
- * @interface ActionsApiImportActionsFromYamlRequest
594
- */
595
- export interface ActionsApiImportActionsFromYamlRequest {
596
- /**
597
- *
598
- * @type {ImportActionsFromYamlRequestDto}
599
- * @memberof ActionsApiImportActionsFromYaml
600
- */
601
- readonly importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto;
602
- /**
603
- * Bearer Token: provided by the login endpoint under the name accessToken.
604
- * @type {string}
605
- * @memberof ActionsApiImportActionsFromYaml
606
- */
607
- readonly authorization?: string;
608
- }
609
487
  /**
610
488
  * Request parameters for listActionVersions operation in ActionsApi.
611
489
  * @export
@@ -861,15 +739,6 @@ export declare class ActionsApi extends BaseAPI {
861
739
  * @memberof ActionsApi
862
740
  */
863
741
  deleteActionVersion(requestParameters: ActionsApiDeleteActionVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
864
- /**
865
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
866
- * @summary Retrieve the entity-actions-yaml
867
- * @param {ActionsApiExportActionsAsYamlRequest} requestParameters Request parameters.
868
- * @param {*} [options] Override http request option.
869
- * @throws {RequiredError}
870
- * @memberof ActionsApi
871
- */
872
- exportActionsAsYaml(requestParameters: ActionsApiExportActionsAsYamlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExportActionsAsYamlResponseClass, any, {}>>;
873
742
  /**
874
743
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
875
744
  * @summary Retrieve the action
@@ -888,15 +757,6 @@ export declare class ActionsApi extends BaseAPI {
888
757
  * @memberof ActionsApi
889
758
  */
890
759
  getActionVersion(requestParameters: ActionsApiGetActionVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetActionVersionResponseClass, any, {}>>;
891
- /**
892
- * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
893
- * @summary Update the entity-actions-yaml
894
- * @param {ActionsApiImportActionsFromYamlRequest} requestParameters Request parameters.
895
- * @param {*} [options] Override http request option.
896
- * @throws {RequiredError}
897
- * @memberof ActionsApi
898
- */
899
- importActionsFromYaml(requestParameters: ActionsApiImportActionsFromYamlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportActionsFromYamlResponseClass, any, {}>>;
900
760
  /**
901
761
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
902
762
  * @summary List action versions
@@ -241,70 +241,6 @@ var ActionsApiAxiosParamCreator = function (configuration) {
241
241
  });
242
242
  });
243
243
  },
244
- /**
245
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
246
- * @summary Retrieve the entity-actions-yaml
247
- * @param {string} productSlug Product slug
248
- * @param {number} productVersionId Product version ID
249
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
250
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
251
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
252
- * @param {*} [options] Override http request option.
253
- * @throws {RequiredError}
254
- */
255
- exportActionsAsYaml: function (productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options) {
256
- if (options === void 0) { options = {}; }
257
- return __awaiter(_this, void 0, void 0, function () {
258
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
259
- return __generator(this, function (_a) {
260
- switch (_a.label) {
261
- case 0:
262
- // verify required parameter 'productSlug' is not null or undefined
263
- (0, common_1.assertParamExists)('exportActionsAsYaml', 'productSlug', productSlug);
264
- // verify required parameter 'productVersionId' is not null or undefined
265
- (0, common_1.assertParamExists)('exportActionsAsYaml', 'productVersionId', productVersionId);
266
- localVarPath = "/actionservice/v1/actions/entity-actions-yaml";
267
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
268
- if (configuration) {
269
- baseOptions = configuration.baseOptions;
270
- baseAccessToken = configuration.accessToken;
271
- }
272
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
273
- localVarHeaderParameter = {};
274
- localVarQueryParameter = {};
275
- // authentication bearer required
276
- // http bearer authentication required
277
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
278
- case 1:
279
- // authentication bearer required
280
- // http bearer authentication required
281
- _a.sent();
282
- if (productSlug !== undefined) {
283
- localVarQueryParameter['productSlug'] = productSlug;
284
- }
285
- if (productVersionId !== undefined) {
286
- localVarQueryParameter['productVersionId'] = productVersionId;
287
- }
288
- if (actionSlugs) {
289
- localVarQueryParameter['actionSlugs'] = actionSlugs;
290
- }
291
- if (includeDisabled !== undefined) {
292
- localVarQueryParameter['includeDisabled'] = includeDisabled;
293
- }
294
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
295
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
296
- }
297
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
298
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
299
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
300
- return [2 /*return*/, {
301
- url: (0, common_1.toPathString)(localVarUrlObj),
302
- options: localVarRequestOptions,
303
- }];
304
- }
305
- });
306
- });
307
- },
308
244
  /**
309
245
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
310
246
  * @summary Retrieve the action
@@ -409,55 +345,6 @@ var ActionsApiAxiosParamCreator = function (configuration) {
409
345
  });
410
346
  });
411
347
  },
412
- /**
413
- * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
414
- * @summary Update the entity-actions-yaml
415
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
416
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
417
- * @param {*} [options] Override http request option.
418
- * @throws {RequiredError}
419
- */
420
- importActionsFromYaml: function (importActionsFromYamlRequestDto, authorization, options) {
421
- if (options === void 0) { options = {}; }
422
- return __awaiter(_this, void 0, void 0, function () {
423
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
424
- return __generator(this, function (_a) {
425
- switch (_a.label) {
426
- case 0:
427
- // verify required parameter 'importActionsFromYamlRequestDto' is not null or undefined
428
- (0, common_1.assertParamExists)('importActionsFromYaml', 'importActionsFromYamlRequestDto', importActionsFromYamlRequestDto);
429
- localVarPath = "/actionservice/v1/actions/entity-actions-yaml";
430
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
431
- if (configuration) {
432
- baseOptions = configuration.baseOptions;
433
- baseAccessToken = configuration.accessToken;
434
- }
435
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
436
- localVarHeaderParameter = {};
437
- localVarQueryParameter = {};
438
- // authentication bearer required
439
- // http bearer authentication required
440
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
441
- case 1:
442
- // authentication bearer required
443
- // http bearer authentication required
444
- _a.sent();
445
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
446
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
447
- }
448
- localVarHeaderParameter['Content-Type'] = 'application/json';
449
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
450
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
451
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
452
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(importActionsFromYamlRequestDto, localVarRequestOptions, configuration);
453
- return [2 /*return*/, {
454
- url: (0, common_1.toPathString)(localVarUrlObj),
455
- options: localVarRequestOptions,
456
- }];
457
- }
458
- });
459
- });
460
- },
461
348
  /**
462
349
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
463
350
  * @summary List action versions
@@ -857,30 +744,6 @@ var ActionsApiFp = function (configuration) {
857
744
  });
858
745
  });
859
746
  },
860
- /**
861
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
862
- * @summary Retrieve the entity-actions-yaml
863
- * @param {string} productSlug Product slug
864
- * @param {number} productVersionId Product version ID
865
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
866
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
867
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
868
- * @param {*} [options] Override http request option.
869
- * @throws {RequiredError}
870
- */
871
- exportActionsAsYaml: function (productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options) {
872
- return __awaiter(this, void 0, void 0, function () {
873
- var localVarAxiosArgs;
874
- return __generator(this, function (_a) {
875
- switch (_a.label) {
876
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.exportActionsAsYaml(productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options)];
877
- case 1:
878
- localVarAxiosArgs = _a.sent();
879
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
880
- }
881
- });
882
- });
883
- },
884
747
  /**
885
748
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
886
749
  * @summary Retrieve the action
@@ -925,27 +788,6 @@ var ActionsApiFp = function (configuration) {
925
788
  });
926
789
  });
927
790
  },
928
- /**
929
- * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
930
- * @summary Update the entity-actions-yaml
931
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
932
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
933
- * @param {*} [options] Override http request option.
934
- * @throws {RequiredError}
935
- */
936
- importActionsFromYaml: function (importActionsFromYamlRequestDto, authorization, options) {
937
- return __awaiter(this, void 0, void 0, function () {
938
- var localVarAxiosArgs;
939
- return __generator(this, function (_a) {
940
- switch (_a.label) {
941
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.importActionsFromYaml(importActionsFromYamlRequestDto, authorization, options)];
942
- case 1:
943
- localVarAxiosArgs = _a.sent();
944
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
945
- }
946
- });
947
- });
948
- },
949
791
  /**
950
792
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
951
793
  * @summary List action versions
@@ -1115,20 +957,6 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
1115
957
  deleteActionVersion: function (versionCode, authorization, options) {
1116
958
  return localVarFp.deleteActionVersion(versionCode, authorization, options).then(function (request) { return request(axios, basePath); });
1117
959
  },
1118
- /**
1119
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
1120
- * @summary Retrieve the entity-actions-yaml
1121
- * @param {string} productSlug Product slug
1122
- * @param {number} productVersionId Product version ID
1123
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1124
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
1125
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
1126
- * @param {*} [options] Override http request option.
1127
- * @throws {RequiredError}
1128
- */
1129
- exportActionsAsYaml: function (productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options) {
1130
- return localVarFp.exportActionsAsYaml(productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options).then(function (request) { return request(axios, basePath); });
1131
- },
1132
960
  /**
1133
961
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
1134
962
  * @summary Retrieve the action
@@ -1153,17 +981,6 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
1153
981
  getActionVersion: function (versionCode, authorization, expand, options) {
1154
982
  return localVarFp.getActionVersion(versionCode, authorization, expand, options).then(function (request) { return request(axios, basePath); });
1155
983
  },
1156
- /**
1157
- * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
1158
- * @summary Update the entity-actions-yaml
1159
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
1160
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1161
- * @param {*} [options] Override http request option.
1162
- * @throws {RequiredError}
1163
- */
1164
- importActionsFromYaml: function (importActionsFromYamlRequestDto, authorization, options) {
1165
- return localVarFp.importActionsFromYaml(importActionsFromYamlRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1166
- },
1167
984
  /**
1168
985
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
1169
986
  * @summary List action versions
@@ -1290,18 +1107,6 @@ var ActionsApi = /** @class */ (function (_super) {
1290
1107
  var _this = this;
1291
1108
  return (0, exports.ActionsApiFp)(this.configuration).deleteActionVersion(requestParameters.versionCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1292
1109
  };
1293
- /**
1294
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
1295
- * @summary Retrieve the entity-actions-yaml
1296
- * @param {ActionsApiExportActionsAsYamlRequest} requestParameters Request parameters.
1297
- * @param {*} [options] Override http request option.
1298
- * @throws {RequiredError}
1299
- * @memberof ActionsApi
1300
- */
1301
- ActionsApi.prototype.exportActionsAsYaml = function (requestParameters, options) {
1302
- var _this = this;
1303
- return (0, exports.ActionsApiFp)(this.configuration).exportActionsAsYaml(requestParameters.productSlug, requestParameters.productVersionId, requestParameters.authorization, requestParameters.actionSlugs, requestParameters.includeDisabled, options).then(function (request) { return request(_this.axios, _this.basePath); });
1304
- };
1305
1110
  /**
1306
1111
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
1307
1112
  * @summary Retrieve the action
@@ -1326,18 +1131,6 @@ var ActionsApi = /** @class */ (function (_super) {
1326
1131
  var _this = this;
1327
1132
  return (0, exports.ActionsApiFp)(this.configuration).getActionVersion(requestParameters.versionCode, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
1328
1133
  };
1329
- /**
1330
- * Imports entity actions from YAML for a product version. Validates YAML structure and workflow existence; creates or updates actions (never deletes). **Required Permissions** \"action-management.actions.create\"
1331
- * @summary Update the entity-actions-yaml
1332
- * @param {ActionsApiImportActionsFromYamlRequest} requestParameters Request parameters.
1333
- * @param {*} [options] Override http request option.
1334
- * @throws {RequiredError}
1335
- * @memberof ActionsApi
1336
- */
1337
- ActionsApi.prototype.importActionsFromYaml = function (requestParameters, options) {
1338
- var _this = this;
1339
- return (0, exports.ActionsApiFp)(this.configuration).importActionsFromYaml(requestParameters.importActionsFromYamlRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1340
- };
1341
1134
  /**
1342
1135
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
1343
1136
  * @summary List action versions
@@ -4,12 +4,9 @@ export * from './action-ref-class';
4
4
  export * from './action-version-class';
5
5
  export * from './create-action-request-dto';
6
6
  export * from './create-action-response-class';
7
- export * from './export-actions-as-yaml-response-class';
8
7
  export * from './get-action-execution-status-response-class';
9
8
  export * from './get-action-response-class';
10
9
  export * from './get-action-version-response-class';
11
- export * from './import-actions-from-yaml-request-dto';
12
- export * from './import-actions-from-yaml-response-class';
13
10
  export * from './inline-response200';
14
11
  export * from './inline-response503';
15
12
  export * from './list-action-executions-response-class';
@@ -20,12 +20,9 @@ __exportStar(require("./action-ref-class"), exports);
20
20
  __exportStar(require("./action-version-class"), exports);
21
21
  __exportStar(require("./create-action-request-dto"), exports);
22
22
  __exportStar(require("./create-action-response-class"), exports);
23
- __exportStar(require("./export-actions-as-yaml-response-class"), exports);
24
23
  __exportStar(require("./get-action-execution-status-response-class"), exports);
25
24
  __exportStar(require("./get-action-response-class"), exports);
26
25
  __exportStar(require("./get-action-version-response-class"), exports);
27
- __exportStar(require("./import-actions-from-yaml-request-dto"), exports);
28
- __exportStar(require("./import-actions-from-yaml-response-class"), exports);
29
26
  __exportStar(require("./inline-response200"), exports);
30
27
  __exportStar(require("./inline-response503"), exports);
31
28
  __exportStar(require("./list-action-executions-response-class"), exports);
package/models/index.ts CHANGED
@@ -4,12 +4,9 @@ export * from './action-ref-class';
4
4
  export * from './action-version-class';
5
5
  export * from './create-action-request-dto';
6
6
  export * from './create-action-response-class';
7
- export * from './export-actions-as-yaml-response-class';
8
7
  export * from './get-action-execution-status-response-class';
9
8
  export * from './get-action-response-class';
10
9
  export * from './get-action-version-response-class';
11
- export * from './import-actions-from-yaml-request-dto';
12
- export * from './import-actions-from-yaml-response-class';
13
10
  export * from './inline-response200';
14
11
  export * from './inline-response503';
15
12
  export * from './list-action-executions-response-class';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/action-sdk-node",
3
- "version": "1.0.1-beta.48",
3
+ "version": "1.1.0",
4
4
  "description": "OpenAPI client for @emilgroup/action-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,24 +0,0 @@
1
- /**
2
- * EMIL ActionService
3
- * The EMIL ActionService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ExportActionsAsYamlResponseClass
16
- */
17
- export interface ExportActionsAsYamlResponseClass {
18
- /**
19
- * Serialized YAML for the product version (all entity types)
20
- * @type {string}
21
- * @memberof ExportActionsAsYamlResponseClass
22
- */
23
- 'yamlContent': string;
24
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL ActionService
6
- * The EMIL ActionService API description
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,36 +0,0 @@
1
- /**
2
- * EMIL ActionService
3
- * The EMIL ActionService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ImportActionsFromYamlRequestDto
16
- */
17
- export interface ImportActionsFromYamlRequestDto {
18
- /**
19
- * Product slug for the whole document
20
- * @type {string}
21
- * @memberof ImportActionsFromYamlRequestDto
22
- */
23
- 'productSlug': string;
24
- /**
25
- * Product version ID for the whole document
26
- * @type {number}
27
- * @memberof ImportActionsFromYamlRequestDto
28
- */
29
- 'productVersionId': number;
30
- /**
31
- * Full YAML body (entity_actions keyed by entity type)
32
- * @type {string}
33
- * @memberof ImportActionsFromYamlRequestDto
34
- */
35
- 'yamlContent': string;
36
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL ActionService
6
- * The EMIL ActionService API description
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,37 +0,0 @@
1
- /**
2
- * EMIL ActionService
3
- * The EMIL ActionService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ActionClass } from './action-class';
13
- /**
14
- *
15
- * @export
16
- * @interface ImportActionsFromYamlResponseClass
17
- */
18
- export interface ImportActionsFromYamlResponseClass {
19
- /**
20
- * Normalized YAML for client to store
21
- * @type {string}
22
- * @memberof ImportActionsFromYamlResponseClass
23
- */
24
- 'yamlContent': string;
25
- /**
26
- * Actions that were created
27
- * @type {Array<ActionClass>}
28
- * @memberof ImportActionsFromYamlResponseClass
29
- */
30
- 'createdActions': Array<ActionClass>;
31
- /**
32
- * Actions that were updated
33
- * @type {Array<ActionClass>}
34
- * @memberof ImportActionsFromYamlResponseClass
35
- */
36
- 'updatedActions': Array<ActionClass>;
37
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL ActionService
6
- * The EMIL ActionService API description
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,30 +0,0 @@
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
-
17
- /**
18
- *
19
- * @export
20
- * @interface ExportActionsAsYamlResponseClass
21
- */
22
- export interface ExportActionsAsYamlResponseClass {
23
- /**
24
- * Serialized YAML for the product version (all entity types)
25
- * @type {string}
26
- * @memberof ExportActionsAsYamlResponseClass
27
- */
28
- 'yamlContent': string;
29
- }
30
-
@@ -1,42 +0,0 @@
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
-
17
- /**
18
- *
19
- * @export
20
- * @interface ImportActionsFromYamlRequestDto
21
- */
22
- export interface ImportActionsFromYamlRequestDto {
23
- /**
24
- * Product slug for the whole document
25
- * @type {string}
26
- * @memberof ImportActionsFromYamlRequestDto
27
- */
28
- 'productSlug': string;
29
- /**
30
- * Product version ID for the whole document
31
- * @type {number}
32
- * @memberof ImportActionsFromYamlRequestDto
33
- */
34
- 'productVersionId': number;
35
- /**
36
- * Full YAML body (entity_actions keyed by entity type)
37
- * @type {string}
38
- * @memberof ImportActionsFromYamlRequestDto
39
- */
40
- 'yamlContent': string;
41
- }
42
-
@@ -1,43 +0,0 @@
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 { ActionClass } from './action-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface ImportActionsFromYamlResponseClass
22
- */
23
- export interface ImportActionsFromYamlResponseClass {
24
- /**
25
- * Normalized YAML for client to store
26
- * @type {string}
27
- * @memberof ImportActionsFromYamlResponseClass
28
- */
29
- 'yamlContent': string;
30
- /**
31
- * Actions that were created
32
- * @type {Array<ActionClass>}
33
- * @memberof ImportActionsFromYamlResponseClass
34
- */
35
- 'createdActions': Array<ActionClass>;
36
- /**
37
- * Actions that were updated
38
- * @type {Array<ActionClass>}
39
- * @memberof ImportActionsFromYamlResponseClass
40
- */
41
- 'updatedActions': Array<ActionClass>;
42
- }
43
-