@epilot/automation-client 2.22.0 → 2.22.2
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.d.ts +11 -0
- package/dist/openapi.json +14 -1
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
1
|
+
(()=>{"use strict";var e={466: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"},{"name":"include_flows","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"},{"name":"include_flows","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":{}}},"/v1/automation/executions/{execution_id}/schedules/{schedule_id}":{"delete":{"operationId":"cancelSchedule","parameters":[{"name":"execution_id","in":"path","required":true},{"name":"schedule_id","in":"path","required":true}],"responses":{}}}},"components":{"responses":{"NotFoundError":{"content":{"application/json":{}}},"ForbiddenError":{"content":{"application/json":{}}}}},"servers":[{"url":"https://automation.sls.epilot.io"}]}')},757: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(466));t.default=r.default}},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}(757),n=exports;for(var r in o)n[r]=o[r];o.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -2192,7 +2192,14 @@ declare namespace Components {
|
|
|
2192
2192
|
id?: string; // uuid
|
|
2193
2193
|
type: "flows_trigger";
|
|
2194
2194
|
configuration: {
|
|
2195
|
+
/**
|
|
2196
|
+
* The ID of the workflow v2 that triggers this automation
|
|
2197
|
+
*/
|
|
2195
2198
|
source_id: string; // uuid
|
|
2199
|
+
/**
|
|
2200
|
+
* When Journeys are linked to Workflows V2 as Journey Automations, this field will contain the ID of the Journey
|
|
2201
|
+
*/
|
|
2202
|
+
journey_id?: string; // uuid
|
|
2196
2203
|
};
|
|
2197
2204
|
}
|
|
2198
2205
|
export interface FrontendSubmitTrigger {
|
|
@@ -3387,6 +3394,10 @@ declare namespace Components {
|
|
|
3387
3394
|
schedule_id?: string;
|
|
3388
3395
|
}
|
|
3389
3396
|
export interface TriggerWebhookConfig {
|
|
3397
|
+
/**
|
|
3398
|
+
* The latest webhook event_id for an execution of this action
|
|
3399
|
+
*/
|
|
3400
|
+
event_id?: string;
|
|
3390
3401
|
entity_sources?: string[];
|
|
3391
3402
|
target_webhook_id?: string;
|
|
3392
3403
|
/**
|
package/dist/openapi.json
CHANGED
|
@@ -2531,6 +2531,10 @@
|
|
|
2531
2531
|
"TriggerWebhookConfig": {
|
|
2532
2532
|
"type": "object",
|
|
2533
2533
|
"properties": {
|
|
2534
|
+
"event_id": {
|
|
2535
|
+
"type": "string",
|
|
2536
|
+
"description": "The latest webhook event_id for an execution of this action"
|
|
2537
|
+
},
|
|
2534
2538
|
"entity_sources": {
|
|
2535
2539
|
"type": "array",
|
|
2536
2540
|
"items": {
|
|
@@ -3611,7 +3615,13 @@
|
|
|
3611
3615
|
"properties": {
|
|
3612
3616
|
"source_id": {
|
|
3613
3617
|
"type": "string",
|
|
3614
|
-
"format": "uuid"
|
|
3618
|
+
"format": "uuid",
|
|
3619
|
+
"description": "The ID of the workflow v2 that triggers this automation"
|
|
3620
|
+
},
|
|
3621
|
+
"journey_id": {
|
|
3622
|
+
"type": "string",
|
|
3623
|
+
"format": "uuid",
|
|
3624
|
+
"description": "When Journeys are linked to Workflows V2 as Journey Automations, this field will contain the ID of the Journey"
|
|
3615
3625
|
}
|
|
3616
3626
|
},
|
|
3617
3627
|
"required": [
|
|
@@ -4520,6 +4530,9 @@
|
|
|
4520
4530
|
}
|
|
4521
4531
|
},
|
|
4522
4532
|
"servers": [
|
|
4533
|
+
{
|
|
4534
|
+
"url": "https://automation.sls.epilot.io"
|
|
4535
|
+
},
|
|
4523
4536
|
{
|
|
4524
4537
|
"url": "https://automation.sls.epilot.io"
|
|
4525
4538
|
}
|