@emilgroup/action-sdk-node 1.0.1-beta.32 → 1.0.1-beta.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +5 -0
- package/README.md +2 -2
- package/api/actions-api.ts +150 -792
- package/api/executions-api.ts +119 -12
- package/dist/api/actions-api.d.ts +102 -466
- package/dist/api/actions-api.js +89 -609
- package/dist/api/executions-api.d.ts +69 -12
- package/dist/api/executions-api.js +102 -9
- package/dist/models/action-class.d.ts +38 -2
- package/dist/models/action-execution-class.d.ts +30 -0
- package/dist/models/create-action-request-dto.d.ts +31 -1
- package/dist/models/create-action-request-dto.js +6 -0
- package/dist/models/export-actions-as-yaml-response-class.d.ts +24 -0
- package/dist/models/export-actions-as-yaml-response-class.js +15 -0
- package/dist/models/import-actions-from-yaml-request-dto.d.ts +36 -0
- package/dist/models/import-actions-from-yaml-request-dto.js +15 -0
- package/dist/models/import-actions-from-yaml-response-class.d.ts +37 -0
- package/dist/models/import-actions-from-yaml-response-class.js +15 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/trigger-action-request-dto.d.ts +62 -0
- package/dist/models/trigger-action-request-dto.js +15 -0
- package/dist/models/trigger-action-response-class.d.ts +25 -0
- package/dist/models/trigger-action-response-class.js +15 -0
- package/dist/models/update-action-request-dto.d.ts +30 -0
- package/dist/models/update-action-request-dto.js +6 -0
- package/models/action-class.ts +38 -2
- package/models/action-execution-class.ts +30 -0
- package/models/create-action-request-dto.ts +34 -1
- package/models/export-actions-as-yaml-response-class.ts +30 -0
- package/models/import-actions-from-yaml-request-dto.ts +42 -0
- package/models/import-actions-from-yaml-response-class.ts +43 -0
- package/models/index.ts +5 -0
- package/models/trigger-action-request-dto.ts +66 -0
- package/models/trigger-action-response-class.ts +31 -0
- package/models/update-action-request-dto.ts +33 -0
- package/package.json +1 -1
|
@@ -50,11 +50,44 @@ export interface UpdateActionRequestDto {
|
|
|
50
50
|
* @memberof UpdateActionRequestDto
|
|
51
51
|
*/
|
|
52
52
|
'isEnabled'?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Whether the action is available in the UI
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
* @memberof UpdateActionRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'isAvailableInUi'?: boolean;
|
|
53
59
|
/**
|
|
54
60
|
* Detailed description of what this action does
|
|
55
61
|
* @type {string}
|
|
56
62
|
* @memberof UpdateActionRequestDto
|
|
57
63
|
*/
|
|
58
64
|
'description'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Entity type. When provided, productVersionId is required (and vice versa).
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof UpdateActionRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'entityType'?: UpdateActionRequestDtoEntityTypeEnum;
|
|
71
|
+
/**
|
|
72
|
+
* Product version ID. When provided, entityType is required (and vice versa).
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof UpdateActionRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'productVersionId'?: number;
|
|
77
|
+
/**
|
|
78
|
+
* Optional JSON Schema to validate input_payload when triggering the action
|
|
79
|
+
* @type {object}
|
|
80
|
+
* @memberof UpdateActionRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'inputValidationSchema'?: object;
|
|
59
83
|
}
|
|
60
84
|
|
|
85
|
+
export const UpdateActionRequestDtoEntityTypeEnum = {
|
|
86
|
+
Policy: 'POLICY',
|
|
87
|
+
Lead: 'LEAD',
|
|
88
|
+
Claim: 'CLAIM'
|
|
89
|
+
} as const;
|
|
90
|
+
|
|
91
|
+
export type UpdateActionRequestDtoEntityTypeEnum = typeof UpdateActionRequestDtoEntityTypeEnum[keyof typeof UpdateActionRequestDtoEntityTypeEnum];
|
|
92
|
+
|
|
93
|
+
|