@mobilerun/sdk 5.5.0 → 6.0.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 +30 -0
- package/README.md +0 -9
- package/client.d.mts +12 -30
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -30
- package/client.d.ts.map +1 -1
- package/client.js +1 -18
- package/client.js.map +1 -1
- package/client.mjs +2 -19
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +39 -26
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +39 -26
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +20 -7
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +20 -7
- package/resources/apps.mjs.map +1 -1
- package/resources/assistant/conversations.d.mts +7 -17
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +7 -17
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/assistant/conversations.js +4 -11
- package/resources/assistant/conversations.js.map +1 -1
- package/resources/assistant/conversations.mjs +4 -11
- package/resources/assistant/conversations.mjs.map +1 -1
- package/resources/connect/connect.d.mts +2 -2
- package/resources/connect/connect.d.mts.map +1 -1
- package/resources/connect/connect.d.ts +2 -2
- package/resources/connect/connect.d.ts.map +1 -1
- package/resources/connect/connect.js.map +1 -1
- package/resources/connect/connect.mjs.map +1 -1
- package/resources/connect/index.d.mts +1 -1
- package/resources/connect/index.d.mts.map +1 -1
- package/resources/connect/index.d.ts +1 -1
- package/resources/connect/index.d.ts.map +1 -1
- package/resources/connect/index.js.map +1 -1
- package/resources/connect/index.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +102 -17
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +102 -17
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +27 -14
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +27 -14
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/connect/users.d.mts +4 -4
- package/resources/connect/users.d.ts +4 -4
- package/resources/connect/users.js +2 -2
- package/resources/connect/users.mjs +2 -2
- package/resources/devices/actions.d.mts +25 -5
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +25 -5
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +5 -3
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +5 -3
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +13 -0
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +13 -0
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/browser.d.mts +9 -3
- package/resources/devices/browser.d.mts.map +1 -1
- package/resources/devices/browser.d.ts +9 -3
- package/resources/devices/browser.d.ts.map +1 -1
- package/resources/devices/browser.js +9 -3
- package/resources/devices/browser.js.map +1 -1
- package/resources/devices/browser.mjs +9 -3
- package/resources/devices/browser.mjs.map +1 -1
- package/resources/devices/devices.d.mts +88 -36
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +88 -36
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +30 -15
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +30 -15
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +3 -2
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +3 -2
- 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 +8 -2
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +8 -2
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/recordings.d.mts +29 -6
- package/resources/devices/recordings.d.mts.map +1 -1
- package/resources/devices/recordings.d.ts +29 -6
- package/resources/devices/recordings.d.ts.map +1 -1
- package/resources/devices/recordings.js +9 -0
- package/resources/devices/recordings.js.map +1 -1
- package/resources/devices/recordings.mjs +9 -0
- package/resources/devices/recordings.mjs.map +1 -1
- package/resources/devices/screenshots.d.mts +72 -0
- package/resources/devices/screenshots.d.mts.map +1 -0
- package/resources/devices/screenshots.d.ts +72 -0
- package/resources/devices/screenshots.d.ts.map +1 -0
- package/resources/devices/screenshots.js +57 -0
- package/resources/devices/screenshots.js.map +1 -0
- package/resources/devices/screenshots.mjs +53 -0
- package/resources/devices/screenshots.mjs.map +1 -0
- package/resources/devices/state.d.mts +11 -2
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +11 -2
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +5 -2
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +5 -2
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/traffic-sessions.d.mts +1 -11
- package/resources/devices/traffic-sessions.d.mts.map +1 -1
- package/resources/devices/traffic-sessions.d.ts +1 -11
- package/resources/devices/traffic-sessions.d.ts.map +1 -1
- package/resources/devices/traffic-sessions.js +2 -8
- package/resources/devices/traffic-sessions.js.map +1 -1
- package/resources/devices/traffic-sessions.mjs +2 -8
- package/resources/devices/traffic-sessions.mjs.map +1 -1
- package/resources/files.d.mts +8 -22
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +8 -22
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +5 -13
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +5 -13
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +6 -11
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -11
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -11
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -6
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/connections.d.mts +58 -0
- package/resources/mailboxes/connections.d.mts.map +1 -0
- package/resources/mailboxes/connections.d.ts +58 -0
- package/resources/mailboxes/connections.d.ts.map +1 -0
- package/resources/mailboxes/connections.js +41 -0
- package/resources/mailboxes/connections.js.map +1 -0
- package/resources/mailboxes/connections.mjs +37 -0
- package/resources/mailboxes/connections.mjs.map +1 -0
- package/resources/mailboxes/index.d.mts +2 -1
- package/resources/mailboxes/index.d.mts.map +1 -1
- package/resources/mailboxes/index.d.ts +2 -1
- package/resources/mailboxes/index.d.ts.map +1 -1
- package/resources/mailboxes/index.js +3 -1
- package/resources/mailboxes/index.js.map +1 -1
- package/resources/mailboxes/index.mjs +1 -0
- package/resources/mailboxes/index.mjs.map +1 -1
- package/resources/mailboxes/mailboxes.d.mts +74 -24
- package/resources/mailboxes/mailboxes.d.mts.map +1 -1
- package/resources/mailboxes/mailboxes.d.ts +74 -24
- package/resources/mailboxes/mailboxes.d.ts.map +1 -1
- package/resources/mailboxes/mailboxes.js +26 -8
- package/resources/mailboxes/mailboxes.js.map +1 -1
- package/resources/mailboxes/mailboxes.mjs +26 -8
- package/resources/mailboxes/mailboxes.mjs.map +1 -1
- package/resources/messages/index.d.mts +1 -1
- package/resources/messages/index.d.mts.map +1 -1
- package/resources/messages/index.d.ts +1 -1
- package/resources/messages/index.d.ts.map +1 -1
- package/resources/messages/index.js.map +1 -1
- package/resources/messages/index.mjs +1 -1
- package/resources/messages/index.mjs.map +1 -1
- package/resources/messages/messages.d.mts +26 -1
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +26 -1
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +9 -0
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +9 -0
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/models.d.mts +12 -23
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +12 -23
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +3 -4
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +3 -4
- package/resources/models.mjs.map +1 -1
- package/resources/numbers/index.d.mts +2 -2
- package/resources/numbers/index.d.mts.map +1 -1
- package/resources/numbers/index.d.ts +2 -2
- package/resources/numbers/index.d.ts.map +1 -1
- package/resources/numbers/index.js.map +1 -1
- package/resources/numbers/index.mjs +1 -1
- package/resources/numbers/index.mjs.map +1 -1
- package/resources/numbers/messages.d.mts +57 -1
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +57 -1
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/messages.js +23 -0
- package/resources/numbers/messages.js.map +1 -1
- package/resources/numbers/messages.mjs +23 -0
- package/resources/numbers/messages.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +148 -44
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +148 -44
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js +3 -23
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs +4 -24
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/proxies.d.mts +1 -87
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +1 -87
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +0 -6
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +0 -6
- package/resources/proxies.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +51 -188
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +51 -188
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js +2 -10
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +2 -10
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/webhooks/deliveries.d.mts +22 -31
- package/resources/webhooks/deliveries.d.mts.map +1 -1
- package/resources/webhooks/deliveries.d.ts +22 -31
- package/resources/webhooks/deliveries.d.ts.map +1 -1
- package/resources/webhooks/deliveries.js +4 -30
- package/resources/webhooks/deliveries.js.map +1 -1
- package/resources/webhooks/deliveries.mjs +4 -30
- package/resources/webhooks/deliveries.mjs.map +1 -1
- package/resources/webhooks/index.d.mts +2 -1
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +2 -1
- package/resources/webhooks/index.d.ts.map +1 -1
- package/resources/webhooks/index.js +3 -1
- package/resources/webhooks/index.js.map +1 -1
- package/resources/webhooks/index.mjs +1 -0
- package/resources/webhooks/index.mjs.map +1 -1
- package/resources/webhooks/integrations.d.mts +77 -0
- package/resources/webhooks/integrations.d.mts.map +1 -0
- package/resources/webhooks/integrations.d.ts +77 -0
- package/resources/webhooks/integrations.d.ts.map +1 -0
- package/resources/webhooks/integrations.js +26 -0
- package/resources/webhooks/integrations.js.map +1 -0
- package/resources/webhooks/integrations.mjs +22 -0
- package/resources/webhooks/integrations.mjs.map +1 -0
- package/resources/webhooks/webhooks.d.mts +276 -104
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +276 -104
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +32 -68
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +32 -68
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +7 -3
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +7 -3
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/actions/actions.d.mts +9 -5
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +9 -5
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js +4 -0
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs +4 -0
- package/resources/workflows/actions/actions.mjs.map +1 -1
- package/resources/workflows/events.d.mts +52 -5
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +52 -5
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions/executions.d.mts +330 -0
- package/resources/workflows/executions/executions.d.mts.map +1 -0
- package/resources/workflows/executions/executions.d.ts +330 -0
- package/resources/workflows/executions/executions.d.ts.map +1 -0
- package/resources/workflows/executions/executions.js +49 -0
- package/resources/workflows/executions/executions.js.map +1 -0
- package/resources/workflows/executions/executions.mjs +44 -0
- package/resources/workflows/executions/executions.mjs.map +1 -0
- package/resources/workflows/executions/index.d.mts +3 -0
- package/resources/workflows/executions/index.d.mts.map +1 -0
- package/resources/workflows/executions/index.d.ts +3 -0
- package/resources/workflows/executions/index.d.ts.map +1 -0
- package/resources/workflows/executions/index.js +9 -0
- package/resources/workflows/executions/index.js.map +1 -0
- package/resources/workflows/executions/index.mjs +4 -0
- package/resources/workflows/executions/index.mjs.map +1 -0
- package/resources/workflows/executions/screenshots.d.mts +18 -0
- package/resources/workflows/executions/screenshots.d.mts.map +1 -0
- package/resources/workflows/executions/screenshots.d.ts +18 -0
- package/resources/workflows/executions/screenshots.d.ts.map +1 -0
- package/resources/workflows/executions/screenshots.js +23 -0
- package/resources/workflows/executions/screenshots.js.map +1 -0
- package/resources/workflows/executions/screenshots.mjs +19 -0
- package/resources/workflows/executions/screenshots.mjs.map +1 -0
- package/resources/workflows/executions.d.mts +1 -269
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +1 -269
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +2 -37
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +1 -35
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +39 -0
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +39 -0
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js +4 -0
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs +4 -0
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +574 -27
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +574 -27
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +78 -3
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +78 -3
- 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 +2 -2
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +2 -2
- package/resources/workflows/index.d.ts.map +1 -1
- package/resources/workflows/index.js +4 -4
- package/resources/workflows/index.js.map +1 -1
- package/resources/workflows/index.mjs +1 -1
- package/resources/workflows/index.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +110 -15
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +110 -15
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +13 -1
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +13 -1
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +4 -4
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +4 -4
- package/resources/workflows/workflows.d.ts.map +1 -1
- package/resources/workflows/workflows.js +2 -2
- package/resources/workflows/workflows.js.map +1 -1
- package/resources/workflows/workflows.mjs +2 -2
- package/resources/workflows/workflows.mjs.map +1 -1
- package/src/client.ts +14 -103
- package/src/resources/apps.ts +39 -26
- package/src/resources/assistant/conversations.ts +12 -27
- package/src/resources/connect/connect.ts +6 -0
- package/src/resources/connect/index.ts +3 -0
- package/src/resources/connect/proxies.ts +127 -25
- package/src/resources/connect/users.ts +4 -4
- package/src/resources/devices/actions.ts +28 -5
- package/src/resources/devices/apps.ts +18 -0
- package/src/resources/devices/browser.ts +9 -3
- package/src/resources/devices/devices.ts +139 -41
- package/src/resources/devices/index.ts +13 -0
- package/src/resources/devices/keyboard.ts +9 -2
- package/src/resources/devices/recordings.ts +45 -5
- package/src/resources/devices/screenshots.ts +140 -0
- package/src/resources/devices/state.ts +12 -2
- package/src/resources/devices/traffic-sessions.ts +2 -19
- package/src/resources/files.ts +11 -32
- package/src/resources/index.ts +9 -43
- package/src/resources/mailboxes/connections.ts +84 -0
- package/src/resources/mailboxes/index.ts +7 -0
- package/src/resources/mailboxes/mailboxes.ts +147 -24
- package/src/resources/messages/index.ts +6 -1
- package/src/resources/messages/messages.ts +55 -1
- package/src/resources/models.ts +16 -23
- package/src/resources/numbers/index.ts +7 -2
- package/src/resources/numbers/messages.ts +88 -1
- package/src/resources/numbers/numbers.ts +171 -62
- package/src/resources/proxies.ts +0 -110
- package/src/resources/tasks/tasks.ts +57 -198
- package/src/resources/webhooks/deliveries.ts +26 -31
- package/src/resources/webhooks/index.ts +6 -1
- package/src/resources/webhooks/integrations.ts +107 -0
- package/src/resources/webhooks/webhooks.ts +315 -114
- package/src/resources/workflows/action-catalog.ts +11 -3
- package/src/resources/workflows/actions/actions.ts +9 -5
- package/src/resources/workflows/events.ts +66 -5
- package/src/resources/workflows/executions/executions.ts +510 -0
- package/src/resources/workflows/executions/index.ts +12 -0
- package/src/resources/workflows/executions/screenshots.ts +34 -0
- package/src/resources/workflows/executions.ts +1 -412
- package/src/resources/workflows/flows/actions.ts +46 -0
- package/src/resources/workflows/flows/flows.ts +811 -26
- package/src/resources/workflows/flows/index.ts +11 -0
- package/src/resources/workflows/index.ts +12 -1
- package/src/resources/workflows/triggers.ts +131 -16
- package/src/resources/workflows/workflows.ts +32 -10
- 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/app-events/app-events.d.mts +0 -81
- package/resources/app-events/app-events.d.mts.map +0 -1
- package/resources/app-events/app-events.d.ts +0 -81
- package/resources/app-events/app-events.d.ts.map +0 -1
- package/resources/app-events/app-events.js +0 -33
- package/resources/app-events/app-events.js.map +0 -1
- package/resources/app-events/app-events.mjs +0 -28
- package/resources/app-events/app-events.mjs.map +0 -1
- package/resources/app-events/catalog.d.mts +0 -64
- package/resources/app-events/catalog.d.mts.map +0 -1
- package/resources/app-events/catalog.d.ts +0 -64
- package/resources/app-events/catalog.d.ts.map +0 -1
- package/resources/app-events/catalog.js +0 -25
- package/resources/app-events/catalog.js.map +0 -1
- package/resources/app-events/catalog.mjs +0 -21
- package/resources/app-events/catalog.mjs.map +0 -1
- package/resources/app-events/index.d.mts +0 -3
- package/resources/app-events/index.d.mts.map +0 -1
- package/resources/app-events/index.d.ts +0 -3
- package/resources/app-events/index.d.ts.map +0 -1
- package/resources/app-events/index.js +0 -9
- package/resources/app-events/index.js.map +0 -1
- package/resources/app-events/index.mjs +0 -4
- package/resources/app-events/index.mjs.map +0 -1
- package/resources/app-events.d.mts +0 -2
- package/resources/app-events.d.mts.map +0 -1
- package/resources/app-events.d.ts +0 -2
- package/resources/app-events.d.ts.map +0 -1
- package/resources/app-events.js +0 -6
- package/resources/app-events.js.map +0 -1
- package/resources/app-events.mjs +0 -3
- package/resources/app-events.mjs.map +0 -1
- package/resources/carriers.d.mts +0 -331
- package/resources/carriers.d.mts.map +0 -1
- package/resources/carriers.d.ts +0 -331
- package/resources/carriers.d.ts.map +0 -1
- package/resources/carriers.js +0 -46
- package/resources/carriers.js.map +0 -1
- package/resources/carriers.mjs +0 -42
- package/resources/carriers.mjs.map +0 -1
- package/resources/notifications.d.mts +0 -86
- package/resources/notifications.d.mts.map +0 -1
- package/resources/notifications.d.ts +0 -86
- package/resources/notifications.d.ts.map +0 -1
- package/resources/notifications.js +0 -55
- package/resources/notifications.js.map +0 -1
- package/resources/notifications.mjs +0 -51
- package/resources/notifications.mjs.map +0 -1
- package/resources/profiles.d.mts +0 -147
- package/resources/profiles.d.mts.map +0 -1
- package/resources/profiles.d.ts +0 -147
- package/resources/profiles.d.ts.map +0 -1
- package/resources/profiles.js +0 -40
- package/resources/profiles.js.map +0 -1
- package/resources/profiles.mjs +0 -36
- package/resources/profiles.mjs.map +0 -1
- package/resources/store/apps.d.mts +0 -119
- package/resources/store/apps.d.mts.map +0 -1
- package/resources/store/apps.d.ts +0 -119
- package/resources/store/apps.d.ts.map +0 -1
- package/resources/store/apps.js +0 -31
- package/resources/store/apps.js.map +0 -1
- package/resources/store/apps.mjs +0 -27
- package/resources/store/apps.mjs.map +0 -1
- package/resources/store/index.d.mts +0 -3
- package/resources/store/index.d.mts.map +0 -1
- package/resources/store/index.d.ts +0 -3
- package/resources/store/index.d.ts.map +0 -1
- package/resources/store/index.js +0 -9
- package/resources/store/index.js.map +0 -1
- package/resources/store/index.mjs +0 -4
- package/resources/store/index.mjs.map +0 -1
- package/resources/store/store.d.mts +0 -20
- package/resources/store/store.d.mts.map +0 -1
- package/resources/store/store.d.ts +0 -20
- package/resources/store/store.d.ts.map +0 -1
- package/resources/store/store.js +0 -23
- package/resources/store/store.js.map +0 -1
- package/resources/store/store.mjs +0 -18
- package/resources/store/store.mjs.map +0 -1
- package/resources/store.d.mts +0 -2
- package/resources/store.d.mts.map +0 -1
- package/resources/store.d.ts +0 -2
- package/resources/store.d.ts.map +0 -1
- package/resources/store.js +0 -6
- package/resources/store.js.map +0 -1
- package/resources/store.mjs +0 -3
- package/resources/store.mjs.map +0 -1
- package/src/resources/app-events/app-events.ts +0 -133
- package/src/resources/app-events/catalog.ts +0 -100
- package/src/resources/app-events/index.ts +0 -9
- package/src/resources/app-events.ts +0 -3
- package/src/resources/carriers.ts +0 -508
- package/src/resources/notifications.ts +0 -118
- package/src/resources/profiles.ts +0 -232
- package/src/resources/store/apps.ts +0 -704
- package/src/resources/store/index.ts +0 -10
- package/src/resources/store/store.ts +0 -36
- package/src/resources/store.ts +0 -3
|
@@ -11,6 +11,10 @@ export declare class Flows extends APIResource {
|
|
|
11
11
|
* with at least one action required. Optional settings include target `deviceIds`,
|
|
12
12
|
* a cooldown (`cooldownSeconds`/`cooldownScope`), and webhook notifications on
|
|
13
13
|
* success or failure.
|
|
14
|
+
*
|
|
15
|
+
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
16
|
+
* characters). Replays with the same key and an identical body return the original
|
|
17
|
+
* 201; a changed body under the same key returns 422 `idempotency_key_reused`.
|
|
14
18
|
*/
|
|
15
19
|
create(body: FlowCreateParams, options?: RequestOptions): APIPromise<FlowCreateResponse>;
|
|
16
20
|
/**
|
|
@@ -37,19 +41,37 @@ export declare class Flows extends APIResource {
|
|
|
37
41
|
* hidden from customer reads. Repeating the request is idempotent for the owner.
|
|
38
42
|
*/
|
|
39
43
|
delete(flowID: string, options?: RequestOptions): APIPromise<FlowDeleteResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* Activate a disabled flow only when the supplied verification execution succeeded
|
|
46
|
+
* and the flow graph has not changed since verification. Repeating activation is
|
|
47
|
+
* idempotent for an already-enabled flow.
|
|
48
|
+
*/
|
|
49
|
+
activate(flowID: string, body: FlowActivateParams, options?: RequestOptions): APIPromise<FlowActivateResponse>;
|
|
40
50
|
/**
|
|
41
51
|
* Returns an owner-scoped snapshot of finite included workflow-agent capacity
|
|
42
|
-
* after
|
|
43
|
-
*
|
|
44
|
-
* clone perform authoritative
|
|
52
|
+
* after accounting for enabled and disabled agents. Returns 503 when a finite
|
|
53
|
+
* capacity snapshot is unavailable, including for unlimited plans. This is
|
|
54
|
+
* advisory; create and clone perform the authoritative capacity check.
|
|
45
55
|
*/
|
|
46
56
|
capacity(options?: RequestOptions): APIPromise<FlowCapacityResponse>;
|
|
47
57
|
/**
|
|
48
58
|
* Create a copy of an existing flow, including its actions and settings. The
|
|
49
59
|
* optional body can override the new flow's `name` and target `deviceIds`. Returns
|
|
50
60
|
* 404 if the source flow does not exist.
|
|
61
|
+
*
|
|
62
|
+
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
63
|
+
* characters). Replays with the same key and an identical body return the original
|
|
64
|
+
* 201; a changed body under the same key returns 422 `idempotency_key_reused`.
|
|
51
65
|
*/
|
|
52
66
|
clone(flowID: string, body?: FlowCloneParams | null | undefined, options?: RequestOptions): APIPromise<FlowCloneResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* Return the recording/delivery readiness for a flow (recording mode, whether
|
|
69
|
+
* delivery can include the recording, whether a files.upload action exists, the
|
|
70
|
+
* first direct OneDrive/Google Drive upload step if any) plus, per destination,
|
|
71
|
+
* whether the flow owner has an active connection. Returns 404 if the flow does
|
|
72
|
+
* not exist.
|
|
73
|
+
*/
|
|
74
|
+
deliveryOptions(flowID: string, options?: RequestOptions): APIPromise<FlowDeliveryOptionsResponse>;
|
|
53
75
|
/**
|
|
54
76
|
* Simulate this flow firing without storing events, enqueuing jobs, or consuming
|
|
55
77
|
* cooldown/rate-limit slots.
|
|
@@ -71,11 +93,52 @@ export declare class Flows extends APIResource {
|
|
|
71
93
|
* List self-healing repair episodes
|
|
72
94
|
*/
|
|
73
95
|
listRepairs(flowID: string, options?: RequestOptions): APIPromise<FlowListRepairsResponse>;
|
|
96
|
+
/**
|
|
97
|
+
* Immediately enqueue one live execution on every device bound to the flow,
|
|
98
|
+
* regardless of whether its trigger is event-based, custom, or scheduled.
|
|
99
|
+
*
|
|
100
|
+
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
101
|
+
* characters). The run identity is derived from the key, so a retry never starts a
|
|
102
|
+
* second run. Replays with the same key and an identical body return the original
|
|
103
|
+
* status and the original `executionIds`; a changed body under the same key
|
|
104
|
+
* returns 422 `idempotency_key_reused`.
|
|
105
|
+
*/
|
|
106
|
+
run(flowID: string, body?: FlowRunParams | null | undefined, options?: RequestOptions): APIPromise<FlowRunResponse>;
|
|
107
|
+
/**
|
|
108
|
+
* Get flow template context
|
|
109
|
+
*/
|
|
110
|
+
templateContext(query?: FlowTemplateContextParams | null | undefined, options?: RequestOptions): APIPromise<FlowTemplateContextResponse>;
|
|
74
111
|
/**
|
|
75
112
|
* Clear a flow's blocked status after fixing the underlying issue. Idempotent —
|
|
76
113
|
* safe to call on already-healthy flows.
|
|
77
114
|
*/
|
|
78
115
|
unblock(flowID: string, options?: RequestOptions): APIPromise<FlowUnblockResponse>;
|
|
116
|
+
/**
|
|
117
|
+
* Validate a flow
|
|
118
|
+
*/
|
|
119
|
+
validate(body: FlowValidateParams, options?: RequestOptions): APIPromise<FlowValidateResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* Run a bound, deduplicated **verification** of this flow on exactly one device as
|
|
122
|
+
* a real run.
|
|
123
|
+
*
|
|
124
|
+
* Unlike a normal trigger firing, verification:
|
|
125
|
+
*
|
|
126
|
+
* - runs a flow that is `enabled` OR `disabled` (an archived flow returns 404);
|
|
127
|
+
* - targets one device (`deviceId`, or the single bound device);
|
|
128
|
+
* - is idempotent per `invocationId`: a repeat returns the existing run
|
|
129
|
+
* (`deduplicated: true`, HTTP 200) instead of enqueuing another (HTTP 202);
|
|
130
|
+
* - never mutates flow health, `lastTriggeredAt`, or the repair loop.
|
|
131
|
+
*
|
|
132
|
+
* Per-activation payload gate:
|
|
133
|
+
*
|
|
134
|
+
* - `custom`: validates the payload against the custom payload schema (422 on
|
|
135
|
+
* failure).
|
|
136
|
+
* - `event`: validates the payload against the event catalog schema and evaluates
|
|
137
|
+
* the trigger conditions; a failing gate returns 409 `conditions_not_met` with
|
|
138
|
+
* the dry-run report.
|
|
139
|
+
* - `schedule`: the payload is ignored.
|
|
140
|
+
*/
|
|
141
|
+
verify(flowID: string, body: FlowVerifyParams, options?: RequestOptions): APIPromise<FlowVerifyResponse>;
|
|
79
142
|
}
|
|
80
143
|
export interface FlowCreateResponse {
|
|
81
144
|
data: FlowCreateResponse.Data;
|
|
@@ -90,6 +153,7 @@ export declare namespace FlowCreateResponse {
|
|
|
90
153
|
cooldownSeconds: number | null;
|
|
91
154
|
createdAt: string | null;
|
|
92
155
|
createdBy: string | null;
|
|
156
|
+
delivery: Data.Delivery | null;
|
|
93
157
|
description: string | null;
|
|
94
158
|
deviceIds: Array<string>;
|
|
95
159
|
/**
|
|
@@ -117,10 +181,11 @@ export declare namespace FlowCreateResponse {
|
|
|
117
181
|
selfHealingMaxAttempts: number;
|
|
118
182
|
status: 'healthy' | 'failing' | 'blocked';
|
|
119
183
|
/**
|
|
120
|
-
* Template-resolver semantics this flow runs under
|
|
184
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
121
185
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
122
|
-
* a whole-token null stays JSON null).
|
|
123
|
-
*
|
|
186
|
+
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
187
|
+
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
188
|
+
* Existing flows stay 1; new flows default to the current version.
|
|
124
189
|
*/
|
|
125
190
|
templateResolutionVersion: number;
|
|
126
191
|
triggerId: string;
|
|
@@ -131,6 +196,20 @@ export declare namespace FlowCreateResponse {
|
|
|
131
196
|
userId: string;
|
|
132
197
|
}
|
|
133
198
|
namespace Data {
|
|
199
|
+
interface Delivery {
|
|
200
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
201
|
+
/**
|
|
202
|
+
* not allowed when destination is mobilerun
|
|
203
|
+
*/
|
|
204
|
+
folder?: string;
|
|
205
|
+
recording?: Delivery.Recording;
|
|
206
|
+
screenshots?: unknown;
|
|
207
|
+
}
|
|
208
|
+
namespace Delivery {
|
|
209
|
+
interface Recording {
|
|
210
|
+
filename: string;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
134
213
|
interface RecordingPolicy {
|
|
135
214
|
mode: 'off' | 'flow' | 'selected_steps';
|
|
136
215
|
}
|
|
@@ -149,6 +228,7 @@ export declare namespace FlowRetrieveResponse {
|
|
|
149
228
|
cooldownSeconds: number | null;
|
|
150
229
|
createdAt: string | null;
|
|
151
230
|
createdBy: string | null;
|
|
231
|
+
delivery: Data.Delivery | null;
|
|
152
232
|
description: string | null;
|
|
153
233
|
deviceIds: Array<string>;
|
|
154
234
|
/**
|
|
@@ -176,10 +256,11 @@ export declare namespace FlowRetrieveResponse {
|
|
|
176
256
|
selfHealingMaxAttempts: number;
|
|
177
257
|
status: 'healthy' | 'failing' | 'blocked';
|
|
178
258
|
/**
|
|
179
|
-
* Template-resolver semantics this flow runs under
|
|
259
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
180
260
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
181
|
-
* a whole-token null stays JSON null).
|
|
182
|
-
*
|
|
261
|
+
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
262
|
+
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
263
|
+
* Existing flows stay 1; new flows default to the current version.
|
|
183
264
|
*/
|
|
184
265
|
templateResolutionVersion: number;
|
|
185
266
|
triggerId: string;
|
|
@@ -190,6 +271,20 @@ export declare namespace FlowRetrieveResponse {
|
|
|
190
271
|
userId: string;
|
|
191
272
|
}
|
|
192
273
|
namespace Data {
|
|
274
|
+
interface Delivery {
|
|
275
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
276
|
+
/**
|
|
277
|
+
* not allowed when destination is mobilerun
|
|
278
|
+
*/
|
|
279
|
+
folder?: string;
|
|
280
|
+
recording?: Delivery.Recording;
|
|
281
|
+
screenshots?: unknown;
|
|
282
|
+
}
|
|
283
|
+
namespace Delivery {
|
|
284
|
+
interface Recording {
|
|
285
|
+
filename: string;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
193
288
|
interface RecordingPolicy {
|
|
194
289
|
mode: 'off' | 'flow' | 'selected_steps';
|
|
195
290
|
}
|
|
@@ -208,6 +303,7 @@ export declare namespace FlowUpdateResponse {
|
|
|
208
303
|
cooldownSeconds: number | null;
|
|
209
304
|
createdAt: string | null;
|
|
210
305
|
createdBy: string | null;
|
|
306
|
+
delivery: Data.Delivery | null;
|
|
211
307
|
description: string | null;
|
|
212
308
|
deviceIds: Array<string>;
|
|
213
309
|
/**
|
|
@@ -235,10 +331,11 @@ export declare namespace FlowUpdateResponse {
|
|
|
235
331
|
selfHealingMaxAttempts: number;
|
|
236
332
|
status: 'healthy' | 'failing' | 'blocked';
|
|
237
333
|
/**
|
|
238
|
-
* Template-resolver semantics this flow runs under
|
|
334
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
239
335
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
240
|
-
* a whole-token null stays JSON null).
|
|
241
|
-
*
|
|
336
|
+
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
337
|
+
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
338
|
+
* Existing flows stay 1; new flows default to the current version.
|
|
242
339
|
*/
|
|
243
340
|
templateResolutionVersion: number;
|
|
244
341
|
triggerId: string;
|
|
@@ -249,6 +346,20 @@ export declare namespace FlowUpdateResponse {
|
|
|
249
346
|
userId: string;
|
|
250
347
|
}
|
|
251
348
|
namespace Data {
|
|
349
|
+
interface Delivery {
|
|
350
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
351
|
+
/**
|
|
352
|
+
* not allowed when destination is mobilerun
|
|
353
|
+
*/
|
|
354
|
+
folder?: string;
|
|
355
|
+
recording?: Delivery.Recording;
|
|
356
|
+
screenshots?: unknown;
|
|
357
|
+
}
|
|
358
|
+
namespace Delivery {
|
|
359
|
+
interface Recording {
|
|
360
|
+
filename: string;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
252
363
|
interface RecordingPolicy {
|
|
253
364
|
mode: 'off' | 'flow' | 'selected_steps';
|
|
254
365
|
}
|
|
@@ -268,6 +379,7 @@ export declare namespace FlowListResponse {
|
|
|
268
379
|
cooldownSeconds: number | null;
|
|
269
380
|
createdAt: string | null;
|
|
270
381
|
createdBy: string | null;
|
|
382
|
+
delivery: Item.Delivery | null;
|
|
271
383
|
description: string | null;
|
|
272
384
|
deviceIds: Array<string>;
|
|
273
385
|
/**
|
|
@@ -295,10 +407,11 @@ export declare namespace FlowListResponse {
|
|
|
295
407
|
selfHealingMaxAttempts: number;
|
|
296
408
|
status: 'healthy' | 'failing' | 'blocked';
|
|
297
409
|
/**
|
|
298
|
-
* Template-resolver semantics this flow runs under
|
|
410
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
299
411
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
300
|
-
* a whole-token null stays JSON null).
|
|
301
|
-
*
|
|
412
|
+
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
413
|
+
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
414
|
+
* Existing flows stay 1; new flows default to the current version.
|
|
302
415
|
*/
|
|
303
416
|
templateResolutionVersion: number;
|
|
304
417
|
triggerId: string;
|
|
@@ -309,6 +422,20 @@ export declare namespace FlowListResponse {
|
|
|
309
422
|
userId: string;
|
|
310
423
|
}
|
|
311
424
|
namespace Item {
|
|
425
|
+
interface Delivery {
|
|
426
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
427
|
+
/**
|
|
428
|
+
* not allowed when destination is mobilerun
|
|
429
|
+
*/
|
|
430
|
+
folder?: string;
|
|
431
|
+
recording?: Delivery.Recording;
|
|
432
|
+
screenshots?: unknown;
|
|
433
|
+
}
|
|
434
|
+
namespace Delivery {
|
|
435
|
+
interface Recording {
|
|
436
|
+
filename: string;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
312
439
|
interface RecordingPolicy {
|
|
313
440
|
mode: 'off' | 'flow' | 'selected_steps';
|
|
314
441
|
}
|
|
@@ -317,6 +444,81 @@ export declare namespace FlowListResponse {
|
|
|
317
444
|
export interface FlowDeleteResponse {
|
|
318
445
|
message: string;
|
|
319
446
|
}
|
|
447
|
+
export interface FlowActivateResponse {
|
|
448
|
+
data: FlowActivateResponse.Data;
|
|
449
|
+
}
|
|
450
|
+
export declare namespace FlowActivateResponse {
|
|
451
|
+
interface Data {
|
|
452
|
+
id: string;
|
|
453
|
+
archivedAt: string | null;
|
|
454
|
+
blockedAt: string | null;
|
|
455
|
+
consecutiveFailures: number;
|
|
456
|
+
cooldownScope: 'flow' | 'device';
|
|
457
|
+
cooldownSeconds: number | null;
|
|
458
|
+
createdAt: string | null;
|
|
459
|
+
createdBy: string | null;
|
|
460
|
+
delivery: Data.Delivery | null;
|
|
461
|
+
description: string | null;
|
|
462
|
+
deviceIds: Array<string>;
|
|
463
|
+
/**
|
|
464
|
+
* Compatibility projection of lifecycleStatus; true only when lifecycleStatus is
|
|
465
|
+
* enabled.
|
|
466
|
+
*/
|
|
467
|
+
enabled: boolean;
|
|
468
|
+
healthMonitoringEnabled: boolean;
|
|
469
|
+
lastFailureAt: string | null;
|
|
470
|
+
lastFailureCode: 'device_not_found' | 'permission_denied' | 'client_error' | 'transient' | 'logic' | 'invalid_config' | null;
|
|
471
|
+
lastTriggeredAt: string | null;
|
|
472
|
+
lifecycleStatus: 'enabled' | 'disabled' | 'archived';
|
|
473
|
+
name: string;
|
|
474
|
+
notifyOnFailure: boolean;
|
|
475
|
+
notifyOnSuccess: boolean;
|
|
476
|
+
notifyWebhookId: string | null;
|
|
477
|
+
ownerId: string;
|
|
478
|
+
/**
|
|
479
|
+
* @deprecated Deprecated: use recordingPolicy.mode ("flow" =
|
|
480
|
+
* recordingEnabled=true, "off" = recordingEnabled=false).
|
|
481
|
+
*/
|
|
482
|
+
recordingEnabled: boolean;
|
|
483
|
+
recordingPolicy: Data.RecordingPolicy;
|
|
484
|
+
selfHealingEnabled: boolean;
|
|
485
|
+
selfHealingMaxAttempts: number;
|
|
486
|
+
status: 'healthy' | 'failing' | 'blocked';
|
|
487
|
+
/**
|
|
488
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
489
|
+
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
490
|
+
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
491
|
+
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
492
|
+
* Existing flows stay 1; new flows default to the current version.
|
|
493
|
+
*/
|
|
494
|
+
templateResolutionVersion: number;
|
|
495
|
+
triggerId: string;
|
|
496
|
+
updatedAt: string | null;
|
|
497
|
+
/**
|
|
498
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
499
|
+
*/
|
|
500
|
+
userId: string;
|
|
501
|
+
}
|
|
502
|
+
namespace Data {
|
|
503
|
+
interface Delivery {
|
|
504
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
505
|
+
/**
|
|
506
|
+
* not allowed when destination is mobilerun
|
|
507
|
+
*/
|
|
508
|
+
folder?: string;
|
|
509
|
+
recording?: Delivery.Recording;
|
|
510
|
+
screenshots?: unknown;
|
|
511
|
+
}
|
|
512
|
+
namespace Delivery {
|
|
513
|
+
interface Recording {
|
|
514
|
+
filename: string;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
interface RecordingPolicy {
|
|
518
|
+
mode: 'off' | 'flow' | 'selected_steps';
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
}
|
|
320
522
|
export interface FlowCapacityResponse {
|
|
321
523
|
data: FlowCapacityResponse.Data;
|
|
322
524
|
}
|
|
@@ -340,6 +542,7 @@ export declare namespace FlowCloneResponse {
|
|
|
340
542
|
cooldownSeconds: number | null;
|
|
341
543
|
createdAt: string | null;
|
|
342
544
|
createdBy: string | null;
|
|
545
|
+
delivery: Data.Delivery | null;
|
|
343
546
|
description: string | null;
|
|
344
547
|
deviceIds: Array<string>;
|
|
345
548
|
/**
|
|
@@ -367,10 +570,11 @@ export declare namespace FlowCloneResponse {
|
|
|
367
570
|
selfHealingMaxAttempts: number;
|
|
368
571
|
status: 'healthy' | 'failing' | 'blocked';
|
|
369
572
|
/**
|
|
370
|
-
* Template-resolver semantics this flow runs under
|
|
573
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
371
574
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
372
|
-
* a whole-token null stays JSON null).
|
|
373
|
-
*
|
|
575
|
+
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
576
|
+
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
577
|
+
* Existing flows stay 1; new flows default to the current version.
|
|
374
578
|
*/
|
|
375
579
|
templateResolutionVersion: number;
|
|
376
580
|
triggerId: string;
|
|
@@ -381,11 +585,53 @@ export declare namespace FlowCloneResponse {
|
|
|
381
585
|
userId: string;
|
|
382
586
|
}
|
|
383
587
|
namespace Data {
|
|
588
|
+
interface Delivery {
|
|
589
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
590
|
+
/**
|
|
591
|
+
* not allowed when destination is mobilerun
|
|
592
|
+
*/
|
|
593
|
+
folder?: string;
|
|
594
|
+
recording?: Delivery.Recording;
|
|
595
|
+
screenshots?: unknown;
|
|
596
|
+
}
|
|
597
|
+
namespace Delivery {
|
|
598
|
+
interface Recording {
|
|
599
|
+
filename: string;
|
|
600
|
+
}
|
|
601
|
+
}
|
|
384
602
|
interface RecordingPolicy {
|
|
385
603
|
mode: 'off' | 'flow' | 'selected_steps';
|
|
386
604
|
}
|
|
387
605
|
}
|
|
388
606
|
}
|
|
607
|
+
export interface FlowDeliveryOptionsResponse {
|
|
608
|
+
data: FlowDeliveryOptionsResponse.Data;
|
|
609
|
+
}
|
|
610
|
+
export declare namespace FlowDeliveryOptionsResponse {
|
|
611
|
+
interface Data {
|
|
612
|
+
canDeliverRecording: boolean;
|
|
613
|
+
/**
|
|
614
|
+
* Delivery destinations in their canonical order.
|
|
615
|
+
*/
|
|
616
|
+
destinations: Array<Data.Destination>;
|
|
617
|
+
directUploadStep: Data.DirectUploadStep | null;
|
|
618
|
+
hasFilesUpload: boolean;
|
|
619
|
+
recordingMode: 'off' | 'flow' | 'selected_steps';
|
|
620
|
+
}
|
|
621
|
+
namespace Data {
|
|
622
|
+
interface Destination {
|
|
623
|
+
connection: 'connected' | 'not_connected' | 'expired' | 'unknown';
|
|
624
|
+
connectKey: string;
|
|
625
|
+
iconUrl: string | null;
|
|
626
|
+
key: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
627
|
+
label: string;
|
|
628
|
+
}
|
|
629
|
+
interface DirectUploadStep {
|
|
630
|
+
flowActionId: string;
|
|
631
|
+
name: string;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
}
|
|
389
635
|
export interface FlowDryRunResponse {
|
|
390
636
|
data: FlowDryRunResponse.Data;
|
|
391
637
|
}
|
|
@@ -404,10 +650,11 @@ export declare namespace FlowDryRunResponse {
|
|
|
404
650
|
interface Action {
|
|
405
651
|
continueOnError: boolean;
|
|
406
652
|
flowActionId: string;
|
|
653
|
+
key: string;
|
|
407
654
|
method: string;
|
|
408
655
|
name: string;
|
|
409
656
|
recordingEnabled: boolean;
|
|
410
|
-
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks';
|
|
657
|
+
service: 'tasks_api' | 'devices_api' | 'agents_api' | 'webhooks' | 'integrations_api';
|
|
411
658
|
/**
|
|
412
659
|
* Nested child actions (loop/branch bodies), each the same shape as a
|
|
413
660
|
* ResolvedAction.
|
|
@@ -469,6 +716,50 @@ export declare namespace FlowListRepairsResponse {
|
|
|
469
716
|
}
|
|
470
717
|
}
|
|
471
718
|
}
|
|
719
|
+
export interface FlowRunResponse {
|
|
720
|
+
data: FlowRunResponse.Data;
|
|
721
|
+
}
|
|
722
|
+
export declare namespace FlowRunResponse {
|
|
723
|
+
interface Data {
|
|
724
|
+
enqueuedCount: number;
|
|
725
|
+
/**
|
|
726
|
+
* Ids of the executions this run created. An idempotent replay returns the ids of
|
|
727
|
+
* the original run.
|
|
728
|
+
*/
|
|
729
|
+
executionIds: Array<string>;
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
export interface FlowTemplateContextResponse {
|
|
733
|
+
data: FlowTemplateContextResponse.Data;
|
|
734
|
+
}
|
|
735
|
+
export declare namespace FlowTemplateContextResponse {
|
|
736
|
+
interface Data {
|
|
737
|
+
grammar: string;
|
|
738
|
+
loop: Data.Loop;
|
|
739
|
+
payloadAliases: Array<string>;
|
|
740
|
+
roots: Array<Data.Root>;
|
|
741
|
+
stepReference: Data.StepReference;
|
|
742
|
+
templateResolutionVersion: number;
|
|
743
|
+
}
|
|
744
|
+
namespace Data {
|
|
745
|
+
interface Loop {
|
|
746
|
+
context: Array<string>;
|
|
747
|
+
itemVariableDefault: string;
|
|
748
|
+
name: string;
|
|
749
|
+
}
|
|
750
|
+
interface Root {
|
|
751
|
+
description: string;
|
|
752
|
+
name: string;
|
|
753
|
+
shape?: unknown;
|
|
754
|
+
}
|
|
755
|
+
interface StepReference {
|
|
756
|
+
note: string;
|
|
757
|
+
pattern: string;
|
|
758
|
+
keyRule?: string;
|
|
759
|
+
slugRule?: string;
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
}
|
|
472
763
|
export interface FlowUnblockResponse {
|
|
473
764
|
data: FlowUnblockResponse.Data;
|
|
474
765
|
}
|
|
@@ -482,6 +773,7 @@ export declare namespace FlowUnblockResponse {
|
|
|
482
773
|
cooldownSeconds: number | null;
|
|
483
774
|
createdAt: string | null;
|
|
484
775
|
createdBy: string | null;
|
|
776
|
+
delivery: Data.Delivery | null;
|
|
485
777
|
description: string | null;
|
|
486
778
|
deviceIds: Array<string>;
|
|
487
779
|
/**
|
|
@@ -509,10 +801,11 @@ export declare namespace FlowUnblockResponse {
|
|
|
509
801
|
selfHealingMaxAttempts: number;
|
|
510
802
|
status: 'healthy' | 'failing' | 'blocked';
|
|
511
803
|
/**
|
|
512
|
-
* Template-resolver semantics this flow runs under
|
|
804
|
+
* Template-resolver semantics this flow runs under. 1 = legacy
|
|
513
805
|
* (missing/forbidden/null all resolve to ''). 2 = typed (missing/forbidden throw,
|
|
514
|
-
* a whole-token null stays JSON null).
|
|
515
|
-
*
|
|
806
|
+
* a whole-token null stays JSON null). 3 = typed, key-based (steps are addressed
|
|
807
|
+
* as {{steps.<key>...}} instead of by name; trigger.payload is not available).
|
|
808
|
+
* Existing flows stay 1; new flows default to the current version.
|
|
516
809
|
*/
|
|
517
810
|
templateResolutionVersion: number;
|
|
518
811
|
triggerId: string;
|
|
@@ -523,17 +816,80 @@ export declare namespace FlowUnblockResponse {
|
|
|
523
816
|
userId: string;
|
|
524
817
|
}
|
|
525
818
|
namespace Data {
|
|
819
|
+
interface Delivery {
|
|
820
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
821
|
+
/**
|
|
822
|
+
* not allowed when destination is mobilerun
|
|
823
|
+
*/
|
|
824
|
+
folder?: string;
|
|
825
|
+
recording?: Delivery.Recording;
|
|
826
|
+
screenshots?: unknown;
|
|
827
|
+
}
|
|
828
|
+
namespace Delivery {
|
|
829
|
+
interface Recording {
|
|
830
|
+
filename: string;
|
|
831
|
+
}
|
|
832
|
+
}
|
|
526
833
|
interface RecordingPolicy {
|
|
527
834
|
mode: 'off' | 'flow' | 'selected_steps';
|
|
528
835
|
}
|
|
529
836
|
}
|
|
530
837
|
}
|
|
838
|
+
export interface FlowValidateResponse {
|
|
839
|
+
data: FlowValidateResponse.Data;
|
|
840
|
+
}
|
|
841
|
+
export declare namespace FlowValidateResponse {
|
|
842
|
+
interface Data {
|
|
843
|
+
errors: Array<Data.Error>;
|
|
844
|
+
valid: boolean;
|
|
845
|
+
warnings: Array<Data.Warning>;
|
|
846
|
+
}
|
|
847
|
+
namespace Data {
|
|
848
|
+
interface Error {
|
|
849
|
+
code: string;
|
|
850
|
+
field: string;
|
|
851
|
+
message: string;
|
|
852
|
+
knownSteps?: Array<string>;
|
|
853
|
+
reference?: string;
|
|
854
|
+
}
|
|
855
|
+
interface Warning {
|
|
856
|
+
code: string;
|
|
857
|
+
message: string;
|
|
858
|
+
connectKey?: string;
|
|
859
|
+
destination?: string;
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
export interface FlowVerifyResponse {
|
|
864
|
+
data: FlowVerifyResponse.Data;
|
|
865
|
+
}
|
|
866
|
+
export declare namespace FlowVerifyResponse {
|
|
867
|
+
interface Data {
|
|
868
|
+
/**
|
|
869
|
+
* True when this run already existed for the (flow, invocationId) key (HTTP 200);
|
|
870
|
+
* false for a newly enqueued run (HTTP 202).
|
|
871
|
+
*/
|
|
872
|
+
deduplicated: boolean;
|
|
873
|
+
/**
|
|
874
|
+
* Device the verification runs on; null for a device-free verification (a 0-device
|
|
875
|
+
* flow whose actions are all device-free allowlisted).
|
|
876
|
+
*/
|
|
877
|
+
deviceId: string | null;
|
|
878
|
+
executionId: string;
|
|
879
|
+
flowId: string;
|
|
880
|
+
invocationId: string;
|
|
881
|
+
kind: 'verification';
|
|
882
|
+
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid';
|
|
883
|
+
triggerId: string;
|
|
884
|
+
}
|
|
885
|
+
}
|
|
531
886
|
export interface FlowCreateParams {
|
|
532
887
|
actions: Array<FlowCreateParams.Action>;
|
|
533
888
|
name: string;
|
|
534
889
|
triggerId: string;
|
|
535
890
|
cooldownScope?: 'flow' | 'device';
|
|
536
891
|
cooldownSeconds?: number | null;
|
|
892
|
+
delivery?: FlowCreateParams.Delivery;
|
|
537
893
|
description?: string;
|
|
538
894
|
deviceIds?: Array<string>;
|
|
539
895
|
enabled?: boolean;
|
|
@@ -541,10 +897,6 @@ export interface FlowCreateParams {
|
|
|
541
897
|
notifyOnFailure?: boolean;
|
|
542
898
|
notifyOnSuccess?: boolean;
|
|
543
899
|
notifyWebhookId?: string | null;
|
|
544
|
-
/**
|
|
545
|
-
* @deprecated Deprecated compatibility field. true maps to
|
|
546
|
-
* recordingPolicy.mode="flow"; false maps to "off".
|
|
547
|
-
*/
|
|
548
900
|
recordingEnabled?: boolean;
|
|
549
901
|
recordingPolicy?: FlowCreateParams.RecordingPolicy;
|
|
550
902
|
selfHealingEnabled?: boolean;
|
|
@@ -556,6 +908,14 @@ export declare namespace FlowCreateParams {
|
|
|
556
908
|
position: number;
|
|
557
909
|
children?: Array<Action.Child>;
|
|
558
910
|
continueOnError?: boolean;
|
|
911
|
+
/**
|
|
912
|
+
* Stable identifier used by template resolution v2+ to address this step as
|
|
913
|
+
* {{key.field}}. Omitted keys are derived from the step name whenever a flow is
|
|
914
|
+
* created. For template resolution v3, replacing an existing flow's full action
|
|
915
|
+
* tree requires every step to carry an explicit key — a missing key is rejected
|
|
916
|
+
* there, not derived, so a name change can never silently move a step's key.
|
|
917
|
+
*/
|
|
918
|
+
key?: string;
|
|
559
919
|
nameOverride?: string;
|
|
560
920
|
overrides?: Action.Overrides | null;
|
|
561
921
|
recordingEnabled?: boolean;
|
|
@@ -565,6 +925,14 @@ export declare namespace FlowCreateParams {
|
|
|
565
925
|
actionId: string;
|
|
566
926
|
position: number;
|
|
567
927
|
continueOnError?: boolean;
|
|
928
|
+
/**
|
|
929
|
+
* Stable identifier used by template resolution v2+ to address this step as
|
|
930
|
+
* {{key.field}}. Omitted keys are derived from the step name whenever a flow is
|
|
931
|
+
* created. For template resolution v3, replacing an existing flow's full action
|
|
932
|
+
* tree requires every step to carry an explicit key — a missing key is rejected
|
|
933
|
+
* there, not derived, so a name change can never silently move a step's key.
|
|
934
|
+
*/
|
|
935
|
+
key?: string;
|
|
568
936
|
nameOverride?: string;
|
|
569
937
|
overrides?: Child.Overrides | null;
|
|
570
938
|
recordingEnabled?: boolean;
|
|
@@ -582,6 +950,20 @@ export declare namespace FlowCreateParams {
|
|
|
582
950
|
};
|
|
583
951
|
}
|
|
584
952
|
}
|
|
953
|
+
interface Delivery {
|
|
954
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
955
|
+
/**
|
|
956
|
+
* not allowed when destination is mobilerun
|
|
957
|
+
*/
|
|
958
|
+
folder?: string;
|
|
959
|
+
recording?: Delivery.Recording;
|
|
960
|
+
screenshots?: unknown;
|
|
961
|
+
}
|
|
962
|
+
namespace Delivery {
|
|
963
|
+
interface Recording {
|
|
964
|
+
filename: string;
|
|
965
|
+
}
|
|
966
|
+
}
|
|
585
967
|
interface RecordingPolicy {
|
|
586
968
|
mode: 'off' | 'flow' | 'selected_steps';
|
|
587
969
|
}
|
|
@@ -589,6 +971,7 @@ export declare namespace FlowCreateParams {
|
|
|
589
971
|
export interface FlowUpdateParams {
|
|
590
972
|
cooldownScope?: 'flow' | 'device';
|
|
591
973
|
cooldownSeconds?: number | null;
|
|
974
|
+
delivery?: FlowUpdateParams.Delivery | null;
|
|
592
975
|
description?: string;
|
|
593
976
|
deviceIds?: Array<string>;
|
|
594
977
|
enabled?: boolean;
|
|
@@ -612,6 +995,20 @@ export interface FlowUpdateParams {
|
|
|
612
995
|
triggerId?: string;
|
|
613
996
|
}
|
|
614
997
|
export declare namespace FlowUpdateParams {
|
|
998
|
+
interface Delivery {
|
|
999
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
1000
|
+
/**
|
|
1001
|
+
* not allowed when destination is mobilerun
|
|
1002
|
+
*/
|
|
1003
|
+
folder?: string;
|
|
1004
|
+
recording?: Delivery.Recording;
|
|
1005
|
+
screenshots?: unknown;
|
|
1006
|
+
}
|
|
1007
|
+
namespace Delivery {
|
|
1008
|
+
interface Recording {
|
|
1009
|
+
filename: string;
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
615
1012
|
interface RecordingPolicy {
|
|
616
1013
|
mode: 'off' | 'flow' | 'selected_steps';
|
|
617
1014
|
}
|
|
@@ -634,6 +1031,9 @@ export interface FlowListParams {
|
|
|
634
1031
|
status?: Array<'healthy' | 'failing' | 'blocked'>;
|
|
635
1032
|
triggerId?: string;
|
|
636
1033
|
}
|
|
1034
|
+
export interface FlowActivateParams {
|
|
1035
|
+
verificationExecutionId: string;
|
|
1036
|
+
}
|
|
637
1037
|
export interface FlowCloneParams {
|
|
638
1038
|
deviceIds?: Array<string>;
|
|
639
1039
|
name?: string;
|
|
@@ -643,8 +1043,155 @@ export interface FlowDryRunParams {
|
|
|
643
1043
|
[key: string]: unknown;
|
|
644
1044
|
};
|
|
645
1045
|
}
|
|
1046
|
+
export interface FlowRunParams {
|
|
1047
|
+
/**
|
|
1048
|
+
* Record and keep this run's scripts.run screenshots
|
|
1049
|
+
* (device.screenshot(save=True)) even without flow delivery. Used for a one-off
|
|
1050
|
+
* proof run.
|
|
1051
|
+
*/
|
|
1052
|
+
captureScreenshots?: boolean;
|
|
1053
|
+
payload?: {
|
|
1054
|
+
[key: string]: unknown;
|
|
1055
|
+
};
|
|
1056
|
+
}
|
|
1057
|
+
export interface FlowTemplateContextParams {
|
|
1058
|
+
templateResolutionVersion?: number;
|
|
1059
|
+
}
|
|
1060
|
+
export interface FlowValidateParams {
|
|
1061
|
+
actions: Array<FlowValidateParams.FlowActionInput | FlowValidateParams.FlowDraftActionInput>;
|
|
1062
|
+
name: string;
|
|
1063
|
+
cooldownScope?: 'flow' | 'device';
|
|
1064
|
+
cooldownSeconds?: number | null;
|
|
1065
|
+
delivery?: FlowValidateParams.Delivery;
|
|
1066
|
+
description?: string;
|
|
1067
|
+
deviceIds?: Array<string>;
|
|
1068
|
+
enabled?: boolean;
|
|
1069
|
+
healthMonitoringEnabled?: boolean;
|
|
1070
|
+
notifyOnFailure?: boolean;
|
|
1071
|
+
notifyOnSuccess?: boolean;
|
|
1072
|
+
notifyWebhookId?: string | null;
|
|
1073
|
+
recordingEnabled?: boolean;
|
|
1074
|
+
recordingPolicy?: FlowValidateParams.RecordingPolicy;
|
|
1075
|
+
selfHealingEnabled?: boolean;
|
|
1076
|
+
selfHealingMaxAttempts?: number;
|
|
1077
|
+
triggerId?: string;
|
|
1078
|
+
}
|
|
1079
|
+
export declare namespace FlowValidateParams {
|
|
1080
|
+
interface FlowActionInput {
|
|
1081
|
+
actionId: string;
|
|
1082
|
+
position: number;
|
|
1083
|
+
children?: Array<FlowActionInput.Child>;
|
|
1084
|
+
continueOnError?: boolean;
|
|
1085
|
+
/**
|
|
1086
|
+
* Stable identifier used by template resolution v2+ to address this step as
|
|
1087
|
+
* {{key.field}}. Omitted keys are derived from the step name whenever a flow is
|
|
1088
|
+
* created. For template resolution v3, replacing an existing flow's full action
|
|
1089
|
+
* tree requires every step to carry an explicit key — a missing key is rejected
|
|
1090
|
+
* there, not derived, so a name change can never silently move a step's key.
|
|
1091
|
+
*/
|
|
1092
|
+
key?: string;
|
|
1093
|
+
nameOverride?: string;
|
|
1094
|
+
overrides?: FlowActionInput.Overrides | null;
|
|
1095
|
+
recordingEnabled?: boolean;
|
|
1096
|
+
}
|
|
1097
|
+
namespace FlowActionInput {
|
|
1098
|
+
interface Child {
|
|
1099
|
+
actionId: string;
|
|
1100
|
+
position: number;
|
|
1101
|
+
continueOnError?: boolean;
|
|
1102
|
+
/**
|
|
1103
|
+
* Stable identifier used by template resolution v2+ to address this step as
|
|
1104
|
+
* {{key.field}}. Omitted keys are derived from the step name whenever a flow is
|
|
1105
|
+
* created. For template resolution v3, replacing an existing flow's full action
|
|
1106
|
+
* tree requires every step to carry an explicit key — a missing key is rejected
|
|
1107
|
+
* there, not derived, so a name change can never silently move a step's key.
|
|
1108
|
+
*/
|
|
1109
|
+
key?: string;
|
|
1110
|
+
nameOverride?: string;
|
|
1111
|
+
overrides?: Child.Overrides | null;
|
|
1112
|
+
recordingEnabled?: boolean;
|
|
1113
|
+
}
|
|
1114
|
+
namespace Child {
|
|
1115
|
+
interface Overrides {
|
|
1116
|
+
params?: {
|
|
1117
|
+
[key: string]: unknown;
|
|
1118
|
+
};
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
interface Overrides {
|
|
1122
|
+
params?: {
|
|
1123
|
+
[key: string]: unknown;
|
|
1124
|
+
};
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
interface FlowDraftActionInput {
|
|
1128
|
+
draft: FlowDraftActionInput.Draft;
|
|
1129
|
+
position: number;
|
|
1130
|
+
continueOnError?: boolean;
|
|
1131
|
+
/**
|
|
1132
|
+
* Stable identifier used by template resolution v2+ to address this step as
|
|
1133
|
+
* {{key.field}}. Omitted keys are derived from the step name whenever a flow is
|
|
1134
|
+
* created. For template resolution v3, replacing an existing flow's full action
|
|
1135
|
+
* tree requires every step to carry an explicit key — a missing key is rejected
|
|
1136
|
+
* there, not derived, so a name change can never silently move a step's key.
|
|
1137
|
+
*/
|
|
1138
|
+
key?: string;
|
|
1139
|
+
nameOverride?: string;
|
|
1140
|
+
overrides?: FlowDraftActionInput.Overrides | null;
|
|
1141
|
+
recordingEnabled?: boolean;
|
|
1142
|
+
}
|
|
1143
|
+
namespace FlowDraftActionInput {
|
|
1144
|
+
interface Draft {
|
|
1145
|
+
method: string;
|
|
1146
|
+
name: string;
|
|
1147
|
+
service: string;
|
|
1148
|
+
params?: {
|
|
1149
|
+
[key: string]: unknown;
|
|
1150
|
+
};
|
|
1151
|
+
}
|
|
1152
|
+
interface Overrides {
|
|
1153
|
+
params?: {
|
|
1154
|
+
[key: string]: unknown;
|
|
1155
|
+
};
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
interface Delivery {
|
|
1159
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
1160
|
+
/**
|
|
1161
|
+
* not allowed when destination is mobilerun
|
|
1162
|
+
*/
|
|
1163
|
+
folder?: string;
|
|
1164
|
+
recording?: Delivery.Recording;
|
|
1165
|
+
screenshots?: unknown;
|
|
1166
|
+
}
|
|
1167
|
+
namespace Delivery {
|
|
1168
|
+
interface Recording {
|
|
1169
|
+
filename: string;
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
interface RecordingPolicy {
|
|
1173
|
+
mode: 'off' | 'flow' | 'selected_steps';
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
export interface FlowVerifyParams {
|
|
1177
|
+
/**
|
|
1178
|
+
* Client-supplied idempotency key. A repeat request for the same (flow,
|
|
1179
|
+
* invocationId) returns the existing verification run (`deduplicated: true`,
|
|
1180
|
+
* HTTP 200) instead of enqueuing another.
|
|
1181
|
+
*/
|
|
1182
|
+
invocationId: string;
|
|
1183
|
+
/**
|
|
1184
|
+
* Device to run the verification on. Must be one the flow is bound to. Optional
|
|
1185
|
+
* only when the flow is bound to exactly one device (that device is used);
|
|
1186
|
+
* otherwise required.
|
|
1187
|
+
*/
|
|
1188
|
+
deviceId?: string;
|
|
1189
|
+
payload?: {
|
|
1190
|
+
[key: string]: unknown;
|
|
1191
|
+
};
|
|
1192
|
+
}
|
|
646
1193
|
export declare namespace Flows {
|
|
647
|
-
export { type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowListResponse as FlowListResponse, type FlowDeleteResponse as FlowDeleteResponse, type FlowCapacityResponse as FlowCapacityResponse, type FlowCloneResponse as FlowCloneResponse, type FlowDryRunResponse as FlowDryRunResponse, type FlowListRepairsResponse as FlowListRepairsResponse, type FlowUnblockResponse as FlowUnblockResponse, type FlowCreateParams as FlowCreateParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowCloneParams as FlowCloneParams, type FlowDryRunParams as FlowDryRunParams, };
|
|
1194
|
+
export { type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowListResponse as FlowListResponse, type FlowDeleteResponse as FlowDeleteResponse, type FlowActivateResponse as FlowActivateResponse, type FlowCapacityResponse as FlowCapacityResponse, type FlowCloneResponse as FlowCloneResponse, type FlowDeliveryOptionsResponse as FlowDeliveryOptionsResponse, type FlowDryRunResponse as FlowDryRunResponse, type FlowListRepairsResponse as FlowListRepairsResponse, type FlowRunResponse as FlowRunResponse, type FlowTemplateContextResponse as FlowTemplateContextResponse, type FlowUnblockResponse as FlowUnblockResponse, type FlowValidateResponse as FlowValidateResponse, type FlowVerifyResponse as FlowVerifyResponse, type FlowCreateParams as FlowCreateParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowActivateParams as FlowActivateParams, type FlowCloneParams as FlowCloneParams, type FlowDryRunParams as FlowDryRunParams, type FlowRunParams as FlowRunParams, type FlowTemplateContextParams as FlowTemplateContextParams, type FlowValidateParams as FlowValidateParams, type FlowVerifyParams as FlowVerifyParams, };
|
|
648
1195
|
export { Actions as Actions, type ActionListResponse as ActionListResponse, type ActionAddResponse as ActionAddResponse, type ActionRemoveResponse as ActionRemoveResponse, type ActionReplaceResponse as ActionReplaceResponse, type ActionAddParams as ActionAddParams, type ActionRemoveParams as ActionRemoveParams, type ActionReplaceParams as ActionReplaceParams, };
|
|
649
1196
|
}
|
|
650
1197
|
//# sourceMappingURL=flows.d.ts.map
|