@mobilerun/sdk 4.0.0 → 5.2.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 +313 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +34 -29
- package/client.d.mts.map +1 -1
- package/client.d.ts +34 -29
- package/client.d.ts.map +1 -1
- package/client.js +44 -22
- package/client.js.map +1 -1
- package/client.mjs +46 -24
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +10 -10
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +10 -10
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/lib/trajectory-decoder-stream.d.mts.map +1 -1
- package/lib/trajectory-decoder-stream.d.ts.map +1 -1
- package/package.json +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/apps.d.mts +203 -16
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +203 -16
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +98 -0
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +98 -0
- package/resources/apps.mjs.map +1 -1
- package/resources/carriers.d.mts +105 -7
- package/resources/carriers.d.mts.map +1 -1
- package/resources/carriers.d.ts +105 -7
- package/resources/carriers.d.ts.map +1 -1
- package/resources/carriers.js.map +1 -1
- package/resources/carriers.mjs.map +1 -1
- package/resources/connect/connect.d.mts +18 -0
- package/resources/connect/connect.d.mts.map +1 -0
- package/resources/connect/connect.d.ts +18 -0
- package/resources/connect/connect.d.ts.map +1 -0
- package/resources/connect/connect.js +25 -0
- package/resources/connect/connect.js.map +1 -0
- package/resources/connect/connect.mjs +20 -0
- package/resources/connect/connect.mjs.map +1 -0
- package/resources/connect/countries.d.mts +84 -0
- package/resources/connect/countries.d.mts.map +1 -0
- package/resources/connect/countries.d.ts +84 -0
- package/resources/connect/countries.d.ts.map +1 -0
- package/resources/connect/countries.js +20 -0
- package/resources/connect/countries.js.map +1 -0
- package/resources/connect/countries.mjs +16 -0
- package/resources/connect/countries.mjs.map +1 -0
- package/resources/connect/index.d.mts +5 -0
- package/resources/connect/index.d.mts.map +1 -0
- package/resources/connect/index.d.ts +5 -0
- package/resources/connect/index.d.ts.map +1 -0
- package/resources/connect/index.js +13 -0
- package/resources/connect/index.js.map +1 -0
- package/resources/connect/index.mjs +6 -0
- package/resources/connect/index.mjs.map +1 -0
- package/resources/connect/proxies.d.mts +456 -0
- package/resources/connect/proxies.d.mts.map +1 -0
- package/resources/connect/proxies.d.ts +456 -0
- package/resources/connect/proxies.d.ts.map +1 -0
- package/resources/connect/proxies.js +59 -0
- package/resources/connect/proxies.js.map +1 -0
- package/resources/connect/proxies.mjs +55 -0
- package/resources/connect/proxies.mjs.map +1 -0
- package/resources/connect/users.d.mts +392 -0
- package/resources/connect/users.d.mts.map +1 -0
- package/resources/connect/users.d.ts +392 -0
- package/resources/connect/users.d.ts.map +1 -0
- package/resources/connect/users.js +59 -0
- package/resources/connect/users.js.map +1 -0
- package/resources/connect/users.mjs +55 -0
- package/resources/connect/users.mjs.map +1 -0
- package/resources/connect.d.mts +2 -0
- package/resources/connect.d.mts.map +1 -0
- package/resources/connect.d.ts +2 -0
- package/resources/connect.d.ts.map +1 -0
- package/resources/connect.js +6 -0
- package/resources/connect.js.map +1 -0
- package/resources/connect.mjs +3 -0
- package/resources/connect.mjs.map +1 -0
- package/resources/credentials/credentials.d.mts +3 -1
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +3 -1
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js +3 -1
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs +3 -1
- package/resources/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/index.d.mts.map +1 -1
- package/resources/credentials/index.d.ts.map +1 -1
- package/resources/credentials/index.mjs.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.mts +14 -4
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +14 -4
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js +7 -3
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs +7 -3
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +8 -3
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +8 -3
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/fields.js +8 -3
- package/resources/credentials/packages/credentials/fields.js.map +1 -1
- package/resources/credentials/packages/credentials/fields.mjs +8 -3
- package/resources/credentials/packages/credentials/fields.mjs.map +1 -1
- package/resources/credentials/packages/credentials/index.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/index.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/index.mjs.map +1 -1
- package/resources/credentials/packages/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials.mjs.map +1 -1
- package/resources/credentials/packages/index.d.mts.map +1 -1
- package/resources/credentials/packages/index.d.ts.map +1 -1
- package/resources/credentials/packages/index.mjs.map +1 -1
- package/resources/credentials/packages/packages.d.mts +5 -2
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +5 -2
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +5 -2
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +5 -2
- package/resources/credentials/packages/packages.mjs.map +1 -1
- package/resources/credentials/packages.d.mts.map +1 -1
- package/resources/credentials/packages.d.ts.map +1 -1
- package/resources/credentials/packages.mjs.map +1 -1
- package/resources/credentials.d.mts.map +1 -1
- package/resources/credentials.d.ts.map +1 -1
- package/resources/credentials.mjs.map +1 -1
- package/resources/devices/actions.d.mts +10 -5
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +10 -5
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +10 -5
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +10 -5
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +78 -24
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +78 -24
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +38 -22
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +38 -22
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/devices.d.mts +168 -41
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +168 -41
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +86 -27
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +86 -27
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/esim.d.mts +14 -6
- package/resources/devices/esim.d.mts.map +1 -1
- package/resources/devices/esim.d.ts +14 -6
- package/resources/devices/esim.d.ts.map +1 -1
- package/resources/devices/esim.js +6 -4
- package/resources/devices/esim.js.map +1 -1
- package/resources/devices/esim.mjs +6 -4
- package/resources/devices/esim.mjs.map +1 -1
- package/resources/devices/files.d.mts +7 -4
- package/resources/devices/files.d.mts.map +1 -1
- package/resources/devices/files.d.ts +7 -4
- package/resources/devices/files.d.ts.map +1 -1
- package/resources/devices/files.js +7 -4
- package/resources/devices/files.js.map +1 -1
- package/resources/devices/files.mjs +7 -4
- package/resources/devices/files.mjs.map +1 -1
- package/resources/devices/index.d.mts +6 -5
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +6 -5
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +5 -3
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +3 -2
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +10 -3
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +10 -3
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/keyboard.js +5 -3
- package/resources/devices/keyboard.js.map +1 -1
- package/resources/devices/keyboard.mjs +5 -3
- package/resources/devices/keyboard.mjs.map +1 -1
- package/resources/devices/language.d.mts +45 -0
- package/resources/devices/language.d.mts.map +1 -0
- package/resources/devices/language.d.ts +45 -0
- package/resources/devices/language.d.ts.map +1 -0
- package/resources/devices/language.js +49 -0
- package/resources/devices/language.js.map +1 -0
- package/resources/devices/language.mjs +45 -0
- package/resources/devices/language.mjs.map +1 -0
- package/resources/devices/location.d.mts +7 -12
- package/resources/devices/location.d.mts.map +1 -1
- package/resources/devices/location.d.ts +7 -12
- package/resources/devices/location.d.ts.map +1 -1
- package/resources/devices/location.js +4 -2
- package/resources/devices/location.js.map +1 -1
- package/resources/devices/location.mjs +4 -2
- package/resources/devices/location.mjs.map +1 -1
- package/resources/devices/packages.d.mts +2 -1
- package/resources/devices/packages.d.mts.map +1 -1
- package/resources/devices/packages.d.ts +2 -1
- package/resources/devices/packages.d.ts.map +1 -1
- package/resources/devices/packages.js +2 -1
- package/resources/devices/packages.js.map +1 -1
- package/resources/devices/packages.mjs +2 -1
- package/resources/devices/packages.mjs.map +1 -1
- package/resources/devices/profile.d.mts.map +1 -1
- package/resources/devices/profile.d.ts.map +1 -1
- package/resources/devices/profile.mjs.map +1 -1
- package/resources/devices/proxy.d.mts +31 -10
- package/resources/devices/proxy.d.mts.map +1 -1
- package/resources/devices/proxy.d.ts +31 -10
- package/resources/devices/proxy.d.ts.map +1 -1
- package/resources/devices/proxy.js +7 -3
- package/resources/devices/proxy.js.map +1 -1
- package/resources/devices/proxy.mjs +7 -3
- package/resources/devices/proxy.mjs.map +1 -1
- package/resources/devices/state.d.mts +44 -5
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +44 -5
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +22 -2
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +22 -2
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/tasks.d.mts +4 -9
- package/resources/devices/tasks.d.mts.map +1 -1
- package/resources/devices/tasks.d.ts +4 -9
- package/resources/devices/tasks.d.ts.map +1 -1
- package/resources/devices/tasks.js +2 -1
- package/resources/devices/tasks.js.map +1 -1
- package/resources/devices/tasks.mjs +2 -1
- package/resources/devices/tasks.mjs.map +1 -1
- package/resources/devices/timezone.d.mts +39 -0
- package/resources/devices/timezone.d.mts.map +1 -0
- package/resources/devices/timezone.d.ts +39 -0
- package/resources/devices/timezone.d.ts.map +1 -0
- package/resources/devices/{time.js → timezone.js} +15 -30
- package/resources/devices/timezone.js.map +1 -0
- package/resources/devices/{time.mjs → timezone.mjs} +13 -28
- package/resources/devices/timezone.mjs.map +1 -0
- package/resources/devices.d.mts.map +1 -1
- package/resources/devices.d.ts.map +1 -1
- package/resources/devices.mjs.map +1 -1
- package/resources/hooks.d.mts +0 -208
- package/resources/hooks.d.mts.map +1 -1
- package/resources/hooks.d.ts +0 -208
- package/resources/hooks.d.ts.map +1 -1
- package/resources/hooks.js +0 -51
- package/resources/hooks.js.map +1 -1
- package/resources/hooks.mjs +0 -51
- package/resources/hooks.mjs.map +1 -1
- package/resources/index.d.mts +9 -7
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -7
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -3
- package/resources/index.mjs.map +1 -1
- package/resources/models.d.mts +3 -0
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +3 -0
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +3 -0
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +3 -0
- package/resources/models.mjs.map +1 -1
- package/resources/profiles.d.mts +69 -6
- package/resources/profiles.d.mts.map +1 -1
- package/resources/profiles.d.ts +69 -6
- package/resources/profiles.d.ts.map +1 -1
- package/resources/profiles.js.map +1 -1
- package/resources/profiles.mjs.map +1 -1
- package/resources/proxies.d.mts +101 -6
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +101 -6
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +20 -5
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +20 -5
- package/resources/proxies.mjs.map +1 -1
- package/resources/shared.d.mts +32 -7
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +32 -7
- package/resources/shared.d.ts.map +1 -1
- package/resources/tasks/index.d.mts.map +1 -1
- package/resources/tasks/index.d.ts.map +1 -1
- package/resources/tasks/index.mjs.map +1 -1
- package/resources/tasks/screenshots.d.mts.map +1 -1
- package/resources/tasks/screenshots.d.ts.map +1 -1
- package/resources/tasks/screenshots.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +220 -64
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +220 -64
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js +10 -2
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +10 -2
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/tasks/ui-states.d.mts.map +1 -1
- package/resources/tasks/ui-states.d.ts.map +1 -1
- package/resources/tasks/ui-states.mjs.map +1 -1
- package/resources/tasks.d.mts.map +1 -1
- package/resources/tasks.d.ts.map +1 -1
- package/resources/tasks.mjs.map +1 -1
- package/resources/webhooks/deliveries.d.mts +207 -0
- package/resources/webhooks/deliveries.d.mts.map +1 -0
- package/resources/webhooks/deliveries.d.ts +207 -0
- package/resources/webhooks/deliveries.d.ts.map +1 -0
- package/resources/webhooks/deliveries.js +73 -0
- package/resources/webhooks/deliveries.js.map +1 -0
- package/resources/webhooks/deliveries.mjs +69 -0
- package/resources/webhooks/deliveries.mjs.map +1 -0
- package/resources/webhooks/index.d.mts +3 -0
- package/resources/webhooks/index.d.mts.map +1 -0
- package/resources/webhooks/index.d.ts +3 -0
- package/resources/webhooks/index.d.ts.map +1 -0
- package/resources/webhooks/index.js +9 -0
- package/resources/webhooks/index.js.map +1 -0
- package/resources/webhooks/index.mjs +4 -0
- package/resources/webhooks/index.mjs.map +1 -0
- package/resources/webhooks/webhooks.d.mts +329 -0
- package/resources/webhooks/webhooks.d.mts.map +1 -0
- package/resources/webhooks/webhooks.d.ts +329 -0
- package/resources/webhooks/webhooks.d.ts.map +1 -0
- package/resources/webhooks/webhooks.js +140 -0
- package/resources/webhooks/webhooks.js.map +1 -0
- package/resources/webhooks/webhooks.mjs +135 -0
- package/resources/webhooks/webhooks.mjs.map +1 -0
- package/resources/webhooks.d.mts +2 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +2 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/webhooks.js +6 -0
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +3 -0
- package/resources/webhooks.mjs.map +1 -0
- package/resources/workflows/action-catalog.d.mts +43 -0
- package/resources/workflows/action-catalog.d.mts.map +1 -0
- package/resources/workflows/action-catalog.d.ts +43 -0
- package/resources/workflows/action-catalog.d.ts.map +1 -0
- package/resources/workflows/action-catalog.js +25 -0
- package/resources/workflows/action-catalog.js.map +1 -0
- package/resources/workflows/action-catalog.mjs +21 -0
- package/resources/workflows/action-catalog.mjs.map +1 -0
- package/resources/workflows/actions/actions.d.mts +96 -0
- package/resources/workflows/actions/actions.d.mts.map +1 -0
- package/resources/workflows/actions/actions.d.ts +96 -0
- package/resources/workflows/actions/actions.d.ts.map +1 -0
- package/resources/workflows/actions/actions.js +53 -0
- package/resources/workflows/actions/actions.js.map +1 -0
- package/resources/workflows/actions/actions.mjs +48 -0
- package/resources/workflows/actions/actions.mjs.map +1 -0
- package/resources/workflows/actions/index.d.mts +3 -0
- package/resources/workflows/actions/index.d.mts.map +1 -0
- package/resources/workflows/actions/index.d.ts +3 -0
- package/resources/workflows/actions/index.d.ts.map +1 -0
- package/resources/workflows/actions/index.js +9 -0
- package/resources/workflows/actions/index.js.map +1 -0
- package/resources/workflows/actions/index.mjs +4 -0
- package/resources/workflows/actions/index.mjs.map +1 -0
- package/resources/workflows/actions/services.d.mts +42 -0
- package/resources/workflows/actions/services.d.mts.map +1 -0
- package/resources/workflows/actions/services.d.ts +42 -0
- package/resources/workflows/actions/services.d.ts.map +1 -0
- package/resources/workflows/actions/services.js +25 -0
- package/resources/workflows/actions/services.js.map +1 -0
- package/resources/workflows/actions/services.mjs +21 -0
- package/resources/workflows/actions/services.mjs.map +1 -0
- package/resources/workflows/actions.d.mts +2 -0
- package/resources/workflows/actions.d.mts.map +1 -0
- package/resources/workflows/actions.d.ts +2 -0
- package/resources/workflows/actions.d.ts.map +1 -0
- package/resources/workflows/actions.js +6 -0
- package/resources/workflows/actions.js.map +1 -0
- package/resources/workflows/actions.mjs +3 -0
- package/resources/workflows/actions.mjs.map +1 -0
- package/resources/workflows/events/catalog.d.mts +4 -0
- package/resources/workflows/events/catalog.d.mts.map +1 -0
- package/resources/workflows/events/catalog.d.ts +4 -0
- package/resources/workflows/events/catalog.d.ts.map +1 -0
- package/resources/workflows/events/catalog.js +9 -0
- package/resources/workflows/events/catalog.js.map +1 -0
- package/resources/workflows/events/catalog.mjs +5 -0
- package/resources/workflows/events/catalog.mjs.map +1 -0
- package/resources/workflows/events/events.d.mts +113 -0
- package/resources/workflows/events/events.d.mts.map +1 -0
- package/resources/workflows/events/events.d.ts +113 -0
- package/resources/workflows/events/events.d.ts.map +1 -0
- package/resources/workflows/events/events.js +30 -0
- package/resources/workflows/events/events.js.map +1 -0
- package/resources/workflows/events/events.mjs +25 -0
- package/resources/workflows/events/events.mjs.map +1 -0
- package/resources/workflows/events/index.d.mts +3 -0
- package/resources/workflows/events/index.d.mts.map +1 -0
- package/resources/workflows/events/index.d.ts +3 -0
- package/resources/workflows/events/index.d.ts.map +1 -0
- package/resources/workflows/events/index.js +9 -0
- package/resources/workflows/events/index.js.map +1 -0
- package/resources/workflows/events/index.mjs +4 -0
- package/resources/workflows/events/index.mjs.map +1 -0
- package/resources/workflows/events.d.mts +2 -0
- package/resources/workflows/events.d.mts.map +1 -0
- package/resources/workflows/events.d.ts +2 -0
- package/resources/workflows/events.d.ts.map +1 -0
- package/resources/workflows/events.js +6 -0
- package/resources/workflows/events.js.map +1 -0
- package/resources/workflows/events.mjs +3 -0
- package/resources/workflows/events.mjs.map +1 -0
- package/resources/workflows/executions.d.mts +121 -0
- package/resources/workflows/executions.d.mts.map +1 -0
- package/resources/workflows/executions.d.ts +121 -0
- package/resources/workflows/executions.d.ts.map +1 -0
- package/resources/workflows/executions.js +33 -0
- package/resources/workflows/executions.js.map +1 -0
- package/resources/workflows/executions.mjs +29 -0
- package/resources/workflows/executions.mjs.map +1 -0
- package/resources/workflows/flows/actions.d.mts +89 -0
- package/resources/workflows/flows/actions.d.mts.map +1 -0
- package/resources/workflows/flows/actions.d.ts +89 -0
- package/resources/workflows/flows/actions.d.ts.map +1 -0
- package/resources/workflows/flows/actions.js +43 -0
- package/resources/workflows/flows/actions.js.map +1 -0
- package/resources/workflows/flows/actions.mjs +39 -0
- package/resources/workflows/flows/actions.mjs.map +1 -0
- package/resources/workflows/flows/flows.d.mts +154 -0
- package/resources/workflows/flows/flows.d.mts.map +1 -0
- package/resources/workflows/flows/flows.d.ts +154 -0
- package/resources/workflows/flows/flows.d.ts.map +1 -0
- package/resources/workflows/flows/flows.js +73 -0
- package/resources/workflows/flows/flows.js.map +1 -0
- package/resources/workflows/flows/flows.mjs +68 -0
- package/resources/workflows/flows/flows.mjs.map +1 -0
- package/resources/workflows/flows/index.d.mts +3 -0
- package/resources/workflows/flows/index.d.mts.map +1 -0
- package/resources/workflows/flows/index.d.ts +3 -0
- package/resources/workflows/flows/index.d.ts.map +1 -0
- package/resources/workflows/flows/index.js +9 -0
- package/resources/workflows/flows/index.js.map +1 -0
- package/resources/workflows/flows/index.mjs +4 -0
- package/resources/workflows/flows/index.mjs.map +1 -0
- package/resources/workflows/flows.d.mts +2 -0
- package/resources/workflows/flows.d.mts.map +1 -0
- package/resources/workflows/flows.d.ts +2 -0
- package/resources/workflows/flows.d.ts.map +1 -0
- package/resources/workflows/flows.js +6 -0
- package/resources/workflows/flows.js.map +1 -0
- package/resources/workflows/flows.mjs +3 -0
- package/resources/workflows/flows.mjs.map +1 -0
- package/resources/workflows/index.d.mts +9 -0
- package/resources/workflows/index.d.mts.map +1 -0
- package/resources/workflows/index.d.ts +9 -0
- package/resources/workflows/index.d.ts.map +1 -0
- package/resources/workflows/index.js +21 -0
- package/resources/workflows/index.js.map +1 -0
- package/resources/workflows/index.mjs +10 -0
- package/resources/workflows/index.mjs.map +1 -0
- package/resources/workflows/timezones.d.mts +16 -0
- package/resources/workflows/timezones.d.mts.map +1 -0
- package/resources/workflows/timezones.d.ts +16 -0
- package/resources/workflows/timezones.d.ts.map +1 -0
- package/resources/workflows/timezones.js +15 -0
- package/resources/workflows/timezones.js.map +1 -0
- package/resources/workflows/timezones.mjs +11 -0
- package/resources/workflows/timezones.mjs.map +1 -0
- package/resources/workflows/triggers.d.mts +325 -0
- package/resources/workflows/triggers.d.mts.map +1 -0
- package/resources/workflows/triggers.d.ts +325 -0
- package/resources/workflows/triggers.d.ts.map +1 -0
- package/resources/workflows/triggers.js +69 -0
- package/resources/workflows/triggers.js.map +1 -0
- package/resources/workflows/triggers.mjs +65 -0
- package/resources/workflows/triggers.mjs.map +1 -0
- package/resources/workflows/workflows.d.mts +72 -0
- package/resources/workflows/workflows.d.mts.map +1 -0
- package/resources/workflows/workflows.d.ts +72 -0
- package/resources/workflows/workflows.d.ts.map +1 -0
- package/resources/workflows/workflows.js +41 -0
- package/resources/workflows/workflows.js.map +1 -0
- package/resources/workflows/workflows.mjs +36 -0
- package/resources/workflows/workflows.mjs.map +1 -0
- package/resources/workflows.d.mts +2 -0
- package/resources/workflows.d.mts.map +1 -0
- package/resources/workflows.d.ts +2 -0
- package/resources/workflows.d.ts.map +1 -0
- package/resources/workflows.js +6 -0
- package/resources/workflows.js.map +1 -0
- package/resources/workflows.mjs +3 -0
- package/resources/workflows.mjs.map +1 -0
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +163 -96
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/apps.ts +553 -28
- package/src/resources/carriers.ts +188 -7
- package/src/resources/connect/connect.ts +73 -0
- package/src/resources/connect/countries.ts +106 -0
- package/src/resources/connect/index.ts +27 -0
- package/src/resources/connect/proxies.ts +598 -0
- package/src/resources/connect/users.ts +517 -0
- package/src/resources/connect.ts +3 -0
- package/src/resources/credentials/credentials.ts +3 -1
- package/src/resources/credentials/packages/credentials/credentials.ts +16 -4
- package/src/resources/credentials/packages/credentials/fields.ts +8 -3
- package/src/resources/credentials/packages/packages.ts +5 -2
- package/src/resources/devices/actions.ts +10 -5
- package/src/resources/devices/apps.ts +104 -42
- package/src/resources/devices/devices.ts +307 -103
- package/src/resources/devices/esim.ts +15 -6
- package/src/resources/devices/files.ts +7 -4
- package/src/resources/devices/index.ts +17 -13
- package/src/resources/devices/keyboard.ts +11 -3
- package/src/resources/devices/language.ts +93 -0
- package/src/resources/devices/location.ts +7 -19
- package/src/resources/devices/packages.ts +2 -1
- package/src/resources/devices/proxy.ts +34 -11
- package/src/resources/devices/state.ts +89 -5
- package/src/resources/devices/tasks.ts +4 -12
- package/src/resources/devices/{time.ts → timezone.ts} +24 -52
- package/src/resources/hooks.ts +1 -292
- package/src/resources/index.ts +39 -18
- package/src/resources/models.ts +3 -0
- package/src/resources/profiles.ts +105 -6
- package/src/resources/proxies.ts +124 -5
- package/src/resources/shared.ts +46 -10
- package/src/resources/tasks/tasks.ts +295 -77
- package/src/resources/webhooks/deliveries.ts +323 -0
- package/src/resources/webhooks/index.ts +26 -0
- package/src/resources/webhooks/webhooks.ts +503 -0
- package/src/resources/webhooks.ts +3 -0
- package/src/resources/workflows/action-catalog.ts +74 -0
- package/src/resources/workflows/actions/actions.ts +167 -0
- package/src/resources/workflows/actions/index.ts +15 -0
- package/src/resources/workflows/actions/services.ts +64 -0
- package/src/resources/workflows/actions.ts +3 -0
- package/src/resources/workflows/events/catalog.ts +5 -0
- package/src/resources/workflows/events/events.ts +167 -0
- package/src/resources/workflows/events/index.ts +10 -0
- package/src/resources/workflows/events.ts +3 -0
- package/src/resources/workflows/executions.ts +194 -0
- package/src/resources/workflows/flows/actions.ts +149 -0
- package/src/resources/workflows/flows/flows.ts +284 -0
- package/src/resources/workflows/flows/index.ts +29 -0
- package/src/resources/workflows/flows.ts +3 -0
- package/src/resources/workflows/index.ts +68 -0
- package/src/resources/workflows/timezones.ts +22 -0
- package/src/resources/workflows/triggers.ts +471 -0
- package/src/resources/workflows/workflows.ts +239 -0
- package/src/resources/workflows.ts +3 -0
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +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/agents.d.mts +0 -30
- package/resources/agents.d.mts.map +0 -1
- package/resources/agents.d.ts +0 -30
- package/resources/agents.d.ts.map +0 -1
- package/resources/agents.js +0 -18
- package/resources/agents.js.map +0 -1
- package/resources/agents.mjs +0 -14
- package/resources/agents.mjs.map +0 -1
- package/resources/devices/time.d.mts +0 -45
- package/resources/devices/time.d.mts.map +0 -1
- package/resources/devices/time.d.ts +0 -45
- package/resources/devices/time.d.ts.map +0 -1
- package/resources/devices/time.js.map +0 -1
- package/resources/devices/time.mjs.map +0 -1
- package/src/resources/agents.ts +0 -45
package/resources/carriers.d.mts
CHANGED
|
@@ -6,15 +6,15 @@ export declare class Carriers extends APIResource {
|
|
|
6
6
|
/**
|
|
7
7
|
* Create a new carrier
|
|
8
8
|
*/
|
|
9
|
-
create(body: CarrierCreateParams, options?: RequestOptions): APIPromise<
|
|
9
|
+
create(body: CarrierCreateParams, options?: RequestOptions): APIPromise<CarrierCreateResponse>;
|
|
10
10
|
/**
|
|
11
11
|
* Get carrier by ID
|
|
12
12
|
*/
|
|
13
|
-
retrieve(carrierID: number, options?: RequestOptions): APIPromise<
|
|
13
|
+
retrieve(carrierID: number, options?: RequestOptions): APIPromise<CarrierRetrieveResponse>;
|
|
14
14
|
/**
|
|
15
15
|
* Update a carrier
|
|
16
16
|
*/
|
|
17
|
-
update(carrierID: number, body: CarrierUpdateParams, options?: RequestOptions): APIPromise<
|
|
17
|
+
update(carrierID: number, body: CarrierUpdateParams, options?: RequestOptions): APIPromise<CarrierUpdateResponse>;
|
|
18
18
|
/**
|
|
19
19
|
* List carriers with pagination
|
|
20
20
|
*/
|
|
@@ -26,9 +26,57 @@ export declare class Carriers extends APIResource {
|
|
|
26
26
|
/**
|
|
27
27
|
* Get carrier by MCC and MNC
|
|
28
28
|
*/
|
|
29
|
-
lookup(query: CarrierLookupParams, options?: RequestOptions): APIPromise<
|
|
29
|
+
lookup(query: CarrierLookupParams, options?: RequestOptions): APIPromise<CarrierLookupResponse>;
|
|
30
30
|
}
|
|
31
|
-
export interface
|
|
31
|
+
export interface CarrierCreateResponse {
|
|
32
|
+
id: number;
|
|
33
|
+
company: string;
|
|
34
|
+
country: string;
|
|
35
|
+
country_code: string;
|
|
36
|
+
country_iso: string;
|
|
37
|
+
created_at: string;
|
|
38
|
+
detail_url: string;
|
|
39
|
+
gsm_bands: string;
|
|
40
|
+
lte_bands: string;
|
|
41
|
+
mcc: string;
|
|
42
|
+
mnc: string;
|
|
43
|
+
mobile_prefix: string;
|
|
44
|
+
nsn_size: string;
|
|
45
|
+
number_format: string;
|
|
46
|
+
operator: string;
|
|
47
|
+
protocols: string;
|
|
48
|
+
umts_bands: string;
|
|
49
|
+
website: string;
|
|
50
|
+
/**
|
|
51
|
+
* A URL to the JSON Schema for this object.
|
|
52
|
+
*/
|
|
53
|
+
$schema?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface CarrierRetrieveResponse {
|
|
56
|
+
id: number;
|
|
57
|
+
company: string;
|
|
58
|
+
country: string;
|
|
59
|
+
country_code: string;
|
|
60
|
+
country_iso: string;
|
|
61
|
+
created_at: string;
|
|
62
|
+
detail_url: string;
|
|
63
|
+
gsm_bands: string;
|
|
64
|
+
lte_bands: string;
|
|
65
|
+
mcc: string;
|
|
66
|
+
mnc: string;
|
|
67
|
+
mobile_prefix: string;
|
|
68
|
+
nsn_size: string;
|
|
69
|
+
number_format: string;
|
|
70
|
+
operator: string;
|
|
71
|
+
protocols: string;
|
|
72
|
+
umts_bands: string;
|
|
73
|
+
website: string;
|
|
74
|
+
/**
|
|
75
|
+
* A URL to the JSON Schema for this object.
|
|
76
|
+
*/
|
|
77
|
+
$schema?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface CarrierUpdateResponse {
|
|
32
80
|
id: number;
|
|
33
81
|
company: string;
|
|
34
82
|
country: string;
|
|
@@ -53,13 +101,39 @@ export interface Carrier {
|
|
|
53
101
|
$schema?: string;
|
|
54
102
|
}
|
|
55
103
|
export interface CarrierListResponse {
|
|
56
|
-
items: Array<
|
|
104
|
+
items: Array<CarrierListResponse.Item> | null;
|
|
57
105
|
pagination: Shared.Meta;
|
|
58
106
|
/**
|
|
59
107
|
* A URL to the JSON Schema for this object.
|
|
60
108
|
*/
|
|
61
109
|
$schema?: string;
|
|
62
110
|
}
|
|
111
|
+
export declare namespace CarrierListResponse {
|
|
112
|
+
interface Item {
|
|
113
|
+
id: number;
|
|
114
|
+
company: string;
|
|
115
|
+
country: string;
|
|
116
|
+
country_code: string;
|
|
117
|
+
country_iso: string;
|
|
118
|
+
created_at: string;
|
|
119
|
+
detail_url: string;
|
|
120
|
+
gsm_bands: string;
|
|
121
|
+
lte_bands: string;
|
|
122
|
+
mcc: string;
|
|
123
|
+
mnc: string;
|
|
124
|
+
mobile_prefix: string;
|
|
125
|
+
nsn_size: string;
|
|
126
|
+
number_format: string;
|
|
127
|
+
operator: string;
|
|
128
|
+
protocols: string;
|
|
129
|
+
umts_bands: string;
|
|
130
|
+
website: string;
|
|
131
|
+
/**
|
|
132
|
+
* A URL to the JSON Schema for this object.
|
|
133
|
+
*/
|
|
134
|
+
$schema?: string;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
63
137
|
export interface CarrierDeleteResponse {
|
|
64
138
|
message: string;
|
|
65
139
|
/**
|
|
@@ -67,6 +141,30 @@ export interface CarrierDeleteResponse {
|
|
|
67
141
|
*/
|
|
68
142
|
$schema?: string;
|
|
69
143
|
}
|
|
144
|
+
export interface CarrierLookupResponse {
|
|
145
|
+
id: number;
|
|
146
|
+
company: string;
|
|
147
|
+
country: string;
|
|
148
|
+
country_code: string;
|
|
149
|
+
country_iso: string;
|
|
150
|
+
created_at: string;
|
|
151
|
+
detail_url: string;
|
|
152
|
+
gsm_bands: string;
|
|
153
|
+
lte_bands: string;
|
|
154
|
+
mcc: string;
|
|
155
|
+
mnc: string;
|
|
156
|
+
mobile_prefix: string;
|
|
157
|
+
nsn_size: string;
|
|
158
|
+
number_format: string;
|
|
159
|
+
operator: string;
|
|
160
|
+
protocols: string;
|
|
161
|
+
umts_bands: string;
|
|
162
|
+
website: string;
|
|
163
|
+
/**
|
|
164
|
+
* A URL to the JSON Schema for this object.
|
|
165
|
+
*/
|
|
166
|
+
$schema?: string;
|
|
167
|
+
}
|
|
70
168
|
export interface CarrierCreateParams {
|
|
71
169
|
/**
|
|
72
170
|
* Country name
|
|
@@ -228,6 +326,6 @@ export interface CarrierLookupParams {
|
|
|
228
326
|
mnc: string;
|
|
229
327
|
}
|
|
230
328
|
export declare namespace Carriers {
|
|
231
|
-
export { type
|
|
329
|
+
export { type CarrierCreateResponse as CarrierCreateResponse, type CarrierRetrieveResponse as CarrierRetrieveResponse, type CarrierUpdateResponse as CarrierUpdateResponse, type CarrierListResponse as CarrierListResponse, type CarrierDeleteResponse as CarrierDeleteResponse, type CarrierLookupResponse as CarrierLookupResponse, type CarrierCreateParams as CarrierCreateParams, type CarrierUpdateParams as CarrierUpdateParams, type CarrierListParams as CarrierListParams, type CarrierLookupParams as CarrierLookupParams, };
|
|
232
330
|
}
|
|
233
331
|
//# sourceMappingURL=carriers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carriers.d.mts","sourceRoot":"","sources":["../src/resources/carriers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"carriers.d.mts","sourceRoot":"","sources":["../src/resources/carriers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,MAAM,qBAAiB;AACnC,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE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AM,CAAC;IAEZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
package/resources/carriers.d.ts
CHANGED
|
@@ -6,15 +6,15 @@ export declare class Carriers extends APIResource {
|
|
|
6
6
|
/**
|
|
7
7
|
* Create a new carrier
|
|
8
8
|
*/
|
|
9
|
-
create(body: CarrierCreateParams, options?: RequestOptions): APIPromise<
|
|
9
|
+
create(body: CarrierCreateParams, options?: RequestOptions): APIPromise<CarrierCreateResponse>;
|
|
10
10
|
/**
|
|
11
11
|
* Get carrier by ID
|
|
12
12
|
*/
|
|
13
|
-
retrieve(carrierID: number, options?: RequestOptions): APIPromise<
|
|
13
|
+
retrieve(carrierID: number, options?: RequestOptions): APIPromise<CarrierRetrieveResponse>;
|
|
14
14
|
/**
|
|
15
15
|
* Update a carrier
|
|
16
16
|
*/
|
|
17
|
-
update(carrierID: number, body: CarrierUpdateParams, options?: RequestOptions): APIPromise<
|
|
17
|
+
update(carrierID: number, body: CarrierUpdateParams, options?: RequestOptions): APIPromise<CarrierUpdateResponse>;
|
|
18
18
|
/**
|
|
19
19
|
* List carriers with pagination
|
|
20
20
|
*/
|
|
@@ -26,9 +26,57 @@ export declare class Carriers extends APIResource {
|
|
|
26
26
|
/**
|
|
27
27
|
* Get carrier by MCC and MNC
|
|
28
28
|
*/
|
|
29
|
-
lookup(query: CarrierLookupParams, options?: RequestOptions): APIPromise<
|
|
29
|
+
lookup(query: CarrierLookupParams, options?: RequestOptions): APIPromise<CarrierLookupResponse>;
|
|
30
30
|
}
|
|
31
|
-
export interface
|
|
31
|
+
export interface CarrierCreateResponse {
|
|
32
|
+
id: number;
|
|
33
|
+
company: string;
|
|
34
|
+
country: string;
|
|
35
|
+
country_code: string;
|
|
36
|
+
country_iso: string;
|
|
37
|
+
created_at: string;
|
|
38
|
+
detail_url: string;
|
|
39
|
+
gsm_bands: string;
|
|
40
|
+
lte_bands: string;
|
|
41
|
+
mcc: string;
|
|
42
|
+
mnc: string;
|
|
43
|
+
mobile_prefix: string;
|
|
44
|
+
nsn_size: string;
|
|
45
|
+
number_format: string;
|
|
46
|
+
operator: string;
|
|
47
|
+
protocols: string;
|
|
48
|
+
umts_bands: string;
|
|
49
|
+
website: string;
|
|
50
|
+
/**
|
|
51
|
+
* A URL to the JSON Schema for this object.
|
|
52
|
+
*/
|
|
53
|
+
$schema?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface CarrierRetrieveResponse {
|
|
56
|
+
id: number;
|
|
57
|
+
company: string;
|
|
58
|
+
country: string;
|
|
59
|
+
country_code: string;
|
|
60
|
+
country_iso: string;
|
|
61
|
+
created_at: string;
|
|
62
|
+
detail_url: string;
|
|
63
|
+
gsm_bands: string;
|
|
64
|
+
lte_bands: string;
|
|
65
|
+
mcc: string;
|
|
66
|
+
mnc: string;
|
|
67
|
+
mobile_prefix: string;
|
|
68
|
+
nsn_size: string;
|
|
69
|
+
number_format: string;
|
|
70
|
+
operator: string;
|
|
71
|
+
protocols: string;
|
|
72
|
+
umts_bands: string;
|
|
73
|
+
website: string;
|
|
74
|
+
/**
|
|
75
|
+
* A URL to the JSON Schema for this object.
|
|
76
|
+
*/
|
|
77
|
+
$schema?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface CarrierUpdateResponse {
|
|
32
80
|
id: number;
|
|
33
81
|
company: string;
|
|
34
82
|
country: string;
|
|
@@ -53,13 +101,39 @@ export interface Carrier {
|
|
|
53
101
|
$schema?: string;
|
|
54
102
|
}
|
|
55
103
|
export interface CarrierListResponse {
|
|
56
|
-
items: Array<
|
|
104
|
+
items: Array<CarrierListResponse.Item> | null;
|
|
57
105
|
pagination: Shared.Meta;
|
|
58
106
|
/**
|
|
59
107
|
* A URL to the JSON Schema for this object.
|
|
60
108
|
*/
|
|
61
109
|
$schema?: string;
|
|
62
110
|
}
|
|
111
|
+
export declare namespace CarrierListResponse {
|
|
112
|
+
interface Item {
|
|
113
|
+
id: number;
|
|
114
|
+
company: string;
|
|
115
|
+
country: string;
|
|
116
|
+
country_code: string;
|
|
117
|
+
country_iso: string;
|
|
118
|
+
created_at: string;
|
|
119
|
+
detail_url: string;
|
|
120
|
+
gsm_bands: string;
|
|
121
|
+
lte_bands: string;
|
|
122
|
+
mcc: string;
|
|
123
|
+
mnc: string;
|
|
124
|
+
mobile_prefix: string;
|
|
125
|
+
nsn_size: string;
|
|
126
|
+
number_format: string;
|
|
127
|
+
operator: string;
|
|
128
|
+
protocols: string;
|
|
129
|
+
umts_bands: string;
|
|
130
|
+
website: string;
|
|
131
|
+
/**
|
|
132
|
+
* A URL to the JSON Schema for this object.
|
|
133
|
+
*/
|
|
134
|
+
$schema?: string;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
63
137
|
export interface CarrierDeleteResponse {
|
|
64
138
|
message: string;
|
|
65
139
|
/**
|
|
@@ -67,6 +141,30 @@ export interface CarrierDeleteResponse {
|
|
|
67
141
|
*/
|
|
68
142
|
$schema?: string;
|
|
69
143
|
}
|
|
144
|
+
export interface CarrierLookupResponse {
|
|
145
|
+
id: number;
|
|
146
|
+
company: string;
|
|
147
|
+
country: string;
|
|
148
|
+
country_code: string;
|
|
149
|
+
country_iso: string;
|
|
150
|
+
created_at: string;
|
|
151
|
+
detail_url: string;
|
|
152
|
+
gsm_bands: string;
|
|
153
|
+
lte_bands: string;
|
|
154
|
+
mcc: string;
|
|
155
|
+
mnc: string;
|
|
156
|
+
mobile_prefix: string;
|
|
157
|
+
nsn_size: string;
|
|
158
|
+
number_format: string;
|
|
159
|
+
operator: string;
|
|
160
|
+
protocols: string;
|
|
161
|
+
umts_bands: string;
|
|
162
|
+
website: string;
|
|
163
|
+
/**
|
|
164
|
+
* A URL to the JSON Schema for this object.
|
|
165
|
+
*/
|
|
166
|
+
$schema?: string;
|
|
167
|
+
}
|
|
70
168
|
export interface CarrierCreateParams {
|
|
71
169
|
/**
|
|
72
170
|
* Country name
|
|
@@ -228,6 +326,6 @@ export interface CarrierLookupParams {
|
|
|
228
326
|
mnc: string;
|
|
229
327
|
}
|
|
230
328
|
export declare namespace Carriers {
|
|
231
|
-
export { type
|
|
329
|
+
export { type CarrierCreateResponse as CarrierCreateResponse, type CarrierRetrieveResponse as CarrierRetrieveResponse, type CarrierUpdateResponse as CarrierUpdateResponse, type CarrierListResponse as CarrierListResponse, type CarrierDeleteResponse as CarrierDeleteResponse, type CarrierLookupResponse as CarrierLookupResponse, type CarrierCreateParams as CarrierCreateParams, type CarrierUpdateParams as CarrierUpdateParams, type CarrierListParams as CarrierListParams, type CarrierLookupParams as CarrierLookupParams, };
|
|
232
330
|
}
|
|
233
331
|
//# sourceMappingURL=carriers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carriers.d.ts","sourceRoot":"","sources":["../src/resources/carriers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"carriers.d.ts","sourceRoot":"","sources":["../src/resources/carriers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,MAAM,oBAAiB;AACnC,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO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AG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carriers.js","sourceRoot":"","sources":["../src/resources/carriers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,MAAM,
|
|
1
|
+
{"version":3,"file":"carriers.js","sourceRoot":"","sources":["../src/resources/carriers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,SAAiB,EACjB,IAAyB,EACzB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,SAAiB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;CACF;AAjDD,4BAiDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carriers.mjs","sourceRoot":"","sources":["../src/resources/carriers.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"carriers.mjs","sourceRoot":"","sources":["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 -0,0 +1,18 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as CountriesAPI from "./countries.mjs";
|
|
3
|
+
import { Countries, CountryListParams, CountryListResponse } from "./countries.mjs";
|
|
4
|
+
import * as ProxiesAPI from "./proxies.mjs";
|
|
5
|
+
import { Proxies, ProxyBuyParams, ProxyBuyResponse, ProxyListConnectionsParams, ProxyListConnectionsResponse, ProxyListParams, ProxyListResponse, ProxyPingResponse, ProxyRetrieveResponse } from "./proxies.mjs";
|
|
6
|
+
import * as UsersAPI from "./users.mjs";
|
|
7
|
+
import { UserCreateParams, UserCreateResponse, UserListConnectionsParams, UserListConnectionsResponse, UserListParams, UserListResponse, UserRetrieveResponse, UserUpdateParams, UserUpdateResponse, Users } from "./users.mjs";
|
|
8
|
+
export declare class Connect extends APIResource {
|
|
9
|
+
countries: CountriesAPI.Countries;
|
|
10
|
+
proxies: ProxiesAPI.Proxies;
|
|
11
|
+
users: UsersAPI.Users;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace Connect {
|
|
14
|
+
export { Countries as Countries, type CountryListResponse as CountryListResponse, type CountryListParams as CountryListParams, };
|
|
15
|
+
export { Proxies as Proxies, type ProxyRetrieveResponse as ProxyRetrieveResponse, type ProxyListResponse as ProxyListResponse, type ProxyBuyResponse as ProxyBuyResponse, type ProxyListConnectionsResponse as ProxyListConnectionsResponse, type ProxyPingResponse as ProxyPingResponse, type ProxyListParams as ProxyListParams, type ProxyBuyParams as ProxyBuyParams, type ProxyListConnectionsParams as ProxyListConnectionsParams, };
|
|
16
|
+
export { Users as Users, type UserCreateResponse as UserCreateResponse, type UserRetrieveResponse as UserRetrieveResponse, type UserUpdateResponse as UserUpdateResponse, type UserListResponse as UserListResponse, type UserListConnectionsResponse as UserListConnectionsResponse, type UserCreateParams as UserCreateParams, type UserUpdateParams as UserUpdateParams, type UserListParams as UserListParams, type UserListConnectionsParams as UserListConnectionsParams, };
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=connect.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,wBAAoB;AAChF,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EACL,OAAO,EACP,cAAc,EACd,gBAAgB,EAChB,0BAA0B,EAC1B,4BAA4B,EAC5B,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACtB,sBAAkB;AACnB,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,2BAA2B,EAC3B,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,EACN,oBAAgB;AAEjB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;CAC1D;AAMD,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as CountriesAPI from "./countries.js";
|
|
3
|
+
import { Countries, CountryListParams, CountryListResponse } from "./countries.js";
|
|
4
|
+
import * as ProxiesAPI from "./proxies.js";
|
|
5
|
+
import { Proxies, ProxyBuyParams, ProxyBuyResponse, ProxyListConnectionsParams, ProxyListConnectionsResponse, ProxyListParams, ProxyListResponse, ProxyPingResponse, ProxyRetrieveResponse } from "./proxies.js";
|
|
6
|
+
import * as UsersAPI from "./users.js";
|
|
7
|
+
import { UserCreateParams, UserCreateResponse, UserListConnectionsParams, UserListConnectionsResponse, UserListParams, UserListResponse, UserRetrieveResponse, UserUpdateParams, UserUpdateResponse, Users } from "./users.js";
|
|
8
|
+
export declare class Connect extends APIResource {
|
|
9
|
+
countries: CountriesAPI.Countries;
|
|
10
|
+
proxies: ProxiesAPI.Proxies;
|
|
11
|
+
users: UsersAPI.Users;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace Connect {
|
|
14
|
+
export { Countries as Countries, type CountryListResponse as CountryListResponse, type CountryListParams as CountryListParams, };
|
|
15
|
+
export { Proxies as Proxies, type ProxyRetrieveResponse as ProxyRetrieveResponse, type ProxyListResponse as ProxyListResponse, type ProxyBuyResponse as ProxyBuyResponse, type ProxyListConnectionsResponse as ProxyListConnectionsResponse, type ProxyPingResponse as ProxyPingResponse, type ProxyListParams as ProxyListParams, type ProxyBuyParams as ProxyBuyParams, type ProxyListConnectionsParams as ProxyListConnectionsParams, };
|
|
16
|
+
export { Users as Users, type UserCreateResponse as UserCreateResponse, type UserRetrieveResponse as UserRetrieveResponse, type UserUpdateResponse as UserUpdateResponse, type UserListResponse as UserListResponse, type UserListConnectionsResponse as UserListConnectionsResponse, type UserCreateParams as UserCreateParams, type UserUpdateParams as UserUpdateParams, type UserListParams as UserListParams, type UserListConnectionsParams as UserListConnectionsParams, };
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=connect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,YAAY,uBAAoB;AAC5C,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,uBAAoB;AAChF,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EACL,OAAO,EACP,cAAc,EACd,gBAAgB,EAChB,0BAA0B,EAC1B,4BAA4B,EAC5B,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACtB,qBAAkB;AACnB,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,2BAA2B,EAC3B,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,EACN,mBAAgB;AAEjB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;CAC1D;AAMD,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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.Connect = void 0;
|
|
5
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../core/resource.js");
|
|
7
|
+
const CountriesAPI = tslib_1.__importStar(require("./countries.js"));
|
|
8
|
+
const countries_1 = require("./countries.js");
|
|
9
|
+
const ProxiesAPI = tslib_1.__importStar(require("./proxies.js"));
|
|
10
|
+
const proxies_1 = require("./proxies.js");
|
|
11
|
+
const UsersAPI = tslib_1.__importStar(require("./users.js"));
|
|
12
|
+
const users_1 = require("./users.js");
|
|
13
|
+
class Connect extends resource_1.APIResource {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.countries = new CountriesAPI.Countries(this._client);
|
|
17
|
+
this.proxies = new ProxiesAPI.Proxies(this._client);
|
|
18
|
+
this.users = new UsersAPI.Users(this._client);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.Connect = Connect;
|
|
22
|
+
Connect.Countries = countries_1.Countries;
|
|
23
|
+
Connect.Proxies = proxies_1.Proxies;
|
|
24
|
+
Connect.Users = users_1.Users;
|
|
25
|
+
//# sourceMappingURL=connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,qEAA4C;AAC5C,8CAAgF;AAChF,iEAAwC;AACxC,0CAUmB;AACnB,6DAAoC;AACpC,sCAWiB;AAEjB,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;CAAA;AAJD,0BAIC;AAED,OAAO,CAAC,SAAS,GAAG,qBAAS,CAAC;AAC9B,OAAO,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC1B,OAAO,CAAC,KAAK,GAAG,aAAK,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as CountriesAPI from "./countries.mjs";
|
|
4
|
+
import { Countries } from "./countries.mjs";
|
|
5
|
+
import * as ProxiesAPI from "./proxies.mjs";
|
|
6
|
+
import { Proxies, } from "./proxies.mjs";
|
|
7
|
+
import * as UsersAPI from "./users.mjs";
|
|
8
|
+
import { Users, } from "./users.mjs";
|
|
9
|
+
export class Connect extends APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.countries = new CountriesAPI.Countries(this._client);
|
|
13
|
+
this.proxies = new ProxiesAPI.Proxies(this._client);
|
|
14
|
+
this.users = new UsersAPI.Users(this._client);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
Connect.Countries = Countries;
|
|
18
|
+
Connect.Proxies = Proxies;
|
|
19
|
+
Connect.Users = Users;
|
|
20
|
+
//# sourceMappingURL=connect.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAAE,SAAS,EAA0C,wBAAoB;AAChF,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EACL,OAAO,GASR,sBAAkB;AACnB,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAUL,KAAK,GACN,oBAAgB;AAEjB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3D,CAAC;CAAA;AAED,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC;AAC9B,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;AAC1B,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Mobilerun Connect country coverage information
|
|
6
|
+
*/
|
|
7
|
+
export declare class Countries extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Lookup of countries that can be selected when creating a proxy. Each country
|
|
10
|
+
* lists the proxy types available there; without a ?type filter, every covered
|
|
11
|
+
* country is returned.
|
|
12
|
+
*/
|
|
13
|
+
list(query?: CountryListParams | null | undefined, options?: RequestOptions): APIPromise<CountryListResponse>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A page of countries.
|
|
17
|
+
*/
|
|
18
|
+
export interface CountryListResponse {
|
|
19
|
+
items: Array<CountryListResponse.Item>;
|
|
20
|
+
/**
|
|
21
|
+
* Pagination metadata for a list response.
|
|
22
|
+
*/
|
|
23
|
+
pagination: CountryListResponse.Pagination;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace CountryListResponse {
|
|
26
|
+
interface Item {
|
|
27
|
+
/**
|
|
28
|
+
* ISO 3166-1 alpha-2 country code (lowercase).
|
|
29
|
+
*/
|
|
30
|
+
code: string;
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
* Proxy types available to provision in this country.
|
|
34
|
+
*/
|
|
35
|
+
proxyTypes: Array<'dedicated_residential' | 'residential' | 'mobile'>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Pagination metadata for a list response.
|
|
39
|
+
*/
|
|
40
|
+
interface Pagination {
|
|
41
|
+
/**
|
|
42
|
+
* Whether a next page exists.
|
|
43
|
+
*/
|
|
44
|
+
hasNext: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Whether a previous page exists.
|
|
47
|
+
*/
|
|
48
|
+
hasPrev: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Current page number (1-based).
|
|
51
|
+
*/
|
|
52
|
+
page: number;
|
|
53
|
+
/**
|
|
54
|
+
* Total number of pages.
|
|
55
|
+
*/
|
|
56
|
+
pages: number;
|
|
57
|
+
/**
|
|
58
|
+
* Number of items per page.
|
|
59
|
+
*/
|
|
60
|
+
pageSize: number;
|
|
61
|
+
/**
|
|
62
|
+
* Total number of items across all pages.
|
|
63
|
+
*/
|
|
64
|
+
total: number;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
export interface CountryListParams {
|
|
68
|
+
/**
|
|
69
|
+
* Page number (1-based).
|
|
70
|
+
*/
|
|
71
|
+
page?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Number of items per page.
|
|
74
|
+
*/
|
|
75
|
+
pageSize?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Filter to countries offering this proxy type.
|
|
78
|
+
*/
|
|
79
|
+
type?: 'dedicated_residential' | 'residential' | 'mobile';
|
|
80
|
+
}
|
|
81
|
+
export declare namespace Countries {
|
|
82
|
+
export { type CountryListResponse as CountryListResponse, type CountryListParams as CountryListParams };
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=countries.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"countries.d.mts","sourceRoot":"","sources":["../../src/resources/connect/countries.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;OAIG;IACH,IAAI,CACF,KAAK,GAAE,iBAA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