@emilgroup/action-sdk 1.1.1-beta.24 → 1.1.1-beta.27

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@1.1.1-beta.24 --save
20
+ npm install @emilgroup/action-sdk@1.1.1-beta.27 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/action-sdk@1.1.1-beta.24
24
+ yarn add @emilgroup/action-sdk@1.1.1-beta.27
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';
@@ -176,71 +170,6 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
176
170
 
177
171
 
178
172
 
179
- setSearchParams(localVarUrlObj, localVarQueryParameter);
180
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
181
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
182
-
183
- return {
184
- url: toPathString(localVarUrlObj),
185
- options: localVarRequestOptions,
186
- };
187
- },
188
- /**
189
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
190
- * @summary Retrieve the entity-actions-yaml
191
- * @param {string} productSlug Product slug
192
- * @param {number} productVersionId Product version ID
193
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
194
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
195
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
196
- * @param {*} [options] Override http request option.
197
- * @throws {RequiredError}
198
- */
199
- exportActionsAsYaml: async (productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
200
- // verify required parameter 'productSlug' is not null or undefined
201
- assertParamExists('exportActionsAsYaml', 'productSlug', productSlug)
202
- // verify required parameter 'productVersionId' is not null or undefined
203
- assertParamExists('exportActionsAsYaml', 'productVersionId', productVersionId)
204
- const localVarPath = `/actionservice/v1/actions/entity-actions-yaml`;
205
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
206
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
207
- let baseOptions;
208
- let baseAccessToken;
209
- if (configuration) {
210
- baseOptions = configuration.baseOptions;
211
- baseAccessToken = configuration.accessToken;
212
- }
213
-
214
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
215
- const localVarHeaderParameter = {} as any;
216
- const localVarQueryParameter = {} as any;
217
-
218
- // authentication bearer required
219
- // http bearer authentication required
220
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
221
-
222
- if (productSlug !== undefined) {
223
- localVarQueryParameter['productSlug'] = productSlug;
224
- }
225
-
226
- if (productVersionId !== undefined) {
227
- localVarQueryParameter['productVersionId'] = productVersionId;
228
- }
229
-
230
- if (actionSlugs) {
231
- localVarQueryParameter['actionSlugs'] = actionSlugs;
232
- }
233
-
234
- if (includeDisabled !== undefined) {
235
- localVarQueryParameter['includeDisabled'] = includeDisabled;
236
- }
237
-
238
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
239
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
240
- }
241
-
242
-
243
-
244
173
  setSearchParams(localVarUrlObj, localVarQueryParameter);
245
174
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
246
175
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -350,53 +279,6 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
350
279
  options: localVarRequestOptions,
351
280
  };
352
281
  },
