@mobilerun/sdk 5.1.0 → 5.2.1
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 +58 -0
- package/README.md +15 -12
- package/client.d.mts +35 -29
- package/client.d.mts.map +1 -1
- package/client.d.ts +35 -29
- package/client.d.ts.map +1 -1
- package/client.js +21 -15
- package/client.js.map +1 -1
- package/client.mjs +21 -15
- package/client.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/agents.d.mts +27 -0
- package/resources/agents.d.mts.map +1 -0
- package/resources/agents.d.ts +27 -0
- package/resources/agents.d.ts.map +1 -0
- package/resources/agents.js +15 -0
- package/resources/agents.js.map +1 -0
- package/resources/agents.mjs +11 -0
- package/resources/agents.mjs.map +1 -0
- package/resources/app-events/app-events.d.mts +81 -0
- package/resources/app-events/app-events.d.mts.map +1 -0
- package/resources/app-events/app-events.d.ts +81 -0
- package/resources/app-events/app-events.d.ts.map +1 -0
- package/resources/app-events/app-events.js +33 -0
- package/resources/app-events/app-events.js.map +1 -0
- package/resources/app-events/app-events.mjs +28 -0
- package/resources/app-events/app-events.mjs.map +1 -0
- package/resources/app-events/catalog.d.mts +64 -0
- package/resources/app-events/catalog.d.mts.map +1 -0
- package/resources/app-events/catalog.d.ts +64 -0
- package/resources/app-events/catalog.d.ts.map +1 -0
- package/resources/app-events/catalog.js +25 -0
- package/resources/app-events/catalog.js.map +1 -0
- package/resources/app-events/catalog.mjs +21 -0
- package/resources/app-events/catalog.mjs.map +1 -0
- package/resources/app-events/index.d.mts +3 -0
- package/resources/app-events/index.d.mts.map +1 -0
- package/resources/app-events/index.d.ts +3 -0
- package/resources/app-events/index.d.ts.map +1 -0
- package/resources/{workflows/events → app-events}/index.js +3 -3
- package/resources/app-events/index.js.map +1 -0
- package/resources/app-events/index.mjs +4 -0
- package/resources/app-events/index.mjs.map +1 -0
- package/resources/app-events.d.mts +2 -0
- package/resources/app-events.d.mts.map +1 -0
- package/resources/app-events.d.ts +2 -0
- package/resources/app-events.d.ts.map +1 -0
- package/resources/app-events.js +6 -0
- package/resources/app-events.js.map +1 -0
- package/resources/app-events.mjs +3 -0
- package/resources/app-events.mjs.map +1 -0
- package/resources/apps.d.mts +44 -8
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +44 -8
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +12 -4
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +12 -4
- package/resources/apps.mjs.map +1 -1
- package/resources/carriers.d.mts +0 -3
- package/resources/carriers.d.mts.map +1 -1
- package/resources/carriers.d.ts +0 -3
- package/resources/carriers.d.ts.map +1 -1
- package/resources/carriers.js +0 -3
- package/resources/carriers.js.map +1 -1
- package/resources/carriers.mjs +0 -3
- package/resources/carriers.mjs.map +1 -1
- package/resources/connect/countries.d.mts +8 -3
- package/resources/connect/countries.d.mts.map +1 -1
- package/resources/connect/countries.d.ts +8 -3
- package/resources/connect/countries.d.ts.map +1 -1
- package/resources/connect/countries.js +6 -1
- package/resources/connect/countries.js.map +1 -1
- package/resources/connect/countries.mjs +6 -1
- package/resources/connect/countries.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +11 -9
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +11 -9
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +7 -5
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +7 -5
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/connect/users.d.mts +7 -2
- package/resources/connect/users.d.mts.map +1 -1
- package/resources/connect/users.d.ts +7 -2
- package/resources/connect/users.d.ts.map +1 -1
- package/resources/connect/users.js +7 -2
- package/resources/connect/users.js.map +1 -1
- package/resources/connect/users.mjs +7 -2
- package/resources/connect/users.mjs.map +1 -1
- package/resources/credentials/credentials.d.mts +27 -8
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +27 -8
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js +3 -4
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs +3 -4
- package/resources/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/index.d.mts +1 -1
- package/resources/credentials/index.d.mts.map +1 -1
- package/resources/credentials/index.d.ts +1 -1
- package/resources/credentials/index.d.ts.map +1 -1
- package/resources/credentials/index.js.map +1 -1
- package/resources/credentials/index.mjs.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.mts +74 -23
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +74 -23
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js +7 -6
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs +7 -6
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +74 -10
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +74 -10
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/fields.js +8 -6
- package/resources/credentials/packages/credentials/fields.js.map +1 -1
- package/resources/credentials/packages/credentials/fields.mjs +8 -6
- package/resources/credentials/packages/credentials/fields.mjs.map +1 -1
- package/resources/credentials/packages/credentials/index.d.mts +1 -1
- package/resources/credentials/packages/credentials/index.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/index.d.ts +1 -1
- package/resources/credentials/packages/credentials/index.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/index.js.map +1 -1
- package/resources/credentials/packages/credentials/index.mjs.map +1 -1
- package/resources/credentials/packages/index.d.mts +2 -2
- package/resources/credentials/packages/index.d.mts.map +1 -1
- package/resources/credentials/packages/index.d.ts +2 -2
- package/resources/credentials/packages/index.d.ts.map +1 -1
- package/resources/credentials/packages/index.js.map +1 -1
- package/resources/credentials/packages/index.mjs.map +1 -1
- package/resources/credentials/packages/packages.d.mts +44 -9
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +44 -9
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +13 -5
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +13 -5
- package/resources/credentials/packages/packages.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 +119 -6
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +119 -6
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +80 -5
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +80 -5
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/browser.d.mts +41 -0
- package/resources/devices/browser.d.mts.map +1 -0
- package/resources/devices/browser.d.ts +41 -0
- package/resources/devices/browser.d.ts.map +1 -0
- package/resources/devices/browser.js +31 -0
- package/resources/devices/browser.js.map +1 -0
- package/resources/devices/browser.mjs +27 -0
- package/resources/devices/browser.mjs.map +1 -0
- package/resources/devices/deep-link.d.mts +41 -0
- package/resources/devices/deep-link.d.mts.map +1 -0
- package/resources/devices/deep-link.d.ts +41 -0
- package/resources/devices/deep-link.d.ts.map +1 -0
- package/resources/devices/deep-link.js +33 -0
- package/resources/devices/deep-link.js.map +1 -0
- package/resources/devices/deep-link.mjs +29 -0
- package/resources/devices/deep-link.mjs.map +1 -0
- package/resources/devices/devices.d.mts +285 -33
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +285 -33
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +83 -14
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +83 -14
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/esim/apn.d.mts +95 -0
- package/resources/devices/esim/apn.d.mts.map +1 -0
- package/resources/devices/esim/apn.d.ts +95 -0
- package/resources/devices/esim/apn.d.ts.map +1 -0
- package/resources/devices/esim/apn.js +70 -0
- package/resources/devices/esim/apn.js.map +1 -0
- package/resources/devices/esim/apn.mjs +66 -0
- package/resources/devices/esim/apn.mjs.map +1 -0
- package/resources/devices/esim/esim.d.mts +144 -0
- package/resources/devices/esim/esim.d.mts.map +1 -0
- package/resources/devices/esim/esim.d.ts +144 -0
- package/resources/devices/esim/esim.d.ts.map +1 -0
- package/resources/devices/esim/esim.js +131 -0
- package/resources/devices/esim/esim.js.map +1 -0
- package/resources/devices/esim/esim.mjs +126 -0
- package/resources/devices/esim/esim.mjs.map +1 -0
- package/resources/devices/esim/index.d.mts +3 -0
- package/resources/devices/esim/index.d.mts.map +1 -0
- package/resources/devices/esim/index.d.ts +3 -0
- package/resources/devices/esim/index.d.ts.map +1 -0
- package/resources/devices/esim/index.js +9 -0
- package/resources/devices/esim/index.js.map +1 -0
- package/resources/devices/esim/index.mjs +4 -0
- package/resources/devices/esim/index.mjs.map +1 -0
- package/resources/devices/esim.d.mts +1 -100
- package/resources/devices/esim.d.mts.map +1 -1
- package/resources/devices/esim.d.ts +1 -100
- package/resources/devices/esim.d.ts.map +1 -1
- package/resources/devices/esim.js +2 -80
- package/resources/devices/esim.js.map +1 -1
- package/resources/devices/esim.mjs +1 -78
- package/resources/devices/esim.mjs.map +1 -1
- package/resources/devices/files.d.mts +38 -33
- package/resources/devices/files.d.mts.map +1 -1
- package/resources/devices/files.d.ts +38 -33
- 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 +11 -6
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +11 -6
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +13 -3
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +7 -2
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +5 -3
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +5 -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/kiosk.d.mts +32 -0
- package/resources/devices/kiosk.d.mts.map +1 -0
- package/resources/devices/kiosk.d.ts +32 -0
- package/resources/devices/kiosk.d.ts.map +1 -0
- package/resources/devices/kiosk.js +50 -0
- package/resources/devices/kiosk.js.map +1 -0
- package/resources/devices/kiosk.mjs +46 -0
- package/resources/devices/kiosk.mjs.map +1 -0
- package/resources/devices/language.d.mts +4 -2
- package/resources/devices/language.d.mts.map +1 -1
- package/resources/devices/language.d.ts +4 -2
- package/resources/devices/language.d.ts.map +1 -1
- package/resources/devices/language.js +4 -2
- package/resources/devices/language.js.map +1 -1
- package/resources/devices/language.mjs +4 -2
- package/resources/devices/language.mjs.map +1 -1
- package/resources/devices/location.d.mts +13 -3
- package/resources/devices/location.d.mts.map +1 -1
- package/resources/devices/location.d.ts +13 -3
- package/resources/devices/location.d.ts.map +1 -1
- package/resources/devices/location.js +23 -2
- package/resources/devices/location.js.map +1 -1
- package/resources/devices/location.mjs +23 -2
- package/resources/devices/location.mjs.map +1 -1
- package/resources/devices/media-sessions.d.mts +96 -0
- package/resources/devices/media-sessions.d.mts.map +1 -0
- package/resources/devices/media-sessions.d.ts +96 -0
- package/resources/devices/media-sessions.d.ts.map +1 -0
- package/resources/devices/media-sessions.js +50 -0
- package/resources/devices/media-sessions.js.map +1 -0
- package/resources/devices/media-sessions.mjs +46 -0
- package/resources/devices/media-sessions.mjs.map +1 -0
- 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/proxy.d.mts +29 -3
- package/resources/devices/proxy.d.mts.map +1 -1
- package/resources/devices/proxy.d.ts +29 -3
- 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/recordings.d.mts +192 -0
- package/resources/devices/recordings.d.mts.map +1 -0
- package/resources/devices/recordings.d.ts +192 -0
- package/resources/devices/recordings.d.ts.map +1 -0
- package/resources/devices/recordings.js +67 -0
- package/resources/devices/recordings.js.map +1 -0
- package/resources/devices/recordings.mjs +63 -0
- package/resources/devices/recordings.mjs.map +1 -0
- package/resources/devices/state.d.mts +13 -10
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +13 -10
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +6 -3
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +6 -3
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/tasks.d.mts +2 -4
- package/resources/devices/tasks.d.mts.map +1 -1
- package/resources/devices/tasks.d.ts +2 -4
- package/resources/devices/tasks.d.ts.map +1 -1
- package/resources/devices/tasks.js +2 -4
- package/resources/devices/tasks.js.map +1 -1
- package/resources/devices/tasks.mjs +2 -4
- package/resources/devices/tasks.mjs.map +1 -1
- package/resources/devices/timezone.d.mts +4 -2
- package/resources/devices/timezone.d.mts.map +1 -1
- package/resources/devices/timezone.d.ts +4 -2
- package/resources/devices/timezone.d.ts.map +1 -1
- package/resources/devices/timezone.js +4 -2
- package/resources/devices/timezone.js.map +1 -1
- package/resources/devices/timezone.mjs +4 -2
- package/resources/devices/timezone.mjs.map +1 -1
- package/resources/esims/esims.d.mts +566 -0
- package/resources/esims/esims.d.mts.map +1 -0
- package/resources/esims/esims.d.ts +566 -0
- package/resources/esims/esims.d.ts.map +1 -0
- package/resources/esims/esims.js +205 -0
- package/resources/esims/esims.js.map +1 -0
- package/resources/esims/esims.mjs +200 -0
- package/resources/esims/esims.mjs.map +1 -0
- package/resources/esims/index.d.mts +3 -0
- package/resources/esims/index.d.mts.map +1 -0
- package/resources/esims/index.d.ts +3 -0
- package/resources/esims/index.d.ts.map +1 -0
- package/resources/esims/index.js +9 -0
- package/resources/esims/index.js.map +1 -0
- package/resources/esims/index.mjs +4 -0
- package/resources/esims/index.mjs.map +1 -0
- package/resources/esims/messages.d.mts +111 -0
- package/resources/esims/messages.d.mts.map +1 -0
- package/resources/esims/messages.d.ts +111 -0
- package/resources/esims/messages.d.ts.map +1 -0
- package/resources/esims/messages.js +37 -0
- package/resources/esims/messages.js.map +1 -0
- package/resources/esims/messages.mjs +33 -0
- package/resources/esims/messages.mjs.map +1 -0
- package/resources/esims.d.mts +2 -0
- package/resources/esims.d.mts.map +1 -0
- package/resources/esims.d.ts +2 -0
- package/resources/esims.d.ts.map +1 -0
- package/resources/esims.js +6 -0
- package/resources/esims.js.map +1 -0
- package/resources/esims.mjs +3 -0
- package/resources/esims.mjs.map +1 -0
- package/resources/index.d.mts +13 -7
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +13 -7
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +15 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +7 -1
- package/resources/index.mjs.map +1 -1
- package/resources/messages/conversations.d.mts +87 -0
- package/resources/messages/conversations.d.mts.map +1 -0
- package/resources/messages/conversations.d.ts +87 -0
- package/resources/messages/conversations.d.ts.map +1 -0
- package/resources/messages/conversations.js +34 -0
- package/resources/messages/conversations.js.map +1 -0
- package/resources/messages/conversations.mjs +30 -0
- package/resources/messages/conversations.mjs.map +1 -0
- package/resources/messages/index.d.mts +3 -0
- package/resources/messages/index.d.mts.map +1 -0
- package/resources/messages/index.d.ts +3 -0
- package/resources/messages/index.d.ts.map +1 -0
- package/resources/messages/index.js +9 -0
- package/resources/messages/index.js.map +1 -0
- package/resources/messages/index.mjs +4 -0
- package/resources/messages/index.mjs.map +1 -0
- package/resources/messages/messages.d.mts +56 -0
- package/resources/messages/messages.d.mts.map +1 -0
- package/resources/messages/messages.d.ts +56 -0
- package/resources/messages/messages.d.ts.map +1 -0
- package/resources/messages/messages.js +26 -0
- package/resources/messages/messages.js.map +1 -0
- package/resources/messages/messages.mjs +21 -0
- package/resources/messages/messages.mjs.map +1 -0
- package/resources/messages.d.mts +2 -0
- package/resources/messages.d.mts.map +1 -0
- package/resources/messages.d.ts +2 -0
- package/resources/messages.d.ts.map +1 -0
- package/resources/messages.js +6 -0
- package/resources/messages.js.map +1 -0
- package/resources/messages.mjs +3 -0
- package/resources/messages.mjs.map +1 -0
- package/resources/notifications.d.mts +86 -0
- package/resources/notifications.d.mts.map +1 -0
- package/resources/notifications.d.ts +86 -0
- package/resources/notifications.d.ts.map +1 -0
- package/resources/notifications.js +55 -0
- package/resources/notifications.js.map +1 -0
- package/resources/notifications.mjs +51 -0
- package/resources/notifications.mjs.map +1 -0
- package/resources/numbers/index.d.mts +3 -0
- package/resources/numbers/index.d.mts.map +1 -0
- package/resources/numbers/index.d.ts +3 -0
- package/resources/numbers/index.d.ts.map +1 -0
- package/resources/numbers/index.js +9 -0
- package/resources/numbers/index.js.map +1 -0
- package/resources/numbers/index.mjs +4 -0
- package/resources/numbers/index.mjs.map +1 -0
- package/resources/numbers/messages.d.mts +60 -0
- package/resources/numbers/messages.d.mts.map +1 -0
- package/resources/numbers/messages.d.ts +60 -0
- package/resources/numbers/messages.d.ts.map +1 -0
- package/resources/numbers/messages.js +25 -0
- package/resources/numbers/messages.js.map +1 -0
- package/resources/numbers/messages.mjs +21 -0
- package/resources/numbers/messages.mjs.map +1 -0
- package/resources/numbers/numbers.d.mts +222 -0
- package/resources/numbers/numbers.d.mts.map +1 -0
- package/resources/numbers/numbers.d.ts +222 -0
- package/resources/numbers/numbers.d.ts.map +1 -0
- package/resources/numbers/numbers.js +117 -0
- package/resources/numbers/numbers.js.map +1 -0
- package/resources/numbers/numbers.mjs +112 -0
- package/resources/numbers/numbers.mjs.map +1 -0
- package/resources/numbers.d.mts +2 -0
- package/resources/numbers.d.mts.map +1 -0
- package/resources/numbers.d.ts +2 -0
- package/resources/numbers.d.ts.map +1 -0
- package/resources/numbers.js +6 -0
- package/resources/numbers.js.map +1 -0
- package/resources/numbers.mjs +3 -0
- package/resources/numbers.mjs.map +1 -0
- 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 +57 -28
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +57 -28
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +14 -8
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +14 -8
- package/resources/proxies.mjs.map +1 -1
- package/resources/shared.d.mts +25 -3
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +25 -3
- package/resources/shared.d.ts.map +1 -1
- package/resources/store/apps.d.mts +119 -0
- package/resources/store/apps.d.mts.map +1 -0
- package/resources/store/apps.d.ts +119 -0
- package/resources/store/apps.d.ts.map +1 -0
- package/resources/store/apps.js +31 -0
- package/resources/store/apps.js.map +1 -0
- package/resources/store/apps.mjs +27 -0
- package/resources/store/apps.mjs.map +1 -0
- package/resources/store/index.d.mts +3 -0
- package/resources/store/index.d.mts.map +1 -0
- package/resources/store/index.d.ts +3 -0
- package/resources/store/index.d.ts.map +1 -0
- package/resources/store/index.js +9 -0
- package/resources/store/index.js.map +1 -0
- package/resources/store/index.mjs +4 -0
- package/resources/store/index.mjs.map +1 -0
- package/resources/store/store.d.mts +20 -0
- package/resources/store/store.d.mts.map +1 -0
- package/resources/store/store.d.ts +20 -0
- package/resources/store/store.d.ts.map +1 -0
- package/resources/store/store.js +23 -0
- package/resources/store/store.js.map +1 -0
- package/resources/store/store.mjs +18 -0
- package/resources/store/store.mjs.map +1 -0
- package/resources/store.d.mts +2 -0
- package/resources/store.d.mts.map +1 -0
- package/resources/store.d.ts +2 -0
- package/resources/store.d.ts.map +1 -0
- package/resources/store.js +6 -0
- package/resources/store.js.map +1 -0
- package/resources/store.mjs +3 -0
- package/resources/store.mjs.map +1 -0
- package/resources/tasks/index.d.mts +3 -3
- package/resources/tasks/index.d.mts.map +1 -1
- package/resources/tasks/index.d.ts +3 -3
- package/resources/tasks/index.d.ts.map +1 -1
- package/resources/tasks/index.js.map +1 -1
- package/resources/tasks/index.mjs +1 -1
- package/resources/tasks/index.mjs.map +1 -1
- package/resources/tasks/screenshots.d.mts +3 -3
- package/resources/tasks/screenshots.d.mts.map +1 -1
- package/resources/tasks/screenshots.d.ts +3 -3
- package/resources/tasks/screenshots.d.ts.map +1 -1
- package/resources/tasks/tasks.d.mts +216 -90
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +216 -90
- 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 +11 -3
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/tasks/ui-states.d.mts +8 -3
- package/resources/tasks/ui-states.d.mts.map +1 -1
- package/resources/tasks/ui-states.d.ts +8 -3
- package/resources/tasks/ui-states.d.ts.map +1 -1
- package/resources/tasks/ui-states.js.map +1 -1
- package/resources/tasks/ui-states.mjs.map +1 -1
- package/resources/webhooks/deliveries.d.mts +38 -4
- package/resources/webhooks/deliveries.d.mts.map +1 -1
- package/resources/webhooks/deliveries.d.ts +38 -4
- package/resources/webhooks/deliveries.d.ts.map +1 -1
- package/resources/webhooks/deliveries.js +15 -4
- package/resources/webhooks/deliveries.js.map +1 -1
- package/resources/webhooks/deliveries.mjs +15 -4
- package/resources/webhooks/deliveries.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +67 -9
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +67 -9
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +26 -8
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +26 -8
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +32 -15
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +32 -15
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/action-catalog.js +5 -2
- package/resources/workflows/action-catalog.js.map +1 -1
- package/resources/workflows/action-catalog.mjs +5 -2
- package/resources/workflows/action-catalog.mjs.map +1 -1
- package/resources/workflows/actions/actions.d.mts +95 -23
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +95 -23
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js +10 -5
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs +10 -5
- package/resources/workflows/actions/actions.mjs.map +1 -1
- package/resources/workflows/actions/index.d.mts +1 -1
- package/resources/workflows/actions/index.d.mts.map +1 -1
- package/resources/workflows/actions/index.d.ts +1 -1
- package/resources/workflows/actions/index.d.ts.map +1 -1
- package/resources/workflows/actions/index.js.map +1 -1
- package/resources/workflows/actions/index.mjs.map +1 -1
- package/resources/workflows/actions/services.d.mts +5 -2
- package/resources/workflows/actions/services.d.mts.map +1 -1
- package/resources/workflows/actions/services.d.ts +5 -2
- package/resources/workflows/actions/services.d.ts.map +1 -1
- package/resources/workflows/actions/services.js +5 -2
- package/resources/workflows/actions/services.js.map +1 -1
- package/resources/workflows/actions/services.mjs +5 -2
- package/resources/workflows/actions/services.mjs.map +1 -1
- package/resources/workflows/events.d.mts +144 -1
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +144 -1
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/events.js +18 -2
- package/resources/workflows/events.js.map +1 -1
- package/resources/workflows/events.mjs +16 -1
- package/resources/workflows/events.mjs.map +1 -1
- package/resources/workflows/executions.d.mts +107 -20
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +107 -20
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +15 -3
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +15 -3
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +121 -30
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +121 -30
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js +12 -4
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs +12 -4
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +406 -32
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +406 -32
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +43 -6
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +43 -6
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/flows/index.d.mts +2 -2
- package/resources/workflows/flows/index.d.mts.map +1 -1
- package/resources/workflows/flows/index.d.ts +2 -2
- 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 +6 -6
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +6 -6
- 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 +76 -61
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +76 -61
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +12 -5
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +12 -5
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +10 -33
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +10 -33
- 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 +137 -65
- package/src/resources/agents.ts +42 -0
- package/src/resources/app-events/app-events.ts +133 -0
- package/src/resources/app-events/catalog.ts +100 -0
- package/src/resources/app-events/index.ts +9 -0
- package/src/resources/app-events.ts +3 -0
- package/src/resources/apps.ts +55 -8
- package/src/resources/carriers.ts +0 -3
- package/src/resources/connect/countries.ts +8 -3
- package/src/resources/connect/proxies.ts +11 -9
- package/src/resources/connect/users.ts +7 -2
- package/src/resources/credentials/credentials.ts +43 -6
- package/src/resources/credentials/index.ts +1 -0
- package/src/resources/credentials/packages/credentials/credentials.ts +117 -33
- package/src/resources/credentials/packages/credentials/fields.ts +122 -10
- package/src/resources/credentials/packages/credentials/index.ts +0 -1
- package/src/resources/credentials/packages/index.ts +1 -1
- package/src/resources/credentials/packages/packages.ts +63 -8
- package/src/resources/devices/actions.ts +10 -5
- package/src/resources/devices/apps.ts +196 -5
- package/src/resources/devices/browser.ts +71 -0
- package/src/resources/devices/deep-link.ts +70 -0
- package/src/resources/devices/devices.ts +511 -38
- package/src/resources/devices/esim/apn.ts +178 -0
- package/src/resources/devices/esim/esim.ts +312 -0
- package/src/resources/devices/esim/index.ts +21 -0
- package/src/resources/devices/esim.ts +1 -206
- package/src/resources/devices/files.ts +43 -39
- package/src/resources/devices/index.ts +45 -5
- package/src/resources/devices/keyboard.ts +5 -3
- package/src/resources/devices/kiosk.ts +74 -0
- package/src/resources/devices/language.ts +4 -2
- package/src/resources/devices/location.ts +37 -3
- package/src/resources/devices/media-sessions.ts +168 -0
- package/src/resources/devices/packages.ts +2 -1
- package/src/resources/devices/proxy.ts +32 -3
- package/src/resources/devices/recordings.ts +358 -0
- package/src/resources/devices/state.ts +15 -12
- package/src/resources/devices/tasks.ts +2 -4
- package/src/resources/devices/timezone.ts +4 -2
- package/src/resources/esims/esims.ts +1013 -0
- package/src/resources/esims/index.ts +27 -0
- package/src/resources/esims/messages.ts +193 -0
- package/src/resources/esims.ts +3 -0
- package/src/resources/index.ts +54 -23
- package/src/resources/messages/conversations.ts +138 -0
- package/src/resources/messages/index.ts +10 -0
- package/src/resources/messages/messages.ts +120 -0
- package/src/resources/messages.ts +3 -0
- package/src/resources/notifications.ts +118 -0
- package/src/resources/numbers/index.ts +14 -0
- package/src/resources/numbers/messages.ts +102 -0
- package/src/resources/numbers/numbers.ts +339 -0
- package/src/resources/numbers.ts +3 -0
- package/src/resources/profiles.ts +105 -6
- package/src/resources/proxies.ts +66 -30
- package/src/resources/shared.ts +35 -4
- package/src/resources/store/apps.ts +704 -0
- package/src/resources/store/index.ts +10 -0
- package/src/resources/store/store.ts +36 -0
- package/src/resources/store.ts +3 -0
- package/src/resources/tasks/index.ts +7 -6
- package/src/resources/tasks/screenshots.ts +3 -3
- package/src/resources/tasks/tasks.ts +259 -103
- package/src/resources/tasks/ui-states.ts +9 -2
- package/src/resources/webhooks/deliveries.ts +43 -4
- package/src/resources/webhooks/webhooks.ts +79 -9
- package/src/resources/workflows/action-catalog.ts +40 -16
- package/src/resources/workflows/actions/actions.ts +136 -24
- package/src/resources/workflows/actions/index.ts +0 -1
- package/src/resources/workflows/actions/services.ts +5 -2
- package/src/resources/workflows/events.ts +226 -1
- package/src/resources/workflows/executions.ts +143 -21
- package/src/resources/workflows/flows/actions.ts +141 -29
- package/src/resources/workflows/flows/flows.ts +663 -31
- package/src/resources/workflows/flows/index.ts +3 -3
- package/src/resources/workflows/index.ts +6 -7
- package/src/resources/workflows/triggers.ts +93 -73
- package/src/resources/workflows/workflows.ts +16 -69
- 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/hooks.d.mts +0 -243
- package/resources/hooks.d.mts.map +0 -1
- package/resources/hooks.d.ts +0 -243
- package/resources/hooks.d.ts.map +0 -1
- package/resources/hooks.js +0 -66
- package/resources/hooks.js.map +0 -1
- package/resources/hooks.mjs +0 -62
- package/resources/hooks.mjs.map +0 -1
- package/resources/workflows/events/catalog.d.mts +0 -55
- package/resources/workflows/events/catalog.d.mts.map +0 -1
- package/resources/workflows/events/catalog.d.ts +0 -55
- package/resources/workflows/events/catalog.d.ts.map +0 -1
- package/resources/workflows/events/catalog.js +0 -21
- package/resources/workflows/events/catalog.js.map +0 -1
- package/resources/workflows/events/catalog.mjs +0 -17
- package/resources/workflows/events/catalog.mjs.map +0 -1
- package/resources/workflows/events/events.d.mts +0 -123
- package/resources/workflows/events/events.d.mts.map +0 -1
- package/resources/workflows/events/events.d.ts +0 -123
- package/resources/workflows/events/events.d.ts.map +0 -1
- package/resources/workflows/events/events.js +0 -30
- package/resources/workflows/events/events.js.map +0 -1
- package/resources/workflows/events/events.mjs +0 -25
- package/resources/workflows/events/events.mjs.map +0 -1
- package/resources/workflows/events/index.d.mts +0 -3
- package/resources/workflows/events/index.d.mts.map +0 -1
- package/resources/workflows/events/index.d.ts +0 -3
- package/resources/workflows/events/index.d.ts.map +0 -1
- package/resources/workflows/events/index.js.map +0 -1
- package/resources/workflows/events/index.mjs +0 -4
- package/resources/workflows/events/index.mjs.map +0 -1
- package/src/resources/hooks.ts +0 -337
- package/src/resources/workflows/events/catalog.ts +0 -88
- package/src/resources/workflows/events/events.ts +0 -189
- package/src/resources/workflows/events/index.ts +0 -16
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../src/resources/store.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.mjs","sourceRoot":"","sources":["../src/resources/store.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,kCAA8B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Screenshots, type
|
|
2
|
-
export { Tasks, type
|
|
3
|
-
export { UiStates, type UiStateListResponse, type UiStateRetrieveParams } from "./ui-states.mjs";
|
|
1
|
+
export { Screenshots, type ScreenshotRetrieveResponse, type ScreenshotListResponse, type ScreenshotRetrieveParams, } from "./screenshots.mjs";
|
|
2
|
+
export { Tasks, type TaskRetrieveResponse, type TaskListResponse, type TaskGetStatusResponse, type TaskGetTrajectoryResponse, type TaskRunResponse, type TaskRunStreamedResponse, type TaskSendMessageResponse, type TaskStopResponse, type TaskListParams, type TaskRunParams, type TaskRunStreamedParams, type TaskSendMessageParams, } from "./tasks.mjs";
|
|
3
|
+
export { UiStates, type UiStateRetrieveResponse, type UiStateListResponse, type UiStateRetrieveParams, } from "./ui-states.mjs";
|
|
4
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,0BAAsB;AACvB,OAAO,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,oBAAgB;AACjB,OAAO,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B,wBAAoB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Screenshots, type
|
|
2
|
-
export { Tasks, type
|
|
3
|
-
export { UiStates, type UiStateListResponse, type UiStateRetrieveParams } from "./ui-states.js";
|
|
1
|
+
export { Screenshots, type ScreenshotRetrieveResponse, type ScreenshotListResponse, type ScreenshotRetrieveParams, } from "./screenshots.js";
|
|
2
|
+
export { Tasks, type TaskRetrieveResponse, type TaskListResponse, type TaskGetStatusResponse, type TaskGetTrajectoryResponse, type TaskRunResponse, type TaskRunStreamedResponse, type TaskSendMessageResponse, type TaskStopResponse, type TaskListParams, type TaskRunParams, type TaskRunStreamedParams, type TaskSendMessageParams, } from "./tasks.js";
|
|
3
|
+
export { UiStates, type UiStateRetrieveResponse, type UiStateListResponse, type UiStateRetrieveParams, } from "./ui-states.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,yBAAsB;AACvB,OAAO,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,mBAAgB;AACjB,OAAO,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B,uBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAKuB;AAJrB,0GAAA,WAAW,OAAA;AAKb,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAKuB;AAJrB,0GAAA,WAAW,OAAA;AAKb,oCAciB;AAbf,8FAAA,KAAK,OAAA;AAcP,4CAKqB;AAJnB,qGAAA,QAAQ,OAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { Screenshots, } from "./screenshots.mjs";
|
|
3
3
|
export { Tasks, } from "./tasks.mjs";
|
|
4
|
-
export { UiStates } from "./ui-states.mjs";
|
|
4
|
+
export { UiStates, } from "./ui-states.mjs";
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,GAIZ,0BAAsB;AACvB,OAAO,EACL,KAAK,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/tasks/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,GAIZ,0BAAsB;AACvB,OAAO,EACL,KAAK,GAaN,oBAAgB;AACjB,OAAO,EACL,QAAQ,GAIT,wBAAoB"}
|
|
@@ -8,13 +8,13 @@ export declare class Screenshots extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Get a specific screenshot by index.
|
|
10
10
|
*/
|
|
11
|
-
retrieve(index: number, params: ScreenshotRetrieveParams, options?: RequestOptions): APIPromise<
|
|
11
|
+
retrieve(index: number, params: ScreenshotRetrieveParams, options?: RequestOptions): APIPromise<ScreenshotRetrieveResponse>;
|
|
12
12
|
/**
|
|
13
13
|
* List all screenshot URLs for a task.
|
|
14
14
|
*/
|
|
15
15
|
list(taskID: string, options?: RequestOptions): APIPromise<ScreenshotListResponse>;
|
|
16
16
|
}
|
|
17
|
-
export interface
|
|
17
|
+
export interface ScreenshotRetrieveResponse {
|
|
18
18
|
/**
|
|
19
19
|
* The URL of the media
|
|
20
20
|
*/
|
|
@@ -30,6 +30,6 @@ export interface ScreenshotRetrieveParams {
|
|
|
30
30
|
task_id: string;
|
|
31
31
|
}
|
|
32
32
|
export declare namespace Screenshots {
|
|
33
|
-
export { type
|
|
33
|
+
export { type ScreenshotRetrieveResponse as ScreenshotRetrieveResponse, type ScreenshotListResponse as ScreenshotListResponse, type ScreenshotRetrieveParams as ScreenshotRetrieveParams, };
|
|
34
34
|
}
|
|
35
35
|
//# sourceMappingURL=screenshots.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screenshots.d.mts","sourceRoot":"","sources":["../../src/resources/tasks/screenshots.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"screenshots.d.mts","sourceRoot":"","sources":["../../src/resources/tasks/screenshots.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAKzC;;OAEG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGnF;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -8,13 +8,13 @@ export declare class Screenshots extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Get a specific screenshot by index.
|
|
10
10
|
*/
|
|
11
|
-
retrieve(index: number, params: ScreenshotRetrieveParams, options?: RequestOptions): APIPromise<
|
|
11
|
+
retrieve(index: number, params: ScreenshotRetrieveParams, options?: RequestOptions): APIPromise<ScreenshotRetrieveResponse>;
|
|
12
12
|
/**
|
|
13
13
|
* List all screenshot URLs for a task.
|
|
14
14
|
*/
|
|
15
15
|
list(taskID: string, options?: RequestOptions): APIPromise<ScreenshotListResponse>;
|
|
16
16
|
}
|
|
17
|
-
export interface
|
|
17
|
+
export interface ScreenshotRetrieveResponse {
|
|
18
18
|
/**
|
|
19
19
|
* The URL of the media
|
|
20
20
|
*/
|
|
@@ -30,6 +30,6 @@ export interface ScreenshotRetrieveParams {
|
|
|
30
30
|
task_id: string;
|
|
31
31
|
}
|
|
32
32
|
export declare namespace Screenshots {
|
|
33
|
-
export { type
|
|
33
|
+
export { type ScreenshotRetrieveResponse as ScreenshotRetrieveResponse, type ScreenshotListResponse as ScreenshotListResponse, type ScreenshotRetrieveParams as ScreenshotRetrieveParams, };
|
|
34
34
|
}
|
|
35
35
|
//# sourceMappingURL=screenshots.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screenshots.d.ts","sourceRoot":"","sources":["../../src/resources/tasks/screenshots.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"screenshots.d.ts","sourceRoot":"","sources":["../../src/resources/tasks/screenshots.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAKzC;;OAEG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGnF;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
-
import * as TasksAPI from "./tasks.mjs";
|
|
3
2
|
import * as Shared from "../shared.mjs";
|
|
4
3
|
import * as ScreenshotsAPI from "./screenshots.mjs";
|
|
5
|
-
import {
|
|
4
|
+
import { ScreenshotListResponse, ScreenshotRetrieveParams, ScreenshotRetrieveResponse, Screenshots } from "./screenshots.mjs";
|
|
6
5
|
import * as UiStatesAPI from "./ui-states.mjs";
|
|
7
|
-
import { UiStateListResponse, UiStateRetrieveParams, UiStates } from "./ui-states.mjs";
|
|
6
|
+
import { UiStateListResponse, UiStateRetrieveParams, UiStateRetrieveResponse, UiStates } from "./ui-states.mjs";
|
|
8
7
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
9
8
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
10
9
|
/**
|
|
@@ -37,7 +36,7 @@ export declare class Tasks extends APIResource {
|
|
|
37
36
|
* Create and dispatch a new agent task. Returns the task ID and device stream
|
|
38
37
|
* details.
|
|
39
38
|
*/
|
|
40
|
-
run(
|
|
39
|
+
run(params: TaskRunParams, options?: RequestOptions): APIPromise<TaskRunResponse>;
|
|
41
40
|
/**
|
|
42
41
|
* Create and dispatch a new agent task, returning an SSE stream of task events.
|
|
43
42
|
* Cancels the task if the client disconnects.
|
|
@@ -54,77 +53,78 @@ export declare class Tasks extends APIResource {
|
|
|
54
53
|
*/
|
|
55
54
|
stop(taskID: string, options?: RequestOptions): APIPromise<TaskStopResponse>;
|
|
56
55
|
}
|
|
57
|
-
export interface
|
|
58
|
-
credentialNames: Array<string>;
|
|
59
|
-
packageName: string;
|
|
60
|
-
}
|
|
61
|
-
export interface Task {
|
|
62
|
-
deviceId: string;
|
|
63
|
-
/**
|
|
64
|
-
* The LLM model identifier to use for the task (e.g. 'gemini/gemini-2.5-flash')
|
|
65
|
-
*/
|
|
66
|
-
llmModel: string;
|
|
67
|
-
task: string;
|
|
68
|
-
userId: string;
|
|
69
|
-
id?: string;
|
|
70
|
-
accessibility?: boolean;
|
|
71
|
-
agentId?: number;
|
|
72
|
-
apps?: Array<string>;
|
|
73
|
-
cancelRequestedAt?: string | null;
|
|
74
|
-
claimedAt?: string | null;
|
|
75
|
-
continueOnFailure?: boolean;
|
|
76
|
-
createdAt?: string;
|
|
77
|
-
credentials?: Array<PackageCredentials>;
|
|
78
|
-
creditsUsed?: number | null;
|
|
79
|
-
dispatchedAt?: string | null;
|
|
80
|
-
displayId?: number;
|
|
81
|
-
executionTimeout?: number;
|
|
82
|
-
files?: Array<string>;
|
|
83
|
-
finishedAt?: string | null;
|
|
84
|
-
heartbeatAt?: string | null;
|
|
85
|
-
maxSteps?: number;
|
|
86
|
-
/**
|
|
87
|
-
* Memory namespace for cross-task personalization
|
|
88
|
-
*/
|
|
89
|
-
memoryNamespace?: string;
|
|
90
|
-
message?: string | null;
|
|
91
|
-
output?: {
|
|
92
|
-
[key: string]: unknown;
|
|
93
|
-
} | null;
|
|
94
|
-
outputSchema?: {
|
|
95
|
-
[key: string]: unknown;
|
|
96
|
-
} | null;
|
|
97
|
-
reasoning?: boolean;
|
|
98
|
-
status?: TaskStatus;
|
|
99
|
-
stealth?: boolean;
|
|
100
|
-
steps?: number | null;
|
|
101
|
-
streamUrl?: string | null;
|
|
56
|
+
export interface TaskRetrieveResponse {
|
|
102
57
|
/**
|
|
103
|
-
*
|
|
58
|
+
* The task
|
|
104
59
|
*/
|
|
105
|
-
|
|
106
|
-
succeeded?: boolean | null;
|
|
107
|
-
temperature?: number;
|
|
108
|
-
tmpDevice?: boolean;
|
|
109
|
-
trajectory?: Array<{
|
|
110
|
-
[key: string]: unknown;
|
|
111
|
-
}>;
|
|
112
|
-
updatedAt?: string;
|
|
113
|
-
vision?: boolean;
|
|
114
|
-
vpnCountry?: 'US' | 'BR' | 'FR' | 'DE' | 'IN' | 'JP' | 'KR' | 'ZA' | null;
|
|
115
|
-
}
|
|
116
|
-
export type TaskStatus = 'queued' | 'created' | 'running' | 'cancelling' | 'paused' | 'completed' | 'failed' | 'cancelled';
|
|
117
|
-
export interface UsageResult {
|
|
118
|
-
request_tokens: number;
|
|
119
|
-
requests: number;
|
|
120
|
-
response_tokens: number;
|
|
121
|
-
total_tokens: number;
|
|
60
|
+
task: TaskRetrieveResponse.Task;
|
|
122
61
|
}
|
|
123
|
-
export
|
|
62
|
+
export declare namespace TaskRetrieveResponse {
|
|
124
63
|
/**
|
|
125
64
|
* The task
|
|
126
65
|
*/
|
|
127
|
-
|
|
66
|
+
interface Task {
|
|
67
|
+
id: string;
|
|
68
|
+
deviceId: string;
|
|
69
|
+
displayId: number;
|
|
70
|
+
/**
|
|
71
|
+
* The LLM model identifier to use for the task (e.g. 'gemini/gemini-2.5-flash')
|
|
72
|
+
*/
|
|
73
|
+
llmModel: string;
|
|
74
|
+
ownerId: string;
|
|
75
|
+
status: 'queued' | 'created' | 'running' | 'cancelling' | 'completed' | 'failed' | 'cancelled';
|
|
76
|
+
task: string;
|
|
77
|
+
tmpDevice: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
80
|
+
*/
|
|
81
|
+
userId: string;
|
|
82
|
+
accessibility?: boolean;
|
|
83
|
+
agentId?: number;
|
|
84
|
+
apps?: Array<string>;
|
|
85
|
+
cancelRequestedAt?: string | null;
|
|
86
|
+
claimedAt?: string | null;
|
|
87
|
+
continueOnFailure?: boolean;
|
|
88
|
+
createdAt?: string;
|
|
89
|
+
createdBy?: string | null;
|
|
90
|
+
credentials?: Array<Task.Credential>;
|
|
91
|
+
creditsUsed?: number | null;
|
|
92
|
+
dispatchedAt?: string | null;
|
|
93
|
+
executionTimeout?: number;
|
|
94
|
+
files?: Array<string>;
|
|
95
|
+
finishedAt?: string | null;
|
|
96
|
+
maxSteps?: number;
|
|
97
|
+
/**
|
|
98
|
+
* Memory namespace for cross-task personalization
|
|
99
|
+
*/
|
|
100
|
+
memoryNamespace?: string;
|
|
101
|
+
message?: string | null;
|
|
102
|
+
output?: {
|
|
103
|
+
[key: string]: unknown;
|
|
104
|
+
} | null;
|
|
105
|
+
outputSchema?: {
|
|
106
|
+
[key: string]: unknown;
|
|
107
|
+
} | null;
|
|
108
|
+
reasoning?: boolean;
|
|
109
|
+
stealth?: boolean;
|
|
110
|
+
steps?: number | null;
|
|
111
|
+
streamUrl?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* LLM model used by sub-agent roles: executor, app_opener, structured_output
|
|
114
|
+
*/
|
|
115
|
+
subagentModel?: string;
|
|
116
|
+
succeeded?: boolean | null;
|
|
117
|
+
temperature?: number;
|
|
118
|
+
updatedAt?: string;
|
|
119
|
+
vision?: boolean;
|
|
120
|
+
vpnCountry?: 'US' | 'BR' | 'FR' | 'DE' | 'IN' | 'JP' | 'KR' | 'ZA' | null;
|
|
121
|
+
}
|
|
122
|
+
namespace Task {
|
|
123
|
+
interface Credential {
|
|
124
|
+
credentialNames: Array<string>;
|
|
125
|
+
packageName: string;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
128
|
}
|
|
129
129
|
export interface TaskListResponse {
|
|
130
130
|
/**
|
|
@@ -148,9 +148,13 @@ export declare namespace TaskListResponse {
|
|
|
148
148
|
* The LLM model identifier to use for the task (e.g. 'gemini/gemini-2.5-flash')
|
|
149
149
|
*/
|
|
150
150
|
llmModel: string;
|
|
151
|
-
|
|
151
|
+
ownerId: string;
|
|
152
|
+
status: 'queued' | 'created' | 'running' | 'cancelling' | 'completed' | 'failed' | 'cancelled';
|
|
152
153
|
task: string;
|
|
153
154
|
tmpDevice: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
157
|
+
*/
|
|
154
158
|
userId: string;
|
|
155
159
|
accessibility?: boolean;
|
|
156
160
|
agentId?: number;
|
|
@@ -159,7 +163,8 @@ export declare namespace TaskListResponse {
|
|
|
159
163
|
claimedAt?: string | null;
|
|
160
164
|
continueOnFailure?: boolean;
|
|
161
165
|
createdAt?: string;
|
|
162
|
-
|
|
166
|
+
createdBy?: string | null;
|
|
167
|
+
credentials?: Array<Item.Credential>;
|
|
163
168
|
creditsUsed?: number | null;
|
|
164
169
|
dispatchedAt?: string | null;
|
|
165
170
|
executionTimeout?: number;
|
|
@@ -191,12 +196,22 @@ export declare namespace TaskListResponse {
|
|
|
191
196
|
vision?: boolean;
|
|
192
197
|
vpnCountry?: 'US' | 'BR' | 'FR' | 'DE' | 'IN' | 'JP' | 'KR' | 'ZA' | null;
|
|
193
198
|
}
|
|
199
|
+
namespace Item {
|
|
200
|
+
interface Credential {
|
|
201
|
+
credentialNames: Array<string>;
|
|
202
|
+
packageName: string;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
194
205
|
}
|
|
195
206
|
export interface TaskGetStatusResponse {
|
|
196
207
|
/**
|
|
197
208
|
* The status of the task
|
|
198
209
|
*/
|
|
199
|
-
status:
|
|
210
|
+
status: 'queued' | 'created' | 'running' | 'cancelling' | 'completed' | 'failed' | 'cancelled';
|
|
211
|
+
/**
|
|
212
|
+
* Execution metadata for abnormal terminal outcomes
|
|
213
|
+
*/
|
|
214
|
+
execution?: TaskGetStatusResponse.Execution | null;
|
|
200
215
|
/**
|
|
201
216
|
* The last agent response (FastAgentResponseEvent or ManagerPlanEvent)
|
|
202
217
|
*/
|
|
@@ -222,6 +237,24 @@ export interface TaskGetStatusResponse {
|
|
|
222
237
|
*/
|
|
223
238
|
succeeded?: boolean | null;
|
|
224
239
|
}
|
|
240
|
+
export declare namespace TaskGetStatusResponse {
|
|
241
|
+
/**
|
|
242
|
+
* Execution metadata for abnormal terminal outcomes
|
|
243
|
+
*/
|
|
244
|
+
interface Execution {
|
|
245
|
+
checkpoint: Execution.Checkpoint;
|
|
246
|
+
terminationReason: 'execution_timeout' | 'worker_lost' | 'cancelled' | 'agent_failed';
|
|
247
|
+
retrySafety?: 'unknown';
|
|
248
|
+
}
|
|
249
|
+
namespace Execution {
|
|
250
|
+
interface Checkpoint {
|
|
251
|
+
currentSubgoal?: string | null;
|
|
252
|
+
plan?: string | null;
|
|
253
|
+
progressSummary?: string | null;
|
|
254
|
+
steps?: number;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
225
258
|
export interface TaskGetTrajectoryResponse {
|
|
226
259
|
/**
|
|
227
260
|
* The trajectory of the task
|
|
@@ -444,7 +477,15 @@ export declare namespace TaskGetTrajectoryResponse {
|
|
|
444
477
|
interface Data {
|
|
445
478
|
thought: string;
|
|
446
479
|
code?: string | null;
|
|
447
|
-
usage?:
|
|
480
|
+
usage?: Data.Usage | null;
|
|
481
|
+
}
|
|
482
|
+
namespace Data {
|
|
483
|
+
interface Usage {
|
|
484
|
+
request_tokens: number;
|
|
485
|
+
requests: number;
|
|
486
|
+
response_tokens: number;
|
|
487
|
+
total_tokens: number;
|
|
488
|
+
}
|
|
448
489
|
}
|
|
449
490
|
}
|
|
450
491
|
interface TrajectoryFastAgentToolCallEvent {
|
|
@@ -564,7 +605,15 @@ export declare namespace TaskGetTrajectoryResponse {
|
|
|
564
605
|
*/
|
|
565
606
|
interface Data {
|
|
566
607
|
response: string;
|
|
567
|
-
usage?:
|
|
608
|
+
usage?: Data.Usage | null;
|
|
609
|
+
}
|
|
610
|
+
namespace Data {
|
|
611
|
+
interface Usage {
|
|
612
|
+
request_tokens: number;
|
|
613
|
+
requests: number;
|
|
614
|
+
response_tokens: number;
|
|
615
|
+
total_tokens: number;
|
|
616
|
+
}
|
|
568
617
|
}
|
|
569
618
|
}
|
|
570
619
|
interface TrajectoryManagerPlanDetailsEvent {
|
|
@@ -617,7 +666,15 @@ export declare namespace TaskGetTrajectoryResponse {
|
|
|
617
666
|
*/
|
|
618
667
|
interface Data {
|
|
619
668
|
response: string;
|
|
620
|
-
usage?:
|
|
669
|
+
usage?: Data.Usage | null;
|
|
670
|
+
}
|
|
671
|
+
namespace Data {
|
|
672
|
+
interface Usage {
|
|
673
|
+
request_tokens: number;
|
|
674
|
+
requests: number;
|
|
675
|
+
response_tokens: number;
|
|
676
|
+
total_tokens: number;
|
|
677
|
+
}
|
|
621
678
|
}
|
|
622
679
|
}
|
|
623
680
|
interface TrajectoryExecutorActionEvent {
|
|
@@ -694,7 +751,7 @@ export interface TaskRunResponse {
|
|
|
694
751
|
/**
|
|
695
752
|
* The status of the task (queued or created)
|
|
696
753
|
*/
|
|
697
|
-
status:
|
|
754
|
+
status: 'queued' | 'created' | 'running' | 'cancelling' | 'completed' | 'failed' | 'cancelled';
|
|
698
755
|
/**
|
|
699
756
|
* The URL of the stream (null when queued)
|
|
700
757
|
*/
|
|
@@ -714,6 +771,14 @@ export interface TaskStopResponse {
|
|
|
714
771
|
cancelled: boolean;
|
|
715
772
|
}
|
|
716
773
|
export interface TaskListParams {
|
|
774
|
+
/**
|
|
775
|
+
* Only tasks created by this user id.
|
|
776
|
+
*/
|
|
777
|
+
createdBy?: string | null;
|
|
778
|
+
/**
|
|
779
|
+
* Only tasks created by the calling user.
|
|
780
|
+
*/
|
|
781
|
+
mine?: boolean;
|
|
717
782
|
orderBy?: 'id' | 'createdAt' | 'finishedAt' | 'status' | null;
|
|
718
783
|
orderByDirection?: 'asc' | 'desc';
|
|
719
784
|
page?: number;
|
|
@@ -722,47 +787,103 @@ export interface TaskListParams {
|
|
|
722
787
|
* Search in task description.
|
|
723
788
|
*/
|
|
724
789
|
query?: string | null;
|
|
725
|
-
status?:
|
|
790
|
+
status?: 'queued' | 'created' | 'running' | 'cancelling' | 'completed' | 'failed' | 'cancelled' | null;
|
|
726
791
|
}
|
|
727
792
|
export interface TaskRunParams {
|
|
728
793
|
/**
|
|
729
|
-
* The ID of the device to run the task on.
|
|
794
|
+
* Body param: The ID of the device to run the task on.
|
|
730
795
|
*/
|
|
731
796
|
deviceId: string;
|
|
797
|
+
/**
|
|
798
|
+
* Body param
|
|
799
|
+
*/
|
|
732
800
|
task: string;
|
|
801
|
+
/**
|
|
802
|
+
* Body param
|
|
803
|
+
*/
|
|
733
804
|
accessibility?: boolean;
|
|
805
|
+
/**
|
|
806
|
+
* Body param
|
|
807
|
+
*/
|
|
734
808
|
agentId?: number;
|
|
809
|
+
/**
|
|
810
|
+
* Body param
|
|
811
|
+
*/
|
|
735
812
|
apps?: Array<string>;
|
|
813
|
+
/**
|
|
814
|
+
* Body param
|
|
815
|
+
*/
|
|
736
816
|
continueOnFailure?: boolean;
|
|
737
|
-
credentials?: Array<PackageCredentials>;
|
|
738
817
|
/**
|
|
739
|
-
*
|
|
818
|
+
* Body param
|
|
819
|
+
*/
|
|
820
|
+
credentials?: Array<TaskRunParams.Credential>;
|
|
821
|
+
/**
|
|
822
|
+
* Body param: The display ID of the device to run the task on.
|
|
740
823
|
*/
|
|
741
824
|
displayId?: number;
|
|
825
|
+
/**
|
|
826
|
+
* Body param
|
|
827
|
+
*/
|
|
742
828
|
executionTimeout?: number;
|
|
829
|
+
/**
|
|
830
|
+
* Body param
|
|
831
|
+
*/
|
|
743
832
|
files?: Array<string>;
|
|
744
833
|
/**
|
|
745
|
-
* The LLM model identifier to use for the task (e.g.
|
|
746
|
-
* 'google/gemini-3.
|
|
834
|
+
* Body param: The LLM model identifier to use for the task (e.g.
|
|
835
|
+
* 'google/gemini-3.5-flash')
|
|
747
836
|
*/
|
|
748
837
|
llmModel?: string;
|
|
838
|
+
/**
|
|
839
|
+
* Body param
|
|
840
|
+
*/
|
|
749
841
|
maxSteps?: number;
|
|
750
842
|
/**
|
|
751
|
-
* Memory namespace for cross-task personalization
|
|
843
|
+
* Body param: Memory namespace for cross-task personalization
|
|
752
844
|
*/
|
|
753
845
|
memoryNamespace?: string;
|
|
846
|
+
/**
|
|
847
|
+
* Body param
|
|
848
|
+
*/
|
|
754
849
|
outputSchema?: {
|
|
755
850
|
[key: string]: unknown;
|
|
756
851
|
} | null;
|
|
852
|
+
/**
|
|
853
|
+
* Body param
|
|
854
|
+
*/
|
|
757
855
|
reasoning?: boolean;
|
|
856
|
+
/**
|
|
857
|
+
* Body param
|
|
858
|
+
*/
|
|
758
859
|
stealth?: boolean;
|
|
759
860
|
/**
|
|
760
|
-
* LLM model used by sub-agent roles: executor, app_opener,
|
|
861
|
+
* Body param: LLM model used by sub-agent roles: executor, app_opener,
|
|
862
|
+
* structured_output
|
|
761
863
|
*/
|
|
762
864
|
subagentModel?: string;
|
|
865
|
+
/**
|
|
866
|
+
* Body param
|
|
867
|
+
*/
|
|
763
868
|
temperature?: number;
|
|
869
|
+
/**
|
|
870
|
+
* Body param
|
|
871
|
+
*/
|
|
764
872
|
vision?: boolean;
|
|
873
|
+
/**
|
|
874
|
+
* Body param
|
|
875
|
+
*/
|
|
765
876
|
vpnCountry?: 'US' | 'BR' | 'FR' | 'DE' | 'IN' | 'JP' | 'KR' | 'ZA' | null;
|
|
877
|
+
/**
|
|
878
|
+
* Header param
|
|
879
|
+
*/
|
|
880
|
+
'Idempotency-Key'?: string;
|
|
881
|
+
}
|
|
882
|
+
export declare namespace TaskRunParams {
|
|
883
|
+
interface Credential {
|
|
884
|
+
credentialNames: Array<string>;
|
|
885
|
+
packageName: string;
|
|
886
|
+
}
|
|
766
887
|
}
|
|
767
888
|
export interface TaskRunStreamedParams {
|
|
768
889
|
/**
|
|
@@ -774,7 +895,7 @@ export interface TaskRunStreamedParams {
|
|
|
774
895
|
agentId?: number;
|
|
775
896
|
apps?: Array<string>;
|
|
776
897
|
continueOnFailure?: boolean;
|
|
777
|
-
credentials?: Array<
|
|
898
|
+
credentials?: Array<TaskRunStreamedParams.Credential>;
|
|
778
899
|
/**
|
|
779
900
|
* The display ID of the device to run the task on.
|
|
780
901
|
*/
|
|
@@ -782,8 +903,7 @@ export interface TaskRunStreamedParams {
|
|
|
782
903
|
executionTimeout?: number;
|
|
783
904
|
files?: Array<string>;
|
|
784
905
|
/**
|
|
785
|
-
* The LLM model identifier to use for the task (e.g.
|
|
786
|
-
* 'google/gemini-3.1-flash-lite')
|
|
906
|
+
* The LLM model identifier to use for the task (e.g. 'google/gemini-3.5-flash')
|
|
787
907
|
*/
|
|
788
908
|
llmModel?: string;
|
|
789
909
|
maxSteps?: number;
|
|
@@ -804,6 +924,12 @@ export interface TaskRunStreamedParams {
|
|
|
804
924
|
vision?: boolean;
|
|
805
925
|
vpnCountry?: 'US' | 'BR' | 'FR' | 'DE' | 'IN' | 'JP' | 'KR' | 'ZA' | null;
|
|
806
926
|
}
|
|
927
|
+
export declare namespace TaskRunStreamedParams {
|
|
928
|
+
interface Credential {
|
|
929
|
+
credentialNames: Array<string>;
|
|
930
|
+
packageName: string;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
807
933
|
export interface TaskSendMessageParams {
|
|
808
934
|
/**
|
|
809
935
|
* Message to send to the running agent
|
|
@@ -811,8 +937,8 @@ export interface TaskSendMessageParams {
|
|
|
811
937
|
message: string;
|
|
812
938
|
}
|
|
813
939
|
export declare namespace Tasks {
|
|
814
|
-
export { type
|
|
815
|
-
export { Screenshots as Screenshots, type
|
|
816
|
-
export { UiStates as UiStates, type UiStateListResponse as UiStateListResponse, type UiStateRetrieveParams as UiStateRetrieveParams, };
|
|
940
|
+
export { type TaskRetrieveResponse as TaskRetrieveResponse, type TaskListResponse as TaskListResponse, type TaskGetStatusResponse as TaskGetStatusResponse, type TaskGetTrajectoryResponse as TaskGetTrajectoryResponse, type TaskRunResponse as TaskRunResponse, type TaskRunStreamedResponse as TaskRunStreamedResponse, type TaskSendMessageResponse as TaskSendMessageResponse, type TaskStopResponse as TaskStopResponse, type TaskListParams as TaskListParams, type TaskRunParams as TaskRunParams, type TaskRunStreamedParams as TaskRunStreamedParams, type TaskSendMessageParams as TaskSendMessageParams, };
|
|
941
|
+
export { Screenshots as Screenshots, type ScreenshotRetrieveResponse as ScreenshotRetrieveResponse, type ScreenshotListResponse as ScreenshotListResponse, type ScreenshotRetrieveParams as ScreenshotRetrieveParams, };
|
|
942
|
+
export { UiStates as UiStates, type UiStateRetrieveResponse as UiStateRetrieveResponse, type UiStateListResponse as UiStateListResponse, type UiStateRetrieveParams as UiStateRetrieveParams, };
|
|
817
943
|
}
|
|
818
944
|
//# sourceMappingURL=tasks.d.mts.map
|