@mobilerun/sdk 6.1.0 → 6.1.1
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/CHANGELOG.md +8 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agents/agents.d.mts +307 -0
- package/resources/agents/agents.d.mts.map +1 -0
- package/resources/agents/agents.d.ts +307 -0
- package/resources/agents/agents.d.ts.map +1 -0
- package/resources/agents/agents.js +56 -0
- package/resources/agents/agents.js.map +1 -0
- package/resources/agents/agents.mjs +51 -0
- package/resources/agents/agents.mjs.map +1 -0
- package/resources/agents/conversations.d.mts +110 -0
- package/resources/agents/conversations.d.mts.map +1 -0
- package/resources/agents/conversations.d.ts +110 -0
- package/resources/agents/conversations.d.ts.map +1 -0
- package/resources/agents/conversations.js +24 -0
- package/resources/agents/conversations.js.map +1 -0
- package/resources/agents/conversations.mjs +20 -0
- package/resources/agents/conversations.mjs.map +1 -0
- package/resources/agents/files.d.mts +64 -0
- package/resources/agents/files.d.mts.map +1 -0
- package/resources/agents/files.d.ts +64 -0
- package/resources/agents/files.d.ts.map +1 -0
- package/resources/agents/files.js +16 -0
- package/resources/agents/files.js.map +1 -0
- package/resources/agents/files.mjs +12 -0
- package/resources/agents/files.mjs.map +1 -0
- package/resources/agents/index.d.mts +7 -0
- package/resources/agents/index.d.mts.map +1 -0
- package/resources/agents/index.d.ts +7 -0
- package/resources/agents/index.d.ts.map +1 -0
- package/resources/agents/index.js +17 -0
- package/resources/agents/index.js.map +1 -0
- package/resources/agents/index.mjs +8 -0
- package/resources/agents/index.mjs.map +1 -0
- package/resources/agents/profile.d.mts +156 -0
- package/resources/agents/profile.d.mts.map +1 -0
- package/resources/agents/profile.d.ts +156 -0
- package/resources/agents/profile.d.ts.map +1 -0
- package/resources/agents/profile.js +19 -0
- package/resources/agents/profile.js.map +1 -0
- package/resources/agents/profile.mjs +15 -0
- package/resources/agents/profile.mjs.map +1 -0
- package/resources/agents/requests.d.mts +295 -0
- package/resources/agents/requests.d.mts.map +1 -0
- package/resources/agents/requests.d.ts +295 -0
- package/resources/agents/requests.d.ts.map +1 -0
- package/resources/agents/requests.js +42 -0
- package/resources/agents/requests.js.map +1 -0
- package/resources/agents/requests.mjs +38 -0
- package/resources/agents/requests.mjs.map +1 -0
- package/resources/agents/routines.d.mts +95 -0
- package/resources/agents/routines.d.mts.map +1 -0
- package/resources/agents/routines.d.ts +95 -0
- package/resources/agents/routines.d.ts.map +1 -0
- package/resources/agents/routines.js +26 -0
- package/resources/agents/routines.js.map +1 -0
- package/resources/agents/routines.mjs +22 -0
- package/resources/agents/routines.mjs.map +1 -0
- package/resources/agents.d.mts +2 -0
- package/resources/agents.d.mts.map +1 -0
- package/resources/agents.d.ts +2 -0
- package/resources/agents.d.ts.map +1 -0
- package/resources/agents.js +6 -0
- package/resources/agents.js.map +1 -0
- package/resources/agents.mjs +3 -0
- package/resources/agents.mjs.map +1 -0
- package/resources/assistant/conversations.d.mts +114 -38
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +114 -38
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/assistant/conversations.js +20 -19
- package/resources/assistant/conversations.js.map +1 -1
- package/resources/assistant/conversations.mjs +20 -19
- package/resources/assistant/conversations.mjs.map +1 -1
- package/resources/devices/actions.d.mts +3 -4
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +3 -4
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +3 -4
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +3 -4
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/devices.d.mts +9 -0
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +9 -0
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +8 -0
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +8 -0
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +2 -0
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +2 -0
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +5 -1
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +2 -0
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/number-bindings.d.mts +40 -0
- package/resources/devices/number-bindings.d.mts.map +1 -0
- package/resources/devices/number-bindings.d.ts +40 -0
- package/resources/devices/number-bindings.d.ts.map +1 -0
- package/resources/devices/number-bindings.js +15 -0
- package/resources/devices/number-bindings.js.map +1 -0
- package/resources/devices/number-bindings.mjs +11 -0
- package/resources/devices/number-bindings.mjs.map +1 -0
- package/resources/devices/number.d.mts +141 -0
- package/resources/devices/number.d.mts.map +1 -0
- package/resources/devices/number.d.ts +141 -0
- package/resources/devices/number.d.ts.map +1 -0
- package/resources/devices/number.js +68 -0
- package/resources/devices/number.js.map +1 -0
- package/resources/devices/number.mjs +64 -0
- package/resources/devices/number.mjs.map +1 -0
- package/resources/files.d.mts +13 -7
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +13 -7
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +9 -7
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +9 -7
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/numbers/messages.d.mts +2 -1
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +2 -1
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/messages.js +2 -1
- package/resources/numbers/messages.js.map +1 -1
- package/resources/numbers/messages.mjs +2 -1
- package/resources/numbers/messages.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +48 -0
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +48 -0
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +24 -5
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +24 -5
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +56 -8
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +56 -8
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/action-catalog.js +7 -5
- package/resources/workflows/action-catalog.js.map +1 -1
- package/resources/workflows/action-catalog.mjs +7 -5
- package/resources/workflows/action-catalog.mjs.map +1 -1
- package/resources/workflows/actions/actions.d.mts +22 -10
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +22 -10
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js +7 -5
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs +7 -5
- package/resources/workflows/actions/actions.mjs.map +1 -1
- package/resources/workflows/actions/index.d.mts +1 -1
- package/resources/workflows/actions/index.d.mts.map +1 -1
- package/resources/workflows/actions/index.d.ts +1 -1
- package/resources/workflows/actions/index.d.ts.map +1 -1
- package/resources/workflows/actions/index.js.map +1 -1
- package/resources/workflows/actions/index.mjs.map +1 -1
- package/resources/workflows/actions/services.d.mts +1 -1
- package/resources/workflows/actions/services.d.mts.map +1 -1
- package/resources/workflows/actions/services.d.ts +1 -1
- package/resources/workflows/actions/services.d.ts.map +1 -1
- package/resources/workflows/events.d.mts +25 -3
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +25 -3
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions/executions.d.mts +16 -0
- package/resources/workflows/executions/executions.d.mts.map +1 -1
- package/resources/workflows/executions/executions.d.ts +16 -0
- package/resources/workflows/executions/executions.d.ts.map +1 -1
- package/resources/workflows/executions/executions.js.map +1 -1
- package/resources/workflows/executions/executions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +547 -102
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +547 -102
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +15 -2
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +15 -2
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/flows/index.d.mts +2 -1
- package/resources/workflows/flows/index.d.mts.map +1 -1
- package/resources/workflows/flows/index.d.ts +2 -1
- package/resources/workflows/flows/index.d.ts.map +1 -1
- package/resources/workflows/flows/index.js +3 -1
- package/resources/workflows/flows/index.js.map +1 -1
- package/resources/workflows/flows/index.mjs +1 -0
- package/resources/workflows/flows/index.mjs.map +1 -1
- package/resources/workflows/flows/state.d.mts +65 -0
- package/resources/workflows/flows/state.d.mts.map +1 -0
- package/resources/workflows/flows/state.d.ts +65 -0
- package/resources/workflows/flows/state.d.ts.map +1 -0
- package/resources/workflows/flows/state.js +33 -0
- package/resources/workflows/flows/state.js.map +1 -0
- package/resources/workflows/flows/state.mjs +29 -0
- package/resources/workflows/flows/state.mjs.map +1 -0
- package/resources/workflows/index.d.mts +3 -3
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +3 -3
- package/resources/workflows/index.d.ts.map +1 -1
- package/resources/workflows/index.js.map +1 -1
- package/resources/workflows/index.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +40 -5
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +40 -5
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +12 -3
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +12 -3
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +6 -6
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +6 -6
- package/resources/workflows/workflows.d.ts.map +1 -1
- package/resources/workflows/workflows.js.map +1 -1
- package/resources/workflows/workflows.mjs.map +1 -1
- package/src/client.ts +17 -0
- package/src/resources/agents/agents.ts +475 -0
- package/src/resources/agents/conversations.ts +205 -0
- package/src/resources/agents/files.ts +105 -0
- package/src/resources/agents/index.ts +34 -0
- package/src/resources/agents/profile.ts +225 -0
- package/src/resources/agents/requests.ts +495 -0
- package/src/resources/agents/routines.ts +156 -0
- package/src/resources/agents.ts +3 -0
- package/src/resources/assistant/conversations.ts +146 -39
- package/src/resources/devices/actions.ts +3 -4
- package/src/resources/devices/devices.ts +38 -0
- package/src/resources/devices/index.ts +14 -0
- package/src/resources/devices/number-bindings.ts +62 -0
- package/src/resources/devices/number.ts +261 -0
- package/src/resources/files.ts +17 -7
- package/src/resources/index.ts +7 -0
- package/src/resources/numbers/messages.ts +2 -1
- package/src/resources/numbers/numbers.ts +64 -0
- package/src/resources/tasks/tasks.ts +26 -5
- package/src/resources/workflows/action-catalog.ts +69 -8
- package/src/resources/workflows/actions/actions.ts +29 -10
- package/src/resources/workflows/actions/index.ts +1 -0
- package/src/resources/workflows/actions/services.ts +1 -1
- package/src/resources/workflows/events.ts +32 -2
- package/src/resources/workflows/executions/executions.ts +26 -0
- package/src/resources/workflows/flows/flows.ts +707 -97
- package/src/resources/workflows/flows/index.ts +10 -0
- package/src/resources/workflows/flows/state.ts +103 -0
- package/src/resources/workflows/index.ts +4 -0
- package/src/resources/workflows/triggers.ts +34 -5
- package/src/resources/workflows/workflows.ts +8 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -26,10 +26,15 @@ export class Actions extends APIResource {
|
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Fetch a single action by its ID, including its configured service, method, and
|
|
29
|
-
* params.
|
|
29
|
+
* params. Supports `profile=agent_routine`; returns 404 if no action matches or
|
|
30
|
+
* the action is outside that profile.
|
|
30
31
|
*/
|
|
31
|
-
retrieve(
|
|
32
|
-
|
|
32
|
+
retrieve(
|
|
33
|
+
actionID: string,
|
|
34
|
+
query: ActionRetrieveParams | null | undefined = {},
|
|
35
|
+
options?: RequestOptions,
|
|
36
|
+
): APIPromise<ActionRetrieveResponse> {
|
|
37
|
+
return this._client.get(path`/actions/${actionID}`, { query, ...options });
|
|
33
38
|
}
|
|
34
39
|
|
|
35
40
|
/**
|
|
@@ -45,8 +50,9 @@ export class Actions extends APIResource {
|
|
|
45
50
|
}
|
|
46
51
|
|
|
47
52
|
/**
|
|
48
|
-
* Return a paginated list of actions. Supports filtering by
|
|
49
|
-
* `search`, and ordering by name,
|
|
53
|
+
* Return a paginated list of actions. Supports filtering by
|
|
54
|
+
* `profile=agent_routine`, `service`, free-text `search`, and ordering by name,
|
|
55
|
+
* createdAt, or updatedAt.
|
|
50
56
|
*/
|
|
51
57
|
list(
|
|
52
58
|
query: ActionListParams | null | undefined = {},
|
|
@@ -85,7 +91,7 @@ export namespace ActionCreateResponse {
|
|
|
85
91
|
|
|
86
92
|
ownerId: string;
|
|
87
93
|
|
|
88
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
94
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
89
95
|
|
|
90
96
|
updatedAt: string | null;
|
|
91
97
|
|
|
@@ -122,7 +128,7 @@ export namespace ActionRetrieveResponse {
|
|
|
122
128
|
|
|
123
129
|
ownerId: string;
|
|
124
130
|
|
|
125
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
131
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
126
132
|
|
|
127
133
|
updatedAt: string | null;
|
|
128
134
|
|
|
@@ -159,7 +165,7 @@ export namespace ActionUpdateResponse {
|
|
|
159
165
|
|
|
160
166
|
ownerId: string;
|
|
161
167
|
|
|
162
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
168
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
163
169
|
|
|
164
170
|
updatedAt: string | null;
|
|
165
171
|
|
|
@@ -198,7 +204,7 @@ export namespace ActionListResponse {
|
|
|
198
204
|
|
|
199
205
|
ownerId: string;
|
|
200
206
|
|
|
201
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
207
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
202
208
|
|
|
203
209
|
updatedAt: string | null;
|
|
204
210
|
|
|
@@ -227,6 +233,13 @@ export interface ActionCreateParams {
|
|
|
227
233
|
params?: { [key: string]: unknown };
|
|
228
234
|
}
|
|
229
235
|
|
|
236
|
+
export interface ActionRetrieveParams {
|
|
237
|
+
/**
|
|
238
|
+
* Restrict reads to the agent routine step surface.
|
|
239
|
+
*/
|
|
240
|
+
profile?: 'agent_routine';
|
|
241
|
+
}
|
|
242
|
+
|
|
230
243
|
export interface ActionUpdateParams {
|
|
231
244
|
description?: string;
|
|
232
245
|
|
|
@@ -244,9 +257,14 @@ export interface ActionListParams {
|
|
|
244
257
|
|
|
245
258
|
pageSize?: number;
|
|
246
259
|
|
|
260
|
+
/**
|
|
261
|
+
* Restrict reads to the agent routine step surface.
|
|
262
|
+
*/
|
|
263
|
+
profile?: 'agent_routine';
|
|
264
|
+
|
|
247
265
|
search?: string;
|
|
248
266
|
|
|
249
|
-
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
267
|
+
service?: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api' | 'triggers_api';
|
|
250
268
|
}
|
|
251
269
|
|
|
252
270
|
Actions.Services = Services;
|
|
@@ -259,6 +277,7 @@ export declare namespace Actions {
|
|
|
259
277
|
type ActionListResponse as ActionListResponse,
|
|
260
278
|
type ActionDeleteResponse as ActionDeleteResponse,
|
|
261
279
|
type ActionCreateParams as ActionCreateParams,
|
|
280
|
+
type ActionRetrieveParams as ActionRetrieveParams,
|
|
262
281
|
type ActionUpdateParams as ActionUpdateParams,
|
|
263
282
|
type ActionListParams as ActionListParams,
|
|
264
283
|
};
|
|
@@ -59,7 +59,13 @@ export namespace EventDryRunResponse {
|
|
|
59
59
|
|
|
60
60
|
recordingEnabled: boolean;
|
|
61
61
|
|
|
62
|
-
service:
|
|
62
|
+
service:
|
|
63
|
+
| 'tasks_api'
|
|
64
|
+
| 'devices_api'
|
|
65
|
+
| 'agents_api'
|
|
66
|
+
| 'webhooks'
|
|
67
|
+
| 'integrations_api'
|
|
68
|
+
| 'triggers_api';
|
|
63
69
|
|
|
64
70
|
/**
|
|
65
71
|
* Nested child actions (loop/branch bodies), each the same shape as a
|
|
@@ -105,8 +111,14 @@ export namespace EventDryRunResponse {
|
|
|
105
111
|
|
|
106
112
|
lastFailureAt: string | null;
|
|
107
113
|
|
|
114
|
+
/**
|
|
115
|
+
* Curated flow failure class. device_unavailable blocks immediately for a
|
|
116
|
+
* terminated device or a device confirmed gone; event deviceState="gone" is
|
|
117
|
+
* triggers-defined for a deleted/not-found device.
|
|
118
|
+
*/
|
|
108
119
|
lastFailureCode:
|
|
109
120
|
| 'device_not_found'
|
|
121
|
+
| 'device_unavailable'
|
|
110
122
|
| 'permission_denied'
|
|
111
123
|
| 'client_error'
|
|
112
124
|
| 'transient'
|
|
@@ -128,6 +140,8 @@ export namespace EventDryRunResponse {
|
|
|
128
140
|
|
|
129
141
|
ownerId: string;
|
|
130
142
|
|
|
143
|
+
ownerWake: 'final' | 'off';
|
|
144
|
+
|
|
131
145
|
/**
|
|
132
146
|
* @deprecated Deprecated: use recordingPolicy.mode ("flow" =
|
|
133
147
|
* recordingEnabled=true, "off" = recordingEnabled=false).
|
|
@@ -136,6 +150,12 @@ export namespace EventDryRunResponse {
|
|
|
136
150
|
|
|
137
151
|
recordingPolicy: Flow.RecordingPolicy;
|
|
138
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Effective routine result delivery: the stored setting, else message for a chat
|
|
155
|
+
* sink, else none.
|
|
156
|
+
*/
|
|
157
|
+
resultDelivery: 'none' | 'message' | 'wake';
|
|
158
|
+
|
|
139
159
|
selfHealingEnabled: boolean;
|
|
140
160
|
|
|
141
161
|
selfHealingMaxAttempts: number;
|
|
@@ -166,7 +186,15 @@ export namespace EventDryRunResponse {
|
|
|
166
186
|
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
167
187
|
|
|
168
188
|
/**
|
|
169
|
-
* not allowed when destination is mobilerun
|
|
189
|
+
* Absolute destination folder; not allowed when destination is mobilerun. May
|
|
190
|
+
* contain {{meta.<name>}} (for example {{meta.shortDate}} = YYMMDD,
|
|
191
|
+
* {{meta.fileTime}} = HH-mm, in the trigger timezone) and
|
|
192
|
+
* {{event.payload.<field>}} placeholders, resolved once per run so every artifact
|
|
193
|
+
* of that run lands in the same folder. Each substituted value must be a single
|
|
194
|
+
* safe folder name (no "/", "\", "..", control characters); otherwise delivery
|
|
195
|
+
* fails with invalid_delivery_folder. With a placeholder folder, screenshots are
|
|
196
|
+
* delivered directly into the resolved folder; with a static folder they go into a
|
|
197
|
+
* per-run "<flow>-<timestamp>-<id>-screenshots" subfolder.
|
|
170
198
|
*/
|
|
171
199
|
folder?: string;
|
|
172
200
|
|
|
@@ -217,6 +245,8 @@ export namespace EventDryRunResponse {
|
|
|
217
245
|
|
|
218
246
|
ownerId: string;
|
|
219
247
|
|
|
248
|
+
payload: { [key: string]: unknown } | null;
|
|
249
|
+
|
|
220
250
|
scheduleRule: Trigger.ScheduleRule;
|
|
221
251
|
|
|
222
252
|
timezone: string | null;
|
|
@@ -127,6 +127,8 @@ export namespace ExecutionRetrieveResponse {
|
|
|
127
127
|
*/
|
|
128
128
|
recordings: Array<Data.Recording>;
|
|
129
129
|
|
|
130
|
+
repair: Data.Repair | null;
|
|
131
|
+
|
|
130
132
|
/**
|
|
131
133
|
* Screenshots captured by tasks.run/agent.run steps and saved by scripts into the
|
|
132
134
|
* flow screenshots recording (source recording), ordered by seq. Image bytes are
|
|
@@ -254,6 +256,30 @@ export namespace ExecutionRetrieveResponse {
|
|
|
254
256
|
stoppedAt: string | null;
|
|
255
257
|
}
|
|
256
258
|
|
|
259
|
+
export interface Repair {
|
|
260
|
+
chatSessionId: string | null;
|
|
261
|
+
|
|
262
|
+
episode: number;
|
|
263
|
+
|
|
264
|
+
episodeId: string;
|
|
265
|
+
|
|
266
|
+
status: 'pending' | 'running' | 'canary' | 'promoting' | 'repaired' | 'failed' | 'escalated';
|
|
267
|
+
|
|
268
|
+
terminal: boolean;
|
|
269
|
+
|
|
270
|
+
verdict: Repair.Verdict | null;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export namespace Repair {
|
|
274
|
+
export interface Verdict {
|
|
275
|
+
outcome: 'ok' | 'flaky' | 'broken';
|
|
276
|
+
|
|
277
|
+
summary: string;
|
|
278
|
+
|
|
279
|
+
reason?: string;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
257
283
|
export interface Screenshot {
|
|
258
284
|
id: string;
|
|
259
285
|
|