@epilot/automation-client 2.17.2 → 2.17.3
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 +7 -2
- package/dist/openapi.json +7 -1
- package/package.json +2 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
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})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -1903,7 +1903,14 @@ declare namespace Components {
|
|
|
1903
1903
|
id?: string; // uuid
|
|
1904
1904
|
type: "flows_trigger";
|
|
1905
1905
|
configuration: {
|
|
1906
|
+
/**
|
|
1907
|
+
* ID of the flow that triggers the automation
|
|
1908
|
+
*/
|
|
1906
1909
|
source_id: string; // uuid
|
|
1910
|
+
/**
|
|
1911
|
+
* Certain flows can be triggered automatically by a journey, this is the ID of that journey
|
|
1912
|
+
*/
|
|
1913
|
+
journey_id?: string; // uuid
|
|
1907
1914
|
};
|
|
1908
1915
|
}
|
|
1909
1916
|
export interface FrontendSubmitTrigger {
|
|
@@ -3643,7 +3650,6 @@ declare namespace Paths {
|
|
|
3643
3650
|
}
|
|
3644
3651
|
}
|
|
3645
3652
|
|
|
3646
|
-
|
|
3647
3653
|
export interface OperationMethods {
|
|
3648
3654
|
/**
|
|
3649
3655
|
* searchFlows - searchFlows
|
|
@@ -3958,7 +3964,6 @@ export interface PathsDictionary {
|
|
|
3958
3964
|
|
|
3959
3965
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
3960
3966
|
|
|
3961
|
-
|
|
3962
3967
|
export type ActionCondition = Components.Schemas.ActionCondition;
|
|
3963
3968
|
export type ActionSchedule = Components.Schemas.ActionSchedule;
|
|
3964
3969
|
export type ActionScheduleSource = Components.Schemas.ActionScheduleSource;
|
package/dist/openapi.json
CHANGED
|
@@ -2989,7 +2989,13 @@
|
|
|
2989
2989
|
"properties": {
|
|
2990
2990
|
"source_id": {
|
|
2991
2991
|
"type": "string",
|
|
2992
|
-
"format": "uuid"
|
|
2992
|
+
"format": "uuid",
|
|
2993
|
+
"description": "ID of the flow that triggers the automation"
|
|
2994
|
+
},
|
|
2995
|
+
"journey_id": {
|
|
2996
|
+
"type": "string",
|
|
2997
|
+
"format": "uuid",
|
|
2998
|
+
"description": "Certain flows can be triggered automatically by a journey, this is the ID of that journey"
|
|
2993
2999
|
}
|
|
2994
3000
|
},
|
|
2995
3001
|
"required": [
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/automation-client",
|
|
3
|
-
"version": "2.17.
|
|
3
|
+
"version": "2.17.3",
|
|
4
4
|
"description": "Client library for epilot automation API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"author": "epilot GmbH",
|
|
8
8
|
"license": "MIT",
|
|
9
|
+
"private": false,
|
|
9
10
|
"repository": {
|
|
10
11
|
"type": "git",
|
|
11
12
|
"url": "git+https://github.com/epilot-dev/sdk-js.git",
|