@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
|
@@ -11,7 +11,8 @@ import { path } from '../../internal/utils/path';
|
|
|
11
11
|
|
|
12
12
|
export class Files extends APIResource {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Lists the files at the directory path given in the path query parameter,
|
|
15
|
+
* returning each entry's metadata along with the path and total count.
|
|
15
16
|
*/
|
|
16
17
|
list(deviceID: string, params: FileListParams, options?: RequestOptions): APIPromise<FileListResponse> {
|
|
17
18
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...query } = params;
|
|
@@ -30,7 +31,7 @@ export class Files extends APIResource {
|
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
/**
|
|
33
|
-
*
|
|
34
|
+
* Deletes the file at the path given in the path query parameter from the device.
|
|
34
35
|
*/
|
|
35
36
|
delete(deviceID: string, params: FileDeleteParams, options?: RequestOptions): APIPromise<void> {
|
|
36
37
|
const { path: path_, 'X-Device-Display-ID': xDeviceDisplayID } = params;
|
|
@@ -50,7 +51,8 @@ export class Files extends APIResource {
|
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
/**
|
|
53
|
-
*
|
|
54
|
+
* Pulls the file at the given path query parameter from the device and returns its
|
|
55
|
+
* raw bytes as an octet-stream.
|
|
54
56
|
*/
|
|
55
57
|
download(deviceID: string, params: FileDownloadParams, options?: RequestOptions): APIPromise<string> {
|
|
56
58
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...query } = params;
|
|
@@ -69,7 +71,8 @@ export class Files extends APIResource {
|
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
/**
|
|
72
|
-
*
|
|
74
|
+
* Uploads a file to the device via multipart form data, writing it into the
|
|
75
|
+
* directory given by the path query parameter using the uploaded file's name.
|
|
73
76
|
*/
|
|
74
77
|
upload(deviceID: string, params: FileUploadParams, options?: RequestOptions): APIPromise<void> {
|
|
75
78
|
const { path: path_, 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -96,61 +99,63 @@ export class Files extends APIResource {
|
|
|
96
99
|
}
|
|
97
100
|
}
|
|
98
101
|
|
|
99
|
-
export interface
|
|
100
|
-
|
|
102
|
+
export interface FileListResponse {
|
|
103
|
+
files: Array<FileListResponse.File> | null;
|
|
101
104
|
|
|
102
|
-
|
|
105
|
+
path: string;
|
|
103
106
|
|
|
104
|
-
|
|
107
|
+
total: number;
|
|
105
108
|
|
|
106
|
-
|
|
109
|
+
/**
|
|
110
|
+
* A URL to the JSON Schema for this object.
|
|
111
|
+
*/
|
|
112
|
+
$schema?: string;
|
|
113
|
+
}
|
|
107
114
|
|
|
108
|
-
|
|
115
|
+
export namespace FileListResponse {
|
|
116
|
+
export interface File {
|
|
117
|
+
extendedAttributes: boolean;
|
|
109
118
|
|
|
110
|
-
|
|
119
|
+
group: string;
|
|
111
120
|
|
|
112
|
-
|
|
121
|
+
hardLinks: number;
|
|
113
122
|
|
|
114
|
-
|
|
123
|
+
modifiedAt: string;
|
|
115
124
|
|
|
116
|
-
|
|
125
|
+
name: string;
|
|
117
126
|
|
|
118
|
-
|
|
119
|
-
}
|
|
127
|
+
owner: string;
|
|
120
128
|
|
|
121
|
-
|
|
122
|
-
export interface Permissions {
|
|
123
|
-
group: Shared.PermissionSet;
|
|
129
|
+
permissions: File.Permissions;
|
|
124
130
|
|
|
125
|
-
|
|
131
|
+
size: number;
|
|
126
132
|
|
|
127
|
-
|
|
133
|
+
type: string;
|
|
128
134
|
|
|
129
|
-
|
|
135
|
+
symlinkTarget?: string;
|
|
130
136
|
}
|
|
131
137
|
|
|
132
|
-
export namespace
|
|
133
|
-
export interface
|
|
134
|
-
|
|
138
|
+
export namespace File {
|
|
139
|
+
export interface Permissions {
|
|
140
|
+
group: Shared.PermissionSet;
|
|
135
141
|
|
|
136
|
-
|
|
142
|
+
others: Shared.PermissionSet;
|
|
137
143
|
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
144
|
+
owner: Shared.PermissionSet;
|
|
142
145
|
|
|
143
|
-
|
|
144
|
-
|
|
146
|
+
special: Permissions.Special;
|
|
147
|
+
}
|
|
145
148
|
|
|
146
|
-
|
|
149
|
+
export namespace Permissions {
|
|
150
|
+
export interface Special {
|
|
151
|
+
setGid: boolean;
|
|
147
152
|
|
|
148
|
-
|
|
153
|
+
setUid: boolean;
|
|
149
154
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
155
|
+
sticky: boolean;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
154
159
|
}
|
|
155
160
|
|
|
156
161
|
export type FileDownloadResponse = string;
|
|
@@ -210,7 +215,6 @@ export interface FileUploadParams {
|
|
|
210
215
|
|
|
211
216
|
export declare namespace Files {
|
|
212
217
|
export {
|
|
213
|
-
type FileInfo as FileInfo,
|
|
214
218
|
type FileListResponse as FileListResponse,
|
|
215
219
|
type FileDownloadResponse as FileDownloadResponse,
|
|
216
220
|
type FileListParams as FileListParams,
|
|
@@ -12,18 +12,28 @@ export {
|
|
|
12
12
|
export {
|
|
13
13
|
Apps,
|
|
14
14
|
type AppListResponse,
|
|
15
|
+
type AppListInstallsResponse,
|
|
15
16
|
type AppListParams,
|
|
16
17
|
type AppDeleteParams,
|
|
18
|
+
type AppGrantPermissionParams,
|
|
17
19
|
type AppInstallParams,
|
|
20
|
+
type AppListInstallsParams,
|
|
21
|
+
type AppRevokePermissionParams,
|
|
18
22
|
type AppStartParams,
|
|
19
23
|
type AppStopParams,
|
|
20
24
|
} from './apps';
|
|
25
|
+
export { Browser, type BrowserExecuteScriptResponse, type BrowserExecuteScriptParams } from './browser';
|
|
26
|
+
export { DeepLink, type DeepLinkExecuteDeepLinkParams } from './deep-link';
|
|
21
27
|
export {
|
|
22
28
|
Devices,
|
|
23
|
-
type
|
|
29
|
+
type DeviceCreateResponse,
|
|
30
|
+
type DeviceRetrieveResponse,
|
|
24
31
|
type DeviceListResponse,
|
|
25
32
|
type DeviceCountResponse,
|
|
26
33
|
type DeviceFingerprintResponse,
|
|
34
|
+
type DeviceRetrieveCapabilitiesResponse,
|
|
35
|
+
type DeviceSetNameResponse,
|
|
36
|
+
type DeviceWaitReadyResponse,
|
|
27
37
|
type DeviceCreateParams,
|
|
28
38
|
type DeviceListParams,
|
|
29
39
|
type DeviceFingerprintParams,
|
|
@@ -34,14 +44,16 @@ export {
|
|
|
34
44
|
Esim,
|
|
35
45
|
type EsimListResponse,
|
|
36
46
|
type EsimActivateResponse,
|
|
47
|
+
type EsimStatusResponse,
|
|
37
48
|
type EsimListParams,
|
|
38
49
|
type EsimActivateParams,
|
|
39
50
|
type EsimEnableParams,
|
|
40
51
|
type EsimRemoveParams,
|
|
41
|
-
|
|
52
|
+
type EsimSetRoamingParams,
|
|
53
|
+
type EsimStatusParams,
|
|
54
|
+
} from './esim/index';
|
|
42
55
|
export {
|
|
43
56
|
Files,
|
|
44
|
-
type FileInfo,
|
|
45
57
|
type FileListResponse,
|
|
46
58
|
type FileDownloadResponse,
|
|
47
59
|
type FileListParams,
|
|
@@ -55,13 +67,28 @@ export {
|
|
|
55
67
|
type KeyboardKeyParams,
|
|
56
68
|
type KeyboardWriteParams,
|
|
57
69
|
} from './keyboard';
|
|
70
|
+
export { Kiosk, type KioskDisableParams, type KioskEnableParams } from './kiosk';
|
|
58
71
|
export {
|
|
59
72
|
Language,
|
|
60
73
|
type LanguageGetResponse,
|
|
61
74
|
type LanguageGetParams,
|
|
62
75
|
type LanguageSetParams,
|
|
63
76
|
} from './language';
|
|
64
|
-
export {
|
|
77
|
+
export {
|
|
78
|
+
Location,
|
|
79
|
+
type LocationGetParams,
|
|
80
|
+
type LocationResetParams,
|
|
81
|
+
type LocationSetParams,
|
|
82
|
+
} from './location';
|
|
83
|
+
export {
|
|
84
|
+
MediaSessions,
|
|
85
|
+
type MediaSessionCreateResponse,
|
|
86
|
+
type MediaSessionActivateResponse,
|
|
87
|
+
type MediaSessionRetrieveCurrentResponse,
|
|
88
|
+
type MediaSessionCreateParams,
|
|
89
|
+
type MediaSessionDeleteParams,
|
|
90
|
+
type MediaSessionActivateParams,
|
|
91
|
+
} from './media-sessions';
|
|
65
92
|
export { Packages, type PackageListResponse, type PackageListParams } from './packages';
|
|
66
93
|
export { Profile, type ProfileUpdateParams } from './profile';
|
|
67
94
|
export {
|
|
@@ -71,10 +98,23 @@ export {
|
|
|
71
98
|
type ProxyDisconnectParams,
|
|
72
99
|
type ProxyStatusParams,
|
|
73
100
|
} from './proxy';
|
|
101
|
+
export {
|
|
102
|
+
Recordings,
|
|
103
|
+
type RecordingListResponse,
|
|
104
|
+
type RecordingStartResponse,
|
|
105
|
+
type RecordingStatusResponse,
|
|
106
|
+
type RecordingStopResponse,
|
|
107
|
+
type RecordingListParams,
|
|
108
|
+
type RecordingDeleteParams,
|
|
109
|
+
type RecordingStartParams,
|
|
110
|
+
type RecordingStatusParams,
|
|
111
|
+
type RecordingStopParams,
|
|
112
|
+
type RecordingTrajectoryParams,
|
|
113
|
+
type RecordingVideoParams,
|
|
114
|
+
} from './recordings';
|
|
74
115
|
export {
|
|
75
116
|
State,
|
|
76
117
|
type A11YNode,
|
|
77
|
-
type Rect,
|
|
78
118
|
type StateScreenshotResponse,
|
|
79
119
|
type StateTimeResponse,
|
|
80
120
|
type StateUiResponse,
|
|
@@ -8,7 +8,7 @@ import { path } from '../../internal/utils/path';
|
|
|
8
8
|
|
|
9
9
|
export class Keyboard extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Clears the contents of the currently focused text input field.
|
|
12
12
|
*/
|
|
13
13
|
clear(
|
|
14
14
|
deviceID: string,
|
|
@@ -31,7 +31,7 @@ export class Keyboard extends APIResource {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Sends a single Android key event to the device, identified by its key code.
|
|
35
35
|
*/
|
|
36
36
|
key(deviceID: string, params: KeyboardKeyParams, options?: RequestOptions): APIPromise<void> {
|
|
37
37
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -51,7 +51,9 @@ export class Keyboard extends APIResource {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Types the given text into the focused input field. Supports optionally clearing
|
|
55
|
+
* the field first and a stealth mode that emulates human typing speed and error
|
|
56
|
+
* rate on supported devices.
|
|
55
57
|
*/
|
|
56
58
|
write(deviceID: string, params: KeyboardWriteParams, options?: RequestOptions): APIPromise<void> {
|
|
57
59
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
7
|
+
import { path } from '../../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
export class Kiosk extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Disables Android lock-task (kiosk) mode on the device, releasing it from the
|
|
12
|
+
* locked app.
|
|
13
|
+
*/
|
|
14
|
+
disable(
|
|
15
|
+
deviceID: string,
|
|
16
|
+
params: KioskDisableParams | null | undefined = {},
|
|
17
|
+
options?: RequestOptions,
|
|
18
|
+
): APIPromise<void> {
|
|
19
|
+
const { 'X-Device-Display-ID': xDeviceDisplayID } = params ?? {};
|
|
20
|
+
return this._client.delete(path`/devices/${deviceID}/kiosk`, {
|
|
21
|
+
...options,
|
|
22
|
+
headers: buildHeaders([
|
|
23
|
+
{
|
|
24
|
+
Accept: '*/*',
|
|
25
|
+
...(xDeviceDisplayID?.toString() != null ?
|
|
26
|
+
{ 'X-Device-Display-ID': xDeviceDisplayID?.toString() }
|
|
27
|
+
: undefined),
|
|
28
|
+
},
|
|
29
|
+
options?.headers,
|
|
30
|
+
]),
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Locks the device to the package named in the request body using Android
|
|
36
|
+
* lock-task (kiosk) mode, preventing the user from leaving the app.
|
|
37
|
+
*/
|
|
38
|
+
enable(deviceID: string, params: KioskEnableParams, options?: RequestOptions): APIPromise<void> {
|
|
39
|
+
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
40
|
+
return this._client.put(path`/devices/${deviceID}/kiosk`, {
|
|
41
|
+
body,
|
|
42
|
+
...options,
|
|
43
|
+
headers: buildHeaders([
|
|
44
|
+
{
|
|
45
|
+
Accept: '*/*',
|
|
46
|
+
...(xDeviceDisplayID?.toString() != null ?
|
|
47
|
+
{ 'X-Device-Display-ID': xDeviceDisplayID?.toString() }
|
|
48
|
+
: undefined),
|
|
49
|
+
},
|
|
50
|
+
options?.headers,
|
|
51
|
+
]),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface KioskDisableParams {
|
|
57
|
+
'X-Device-Display-ID'?: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface KioskEnableParams {
|
|
61
|
+
/**
|
|
62
|
+
* Body param: Package to lock the device to (Android lock-task mode).
|
|
63
|
+
*/
|
|
64
|
+
packageName: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Header param
|
|
68
|
+
*/
|
|
69
|
+
'X-Device-Display-ID'?: number;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export declare namespace Kiosk {
|
|
73
|
+
export { type KioskDisableParams as KioskDisableParams, type KioskEnableParams as KioskEnableParams };
|
|
74
|
+
}
|
|
@@ -8,7 +8,7 @@ import { path } from '../../internal/utils/path';
|
|
|
8
8
|
|
|
9
9
|
export class Language extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Returns the device's current language/locale as a BCP-47 locale string.
|
|
12
12
|
*/
|
|
13
13
|
get(
|
|
14
14
|
deviceID: string,
|
|
@@ -30,7 +30,9 @@ export class Language extends APIResource {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Sets the device language/locale to the BCP-47 locale in the request body. An
|
|
34
|
+
* optional restart flag applies the change immediately by restarting the zygote
|
|
35
|
+
* instead of waiting for the next reboot.
|
|
34
36
|
*/
|
|
35
37
|
set(deviceID: string, params: LanguageSetParams, options?: RequestOptions): APIPromise<void> {
|
|
36
38
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -9,7 +9,8 @@ import { path } from '../../internal/utils/path';
|
|
|
9
9
|
|
|
10
10
|
export class Location extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Returns the device's current simulated GPS location as latitude and longitude.
|
|
13
|
+
* Devices without geo support return an unsupported-feature error.
|
|
13
14
|
*/
|
|
14
15
|
get(
|
|
15
16
|
deviceID: string,
|
|
@@ -31,7 +32,32 @@ export class Location extends APIResource {
|
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
/**
|
|
34
|
-
*
|
|
35
|
+
* Clears any simulated GPS location and restores the device's default location
|
|
36
|
+
* behavior. Devices without geo support return an unsupported-feature error.
|
|
37
|
+
*/
|
|
38
|
+
reset(
|
|
39
|
+
deviceID: string,
|
|
40
|
+
params: LocationResetParams | null | undefined = {},
|
|
41
|
+
options?: RequestOptions,
|
|
42
|
+
): APIPromise<void> {
|
|
43
|
+
const { 'X-Device-Display-ID': xDeviceDisplayID } = params ?? {};
|
|
44
|
+
return this._client.delete(path`/devices/${deviceID}/location`, {
|
|
45
|
+
...options,
|
|
46
|
+
headers: buildHeaders([
|
|
47
|
+
{
|
|
48
|
+
Accept: '*/*',
|
|
49
|
+
...(xDeviceDisplayID?.toString() != null ?
|
|
50
|
+
{ 'X-Device-Display-ID': xDeviceDisplayID?.toString() }
|
|
51
|
+
: undefined),
|
|
52
|
+
},
|
|
53
|
+
options?.headers,
|
|
54
|
+
]),
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Sets the device's simulated GPS location to the latitude and longitude in the
|
|
60
|
+
* request body. Devices without geo support return an unsupported-feature error.
|
|
35
61
|
*/
|
|
36
62
|
set(deviceID: string, params: LocationSetParams, options?: RequestOptions): APIPromise<void> {
|
|
37
63
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -55,6 +81,10 @@ export interface LocationGetParams {
|
|
|
55
81
|
'X-Device-Display-ID'?: number;
|
|
56
82
|
}
|
|
57
83
|
|
|
84
|
+
export interface LocationResetParams {
|
|
85
|
+
'X-Device-Display-ID'?: number;
|
|
86
|
+
}
|
|
87
|
+
|
|
58
88
|
export interface LocationSetParams {
|
|
59
89
|
/**
|
|
60
90
|
* Body param
|
|
@@ -73,5 +103,9 @@ export interface LocationSetParams {
|
|
|
73
103
|
}
|
|
74
104
|
|
|
75
105
|
export declare namespace Location {
|
|
76
|
-
export {
|
|
106
|
+
export {
|
|
107
|
+
type LocationGetParams as LocationGetParams,
|
|
108
|
+
type LocationResetParams as LocationResetParams,
|
|
109
|
+
type LocationSetParams as LocationSetParams,
|
|
110
|
+
};
|
|
77
111
|
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
7
|
+
import { path } from '../../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
export class MediaSessions extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Allocates an exclusive relay path and returns one-time publish and control
|
|
12
|
+
* credentials. The relay publisher must be established before activation.
|
|
13
|
+
*/
|
|
14
|
+
create(
|
|
15
|
+
deviceID: string,
|
|
16
|
+
body: MediaSessionCreateParams,
|
|
17
|
+
options?: RequestOptions,
|
|
18
|
+
): APIPromise<MediaSessionCreateResponse> {
|
|
19
|
+
return this._client.post(path`/devices/${deviceID}/media-sessions`, { body, ...options });
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Immediately revokes relay authorization, detaches virtual media inputs, and
|
|
24
|
+
* kicks the relay publisher.
|
|
25
|
+
*/
|
|
26
|
+
delete(sessionID: string, params: MediaSessionDeleteParams, options?: RequestOptions): APIPromise<void> {
|
|
27
|
+
const { deviceId, 'X-Media-Control-Token': xMediaControlToken } = params;
|
|
28
|
+
return this._client.delete(path`/devices/${deviceId}/media-sessions/${sessionID}`, {
|
|
29
|
+
...options,
|
|
30
|
+
headers: buildHeaders([
|
|
31
|
+
{ Accept: '*/*', 'X-Media-Control-Token': xMediaControlToken },
|
|
32
|
+
options?.headers,
|
|
33
|
+
]),
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Validates relay codecs and attaches one private RTSP source to either the
|
|
39
|
+
* virtual microphone or the combined microphone-and-camera pipeline.
|
|
40
|
+
*/
|
|
41
|
+
activate(
|
|
42
|
+
sessionID: string,
|
|
43
|
+
params: MediaSessionActivateParams,
|
|
44
|
+
options?: RequestOptions,
|
|
45
|
+
): APIPromise<MediaSessionActivateResponse> {
|
|
46
|
+
const { deviceId, 'X-Media-Control-Token': xMediaControlToken } = params;
|
|
47
|
+
return this._client.post(path`/devices/${deviceId}/media-sessions/${sessionID}/activate`, {
|
|
48
|
+
...options,
|
|
49
|
+
headers: buildHeaders([{ 'X-Media-Control-Token': xMediaControlToken }, options?.headers]),
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Returns status only. Publish URLs and credentials are never replayed after
|
|
55
|
+
* creation.
|
|
56
|
+
*/
|
|
57
|
+
retrieveCurrent(
|
|
58
|
+
deviceID: string,
|
|
59
|
+
options?: RequestOptions,
|
|
60
|
+
): APIPromise<MediaSessionRetrieveCurrentResponse> {
|
|
61
|
+
return this._client.get(path`/devices/${deviceID}/media-sessions/current`, options);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface MediaSessionCreateResponse {
|
|
66
|
+
camera: boolean;
|
|
67
|
+
|
|
68
|
+
controlToken: string;
|
|
69
|
+
|
|
70
|
+
expiresAt: string;
|
|
71
|
+
|
|
72
|
+
microphone: boolean;
|
|
73
|
+
|
|
74
|
+
publishToken: string;
|
|
75
|
+
|
|
76
|
+
publishUrl: string;
|
|
77
|
+
|
|
78
|
+
sessionId: string;
|
|
79
|
+
|
|
80
|
+
state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* A URL to the JSON Schema for this object.
|
|
84
|
+
*/
|
|
85
|
+
$schema?: string;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export interface MediaSessionActivateResponse {
|
|
89
|
+
camera: boolean;
|
|
90
|
+
|
|
91
|
+
expiresAt: string;
|
|
92
|
+
|
|
93
|
+
microphone: boolean;
|
|
94
|
+
|
|
95
|
+
sessionId: string;
|
|
96
|
+
|
|
97
|
+
state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* A URL to the JSON Schema for this object.
|
|
101
|
+
*/
|
|
102
|
+
$schema?: string;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export interface MediaSessionRetrieveCurrentResponse {
|
|
106
|
+
camera: boolean;
|
|
107
|
+
|
|
108
|
+
expiresAt: string;
|
|
109
|
+
|
|
110
|
+
microphone: boolean;
|
|
111
|
+
|
|
112
|
+
sessionId: string;
|
|
113
|
+
|
|
114
|
+
state: 'created' | 'publishing' | 'active' | 'stopping' | 'closed' | 'failed';
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* A URL to the JSON Schema for this object.
|
|
118
|
+
*/
|
|
119
|
+
$schema?: string;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export interface MediaSessionCreateParams {
|
|
123
|
+
/**
|
|
124
|
+
* Publish combined browser audio and H264 video into the device's virtual
|
|
125
|
+
* microphone and camera. Requires microphone=true.
|
|
126
|
+
*/
|
|
127
|
+
camera: boolean;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Publish browser audio into the device's virtual microphone.
|
|
131
|
+
*/
|
|
132
|
+
microphone: boolean;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export interface MediaSessionDeleteParams {
|
|
136
|
+
/**
|
|
137
|
+
* Path param
|
|
138
|
+
*/
|
|
139
|
+
deviceId: string;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Header param
|
|
143
|
+
*/
|
|
144
|
+
'X-Media-Control-Token': string;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export interface MediaSessionActivateParams {
|
|
148
|
+
/**
|
|
149
|
+
* Path param
|
|
150
|
+
*/
|
|
151
|
+
deviceId: string;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Header param
|
|
155
|
+
*/
|
|
156
|
+
'X-Media-Control-Token': string;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export declare namespace MediaSessions {
|
|
160
|
+
export {
|
|
161
|
+
type MediaSessionCreateResponse as MediaSessionCreateResponse,
|
|
162
|
+
type MediaSessionActivateResponse as MediaSessionActivateResponse,
|
|
163
|
+
type MediaSessionRetrieveCurrentResponse as MediaSessionRetrieveCurrentResponse,
|
|
164
|
+
type MediaSessionCreateParams as MediaSessionCreateParams,
|
|
165
|
+
type MediaSessionDeleteParams as MediaSessionDeleteParams,
|
|
166
|
+
type MediaSessionActivateParams as MediaSessionActivateParams,
|
|
167
|
+
};
|
|
168
|
+
}
|
|
@@ -8,7 +8,8 @@ import { path } from '../../internal/utils/path';
|
|
|
8
8
|
|
|
9
9
|
export class Packages extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Returns the package names of apps installed on the device. System and protected
|
|
12
|
+
* packages are excluded unless the corresponding query parameters are set.
|
|
12
13
|
*/
|
|
13
14
|
list(
|
|
14
15
|
deviceID: string,
|
|
@@ -8,7 +8,9 @@ import { path } from '../../internal/utils/path';
|
|
|
8
8
|
|
|
9
9
|
export class Proxy extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Routes the device's traffic through a SOCKS5 proxy supplied in the request body,
|
|
12
|
+
* replacing any existing connection. A smartIp option can be used to select an IP
|
|
13
|
+
* automatically; the legacy flat host/port/user/password fields remain supported.
|
|
12
14
|
*/
|
|
13
15
|
connect(deviceID: string, params: ProxyConnectParams, options?: RequestOptions): APIPromise<void> {
|
|
14
16
|
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
@@ -28,7 +30,8 @@ export class Proxy extends APIResource {
|
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
/**
|
|
31
|
-
*
|
|
33
|
+
* Disconnects the device's active proxy connection and clears its stored proxy
|
|
34
|
+
* state. Returns successfully if no proxy is connected.
|
|
32
35
|
*/
|
|
33
36
|
disconnect(
|
|
34
37
|
deviceID: string,
|
|
@@ -51,7 +54,8 @@ export class Proxy extends APIResource {
|
|
|
51
54
|
}
|
|
52
55
|
|
|
53
56
|
/**
|
|
54
|
-
*
|
|
57
|
+
* Returns the device's current proxy connection state, including whether a proxy
|
|
58
|
+
* is connected and its protocol and name.
|
|
55
59
|
*/
|
|
56
60
|
status(
|
|
57
61
|
deviceID: string,
|
|
@@ -93,6 +97,13 @@ export interface ProxyStatusResponse {
|
|
|
93
97
|
}
|
|
94
98
|
|
|
95
99
|
export interface ProxyConnectParams {
|
|
100
|
+
/**
|
|
101
|
+
* Body param: Mobilerun Connect proxy — pass exactly one of id (use an existing
|
|
102
|
+
* proxy's credentials) or country (provision or reuse a rotating residential proxy
|
|
103
|
+
* for the device).
|
|
104
|
+
*/
|
|
105
|
+
connect?: ProxyConnectParams.Connect;
|
|
106
|
+
|
|
96
107
|
/**
|
|
97
108
|
* @deprecated Body param
|
|
98
109
|
*/
|
|
@@ -135,6 +146,24 @@ export interface ProxyConnectParams {
|
|
|
135
146
|
}
|
|
136
147
|
|
|
137
148
|
export namespace ProxyConnectParams {
|
|
149
|
+
/**
|
|
150
|
+
* Mobilerun Connect proxy — pass exactly one of id (use an existing proxy's
|
|
151
|
+
* credentials) or country (provision or reuse a rotating residential proxy for the
|
|
152
|
+
* device).
|
|
153
|
+
*/
|
|
154
|
+
export interface Connect {
|
|
155
|
+
/**
|
|
156
|
+
* Existing Mobilerun Connect proxy id; its credentials are fetched server-side.
|
|
157
|
+
*/
|
|
158
|
+
id?: string;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* ISO 3166-1 alpha-2 country code; provisions (or reuses) a rotating residential
|
|
162
|
+
* Mobilerun Connect proxy for the device.
|
|
163
|
+
*/
|
|
164
|
+
country?: string;
|
|
165
|
+
}
|
|
166
|
+
|
|
138
167
|
/**
|
|
139
168
|
* SOCKS5 proxy configuration (required for socks5).
|
|
140
169
|
*/
|