@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
package/resources/index.d.mts
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
export * from "./shared.mjs";
|
|
2
|
-
export {
|
|
2
|
+
export { AppEvents, type AppEventRetrieveResponse, type AppEventListResponse, type AppEventListParams, } from "./app-events/app-events.mjs";
|
|
3
|
+
export { Apps, type AppRetrieveResponse, type AppListResponse, type AppDeleteResponse, type AppConfirmUploadResponse, type AppCreateSignedUploadURLResponse, type AppListVersionsResponse, type AppMarkFailedResponse, type AppStorageUsageResponse, type AppListParams, type AppCreateSignedUploadURLParams, } from "./apps.mjs";
|
|
4
|
+
export { Assistant } from "./assistant/assistant.mjs";
|
|
3
5
|
export { Carriers, type CarrierCreateResponse, type CarrierRetrieveResponse, type CarrierUpdateResponse, type CarrierListResponse, type CarrierDeleteResponse, type CarrierLookupResponse, type CarrierCreateParams, type CarrierUpdateParams, type CarrierListParams, type CarrierLookupParams, } from "./carriers.mjs";
|
|
4
6
|
export { Connect } from "./connect/connect.mjs";
|
|
5
7
|
export { Credentials, type CredentialListResponse, type CredentialListParams, } from "./credentials/credentials.mjs";
|
|
6
|
-
export { Devices, type
|
|
7
|
-
export {
|
|
8
|
+
export { Devices, type DeviceCreateResponse, type DeviceRetrieveResponse, type DeviceListResponse, type DeviceCountResponse, type DeviceFingerprintResponse, type DeviceRetrieveCapabilitiesResponse, type DeviceSetNameResponse, type DeviceWaitReadyResponse, type DeviceCreateParams, type DeviceListParams, type DeviceFingerprintParams, type DeviceSetNameParams, type DeviceTerminateParams, } from "./devices/devices.mjs";
|
|
9
|
+
export { Esims, type EsimCreateResponse, type EsimRetrieveResponse, type EsimUpdateResponse, type EsimListResponse, type EsimCapacityResponse, type EsimConfirmPaymentResponse, type EsimImportResponse, type EsimInstallResponse, type EsimInstallStatusResponse, type EsimSelectorResponse, type EsimCreateParams, type EsimUpdateParams, type EsimListParams, type EsimImportParams, type EsimInstallParams, type EsimSelectorParams, } from "./esims/esims.mjs";
|
|
10
|
+
export { Files, type FileUpdateResponse, type FileListResponse, type FileDeleteResponse, type FileCancelPendingResponse, type FileConfirmResponse, type FileUploadURLResponse, type FileUpdateParams, type FileListParams, type FileUploadURLParams, } from "./files.mjs";
|
|
11
|
+
export { Messages, type MessageListResponse, type MessageListParams } from "./messages/messages.mjs";
|
|
8
12
|
export { Models, type ModelListResponse } from "./models.mjs";
|
|
13
|
+
export { Notifications, type NotificationCatalogResponse, type NotificationGetPreferencesResponse, type NotificationUpdatePreferencesResponse, type NotificationUpdatePreferencesParams, } from "./notifications.mjs";
|
|
14
|
+
export { Numbers, type NumberCreateResponse, type NumberRetrieveResponse, type NumberUpdateResponse, type NumberListResponse, type NumberDeleteResponse, type NumberCountriesResponse, type NumberPurposesResponse, type NumberCreateParams, type NumberUpdateParams, type NumberListParams, } from "./numbers/numbers.mjs";
|
|
9
15
|
export { Profiles, type ProfileCreateResponse, type ProfileRetrieveResponse, type ProfileUpdateResponse, type ProfileListResponse, type ProfileDeleteResponse, type ProfileCreateParams, type ProfileUpdateParams, type ProfileListParams, } from "./profiles.mjs";
|
|
10
|
-
export { Proxies, type
|
|
11
|
-
export {
|
|
16
|
+
export { Proxies, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyDeleteResponse, type ProxyLookupResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, type ProxyLookupParams, } from "./proxies.mjs";
|
|
17
|
+
export { Store, type StoreCategoriesResponse } from "./store/store.mjs";
|
|
18
|
+
export { Tasks, type TaskRetrieveResponse, type TaskListResponse, type TaskGetStatusResponse, type TaskGetTrajectoryResponse, type TaskRunResponse, type TaskRunStreamedResponse, type TaskSendMessageResponse, type TaskStopResponse, type TaskListParams, type TaskRunParams, type TaskRunStreamedParams, type TaskSendMessageParams, } from "./tasks/tasks.mjs";
|
|
12
19
|
export { Webhooks, type WebhookCreateResponse, type WebhookRetrieveResponse, type WebhookUpdateResponse, type WebhookListResponse, type WebhookEventTypesResponse, type WebhookRotateSecretResponse, type WebhookTestDeliveryResponse, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, } from "./webhooks/webhooks.mjs";
|
|
13
|
-
export { Workflows
|
|
20
|
+
export { Workflows } from "./workflows/workflows.mjs";
|
|
14
21
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,6BA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KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,gCAA4B;AAC7B,OAAO,EAAE,SAAS,EAAE,kCAA8B"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
export * from "./shared.js";
|
|
2
|
-
export {
|
|
2
|
+
export { AppEvents, type AppEventRetrieveResponse, type AppEventListResponse, type AppEventListParams, } from "./app-events/app-events.js";
|
|
3
|
+
export { Apps, type AppRetrieveResponse, type AppListResponse, type AppDeleteResponse, type AppConfirmUploadResponse, type AppCreateSignedUploadURLResponse, type AppListVersionsResponse, type AppMarkFailedResponse, type AppStorageUsageResponse, type AppListParams, type AppCreateSignedUploadURLParams, } from "./apps.js";
|
|
4
|
+
export { Assistant } from "./assistant/assistant.js";
|
|
3
5
|
export { Carriers, type CarrierCreateResponse, type CarrierRetrieveResponse, type CarrierUpdateResponse, type CarrierListResponse, type CarrierDeleteResponse, type CarrierLookupResponse, type CarrierCreateParams, type CarrierUpdateParams, type CarrierListParams, type CarrierLookupParams, } from "./carriers.js";
|
|
4
6
|
export { Connect } from "./connect/connect.js";
|
|
5
7
|
export { Credentials, type CredentialListResponse, type CredentialListParams, } from "./credentials/credentials.js";
|
|
6
|
-
export { Devices, type
|
|
7
|
-
export {
|
|
8
|
+
export { Devices, type DeviceCreateResponse, type DeviceRetrieveResponse, type DeviceListResponse, type DeviceCountResponse, type DeviceFingerprintResponse, type DeviceRetrieveCapabilitiesResponse, type DeviceSetNameResponse, type DeviceWaitReadyResponse, type DeviceCreateParams, type DeviceListParams, type DeviceFingerprintParams, type DeviceSetNameParams, type DeviceTerminateParams, } from "./devices/devices.js";
|
|
9
|
+
export { Esims, type EsimCreateResponse, type EsimRetrieveResponse, type EsimUpdateResponse, type EsimListResponse, type EsimCapacityResponse, type EsimConfirmPaymentResponse, type EsimImportResponse, type EsimInstallResponse, type EsimInstallStatusResponse, type EsimSelectorResponse, type EsimCreateParams, type EsimUpdateParams, type EsimListParams, type EsimImportParams, type EsimInstallParams, type EsimSelectorParams, } from "./esims/esims.js";
|
|
10
|
+
export { Files, type FileUpdateResponse, type FileListResponse, type FileDeleteResponse, type FileCancelPendingResponse, type FileConfirmResponse, type FileUploadURLResponse, type FileUpdateParams, type FileListParams, type FileUploadURLParams, } from "./files.js";
|
|
11
|
+
export { Messages, type MessageListResponse, type MessageListParams } from "./messages/messages.js";
|
|
8
12
|
export { Models, type ModelListResponse } from "./models.js";
|
|
13
|
+
export { Notifications, type NotificationCatalogResponse, type NotificationGetPreferencesResponse, type NotificationUpdatePreferencesResponse, type NotificationUpdatePreferencesParams, } from "./notifications.js";
|
|
14
|
+
export { Numbers, type NumberCreateResponse, type NumberRetrieveResponse, type NumberUpdateResponse, type NumberListResponse, type NumberDeleteResponse, type NumberCountriesResponse, type NumberPurposesResponse, type NumberCreateParams, type NumberUpdateParams, type NumberListParams, } from "./numbers/numbers.js";
|
|
9
15
|
export { Profiles, type ProfileCreateResponse, type ProfileRetrieveResponse, type ProfileUpdateResponse, type ProfileListResponse, type ProfileDeleteResponse, type ProfileCreateParams, type ProfileUpdateParams, type ProfileListParams, } from "./profiles.js";
|
|
10
|
-
export { Proxies, type
|
|
11
|
-
export {
|
|
16
|
+
export { Proxies, type ProxyCreateResponse, type ProxyRetrieveResponse, type ProxyUpdateResponse, type ProxyListResponse, type ProxyDeleteResponse, type ProxyLookupResponse, type ProxyCreateParams, type ProxyUpdateParams, type ProxyListParams, type ProxyLookupParams, } from "./proxies.js";
|
|
17
|
+
export { Store, type StoreCategoriesResponse } from "./store/store.js";
|
|
18
|
+
export { Tasks, type TaskRetrieveResponse, type TaskListResponse, type TaskGetStatusResponse, type TaskGetTrajectoryResponse, type TaskRunResponse, type TaskRunStreamedResponse, type TaskSendMessageResponse, type TaskStopResponse, type TaskListParams, type TaskRunParams, type TaskRunStreamedParams, type TaskSendMessageParams, } from "./tasks/tasks.js";
|
|
12
19
|
export { Webhooks, type WebhookCreateResponse, type WebhookRetrieveResponse, type WebhookUpdateResponse, type WebhookListResponse, type WebhookEventTypesResponse, type WebhookRotateSecretResponse, type WebhookTestDeliveryResponse, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, } from "./webhooks/webhooks.js";
|
|
13
|
-
export { Workflows
|
|
20
|
+
export { Workflows } from "./workflows/workflows.js";
|
|
14
21
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EACL,IAAI,EACJ,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,aAAa,EAClB,KAAK,8BAA8B,GACpC,kBAAe;AAChB,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,GACzB,sBAAmB;AACpB,OAAO,EAAE,OAAO,EAAE,6BAA0B;AAC5C,OAAO,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B,qCAAkC;AACnC,OAAO,EACL,OAAO,EACP,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EAC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B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,qBAAkB;AACnB,OAAO,EAAE,KAAK,EAAE,KAAK,uBAAuB,EAAE,yBAAsB;AACpE,OAAO,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,yBAAsB;AACvB,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,+BAA4B;AAC7B,OAAO,EAAE,SAAS,EAAE,iCAA8B"}
|
package/resources/index.js
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Workflows = exports.Webhooks = exports.Tasks = exports.Proxies = exports.Profiles = exports.Models = exports.
|
|
4
|
+
exports.Workflows = exports.Webhooks = exports.Tasks = exports.Store = exports.Proxies = exports.Profiles = exports.Numbers = exports.Notifications = exports.Models = exports.Messages = exports.Files = exports.Esims = exports.Devices = exports.Credentials = exports.Connect = exports.Carriers = exports.Assistant = exports.Apps = exports.AppEvents = void 0;
|
|
5
5
|
const tslib_1 = require("../internal/tslib.js");
|
|
6
6
|
tslib_1.__exportStar(require("./shared.js"), exports);
|
|
7
|
+
var app_events_1 = require("./app-events/app-events.js");
|
|
8
|
+
Object.defineProperty(exports, "AppEvents", { enumerable: true, get: function () { return app_events_1.AppEvents; } });
|
|
7
9
|
var apps_1 = require("./apps.js");
|
|
8
10
|
Object.defineProperty(exports, "Apps", { enumerable: true, get: function () { return apps_1.Apps; } });
|
|
11
|
+
var assistant_1 = require("./assistant/assistant.js");
|
|
12
|
+
Object.defineProperty(exports, "Assistant", { enumerable: true, get: function () { return assistant_1.Assistant; } });
|
|
9
13
|
var carriers_1 = require("./carriers.js");
|
|
10
14
|
Object.defineProperty(exports, "Carriers", { enumerable: true, get: function () { return carriers_1.Carriers; } });
|
|
11
15
|
var connect_1 = require("./connect/connect.js");
|
|
@@ -14,14 +18,24 @@ var credentials_1 = require("./credentials/credentials.js");
|
|
|
14
18
|
Object.defineProperty(exports, "Credentials", { enumerable: true, get: function () { return credentials_1.Credentials; } });
|
|
15
19
|
var devices_1 = require("./devices/devices.js");
|
|
16
20
|
Object.defineProperty(exports, "Devices", { enumerable: true, get: function () { return devices_1.Devices; } });
|
|
17
|
-
var
|
|
18
|
-
Object.defineProperty(exports, "
|
|
21
|
+
var esims_1 = require("./esims/esims.js");
|
|
22
|
+
Object.defineProperty(exports, "Esims", { enumerable: true, get: function () { return esims_1.Esims; } });
|
|
23
|
+
var files_1 = require("./files.js");
|
|
24
|
+
Object.defineProperty(exports, "Files", { enumerable: true, get: function () { return files_1.Files; } });
|
|
25
|
+
var messages_1 = require("./messages/messages.js");
|
|
26
|
+
Object.defineProperty(exports, "Messages", { enumerable: true, get: function () { return messages_1.Messages; } });
|
|
19
27
|
var models_1 = require("./models.js");
|
|
20
28
|
Object.defineProperty(exports, "Models", { enumerable: true, get: function () { return models_1.Models; } });
|
|
29
|
+
var notifications_1 = require("./notifications.js");
|
|
30
|
+
Object.defineProperty(exports, "Notifications", { enumerable: true, get: function () { return notifications_1.Notifications; } });
|
|
31
|
+
var numbers_1 = require("./numbers/numbers.js");
|
|
32
|
+
Object.defineProperty(exports, "Numbers", { enumerable: true, get: function () { return numbers_1.Numbers; } });
|
|
21
33
|
var profiles_1 = require("./profiles.js");
|
|
22
34
|
Object.defineProperty(exports, "Profiles", { enumerable: true, get: function () { return profiles_1.Profiles; } });
|
|
23
35
|
var proxies_1 = require("./proxies.js");
|
|
24
36
|
Object.defineProperty(exports, "Proxies", { enumerable: true, get: function () { return proxies_1.Proxies; } });
|
|
37
|
+
var store_1 = require("./store/store.js");
|
|
38
|
+
Object.defineProperty(exports, "Store", { enumerable: true, get: function () { return store_1.Store; } });
|
|
25
39
|
var tasks_1 = require("./tasks/tasks.js");
|
|
26
40
|
Object.defineProperty(exports, "Tasks", { enumerable: true, get: function () { return tasks_1.Tasks; } });
|
|
27
41
|
var webhooks_1 = require("./webhooks/webhooks.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,yDAKiC;AAJ/B,uGAAA,SAAS,OAAA;AAKX,kCAYgB;AAXd,4FAAA,IAAI,OAAA;AAYN,sDAAkD;AAAzC,sGAAA,SAAS,OAAA;AAClB,0CAYoB;AAXlB,oGAAA,QAAQ,OAAA;AAYV,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,4DAImC;AAHjC,0GAAA,WAAW,OAAA;AAIb,gDAe2B;AAdzB,kGAAA,OAAO,OAAA;AAeT,0CAkBuB;AAjBrB,8FAAA,KAAK,OAAA;AAkBP,oCAWiB;AAVf,8FAAA,KAAK,OAAA;AAWP,mDAAiG;AAAxF,oGAAA,QAAQ,OAAA;AACjB,sCAA0D;AAAjD,gGAAA,MAAM,OAAA;AACf,oDAMyB;AALvB,8GAAA,aAAa,OAAA;AAMf,gDAY2B;AAXzB,kGAAA,OAAO,OAAA;AAYT,0CAUoB;AATlB,oGAAA,QAAQ,OAAA;AAUV,wCAYmB;AAXjB,kGAAA,OAAO,OAAA;AAYT,0CAAoE;AAA3D,8FAAA,KAAK,OAAA;AACd,0CAcuB;AAbrB,8FAAA,KAAK,OAAA;AAcP,mDAY6B;AAX3B,oGAAA,QAAQ,OAAA;AAYV,sDAAkD;AAAzC,sGAAA,SAAS,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export * from "./shared.mjs";
|
|
3
|
+
export { AppEvents, } from "./app-events/app-events.mjs";
|
|
3
4
|
export { Apps, } from "./apps.mjs";
|
|
5
|
+
export { Assistant } from "./assistant/assistant.mjs";
|
|
4
6
|
export { Carriers, } from "./carriers.mjs";
|
|
5
7
|
export { Connect } from "./connect/connect.mjs";
|
|
6
8
|
export { Credentials, } from "./credentials/credentials.mjs";
|
|
7
9
|
export { Devices, } from "./devices/devices.mjs";
|
|
8
|
-
export {
|
|
10
|
+
export { Esims, } from "./esims/esims.mjs";
|
|
11
|
+
export { Files, } from "./files.mjs";
|
|
12
|
+
export { Messages } from "./messages/messages.mjs";
|
|
9
13
|
export { Models } from "./models.mjs";
|
|
14
|
+
export { Notifications, } from "./notifications.mjs";
|
|
15
|
+
export { Numbers, } from "./numbers/numbers.mjs";
|
|
10
16
|
export { Profiles, } from "./profiles.mjs";
|
|
11
17
|
export { Proxies, } from "./proxies.mjs";
|
|
18
|
+
export { Store } from "./store/store.mjs";
|
|
12
19
|
export { Tasks, } from "./tasks/tasks.mjs";
|
|
13
20
|
export { Webhooks, } from "./webhooks/webhooks.mjs";
|
|
14
21
|
export { Workflows } from "./workflows/workflows.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,IAAI,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,SAAS,GAIV,oCAAgC;AACjC,OAAO,EACL,IAAI,GAWL,mBAAe;AAChB,OAAO,EAAE,SAAS,EAAE,kCAA8B;AAClD,OAAO,EACL,QAAQ,GAWT,uBAAmB;AACpB,OAAO,EAAE,OAAO,EAAE,8BAA0B;AAC5C,OAAO,EACL,WAAW,GAGZ,sCAAkC;AACnC,OAAO,EACL,OAAO,GAcR,8BAA0B;AAC3B,OAAO,EACL,KAAK,GAiBN,0BAAsB;AACvB,OAAO,EACL,KAAK,GAUN,oBAAgB;AACjB,OAAO,EAAE,QAAQ,EAAoD,gCAA4B;AACjG,OAAO,EAAE,MAAM,EAA0B,qBAAiB;AAC1D,OAAO,EACL,aAAa,GAKd,4BAAwB;AACzB,OAAO,EACL,OAAO,GAWR,8BAA0B;AAC3B,OAAO,EACL,QAAQ,GAST,uBAAmB;AACpB,OAAO,EACL,OAAO,GAWR,sBAAkB;AACnB,OAAO,EAAE,KAAK,EAAgC,0BAAsB;AACpE,OAAO,EACL,KAAK,GAaN,0BAAsB;AACvB,OAAO,EACL,QAAQ,GAWT,gCAA4B;AAC7B,OAAO,EAAE,SAAS,EAAE,kCAA8B"}
|
|
@@ -0,0 +1,82 @@
|
|
|
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 Conversations extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Lists the caller's own SMS conversations, one row per thread. Each row includes
|
|
7
|
+
* the most recent message in the thread, its unread inbound count, and the eSIMs
|
|
8
|
+
* it was seen through. Optional `esimId` or `numberId` narrows to threads on one
|
|
9
|
+
* eSIM or number.
|
|
10
|
+
*
|
|
11
|
+
* Cursor-paginated via `limit` (default 20, max 100) and
|
|
12
|
+
* `cursorLastOccurredAt`/`cursorLastMessageId` (both required together, taken from
|
|
13
|
+
* a previous page's `nextCursor`). Pagination follows each thread's most recent
|
|
14
|
+
* activity rather than a fixed snapshot, so a thread with new activity can move
|
|
15
|
+
* ahead of an in-progress page fetch. Clients that need a stable ordering should
|
|
16
|
+
* snapshot their own view.
|
|
17
|
+
*/
|
|
18
|
+
list(query?: ConversationListParams | null | undefined, options?: RequestOptions): APIPromise<ConversationListResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Marks the caller's own inbound messages in a conversation thread as read, up to
|
|
21
|
+
* and including the given `(upToOccurredAt, upToMessageId)` cursor — typically a
|
|
22
|
+
* conversation row's `lastMessage`. Idempotent: repeating the call with the same
|
|
23
|
+
* cursor updates 0 rows. Returns the number of rows updated.
|
|
24
|
+
*/
|
|
25
|
+
markRead(body: ConversationMarkReadParams, options?: RequestOptions): APIPromise<ConversationMarkReadResponse>;
|
|
26
|
+
}
|
|
27
|
+
export interface ConversationListResponse {
|
|
28
|
+
items: Array<ConversationListResponse.Item>;
|
|
29
|
+
nextCursor: ConversationListResponse.NextCursor | null;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace ConversationListResponse {
|
|
32
|
+
interface Item {
|
|
33
|
+
esimIds: Array<string>;
|
|
34
|
+
lastMessage: Item.LastMessage;
|
|
35
|
+
peerKey: string;
|
|
36
|
+
unreadCount: number;
|
|
37
|
+
}
|
|
38
|
+
namespace Item {
|
|
39
|
+
interface LastMessage {
|
|
40
|
+
id: string;
|
|
41
|
+
body: string | null;
|
|
42
|
+
direction: 'inbound' | 'outbound';
|
|
43
|
+
occurredAt: string;
|
|
44
|
+
status: 'received' | 'queued' | 'claimed' | 'sending' | 'sent' | 'sent_unconfirmed' | 'delivered' | 'failed';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
interface NextCursor {
|
|
48
|
+
lastMessageId: string;
|
|
49
|
+
lastOccurredAt: string;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export interface ConversationMarkReadResponse {
|
|
53
|
+
data: ConversationMarkReadResponse.Data;
|
|
54
|
+
}
|
|
55
|
+
export declare namespace ConversationMarkReadResponse {
|
|
56
|
+
interface Data {
|
|
57
|
+
updated: number;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export interface ConversationListParams {
|
|
61
|
+
cursorLastMessageId?: string;
|
|
62
|
+
cursorLastOccurredAt?: string;
|
|
63
|
+
esimId?: string;
|
|
64
|
+
limit?: number;
|
|
65
|
+
numberId?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface ConversationMarkReadParams {
|
|
68
|
+
/**
|
|
69
|
+
* The thread's canonical peer key (see GET .../conversations)
|
|
70
|
+
*/
|
|
71
|
+
peerKey: string;
|
|
72
|
+
upToMessageId: string;
|
|
73
|
+
/**
|
|
74
|
+
* Mark inbound messages read up to (and including) this occurredAt/upToMessageId
|
|
75
|
+
* cursor
|
|
76
|
+
*/
|
|
77
|
+
upToOccurredAt: string;
|
|
78
|
+
}
|
|
79
|
+
export declare namespace Conversations {
|
|
80
|
+
export { type ConversationListResponse as ConversationListResponse, type ConversationMarkReadResponse as ConversationMarkReadResponse, type ConversationListParams as ConversationListParams, type ConversationMarkReadParams as ConversationMarkReadParams, };
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=conversations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversations.d.mts","sourceRoot":"","sources":["../../src/resources/messages/conversations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C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B,CAAC,EAAE,MAAM,CAAC;IAE7B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -0,0 +1,82 @@
|
|
|
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 Conversations extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Lists the caller's own SMS conversations, one row per thread. Each row includes
|
|
7
|
+
* the most recent message in the thread, its unread inbound count, and the eSIMs
|
|
8
|
+
* it was seen through. Optional `esimId` or `numberId` narrows to threads on one
|
|
9
|
+
* eSIM or number.
|
|
10
|
+
*
|
|
11
|
+
* Cursor-paginated via `limit` (default 20, max 100) and
|
|
12
|
+
* `cursorLastOccurredAt`/`cursorLastMessageId` (both required together, taken from
|
|
13
|
+
* a previous page's `nextCursor`). Pagination follows each thread's most recent
|
|
14
|
+
* activity rather than a fixed snapshot, so a thread with new activity can move
|
|
15
|
+
* ahead of an in-progress page fetch. Clients that need a stable ordering should
|
|
16
|
+
* snapshot their own view.
|
|
17
|
+
*/
|
|
18
|
+
list(query?: ConversationListParams | null | undefined, options?: RequestOptions): APIPromise<ConversationListResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Marks the caller's own inbound messages in a conversation thread as read, up to
|
|
21
|
+
* and including the given `(upToOccurredAt, upToMessageId)` cursor — typically a
|
|
22
|
+
* conversation row's `lastMessage`. Idempotent: repeating the call with the same
|
|
23
|
+
* cursor updates 0 rows. Returns the number of rows updated.
|
|
24
|
+
*/
|
|
25
|
+
markRead(body: ConversationMarkReadParams, options?: RequestOptions): APIPromise<ConversationMarkReadResponse>;
|
|
26
|
+
}
|
|
27
|
+
export interface ConversationListResponse {
|
|
28
|
+
items: Array<ConversationListResponse.Item>;
|
|
29
|
+
nextCursor: ConversationListResponse.NextCursor | null;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace ConversationListResponse {
|
|
32
|
+
interface Item {
|
|
33
|
+
esimIds: Array<string>;
|
|
34
|
+
lastMessage: Item.LastMessage;
|
|
35
|
+
peerKey: string;
|
|
36
|
+
unreadCount: number;
|
|
37
|
+
}
|
|
38
|
+
namespace Item {
|
|
39
|
+
interface LastMessage {
|
|
40
|
+
id: string;
|
|
41
|
+
body: string | null;
|
|
42
|
+
direction: 'inbound' | 'outbound';
|
|
43
|
+
occurredAt: string;
|
|
44
|
+
status: 'received' | 'queued' | 'claimed' | 'sending' | 'sent' | 'sent_unconfirmed' | 'delivered' | 'failed';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
interface NextCursor {
|
|
48
|
+
lastMessageId: string;
|
|
49
|
+
lastOccurredAt: string;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export interface ConversationMarkReadResponse {
|
|
53
|
+
data: ConversationMarkReadResponse.Data;
|
|
54
|
+
}
|
|
55
|
+
export declare namespace ConversationMarkReadResponse {
|
|
56
|
+
interface Data {
|
|
57
|
+
updated: number;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export interface ConversationListParams {
|
|
61
|
+
cursorLastMessageId?: string;
|
|
62
|
+
cursorLastOccurredAt?: string;
|
|
63
|
+
esimId?: string;
|
|
64
|
+
limit?: number;
|
|
65
|
+
numberId?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface ConversationMarkReadParams {
|
|
68
|
+
/**
|
|
69
|
+
* The thread's canonical peer key (see GET .../conversations)
|
|
70
|
+
*/
|
|
71
|
+
peerKey: string;
|
|
72
|
+
upToMessageId: string;
|
|
73
|
+
/**
|
|
74
|
+
* Mark inbound messages read up to (and including) this occurredAt/upToMessageId
|
|
75
|
+
* cursor
|
|
76
|
+
*/
|
|
77
|
+
upToOccurredAt: string;
|
|
78
|
+
}
|
|
79
|
+
export declare namespace Conversations {
|
|
80
|
+
export { type ConversationListResponse as ConversationListResponse, type ConversationMarkReadResponse as ConversationMarkReadResponse, type ConversationListParams as ConversationListParams, type ConversationMarkReadParams as ConversationMarkReadParams, };
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=conversations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversations.d.ts","sourceRoot":"","sources":["../../src/resources/messages/conversations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;;;OAKG;IACH,QAAQ,CACN,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;CAG5C;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,KAAK,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAE5C,UAAU,EAAE,wBAAwB,CAAC,UAAU,GAAG,IAAI,CAAC;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AAwB,EACzD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.Conversations = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
class Conversations extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Lists the caller's own SMS conversations, one row per thread. Each row includes
|
|
9
|
+
* the most recent message in the thread, its unread inbound count, and the eSIMs
|
|
10
|
+
* it was seen through. Optional `esimId` or `numberId` narrows to threads on one
|
|
11
|
+
* eSIM or number.
|
|
12
|
+
*
|
|
13
|
+
* Cursor-paginated via `limit` (default 20, max 100) and
|
|
14
|
+
* `cursorLastOccurredAt`/`cursorLastMessageId` (both required together, taken from
|
|
15
|
+
* a previous page's `nextCursor`). Pagination follows each thread's most recent
|
|
16
|
+
* activity rather than a fixed snapshot, so a thread with new activity can move
|
|
17
|
+
* ahead of an in-progress page fetch. Clients that need a stable ordering should
|
|
18
|
+
* snapshot their own view.
|
|
19
|
+
*/
|
|
20
|
+
list(query = {}, options) {
|
|
21
|
+
return this._client.get('/numbers/messages/conversations', { query, ...options });
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Marks the caller's own inbound messages in a conversation thread as read, up to
|
|
25
|
+
* and including the given `(upToOccurredAt, upToMessageId)` cursor — typically a
|
|
26
|
+
* conversation row's `lastMessage`. Idempotent: repeating the call with the same
|
|
27
|
+
* cursor updates 0 rows. Returns the number of rows updated.
|
|
28
|
+
*/
|
|
29
|
+
markRead(body, options) {
|
|
30
|
+
return this._client.post('/numbers/messages/conversations/read', { body, ...options });
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.Conversations = Conversations;
|
|
34
|
+
//# sourceMappingURL=conversations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversations.js","sourceRoot":"","sources":["../../src/resources/messages/conversations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iCAAiC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;;OAKG;IACH,QAAQ,CACN,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF;AAjCD,sCAiCC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
export class Conversations extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Lists the caller's own SMS conversations, one row per thread. Each row includes
|
|
6
|
+
* the most recent message in the thread, its unread inbound count, and the eSIMs
|
|
7
|
+
* it was seen through. Optional `esimId` or `numberId` narrows to threads on one
|
|
8
|
+
* eSIM or number.
|
|
9
|
+
*
|
|
10
|
+
* Cursor-paginated via `limit` (default 20, max 100) and
|
|
11
|
+
* `cursorLastOccurredAt`/`cursorLastMessageId` (both required together, taken from
|
|
12
|
+
* a previous page's `nextCursor`). Pagination follows each thread's most recent
|
|
13
|
+
* activity rather than a fixed snapshot, so a thread with new activity can move
|
|
14
|
+
* ahead of an in-progress page fetch. Clients that need a stable ordering should
|
|
15
|
+
* snapshot their own view.
|
|
16
|
+
*/
|
|
17
|
+
list(query = {}, options) {
|
|
18
|
+
return this._client.get('/numbers/messages/conversations', { query, ...options });
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Marks the caller's own inbound messages in a conversation thread as read, up to
|
|
22
|
+
* and including the given `(upToOccurredAt, upToMessageId)` cursor — typically a
|
|
23
|
+
* conversation row's `lastMessage`. Idempotent: repeating the call with the same
|
|
24
|
+
* cursor updates 0 rows. Returns the number of rows updated.
|
|
25
|
+
*/
|
|
26
|
+
markRead(body, options) {
|
|
27
|
+
return this._client.post('/numbers/messages/conversations/read', { body, ...options });
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=conversations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversations.mjs","sourceRoot":"","sources":["../../src/resources/messages/conversations.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iCAAiC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;;OAKG;IACH,QAAQ,CACN,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Conversations, type ConversationListResponse, type ConversationMarkReadResponse, type ConversationListParams, type ConversationMarkReadParams, } from "./conversations.mjs";
|
|
2
|
+
export { Messages, type MessageListResponse, type MessageListParams } from "./messages.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/messages/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,GAChC,4BAAwB;AACzB,OAAO,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,uBAAmB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Conversations, type ConversationListResponse, type ConversationMarkReadResponse, type ConversationListParams, type ConversationMarkReadParams, } from "./conversations.js";
|
|
2
|
+
export { Messages, type MessageListResponse, type MessageListParams } from "./messages.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/messages/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,GAChC,2BAAwB;AACzB,OAAO,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,sBAAmB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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.Messages = exports.Conversations = void 0;
|
|
5
|
+
var conversations_1 = require("./conversations.js");
|
|
6
|
+
Object.defineProperty(exports, "Conversations", { enumerable: true, get: function () { return conversations_1.Conversations; } });
|
|
7
|
+
var messages_1 = require("./messages.js");
|
|
8
|
+
Object.defineProperty(exports, "Messages", { enumerable: true, get: function () { return messages_1.Messages; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/messages/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAMyB;AALvB,8GAAA,aAAa,OAAA;AAMf,0CAAwF;AAA/E,oGAAA,QAAQ,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/messages/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,aAAa,GAKd,4BAAwB;AACzB,OAAO,EAAE,QAAQ,EAAoD,uBAAmB"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as Shared from "../shared.mjs";
|
|
3
|
+
import * as ConversationsAPI from "./conversations.mjs";
|
|
4
|
+
import { ConversationListParams, ConversationListResponse, ConversationMarkReadParams, ConversationMarkReadResponse, Conversations } from "./conversations.mjs";
|
|
5
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
6
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
7
|
+
export declare class Messages extends APIResource {
|
|
8
|
+
conversations: ConversationsAPI.Conversations;
|
|
9
|
+
/**
|
|
10
|
+
* Lists the caller's own SMS messages, newest first. Supports filtering by
|
|
11
|
+
* direction, esimId, numberId, status, peerNumber (substring search, min 3
|
|
12
|
+
* characters), and peerKey (exact thread match). Each row includes its canonical
|
|
13
|
+
* thread key (`peerKey`).
|
|
14
|
+
*/
|
|
15
|
+
list(query?: MessageListParams | null | undefined, options?: RequestOptions): APIPromise<MessageListResponse>;
|
|
16
|
+
}
|
|
17
|
+
export interface MessageListResponse {
|
|
18
|
+
items: Array<MessageListResponse.Item>;
|
|
19
|
+
pagination: Shared.Pagination;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace MessageListResponse {
|
|
22
|
+
interface Item {
|
|
23
|
+
id: string;
|
|
24
|
+
body: string | null;
|
|
25
|
+
createdAt: string;
|
|
26
|
+
deliveryStatus: string | null;
|
|
27
|
+
detectedSender: string | null;
|
|
28
|
+
direction: 'inbound' | 'outbound';
|
|
29
|
+
esimId: string | null;
|
|
30
|
+
occurredAt: string;
|
|
31
|
+
peerKey: string | null;
|
|
32
|
+
peerNumber: string | null;
|
|
33
|
+
providerCode: string | null;
|
|
34
|
+
status: 'received' | 'queued' | 'claimed' | 'sending' | 'sent' | 'sent_unconfirmed' | 'delivered' | 'failed';
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
export interface MessageListParams {
|
|
38
|
+
direction?: 'all' | 'inbound' | 'outbound';
|
|
39
|
+
esimId?: string;
|
|
40
|
+
numberId?: string;
|
|
41
|
+
page?: number;
|
|
42
|
+
pageSize?: number;
|
|
43
|
+
peerKey?: string;
|
|
44
|
+
peerNumber?: string;
|
|
45
|
+
status?: 'all' | 'received' | 'queued' | 'claimed' | 'sending' | 'sent' | 'sent_unconfirmed' | 'delivered' | 'failed';
|
|
46
|
+
}
|
|
47
|
+
export declare namespace Messages {
|
|
48
|
+
export { type MessageListResponse as MessageListResponse, type MessageListParams as MessageListParams };
|
|
49
|
+
export { Conversations as Conversations, type ConversationListResponse as ConversationListResponse, type ConversationMarkReadResponse as ConversationMarkReadResponse, type ConversationListParams as ConversationListParams, type ConversationMarkReadParams as ConversationMarkReadParams, };
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=messages.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.mts","sourceRoot":"","sources":["../../src/resources/messages/messages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,KAAK,gBAAgB,4BAAwB;AACpD,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,4BAA4B,EAC5B,aAAa,EACd,4BAAwB;AACzB,OAAO,EAAE,UAAU,EAAE,mCAA+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,MAAM,CAAC;IAElB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,MAAM,CAAC,EACH,KAAK,GACL,UAAU,GACV,QAAQ,GACR,SAAS,GACT,SAAS,GACT,MAAM,GACN,kBAAkB,GAClB,WAAW,GACX,QAAQ,CAAC;CACd;AAID,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;IAExG,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as Shared from "../shared.js";
|
|
3
|
+
import * as ConversationsAPI from "./conversations.js";
|
|
4
|
+
import { ConversationListParams, ConversationListResponse, ConversationMarkReadParams, ConversationMarkReadResponse, Conversations } from "./conversations.js";
|
|
5
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
6
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
7
|
+
export declare class Messages extends APIResource {
|
|
8
|
+
conversations: ConversationsAPI.Conversations;
|
|
9
|
+
/**
|
|
10
|
+
* Lists the caller's own SMS messages, newest first. Supports filtering by
|
|
11
|
+
* direction, esimId, numberId, status, peerNumber (substring search, min 3
|
|
12
|
+
* characters), and peerKey (exact thread match). Each row includes its canonical
|
|
13
|
+
* thread key (`peerKey`).
|
|
14
|
+
*/
|
|
15
|
+
list(query?: MessageListParams | null | undefined, options?: RequestOptions): APIPromise<MessageListResponse>;
|
|
16
|
+
}
|
|
17
|
+
export interface MessageListResponse {
|
|
18
|
+
items: Array<MessageListResponse.Item>;
|
|
19
|
+
pagination: Shared.Pagination;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace MessageListResponse {
|
|
22
|
+
interface Item {
|
|
23
|
+
id: string;
|
|
24
|
+
body: string | null;
|
|
25
|
+
createdAt: string;
|
|
26
|
+
deliveryStatus: string | null;
|
|
27
|
+
detectedSender: string | null;
|
|
28
|
+
direction: 'inbound' | 'outbound';
|
|
29
|
+
esimId: string | null;
|
|
30
|
+
occurredAt: string;
|
|
31
|
+
peerKey: string | null;
|
|
32
|
+
peerNumber: string | null;
|
|
33
|
+
providerCode: string | null;
|
|
34
|
+
status: 'received' | 'queued' | 'claimed' | 'sending' | 'sent' | 'sent_unconfirmed' | 'delivered' | 'failed';
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
export interface MessageListParams {
|
|
38
|
+
direction?: 'all' | 'inbound' | 'outbound';
|
|
39
|
+
esimId?: string;
|
|
40
|
+
numberId?: string;
|
|
41
|
+
page?: number;
|
|
42
|
+
pageSize?: number;
|
|
43
|
+
peerKey?: string;
|
|
44
|
+
peerNumber?: string;
|
|
45
|
+
status?: 'all' | 'received' | 'queued' | 'claimed' | 'sending' | 'sent' | 'sent_unconfirmed' | 'delivered' | 'failed';
|
|
46
|
+
}
|
|
47
|
+
export declare namespace Messages {
|
|
48
|
+
export { type MessageListResponse as MessageListResponse, type MessageListParams as MessageListParams };
|
|
49
|
+
export { Conversations as Conversations, type ConversationListResponse as ConversationListResponse, type ConversationMarkReadResponse as ConversationMarkReadResponse, type ConversationListParams as ConversationListParams, type ConversationMarkReadParams as ConversationMarkReadParams, };
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/resources/messages/messages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,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