353
- /**
354
- * 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\"
355
- * @summary Update the entity-actions-yaml
356
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
357
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
358
- * @param {*} [options] Override http request option.
359
- * @throws {RequiredError}
360
- */
361
- importActionsFromYaml: async (importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
362
- // verify required parameter 'importActionsFromYamlRequestDto' is not null or undefined
363
- assertParamExists('importActionsFromYaml', 'importActionsFromYamlRequestDto', importActionsFromYamlRequestDto)
364
- const localVarPath = `/actionservice/v1/actions/entity-actions-yaml`;
365
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
366
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
367
- let baseOptions;
368
- let baseAccessToken;
369
- if (configuration) {
370
- baseOptions = configuration.baseOptions;
371
- baseAccessToken = configuration.accessToken;
372
- }
373
-
374
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
375
- const localVarHeaderParameter = {} as any;
376
- const localVarQueryParameter = {} as any;
377
-
378
- // authentication bearer required
379
- // http bearer authentication required
380
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
381
-
382
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
383
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
384
- }
385
-
386
-
387
-
388
- localVarHeaderParameter['Content-Type'] = 'application/json';
389
-
390
- setSearchParams(localVarUrlObj, localVarQueryParameter);
391
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
392
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
393
- localVarRequestOptions.data = serializeDataIfNeeded(importActionsFromYamlRequestDto, localVarRequestOptions, configuration)
394
-
395
- return {
396
- url: toPathString(localVarUrlObj),
397
- options: localVarRequestOptions,
398
- };
399
- },
400
282
  /**
401
283
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
402
284
  * @summary List action versions
@@ -777,21 +659,6 @@ export const ActionsApiFp = function(configuration?: Configuration) {
777
659
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteActionVersion(versionCode, authorization, options);
778
660
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
779
661
  },
780
- /**
781
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
782
- * @summary Retrieve the entity-actions-yaml
783
- * @param {string} productSlug Product slug
784
- * @param {number} productVersionId Product version ID
785
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
786
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
787
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
788
- * @param {*} [options] Override http request option.
789
- * @throws {RequiredError}
790
- */
791
- async exportActionsAsYaml(productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExportActionsAsYamlResponseClass>> {
792
- const localVarAxiosArgs = await localVarAxiosParamCreator.exportActionsAsYaml(productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options);
793
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
794
- },
795
662
  /**
796
663
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
797
664
  * @summary Retrieve the action
@@ -818,18 +685,6 @@ export const ActionsApiFp = function(configuration?: Configuration) {
818
685
  const localVarAxiosArgs = await localVarAxiosParamCreator.getActionVersion(versionCode, authorization, expand, options);
819
686
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
820
687
  },
821
- /**
822
- * 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\"
823
- * @summary Update the entity-actions-yaml
824
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
825
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
826
- * @param {*} [options] Override http request option.
827
- * @throws {RequiredError}
828
- */
829
- async importActionsFromYaml(importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportActionsFromYamlResponseClass>> {
830
- const localVarAxiosArgs = await localVarAxiosParamCreator.importActionsFromYaml(importActionsFromYamlRequestDto, authorization, options);
831
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
832
- },
833
688
  /**
834
689
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
835
690
  * @summary List action versions
@@ -954,20 +809,6 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
954
809
  deleteActionVersion(versionCode: string, authorization?: string, options?: any): AxiosPromise<void> {
955
810
  return localVarFp.deleteActionVersion(versionCode, authorization, options).then((request) => request(axios, basePath));
956
811
  },
957
- /**
958
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
959
- * @summary Retrieve the entity-actions-yaml
960
- * @param {string} productSlug Product slug
961
- * @param {number} productVersionId Product version ID
962
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
963
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
964
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
965
- * @param {*} [options] Override http request option.
966
- * @throws {RequiredError}
967
- */
968
- exportActionsAsYaml(productSlug: string, productVersionId: number, authorization?: string, actionSlugs?: Array<string>, includeDisabled?: boolean, options?: any): AxiosPromise<ExportActionsAsYamlResponseClass> {
969
- return localVarFp.exportActionsAsYaml(productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options).then((request) => request(axios, basePath));
970
- },
971
812
  /**
972
813
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
973
814
  * @summary Retrieve the action
@@ -992,17 +833,6 @@ export const ActionsApiFactory = function (configuration?: Configuration, basePa
992
833
  getActionVersion(versionCode: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetActionVersionResponseClass> {
993
834
  return localVarFp.getActionVersion(versionCode, authorization, expand, options).then((request) => request(axios, basePath));
994
835
  },
995
- /**
996
- * 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\"
997
- * @summary Update the entity-actions-yaml
998
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
999
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1000
- * @param {*} [options] Override http request option.
1001
- * @throws {RequiredError}
1002
- */
1003
- importActionsFromYaml(importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto, authorization?: string, options?: any): AxiosPromise<ImportActionsFromYamlResponseClass> {
1004
- return localVarFp.importActionsFromYaml(importActionsFromYamlRequestDto, authorization, options).then((request) => request(axios, basePath));
1005
- },
1006
836
  /**
1007
837
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
1008
838
  * @summary List action versions
@@ -1145,48 +975,6 @@ export interface ActionsApiDeleteActionVersionRequest {
1145
975
  readonly authorization?: string
1146
976
  }
1147
977
 
1148
- /**
1149
- * Request parameters for exportActionsAsYaml operation in ActionsApi.
1150
- * @export
1151
- * @interface ActionsApiExportActionsAsYamlRequest
1152
- */
1153
- export interface ActionsApiExportActionsAsYamlRequest {
1154
- /**
1155
- * Product slug
1156
- * @type {string}
1157
- * @memberof ActionsApiExportActionsAsYaml
1158
- */
1159
- readonly productSlug: string
1160
-
1161
- /**
1162
- * Product version ID
1163
- * @type {number}
1164
- * @memberof ActionsApiExportActionsAsYaml
1165
- */
1166
- readonly productVersionId: number
1167
-
1168
- /**
1169
- * Bearer Token: provided by the login endpoint under the name accessToken.
1170
- * @type {string}
1171
- * @memberof ActionsApiExportActionsAsYaml
1172
- */
1173
- readonly authorization?: string
1174
-
1175
- /**
1176
- * Optional list of action slugs to export; if omitted, all actions for the product version are exported
1177
- * @type {Array<string>}
1178
- * @memberof ActionsApiExportActionsAsYaml
1179
- */
1180
- readonly actionSlugs?: Array<string>
1181
-
1182
- /**
1183
- * Include draft (disabled) actions
1184
- * @type {boolean}
1185
- * @memberof ActionsApiExportActionsAsYaml
1186
- */
1187
- readonly includeDisabled?: boolean
1188
- }
1189
-
1190
978
  /**
1191
979
  * Request parameters for getAction operation in ActionsApi.
1192
980
  * @export
@@ -1243,27 +1031,6 @@ export interface ActionsApiGetActionVersionRequest {
1243
1031
  readonly expand?: string
1244
1032
  }
1245
1033
 
1246
- /**
1247
- * Request parameters for importActionsFromYaml operation in ActionsApi.
1248
- * @export
1249
- * @interface ActionsApiImportActionsFromYamlRequest
1250
- */
1251
- export interface ActionsApiImportActionsFromYamlRequest {
1252
- /**
1253
- *
1254
- * @type {ImportActionsFromYamlRequestDto}
1255
- * @memberof ActionsApiImportActionsFromYaml
1256
- */
1257
- readonly importActionsFromYamlRequestDto: ImportActionsFromYamlRequestDto
1258
-
1259
- /**
1260
- * Bearer Token: provided by the login endpoint under the name accessToken.
1261
- * @type {string}
1262
- * @memberof ActionsApiImportActionsFromYaml
1263
- */
1264
- readonly authorization?: string
1265
- }
1266
-
1267
1034
  /**
1268
1035
  * Request parameters for listActionVersions operation in ActionsApi.
1269
1036
  * @export
@@ -1559,18 +1326,6 @@ export class ActionsApi extends BaseAPI {
1559
1326
  return ActionsApiFp(this.configuration).deleteActionVersion(requestParameters.versionCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1560
1327
  }
1561
1328
 
1562
- /**
1563
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
1564
- * @summary Retrieve the entity-actions-yaml
1565
- * @param {ActionsApiExportActionsAsYamlRequest} requestParameters Request parameters.
1566
- * @param {*} [options] Override http request option.
1567
- * @throws {RequiredError}
1568
- * @memberof ActionsApi
1569
- */
1570
- public exportActionsAsYaml(requestParameters: ActionsApiExportActionsAsYamlRequest, options?: AxiosRequestConfig) {
1571
- return ActionsApiFp(this.configuration).exportActionsAsYaml(requestParameters.productSlug, requestParameters.productVersionId, requestParameters.authorization, requestParameters.actionSlugs, requestParameters.includeDisabled, options).then((request) => request(this.axios, this.basePath));
1572
- }
1573
-
1574
1329
  /**
1575
1330
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
1576
1331
  * @summary Retrieve the action
@@ -1595,18 +1350,6 @@ export class ActionsApi extends BaseAPI {
1595
1350
  return ActionsApiFp(this.configuration).getActionVersion(requestParameters.versionCode, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1596
1351
  }
1597
1352
 
1598
- /**
1599
- * 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\"
1600
- * @summary Update the entity-actions-yaml
1601
- * @param {ActionsApiImportActionsFromYamlRequest} requestParameters Request parameters.
1602
- * @param {*} [options] Override http request option.
1603
- * @throws {RequiredError}
1604
- * @memberof ActionsApi
1605
- */
1606
- public importActionsFromYaml(requestParameters: ActionsApiImportActionsFromYamlRequest, options?: AxiosRequestConfig) {
1607
- return ActionsApiFp(this.configuration).importActionsFromYaml(requestParameters.importActionsFromYamlRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1608
- }
1609
-
1610
1353
  /**
1611
1354
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
1612
1355
  * @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
@@ -237,70 +237,6 @@ var ActionsApiAxiosParamCreator = function (configuration) {
237
237
  });
238
238
  });
239
239
  },
240
- /**
241
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
242
- * @summary Retrieve the entity-actions-yaml
243
- * @param {string} productSlug Product slug
244
- * @param {number} productVersionId Product version ID
245
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
246
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
247
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
248
- * @param {*} [options] Override http request option.
249
- * @throws {RequiredError}
250
- */
251
- exportActionsAsYaml: function (productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options) {
252
- if (options === void 0) { options = {}; }
253
- return __awaiter(_this, void 0, void 0, function () {
254
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
255
- return __generator(this, function (_a) {
256
- switch (_a.label) {
257
- case 0:
258
- // verify required parameter 'productSlug' is not null or undefined
259
- (0, common_1.assertParamExists)('exportActionsAsYaml', 'productSlug', productSlug);
260
- // verify required parameter 'productVersionId' is not null or undefined
261
- (0, common_1.assertParamExists)('exportActionsAsYaml', 'productVersionId', productVersionId);
262
- localVarPath = "/actionservice/v1/actions/entity-actions-yaml";
263
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
264
- if (configuration) {
265
- baseOptions = configuration.baseOptions;
266
- baseAccessToken = configuration.accessToken;
267
- }
268
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
269
- localVarHeaderParameter = {};
270
- localVarQueryParameter = {};
271
- // authentication bearer required
272
- // http bearer authentication required
273
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
274
- case 1:
275
- // authentication bearer required
276
- // http bearer authentication required
277
- _a.sent();
278
- if (productSlug !== undefined) {
279
- localVarQueryParameter['productSlug'] = productSlug;
280
- }
281
- if (productVersionId !== undefined) {
282
- localVarQueryParameter['productVersionId'] = productVersionId;
283
- }
284
- if (actionSlugs) {
285
- localVarQueryParameter['actionSlugs'] = actionSlugs;
286
- }
287
- if (includeDisabled !== undefined) {
288
- localVarQueryParameter['includeDisabled'] = includeDisabled;
289
- }
290
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
291
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
292
- }
293
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
294
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
295
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
296
- return [2 /*return*/, {
297
- url: (0, common_1.toPathString)(localVarUrlObj),
298
- options: localVarRequestOptions,
299
- }];
300
- }
301
- });
302
- });
303
- },
304
240
  /**
305
241
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
306
242
  * @summary Retrieve the action
@@ -405,55 +341,6 @@ var ActionsApiAxiosParamCreator = function (configuration) {
405
341
  });
406
342
  });
407
343
  },
408
- /**
409
- * 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\"
410
- * @summary Update the entity-actions-yaml
411
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
412
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
413
- * @param {*} [options] Override http request option.
414
- * @throws {RequiredError}
415
- */
416
- importActionsFromYaml: function (importActionsFromYamlRequestDto, authorization, options) {
417
- if (options === void 0) { options = {}; }
418
- return __awaiter(_this, void 0, void 0, function () {
419
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
420
- return __generator(this, function (_a) {
421
- switch (_a.label) {
422
- case 0:
423
- // verify required parameter 'importActionsFromYamlRequestDto' is not null or undefined
424
- (0, common_1.assertParamExists)('importActionsFromYaml', 'importActionsFromYamlRequestDto', importActionsFromYamlRequestDto);
425
- localVarPath = "/actionservice/v1/actions/entity-actions-yaml";
426
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
427
- if (configuration) {
428
- baseOptions = configuration.baseOptions;
429
- baseAccessToken = configuration.accessToken;
430
- }
431
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
432
- localVarHeaderParameter = {};
433
- localVarQueryParameter = {};
434
- // authentication bearer required
435
- // http bearer authentication required
436
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
437
- case 1:
438
- // authentication bearer required
439
- // http bearer authentication required
440
- _a.sent();
441
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
442
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
443
- }
444
- localVarHeaderParameter['Content-Type'] = 'application/json';
445
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
446
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
447
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
448
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(importActionsFromYamlRequestDto, localVarRequestOptions, configuration);
449
- return [2 /*return*/, {
450
- url: (0, common_1.toPathString)(localVarUrlObj),
451
- options: localVarRequestOptions,
452
- }];
453
- }
454
- });
455
- });
456
- },
457
344
  /**
458
345
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
459
346
  * @summary List action versions
@@ -853,30 +740,6 @@ var ActionsApiFp = function (configuration) {
853
740
  });
854
741
  });
855
742
  },
856
- /**
857
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
858
- * @summary Retrieve the entity-actions-yaml
859
- * @param {string} productSlug Product slug
860
- * @param {number} productVersionId Product version ID
861
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
862
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
863
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
864
- * @param {*} [options] Override http request option.
865
- * @throws {RequiredError}
866
- */
867
- exportActionsAsYaml: function (productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options) {
868
- return __awaiter(this, void 0, void 0, function () {
869
- var localVarAxiosArgs;
870
- return __generator(this, function (_a) {
871
- switch (_a.label) {
872
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.exportActionsAsYaml(productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options)];
873
- case 1:
874
- localVarAxiosArgs = _a.sent();
875
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
876
- }
877
- });
878
- });
879
- },
880
743
  /**
881
744
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
882
745
  * @summary Retrieve the action
@@ -921,27 +784,6 @@ var ActionsApiFp = function (configuration) {
921
784
  });
922
785
  });
923
786
  },
924
- /**
925
- * 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\"
926
- * @summary Update the entity-actions-yaml
927
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
928
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
929
- * @param {*} [options] Override http request option.
930
- * @throws {RequiredError}
931
- */
932
- importActionsFromYaml: function (importActionsFromYamlRequestDto, authorization, options) {
933
- return __awaiter(this, void 0, void 0, function () {
934
- var localVarAxiosArgs;
935
- return __generator(this, function (_a) {
936
- switch (_a.label) {
937
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.importActionsFromYaml(importActionsFromYamlRequestDto, authorization, options)];
938
- case 1:
939
- localVarAxiosArgs = _a.sent();
940
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
941
- }
942
- });
943
- });
944
- },
945
787
  /**
946
788
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
947
789
  * @summary List action versions
@@ -1111,20 +953,6 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
1111
953
  deleteActionVersion: function (versionCode, authorization, options) {
1112
954
  return localVarFp.deleteActionVersion(versionCode, authorization, options).then(function (request) { return request(axios, basePath); });
1113
955
  },
1114
- /**
1115
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
1116
- * @summary Retrieve the entity-actions-yaml
1117
- * @param {string} productSlug Product slug
1118
- * @param {number} productVersionId Product version ID
1119
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1120
- * @param {Array<string>} [actionSlugs] Optional list of action slugs to export; if omitted, all actions for the product version are exported
1121
- * @param {boolean} [includeDisabled] Include draft (disabled) actions
1122
- * @param {*} [options] Override http request option.
1123
- * @throws {RequiredError}
1124
- */
1125
- exportActionsAsYaml: function (productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options) {
1126
- return localVarFp.exportActionsAsYaml(productSlug, productVersionId, authorization, actionSlugs, includeDisabled, options).then(function (request) { return request(axios, basePath); });
1127
- },
1128
956
  /**
1129
957
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
1130
958
  * @summary Retrieve the action
@@ -1149,17 +977,6 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
1149
977
  getActionVersion: function (versionCode, authorization, expand, options) {
1150
978
  return localVarFp.getActionVersion(versionCode, authorization, expand, options).then(function (request) { return request(axios, basePath); });
1151
979
  },
1152
- /**
1153
- * 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\"
1154
- * @summary Update the entity-actions-yaml
1155
- * @param {ImportActionsFromYamlRequestDto} importActionsFromYamlRequestDto
1156
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1157
- * @param {*} [options] Override http request option.
1158
- * @throws {RequiredError}
1159
- */
1160
- importActionsFromYaml: function (importActionsFromYamlRequestDto, authorization, options) {
1161
- return localVarFp.importActionsFromYaml(importActionsFromYamlRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1162
- },
1163
980
  /**
1164
981
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
1165
982
  * @summary List action versions
@@ -1286,18 +1103,6 @@ var ActionsApi = /** @class */ (function (_super) {
1286
1103
  var _this = this;
1287
1104
  return (0, exports.ActionsApiFp)(this.configuration).deleteActionVersion(requestParameters.versionCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1288
1105
  };
1289
- /**
1290
- * Exports entity actions for a product version as YAML (productSlug, productVersionId, entity_actions by type). **Required Permissions** \"action-management.actions.view\"
1291
- * @summary Retrieve the entity-actions-yaml
1292
- * @param {ActionsApiExportActionsAsYamlRequest} requestParameters Request parameters.
1293
- * @param {*} [options] Override http request option.
1294
- * @throws {RequiredError}
1295
- * @memberof ActionsApi
1296
- */
1297
- ActionsApi.prototype.exportActionsAsYaml = function (requestParameters, options) {
1298
- var _this = this;
1299
- 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); });
1300
- };
1301
1106
  /**
1302
1107
  * Retrieves an action configuration by its code **Required Permissions** \"action-management.actions.view\"
1303
1108
  * @summary Retrieve the action
@@ -1322,18 +1127,6 @@ var ActionsApi = /** @class */ (function (_super) {
1322
1127
  var _this = this;
1323
1128
  return (0, exports.ActionsApiFp)(this.configuration).getActionVersion(requestParameters.versionCode, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
1324
1129
  };
1325
- /**
1326
- * 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\"
1327
- * @summary Update the entity-actions-yaml
1328
- * @param {ActionsApiImportActionsFromYamlRequest} requestParameters Request parameters.
1329
- * @param {*} [options] Override http request option.
1330
- * @throws {RequiredError}
1331
- * @memberof ActionsApi
1332
- */
1333
- ActionsApi.prototype.importActionsFromYaml = function (requestParameters, options) {
1334
- var _this = this;
1335
- return (0, exports.ActionsApiFp)(this.configuration).importActionsFromYaml(requestParameters.importActionsFromYamlRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1336
- };
1337
1130
  /**
1338
1131
  * Lists all versions for an action by code **Required Permissions** \"action-management.actions.view\"
1339
1132
  * @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",
3
- "version": "1.1.1-beta.24",
3
+ "version": "1.1.1-beta.27",
4
4
  "description": "OpenAPI client for @emilgroup/action-sdk",
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
-