@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
package/src/client.ts
CHANGED
|
@@ -17,6 +17,7 @@ import * as Errors from './core/error';
|
|
|
17
17
|
import * as Uploads from './core/uploads';
|
|
18
18
|
import * as API from './resources/index';
|
|
19
19
|
import { APIPromise } from './core/api-promise';
|
|
20
|
+
import { AgentListResponse, Agents } from './resources/agents';
|
|
20
21
|
import {
|
|
21
22
|
AppConfirmUploadResponse,
|
|
22
23
|
AppCreateSignedUploadURLParams,
|
|
@@ -27,6 +28,7 @@ import {
|
|
|
27
28
|
AppListVersionsResponse,
|
|
28
29
|
AppMarkFailedResponse,
|
|
29
30
|
AppRetrieveResponse,
|
|
31
|
+
AppStorageUsageResponse,
|
|
30
32
|
Apps,
|
|
31
33
|
} from './resources/apps';
|
|
32
34
|
import {
|
|
@@ -42,8 +44,14 @@ import {
|
|
|
42
44
|
CarrierUpdateResponse,
|
|
43
45
|
Carriers,
|
|
44
46
|
} from './resources/carriers';
|
|
45
|
-
import { Hooks } from './resources/hooks';
|
|
46
47
|
import { ModelListResponse, Models } from './resources/models';
|
|
48
|
+
import {
|
|
49
|
+
NotificationCatalogResponse,
|
|
50
|
+
NotificationGetPreferencesResponse,
|
|
51
|
+
NotificationUpdatePreferencesParams,
|
|
52
|
+
NotificationUpdatePreferencesResponse,
|
|
53
|
+
Notifications,
|
|
54
|
+
} from './resources/notifications';
|
|
47
55
|
import {
|
|
48
56
|
ProfileCreateParams,
|
|
49
57
|
ProfileCreateResponse,
|
|
@@ -57,7 +65,6 @@ import {
|
|
|
57
65
|
} from './resources/profiles';
|
|
58
66
|
import {
|
|
59
67
|
Proxies,
|
|
60
|
-
ProxyConfig,
|
|
61
68
|
ProxyCreateParams,
|
|
62
69
|
ProxyCreateResponse,
|
|
63
70
|
ProxyDeleteResponse,
|
|
@@ -69,6 +76,12 @@ import {
|
|
|
69
76
|
ProxyUpdateParams,
|
|
70
77
|
ProxyUpdateResponse,
|
|
71
78
|
} from './resources/proxies';
|
|
79
|
+
import {
|
|
80
|
+
AppEventListParams,
|
|
81
|
+
AppEventListResponse,
|
|
82
|
+
AppEventRetrieveResponse,
|
|
83
|
+
AppEvents,
|
|
84
|
+
} from './resources/app-events/app-events';
|
|
72
85
|
import { Connect } from './resources/connect/connect';
|
|
73
86
|
import {
|
|
74
87
|
CredentialListParams,
|
|
@@ -76,20 +89,53 @@ import {
|
|
|
76
89
|
Credentials,
|
|
77
90
|
} from './resources/credentials/credentials';
|
|
78
91
|
import {
|
|
79
|
-
Device,
|
|
80
92
|
DeviceCountResponse,
|
|
81
93
|
DeviceCreateParams,
|
|
94
|
+
DeviceCreateResponse,
|
|
82
95
|
DeviceFingerprintParams,
|
|
83
96
|
DeviceFingerprintResponse,
|
|
84
97
|
DeviceListParams,
|
|
85
98
|
DeviceListResponse,
|
|
99
|
+
DeviceRetrieveCapabilitiesResponse,
|
|
100
|
+
DeviceRetrieveResponse,
|
|
86
101
|
DeviceSetNameParams,
|
|
102
|
+
DeviceSetNameResponse,
|
|
87
103
|
DeviceTerminateParams,
|
|
104
|
+
DeviceWaitReadyResponse,
|
|
88
105
|
Devices,
|
|
89
106
|
} from './resources/devices/devices';
|
|
90
107
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
108
|
+
EsimCapacityResponse,
|
|
109
|
+
EsimConfirmPaymentResponse,
|
|
110
|
+
EsimCreateParams,
|
|
111
|
+
EsimCreateResponse,
|
|
112
|
+
EsimImportParams,
|
|
113
|
+
EsimImportResponse,
|
|
114
|
+
EsimInstallParams,
|
|
115
|
+
EsimInstallResponse,
|
|
116
|
+
EsimInstallStatusResponse,
|
|
117
|
+
EsimListParams,
|
|
118
|
+
EsimListResponse,
|
|
119
|
+
EsimRetrieveResponse,
|
|
120
|
+
EsimSelectorResponse,
|
|
121
|
+
EsimUpdateParams,
|
|
122
|
+
EsimUpdateResponse,
|
|
123
|
+
Esims,
|
|
124
|
+
} from './resources/esims/esims';
|
|
125
|
+
import { MessageListParams, MessageListResponse, Messages } from './resources/messages/messages';
|
|
126
|
+
import {
|
|
127
|
+
NumberCountriesResponse,
|
|
128
|
+
NumberCreateParams,
|
|
129
|
+
NumberCreateResponse,
|
|
130
|
+
NumberDeleteResponse,
|
|
131
|
+
NumberListParams,
|
|
132
|
+
NumberListResponse,
|
|
133
|
+
NumberPurposesResponse,
|
|
134
|
+
NumberRetrieveResponse,
|
|
135
|
+
Numbers,
|
|
136
|
+
} from './resources/numbers/numbers';
|
|
137
|
+
import { Store, StoreCategoriesResponse } from './resources/store/store';
|
|
138
|
+
import {
|
|
93
139
|
TaskGetStatusResponse,
|
|
94
140
|
TaskGetTrajectoryResponse,
|
|
95
141
|
TaskListParams,
|
|
@@ -101,10 +147,8 @@ import {
|
|
|
101
147
|
TaskRunStreamedResponse,
|
|
102
148
|
TaskSendMessageParams,
|
|
103
149
|
TaskSendMessageResponse,
|
|
104
|
-
TaskStatus,
|
|
105
150
|
TaskStopResponse,
|
|
106
151
|
Tasks,
|
|
107
|
-
UsageResult,
|
|
108
152
|
} from './resources/tasks/tasks';
|
|
109
153
|
import {
|
|
110
154
|
WebhookCreateParams,
|
|
@@ -119,7 +163,7 @@ import {
|
|
|
119
163
|
WebhookUpdateResponse,
|
|
120
164
|
Webhooks,
|
|
121
165
|
} from './resources/webhooks/webhooks';
|
|
122
|
-
import {
|
|
166
|
+
import { Workflows } from './resources/workflows/workflows';
|
|
123
167
|
import { type Fetch } from './internal/builtin-types';
|
|
124
168
|
import { HeadersLike, NullableHeaders, buildHeaders } from './internal/headers';
|
|
125
169
|
import { FinalRequestOptions, RequestOptions } from './internal/request-options';
|
|
@@ -135,7 +179,7 @@ import { isEmptyObj } from './internal/utils/values';
|
|
|
135
179
|
|
|
136
180
|
export interface ClientOptions {
|
|
137
181
|
/**
|
|
138
|
-
*
|
|
182
|
+
* A bearer API key to authenticate requests.
|
|
139
183
|
*/
|
|
140
184
|
apiKey?: string | null | undefined;
|
|
141
185
|
|
|
@@ -847,7 +891,6 @@ export class Mobilerun {
|
|
|
847
891
|
carriers: API.Carriers = new API.Carriers(this);
|
|
848
892
|
credentials: API.Credentials = new API.Credentials(this);
|
|
849
893
|
devices: API.Devices = new API.Devices(this);
|
|
850
|
-
hooks: API.Hooks = new API.Hooks(this);
|
|
851
894
|
/**
|
|
852
895
|
* LLM Models
|
|
853
896
|
*/
|
|
@@ -861,13 +904,19 @@ export class Mobilerun {
|
|
|
861
904
|
tasks: API.Tasks = new API.Tasks(this);
|
|
862
905
|
workflows: API.Workflows = new API.Workflows(this);
|
|
863
906
|
webhooks: API.Webhooks = new API.Webhooks(this);
|
|
907
|
+
agents: API.Agents = new API.Agents(this);
|
|
908
|
+
appEvents: API.AppEvents = new API.AppEvents(this);
|
|
909
|
+
notifications: API.Notifications = new API.Notifications(this);
|
|
910
|
+
esims: API.Esims = new API.Esims(this);
|
|
911
|
+
messages: API.Messages = new API.Messages(this);
|
|
912
|
+
numbers: API.Numbers = new API.Numbers(this);
|
|
913
|
+
store: API.Store = new API.Store(this);
|
|
864
914
|
}
|
|
865
915
|
|
|
866
916
|
Mobilerun.Apps = Apps;
|
|
867
917
|
Mobilerun.Carriers = Carriers;
|
|
868
918
|
Mobilerun.Credentials = Credentials;
|
|
869
919
|
Mobilerun.Devices = Devices;
|
|
870
|
-
Mobilerun.Hooks = Hooks;
|
|
871
920
|
Mobilerun.Models = Models;
|
|
872
921
|
Mobilerun.Profiles = Profiles;
|
|
873
922
|
Mobilerun.Proxies = Proxies;
|
|
@@ -875,6 +924,13 @@ Mobilerun.Connect = Connect;
|
|
|
875
924
|
Mobilerun.Tasks = Tasks;
|
|
876
925
|
Mobilerun.Workflows = Workflows;
|
|
877
926
|
Mobilerun.Webhooks = Webhooks;
|
|
927
|
+
Mobilerun.Agents = Agents;
|
|
928
|
+
Mobilerun.AppEvents = AppEvents;
|
|
929
|
+
Mobilerun.Notifications = Notifications;
|
|
930
|
+
Mobilerun.Esims = Esims;
|
|
931
|
+
Mobilerun.Messages = Messages;
|
|
932
|
+
Mobilerun.Numbers = Numbers;
|
|
933
|
+
Mobilerun.Store = Store;
|
|
878
934
|
|
|
879
935
|
export declare namespace Mobilerun {
|
|
880
936
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -888,6 +944,7 @@ export declare namespace Mobilerun {
|
|
|
888
944
|
type AppCreateSignedUploadURLResponse as AppCreateSignedUploadURLResponse,
|
|
889
945
|
type AppListVersionsResponse as AppListVersionsResponse,
|
|
890
946
|
type AppMarkFailedResponse as AppMarkFailedResponse,
|
|
947
|
+
type AppStorageUsageResponse as AppStorageUsageResponse,
|
|
891
948
|
type AppListParams as AppListParams,
|
|
892
949
|
type AppCreateSignedUploadURLParams as AppCreateSignedUploadURLParams,
|
|
893
950
|
};
|
|
@@ -914,10 +971,14 @@ export declare namespace Mobilerun {
|
|
|
914
971
|
|
|
915
972
|
export {
|
|
916
973
|
Devices as Devices,
|
|
917
|
-
type
|
|
974
|
+
type DeviceCreateResponse as DeviceCreateResponse,
|
|
975
|
+
type DeviceRetrieveResponse as DeviceRetrieveResponse,
|
|
918
976
|
type DeviceListResponse as DeviceListResponse,
|
|
919
977
|
type DeviceCountResponse as DeviceCountResponse,
|
|
920
978
|
type DeviceFingerprintResponse as DeviceFingerprintResponse,
|
|
979
|
+
type DeviceRetrieveCapabilitiesResponse as DeviceRetrieveCapabilitiesResponse,
|
|
980
|
+
type DeviceSetNameResponse as DeviceSetNameResponse,
|
|
981
|
+
type DeviceWaitReadyResponse as DeviceWaitReadyResponse,
|
|
921
982
|
type DeviceCreateParams as DeviceCreateParams,
|
|
922
983
|
type DeviceListParams as DeviceListParams,
|
|
923
984
|
type DeviceFingerprintParams as DeviceFingerprintParams,
|
|
@@ -925,8 +986,6 @@ export declare namespace Mobilerun {
|
|
|
925
986
|
type DeviceTerminateParams as DeviceTerminateParams,
|
|
926
987
|
};
|
|
927
988
|
|
|
928
|
-
export { Hooks as Hooks };
|
|
929
|
-
|
|
930
989
|
export { Models as Models, type ModelListResponse as ModelListResponse };
|
|
931
990
|
|
|
932
991
|
export {
|
|
@@ -943,7 +1002,6 @@ export declare namespace Mobilerun {
|
|
|
943
1002
|
|
|
944
1003
|
export {
|
|
945
1004
|
Proxies as Proxies,
|
|
946
|
-
type ProxyConfig as ProxyConfig,
|
|
947
1005
|
type ProxyCreateResponse as ProxyCreateResponse,
|
|
948
1006
|
type ProxyRetrieveResponse as ProxyRetrieveResponse,
|
|
949
1007
|
type ProxyUpdateResponse as ProxyUpdateResponse,
|
|
@@ -960,10 +1018,6 @@ export declare namespace Mobilerun {
|
|
|
960
1018
|
|
|
961
1019
|
export {
|
|
962
1020
|
Tasks as Tasks,
|
|
963
|
-
type PackageCredentials as PackageCredentials,
|
|
964
|
-
type Task as Task,
|
|
965
|
-
type TaskStatus as TaskStatus,
|
|
966
|
-
type UsageResult as UsageResult,
|
|
967
1021
|
type TaskRetrieveResponse as TaskRetrieveResponse,
|
|
968
1022
|
type TaskListResponse as TaskListResponse,
|
|
969
1023
|
type TaskGetStatusResponse as TaskGetStatusResponse,
|
|
@@ -978,7 +1032,7 @@ export declare namespace Mobilerun {
|
|
|
978
1032
|
type TaskSendMessageParams as TaskSendMessageParams,
|
|
979
1033
|
};
|
|
980
1034
|
|
|
981
|
-
export { Workflows as Workflows
|
|
1035
|
+
export { Workflows as Workflows };
|
|
982
1036
|
|
|
983
1037
|
export {
|
|
984
1038
|
Webhooks as Webhooks,
|
|
@@ -994,6 +1048,62 @@ export declare namespace Mobilerun {
|
|
|
994
1048
|
type WebhookListParams as WebhookListParams,
|
|
995
1049
|
};
|
|
996
1050
|
|
|
1051
|
+
export { Agents as Agents, type AgentListResponse as AgentListResponse };
|
|
1052
|
+
|
|
1053
|
+
export {
|
|
1054
|
+
AppEvents as AppEvents,
|
|
1055
|
+
type AppEventRetrieveResponse as AppEventRetrieveResponse,
|
|
1056
|
+
type AppEventListResponse as AppEventListResponse,
|
|
1057
|
+
type AppEventListParams as AppEventListParams,
|
|
1058
|
+
};
|
|
1059
|
+
|
|
1060
|
+
export {
|
|
1061
|
+
Notifications as Notifications,
|
|
1062
|
+
type NotificationCatalogResponse as NotificationCatalogResponse,
|
|
1063
|
+
type NotificationGetPreferencesResponse as NotificationGetPreferencesResponse,
|
|
1064
|
+
type NotificationUpdatePreferencesResponse as NotificationUpdatePreferencesResponse,
|
|
1065
|
+
type NotificationUpdatePreferencesParams as NotificationUpdatePreferencesParams,
|
|
1066
|
+
};
|
|
1067
|
+
|
|
1068
|
+
export {
|
|
1069
|
+
Esims as Esims,
|
|
1070
|
+
type EsimCreateResponse as EsimCreateResponse,
|
|
1071
|
+
type EsimRetrieveResponse as EsimRetrieveResponse,
|
|
1072
|
+
type EsimUpdateResponse as EsimUpdateResponse,
|
|
1073
|
+
type EsimListResponse as EsimListResponse,
|
|
1074
|
+
type EsimCapacityResponse as EsimCapacityResponse,
|
|
1075
|
+
type EsimConfirmPaymentResponse as EsimConfirmPaymentResponse,
|
|
1076
|
+
type EsimImportResponse as EsimImportResponse,
|
|
1077
|
+
type EsimInstallResponse as EsimInstallResponse,
|
|
1078
|
+
type EsimInstallStatusResponse as EsimInstallStatusResponse,
|
|
1079
|
+
type EsimSelectorResponse as EsimSelectorResponse,
|
|
1080
|
+
type EsimCreateParams as EsimCreateParams,
|
|
1081
|
+
type EsimUpdateParams as EsimUpdateParams,
|
|
1082
|
+
type EsimListParams as EsimListParams,
|
|
1083
|
+
type EsimImportParams as EsimImportParams,
|
|
1084
|
+
type EsimInstallParams as EsimInstallParams,
|
|
1085
|
+
};
|
|
1086
|
+
|
|
1087
|
+
export {
|
|
1088
|
+
Messages as Messages,
|
|
1089
|
+
type MessageListResponse as MessageListResponse,
|
|
1090
|
+
type MessageListParams as MessageListParams,
|
|
1091
|
+
};
|
|
1092
|
+
|
|
1093
|
+
export {
|
|
1094
|
+
Numbers as Numbers,
|
|
1095
|
+
type NumberCreateResponse as NumberCreateResponse,
|
|
1096
|
+
type NumberRetrieveResponse as NumberRetrieveResponse,
|
|
1097
|
+
type NumberListResponse as NumberListResponse,
|
|
1098
|
+
type NumberDeleteResponse as NumberDeleteResponse,
|
|
1099
|
+
type NumberCountriesResponse as NumberCountriesResponse,
|
|
1100
|
+
type NumberPurposesResponse as NumberPurposesResponse,
|
|
1101
|
+
type NumberCreateParams as NumberCreateParams,
|
|
1102
|
+
type NumberListParams as NumberListParams,
|
|
1103
|
+
};
|
|
1104
|
+
|
|
1105
|
+
export { Store as Store, type StoreCategoriesResponse as StoreCategoriesResponse };
|
|
1106
|
+
|
|
997
1107
|
export type DeviceCarrier = API.DeviceCarrier;
|
|
998
1108
|
export type DeviceIdentifiers = API.DeviceIdentifiers;
|
|
999
1109
|
export type DeviceSpec = API.DeviceSpec;
|
|
@@ -1002,5 +1112,5 @@ export declare namespace Mobilerun {
|
|
|
1002
1112
|
export type Pagination = API.Pagination;
|
|
1003
1113
|
export type PaginationMeta = API.PaginationMeta;
|
|
1004
1114
|
export type PermissionSet = API.PermissionSet;
|
|
1005
|
-
export type
|
|
1115
|
+
export type Socks5ProxyConfig = API.Socks5ProxyConfig;
|
|
1006
1116
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { RequestOptions } from '../internal/request-options';
|
|
6
|
+
|
|
7
|
+
export class Agents extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* List all available agents with their default configurations.
|
|
10
|
+
*/
|
|
11
|
+
list(options?: RequestOptions): APIPromise<AgentListResponse> {
|
|
12
|
+
return this._client.get('/agents', options);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type AgentListResponse = Array<AgentListResponse.AgentListResponseItem>;
|
|
17
|
+
|
|
18
|
+
export namespace AgentListResponse {
|
|
19
|
+
export interface AgentListResponseItem {
|
|
20
|
+
id: number;
|
|
21
|
+
|
|
22
|
+
description: string | null;
|
|
23
|
+
|
|
24
|
+
icon: string;
|
|
25
|
+
|
|
26
|
+
llmModel: string;
|
|
27
|
+
|
|
28
|
+
maxSteps: number;
|
|
29
|
+
|
|
30
|
+
name: string;
|
|
31
|
+
|
|
32
|
+
reasoning: boolean;
|
|
33
|
+
|
|
34
|
+
subagentModel: string | null;
|
|
35
|
+
|
|
36
|
+
vision: boolean;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export declare namespace Agents {
|
|
41
|
+
export { type AgentListResponse as AgentListResponse };
|
|
42
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as Shared from '../shared';
|
|
5
|
+
import * as CatalogAPI from './catalog';
|
|
6
|
+
import { Catalog, CatalogListResponse, CatalogRetrieveResponse } from './catalog';
|
|
7
|
+
import { APIPromise } from '../../core/api-promise';
|
|
8
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
9
|
+
import { path } from '../../internal/utils/path';
|
|
10
|
+
|
|
11
|
+
export class AppEvents extends APIResource {
|
|
12
|
+
catalog: CatalogAPI.Catalog = new CatalogAPI.Catalog(this._client);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Fetch a single structured app event by its ID, including its typed payload,
|
|
16
|
+
* source, and originating device. Returns 404 if no event matches.
|
|
17
|
+
*/
|
|
18
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<AppEventRetrieveResponse> {
|
|
19
|
+
return this._client.get(path`/app-events/${id}`, options);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Structured, app-scoped events (e.g. app.whatsapp.message_received) derived from
|
|
24
|
+
* raw device notifications. Typed columns — not raw payloads (those stay in the
|
|
25
|
+
* event log).
|
|
26
|
+
*/
|
|
27
|
+
list(
|
|
28
|
+
query: AppEventListParams | null | undefined = {},
|
|
29
|
+
options?: RequestOptions,
|
|
30
|
+
): APIPromise<AppEventListResponse> {
|
|
31
|
+
return this._client.get('/app-events', { query, ...options });
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface AppEventRetrieveResponse {
|
|
36
|
+
data: AppEventRetrieveResponse.Data;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export namespace AppEventRetrieveResponse {
|
|
40
|
+
export interface Data {
|
|
41
|
+
id: string;
|
|
42
|
+
|
|
43
|
+
createdAt: string | null;
|
|
44
|
+
|
|
45
|
+
createdBy: string | null;
|
|
46
|
+
|
|
47
|
+
deviceId: string | null;
|
|
48
|
+
|
|
49
|
+
eventType: string;
|
|
50
|
+
|
|
51
|
+
occurredAt: string | null;
|
|
52
|
+
|
|
53
|
+
ownerId: string;
|
|
54
|
+
|
|
55
|
+
payload: { [key: string]: unknown };
|
|
56
|
+
|
|
57
|
+
rawEventId: string | null;
|
|
58
|
+
|
|
59
|
+
source: 'app' | 'system' | 'device' | 'webhook';
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
63
|
+
*/
|
|
64
|
+
userId: string;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface AppEventListResponse {
|
|
69
|
+
items: Array<AppEventListResponse.Item>;
|
|
70
|
+
|
|
71
|
+
pagination: Shared.Pagination;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export namespace AppEventListResponse {
|
|
75
|
+
export interface Item {
|
|
76
|
+
id: string;
|
|
77
|
+
|
|
78
|
+
createdAt: string | null;
|
|
79
|
+
|
|
80
|
+
createdBy: string | null;
|
|
81
|
+
|
|
82
|
+
deviceId: string | null;
|
|
83
|
+
|
|
84
|
+
eventType: string;
|
|
85
|
+
|
|
86
|
+
occurredAt: string | null;
|
|
87
|
+
|
|
88
|
+
ownerId: string;
|
|
89
|
+
|
|
90
|
+
payload: { [key: string]: unknown };
|
|
91
|
+
|
|
92
|
+
rawEventId: string | null;
|
|
93
|
+
|
|
94
|
+
source: 'app' | 'system' | 'device' | 'webhook';
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
98
|
+
*/
|
|
99
|
+
userId: string;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export interface AppEventListParams {
|
|
104
|
+
deviceId?: string;
|
|
105
|
+
|
|
106
|
+
eventType?: string;
|
|
107
|
+
|
|
108
|
+
from?: string | null;
|
|
109
|
+
|
|
110
|
+
page?: number;
|
|
111
|
+
|
|
112
|
+
pageSize?: number;
|
|
113
|
+
|
|
114
|
+
source?: 'app' | 'system' | 'device' | 'webhook';
|
|
115
|
+
|
|
116
|
+
to?: string | null;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
AppEvents.Catalog = Catalog;
|
|
120
|
+
|
|
121
|
+
export declare namespace AppEvents {
|
|
122
|
+
export {
|
|
123
|
+
type AppEventRetrieveResponse as AppEventRetrieveResponse,
|
|
124
|
+
type AppEventListResponse as AppEventListResponse,
|
|
125
|
+
type AppEventListParams as AppEventListParams,
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export {
|
|
129
|
+
Catalog as Catalog,
|
|
130
|
+
type CatalogRetrieveResponse as CatalogRetrieveResponse,
|
|
131
|
+
type CatalogListResponse as CatalogListResponse,
|
|
132
|
+
};
|
|
133
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { RequestOptions } from '../../internal/request-options';
|
|
6
|
+
import { path } from '../../internal/utils/path';
|
|
7
|
+
|
|
8
|
+
export class Catalog extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Fetch a single selectable app event by its appEventType (e.g.
|
|
11
|
+
* app.whatsapp.message_received).
|
|
12
|
+
*/
|
|
13
|
+
retrieve(appEventType: string, options?: RequestOptions): APIPromise<CatalogRetrieveResponse> {
|
|
14
|
+
return this._client.get(path`/app-events/catalog/${appEventType}`, options);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Selectable app-based trigger events (e.g. app.whatsapp.message_received) with
|
|
19
|
+
* their predefined payload — served from the JSON definition registry (always in
|
|
20
|
+
* sync, no DB).
|
|
21
|
+
*/
|
|
22
|
+
list(options?: RequestOptions): APIPromise<CatalogListResponse> {
|
|
23
|
+
return this._client.get('/app-events/catalog', options);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface CatalogRetrieveResponse {
|
|
28
|
+
data: CatalogRetrieveResponse.Data;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export namespace CatalogRetrieveResponse {
|
|
32
|
+
export interface Data {
|
|
33
|
+
appEventType: string;
|
|
34
|
+
|
|
35
|
+
appName: string;
|
|
36
|
+
|
|
37
|
+
category: 'app' | 'system' | 'device' | 'webhook';
|
|
38
|
+
|
|
39
|
+
label: string;
|
|
40
|
+
|
|
41
|
+
packageName: string | null;
|
|
42
|
+
|
|
43
|
+
payloadSchema: Array<Data.PayloadSchema>;
|
|
44
|
+
|
|
45
|
+
sourceEventType: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export namespace Data {
|
|
49
|
+
export interface PayloadSchema {
|
|
50
|
+
description: string;
|
|
51
|
+
|
|
52
|
+
name: string;
|
|
53
|
+
|
|
54
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
55
|
+
|
|
56
|
+
example?: unknown;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface CatalogListResponse {
|
|
62
|
+
data: Array<CatalogListResponse.Data>;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export namespace CatalogListResponse {
|
|
66
|
+
export interface Data {
|
|
67
|
+
appEventType: string;
|
|
68
|
+
|
|
69
|
+
appName: string;
|
|
70
|
+
|
|
71
|
+
category: 'app' | 'system' | 'device' | 'webhook';
|
|
72
|
+
|
|
73
|
+
label: string;
|
|
74
|
+
|
|
75
|
+
packageName: string | null;
|
|
76
|
+
|
|
77
|
+
payloadSchema: Array<Data.PayloadSchema>;
|
|
78
|
+
|
|
79
|
+
sourceEventType: string;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export namespace Data {
|
|
83
|
+
export interface PayloadSchema {
|
|
84
|
+
description: string;
|
|
85
|
+
|
|
86
|
+
name: string;
|
|
87
|
+
|
|
88
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
89
|
+
|
|
90
|
+
example?: unknown;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export declare namespace Catalog {
|
|
96
|
+
export {
|
|
97
|
+
type CatalogRetrieveResponse as CatalogRetrieveResponse,
|
|
98
|
+
type CatalogListResponse as CatalogListResponse,
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
AppEvents,
|
|
5
|
+
type AppEventRetrieveResponse,
|
|
6
|
+
type AppEventListResponse,
|
|
7
|
+
type AppEventListParams,
|
|
8
|
+
} from './app-events';
|
|
9
|
+
export { Catalog, type CatalogRetrieveResponse, type CatalogListResponse } from './catalog';
|
package/src/resources/apps.ts
CHANGED
|
@@ -119,6 +119,19 @@ export class Apps extends APIResource {
|
|
|
119
119
|
markFailed(id: string, options?: RequestOptions): APIPromise<AppMarkFailedResponse> {
|
|
120
120
|
return this._client.post(path`/apps/${id}/mark-failed`, options);
|
|
121
121
|
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Returns the user’s total storage quota, bytes used, and remaining bytes — the
|
|
125
|
+
* reliable maximum size for the next upload.
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* ```ts
|
|
129
|
+
* const response = await client.apps.storageUsage();
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
|
+
storageUsage(options?: RequestOptions): APIPromise<AppStorageUsageResponse> {
|
|
133
|
+
return this._client.get('/apps/storage-usage', options);
|
|
134
|
+
}
|
|
122
135
|
}
|
|
123
136
|
|
|
124
137
|
export interface AppRetrieveResponse {
|
|
@@ -814,6 +827,31 @@ export interface AppMarkFailedResponse {
|
|
|
814
827
|
success: true;
|
|
815
828
|
}
|
|
816
829
|
|
|
830
|
+
export interface AppStorageUsageResponse {
|
|
831
|
+
data: AppStorageUsageResponse.Data;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
export namespace AppStorageUsageResponse {
|
|
835
|
+
export interface Data {
|
|
836
|
+
/**
|
|
837
|
+
* Remaining bytes — the reliable maximum size for the next upload. Advisory
|
|
838
|
+
* snapshot: the quota is enforced under a lock at confirm, so concurrent uploads
|
|
839
|
+
* may reduce actual headroom.
|
|
840
|
+
*/
|
|
841
|
+
availableBytes: number;
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* Total storage allowance for the user, in bytes
|
|
845
|
+
*/
|
|
846
|
+
quotaBytes: number;
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Bytes currently consumed across all of the user’s app versions
|
|
850
|
+
*/
|
|
851
|
+
usedBytes: number;
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
|
|
817
855
|
export interface AppListParams {
|
|
818
856
|
order?: 'asc' | 'desc';
|
|
819
857
|
|
|
@@ -876,6 +914,7 @@ export declare namespace Apps {
|
|
|
876
914
|
type AppCreateSignedUploadURLResponse as AppCreateSignedUploadURLResponse,
|
|
877
915
|
type AppListVersionsResponse as AppListVersionsResponse,
|
|
878
916
|
type AppMarkFailedResponse as AppMarkFailedResponse,
|
|
917
|
+
type AppStorageUsageResponse as AppStorageUsageResponse,
|
|
879
918
|
type AppListParams as AppListParams,
|
|
880
919
|
type AppCreateSignedUploadURLParams as AppCreateSignedUploadURLParams,
|
|
881
920
|
};
|