@epilot/automation-client 2.9.11 → 2.10.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 +6 -3
- package/dist/openapi.json +25 -2
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -1339,7 +1339,7 @@ declare namespace Components {
|
|
|
1339
1339
|
export interface EqualsIgnoreCaseCondition {
|
|
1340
1340
|
"equals-ignore-case"?: string;
|
|
1341
1341
|
}
|
|
1342
|
-
export type ErrorCode = "MAPPING_ERROR" | "REFRESH_RELATIONS_ERROR" | "DUPLICATE_ENTITY_ERROR" | "TRIGGER_WORKFLOW_ERROR" | "TIMEOUT_ERROR" | "BAD_CONFIG" | "INTERNAL_ERROR" | "TRIGGER_WEBHOOK_ERROR" | "TEMPLATE_ERROR";
|
|
1342
|
+
export type ErrorCode = "MAPPING_ERROR" | "REFRESH_RELATIONS_ERROR" | "DUPLICATE_ENTITY_ERROR" | "TRIGGER_WORKFLOW_ERROR" | "TIMEOUT_ERROR" | "BAD_CONFIG" | "INTERNAL_ERROR" | "TRIGGER_WEBHOOK_ERROR" | "TEMPLATE_ERROR" | "INVALID_PAYLOAD";
|
|
1343
1343
|
export interface ErrorDetail {
|
|
1344
1344
|
explanation: string;
|
|
1345
1345
|
context?: string;
|
|
@@ -1799,6 +1799,10 @@ declare namespace Components {
|
|
|
1799
1799
|
*/
|
|
1800
1800
|
ResumeToken;
|
|
1801
1801
|
}
|
|
1802
|
+
export interface ResumeResp {
|
|
1803
|
+
execution: AutomationExecution;
|
|
1804
|
+
resumedAction: AnyAction;
|
|
1805
|
+
}
|
|
1802
1806
|
/**
|
|
1803
1807
|
* A unique token to resume a paused automation execution
|
|
1804
1808
|
* example:
|
|
@@ -2513,8 +2517,7 @@ declare namespace Paths {
|
|
|
2513
2517
|
namespace ResumeExecutionWithToken {
|
|
2514
2518
|
export type RequestBody = Components.Schemas.ResumeReq;
|
|
2515
2519
|
namespace Responses {
|
|
2516
|
-
export
|
|
2517
|
-
}
|
|
2520
|
+
export type $200 = Components.Schemas.ResumeResp;
|
|
2518
2521
|
export interface $400 {
|
|
2519
2522
|
}
|
|
2520
2523
|
}
|
package/dist/openapi.json
CHANGED
|
@@ -424,7 +424,14 @@
|
|
|
424
424
|
},
|
|
425
425
|
"responses": {
|
|
426
426
|
"200": {
|
|
427
|
-
"description": "execution resumed with success"
|
|
427
|
+
"description": "execution resumed with success",
|
|
428
|
+
"content": {
|
|
429
|
+
"application/json": {
|
|
430
|
+
"schema": {
|
|
431
|
+
"$ref": "#/components/schemas/ResumeResp"
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
428
435
|
},
|
|
429
436
|
"400": {
|
|
430
437
|
"description": "execution could not be resumed"
|
|
@@ -773,7 +780,8 @@
|
|
|
773
780
|
"BAD_CONFIG",
|
|
774
781
|
"INTERNAL_ERROR",
|
|
775
782
|
"TRIGGER_WEBHOOK_ERROR",
|
|
776
|
-
"TEMPLATE_ERROR"
|
|
783
|
+
"TEMPLATE_ERROR",
|
|
784
|
+
"INVALID_PAYLOAD"
|
|
777
785
|
]
|
|
778
786
|
},
|
|
779
787
|
"ErrorDetail": {
|
|
@@ -2860,6 +2868,21 @@
|
|
|
2860
2868
|
"required": [
|
|
2861
2869
|
"resume_token"
|
|
2862
2870
|
]
|
|
2871
|
+
},
|
|
2872
|
+
"ResumeResp": {
|
|
2873
|
+
"type": "object",
|
|
2874
|
+
"properties": {
|
|
2875
|
+
"execution": {
|
|
2876
|
+
"$ref": "#/components/schemas/AutomationExecution"
|
|
2877
|
+
},
|
|
2878
|
+
"resumedAction": {
|
|
2879
|
+
"$ref": "#/components/schemas/AnyAction"
|
|
2880
|
+
}
|
|
2881
|
+
},
|
|
2882
|
+
"required": [
|
|
2883
|
+
"execution",
|
|
2884
|
+
"resumedAction"
|
|
2885
|
+
]
|
|
2863
2886
|
}
|
|
2864
2887
|
}
|
|
2865
2888
|
},
|