@epilot/automation-client 2.14.0 → 2.14.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/openapi.d.ts +5 -2
- package/dist/openapi.json +24 -2
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -44,6 +44,9 @@ declare namespace Components {
|
|
|
44
44
|
* The id of the configured scheduler which will be added on automation triggered
|
|
45
45
|
*/
|
|
46
46
|
configuredScheduleId?: string;
|
|
47
|
+
numberOfUnits?: number;
|
|
48
|
+
timePeriod?: "minutes" | "hours" | "days" | "weeks" | "months";
|
|
49
|
+
timeRelation?: "after" | "before";
|
|
47
50
|
source: /* The source of the schedule_at timestamp that will be used to schedule the action */ ActionScheduleSource;
|
|
48
51
|
}
|
|
49
52
|
/**
|
|
@@ -51,10 +54,10 @@ declare namespace Components {
|
|
|
51
54
|
*/
|
|
52
55
|
export interface ActionScheduleSource {
|
|
53
56
|
/**
|
|
54
|
-
* The
|
|
57
|
+
* The id of the action or trigger
|
|
55
58
|
*/
|
|
56
59
|
id: string;
|
|
57
|
-
origin: "trigger" | "action";
|
|
60
|
+
origin: "trigger" | "action" | "action_task" | "automation";
|
|
58
61
|
schema: string;
|
|
59
62
|
attribute: string;
|
|
60
63
|
}
|
package/dist/openapi.json
CHANGED
|
@@ -2081,13 +2081,15 @@
|
|
|
2081
2081
|
"properties": {
|
|
2082
2082
|
"id": {
|
|
2083
2083
|
"type": "string",
|
|
2084
|
-
"description": "The
|
|
2084
|
+
"description": "The id of the action or trigger"
|
|
2085
2085
|
},
|
|
2086
2086
|
"origin": {
|
|
2087
2087
|
"type": "string",
|
|
2088
2088
|
"enum": [
|
|
2089
2089
|
"trigger",
|
|
2090
|
-
"action"
|
|
2090
|
+
"action",
|
|
2091
|
+
"action_task",
|
|
2092
|
+
"automation"
|
|
2091
2093
|
]
|
|
2092
2094
|
},
|
|
2093
2095
|
"schema": {
|
|
@@ -2115,6 +2117,26 @@
|
|
|
2115
2117
|
"type": "string",
|
|
2116
2118
|
"description": "The id of the configured scheduler which will be added on automation triggered"
|
|
2117
2119
|
},
|
|
2120
|
+
"numberOfUnits": {
|
|
2121
|
+
"type": "number"
|
|
2122
|
+
},
|
|
2123
|
+
"timePeriod": {
|
|
2124
|
+
"type": "string",
|
|
2125
|
+
"enum": [
|
|
2126
|
+
"minutes",
|
|
2127
|
+
"hours",
|
|
2128
|
+
"days",
|
|
2129
|
+
"weeks",
|
|
2130
|
+
"months"
|
|
2131
|
+
]
|
|
2132
|
+
},
|
|
2133
|
+
"timeRelation": {
|
|
2134
|
+
"type": "string",
|
|
2135
|
+
"enum": [
|
|
2136
|
+
"after",
|
|
2137
|
+
"before"
|
|
2138
|
+
]
|
|
2139
|
+
},
|
|
2118
2140
|
"source": {
|
|
2119
2141
|
"$ref": "#/components/schemas/ActionScheduleSource"
|
|
2120
2142
|
}
|