@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
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
+
import { path } from '../../../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
export class Screenshots extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Redirects (302) to a freshly signed, time-limited image URL for a screenshot
|
|
12
|
+
* captured during this execution. Owner-gated: 404 if the execution or the
|
|
13
|
+
* screenshot does not belong to the caller.
|
|
14
|
+
*/
|
|
15
|
+
retrieve(
|
|
16
|
+
screenshotID: string,
|
|
17
|
+
params: ScreenshotRetrieveParams,
|
|
18
|
+
options?: RequestOptions,
|
|
19
|
+
): APIPromise<void> {
|
|
20
|
+
const { executionId } = params;
|
|
21
|
+
return this._client.get(path`/executions/${executionId}/screenshots/${screenshotID}`, {
|
|
22
|
+
...options,
|
|
23
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface ScreenshotRetrieveParams {
|
|
29
|
+
executionId: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export declare namespace Screenshots {
|
|
33
|
+
export { type ScreenshotRetrieveParams as ScreenshotRetrieveParams };
|
|
34
|
+
}
|
|
@@ -1,414 +1,3 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import * as Shared from '../shared';
|
|
5
|
-
import { APIPromise } from '../../core/api-promise';
|
|
6
|
-
import { RequestOptions } from '../../internal/request-options';
|
|
7
|
-
import { path } from '../../internal/utils/path';
|
|
8
|
-
|
|
9
|
-
export class Executions extends APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* Fetch a single flow execution by its ID, including its status, kind, result or
|
|
12
|
-
* error, and start/finish timestamps. Returns 404 if no execution matches.
|
|
13
|
-
*/
|
|
14
|
-
retrieve(executionID: string, options?: RequestOptions): APIPromise<ExecutionRetrieveResponse> {
|
|
15
|
-
return this._client.get(path`/executions/${executionID}`, options);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Return a paginated history of flow executions. Supports filtering by `flowId`,
|
|
20
|
-
* `triggerId`, `invocationId` (the client/verify key), `status`, and a `from`/`to`
|
|
21
|
-
* time range, plus free-text `search` and ordering by startedAt, finishedAt, or
|
|
22
|
-
* status.
|
|
23
|
-
*/
|
|
24
|
-
list(
|
|
25
|
-
query: ExecutionListParams | null | undefined = {},
|
|
26
|
-
options?: RequestOptions,
|
|
27
|
-
): APIPromise<ExecutionListResponse> {
|
|
28
|
-
return this._client.get('/executions', { query, ...options });
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Signals the worker to stop the execution between steps and marks it cancelled.
|
|
33
|
-
* Idempotent-ish: already-terminal executions return 409.
|
|
34
|
-
*/
|
|
35
|
-
abort(executionID: string, options?: RequestOptions): APIPromise<ExecutionAbortResponse> {
|
|
36
|
-
return this._client.post(path`/executions/${executionID}/abort`, options);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Return aggregate execution metrics — total count, counts by status, average
|
|
41
|
-
* duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
|
|
42
|
-
* and a `from`/`to` time range.
|
|
43
|
-
*/
|
|
44
|
-
getMetrics(
|
|
45
|
-
query: ExecutionGetMetricsParams | null | undefined = {},
|
|
46
|
-
options?: RequestOptions,
|
|
47
|
-
): APIPromise<ExecutionGetMetricsResponse> {
|
|
48
|
-
return this._client.get('/executions/metrics', { query, ...options });
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export interface ExecutionRetrieveResponse {
|
|
53
|
-
data: ExecutionRetrieveResponse.Data;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export namespace ExecutionRetrieveResponse {
|
|
57
|
-
export interface Data {
|
|
58
|
-
id: string;
|
|
59
|
-
|
|
60
|
-
createdBy: string | null;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Device this execution targets (the job's deviceId). Null for device-less
|
|
64
|
-
* (event-only) runs.
|
|
65
|
-
*/
|
|
66
|
-
deviceId: string | null;
|
|
67
|
-
|
|
68
|
-
error: string | null;
|
|
69
|
-
|
|
70
|
-
eventId: string | null;
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Files produced by files.upload steps, plus files an agent.run step reported on
|
|
74
|
-
* its terminal response (agent-created output or a workflow upload minted during
|
|
75
|
-
* the turn); derived server-side at read time.
|
|
76
|
-
*/
|
|
77
|
-
files: Array<Data.File>;
|
|
78
|
-
|
|
79
|
-
finishedAt: string | null;
|
|
80
|
-
|
|
81
|
-
flowId: string;
|
|
82
|
-
|
|
83
|
-
flowName: string | null;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Client/verify invocation key this row belongs to. Set on live custom fires (one
|
|
87
|
-
* row per device fan-out) and on verification runs; null for event/schedule live
|
|
88
|
-
* rows.
|
|
89
|
-
*/
|
|
90
|
-
invocationId: string | null;
|
|
91
|
-
|
|
92
|
-
kind: 'live' | 'dry_run' | 'verification';
|
|
93
|
-
|
|
94
|
-
recordingDeviceId: string | null;
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Device-recording id (devices-api) for this execution, set once the worker starts
|
|
98
|
-
* a recording. Null when the flow has recording disabled, no device is bound, or
|
|
99
|
-
* the recording failed to start.
|
|
100
|
-
*/
|
|
101
|
-
recordingId: string | null;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Durable recording segments ordered by step/loop coordinate and retry attempt.
|
|
105
|
-
* Whole-flow recordings use -1 for every coordinate.
|
|
106
|
-
*/
|
|
107
|
-
recordings: Array<Data.Recording>;
|
|
108
|
-
|
|
109
|
-
startedAt: string | null;
|
|
110
|
-
|
|
111
|
-
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
112
|
-
|
|
113
|
-
triggerId: string;
|
|
114
|
-
|
|
115
|
-
triggerName: string | null;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
119
|
-
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
120
|
-
* step that opted into a verdict — null otherwise. Table-backed steps (current
|
|
121
|
-
* executions) also carry a `status` string (e.g. success/failed/stopped, see
|
|
122
|
-
* deriveStepStatus); it is optional and absent on legacy blob-only executions, so
|
|
123
|
-
* clients must not assume its presence.
|
|
124
|
-
*/
|
|
125
|
-
result?: unknown;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export namespace Data {
|
|
129
|
-
export interface File {
|
|
130
|
-
fileId: string;
|
|
131
|
-
|
|
132
|
-
filename: string;
|
|
133
|
-
|
|
134
|
-
mimeType: string;
|
|
135
|
-
|
|
136
|
-
sizeBytes: number;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export interface Recording {
|
|
140
|
-
id: string;
|
|
141
|
-
|
|
142
|
-
attempt: number;
|
|
143
|
-
|
|
144
|
-
childIndex: number;
|
|
145
|
-
|
|
146
|
-
flowActionId: string | null;
|
|
147
|
-
|
|
148
|
-
iterationIndex: number;
|
|
149
|
-
|
|
150
|
-
lastError: string | null;
|
|
151
|
-
|
|
152
|
-
parentIndex: number;
|
|
153
|
-
|
|
154
|
-
recordingDeviceId: string | null;
|
|
155
|
-
|
|
156
|
-
recordingId: string | null;
|
|
157
|
-
|
|
158
|
-
scope: 'flow' | 'step';
|
|
159
|
-
|
|
160
|
-
startedAt: string | null;
|
|
161
|
-
|
|
162
|
-
status: 'starting' | 'recording' | 'stopping' | 'stopped' | 'failed';
|
|
163
|
-
|
|
164
|
-
stepIndex: number;
|
|
165
|
-
|
|
166
|
-
stoppedAt: string | null;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
export interface ExecutionListResponse {
|
|
172
|
-
items: Array<ExecutionListResponse.Item>;
|
|
173
|
-
|
|
174
|
-
pagination: Shared.Pagination;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
export namespace ExecutionListResponse {
|
|
178
|
-
export interface Item {
|
|
179
|
-
id: string;
|
|
180
|
-
|
|
181
|
-
createdBy: string | null;
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Device this execution targets (the job's deviceId). Null for device-less
|
|
185
|
-
* (event-only) runs.
|
|
186
|
-
*/
|
|
187
|
-
deviceId: string | null;
|
|
188
|
-
|
|
189
|
-
error: string | null;
|
|
190
|
-
|
|
191
|
-
eventId: string | null;
|
|
192
|
-
|
|
193
|
-
finishedAt: string | null;
|
|
194
|
-
|
|
195
|
-
flowId: string;
|
|
196
|
-
|
|
197
|
-
flowName: string | null;
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* Client/verify invocation key this row belongs to. Set on live custom fires (one
|
|
201
|
-
* row per device fan-out) and on verification runs; null for event/schedule live
|
|
202
|
-
* rows.
|
|
203
|
-
*/
|
|
204
|
-
invocationId: string | null;
|
|
205
|
-
|
|
206
|
-
kind: 'live' | 'dry_run' | 'verification';
|
|
207
|
-
|
|
208
|
-
recordingDeviceId: string | null;
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* Device-recording id (devices-api) for this execution, set once the worker starts
|
|
212
|
-
* a recording. Null when the flow has recording disabled, no device is bound, or
|
|
213
|
-
* the recording failed to start.
|
|
214
|
-
*/
|
|
215
|
-
recordingId: string | null;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* Durable recording segments ordered by step/loop coordinate and retry attempt.
|
|
219
|
-
* Whole-flow recordings use -1 for every coordinate.
|
|
220
|
-
*/
|
|
221
|
-
recordings: Array<Item.Recording>;
|
|
222
|
-
|
|
223
|
-
startedAt: string | null;
|
|
224
|
-
|
|
225
|
-
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
226
|
-
|
|
227
|
-
triggerId: string;
|
|
228
|
-
|
|
229
|
-
triggerName: string | null;
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
233
|
-
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
234
|
-
* step that opted into a verdict — null otherwise. Table-backed steps (current
|
|
235
|
-
* executions) also carry a `status` string (e.g. success/failed/stopped, see
|
|
236
|
-
* deriveStepStatus); it is optional and absent on legacy blob-only executions, so
|
|
237
|
-
* clients must not assume its presence.
|
|
238
|
-
*/
|
|
239
|
-
result?: unknown;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
export namespace Item {
|
|
243
|
-
export interface Recording {
|
|
244
|
-
id: string;
|
|
245
|
-
|
|
246
|
-
attempt: number;
|
|
247
|
-
|
|
248
|
-
childIndex: number;
|
|
249
|
-
|
|
250
|
-
flowActionId: string | null;
|
|
251
|
-
|
|
252
|
-
iterationIndex: number;
|
|
253
|
-
|
|
254
|
-
lastError: string | null;
|
|
255
|
-
|
|
256
|
-
parentIndex: number;
|
|
257
|
-
|
|
258
|
-
recordingDeviceId: string | null;
|
|
259
|
-
|
|
260
|
-
recordingId: string | null;
|
|
261
|
-
|
|
262
|
-
scope: 'flow' | 'step';
|
|
263
|
-
|
|
264
|
-
startedAt: string | null;
|
|
265
|
-
|
|
266
|
-
status: 'starting' | 'recording' | 'stopping' | 'stopped' | 'failed';
|
|
267
|
-
|
|
268
|
-
stepIndex: number;
|
|
269
|
-
|
|
270
|
-
stoppedAt: string | null;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
export interface ExecutionAbortResponse {
|
|
276
|
-
data: ExecutionAbortResponse.Data;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
export namespace ExecutionAbortResponse {
|
|
280
|
-
export interface Data {
|
|
281
|
-
id: string;
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* Device this execution targets (the job's deviceId). Null for device-less
|
|
285
|
-
* (event-only) runs.
|
|
286
|
-
*/
|
|
287
|
-
deviceId: string | null;
|
|
288
|
-
|
|
289
|
-
error: string | null;
|
|
290
|
-
|
|
291
|
-
eventId: string | null;
|
|
292
|
-
|
|
293
|
-
finishedAt: string | null;
|
|
294
|
-
|
|
295
|
-
flowId: string;
|
|
296
|
-
|
|
297
|
-
flowName: string | null;
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Client/verify invocation key this row belongs to. Set on live custom fires (one
|
|
301
|
-
* row per device fan-out) and on verification runs; null for event/schedule live
|
|
302
|
-
* rows.
|
|
303
|
-
*/
|
|
304
|
-
invocationId: string | null;
|
|
305
|
-
|
|
306
|
-
kind: 'live' | 'dry_run' | 'verification';
|
|
307
|
-
|
|
308
|
-
recordingDeviceId: string | null;
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* Device-recording id (devices-api) for this execution, set once the worker starts
|
|
312
|
-
* a recording. Null when the flow has recording disabled, no device is bound, or
|
|
313
|
-
* the recording failed to start.
|
|
314
|
-
*/
|
|
315
|
-
recordingId: string | null;
|
|
316
|
-
|
|
317
|
-
startedAt: string | null;
|
|
318
|
-
|
|
319
|
-
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
320
|
-
|
|
321
|
-
triggerId: string;
|
|
322
|
-
|
|
323
|
-
triggerName: string | null;
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
327
|
-
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
328
|
-
* step that opted into a verdict — null otherwise. Table-backed steps (current
|
|
329
|
-
* executions) also carry a `status` string (e.g. success/failed/stopped, see
|
|
330
|
-
* deriveStepStatus); it is optional and absent on legacy blob-only executions, so
|
|
331
|
-
* clients must not assume its presence.
|
|
332
|
-
*/
|
|
333
|
-
result?: unknown;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
export interface ExecutionGetMetricsResponse {
|
|
338
|
-
data: ExecutionGetMetricsResponse.Data;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
export namespace ExecutionGetMetricsResponse {
|
|
342
|
-
export interface Data {
|
|
343
|
-
avgDurationMs: number | null;
|
|
344
|
-
|
|
345
|
-
byStatus: Data.ByStatus;
|
|
346
|
-
|
|
347
|
-
lastExecutionAt: string | null;
|
|
348
|
-
|
|
349
|
-
total: number;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
export namespace Data {
|
|
353
|
-
export interface ByStatus {
|
|
354
|
-
cancelled: number;
|
|
355
|
-
|
|
356
|
-
failed: number;
|
|
357
|
-
|
|
358
|
-
invalid: number;
|
|
359
|
-
|
|
360
|
-
pending: number;
|
|
361
|
-
|
|
362
|
-
running: number;
|
|
363
|
-
|
|
364
|
-
skipped: number;
|
|
365
|
-
|
|
366
|
-
success: number;
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
export interface ExecutionListParams {
|
|
372
|
-
flowId?: string;
|
|
373
|
-
|
|
374
|
-
from?: string | null;
|
|
375
|
-
|
|
376
|
-
invocationId?: string;
|
|
377
|
-
|
|
378
|
-
orderBy?: 'startedAt' | 'finishedAt' | 'status';
|
|
379
|
-
|
|
380
|
-
orderByDirection?: 'asc' | 'desc';
|
|
381
|
-
|
|
382
|
-
page?: number;
|
|
383
|
-
|
|
384
|
-
pageSize?: number;
|
|
385
|
-
|
|
386
|
-
search?: string;
|
|
387
|
-
|
|
388
|
-
status?: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid';
|
|
389
|
-
|
|
390
|
-
to?: string | null;
|
|
391
|
-
|
|
392
|
-
triggerId?: string;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
export interface ExecutionGetMetricsParams {
|
|
396
|
-
flowId?: string;
|
|
397
|
-
|
|
398
|
-
from?: string | null;
|
|
399
|
-
|
|
400
|
-
to?: string | null;
|
|
401
|
-
|
|
402
|
-
triggerId?: string;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
export declare namespace Executions {
|
|
406
|
-
export {
|
|
407
|
-
type ExecutionRetrieveResponse as ExecutionRetrieveResponse,
|
|
408
|
-
type ExecutionListResponse as ExecutionListResponse,
|
|
409
|
-
type ExecutionAbortResponse as ExecutionAbortResponse,
|
|
410
|
-
type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse,
|
|
411
|
-
type ExecutionListParams as ExecutionListParams,
|
|
412
|
-
type ExecutionGetMetricsParams as ExecutionGetMetricsParams,
|
|
413
|
-
};
|
|
414
|
-
}
|
|
3
|
+
export * from './executions/index';
|
|
@@ -19,6 +19,10 @@ export class Actions extends APIResource {
|
|
|
19
19
|
* under a `parentFlowActionId` or supplying its own `children`. Supports a
|
|
20
20
|
* `nameOverride`, param `overrides`, and `continueOnError`. Returns 404 if the
|
|
21
21
|
* flow does not exist.
|
|
22
|
+
*
|
|
23
|
+
* Supports an optional `Idempotency-Key` header (1-255 printable ASCII
|
|
24
|
+
* characters). Replays with the same key and an identical body return the original
|
|
25
|
+
* 201; a changed body under the same key returns 422 `idempotency_key_reused`.
|
|
22
26
|
*/
|
|
23
27
|
add(flowID: string, body: ActionAddParams, options?: RequestOptions): APIPromise<ActionAddResponse> {
|
|
24
28
|
return this._client.post(path`/flows/${flowID}/actions`, { body, ...options });
|
|
@@ -68,6 +72,8 @@ export namespace ActionListResponse {
|
|
|
68
72
|
|
|
69
73
|
flowId: string;
|
|
70
74
|
|
|
75
|
+
key: string;
|
|
76
|
+
|
|
71
77
|
nameOverride: string | null;
|
|
72
78
|
|
|
73
79
|
overrides: Data.Overrides | null;
|
|
@@ -106,6 +112,8 @@ export namespace ActionAddResponse {
|
|
|
106
112
|
|
|
107
113
|
flowId: string;
|
|
108
114
|
|
|
115
|
+
key: string;
|
|
116
|
+
|
|
109
117
|
nameOverride: string | null;
|
|
110
118
|
|
|
111
119
|
overrides: Data.Overrides | null;
|
|
@@ -148,6 +156,8 @@ export namespace ActionReplaceResponse {
|
|
|
148
156
|
|
|
149
157
|
flowId: string;
|
|
150
158
|
|
|
159
|
+
key: string;
|
|
160
|
+
|
|
151
161
|
nameOverride: string | null;
|
|
152
162
|
|
|
153
163
|
overrides: Data.Overrides | null;
|
|
@@ -179,6 +189,15 @@ export interface ActionAddParams {
|
|
|
179
189
|
|
|
180
190
|
continueOnError?: boolean;
|
|
181
191
|
|
|
192
|
+
/**
|
|
193
|
+
* Stable identifier used by template resolution v2+ to address this step as
|
|
194
|
+
* {{key.field}}. Omitted keys are derived from the step name whenever a flow is
|
|
195
|
+
* created. For template resolution v3, replacing an existing flow's full action
|
|
196
|
+
* tree requires every step to carry an explicit key — a missing key is rejected
|
|
197
|
+
* there, not derived, so a name change can never silently move a step's key.
|
|
198
|
+
*/
|
|
199
|
+
key?: string;
|
|
200
|
+
|
|
182
201
|
nameOverride?: string;
|
|
183
202
|
|
|
184
203
|
overrides?: ActionAddParams.Overrides | null;
|
|
@@ -196,6 +215,15 @@ export namespace ActionAddParams {
|
|
|
196
215
|
|
|
197
216
|
continueOnError?: boolean;
|
|
198
217
|
|
|
218
|
+
/**
|
|
219
|
+
* Stable identifier used by template resolution v2+ to address this step as
|
|
220
|
+
* {{key.field}}. Omitted keys are derived from the step name whenever a flow is
|
|
221
|
+
* created. For template resolution v3, replacing an existing flow's full action
|
|
222
|
+
* tree requires every step to carry an explicit key — a missing key is rejected
|
|
223
|
+
* there, not derived, so a name change can never silently move a step's key.
|
|
224
|
+
*/
|
|
225
|
+
key?: string;
|
|
226
|
+
|
|
199
227
|
nameOverride?: string;
|
|
200
228
|
|
|
201
229
|
overrides?: Child.Overrides | null;
|
|
@@ -232,6 +260,15 @@ export namespace ActionReplaceParams {
|
|
|
232
260
|
|
|
233
261
|
continueOnError?: boolean;
|
|
234
262
|
|
|
263
|
+
/**
|
|
264
|
+
* Stable identifier used by template resolution v2+ to address this step as
|
|
265
|
+
* {{key.field}}. Omitted keys are derived from the step name whenever a flow is
|
|
266
|
+
* created. For template resolution v3, replacing an existing flow's full action
|
|
267
|
+
* tree requires every step to carry an explicit key — a missing key is rejected
|
|
268
|
+
* there, not derived, so a name change can never silently move a step's key.
|
|
269
|
+
*/
|
|
270
|
+
key?: string;
|
|
271
|
+
|
|
235
272
|
nameOverride?: string;
|
|
236
273
|
|
|
237
274
|
overrides?: Action.Overrides | null;
|
|
@@ -247,6 +284,15 @@ export namespace ActionReplaceParams {
|
|
|
247
284
|
|
|
248
285
|
continueOnError?: boolean;
|
|
249
286
|
|
|
287
|
+
/**
|
|
288
|
+
* Stable identifier used by template resolution v2+ to address this step as
|
|
289
|
+
* {{key.field}}. Omitted keys are derived from the step name whenever a flow is
|
|
290
|
+
* created. For template resolution v3, replacing an existing flow's full action
|
|
291
|
+
* tree requires every step to carry an explicit key — a missing key is rejected
|
|
292
|
+
* there, not derived, so a name change can never silently move a step's key.
|
|
293
|
+
*/
|
|
294
|
+
key?: string;
|
|
295
|
+
|
|
250
296
|
nameOverride?: string;
|
|
251
297
|
|
|
252
298
|
overrides?: Child.Overrides | null;
|