@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,330 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as Shared from "../../shared.js";
|
|
3
|
+
import * as ScreenshotsAPI from "./screenshots.js";
|
|
4
|
+
import { ScreenshotRetrieveParams, Screenshots } from "./screenshots.js";
|
|
5
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
6
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
7
|
+
export declare class Executions extends APIResource {
|
|
8
|
+
screenshots: ScreenshotsAPI.Screenshots;
|
|
9
|
+
/**
|
|
10
|
+
* Fetch a single flow execution by its ID, including its status, kind, result or
|
|
11
|
+
* error, and start/finish timestamps. Returns 404 if no execution matches.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(executionID: string, options?: RequestOptions): APIPromise<ExecutionRetrieveResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Return a paginated history of flow executions. Supports filtering by `flowId`,
|
|
16
|
+
* `triggerId`, `invocationId` (the client/verify key), `status`, and a `from`/`to`
|
|
17
|
+
* time range, plus free-text `search` and ordering by startedAt, finishedAt, or
|
|
18
|
+
* status.
|
|
19
|
+
*/
|
|
20
|
+
list(query?: ExecutionListParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionListResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Stops the execution between steps and marks it cancelled. Idempotent-ish:
|
|
23
|
+
* already-terminal executions return 409.
|
|
24
|
+
*/
|
|
25
|
+
abort(executionID: string, options?: RequestOptions): APIPromise<ExecutionAbortResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Return aggregate execution metrics — total count, counts by status, average
|
|
28
|
+
* duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
|
|
29
|
+
* and a `from`/`to` time range.
|
|
30
|
+
*/
|
|
31
|
+
getMetrics(query?: ExecutionGetMetricsParams | null | undefined, options?: RequestOptions): APIPromise<ExecutionGetMetricsResponse>;
|
|
32
|
+
}
|
|
33
|
+
export interface ExecutionRetrieveResponse {
|
|
34
|
+
data: ExecutionRetrieveResponse.Data;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace ExecutionRetrieveResponse {
|
|
37
|
+
interface Data {
|
|
38
|
+
id: string;
|
|
39
|
+
createdBy: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* OneDrive/Google Drive delivery lifecycle for this run's recording, file, and
|
|
42
|
+
* screenshot uploads, ordered by startedAt. Empty when the flow has no delivery
|
|
43
|
+
* configured.
|
|
44
|
+
*/
|
|
45
|
+
deliveries: Array<Data.Delivery>;
|
|
46
|
+
/**
|
|
47
|
+
* Device this execution targets (the job's deviceId). Null for device-less
|
|
48
|
+
* (event-only) runs.
|
|
49
|
+
*/
|
|
50
|
+
deviceId: string | null;
|
|
51
|
+
error: string | null;
|
|
52
|
+
eventId: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Files produced by files.upload steps, plus files an agent.run step reported on
|
|
55
|
+
* its terminal response (agent-created output or a workflow upload minted during
|
|
56
|
+
* the turn); derived server-side at read time.
|
|
57
|
+
*/
|
|
58
|
+
files: Array<Data.File>;
|
|
59
|
+
finishedAt: string | null;
|
|
60
|
+
flowId: string;
|
|
61
|
+
flowName: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Client/verify invocation key this row belongs to. Set on live custom fires (one
|
|
64
|
+
* row per device fan-out) and on verification runs; null for event/schedule live
|
|
65
|
+
* rows.
|
|
66
|
+
*/
|
|
67
|
+
invocationId: string | null;
|
|
68
|
+
kind: 'live' | 'dry_run' | 'verification';
|
|
69
|
+
/**
|
|
70
|
+
* Live progress; null for runs started before this feature.
|
|
71
|
+
*/
|
|
72
|
+
progress: Data.Progress | null;
|
|
73
|
+
recordingDeviceId: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* Device recording id for this execution, set once recording starts. Null when the
|
|
76
|
+
* flow has recording disabled, no device is bound, or the recording failed to
|
|
77
|
+
* start.
|
|
78
|
+
*/
|
|
79
|
+
recordingId: string | null;
|
|
80
|
+
/**
|
|
81
|
+
* Durable recording segments ordered by step/loop coordinate and retry attempt.
|
|
82
|
+
* Whole-flow recordings use -1 for every coordinate.
|
|
83
|
+
*/
|
|
84
|
+
recordings: Array<Data.Recording>;
|
|
85
|
+
/**
|
|
86
|
+
* Screenshots captured by tasks.run/agent.run steps and saved by scripts into the
|
|
87
|
+
* flow screenshots recording (source recording), ordered by seq. Image bytes are
|
|
88
|
+
* never returned here — fetch a fresh signed URL via GET
|
|
89
|
+
* /executions/{id}/screenshots/{screenshotId}.
|
|
90
|
+
*/
|
|
91
|
+
screenshots: Array<Data.Screenshot>;
|
|
92
|
+
startedAt: string | null;
|
|
93
|
+
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
94
|
+
triggerId: string;
|
|
95
|
+
triggerName: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
98
|
+
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
99
|
+
* step that opted into a verdict — null otherwise. Steps of current executions
|
|
100
|
+
* also carry a `status` string (e.g. success/failed/stopped); it is optional and
|
|
101
|
+
* absent on older executions, so clients must not assume its presence.
|
|
102
|
+
*/
|
|
103
|
+
result?: unknown;
|
|
104
|
+
}
|
|
105
|
+
namespace Data {
|
|
106
|
+
interface Delivery {
|
|
107
|
+
artifact: 'recording' | 'file' | 'screenshot';
|
|
108
|
+
destination: 'mobilerun' | 'one_drive' | 'google_drive';
|
|
109
|
+
errorCode: string | null;
|
|
110
|
+
filename: string;
|
|
111
|
+
finishedAt: string | null;
|
|
112
|
+
folder: string | null;
|
|
113
|
+
startedAt: string | null;
|
|
114
|
+
status: 'waiting' | 'uploading' | 'succeeded' | 'failed' | 'unknown' | 'cancelled';
|
|
115
|
+
stepIndex: number | null;
|
|
116
|
+
webUrl: string | null;
|
|
117
|
+
}
|
|
118
|
+
interface File {
|
|
119
|
+
fileId: string;
|
|
120
|
+
filename: string;
|
|
121
|
+
mimeType: string;
|
|
122
|
+
sizeBytes: number;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Live progress; null for runs started before this feature.
|
|
126
|
+
*/
|
|
127
|
+
interface Progress {
|
|
128
|
+
currentIndex: number | null;
|
|
129
|
+
steps: Array<Progress.Step>;
|
|
130
|
+
total: number;
|
|
131
|
+
}
|
|
132
|
+
namespace Progress {
|
|
133
|
+
interface Step {
|
|
134
|
+
finishedAt: string | null;
|
|
135
|
+
index: number;
|
|
136
|
+
method: string;
|
|
137
|
+
name: string;
|
|
138
|
+
service: string;
|
|
139
|
+
sessionId: string | null;
|
|
140
|
+
startedAt: string | null;
|
|
141
|
+
status: 'pending' | 'running' | 'success' | 'failed' | 'skipped' | 'cancelled';
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
interface Recording {
|
|
145
|
+
id: string;
|
|
146
|
+
attempt: number;
|
|
147
|
+
childIndex: number;
|
|
148
|
+
flowActionId: string | null;
|
|
149
|
+
iterationIndex: number;
|
|
150
|
+
lastError: string | null;
|
|
151
|
+
parentIndex: number;
|
|
152
|
+
recordingDeviceId: string | null;
|
|
153
|
+
recordingId: string | null;
|
|
154
|
+
scope: 'flow' | 'step';
|
|
155
|
+
startedAt: string | null;
|
|
156
|
+
status: 'starting' | 'recording' | 'stopping' | 'stopped' | 'failed';
|
|
157
|
+
stepIndex: number;
|
|
158
|
+
stoppedAt: string | null;
|
|
159
|
+
}
|
|
160
|
+
interface Screenshot {
|
|
161
|
+
id: string;
|
|
162
|
+
capturedAt: string | null;
|
|
163
|
+
iterationIndex: number;
|
|
164
|
+
mimeType: string;
|
|
165
|
+
seq: number;
|
|
166
|
+
source: 'task' | 'agent' | 'recording';
|
|
167
|
+
stepIndex: number;
|
|
168
|
+
stepName: string;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
export interface ExecutionListResponse {
|
|
173
|
+
items: Array<ExecutionListResponse.Item>;
|
|
174
|
+
pagination: Shared.Pagination;
|
|
175
|
+
}
|
|
176
|
+
export declare namespace ExecutionListResponse {
|
|
177
|
+
interface Item {
|
|
178
|
+
id: string;
|
|
179
|
+
createdBy: string | null;
|
|
180
|
+
/**
|
|
181
|
+
* Device this execution targets (the job's deviceId). Null for device-less
|
|
182
|
+
* (event-only) runs.
|
|
183
|
+
*/
|
|
184
|
+
deviceId: string | null;
|
|
185
|
+
error: string | null;
|
|
186
|
+
eventId: string | null;
|
|
187
|
+
finishedAt: string | null;
|
|
188
|
+
flowId: string;
|
|
189
|
+
flowName: string | null;
|
|
190
|
+
/**
|
|
191
|
+
* Client/verify invocation key this row belongs to. Set on live custom fires (one
|
|
192
|
+
* row per device fan-out) and on verification runs; null for event/schedule live
|
|
193
|
+
* rows.
|
|
194
|
+
*/
|
|
195
|
+
invocationId: string | null;
|
|
196
|
+
kind: 'live' | 'dry_run' | 'verification';
|
|
197
|
+
recordingDeviceId: string | null;
|
|
198
|
+
/**
|
|
199
|
+
* Device recording id for this execution, set once recording starts. Null when the
|
|
200
|
+
* flow has recording disabled, no device is bound, or the recording failed to
|
|
201
|
+
* start.
|
|
202
|
+
*/
|
|
203
|
+
recordingId: string | null;
|
|
204
|
+
/**
|
|
205
|
+
* Durable recording segments ordered by step/loop coordinate and retry attempt.
|
|
206
|
+
* Whole-flow recordings use -1 for every coordinate.
|
|
207
|
+
*/
|
|
208
|
+
recordings: Array<Item.Recording>;
|
|
209
|
+
startedAt: string | null;
|
|
210
|
+
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
211
|
+
triggerId: string;
|
|
212
|
+
triggerName: string | null;
|
|
213
|
+
/**
|
|
214
|
+
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
215
|
+
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
216
|
+
* step that opted into a verdict — null otherwise. Steps of current executions
|
|
217
|
+
* also carry a `status` string (e.g. success/failed/stopped); it is optional and
|
|
218
|
+
* absent on older executions, so clients must not assume its presence.
|
|
219
|
+
*/
|
|
220
|
+
result?: unknown;
|
|
221
|
+
}
|
|
222
|
+
namespace Item {
|
|
223
|
+
interface Recording {
|
|
224
|
+
id: string;
|
|
225
|
+
attempt: number;
|
|
226
|
+
childIndex: number;
|
|
227
|
+
flowActionId: string | null;
|
|
228
|
+
iterationIndex: number;
|
|
229
|
+
lastError: string | null;
|
|
230
|
+
parentIndex: number;
|
|
231
|
+
recordingDeviceId: string | null;
|
|
232
|
+
recordingId: string | null;
|
|
233
|
+
scope: 'flow' | 'step';
|
|
234
|
+
startedAt: string | null;
|
|
235
|
+
status: 'starting' | 'recording' | 'stopping' | 'stopped' | 'failed';
|
|
236
|
+
stepIndex: number;
|
|
237
|
+
stoppedAt: string | null;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
export interface ExecutionAbortResponse {
|
|
242
|
+
data: ExecutionAbortResponse.Data;
|
|
243
|
+
}
|
|
244
|
+
export declare namespace ExecutionAbortResponse {
|
|
245
|
+
interface Data {
|
|
246
|
+
id: string;
|
|
247
|
+
/**
|
|
248
|
+
* Device this execution targets (the job's deviceId). Null for device-less
|
|
249
|
+
* (event-only) runs.
|
|
250
|
+
*/
|
|
251
|
+
deviceId: string | null;
|
|
252
|
+
error: string | null;
|
|
253
|
+
eventId: string | null;
|
|
254
|
+
finishedAt: string | null;
|
|
255
|
+
flowId: string;
|
|
256
|
+
flowName: string | null;
|
|
257
|
+
/**
|
|
258
|
+
* Client/verify invocation key this row belongs to. Set on live custom fires (one
|
|
259
|
+
* row per device fan-out) and on verification runs; null for event/schedule live
|
|
260
|
+
* rows.
|
|
261
|
+
*/
|
|
262
|
+
invocationId: string | null;
|
|
263
|
+
kind: 'live' | 'dry_run' | 'verification';
|
|
264
|
+
recordingDeviceId: string | null;
|
|
265
|
+
/**
|
|
266
|
+
* Device recording id for this execution, set once recording starts. Null when the
|
|
267
|
+
* flow has recording disabled, no device is bound, or the recording failed to
|
|
268
|
+
* start.
|
|
269
|
+
*/
|
|
270
|
+
recordingId: string | null;
|
|
271
|
+
startedAt: string | null;
|
|
272
|
+
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
273
|
+
triggerId: string;
|
|
274
|
+
triggerName: string | null;
|
|
275
|
+
/**
|
|
276
|
+
* Opaque per-step result blob ({ steps: [...] }). Each step additionally carries a
|
|
277
|
+
* `verdict` field ({ outcome, summary, reason? } | null) when it is an agent.run
|
|
278
|
+
* step that opted into a verdict — null otherwise. Steps of current executions
|
|
279
|
+
* also carry a `status` string (e.g. success/failed/stopped); it is optional and
|
|
280
|
+
* absent on older executions, so clients must not assume its presence.
|
|
281
|
+
*/
|
|
282
|
+
result?: unknown;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
export interface ExecutionGetMetricsResponse {
|
|
286
|
+
data: ExecutionGetMetricsResponse.Data;
|
|
287
|
+
}
|
|
288
|
+
export declare namespace ExecutionGetMetricsResponse {
|
|
289
|
+
interface Data {
|
|
290
|
+
avgDurationMs: number | null;
|
|
291
|
+
byStatus: Data.ByStatus;
|
|
292
|
+
lastExecutionAt: string | null;
|
|
293
|
+
total: number;
|
|
294
|
+
}
|
|
295
|
+
namespace Data {
|
|
296
|
+
interface ByStatus {
|
|
297
|
+
cancelled: number;
|
|
298
|
+
failed: number;
|
|
299
|
+
invalid: number;
|
|
300
|
+
pending: number;
|
|
301
|
+
running: number;
|
|
302
|
+
skipped: number;
|
|
303
|
+
success: number;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
export interface ExecutionListParams {
|
|
308
|
+
flowId?: string;
|
|
309
|
+
from?: string | null;
|
|
310
|
+
invocationId?: string;
|
|
311
|
+
orderBy?: 'startedAt' | 'finishedAt' | 'status';
|
|
312
|
+
orderByDirection?: 'asc' | 'desc';
|
|
313
|
+
page?: number;
|
|
314
|
+
pageSize?: number;
|
|
315
|
+
search?: string;
|
|
316
|
+
status?: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid';
|
|
317
|
+
to?: string | null;
|
|
318
|
+
triggerId?: string;
|
|
319
|
+
}
|
|
320
|
+
export interface ExecutionGetMetricsParams {
|
|
321
|
+
flowId?: string;
|
|
322
|
+
from?: string | null;
|
|
323
|
+
to?: string | null;
|
|
324
|
+
triggerId?: string;
|
|
325
|
+
}
|
|
326
|
+
export declare namespace Executions {
|
|
327
|
+
export { type ExecutionRetrieveResponse as ExecutionRetrieveResponse, type ExecutionListResponse as ExecutionListResponse, type ExecutionAbortResponse as ExecutionAbortResponse, type ExecutionGetMetricsResponse as ExecutionGetMetricsResponse, type ExecutionListParams as ExecutionListParams, type ExecutionGetMetricsParams as ExecutionGetMetricsParams, };
|
|
328
|
+
export { Screenshots as Screenshots, type ScreenshotRetrieveParams as ScreenshotRetrieveParams };
|
|
329
|
+
}
|
|
330
|
+
//# sourceMappingURL=executions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executions.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/executions/executions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,MAAM,wBAAqB;AACvC,OAAO,KAAK,cAAc,yBAAsB;AAChD,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,yBAAsB;AACtE,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,UAAW,SAAQ,WAAW;IACzC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;;OAGG;IACH,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O,CAAC,EAAE,WAAW,GAAG,YAAY,GAAG,QAAQ,CAAC;IAEhD,gBAAgB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAElC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,CAAC;IAE5F,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAID,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,KAAK,wBAAwB,IAAI,wBAAwB,EAAE,CAAC;CAClG"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Executions = void 0;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const ScreenshotsAPI = tslib_1.__importStar(require("./screenshots.js"));
|
|
8
|
+
const screenshots_1 = require("./screenshots.js");
|
|
9
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
10
|
+
class Executions extends resource_1.APIResource {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.screenshots = new ScreenshotsAPI.Screenshots(this._client);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Fetch a single flow execution by its ID, including its status, kind, result or
|
|
17
|
+
* error, and start/finish timestamps. Returns 404 if no execution matches.
|
|
18
|
+
*/
|
|
19
|
+
retrieve(executionID, options) {
|
|
20
|
+
return this._client.get((0, path_1.path) `/executions/${executionID}`, options);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Return a paginated history of flow executions. Supports filtering by `flowId`,
|
|
24
|
+
* `triggerId`, `invocationId` (the client/verify key), `status`, and a `from`/`to`
|
|
25
|
+
* time range, plus free-text `search` and ordering by startedAt, finishedAt, or
|
|
26
|
+
* status.
|
|
27
|
+
*/
|
|
28
|
+
list(query = {}, options) {
|
|
29
|
+
return this._client.get('/executions', { query, ...options });
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Stops the execution between steps and marks it cancelled. Idempotent-ish:
|
|
33
|
+
* already-terminal executions return 409.
|
|
34
|
+
*/
|
|
35
|
+
abort(executionID, options) {
|
|
36
|
+
return this._client.post((0, path_1.path) `/executions/${executionID}/abort`, options);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Return aggregate execution metrics — total count, counts by status, average
|
|
40
|
+
* duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
|
|
41
|
+
* and a `from`/`to` time range.
|
|
42
|
+
*/
|
|
43
|
+
getMetrics(query = {}, options) {
|
|
44
|
+
return this._client.get('/executions/metrics', { query, ...options });
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.Executions = Executions;
|
|
48
|
+
Executions.Screenshots = screenshots_1.Screenshots;
|
|
49
|
+
//# sourceMappingURL=executions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executions.js","sourceRoot":"","sources":["../../../src/resources/workflows/executions/executions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,yEAAgD;AAChD,kDAAsE;AAGtE,0DAAoD;AAEpD,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0CzF,CAAC;IAxCC;;;OAGG;IACH,QAAQ,CAAC,WAAmB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAmB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,eAAe,WAAW,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,UAAU,CACR,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;AA3CD,gCA2CC;AA2bD,UAAU,CAAC,WAAW,GAAG,yBAAW,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as ScreenshotsAPI from "./screenshots.mjs";
|
|
4
|
+
import { Screenshots } from "./screenshots.mjs";
|
|
5
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
6
|
+
export class Executions extends APIResource {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.screenshots = new ScreenshotsAPI.Screenshots(this._client);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Fetch a single flow execution by its ID, including its status, kind, result or
|
|
13
|
+
* error, and start/finish timestamps. Returns 404 if no execution matches.
|
|
14
|
+
*/
|
|
15
|
+
retrieve(executionID, options) {
|
|
16
|
+
return this._client.get(path `/executions/${executionID}`, options);
|
|
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(query = {}, options) {
|
|
25
|
+
return this._client.get('/executions', { query, ...options });
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Stops the execution between steps and marks it cancelled. Idempotent-ish:
|
|
29
|
+
* already-terminal executions return 409.
|
|
30
|
+
*/
|
|
31
|
+
abort(executionID, options) {
|
|
32
|
+
return this._client.post(path `/executions/${executionID}/abort`, options);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Return aggregate execution metrics — total count, counts by status, average
|
|
36
|
+
* duration, and the last execution time. Can be scoped by `flowId`, `triggerId`,
|
|
37
|
+
* and a `from`/`to` time range.
|
|
38
|
+
*/
|
|
39
|
+
getMetrics(query = {}, options) {
|
|
40
|
+
return this._client.get('/executions/metrics', { query, ...options });
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
Executions.Screenshots = Screenshots;
|
|
44
|
+
//# sourceMappingURL=executions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executions.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/executions/executions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,cAAc,0BAAsB;AAChD,OAAO,EAA4B,WAAW,EAAE,0BAAsB;AAGtE,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0CzF,CAAC;IAxCC;;;OAGG;IACH,QAAQ,CAAC,WAAmB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAmB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAe,WAAW,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;OAIG;IACH,UAAU,CACR,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;AA2bD,UAAU,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Executions, type ExecutionRetrieveResponse, type ExecutionListResponse, type ExecutionAbortResponse, type ExecutionGetMetricsResponse, type ExecutionListParams, type ExecutionGetMetricsParams, } from "./executions.mjs";
|
|
2
|
+
export { Screenshots, type ScreenshotRetrieveParams } from "./screenshots.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/executions/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,GAC/B,yBAAqB;AACtB,OAAO,EAAE,WAAW,EAAE,KAAK,wBAAwB,EAAE,0BAAsB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Executions, type ExecutionRetrieveResponse, type ExecutionListResponse, type ExecutionAbortResponse, type ExecutionGetMetricsResponse, type ExecutionListParams, type ExecutionGetMetricsParams, } from "./executions.js";
|
|
2
|
+
export { Screenshots, type ScreenshotRetrieveParams } from "./screenshots.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/executions/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,GAC/B,wBAAqB;AACtB,OAAO,EAAE,WAAW,EAAE,KAAK,wBAAwB,EAAE,yBAAsB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Screenshots = exports.Executions = void 0;
|
|
5
|
+
var executions_1 = require("./executions.js");
|
|
6
|
+
Object.defineProperty(exports, "Executions", { enumerable: true, get: function () { return executions_1.Executions; } });
|
|
7
|
+
var screenshots_1 = require("./screenshots.js");
|
|
8
|
+
Object.defineProperty(exports, "Screenshots", { enumerable: true, get: function () { return screenshots_1.Screenshots; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/workflows/executions/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAQsB;AAPpB,wGAAA,UAAU,OAAA;AAQZ,gDAA2E;AAAlE,0GAAA,WAAW,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/executions/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,UAAU,GAOX,yBAAqB;AACtB,OAAO,EAAE,WAAW,EAAiC,0BAAsB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
|
+
export declare class Screenshots extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Redirects (302) to a freshly signed, time-limited image URL for a screenshot
|
|
7
|
+
* captured during this execution. Owner-gated: 404 if the execution or the
|
|
8
|
+
* screenshot does not belong to the caller.
|
|
9
|
+
*/
|
|
10
|
+
retrieve(screenshotID: string, params: ScreenshotRetrieveParams, options?: RequestOptions): APIPromise<void>;
|
|
11
|
+
}
|
|
12
|
+
export interface ScreenshotRetrieveParams {
|
|
13
|
+
executionId: string;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace Screenshots {
|
|
16
|
+
export { type ScreenshotRetrieveParams as ScreenshotRetrieveParams };
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=screenshots.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screenshots.d.mts","sourceRoot":"","sources":["../../../src/resources/workflows/executions/screenshots.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAOpB;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EAAE,KAAK,wBAAwB,IAAI,wBAAwB,EAAE,CAAC;CACtE"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
|
+
export declare class Screenshots extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Redirects (302) to a freshly signed, time-limited image URL for a screenshot
|
|
7
|
+
* captured during this execution. Owner-gated: 404 if the execution or the
|
|
8
|
+
* screenshot does not belong to the caller.
|
|
9
|
+
*/
|
|
10
|
+
retrieve(screenshotID: string, params: ScreenshotRetrieveParams, options?: RequestOptions): APIPromise<void>;
|
|
11
|
+
}
|
|
12
|
+
export interface ScreenshotRetrieveParams {
|
|
13
|
+
executionId: string;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace Screenshots {
|
|
16
|
+
export { type ScreenshotRetrieveParams as ScreenshotRetrieveParams };
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=screenshots.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screenshots.d.ts","sourceRoot":"","sources":["../../../src/resources/workflows/executions/screenshots.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;CAOpB;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EAAE,KAAK,wBAAwB,IAAI,wBAAwB,EAAE,CAAC;CACtE"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Screenshots = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../../internal/headers.js");
|
|
7
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
8
|
+
class Screenshots extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Redirects (302) to a freshly signed, time-limited image URL for a screenshot
|
|
11
|
+
* captured during this execution. Owner-gated: 404 if the execution or the
|
|
12
|
+
* screenshot does not belong to the caller.
|
|
13
|
+
*/
|
|
14
|
+
retrieve(screenshotID, params, options) {
|
|
15
|
+
const { executionId } = params;
|
|
16
|
+
return this._client.get((0, path_1.path) `/executions/${executionId}/screenshots/${screenshotID}`, {
|
|
17
|
+
...options,
|
|
18
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.Screenshots = Screenshots;
|
|
23
|
+
//# sourceMappingURL=screenshots.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screenshots.js","sourceRoot":"","sources":["../../../src/resources/workflows/executions/screenshots.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;OAIG;IACH,QAAQ,CACN,YAAoB,EACpB,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,WAAW,gBAAgB,YAAY,EAAE,EAAE;YACpF,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAjBD,kCAiBC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
4
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
5
|
+
export class Screenshots extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Redirects (302) to a freshly signed, time-limited image URL for a screenshot
|
|
8
|
+
* captured during this execution. Owner-gated: 404 if the execution or the
|
|
9
|
+
* screenshot does not belong to the caller.
|
|
10
|
+
*/
|
|
11
|
+
retrieve(screenshotID, params, options) {
|
|
12
|
+
const { executionId } = params;
|
|
13
|
+
return this._client.get(path `/executions/${executionId}/screenshots/${screenshotID}`, {
|
|
14
|
+
...options,
|
|
15
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=screenshots.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screenshots.mjs","sourceRoot":"","sources":["../../../src/resources/workflows/executions/screenshots.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,QAAQ,CACN,YAAoB,EACpB,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,WAAW,gBAAgB,YAAY,EAAE,EAAE;YACpF,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|