@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,9 +3,14 @@
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import * as Shared from '../shared';
|
|
5
5
|
import * as MessagesAPI from './messages';
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
MessageListParams,
|
|
8
|
+
MessageListResponse,
|
|
9
|
+
MessageSendParams,
|
|
10
|
+
MessageSendResponse,
|
|
11
|
+
Messages,
|
|
12
|
+
} from './messages';
|
|
7
13
|
import { APIPromise } from '../../core/api-promise';
|
|
8
|
-
import { buildHeaders } from '../../internal/headers';
|
|
9
14
|
import { RequestOptions } from '../../internal/request-options';
|
|
10
15
|
import { path } from '../../internal/utils/path';
|
|
11
16
|
|
|
@@ -14,7 +19,7 @@ export class Numbers extends APIResource {
|
|
|
14
19
|
|
|
15
20
|
/**
|
|
16
21
|
* Starts a phone-number purchase. Poll the returned phone number for status
|
|
17
|
-
* updates.
|
|
22
|
+
* updates.
|
|
18
23
|
*
|
|
19
24
|
* @example
|
|
20
25
|
* ```ts
|
|
@@ -22,18 +27,10 @@ export class Numbers extends APIResource {
|
|
|
22
27
|
* ```
|
|
23
28
|
*/
|
|
24
29
|
create(
|
|
25
|
-
|
|
30
|
+
body: NumberCreateParams | null | undefined = {},
|
|
26
31
|
options?: RequestOptions,
|
|
27
32
|
): APIPromise<NumberCreateResponse> {
|
|
28
|
-
|
|
29
|
-
return this._client.post('/numbers/phones', {
|
|
30
|
-
body,
|
|
31
|
-
...options,
|
|
32
|
-
headers: buildHeaders([
|
|
33
|
-
{ ...(idempotencyKey != null ? { 'Idempotency-Key': idempotencyKey } : undefined) },
|
|
34
|
-
options?.headers,
|
|
35
|
-
]),
|
|
36
|
-
});
|
|
33
|
+
return this._client.post('/numbers/phones', { body, ...options });
|
|
37
34
|
}
|
|
38
35
|
|
|
39
36
|
/**
|
|
@@ -126,18 +123,6 @@ export class Numbers extends APIResource {
|
|
|
126
123
|
countries(options?: RequestOptions): APIPromise<NumberCountriesResponse> {
|
|
127
124
|
return this._client.get('/numbers/phones/countries', options);
|
|
128
125
|
}
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Lists the optional purposes currently available for a Mobilerun Phone.
|
|
132
|
-
*
|
|
133
|
-
* @example
|
|
134
|
-
* ```ts
|
|
135
|
-
* const response = await client.numbers.purposes();
|
|
136
|
-
* ```
|
|
137
|
-
*/
|
|
138
|
-
purposes(options?: RequestOptions): APIPromise<NumberPurposesResponse> {
|
|
139
|
-
return this._client.get('/numbers/phones/purposes', options);
|
|
140
|
-
}
|
|
141
126
|
}
|
|
142
127
|
|
|
143
128
|
export interface NumberCreateResponse {
|
|
@@ -162,10 +147,21 @@ export namespace NumberRetrieveResponse {
|
|
|
162
147
|
export interface Data {
|
|
163
148
|
id: string;
|
|
164
149
|
|
|
150
|
+
/**
|
|
151
|
+
* Actions currently available for this phone number.
|
|
152
|
+
*/
|
|
153
|
+
actions: Data.Actions;
|
|
154
|
+
|
|
165
155
|
cancelAtPeriodEnd: boolean;
|
|
166
156
|
|
|
157
|
+
/**
|
|
158
|
+
* @deprecated Deprecated: use `actions.cancel`
|
|
159
|
+
*/
|
|
167
160
|
cancellable: boolean;
|
|
168
161
|
|
|
162
|
+
/**
|
|
163
|
+
* @deprecated Deprecated: use `actions.send`
|
|
164
|
+
*/
|
|
169
165
|
canSend: boolean;
|
|
170
166
|
|
|
171
167
|
capabilities: Array<'sms' | 'voice'> | null;
|
|
@@ -178,6 +174,13 @@ export namespace NumberRetrieveResponse {
|
|
|
178
174
|
|
|
179
175
|
currentPeriodEnd: string | null;
|
|
180
176
|
|
|
177
|
+
/**
|
|
178
|
+
* Why setup failed. Null unless state is failed, and null when the failure has no
|
|
179
|
+
* classified reason. out_of_stock: no number is currently available for the
|
|
180
|
+
* requested country.
|
|
181
|
+
*/
|
|
182
|
+
failureReason: 'out_of_stock' | 'unknown' | null;
|
|
183
|
+
|
|
181
184
|
label: string | null;
|
|
182
185
|
|
|
183
186
|
phoneNumber: string | null;
|
|
@@ -188,6 +191,26 @@ export namespace NumberRetrieveResponse {
|
|
|
188
191
|
|
|
189
192
|
updatedAt: string | null;
|
|
190
193
|
}
|
|
194
|
+
|
|
195
|
+
export namespace Data {
|
|
196
|
+
/**
|
|
197
|
+
* Actions currently available for this phone number.
|
|
198
|
+
*/
|
|
199
|
+
export interface Actions {
|
|
200
|
+
/**
|
|
201
|
+
* True when DELETE /numbers/phones/{id} would currently succeed.
|
|
202
|
+
*/
|
|
203
|
+
cancel: boolean;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* True when this number passes the send gate of POST
|
|
207
|
+
* /numbers/phones/{id}/messages: self-service sending is switched on and the
|
|
208
|
+
* number is active and able to send SMS. Daily and burst limits and recipient/body
|
|
209
|
+
* checks still apply; the send endpoint stays the final judge.
|
|
210
|
+
*/
|
|
211
|
+
send: boolean;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
191
214
|
}
|
|
192
215
|
|
|
193
216
|
export interface NumberUpdateResponse {
|
|
@@ -198,10 +221,21 @@ export namespace NumberUpdateResponse {
|
|
|
198
221
|
export interface Data {
|
|
199
222
|
id: string;
|
|
200
223
|
|
|
224
|
+
/**
|
|
225
|
+
* Actions currently available for this phone number.
|
|
226
|
+
*/
|
|
227
|
+
actions: Data.Actions;
|
|
228
|
+
|
|
201
229
|
cancelAtPeriodEnd: boolean;
|
|
202
230
|
|
|
231
|
+
/**
|
|
232
|
+
* @deprecated Deprecated: use `actions.cancel`
|
|
233
|
+
*/
|
|
203
234
|
cancellable: boolean;
|
|
204
235
|
|
|
236
|
+
/**
|
|
237
|
+
* @deprecated Deprecated: use `actions.send`
|
|
238
|
+
*/
|
|
205
239
|
canSend: boolean;
|
|
206
240
|
|
|
207
241
|
capabilities: Array<'sms' | 'voice'> | null;
|
|
@@ -214,6 +248,13 @@ export namespace NumberUpdateResponse {
|
|
|
214
248
|
|
|
215
249
|
currentPeriodEnd: string | null;
|
|
216
250
|
|
|
251
|
+
/**
|
|
252
|
+
* Why setup failed. Null unless state is failed, and null when the failure has no
|
|
253
|
+
* classified reason. out_of_stock: no number is currently available for the
|
|
254
|
+
* requested country.
|
|
255
|
+
*/
|
|
256
|
+
failureReason: 'out_of_stock' | 'unknown' | null;
|
|
257
|
+
|
|
217
258
|
label: string | null;
|
|
218
259
|
|
|
219
260
|
phoneNumber: string | null;
|
|
@@ -224,6 +265,26 @@ export namespace NumberUpdateResponse {
|
|
|
224
265
|
|
|
225
266
|
updatedAt: string | null;
|
|
226
267
|
}
|
|
268
|
+
|
|
269
|
+
export namespace Data {
|
|
270
|
+
/**
|
|
271
|
+
* Actions currently available for this phone number.
|
|
272
|
+
*/
|
|
273
|
+
export interface Actions {
|
|
274
|
+
/**
|
|
275
|
+
* True when DELETE /numbers/phones/{id} would currently succeed.
|
|
276
|
+
*/
|
|
277
|
+
cancel: boolean;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* True when this number passes the send gate of POST
|
|
281
|
+
* /numbers/phones/{id}/messages: self-service sending is switched on and the
|
|
282
|
+
* number is active and able to send SMS. Daily and burst limits and recipient/body
|
|
283
|
+
* checks still apply; the send endpoint stays the final judge.
|
|
284
|
+
*/
|
|
285
|
+
send: boolean;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
227
288
|
}
|
|
228
289
|
|
|
229
290
|
export interface NumberListResponse {
|
|
@@ -236,10 +297,21 @@ export namespace NumberListResponse {
|
|
|
236
297
|
export interface Item {
|
|
237
298
|
id: string;
|
|
238
299
|
|
|
300
|
+
/**
|
|
301
|
+
* Actions currently available for this phone number.
|
|
302
|
+
*/
|
|
303
|
+
actions: Item.Actions;
|
|
304
|
+
|
|
239
305
|
cancelAtPeriodEnd: boolean;
|
|
240
306
|
|
|
307
|
+
/**
|
|
308
|
+
* @deprecated Deprecated: use `actions.cancel`
|
|
309
|
+
*/
|
|
241
310
|
cancellable: boolean;
|
|
242
311
|
|
|
312
|
+
/**
|
|
313
|
+
* @deprecated Deprecated: use `actions.send`
|
|
314
|
+
*/
|
|
243
315
|
canSend: boolean;
|
|
244
316
|
|
|
245
317
|
capabilities: Array<'sms' | 'voice'> | null;
|
|
@@ -252,6 +324,13 @@ export namespace NumberListResponse {
|
|
|
252
324
|
|
|
253
325
|
currentPeriodEnd: string | null;
|
|
254
326
|
|
|
327
|
+
/**
|
|
328
|
+
* Why setup failed. Null unless state is failed, and null when the failure has no
|
|
329
|
+
* classified reason. out_of_stock: no number is currently available for the
|
|
330
|
+
* requested country.
|
|
331
|
+
*/
|
|
332
|
+
failureReason: 'out_of_stock' | 'unknown' | null;
|
|
333
|
+
|
|
255
334
|
label: string | null;
|
|
256
335
|
|
|
257
336
|
phoneNumber: string | null;
|
|
@@ -262,6 +341,26 @@ export namespace NumberListResponse {
|
|
|
262
341
|
|
|
263
342
|
updatedAt: string | null;
|
|
264
343
|
}
|
|
344
|
+
|
|
345
|
+
export namespace Item {
|
|
346
|
+
/**
|
|
347
|
+
* Actions currently available for this phone number.
|
|
348
|
+
*/
|
|
349
|
+
export interface Actions {
|
|
350
|
+
/**
|
|
351
|
+
* True when DELETE /numbers/phones/{id} would currently succeed.
|
|
352
|
+
*/
|
|
353
|
+
cancel: boolean;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* True when this number passes the send gate of POST
|
|
357
|
+
* /numbers/phones/{id}/messages: self-service sending is switched on and the
|
|
358
|
+
* number is active and able to send SMS. Daily and burst limits and recipient/body
|
|
359
|
+
* checks still apply; the send endpoint stays the final judge.
|
|
360
|
+
*/
|
|
361
|
+
send: boolean;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
265
364
|
}
|
|
266
365
|
|
|
267
366
|
export interface NumberDeleteResponse {
|
|
@@ -272,10 +371,21 @@ export namespace NumberDeleteResponse {
|
|
|
272
371
|
export interface Data {
|
|
273
372
|
id: string;
|
|
274
373
|
|
|
374
|
+
/**
|
|
375
|
+
* Actions currently available for this phone number.
|
|
376
|
+
*/
|
|
377
|
+
actions: Data.Actions;
|
|
378
|
+
|
|
275
379
|
cancelAtPeriodEnd: boolean;
|
|
276
380
|
|
|
381
|
+
/**
|
|
382
|
+
* @deprecated Deprecated: use `actions.cancel`
|
|
383
|
+
*/
|
|
277
384
|
cancellable: boolean;
|
|
278
385
|
|
|
386
|
+
/**
|
|
387
|
+
* @deprecated Deprecated: use `actions.send`
|
|
388
|
+
*/
|
|
279
389
|
canSend: boolean;
|
|
280
390
|
|
|
281
391
|
capabilities: Array<'sms' | 'voice'> | null;
|
|
@@ -288,6 +398,13 @@ export namespace NumberDeleteResponse {
|
|
|
288
398
|
|
|
289
399
|
currentPeriodEnd: string | null;
|
|
290
400
|
|
|
401
|
+
/**
|
|
402
|
+
* Why setup failed. Null unless state is failed, and null when the failure has no
|
|
403
|
+
* classified reason. out_of_stock: no number is currently available for the
|
|
404
|
+
* requested country.
|
|
405
|
+
*/
|
|
406
|
+
failureReason: 'out_of_stock' | 'unknown' | null;
|
|
407
|
+
|
|
291
408
|
label: string | null;
|
|
292
409
|
|
|
293
410
|
phoneNumber: string | null;
|
|
@@ -298,6 +415,26 @@ export namespace NumberDeleteResponse {
|
|
|
298
415
|
|
|
299
416
|
updatedAt: string | null;
|
|
300
417
|
}
|
|
418
|
+
|
|
419
|
+
export namespace Data {
|
|
420
|
+
/**
|
|
421
|
+
* Actions currently available for this phone number.
|
|
422
|
+
*/
|
|
423
|
+
export interface Actions {
|
|
424
|
+
/**
|
|
425
|
+
* True when DELETE /numbers/phones/{id} would currently succeed.
|
|
426
|
+
*/
|
|
427
|
+
cancel: boolean;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* True when this number passes the send gate of POST
|
|
431
|
+
* /numbers/phones/{id}/messages: self-service sending is switched on and the
|
|
432
|
+
* number is active and able to send SMS. Daily and burst limits and recipient/body
|
|
433
|
+
* checks still apply; the send endpoint stays the final judge.
|
|
434
|
+
*/
|
|
435
|
+
send: boolean;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
301
438
|
}
|
|
302
439
|
|
|
303
440
|
export interface NumberCapacityResponse {
|
|
@@ -342,60 +479,31 @@ export namespace NumberCountriesResponse {
|
|
|
342
479
|
}
|
|
343
480
|
}
|
|
344
481
|
|
|
345
|
-
export interface NumberPurposesResponse {
|
|
346
|
-
data: NumberPurposesResponse.Data;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
export namespace NumberPurposesResponse {
|
|
350
|
-
export interface Data {
|
|
351
|
-
items: Array<Data.Item>;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
export namespace Data {
|
|
355
|
-
export interface Item {
|
|
356
|
-
label: string;
|
|
357
|
-
|
|
358
|
-
slug: string;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
|
|
363
482
|
export interface NumberCreateParams {
|
|
364
483
|
/**
|
|
365
|
-
*
|
|
366
|
-
*
|
|
484
|
+
* Use included capacity when available, require included capacity without paid
|
|
485
|
+
* fallback (included_only), or start a paid checkout (rent).
|
|
367
486
|
*/
|
|
368
487
|
billingPreference?: 'included' | 'included_only' | 'rent';
|
|
369
488
|
|
|
370
489
|
/**
|
|
371
|
-
*
|
|
372
|
-
* /numbers/phones/countries. Cannot be combined with `purpose`.
|
|
490
|
+
* Optional ISO 3166-1 alpha-2 country code from GET /numbers/phones/countries.
|
|
373
491
|
*/
|
|
374
492
|
country?: string;
|
|
375
493
|
|
|
376
494
|
/**
|
|
377
|
-
*
|
|
378
|
-
*
|
|
379
|
-
*
|
|
495
|
+
* User-defined display label — NFC-normalized, up to 100 GRAPHEMES (not UTF-16
|
|
496
|
+
* code units; an emoji/flag may span several). Display-only, never used for
|
|
497
|
+
* routing.
|
|
380
498
|
*/
|
|
381
499
|
label?: string | null;
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* Body param: Optional purpose from GET /numbers/phones/purposes.
|
|
385
|
-
*/
|
|
386
|
-
purpose?: string;
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* Header param: Optional request idempotency key.
|
|
390
|
-
*/
|
|
391
|
-
'Idempotency-Key'?: string;
|
|
392
500
|
}
|
|
393
501
|
|
|
394
502
|
export interface NumberUpdateParams {
|
|
395
503
|
/**
|
|
396
504
|
* User-defined display label — NFC-normalized, up to 100 GRAPHEMES (not UTF-16
|
|
397
505
|
* code units; an emoji/flag may span several). Display-only, never used for
|
|
398
|
-
* routing.
|
|
506
|
+
* routing.
|
|
399
507
|
*/
|
|
400
508
|
label?: string | null;
|
|
401
509
|
}
|
|
@@ -424,7 +532,6 @@ export declare namespace Numbers {
|
|
|
424
532
|
type NumberDeleteResponse as NumberDeleteResponse,
|
|
425
533
|
type NumberCapacityResponse as NumberCapacityResponse,
|
|
426
534
|
type NumberCountriesResponse as NumberCountriesResponse,
|
|
427
|
-
type NumberPurposesResponse as NumberPurposesResponse,
|
|
428
535
|
type NumberCreateParams as NumberCreateParams,
|
|
429
536
|
type NumberUpdateParams as NumberUpdateParams,
|
|
430
537
|
type NumberListParams as NumberListParams,
|
|
@@ -434,6 +541,8 @@ export declare namespace Numbers {
|
|
|
434
541
|
export {
|
|
435
542
|
Messages as Messages,
|
|
436
543
|
type MessageListResponse as MessageListResponse,
|
|
544
|
+
type MessageSendResponse as MessageSendResponse,
|
|
437
545
|
type MessageListParams as MessageListParams,
|
|
546
|
+
type MessageSendParams as MessageSendParams,
|
|
438
547
|
};
|
|
439
548
|
}
|
package/src/resources/proxies.ts
CHANGED
|
@@ -57,13 +57,6 @@ export class Proxies extends APIResource {
|
|
|
57
57
|
delete(proxyID: string, options?: RequestOptions): APIPromise<ProxyDeleteResponse> {
|
|
58
58
|
return this._client.delete(path`/proxies/${proxyID}`, options);
|
|
59
59
|
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Lookup proxy location
|
|
63
|
-
*/
|
|
64
|
-
lookup(body: ProxyLookupParams, options?: RequestOptions): APIPromise<ProxyLookupResponse> {
|
|
65
|
-
return this._client.post('/proxies/lookup', { body, ...options });
|
|
66
|
-
}
|
|
67
60
|
}
|
|
68
61
|
|
|
69
62
|
export interface ProxyCreateResponse {
|
|
@@ -158,85 +151,6 @@ export namespace ProxyDeleteResponse {
|
|
|
158
151
|
}
|
|
159
152
|
}
|
|
160
153
|
|
|
161
|
-
export interface ProxyLookupResponse {
|
|
162
|
-
/**
|
|
163
|
-
* IP address of the proxy.
|
|
164
|
-
*/
|
|
165
|
-
ip: string;
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Whether the IP is a mobile connection.
|
|
169
|
-
*/
|
|
170
|
-
isMobile: boolean;
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Latitude of the proxy.
|
|
174
|
-
*/
|
|
175
|
-
latitude: number;
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Longitude of the proxy.
|
|
179
|
-
*/
|
|
180
|
-
longitude: number;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* A URL to the JSON Schema for this object.
|
|
184
|
-
*/
|
|
185
|
-
$schema?: string;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* Mobile carrier information.
|
|
189
|
-
*/
|
|
190
|
-
carrier?: ProxyLookupResponse.Carrier;
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* City of the proxy.
|
|
194
|
-
*/
|
|
195
|
-
city?: string;
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* Country of the proxy.
|
|
199
|
-
*/
|
|
200
|
-
country?: string;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* ISO country code.
|
|
204
|
-
*/
|
|
205
|
-
countryCode?: string;
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Region of the proxy.
|
|
209
|
-
*/
|
|
210
|
-
region?: string;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Timezone of the proxy.
|
|
214
|
-
*/
|
|
215
|
-
timezone?: string;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
export namespace ProxyLookupResponse {
|
|
219
|
-
/**
|
|
220
|
-
* Mobile carrier information.
|
|
221
|
-
*/
|
|
222
|
-
export interface Carrier {
|
|
223
|
-
/**
|
|
224
|
-
* Mobile Country Code.
|
|
225
|
-
*/
|
|
226
|
-
mcc?: string;
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Mobile Network Code.
|
|
230
|
-
*/
|
|
231
|
-
mnc?: string;
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Carrier name.
|
|
235
|
-
*/
|
|
236
|
-
name?: string;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
154
|
export type ProxyCreateParams = ProxyCreateParams.CreateSocks5Proxy | ProxyCreateParams.CreateWireguardProxy;
|
|
241
155
|
|
|
242
156
|
export declare namespace ProxyCreateParams {
|
|
@@ -293,28 +207,6 @@ export interface ProxyListParams {
|
|
|
293
207
|
protocol?: 'socks5' | 'wireguard';
|
|
294
208
|
}
|
|
295
209
|
|
|
296
|
-
export interface ProxyLookupParams {
|
|
297
|
-
/**
|
|
298
|
-
* SOCKS5 proxy configuration.
|
|
299
|
-
*/
|
|
300
|
-
socks5: ProxyLookupParams.Socks5;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
export namespace ProxyLookupParams {
|
|
304
|
-
/**
|
|
305
|
-
* SOCKS5 proxy configuration.
|
|
306
|
-
*/
|
|
307
|
-
export interface Socks5 {
|
|
308
|
-
host: string;
|
|
309
|
-
|
|
310
|
-
port: number;
|
|
311
|
-
|
|
312
|
-
password?: string;
|
|
313
|
-
|
|
314
|
-
user?: string;
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
|
|
318
210
|
export declare namespace Proxies {
|
|
319
211
|
export {
|
|
320
212
|
type ProxyCreateResponse as ProxyCreateResponse,
|
|
@@ -322,10 +214,8 @@ export declare namespace Proxies {
|
|
|
322
214
|
type ProxyUpdateResponse as ProxyUpdateResponse,
|
|
323
215
|
type ProxyListResponse as ProxyListResponse,
|
|
324
216
|
type ProxyDeleteResponse as ProxyDeleteResponse,
|
|
325
|
-
type ProxyLookupResponse as ProxyLookupResponse,
|
|
326
217
|
type ProxyCreateParams as ProxyCreateParams,
|
|
327
218
|
type ProxyUpdateParams as ProxyUpdateParams,
|
|
328
219
|
type ProxyListParams as ProxyListParams,
|
|
329
|
-
type ProxyLookupParams as ProxyLookupParams,
|
|
330
220
|
};
|
|
331
221
|
}
|