@mobilerun/sdk 5.3.0 → 5.5.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.
- package/CHANGELOG.md +16 -0
- package/client.d.mts +5 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -5
- package/client.d.ts.map +1 -1
- package/client.js +3 -3
- package/client.js.map +1 -1
- package/client.mjs +3 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +10 -2
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +10 -2
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +3 -1
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +3 -1
- package/resources/apps.mjs.map +1 -1
- package/resources/assistant/conversations.d.mts +26 -4
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +26 -4
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/assistant/conversations.js +12 -4
- package/resources/assistant/conversations.js.map +1 -1
- package/resources/assistant/conversations.mjs +12 -4
- package/resources/assistant/conversations.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +36 -20
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +36 -20
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +10 -2
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +10 -2
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/devices/apps.d.mts +37 -17
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +37 -17
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +15 -14
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +15 -14
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/devices.d.mts +29 -4
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +29 -4
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +7 -4
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +7 -4
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +1 -0
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +1 -0
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +3 -1
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +1 -0
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +9 -3
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +9 -3
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/keyboard.js +3 -3
- package/resources/devices/keyboard.mjs +3 -3
- package/resources/devices/recordings.d.mts +11 -0
- package/resources/devices/recordings.d.mts.map +1 -1
- package/resources/devices/recordings.d.ts +11 -0
- package/resources/devices/recordings.d.ts.map +1 -1
- package/resources/devices/traffic-sessions.d.mts +173 -0
- package/resources/devices/traffic-sessions.d.mts.map +1 -0
- package/resources/devices/traffic-sessions.d.ts +173 -0
- package/resources/devices/traffic-sessions.d.ts.map +1 -0
- package/resources/devices/traffic-sessions.js +43 -0
- package/resources/devices/traffic-sessions.js.map +1 -0
- package/resources/devices/traffic-sessions.mjs +39 -0
- package/resources/devices/traffic-sessions.mjs.map +1 -0
- package/resources/files.d.mts +72 -0
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +72 -0
- package/resources/files.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/index.d.mts +3 -0
- package/resources/mailboxes/index.d.mts.map +1 -0
- package/resources/mailboxes/index.d.ts +3 -0
- package/resources/mailboxes/index.d.ts.map +1 -0
- package/resources/{esims → mailboxes}/index.js +3 -3
- package/resources/mailboxes/index.js.map +1 -0
- package/resources/{esims → mailboxes}/index.mjs +1 -1
- package/resources/mailboxes/index.mjs.map +1 -0
- package/resources/mailboxes/mailboxes.d.mts +374 -0
- package/resources/mailboxes/mailboxes.d.mts.map +1 -0
- package/resources/mailboxes/mailboxes.d.ts +374 -0
- package/resources/mailboxes/mailboxes.d.ts.map +1 -0
- package/resources/mailboxes/mailboxes.js +139 -0
- package/resources/mailboxes/mailboxes.js.map +1 -0
- package/resources/mailboxes/mailboxes.mjs +134 -0
- package/resources/mailboxes/mailboxes.mjs.map +1 -0
- package/resources/mailboxes/messages.d.mts +82 -0
- package/resources/mailboxes/messages.d.mts.map +1 -0
- package/resources/mailboxes/messages.d.ts +82 -0
- package/resources/mailboxes/messages.d.ts.map +1 -0
- package/resources/mailboxes/messages.js +39 -0
- package/resources/mailboxes/messages.js.map +1 -0
- package/resources/mailboxes/messages.mjs +35 -0
- package/resources/mailboxes/messages.mjs.map +1 -0
- package/resources/mailboxes.d.mts +2 -0
- package/resources/mailboxes.d.mts.map +1 -0
- package/resources/mailboxes.d.ts +2 -0
- package/resources/mailboxes.d.ts.map +1 -0
- package/resources/{esims.js → mailboxes.js} +2 -2
- package/resources/mailboxes.js.map +1 -0
- package/resources/{esims.mjs → mailboxes.mjs} +2 -2
- package/resources/mailboxes.mjs.map +1 -0
- package/resources/messages/conversations.d.mts +4 -15
- package/resources/messages/conversations.d.mts.map +1 -1
- package/resources/messages/conversations.d.ts +4 -15
- package/resources/messages/conversations.d.ts.map +1 -1
- package/resources/messages/conversations.js +4 -15
- package/resources/messages/conversations.js.map +1 -1
- package/resources/messages/conversations.mjs +4 -15
- package/resources/messages/conversations.mjs.map +1 -1
- package/resources/messages/messages.d.mts +2 -4
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +2 -4
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +2 -4
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +2 -4
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/numbers/index.d.mts +1 -1
- package/resources/numbers/index.d.mts.map +1 -1
- package/resources/numbers/index.d.ts +1 -1
- package/resources/numbers/index.d.ts.map +1 -1
- package/resources/numbers/index.js.map +1 -1
- package/resources/numbers/index.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +48 -35
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +48 -35
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js +23 -29
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs +23 -29
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +80 -32
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +80 -32
- 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/webhooks/webhooks.d.mts +1 -0
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +1 -0
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/events.d.mts +18 -0
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +18 -0
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions.d.mts +84 -5
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +84 -5
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +3 -2
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +3 -2
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +19 -0
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +19 -0
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/flows.d.mts +142 -2
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +142 -2
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +11 -1
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +11 -1
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/flows/index.d.mts +1 -1
- package/resources/workflows/flows/index.d.mts.map +1 -1
- package/resources/workflows/flows/index.d.ts +1 -1
- package/resources/workflows/flows/index.d.ts.map +1 -1
- package/resources/workflows/flows/index.js.map +1 -1
- package/resources/workflows/flows/index.mjs.map +1 -1
- package/resources/workflows/index.d.mts +1 -1
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +1 -1
- 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 +17 -3
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +17 -3
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/workflows.d.mts +2 -2
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +2 -2
- 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 +40 -40
- package/src/resources/apps.ts +11 -2
- package/src/resources/assistant/conversations.ts +38 -4
- package/src/resources/connect/proxies.ts +49 -21
- package/src/resources/devices/apps.ts +41 -17
- package/src/resources/devices/devices.ts +58 -4
- package/src/resources/devices/index.ts +11 -0
- package/src/resources/devices/keyboard.ts +10 -3
- package/src/resources/devices/recordings.ts +12 -0
- package/src/resources/devices/traffic-sessions.ts +299 -0
- package/src/resources/files.ts +114 -0
- package/src/resources/index.ts +19 -19
- package/src/resources/mailboxes/index.ts +26 -0
- package/src/resources/mailboxes/mailboxes.ts +637 -0
- package/src/resources/mailboxes/messages.ts +134 -0
- package/src/resources/{esims.ts → mailboxes.ts} +1 -1
- package/src/resources/messages/conversations.ts +4 -15
- package/src/resources/messages/messages.ts +2 -4
- package/src/resources/numbers/index.ts +2 -0
- package/src/resources/numbers/numbers.ts +58 -34
- package/src/resources/tasks/tasks.ts +120 -40
- package/src/resources/webhooks/webhooks.ts +2 -0
- package/src/resources/workflows/events.ts +24 -0
- package/src/resources/workflows/executions.ts +121 -5
- package/src/resources/workflows/flows/actions.ts +26 -0
- package/src/resources/workflows/flows/flows.ts +182 -1
- package/src/resources/workflows/flows/index.ts +1 -0
- package/src/resources/workflows/index.ts +1 -0
- package/src/resources/workflows/triggers.ts +19 -3
- package/src/resources/workflows/workflows.ts +2 -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
- package/resources/esims/esims.d.mts +0 -566
- package/resources/esims/esims.d.mts.map +0 -1
- package/resources/esims/esims.d.ts +0 -566
- package/resources/esims/esims.d.ts.map +0 -1
- package/resources/esims/esims.js +0 -205
- package/resources/esims/esims.js.map +0 -1
- package/resources/esims/esims.mjs +0 -200
- package/resources/esims/esims.mjs.map +0 -1
- package/resources/esims/index.d.mts +0 -3
- package/resources/esims/index.d.mts.map +0 -1
- package/resources/esims/index.d.ts +0 -3
- package/resources/esims/index.d.ts.map +0 -1
- package/resources/esims/index.js.map +0 -1
- package/resources/esims/index.mjs.map +0 -1
- package/resources/esims/messages.d.mts +0 -106
- package/resources/esims/messages.d.mts.map +0 -1
- package/resources/esims/messages.d.ts +0 -106
- package/resources/esims/messages.d.ts.map +0 -1
- package/resources/esims/messages.js +0 -37
- package/resources/esims/messages.js.map +0 -1
- package/resources/esims/messages.mjs +0 -33
- package/resources/esims/messages.mjs.map +0 -1
- package/resources/esims.d.mts +0 -2
- package/resources/esims.d.mts.map +0 -1
- package/resources/esims.d.ts +0 -2
- package/resources/esims.d.ts.map +0 -1
- package/resources/esims.js.map +0 -1
- package/resources/esims.mjs.map +0 -1
- package/src/resources/esims/esims.ts +0 -1019
- package/src/resources/esims/index.ts +0 -28
- package/src/resources/esims/messages.ts +0 -187
|
@@ -66,12 +66,23 @@ export class Flows extends APIResource {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* Terminally archive a flow by its ID. Archived flows cannot be restored and are
|
|
70
|
+
* hidden from customer reads. Repeating the request is idempotent for the owner.
|
|
70
71
|
*/
|
|
71
72
|
delete(flowID: string, options?: RequestOptions): APIPromise<FlowDeleteResponse> {
|
|
72
73
|
return this._client.delete(path`/flows/${flowID}`, options);
|
|
73
74
|
}
|
|
74
75
|
|
|
76
|
+
/**
|
|
77
|
+
* Returns an owner-scoped snapshot of finite included workflow-agent capacity
|
|
78
|
+
* after locally stored enabled and disabled agents. Available only while slot
|
|
79
|
+
* enforcement is enabled; otherwise returns 503. This is advisory; create and
|
|
80
|
+
* clone perform authoritative admission under an owner lock.
|
|
81
|
+
*/
|
|
82
|
+
capacity(options?: RequestOptions): APIPromise<FlowCapacityResponse> {
|
|
83
|
+
return this._client.get('/flows/capacity', options);
|
|
84
|
+
}
|
|
85
|
+
|
|
75
86
|
/**
|
|
76
87
|
* Create a copy of an existing flow, including its actions and settings. The
|
|
77
88
|
* optional body can override the new flow's `name` and target `deviceIds`. Returns
|
|
@@ -133,6 +144,8 @@ export namespace FlowCreateResponse {
|
|
|
133
144
|
export interface Data {
|
|
134
145
|
id: string;
|
|
135
146
|
|
|
147
|
+
archivedAt: string | null;
|
|
148
|
+
|
|
136
149
|
blockedAt: string | null;
|
|
137
150
|
|
|
138
151
|
consecutiveFailures: number;
|
|
@@ -149,6 +162,10 @@ export namespace FlowCreateResponse {
|
|
|
149
162
|
|
|
150
163
|
deviceIds: Array<string>;
|
|
151
164
|
|
|
165
|
+
/**
|
|
166
|
+
* Compatibility projection of lifecycleStatus; true only when lifecycleStatus is
|
|
167
|
+
* enabled.
|
|
168
|
+
*/
|
|
152
169
|
enabled: boolean;
|
|
153
170
|
|
|
154
171
|
healthMonitoringEnabled: boolean;
|
|
@@ -166,6 +183,8 @@ export namespace FlowCreateResponse {
|
|
|
166
183
|
|
|
167
184
|
lastTriggeredAt: string | null;
|
|
168
185
|
|
|
186
|
+
lifecycleStatus: 'enabled' | 'disabled' | 'archived';
|
|
187
|
+
|
|
169
188
|
name: string;
|
|
170
189
|
|
|
171
190
|
notifyOnFailure: boolean;
|
|
@@ -176,8 +195,14 @@ export namespace FlowCreateResponse {
|
|
|
176
195
|
|
|
177
196
|
ownerId: string;
|
|
178
197
|
|
|
198
|
+
/**
|
|
199
|
+
* @deprecated Deprecated: use recordingPolicy.mode ("flow" =
|
|
200
|
+
* recordingEnabled=true, "off" = recordingEnabled=false).
|
|
201
|
+
*/
|
|
179
202
|
recordingEnabled: boolean;
|
|
180
203
|
|
|
204
|
+
recordingPolicy: Data.RecordingPolicy;
|
|
205
|
+
|
|
181
206
|
selfHealingEnabled: boolean;
|
|
182
207
|
|
|
183
208
|
selfHealingMaxAttempts: number;
|
|
@@ -201,6 +226,12 @@ export namespace FlowCreateResponse {
|
|
|
201
226
|
*/
|
|
202
227
|
userId: string;
|
|
203
228
|
}
|
|
229
|
+
|
|
230
|
+
export namespace Data {
|
|
231
|
+
export interface RecordingPolicy {
|
|
232
|
+
mode: 'off' | 'flow' | 'selected_steps';
|
|
233
|
+
}
|
|
234
|
+
}
|
|
204
235
|
}
|
|
205
236
|
|
|
206
237
|
export interface FlowRetrieveResponse {
|
|
@@ -211,6 +242,8 @@ export namespace FlowRetrieveResponse {
|
|
|
211
242
|
export interface Data {
|
|
212
243
|
id: string;
|
|
213
244
|
|
|
245
|
+
archivedAt: string | null;
|
|
246
|
+
|
|
214
247
|
blockedAt: string | null;
|
|
215
248
|
|
|
216
249
|
consecutiveFailures: number;
|
|
@@ -227,6 +260,10 @@ export namespace FlowRetrieveResponse {
|
|
|
227
260
|
|
|
228
261
|
deviceIds: Array<string>;
|
|
229
262
|
|
|
263
|
+
/**
|
|
264
|
+
* Compatibility projection of lifecycleStatus; true only when lifecycleStatus is
|
|
265
|
+
* enabled.
|
|
266
|
+
*/
|
|
230
267
|
enabled: boolean;
|
|
231
268
|
|
|
232
269
|
healthMonitoringEnabled: boolean;
|
|
@@ -244,6 +281,8 @@ export namespace FlowRetrieveResponse {
|
|
|
244
281
|
|
|
245
282
|
lastTriggeredAt: string | null;
|
|
246
283
|
|
|
284
|
+
lifecycleStatus: 'enabled' | 'disabled' | 'archived';
|
|
285
|
+
|
|
247
286
|
name: string;
|
|
248
287
|
|
|
249
288
|
notifyOnFailure: boolean;
|
|
@@ -254,8 +293,14 @@ export namespace FlowRetrieveResponse {
|
|
|
254
293
|
|
|
255
294
|
ownerId: string;
|
|
256
295
|
|
|
296
|
+
/**
|
|
297
|
+
* @deprecated Deprecated: use recordingPolicy.mode ("flow" =
|
|
298
|
+
* recordingEnabled=true, "off" = recordingEnabled=false).
|
|
299
|
+
*/
|
|
257
300
|
recordingEnabled: boolean;
|
|
258
301
|
|
|
302
|
+
recordingPolicy: Data.RecordingPolicy;
|
|
303
|
+
|
|
259
304
|
selfHealingEnabled: boolean;
|
|
260
305
|
|
|
261
306
|
selfHealingMaxAttempts: number;
|
|
@@ -279,6 +324,12 @@ export namespace FlowRetrieveResponse {
|
|
|
279
324
|
*/
|
|
280
325
|
userId: string;
|
|
281
326
|
}
|
|
327
|
+
|
|
328
|
+
export namespace Data {
|
|
329
|
+
export interface RecordingPolicy {
|
|
330
|
+
mode: 'off' | 'flow' | 'selected_steps';
|
|
331
|
+
}
|
|
332
|
+
}
|
|
282
333
|
}
|
|
283
334
|
|
|
284
335
|
export interface FlowUpdateResponse {
|
|
@@ -289,6 +340,8 @@ export namespace FlowUpdateResponse {
|
|
|
289
340
|
export interface Data {
|
|
290
341
|
id: string;
|
|
291
342
|
|
|
343
|
+
archivedAt: string | null;
|
|
344
|
+
|
|
292
345
|
blockedAt: string | null;
|
|
293
346
|
|
|
294
347
|
consecutiveFailures: number;
|
|
@@ -305,6 +358,10 @@ export namespace FlowUpdateResponse {
|
|
|
305
358
|
|
|
306
359
|
deviceIds: Array<string>;
|
|
307
360
|
|
|
361
|
+
/**
|
|
362
|
+
* Compatibility projection of lifecycleStatus; true only when lifecycleStatus is
|
|
363
|
+
* enabled.
|
|
364
|
+
*/
|
|
308
365
|
enabled: boolean;
|
|
309
366
|
|
|
310
367
|
healthMonitoringEnabled: boolean;
|
|
@@ -322,6 +379,8 @@ export namespace FlowUpdateResponse {
|
|
|
322
379
|
|
|
323
380
|
lastTriggeredAt: string | null;
|
|
324
381
|
|
|
382
|
+
lifecycleStatus: 'enabled' | 'disabled' | 'archived';
|
|
383
|
+
|
|
325
384
|
name: string;
|
|
326
385
|
|
|
327
386
|
notifyOnFailure: boolean;
|
|
@@ -332,8 +391,14 @@ export namespace FlowUpdateResponse {
|
|
|
332
391
|
|
|
333
392
|
ownerId: string;
|
|
334
393
|
|
|
394
|
+
/**
|
|
395
|
+
* @deprecated Deprecated: use recordingPolicy.mode ("flow" =
|
|
396
|
+
* recordingEnabled=true, "off" = recordingEnabled=false).
|
|
397
|
+
*/
|
|
335
398
|
recordingEnabled: boolean;
|
|
336
399
|
|
|
400
|
+
recordingPolicy: Data.RecordingPolicy;
|
|
401
|
+
|
|
337
402
|
selfHealingEnabled: boolean;
|
|
338
403
|
|
|
339
404
|
selfHealingMaxAttempts: number;
|
|
@@ -357,6 +422,12 @@ export namespace FlowUpdateResponse {
|
|
|
357
422
|
*/
|
|
358
423
|
userId: string;
|
|
359
424
|
}
|
|
425
|
+
|
|
426
|
+
export namespace Data {
|
|
427
|
+
export interface RecordingPolicy {
|
|
428
|
+
mode: 'off' | 'flow' | 'selected_steps';
|
|
429
|
+
}
|
|
430
|
+
}
|
|
360
431
|
}
|
|
361
432
|
|
|
362
433
|
export interface FlowListResponse {
|
|
@@ -369,6 +440,8 @@ export namespace FlowListResponse {
|
|
|
369
440
|
export interface Item {
|
|
370
441
|
id: string;
|
|
371
442
|
|
|
443
|
+
archivedAt: string | null;
|
|
444
|
+
|
|
372
445
|
blockedAt: string | null;
|
|
373
446
|
|
|
374
447
|
consecutiveFailures: number;
|
|
@@ -385,6 +458,10 @@ export namespace FlowListResponse {
|
|
|
385
458
|
|
|
386
459
|
deviceIds: Array<string>;
|
|
387
460
|
|
|
461
|
+
/**
|
|
462
|
+
* Compatibility projection of lifecycleStatus; true only when lifecycleStatus is
|
|
463
|
+
* enabled.
|
|
464
|
+
*/
|
|
388
465
|
enabled: boolean;
|
|
389
466
|
|
|
390
467
|
healthMonitoringEnabled: boolean;
|
|
@@ -402,6 +479,8 @@ export namespace FlowListResponse {
|
|
|
402
479
|
|
|
403
480
|
lastTriggeredAt: string | null;
|
|
404
481
|
|
|
482
|
+
lifecycleStatus: 'enabled' | 'disabled' | 'archived';
|
|
483
|
+
|
|
405
484
|
name: string;
|
|
406
485
|
|
|
407
486
|
notifyOnFailure: boolean;
|
|
@@ -412,8 +491,14 @@ export namespace FlowListResponse {
|
|
|
412
491
|
|
|
413
492
|
ownerId: string;
|
|
414
493
|
|
|
494
|
+
/**
|
|
495
|
+
* @deprecated Deprecated: use recordingPolicy.mode ("flow" =
|
|
496
|
+
* recordingEnabled=true, "off" = recordingEnabled=false).
|
|
497
|
+
*/
|
|
415
498
|
recordingEnabled: boolean;
|
|
416
499
|
|
|
500
|
+
recordingPolicy: Item.RecordingPolicy;
|
|
501
|
+
|
|
417
502
|
selfHealingEnabled: boolean;
|
|
418
503
|
|
|
419
504
|
selfHealingMaxAttempts: number;
|
|
@@ -437,12 +522,32 @@ export namespace FlowListResponse {
|
|
|
437
522
|
*/
|
|
438
523
|
userId: string;
|
|
439
524
|
}
|
|
525
|
+
|
|
526
|
+
export namespace Item {
|
|
527
|
+
export interface RecordingPolicy {
|
|
528
|
+
mode: 'off' | 'flow' | 'selected_steps';
|
|
529
|
+
}
|
|
530
|
+
}
|
|
440
531
|
}
|
|
441
532
|
|
|
442
533
|
export interface FlowDeleteResponse {
|
|
443
534
|
message: string;
|
|
444
535
|
}
|
|
445
536
|
|
|
537
|
+
export interface FlowCapacityResponse {
|
|
538
|
+
data: FlowCapacityResponse.Data;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export namespace FlowCapacityResponse {
|
|
542
|
+
export interface Data {
|
|
543
|
+
included: number;
|
|
544
|
+
|
|
545
|
+
remaining: number;
|
|
546
|
+
|
|
547
|
+
status: 'available' | 'exhausted' | 'not_included';
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
|
|
446
551
|
export interface FlowCloneResponse {
|
|
447
552
|
data: FlowCloneResponse.Data;
|
|
448
553
|
}
|
|
@@ -451,6 +556,8 @@ export namespace FlowCloneResponse {
|
|
|
451
556
|
export interface Data {
|
|
452
557
|
id: string;
|
|
453
558
|
|
|
559
|
+
archivedAt: string | null;
|
|
560
|
+
|
|
454
561
|
blockedAt: string | null;
|
|
455
562
|
|
|
456
563
|
consecutiveFailures: number;
|
|
@@ -467,6 +574,10 @@ export namespace FlowCloneResponse {
|
|
|
467
574
|
|
|
468
575
|
deviceIds: Array<string>;
|
|
469
576
|
|
|
577
|
+
/**
|
|
578
|
+
* Compatibility projection of lifecycleStatus; true only when lifecycleStatus is
|
|
579
|
+
* enabled.
|
|
580
|
+
*/
|
|
470
581
|
enabled: boolean;
|
|
471
582
|
|
|
472
583
|
healthMonitoringEnabled: boolean;
|
|
@@ -484,6 +595,8 @@ export namespace FlowCloneResponse {
|
|
|
484
595
|
|
|
485
596
|
lastTriggeredAt: string | null;
|
|
486
597
|
|
|
598
|
+
lifecycleStatus: 'enabled' | 'disabled' | 'archived';
|
|
599
|
+
|
|
487
600
|
name: string;
|
|
488
601
|
|
|
489
602
|
notifyOnFailure: boolean;
|
|
@@ -494,8 +607,14 @@ export namespace FlowCloneResponse {
|
|
|
494
607
|
|
|
495
608
|
ownerId: string;
|
|
496
609
|
|
|
610
|
+
/**
|
|
611
|
+
* @deprecated Deprecated: use recordingPolicy.mode ("flow" =
|
|
612
|
+
* recordingEnabled=true, "off" = recordingEnabled=false).
|
|
613
|
+
*/
|
|
497
614
|
recordingEnabled: boolean;
|
|
498
615
|
|
|
616
|
+
recordingPolicy: Data.RecordingPolicy;
|
|
617
|
+
|
|
499
618
|
selfHealingEnabled: boolean;
|
|
500
619
|
|
|
501
620
|
selfHealingMaxAttempts: number;
|
|
@@ -519,6 +638,12 @@ export namespace FlowCloneResponse {
|
|
|
519
638
|
*/
|
|
520
639
|
userId: string;
|
|
521
640
|
}
|
|
641
|
+
|
|
642
|
+
export namespace Data {
|
|
643
|
+
export interface RecordingPolicy {
|
|
644
|
+
mode: 'off' | 'flow' | 'selected_steps';
|
|
645
|
+
}
|
|
646
|
+
}
|
|
522
647
|
}
|
|
523
648
|
|
|
524
649
|
export interface FlowDryRunResponse {
|
|
@@ -548,10 +673,14 @@ export namespace FlowDryRunResponse {
|
|
|
548
673
|
export interface Action {
|
|
549
674
|
continueOnError: boolean;
|
|
550
675
|
|
|
676
|
+
flowActionId: string;
|
|
677
|
+
|
|
551
678
|
method: string;
|
|
552
679
|
|
|
553
680
|
name: string;
|
|
554
681
|
|
|
682
|
+
recordingEnabled: boolean;
|
|
683
|
+
|
|
555
684
|
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
556
685
|
|
|
557
686
|
/**
|
|
@@ -655,6 +784,8 @@ export namespace FlowUnblockResponse {
|
|
|
655
784
|
export interface Data {
|
|
656
785
|
id: string;
|
|
657
786
|
|
|
787
|
+
archivedAt: string | null;
|
|
788
|
+
|
|
658
789
|
blockedAt: string | null;
|
|
659
790
|
|
|
660
791
|
consecutiveFailures: number;
|
|
@@ -671,6 +802,10 @@ export namespace FlowUnblockResponse {
|
|
|
671
802
|
|
|
672
803
|
deviceIds: Array<string>;
|
|
673
804
|
|
|
805
|
+
/**
|
|
806
|
+
* Compatibility projection of lifecycleStatus; true only when lifecycleStatus is
|
|
807
|
+
* enabled.
|
|
808
|
+
*/
|
|
674
809
|
enabled: boolean;
|
|
675
810
|
|
|
676
811
|
healthMonitoringEnabled: boolean;
|
|
@@ -688,6 +823,8 @@ export namespace FlowUnblockResponse {
|
|
|
688
823
|
|
|
689
824
|
lastTriggeredAt: string | null;
|
|
690
825
|
|
|
826
|
+
lifecycleStatus: 'enabled' | 'disabled' | 'archived';
|
|
827
|
+
|
|
691
828
|
name: string;
|
|
692
829
|
|
|
693
830
|
notifyOnFailure: boolean;
|
|
@@ -698,8 +835,14 @@ export namespace FlowUnblockResponse {
|
|
|
698
835
|
|
|
699
836
|
ownerId: string;
|
|
700
837
|
|
|
838
|
+
/**
|
|
839
|
+
* @deprecated Deprecated: use recordingPolicy.mode ("flow" =
|
|
840
|
+
* recordingEnabled=true, "off" = recordingEnabled=false).
|
|
841
|
+
*/
|
|
701
842
|
recordingEnabled: boolean;
|
|
702
843
|
|
|
844
|
+
recordingPolicy: Data.RecordingPolicy;
|
|
845
|
+
|
|
703
846
|
selfHealingEnabled: boolean;
|
|
704
847
|
|
|
705
848
|
selfHealingMaxAttempts: number;
|
|
@@ -723,6 +866,12 @@ export namespace FlowUnblockResponse {
|
|
|
723
866
|
*/
|
|
724
867
|
userId: string;
|
|
725
868
|
}
|
|
869
|
+
|
|
870
|
+
export namespace Data {
|
|
871
|
+
export interface RecordingPolicy {
|
|
872
|
+
mode: 'off' | 'flow' | 'selected_steps';
|
|
873
|
+
}
|
|
874
|
+
}
|
|
726
875
|
}
|
|
727
876
|
|
|
728
877
|
export interface FlowCreateParams {
|
|
@@ -750,8 +899,14 @@ export interface FlowCreateParams {
|
|
|
750
899
|
|
|
751
900
|
notifyWebhookId?: string | null;
|
|
752
901
|
|
|
902
|
+
/**
|
|
903
|
+
* @deprecated Deprecated compatibility field. true maps to
|
|
904
|
+
* recordingPolicy.mode="flow"; false maps to "off".
|
|
905
|
+
*/
|
|
753
906
|
recordingEnabled?: boolean;
|
|
754
907
|
|
|
908
|
+
recordingPolicy?: FlowCreateParams.RecordingPolicy;
|
|
909
|
+
|
|
755
910
|
selfHealingEnabled?: boolean;
|
|
756
911
|
|
|
757
912
|
selfHealingMaxAttempts?: number;
|
|
@@ -770,6 +925,8 @@ export namespace FlowCreateParams {
|
|
|
770
925
|
nameOverride?: string;
|
|
771
926
|
|
|
772
927
|
overrides?: Action.Overrides | null;
|
|
928
|
+
|
|
929
|
+
recordingEnabled?: boolean;
|
|
773
930
|
}
|
|
774
931
|
|
|
775
932
|
export namespace Action {
|
|
@@ -783,6 +940,8 @@ export namespace FlowCreateParams {
|
|
|
783
940
|
nameOverride?: string;
|
|
784
941
|
|
|
785
942
|
overrides?: Child.Overrides | null;
|
|
943
|
+
|
|
944
|
+
recordingEnabled?: boolean;
|
|
786
945
|
}
|
|
787
946
|
|
|
788
947
|
export namespace Child {
|
|
@@ -795,6 +954,10 @@ export namespace FlowCreateParams {
|
|
|
795
954
|
params?: { [key: string]: unknown };
|
|
796
955
|
}
|
|
797
956
|
}
|
|
957
|
+
|
|
958
|
+
export interface RecordingPolicy {
|
|
959
|
+
mode: 'off' | 'flow' | 'selected_steps';
|
|
960
|
+
}
|
|
798
961
|
}
|
|
799
962
|
|
|
800
963
|
export interface FlowUpdateParams {
|
|
@@ -810,6 +973,11 @@ export interface FlowUpdateParams {
|
|
|
810
973
|
|
|
811
974
|
healthMonitoringEnabled?: boolean;
|
|
812
975
|
|
|
976
|
+
/**
|
|
977
|
+
* Set the visible agent lifecycle. Archive remains available only through DELETE.
|
|
978
|
+
*/
|
|
979
|
+
lifecycleStatus?: 'enabled' | 'disabled';
|
|
980
|
+
|
|
813
981
|
name?: string;
|
|
814
982
|
|
|
815
983
|
notifyOnFailure?: boolean;
|
|
@@ -818,8 +986,14 @@ export interface FlowUpdateParams {
|
|
|
818
986
|
|
|
819
987
|
notifyWebhookId?: string | null;
|
|
820
988
|
|
|
989
|
+
/**
|
|
990
|
+
* @deprecated Deprecated compatibility field. true maps to
|
|
991
|
+
* recordingPolicy.mode="flow"; false maps to "off".
|
|
992
|
+
*/
|
|
821
993
|
recordingEnabled?: boolean;
|
|
822
994
|
|
|
995
|
+
recordingPolicy?: FlowUpdateParams.RecordingPolicy;
|
|
996
|
+
|
|
823
997
|
selfHealingEnabled?: boolean;
|
|
824
998
|
|
|
825
999
|
selfHealingMaxAttempts?: number;
|
|
@@ -827,6 +1001,12 @@ export interface FlowUpdateParams {
|
|
|
827
1001
|
triggerId?: string;
|
|
828
1002
|
}
|
|
829
1003
|
|
|
1004
|
+
export namespace FlowUpdateParams {
|
|
1005
|
+
export interface RecordingPolicy {
|
|
1006
|
+
mode: 'off' | 'flow' | 'selected_steps';
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
|
|
830
1010
|
export interface FlowListParams {
|
|
831
1011
|
createdBy?: string;
|
|
832
1012
|
|
|
@@ -874,6 +1054,7 @@ export declare namespace Flows {
|
|
|
874
1054
|
type FlowUpdateResponse as FlowUpdateResponse,
|
|
875
1055
|
type FlowListResponse as FlowListResponse,
|
|
876
1056
|
type FlowDeleteResponse as FlowDeleteResponse,
|
|
1057
|
+
type FlowCapacityResponse as FlowCapacityResponse,
|
|
877
1058
|
type FlowCloneResponse as FlowCloneResponse,
|
|
878
1059
|
type FlowDryRunResponse as FlowDryRunResponse,
|
|
879
1060
|
type FlowListRepairsResponse as FlowListRepairsResponse,
|
|
@@ -292,15 +292,24 @@ export interface TriggerDeleteResponse {
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
export interface TriggerFireResponse {
|
|
295
|
+
/**
|
|
296
|
+
* True when at least one attached flow was skipped because it already had an
|
|
297
|
+
* execution for this (flow, invocationId). Only ever true when the client supplied
|
|
298
|
+
* invocationId.
|
|
299
|
+
*/
|
|
300
|
+
deduplicated: boolean;
|
|
301
|
+
|
|
295
302
|
/**
|
|
296
303
|
* Number of flow executions enqueued. May be 0 if no flows are attached to this
|
|
297
|
-
* trigger,
|
|
304
|
+
* trigger, if all attached flows are currently in cooldown, or if every attached
|
|
305
|
+
* flow was deduplicated.
|
|
298
306
|
*/
|
|
299
307
|
enqueuedCount: number;
|
|
300
308
|
|
|
301
309
|
/**
|
|
302
|
-
* Unique ID for this fire invocation
|
|
303
|
-
* from it (one per
|
|
310
|
+
* Unique ID for this fire invocation (echoes the client-supplied invocationId, or
|
|
311
|
+
* a generated one). Job IDs in the execution queue are derived from it (one per
|
|
312
|
+
* enqueued flow).
|
|
304
313
|
*/
|
|
305
314
|
invocationId: string;
|
|
306
315
|
}
|
|
@@ -456,6 +465,13 @@ export interface TriggerFireParams {
|
|
|
456
465
|
* otherwise only "must be a JSON object" is enforced.
|
|
457
466
|
*/
|
|
458
467
|
payload: { [key: string]: unknown };
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* Optional client-supplied idempotency key. When provided, a flow that already has
|
|
471
|
+
* an execution for this (flow, invocationId) is skipped and `deduplicated` is
|
|
472
|
+
* true. When omitted a fresh server-side id is generated (no dedup).
|
|
473
|
+
*/
|
|
474
|
+
invocationId?: string;
|
|
459
475
|
}
|
|
460
476
|
|
|
461
477
|
export declare namespace Triggers {
|
|
@@ -56,6 +56,7 @@ import {
|
|
|
56
56
|
} from './actions/actions';
|
|
57
57
|
import * as FlowsAPI from './flows/flows';
|
|
58
58
|
import {
|
|
59
|
+
FlowCapacityResponse,
|
|
59
60
|
FlowCloneParams,
|
|
60
61
|
FlowCloneResponse,
|
|
61
62
|
FlowCreateParams,
|
|
@@ -132,6 +133,7 @@ export declare namespace Workflows {
|
|
|
132
133
|
type FlowUpdateResponse as FlowUpdateResponse,
|
|
133
134
|
type FlowListResponse as FlowListResponse,
|
|
134
135
|
type FlowDeleteResponse as FlowDeleteResponse,
|
|
136
|
+
type FlowCapacityResponse as FlowCapacityResponse,
|
|
135
137
|
type FlowCloneResponse as FlowCloneResponse,
|
|
136
138
|
type FlowDryRunResponse as FlowDryRunResponse,
|
|
137
139
|
type FlowListRepairsResponse as FlowListRepairsResponse,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.5.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.5.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.5.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.5.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|