@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/src/resources/apps.ts
CHANGED
|
@@ -4,14 +4,147 @@ import { APIResource } from '../core/resource';
|
|
|
4
4
|
import * as Shared from './shared';
|
|
5
5
|
import { APIPromise } from '../core/api-promise';
|
|
6
6
|
import { RequestOptions } from '../internal/request-options';
|
|
7
|
+
import { path } from '../internal/utils/path';
|
|
7
8
|
|
|
8
9
|
export class Apps extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves an app by its ID
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const app = await client.apps.retrieve(
|
|
16
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
17
|
+
* );
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<AppRetrieveResponse> {
|
|
21
|
+
return this._client.get(path`/apps/${id}`, options);
|
|
22
|
+
}
|
|
23
|
+
|
|
9
24
|
/**
|
|
10
25
|
* Retrieves a paginated list of apps with filtering and search capabilities
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* const apps = await client.apps.list();
|
|
30
|
+
* ```
|
|
11
31
|
*/
|
|
12
32
|
list(query: AppListParams | null | undefined = {}, options?: RequestOptions): APIPromise<AppListResponse> {
|
|
13
33
|
return this._client.get('/apps', { query, ...options });
|
|
14
34
|
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Deletes an uploaded app by ID. Removes files from R2 storage and the database
|
|
38
|
+
* entry.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const app = await client.apps.delete(
|
|
43
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
44
|
+
* );
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
delete(id: string, options?: RequestOptions): APIPromise<AppDeleteResponse> {
|
|
48
|
+
return this._client.delete(path`/apps/${id}`, options);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Verifies the APK file exists in R2 and sets the app status to available.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* const response = await client.apps.confirmUpload(
|
|
57
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
58
|
+
* );
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
confirmUpload(id: string, options?: RequestOptions): APIPromise<AppConfirmUploadResponse> {
|
|
62
|
+
return this._client.post(path`/apps/${id}/confirm-upload`, options);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Creates or updates an app and returns pre-signed Cloudflare R2 upload URLs for
|
|
67
|
+
* each file
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* ```ts
|
|
71
|
+
* const response = await client.apps.createSignedUploadURL({
|
|
72
|
+
* bundleId:
|
|
73
|
+
* 'NX0.JB-_-.m-u--_-p.Z1-u_2I.D--_T-_.dzZ-.Wx.L_a8--_.w_D_',
|
|
74
|
+
* displayName: 'x',
|
|
75
|
+
* files: [
|
|
76
|
+
* {
|
|
77
|
+
* contentType:
|
|
78
|
+
* 'application/vnd.android.package-archive',
|
|
79
|
+
* fileName: 'J!Q0Ok0bzJb7.apk/i',
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
82
|
+
* versionCode: 0,
|
|
83
|
+
* versionName: 'x',
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
createSignedUploadURL(
|
|
88
|
+
body: AppCreateSignedUploadURLParams,
|
|
89
|
+
options?: RequestOptions,
|
|
90
|
+
): APIPromise<AppCreateSignedUploadURLResponse> {
|
|
91
|
+
return this._client.post('/apps/create-signed-upload-url', { body, ...options });
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Retrieves all versions of an app visible to the user (own uploads + system
|
|
96
|
+
* versions)
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* ```ts
|
|
100
|
+
* const response = await client.apps.listVersions(
|
|
101
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
102
|
+
* );
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
listVersions(id: string, options?: RequestOptions): APIPromise<AppListVersionsResponse> {
|
|
106
|
+
return this._client.get(path`/apps/${id}/versions`, options);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Sets the app status to failed.
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* ```ts
|
|
114
|
+
* const response = await client.apps.markFailed(
|
|
115
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
116
|
+
* );
|
|
117
|
+
* ```
|
|
118
|
+
*/
|
|
119
|
+
markFailed(id: string, options?: RequestOptions): APIPromise<AppMarkFailedResponse> {
|
|
120
|
+
return this._client.post(path`/apps/${id}/mark-failed`, options);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface AppRetrieveResponse {
|
|
125
|
+
data: AppRetrieveResponse.Data;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export namespace AppRetrieveResponse {
|
|
129
|
+
export interface Data {
|
|
130
|
+
id: string;
|
|
131
|
+
|
|
132
|
+
bundleId: string;
|
|
133
|
+
|
|
134
|
+
createdAt: string | null;
|
|
135
|
+
|
|
136
|
+
description: string | null;
|
|
137
|
+
|
|
138
|
+
developerName: string | null;
|
|
139
|
+
|
|
140
|
+
displayName: string;
|
|
141
|
+
|
|
142
|
+
iconURL: string;
|
|
143
|
+
|
|
144
|
+
platform: 'android' | 'ios';
|
|
145
|
+
|
|
146
|
+
updatedAt: string | null;
|
|
147
|
+
}
|
|
15
148
|
}
|
|
16
149
|
|
|
17
150
|
export interface AppListResponse {
|
|
@@ -26,19 +159,371 @@ export namespace AppListResponse {
|
|
|
26
159
|
export interface Count {
|
|
27
160
|
availableCount: number;
|
|
28
161
|
|
|
29
|
-
|
|
162
|
+
failedCount: number;
|
|
30
163
|
|
|
31
|
-
|
|
164
|
+
queuedCount: number;
|
|
32
165
|
|
|
33
166
|
totalCount: number;
|
|
34
|
-
|
|
35
|
-
uploadCount: number;
|
|
36
167
|
}
|
|
37
168
|
|
|
38
169
|
export interface Item {
|
|
39
170
|
id: string;
|
|
40
171
|
|
|
41
|
-
|
|
172
|
+
bundleId: string;
|
|
173
|
+
|
|
174
|
+
createdAt: string | null;
|
|
175
|
+
|
|
176
|
+
description: string | null;
|
|
177
|
+
|
|
178
|
+
developerName: string | null;
|
|
179
|
+
|
|
180
|
+
displayName: string;
|
|
181
|
+
|
|
182
|
+
iconURL: string;
|
|
183
|
+
|
|
184
|
+
platform: 'android' | 'ios';
|
|
185
|
+
|
|
186
|
+
updatedAt: string | null;
|
|
187
|
+
|
|
188
|
+
version: Item.Version;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export namespace Item {
|
|
192
|
+
export interface Version {
|
|
193
|
+
id: string;
|
|
194
|
+
|
|
195
|
+
appId: string;
|
|
196
|
+
|
|
197
|
+
country:
|
|
198
|
+
| 'AF'
|
|
199
|
+
| 'AL'
|
|
200
|
+
| 'DZ'
|
|
201
|
+
| 'AS'
|
|
202
|
+
| 'AD'
|
|
203
|
+
| 'AO'
|
|
204
|
+
| 'AI'
|
|
205
|
+
| 'AQ'
|
|
206
|
+
| 'AG'
|
|
207
|
+
| 'AR'
|
|
208
|
+
| 'AM'
|
|
209
|
+
| 'AW'
|
|
210
|
+
| 'AP'
|
|
211
|
+
| 'AU'
|
|
212
|
+
| 'AT'
|
|
213
|
+
| 'AZ'
|
|
214
|
+
| 'BS'
|
|
215
|
+
| 'BH'
|
|
216
|
+
| 'BD'
|
|
217
|
+
| 'BB'
|
|
218
|
+
| 'BY'
|
|
219
|
+
| 'BE'
|
|
220
|
+
| 'BZ'
|
|
221
|
+
| 'BJ'
|
|
222
|
+
| 'BM'
|
|
223
|
+
| 'BT'
|
|
224
|
+
| 'BO'
|
|
225
|
+
| 'BQ'
|
|
226
|
+
| 'BA'
|
|
227
|
+
| 'BW'
|
|
228
|
+
| 'BV'
|
|
229
|
+
| 'BR'
|
|
230
|
+
| 'IO'
|
|
231
|
+
| 'BN'
|
|
232
|
+
| 'BG'
|
|
233
|
+
| 'BF'
|
|
234
|
+
| 'BI'
|
|
235
|
+
| 'KH'
|
|
236
|
+
| 'CM'
|
|
237
|
+
| 'CA'
|
|
238
|
+
| 'CV'
|
|
239
|
+
| 'KY'
|
|
240
|
+
| 'CF'
|
|
241
|
+
| 'TD'
|
|
242
|
+
| 'CL'
|
|
243
|
+
| 'CN'
|
|
244
|
+
| 'CX'
|
|
245
|
+
| 'CC'
|
|
246
|
+
| 'CO'
|
|
247
|
+
| 'KM'
|
|
248
|
+
| 'CG'
|
|
249
|
+
| 'CD'
|
|
250
|
+
| 'CK'
|
|
251
|
+
| 'CR'
|
|
252
|
+
| 'HR'
|
|
253
|
+
| 'CU'
|
|
254
|
+
| 'CW'
|
|
255
|
+
| 'CY'
|
|
256
|
+
| 'CZ'
|
|
257
|
+
| 'CI'
|
|
258
|
+
| 'DK'
|
|
259
|
+
| 'DJ'
|
|
260
|
+
| 'DM'
|
|
261
|
+
| 'DO'
|
|
262
|
+
| 'EC'
|
|
263
|
+
| 'EG'
|
|
264
|
+
| 'SV'
|
|
265
|
+
| 'GQ'
|
|
266
|
+
| 'ER'
|
|
267
|
+
| 'EE'
|
|
268
|
+
| 'ET'
|
|
269
|
+
| 'FK'
|
|
270
|
+
| 'FO'
|
|
271
|
+
| 'FJ'
|
|
272
|
+
| 'FI'
|
|
273
|
+
| 'FR'
|
|
274
|
+
| 'GF'
|
|
275
|
+
| 'PF'
|
|
276
|
+
| 'TF'
|
|
277
|
+
| 'GA'
|
|
278
|
+
| 'GM'
|
|
279
|
+
| 'GE'
|
|
280
|
+
| 'DE'
|
|
281
|
+
| 'GH'
|
|
282
|
+
| 'GI'
|
|
283
|
+
| 'GR'
|
|
284
|
+
| 'GL'
|
|
285
|
+
| 'GD'
|
|
286
|
+
| 'GP'
|
|
287
|
+
| 'GU'
|
|
288
|
+
| 'GT'
|
|
289
|
+
| 'GG'
|
|
290
|
+
| 'GN'
|
|
291
|
+
| 'GW'
|
|
292
|
+
| 'GY'
|
|
293
|
+
| 'HT'
|
|
294
|
+
| 'HM'
|
|
295
|
+
| 'VA'
|
|
296
|
+
| 'HN'
|
|
297
|
+
| 'HK'
|
|
298
|
+
| 'HU'
|
|
299
|
+
| 'IS'
|
|
300
|
+
| 'IN'
|
|
301
|
+
| 'ID'
|
|
302
|
+
| 'IR'
|
|
303
|
+
| 'IQ'
|
|
304
|
+
| 'IE'
|
|
305
|
+
| 'IM'
|
|
306
|
+
| 'IL'
|
|
307
|
+
| 'IT'
|
|
308
|
+
| 'JM'
|
|
309
|
+
| 'JP'
|
|
310
|
+
| 'JE'
|
|
311
|
+
| 'JO'
|
|
312
|
+
| 'KZ'
|
|
313
|
+
| 'KE'
|
|
314
|
+
| 'KI'
|
|
315
|
+
| 'KR'
|
|
316
|
+
| 'KW'
|
|
317
|
+
| 'KG'
|
|
318
|
+
| 'LA'
|
|
319
|
+
| 'LV'
|
|
320
|
+
| 'LB'
|
|
321
|
+
| 'LS'
|
|
322
|
+
| 'LR'
|
|
323
|
+
| 'LY'
|
|
324
|
+
| 'LI'
|
|
325
|
+
| 'LT'
|
|
326
|
+
| 'LU'
|
|
327
|
+
| 'MO'
|
|
328
|
+
| 'MG'
|
|
329
|
+
| 'MW'
|
|
330
|
+
| 'MY'
|
|
331
|
+
| 'MV'
|
|
332
|
+
| 'ML'
|
|
333
|
+
| 'MT'
|
|
334
|
+
| 'MH'
|
|
335
|
+
| 'MQ'
|
|
336
|
+
| 'MR'
|
|
337
|
+
| 'MU'
|
|
338
|
+
| 'YT'
|
|
339
|
+
| 'MX'
|
|
340
|
+
| 'FM'
|
|
341
|
+
| 'MD'
|
|
342
|
+
| 'MC'
|
|
343
|
+
| 'MN'
|
|
344
|
+
| 'ME'
|
|
345
|
+
| 'MS'
|
|
346
|
+
| 'MA'
|
|
347
|
+
| 'MZ'
|
|
348
|
+
| 'MM'
|
|
349
|
+
| 'NA'
|
|
350
|
+
| 'NR'
|
|
351
|
+
| 'NP'
|
|
352
|
+
| 'NL'
|
|
353
|
+
| 'AN'
|
|
354
|
+
| 'NC'
|
|
355
|
+
| 'NZ'
|
|
356
|
+
| 'NI'
|
|
357
|
+
| 'NE'
|
|
358
|
+
| 'NG'
|
|
359
|
+
| 'NU'
|
|
360
|
+
| 'NF'
|
|
361
|
+
| 'KP'
|
|
362
|
+
| 'MK'
|
|
363
|
+
| 'MP'
|
|
364
|
+
| 'NO'
|
|
365
|
+
| 'OM'
|
|
366
|
+
| 'PK'
|
|
367
|
+
| 'PW'
|
|
368
|
+
| 'PS'
|
|
369
|
+
| 'PA'
|
|
370
|
+
| 'PG'
|
|
371
|
+
| 'PY'
|
|
372
|
+
| 'PE'
|
|
373
|
+
| 'PH'
|
|
374
|
+
| 'PN'
|
|
375
|
+
| 'PL'
|
|
376
|
+
| 'PT'
|
|
377
|
+
| 'PR'
|
|
378
|
+
| 'QA'
|
|
379
|
+
| 'RE'
|
|
380
|
+
| 'RO'
|
|
381
|
+
| 'RU'
|
|
382
|
+
| 'RW'
|
|
383
|
+
| 'BL'
|
|
384
|
+
| 'SH'
|
|
385
|
+
| 'KN'
|
|
386
|
+
| 'LC'
|
|
387
|
+
| 'MF'
|
|
388
|
+
| 'PM'
|
|
389
|
+
| 'VC'
|
|
390
|
+
| 'WS'
|
|
391
|
+
| 'SM'
|
|
392
|
+
| 'ST'
|
|
393
|
+
| 'SA'
|
|
394
|
+
| 'SN'
|
|
395
|
+
| 'RS'
|
|
396
|
+
| 'CS'
|
|
397
|
+
| 'SC'
|
|
398
|
+
| 'SL'
|
|
399
|
+
| 'SG'
|
|
400
|
+
| 'SX'
|
|
401
|
+
| 'SK'
|
|
402
|
+
| 'SI'
|
|
403
|
+
| 'SB'
|
|
404
|
+
| 'SO'
|
|
405
|
+
| 'ZA'
|
|
406
|
+
| 'GS'
|
|
407
|
+
| 'SS'
|
|
408
|
+
| 'ES'
|
|
409
|
+
| 'LK'
|
|
410
|
+
| 'SD'
|
|
411
|
+
| 'SR'
|
|
412
|
+
| 'SJ'
|
|
413
|
+
| 'SZ'
|
|
414
|
+
| 'SE'
|
|
415
|
+
| 'CH'
|
|
416
|
+
| 'SY'
|
|
417
|
+
| 'TW'
|
|
418
|
+
| 'TJ'
|
|
419
|
+
| 'TZ'
|
|
420
|
+
| 'TH'
|
|
421
|
+
| 'TL'
|
|
422
|
+
| 'TG'
|
|
423
|
+
| 'TK'
|
|
424
|
+
| 'TO'
|
|
425
|
+
| 'TT'
|
|
426
|
+
| 'TN'
|
|
427
|
+
| 'TR'
|
|
428
|
+
| 'TM'
|
|
429
|
+
| 'TC'
|
|
430
|
+
| 'TV'
|
|
431
|
+
| 'UG'
|
|
432
|
+
| 'UA'
|
|
433
|
+
| 'AE'
|
|
434
|
+
| 'GB'
|
|
435
|
+
| 'US'
|
|
436
|
+
| 'UM'
|
|
437
|
+
| 'UY'
|
|
438
|
+
| 'UZ'
|
|
439
|
+
| 'VU'
|
|
440
|
+
| 'VE'
|
|
441
|
+
| 'VN'
|
|
442
|
+
| 'VG'
|
|
443
|
+
| 'VI'
|
|
444
|
+
| 'WF'
|
|
445
|
+
| 'EH'
|
|
446
|
+
| 'YE'
|
|
447
|
+
| 'ZM'
|
|
448
|
+
| 'ZW'
|
|
449
|
+
| 'AX';
|
|
450
|
+
|
|
451
|
+
createdAt: string | null;
|
|
452
|
+
|
|
453
|
+
createdBy: string | null;
|
|
454
|
+
|
|
455
|
+
ownerId: string | null;
|
|
456
|
+
|
|
457
|
+
queuedAt: string | null;
|
|
458
|
+
|
|
459
|
+
sizeBytes: number | null;
|
|
460
|
+
|
|
461
|
+
source: 'user' | 'system' | 'portal' | 'store';
|
|
462
|
+
|
|
463
|
+
status: 'queued' | 'available' | 'failed';
|
|
464
|
+
|
|
465
|
+
targetSdk: number | null;
|
|
466
|
+
|
|
467
|
+
updatedAt: string | null;
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
471
|
+
*/
|
|
472
|
+
userId: string | null;
|
|
473
|
+
|
|
474
|
+
versionCode: number;
|
|
475
|
+
|
|
476
|
+
versionName: string;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export interface AppDeleteResponse {
|
|
482
|
+
message: string;
|
|
483
|
+
|
|
484
|
+
success: true;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
export interface AppConfirmUploadResponse {
|
|
488
|
+
message: string;
|
|
489
|
+
|
|
490
|
+
success: true;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
export interface AppCreateSignedUploadURLResponse {
|
|
494
|
+
/**
|
|
495
|
+
* App ID in the database
|
|
496
|
+
*/
|
|
497
|
+
appId: string;
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* Pre-signed Cloudflare R2 URLs for uploading app files
|
|
501
|
+
*/
|
|
502
|
+
r2UploadUrls: Array<AppCreateSignedUploadURLResponse.R2UploadURL>;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* App version ID in the database
|
|
506
|
+
*/
|
|
507
|
+
versionId: string;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
export namespace AppCreateSignedUploadURLResponse {
|
|
511
|
+
export interface R2UploadURL {
|
|
512
|
+
fileName: string;
|
|
513
|
+
|
|
514
|
+
r2UploadUrl: string;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export interface AppListVersionsResponse {
|
|
519
|
+
data: Array<AppListVersionsResponse.Data>;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
export namespace AppListVersionsResponse {
|
|
523
|
+
export interface Data {
|
|
524
|
+
id: string;
|
|
525
|
+
|
|
526
|
+
appId: string;
|
|
42
527
|
|
|
43
528
|
country:
|
|
44
529
|
| 'AF'
|
|
@@ -296,40 +781,25 @@ export namespace AppListResponse {
|
|
|
296
781
|
|
|
297
782
|
createdAt: string | null;
|
|
298
783
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
developerName: string | null;
|
|
302
|
-
|
|
303
|
-
displayName: string;
|
|
784
|
+
createdBy: string | null;
|
|
304
785
|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
iconURL: string;
|
|
308
|
-
|
|
309
|
-
packageName: string;
|
|
310
|
-
|
|
311
|
-
privacyPolicyUrl: string | null;
|
|
786
|
+
ownerId: string | null;
|
|
312
787
|
|
|
313
788
|
queuedAt: string | null;
|
|
314
789
|
|
|
315
|
-
ratingCount: number | null;
|
|
316
|
-
|
|
317
|
-
ratingScore: string | null;
|
|
318
|
-
|
|
319
790
|
sizeBytes: number | null;
|
|
320
791
|
|
|
321
|
-
source: '
|
|
792
|
+
source: 'user' | 'system' | 'portal' | 'store';
|
|
322
793
|
|
|
323
794
|
status: 'queued' | 'available' | 'failed';
|
|
324
795
|
|
|
325
|
-
stealthTier: 'tier1' | 'tier2' | 'tier3' | null;
|
|
326
|
-
|
|
327
796
|
targetSdk: number | null;
|
|
328
797
|
|
|
329
|
-
type: 'android' | 'ios';
|
|
330
|
-
|
|
331
798
|
updatedAt: string | null;
|
|
332
799
|
|
|
800
|
+
/**
|
|
801
|
+
* @deprecated Deprecated: use ownerId (tenancy) / createdBy (actor).
|
|
802
|
+
*/
|
|
333
803
|
userId: string | null;
|
|
334
804
|
|
|
335
805
|
versionCode: number;
|
|
@@ -338,6 +808,12 @@ export namespace AppListResponse {
|
|
|
338
808
|
}
|
|
339
809
|
}
|
|
340
810
|
|
|
811
|
+
export interface AppMarkFailedResponse {
|
|
812
|
+
message: string;
|
|
813
|
+
|
|
814
|
+
success: true;
|
|
815
|
+
}
|
|
816
|
+
|
|
341
817
|
export interface AppListParams {
|
|
342
818
|
order?: 'asc' | 'desc';
|
|
343
819
|
|
|
@@ -345,13 +821,62 @@ export interface AppListParams {
|
|
|
345
821
|
|
|
346
822
|
pageSize?: number;
|
|
347
823
|
|
|
824
|
+
platform?: 'all' | 'android' | 'ios';
|
|
825
|
+
|
|
348
826
|
query?: string;
|
|
349
827
|
|
|
350
828
|
sortBy?: 'createdAt' | 'name';
|
|
351
829
|
|
|
352
|
-
|
|
830
|
+
status?: 'all' | 'queued' | 'available' | 'failed';
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
export interface AppCreateSignedUploadURLParams {
|
|
834
|
+
bundleId: string;
|
|
835
|
+
|
|
836
|
+
displayName: string;
|
|
837
|
+
|
|
838
|
+
files: Array<AppCreateSignedUploadURLParams.File>;
|
|
839
|
+
|
|
840
|
+
versionCode: number;
|
|
841
|
+
|
|
842
|
+
versionName: string;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* Country code for Search Results
|
|
846
|
+
*/
|
|
847
|
+
country?: string;
|
|
848
|
+
|
|
849
|
+
description?: string;
|
|
850
|
+
|
|
851
|
+
developerName?: string;
|
|
852
|
+
|
|
853
|
+
iconURL?: string;
|
|
854
|
+
|
|
855
|
+
platform?: 'android' | 'ios';
|
|
856
|
+
|
|
857
|
+
targetSdk?: number;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export namespace AppCreateSignedUploadURLParams {
|
|
861
|
+
export interface File {
|
|
862
|
+
contentType: 'application/vnd.android.package-archive' | 'application/octet-stream' | 'application/zip';
|
|
863
|
+
|
|
864
|
+
fileName: string;
|
|
865
|
+
|
|
866
|
+
sha256?: string;
|
|
867
|
+
}
|
|
353
868
|
}
|
|
354
869
|
|
|
355
870
|
export declare namespace Apps {
|
|
356
|
-
export {
|
|
871
|
+
export {
|
|
872
|
+
type AppRetrieveResponse as AppRetrieveResponse,
|
|
873
|
+
type AppListResponse as AppListResponse,
|
|
874
|
+
type AppDeleteResponse as AppDeleteResponse,
|
|
875
|
+
type AppConfirmUploadResponse as AppConfirmUploadResponse,
|
|
876
|
+
type AppCreateSignedUploadURLResponse as AppCreateSignedUploadURLResponse,
|
|
877
|
+
type AppListVersionsResponse as AppListVersionsResponse,
|
|
878
|
+
type AppMarkFailedResponse as AppMarkFailedResponse,
|
|
879
|
+
type AppListParams as AppListParams,
|
|
880
|
+
type AppCreateSignedUploadURLParams as AppCreateSignedUploadURLParams,
|
|
881
|
+
};
|
|
357
882
|
}
|