@epilot/automation-client 2.14.8 → 2.14.10
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/definition.js +1 -1
- package/dist/openapi-runtime.json +14 -1
- package/dist/openapi.d.ts +236 -3
- package/dist/openapi.json +144 -11
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={914:function(e,t,o){var
|
|
1
|
+
(()=>{"use strict";var e={914:function(e,t,o){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=n(o(240));t.default=r.default},240:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"paths":{"/v1/automation/flows":{"get":{"operationId":"searchFlows","parameters":[{"name":"schema","in":"query"},{"name":"size","in":"query"},{"name":"from","in":"query"},{"name":"trigger_source_id","in":"query"}],"responses":{}},"post":{"operationId":"createFlow","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/automation/flows/{flow_id}":{"get":{"operationId":"getFlow","parameters":[{"name":"flow_id","in":"path","required":true}],"responses":{}},"put":{"operationId":"putFlow","parameters":[{"name":"flow_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteFlow","parameters":[{"name":"flow_id","in":"path","required":true}],"responses":{}}},"/v1/automation/executions":{"get":{"operationId":"getExecutions","parameters":[{"name":"entity_id","in":"query"},{"name":"size","in":"query"},{"name":"from","in":"query"}],"responses":{}},"post":{"operationId":"startExecution","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/automation/executions/bulk-jobs":{"post":{"operationId":"bulkTriggerExecutions","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/automation/executions/bulk-jobs/{job_id}":{"get":{"operationId":"getBulkJob","parameters":[{"name":"job_id","in":"path","required":true}],"responses":{}},"patch":{"operationId":"patchBulkJob","parameters":[{"name":"job_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/automation/executions/{execution_id}":{"get":{"operationId":"getExecution","parameters":[{"name":"execution_id","in":"path","required":true}],"responses":{}},"delete":{"operationId":"cancelExecution","parameters":[{"name":"execution_id","in":"path","required":true}],"responses":{}}},"/v1/automation/executions/{execution_id}/{action_id}/retrigger":{"post":{"operationId":"retriggerAction","parameters":[{"name":"execution_id","in":"path","required":true},{"name":"action_id","in":"path","required":true}],"requestBody":{"required":false,"content":{"application/json":{}}},"responses":{}}},"/v1/automation/public/executions:resume":{"post":{"operationId":"resumeExecutionWithToken","requestBody":{"content":{"application/json":{}}},"responses":{}}}},"components":{"responses":{"NotFoundError":{"content":{"application/json":{}}},"ForbiddenError":{"content":{"application/json":{}}}}},"servers":[{"url":"https://automation.sls.epilot.io"}]}')}},t={},o=function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,o),i.exports}(914),n=exports;for(var r in o)n[r]=o[r];o.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
|
|
@@ -207,7 +207,20 @@
|
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
|
-
"components": {
|
|
210
|
+
"components": {
|
|
211
|
+
"responses": {
|
|
212
|
+
"NotFoundError": {
|
|
213
|
+
"content": {
|
|
214
|
+
"application/json": {}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"ForbiddenError": {
|
|
218
|
+
"content": {
|
|
219
|
+
"application/json": {}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
},
|
|
211
224
|
"servers": [
|
|
212
225
|
{
|
|
213
226
|
"url": "https://automation.sls.epilot.io"
|
package/dist/openapi.d.ts
CHANGED
|
@@ -9,6 +9,46 @@ import type {
|
|
|
9
9
|
} from 'openapi-client-axios';
|
|
10
10
|
|
|
11
11
|
declare namespace Components {
|
|
12
|
+
namespace Responses {
|
|
13
|
+
/**
|
|
14
|
+
* example:
|
|
15
|
+
* {
|
|
16
|
+
* "status": 403,
|
|
17
|
+
* "error": "Forbidden"
|
|
18
|
+
* }
|
|
19
|
+
*/
|
|
20
|
+
export interface ForbiddenError {
|
|
21
|
+
/**
|
|
22
|
+
* The HTTP status code of the error
|
|
23
|
+
* example:
|
|
24
|
+
* 400
|
|
25
|
+
*/
|
|
26
|
+
status?: number;
|
|
27
|
+
/**
|
|
28
|
+
* The error message
|
|
29
|
+
*/
|
|
30
|
+
error?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* example:
|
|
34
|
+
* {
|
|
35
|
+
* "status": 404,
|
|
36
|
+
* "error": "Not Found"
|
|
37
|
+
* }
|
|
38
|
+
*/
|
|
39
|
+
export interface NotFoundError {
|
|
40
|
+
/**
|
|
41
|
+
* The HTTP status code of the error
|
|
42
|
+
* example:
|
|
43
|
+
* 400
|
|
44
|
+
*/
|
|
45
|
+
status?: number;
|
|
46
|
+
/**
|
|
47
|
+
* The error message
|
|
48
|
+
*/
|
|
49
|
+
error?: string;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
12
52
|
namespace Schemas {
|
|
13
53
|
export interface ActionCondition {
|
|
14
54
|
id?: string;
|
|
@@ -62,8 +102,8 @@ declare namespace Components {
|
|
|
62
102
|
*/
|
|
63
103
|
id: string;
|
|
64
104
|
origin: "trigger" | "action" | "action_task" | "automation";
|
|
65
|
-
schema
|
|
66
|
-
attribute
|
|
105
|
+
schema?: string;
|
|
106
|
+
attribute?: string;
|
|
67
107
|
}
|
|
68
108
|
/**
|
|
69
109
|
* example:
|
|
@@ -1493,6 +1533,18 @@ declare namespace Components {
|
|
|
1493
1533
|
context?: string;
|
|
1494
1534
|
id?: string;
|
|
1495
1535
|
}
|
|
1536
|
+
export interface ErrorObject {
|
|
1537
|
+
/**
|
|
1538
|
+
* The HTTP status code of the error
|
|
1539
|
+
* example:
|
|
1540
|
+
* 400
|
|
1541
|
+
*/
|
|
1542
|
+
status?: number;
|
|
1543
|
+
/**
|
|
1544
|
+
* The error message
|
|
1545
|
+
*/
|
|
1546
|
+
error?: string;
|
|
1547
|
+
}
|
|
1496
1548
|
export interface ErrorOutput {
|
|
1497
1549
|
error_code: ErrorCode;
|
|
1498
1550
|
error_reason: string;
|
|
@@ -2133,6 +2185,12 @@ declare namespace Components {
|
|
|
2133
2185
|
*/
|
|
2134
2186
|
schedule_id?: string;
|
|
2135
2187
|
}
|
|
2188
|
+
export interface SendEmailCondition {
|
|
2189
|
+
_equals?: {
|
|
2190
|
+
source?: string;
|
|
2191
|
+
value?: string;
|
|
2192
|
+
};
|
|
2193
|
+
}
|
|
2136
2194
|
export interface SendEmailConfig {
|
|
2137
2195
|
email_template_id?: string;
|
|
2138
2196
|
language_code?: "de" | "en";
|
|
@@ -2199,6 +2257,10 @@ declare namespace Components {
|
|
|
2199
2257
|
self?: boolean;
|
|
2200
2258
|
};
|
|
2201
2259
|
}[];
|
|
2260
|
+
/**
|
|
2261
|
+
* Conditions necessary to send out email. Otherwise it will be skipped
|
|
2262
|
+
*/
|
|
2263
|
+
conditions?: SendEmailCondition[];
|
|
2202
2264
|
}
|
|
2203
2265
|
export interface SetValueMapper {
|
|
2204
2266
|
mode: /**
|
|
@@ -2633,6 +2695,14 @@ declare namespace Paths {
|
|
|
2633
2695
|
export type RequestBody = Components.Schemas.BulkTriggerRequest;
|
|
2634
2696
|
namespace Responses {
|
|
2635
2697
|
export type $202 = Components.Schemas.BulkTriggerJob;
|
|
2698
|
+
export type $403 = /**
|
|
2699
|
+
* example:
|
|
2700
|
+
* {
|
|
2701
|
+
* "status": 403,
|
|
2702
|
+
* "error": "Forbidden"
|
|
2703
|
+
* }
|
|
2704
|
+
*/
|
|
2705
|
+
Components.Responses.ForbiddenError;
|
|
2636
2706
|
}
|
|
2637
2707
|
}
|
|
2638
2708
|
namespace CancelExecution {
|
|
@@ -2648,12 +2718,36 @@ declare namespace Paths {
|
|
|
2648
2718
|
}
|
|
2649
2719
|
namespace Responses {
|
|
2650
2720
|
export type $200 = Components.Schemas.AutomationExecution;
|
|
2721
|
+
export type $403 = /**
|
|
2722
|
+
* example:
|
|
2723
|
+
* {
|
|
2724
|
+
* "status": 403,
|
|
2725
|
+
* "error": "Forbidden"
|
|
2726
|
+
* }
|
|
2727
|
+
*/
|
|
2728
|
+
Components.Responses.ForbiddenError;
|
|
2729
|
+
export type $404 = /**
|
|
2730
|
+
* example:
|
|
2731
|
+
* {
|
|
2732
|
+
* "status": 404,
|
|
2733
|
+
* "error": "Not Found"
|
|
2734
|
+
* }
|
|
2735
|
+
*/
|
|
2736
|
+
Components.Responses.NotFoundError;
|
|
2651
2737
|
}
|
|
2652
2738
|
}
|
|
2653
2739
|
namespace CreateFlow {
|
|
2654
2740
|
export type RequestBody = Components.Schemas.AutomationFlow;
|
|
2655
2741
|
namespace Responses {
|
|
2656
2742
|
export type $201 = Components.Schemas.AutomationFlow;
|
|
2743
|
+
export type $403 = /**
|
|
2744
|
+
* example:
|
|
2745
|
+
* {
|
|
2746
|
+
* "status": 403,
|
|
2747
|
+
* "error": "Forbidden"
|
|
2748
|
+
* }
|
|
2749
|
+
*/
|
|
2750
|
+
Components.Responses.ForbiddenError;
|
|
2657
2751
|
}
|
|
2658
2752
|
}
|
|
2659
2753
|
namespace DeleteFlow {
|
|
@@ -2668,7 +2762,24 @@ declare namespace Paths {
|
|
|
2668
2762
|
flow_id: Parameters.FlowId;
|
|
2669
2763
|
}
|
|
2670
2764
|
namespace Responses {
|
|
2671
|
-
export
|
|
2765
|
+
export interface $200 {
|
|
2766
|
+
}
|
|
2767
|
+
export type $403 = /**
|
|
2768
|
+
* example:
|
|
2769
|
+
* {
|
|
2770
|
+
* "status": 403,
|
|
2771
|
+
* "error": "Forbidden"
|
|
2772
|
+
* }
|
|
2773
|
+
*/
|
|
2774
|
+
Components.Responses.ForbiddenError;
|
|
2775
|
+
export type $404 = /**
|
|
2776
|
+
* example:
|
|
2777
|
+
* {
|
|
2778
|
+
* "status": 404,
|
|
2779
|
+
* "error": "Not Found"
|
|
2780
|
+
* }
|
|
2781
|
+
*/
|
|
2782
|
+
Components.Responses.NotFoundError;
|
|
2672
2783
|
}
|
|
2673
2784
|
}
|
|
2674
2785
|
namespace GetBulkJob {
|
|
@@ -2685,6 +2796,22 @@ declare namespace Paths {
|
|
|
2685
2796
|
}
|
|
2686
2797
|
namespace Responses {
|
|
2687
2798
|
export type $200 = Components.Schemas.BulkTriggerJob;
|
|
2799
|
+
export type $403 = /**
|
|
2800
|
+
* example:
|
|
2801
|
+
* {
|
|
2802
|
+
* "status": 403,
|
|
2803
|
+
* "error": "Forbidden"
|
|
2804
|
+
* }
|
|
2805
|
+
*/
|
|
2806
|
+
Components.Responses.ForbiddenError;
|
|
2807
|
+
export type $404 = /**
|
|
2808
|
+
* example:
|
|
2809
|
+
* {
|
|
2810
|
+
* "status": 404,
|
|
2811
|
+
* "error": "Not Found"
|
|
2812
|
+
* }
|
|
2813
|
+
*/
|
|
2814
|
+
Components.Responses.NotFoundError;
|
|
2688
2815
|
}
|
|
2689
2816
|
}
|
|
2690
2817
|
namespace GetExecution {
|
|
@@ -2700,6 +2827,22 @@ declare namespace Paths {
|
|
|
2700
2827
|
}
|
|
2701
2828
|
namespace Responses {
|
|
2702
2829
|
export type $200 = Components.Schemas.AutomationExecution;
|
|
2830
|
+
export type $403 = /**
|
|
2831
|
+
* example:
|
|
2832
|
+
* {
|
|
2833
|
+
* "status": 403,
|
|
2834
|
+
* "error": "Forbidden"
|
|
2835
|
+
* }
|
|
2836
|
+
*/
|
|
2837
|
+
Components.Responses.ForbiddenError;
|
|
2838
|
+
export type $404 = /**
|
|
2839
|
+
* example:
|
|
2840
|
+
* {
|
|
2841
|
+
* "status": 404,
|
|
2842
|
+
* "error": "Not Found"
|
|
2843
|
+
* }
|
|
2844
|
+
*/
|
|
2845
|
+
Components.Responses.NotFoundError;
|
|
2703
2846
|
}
|
|
2704
2847
|
}
|
|
2705
2848
|
namespace GetExecutions {
|
|
@@ -2719,6 +2862,14 @@ declare namespace Paths {
|
|
|
2719
2862
|
}
|
|
2720
2863
|
namespace Responses {
|
|
2721
2864
|
export type $200 = Components.Schemas.GetExecutionsResp;
|
|
2865
|
+
export type $403 = /**
|
|
2866
|
+
* example:
|
|
2867
|
+
* {
|
|
2868
|
+
* "status": 403,
|
|
2869
|
+
* "error": "Forbidden"
|
|
2870
|
+
* }
|
|
2871
|
+
*/
|
|
2872
|
+
Components.Responses.ForbiddenError;
|
|
2722
2873
|
}
|
|
2723
2874
|
}
|
|
2724
2875
|
namespace GetFlow {
|
|
@@ -2734,6 +2885,22 @@ declare namespace Paths {
|
|
|
2734
2885
|
}
|
|
2735
2886
|
namespace Responses {
|
|
2736
2887
|
export type $200 = Components.Schemas.AutomationFlow;
|
|
2888
|
+
export type $403 = /**
|
|
2889
|
+
* example:
|
|
2890
|
+
* {
|
|
2891
|
+
* "status": 403,
|
|
2892
|
+
* "error": "Forbidden"
|
|
2893
|
+
* }
|
|
2894
|
+
*/
|
|
2895
|
+
Components.Responses.ForbiddenError;
|
|
2896
|
+
export type $404 = /**
|
|
2897
|
+
* example:
|
|
2898
|
+
* {
|
|
2899
|
+
* "status": 404,
|
|
2900
|
+
* "error": "Not Found"
|
|
2901
|
+
* }
|
|
2902
|
+
*/
|
|
2903
|
+
Components.Responses.NotFoundError;
|
|
2737
2904
|
}
|
|
2738
2905
|
}
|
|
2739
2906
|
namespace PatchBulkJob {
|
|
@@ -2751,6 +2918,22 @@ declare namespace Paths {
|
|
|
2751
2918
|
export type RequestBody = Components.Schemas.PatchBulkJobRequest;
|
|
2752
2919
|
namespace Responses {
|
|
2753
2920
|
export type $200 = Components.Schemas.BulkTriggerJob;
|
|
2921
|
+
export type $403 = /**
|
|
2922
|
+
* example:
|
|
2923
|
+
* {
|
|
2924
|
+
* "status": 403,
|
|
2925
|
+
* "error": "Forbidden"
|
|
2926
|
+
* }
|
|
2927
|
+
*/
|
|
2928
|
+
Components.Responses.ForbiddenError;
|
|
2929
|
+
export type $404 = /**
|
|
2930
|
+
* example:
|
|
2931
|
+
* {
|
|
2932
|
+
* "status": 404,
|
|
2933
|
+
* "error": "Not Found"
|
|
2934
|
+
* }
|
|
2935
|
+
*/
|
|
2936
|
+
Components.Responses.NotFoundError;
|
|
2754
2937
|
}
|
|
2755
2938
|
}
|
|
2756
2939
|
namespace PutFlow {
|
|
@@ -2767,6 +2950,14 @@ declare namespace Paths {
|
|
|
2767
2950
|
export type RequestBody = Components.Schemas.AutomationFlow;
|
|
2768
2951
|
namespace Responses {
|
|
2769
2952
|
export type $200 = Components.Schemas.AutomationFlow;
|
|
2953
|
+
export type $403 = /**
|
|
2954
|
+
* example:
|
|
2955
|
+
* {
|
|
2956
|
+
* "status": 403,
|
|
2957
|
+
* "error": "Forbidden"
|
|
2958
|
+
* }
|
|
2959
|
+
*/
|
|
2960
|
+
Components.Responses.ForbiddenError;
|
|
2770
2961
|
}
|
|
2771
2962
|
}
|
|
2772
2963
|
namespace ResumeExecutionWithToken {
|
|
@@ -2775,6 +2966,22 @@ declare namespace Paths {
|
|
|
2775
2966
|
export type $200 = Components.Schemas.ResumeResp;
|
|
2776
2967
|
export interface $400 {
|
|
2777
2968
|
}
|
|
2969
|
+
export type $403 = /**
|
|
2970
|
+
* example:
|
|
2971
|
+
* {
|
|
2972
|
+
* "status": 403,
|
|
2973
|
+
* "error": "Forbidden"
|
|
2974
|
+
* }
|
|
2975
|
+
*/
|
|
2976
|
+
Components.Responses.ForbiddenError;
|
|
2977
|
+
export type $404 = /**
|
|
2978
|
+
* example:
|
|
2979
|
+
* {
|
|
2980
|
+
* "status": 404,
|
|
2981
|
+
* "error": "Not Found"
|
|
2982
|
+
* }
|
|
2983
|
+
*/
|
|
2984
|
+
Components.Responses.NotFoundError;
|
|
2778
2985
|
}
|
|
2779
2986
|
}
|
|
2780
2987
|
namespace RetriggerAction {
|
|
@@ -2798,6 +3005,22 @@ declare namespace Paths {
|
|
|
2798
3005
|
namespace Responses {
|
|
2799
3006
|
export interface $200 {
|
|
2800
3007
|
}
|
|
3008
|
+
export type $403 = /**
|
|
3009
|
+
* example:
|
|
3010
|
+
* {
|
|
3011
|
+
* "status": 403,
|
|
3012
|
+
* "error": "Forbidden"
|
|
3013
|
+
* }
|
|
3014
|
+
*/
|
|
3015
|
+
Components.Responses.ForbiddenError;
|
|
3016
|
+
export type $404 = /**
|
|
3017
|
+
* example:
|
|
3018
|
+
* {
|
|
3019
|
+
* "status": 404,
|
|
3020
|
+
* "error": "Not Found"
|
|
3021
|
+
* }
|
|
3022
|
+
*/
|
|
3023
|
+
Components.Responses.NotFoundError;
|
|
2801
3024
|
}
|
|
2802
3025
|
}
|
|
2803
3026
|
namespace SearchFlows {
|
|
@@ -2837,6 +3060,14 @@ declare namespace Paths {
|
|
|
2837
3060
|
export type RequestBody = Components.Schemas.StartExecutionRequest;
|
|
2838
3061
|
namespace Responses {
|
|
2839
3062
|
export type $201 = Components.Schemas.AutomationExecution;
|
|
3063
|
+
export type $403 = /**
|
|
3064
|
+
* example:
|
|
3065
|
+
* {
|
|
3066
|
+
* "status": 403,
|
|
3067
|
+
* "error": "Forbidden"
|
|
3068
|
+
* }
|
|
3069
|
+
*/
|
|
3070
|
+
Components.Responses.ForbiddenError;
|
|
2840
3071
|
}
|
|
2841
3072
|
}
|
|
2842
3073
|
}
|
|
@@ -3200,6 +3431,7 @@ export type EntityRef = Components.Schemas.EntityRef;
|
|
|
3200
3431
|
export type EqualsIgnoreCaseCondition = Components.Schemas.EqualsIgnoreCaseCondition;
|
|
3201
3432
|
export type ErrorCode = Components.Schemas.ErrorCode;
|
|
3202
3433
|
export type ErrorDetail = Components.Schemas.ErrorDetail;
|
|
3434
|
+
export type ErrorObject = Components.Schemas.ErrorObject;
|
|
3203
3435
|
export type ErrorOutput = Components.Schemas.ErrorOutput;
|
|
3204
3436
|
export type ExecItem = Components.Schemas.ExecItem;
|
|
3205
3437
|
export type ExecutionStatus = Components.Schemas.ExecutionStatus;
|
|
@@ -3235,6 +3467,7 @@ export type RetryStrategy = Components.Schemas.RetryStrategy;
|
|
|
3235
3467
|
export type SearchAutomationsResp = Components.Schemas.SearchAutomationsResp;
|
|
3236
3468
|
export type SendEmailAction = Components.Schemas.SendEmailAction;
|
|
3237
3469
|
export type SendEmailActionConfig = Components.Schemas.SendEmailActionConfig;
|
|
3470
|
+
export type SendEmailCondition = Components.Schemas.SendEmailCondition;
|
|
3238
3471
|
export type SendEmailConfig = Components.Schemas.SendEmailConfig;
|
|
3239
3472
|
export type SetValueMapper = Components.Schemas.SetValueMapper;
|
|
3240
3473
|
export type StartExecutionRequest = Components.Schemas.StartExecutionRequest;
|
package/dist/openapi.json
CHANGED
|
@@ -111,6 +111,9 @@
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
+
},
|
|
115
|
+
"403": {
|
|
116
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
114
117
|
}
|
|
115
118
|
}
|
|
116
119
|
}
|
|
@@ -144,6 +147,12 @@
|
|
|
144
147
|
}
|
|
145
148
|
}
|
|
146
149
|
}
|
|
150
|
+
},
|
|
151
|
+
"403": {
|
|
152
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
153
|
+
},
|
|
154
|
+
"404": {
|
|
155
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
147
156
|
}
|
|
148
157
|
}
|
|
149
158
|
},
|
|
@@ -185,6 +194,9 @@
|
|
|
185
194
|
}
|
|
186
195
|
}
|
|
187
196
|
}
|
|
197
|
+
},
|
|
198
|
+
"403": {
|
|
199
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
188
200
|
}
|
|
189
201
|
}
|
|
190
202
|
},
|
|
@@ -208,14 +220,13 @@
|
|
|
208
220
|
],
|
|
209
221
|
"responses": {
|
|
210
222
|
"200": {
|
|
211
|
-
"description": "
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
}
|
|
223
|
+
"description": "Flow deleted successfully"
|
|
224
|
+
},
|
|
225
|
+
"403": {
|
|
226
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
227
|
+
},
|
|
228
|
+
"404": {
|
|
229
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
219
230
|
}
|
|
220
231
|
}
|
|
221
232
|
}
|
|
@@ -265,6 +276,9 @@
|
|
|
265
276
|
}
|
|
266
277
|
}
|
|
267
278
|
}
|
|
279
|
+
},
|
|
280
|
+
"403": {
|
|
281
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
268
282
|
}
|
|
269
283
|
}
|
|
270
284
|
},
|
|
@@ -295,6 +309,9 @@
|
|
|
295
309
|
}
|
|
296
310
|
}
|
|
297
311
|
}
|
|
312
|
+
},
|
|
313
|
+
"403": {
|
|
314
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
298
315
|
}
|
|
299
316
|
}
|
|
300
317
|
}
|
|
@@ -334,6 +351,9 @@
|
|
|
334
351
|
}
|
|
335
352
|
}
|
|
336
353
|
}
|
|
354
|
+
},
|
|
355
|
+
"403": {
|
|
356
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
337
357
|
}
|
|
338
358
|
}
|
|
339
359
|
}
|
|
@@ -366,6 +386,12 @@
|
|
|
366
386
|
}
|
|
367
387
|
}
|
|
368
388
|
}
|
|
389
|
+
},
|
|
390
|
+
"403": {
|
|
391
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
392
|
+
},
|
|
393
|
+
"404": {
|
|
394
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
369
395
|
}
|
|
370
396
|
}
|
|
371
397
|
},
|
|
@@ -409,6 +435,12 @@
|
|
|
409
435
|
}
|
|
410
436
|
}
|
|
411
437
|
}
|
|
438
|
+
},
|
|
439
|
+
"403": {
|
|
440
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
441
|
+
},
|
|
442
|
+
"404": {
|
|
443
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
412
444
|
}
|
|
413
445
|
}
|
|
414
446
|
}
|
|
@@ -441,6 +473,12 @@
|
|
|
441
473
|
}
|
|
442
474
|
}
|
|
443
475
|
}
|
|
476
|
+
},
|
|
477
|
+
"403": {
|
|
478
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
479
|
+
},
|
|
480
|
+
"404": {
|
|
481
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
444
482
|
}
|
|
445
483
|
}
|
|
446
484
|
},
|
|
@@ -471,6 +509,12 @@
|
|
|
471
509
|
}
|
|
472
510
|
}
|
|
473
511
|
}
|
|
512
|
+
},
|
|
513
|
+
"403": {
|
|
514
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
515
|
+
},
|
|
516
|
+
"404": {
|
|
517
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
474
518
|
}
|
|
475
519
|
}
|
|
476
520
|
}
|
|
@@ -517,6 +561,12 @@
|
|
|
517
561
|
"responses": {
|
|
518
562
|
"200": {
|
|
519
563
|
"description": "action re-triggered with success"
|
|
564
|
+
},
|
|
565
|
+
"403": {
|
|
566
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
567
|
+
},
|
|
568
|
+
"404": {
|
|
569
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
520
570
|
}
|
|
521
571
|
}
|
|
522
572
|
}
|
|
@@ -553,6 +603,12 @@
|
|
|
553
603
|
},
|
|
554
604
|
"400": {
|
|
555
605
|
"description": "execution could not be resumed"
|
|
606
|
+
},
|
|
607
|
+
"403": {
|
|
608
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
609
|
+
},
|
|
610
|
+
"404": {
|
|
611
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
556
612
|
}
|
|
557
613
|
}
|
|
558
614
|
}
|
|
@@ -1674,6 +1730,29 @@
|
|
|
1674
1730
|
"required": [
|
|
1675
1731
|
"email_template_id"
|
|
1676
1732
|
]
|
|
1733
|
+
},
|
|
1734
|
+
"conditions": {
|
|
1735
|
+
"type": "array",
|
|
1736
|
+
"description": "Conditions necessary to send out email. Otherwise it will be skipped",
|
|
1737
|
+
"items": {
|
|
1738
|
+
"$ref": "#/components/schemas/SendEmailCondition"
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
},
|
|
1743
|
+
"SendEmailCondition": {
|
|
1744
|
+
"type": "object",
|
|
1745
|
+
"properties": {
|
|
1746
|
+
"_equals": {
|
|
1747
|
+
"type": "object",
|
|
1748
|
+
"properties": {
|
|
1749
|
+
"source": {
|
|
1750
|
+
"type": "string"
|
|
1751
|
+
},
|
|
1752
|
+
"value": {
|
|
1753
|
+
"type": "string"
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1677
1756
|
}
|
|
1678
1757
|
}
|
|
1679
1758
|
},
|
|
@@ -2137,9 +2216,7 @@
|
|
|
2137
2216
|
},
|
|
2138
2217
|
"required": [
|
|
2139
2218
|
"id",
|
|
2140
|
-
"origin"
|
|
2141
|
-
"schema",
|
|
2142
|
-
"attribute"
|
|
2219
|
+
"origin"
|
|
2143
2220
|
]
|
|
2144
2221
|
},
|
|
2145
2222
|
"ActionSchedule": {
|
|
@@ -3306,6 +3383,62 @@
|
|
|
3306
3383
|
"execution",
|
|
3307
3384
|
"resumedAction"
|
|
3308
3385
|
]
|
|
3386
|
+
},
|
|
3387
|
+
"ErrorObject": {
|
|
3388
|
+
"type": "object",
|
|
3389
|
+
"properties": {
|
|
3390
|
+
"status": {
|
|
3391
|
+
"type": "integer",
|
|
3392
|
+
"description": "The HTTP status code of the error",
|
|
3393
|
+
"example": 400
|
|
3394
|
+
},
|
|
3395
|
+
"error": {
|
|
3396
|
+
"type": "string",
|
|
3397
|
+
"description": "The error message"
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
}
|
|
3401
|
+
},
|
|
3402
|
+
"responses": {
|
|
3403
|
+
"NotFoundError": {
|
|
3404
|
+
"description": "The requested resource was not found",
|
|
3405
|
+
"content": {
|
|
3406
|
+
"application/json": {
|
|
3407
|
+
"schema": {
|
|
3408
|
+
"allOf": [
|
|
3409
|
+
{
|
|
3410
|
+
"$ref": "#/components/schemas/ErrorObject"
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
"example": {
|
|
3414
|
+
"status": 404,
|
|
3415
|
+
"error": "Not Found"
|
|
3416
|
+
}
|
|
3417
|
+
}
|
|
3418
|
+
]
|
|
3419
|
+
}
|
|
3420
|
+
}
|
|
3421
|
+
}
|
|
3422
|
+
},
|
|
3423
|
+
"ForbiddenError": {
|
|
3424
|
+
"description": "The requested resource is forbidden",
|
|
3425
|
+
"content": {
|
|
3426
|
+
"application/json": {
|
|
3427
|
+
"schema": {
|
|
3428
|
+
"allOf": [
|
|
3429
|
+
{
|
|
3430
|
+
"$ref": "#/components/schemas/ErrorObject"
|
|
3431
|
+
},
|
|
3432
|
+
{
|
|
3433
|
+
"example": {
|
|
3434
|
+
"status": 403,
|
|
3435
|
+
"error": "Forbidden"
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
3438
|
+
]
|
|
3439
|
+
}
|
|
3440
|
+
}
|
|
3441
|
+
}
|
|
3309
3442
|
}
|
|
3310
3443
|
}
|
|
3311
3444
|
},
|