@emilgroup/action-sdk 1.1.1-beta.23 → 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.
@@ -16,15 +16,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./action-class"), exports);
18
18
  __exportStar(require("./action-execution-class"), exports);
19
+ __exportStar(require("./action-ref-class"), exports);
19
20
  __exportStar(require("./action-version-class"), exports);
20
21
  __exportStar(require("./create-action-request-dto"), exports);
21
22
  __exportStar(require("./create-action-response-class"), exports);
22
- __exportStar(require("./export-actions-as-yaml-response-class"), exports);
23
23
  __exportStar(require("./get-action-execution-status-response-class"), exports);
24
24
  __exportStar(require("./get-action-response-class"), exports);
25
25
  __exportStar(require("./get-action-version-response-class"), exports);
26
- __exportStar(require("./import-actions-from-yaml-request-dto"), exports);
27
- __exportStar(require("./import-actions-from-yaml-response-class"), exports);
28
26
  __exportStar(require("./inline-response200"), exports);
29
27
  __exportStar(require("./inline-response503"), exports);
30
28
  __exportStar(require("./list-action-executions-response-class"), exports);
@@ -17,14 +17,26 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface ExportActionsAsYamlResponseClass
20
+ * @interface ActionRefClass
21
21
  */
22
- export interface ExportActionsAsYamlResponseClass {
22
+ export interface ActionRefClass {
23
23
  /**
24
- * Serialized YAML for the product version (all entity types)
24
+ * Action code
25
25
  * @type {string}
26
- * @memberof ExportActionsAsYamlResponseClass
26
+ * @memberof ActionRefClass
27
27
  */
28
- 'yamlContent': string;
28
+ 'code': string;
29
+ /**
30
+ * Action name
31
+ * @type {string}
32
+ * @memberof ActionRefClass
33
+ */
34
+ 'name': string;
35
+ /**
36
+ * Action slug
37
+ * @type {string}
38
+ * @memberof ActionRefClass
39
+ */
40
+ 'slug': string;
29
41
  }
30
42
 
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { ActionRefClass } from './action-ref-class';
16
17
 
17
18
  /**
18
19
  *
@@ -116,6 +117,12 @@ export interface ActionVersionClass {
116
117
  * @memberof ActionVersionClass
117
118
  */
118
119
  'updatedBy': string;
120
+ /**
121
+ * Parent action (code, name, slug). Set when listing versions so clients know which action each version belongs to.
122
+ * @type {ActionRefClass}
123
+ * @memberof ActionVersionClass
124
+ */
125
+ 'action'?: ActionRefClass;
119
126
  }
120
127
 
121
128
  export const ActionVersionClassEntityTypeEnum = {
package/models/index.ts CHANGED
@@ -1,14 +1,12 @@
1
1
  export * from './action-class';
2
2
  export * from './action-execution-class';
3
+ export * from './action-ref-class';
3
4
  export * from './action-version-class';
4
5
  export * from './create-action-request-dto';
5
6
  export * from './create-action-response-class';
6
- export * from './export-actions-as-yaml-response-class';
7
7
  export * from './get-action-execution-status-response-class';
8
8
  export * from './get-action-response-class';
9
9
  export * from './get-action-version-response-class';
10
- export * from './import-actions-from-yaml-request-dto';
11
- export * from './import-actions-from-yaml-response-class';
12
10
  export * from './inline-response200';
13
11
  export * from './inline-response503';
14
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.23",
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,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,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
-