@mobilerun/sdk 5.2.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 +17 -0
- package/README.md +15 -12
- package/client.d.mts +33 -15
- package/client.d.mts.map +1 -1
- package/client.d.ts +33 -15
- package/client.d.ts.map +1 -1
- package/client.js +21 -3
- package/client.js.map +1 -1
- package/client.mjs +21 -3
- 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/{workflows/events → app-events}/index.mjs +1 -1
- 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 +32 -1
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +32 -1
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +12 -0
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +12 -0
- package/resources/apps.mjs.map +1 -1
- package/resources/credentials/credentials.d.mts +24 -4
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +24 -4
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js.map +1 -1
- 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 +67 -23
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +67 -23
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +66 -4
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +66 -4
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/fields.js.map +1 -1
- 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 +39 -4
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +39 -4
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +8 -0
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +8 -0
- package/resources/credentials/packages/packages.mjs.map +1 -1
- package/resources/devices/apps.d.mts +81 -1
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +81 -1
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +59 -0
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +59 -0
- 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 +209 -19
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +209 -19
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +55 -2
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +55 -2
- 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 -102
- package/resources/devices/esim.d.mts.map +1 -1
- package/resources/devices/esim.d.ts +1 -102
- package/resources/devices/esim.d.ts.map +1 -1
- package/resources/devices/esim.js +2 -82
- package/resources/devices/esim.js.map +1 -1
- package/resources/devices/esim.mjs +1 -80
- package/resources/devices/esim.mjs.map +1 -1
- package/resources/devices/files.d.mts +31 -29
- package/resources/devices/files.d.mts.map +1 -1
- package/resources/devices/files.d.ts +31 -29
- package/resources/devices/files.d.ts.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/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/location.d.mts +9 -1
- package/resources/devices/location.d.mts.map +1 -1
- package/resources/devices/location.d.ts +9 -1
- package/resources/devices/location.d.ts.map +1 -1
- package/resources/devices/location.js +19 -0
- package/resources/devices/location.js.map +1 -1
- package/resources/devices/location.mjs +19 -0
- 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/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 +6 -7
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +6 -7
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/tasks.d.mts +8 -2
- package/resources/devices/tasks.d.mts.map +1 -1
- package/resources/devices/tasks.d.ts +8 -2
- package/resources/devices/tasks.d.ts.map +1 -1
- package/resources/devices/tasks.js.map +1 -1
- package/resources/devices/tasks.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 +12 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +12 -6
- 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/proxies.d.mts +43 -20
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +43 -20
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs.map +1 -1
- package/resources/shared.d.mts +11 -3
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +11 -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 +65 -34
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +65 -34
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +1 -1
- 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/workflows/action-catalog.d.mts +27 -13
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +27 -13
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/actions/actions.d.mts +85 -23
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +85 -23
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js.map +1 -1
- 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/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 +75 -26
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +75 -26
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +7 -0
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +7 -0
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +109 -26
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +109 -26
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +373 -25
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +373 -25
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +25 -0
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +25 -0
- 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 +6 -3
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +6 -3
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/workflows.d.mts +10 -48
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +10 -48
- 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 +131 -21
- 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 +39 -0
- package/src/resources/credentials/credentials.ts +40 -2
- package/src/resources/credentials/index.ts +1 -0
- package/src/resources/credentials/packages/credentials/credentials.ts +108 -33
- package/src/resources/credentials/packages/credentials/fields.ts +114 -4
- 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 +58 -3
- package/src/resources/devices/apps.ts +155 -0
- package/src/resources/devices/browser.ts +71 -0
- package/src/resources/devices/deep-link.ts +70 -0
- package/src/resources/devices/devices.ts +414 -23
- 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 -208
- package/src/resources/devices/files.ts +36 -35
- package/src/resources/devices/index.ts +45 -5
- package/src/resources/devices/kiosk.ts +74 -0
- package/src/resources/devices/location.ts +33 -1
- package/src/resources/devices/media-sessions.ts +168 -0
- package/src/resources/devices/recordings.ts +358 -0
- package/src/resources/devices/state.ts +7 -9
- package/src/resources/devices/tasks.ts +11 -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 +52 -8
- 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/proxies.ts +52 -22
- package/src/resources/shared.ts +18 -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 +89 -53
- package/src/resources/tasks/ui-states.ts +9 -2
- package/src/resources/workflows/action-catalog.ts +35 -14
- package/src/resources/workflows/actions/actions.ts +124 -24
- package/src/resources/workflows/actions/index.ts +0 -1
- package/src/resources/workflows/events.ts +226 -1
- package/src/resources/workflows/executions.ts +112 -35
- package/src/resources/workflows/flows/actions.ts +129 -25
- package/src/resources/workflows/flows/flows.ts +622 -24
- package/src/resources/workflows/flows/index.ts +3 -3
- package/src/resources/workflows/index.ts +6 -7
- package/src/resources/workflows/triggers.ts +6 -3
- package/src/resources/workflows/workflows.ts +16 -90
- 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 -4
- package/resources/hooks.d.mts.map +0 -1
- package/resources/hooks.d.ts +0 -4
- package/resources/hooks.d.ts.map +0 -1
- package/resources/hooks.js +0 -9
- package/resources/hooks.js.map +0 -1
- package/resources/hooks.mjs +0 -5
- package/resources/hooks.mjs.map +0 -1
- package/resources/workflows/events/catalog.d.mts +0 -4
- package/resources/workflows/events/catalog.d.mts.map +0 -1
- package/resources/workflows/events/catalog.d.ts +0 -4
- package/resources/workflows/events/catalog.d.ts.map +0 -1
- package/resources/workflows/events/catalog.js +0 -9
- package/resources/workflows/events/catalog.js.map +0 -1
- package/resources/workflows/events/catalog.mjs +0 -5
- package/resources/workflows/events/catalog.mjs.map +0 -1
- package/resources/workflows/events/events.d.mts +0 -113
- package/resources/workflows/events/events.d.mts.map +0 -1
- package/resources/workflows/events/events.d.ts +0 -113
- 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.map +0 -1
- package/src/resources/hooks.ts +0 -5
- package/src/resources/workflows/events/catalog.ts +0 -5
- package/src/resources/workflows/events/events.ts +0 -167
- package/src/resources/workflows/events/index.ts +0 -10
|
@@ -3,29 +3,39 @@ import * as Shared from "../shared.js";
|
|
|
3
3
|
import * as ActionsAPI from "./actions.js";
|
|
4
4
|
import { ActionGlobalParams, ActionOverlayVisibleParams, ActionOverlayVisibleResponse, ActionSetOverlayVisibleParams, ActionSwipeParams, ActionTapParams, Actions } from "./actions.js";
|
|
5
5
|
import * as AppsAPI from "./apps.js";
|
|
6
|
-
import { AppDeleteParams, AppInstallParams, AppListParams, AppListResponse, AppStartParams, AppStopParams, Apps } from "./apps.js";
|
|
7
|
-
import * as
|
|
8
|
-
import {
|
|
6
|
+
import { AppDeleteParams, AppGrantPermissionParams, AppInstallParams, AppListInstallsParams, AppListInstallsResponse, AppListParams, AppListResponse, AppRevokePermissionParams, AppStartParams, AppStopParams, Apps } from "./apps.js";
|
|
7
|
+
import * as BrowserAPI from "./browser.js";
|
|
8
|
+
import { Browser, BrowserExecuteScriptParams, BrowserExecuteScriptResponse } from "./browser.js";
|
|
9
|
+
import * as DeepLinkAPI from "./deep-link.js";
|
|
10
|
+
import { DeepLink, DeepLinkExecuteDeepLinkParams } from "./deep-link.js";
|
|
9
11
|
import * as FilesAPI from "./files.js";
|
|
10
|
-
import { FileDeleteParams, FileDownloadParams, FileDownloadResponse,
|
|
12
|
+
import { FileDeleteParams, FileDownloadParams, FileDownloadResponse, FileListParams, FileListResponse, FileUploadParams, Files } from "./files.js";
|
|
11
13
|
import * as KeyboardAPI from "./keyboard.js";
|
|
12
14
|
import { Keyboard, KeyboardClearParams, KeyboardKeyParams, KeyboardWriteParams } from "./keyboard.js";
|
|
15
|
+
import * as KioskAPI from "./kiosk.js";
|
|
16
|
+
import { Kiosk, KioskDisableParams, KioskEnableParams } from "./kiosk.js";
|
|
13
17
|
import * as LanguageAPI from "./language.js";
|
|
14
18
|
import { Language, LanguageGetParams, LanguageGetResponse, LanguageSetParams } from "./language.js";
|
|
15
19
|
import * as LocationAPI from "./location.js";
|
|
16
|
-
import { Location, LocationGetParams, LocationSetParams } from "./location.js";
|
|
20
|
+
import { Location, LocationGetParams, LocationResetParams, LocationSetParams } from "./location.js";
|
|
21
|
+
import * as MediaSessionsAPI from "./media-sessions.js";
|
|
22
|
+
import { MediaSessionActivateParams, MediaSessionActivateResponse, MediaSessionCreateParams, MediaSessionCreateResponse, MediaSessionDeleteParams, MediaSessionRetrieveCurrentResponse, MediaSessions } from "./media-sessions.js";
|
|
17
23
|
import * as PackagesAPI from "./packages.js";
|
|
18
24
|
import { PackageListParams, PackageListResponse, Packages } from "./packages.js";
|
|
19
25
|
import * as ProfileAPI from "./profile.js";
|
|
20
26
|
import { Profile, ProfileUpdateParams } from "./profile.js";
|
|
21
27
|
import * as ProxyAPI from "./proxy.js";
|
|
22
28
|
import { Proxy as ProxyAPIProxy, ProxyConnectParams, ProxyDisconnectParams, ProxyStatusParams, ProxyStatusResponse } from "./proxy.js";
|
|
29
|
+
import * as RecordingsAPI from "./recordings.js";
|
|
30
|
+
import { RecordingDeleteParams, RecordingListParams, RecordingListResponse, RecordingStartParams, RecordingStartResponse, RecordingStatusParams, RecordingStatusResponse, RecordingStopParams, RecordingStopResponse, RecordingTrajectoryParams, RecordingVideoParams, Recordings } from "./recordings.js";
|
|
23
31
|
import * as StateAPI from "./state.js";
|
|
24
|
-
import { A11YNode,
|
|
32
|
+
import { A11YNode, State, StateScreenshotParams, StateScreenshotResponse, StateTimeParams, StateTimeResponse, StateUiParams, StateUiResponse } from "./state.js";
|
|
25
33
|
import * as TasksAPI from "./tasks.js";
|
|
26
34
|
import { TaskListParams, TaskListResponse, Tasks } from "./tasks.js";
|
|
27
35
|
import * as TimezoneAPI from "./timezone.js";
|
|
28
36
|
import { Timezone, TimezoneGetParams, TimezoneGetResponse, TimezoneSetParams } from "./timezone.js";
|
|
37
|
+
import * as EsimAPI from "./esim/esim.js";
|
|
38
|
+
import { Esim, EsimActivateParams, EsimActivateResponse, EsimEnableParams, EsimListParams, EsimListResponse, EsimRemoveParams, EsimSetRoamingParams, EsimStatusParams, EsimStatusResponse } from "./esim/esim.js";
|
|
29
39
|
import { APIPromise } from "../../core/api-promise.js";
|
|
30
40
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
31
41
|
export declare class Devices extends APIResource {
|
|
@@ -42,6 +52,11 @@ export declare class Devices extends APIResource {
|
|
|
42
52
|
tasks: TasksAPI.Tasks;
|
|
43
53
|
timezone: TimezoneAPI.Timezone;
|
|
44
54
|
language: LanguageAPI.Language;
|
|
55
|
+
deepLink: DeepLinkAPI.DeepLink;
|
|
56
|
+
browser: BrowserAPI.Browser;
|
|
57
|
+
kiosk: KioskAPI.Kiosk;
|
|
58
|
+
mediaSessions: MediaSessionsAPI.MediaSessions;
|
|
59
|
+
recordings: RecordingsAPI.Recordings;
|
|
45
60
|
/**
|
|
46
61
|
* Requests a new device for the authenticated user from the device spec in the
|
|
47
62
|
* request body. Optional query parameters select the canonical device type, target
|
|
@@ -49,13 +64,13 @@ export declare class Devices extends APIResource {
|
|
|
49
64
|
* device-type aliases remain accepted only during the documented compatibility
|
|
50
65
|
* grace period. The response returns the device and its stream token.
|
|
51
66
|
*/
|
|
52
|
-
create(params: DeviceCreateParams, options?: RequestOptions): APIPromise<
|
|
67
|
+
create(params: DeviceCreateParams, options?: RequestOptions): APIPromise<DeviceCreateResponse>;
|
|
53
68
|
/**
|
|
54
69
|
* Returns the current state and metadata for a single device, including its
|
|
55
70
|
* lifecycle state, type, stream URL, billing strategy, and timestamps. A stream
|
|
56
71
|
* token is included while the device is active.
|
|
57
72
|
*/
|
|
58
|
-
retrieve(deviceID: string, options?: RequestOptions): APIPromise<
|
|
73
|
+
retrieve(deviceID: string, options?: RequestOptions): APIPromise<DeviceRetrieveResponse>;
|
|
59
74
|
/**
|
|
60
75
|
* Returns a paginated list of the user's devices along with pagination metadata.
|
|
61
76
|
*/
|
|
@@ -81,11 +96,32 @@ export declare class Devices extends APIResource {
|
|
|
81
96
|
* lifecycle before becoming ready again.
|
|
82
97
|
*/
|
|
83
98
|
reset(deviceID: string, options?: RequestOptions): APIPromise<void>;
|
|
99
|
+
/**
|
|
100
|
+
* Wakes a parked device: capacity is preflighted (the device's data may be
|
|
101
|
+
* replicated to another node if its home is full), the device starts running
|
|
102
|
+
* again, and per-minute billing resumes. On a device that is not parked this is a
|
|
103
|
+
* no-op ready transition.
|
|
104
|
+
*/
|
|
105
|
+
resume(deviceID: string, options?: RequestOptions): APIPromise<void>;
|
|
106
|
+
/**
|
|
107
|
+
* Returns the set of capabilities supported by this device. For a legacy device
|
|
108
|
+
* this reflects the live instance's actual tools rather than its static type; for
|
|
109
|
+
* a core-managed device it is resolved from provider/pool configuration without
|
|
110
|
+
* guaranteeing a live instance. Used to determine which tools and features are
|
|
111
|
+
* available for the device.
|
|
112
|
+
*/
|
|
113
|
+
retrieveCapabilities(deviceID: string, options?: RequestOptions): APIPromise<DeviceRetrieveCapabilitiesResponse>;
|
|
84
114
|
/**
|
|
85
115
|
* Sets the display name for a device from the name in the request body and returns
|
|
86
116
|
* the updated device.
|
|
87
117
|
*/
|
|
88
|
-
setName(deviceID: string, body: DeviceSetNameParams, options?: RequestOptions): APIPromise<
|
|
118
|
+
setName(deviceID: string, body: DeviceSetNameParams, options?: RequestOptions): APIPromise<DeviceSetNameResponse>;
|
|
119
|
+
/**
|
|
120
|
+
* Parks the device: its data, apps and identity are kept, but nothing runs and
|
|
121
|
+
* nothing is billed until it is resumed. Only devices whose capabilities report
|
|
122
|
+
* stop=true support this; others return 404.
|
|
123
|
+
*/
|
|
124
|
+
stop(deviceID: string, options?: RequestOptions): APIPromise<void>;
|
|
89
125
|
/**
|
|
90
126
|
* Terminates the device and releases its resources. Termination can be scheduled
|
|
91
127
|
* for a future time or chained from a previous device via the request body, in
|
|
@@ -97,9 +133,36 @@ export declare class Devices extends APIResource {
|
|
|
97
133
|
* as Get device info. The call returns early with an error if the wait is
|
|
98
134
|
* cancelled or times out.
|
|
99
135
|
*/
|
|
100
|
-
waitReady(deviceID: string, options?: RequestOptions): APIPromise<
|
|
136
|
+
waitReady(deviceID: string, options?: RequestOptions): APIPromise<DeviceWaitReadyResponse>;
|
|
101
137
|
}
|
|
102
|
-
export interface
|
|
138
|
+
export interface DeviceCreateResponse {
|
|
139
|
+
id: string;
|
|
140
|
+
activeTaskId: string;
|
|
141
|
+
assignedAt: string | null;
|
|
142
|
+
createdAt: string;
|
|
143
|
+
name: string;
|
|
144
|
+
state: string;
|
|
145
|
+
stateMessage: string;
|
|
146
|
+
streamUrl: string;
|
|
147
|
+
taskCount: number;
|
|
148
|
+
terminatesAt: string | null;
|
|
149
|
+
type: string;
|
|
150
|
+
updatedAt: string;
|
|
151
|
+
/**
|
|
152
|
+
* A URL to the JSON Schema for this object.
|
|
153
|
+
*/
|
|
154
|
+
$schema?: string;
|
|
155
|
+
billingStrategy?: string;
|
|
156
|
+
createdBy?: string;
|
|
157
|
+
ownerId?: string;
|
|
158
|
+
providerId?: string;
|
|
159
|
+
streamToken?: string;
|
|
160
|
+
/**
|
|
161
|
+
* @deprecated Deprecated: use ownerId/createdBy.
|
|
162
|
+
*/
|
|
163
|
+
userId?: string;
|
|
164
|
+
}
|
|
165
|
+
export interface DeviceRetrieveResponse {
|
|
103
166
|
id: string;
|
|
104
167
|
activeTaskId: string;
|
|
105
168
|
assignedAt: string | null;
|
|
@@ -127,13 +190,42 @@ export interface Device {
|
|
|
127
190
|
userId?: string;
|
|
128
191
|
}
|
|
129
192
|
export interface DeviceListResponse {
|
|
130
|
-
items: Array<
|
|
193
|
+
items: Array<DeviceListResponse.Item> | null;
|
|
131
194
|
pagination: Shared.Meta;
|
|
132
195
|
/**
|
|
133
196
|
* A URL to the JSON Schema for this object.
|
|
134
197
|
*/
|
|
135
198
|
$schema?: string;
|
|
136
199
|
}
|
|
200
|
+
export declare namespace DeviceListResponse {
|
|
201
|
+
interface Item {
|
|
202
|
+
id: string;
|
|
203
|
+
activeTaskId: string;
|
|
204
|
+
assignedAt: string | null;
|
|
205
|
+
createdAt: string;
|
|
206
|
+
name: string;
|
|
207
|
+
state: string;
|
|
208
|
+
stateMessage: string;
|
|
209
|
+
streamUrl: string;
|
|
210
|
+
taskCount: number;
|
|
211
|
+
terminatesAt: string | null;
|
|
212
|
+
type: string;
|
|
213
|
+
updatedAt: string;
|
|
214
|
+
/**
|
|
215
|
+
* A URL to the JSON Schema for this object.
|
|
216
|
+
*/
|
|
217
|
+
$schema?: string;
|
|
218
|
+
billingStrategy?: string;
|
|
219
|
+
createdBy?: string;
|
|
220
|
+
ownerId?: string;
|
|
221
|
+
providerId?: string;
|
|
222
|
+
streamToken?: string;
|
|
223
|
+
/**
|
|
224
|
+
* @deprecated Deprecated: use ownerId/createdBy.
|
|
225
|
+
*/
|
|
226
|
+
userId?: string;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
137
229
|
export type DeviceCountResponse = {
|
|
138
230
|
[key: string]: number;
|
|
139
231
|
};
|
|
@@ -163,6 +255,93 @@ export declare namespace DeviceFingerprintResponse {
|
|
|
163
255
|
model?: string;
|
|
164
256
|
}
|
|
165
257
|
}
|
|
258
|
+
export interface DeviceRetrieveCapabilitiesResponse {
|
|
259
|
+
capabilities: DeviceRetrieveCapabilitiesResponse.Capabilities;
|
|
260
|
+
deviceType: string;
|
|
261
|
+
/**
|
|
262
|
+
* A URL to the JSON Schema for this object.
|
|
263
|
+
*/
|
|
264
|
+
$schema?: string;
|
|
265
|
+
}
|
|
266
|
+
export declare namespace DeviceRetrieveCapabilitiesResponse {
|
|
267
|
+
interface Capabilities {
|
|
268
|
+
accessibility: boolean;
|
|
269
|
+
agent: boolean;
|
|
270
|
+
apps: boolean;
|
|
271
|
+
browser: boolean;
|
|
272
|
+
cameraInjection: boolean;
|
|
273
|
+
esim: boolean;
|
|
274
|
+
files: boolean;
|
|
275
|
+
fingerprint: boolean;
|
|
276
|
+
frida: boolean;
|
|
277
|
+
geo: boolean;
|
|
278
|
+
humanTouch: boolean;
|
|
279
|
+
language: boolean;
|
|
280
|
+
logcat: boolean;
|
|
281
|
+
microphoneInjection: boolean;
|
|
282
|
+
proxy: boolean;
|
|
283
|
+
reset: boolean;
|
|
284
|
+
shell: boolean;
|
|
285
|
+
spoofing: boolean;
|
|
286
|
+
stop: boolean;
|
|
287
|
+
stream: boolean;
|
|
288
|
+
time: boolean;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
export interface DeviceSetNameResponse {
|
|
292
|
+
id: string;
|
|
293
|
+
activeTaskId: string;
|
|
294
|
+
assignedAt: string | null;
|
|
295
|
+
createdAt: string;
|
|
296
|
+
name: string;
|
|
297
|
+
state: string;
|
|
298
|
+
stateMessage: string;
|
|
299
|
+
streamUrl: string;
|
|
300
|
+
taskCount: number;
|
|
301
|
+
terminatesAt: string | null;
|
|
302
|
+
type: string;
|
|
303
|
+
updatedAt: string;
|
|
304
|
+
/**
|
|
305
|
+
* A URL to the JSON Schema for this object.
|
|
306
|
+
*/
|
|
307
|
+
$schema?: string;
|
|
308
|
+
billingStrategy?: string;
|
|
309
|
+
createdBy?: string;
|
|
310
|
+
ownerId?: string;
|
|
311
|
+
providerId?: string;
|
|
312
|
+
streamToken?: string;
|
|
313
|
+
/**
|
|
314
|
+
* @deprecated Deprecated: use ownerId/createdBy.
|
|
315
|
+
*/
|
|
316
|
+
userId?: string;
|
|
317
|
+
}
|
|
318
|
+
export interface DeviceWaitReadyResponse {
|
|
319
|
+
id: string;
|
|
320
|
+
activeTaskId: string;
|
|
321
|
+
assignedAt: string | null;
|
|
322
|
+
createdAt: string;
|
|
323
|
+
name: string;
|
|
324
|
+
state: string;
|
|
325
|
+
stateMessage: string;
|
|
326
|
+
streamUrl: string;
|
|
327
|
+
taskCount: number;
|
|
328
|
+
terminatesAt: string | null;
|
|
329
|
+
type: string;
|
|
330
|
+
updatedAt: string;
|
|
331
|
+
/**
|
|
332
|
+
* A URL to the JSON Schema for this object.
|
|
333
|
+
*/
|
|
334
|
+
$schema?: string;
|
|
335
|
+
billingStrategy?: string;
|
|
336
|
+
createdBy?: string;
|
|
337
|
+
ownerId?: string;
|
|
338
|
+
providerId?: string;
|
|
339
|
+
streamToken?: string;
|
|
340
|
+
/**
|
|
341
|
+
* @deprecated Deprecated: use ownerId/createdBy.
|
|
342
|
+
*/
|
|
343
|
+
userId?: string;
|
|
344
|
+
}
|
|
166
345
|
export interface DeviceCreateParams {
|
|
167
346
|
/**
|
|
168
347
|
* Query param: Billing mode. 'auto' uses a subscription slot when available and
|
|
@@ -238,7 +417,7 @@ export declare namespace DeviceCreateParams {
|
|
|
238
417
|
connect?: Proxy.Connect;
|
|
239
418
|
name?: string;
|
|
240
419
|
smartIp?: boolean;
|
|
241
|
-
socks5?:
|
|
420
|
+
socks5?: Proxy.Socks5;
|
|
242
421
|
}
|
|
243
422
|
namespace Proxy {
|
|
244
423
|
interface Connect {
|
|
@@ -252,6 +431,12 @@ export declare namespace DeviceCreateParams {
|
|
|
252
431
|
*/
|
|
253
432
|
country?: string;
|
|
254
433
|
}
|
|
434
|
+
interface Socks5 {
|
|
435
|
+
host: string;
|
|
436
|
+
password: string;
|
|
437
|
+
port: number;
|
|
438
|
+
user: string;
|
|
439
|
+
}
|
|
255
440
|
}
|
|
256
441
|
}
|
|
257
442
|
export interface DeviceListParams {
|
|
@@ -291,19 +476,24 @@ export interface DeviceTerminateParams {
|
|
|
291
476
|
terminateAt?: string;
|
|
292
477
|
}
|
|
293
478
|
export declare namespace Devices {
|
|
294
|
-
export { type
|
|
479
|
+
export { type DeviceCreateResponse as DeviceCreateResponse, type DeviceRetrieveResponse as DeviceRetrieveResponse, type DeviceListResponse as DeviceListResponse, type DeviceCountResponse as DeviceCountResponse, type DeviceFingerprintResponse as DeviceFingerprintResponse, type DeviceRetrieveCapabilitiesResponse as DeviceRetrieveCapabilitiesResponse, type DeviceSetNameResponse as DeviceSetNameResponse, type DeviceWaitReadyResponse as DeviceWaitReadyResponse, type DeviceCreateParams as DeviceCreateParams, type DeviceListParams as DeviceListParams, type DeviceFingerprintParams as DeviceFingerprintParams, type DeviceSetNameParams as DeviceSetNameParams, type DeviceTerminateParams as DeviceTerminateParams, };
|
|
295
480
|
export { Actions as Actions, type ActionOverlayVisibleResponse as ActionOverlayVisibleResponse, type ActionGlobalParams as ActionGlobalParams, type ActionOverlayVisibleParams as ActionOverlayVisibleParams, type ActionSetOverlayVisibleParams as ActionSetOverlayVisibleParams, type ActionSwipeParams as ActionSwipeParams, type ActionTapParams as ActionTapParams, };
|
|
296
|
-
export { Apps as Apps, type AppListResponse as AppListResponse, type AppListParams as AppListParams, type AppDeleteParams as AppDeleteParams, type AppInstallParams as AppInstallParams, type AppStartParams as AppStartParams, type AppStopParams as AppStopParams, };
|
|
297
|
-
export { Esim as Esim, type EsimListResponse as EsimListResponse, type EsimActivateResponse as EsimActivateResponse, type EsimListParams as EsimListParams, type EsimActivateParams as EsimActivateParams, type EsimEnableParams as EsimEnableParams, type EsimRemoveParams as EsimRemoveParams, };
|
|
298
|
-
export { Files as Files, type
|
|
481
|
+
export { Apps as Apps, type AppListResponse as AppListResponse, type AppListInstallsResponse as AppListInstallsResponse, type AppListParams as AppListParams, type AppDeleteParams as AppDeleteParams, type AppGrantPermissionParams as AppGrantPermissionParams, type AppInstallParams as AppInstallParams, type AppListInstallsParams as AppListInstallsParams, type AppRevokePermissionParams as AppRevokePermissionParams, type AppStartParams as AppStartParams, type AppStopParams as AppStopParams, };
|
|
482
|
+
export { Esim as Esim, type EsimListResponse as EsimListResponse, type EsimActivateResponse as EsimActivateResponse, type EsimStatusResponse as EsimStatusResponse, type EsimListParams as EsimListParams, type EsimActivateParams as EsimActivateParams, type EsimEnableParams as EsimEnableParams, type EsimRemoveParams as EsimRemoveParams, type EsimSetRoamingParams as EsimSetRoamingParams, type EsimStatusParams as EsimStatusParams, };
|
|
483
|
+
export { Files as Files, type FileListResponse as FileListResponse, type FileDownloadResponse as FileDownloadResponse, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, type FileDownloadParams as FileDownloadParams, type FileUploadParams as FileUploadParams, };
|
|
299
484
|
export { Keyboard as Keyboard, type KeyboardClearParams as KeyboardClearParams, type KeyboardKeyParams as KeyboardKeyParams, type KeyboardWriteParams as KeyboardWriteParams, };
|
|
300
|
-
export { Location as Location, type LocationGetParams as LocationGetParams, type LocationSetParams as LocationSetParams, };
|
|
485
|
+
export { Location as Location, type LocationGetParams as LocationGetParams, type LocationResetParams as LocationResetParams, type LocationSetParams as LocationSetParams, };
|
|
301
486
|
export { Packages as Packages, type PackageListResponse as PackageListResponse, type PackageListParams as PackageListParams, };
|
|
302
487
|
export { Profile as Profile, type ProfileUpdateParams as ProfileUpdateParams };
|
|
303
488
|
export { ProxyAPIProxy as Proxy, type ProxyStatusResponse as ProxyStatusResponse, type ProxyConnectParams as ProxyConnectParams, type ProxyDisconnectParams as ProxyDisconnectParams, type ProxyStatusParams as ProxyStatusParams, };
|
|
304
|
-
export { State as State, type A11YNode as A11YNode, type
|
|
489
|
+
export { State as State, type A11YNode as A11YNode, type StateScreenshotResponse as StateScreenshotResponse, type StateTimeResponse as StateTimeResponse, type StateUiResponse as StateUiResponse, type StateScreenshotParams as StateScreenshotParams, type StateTimeParams as StateTimeParams, type StateUiParams as StateUiParams, };
|
|
305
490
|
export { Tasks as Tasks, type TaskListResponse as TaskListResponse, type TaskListParams as TaskListParams };
|
|
306
491
|
export { Timezone as Timezone, type TimezoneGetResponse as TimezoneGetResponse, type TimezoneGetParams as TimezoneGetParams, type TimezoneSetParams as TimezoneSetParams, };
|
|
307
492
|
export { Language as Language, type LanguageGetResponse as LanguageGetResponse, type LanguageGetParams as LanguageGetParams, type LanguageSetParams as LanguageSetParams, };
|
|
493
|
+
export { DeepLink as DeepLink, type DeepLinkExecuteDeepLinkParams as DeepLinkExecuteDeepLinkParams };
|
|
494
|
+
export { Browser as Browser, type BrowserExecuteScriptResponse as BrowserExecuteScriptResponse, type BrowserExecuteScriptParams as BrowserExecuteScriptParams, };
|
|
495
|
+
export { Kiosk as Kiosk, type KioskDisableParams as KioskDisableParams, type KioskEnableParams as KioskEnableParams, };
|
|
496
|
+
export { MediaSessions as MediaSessions, type MediaSessionCreateResponse as MediaSessionCreateResponse, type MediaSessionActivateResponse as MediaSessionActivateResponse, type MediaSessionRetrieveCurrentResponse as MediaSessionRetrieveCurrentResponse, type MediaSessionCreateParams as MediaSessionCreateParams, type MediaSessionDeleteParams as MediaSessionDeleteParams, type MediaSessionActivateParams as MediaSessionActivateParams, };
|
|
497
|
+
export { Recordings as Recordings, type RecordingListResponse as RecordingListResponse, type RecordingStartResponse as RecordingStartResponse, type RecordingStatusResponse as RecordingStatusResponse, type RecordingStopResponse as RecordingStopResponse, type RecordingListParams as RecordingListParams, type RecordingDeleteParams as RecordingDeleteParams, type RecordingStartParams as RecordingStartParams, type RecordingStatusParams as RecordingStatusParams, type RecordingStopParams as RecordingStopParams, type RecordingTrajectoryParams as RecordingTrajectoryParams, type RecordingVideoParams as RecordingVideoParams, };
|
|
308
498
|
}
|
|
309
499
|
//# sourceMappingURL=devices.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices.d.ts","sourceRoot":"","sources":["../../src/resources/devices/devices.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EACL,kBAAkB,EAClB,0BAA0B,EAC1B,4BAA4B,EAC5B,6BAA6B,EAC7B,iBAAiB,EACjB,eAAe,EACf,OAAO,EACR,qBAAkB;AACnB,OAAO,KAAK,OAAO,kBAAe;AAClC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,cAAc,EACd,aAAa,EACb,IAAI,EACL,kBAAe;AAChB,OAAO,KAAK,OAAO,kBAAe;AAClC,OAAO,EACL,IAAI,EACJ,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EACjB,kBAAe;AAChB,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,KAAK,EACN,mBAAgB;AACjB,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EAAE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AiB,GAC5C,CAAC;IAEF,OAAO,EAAE,QAAQ,IAAI,QAAQ,EAAE,KAAK,6BAA6B,IAAI,6BAA6B,EAAE,CAAC;IAErG,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -8,28 +8,38 @@ const ActionsAPI = tslib_1.__importStar(require("./actions.js"));
|
|
|
8
8
|
const actions_1 = require("./actions.js");
|
|
9
9
|
const AppsAPI = tslib_1.__importStar(require("./apps.js"));
|
|
10
10
|
const apps_1 = require("./apps.js");
|
|
11
|
-
const
|
|
12
|
-
const
|
|
11
|
+
const BrowserAPI = tslib_1.__importStar(require("./browser.js"));
|
|
12
|
+
const browser_1 = require("./browser.js");
|
|
13
|
+
const DeepLinkAPI = tslib_1.__importStar(require("./deep-link.js"));
|
|
14
|
+
const deep_link_1 = require("./deep-link.js");
|
|
13
15
|
const FilesAPI = tslib_1.__importStar(require("./files.js"));
|
|
14
16
|
const files_1 = require("./files.js");
|
|
15
17
|
const KeyboardAPI = tslib_1.__importStar(require("./keyboard.js"));
|
|
16
18
|
const keyboard_1 = require("./keyboard.js");
|
|
19
|
+
const KioskAPI = tslib_1.__importStar(require("./kiosk.js"));
|
|
20
|
+
const kiosk_1 = require("./kiosk.js");
|
|
17
21
|
const LanguageAPI = tslib_1.__importStar(require("./language.js"));
|
|
18
22
|
const language_1 = require("./language.js");
|
|
19
23
|
const LocationAPI = tslib_1.__importStar(require("./location.js"));
|
|
20
24
|
const location_1 = require("./location.js");
|
|
25
|
+
const MediaSessionsAPI = tslib_1.__importStar(require("./media-sessions.js"));
|
|
26
|
+
const media_sessions_1 = require("./media-sessions.js");
|
|
21
27
|
const PackagesAPI = tslib_1.__importStar(require("./packages.js"));
|
|
22
28
|
const packages_1 = require("./packages.js");
|
|
23
29
|
const ProfileAPI = tslib_1.__importStar(require("./profile.js"));
|
|
24
30
|
const profile_1 = require("./profile.js");
|
|
25
31
|
const ProxyAPI = tslib_1.__importStar(require("./proxy.js"));
|
|
26
32
|
const proxy_1 = require("./proxy.js");
|
|
33
|
+
const RecordingsAPI = tslib_1.__importStar(require("./recordings.js"));
|
|
34
|
+
const recordings_1 = require("./recordings.js");
|
|
27
35
|
const StateAPI = tslib_1.__importStar(require("./state.js"));
|
|
28
36
|
const state_1 = require("./state.js");
|
|
29
37
|
const TasksAPI = tslib_1.__importStar(require("./tasks.js"));
|
|
30
38
|
const tasks_1 = require("./tasks.js");
|
|
31
39
|
const TimezoneAPI = tslib_1.__importStar(require("./timezone.js"));
|
|
32
40
|
const timezone_1 = require("./timezone.js");
|
|
41
|
+
const EsimAPI = tslib_1.__importStar(require("./esim/esim.js"));
|
|
42
|
+
const esim_1 = require("./esim/esim.js");
|
|
33
43
|
const headers_1 = require("../../internal/headers.js");
|
|
34
44
|
const path_1 = require("../../internal/utils/path.js");
|
|
35
45
|
class Devices extends resource_1.APIResource {
|
|
@@ -48,6 +58,11 @@ class Devices extends resource_1.APIResource {
|
|
|
48
58
|
this.tasks = new TasksAPI.Tasks(this._client);
|
|
49
59
|
this.timezone = new TimezoneAPI.Timezone(this._client);
|
|
50
60
|
this.language = new LanguageAPI.Language(this._client);
|
|
61
|
+
this.deepLink = new DeepLinkAPI.DeepLink(this._client);
|
|
62
|
+
this.browser = new BrowserAPI.Browser(this._client);
|
|
63
|
+
this.kiosk = new KioskAPI.Kiosk(this._client);
|
|
64
|
+
this.mediaSessions = new MediaSessionsAPI.MediaSessions(this._client);
|
|
65
|
+
this.recordings = new RecordingsAPI.Recordings(this._client);
|
|
51
66
|
}
|
|
52
67
|
/**
|
|
53
68
|
* Requests a new device for the authenticated user from the device spec in the
|
|
@@ -124,6 +139,28 @@ class Devices extends resource_1.APIResource {
|
|
|
124
139
|
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
125
140
|
});
|
|
126
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* Wakes a parked device: capacity is preflighted (the device's data may be
|
|
144
|
+
* replicated to another node if its home is full), the device starts running
|
|
145
|
+
* again, and per-minute billing resumes. On a device that is not parked this is a
|
|
146
|
+
* no-op ready transition.
|
|
147
|
+
*/
|
|
148
|
+
resume(deviceID, options) {
|
|
149
|
+
return this._client.post((0, path_1.path) `/devices/${deviceID}/resume`, {
|
|
150
|
+
...options,
|
|
151
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Returns the set of capabilities supported by this device. For a legacy device
|
|
156
|
+
* this reflects the live instance's actual tools rather than its static type; for
|
|
157
|
+
* a core-managed device it is resolved from provider/pool configuration without
|
|
158
|
+
* guaranteeing a live instance. Used to determine which tools and features are
|
|
159
|
+
* available for the device.
|
|
160
|
+
*/
|
|
161
|
+
retrieveCapabilities(deviceID, options) {
|
|
162
|
+
return this._client.get((0, path_1.path) `/devices/${deviceID}/capabilities`, options);
|
|
163
|
+
}
|
|
127
164
|
/**
|
|
128
165
|
* Sets the display name for a device from the name in the request body and returns
|
|
129
166
|
* the updated device.
|
|
@@ -131,6 +168,17 @@ class Devices extends resource_1.APIResource {
|
|
|
131
168
|
setName(deviceID, body, options) {
|
|
132
169
|
return this._client.put((0, path_1.path) `/devices/${deviceID}/name`, { body, ...options });
|
|
133
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* Parks the device: its data, apps and identity are kept, but nothing runs and
|
|
173
|
+
* nothing is billed until it is resumed. Only devices whose capabilities report
|
|
174
|
+
* stop=true support this; others return 404.
|
|
175
|
+
*/
|
|
176
|
+
stop(deviceID, options) {
|
|
177
|
+
return this._client.post((0, path_1.path) `/devices/${deviceID}/stop`, {
|
|
178
|
+
...options,
|
|
179
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
180
|
+
});
|
|
181
|
+
}
|
|
134
182
|
/**
|
|
135
183
|
* Terminates the device and releases its resources. Termination can be scheduled
|
|
136
184
|
* for a future time or chained from a previous device via the request body, in
|
|
@@ -166,4 +214,9 @@ Devices.State = state_1.State;
|
|
|
166
214
|
Devices.Tasks = tasks_1.Tasks;
|
|
167
215
|
Devices.Timezone = timezone_1.Timezone;
|
|
168
216
|
Devices.Language = language_1.Language;
|
|
217
|
+
Devices.DeepLink = deep_link_1.DeepLink;
|
|
218
|
+
Devices.Browser = browser_1.Browser;
|
|
219
|
+
Devices.Kiosk = kiosk_1.Kiosk;
|
|
220
|
+
Devices.MediaSessions = media_sessions_1.MediaSessions;
|
|
221
|
+
Devices.Recordings = recordings_1.Recordings;
|
|
169
222
|
//# sourceMappingURL=devices.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices.js","sourceRoot":"","sources":["../../src/resources/devices/devices.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,iEAAwC;AACxC,0CAQmB;AACnB,2DAAkC;AAClC,
|
|
1
|
+
{"version":3,"file":"devices.js","sourceRoot":"","sources":["../../src/resources/devices/devices.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAElD,iEAAwC;AACxC,0CAQmB;AACnB,2DAAkC;AAClC,oCAYgB;AAChB,iEAAwC;AACxC,0CAA8F;AAC9F,oEAA2C;AAC3C,8CAAsE;AACtE,6DAAoC;AACpC,sCAQiB;AACjB,mEAA0C;AAC1C,4CAAmG;AACnG,6DAAoC;AACpC,sCAAuE;AACvE,mEAA0C;AAC1C,4CAAiG;AACjG,mEAA0C;AAC1C,4CAAiG;AACjG,8EAAqD;AACrD,wDAQ0B;AAC1B,mEAA0C;AAC1C,4CAA8E;AAC9E,iEAAwC;AACxC,0CAAyD;AACzD,6DAAoC;AACpC,sCAMiB;AACjB,uEAA8C;AAC9C,gDAasB;AACtB,6DAAoC;AACpC,sCASiB;AACjB,6DAAoC;AACpC,sCAAkE;AAClE,mEAA0C;AAC1C,4CAAiG;AACjG,gEAAuC;AACvC,yCAWqB;AAErB,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAA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AC;AAC5B,OAAO,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC5B,OAAO,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC1B,OAAO,CAAC,KAAK,GAAG,aAAa,CAAC;AAC9B,OAAO,CAAC,KAAK,GAAG,aAAK,CAAC;AACtB,OAAO,CAAC,KAAK,GAAG,aAAK,CAAC;AACtB,OAAO,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC5B,OAAO,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC5B,OAAO,CAAC,QAAQ,GAAG,oBAAQ,CAAC;AAC5B,OAAO,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC1B,OAAO,CAAC,KAAK,GAAG,aAAK,CAAC;AACtB,OAAO,CAAC,aAAa,GAAG,8BAAa,CAAC;AACtC,OAAO,CAAC,UAAU,GAAG,uBAAU,CAAC"}
|
|
@@ -4,28 +4,38 @@ import * as ActionsAPI from "./actions.mjs";
|
|
|
4
4
|
import { Actions, } from "./actions.mjs";
|
|
5
5
|
import * as AppsAPI from "./apps.mjs";
|
|
6
6
|
import { Apps, } from "./apps.mjs";
|
|
7
|
-
import * as
|
|
8
|
-
import {
|
|
7
|
+
import * as BrowserAPI from "./browser.mjs";
|
|
8
|
+
import { Browser } from "./browser.mjs";
|
|
9
|
+
import * as DeepLinkAPI from "./deep-link.mjs";
|
|
10
|
+
import { DeepLink } from "./deep-link.mjs";
|
|
9
11
|
import * as FilesAPI from "./files.mjs";
|
|
10
12
|
import { Files, } from "./files.mjs";
|
|
11
13
|
import * as KeyboardAPI from "./keyboard.mjs";
|
|
12
14
|
import { Keyboard } from "./keyboard.mjs";
|
|
15
|
+
import * as KioskAPI from "./kiosk.mjs";
|
|
16
|
+
import { Kiosk } from "./kiosk.mjs";
|
|
13
17
|
import * as LanguageAPI from "./language.mjs";
|
|
14
18
|
import { Language } from "./language.mjs";
|
|
15
19
|
import * as LocationAPI from "./location.mjs";
|
|
16
20
|
import { Location } from "./location.mjs";
|
|
21
|
+
import * as MediaSessionsAPI from "./media-sessions.mjs";
|
|
22
|
+
import { MediaSessions, } from "./media-sessions.mjs";
|
|
17
23
|
import * as PackagesAPI from "./packages.mjs";
|
|
18
24
|
import { Packages } from "./packages.mjs";
|
|
19
25
|
import * as ProfileAPI from "./profile.mjs";
|
|
20
26
|
import { Profile } from "./profile.mjs";
|
|
21
27
|
import * as ProxyAPI from "./proxy.mjs";
|
|
22
28
|
import { Proxy as ProxyAPIProxy, } from "./proxy.mjs";
|
|
29
|
+
import * as RecordingsAPI from "./recordings.mjs";
|
|
30
|
+
import { Recordings, } from "./recordings.mjs";
|
|
23
31
|
import * as StateAPI from "./state.mjs";
|
|
24
32
|
import { State, } from "./state.mjs";
|
|
25
33
|
import * as TasksAPI from "./tasks.mjs";
|
|
26
34
|
import { Tasks } from "./tasks.mjs";
|
|
27
35
|
import * as TimezoneAPI from "./timezone.mjs";
|
|
28
36
|
import { Timezone } from "./timezone.mjs";
|
|
37
|
+
import * as EsimAPI from "./esim/esim.mjs";
|
|
38
|
+
import { Esim, } from "./esim/esim.mjs";
|
|
29
39
|
import { buildHeaders } from "../../internal/headers.mjs";
|
|
30
40
|
import { path } from "../../internal/utils/path.mjs";
|
|
31
41
|
export class Devices extends APIResource {
|
|
@@ -44,6 +54,11 @@ export class Devices extends APIResource {
|
|
|
44
54
|
this.tasks = new TasksAPI.Tasks(this._client);
|
|
45
55
|
this.timezone = new TimezoneAPI.Timezone(this._client);
|
|
46
56
|
this.language = new LanguageAPI.Language(this._client);
|
|
57
|
+
this.deepLink = new DeepLinkAPI.DeepLink(this._client);
|
|
58
|
+
this.browser = new BrowserAPI.Browser(this._client);
|
|
59
|
+
this.kiosk = new KioskAPI.Kiosk(this._client);
|
|
60
|
+
this.mediaSessions = new MediaSessionsAPI.MediaSessions(this._client);
|
|
61
|
+
this.recordings = new RecordingsAPI.Recordings(this._client);
|
|
47
62
|
}
|
|
48
63
|
/**
|
|
49
64
|
* Requests a new device for the authenticated user from the device spec in the
|
|
@@ -120,6 +135,28 @@ export class Devices extends APIResource {
|
|
|
120
135
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
121
136
|
});
|
|
122
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* Wakes a parked device: capacity is preflighted (the device's data may be
|
|
140
|
+
* replicated to another node if its home is full), the device starts running
|
|
141
|
+
* again, and per-minute billing resumes. On a device that is not parked this is a
|
|
142
|
+
* no-op ready transition.
|
|
143
|
+
*/
|
|
144
|
+
resume(deviceID, options) {
|
|
145
|
+
return this._client.post(path `/devices/${deviceID}/resume`, {
|
|
146
|
+
...options,
|
|
147
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Returns the set of capabilities supported by this device. For a legacy device
|
|
152
|
+
* this reflects the live instance's actual tools rather than its static type; for
|
|
153
|
+
* a core-managed device it is resolved from provider/pool configuration without
|
|
154
|
+
* guaranteeing a live instance. Used to determine which tools and features are
|
|
155
|
+
* available for the device.
|
|
156
|
+
*/
|
|
157
|
+
retrieveCapabilities(deviceID, options) {
|
|
158
|
+
return this._client.get(path `/devices/${deviceID}/capabilities`, options);
|
|
159
|
+
}
|
|
123
160
|
/**
|
|
124
161
|
* Sets the display name for a device from the name in the request body and returns
|
|
125
162
|
* the updated device.
|
|
@@ -127,6 +164,17 @@ export class Devices extends APIResource {
|
|
|
127
164
|
setName(deviceID, body, options) {
|
|
128
165
|
return this._client.put(path `/devices/${deviceID}/name`, { body, ...options });
|
|
129
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* Parks the device: its data, apps and identity are kept, but nothing runs and
|
|
169
|
+
* nothing is billed until it is resumed. Only devices whose capabilities report
|
|
170
|
+
* stop=true support this; others return 404.
|
|
171
|
+
*/
|
|
172
|
+
stop(deviceID, options) {
|
|
173
|
+
return this._client.post(path `/devices/${deviceID}/stop`, {
|
|
174
|
+
...options,
|
|
175
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
176
|
+
});
|
|
177
|
+
}
|
|
130
178
|
/**
|
|
131
179
|
* Terminates the device and releases its resources. Termination can be scheduled
|
|
132
180
|
* for a future time or chained from a previous device via the request body, in
|
|
@@ -161,4 +209,9 @@ Devices.State = State;
|
|
|
161
209
|
Devices.Tasks = Tasks;
|
|
162
210
|
Devices.Timezone = Timezone;
|
|
163
211
|
Devices.Language = Language;
|
|
212
|
+
Devices.DeepLink = DeepLink;
|
|
213
|
+
Devices.Browser = Browser;
|
|
214
|
+
Devices.Kiosk = Kiosk;
|
|
215
|
+
Devices.MediaSessions = MediaSessions;
|
|
216
|
+
Devices.Recordings = Recordings;
|
|
164
217
|
//# sourceMappingURL=devices.mjs.map
|