@mobilerun/sdk 5.1.0 → 5.2.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 +41 -0
- package/client.d.mts +4 -16
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -16
- package/client.d.ts.map +1 -1
- package/client.js +0 -12
- package/client.js.map +1 -1
- package/client.mjs +1 -13
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +12 -7
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +12 -7
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +0 -4
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +0 -4
- package/resources/apps.mjs.map +1 -1
- package/resources/carriers.d.mts +0 -3
- package/resources/carriers.d.mts.map +1 -1
- package/resources/carriers.d.ts +0 -3
- package/resources/carriers.d.ts.map +1 -1
- package/resources/carriers.js +0 -3
- package/resources/carriers.js.map +1 -1
- package/resources/carriers.mjs +0 -3
- package/resources/carriers.mjs.map +1 -1
- package/resources/connect/countries.d.mts +8 -3
- package/resources/connect/countries.d.mts.map +1 -1
- package/resources/connect/countries.d.ts +8 -3
- package/resources/connect/countries.d.ts.map +1 -1
- package/resources/connect/countries.js +6 -1
- package/resources/connect/countries.js.map +1 -1
- package/resources/connect/countries.mjs +6 -1
- package/resources/connect/countries.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +11 -9
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +11 -9
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +7 -5
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +7 -5
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/connect/users.d.mts +7 -2
- package/resources/connect/users.d.mts.map +1 -1
- package/resources/connect/users.d.ts +7 -2
- package/resources/connect/users.d.ts.map +1 -1
- package/resources/connect/users.js +7 -2
- package/resources/connect/users.js.map +1 -1
- package/resources/connect/users.mjs +7 -2
- package/resources/connect/users.mjs.map +1 -1
- package/resources/credentials/credentials.d.mts +3 -4
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +3 -4
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js +3 -4
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs +3 -4
- package/resources/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.mts +14 -7
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +14 -7
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js +7 -6
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs +7 -6
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +8 -6
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +8 -6
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/fields.js +8 -6
- package/resources/credentials/packages/credentials/fields.js.map +1 -1
- package/resources/credentials/packages/credentials/fields.mjs +8 -6
- package/resources/credentials/packages/credentials/fields.mjs.map +1 -1
- package/resources/credentials/packages/packages.d.mts +5 -5
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +5 -5
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +5 -5
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +5 -5
- package/resources/credentials/packages/packages.mjs.map +1 -1
- package/resources/devices/actions.d.mts +10 -5
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +10 -5
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +10 -5
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +10 -5
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +38 -5
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +38 -5
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +21 -5
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +21 -5
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/devices.d.mts +76 -14
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +76 -14
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +28 -12
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +28 -12
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/esim.d.mts +6 -4
- package/resources/devices/esim.d.mts.map +1 -1
- package/resources/devices/esim.d.ts +6 -4
- package/resources/devices/esim.d.ts.map +1 -1
- package/resources/devices/esim.js +6 -4
- package/resources/devices/esim.js.map +1 -1
- package/resources/devices/esim.mjs +6 -4
- package/resources/devices/esim.mjs.map +1 -1
- package/resources/devices/files.d.mts +7 -4
- package/resources/devices/files.d.mts.map +1 -1
- package/resources/devices/files.d.ts +7 -4
- package/resources/devices/files.d.ts.map +1 -1
- package/resources/devices/files.js +7 -4
- package/resources/devices/files.js.map +1 -1
- package/resources/devices/files.mjs +7 -4
- package/resources/devices/files.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +5 -3
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +5 -3
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/keyboard.js +5 -3
- package/resources/devices/keyboard.js.map +1 -1
- package/resources/devices/keyboard.mjs +5 -3
- package/resources/devices/keyboard.mjs.map +1 -1
- package/resources/devices/language.d.mts +4 -2
- package/resources/devices/language.d.mts.map +1 -1
- package/resources/devices/language.d.ts +4 -2
- package/resources/devices/language.d.ts.map +1 -1
- package/resources/devices/language.js +4 -2
- package/resources/devices/language.js.map +1 -1
- package/resources/devices/language.mjs +4 -2
- package/resources/devices/language.mjs.map +1 -1
- package/resources/devices/location.d.mts +4 -2
- package/resources/devices/location.d.mts.map +1 -1
- package/resources/devices/location.d.ts +4 -2
- package/resources/devices/location.d.ts.map +1 -1
- package/resources/devices/location.js +4 -2
- package/resources/devices/location.js.map +1 -1
- package/resources/devices/location.mjs +4 -2
- package/resources/devices/location.mjs.map +1 -1
- package/resources/devices/packages.d.mts +2 -1
- package/resources/devices/packages.d.mts.map +1 -1
- package/resources/devices/packages.d.ts +2 -1
- package/resources/devices/packages.d.ts.map +1 -1
- package/resources/devices/packages.js +2 -1
- package/resources/devices/packages.js.map +1 -1
- package/resources/devices/packages.mjs +2 -1
- package/resources/devices/packages.mjs.map +1 -1
- package/resources/devices/proxy.d.mts +29 -3
- package/resources/devices/proxy.d.mts.map +1 -1
- package/resources/devices/proxy.d.ts +29 -3
- package/resources/devices/proxy.d.ts.map +1 -1
- package/resources/devices/proxy.js +7 -3
- package/resources/devices/proxy.js.map +1 -1
- package/resources/devices/proxy.mjs +7 -3
- package/resources/devices/proxy.mjs.map +1 -1
- package/resources/devices/state.d.mts +7 -3
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +7 -3
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +6 -3
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +6 -3
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/tasks.d.mts +4 -12
- package/resources/devices/tasks.d.mts.map +1 -1
- package/resources/devices/tasks.d.ts +4 -12
- package/resources/devices/tasks.d.ts.map +1 -1
- package/resources/devices/tasks.js +2 -4
- package/resources/devices/tasks.js.map +1 -1
- package/resources/devices/tasks.mjs +2 -4
- package/resources/devices/tasks.mjs.map +1 -1
- package/resources/devices/timezone.d.mts +4 -2
- package/resources/devices/timezone.d.mts.map +1 -1
- package/resources/devices/timezone.d.ts +4 -2
- package/resources/devices/timezone.d.ts.map +1 -1
- package/resources/devices/timezone.js +4 -2
- package/resources/devices/timezone.js.map +1 -1
- package/resources/devices/timezone.mjs +4 -2
- package/resources/devices/timezone.mjs.map +1 -1
- package/resources/hooks.d.mts +0 -239
- package/resources/hooks.d.mts.map +1 -1
- package/resources/hooks.d.ts +0 -239
- package/resources/hooks.d.ts.map +1 -1
- package/resources/hooks.js +0 -57
- package/resources/hooks.js.map +1 -1
- package/resources/hooks.mjs +0 -57
- package/resources/hooks.mjs.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.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/profiles.d.mts +69 -6
- package/resources/profiles.d.mts.map +1 -1
- package/resources/profiles.d.ts +69 -6
- package/resources/profiles.d.ts.map +1 -1
- package/resources/profiles.js.map +1 -1
- package/resources/profiles.mjs.map +1 -1
- package/resources/proxies.d.mts +14 -8
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +14 -8
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +14 -8
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +14 -8
- package/resources/proxies.mjs.map +1 -1
- package/resources/shared.d.mts +14 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +14 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/tasks/tasks.d.mts +159 -64
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +159 -64
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js +10 -2
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +10 -2
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/webhooks/deliveries.d.mts +38 -4
- package/resources/webhooks/deliveries.d.mts.map +1 -1
- package/resources/webhooks/deliveries.d.ts +38 -4
- package/resources/webhooks/deliveries.d.ts.map +1 -1
- package/resources/webhooks/deliveries.js +15 -4
- package/resources/webhooks/deliveries.js.map +1 -1
- package/resources/webhooks/deliveries.mjs +15 -4
- package/resources/webhooks/deliveries.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +67 -9
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +67 -9
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +26 -8
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +26 -8
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +5 -2
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +5 -2
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/action-catalog.js +5 -2
- package/resources/workflows/action-catalog.js.map +1 -1
- package/resources/workflows/action-catalog.mjs +5 -2
- package/resources/workflows/action-catalog.mjs.map +1 -1
- package/resources/workflows/actions/actions.d.mts +15 -5
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +15 -5
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js +10 -5
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs +10 -5
- package/resources/workflows/actions/actions.mjs.map +1 -1
- package/resources/workflows/actions/services.d.mts +5 -2
- package/resources/workflows/actions/services.d.mts.map +1 -1
- package/resources/workflows/actions/services.d.ts +5 -2
- package/resources/workflows/actions/services.d.ts.map +1 -1
- package/resources/workflows/actions/services.js +5 -2
- package/resources/workflows/actions/services.js.map +1 -1
- package/resources/workflows/actions/services.mjs +5 -2
- package/resources/workflows/actions/services.mjs.map +1 -1
- package/resources/workflows/events/catalog.d.mts +0 -51
- package/resources/workflows/events/catalog.d.mts.map +1 -1
- package/resources/workflows/events/catalog.d.ts +0 -51
- package/resources/workflows/events/catalog.d.ts.map +1 -1
- package/resources/workflows/events/catalog.js +0 -12
- package/resources/workflows/events/catalog.js.map +1 -1
- package/resources/workflows/events/catalog.mjs +0 -12
- package/resources/workflows/events/catalog.mjs.map +1 -1
- package/resources/workflows/events/events.d.mts +10 -20
- package/resources/workflows/events/events.d.mts.map +1 -1
- package/resources/workflows/events/events.d.ts +10 -20
- package/resources/workflows/events/events.d.ts.map +1 -1
- package/resources/workflows/events/events.js.map +1 -1
- package/resources/workflows/events/events.mjs +1 -1
- package/resources/workflows/events/events.mjs.map +1 -1
- package/resources/workflows/events/index.d.mts +1 -1
- package/resources/workflows/events/index.d.mts.map +1 -1
- package/resources/workflows/events/index.d.ts +1 -1
- package/resources/workflows/events/index.d.ts.map +1 -1
- package/resources/workflows/events/index.js.map +1 -1
- package/resources/workflows/events/index.mjs +1 -1
- package/resources/workflows/events/index.mjs.map +1 -1
- package/resources/workflows/executions.d.mts +43 -5
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +43 -5
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +8 -3
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +8 -3
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +12 -4
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +12 -4
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js +12 -4
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs +12 -4
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +33 -7
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +33 -7
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +18 -6
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +18 -6
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +75 -63
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +75 -63
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +12 -5
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +12 -5
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +15 -0
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +15 -0
- 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 +8 -46
- package/src/resources/apps.ts +16 -8
- package/src/resources/carriers.ts +0 -3
- package/src/resources/connect/countries.ts +8 -3
- package/src/resources/connect/proxies.ts +11 -9
- package/src/resources/connect/users.ts +7 -2
- package/src/resources/credentials/credentials.ts +3 -4
- package/src/resources/credentials/packages/credentials/credentials.ts +16 -7
- package/src/resources/credentials/packages/credentials/fields.ts +8 -6
- package/src/resources/credentials/packages/packages.ts +5 -5
- package/src/resources/devices/actions.ts +10 -5
- package/src/resources/devices/apps.ts +41 -5
- package/src/resources/devices/devices.ts +97 -15
- package/src/resources/devices/esim.ts +6 -4
- package/src/resources/devices/files.ts +7 -4
- package/src/resources/devices/keyboard.ts +5 -3
- package/src/resources/devices/language.ts +4 -2
- package/src/resources/devices/location.ts +4 -2
- package/src/resources/devices/packages.ts +2 -1
- package/src/resources/devices/proxy.ts +32 -3
- package/src/resources/devices/state.ts +8 -3
- package/src/resources/devices/tasks.ts +4 -15
- package/src/resources/devices/timezone.ts +4 -2
- package/src/resources/hooks.ts +1 -333
- package/src/resources/index.ts +4 -17
- package/src/resources/profiles.ts +105 -6
- package/src/resources/proxies.ts +14 -8
- package/src/resources/shared.ts +17 -0
- package/src/resources/tasks/tasks.ts +198 -78
- package/src/resources/webhooks/deliveries.ts +43 -4
- package/src/resources/webhooks/webhooks.ts +79 -9
- package/src/resources/workflows/action-catalog.ts +5 -2
- package/src/resources/workflows/actions/actions.ts +17 -5
- package/src/resources/workflows/actions/services.ts +5 -2
- package/src/resources/workflows/events/catalog.ts +1 -84
- package/src/resources/workflows/events/events.ts +14 -36
- package/src/resources/workflows/events/index.ts +1 -7
- package/src/resources/workflows/executions.ts +50 -5
- package/src/resources/workflows/flows/actions.ts +12 -4
- package/src/resources/workflows/flows/flows.ts +41 -7
- package/src/resources/workflows/triggers.ts +92 -75
- package/src/resources/workflows/workflows.ts +21 -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
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as ExecutionsAPI from "./executions.js";
|
|
2
3
|
import * as Shared from "../shared.js";
|
|
3
4
|
import { APIPromise } from "../../core/api-promise.js";
|
|
4
5
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
5
6
|
export declare class Executions extends APIResource {
|
|
6
7
|
/**
|
|
7
|
-
*
|
|
8
|
+
* Fetch a single flow execution by its ID, including its status, kind, result or
|
|
9
|
+
* error, and start/finish timestamps. Returns 404 if no execution matches.
|
|
8
10
|
*/
|
|
9
11
|
retrieve(executionID: string, options?: RequestOptions): APIPromise<ExecutionRetrieveResponse>;
|
|
10
12
|
/**
|
|
11
|
-
*
|
|
13
|
+
* Return a paginated history of flow executions. Supports filtering by `flowId`,
|
|
14
|
+
* `triggerId`, `status`, and a `from`/`to` time range, plus free-text `search` and
|
|
15
|
+
* ordering by startedAt, finishedAt, or status.
|
|
12
16
|
*/
|
|
13
17
|
list(query?: ExecutionListParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionListResponse>;
|
|
14
18
|
/**
|
|
15
|
-
*
|
|
19
|
+
* Return aggregate execution metrics — total count, counts by status, average
|
|
20
|
+
* duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
|
|
21
|
+
* and a `from`/`to` time range.
|
|
16
22
|
*/
|
|
17
23
|
getMetrics(query?: ExecutionGetMetricsParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionGetMetricsResponse>;
|
|
18
24
|
}
|
|
@@ -28,15 +34,47 @@ export interface FlowExecution {
|
|
|
28
34
|
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
29
35
|
triggerId: string;
|
|
30
36
|
triggerName: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
39
|
+
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
40
|
+
* step that opted into a verdict — null otherwise. Table-backed steps (current
|
|
41
|
+
* executions) also carry a `status` string (e.g. success/failed/stopped, see
|
|
42
|
+
* deriveStepStatus); it is optional and absent on legacy blob-only executions, so
|
|
43
|
+
* clients must not assume its presence.
|
|
44
|
+
*/
|
|
31
45
|
result?: unknown;
|
|
32
46
|
}
|
|
33
47
|
export interface ExecutionRetrieveResponse {
|
|
34
|
-
data:
|
|
48
|
+
data: ExecutionRetrieveResponse.Data;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace ExecutionRetrieveResponse {
|
|
51
|
+
interface Data extends ExecutionsAPI.FlowExecution {
|
|
52
|
+
createdBy: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Files produced by files.upload steps, plus files an agent.run step reported on
|
|
55
|
+
* its terminal response (agent-created output or a workflow upload minted during
|
|
56
|
+
* the turn); derived server-side at read time.
|
|
57
|
+
*/
|
|
58
|
+
files: Array<Data.File>;
|
|
59
|
+
}
|
|
60
|
+
namespace Data {
|
|
61
|
+
interface File {
|
|
62
|
+
fileId: string;
|
|
63
|
+
filename: string;
|
|
64
|
+
mimeType: string;
|
|
65
|
+
sizeBytes: number;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
35
68
|
}
|
|
36
69
|
export interface ExecutionListResponse {
|
|
37
|
-
items: Array<
|
|
70
|
+
items: Array<ExecutionListResponse.Item>;
|
|
38
71
|
pagination: Shared.Pagination;
|
|
39
72
|
}
|
|
73
|
+
export declare namespace ExecutionListResponse {
|
|
74
|
+
interface Item extends ExecutionsAPI.FlowExecution {
|
|
75
|
+
createdBy: string | null;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
40
78
|
export interface ExecutionGetMetricsResponse {
|
|
41
79
|
data: ExecutionGetMetricsResponse.Data;
|
|
42
80
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executions.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,UAAW,SAAQ,WAAW;IACzC
|
|
1
|
+
{"version":3,"file":"executions.d.ts","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,aAAa,wBAAqB;AAC9C,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;OAGG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAI9F;;;;OAIG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EA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AAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,CAAC;IAE5F,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -6,19 +6,24 @@ const resource_1 = require("../../core/resource.js");
|
|
|
6
6
|
const path_1 = require("../../internal/utils/path.js");
|
|
7
7
|
class Executions extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Fetch a single flow execution by its ID, including its status, kind, result or
|
|
10
|
+
* error, and start/finish timestamps. Returns 404 if no execution matches.
|
|
10
11
|
*/
|
|
11
12
|
retrieve(executionID, options) {
|
|
12
13
|
return this._client.get((0, path_1.path) `/executions/${executionID}`, options);
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
15
|
-
*
|
|
16
|
+
* Return a paginated history of flow executions. Supports filtering by `flowId`,
|
|
17
|
+
* `triggerId`, `status`, and a `from`/`to` time range, plus free-text `search` and
|
|
18
|
+
* ordering by startedAt, finishedAt, or status.
|
|
16
19
|
*/
|
|
17
20
|
list(query = {}, options) {
|
|
18
21
|
return this._client.get('/executions', { query, ...options });
|
|
19
22
|
}
|
|
20
23
|
/**
|
|
21
|
-
*
|
|
24
|
+
* Return aggregate execution metrics — total count, counts by status, average
|
|
25
|
+
* duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
|
|
26
|
+
* and a `from`/`to` time range.
|
|
22
27
|
*/
|
|
23
28
|
getMetrics(query = {}, options) {
|
|
24
29
|
return this._client.get('/executions/metrics', { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executions.js","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"executions.js","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAKlD,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;OAGG;IACH,QAAQ,CAAC,WAAmB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;;OAIG;IACH,UAAU,CACR,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;AAhCD,gCAgCC"}
|
|
@@ -3,19 +3,24 @@ import { APIResource } from "../../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../../internal/utils/path.mjs";
|
|
4
4
|
export class Executions extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Fetch a single flow execution by its ID, including its status, kind, result or
|
|
7
|
+
* error, and start/finish timestamps. Returns 404 if no execution matches.
|
|
7
8
|
*/
|
|
8
9
|
retrieve(executionID, options) {
|
|
9
10
|
return this._client.get(path `/executions/${executionID}`, options);
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
12
|
-
*
|
|
13
|
+
* Return a paginated history of flow executions. Supports filtering by `flowId`,
|
|
14
|
+
* `triggerId`, `status`, and a `from`/`to` time range, plus free-text `search` and
|
|
15
|
+
* ordering by startedAt, finishedAt, or status.
|
|
13
16
|
*/
|
|
14
17
|
list(query = {}, options) {
|
|
15
18
|
return this._client.get('/executions', { query, ...options });
|
|
16
19
|
}
|
|
17
20
|
/**
|
|
18
|
-
*
|
|
21
|
+
* Return aggregate execution metrics — total count, counts by status, average
|
|
22
|
+
* duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
|
|
23
|
+
* and a `from`/`to` time range.
|
|
19
24
|
*/
|
|
20
25
|
getMetrics(query = {}, options) {
|
|
21
26
|
return this._client.get('/executions/metrics', { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executions.mjs","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;
|
|
1
|
+
{"version":3,"file":"executions.mjs","sourceRoot":"","sources":["../../src/resources/workflows/executions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAKlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;OAGG;IACH,QAAQ,CAAC,WAAmB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;;OAIG;IACH,UAAU,CACR,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF"}
|
|
@@ -4,19 +4,27 @@ import { APIPromise } from "../../../core/api-promise.mjs";
|
|
|
4
4
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
5
|
export declare class Actions extends APIResource {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Return the ordered list of actions attached to a flow, including any nested
|
|
8
|
+
* child actions. Returns 404 if the flow does not exist.
|
|
8
9
|
*/
|
|
9
10
|
list(flowID: string, options?: RequestOptions): APIPromise<ActionListResponse>;
|
|
10
11
|
/**
|
|
11
|
-
*
|
|
12
|
+
* Append a single action to a flow at the given `position`, optionally nesting it
|
|
13
|
+
* under a `parentFlowActionId` or supplying its own `children`. Supports a
|
|
14
|
+
* `nameOverride`, param `overrides`, and `continueOnError`. Returns 404 if the
|
|
15
|
+
* flow does not exist.
|
|
12
16
|
*/
|
|
13
17
|
add(flowID: string, body: ActionAddParams, options?: RequestOptions): APIPromise<ActionAddResponse>;
|
|
14
18
|
/**
|
|
15
|
-
* Remove
|
|
19
|
+
* Remove a single action from a flow by its `flowActionId`. Returns 404 if the
|
|
20
|
+
* flow or flow action does not exist.
|
|
16
21
|
*/
|
|
17
22
|
remove(flowActionID: string, params: ActionRemoveParams, options?: RequestOptions): APIPromise<ActionRemoveResponse>;
|
|
18
23
|
/**
|
|
19
|
-
* Replace
|
|
24
|
+
* Replace a flow's entire action list with the supplied set (at least one
|
|
25
|
+
* required). Each action references an `actionId` and a unique `position`, and may
|
|
26
|
+
* include nested `children`, a `nameOverride`, param `overrides`, and a
|
|
27
|
+
* `continueOnError` flag. Returns 404 if the flow does not exist.
|
|
20
28
|
*/
|
|
21
29
|
replace(flowID: string, body: ActionReplaceParams, options?: RequestOptions): APIPromise<ActionReplaceResponse>;
|
|
22
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,OAAQ,SAAQ,WAAW;IACtC
|
|
1
|
+
{"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;OAGG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI9E;;;;;OAKG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAInG;;;OAGG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAKnC;;;;;OAKG;IACH,OAAO,CACL,MAAM,EAAE,MAAM,EACd,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C;CACpC;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,KAAK,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;CAC5C;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,MAAM;QACrB,QAAQ,EAAE,MAAM,CAAC;QAEjB,QAAQ,EAAE,MAAM,CAAC;QAEjB,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;QAEhD,eAAe,CAAC,EAAE,OAAO,CAAC;QAE1B,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB,SAAS,CAAC,EAAE,QAAQ,CAAC,mBAAmB,GAAG,IAAI,CAAC;KACjD;CACF;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -4,19 +4,27 @@ import { APIPromise } from "../../../core/api-promise.js";
|
|
|
4
4
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
5
|
export declare class Actions extends APIResource {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Return the ordered list of actions attached to a flow, including any nested
|
|
8
|
+
* child actions. Returns 404 if the flow does not exist.
|
|
8
9
|
*/
|
|
9
10
|
list(flowID: string, options?: RequestOptions): APIPromise<ActionListResponse>;
|
|
10
11
|
/**
|
|
11
|
-
*
|
|
12
|
+
* Append a single action to a flow at the given `position`, optionally nesting it
|
|
13
|
+
* under a `parentFlowActionId` or supplying its own `children`. Supports a
|
|
14
|
+
* `nameOverride`, param `overrides`, and `continueOnError`. Returns 404 if the
|
|
15
|
+
* flow does not exist.
|
|
12
16
|
*/
|
|
13
17
|
add(flowID: string, body: ActionAddParams, options?: RequestOptions): APIPromise<ActionAddResponse>;
|
|
14
18
|
/**
|
|
15
|
-
* Remove
|
|
19
|
+
* Remove a single action from a flow by its `flowActionId`. Returns 404 if the
|
|
20
|
+
* flow or flow action does not exist.
|
|
16
21
|
*/
|
|
17
22
|
remove(flowActionID: string, params: ActionRemoveParams, options?: RequestOptions): APIPromise<ActionRemoveResponse>;
|
|
18
23
|
/**
|
|
19
|
-
* Replace
|
|
24
|
+
* Replace a flow's entire action list with the supplied set (at least one
|
|
25
|
+
* required). Each action references an `actionId` and a unique `position`, and may
|
|
26
|
+
* include nested `children`, a `nameOverride`, param `overrides`, and a
|
|
27
|
+
* `continueOnError` flag. Returns 404 if the flow does not exist.
|
|
20
28
|
*/
|
|
21
29
|
replace(flowID: string, body: ActionReplaceParams, options?: RequestOptions): APIPromise<ActionReplaceResponse>;
|
|
22
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,OAAQ,SAAQ,WAAW;IACtC
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C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eAAe,EACvC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -6,26 +6,34 @@ const resource_1 = require("../../../core/resource.js");
|
|
|
6
6
|
const path_1 = require("../../../internal/utils/path.js");
|
|
7
7
|
class Actions extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Return the ordered list of actions attached to a flow, including any nested
|
|
10
|
+
* child actions. Returns 404 if the flow does not exist.
|
|
10
11
|
*/
|
|
11
12
|
list(flowID, options) {
|
|
12
13
|
return this._client.get((0, path_1.path) `/flows/${flowID}/actions`, options);
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
15
|
-
*
|
|
16
|
+
* Append a single action to a flow at the given `position`, optionally nesting it
|
|
17
|
+
* under a `parentFlowActionId` or supplying its own `children`. Supports a
|
|
18
|
+
* `nameOverride`, param `overrides`, and `continueOnError`. Returns 404 if the
|
|
19
|
+
* flow does not exist.
|
|
16
20
|
*/
|
|
17
21
|
add(flowID, body, options) {
|
|
18
22
|
return this._client.post((0, path_1.path) `/flows/${flowID}/actions`, { body, ...options });
|
|
19
23
|
}
|
|
20
24
|
/**
|
|
21
|
-
* Remove
|
|
25
|
+
* Remove a single action from a flow by its `flowActionId`. Returns 404 if the
|
|
26
|
+
* flow or flow action does not exist.
|
|
22
27
|
*/
|
|
23
28
|
remove(flowActionID, params, options) {
|
|
24
29
|
const { flowId } = params;
|
|
25
30
|
return this._client.delete((0, path_1.path) `/flows/${flowId}/actions/${flowActionID}`, options);
|
|
26
31
|
}
|
|
27
32
|
/**
|
|
28
|
-
* Replace
|
|
33
|
+
* Replace a flow's entire action list with the supplied set (at least one
|
|
34
|
+
* required). Each action references an `actionId` and a unique `position`, and may
|
|
35
|
+
* include nested `children`, a `nameOverride`, param `overrides`, and a
|
|
36
|
+
* `continueOnError` flag. Returns 404 if the flow does not exist.
|
|
29
37
|
*/
|
|
30
38
|
replace(flowID, body, options) {
|
|
31
39
|
return this._client.put((0, path_1.path) `/flows/${flowID}/actions`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD,0DAAoD;AAEpD,MAAa,OAAQ,SAAQ,sBAAW;IACtC
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD,0DAAoD;AAEpD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;OAGG;IACH,IAAI,CAAC,MAAc,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,MAAM,UAAU,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;OAKG;IACH,GAAG,CAAC,MAAc,EAAE,IAAqB,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,UAAU,MAAM,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,YAAoB,EACpB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,UAAU,MAAM,YAAY,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;OAKG;IACH,OAAO,CACL,MAAc,EACd,IAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,MAAM,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AA7CD,0BA6CC"}
|
|
@@ -3,26 +3,34 @@ import { APIResource } from "../../../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../../../internal/utils/path.mjs";
|
|
4
4
|
export class Actions extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Return the ordered list of actions attached to a flow, including any nested
|
|
7
|
+
* child actions. Returns 404 if the flow does not exist.
|
|
7
8
|
*/
|
|
8
9
|
list(flowID, options) {
|
|
9
10
|
return this._client.get(path `/flows/${flowID}/actions`, options);
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
12
|
-
*
|
|
13
|
+
* Append a single action to a flow at the given `position`, optionally nesting it
|
|
14
|
+
* under a `parentFlowActionId` or supplying its own `children`. Supports a
|
|
15
|
+
* `nameOverride`, param `overrides`, and `continueOnError`. Returns 404 if the
|
|
16
|
+
* flow does not exist.
|
|
13
17
|
*/
|
|
14
18
|
add(flowID, body, options) {
|
|
15
19
|
return this._client.post(path `/flows/${flowID}/actions`, { body, ...options });
|
|
16
20
|
}
|
|
17
21
|
/**
|
|
18
|
-
* Remove
|
|
22
|
+
* Remove a single action from a flow by its `flowActionId`. Returns 404 if the
|
|
23
|
+
* flow or flow action does not exist.
|
|
19
24
|
*/
|
|
20
25
|
remove(flowActionID, params, options) {
|
|
21
26
|
const { flowId } = params;
|
|
22
27
|
return this._client.delete(path `/flows/${flowId}/actions/${flowActionID}`, options);
|
|
23
28
|
}
|
|
24
29
|
/**
|
|
25
|
-
* Replace
|
|
30
|
+
* Replace a flow's entire action list with the supplied set (at least one
|
|
31
|
+
* required). Each action references an `actionId` and a unique `position`, and may
|
|
32
|
+
* include nested `children`, a `nameOverride`, param `overrides`, and a
|
|
33
|
+
* `continueOnError` flag. Returns 404 if the flow does not exist.
|
|
26
34
|
*/
|
|
27
35
|
replace(flowID, body, options) {
|
|
28
36
|
return this._client.put(path `/flows/${flowID}/actions`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAIrD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC
|
|
1
|
+
{"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/flows/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAIrD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;OAGG;IACH,IAAI,CAAC,MAAc,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,MAAM,UAAU,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;OAKG;IACH,GAAG,CAAC,MAAc,EAAE,IAAqB,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,UAAU,MAAM,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,YAAoB,EACpB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,UAAU,MAAM,YAAY,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;OAKG;IACH,OAAO,CACL,MAAc,EACd,IAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,MAAM,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
|
|
@@ -9,27 +9,39 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
|
9
9
|
export declare class Flows extends APIResource {
|
|
10
10
|
actions: ActionsAPI.Actions;
|
|
11
11
|
/**
|
|
12
|
-
* Create a flow
|
|
12
|
+
* Create a flow that binds a trigger (`triggerId`) to an ordered list of actions,
|
|
13
|
+
* with at least one action required. Optional settings include target `deviceIds`,
|
|
14
|
+
* a cooldown (`cooldownSeconds`/`cooldownScope`), and webhook notifications on
|
|
15
|
+
* success or failure.
|
|
13
16
|
*/
|
|
14
17
|
create(body: FlowCreateParams, options?: RequestOptions): APIPromise<FlowCreateResponse>;
|
|
15
18
|
/**
|
|
16
|
-
*
|
|
19
|
+
* Fetch a single flow by its ID, including its trigger binding, configuration, and
|
|
20
|
+
* current status. Returns 404 if no flow matches.
|
|
17
21
|
*/
|
|
18
22
|
retrieve(flowID: string, options?: RequestOptions): APIPromise<FlowRetrieveResponse>;
|
|
19
23
|
/**
|
|
20
|
-
*
|
|
24
|
+
* Partially update a flow's settings — name, trigger binding, enabled state,
|
|
25
|
+
* target devices, cooldown, or notifications; all fields are optional. Actions are
|
|
26
|
+
* managed through the flow-actions endpoints, not here. Returns 404 if the flow
|
|
27
|
+
* does not exist.
|
|
21
28
|
*/
|
|
22
29
|
update(flowID: string, body?: FlowUpdateParams | null | undefined, options?: RequestOptions): APIPromise<FlowUpdateResponse>;
|
|
23
30
|
/**
|
|
24
|
-
*
|
|
31
|
+
* Return a paginated list of flows. Supports filtering by `triggerId`, `enabled`,
|
|
32
|
+
* one or more health `status` values (healthy, failing, blocked), `mine` (flows
|
|
33
|
+
* created by the calling actor), `createdBy` (flows created by a given actor id —
|
|
34
|
+
* mutually exclusive with `mine`), plus free-text `search` and ordering.
|
|
25
35
|
*/
|
|
26
36
|
list(query?: FlowListParams | null | undefined, options?: RequestOptions): APIPromise<FlowListResponse>;
|
|
27
37
|
/**
|
|
28
|
-
* Delete a flow
|
|
38
|
+
* Delete a flow by its ID. Returns 404 if no flow matches.
|
|
29
39
|
*/
|
|
30
40
|
delete(flowID: string, options?: RequestOptions): APIPromise<FlowDeleteResponse>;
|
|
31
41
|
/**
|
|
32
|
-
*
|
|
42
|
+
* Create a copy of an existing flow, including its actions and settings. The
|
|
43
|
+
* optional body can override the new flow's `name` and target `deviceIds`. Returns
|
|
44
|
+
* 404 if the source flow does not exist.
|
|
33
45
|
*/
|
|
34
46
|
clone(flowID: string, body?: FlowCloneParams | null | undefined, options?: RequestOptions): APIPromise<FlowCloneResponse>;
|
|
35
47
|
/**
|
|
@@ -81,9 +93,12 @@ export interface FlowCreateParams {
|
|
|
81
93
|
description?: string;
|
|
82
94
|
deviceIds?: Array<string>;
|
|
83
95
|
enabled?: boolean;
|
|
96
|
+
healthMonitoringEnabled?: boolean;
|
|
84
97
|
notifyOnFailure?: boolean;
|
|
85
98
|
notifyOnSuccess?: boolean;
|
|
86
99
|
notifyWebhookId?: string | null;
|
|
100
|
+
selfHealingEnabled?: boolean;
|
|
101
|
+
selfHealingMaxAttempts?: number;
|
|
87
102
|
}
|
|
88
103
|
export declare namespace FlowCreateParams {
|
|
89
104
|
interface Action {
|
|
@@ -101,14 +116,25 @@ export interface FlowUpdateParams {
|
|
|
101
116
|
description?: string;
|
|
102
117
|
deviceIds?: Array<string>;
|
|
103
118
|
enabled?: boolean;
|
|
119
|
+
healthMonitoringEnabled?: boolean;
|
|
104
120
|
name?: string;
|
|
105
121
|
notifyOnFailure?: boolean;
|
|
106
122
|
notifyOnSuccess?: boolean;
|
|
107
123
|
notifyWebhookId?: string | null;
|
|
124
|
+
selfHealingEnabled?: boolean;
|
|
125
|
+
selfHealingMaxAttempts?: number;
|
|
108
126
|
triggerId?: string;
|
|
109
127
|
}
|
|
110
128
|
export interface FlowListParams {
|
|
111
|
-
|
|
129
|
+
createdBy?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Only include flows with this enabled state.
|
|
132
|
+
*/
|
|
133
|
+
enabled?: 'true' | 'false';
|
|
134
|
+
/**
|
|
135
|
+
* Only include flows created by you.
|
|
136
|
+
*/
|
|
137
|
+
mine?: 'true' | 'false';
|
|
112
138
|
orderBy?: 'name' | 'createdAt' | 'updatedAt';
|
|
113
139
|
orderByDirection?: 'asc' | 'desc';
|
|
114
140
|
page?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/flows/flows.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,YAAY,yBAAqB;AAC7C,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,OAAO,EACP,UAAU,EACX,sBAAkB;AACnB,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,KAAM,SAAQ,WAAW;IACpC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE
|
|
1
|
+
{"version":3,"file":"flows.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/flows/flows.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,YAAY,yBAAqB;AAC7C,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,OAAO,EACP,UAAU,EACX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vC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -9,27 +9,39 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
9
9
|
export declare class Flows extends APIResource {
|
|
10
10
|
actions: ActionsAPI.Actions;
|
|
11
11
|
/**
|
|
12
|
-
* Create a flow
|
|
12
|
+
* Create a flow that binds a trigger (`triggerId`) to an ordered list of actions,
|
|
13
|
+
* with at least one action required. Optional settings include target `deviceIds`,
|
|
14
|
+
* a cooldown (`cooldownSeconds`/`cooldownScope`), and webhook notifications on
|
|
15
|
+
* success or failure.
|
|
13
16
|
*/
|
|
14
17
|
create(body: FlowCreateParams, options?: RequestOptions): APIPromise<FlowCreateResponse>;
|
|
15
18
|
/**
|
|
16
|
-
*
|
|
19
|
+
* Fetch a single flow by its ID, including its trigger binding, configuration, and
|
|
20
|
+
* current status. Returns 404 if no flow matches.
|
|
17
21
|
*/
|
|
18
22
|
retrieve(flowID: string, options?: RequestOptions): APIPromise<FlowRetrieveResponse>;
|
|
19
23
|
/**
|
|
20
|
-
*
|
|
24
|
+
* Partially update a flow's settings — name, trigger binding, enabled state,
|
|
25
|
+
* target devices, cooldown, or notifications; all fields are optional. Actions are
|
|
26
|
+
* managed through the flow-actions endpoints, not here. Returns 404 if the flow
|
|
27
|
+
* does not exist.
|
|
21
28
|
*/
|
|
22
29
|
update(flowID: string, body?: FlowUpdateParams | null | undefined, options?: RequestOptions): APIPromise<FlowUpdateResponse>;
|
|
23
30
|
/**
|
|
24
|
-
*
|
|
31
|
+
* Return a paginated list of flows. Supports filtering by `triggerId`, `enabled`,
|
|
32
|
+
* one or more health `status` values (healthy, failing, blocked), `mine` (flows
|
|
33
|
+
* created by the calling actor), `createdBy` (flows created by a given actor id —
|
|
34
|
+
* mutually exclusive with `mine`), plus free-text `search` and ordering.
|
|
25
35
|
*/
|
|
26
36
|
list(query?: FlowListParams | null | undefined, options?: RequestOptions): APIPromise<FlowListResponse>;
|
|
27
37
|
/**
|
|
28
|
-
* Delete a flow
|
|
38
|
+
* Delete a flow by its ID. Returns 404 if no flow matches.
|
|
29
39
|
*/
|
|
30
40
|
delete(flowID: string, options?: RequestOptions): APIPromise<FlowDeleteResponse>;
|
|
31
41
|
/**
|
|
32
|
-
*
|
|
42
|
+
* Create a copy of an existing flow, including its actions and settings. The
|
|
43
|
+
* optional body can override the new flow's `name` and target `deviceIds`. Returns
|
|
44
|
+
* 404 if the source flow does not exist.
|
|
33
45
|
*/
|
|
34
46
|
clone(flowID: string, body?: FlowCloneParams | null | undefined, options?: RequestOptions): APIPromise<FlowCloneResponse>;
|
|
35
47
|
/**
|
|
@@ -81,9 +93,12 @@ export interface FlowCreateParams {
|
|
|
81
93
|
description?: string;
|
|
82
94
|
deviceIds?: Array<string>;
|
|
83
95
|
enabled?: boolean;
|
|
96
|
+
healthMonitoringEnabled?: boolean;
|
|
84
97
|
notifyOnFailure?: boolean;
|
|
85
98
|
notifyOnSuccess?: boolean;
|
|
86
99
|
notifyWebhookId?: string | null;
|
|
100
|
+
selfHealingEnabled?: boolean;
|
|
101
|
+
selfHealingMaxAttempts?: number;
|
|
87
102
|
}
|
|
88
103
|
export declare namespace FlowCreateParams {
|
|
89
104
|
interface Action {
|
|
@@ -101,14 +116,25 @@ export interface FlowUpdateParams {
|
|
|
101
116
|
description?: string;
|
|
102
117
|
deviceIds?: Array<string>;
|
|
103
118
|
enabled?: boolean;
|
|
119
|
+
healthMonitoringEnabled?: boolean;
|
|
104
120
|
name?: string;
|
|
105
121
|
notifyOnFailure?: boolean;
|
|
106
122
|
notifyOnSuccess?: boolean;
|
|
107
123
|
notifyWebhookId?: string | null;
|
|
124
|
+
selfHealingEnabled?: boolean;
|
|
125
|
+
selfHealingMaxAttempts?: number;
|
|
108
126
|
triggerId?: string;
|
|
109
127
|
}
|
|
110
128
|
export interface FlowListParams {
|
|
111
|
-
|
|
129
|
+
createdBy?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Only include flows with this enabled state.
|
|
132
|
+
*/
|
|
133
|
+
enabled?: 'true' | 'false';
|
|
134
|
+
/**
|
|
135
|
+
* Only include flows created by you.
|
|
136
|
+
*/
|
|
137
|
+
mine?: 'true' | 'false';
|
|
112
138
|
orderBy?: 'name' | 'createdAt' | 'updatedAt';
|
|
113
139
|
orderByDirection?: 'asc' | 'desc';
|
|
114
140
|
page?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/flows/flows.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,KAAK,MAAM,wBAAqB;AACvC,OAAO,KAAK,YAAY,wBAAqB;AAC7C,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,OAAO,EACP,UAAU,EACX,qBAAkB;AACnB,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,KAAM,SAAQ,WAAW;IACpC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE
|
|
1
|
+
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/flows/flows.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,KAAK,MAAM,wBAAqB;AACvC,OAAO,KAAK,YAAY,wBAAqB;AAC7C,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,OAAO,EAC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