@epilot/automation-client 2.13.3 → 2.14.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.
- package/dist/openapi.d.ts +16 -9
- package/dist/openapi.json +25 -23
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -44,9 +44,6 @@ declare namespace Components {
|
|
|
44
44
|
* The id of the configured scheduler which will be added on automation triggered
|
|
45
45
|
*/
|
|
46
46
|
configuredScheduleId?: string;
|
|
47
|
-
numberOfUnits?: number;
|
|
48
|
-
timePeriod?: "minutes" | "hours" | "days" | "weeks" | "months";
|
|
49
|
-
timeRelation?: "after" | "before";
|
|
50
47
|
source: /* The source of the schedule_at timestamp that will be used to schedule the action */ ActionScheduleSource;
|
|
51
48
|
}
|
|
52
49
|
/**
|
|
@@ -54,7 +51,7 @@ declare namespace Components {
|
|
|
54
51
|
*/
|
|
55
52
|
export interface ActionScheduleSource {
|
|
56
53
|
/**
|
|
57
|
-
* The
|
|
54
|
+
* The iGd of the action or trigger
|
|
58
55
|
*/
|
|
59
56
|
id: string;
|
|
60
57
|
origin: "trigger" | "action";
|
|
@@ -857,6 +854,10 @@ declare namespace Components {
|
|
|
857
854
|
* 8c086140-f33e-4bb7-a993-50c0f2402c7b
|
|
858
855
|
*/
|
|
859
856
|
task_token?: string;
|
|
857
|
+
/**
|
|
858
|
+
* Entity ID of the report file entity
|
|
859
|
+
*/
|
|
860
|
+
report_file_entity_id?: string;
|
|
860
861
|
/**
|
|
861
862
|
* List of entities & their automation execution id & status
|
|
862
863
|
*/
|
|
@@ -868,11 +869,7 @@ declare namespace Components {
|
|
|
868
869
|
* 7791b04a-16d2-44a2-9af9-2d59c25c512f
|
|
869
870
|
*/
|
|
870
871
|
AutomationFlowId;
|
|
871
|
-
|
|
872
|
-
* example:
|
|
873
|
-
* e3d3ebac-baab-4395-abf4-50b5bf1f8b74
|
|
874
|
-
*/
|
|
875
|
-
EntityId[];
|
|
872
|
+
entities_refs?: EntityRef[];
|
|
876
873
|
entities_query?: string;
|
|
877
874
|
}
|
|
878
875
|
/**
|
|
@@ -1458,6 +1455,14 @@ declare namespace Components {
|
|
|
1458
1455
|
};
|
|
1459
1456
|
};
|
|
1460
1457
|
}
|
|
1458
|
+
export interface EntityRef {
|
|
1459
|
+
entity_id: /**
|
|
1460
|
+
* example:
|
|
1461
|
+
* e3d3ebac-baab-4395-abf4-50b5bf1f8b74
|
|
1462
|
+
*/
|
|
1463
|
+
EntityId;
|
|
1464
|
+
entity_schema: string;
|
|
1465
|
+
}
|
|
1461
1466
|
export interface EqualsIgnoreCaseCondition {
|
|
1462
1467
|
"equals-ignore-case"?: string;
|
|
1463
1468
|
}
|
|
@@ -1484,6 +1489,7 @@ declare namespace Components {
|
|
|
1484
1489
|
* e3d3ebac-baab-4395-abf4-50b5bf1f8b74
|
|
1485
1490
|
*/
|
|
1486
1491
|
EntityId;
|
|
1492
|
+
entity_schema?: string;
|
|
1487
1493
|
execution_id?: /**
|
|
1488
1494
|
* example:
|
|
1489
1495
|
* 9baf184f-bc81-4128-bca3-d974c90a12c4
|
|
@@ -3165,6 +3171,7 @@ export type EntityItemSnapshot = Components.Schemas.EntityItemSnapshot;
|
|
|
3165
3171
|
export type EntityManualTrigger = Components.Schemas.EntityManualTrigger;
|
|
3166
3172
|
export type EntityOperation = Components.Schemas.EntityOperation;
|
|
3167
3173
|
export type EntityOperationTrigger = Components.Schemas.EntityOperationTrigger;
|
|
3174
|
+
export type EntityRef = Components.Schemas.EntityRef;
|
|
3168
3175
|
export type EqualsIgnoreCaseCondition = Components.Schemas.EqualsIgnoreCaseCondition;
|
|
3169
3176
|
export type ErrorCode = Components.Schemas.ErrorCode;
|
|
3170
3177
|
export type ErrorDetail = Components.Schemas.ErrorDetail;
|
package/dist/openapi.json
CHANGED
|
@@ -2081,7 +2081,7 @@
|
|
|
2081
2081
|
"properties": {
|
|
2082
2082
|
"id": {
|
|
2083
2083
|
"type": "string",
|
|
2084
|
-
"description": "The
|
|
2084
|
+
"description": "The iGd of the action or trigger"
|
|
2085
2085
|
},
|
|
2086
2086
|
"origin": {
|
|
2087
2087
|
"type": "string",
|
|
@@ -2115,26 +2115,6 @@
|
|
|
2115
2115
|
"type": "string",
|
|
2116
2116
|
"description": "The id of the configured scheduler which will be added on automation triggered"
|
|
2117
2117
|
},
|
|
2118
|
-
"numberOfUnits": {
|
|
2119
|
-
"type": "number"
|
|
2120
|
-
},
|
|
2121
|
-
"timePeriod": {
|
|
2122
|
-
"type": "string",
|
|
2123
|
-
"enum": [
|
|
2124
|
-
"minutes",
|
|
2125
|
-
"hours",
|
|
2126
|
-
"days",
|
|
2127
|
-
"weeks",
|
|
2128
|
-
"months"
|
|
2129
|
-
]
|
|
2130
|
-
},
|
|
2131
|
-
"timeRelation": {
|
|
2132
|
-
"type": "string",
|
|
2133
|
-
"enum": [
|
|
2134
|
-
"after",
|
|
2135
|
-
"before"
|
|
2136
|
-
]
|
|
2137
|
-
},
|
|
2138
2118
|
"source": {
|
|
2139
2119
|
"$ref": "#/components/schemas/ActionScheduleSource"
|
|
2140
2120
|
}
|
|
@@ -2453,10 +2433,10 @@
|
|
|
2453
2433
|
"flow_id": {
|
|
2454
2434
|
"$ref": "#/components/schemas/AutomationFlowId"
|
|
2455
2435
|
},
|
|
2456
|
-
"
|
|
2436
|
+
"entities_refs": {
|
|
2457
2437
|
"type": "array",
|
|
2458
2438
|
"items": {
|
|
2459
|
-
"$ref": "#/components/schemas/
|
|
2439
|
+
"$ref": "#/components/schemas/EntityRef"
|
|
2460
2440
|
}
|
|
2461
2441
|
},
|
|
2462
2442
|
"entities_query": {
|
|
@@ -2467,6 +2447,21 @@
|
|
|
2467
2447
|
"flow_id"
|
|
2468
2448
|
]
|
|
2469
2449
|
},
|
|
2450
|
+
"EntityRef": {
|
|
2451
|
+
"type": "object",
|
|
2452
|
+
"required": [
|
|
2453
|
+
"entity_id",
|
|
2454
|
+
"entity_schema"
|
|
2455
|
+
],
|
|
2456
|
+
"properties": {
|
|
2457
|
+
"entity_id": {
|
|
2458
|
+
"$ref": "#/components/schemas/EntityId"
|
|
2459
|
+
},
|
|
2460
|
+
"entity_schema": {
|
|
2461
|
+
"type": "string"
|
|
2462
|
+
}
|
|
2463
|
+
}
|
|
2464
|
+
},
|
|
2470
2465
|
"BulkTriggerJob": {
|
|
2471
2466
|
"type": "object",
|
|
2472
2467
|
"required": [
|
|
@@ -2525,6 +2520,10 @@
|
|
|
2525
2520
|
"description": "Task token to approve/cancel the bulk automation job",
|
|
2526
2521
|
"example": "8c086140-f33e-4bb7-a993-50c0f2402c7b"
|
|
2527
2522
|
},
|
|
2523
|
+
"report_file_entity_id": {
|
|
2524
|
+
"type": "string",
|
|
2525
|
+
"description": "Entity ID of the report file entity"
|
|
2526
|
+
},
|
|
2528
2527
|
"execution_summary": {
|
|
2529
2528
|
"type": "array",
|
|
2530
2529
|
"description": "List of entities & their automation execution id & status",
|
|
@@ -2545,6 +2544,9 @@
|
|
|
2545
2544
|
"entity_id": {
|
|
2546
2545
|
"$ref": "#/components/schemas/EntityId"
|
|
2547
2546
|
},
|
|
2547
|
+
"entity_schema": {
|
|
2548
|
+
"type": "string"
|
|
2549
|
+
},
|
|
2548
2550
|
"execution_id": {
|
|
2549
2551
|
"$ref": "#/components/schemas/AutomationExecutionId"
|
|
2550
2552
|
},
|