@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
|
@@ -68,16 +68,8 @@ export class Tasks extends APIResource {
|
|
|
68
68
|
* Create and dispatch a new agent task. Returns the task ID and device stream
|
|
69
69
|
* details.
|
|
70
70
|
*/
|
|
71
|
-
run(
|
|
72
|
-
|
|
73
|
-
return this._client.post('/tasks', {
|
|
74
|
-
body,
|
|
75
|
-
...options,
|
|
76
|
-
headers: buildHeaders([
|
|
77
|
-
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
78
|
-
options?.headers,
|
|
79
|
-
]),
|
|
80
|
-
});
|
|
71
|
+
run(body: TaskRunParams, options?: RequestOptions): APIPromise<TaskRunResponse> {
|
|
72
|
+
return this._client.post('/tasks', { body, ...options });
|
|
81
73
|
}
|
|
82
74
|
|
|
83
75
|
/**
|
|
@@ -179,6 +171,12 @@ export namespace TaskRetrieveResponse {
|
|
|
179
171
|
|
|
180
172
|
finishedAt?: string | null;
|
|
181
173
|
|
|
174
|
+
/**
|
|
175
|
+
* Whether human-like input was requested. Always equal to the deprecated stealth
|
|
176
|
+
* field.
|
|
177
|
+
*/
|
|
178
|
+
humanize?: boolean;
|
|
179
|
+
|
|
182
180
|
maxSteps?: number;
|
|
183
181
|
|
|
184
182
|
message?: string | null;
|
|
@@ -205,6 +203,10 @@ export namespace TaskRetrieveResponse {
|
|
|
205
203
|
*/
|
|
206
204
|
source?: 'api' | 'agent';
|
|
207
205
|
|
|
206
|
+
/**
|
|
207
|
+
* @deprecated Deprecated: use humanize. Both names must agree when supplied
|
|
208
|
+
* together.
|
|
209
|
+
*/
|
|
208
210
|
stealth?: boolean;
|
|
209
211
|
|
|
210
212
|
steps?: number | null;
|
|
@@ -315,6 +317,12 @@ export namespace TaskListResponse {
|
|
|
315
317
|
|
|
316
318
|
finishedAt?: string | null;
|
|
317
319
|
|
|
320
|
+
/**
|
|
321
|
+
* Whether human-like input was requested. Always equal to the deprecated stealth
|
|
322
|
+
* field.
|
|
323
|
+
*/
|
|
324
|
+
humanize?: boolean;
|
|
325
|
+
|
|
318
326
|
maxSteps?: number;
|
|
319
327
|
|
|
320
328
|
message?: string | null;
|
|
@@ -341,6 +349,10 @@ export namespace TaskListResponse {
|
|
|
341
349
|
*/
|
|
342
350
|
source?: 'api' | 'agent';
|
|
343
351
|
|
|
352
|
+
/**
|
|
353
|
+
* @deprecated Deprecated: use humanize. Both names must agree when supplied
|
|
354
|
+
* together.
|
|
355
|
+
*/
|
|
344
356
|
stealth?: boolean;
|
|
345
357
|
|
|
346
358
|
steps?: number | null;
|
|
@@ -561,27 +573,18 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
561
573
|
}
|
|
562
574
|
|
|
563
575
|
export interface TrajectoryStartEvent {
|
|
564
|
-
/**
|
|
565
|
-
* Implicit entry event sent to kick off a `Workflow.run()`.
|
|
566
|
-
*/
|
|
567
576
|
data: unknown;
|
|
568
577
|
|
|
569
578
|
event: 'StartEvent';
|
|
570
579
|
}
|
|
571
580
|
|
|
572
581
|
export interface TrajectoryFinalizeEvent {
|
|
573
|
-
/**
|
|
574
|
-
* Trigger finalization.
|
|
575
|
-
*/
|
|
576
582
|
data: TrajectoryFinalizeEvent.Data;
|
|
577
583
|
|
|
578
584
|
event: 'FinalizeEvent';
|
|
579
585
|
}
|
|
580
586
|
|
|
581
587
|
export namespace TrajectoryFinalizeEvent {
|
|
582
|
-
/**
|
|
583
|
-
* Trigger finalization.
|
|
584
|
-
*/
|
|
585
588
|
export interface Data {
|
|
586
589
|
reason: string;
|
|
587
590
|
|
|
@@ -590,26 +593,6 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
590
593
|
}
|
|
591
594
|
|
|
592
595
|
export interface TrajectoryStopEvent {
|
|
593
|
-
/**
|
|
594
|
-
* Terminal event that signals the workflow has completed.
|
|
595
|
-
*
|
|
596
|
-
* The `result` property contains the return value of the workflow run. When a
|
|
597
|
-
* custom stop event subclass is used, the workflow result is that event instance
|
|
598
|
-
* itself.
|
|
599
|
-
*
|
|
600
|
-
* Examples:
|
|
601
|
-
* `python # default stop event: result holds the value return StopEvent(result={"answer": 42}) `
|
|
602
|
-
*
|
|
603
|
-
* Subclassing to provide a custom result:
|
|
604
|
-
*
|
|
605
|
-
* ```python
|
|
606
|
-
* class MyStopEv(StopEvent):
|
|
607
|
-
* pass
|
|
608
|
-
*
|
|
609
|
-
* @step
|
|
610
|
-
* async def my_step(self, ctx: Context, ev: StartEvent) -> MyStopEv:
|
|
611
|
-
* return MyStopEv(result={"answer": 42})
|
|
612
|
-
*/
|
|
613
596
|
data: unknown;
|
|
614
597
|
|
|
615
598
|
event: 'StopEvent';
|
|
@@ -617,10 +600,7 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
617
600
|
|
|
618
601
|
export interface TrajectoryResultEvent {
|
|
619
602
|
/**
|
|
620
|
-
*
|
|
621
|
-
*
|
|
622
|
-
* The worker uses droidrun's ResultEvent directly; this model only exists so the
|
|
623
|
-
* API OpenAPI schema can reference it without the heavy droidrun import.
|
|
603
|
+
* Final result event of a task.
|
|
624
604
|
*/
|
|
625
605
|
data: TrajectoryResultEvent.Data;
|
|
626
606
|
|
|
@@ -629,10 +609,7 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
629
609
|
|
|
630
610
|
export namespace TrajectoryResultEvent {
|
|
631
611
|
/**
|
|
632
|
-
*
|
|
633
|
-
*
|
|
634
|
-
* The worker uses droidrun's ResultEvent directly; this model only exists so the
|
|
635
|
-
* API OpenAPI schema can reference it without the heavy droidrun import.
|
|
612
|
+
* Final result event of a task.
|
|
636
613
|
*/
|
|
637
614
|
export interface Data {
|
|
638
615
|
message?: string | null;
|
|
@@ -646,33 +623,18 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
646
623
|
}
|
|
647
624
|
|
|
648
625
|
export interface TrajectoryManagerInputEvent {
|
|
649
|
-
/**
|
|
650
|
-
* Trigger Manager workflow for planning
|
|
651
|
-
*/
|
|
652
626
|
data: unknown;
|
|
653
627
|
|
|
654
628
|
event: 'ManagerInputEvent';
|
|
655
629
|
}
|
|
656
630
|
|
|
657
631
|
export interface TrajectoryManagerPlanEvent {
|
|
658
|
-
/**
|
|
659
|
-
* Coordination event from ManagerAgent to MobileAgent.
|
|
660
|
-
*
|
|
661
|
-
* Used for workflow step routing only (NOT streamed to frontend). For internal
|
|
662
|
-
* events with memory_update metadata, see ManagerPlanDetailsEvent.
|
|
663
|
-
*/
|
|
664
632
|
data: TrajectoryManagerPlanEvent.Data;
|
|
665
633
|
|
|
666
634
|
event: 'ManagerPlanEvent';
|
|
667
635
|
}
|
|
668
636
|
|
|
669
637
|
export namespace TrajectoryManagerPlanEvent {
|
|
670
|
-
/**
|
|
671
|
-
* Coordination event from ManagerAgent to MobileAgent.
|
|
672
|
-
*
|
|
673
|
-
* Used for workflow step routing only (NOT streamed to frontend). For internal
|
|
674
|
-
* events with memory_update metadata, see ManagerPlanDetailsEvent.
|
|
675
|
-
*/
|
|
676
638
|
export interface Data {
|
|
677
639
|
current_subgoal: string;
|
|
678
640
|
|
|
@@ -687,36 +649,24 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
687
649
|
}
|
|
688
650
|
|
|
689
651
|
export interface TrajectoryExecutorInputEvent {
|
|
690
|
-
/**
|
|
691
|
-
* Trigger Executor workflow for action execution
|
|
692
|
-
*/
|
|
693
652
|
data: TrajectoryExecutorInputEvent.Data;
|
|
694
653
|
|
|
695
654
|
event: 'ExecutorInputEvent';
|
|
696
655
|
}
|
|
697
656
|
|
|
698
657
|
export namespace TrajectoryExecutorInputEvent {
|
|
699
|
-
/**
|
|
700
|
-
* Trigger Executor workflow for action execution
|
|
701
|
-
*/
|
|
702
658
|
export interface Data {
|
|
703
659
|
current_subgoal: string;
|
|
704
660
|
}
|
|
705
661
|
}
|
|
706
662
|
|
|
707
663
|
export interface TrajectoryExecutorResultEvent {
|
|
708
|
-
/**
|
|
709
|
-
* Executor finished with action result.
|
|
710
|
-
*/
|
|
711
664
|
data: TrajectoryExecutorResultEvent.Data;
|
|
712
665
|
|
|
713
666
|
event: 'ExecutorResultEvent';
|
|
714
667
|
}
|
|
715
668
|
|
|
716
669
|
export namespace TrajectoryExecutorResultEvent {
|
|
717
|
-
/**
|
|
718
|
-
* Executor finished with action result.
|
|
719
|
-
*/
|
|
720
670
|
export interface Data {
|
|
721
671
|
action: { [key: string]: unknown };
|
|
722
672
|
|
|
@@ -729,32 +679,28 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
729
679
|
}
|
|
730
680
|
|
|
731
681
|
export interface TrajectoryFastAgentInputEvent {
|
|
732
|
-
/**
|
|
733
|
-
* Input ready for LLM.
|
|
734
|
-
*/
|
|
735
682
|
data: unknown;
|
|
736
683
|
|
|
737
684
|
event: 'FastAgentInputEvent';
|
|
738
685
|
}
|
|
739
686
|
|
|
740
687
|
export interface TrajectoryFastAgentResponseEvent {
|
|
741
|
-
/**
|
|
742
|
-
* LLM response received.
|
|
743
|
-
*/
|
|
744
688
|
data: TrajectoryFastAgentResponseEvent.Data;
|
|
745
689
|
|
|
746
690
|
event: 'FastAgentResponseEvent';
|
|
747
691
|
}
|
|
748
692
|
|
|
749
693
|
export namespace TrajectoryFastAgentResponseEvent {
|
|
750
|
-
/**
|
|
751
|
-
* LLM response received.
|
|
752
|
-
*/
|
|
753
694
|
export interface Data {
|
|
754
695
|
thought: string;
|
|
755
696
|
|
|
756
697
|
code?: string | null;
|
|
757
698
|
|
|
699
|
+
/**
|
|
700
|
+
* Classification of tool-call markup in an LLM response.
|
|
701
|
+
*/
|
|
702
|
+
tool_call_status?: 'valid' | 'no_markup' | 'malformed';
|
|
703
|
+
|
|
758
704
|
usage?: Data.Usage | null;
|
|
759
705
|
}
|
|
760
706
|
|
|
@@ -772,54 +718,36 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
772
718
|
}
|
|
773
719
|
|
|
774
720
|
export interface TrajectoryFastAgentToolCallEvent {
|
|
775
|
-
/**
|
|
776
|
-
* Tool calls ready to execute.
|
|
777
|
-
*/
|
|
778
721
|
data: TrajectoryFastAgentToolCallEvent.Data;
|
|
779
722
|
|
|
780
723
|
event: 'FastAgentToolCallEvent';
|
|
781
724
|
}
|
|
782
725
|
|
|
783
726
|
export namespace TrajectoryFastAgentToolCallEvent {
|
|
784
|
-
/**
|
|
785
|
-
* Tool calls ready to execute.
|
|
786
|
-
*/
|
|
787
727
|
export interface Data {
|
|
788
728
|
tool_calls_repr: string;
|
|
789
729
|
}
|
|
790
730
|
}
|
|
791
731
|
|
|
792
732
|
export interface TrajectoryFastAgentOutputEvent {
|
|
793
|
-
/**
|
|
794
|
-
* Tool execution result.
|
|
795
|
-
*/
|
|
796
733
|
data: TrajectoryFastAgentOutputEvent.Data;
|
|
797
734
|
|
|
798
735
|
event: 'FastAgentOutputEvent';
|
|
799
736
|
}
|
|
800
737
|
|
|
801
738
|
export namespace TrajectoryFastAgentOutputEvent {
|
|
802
|
-
/**
|
|
803
|
-
* Tool execution result.
|
|
804
|
-
*/
|
|
805
739
|
export interface Data {
|
|
806
740
|
output: string;
|
|
807
741
|
}
|
|
808
742
|
}
|
|
809
743
|
|
|
810
744
|
export interface TrajectoryFastAgentEndEvent {
|
|
811
|
-
/**
|
|
812
|
-
* FastAgent finished.
|
|
813
|
-
*/
|
|
814
745
|
data: TrajectoryFastAgentEndEvent.Data;
|
|
815
746
|
|
|
816
747
|
event: 'FastAgentEndEvent';
|
|
817
748
|
}
|
|
818
749
|
|
|
819
750
|
export namespace TrajectoryFastAgentEndEvent {
|
|
820
|
-
/**
|
|
821
|
-
* FastAgent finished.
|
|
822
|
-
*/
|
|
823
751
|
export interface Data {
|
|
824
752
|
reason: string;
|
|
825
753
|
|
|
@@ -858,18 +786,12 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
858
786
|
}
|
|
859
787
|
|
|
860
788
|
export interface TrajectoryToolExecutionEvent {
|
|
861
|
-
/**
|
|
862
|
-
* Emitted after every tool call dispatched through ToolRegistry.
|
|
863
|
-
*/
|
|
864
789
|
data: TrajectoryToolExecutionEvent.Data;
|
|
865
790
|
|
|
866
791
|
event: 'ToolExecutionEvent';
|
|
867
792
|
}
|
|
868
793
|
|
|
869
794
|
export namespace TrajectoryToolExecutionEvent {
|
|
870
|
-
/**
|
|
871
|
-
* Emitted after every tool call dispatched through ToolRegistry.
|
|
872
|
-
*/
|
|
873
795
|
export interface Data {
|
|
874
796
|
success: boolean;
|
|
875
797
|
|
|
@@ -896,27 +818,18 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
896
818
|
}
|
|
897
819
|
|
|
898
820
|
export interface TrajectoryManagerContextEvent {
|
|
899
|
-
/**
|
|
900
|
-
* Context prepared, ready for LLM call.
|
|
901
|
-
*/
|
|
902
821
|
data: unknown;
|
|
903
822
|
|
|
904
823
|
event: 'ManagerContextEvent';
|
|
905
824
|
}
|
|
906
825
|
|
|
907
826
|
export interface TrajectoryManagerResponseEvent {
|
|
908
|
-
/**
|
|
909
|
-
* LLM response received, ready for parsing.
|
|
910
|
-
*/
|
|
911
827
|
data: TrajectoryManagerResponseEvent.Data;
|
|
912
828
|
|
|
913
829
|
event: 'ManagerResponseEvent';
|
|
914
830
|
}
|
|
915
831
|
|
|
916
832
|
export namespace TrajectoryManagerResponseEvent {
|
|
917
|
-
/**
|
|
918
|
-
* LLM response received, ready for parsing.
|
|
919
|
-
*/
|
|
920
833
|
export interface Data {
|
|
921
834
|
response: string;
|
|
922
835
|
|
|
@@ -937,18 +850,12 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
937
850
|
}
|
|
938
851
|
|
|
939
852
|
export interface TrajectoryManagerPlanDetailsEvent {
|
|
940
|
-
/**
|
|
941
|
-
* Plan parsed and ready (internal event with full details).
|
|
942
|
-
*/
|
|
943
853
|
data: TrajectoryManagerPlanDetailsEvent.Data;
|
|
944
854
|
|
|
945
855
|
event: 'ManagerPlanDetailsEvent';
|
|
946
856
|
}
|
|
947
857
|
|
|
948
858
|
export namespace TrajectoryManagerPlanDetailsEvent {
|
|
949
|
-
/**
|
|
950
|
-
* Plan parsed and ready (internal event with full details).
|
|
951
|
-
*/
|
|
952
859
|
export interface Data {
|
|
953
860
|
plan: string;
|
|
954
861
|
|
|
@@ -969,36 +876,24 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
969
876
|
}
|
|
970
877
|
|
|
971
878
|
export interface TrajectoryExecutorContextEvent {
|
|
972
|
-
/**
|
|
973
|
-
* Context prepared, ready for LLM call.
|
|
974
|
-
*/
|
|
975
879
|
data: TrajectoryExecutorContextEvent.Data;
|
|
976
880
|
|
|
977
881
|
event: 'ExecutorContextEvent';
|
|
978
882
|
}
|
|
979
883
|
|
|
980
884
|
export namespace TrajectoryExecutorContextEvent {
|
|
981
|
-
/**
|
|
982
|
-
* Context prepared, ready for LLM call.
|
|
983
|
-
*/
|
|
984
885
|
export interface Data {
|
|
985
886
|
subgoal: string;
|
|
986
887
|
}
|
|
987
888
|
}
|
|
988
889
|
|
|
989
890
|
export interface TrajectoryExecutorResponseEvent {
|
|
990
|
-
/**
|
|
991
|
-
* LLM response received, ready for parsing.
|
|
992
|
-
*/
|
|
993
891
|
data: TrajectoryExecutorResponseEvent.Data;
|
|
994
892
|
|
|
995
893
|
event: 'ExecutorResponseEvent';
|
|
996
894
|
}
|
|
997
895
|
|
|
998
896
|
export namespace TrajectoryExecutorResponseEvent {
|
|
999
|
-
/**
|
|
1000
|
-
* LLM response received, ready for parsing.
|
|
1001
|
-
*/
|
|
1002
897
|
export interface Data {
|
|
1003
898
|
response: string;
|
|
1004
899
|
|
|
@@ -1019,18 +914,12 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
1019
914
|
}
|
|
1020
915
|
|
|
1021
916
|
export interface TrajectoryExecutorActionEvent {
|
|
1022
|
-
/**
|
|
1023
|
-
* Action parsed, ready to execute.
|
|
1024
|
-
*/
|
|
1025
917
|
data: TrajectoryExecutorActionEvent.Data;
|
|
1026
918
|
|
|
1027
919
|
event: 'ExecutorActionEvent';
|
|
1028
920
|
}
|
|
1029
921
|
|
|
1030
922
|
export namespace TrajectoryExecutorActionEvent {
|
|
1031
|
-
/**
|
|
1032
|
-
* Action parsed, ready to execute.
|
|
1033
|
-
*/
|
|
1034
923
|
export interface Data {
|
|
1035
924
|
action_json: string;
|
|
1036
925
|
|
|
@@ -1043,18 +932,12 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
1043
932
|
}
|
|
1044
933
|
|
|
1045
934
|
export interface TrajectoryExecutorActionResultEvent {
|
|
1046
|
-
/**
|
|
1047
|
-
* Action execution result (internal event with full details).
|
|
1048
|
-
*/
|
|
1049
935
|
data: TrajectoryExecutorActionResultEvent.Data;
|
|
1050
936
|
|
|
1051
937
|
event: 'ExecutorActionResultEvent';
|
|
1052
938
|
}
|
|
1053
939
|
|
|
1054
940
|
export namespace TrajectoryExecutorActionResultEvent {
|
|
1055
|
-
/**
|
|
1056
|
-
* Action execution result (internal event with full details).
|
|
1057
|
-
*/
|
|
1058
941
|
export interface Data {
|
|
1059
942
|
action: { [key: string]: unknown };
|
|
1060
943
|
|
|
@@ -1179,114 +1062,80 @@ export interface TaskListParams {
|
|
|
1179
1062
|
|
|
1180
1063
|
export interface TaskRunParams {
|
|
1181
1064
|
/**
|
|
1182
|
-
*
|
|
1065
|
+
* The ID of the device to run the task on.
|
|
1183
1066
|
*/
|
|
1184
1067
|
deviceId: string;
|
|
1185
1068
|
|
|
1186
|
-
/**
|
|
1187
|
-
* Body param
|
|
1188
|
-
*/
|
|
1189
1069
|
task: string;
|
|
1190
1070
|
|
|
1191
|
-
/**
|
|
1192
|
-
* Body param
|
|
1193
|
-
*/
|
|
1194
1071
|
accessibility?: boolean;
|
|
1195
1072
|
|
|
1196
|
-
/**
|
|
1197
|
-
* Body param
|
|
1198
|
-
*/
|
|
1199
1073
|
apps?: Array<string>;
|
|
1200
1074
|
|
|
1201
|
-
/**
|
|
1202
|
-
* Body param
|
|
1203
|
-
*/
|
|
1204
1075
|
continueOnFailure?: boolean;
|
|
1205
1076
|
|
|
1206
|
-
/**
|
|
1207
|
-
* Body param
|
|
1208
|
-
*/
|
|
1209
1077
|
credentials?: Array<TaskRunParams.Credential>;
|
|
1210
1078
|
|
|
1211
1079
|
/**
|
|
1212
|
-
*
|
|
1080
|
+
* The display ID of the device to run the task on.
|
|
1213
1081
|
*/
|
|
1214
1082
|
displayId?: number;
|
|
1215
1083
|
|
|
1216
1084
|
/**
|
|
1217
|
-
*
|
|
1085
|
+
* Maximum agent execution time in seconds (1–2700).
|
|
1218
1086
|
*/
|
|
1219
1087
|
executionTimeout?: number;
|
|
1220
1088
|
|
|
1221
|
-
/**
|
|
1222
|
-
* Body param
|
|
1223
|
-
*/
|
|
1224
1089
|
files?: Array<string>;
|
|
1225
1090
|
|
|
1226
1091
|
/**
|
|
1227
|
-
*
|
|
1228
|
-
*
|
|
1092
|
+
* Request human-like input where supported by the device. Replaces the deprecated
|
|
1093
|
+
* stealth field; both must agree when supplied together.
|
|
1229
1094
|
*/
|
|
1230
|
-
|
|
1095
|
+
humanize?: boolean;
|
|
1231
1096
|
|
|
1232
1097
|
/**
|
|
1233
|
-
*
|
|
1098
|
+
* The LLM model identifier to use for the task (e.g. 'openai/gpt-6-luna')
|
|
1234
1099
|
*/
|
|
1100
|
+
llmModel?: string;
|
|
1101
|
+
|
|
1235
1102
|
maxSteps?: number;
|
|
1236
1103
|
|
|
1237
|
-
/**
|
|
1238
|
-
* Body param
|
|
1239
|
-
*/
|
|
1240
1104
|
outputSchema?: { [key: string]: unknown } | null;
|
|
1241
1105
|
|
|
1242
|
-
/**
|
|
1243
|
-
* Body param
|
|
1244
|
-
*/
|
|
1245
1106
|
reasoning?: boolean;
|
|
1246
1107
|
|
|
1247
1108
|
/**
|
|
1248
|
-
*
|
|
1249
|
-
* reference
|
|
1109
|
+
* Record device video for the whole task and persist a retrievable reference
|
|
1250
1110
|
*/
|
|
1251
1111
|
recordingEnabled?: boolean;
|
|
1252
1112
|
|
|
1253
1113
|
/**
|
|
1254
|
-
*
|
|
1114
|
+
* @deprecated Deprecated: use humanize. Both names must agree when supplied
|
|
1115
|
+
* together.
|
|
1255
1116
|
*/
|
|
1256
1117
|
stealth?: boolean;
|
|
1257
1118
|
|
|
1258
1119
|
/**
|
|
1259
|
-
*
|
|
1260
|
-
* structured_output
|
|
1120
|
+
* LLM model used by sub-agent roles: executor, app_opener, structured_output
|
|
1261
1121
|
*/
|
|
1262
1122
|
subagentModel?: string;
|
|
1263
1123
|
|
|
1264
1124
|
/**
|
|
1265
|
-
*
|
|
1266
|
-
*
|
|
1125
|
+
* Optional custom behavioral overlay applied on top of the agent's default system
|
|
1126
|
+
* prompts. Never echoed back in responses or errors.
|
|
1267
1127
|
*/
|
|
1268
1128
|
systemPrompt?: string | null;
|
|
1269
1129
|
|
|
1270
1130
|
/**
|
|
1271
|
-
* @deprecated
|
|
1272
|
-
*
|
|
1131
|
+
* @deprecated Deprecated and ignored. Sampling behavior is controlled by the model
|
|
1132
|
+
* provider.
|
|
1273
1133
|
*/
|
|
1274
1134
|
temperature?: number;
|
|
1275
1135
|
|
|
1276
|
-
/**
|
|
1277
|
-
* Body param
|
|
1278
|
-
*/
|
|
1279
1136
|
vision?: boolean;
|
|
1280
1137
|
|
|
1281
|
-
/**
|
|
1282
|
-
* Body param
|
|
1283
|
-
*/
|
|
1284
1138
|
vpnCountry?: 'US' | 'BR' | 'FR' | 'DE' | 'IN' | 'JP' | 'KR' | 'ZA' | null;
|
|
1285
|
-
|
|
1286
|
-
/**
|
|
1287
|
-
* Header param
|
|
1288
|
-
*/
|
|
1289
|
-
'Idempotency-Key'?: string;
|
|
1290
1139
|
}
|
|
1291
1140
|
|
|
1292
1141
|
export namespace TaskRunParams {
|
|
@@ -1326,7 +1175,13 @@ export interface TaskRunStreamedParams {
|
|
|
1326
1175
|
files?: Array<string>;
|
|
1327
1176
|
|
|
1328
1177
|
/**
|
|
1329
|
-
*
|
|
1178
|
+
* Request human-like input where supported by the device. Replaces the deprecated
|
|
1179
|
+
* stealth field; both must agree when supplied together.
|
|
1180
|
+
*/
|
|
1181
|
+
humanize?: boolean;
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* The LLM model identifier to use for the task (e.g. 'openai/gpt-6-luna')
|
|
1330
1185
|
*/
|
|
1331
1186
|
llmModel?: string;
|
|
1332
1187
|
|
|
@@ -1341,6 +1196,10 @@ export interface TaskRunStreamedParams {
|
|
|
1341
1196
|
*/
|
|
1342
1197
|
recordingEnabled?: boolean;
|
|
1343
1198
|
|
|
1199
|
+
/**
|
|
1200
|
+
* @deprecated Deprecated: use humanize. Both names must agree when supplied
|
|
1201
|
+
* together.
|
|
1202
|
+
*/
|
|
1344
1203
|
stealth?: boolean;
|
|
1345
1204
|
|
|
1346
1205
|
/**
|
|
@@ -11,12 +11,8 @@ export class Deliveries extends APIResource {
|
|
|
11
11
|
* Returns a paginated feed of webhook deliveries across all of your subscriptions,
|
|
12
12
|
* with the originating endpoint URL included on each record. Results can be
|
|
13
13
|
* filtered by delivery status (pending, success, skipped, or dead), by a `since`
|
|
14
|
-
* timestamp,
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```ts
|
|
18
|
-
* const deliveries = await client.webhooks.deliveries.list();
|
|
19
|
-
* ```
|
|
14
|
+
* timestamp, by `eventId` (exact match against the originating event id), and/or
|
|
15
|
+
* by endpoint delivery `kind`.
|
|
20
16
|
*/
|
|
21
17
|
list(
|
|
22
18
|
query: DeliveryListParams | null | undefined = {},
|
|
@@ -30,14 +26,6 @@ export class Deliveries extends APIResource {
|
|
|
30
26
|
* identified by its id. Each record reports the event, delivery status, attempt
|
|
31
27
|
* count, and the last response code or error. Results can be filtered by `eventId`
|
|
32
28
|
* (exact match against the originating event id).
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* ```ts
|
|
36
|
-
* const response =
|
|
37
|
-
* await client.webhooks.deliveries.listForWebhook(
|
|
38
|
-
* '550e8400-e29b-41d4-a716-446655440000',
|
|
39
|
-
* );
|
|
40
|
-
* ```
|
|
41
29
|
*/
|
|
42
30
|
listForWebhook(
|
|
43
31
|
id: string,
|
|
@@ -51,15 +39,6 @@ export class Deliveries extends APIResource {
|
|
|
51
39
|
* Returns a single delivery for a webhook subscription along with the full list of
|
|
52
40
|
* captured attempt records. Each attempt includes the request URL, method, headers
|
|
53
41
|
* and body, whether it was signed, and the response status, headers, and snippet.
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* ```ts
|
|
57
|
-
* const response =
|
|
58
|
-
* await client.webhooks.deliveries.retrieveAttempts(
|
|
59
|
-
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
60
|
-
* { id: '550e8400-e29b-41d4-a716-446655440000' },
|
|
61
|
-
* );
|
|
62
|
-
* ```
|
|
63
42
|
*/
|
|
64
43
|
retrieveAttempts(
|
|
65
44
|
deliveryID: string,
|
|
@@ -73,13 +52,8 @@ export class Deliveries extends APIResource {
|
|
|
73
52
|
/**
|
|
74
53
|
* Returns aggregate delivery statistics across all of your webhooks, including the
|
|
75
54
|
* total count, a breakdown by status (pending, success, skipped, dead), and the
|
|
76
|
-
* overall success rate.
|
|
77
|
-
* window.
|
|
78
|
-
*
|
|
79
|
-
* @example
|
|
80
|
-
* ```ts
|
|
81
|
-
* const response = await client.webhooks.deliveries.stats();
|
|
82
|
-
* ```
|
|
55
|
+
* overall success rate. Optional `since` and endpoint delivery `kind` filters
|
|
56
|
+
* narrow the reporting window.
|
|
83
57
|
*/
|
|
84
58
|
stats(
|
|
85
59
|
query: DeliveryStatsParams | null | undefined = {},
|
|
@@ -115,7 +89,18 @@ export namespace DeliveryListResponse {
|
|
|
115
89
|
|
|
116
90
|
endpointId: string;
|
|
117
91
|
|
|
118
|
-
|
|
92
|
+
endpointKind: 'http' | 'integration';
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Integration target label of the parent webhook (e.g. `#ops`); null for `http`
|
|
96
|
+
* webhooks.
|
|
97
|
+
*/
|
|
98
|
+
endpointLabel: string | null;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Delivery URL of the parent webhook; null for `integration` webhooks.
|
|
102
|
+
*/
|
|
103
|
+
endpointUrl: string | null;
|
|
119
104
|
|
|
120
105
|
eventId: string;
|
|
121
106
|
|
|
@@ -281,6 +266,11 @@ export interface DeliveryListParams {
|
|
|
281
266
|
*/
|
|
282
267
|
eventId?: string;
|
|
283
268
|
|
|
269
|
+
/**
|
|
270
|
+
* Only include deliveries to endpoints of this kind.
|
|
271
|
+
*/
|
|
272
|
+
kind?: 'http' | 'integration';
|
|
273
|
+
|
|
284
274
|
page?: number;
|
|
285
275
|
|
|
286
276
|
pageSize?: number;
|
|
@@ -306,6 +296,11 @@ export interface DeliveryRetrieveAttemptsParams {
|
|
|
306
296
|
}
|
|
307
297
|
|
|
308
298
|
export interface DeliveryStatsParams {
|
|
299
|
+
/**
|
|
300
|
+
* Only include deliveries to endpoints of this kind.
|
|
301
|
+
*/
|
|
302
|
+
kind?: 'http' | 'integration';
|
|
303
|
+
|
|
309
304
|
since?: string;
|
|
310
305
|
}
|
|
311
306
|
|