@mobilerun/sdk 5.5.0 → 6.0.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 +30 -0
- package/README.md +0 -9
- package/client.d.mts +12 -30
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -30
- package/client.d.ts.map +1 -1
- package/client.js +1 -18
- package/client.js.map +1 -1
- package/client.mjs +2 -19
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +39 -26
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +39 -26
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +20 -7
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +20 -7
- package/resources/apps.mjs.map +1 -1
- package/resources/assistant/conversations.d.mts +7 -17
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +7 -17
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/assistant/conversations.js +4 -11
- package/resources/assistant/conversations.js.map +1 -1
- package/resources/assistant/conversations.mjs +4 -11
- package/resources/assistant/conversations.mjs.map +1 -1
- package/resources/connect/connect.d.mts +2 -2
- package/resources/connect/connect.d.mts.map +1 -1
- package/resources/connect/connect.d.ts +2 -2
- package/resources/connect/connect.d.ts.map +1 -1
- package/resources/connect/connect.js.map +1 -1
- package/resources/connect/connect.mjs.map +1 -1
- package/resources/connect/index.d.mts +1 -1
- package/resources/connect/index.d.mts.map +1 -1
- package/resources/connect/index.d.ts +1 -1
- package/resources/connect/index.d.ts.map +1 -1
- package/resources/connect/index.js.map +1 -1
- package/resources/connect/index.mjs.map +1 -1
- package/resources/connect/proxies.d.mts +102 -17
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +102 -17
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +27 -14
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +27 -14
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/connect/users.d.mts +4 -4
- package/resources/connect/users.d.ts +4 -4
- package/resources/connect/users.js +2 -2
- package/resources/connect/users.mjs +2 -2
- package/resources/devices/actions.d.mts +25 -5
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +25 -5
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +5 -3
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +5 -3
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +13 -0
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +13 -0
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/browser.d.mts +9 -3
- package/resources/devices/browser.d.mts.map +1 -1
- package/resources/devices/browser.d.ts +9 -3
- package/resources/devices/browser.d.ts.map +1 -1
- package/resources/devices/browser.js +9 -3
- package/resources/devices/browser.js.map +1 -1
- package/resources/devices/browser.mjs +9 -3
- package/resources/devices/browser.mjs.map +1 -1
- package/resources/devices/devices.d.mts +88 -36
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +88 -36
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +30 -15
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +30 -15
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +3 -2
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +3 -2
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +3 -1
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +1 -0
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +8 -2
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +8 -2
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/recordings.d.mts +29 -6
- package/resources/devices/recordings.d.mts.map +1 -1
- package/resources/devices/recordings.d.ts +29 -6
- package/resources/devices/recordings.d.ts.map +1 -1
- package/resources/devices/recordings.js +9 -0
- package/resources/devices/recordings.js.map +1 -1
- package/resources/devices/recordings.mjs +9 -0
- package/resources/devices/recordings.mjs.map +1 -1
- package/resources/devices/screenshots.d.mts +72 -0
- package/resources/devices/screenshots.d.mts.map +1 -0
- package/resources/devices/screenshots.d.ts +72 -0
- package/resources/devices/screenshots.d.ts.map +1 -0
- package/resources/devices/screenshots.js +57 -0
- package/resources/devices/screenshots.js.map +1 -0
- package/resources/devices/screenshots.mjs +53 -0
- package/resources/devices/screenshots.mjs.map +1 -0
- package/resources/devices/state.d.mts +11 -2
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +11 -2
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +5 -2
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +5 -2
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/traffic-sessions.d.mts +1 -11
- package/resources/devices/traffic-sessions.d.mts.map +1 -1
- package/resources/devices/traffic-sessions.d.ts +1 -11
- package/resources/devices/traffic-sessions.d.ts.map +1 -1
- package/resources/devices/traffic-sessions.js +2 -8
- package/resources/devices/traffic-sessions.js.map +1 -1
- package/resources/devices/traffic-sessions.mjs +2 -8
- package/resources/devices/traffic-sessions.mjs.map +1 -1
- package/resources/files.d.mts +8 -22
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +8 -22
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +5 -13
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +5 -13
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +6 -11
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -11
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -11
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -6
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/connections.d.mts +58 -0
- package/resources/mailboxes/connections.d.mts.map +1 -0
- package/resources/mailboxes/connections.d.ts +58 -0
- package/resources/mailboxes/connections.d.ts.map +1 -0
- package/resources/mailboxes/connections.js +41 -0
- package/resources/mailboxes/connections.js.map +1 -0
- package/resources/mailboxes/connections.mjs +37 -0
- package/resources/mailboxes/connections.mjs.map +1 -0
- package/resources/mailboxes/index.d.mts +2 -1
- package/resources/mailboxes/index.d.mts.map +1 -1
- package/resources/mailboxes/index.d.ts +2 -1
- package/resources/mailboxes/index.d.ts.map +1 -1
- package/resources/mailboxes/index.js +3 -1
- package/resources/mailboxes/index.js.map +1 -1
- package/resources/mailboxes/index.mjs +1 -0
- package/resources/mailboxes/index.mjs.map +1 -1
- package/resources/mailboxes/mailboxes.d.mts +74 -24
- package/resources/mailboxes/mailboxes.d.mts.map +1 -1
- package/resources/mailboxes/mailboxes.d.ts +74 -24
- package/resources/mailboxes/mailboxes.d.ts.map +1 -1
- package/resources/mailboxes/mailboxes.js +26 -8
- package/resources/mailboxes/mailboxes.js.map +1 -1
- package/resources/mailboxes/mailboxes.mjs +26 -8
- package/resources/mailboxes/mailboxes.mjs.map +1 -1
- package/resources/messages/index.d.mts +1 -1
- package/resources/messages/index.d.mts.map +1 -1
- package/resources/messages/index.d.ts +1 -1
- package/resources/messages/index.d.ts.map +1 -1
- package/resources/messages/index.js.map +1 -1
- package/resources/messages/index.mjs +1 -1
- package/resources/messages/index.mjs.map +1 -1
- package/resources/messages/messages.d.mts +26 -1
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +26 -1
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +9 -0
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +9 -0
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/models.d.mts +12 -23
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +12 -23
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +3 -4
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +3 -4
- package/resources/models.mjs.map +1 -1
- package/resources/numbers/index.d.mts +2 -2
- package/resources/numbers/index.d.mts.map +1 -1
- package/resources/numbers/index.d.ts +2 -2
- package/resources/numbers/index.d.ts.map +1 -1
- package/resources/numbers/index.js.map +1 -1
- package/resources/numbers/index.mjs +1 -1
- package/resources/numbers/index.mjs.map +1 -1
- package/resources/numbers/messages.d.mts +57 -1
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +57 -1
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/messages.js +23 -0
- package/resources/numbers/messages.js.map +1 -1
- package/resources/numbers/messages.mjs +23 -0
- package/resources/numbers/messages.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +148 -44
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +148 -44
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js +3 -23
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs +4 -24
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/proxies.d.mts +1 -87
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +1 -87
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +0 -6
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +0 -6
- package/resources/proxies.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +51 -188
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +51 -188
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js +2 -10
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +2 -10
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/webhooks/deliveries.d.mts +22 -31
- package/resources/webhooks/deliveries.d.mts.map +1 -1
- package/resources/webhooks/deliveries.d.ts +22 -31
- package/resources/webhooks/deliveries.d.ts.map +1 -1
- package/resources/webhooks/deliveries.js +4 -30
- package/resources/webhooks/deliveries.js.map +1 -1
- package/resources/webhooks/deliveries.mjs +4 -30
- package/resources/webhooks/deliveries.mjs.map +1 -1
- package/resources/webhooks/index.d.mts +2 -1
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +2 -1
- package/resources/webhooks/index.d.ts.map +1 -1
- package/resources/webhooks/index.js +3 -1
- package/resources/webhooks/index.js.map +1 -1
- package/resources/webhooks/index.mjs +1 -0
- package/resources/webhooks/index.mjs.map +1 -1
- package/resources/webhooks/integrations.d.mts +77 -0
- package/resources/webhooks/integrations.d.mts.map +1 -0
- package/resources/webhooks/integrations.d.ts +77 -0
- package/resources/webhooks/integrations.d.ts.map +1 -0
- package/resources/webhooks/integrations.js +26 -0
- package/resources/webhooks/integrations.js.map +1 -0
- package/resources/webhooks/integrations.mjs +22 -0
- package/resources/webhooks/integrations.mjs.map +1 -0
- package/resources/webhooks/webhooks.d.mts +276 -104
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +276 -104
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +32 -68
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +32 -68
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/action-catalog.d.mts +7 -3
- package/resources/workflows/action-catalog.d.mts.map +1 -1
- package/resources/workflows/action-catalog.d.ts +7 -3
- package/resources/workflows/action-catalog.d.ts.map +1 -1
- package/resources/workflows/actions/actions.d.mts +9 -5
- package/resources/workflows/actions/actions.d.mts.map +1 -1
- package/resources/workflows/actions/actions.d.ts +9 -5
- package/resources/workflows/actions/actions.d.ts.map +1 -1
- package/resources/workflows/actions/actions.js +4 -0
- package/resources/workflows/actions/actions.js.map +1 -1
- package/resources/workflows/actions/actions.mjs +4 -0
- package/resources/workflows/actions/actions.mjs.map +1 -1
- package/resources/workflows/events.d.mts +52 -5
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +52 -5
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions/executions.d.mts +330 -0
- package/resources/workflows/executions/executions.d.mts.map +1 -0
- package/resources/workflows/executions/executions.d.ts +330 -0
- package/resources/workflows/executions/executions.d.ts.map +1 -0
- package/resources/workflows/executions/executions.js +49 -0
- package/resources/workflows/executions/executions.js.map +1 -0
- package/resources/workflows/executions/executions.mjs +44 -0
- package/resources/workflows/executions/executions.mjs.map +1 -0
- package/resources/workflows/executions/index.d.mts +3 -0
- package/resources/workflows/executions/index.d.mts.map +1 -0
- package/resources/workflows/executions/index.d.ts +3 -0
- package/resources/workflows/executions/index.d.ts.map +1 -0
- package/resources/workflows/executions/index.js +9 -0
- package/resources/workflows/executions/index.js.map +1 -0
- package/resources/workflows/executions/index.mjs +4 -0
- package/resources/workflows/executions/index.mjs.map +1 -0
- package/resources/workflows/executions/screenshots.d.mts +18 -0
- package/resources/workflows/executions/screenshots.d.mts.map +1 -0
- package/resources/workflows/executions/screenshots.d.ts +18 -0
- package/resources/workflows/executions/screenshots.d.ts.map +1 -0
- package/resources/workflows/executions/screenshots.js +23 -0
- package/resources/workflows/executions/screenshots.js.map +1 -0
- package/resources/workflows/executions/screenshots.mjs +19 -0
- package/resources/workflows/executions/screenshots.mjs.map +1 -0
- package/resources/workflows/executions.d.mts +1 -269
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +1 -269
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/executions.js +2 -37
- package/resources/workflows/executions.js.map +1 -1
- package/resources/workflows/executions.mjs +1 -35
- package/resources/workflows/executions.mjs.map +1 -1
- package/resources/workflows/flows/actions.d.mts +39 -0
- package/resources/workflows/flows/actions.d.mts.map +1 -1
- package/resources/workflows/flows/actions.d.ts +39 -0
- package/resources/workflows/flows/actions.d.ts.map +1 -1
- package/resources/workflows/flows/actions.js +4 -0
- package/resources/workflows/flows/actions.js.map +1 -1
- package/resources/workflows/flows/actions.mjs +4 -0
- package/resources/workflows/flows/actions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +574 -27
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +574 -27
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +78 -3
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +78 -3
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/flows/index.d.mts +1 -1
- package/resources/workflows/flows/index.d.mts.map +1 -1
- package/resources/workflows/flows/index.d.ts +1 -1
- 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 +2 -2
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +2 -2
- 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 +110 -15
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +110 -15
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +13 -1
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +13 -1
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +4 -4
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +4 -4
- 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 +14 -103
- package/src/resources/apps.ts +39 -26
- package/src/resources/assistant/conversations.ts +12 -27
- package/src/resources/connect/connect.ts +6 -0
- package/src/resources/connect/index.ts +3 -0
- package/src/resources/connect/proxies.ts +127 -25
- package/src/resources/connect/users.ts +4 -4
- package/src/resources/devices/actions.ts +28 -5
- package/src/resources/devices/apps.ts +18 -0
- package/src/resources/devices/browser.ts +9 -3
- package/src/resources/devices/devices.ts +139 -41
- package/src/resources/devices/index.ts +13 -0
- package/src/resources/devices/keyboard.ts +9 -2
- package/src/resources/devices/recordings.ts +45 -5
- package/src/resources/devices/screenshots.ts +140 -0
- package/src/resources/devices/state.ts +12 -2
- package/src/resources/devices/traffic-sessions.ts +2 -19
- package/src/resources/files.ts +11 -32
- package/src/resources/index.ts +9 -43
- package/src/resources/mailboxes/connections.ts +84 -0
- package/src/resources/mailboxes/index.ts +7 -0
- package/src/resources/mailboxes/mailboxes.ts +147 -24
- package/src/resources/messages/index.ts +6 -1
- package/src/resources/messages/messages.ts +55 -1
- package/src/resources/models.ts +16 -23
- package/src/resources/numbers/index.ts +7 -2
- package/src/resources/numbers/messages.ts +88 -1
- package/src/resources/numbers/numbers.ts +171 -62
- package/src/resources/proxies.ts +0 -110
- package/src/resources/tasks/tasks.ts +57 -198
- package/src/resources/webhooks/deliveries.ts +26 -31
- package/src/resources/webhooks/index.ts +6 -1
- package/src/resources/webhooks/integrations.ts +107 -0
- package/src/resources/webhooks/webhooks.ts +315 -114
- package/src/resources/workflows/action-catalog.ts +11 -3
- package/src/resources/workflows/actions/actions.ts +9 -5
- package/src/resources/workflows/events.ts +66 -5
- package/src/resources/workflows/executions/executions.ts +510 -0
- package/src/resources/workflows/executions/index.ts +12 -0
- package/src/resources/workflows/executions/screenshots.ts +34 -0
- package/src/resources/workflows/executions.ts +1 -412
- package/src/resources/workflows/flows/actions.ts +46 -0
- package/src/resources/workflows/flows/flows.ts +811 -26
- package/src/resources/workflows/flows/index.ts +11 -0
- package/src/resources/workflows/index.ts +12 -1
- package/src/resources/workflows/triggers.ts +131 -16
- package/src/resources/workflows/workflows.ts +32 -10
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/app-events/app-events.d.mts +0 -81
- package/resources/app-events/app-events.d.mts.map +0 -1
- package/resources/app-events/app-events.d.ts +0 -81
- package/resources/app-events/app-events.d.ts.map +0 -1
- package/resources/app-events/app-events.js +0 -33
- package/resources/app-events/app-events.js.map +0 -1
- package/resources/app-events/app-events.mjs +0 -28
- package/resources/app-events/app-events.mjs.map +0 -1
- package/resources/app-events/catalog.d.mts +0 -64
- package/resources/app-events/catalog.d.mts.map +0 -1
- package/resources/app-events/catalog.d.ts +0 -64
- package/resources/app-events/catalog.d.ts.map +0 -1
- package/resources/app-events/catalog.js +0 -25
- package/resources/app-events/catalog.js.map +0 -1
- package/resources/app-events/catalog.mjs +0 -21
- package/resources/app-events/catalog.mjs.map +0 -1
- package/resources/app-events/index.d.mts +0 -3
- package/resources/app-events/index.d.mts.map +0 -1
- package/resources/app-events/index.d.ts +0 -3
- package/resources/app-events/index.d.ts.map +0 -1
- package/resources/app-events/index.js +0 -9
- package/resources/app-events/index.js.map +0 -1
- package/resources/app-events/index.mjs +0 -4
- package/resources/app-events/index.mjs.map +0 -1
- package/resources/app-events.d.mts +0 -2
- package/resources/app-events.d.mts.map +0 -1
- package/resources/app-events.d.ts +0 -2
- package/resources/app-events.d.ts.map +0 -1
- package/resources/app-events.js +0 -6
- package/resources/app-events.js.map +0 -1
- package/resources/app-events.mjs +0 -3
- package/resources/app-events.mjs.map +0 -1
- package/resources/carriers.d.mts +0 -331
- package/resources/carriers.d.mts.map +0 -1
- package/resources/carriers.d.ts +0 -331
- package/resources/carriers.d.ts.map +0 -1
- package/resources/carriers.js +0 -46
- package/resources/carriers.js.map +0 -1
- package/resources/carriers.mjs +0 -42
- package/resources/carriers.mjs.map +0 -1
- package/resources/notifications.d.mts +0 -86
- package/resources/notifications.d.mts.map +0 -1
- package/resources/notifications.d.ts +0 -86
- package/resources/notifications.d.ts.map +0 -1
- package/resources/notifications.js +0 -55
- package/resources/notifications.js.map +0 -1
- package/resources/notifications.mjs +0 -51
- package/resources/notifications.mjs.map +0 -1
- package/resources/profiles.d.mts +0 -147
- package/resources/profiles.d.mts.map +0 -1
- package/resources/profiles.d.ts +0 -147
- package/resources/profiles.d.ts.map +0 -1
- package/resources/profiles.js +0 -40
- package/resources/profiles.js.map +0 -1
- package/resources/profiles.mjs +0 -36
- package/resources/profiles.mjs.map +0 -1
- package/resources/store/apps.d.mts +0 -119
- package/resources/store/apps.d.mts.map +0 -1
- package/resources/store/apps.d.ts +0 -119
- package/resources/store/apps.d.ts.map +0 -1
- package/resources/store/apps.js +0 -31
- package/resources/store/apps.js.map +0 -1
- package/resources/store/apps.mjs +0 -27
- package/resources/store/apps.mjs.map +0 -1
- package/resources/store/index.d.mts +0 -3
- package/resources/store/index.d.mts.map +0 -1
- package/resources/store/index.d.ts +0 -3
- package/resources/store/index.d.ts.map +0 -1
- package/resources/store/index.js +0 -9
- package/resources/store/index.js.map +0 -1
- package/resources/store/index.mjs +0 -4
- package/resources/store/index.mjs.map +0 -1
- package/resources/store/store.d.mts +0 -20
- package/resources/store/store.d.mts.map +0 -1
- package/resources/store/store.d.ts +0 -20
- package/resources/store/store.d.ts.map +0 -1
- package/resources/store/store.js +0 -23
- package/resources/store/store.js.map +0 -1
- package/resources/store/store.mjs +0 -18
- package/resources/store/store.mjs.map +0 -1
- package/resources/store.d.mts +0 -2
- package/resources/store.d.mts.map +0 -1
- package/resources/store.d.ts +0 -2
- package/resources/store.d.ts.map +0 -1
- package/resources/store.js +0 -6
- package/resources/store.js.map +0 -1
- package/resources/store.mjs +0 -3
- package/resources/store.mjs.map +0 -1
- package/src/resources/app-events/app-events.ts +0 -133
- package/src/resources/app-events/catalog.ts +0 -100
- package/src/resources/app-events/index.ts +0 -9
- package/src/resources/app-events.ts +0 -3
- package/src/resources/carriers.ts +0 -508
- package/src/resources/notifications.ts +0 -118
- package/src/resources/profiles.ts +0 -232
- package/src/resources/store/apps.ts +0 -704
- package/src/resources/store/index.ts +0 -10
- package/src/resources/store/store.ts +0 -36
- package/src/resources/store.ts +0 -3
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import * as Shared from '../shared';
|
|
5
5
|
import { APIPromise } from '../../core/api-promise';
|
|
6
|
-
import { buildHeaders } from '../../internal/headers';
|
|
7
6
|
import { RequestOptions } from '../../internal/request-options';
|
|
8
7
|
import { path } from '../../internal/utils/path';
|
|
9
8
|
|
|
@@ -14,15 +13,10 @@ export class TrafficSessions extends APIResource {
|
|
|
14
13
|
*/
|
|
15
14
|
create(
|
|
16
15
|
deviceID: string,
|
|
17
|
-
|
|
16
|
+
body: TrafficSessionCreateParams,
|
|
18
17
|
options?: RequestOptions,
|
|
19
18
|
): APIPromise<TrafficSessionCreateResponse> {
|
|
20
|
-
|
|
21
|
-
return this._client.post(path`/devices/${deviceID}/traffic/sessions`, {
|
|
22
|
-
body,
|
|
23
|
-
...options,
|
|
24
|
-
headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
|
|
25
|
-
});
|
|
19
|
+
return this._client.post(path`/devices/${deviceID}/traffic/sessions`, { body, ...options });
|
|
26
20
|
}
|
|
27
21
|
|
|
28
22
|
/**
|
|
@@ -255,19 +249,8 @@ export namespace TrafficSessionDeleteResponse {
|
|
|
255
249
|
}
|
|
256
250
|
|
|
257
251
|
export interface TrafficSessionCreateParams {
|
|
258
|
-
/**
|
|
259
|
-
* Header param
|
|
260
|
-
*/
|
|
261
|
-
'Idempotency-Key': string;
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* Body param
|
|
265
|
-
*/
|
|
266
252
|
expiresInSeconds?: number;
|
|
267
253
|
|
|
268
|
-
/**
|
|
269
|
-
* Body param
|
|
270
|
-
*/
|
|
271
254
|
maxBodyBytes?: number;
|
|
272
255
|
}
|
|
273
256
|
|
package/src/resources/files.ts
CHANGED
|
@@ -37,9 +37,9 @@ export class Files extends APIResource {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Soft-cancels an in-flight upload before confirm. Only acts on `pending`
|
|
41
|
-
* refuses to touch `ready`
|
|
42
|
-
* `{ cancelled: false }` if the
|
|
40
|
+
* Soft-cancels an in-flight upload before confirm. Only acts on `pending` uploads
|
|
41
|
+
* — refuses to touch `ready` files, so confirmed files are never removed.
|
|
42
|
+
* Idempotent: `{ cancelled: false }` if the file exists but is no longer pending.
|
|
43
43
|
*/
|
|
44
44
|
cancelPending(fileID: string, options?: RequestOptions): APIPromise<FileCancelPendingResponse> {
|
|
45
45
|
return this._client.delete(path`/agents/files/${fileID}/pending`, options);
|
|
@@ -66,16 +66,8 @@ export class Files extends APIResource {
|
|
|
66
66
|
/**
|
|
67
67
|
* Mint a presigned PUT URL for a user file upload
|
|
68
68
|
*/
|
|
69
|
-
uploadURL(
|
|
70
|
-
|
|
71
|
-
return this._client.post('/agents/files/upload-url', {
|
|
72
|
-
body,
|
|
73
|
-
...options,
|
|
74
|
-
headers: buildHeaders([
|
|
75
|
-
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
76
|
-
options?.headers,
|
|
77
|
-
]),
|
|
78
|
-
});
|
|
69
|
+
uploadURL(body: FileUploadURLParams, options?: RequestOptions): APIPromise<FileUploadURLResponse> {
|
|
70
|
+
return this._client.post('/agents/files/upload-url', { body, ...options });
|
|
79
71
|
}
|
|
80
72
|
}
|
|
81
73
|
|
|
@@ -203,9 +195,13 @@ export namespace FileListResponse {
|
|
|
203
195
|
}
|
|
204
196
|
|
|
205
197
|
export interface Quota {
|
|
206
|
-
|
|
198
|
+
includedBytes: number | null;
|
|
199
|
+
|
|
200
|
+
maxBytes: number | null;
|
|
201
|
+
|
|
202
|
+
overageAllowed: boolean;
|
|
207
203
|
|
|
208
|
-
|
|
204
|
+
usedBytes: number;
|
|
209
205
|
}
|
|
210
206
|
}
|
|
211
207
|
|
|
@@ -298,30 +294,13 @@ export interface FileListParams {
|
|
|
298
294
|
}
|
|
299
295
|
|
|
300
296
|
export interface FileUploadURLParams {
|
|
301
|
-
/**
|
|
302
|
-
* Body param
|
|
303
|
-
*/
|
|
304
297
|
filename: string;
|
|
305
298
|
|
|
306
|
-
/**
|
|
307
|
-
* Body param
|
|
308
|
-
*/
|
|
309
299
|
mimeType: string;
|
|
310
300
|
|
|
311
|
-
/**
|
|
312
|
-
* Body param
|
|
313
|
-
*/
|
|
314
301
|
sizeBytes: number;
|
|
315
302
|
|
|
316
|
-
/**
|
|
317
|
-
* Body param
|
|
318
|
-
*/
|
|
319
303
|
zone?: 'user' | 'skills';
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* Header param
|
|
323
|
-
*/
|
|
324
|
-
'Idempotency-Key'?: string;
|
|
325
304
|
}
|
|
326
305
|
|
|
327
306
|
export declare namespace Files {
|
package/src/resources/index.ts
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
export * from './shared';
|
|
4
|
-
export {
|
|
5
|
-
AppEvents,
|
|
6
|
-
type AppEventRetrieveResponse,
|
|
7
|
-
type AppEventListResponse,
|
|
8
|
-
type AppEventListParams,
|
|
9
|
-
} from './app-events/app-events';
|
|
10
4
|
export {
|
|
11
5
|
Apps,
|
|
12
6
|
type AppRetrieveResponse,
|
|
@@ -21,19 +15,6 @@ export {
|
|
|
21
15
|
type AppCreateSignedUploadURLParams,
|
|
22
16
|
} from './apps';
|
|
23
17
|
export { Assistant } from './assistant/assistant';
|
|
24
|
-
export {
|
|
25
|
-
Carriers,
|
|
26
|
-
type CarrierCreateResponse,
|
|
27
|
-
type CarrierRetrieveResponse,
|
|
28
|
-
type CarrierUpdateResponse,
|
|
29
|
-
type CarrierListResponse,
|
|
30
|
-
type CarrierDeleteResponse,
|
|
31
|
-
type CarrierLookupResponse,
|
|
32
|
-
type CarrierCreateParams,
|
|
33
|
-
type CarrierUpdateParams,
|
|
34
|
-
type CarrierListParams,
|
|
35
|
-
type CarrierLookupParams,
|
|
36
|
-
} from './carriers';
|
|
37
18
|
export { Connect } from './connect/connect';
|
|
38
19
|
export {
|
|
39
20
|
Credentials,
|
|
@@ -49,11 +30,13 @@ export {
|
|
|
49
30
|
type DeviceFingerprintResponse,
|
|
50
31
|
type DeviceRetrieveCapabilitiesResponse,
|
|
51
32
|
type DeviceSetNameResponse,
|
|
33
|
+
type DeviceSummaryResponse,
|
|
52
34
|
type DeviceWaitReadyResponse,
|
|
53
35
|
type DeviceCreateParams,
|
|
54
36
|
type DeviceListParams,
|
|
55
37
|
type DeviceFingerprintParams,
|
|
56
38
|
type DeviceSetNameParams,
|
|
39
|
+
type DeviceSummaryParams,
|
|
57
40
|
type DeviceTerminateParams,
|
|
58
41
|
} from './devices/devices';
|
|
59
42
|
export {
|
|
@@ -76,6 +59,7 @@ export {
|
|
|
76
59
|
type MailboxListResponse,
|
|
77
60
|
type MailboxDeleteResponse,
|
|
78
61
|
type MailboxCapacityResponse,
|
|
62
|
+
type MailboxDisconnectResponse,
|
|
79
63
|
type MailboxOtpResponse,
|
|
80
64
|
type MailboxRestartResponse,
|
|
81
65
|
type MailboxUncancelResponse,
|
|
@@ -85,15 +69,13 @@ export {
|
|
|
85
69
|
type MailboxOtpParams,
|
|
86
70
|
type MailboxRestartParams,
|
|
87
71
|
} from './mailboxes/mailboxes';
|
|
88
|
-
export { Messages, type MessageListResponse, type MessageListParams } from './messages/messages';
|
|
89
|
-
export { Models, type ModelListResponse } from './models';
|
|
90
72
|
export {
|
|
91
|
-
|
|
92
|
-
type
|
|
93
|
-
type
|
|
94
|
-
type
|
|
95
|
-
|
|
96
|
-
} from './
|
|
73
|
+
Messages,
|
|
74
|
+
type MessageRetrieveResponse,
|
|
75
|
+
type MessageListResponse,
|
|
76
|
+
type MessageListParams,
|
|
77
|
+
} from './messages/messages';
|
|
78
|
+
export { Models, type ModelListResponse } from './models';
|
|
97
79
|
export {
|
|
98
80
|
Numbers,
|
|
99
81
|
type NumberCreateResponse,
|
|
@@ -103,23 +85,11 @@ export {
|
|
|
103
85
|
type NumberDeleteResponse,
|
|
104
86
|
type NumberCapacityResponse,
|
|
105
87
|
type NumberCountriesResponse,
|
|
106
|
-
type NumberPurposesResponse,
|
|
107
88
|
type NumberCreateParams,
|
|
108
89
|
type NumberUpdateParams,
|
|
109
90
|
type NumberListParams,
|
|
110
91
|
type NumberCapacityParams,
|
|
111
92
|
} from './numbers/numbers';
|
|
112
|
-
export {
|
|
113
|
-
Profiles,
|
|
114
|
-
type ProfileCreateResponse,
|
|
115
|
-
type ProfileRetrieveResponse,
|
|
116
|
-
type ProfileUpdateResponse,
|
|
117
|
-
type ProfileListResponse,
|
|
118
|
-
type ProfileDeleteResponse,
|
|
119
|
-
type ProfileCreateParams,
|
|
120
|
-
type ProfileUpdateParams,
|
|
121
|
-
type ProfileListParams,
|
|
122
|
-
} from './profiles';
|
|
123
93
|
export {
|
|
124
94
|
Proxies,
|
|
125
95
|
type ProxyCreateResponse,
|
|
@@ -127,13 +97,10 @@ export {
|
|
|
127
97
|
type ProxyUpdateResponse,
|
|
128
98
|
type ProxyListResponse,
|
|
129
99
|
type ProxyDeleteResponse,
|
|
130
|
-
type ProxyLookupResponse,
|
|
131
100
|
type ProxyCreateParams,
|
|
132
101
|
type ProxyUpdateParams,
|
|
133
102
|
type ProxyListParams,
|
|
134
|
-
type ProxyLookupParams,
|
|
135
103
|
} from './proxies';
|
|
136
|
-
export { Store, type StoreCategoriesResponse } from './store/store';
|
|
137
104
|
export {
|
|
138
105
|
Tasks,
|
|
139
106
|
type TaskRetrieveResponse,
|
|
@@ -155,7 +122,6 @@ export {
|
|
|
155
122
|
type WebhookRetrieveResponse,
|
|
156
123
|
type WebhookUpdateResponse,
|
|
157
124
|
type WebhookListResponse,
|
|
158
|
-
type WebhookEventTypesResponse,
|
|
159
125
|
type WebhookRotateSecretResponse,
|
|
160
126
|
type WebhookTestDeliveryResponse,
|
|
161
127
|
type WebhookCreateParams,
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
+
import { path } from '../../internal/utils/path';
|
|
7
|
+
|
|
8
|
+
export class Connections extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Links the caller’s Gmail account. Replaying the same Idempotency-Key returns the
|
|
11
|
+
* same mailbox. When Gmail is already active, redirectUrl is null and the mailbox
|
|
12
|
+
* is usable immediately.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const connection =
|
|
17
|
+
* await client.mailboxes.connections.create({
|
|
18
|
+
* provider: 'gmail',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
create(body: ConnectionCreateParams, options?: RequestOptions): APIPromise<ConnectionCreateResponse> {
|
|
23
|
+
return this._client.post('/mailboxes/connections', { body, ...options });
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Reports pending, active (with the Gmail address), expired, or removed.
|
|
28
|
+
* connectionId is the mailbox id.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const connection =
|
|
33
|
+
* await client.mailboxes.connections.retrieve(
|
|
34
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
35
|
+
* );
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
retrieve(connectionID: string, options?: RequestOptions): APIPromise<ConnectionRetrieveResponse> {
|
|
39
|
+
return this._client.get(path`/mailboxes/connections/${connectionID}`, options);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface ConnectionCreateResponse {
|
|
44
|
+
address: string | null;
|
|
45
|
+
|
|
46
|
+
connectionId: string;
|
|
47
|
+
|
|
48
|
+
mailboxId: string;
|
|
49
|
+
|
|
50
|
+
redirectUrl: string | null;
|
|
51
|
+
|
|
52
|
+
status: 'pending' | 'active' | 'expired' | 'removed';
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface ConnectionRetrieveResponse {
|
|
56
|
+
address: string | null;
|
|
57
|
+
|
|
58
|
+
connectionId: string;
|
|
59
|
+
|
|
60
|
+
mailboxId: string;
|
|
61
|
+
|
|
62
|
+
redirectUrl: string | null;
|
|
63
|
+
|
|
64
|
+
status: 'pending' | 'active' | 'expired' | 'removed';
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface ConnectionCreateParams {
|
|
68
|
+
provider: 'gmail';
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* sha256 hex of the browser-held connect binding secret.
|
|
72
|
+
*/
|
|
73
|
+
bindingHash?: string;
|
|
74
|
+
|
|
75
|
+
label?: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export declare namespace Connections {
|
|
79
|
+
export {
|
|
80
|
+
type ConnectionCreateResponse as ConnectionCreateResponse,
|
|
81
|
+
type ConnectionRetrieveResponse as ConnectionRetrieveResponse,
|
|
82
|
+
type ConnectionCreateParams as ConnectionCreateParams,
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
export {
|
|
4
|
+
Connections,
|
|
5
|
+
type ConnectionCreateResponse,
|
|
6
|
+
type ConnectionRetrieveResponse,
|
|
7
|
+
type ConnectionCreateParams,
|
|
8
|
+
} from './connections';
|
|
3
9
|
export {
|
|
4
10
|
Mailboxes,
|
|
5
11
|
type MailboxCreateResponse,
|
|
@@ -8,6 +14,7 @@ export {
|
|
|
8
14
|
type MailboxListResponse,
|
|
9
15
|
type MailboxDeleteResponse,
|
|
10
16
|
type MailboxCapacityResponse,
|
|
17
|
+
type MailboxDisconnectResponse,
|
|
11
18
|
type MailboxOtpResponse,
|
|
12
19
|
type MailboxRestartResponse,
|
|
13
20
|
type MailboxUncancelResponse,
|