@mobilerun/sdk 4.0.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +313 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +34 -29
- package/client.d.mts.map +1 -1
- package/client.d.ts +34 -29
- package/client.d.ts.map +1 -1
- package/client.js +44 -22
- package/client.js.map +1 -1
- package/client.mjs +46 -24
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +10 -10
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +10 -10
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/lib/trajectory-decoder-stream.d.mts.map +1 -1
- package/lib/trajectory-decoder-stream.d.ts.map +1 -1
- package/package.json +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/apps.d.mts +203 -16
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +203 -16
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +98 -0
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +98 -0
- package/resources/apps.mjs.map +1 -1
- package/resources/carriers.d.mts +105 -7
- package/resources/carriers.d.mts.map +1 -1
- package/resources/carriers.d.ts +105 -7
- package/resources/carriers.d.ts.map +1 -1
- package/resources/carriers.js.map +1 -1
- package/resources/carriers.mjs.map +1 -1
- package/resources/connect/connect.d.mts +18 -0
- package/resources/connect/connect.d.mts.map +1 -0
- package/resources/connect/connect.d.ts +18 -0
- package/resources/connect/connect.d.ts.map +1 -0
- package/resources/connect/connect.js +25 -0
- package/resources/connect/connect.js.map +1 -0
- package/resources/connect/connect.mjs +20 -0
- package/resources/connect/connect.mjs.map +1 -0
- package/resources/connect/countries.d.mts +84 -0
- package/resources/connect/countries.d.mts.map +1 -0
- package/resources/connect/countries.d.ts +84 -0
- package/resources/connect/countries.d.ts.map +1 -0
- package/resources/connect/countries.js +20 -0
- package/resources/connect/countries.js.map +1 -0
- package/resources/connect/countries.mjs +16 -0
- package/resources/connect/countries.mjs.map +1 -0
- package/resources/connect/index.d.mts +5 -0
- package/resources/connect/index.d.mts.map +1 -0
- package/resources/connect/index.d.ts +5 -0
- package/resources/connect/index.d.ts.map +1 -0
- package/resources/connect/index.js +13 -0
- package/resources/connect/index.js.map +1 -0
- package/resources/connect/index.mjs +6 -0
- package/resources/connect/index.mjs.map +1 -0
- package/resources/connect/proxies.d.mts +456 -0
- package/resources/connect/proxies.d.mts.map +1 -0
- package/resources/connect/proxies.d.ts +456 -0
- package/resources/connect/proxies.d.ts.map +1 -0
- package/resources/connect/proxies.js +59 -0
- package/resources/connect/proxies.js.map +1 -0
- package/resources/connect/proxies.mjs +55 -0
- package/resources/connect/proxies.mjs.map +1 -0
- package/resources/connect/users.d.mts +392 -0
- package/resources/connect/users.d.mts.map +1 -0
- package/resources/connect/users.d.ts +392 -0
- package/resources/connect/users.d.ts.map +1 -0
- package/resources/connect/users.js +59 -0
- package/resources/connect/users.js.map +1 -0
- package/resources/connect/users.mjs +55 -0
- package/resources/connect/users.mjs.map +1 -0
- package/resources/connect.d.mts +2 -0
- package/resources/connect.d.mts.map +1 -0
- package/resources/connect.d.ts +2 -0
- package/resources/connect.d.ts.map +1 -0
- package/resources/connect.js +6 -0
- package/resources/connect.js.map +1 -0
- package/resources/connect.mjs +3 -0
- package/resources/connect.mjs.map +1 -0
- package/resources/credentials/credentials.d.mts +3 -1
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +3 -1
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js +3 -1
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs +3 -1
- package/resources/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/index.d.mts.map +1 -1
- package/resources/credentials/index.d.ts.map +1 -1
- package/resources/credentials/index.mjs.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.mts +14 -4
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +14 -4
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js +7 -3
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs +7 -3
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +8 -3
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +8 -3
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/fields.js +8 -3
- package/resources/credentials/packages/credentials/fields.js.map +1 -1
- package/resources/credentials/packages/credentials/fields.mjs +8 -3
- package/resources/credentials/packages/credentials/fields.mjs.map +1 -1
- package/resources/credentials/packages/credentials/index.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/index.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/index.mjs.map +1 -1
- package/resources/credentials/packages/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials.mjs.map +1 -1
- package/resources/credentials/packages/index.d.mts.map +1 -1
- package/resources/credentials/packages/index.d.ts.map +1 -1
- package/resources/credentials/packages/index.mjs.map +1 -1
- package/resources/credentials/packages/packages.d.mts +5 -2
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +5 -2
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +5 -2
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +5 -2
- package/resources/credentials/packages/packages.mjs.map +1 -1
- package/resources/credentials/packages.d.mts.map +1 -1
- package/resources/credentials/packages.d.ts.map +1 -1
- package/resources/credentials/packages.mjs.map +1 -1
- package/resources/credentials.d.mts.map +1 -1
- package/resources/credentials.d.ts.map +1 -1
- package/resources/credentials.mjs.map +1 -1
- package/resources/devices/actions.d.mts +10 -5
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +10 -5
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +10 -5
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +10 -5
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +78 -24
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +78 -24
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +38 -22
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +38 -22
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/devices.d.mts +168 -41
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +168 -41
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +86 -27
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +86 -27
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/esim.d.mts +14 -6
- package/resources/devices/esim.d.mts.map +1 -1
- package/resources/devices/esim.d.ts +14 -6
- package/resources/devices/esim.d.ts.map +1 -1
- package/resources/devices/esim.js +6 -4
- package/resources/devices/esim.js.map +1 -1
- package/resources/devices/esim.mjs +6 -4
- package/resources/devices/esim.mjs.map +1 -1
- package/resources/devices/files.d.mts +7 -4
- package/resources/devices/files.d.mts.map +1 -1
- package/resources/devices/files.d.ts +7 -4
- package/resources/devices/files.d.ts.map +1 -1
- package/resources/devices/files.js +7 -4
- package/resources/devices/files.js.map +1 -1
- package/resources/devices/files.mjs +7 -4
- package/resources/devices/files.mjs.map +1 -1
- package/resources/devices/index.d.mts +6 -5
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +6 -5
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +5 -3
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +3 -2
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +10 -3
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +10 -3
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/keyboard.js +5 -3
- package/resources/devices/keyboard.js.map +1 -1
- package/resources/devices/keyboard.mjs +5 -3
- package/resources/devices/keyboard.mjs.map +1 -1
- package/resources/devices/language.d.mts +45 -0
- package/resources/devices/language.d.mts.map +1 -0
- package/resources/devices/language.d.ts +45 -0
- package/resources/devices/language.d.ts.map +1 -0
- package/resources/devices/language.js +49 -0
- package/resources/devices/language.js.map +1 -0
- package/resources/devices/language.mjs +45 -0
- package/resources/devices/language.mjs.map +1 -0
- package/resources/devices/location.d.mts +7 -12
- package/resources/devices/location.d.mts.map +1 -1
- package/resources/devices/location.d.ts +7 -12
- package/resources/devices/location.d.ts.map +1 -1
- package/resources/devices/location.js +4 -2
- package/resources/devices/location.js.map +1 -1
- package/resources/devices/location.mjs +4 -2
- package/resources/devices/location.mjs.map +1 -1
- package/resources/devices/packages.d.mts +2 -1
- package/resources/devices/packages.d.mts.map +1 -1
- package/resources/devices/packages.d.ts +2 -1
- package/resources/devices/packages.d.ts.map +1 -1
- package/resources/devices/packages.js +2 -1
- package/resources/devices/packages.js.map +1 -1
- package/resources/devices/packages.mjs +2 -1
- package/resources/devices/packages.mjs.map +1 -1
- package/resources/devices/profile.d.mts.map +1 -1
- package/resources/devices/profile.d.ts.map +1 -1
- package/resources/devices/profile.mjs.map +1 -1
- package/resources/devices/proxy.d.mts +31 -10
- package/resources/devices/proxy.d.mts.map +1 -1
- package/resources/devices/proxy.d.ts +31 -10
- package/resources/devices/proxy.d.ts.map +1 -1
- package/resources/devices/proxy.js +7 -3
- package/resources/devices/proxy.js.map +1 -1
- package/resources/devices/proxy.mjs +7 -3
- package/resources/devices/proxy.mjs.map +1 -1
- package/resources/devices/state.d.mts +44 -5
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +44 -5
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +22 -2
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +22 -2
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/tasks.d.mts +4 -9
- package/resources/devices/tasks.d.mts.map +1 -1
- package/resources/devices/tasks.d.ts +4 -9
- package/resources/devices/tasks.d.ts.map +1 -1
- package/resources/devices/tasks.js +2 -1
- package/resources/devices/tasks.js.map +1 -1
- package/resources/devices/tasks.mjs +2 -1
- package/resources/devices/tasks.mjs.map +1 -1
- package/resources/devices/timezone.d.mts +39 -0
- package/resources/devices/timezone.d.mts.map +1 -0
- package/resources/devices/timezone.d.ts +39 -0
- package/resources/devices/timezone.d.ts.map +1 -0
- package/resources/devices/{time.js → timezone.js} +15 -30
- package/resources/devices/timezone.js.map +1 -0
- package/resources/devices/{time.mjs → timezone.mjs} +13 -28
- package/resources/devices/timezone.mjs.map +1 -0
- package/resources/devices.d.mts.map +1 -1
- package/resources/devices.d.ts.map +1 -1
- package/resources/devices.mjs.map +1 -1
- package/resources/hooks.d.mts +0 -208
- package/resources/hooks.d.mts.map +1 -1
- package/resources/hooks.d.ts +0 -208
- package/resources/hooks.d.ts.map +1 -1
- package/resources/hooks.js +0 -51
- package/resources/hooks.js.map +1 -1
- package/resources/hooks.mjs +0 -51
- package/resources/hooks.mjs.map +1 -1
- package/resources/index.d.mts +9 -7
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -7
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -3
- package/resources/index.mjs.map +1 -1
- package/resources/models.d.mts +3 -0
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +3 -0
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +3 -0
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +3 -0
- package/resources/models.mjs.map +1 -1
- package/resources/profiles.d.mts +69 -6
- package/resources/profiles.d.mts.map +1 -1
- package/resources/profiles.d.ts +69 -6
- package/resources/profiles.d.ts.map +1 -1
- package/resources/profiles.js.map +1 -1
- package/resources/profiles.mjs.map +1 -1
- package/resources/proxies.d.mts +101 -6
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +101 -6
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +20 -5
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +20 -5
- package/resources/proxies.mjs.map +1 -1
- package/resources/shared.d.mts +32 -7
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +32 -7
- package/resources/shared.d.ts.map +1 -1
- package/resources/tasks/index.d.mts.map +1 -1
- package/resources/tasks/index.d.ts.map +1 -1
- package/resources/tasks/index.mjs.map +1 -1
- package/resources/tasks/screenshots.d.mts.map +1 -1
- package/resources/tasks/screenshots.d.ts.map +1 -1
- package/resources/tasks/screenshots.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +220 -64
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +220 -64
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js +10 -2
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +10 -2
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/tasks/ui-states.d.mts.map +1 -1
- package/resources/tasks/ui-states.d.ts.map +1 -1
- package/resources/tasks/ui-states.mjs.map +1 -1
- package/resources/tasks.d.mts.map +1 -1
- package/resources/tasks.d.ts.map +1 -1
- package/resources/tasks.mjs.map +1 -1
- package/resources/webhooks/deliveries.d.mts +207 -0
- package/resources/webhooks/deliveries.d.mts.map +1 -0
- package/resources/webhooks/deliveries.d.ts +207 -0
- package/resources/webhooks/deliveries.d.ts.map +1 -0
- package/resources/webhooks/deliveries.js +73 -0
- package/resources/webhooks/deliveries.js.map +1 -0
- package/resources/webhooks/deliveries.mjs +69 -0
- package/resources/webhooks/deliveries.mjs.map +1 -0
- package/resources/webhooks/index.d.mts +3 -0
- package/resources/webhooks/index.d.mts.map +1 -0
- package/resources/webhooks/index.d.ts +3 -0
- package/resources/webhooks/index.d.ts.map +1 -0
- package/resources/webhooks/index.js +9 -0
- package/resources/webhooks/index.js.map +1 -0
- package/resources/webhooks/index.mjs +4 -0
- package/resources/webhooks/index.mjs.map +1 -0
- package/resources/webhooks/webhooks.d.mts +329 -0
- package/resources/webhooks/webhooks.d.mts.map +1 -0
- package/resources/webhooks/webhooks.d.ts +329 -0
- package/resources/webhooks/webhooks.d.ts.map +1 -0
- package/resources/webhooks/webhooks.js +140 -0
- package/resources/webhooks/webhooks.js.map +1 -0
- package/resources/webhooks/webhooks.mjs +135 -0
- package/resources/webhooks/webhooks.mjs.map +1 -0
- package/resources/webhooks.d.mts +2 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +2 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/webhooks.js +6 -0
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +3 -0
- package/resources/webhooks.mjs.map +1 -0
- package/resources/workflows/action-catalog.d.mts +43 -0
- package/resources/workflows/action-catalog.d.mts.map +1 -0
- package/resources/workflows/action-catalog.d.ts +43 -0
- package/resources/workflows/action-catalog.d.ts.map +1 -0
- package/resources/workflows/action-catalog.js +25 -0
- package/resources/workflows/action-catalog.js.map +1 -0
- package/resources/workflows/action-catalog.mjs +21 -0
- package/resources/workflows/action-catalog.mjs.map +1 -0
- package/resources/workflows/actions/actions.d.mts +96 -0
- package/resources/workflows/actions/actions.d.mts.map +1 -0
- package/resources/workflows/actions/actions.d.ts +96 -0
- package/resources/workflows/actions/actions.d.ts.map +1 -0
- package/resources/workflows/actions/actions.js +53 -0
- package/resources/workflows/actions/actions.js.map +1 -0
- package/resources/workflows/actions/actions.mjs +48 -0
- package/resources/workflows/actions/actions.mjs.map +1 -0
- package/resources/workflows/actions/index.d.mts +3 -0
- package/resources/workflows/actions/index.d.mts.map +1 -0
- package/resources/workflows/actions/index.d.ts +3 -0
- package/resources/workflows/actions/index.d.ts.map +1 -0
- package/resources/workflows/actions/index.js +9 -0
- package/resources/workflows/actions/index.js.map +1 -0
- package/resources/workflows/actions/index.mjs +4 -0
- package/resources/workflows/actions/index.mjs.map +1 -0
- package/resources/workflows/actions/services.d.mts +42 -0
- package/resources/workflows/actions/services.d.mts.map +1 -0
- package/resources/workflows/actions/services.d.ts +42 -0
- package/resources/workflows/actions/services.d.ts.map +1 -0
- package/resources/workflows/actions/services.js +25 -0
- package/resources/workflows/actions/services.js.map +1 -0
- package/resources/workflows/actions/services.mjs +21 -0
- package/resources/workflows/actions/services.mjs.map +1 -0
- package/resources/workflows/actions.d.mts +2 -0
- package/resources/workflows/actions.d.mts.map +1 -0
- package/resources/workflows/actions.d.ts +2 -0
- package/resources/workflows/actions.d.ts.map +1 -0
- package/resources/workflows/actions.js +6 -0
- package/resources/workflows/actions.js.map +1 -0
- package/resources/workflows/actions.mjs +3 -0
- package/resources/workflows/actions.mjs.map +1 -0
- package/resources/workflows/events/catalog.d.mts +4 -0
- package/resources/workflows/events/catalog.d.mts.map +1 -0
- package/resources/workflows/events/catalog.d.ts +4 -0
- package/resources/workflows/events/catalog.d.ts.map +1 -0
- package/resources/workflows/events/catalog.js +9 -0
- package/resources/workflows/events/catalog.js.map +1 -0
- package/resources/workflows/events/catalog.mjs +5 -0
- package/resources/workflows/events/catalog.mjs.map +1 -0
- package/resources/workflows/events/events.d.mts +113 -0
- package/resources/workflows/events/events.d.mts.map +1 -0
- package/resources/workflows/events/events.d.ts +113 -0
- package/resources/workflows/events/events.d.ts.map +1 -0
- package/resources/workflows/events/events.js +30 -0
- package/resources/workflows/events/events.js.map +1 -0
- package/resources/workflows/events/events.mjs +25 -0
- package/resources/workflows/events/events.mjs.map +1 -0
- package/resources/workflows/events/index.d.mts +3 -0
- package/resources/workflows/events/index.d.mts.map +1 -0
- package/resources/workflows/events/index.d.ts +3 -0
- package/resources/workflows/events/index.d.ts.map +1 -0
- package/resources/workflows/events/index.js +9 -0
- package/resources/workflows/events/index.js.map +1 -0
- package/resources/workflows/events/index.mjs +4 -0
- package/resources/workflows/events/index.mjs.map +1 -0
- package/resources/workflows/events.d.mts +2 -0
- package/resources/workflows/events.d.mts.map +1 -0
- package/resources/workflows/events.d.ts +2 -0
- package/resources/workflows/events.d.ts.map +1 -0
- package/resources/workflows/events.js +6 -0
- package/resources/workflows/events.js.map +1 -0
- package/resources/workflows/events.mjs +3 -0
- package/resources/workflows/events.mjs.map +1 -0
- package/resources/workflows/executions.d.mts +121 -0
- package/resources/workflows/executions.d.mts.map +1 -0
- package/resources/workflows/executions.d.ts +121 -0
- package/resources/workflows/executions.d.ts.map +1 -0
- package/resources/workflows/executions.js +33 -0
- package/resources/workflows/executions.js.map +1 -0
- package/resources/workflows/executions.mjs +29 -0
- package/resources/workflows/executions.mjs.map +1 -0
- package/resources/workflows/flows/actions.d.mts +89 -0
- package/resources/workflows/flows/actions.d.mts.map +1 -0
- package/resources/workflows/flows/actions.d.ts +89 -0
- package/resources/workflows/flows/actions.d.ts.map +1 -0
- package/resources/workflows/flows/actions.js +43 -0
- package/resources/workflows/flows/actions.js.map +1 -0
- package/resources/workflows/flows/actions.mjs +39 -0
- package/resources/workflows/flows/actions.mjs.map +1 -0
- package/resources/workflows/flows/flows.d.mts +154 -0
- package/resources/workflows/flows/flows.d.mts.map +1 -0
- package/resources/workflows/flows/flows.d.ts +154 -0
- package/resources/workflows/flows/flows.d.ts.map +1 -0
- package/resources/workflows/flows/flows.js +73 -0
- package/resources/workflows/flows/flows.js.map +1 -0
- package/resources/workflows/flows/flows.mjs +68 -0
- package/resources/workflows/flows/flows.mjs.map +1 -0
- package/resources/workflows/flows/index.d.mts +3 -0
- package/resources/workflows/flows/index.d.mts.map +1 -0
- package/resources/workflows/flows/index.d.ts +3 -0
- package/resources/workflows/flows/index.d.ts.map +1 -0
- package/resources/workflows/flows/index.js +9 -0
- package/resources/workflows/flows/index.js.map +1 -0
- package/resources/workflows/flows/index.mjs +4 -0
- package/resources/workflows/flows/index.mjs.map +1 -0
- package/resources/workflows/flows.d.mts +2 -0
- package/resources/workflows/flows.d.mts.map +1 -0
- package/resources/workflows/flows.d.ts +2 -0
- package/resources/workflows/flows.d.ts.map +1 -0
- package/resources/workflows/flows.js +6 -0
- package/resources/workflows/flows.js.map +1 -0
- package/resources/workflows/flows.mjs +3 -0
- package/resources/workflows/flows.mjs.map +1 -0
- package/resources/workflows/index.d.mts +9 -0
- package/resources/workflows/index.d.mts.map +1 -0
- package/resources/workflows/index.d.ts +9 -0
- package/resources/workflows/index.d.ts.map +1 -0
- package/resources/workflows/index.js +21 -0
- package/resources/workflows/index.js.map +1 -0
- package/resources/workflows/index.mjs +10 -0
- package/resources/workflows/index.mjs.map +1 -0
- package/resources/workflows/timezones.d.mts +16 -0
- package/resources/workflows/timezones.d.mts.map +1 -0
- package/resources/workflows/timezones.d.ts +16 -0
- package/resources/workflows/timezones.d.ts.map +1 -0
- package/resources/workflows/timezones.js +15 -0
- package/resources/workflows/timezones.js.map +1 -0
- package/resources/workflows/timezones.mjs +11 -0
- package/resources/workflows/timezones.mjs.map +1 -0
- package/resources/workflows/triggers.d.mts +325 -0
- package/resources/workflows/triggers.d.mts.map +1 -0
- package/resources/workflows/triggers.d.ts +325 -0
- package/resources/workflows/triggers.d.ts.map +1 -0
- package/resources/workflows/triggers.js +69 -0
- package/resources/workflows/triggers.js.map +1 -0
- package/resources/workflows/triggers.mjs +65 -0
- package/resources/workflows/triggers.mjs.map +1 -0
- package/resources/workflows/workflows.d.mts +72 -0
- package/resources/workflows/workflows.d.mts.map +1 -0
- package/resources/workflows/workflows.d.ts +72 -0
- package/resources/workflows/workflows.d.ts.map +1 -0
- package/resources/workflows/workflows.js +41 -0
- package/resources/workflows/workflows.js.map +1 -0
- package/resources/workflows/workflows.mjs +36 -0
- package/resources/workflows/workflows.mjs.map +1 -0
- package/resources/workflows.d.mts +2 -0
- package/resources/workflows.d.mts.map +1 -0
- package/resources/workflows.d.ts +2 -0
- package/resources/workflows.d.ts.map +1 -0
- package/resources/workflows.js +6 -0
- package/resources/workflows.js.map +1 -0
- package/resources/workflows.mjs +3 -0
- package/resources/workflows.mjs.map +1 -0
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +163 -96
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/apps.ts +553 -28
- package/src/resources/carriers.ts +188 -7
- package/src/resources/connect/connect.ts +73 -0
- package/src/resources/connect/countries.ts +106 -0
- package/src/resources/connect/index.ts +27 -0
- package/src/resources/connect/proxies.ts +598 -0
- package/src/resources/connect/users.ts +517 -0
- package/src/resources/connect.ts +3 -0
- package/src/resources/credentials/credentials.ts +3 -1
- package/src/resources/credentials/packages/credentials/credentials.ts +16 -4
- package/src/resources/credentials/packages/credentials/fields.ts +8 -3
- package/src/resources/credentials/packages/packages.ts +5 -2
- package/src/resources/devices/actions.ts +10 -5
- package/src/resources/devices/apps.ts +104 -42
- package/src/resources/devices/devices.ts +307 -103
- package/src/resources/devices/esim.ts +15 -6
- package/src/resources/devices/files.ts +7 -4
- package/src/resources/devices/index.ts +17 -13
- package/src/resources/devices/keyboard.ts +11 -3
- package/src/resources/devices/language.ts +93 -0
- package/src/resources/devices/location.ts +7 -19
- package/src/resources/devices/packages.ts +2 -1
- package/src/resources/devices/proxy.ts +34 -11
- package/src/resources/devices/state.ts +89 -5
- package/src/resources/devices/tasks.ts +4 -12
- package/src/resources/devices/{time.ts → timezone.ts} +24 -52
- package/src/resources/hooks.ts +1 -292
- package/src/resources/index.ts +39 -18
- package/src/resources/models.ts +3 -0
- package/src/resources/profiles.ts +105 -6
- package/src/resources/proxies.ts +124 -5
- package/src/resources/shared.ts +46 -10
- package/src/resources/tasks/tasks.ts +295 -77
- package/src/resources/webhooks/deliveries.ts +323 -0
- package/src/resources/webhooks/index.ts +26 -0
- package/src/resources/webhooks/webhooks.ts +503 -0
- package/src/resources/webhooks.ts +3 -0
- package/src/resources/workflows/action-catalog.ts +74 -0
- package/src/resources/workflows/actions/actions.ts +167 -0
- package/src/resources/workflows/actions/index.ts +15 -0
- package/src/resources/workflows/actions/services.ts +64 -0
- package/src/resources/workflows/actions.ts +3 -0
- package/src/resources/workflows/events/catalog.ts +5 -0
- package/src/resources/workflows/events/events.ts +167 -0
- package/src/resources/workflows/events/index.ts +10 -0
- package/src/resources/workflows/events.ts +3 -0
- package/src/resources/workflows/executions.ts +194 -0
- package/src/resources/workflows/flows/actions.ts +149 -0
- package/src/resources/workflows/flows/flows.ts +284 -0
- package/src/resources/workflows/flows/index.ts +29 -0
- package/src/resources/workflows/flows.ts +3 -0
- package/src/resources/workflows/index.ts +68 -0
- package/src/resources/workflows/timezones.ts +22 -0
- package/src/resources/workflows/triggers.ts +471 -0
- package/src/resources/workflows/workflows.ts +239 -0
- package/src/resources/workflows.ts +3 -0
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +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/agents.d.mts +0 -30
- package/resources/agents.d.mts.map +0 -1
- package/resources/agents.d.ts +0 -30
- package/resources/agents.d.ts.map +0 -1
- package/resources/agents.js +0 -18
- package/resources/agents.js.map +0 -1
- package/resources/agents.mjs +0 -14
- package/resources/agents.mjs.map +0 -1
- package/resources/devices/time.d.mts +0 -45
- package/resources/devices/time.d.mts.map +0 -1
- package/resources/devices/time.d.ts +0 -45
- package/resources/devices/time.d.ts.map +0 -1
- package/resources/devices/time.js.map +0 -1
- package/resources/devices/time.mjs.map +0 -1
- package/src/resources/agents.ts +0 -45
|
@@ -64,8 +64,16 @@ export class Tasks extends APIResource {
|
|
|
64
64
|
* Create and dispatch a new agent task. Returns the task ID and device stream
|
|
65
65
|
* details.
|
|
66
66
|
*/
|
|
67
|
-
run(
|
|
68
|
-
|
|
67
|
+
run(params: TaskRunParams, options?: RequestOptions): APIPromise<TaskRunResponse> {
|
|
68
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
69
|
+
return this._client.post('/tasks', {
|
|
70
|
+
body,
|
|
71
|
+
...options,
|
|
72
|
+
headers: buildHeaders([
|
|
73
|
+
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
74
|
+
options?.headers,
|
|
75
|
+
]),
|
|
76
|
+
});
|
|
69
77
|
}
|
|
70
78
|
|
|
71
79
|
/**
|
|
@@ -104,118 +112,139 @@ export interface PackageCredentials {
|
|
|
104
112
|
}
|
|
105
113
|
|
|
106
114
|
export interface Task {
|
|
107
|
-
|
|
115
|
+
createdAt: string;
|
|
116
|
+
|
|
117
|
+
taskId: string;
|
|
118
|
+
|
|
119
|
+
updatedAt: string;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export type TaskStatus =
|
|
123
|
+
| 'queued'
|
|
124
|
+
| 'created'
|
|
125
|
+
| 'running'
|
|
126
|
+
| 'cancelling'
|
|
127
|
+
| 'completed'
|
|
128
|
+
| 'failed'
|
|
129
|
+
| 'cancelled';
|
|
130
|
+
|
|
131
|
+
export interface UsageResult {
|
|
132
|
+
request_tokens: number;
|
|
133
|
+
|
|
134
|
+
requests: number;
|
|
135
|
+
|
|
136
|
+
response_tokens: number;
|
|
137
|
+
|
|
138
|
+
total_tokens: number;
|
|
139
|
+
}
|
|
108
140
|
|
|
141
|
+
export interface TaskRetrieveResponse {
|
|
109
142
|
/**
|
|
110
|
-
* The
|
|
143
|
+
* The task
|
|
111
144
|
*/
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
task: string;
|
|
145
|
+
task: TaskRetrieveResponse.Task;
|
|
146
|
+
}
|
|
115
147
|
|
|
116
|
-
|
|
148
|
+
export namespace TaskRetrieveResponse {
|
|
149
|
+
/**
|
|
150
|
+
* The task
|
|
151
|
+
*/
|
|
152
|
+
export interface Task {
|
|
153
|
+
id: string;
|
|
117
154
|
|
|
118
|
-
|
|
155
|
+
deviceId: string;
|
|
119
156
|
|
|
120
|
-
|
|
157
|
+
displayId: number;
|
|
121
158
|
|
|
122
|
-
|
|
159
|
+
/**
|
|
160
|
+
* The LLM model identifier to use for the task (e.g. 'gemini/gemini-2.5-flash')
|
|
161
|
+
*/
|
|
162
|
+
llmModel: string;
|
|
123
163
|
|
|
124
|
-
|
|
164
|
+
ownerId: string;
|
|
125
165
|
|
|
126
|
-
|
|
166
|
+
status: TasksAPI.TaskStatus;
|
|
127
167
|
|
|
128
|
-
|
|
168
|
+
task: string;
|
|
129
169
|
|
|
130
|
-
|
|
170
|
+
tmpDevice: boolean;
|
|
131
171
|
|
|
132
|
-
|
|
172
|
+
/**
|
|
173
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
174
|
+
*/
|
|
175
|
+
userId: string;
|
|
133
176
|
|
|
134
|
-
|
|
177
|
+
accessibility?: boolean;
|
|
135
178
|
|
|
136
|
-
|
|
179
|
+
agentId?: number;
|
|
137
180
|
|
|
138
|
-
|
|
181
|
+
apps?: Array<string>;
|
|
139
182
|
|
|
140
|
-
|
|
183
|
+
cancelRequestedAt?: string | null;
|
|
141
184
|
|
|
142
|
-
|
|
185
|
+
claimedAt?: string | null;
|
|
143
186
|
|
|
144
|
-
|
|
187
|
+
continueOnFailure?: boolean;
|
|
145
188
|
|
|
146
|
-
|
|
147
|
-
* Memory namespace for cross-task personalization
|
|
148
|
-
*/
|
|
149
|
-
memoryNamespace?: string;
|
|
189
|
+
createdAt?: string;
|
|
150
190
|
|
|
151
|
-
|
|
191
|
+
createdBy?: string | null;
|
|
152
192
|
|
|
153
|
-
|
|
193
|
+
credentials?: Array<TasksAPI.PackageCredentials>;
|
|
154
194
|
|
|
155
|
-
|
|
195
|
+
creditsUsed?: number | null;
|
|
156
196
|
|
|
157
|
-
|
|
197
|
+
dispatchedAt?: string | null;
|
|
158
198
|
|
|
159
|
-
|
|
199
|
+
executionTimeout?: number;
|
|
160
200
|
|
|
161
|
-
|
|
201
|
+
files?: Array<string>;
|
|
162
202
|
|
|
163
|
-
|
|
203
|
+
finishedAt?: string | null;
|
|
164
204
|
|
|
165
|
-
|
|
205
|
+
maxSteps?: number;
|
|
166
206
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
207
|
+
/**
|
|
208
|
+
* Memory namespace for cross-task personalization
|
|
209
|
+
*/
|
|
210
|
+
memoryNamespace?: string;
|
|
171
211
|
|
|
172
|
-
|
|
212
|
+
message?: string | null;
|
|
173
213
|
|
|
174
|
-
|
|
214
|
+
output?: { [key: string]: unknown } | null;
|
|
175
215
|
|
|
176
|
-
|
|
216
|
+
outputSchema?: { [key: string]: unknown } | null;
|
|
177
217
|
|
|
178
|
-
|
|
218
|
+
reasoning?: boolean;
|
|
179
219
|
|
|
180
|
-
|
|
220
|
+
stealth?: boolean;
|
|
181
221
|
|
|
182
|
-
|
|
222
|
+
steps?: number | null;
|
|
183
223
|
|
|
184
|
-
|
|
185
|
-
}
|
|
224
|
+
streamUrl?: string | null;
|
|
186
225
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
| 'cancelling'
|
|
192
|
-
| 'paused'
|
|
193
|
-
| 'completed'
|
|
194
|
-
| 'failed'
|
|
195
|
-
| 'cancelled';
|
|
226
|
+
/**
|
|
227
|
+
* LLM model used by sub-agent roles: executor, app_opener, structured_output
|
|
228
|
+
*/
|
|
229
|
+
subagentModel?: string;
|
|
196
230
|
|
|
197
|
-
|
|
198
|
-
request_tokens: number;
|
|
231
|
+
succeeded?: boolean | null;
|
|
199
232
|
|
|
200
|
-
|
|
233
|
+
temperature?: number;
|
|
201
234
|
|
|
202
|
-
|
|
235
|
+
updatedAt?: string;
|
|
203
236
|
|
|
204
|
-
|
|
205
|
-
}
|
|
237
|
+
vision?: boolean;
|
|
206
238
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
* The task
|
|
210
|
-
*/
|
|
211
|
-
task: Task;
|
|
239
|
+
vpnCountry?: 'US' | 'BR' | 'FR' | 'DE' | 'IN' | 'JP' | 'KR' | 'ZA' | null;
|
|
240
|
+
}
|
|
212
241
|
}
|
|
213
242
|
|
|
214
243
|
export interface TaskListResponse {
|
|
215
244
|
/**
|
|
216
245
|
* The paginated items
|
|
217
246
|
*/
|
|
218
|
-
items: Array<
|
|
247
|
+
items: Array<TaskListResponse.Item>;
|
|
219
248
|
|
|
220
249
|
/**
|
|
221
250
|
* Pagination metadata
|
|
@@ -223,12 +252,112 @@ export interface TaskListResponse {
|
|
|
223
252
|
pagination: Shared.PaginationMeta;
|
|
224
253
|
}
|
|
225
254
|
|
|
255
|
+
export namespace TaskListResponse {
|
|
256
|
+
/**
|
|
257
|
+
* Task representation for list endpoints — omits the large trajectory field.
|
|
258
|
+
*/
|
|
259
|
+
export interface Item {
|
|
260
|
+
id: string;
|
|
261
|
+
|
|
262
|
+
deviceId: string;
|
|
263
|
+
|
|
264
|
+
displayId: number;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* The LLM model identifier to use for the task (e.g. 'gemini/gemini-2.5-flash')
|
|
268
|
+
*/
|
|
269
|
+
llmModel: string;
|
|
270
|
+
|
|
271
|
+
ownerId: string;
|
|
272
|
+
|
|
273
|
+
status: TasksAPI.TaskStatus;
|
|
274
|
+
|
|
275
|
+
task: string;
|
|
276
|
+
|
|
277
|
+
tmpDevice: boolean;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
281
|
+
*/
|
|
282
|
+
userId: string;
|
|
283
|
+
|
|
284
|
+
accessibility?: boolean;
|
|
285
|
+
|
|
286
|
+
agentId?: number;
|
|
287
|
+
|
|
288
|
+
apps?: Array<string>;
|
|
289
|
+
|
|
290
|
+
cancelRequestedAt?: string | null;
|
|
291
|
+
|
|
292
|
+
claimedAt?: string | null;
|
|
293
|
+
|
|
294
|
+
continueOnFailure?: boolean;
|
|
295
|
+
|
|
296
|
+
createdAt?: string;
|
|
297
|
+
|
|
298
|
+
createdBy?: string | null;
|
|
299
|
+
|
|
300
|
+
credentials?: Array<TasksAPI.PackageCredentials>;
|
|
301
|
+
|
|
302
|
+
creditsUsed?: number | null;
|
|
303
|
+
|
|
304
|
+
dispatchedAt?: string | null;
|
|
305
|
+
|
|
306
|
+
executionTimeout?: number;
|
|
307
|
+
|
|
308
|
+
files?: Array<string>;
|
|
309
|
+
|
|
310
|
+
finishedAt?: string | null;
|
|
311
|
+
|
|
312
|
+
maxSteps?: number;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Memory namespace for cross-task personalization
|
|
316
|
+
*/
|
|
317
|
+
memoryNamespace?: string;
|
|
318
|
+
|
|
319
|
+
message?: string | null;
|
|
320
|
+
|
|
321
|
+
output?: { [key: string]: unknown } | null;
|
|
322
|
+
|
|
323
|
+
outputSchema?: { [key: string]: unknown } | null;
|
|
324
|
+
|
|
325
|
+
reasoning?: boolean;
|
|
326
|
+
|
|
327
|
+
stealth?: boolean;
|
|
328
|
+
|
|
329
|
+
steps?: number | null;
|
|
330
|
+
|
|
331
|
+
streamUrl?: string | null;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* LLM model used by sub-agent roles: executor, app_opener, structured_output
|
|
335
|
+
*/
|
|
336
|
+
subagentModel?: string;
|
|
337
|
+
|
|
338
|
+
succeeded?: boolean | null;
|
|
339
|
+
|
|
340
|
+
temperature?: number;
|
|
341
|
+
|
|
342
|
+
updatedAt?: string;
|
|
343
|
+
|
|
344
|
+
vision?: boolean;
|
|
345
|
+
|
|
346
|
+
vpnCountry?: 'US' | 'BR' | 'FR' | 'DE' | 'IN' | 'JP' | 'KR' | 'ZA' | null;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
226
350
|
export interface TaskGetStatusResponse {
|
|
227
351
|
/**
|
|
228
352
|
* The status of the task
|
|
229
353
|
*/
|
|
230
354
|
status: TaskStatus;
|
|
231
355
|
|
|
356
|
+
/**
|
|
357
|
+
* Execution metadata for abnormal terminal outcomes
|
|
358
|
+
*/
|
|
359
|
+
execution?: TaskGetStatusResponse.Execution | null;
|
|
360
|
+
|
|
232
361
|
/**
|
|
233
362
|
* The last agent response (FastAgentResponseEvent or ManagerPlanEvent)
|
|
234
363
|
*/
|
|
@@ -255,6 +384,31 @@ export interface TaskGetStatusResponse {
|
|
|
255
384
|
succeeded?: boolean | null;
|
|
256
385
|
}
|
|
257
386
|
|
|
387
|
+
export namespace TaskGetStatusResponse {
|
|
388
|
+
/**
|
|
389
|
+
* Execution metadata for abnormal terminal outcomes
|
|
390
|
+
*/
|
|
391
|
+
export interface Execution {
|
|
392
|
+
checkpoint: Execution.Checkpoint;
|
|
393
|
+
|
|
394
|
+
terminationReason: 'execution_timeout' | 'worker_lost' | 'cancelled' | 'agent_failed';
|
|
395
|
+
|
|
396
|
+
retrySafety?: 'unknown';
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export namespace Execution {
|
|
400
|
+
export interface Checkpoint {
|
|
401
|
+
currentSubgoal?: string | null;
|
|
402
|
+
|
|
403
|
+
plan?: string | null;
|
|
404
|
+
|
|
405
|
+
progressSummary?: string | null;
|
|
406
|
+
|
|
407
|
+
steps?: number;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
258
412
|
export interface TaskGetTrajectoryResponse {
|
|
259
413
|
/**
|
|
260
414
|
* The trajectory of the task
|
|
@@ -463,7 +617,7 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
463
617
|
|
|
464
618
|
export interface TrajectoryManagerPlanEvent {
|
|
465
619
|
/**
|
|
466
|
-
* Coordination event from ManagerAgent to
|
|
620
|
+
* Coordination event from ManagerAgent to MobileAgent.
|
|
467
621
|
*
|
|
468
622
|
* Used for workflow step routing only (NOT streamed to frontend). For internal
|
|
469
623
|
* events with memory_update metadata, see ManagerPlanDetailsEvent.
|
|
@@ -475,7 +629,7 @@ export namespace TaskGetTrajectoryResponse {
|
|
|
475
629
|
|
|
476
630
|
export namespace TrajectoryManagerPlanEvent {
|
|
477
631
|
/**
|
|
478
|
-
* Coordination event from ManagerAgent to
|
|
632
|
+
* Coordination event from ManagerAgent to MobileAgent.
|
|
479
633
|
*
|
|
480
634
|
* Used for workflow step routing only (NOT streamed to frontend). For internal
|
|
481
635
|
* events with memory_update metadata, see ManagerPlanDetailsEvent.
|
|
@@ -908,6 +1062,16 @@ export interface TaskStopResponse {
|
|
|
908
1062
|
}
|
|
909
1063
|
|
|
910
1064
|
export interface TaskListParams {
|
|
1065
|
+
/**
|
|
1066
|
+
* Only tasks created by this user id.
|
|
1067
|
+
*/
|
|
1068
|
+
createdBy?: string | null;
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* Only tasks created by the calling user.
|
|
1072
|
+
*/
|
|
1073
|
+
mine?: boolean;
|
|
1074
|
+
|
|
911
1075
|
orderBy?: 'id' | 'createdAt' | 'finishedAt' | 'status' | null;
|
|
912
1076
|
|
|
913
1077
|
orderByDirection?: 'asc' | 'desc';
|
|
@@ -926,58 +1090,111 @@ export interface TaskListParams {
|
|
|
926
1090
|
|
|
927
1091
|
export interface TaskRunParams {
|
|
928
1092
|
/**
|
|
929
|
-
* The ID of the device to run the task on.
|
|
1093
|
+
* Body param: The ID of the device to run the task on.
|
|
930
1094
|
*/
|
|
931
1095
|
deviceId: string;
|
|
932
1096
|
|
|
1097
|
+
/**
|
|
1098
|
+
* Body param
|
|
1099
|
+
*/
|
|
933
1100
|
task: string;
|
|
934
1101
|
|
|
1102
|
+
/**
|
|
1103
|
+
* Body param
|
|
1104
|
+
*/
|
|
1105
|
+
accessibility?: boolean;
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* Body param
|
|
1109
|
+
*/
|
|
935
1110
|
agentId?: number;
|
|
936
1111
|
|
|
1112
|
+
/**
|
|
1113
|
+
* Body param
|
|
1114
|
+
*/
|
|
937
1115
|
apps?: Array<string>;
|
|
938
1116
|
|
|
1117
|
+
/**
|
|
1118
|
+
* Body param
|
|
1119
|
+
*/
|
|
939
1120
|
continueOnFailure?: boolean;
|
|
940
1121
|
|
|
1122
|
+
/**
|
|
1123
|
+
* Body param
|
|
1124
|
+
*/
|
|
941
1125
|
credentials?: Array<PackageCredentials>;
|
|
942
1126
|
|
|
943
1127
|
/**
|
|
944
|
-
* The display ID of the device to run the task on.
|
|
1128
|
+
* Body param: The display ID of the device to run the task on.
|
|
945
1129
|
*/
|
|
946
1130
|
displayId?: number;
|
|
947
1131
|
|
|
1132
|
+
/**
|
|
1133
|
+
* Body param
|
|
1134
|
+
*/
|
|
948
1135
|
executionTimeout?: number;
|
|
949
1136
|
|
|
1137
|
+
/**
|
|
1138
|
+
* Body param
|
|
1139
|
+
*/
|
|
950
1140
|
files?: Array<string>;
|
|
951
1141
|
|
|
952
1142
|
/**
|
|
953
|
-
* The LLM model identifier to use for the task (e.g.
|
|
954
|
-
* 'google/gemini-3.
|
|
1143
|
+
* Body param: The LLM model identifier to use for the task (e.g.
|
|
1144
|
+
* 'google/gemini-3.5-flash')
|
|
955
1145
|
*/
|
|
956
1146
|
llmModel?: string;
|
|
957
1147
|
|
|
1148
|
+
/**
|
|
1149
|
+
* Body param
|
|
1150
|
+
*/
|
|
958
1151
|
maxSteps?: number;
|
|
959
1152
|
|
|
960
1153
|
/**
|
|
961
|
-
* Memory namespace for cross-task personalization
|
|
1154
|
+
* Body param: Memory namespace for cross-task personalization
|
|
962
1155
|
*/
|
|
963
1156
|
memoryNamespace?: string;
|
|
964
1157
|
|
|
1158
|
+
/**
|
|
1159
|
+
* Body param
|
|
1160
|
+
*/
|
|
965
1161
|
outputSchema?: { [key: string]: unknown } | null;
|
|
966
1162
|
|
|
1163
|
+
/**
|
|
1164
|
+
* Body param
|
|
1165
|
+
*/
|
|
967
1166
|
reasoning?: boolean;
|
|
968
1167
|
|
|
1168
|
+
/**
|
|
1169
|
+
* Body param
|
|
1170
|
+
*/
|
|
969
1171
|
stealth?: boolean;
|
|
970
1172
|
|
|
971
1173
|
/**
|
|
972
|
-
* LLM model used by sub-agent roles: executor, app_opener,
|
|
1174
|
+
* Body param: LLM model used by sub-agent roles: executor, app_opener,
|
|
1175
|
+
* structured_output
|
|
973
1176
|
*/
|
|
974
1177
|
subagentModel?: string;
|
|
975
1178
|
|
|
1179
|
+
/**
|
|
1180
|
+
* Body param
|
|
1181
|
+
*/
|
|
976
1182
|
temperature?: number;
|
|
977
1183
|
|
|
1184
|
+
/**
|
|
1185
|
+
* Body param
|
|
1186
|
+
*/
|
|
978
1187
|
vision?: boolean;
|
|
979
1188
|
|
|
1189
|
+
/**
|
|
1190
|
+
* Body param
|
|
1191
|
+
*/
|
|
980
1192
|
vpnCountry?: 'US' | 'BR' | 'FR' | 'DE' | 'IN' | 'JP' | 'KR' | 'ZA' | null;
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* Header param
|
|
1196
|
+
*/
|
|
1197
|
+
'Idempotency-Key'?: string;
|
|
981
1198
|
}
|
|
982
1199
|
|
|
983
1200
|
export interface TaskRunStreamedParams {
|
|
@@ -988,6 +1205,8 @@ export interface TaskRunStreamedParams {
|
|
|
988
1205
|
|
|
989
1206
|
task: string;
|
|
990
1207
|
|
|
1208
|
+
accessibility?: boolean;
|
|
1209
|
+
|
|
991
1210
|
agentId?: number;
|
|
992
1211
|
|
|
993
1212
|
apps?: Array<string>;
|
|
@@ -1006,8 +1225,7 @@ export interface TaskRunStreamedParams {
|
|
|
1006
1225
|
files?: Array<string>;
|
|
1007
1226
|
|
|
1008
1227
|
/**
|
|
1009
|
-
* The LLM model identifier to use for the task (e.g.
|
|
1010
|
-
* 'google/gemini-3.1-flash-lite-preview')
|
|
1228
|
+
* The LLM model identifier to use for the task (e.g. 'google/gemini-3.5-flash')
|
|
1011
1229
|
*/
|
|
1012
1230
|
llmModel?: string;
|
|
1013
1231
|
|