@epilot/automation-client 2.14.9 → 2.15.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.
@@ -1 +1 @@
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"}]},"post":{"operationId":"createFlow","requestBody":{"content":{"application/json":{}}}}},"/v1/automation/flows/{flow_id}":{"get":{"operationId":"getFlow","parameters":[{"name":"flow_id","in":"path","required":true}]},"put":{"operationId":"putFlow","parameters":[{"name":"flow_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}}},"delete":{"operationId":"deleteFlow","parameters":[{"name":"flow_id","in":"path","required":true}]}},"/v1/automation/executions":{"get":{"operationId":"getExecutions","parameters":[{"name":"entity_id","in":"query"},{"name":"size","in":"query"},{"name":"from","in":"query"}]},"post":{"operationId":"startExecution","requestBody":{"content":{"application/json":{}}}}},"/v1/automation/executions/bulk-jobs":{"post":{"operationId":"bulkTriggerExecutions","requestBody":{"content":{"application/json":{}}}}},"/v1/automation/executions/bulk-jobs/{job_id}":{"get":{"operationId":"getBulkJob","parameters":[{"name":"job_id","in":"path","required":true}]},"patch":{"operationId":"patchBulkJob","parameters":[{"name":"job_id","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}}}},"/v1/automation/executions/{execution_id}":{"get":{"operationId":"getExecution","parameters":[{"name":"execution_id","in":"path","required":true}]},"delete":{"operationId":"cancelExecution","parameters":[{"name":"execution_id","in":"path","required":true}]}},"/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":{}}}}},"/v1/automation/public/executions:resume":{"post":{"operationId":"resumeExecutionWithToken","requestBody":{"content":{"application/json":{}}}}}},"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})})();
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})})();
@@ -25,7 +25,8 @@
25
25
  "name": "trigger_source_id",
26
26
  "in": "query"
27
27
  }
28
- ]
28
+ ],
29
+ "responses": {}
29
30
  },
30
31
  "post": {
31
32
  "operationId": "createFlow",
@@ -33,7 +34,8 @@
33
34
  "content": {
34
35
  "application/json": {}
35
36
  }
36
- }
37
+ },
38
+ "responses": {}
37
39
  }
38
40
  },
39
41
  "/v1/automation/flows/{flow_id}": {
@@ -45,7 +47,8 @@
45
47
  "in": "path",
46
48
  "required": true
47
49
  }
48
- ]
50
+ ],
51
+ "responses": {}
49
52
  },
50
53
  "put": {
51
54
  "operationId": "putFlow",
@@ -60,7 +63,8 @@
60
63
  "content": {
61
64
  "application/json": {}
62
65
  }
63
- }
66
+ },
67
+ "responses": {}
64
68
  },
65
69
  "delete": {
66
70
  "operationId": "deleteFlow",
@@ -70,7 +74,8 @@
70
74
  "in": "path",
71
75
  "required": true
72
76
  }
73
- ]
77
+ ],
78
+ "responses": {}
74
79
  }
75
80
  },
76
81
  "/v1/automation/executions": {
@@ -89,7 +94,8 @@
89
94
  "name": "from",
90
95
  "in": "query"
91
96
  }
92
- ]
97
+ ],
98
+ "responses": {}
93
99
  },
94
100
  "post": {
95
101
  "operationId": "startExecution",
@@ -97,7 +103,8 @@
97
103
  "content": {
98
104
  "application/json": {}
99
105
  }
100
- }
106
+ },
107
+ "responses": {}
101
108
  }
102
109
  },
103
110
  "/v1/automation/executions/bulk-jobs": {
@@ -107,7 +114,8 @@
107
114
  "content": {
108
115
  "application/json": {}
109
116
  }
110
- }
117
+ },
118
+ "responses": {}
111
119
  }
112
120
  },
113
121
  "/v1/automation/executions/bulk-jobs/{job_id}": {
@@ -119,7 +127,8 @@
119
127
  "in": "path",
120
128
  "required": true
121
129
  }
122
- ]
130
+ ],
131
+ "responses": {}
123
132
  },
124
133
  "patch": {
125
134
  "operationId": "patchBulkJob",
@@ -134,7 +143,8 @@
134
143
  "content": {
135
144
  "application/json": {}
136
145
  }
137
- }
146
+ },
147
+ "responses": {}
138
148
  }
139
149
  },
140
150
  "/v1/automation/executions/{execution_id}": {
@@ -146,7 +156,8 @@
146
156
  "in": "path",
147
157
  "required": true
148
158
  }
149
- ]
159
+ ],
160
+ "responses": {}
150
161
  },
151
162
  "delete": {
152
163
  "operationId": "cancelExecution",
@@ -156,7 +167,8 @@
156
167
  "in": "path",
157
168
  "required": true
158
169
  }
159
- ]
170
+ ],
171
+ "responses": {}
160
172
  }
161
173
  },
162
174
  "/v1/automation/executions/{execution_id}/{action_id}/retrigger": {
@@ -179,7 +191,8 @@
179
191
  "content": {
180
192
  "application/json": {}
181
193
  }
182
- }
194
+ },
195
+ "responses": {}
183
196
  }
184
197
  },
185
198
  "/v1/automation/public/executions:resume": {
@@ -189,7 +202,8 @@
189
202
  "content": {
190
203
  "application/json": {}
191
204
  }
192
- }
205
+ },
206
+ "responses": {}
193
207
  }
194
208
  }
195
209
  },
package/dist/openapi.d.ts CHANGED
@@ -2186,8 +2186,9 @@ declare namespace Components {
2186
2186
  schedule_id?: string;
2187
2187
  }
2188
2188
  export interface SendEmailCondition {
2189
- _exists?: {
2189
+ _equals?: {
2190
2190
  source?: string;
2191
+ value?: string;
2191
2192
  };
2192
2193
  }
2193
2194
  export interface SendEmailConfig {
package/dist/openapi.json CHANGED
@@ -1743,11 +1743,14 @@
1743
1743
  "SendEmailCondition": {
1744
1744
  "type": "object",
1745
1745
  "properties": {
1746
- "_exists": {
1746
+ "_equals": {
1747
1747
  "type": "object",
1748
1748
  "properties": {
1749
1749
  "source": {
1750
1750
  "type": "string"
1751
+ },
1752
+ "value": {
1753
+ "type": "string"
1751
1754
  }
1752
1755
  }
1753
1756
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/automation-client",
3
- "version": "2.14.9",
3
+ "version": "2.15.0",
4
4
  "description": "Client library for epilot automation API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",