@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
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as Shared from "../shared.mjs";
|
|
3
|
+
import * as DeliveriesAPI from "./deliveries.mjs";
|
|
4
|
+
import { Deliveries, DeliveryListForWebhookParams, DeliveryListForWebhookResponse, DeliveryListParams, DeliveryListResponse, DeliveryRetrieveAttemptsParams, DeliveryRetrieveAttemptsResponse, DeliveryStatsParams, DeliveryStatsResponse } from "./deliveries.mjs";
|
|
5
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
6
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
7
|
+
export declare class Webhooks extends APIResource {
|
|
8
|
+
deliveries: DeliveriesAPI.Deliveries;
|
|
9
|
+
/**
|
|
10
|
+
* Creates a webhook subscription with a delivery URL and an optional list of event
|
|
11
|
+
* types to subscribe to (defaults to all when omitted). The response includes the
|
|
12
|
+
* generated signing secret, which is returned only once at creation time and
|
|
13
|
+
* cannot be retrieved later.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const webhook = await client.webhooks.create({
|
|
18
|
+
* url: 'https://example.com/webhooks/droidrun',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
create(body: WebhookCreateParams, options?: RequestOptions): APIPromise<WebhookCreateResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Returns a single webhook subscription by id, including its URL, subscribed event
|
|
25
|
+
* types, state, and system-observed delivery health. The signing secret is never
|
|
26
|
+
* included.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* const webhook = await client.webhooks.retrieve(
|
|
31
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
32
|
+
* );
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<WebhookRetrieveResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Updates a webhook subscription. Any combination of the subscribed event types,
|
|
38
|
+
* state (ACTIVE or DISABLED), and description may be changed, and at least one
|
|
39
|
+
* field must be supplied. Setting state to ACTIVE re-enables a subscription that
|
|
40
|
+
* was auto-blocked after sustained delivery failures.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* const webhook = await client.webhooks.update(
|
|
45
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
46
|
+
* );
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
update(id: string, body?: WebhookUpdateParams | null | undefined, options?: RequestOptions): APIPromise<WebhookUpdateResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Returns a paginated list of your webhook subscriptions, optionally filtered by
|
|
52
|
+
* status (active, failing, blocked, or disabled) and/or by `search` (a
|
|
53
|
+
* case-insensitive substring match against the URL or description). The response
|
|
54
|
+
* also includes per-status counts across all of your subscriptions.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* const webhooks = await client.webhooks.list();
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
list(query?: WebhookListParams | null | undefined, options?: RequestOptions): APIPromise<WebhookListResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Deletes a webhook subscription so it stops receiving deliveries. Returns 204 No
|
|
64
|
+
* Content on success.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* await client.webhooks.delete(
|
|
69
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
70
|
+
* );
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
74
|
+
/**
|
|
75
|
+
* Returns the catalog of event types that webhook subscriptions can subscribe to,
|
|
76
|
+
* grouped by source. Use the returned type identifiers as the `eventTypes` values
|
|
77
|
+
* when creating or updating a webhook.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```ts
|
|
81
|
+
* const response = await client.webhooks.eventTypes();
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
eventTypes(options?: RequestOptions): APIPromise<WebhookEventTypesResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* Generates a new signing secret for the webhook subscription and returns it once
|
|
87
|
+
* in the response. The previous secret is replaced immediately, so any signature
|
|
88
|
+
* verification on your endpoint must be updated to use the new value.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ```ts
|
|
92
|
+
* const response = await client.webhooks.rotateSecret(
|
|
93
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
94
|
+
* );
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
rotateSecret(id: string, options?: RequestOptions): APIPromise<WebhookRotateSecretResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* Sends a single test payload to the webhook subscription URL to verify
|
|
100
|
+
* connectivity. The response reports whether the attempt succeeded along with the
|
|
101
|
+
* returned HTTP status code or error, if any.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* ```ts
|
|
105
|
+
* const response = await client.webhooks.testDelivery(
|
|
106
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
107
|
+
* );
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
testDelivery(id: string, options?: RequestOptions): APIPromise<WebhookTestDeliveryResponse>;
|
|
111
|
+
}
|
|
112
|
+
export interface WebhookCreateResponse {
|
|
113
|
+
data: WebhookCreateResponse.Data;
|
|
114
|
+
}
|
|
115
|
+
export declare namespace WebhookCreateResponse {
|
|
116
|
+
interface Data {
|
|
117
|
+
id: string;
|
|
118
|
+
blockedAt: string | null;
|
|
119
|
+
blockedReason: string | null;
|
|
120
|
+
createdAt: string;
|
|
121
|
+
/**
|
|
122
|
+
* Id of the actor who created this endpoint. Null when no creator was recorded.
|
|
123
|
+
*/
|
|
124
|
+
createdBy: string | null;
|
|
125
|
+
description: string | null;
|
|
126
|
+
eventTypes: Array<string>;
|
|
127
|
+
/**
|
|
128
|
+
* System-observed delivery health. `blocked` endpoints are auto-disabled after
|
|
129
|
+
* sustained failure; PATCH state=ACTIVE to re-enable.
|
|
130
|
+
*/
|
|
131
|
+
health: 'healthy' | 'failing' | 'blocked';
|
|
132
|
+
/**
|
|
133
|
+
* Signing secret — shown only once. Store it now.
|
|
134
|
+
*/
|
|
135
|
+
secret: string;
|
|
136
|
+
signingEnabled: boolean;
|
|
137
|
+
state: 'ACTIVE' | 'DISABLED' | 'DELETED';
|
|
138
|
+
updatedAt: string;
|
|
139
|
+
url: string;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
export interface WebhookRetrieveResponse {
|
|
143
|
+
data: WebhookRetrieveResponse.Data;
|
|
144
|
+
}
|
|
145
|
+
export declare namespace WebhookRetrieveResponse {
|
|
146
|
+
interface Data {
|
|
147
|
+
id: string;
|
|
148
|
+
blockedAt: string | null;
|
|
149
|
+
blockedReason: string | null;
|
|
150
|
+
createdAt: string;
|
|
151
|
+
/**
|
|
152
|
+
* Id of the actor who created this endpoint. Null when no creator was recorded.
|
|
153
|
+
*/
|
|
154
|
+
createdBy: string | null;
|
|
155
|
+
description: string | null;
|
|
156
|
+
eventTypes: Array<string>;
|
|
157
|
+
/**
|
|
158
|
+
* System-observed delivery health. `blocked` endpoints are auto-disabled after
|
|
159
|
+
* sustained failure; PATCH state=ACTIVE to re-enable.
|
|
160
|
+
*/
|
|
161
|
+
health: 'healthy' | 'failing' | 'blocked';
|
|
162
|
+
signingEnabled: boolean;
|
|
163
|
+
state: 'ACTIVE' | 'DISABLED' | 'DELETED';
|
|
164
|
+
updatedAt: string;
|
|
165
|
+
url: string;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
export interface WebhookUpdateResponse {
|
|
169
|
+
data: WebhookUpdateResponse.Data;
|
|
170
|
+
}
|
|
171
|
+
export declare namespace WebhookUpdateResponse {
|
|
172
|
+
interface Data {
|
|
173
|
+
id: string;
|
|
174
|
+
blockedAt: string | null;
|
|
175
|
+
blockedReason: string | null;
|
|
176
|
+
createdAt: string;
|
|
177
|
+
/**
|
|
178
|
+
* Id of the actor who created this endpoint. Null when no creator was recorded.
|
|
179
|
+
*/
|
|
180
|
+
createdBy: string | null;
|
|
181
|
+
description: string | null;
|
|
182
|
+
eventTypes: Array<string>;
|
|
183
|
+
/**
|
|
184
|
+
* System-observed delivery health. `blocked` endpoints are auto-disabled after
|
|
185
|
+
* sustained failure; PATCH state=ACTIVE to re-enable.
|
|
186
|
+
*/
|
|
187
|
+
health: 'healthy' | 'failing' | 'blocked';
|
|
188
|
+
signingEnabled: boolean;
|
|
189
|
+
state: 'ACTIVE' | 'DISABLED' | 'DELETED';
|
|
190
|
+
updatedAt: string;
|
|
191
|
+
url: string;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
export interface WebhookListResponse {
|
|
195
|
+
counts: WebhookListResponse.Counts;
|
|
196
|
+
items: Array<WebhookListResponse.Item>;
|
|
197
|
+
pagination: Shared.Pagination;
|
|
198
|
+
}
|
|
199
|
+
export declare namespace WebhookListResponse {
|
|
200
|
+
interface Counts {
|
|
201
|
+
active: number;
|
|
202
|
+
blocked: number;
|
|
203
|
+
disabled: number;
|
|
204
|
+
failing: number;
|
|
205
|
+
total: number;
|
|
206
|
+
}
|
|
207
|
+
interface Item {
|
|
208
|
+
id: string;
|
|
209
|
+
blockedAt: string | null;
|
|
210
|
+
blockedReason: string | null;
|
|
211
|
+
createdAt: string;
|
|
212
|
+
/**
|
|
213
|
+
* Id of the actor who created this endpoint. Null when no creator was recorded.
|
|
214
|
+
*/
|
|
215
|
+
createdBy: string | null;
|
|
216
|
+
description: string | null;
|
|
217
|
+
eventTypes: Array<string>;
|
|
218
|
+
/**
|
|
219
|
+
* System-observed delivery health. `blocked` endpoints are auto-disabled after
|
|
220
|
+
* sustained failure; PATCH state=ACTIVE to re-enable.
|
|
221
|
+
*/
|
|
222
|
+
health: 'healthy' | 'failing' | 'blocked';
|
|
223
|
+
signingEnabled: boolean;
|
|
224
|
+
state: 'ACTIVE' | 'DISABLED' | 'DELETED';
|
|
225
|
+
updatedAt: string;
|
|
226
|
+
url: string;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
export interface WebhookEventTypesResponse {
|
|
230
|
+
data: WebhookEventTypesResponse.Data;
|
|
231
|
+
}
|
|
232
|
+
export declare namespace WebhookEventTypesResponse {
|
|
233
|
+
interface Data {
|
|
234
|
+
schemaVersion: 1;
|
|
235
|
+
sources: Array<Data.Source>;
|
|
236
|
+
}
|
|
237
|
+
namespace Data {
|
|
238
|
+
interface Source {
|
|
239
|
+
events: Array<Source.Event>;
|
|
240
|
+
source: string;
|
|
241
|
+
}
|
|
242
|
+
namespace Source {
|
|
243
|
+
interface Event {
|
|
244
|
+
description: string;
|
|
245
|
+
surfaces: Event.Surfaces;
|
|
246
|
+
type: string;
|
|
247
|
+
}
|
|
248
|
+
namespace Event {
|
|
249
|
+
interface Surfaces {
|
|
250
|
+
feed: boolean;
|
|
251
|
+
toast: boolean;
|
|
252
|
+
webhook: boolean;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
export interface WebhookRotateSecretResponse {
|
|
259
|
+
data: WebhookRotateSecretResponse.Data;
|
|
260
|
+
}
|
|
261
|
+
export declare namespace WebhookRotateSecretResponse {
|
|
262
|
+
interface Data {
|
|
263
|
+
id: string;
|
|
264
|
+
blockedAt: string | null;
|
|
265
|
+
blockedReason: string | null;
|
|
266
|
+
createdAt: string;
|
|
267
|
+
/**
|
|
268
|
+
* Id of the actor who created this endpoint. Null when no creator was recorded.
|
|
269
|
+
*/
|
|
270
|
+
createdBy: string | null;
|
|
271
|
+
description: string | null;
|
|
272
|
+
eventTypes: Array<string>;
|
|
273
|
+
/**
|
|
274
|
+
* System-observed delivery health. `blocked` endpoints are auto-disabled after
|
|
275
|
+
* sustained failure; PATCH state=ACTIVE to re-enable.
|
|
276
|
+
*/
|
|
277
|
+
health: 'healthy' | 'failing' | 'blocked';
|
|
278
|
+
/**
|
|
279
|
+
* Signing secret — shown only once. Store it now.
|
|
280
|
+
*/
|
|
281
|
+
secret: string;
|
|
282
|
+
signingEnabled: boolean;
|
|
283
|
+
state: 'ACTIVE' | 'DISABLED' | 'DELETED';
|
|
284
|
+
updatedAt: string;
|
|
285
|
+
url: string;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
export interface WebhookTestDeliveryResponse {
|
|
289
|
+
data: WebhookTestDeliveryResponse.Data;
|
|
290
|
+
}
|
|
291
|
+
export declare namespace WebhookTestDeliveryResponse {
|
|
292
|
+
interface Data {
|
|
293
|
+
error: string | null;
|
|
294
|
+
statusCode: number | null;
|
|
295
|
+
success: boolean;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
export interface WebhookCreateParams {
|
|
299
|
+
url: string;
|
|
300
|
+
description?: string;
|
|
301
|
+
eventTypes?: Array<string>;
|
|
302
|
+
}
|
|
303
|
+
export interface WebhookUpdateParams {
|
|
304
|
+
description?: string | null;
|
|
305
|
+
eventTypes?: Array<string>;
|
|
306
|
+
state?: 'ACTIVE' | 'DISABLED';
|
|
307
|
+
}
|
|
308
|
+
export interface WebhookListParams {
|
|
309
|
+
/**
|
|
310
|
+
* Only include webhooks created by this actor id. Mutually exclusive with `mine`.
|
|
311
|
+
*/
|
|
312
|
+
createdBy?: string;
|
|
313
|
+
/**
|
|
314
|
+
* When true, only include webhooks created by you (not just owned by your org).
|
|
315
|
+
*/
|
|
316
|
+
mine?: 'true' | 'false';
|
|
317
|
+
page?: number;
|
|
318
|
+
pageSize?: number;
|
|
319
|
+
/**
|
|
320
|
+
* Case-insensitive substring match against the URL or description.
|
|
321
|
+
*/
|
|
322
|
+
search?: string;
|
|
323
|
+
status?: 'active' | 'failing' | 'blocked' | 'disabled';
|
|
324
|
+
}
|
|
325
|
+
export declare namespace Webhooks {
|
|
326
|
+
export { type WebhookCreateResponse as WebhookCreateResponse, type WebhookRetrieveResponse as WebhookRetrieveResponse, type WebhookUpdateResponse as WebhookUpdateResponse, type WebhookListResponse as WebhookListResponse, type WebhookEventTypesResponse as WebhookEventTypesResponse, type WebhookRotateSecretResponse as WebhookRotateSecretResponse, type WebhookTestDeliveryResponse as WebhookTestDeliveryResponse, type WebhookCreateParams as WebhookCreateParams, type WebhookUpdateParams as WebhookUpdateParams, type WebhookListParams as WebhookListParams, };
|
|
327
|
+
export { Deliveries as Deliveries, type DeliveryListResponse as DeliveryListResponse, type DeliveryListForWebhookResponse as DeliveryListForWebhookResponse, type DeliveryRetrieveAttemptsResponse as DeliveryRetrieveAttemptsResponse, type DeliveryStatsResponse as DeliveryStatsResponse, type DeliveryListParams as DeliveryListParams, type DeliveryListForWebhookParams as DeliveryListForWebhookParams, type DeliveryRetrieveAttemptsParams as DeliveryRetrieveAttemptsParams, type DeliveryStatsParams as DeliveryStatsParams, };
|
|
328
|
+
}
|
|
329
|
+
//# sourceMappingURL=webhooks.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooks.d.mts","sourceRoot":"","sources":["../../src/resources/webhooks/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AAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as Shared from "../shared.js";
|
|
3
|
+
import * as DeliveriesAPI from "./deliveries.js";
|
|
4
|
+
import { Deliveries, DeliveryListForWebhookParams, DeliveryListForWebhookResponse, DeliveryListParams, DeliveryListResponse, DeliveryRetrieveAttemptsParams, DeliveryRetrieveAttemptsResponse, DeliveryStatsParams, DeliveryStatsResponse } from "./deliveries.js";
|
|
5
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
6
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
7
|
+
export declare class Webhooks extends APIResource {
|
|
8
|
+
deliveries: DeliveriesAPI.Deliveries;
|
|
9
|
+
/**
|
|
10
|
+
* Creates a webhook subscription with a delivery URL and an optional list of event
|
|
11
|
+
* types to subscribe to (defaults to all when omitted). The response includes the
|
|
12
|
+
* generated signing secret, which is returned only once at creation time and
|
|
13
|
+
* cannot be retrieved later.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const webhook = await client.webhooks.create({
|
|
18
|
+
* url: 'https://example.com/webhooks/droidrun',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
create(body: WebhookCreateParams, options?: RequestOptions): APIPromise<WebhookCreateResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Returns a single webhook subscription by id, including its URL, subscribed event
|
|
25
|
+
* types, state, and system-observed delivery health. The signing secret is never
|
|
26
|
+
* included.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* const webhook = await client.webhooks.retrieve(
|
|
31
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
32
|
+
* );
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<WebhookRetrieveResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Updates a webhook subscription. Any combination of the subscribed event types,
|
|
38
|
+
* state (ACTIVE or DISABLED), and description may be changed, and at least one
|
|
39
|
+
* field must be supplied. Setting state to ACTIVE re-enables a subscription that
|
|
40
|
+
* was auto-blocked after sustained delivery failures.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* const webhook = await client.webhooks.update(
|
|
45
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
46
|
+
* );
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
update(id: string, body?: WebhookUpdateParams | null | undefined, options?: RequestOptions): APIPromise<WebhookUpdateResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Returns a paginated list of your webhook subscriptions, optionally filtered by
|
|
52
|
+
* status (active, failing, blocked, or disabled) and/or by `search` (a
|
|
53
|
+
* case-insensitive substring match against the URL or description). The response
|
|
54
|
+
* also includes per-status counts across all of your subscriptions.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* const webhooks = await client.webhooks.list();
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
list(query?: WebhookListParams | null | undefined, options?: RequestOptions): APIPromise<WebhookListResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Deletes a webhook subscription so it stops receiving deliveries. Returns 204 No
|
|
64
|
+
* Content on success.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* await client.webhooks.delete(
|
|
69
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
70
|
+
* );
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
74
|
+
/**
|
|
75
|
+
* Returns the catalog of event types that webhook subscriptions can subscribe to,
|
|
76
|
+
* grouped by source. Use the returned type identifiers as the `eventTypes` values
|
|
77
|
+
* when creating or updating a webhook.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```ts
|
|
81
|
+
* const response = await client.webhooks.eventTypes();
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
eventTypes(options?: RequestOptions): APIPromise<WebhookEventTypesResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* Generates a new signing secret for the webhook subscription and returns it once
|
|
87
|
+
* in the response. The previous secret is replaced immediately, so any signature
|
|
88
|
+
* verification on your endpoint must be updated to use the new value.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ```ts
|
|
92
|
+
* const response = await client.webhooks.rotateSecret(
|
|
93
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
94
|
+
* );
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
rotateSecret(id: string, options?: RequestOptions): APIPromise<WebhookRotateSecretResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* Sends a single test payload to the webhook subscription URL to verify
|
|
100
|
+
* connectivity. The response reports whether the attempt succeeded along with the
|
|
101
|
+
* returned HTTP status code or error, if any.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* ```ts
|
|
105
|
+
* const response = await client.webhooks.testDelivery(
|
|
106
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
107
|
+
* );
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
testDelivery(id: string, options?: RequestOptions): APIPromise<WebhookTestDeliveryResponse>;
|
|
111
|
+
}
|
|
112
|
+
export interface WebhookCreateResponse {
|
|
113
|
+
data: WebhookCreateResponse.Data;
|
|
114
|
+
}
|
|
115
|
+
export declare namespace WebhookCreateResponse {
|
|
116
|
+
interface Data {
|
|
117
|
+
id: string;
|
|
118
|
+
blockedAt: string | null;
|
|
119
|
+
blockedReason: string | null;
|
|
120
|
+
createdAt: string;
|
|
121
|
+
/**
|
|
122
|
+
* Id of the actor who created this endpoint. Null when no creator was recorded.
|
|
123
|
+
*/
|
|
124
|
+
createdBy: string | null;
|
|
125
|
+
description: string | null;
|
|
126
|
+
eventTypes: Array<string>;
|
|
127
|
+
/**
|
|
128
|
+
* System-observed delivery health. `blocked` endpoints are auto-disabled after
|
|
129
|
+
* sustained failure; PATCH state=ACTIVE to re-enable.
|
|
130
|
+
*/
|
|
131
|
+
health: 'healthy' | 'failing' | 'blocked';
|
|
132
|
+
/**
|
|
133
|
+
* Signing secret — shown only once. Store it now.
|
|
134
|
+
*/
|
|
135
|
+
secret: string;
|
|
136
|
+
signingEnabled: boolean;
|
|
137
|
+
state: 'ACTIVE' | 'DISABLED' | 'DELETED';
|
|
138
|
+
updatedAt: string;
|
|
139
|
+
url: string;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
export interface WebhookRetrieveResponse {
|
|
143
|
+
data: WebhookRetrieveResponse.Data;
|
|
144
|
+
}
|
|
145
|
+
export declare namespace WebhookRetrieveResponse {
|
|
146
|
+
interface Data {
|
|
147
|
+
id: string;
|
|
148
|
+
blockedAt: string | null;
|
|
149
|
+
blockedReason: string | null;
|
|
150
|
+
createdAt: string;
|
|
151
|
+
/**
|
|
152
|
+
* Id of the actor who created this endpoint. Null when no creator was recorded.
|
|
153
|
+
*/
|
|
154
|
+
createdBy: string | null;
|
|
155
|
+
description: string | null;
|
|
156
|
+
eventTypes: Array<string>;
|
|
157
|
+
/**
|
|
158
|
+
* System-observed delivery health. `blocked` endpoints are auto-disabled after
|
|
159
|
+
* sustained failure; PATCH state=ACTIVE to re-enable.
|
|
160
|
+
*/
|
|
161
|
+
health: 'healthy' | 'failing' | 'blocked';
|
|
162
|
+
signingEnabled: boolean;
|
|
163
|
+
state: 'ACTIVE' | 'DISABLED' | 'DELETED';
|
|
164
|
+
updatedAt: string;
|
|
165
|
+
url: string;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
export interface WebhookUpdateResponse {
|
|
169
|
+
data: WebhookUpdateResponse.Data;
|
|
170
|
+
}
|
|
171
|
+
export declare namespace WebhookUpdateResponse {
|
|
172
|
+
interface Data {
|
|
173
|
+
id: string;
|
|
174
|
+
blockedAt: string | null;
|
|
175
|
+
blockedReason: string | null;
|
|
176
|
+
createdAt: string;
|
|
177
|
+
/**
|
|
178
|
+
* Id of the actor who created this endpoint. Null when no creator was recorded.
|
|
179
|
+
*/
|
|
180
|
+
createdBy: string | null;
|
|
181
|
+
description: string | null;
|
|
182
|
+
eventTypes: Array<string>;
|
|
183
|
+
/**
|
|
184
|
+
* System-observed delivery health. `blocked` endpoints are auto-disabled after
|
|
185
|
+
* sustained failure; PATCH state=ACTIVE to re-enable.
|
|
186
|
+
*/
|
|
187
|
+
health: 'healthy' | 'failing' | 'blocked';
|
|
188
|
+
signingEnabled: boolean;
|
|
189
|
+
state: 'ACTIVE' | 'DISABLED' | 'DELETED';
|
|
190
|
+
updatedAt: string;
|
|
191
|
+
url: string;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
export interface WebhookListResponse {
|
|
195
|
+
counts: WebhookListResponse.Counts;
|
|
196
|
+
items: Array<WebhookListResponse.Item>;
|
|
197
|
+
pagination: Shared.Pagination;
|
|
198
|
+
}
|
|
199
|
+
export declare namespace WebhookListResponse {
|
|
200
|
+
interface Counts {
|
|
201
|
+
active: number;
|
|
202
|
+
blocked: number;
|
|
203
|
+
disabled: number;
|
|
204
|
+
failing: number;
|
|
205
|
+
total: number;
|
|
206
|
+
}
|
|
207
|
+
interface Item {
|
|
208
|
+
id: string;
|
|
209
|
+
blockedAt: string | null;
|
|
210
|
+
blockedReason: string | null;
|
|
211
|
+
createdAt: string;
|
|
212
|
+
/**
|
|
213
|
+
* Id of the actor who created this endpoint. Null when no creator was recorded.
|
|
214
|
+
*/
|
|
215
|
+
createdBy: string | null;
|
|
216
|
+
description: string | null;
|
|
217
|
+
eventTypes: Array<string>;
|
|
218
|
+
/**
|
|
219
|
+
* System-observed delivery health. `blocked` endpoints are auto-disabled after
|
|
220
|
+
* sustained failure; PATCH state=ACTIVE to re-enable.
|
|
221
|
+
*/
|
|
222
|
+
health: 'healthy' | 'failing' | 'blocked';
|
|
223
|
+
signingEnabled: boolean;
|
|
224
|
+
state: 'ACTIVE' | 'DISABLED' | 'DELETED';
|
|
225
|
+
updatedAt: string;
|
|
226
|
+
url: string;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
export interface WebhookEventTypesResponse {
|
|
230
|
+
data: WebhookEventTypesResponse.Data;
|
|
231
|
+
}
|
|
232
|
+
export declare namespace WebhookEventTypesResponse {
|
|
233
|
+
interface Data {
|
|
234
|
+
schemaVersion: 1;
|
|
235
|
+
sources: Array<Data.Source>;
|
|
236
|
+
}
|
|
237
|
+
namespace Data {
|
|
238
|
+
interface Source {
|
|
239
|
+
events: Array<Source.Event>;
|
|
240
|
+
source: string;
|
|
241
|
+
}
|
|
242
|
+
namespace Source {
|
|
243
|
+
interface Event {
|
|
244
|
+
description: string;
|
|
245
|
+
surfaces: Event.Surfaces;
|
|
246
|
+
type: string;
|
|
247
|
+
}
|
|
248
|
+
namespace Event {
|
|
249
|
+
interface Surfaces {
|
|
250
|
+
feed: boolean;
|
|
251
|
+
toast: boolean;
|
|
252
|
+
webhook: boolean;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
export interface WebhookRotateSecretResponse {
|
|
259
|
+
data: WebhookRotateSecretResponse.Data;
|
|
260
|
+
}
|
|
261
|
+
export declare namespace WebhookRotateSecretResponse {
|
|
262
|
+
interface Data {
|
|
263
|
+
id: string;
|
|
264
|
+
blockedAt: string | null;
|
|
265
|
+
blockedReason: string | null;
|
|
266
|
+
createdAt: string;
|
|
267
|
+
/**
|
|
268
|
+
* Id of the actor who created this endpoint. Null when no creator was recorded.
|
|
269
|
+
*/
|
|
270
|
+
createdBy: string | null;
|
|
271
|
+
description: string | null;
|
|
272
|
+
eventTypes: Array<string>;
|
|
273
|
+
/**
|
|
274
|
+
* System-observed delivery health. `blocked` endpoints are auto-disabled after
|
|
275
|
+
* sustained failure; PATCH state=ACTIVE to re-enable.
|
|
276
|
+
*/
|
|
277
|
+
health: 'healthy' | 'failing' | 'blocked';
|
|
278
|
+
/**
|
|
279
|
+
* Signing secret — shown only once. Store it now.
|
|
280
|
+
*/
|
|
281
|
+
secret: string;
|
|
282
|
+
signingEnabled: boolean;
|
|
283
|
+
state: 'ACTIVE' | 'DISABLED' | 'DELETED';
|
|
284
|
+
updatedAt: string;
|
|
285
|
+
url: string;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
export interface WebhookTestDeliveryResponse {
|
|
289
|
+
data: WebhookTestDeliveryResponse.Data;
|
|
290
|
+
}
|
|
291
|
+
export declare namespace WebhookTestDeliveryResponse {
|
|
292
|
+
interface Data {
|
|
293
|
+
error: string | null;
|
|
294
|
+
statusCode: number | null;
|
|
295
|
+
success: boolean;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
export interface WebhookCreateParams {
|
|
299
|
+
url: string;
|
|
300
|
+
description?: string;
|
|
301
|
+
eventTypes?: Array<string>;
|
|
302
|
+
}
|
|
303
|
+
export interface WebhookUpdateParams {
|
|
304
|
+
description?: string | null;
|
|
305
|
+
eventTypes?: Array<string>;
|
|
306
|
+
state?: 'ACTIVE' | 'DISABLED';
|
|
307
|
+
}
|
|
308
|
+
export interface WebhookListParams {
|
|
309
|
+
/**
|
|
310
|
+
* Only include webhooks created by this actor id. Mutually exclusive with `mine`.
|
|
311
|
+
*/
|
|
312
|
+
createdBy?: string;
|
|
313
|
+
/**
|
|
314
|
+
* When true, only include webhooks created by you (not just owned by your org).
|
|
315
|
+
*/
|
|
316
|
+
mine?: 'true' | 'false';
|
|
317
|
+
page?: number;
|
|
318
|
+
pageSize?: number;
|
|
319
|
+
/**
|
|
320
|
+
* Case-insensitive substring match against the URL or description.
|
|
321
|
+
*/
|
|
322
|
+
search?: string;
|
|
323
|
+
status?: 'active' | 'failing' | 'blocked' | 'disabled';
|
|
324
|
+
}
|
|
325
|
+
export declare namespace Webhooks {
|
|
326
|
+
export { type WebhookCreateResponse as WebhookCreateResponse, type WebhookRetrieveResponse as WebhookRetrieveResponse, type WebhookUpdateResponse as WebhookUpdateResponse, type WebhookListResponse as WebhookListResponse, type WebhookEventTypesResponse as WebhookEventTypesResponse, type WebhookRotateSecretResponse as WebhookRotateSecretResponse, type WebhookTestDeliveryResponse as WebhookTestDeliveryResponse, type WebhookCreateParams as WebhookCreateParams, type WebhookUpdateParams as WebhookUpdateParams, type WebhookListParams as WebhookListParams, };
|
|
327
|
+
export { Deliveries as Deliveries, type DeliveryListResponse as DeliveryListResponse, type DeliveryListForWebhookResponse as DeliveryListForWebhookResponse, type DeliveryRetrieveAttemptsResponse as DeliveryRetrieveAttemptsResponse, type DeliveryStatsResponse as DeliveryStatsResponse, type DeliveryListParams as DeliveryListParams, type DeliveryListForWebhookParams as DeliveryListForWebhookParams, type DeliveryRetrieveAttemptsParams as DeliveryRetrieveAttemptsParams, type DeliveryStatsParams as DeliveryStatsParams, };
|
|
328
|
+
}
|
|
329
|
+
//# sourceMappingURL=webhooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["../../src/resources/webhooks/webhooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,KAAK,aAAa,wBAAqB;AAC9C,OAAO,EACL,UAAU,EACV,4BAA4B,EAC5B,8BAA8B,EAC9B,kBAAkB,EAClB,oBAAoB,EACpB,8BAA8B,EAC9B,gCAAgC,EAChC,mBAAmB,EACnB,qBAAqB,EACtB,wBAAqB;AACtB,OAAO,EAAE,UAAU,EAAE,kCAA+B;AAEpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,QAAS,SAAQ,WAAW;IACvC,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;IAElF;;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