@mobilerun/sdk 5.2.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/README.md +15 -12
- package/client.d.mts +36 -15
- package/client.d.mts.map +1 -1
- package/client.d.ts +36 -15
- package/client.d.ts.map +1 -1
- package/client.js +24 -3
- package/client.js.map +1 -1
- package/client.mjs +24 -3
- package/client.mjs.map +1 -1
- package/core/streaming.d.mts +33 -0
- package/core/streaming.d.mts.map +1 -0
- package/core/streaming.d.ts +33 -0
- package/core/streaming.d.ts.map +1 -0
- package/core/streaming.js +263 -0
- package/core/streaming.js.map +1 -0
- package/core/streaming.mjs +258 -0
- package/core/streaming.mjs.map +1 -0
- package/internal/decoders/line.d.mts +17 -0
- package/internal/decoders/line.d.mts.map +1 -0
- package/internal/decoders/line.d.ts +17 -0
- package/internal/decoders/line.d.ts.map +1 -0
- package/internal/decoders/line.js +113 -0
- package/internal/decoders/line.js.map +1 -0
- package/internal/decoders/line.mjs +108 -0
- package/internal/decoders/line.mjs.map +1 -0
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +10 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +10 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts +2 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +2 -0
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/tslib.js +18 -18
- package/package.json +12 -2
- 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 +34 -3
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +34 -3
- 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/assistant/assistant.d.mts +10 -0
- package/resources/assistant/assistant.d.mts.map +1 -0
- package/resources/assistant/assistant.d.ts +10 -0
- package/resources/assistant/assistant.d.ts.map +1 -0
- package/resources/assistant/assistant.js +17 -0
- package/resources/assistant/assistant.js.map +1 -0
- package/resources/assistant/assistant.mjs +12 -0
- package/resources/assistant/assistant.mjs.map +1 -0
- package/resources/assistant/conversations.d.mts +295 -0
- package/resources/assistant/conversations.d.mts.map +1 -0
- package/resources/assistant/conversations.d.ts +295 -0
- package/resources/assistant/conversations.d.ts.map +1 -0
- package/resources/assistant/conversations.js +109 -0
- package/resources/assistant/conversations.js.map +1 -0
- package/resources/assistant/conversations.mjs +105 -0
- package/resources/assistant/conversations.mjs.map +1 -0
- package/resources/assistant/index.d.mts +3 -0
- package/resources/assistant/index.d.mts.map +1 -0
- package/resources/assistant/index.d.ts +3 -0
- package/resources/assistant/index.d.ts.map +1 -0
- package/resources/assistant/index.js +9 -0
- package/resources/assistant/index.js.map +1 -0
- package/resources/assistant/index.mjs +4 -0
- package/resources/assistant/index.mjs.map +1 -0
- package/resources/assistant.d.mts +2 -0
- package/resources/assistant.d.mts.map +1 -0
- package/resources/assistant.d.ts +2 -0
- package/resources/assistant.d.ts.map +1 -0
- package/resources/assistant.js +6 -0
- package/resources/assistant.js.map +1 -0
- package/resources/assistant.mjs +3 -0
- package/resources/assistant.mjs.map +1 -0
- 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/clipboard.d.mts +40 -0
- package/resources/devices/clipboard.d.mts.map +1 -0
- package/resources/devices/clipboard.d.ts +40 -0
- package/resources/devices/clipboard.d.ts.map +1 -0
- package/resources/devices/clipboard.js +50 -0
- package/resources/devices/clipboard.js.map +1 -0
- package/resources/devices/clipboard.mjs +46 -0
- package/resources/devices/clipboard.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 +214 -19
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +214 -19
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +59 -2
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +59 -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 +12 -6
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +12 -6
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +15 -3
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +8 -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 +106 -0
- package/resources/esims/messages.d.mts.map +1 -0
- package/resources/esims/messages.d.ts +106 -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/files.d.mts +126 -0
- package/resources/files.d.mts.map +1 -0
- package/resources/files.d.ts +126 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +68 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +64 -0
- package/resources/files.mjs.map +1 -0
- package/resources/index.d.mts +13 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +13 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +17 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +8 -1
- package/resources/index.mjs.map +1 -1
- package/resources/messages/conversations.d.mts +82 -0
- package/resources/messages/conversations.d.mts.map +1 -0
- package/resources/messages/conversations.d.ts +82 -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 +51 -0
- package/resources/messages/messages.d.mts.map +1 -0
- package/resources/messages/messages.d.ts +51 -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/models.d.mts +20 -5
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +20 -5
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +1 -1
- package/resources/models.mjs +1 -1
- 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 +48 -0
- package/resources/numbers/messages.d.mts.map +1 -0
- package/resources/numbers/messages.d.ts +48 -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 +270 -0
- package/resources/numbers/numbers.d.mts.map +1 -0
- package/resources/numbers/numbers.d.ts +270 -0
- package/resources/numbers/numbers.d.ts.map +1 -0
- package/resources/numbers/numbers.js +134 -0
- package/resources/numbers/numbers.js.map +1 -0
- package/resources/numbers/numbers.mjs +129 -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 +145 -1
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +145 -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 +96 -26
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +96 -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 +381 -25
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +381 -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 +164 -21
- package/src/core/streaming.ts +315 -0
- package/src/internal/decoders/line.ts +135 -0
- package/src/internal/parse.ts +14 -0
- package/src/internal/request-options.ts +2 -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 +41 -2
- package/src/resources/assistant/assistant.ts +59 -0
- package/src/resources/assistant/conversations.ts +524 -0
- package/src/resources/assistant/index.ts +26 -0
- package/src/resources/assistant.ts +3 -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/clipboard.ts +87 -0
- package/src/resources/devices/deep-link.ts +70 -0
- package/src/resources/devices/devices.ts +427 -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 +51 -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 +1019 -0
- package/src/resources/esims/index.ts +28 -0
- package/src/resources/esims/messages.ts +187 -0
- package/src/resources/esims.ts +3 -0
- package/src/resources/files.ts +225 -0
- package/src/resources/index.ts +67 -8
- package/src/resources/messages/conversations.ts +132 -0
- package/src/resources/messages/index.ts +10 -0
- package/src/resources/messages/messages.ts +114 -0
- package/src/resources/messages.ts +3 -0
- package/src/resources/models.ts +22 -7
- package/src/resources/notifications.ts +118 -0
- package/src/resources/numbers/index.ts +16 -0
- package/src/resources/numbers/messages.ts +83 -0
- package/src/resources/numbers/numbers.ts +415 -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 +228 -1
- package/src/resources/workflows/executions.ts +139 -35
- package/src/resources/workflows/flows/actions.ts +129 -25
- package/src/resources/workflows/flows/flows.ts +638 -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/streaming.ts +2 -0
- package/src/version.ts +1 -1
- package/streaming.d.mts +3 -0
- package/streaming.d.mts.map +1 -0
- package/streaming.d.ts +3 -0
- package/streaming.d.ts.map +1 -0
- package/streaming.js +6 -0
- package/streaming.js.map +1 -0
- package/streaming.mjs +3 -0
- package/streaming.mjs.map +1 -0
- 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
|
@@ -4,28 +4,40 @@ import * as ActionsAPI from "./actions.mjs";
|
|
|
4
4
|
import { Actions, } from "./actions.mjs";
|
|
5
5
|
import * as AppsAPI from "./apps.mjs";
|
|
6
6
|
import { Apps, } from "./apps.mjs";
|
|
7
|
-
import * as
|
|
8
|
-
import {
|
|
7
|
+
import * as BrowserAPI from "./browser.mjs";
|
|
8
|
+
import { Browser } from "./browser.mjs";
|
|
9
|
+
import * as ClipboardAPI from "./clipboard.mjs";
|
|
10
|
+
import { Clipboard } from "./clipboard.mjs";
|
|
11
|
+
import * as DeepLinkAPI from "./deep-link.mjs";
|
|
12
|
+
import { DeepLink } from "./deep-link.mjs";
|
|
9
13
|
import * as FilesAPI from "./files.mjs";
|
|
10
14
|
import { Files, } from "./files.mjs";
|
|
11
15
|
import * as KeyboardAPI from "./keyboard.mjs";
|
|
12
16
|
import { Keyboard } from "./keyboard.mjs";
|
|
17
|
+
import * as KioskAPI from "./kiosk.mjs";
|
|
18
|
+
import { Kiosk } from "./kiosk.mjs";
|
|
13
19
|
import * as LanguageAPI from "./language.mjs";
|
|
14
20
|
import { Language } from "./language.mjs";
|
|
15
21
|
import * as LocationAPI from "./location.mjs";
|
|
16
22
|
import { Location } from "./location.mjs";
|
|
23
|
+
import * as MediaSessionsAPI from "./media-sessions.mjs";
|
|
24
|
+
import { MediaSessions, } from "./media-sessions.mjs";
|
|
17
25
|
import * as PackagesAPI from "./packages.mjs";
|
|
18
26
|
import { Packages } from "./packages.mjs";
|
|
19
27
|
import * as ProfileAPI from "./profile.mjs";
|
|
20
28
|
import { Profile } from "./profile.mjs";
|
|
21
29
|
import * as ProxyAPI from "./proxy.mjs";
|
|
22
30
|
import { Proxy as ProxyAPIProxy, } from "./proxy.mjs";
|
|
31
|
+
import * as RecordingsAPI from "./recordings.mjs";
|
|
32
|
+
import { Recordings, } from "./recordings.mjs";
|
|
23
33
|
import * as StateAPI from "./state.mjs";
|
|
24
34
|
import { State, } from "./state.mjs";
|
|
25
35
|
import * as TasksAPI from "./tasks.mjs";
|
|
26
36
|
import { Tasks } from "./tasks.mjs";
|
|
27
37
|
import * as TimezoneAPI from "./timezone.mjs";
|
|
28
38
|
import { Timezone } from "./timezone.mjs";
|
|
39
|
+
import * as EsimAPI from "./esim/esim.mjs";
|
|
40
|
+
import { Esim, } from "./esim/esim.mjs";
|
|
29
41
|
import { buildHeaders } from "../../internal/headers.mjs";
|
|
30
42
|
import { path } from "../../internal/utils/path.mjs";
|
|
31
43
|
export class Devices extends APIResource {
|
|
@@ -42,8 +54,14 @@ export class Devices extends APIResource {
|
|
|
42
54
|
this.proxy = new ProxyAPI.Proxy(this._client);
|
|
43
55
|
this.state = new StateAPI.State(this._client);
|
|
44
56
|
this.tasks = new TasksAPI.Tasks(this._client);
|
|
57
|
+
this.clipboard = new ClipboardAPI.Clipboard(this._client);
|
|
45
58
|
this.timezone = new TimezoneAPI.Timezone(this._client);
|
|
46
59
|
this.language = new LanguageAPI.Language(this._client);
|
|
60
|
+
this.deepLink = new DeepLinkAPI.DeepLink(this._client);
|
|
61
|
+
this.browser = new BrowserAPI.Browser(this._client);
|
|
62
|
+
this.kiosk = new KioskAPI.Kiosk(this._client);
|
|
63
|
+
this.mediaSessions = new MediaSessionsAPI.MediaSessions(this._client);
|
|
64
|
+
this.recordings = new RecordingsAPI.Recordings(this._client);
|
|
47
65
|
}
|
|
48
66
|
/**
|
|
49
67
|
* Requests a new device for the authenticated user from the device spec in the
|
|
@@ -120,6 +138,28 @@ export class Devices extends APIResource {
|
|
|
120
138
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
121
139
|
});
|
|
122
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* Wakes a parked device: capacity is preflighted (the device's data may be
|
|
143
|
+
* replicated to another node if its home is full), the device starts running
|
|
144
|
+
* again, and per-minute billing resumes. On a device that is not parked this is a
|
|
145
|
+
* no-op ready transition.
|
|
146
|
+
*/
|
|
147
|
+
resume(deviceID, options) {
|
|
148
|
+
return this._client.post(path `/devices/${deviceID}/resume`, {
|
|
149
|
+
...options,
|
|
150
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Returns the set of capabilities supported by this device. For a legacy device
|
|
155
|
+
* this reflects the live instance's actual tools rather than its static type; for
|
|
156
|
+
* a core-managed device it is resolved from provider/pool configuration without
|
|
157
|
+
* guaranteeing a live instance. Used to determine which tools and features are
|
|
158
|
+
* available for the device.
|
|
159
|
+
*/
|
|
160
|
+
retrieveCapabilities(deviceID, options) {
|
|
161
|
+
return this._client.get(path `/devices/${deviceID}/capabilities`, options);
|
|
162
|
+
}
|
|
123
163
|
/**
|
|
124
164
|
* Sets the display name for a device from the name in the request body and returns
|
|
125
165
|
* the updated device.
|
|
@@ -127,6 +167,17 @@ export class Devices extends APIResource {
|
|
|
127
167
|
setName(deviceID, body, options) {
|
|
128
168
|
return this._client.put(path `/devices/${deviceID}/name`, { body, ...options });
|
|
129
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* Parks the device: its data, apps and identity are kept, but nothing runs and
|
|
172
|
+
* nothing is billed until it is resumed. Only devices whose capabilities report
|
|
173
|
+
* stop=true support this; others return 404.
|
|
174
|
+
*/
|
|
175
|
+
stop(deviceID, options) {
|
|
176
|
+
return this._client.post(path `/devices/${deviceID}/stop`, {
|
|
177
|
+
...options,
|
|
178
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
179
|
+
});
|
|
180
|
+
}
|
|
130
181
|
/**
|
|
131
182
|
* Terminates the device and releases its resources. Termination can be scheduled
|
|
132
183
|
* for a future time or chained from a previous device via the request body, in
|
|
@@ -159,6 +210,12 @@ Devices.Profile = Profile;
|
|
|
159
210
|
Devices.Proxy = ProxyAPIProxy;
|
|
160
211
|
Devices.State = State;
|
|
161
212
|
Devices.Tasks = Tasks;
|
|
213
|
+
Devices.Clipboard = Clipboard;
|
|
162
214
|
Devices.Timezone = Timezone;
|
|
163
215
|
Devices.Language = Language;
|
|
216
|
+
Devices.DeepLink = DeepLink;
|
|
217
|
+
Devices.Browser = Browser;
|
|
218
|
+
Devices.Kiosk = Kiosk;
|
|
219
|
+
Devices.MediaSessions = MediaSessions;
|
|
220
|
+
Devices.Recordings = Recordings;
|
|
164
221
|
//# sourceMappingURL=devices.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices.mjs","sourceRoot":"","sources":["../../src/resources/devices/devices.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAOL,OAAO,GACR,sBAAkB;AACnB,OAAO,KAAK,OAAO,mBAAe;AAClC,OAAO,
|
|
1
|
+
{"version":3,"file":"devices.mjs","sourceRoot":"","sources":["../../src/resources/devices/devices.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAOL,OAAO,GACR,sBAAkB;AACnB,OAAO,KAAK,OAAO,mBAAe;AAClC,OAAO,EAWL,IAAI,GACL,mBAAe;AAChB,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAE,OAAO,EAA4D,sBAAkB;AAC9F,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAAE,SAAS,EAAgE,wBAAoB;AACtG,OAAO,KAAK,WAAW,wBAAoB;AAC3C,OAAO,EAAE,QAAQ,EAAiC,wBAAoB;AACtE,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAOL,KAAK,GACN,oBAAgB;AACjB,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAAE,QAAQ,EAA+D,uBAAmB;AACnG,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAAE,KAAK,EAAyC,oBAAgB;AACvE,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAAE,QAAQ,EAA6D,uBAAmB;AACjG,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAAE,QAAQ,EAA6D,uBAAmB;AACjG,OAAO,KAAK,gBAAgB,6BAAyB;AACrD,OAAO,EAOL,aAAa,GACd,6BAAyB;AAC1B,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAA0C,QAAQ,EAAE,uBAAmB;AAC9E,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G,QAAQ,CAAC;AAC5B,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC5B,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;AAC1B,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC;AACtB,OAAO,CAAC,aAAa,GAAG,aAAa,CAAC;AACtC,OAAO,CAAC,UAAU,GAAG,UAAU,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
|
+
export declare class Apn extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Returns the access point names (APNs) configured for the device's active eSIM
|
|
7
|
+
* subscriptions.
|
|
8
|
+
*/
|
|
9
|
+
list(deviceID: string, params?: ApnListParams | null | undefined, options?: RequestOptions): APIPromise<ApnListResponse | null>;
|
|
10
|
+
/**
|
|
11
|
+
* Marks an existing APN, identified by apnId, as the preferred APN for the given
|
|
12
|
+
* eSIM subscription in the request body.
|
|
13
|
+
*/
|
|
14
|
+
select(deviceID: string, params: ApnSelectParams, options?: RequestOptions): APIPromise<void>;
|
|
15
|
+
/**
|
|
16
|
+
* Creates an access point name (APN) from the request body and applies it to the
|
|
17
|
+
* given eSIM subscription. Type, protocol, and roaming protocol default to common
|
|
18
|
+
* values when omitted.
|
|
19
|
+
*/
|
|
20
|
+
set(deviceID: string, params: ApnSetParams, options?: RequestOptions): APIPromise<void>;
|
|
21
|
+
}
|
|
22
|
+
export type ApnListResponse = Array<ApnListResponse.ApnListResponseItem>;
|
|
23
|
+
export declare namespace ApnListResponse {
|
|
24
|
+
interface ApnListResponseItem {
|
|
25
|
+
id: number;
|
|
26
|
+
apn: string;
|
|
27
|
+
isPreferred: boolean;
|
|
28
|
+
mcc: string;
|
|
29
|
+
mnc: string;
|
|
30
|
+
name: string;
|
|
31
|
+
protocol: string;
|
|
32
|
+
roamingProtocol: string;
|
|
33
|
+
subId: number;
|
|
34
|
+
type: string;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
export interface ApnListParams {
|
|
38
|
+
'X-Device-Display-ID'?: number;
|
|
39
|
+
}
|
|
40
|
+
export interface ApnSelectParams {
|
|
41
|
+
/**
|
|
42
|
+
* Body param
|
|
43
|
+
*/
|
|
44
|
+
apnId: number;
|
|
45
|
+
/**
|
|
46
|
+
* Body param
|
|
47
|
+
*/
|
|
48
|
+
subId: number;
|
|
49
|
+
/**
|
|
50
|
+
* Header param
|
|
51
|
+
*/
|
|
52
|
+
'X-Device-Display-ID'?: number;
|
|
53
|
+
}
|
|
54
|
+
export interface ApnSetParams {
|
|
55
|
+
/**
|
|
56
|
+
* Body param
|
|
57
|
+
*/
|
|
58
|
+
apn: string;
|
|
59
|
+
/**
|
|
60
|
+
* Body param
|
|
61
|
+
*/
|
|
62
|
+
mcc: string;
|
|
63
|
+
/**
|
|
64
|
+
* Body param
|
|
65
|
+
*/
|
|
66
|
+
mnc: string;
|
|
67
|
+
/**
|
|
68
|
+
* Body param
|
|
69
|
+
*/
|
|
70
|
+
name: string;
|
|
71
|
+
/**
|
|
72
|
+
* Body param
|
|
73
|
+
*/
|
|
74
|
+
protocol: string;
|
|
75
|
+
/**
|
|
76
|
+
* Body param
|
|
77
|
+
*/
|
|
78
|
+
roamingProtocol: string;
|
|
79
|
+
/**
|
|
80
|
+
* Body param
|
|
81
|
+
*/
|
|
82
|
+
subId: number;
|
|
83
|
+
/**
|
|
84
|
+
* Body param
|
|
85
|
+
*/
|
|
86
|
+
type: string;
|
|
87
|
+
/**
|
|
88
|
+
* Header param
|
|
89
|
+
*/
|
|
90
|
+
'X-Device-Display-ID'?: number;
|
|
91
|
+
}
|
|
92
|
+
export declare namespace Apn {
|
|
93
|
+
export { type ApnListResponse as ApnListResponse, type ApnListParams as ApnListParams, type ApnSelectParams as ApnSelectParams, type ApnSetParams as ApnSetParams, };
|
|
94
|
+
}
|
|
95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AAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,YAAY,IAAI,YAAY,GAClC,CAAC;CACH"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
|
+
export declare class Apn extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Returns the access point names (APNs) configured for the device's active eSIM
|
|
7
|
+
* subscriptions.
|
|
8
|
+
*/
|
|
9
|
+
list(deviceID: string, params?: ApnListParams | null | undefined, options?: RequestOptions): APIPromise<ApnListResponse | null>;
|
|
10
|
+
/**
|
|
11
|
+
* Marks an existing APN, identified by apnId, as the preferred APN for the given
|
|
12
|
+
* eSIM subscription in the request body.
|
|
13
|
+
*/
|
|
14
|
+
select(deviceID: string, params: ApnSelectParams, options?: RequestOptions): APIPromise<void>;
|
|
15
|
+
/**
|
|
16
|
+
* Creates an access point name (APN) from the request body and applies it to the
|
|
17
|
+
* given eSIM subscription. Type, protocol, and roaming protocol default to common
|
|
18
|
+
* values when omitted.
|
|
19
|
+
*/
|
|
20
|
+
set(deviceID: string, params: ApnSetParams, options?: RequestOptions): APIPromise<void>;
|
|
21
|
+
}
|
|
22
|
+
export type ApnListResponse = Array<ApnListResponse.ApnListResponseItem>;
|
|
23
|
+
export declare namespace ApnListResponse {
|
|
24
|
+
interface ApnListResponseItem {
|
|
25
|
+
id: number;
|
|
26
|
+
apn: string;
|
|
27
|
+
isPreferred: boolean;
|
|
28
|
+
mcc: string;
|
|
29
|
+
mnc: string;
|
|
30
|
+
name: string;
|
|
31
|
+
protocol: string;
|
|
32
|
+
roamingProtocol: string;
|
|
33
|
+
subId: number;
|
|
34
|
+
type: string;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
export interface ApnListParams {
|
|
38
|
+
'X-Device-Display-ID'?: number;
|
|
39
|
+
}
|
|
40
|
+
export interface ApnSelectParams {
|
|
41
|
+
/**
|
|
42
|
+
* Body param
|
|
43
|
+
*/
|
|
44
|
+
apnId: number;
|
|
45
|
+
/**
|
|
46
|
+
* Body param
|
|
47
|
+
*/
|
|
48
|
+
subId: number;
|
|
49
|
+
/**
|
|
50
|
+
* Header param
|
|
51
|
+
*/
|
|
52
|
+
'X-Device-Display-ID'?: number;
|
|
53
|
+
}
|
|
54
|
+
export interface ApnSetParams {
|
|
55
|
+
/**
|
|
56
|
+
* Body param
|
|
57
|
+
*/
|
|
58
|
+
apn: string;
|
|
59
|
+
/**
|
|
60
|
+
* Body param
|
|
61
|
+
*/
|
|
62
|
+
mcc: string;
|
|
63
|
+
/**
|
|
64
|
+
* Body param
|
|
65
|
+
*/
|
|
66
|
+
mnc: string;
|
|
67
|
+
/**
|
|
68
|
+
* Body param
|
|
69
|
+
*/
|
|
70
|
+
name: string;
|
|
71
|
+
/**
|
|
72
|
+
* Body param
|
|
73
|
+
*/
|
|
74
|
+
protocol: string;
|
|
75
|
+
/**
|
|
76
|
+
* Body param
|
|
77
|
+
*/
|
|
78
|
+
roamingProtocol: string;
|
|
79
|
+
/**
|
|
80
|
+
* Body param
|
|
81
|
+
*/
|
|
82
|
+
subId: number;
|
|
83
|
+
/**
|
|
84
|
+
* Body param
|
|
85
|
+
*/
|
|
86
|
+
type: string;
|
|
87
|
+
/**
|
|
88
|
+
* Header param
|
|
89
|
+
*/
|
|
90
|
+
'X-Device-Display-ID'?: number;
|
|
91
|
+
}
|
|
92
|
+
export declare namespace Apn {
|
|
93
|
+
export { type ApnListResponse as ApnListResponse, type ApnListParams as ApnListParams, type ApnSelectParams as ApnSelectParams, type ApnSetParams as ApnSetParams, };
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=apn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apn.d.ts","sourceRoot":"","sources":["../../../src/resources/devices/esim/apn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;OAGG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,MAAM,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,GAAG,IAAI,CAAC;IAerC;;;OAGG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAiB7F;;;;OAIG;IACH,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE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KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,YAAY,IAAI,YAAY,GAClC,CAAC;CACH"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Apn = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../../internal/headers.js");
|
|
7
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
8
|
+
class Apn extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns the access point names (APNs) configured for the device's active eSIM
|
|
11
|
+
* subscriptions.
|
|
12
|
+
*/
|
|
13
|
+
list(deviceID, params = {}, options) {
|
|
14
|
+
const { 'X-Device-Display-ID': xDeviceDisplayID } = params ?? {};
|
|
15
|
+
return this._client.get((0, path_1.path) `/devices/${deviceID}/esim/apn`, {
|
|
16
|
+
...options,
|
|
17
|
+
headers: (0, headers_1.buildHeaders)([
|
|
18
|
+
{
|
|
19
|
+
...(xDeviceDisplayID?.toString() != null ?
|
|
20
|
+
{ 'X-Device-Display-ID': xDeviceDisplayID?.toString() }
|
|
21
|
+
: undefined),
|
|
22
|
+
},
|
|
23
|
+
options?.headers,
|
|
24
|
+
]),
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Marks an existing APN, identified by apnId, as the preferred APN for the given
|
|
29
|
+
* eSIM subscription in the request body.
|
|
30
|
+
*/
|
|
31
|
+
select(deviceID, params, options) {
|
|
32
|
+
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
33
|
+
return this._client.put((0, path_1.path) `/devices/${deviceID}/esim/apn`, {
|
|
34
|
+
body,
|
|
35
|
+
...options,
|
|
36
|
+
headers: (0, headers_1.buildHeaders)([
|
|
37
|
+
{
|
|
38
|
+
Accept: '*/*',
|
|
39
|
+
...(xDeviceDisplayID?.toString() != null ?
|
|
40
|
+
{ 'X-Device-Display-ID': xDeviceDisplayID?.toString() }
|
|
41
|
+
: undefined),
|
|
42
|
+
},
|
|
43
|
+
options?.headers,
|
|
44
|
+
]),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Creates an access point name (APN) from the request body and applies it to the
|
|
49
|
+
* given eSIM subscription. Type, protocol, and roaming protocol default to common
|
|
50
|
+
* values when omitted.
|
|
51
|
+
*/
|
|
52
|
+
set(deviceID, params, options) {
|
|
53
|
+
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
54
|
+
return this._client.post((0, path_1.path) `/devices/${deviceID}/esim/apn`, {
|
|
55
|
+
body,
|
|
56
|
+
...options,
|
|
57
|
+
headers: (0, headers_1.buildHeaders)([
|
|
58
|
+
{
|
|
59
|
+
Accept: '*/*',
|
|
60
|
+
...(xDeviceDisplayID?.toString() != null ?
|
|
61
|
+
{ 'X-Device-Display-ID': xDeviceDisplayID?.toString() }
|
|
62
|
+
: undefined),
|
|
63
|
+
},
|
|
64
|
+
options?.headers,
|
|
65
|
+
]),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.Apn = Apn;
|
|
70
|
+
//# sourceMappingURL=apn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apn.js","sourceRoot":"","sources":["../../../src/resources/devices/esim/apn.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,GAAI,SAAQ,sBAAW;IAClC;;;OAGG;IACH,IAAI,CACF,QAAgB,EAChB,SAA2C,EAAE,EAC7C,OAAwB;QAExB,MAAM,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,GAAG,MAAM,IAAI,EAAE,C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ACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,MAAM,EAAE,KAAK;oBACb,GAAG,CAAC,gBAAgB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBACxC,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,EAAE;wBACzD,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AAlED,kBAkEC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
4
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
5
|
+
export class Apn extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Returns the access point names (APNs) configured for the device's active eSIM
|
|
8
|
+
* subscriptions.
|
|
9
|
+
*/
|
|
10
|
+
list(deviceID, params = {}, options) {
|
|
11
|
+
const { 'X-Device-Display-ID': xDeviceDisplayID } = params ?? {};
|
|
12
|
+
return this._client.get(path `/devices/${deviceID}/esim/apn`, {
|
|
13
|
+
...options,
|
|
14
|
+
headers: buildHeaders([
|
|
15
|
+
{
|
|
16
|
+
...(xDeviceDisplayID?.toString() != null ?
|
|
17
|
+
{ 'X-Device-Display-ID': xDeviceDisplayID?.toString() }
|
|
18
|
+
: undefined),
|
|
19
|
+
},
|
|
20
|
+
options?.headers,
|
|
21
|
+
]),
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Marks an existing APN, identified by apnId, as the preferred APN for the given
|
|
26
|
+
* eSIM subscription in the request body.
|
|
27
|
+
*/
|
|
28
|
+
select(deviceID, params, options) {
|
|
29
|
+
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
30
|
+
return this._client.put(path `/devices/${deviceID}/esim/apn`, {
|
|
31
|
+
body,
|
|
32
|
+
...options,
|
|
33
|
+
headers: buildHeaders([
|
|
34
|
+
{
|
|
35
|
+
Accept: '*/*',
|
|
36
|
+
...(xDeviceDisplayID?.toString() != null ?
|
|
37
|
+
{ 'X-Device-Display-ID': xDeviceDisplayID?.toString() }
|
|
38
|
+
: undefined),
|
|
39
|
+
},
|
|
40
|
+
options?.headers,
|
|
41
|
+
]),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Creates an access point name (APN) from the request body and applies it to the
|
|
46
|
+
* given eSIM subscription. Type, protocol, and roaming protocol default to common
|
|
47
|
+
* values when omitted.
|
|
48
|
+
*/
|
|
49
|
+
set(deviceID, params, options) {
|
|
50
|
+
const { 'X-Device-Display-ID': xDeviceDisplayID, ...body } = params;
|
|
51
|
+
return this._client.post(path `/devices/${deviceID}/esim/apn`, {
|
|
52
|
+
body,
|
|
53
|
+
...options,
|
|
54
|
+
headers: buildHeaders([
|
|
55
|
+
{
|
|
56
|
+
Accept: '*/*',
|
|
57
|
+
...(xDeviceDisplayID?.toString() != null ?
|
|
58
|
+
{ 'X-Device-Display-ID': xDeviceDisplayID?.toString() }
|
|
59
|
+
: undefined),
|
|
60
|
+
},
|
|
61
|
+
options?.headers,
|
|
62
|
+
]),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=apn.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apn.mjs","sourceRoot":"","sources":["../../../src/resources/devices/esim/apn.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,GAAI,SAAQ,WAAW;IAClC;;;OAGG;IACH,IAAI,CACF,QAAgB,EAChB,SA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,CAAA,YAAY,QAAQ,WAAW,EAAE;YAC5D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,MAAM,EAAE,KAAK;oBACb,GAAG,CAAC,gBAAgB,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;wBACxC,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,EAAE;wBACzD,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as ApnAPI from "./apn.mjs";
|
|
3
|
+
import { Apn, ApnListParams, ApnListResponse, ApnSelectParams, ApnSetParams } from "./apn.mjs";
|
|
4
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
5
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
6
|
+
export declare class Esim extends APIResource {
|
|
7
|
+
apn: ApnAPI.Apn;
|
|
8
|
+
/**
|
|
9
|
+
* Returns the eSIM subscriptions currently provisioned on the device.
|
|
10
|
+
*/
|
|
11
|
+
list(deviceID: string, params?: EsimListParams | null | undefined, options?: RequestOptions): APIPromise<EsimListResponse | null>;
|
|
12
|
+
/**
|
|
13
|
+
* Download profile and/or enable subscription.
|
|
14
|
+
*/
|
|
15
|
+
activate(deviceID: string, params: EsimActivateParams, options?: RequestOptions): APIPromise<EsimActivateResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Enables the eSIM subscription identified by the subId in the request body so it
|
|
18
|
+
* becomes the active subscription.
|
|
19
|
+
*/
|
|
20
|
+
enable(deviceID: string, params: EsimEnableParams, options?: RequestOptions): APIPromise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* Deletes the eSIM subscription identified by the subId query parameter from the
|
|
23
|
+
* device.
|
|
24
|
+
*/
|
|
25
|
+
remove(deviceID: string, params: EsimRemoveParams, options?: RequestOptions): APIPromise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Enables or disables data roaming for the device's eSIM based on the enabled flag
|
|
28
|
+
* in the request body.
|
|
29
|
+
*/
|
|
30
|
+
setRoaming(deviceID: string, params: EsimSetRoamingParams, options?: RequestOptions): APIPromise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the connectivity status of the device's eSIM subscriptions.
|
|
33
|
+
*/
|
|
34
|
+
status(deviceID: string, params?: EsimStatusParams | null | undefined, options?: RequestOptions): APIPromise<EsimStatusResponse | null>;
|
|
35
|
+
}
|
|
36
|
+
export type EsimListResponse = Array<EsimListResponse.EsimListResponseItem>;
|
|
37
|
+
export declare namespace EsimListResponse {
|
|
38
|
+
interface EsimListResponseItem {
|
|
39
|
+
carrier: string;
|
|
40
|
+
displayName: string;
|
|
41
|
+
iccid: string;
|
|
42
|
+
isEmbedded: boolean;
|
|
43
|
+
slot: number;
|
|
44
|
+
subId: number;
|
|
45
|
+
type: string;
|
|
46
|
+
/**
|
|
47
|
+
* A URL to the JSON Schema for this object.
|
|
48
|
+
*/
|
|
49
|
+
$schema?: string;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export interface EsimActivateResponse {
|
|
53
|
+
carrier: string;
|
|
54
|
+
displayName: string;
|
|
55
|
+
iccid: string;
|
|
56
|
+
isEmbedded: boolean;
|
|
57
|
+
slot: number;
|
|
58
|
+
subId: number;
|
|
59
|
+
type: string;
|
|
60
|
+
/**
|
|
61
|
+
* A URL to the JSON Schema for this object.
|
|
62
|
+
*/
|
|
63
|
+
$schema?: string;
|
|
64
|
+
}
|
|
65
|
+
export type EsimStatusResponse = Array<EsimStatusResponse.EsimStatusResponseItem>;
|
|
66
|
+
export declare namespace EsimStatusResponse {
|
|
67
|
+
interface EsimStatusResponseItem {
|
|
68
|
+
carrier: string;
|
|
69
|
+
dataRoamingEnabled: boolean;
|
|
70
|
+
dataState: string;
|
|
71
|
+
isRoaming: boolean;
|
|
72
|
+
mobileDataEnabled: boolean;
|
|
73
|
+
networkType: string;
|
|
74
|
+
operator: string;
|
|
75
|
+
phoneType: string;
|
|
76
|
+
simState: string;
|
|
77
|
+
subId: number;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
export interface EsimListParams {
|
|
81
|
+
'X-Device-Display-ID'?: number;
|
|
82
|
+
}
|
|
83
|
+
export interface EsimActivateParams {
|
|
84
|
+
/**
|
|
85
|
+
* Body param
|
|
86
|
+
*/
|
|
87
|
+
enable: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Body param
|
|
90
|
+
*/
|
|
91
|
+
smDpAddr: string;
|
|
92
|
+
/**
|
|
93
|
+
* Body param: Optional carrier-issued confirmation code (the 4th LPA segment).
|
|
94
|
+
* Required only for plans whose SM-DP+ challenges the device for one. Requires
|
|
95
|
+
* matchingId — the LPA spec only interprets segment 4 when segment 3 is present.
|
|
96
|
+
*/
|
|
97
|
+
confirmationCode?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Body param
|
|
100
|
+
*/
|
|
101
|
+
matchingId?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Header param
|
|
104
|
+
*/
|
|
105
|
+
'X-Device-Display-ID'?: number;
|
|
106
|
+
}
|
|
107
|
+
export interface EsimEnableParams {
|
|
108
|
+
/**
|
|
109
|
+
* Body param
|
|
110
|
+
*/
|
|
111
|
+
subId: number;
|
|
112
|
+
/**
|
|
113
|
+
* Header param
|
|
114
|
+
*/
|
|
115
|
+
'X-Device-Display-ID'?: number;
|
|
116
|
+
}
|
|
117
|
+
export interface EsimRemoveParams {
|
|
118
|
+
/**
|
|
119
|
+
* Query param
|
|
120
|
+
*/
|
|
121
|
+
subId: number;
|
|
122
|
+
/**
|
|
123
|
+
* Header param
|
|
124
|
+
*/
|
|
125
|
+
'X-Device-Display-ID'?: number;
|
|
126
|
+
}
|
|
127
|
+
export interface EsimSetRoamingParams {
|
|
128
|
+
/**
|
|
129
|
+
* Body param
|
|
130
|
+
*/
|
|
131
|
+
enabled: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Header param
|
|
134
|
+
*/
|
|
135
|
+
'X-Device-Display-ID'?: number;
|
|
136
|
+
}
|
|
137
|
+
export interface EsimStatusParams {
|
|
138
|
+
'X-Device-Display-ID'?: number;
|
|
139
|
+
}
|
|
140
|
+
export declare namespace Esim {
|
|
141
|
+
export { type EsimListResponse as EsimListResponse, type EsimActivateResponse as EsimActivateResponse, type EsimStatusResponse as EsimStatusResponse, type EsimListParams as EsimListParams, type EsimActivateParams as EsimActivateParams, type EsimEnableParams as EsimEnableParams, type EsimRemoveParams as EsimRemoveParams, type EsimSetRoamingParams as EsimSetRoamingParams, type EsimStatusParams as EsimStatusParams, };
|
|
142
|
+
export { Apn as Apn, type ApnListResponse as ApnListResponse, type ApnListParams as ApnListParams, type ApnSelectParams as ApnSelectParams, type ApnSetParams as ApnSetParams, };
|
|
143
|
+
}
|
|
144
|
+
//# sourceMappingURL=esim.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esim.d.mts","sourceRoot":"","sources":["../../../src/resources/devices/esim/esim.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,MAAM,kBAAc;AAChC,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,YAAY,EAAE,kBAAc;AAC3F,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,IAAK,SAAQ,WAAW;IACnC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAgC;IAE/C;;OAEG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,MAAM,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAetC;;OAEG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