@mobilerun/sdk 3.0.0 → 5.1.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 +542 -0
- package/README.md +2 -2
- 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 +41 -25
- package/client.d.mts.map +1 -1
- package/client.d.ts +41 -25
- package/client.d.ts.map +1 -1
- package/client.js +52 -18
- package/client.js.map +1 -1
- package/client.mjs +53 -19
- 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/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.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 +198 -16
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +198 -16
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +102 -0
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +102 -0
- package/resources/apps.mjs.map +1 -1
- package/resources/carriers.d.mts +108 -7
- package/resources/carriers.d.mts.map +1 -1
- package/resources/carriers.d.ts +108 -7
- package/resources/carriers.d.ts.map +1 -1
- package/resources/carriers.js +3 -0
- package/resources/carriers.js.map +1 -1
- package/resources/carriers.mjs +3 -0
- 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 +79 -0
- package/resources/connect/countries.d.mts.map +1 -0
- package/resources/connect/countries.d.ts +79 -0
- package/resources/connect/countries.d.ts.map +1 -0
- package/resources/connect/countries.js +15 -0
- package/resources/connect/countries.js.map +1 -0
- package/resources/connect/countries.mjs +11 -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 +454 -0
- package/resources/connect/proxies.d.mts.map +1 -0
- package/resources/connect/proxies.d.ts +454 -0
- package/resources/connect/proxies.d.ts.map +1 -0
- package/resources/connect/proxies.js +57 -0
- package/resources/connect/proxies.js.map +1 -0
- package/resources/connect/proxies.mjs +53 -0
- package/resources/connect/proxies.mjs.map +1 -0
- package/resources/connect/users.d.mts +387 -0
- package/resources/connect/users.d.mts.map +1 -0
- package/resources/connect/users.d.ts +387 -0
- package/resources/connect/users.d.ts.map +1 -0
- package/resources/connect/users.js +54 -0
- package/resources/connect/users.js.map +1 -0
- package/resources/connect/users.mjs +50 -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 -0
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +3 -0
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js +3 -0
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs +3 -0
- 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 +3 -0
- package/resources/credentials/packages/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.d.ts +3 -0
- package/resources/credentials/packages/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/credentials.js +3 -0
- package/resources/credentials/packages/credentials/credentials.js.map +1 -1
- package/resources/credentials/packages/credentials/credentials.mjs +3 -0
- package/resources/credentials/packages/credentials/credentials.mjs.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.mts +3 -0
- package/resources/credentials/packages/credentials/fields.d.mts.map +1 -1
- package/resources/credentials/packages/credentials/fields.d.ts +3 -0
- package/resources/credentials/packages/credentials/fields.d.ts.map +1 -1
- package/resources/credentials/packages/credentials/fields.js +3 -0
- package/resources/credentials/packages/credentials/fields.js.map +1 -1
- package/resources/credentials/packages/credentials/fields.mjs +3 -0
- 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 +3 -0
- package/resources/credentials/packages/packages.d.mts.map +1 -1
- package/resources/credentials/packages/packages.d.ts +3 -0
- package/resources/credentials/packages/packages.d.ts.map +1 -1
- package/resources/credentials/packages/packages.js +3 -0
- package/resources/credentials/packages/packages.js.map +1 -1
- package/resources/credentials/packages/packages.mjs +3 -0
- 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.map +1 -1
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +43 -22
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +43 -22
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +19 -19
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +19 -19
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/devices.d.mts +118 -27
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +118 -27
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +71 -18
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +72 -19
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/esim.d.mts +101 -0
- package/resources/devices/esim.d.mts.map +1 -0
- package/resources/devices/esim.d.ts +101 -0
- package/resources/devices/esim.d.ts.map +1 -0
- package/resources/devices/{time.js → esim.js} +23 -22
- package/resources/devices/esim.js.map +1 -0
- package/resources/devices/{time.mjs → esim.mjs} +21 -20
- package/resources/devices/esim.mjs.map +1 -0
- package/resources/devices/files.d.mts.map +1 -1
- package/resources/devices/files.d.ts.map +1 -1
- package/resources/devices/files.mjs.map +1 -1
- package/resources/devices/index.d.mts +8 -6
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +8 -6
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +7 -3
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +5 -3
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +5 -0
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +5 -0
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/keyboard.mjs.map +1 -1
- package/resources/devices/language.d.mts +43 -0
- package/resources/devices/language.d.mts.map +1 -0
- package/resources/devices/language.d.ts +43 -0
- package/resources/devices/language.d.ts.map +1 -0
- package/resources/devices/language.js +47 -0
- package/resources/devices/language.js.map +1 -0
- package/resources/devices/language.mjs +43 -0
- package/resources/devices/language.mjs.map +1 -0
- package/resources/devices/location.d.mts +3 -10
- package/resources/devices/location.d.mts.map +1 -1
- package/resources/devices/location.d.ts +3 -10
- package/resources/devices/location.d.ts.map +1 -1
- package/resources/devices/location.js.map +1 -1
- package/resources/devices/location.mjs.map +1 -1
- package/resources/devices/packages.d.mts.map +1 -1
- package/resources/devices/packages.d.ts.map +1 -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 +35 -9
- package/resources/devices/proxy.d.mts.map +1 -1
- package/resources/devices/proxy.d.ts +35 -9
- package/resources/devices/proxy.d.ts.map +1 -1
- package/resources/devices/proxy.js +17 -0
- package/resources/devices/proxy.js.map +1 -1
- package/resources/devices/proxy.mjs +17 -0
- package/resources/devices/proxy.mjs.map +1 -1
- package/resources/devices/state.d.mts +38 -3
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +38 -3
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +17 -0
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +17 -0
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/tasks.d.mts +3 -0
- package/resources/devices/tasks.d.mts.map +1 -1
- package/resources/devices/tasks.d.ts +3 -0
- package/resources/devices/tasks.d.ts.map +1 -1
- package/resources/devices/tasks.js +3 -0
- package/resources/devices/tasks.js.map +1 -1
- package/resources/devices/tasks.mjs +3 -0
- package/resources/devices/tasks.mjs.map +1 -1
- package/resources/devices/timezone.d.mts +37 -0
- package/resources/devices/timezone.d.mts.map +1 -0
- package/resources/devices/timezone.d.ts +37 -0
- package/resources/devices/timezone.d.ts.map +1 -0
- package/resources/devices/timezone.js +47 -0
- package/resources/devices/timezone.js.map +1 -0
- package/resources/devices/timezone.mjs +43 -0
- 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 +35 -4
- package/resources/hooks.d.mts.map +1 -1
- package/resources/hooks.d.ts +35 -4
- package/resources/hooks.d.ts.map +1 -1
- package/resources/hooks.js +9 -3
- package/resources/hooks.js.map +1 -1
- package/resources/hooks.mjs +9 -3
- package/resources/hooks.mjs.map +1 -1
- package/resources/index.d.mts +8 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -6
- 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 +4 -2
- 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.map +1 -1
- package/resources/profiles.d.ts.map +1 -1
- package/resources/profiles.mjs.map +1 -1
- package/resources/proxies.d.mts +141 -21
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +141 -21
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +11 -2
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +11 -2
- package/resources/proxies.mjs.map +1 -1
- package/resources/shared.d.mts +28 -8
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +28 -8
- 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 +121 -9
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +121 -9
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js.map +1 -1
- 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 +173 -0
- package/resources/webhooks/deliveries.d.mts.map +1 -0
- package/resources/webhooks/deliveries.d.ts +173 -0
- package/resources/webhooks/deliveries.d.ts.map +1 -0
- package/resources/webhooks/deliveries.js +62 -0
- package/resources/webhooks/deliveries.js.map +1 -0
- package/resources/webhooks/deliveries.mjs +58 -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 +271 -0
- package/resources/webhooks/webhooks.d.mts.map +1 -0
- package/resources/webhooks/webhooks.d.ts +271 -0
- package/resources/webhooks/webhooks.d.ts.map +1 -0
- package/resources/webhooks/webhooks.js +122 -0
- package/resources/webhooks/webhooks.js.map +1 -0
- package/resources/webhooks/webhooks.mjs +117 -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 +40 -0
- package/resources/workflows/action-catalog.d.mts.map +1 -0
- package/resources/workflows/action-catalog.d.ts +40 -0
- package/resources/workflows/action-catalog.d.ts.map +1 -0
- package/resources/workflows/action-catalog.js +22 -0
- package/resources/workflows/action-catalog.js.map +1 -0
- package/resources/workflows/action-catalog.mjs +18 -0
- package/resources/workflows/action-catalog.mjs.map +1 -0
- package/resources/workflows/actions/actions.d.mts +86 -0
- package/resources/workflows/actions/actions.d.mts.map +1 -0
- package/resources/workflows/actions/actions.d.ts +86 -0
- package/resources/workflows/actions/actions.d.ts.map +1 -0
- package/resources/workflows/actions/actions.js +48 -0
- package/resources/workflows/actions/actions.js.map +1 -0
- package/resources/workflows/actions/actions.mjs +43 -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 +39 -0
- package/resources/workflows/actions/services.d.mts.map +1 -0
- package/resources/workflows/actions/services.d.ts +39 -0
- package/resources/workflows/actions/services.d.ts.map +1 -0
- package/resources/workflows/actions/services.js +22 -0
- package/resources/workflows/actions/services.js.map +1 -0
- package/resources/workflows/actions/services.mjs +18 -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 +55 -0
- package/resources/workflows/events/catalog.d.mts.map +1 -0
- package/resources/workflows/events/catalog.d.ts +55 -0
- package/resources/workflows/events/catalog.d.ts.map +1 -0
- package/resources/workflows/events/catalog.js +21 -0
- package/resources/workflows/events/catalog.js.map +1 -0
- package/resources/workflows/events/catalog.mjs +17 -0
- package/resources/workflows/events/catalog.mjs.map +1 -0
- package/resources/workflows/events/events.d.mts +123 -0
- package/resources/workflows/events/events.d.mts.map +1 -0
- package/resources/workflows/events/events.d.ts +123 -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 +83 -0
- package/resources/workflows/executions.d.mts.map +1 -0
- package/resources/workflows/executions.d.ts +83 -0
- package/resources/workflows/executions.d.ts.map +1 -0
- package/resources/workflows/executions.js +28 -0
- package/resources/workflows/executions.js.map +1 -0
- package/resources/workflows/executions.mjs +24 -0
- package/resources/workflows/executions.mjs.map +1 -0
- package/resources/workflows/flows/actions.d.mts +81 -0
- package/resources/workflows/flows/actions.d.mts.map +1 -0
- package/resources/workflows/flows/actions.d.ts +81 -0
- package/resources/workflows/flows/actions.d.ts.map +1 -0
- package/resources/workflows/flows/actions.js +35 -0
- package/resources/workflows/flows/actions.js.map +1 -0
- package/resources/workflows/flows/actions.mjs +31 -0
- package/resources/workflows/flows/actions.mjs.map +1 -0
- package/resources/workflows/flows/flows.d.mts +128 -0
- package/resources/workflows/flows/flows.d.mts.map +1 -0
- package/resources/workflows/flows/flows.d.ts +128 -0
- package/resources/workflows/flows/flows.d.ts.map +1 -0
- package/resources/workflows/flows/flows.js +61 -0
- package/resources/workflows/flows/flows.js.map +1 -0
- package/resources/workflows/flows/flows.mjs +56 -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 +313 -0
- package/resources/workflows/triggers.d.mts.map +1 -0
- package/resources/workflows/triggers.d.ts +313 -0
- package/resources/workflows/triggers.d.ts.map +1 -0
- package/resources/workflows/triggers.js +62 -0
- package/resources/workflows/triggers.js.map +1 -0
- package/resources/workflows/triggers.mjs +58 -0
- package/resources/workflows/triggers.mjs.map +1 -0
- package/resources/workflows/workflows.d.mts +57 -0
- package/resources/workflows/workflows.d.mts.map +1 -0
- package/resources/workflows/workflows.d.ts +57 -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 +176 -68
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/env.ts +2 -2
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/apps.ts +547 -30
- package/src/resources/carriers.ts +191 -7
- package/src/resources/connect/connect.ts +73 -0
- package/src/resources/connect/countries.ts +101 -0
- package/src/resources/connect/index.ts +27 -0
- package/src/resources/connect/proxies.ts +596 -0
- package/src/resources/connect/users.ts +512 -0
- package/src/resources/connect.ts +3 -0
- package/src/resources/credentials/credentials.ts +3 -0
- package/src/resources/credentials/packages/credentials/credentials.ts +3 -0
- package/src/resources/credentials/packages/credentials/fields.ts +3 -0
- package/src/resources/credentials/packages/packages.ts +3 -0
- package/src/resources/devices/apps.ts +67 -41
- package/src/resources/devices/devices.ts +268 -71
- package/src/resources/devices/esim.ts +208 -0
- package/src/resources/devices/index.ts +34 -15
- package/src/resources/devices/keyboard.ts +6 -0
- package/src/resources/devices/language.ts +91 -0
- package/src/resources/devices/location.ts +3 -17
- package/src/resources/devices/proxy.ts +61 -9
- package/src/resources/devices/state.ts +82 -3
- package/src/resources/devices/tasks.ts +3 -0
- package/src/resources/devices/timezone.ts +84 -0
- package/src/resources/hooks.ts +44 -3
- package/src/resources/index.ts +39 -3
- package/src/resources/models.ts +3 -0
- package/src/resources/proxies.ts +186 -21
- package/src/resources/shared.ts +42 -11
- package/src/resources/tasks/tasks.ts +184 -8
- package/src/resources/webhooks/deliveries.ts +284 -0
- package/src/resources/webhooks/index.ts +26 -0
- package/src/resources/webhooks/webhooks.ts +433 -0
- package/src/resources/webhooks.ts +3 -0
- package/src/resources/workflows/action-catalog.ts +71 -0
- package/src/resources/workflows/actions/actions.ts +155 -0
- package/src/resources/workflows/actions/index.ts +15 -0
- package/src/resources/workflows/actions/services.ts +61 -0
- package/src/resources/workflows/actions.ts +3 -0
- package/src/resources/workflows/events/catalog.ts +88 -0
- package/src/resources/workflows/events/events.ts +189 -0
- package/src/resources/workflows/events/index.ts +16 -0
- package/src/resources/workflows/events.ts +3 -0
- package/src/resources/workflows/executions.ts +149 -0
- package/src/resources/workflows/flows/actions.ts +141 -0
- package/src/resources/workflows/flows/flows.ts +250 -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 +454 -0
- package/src/resources/workflows/workflows.ts +218 -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 -29
- package/resources/agents.d.mts.map +0 -1
- package/resources/agents.d.ts +0 -29
- 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 -59
- package/resources/devices/time.d.mts.map +0 -1
- package/resources/devices/time.d.ts +0 -59
- 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 -43
- package/src/resources/devices/time.ts +0 -147
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.mjs","sourceRoot":"","sources":["../../src/resources/tasks/tasks.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"tasks.mjs","sourceRoot":"","sources":["../../src/resources/tasks/tasks.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,KAAK,cAAc,0BAAsB;AAChD,OAAO,EAAmE,WAAW,EAAE,0BAAsB;AAC7G,OAAO,KAAK,WAAW,wBAAoB;AAC3C,OAAO,EAA8C,QAAQ,EAAE,wBAAoB;AAEnF,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA8E1E,CAAC;IA5EC;;OAEG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,MAAc,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,MAAM,SAAS,EAAE;YACrD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,E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
-
{"version":3,"file":"ui-states.d.mts","sourceRoot":"","sources":["../../src/resources/tasks/ui-states.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-states.d.mts","sourceRoot":"","sources":["../../src/resources/tasks/ui-states.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,cAAc,0BAAsB;AAChD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,cAAc,CAAC,aAAa,CAAC;IAK3C;;OAEG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAGhF;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-states.d.ts","sourceRoot":"","sources":["../../src/resources/tasks/ui-states.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-states.d.ts","sourceRoot":"","sources":["../../src/resources/tasks/ui-states.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,cAAc,yBAAsB;AAChD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,cAAc,CAAC,aAAa,CAAC;IAK3C;;OAEG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAGhF;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-states.mjs","sourceRoot":"","sources":["../../src/resources/tasks/ui-states.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"ui-states.mjs","sourceRoot":"","sources":["../../src/resources/tasks/ui-states.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,QAAQ,CACN,KAAa,EACb,MAA6B,EAC7B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,OAAO,cAAc,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,MAAc,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,MAAM,YAAY,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.mts","sourceRoot":"","sources":["../src/resources/tasks.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"tasks.d.mts","sourceRoot":"","sources":["../src/resources/tasks.ts"],"names":[],"mappings":"AAEA,kCAA8B"}
|
package/resources/tasks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../src/resources/tasks.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../src/resources/tasks.ts"],"names":[],"mappings":"AAEA,iCAA8B"}
|
package/resources/tasks.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.mjs","sourceRoot":"","sources":["../src/resources/tasks.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
1
|
+
{"version":3,"file":"tasks.mjs","sourceRoot":"","sources":["../src/resources/tasks.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,kCAA8B"}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as Shared from "../shared.mjs";
|
|
3
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
4
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
5
|
+
export declare class Deliveries extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List deliveries across all your webhooks
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const deliveries = await client.webhooks.deliveries.list();
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
list(query?: DeliveryListParams | null | undefined, options?: RequestOptions): APIPromise<DeliveryListResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* List deliveries for a webhook
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* const response =
|
|
21
|
+
* await client.webhooks.deliveries.listForWebhook(
|
|
22
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
23
|
+
* );
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
listForWebhook(id: string, query?: DeliveryListForWebhookParams | null | undefined, options?: RequestOptions): APIPromise<DeliveryListForWebhookResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Get a delivery with its attempts
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const response =
|
|
33
|
+
* await client.webhooks.deliveries.retrieveAttempts(
|
|
34
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
35
|
+
* { id: '550e8400-e29b-41d4-a716-446655440000' },
|
|
36
|
+
* );
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
retrieveAttempts(deliveryID: string, params: DeliveryRetrieveAttemptsParams, options?: RequestOptions): APIPromise<DeliveryRetrieveAttemptsResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Aggregate delivery statistics (excludes test sends)
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const response = await client.webhooks.deliveries.stats();
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
stats(query?: DeliveryStatsParams | null | undefined, options?: RequestOptions): APIPromise<DeliveryStatsResponse>;
|
|
49
|
+
}
|
|
50
|
+
export interface DeliveryListResponse {
|
|
51
|
+
items: Array<DeliveryListResponse.Item>;
|
|
52
|
+
pagination: Shared.Pagination;
|
|
53
|
+
}
|
|
54
|
+
export declare namespace DeliveryListResponse {
|
|
55
|
+
interface Item {
|
|
56
|
+
id: string;
|
|
57
|
+
attempts: number;
|
|
58
|
+
completedAt: string | null;
|
|
59
|
+
createdAt: string;
|
|
60
|
+
durationMs: number | null;
|
|
61
|
+
endpointId: string;
|
|
62
|
+
endpointUrl: string;
|
|
63
|
+
eventId: string;
|
|
64
|
+
eventType: string;
|
|
65
|
+
isTest: boolean;
|
|
66
|
+
lastError: string | null;
|
|
67
|
+
lastStatusCode: number | null;
|
|
68
|
+
occurredAt: string;
|
|
69
|
+
source: string;
|
|
70
|
+
status: 'pending' | 'success' | 'skipped' | 'dead';
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
export interface DeliveryListForWebhookResponse {
|
|
74
|
+
items: Array<DeliveryListForWebhookResponse.Item>;
|
|
75
|
+
pagination: Shared.Pagination;
|
|
76
|
+
}
|
|
77
|
+
export declare namespace DeliveryListForWebhookResponse {
|
|
78
|
+
interface Item {
|
|
79
|
+
id: string;
|
|
80
|
+
attempts: number;
|
|
81
|
+
completedAt: string | null;
|
|
82
|
+
createdAt: string;
|
|
83
|
+
durationMs: number | null;
|
|
84
|
+
endpointId: string;
|
|
85
|
+
eventId: string;
|
|
86
|
+
eventType: string;
|
|
87
|
+
isTest: boolean;
|
|
88
|
+
lastError: string | null;
|
|
89
|
+
lastStatusCode: number | null;
|
|
90
|
+
occurredAt: string;
|
|
91
|
+
source: string;
|
|
92
|
+
status: 'pending' | 'success' | 'skipped' | 'dead';
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
export interface DeliveryRetrieveAttemptsResponse {
|
|
96
|
+
data: DeliveryRetrieveAttemptsResponse.Data;
|
|
97
|
+
}
|
|
98
|
+
export declare namespace DeliveryRetrieveAttemptsResponse {
|
|
99
|
+
interface Data {
|
|
100
|
+
id: string;
|
|
101
|
+
attempts: Array<Data.Attempt>;
|
|
102
|
+
completedAt: string | null;
|
|
103
|
+
createdAt: string;
|
|
104
|
+
durationMs: number | null;
|
|
105
|
+
endpointId: string;
|
|
106
|
+
eventId: string;
|
|
107
|
+
eventType: string;
|
|
108
|
+
isTest: boolean;
|
|
109
|
+
lastError: string | null;
|
|
110
|
+
lastStatusCode: number | null;
|
|
111
|
+
occurredAt: string;
|
|
112
|
+
source: string;
|
|
113
|
+
status: 'pending' | 'success' | 'skipped' | 'dead';
|
|
114
|
+
}
|
|
115
|
+
namespace Data {
|
|
116
|
+
interface Attempt {
|
|
117
|
+
attemptNo: number;
|
|
118
|
+
durationMs: number | null;
|
|
119
|
+
error: string | null;
|
|
120
|
+
requestBody: string | null;
|
|
121
|
+
requestHeaders: {
|
|
122
|
+
[key: string]: string;
|
|
123
|
+
} | null;
|
|
124
|
+
requestMethod: string;
|
|
125
|
+
requestUrl: string;
|
|
126
|
+
responseHeaders: {
|
|
127
|
+
[key: string]: string;
|
|
128
|
+
} | null;
|
|
129
|
+
responseSnippet: string | null;
|
|
130
|
+
responseStatus: number | null;
|
|
131
|
+
sentAt: string;
|
|
132
|
+
signed: boolean;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
export interface DeliveryStatsResponse {
|
|
137
|
+
data: DeliveryStatsResponse.Data;
|
|
138
|
+
}
|
|
139
|
+
export declare namespace DeliveryStatsResponse {
|
|
140
|
+
interface Data {
|
|
141
|
+
byStatus: Data.ByStatus;
|
|
142
|
+
successRate: number | null;
|
|
143
|
+
total: number;
|
|
144
|
+
}
|
|
145
|
+
namespace Data {
|
|
146
|
+
interface ByStatus {
|
|
147
|
+
dead: number;
|
|
148
|
+
pending: number;
|
|
149
|
+
skipped: number;
|
|
150
|
+
success: number;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
export interface DeliveryListParams {
|
|
155
|
+
page?: number;
|
|
156
|
+
pageSize?: number;
|
|
157
|
+
since?: string;
|
|
158
|
+
status?: 'pending' | 'success' | 'skipped' | 'dead';
|
|
159
|
+
}
|
|
160
|
+
export interface DeliveryListForWebhookParams {
|
|
161
|
+
page?: number;
|
|
162
|
+
pageSize?: number;
|
|
163
|
+
}
|
|
164
|
+
export interface DeliveryRetrieveAttemptsParams {
|
|
165
|
+
id: string;
|
|
166
|
+
}
|
|
167
|
+
export interface DeliveryStatsParams {
|
|
168
|
+
since?: string;
|
|
169
|
+
}
|
|
170
|
+
export declare namespace Deliveries {
|
|
171
|
+
export { 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, };
|
|
172
|
+
}
|
|
173
|
+
//# sourceMappingURL=deliveries.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deliveries.d.mts","sourceRoot":"","sources":["../../src/resources/webhooks/deliveries.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;;;;;;;;;OAUG;IACH,cAAc,CACZ,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,4BAA4B,GAAG,IAAI,GAAG,SAAc,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;IAI7C;;;;;;;;;;;OAWG;IACH,gBAAgB,CACd,UAAU,EAAE,MAAM,EAClB,MAAM,E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,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,8BAA8B;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as Shared from "../shared.js";
|
|
3
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
4
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
5
|
+
export declare class Deliveries extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List deliveries across all your webhooks
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const deliveries = await client.webhooks.deliveries.list();
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
list(query?: DeliveryListParams | null | undefined, options?: RequestOptions): APIPromise<DeliveryListResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* List deliveries for a webhook
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* const response =
|
|
21
|
+
* await client.webhooks.deliveries.listForWebhook(
|
|
22
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
23
|
+
* );
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
listForWebhook(id: string, query?: DeliveryListForWebhookParams | null | undefined, options?: RequestOptions): APIPromise<DeliveryListForWebhookResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Get a delivery with its attempts
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const response =
|
|
33
|
+
* await client.webhooks.deliveries.retrieveAttempts(
|
|
34
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
35
|
+
* { id: '550e8400-e29b-41d4-a716-446655440000' },
|
|
36
|
+
* );
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
retrieveAttempts(deliveryID: string, params: DeliveryRetrieveAttemptsParams, options?: RequestOptions): APIPromise<DeliveryRetrieveAttemptsResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Aggregate delivery statistics (excludes test sends)
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const response = await client.webhooks.deliveries.stats();
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
stats(query?: DeliveryStatsParams | null | undefined, options?: RequestOptions): APIPromise<DeliveryStatsResponse>;
|
|
49
|
+
}
|
|
50
|
+
export interface DeliveryListResponse {
|
|
51
|
+
items: Array<DeliveryListResponse.Item>;
|
|
52
|
+
pagination: Shared.Pagination;
|
|
53
|
+
}
|
|
54
|
+
export declare namespace DeliveryListResponse {
|
|
55
|
+
interface Item {
|
|
56
|
+
id: string;
|
|
57
|
+
attempts: number;
|
|
58
|
+
completedAt: string | null;
|
|
59
|
+
createdAt: string;
|
|
60
|
+
durationMs: number | null;
|
|
61
|
+
endpointId: string;
|
|
62
|
+
endpointUrl: string;
|
|
63
|
+
eventId: string;
|
|
64
|
+
eventType: string;
|
|
65
|
+
isTest: boolean;
|
|
66
|
+
lastError: string | null;
|
|
67
|
+
lastStatusCode: number | null;
|
|
68
|
+
occurredAt: string;
|
|
69
|
+
source: string;
|
|
70
|
+
status: 'pending' | 'success' | 'skipped' | 'dead';
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
export interface DeliveryListForWebhookResponse {
|
|
74
|
+
items: Array<DeliveryListForWebhookResponse.Item>;
|
|
75
|
+
pagination: Shared.Pagination;
|
|
76
|
+
}
|
|
77
|
+
export declare namespace DeliveryListForWebhookResponse {
|
|
78
|
+
interface Item {
|
|
79
|
+
id: string;
|
|
80
|
+
attempts: number;
|
|
81
|
+
completedAt: string | null;
|
|
82
|
+
createdAt: string;
|
|
83
|
+
durationMs: number | null;
|
|
84
|
+
endpointId: string;
|
|
85
|
+
eventId: string;
|
|
86
|
+
eventType: string;
|
|
87
|
+
isTest: boolean;
|
|
88
|
+
lastError: string | null;
|
|
89
|
+
lastStatusCode: number | null;
|
|
90
|
+
occurredAt: string;
|
|
91
|
+
source: string;
|
|
92
|
+
status: 'pending' | 'success' | 'skipped' | 'dead';
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
export interface DeliveryRetrieveAttemptsResponse {
|
|
96
|
+
data: DeliveryRetrieveAttemptsResponse.Data;
|
|
97
|
+
}
|
|
98
|
+
export declare namespace DeliveryRetrieveAttemptsResponse {
|
|
99
|
+
interface Data {
|
|
100
|
+
id: string;
|
|
101
|
+
attempts: Array<Data.Attempt>;
|
|
102
|
+
completedAt: string | null;
|
|
103
|
+
createdAt: string;
|
|
104
|
+
durationMs: number | null;
|
|
105
|
+
endpointId: string;
|
|
106
|
+
eventId: string;
|
|
107
|
+
eventType: string;
|
|
108
|
+
isTest: boolean;
|
|
109
|
+
lastError: string | null;
|
|
110
|
+
lastStatusCode: number | null;
|
|
111
|
+
occurredAt: string;
|
|
112
|
+
source: string;
|
|
113
|
+
status: 'pending' | 'success' | 'skipped' | 'dead';
|
|
114
|
+
}
|
|
115
|
+
namespace Data {
|
|
116
|
+
interface Attempt {
|
|
117
|
+
attemptNo: number;
|
|
118
|
+
durationMs: number | null;
|
|
119
|
+
error: string | null;
|
|
120
|
+
requestBody: string | null;
|
|
121
|
+
requestHeaders: {
|
|
122
|
+
[key: string]: string;
|
|
123
|
+
} | null;
|
|
124
|
+
requestMethod: string;
|
|
125
|
+
requestUrl: string;
|
|
126
|
+
responseHeaders: {
|
|
127
|
+
[key: string]: string;
|
|
128
|
+
} | null;
|
|
129
|
+
responseSnippet: string | null;
|
|
130
|
+
responseStatus: number | null;
|
|
131
|
+
sentAt: string;
|
|
132
|
+
signed: boolean;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
export interface DeliveryStatsResponse {
|
|
137
|
+
data: DeliveryStatsResponse.Data;
|
|
138
|
+
}
|
|
139
|
+
export declare namespace DeliveryStatsResponse {
|
|
140
|
+
interface Data {
|
|
141
|
+
byStatus: Data.ByStatus;
|
|
142
|
+
successRate: number | null;
|
|
143
|
+
total: number;
|
|
144
|
+
}
|
|
145
|
+
namespace Data {
|
|
146
|
+
interface ByStatus {
|
|
147
|
+
dead: number;
|
|
148
|
+
pending: number;
|
|
149
|
+
skipped: number;
|
|
150
|
+
success: number;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
export interface DeliveryListParams {
|
|
155
|
+
page?: number;
|
|
156
|
+
pageSize?: number;
|
|
157
|
+
since?: string;
|
|
158
|
+
status?: 'pending' | 'success' | 'skipped' | 'dead';
|
|
159
|
+
}
|
|
160
|
+
export interface DeliveryListForWebhookParams {
|
|
161
|
+
page?: number;
|
|
162
|
+
pageSize?: number;
|
|
163
|
+
}
|
|
164
|
+
export interface DeliveryRetrieveAttemptsParams {
|
|
165
|
+
id: string;
|
|
166
|
+
}
|
|
167
|
+
export interface DeliveryStatsParams {
|
|
168
|
+
since?: string;
|
|
169
|
+
}
|
|
170
|
+
export declare namespace Deliveries {
|
|
171
|
+
export { 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, };
|
|
172
|
+
}
|
|
173
|
+
//# sourceMappingURL=deliveries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deliveries.d.ts","sourceRoot":"","sources":["../../src/resources/webhooks/deliveries.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;;;;;;;;;OAUG;IACH,cAAc,CACZ,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,4BAA4B,GAAG,IAAI,GAAG,SAAc,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;IAI7C;;;;;;;;;;;OAWG;IACH,gBAAgB,CACd,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,8BAA8B,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gCAAgC,CAAC;IAK/C;;;;;;;OAOG;IACH,KAAK,CACH,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;CAGrC;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,KAAK,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAExC,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC;CAC/B;AAED,yBAAiB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AAkB,EAC7C,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Deliveries = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
7
|
+
class Deliveries extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* List deliveries across all your webhooks
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const deliveries = await client.webhooks.deliveries.list();
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
list(query = {}, options) {
|
|
17
|
+
return this._client.get('/webhooks/deliveries', { query, ...options });
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* List deliveries for a webhook
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const response =
|
|
25
|
+
* await client.webhooks.deliveries.listForWebhook(
|
|
26
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
27
|
+
* );
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
listForWebhook(id, query = {}, options) {
|
|
31
|
+
return this._client.get((0, path_1.path) `/webhooks/${id}/deliveries`, { query, ...options });
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Get a delivery with its attempts
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const response =
|
|
39
|
+
* await client.webhooks.deliveries.retrieveAttempts(
|
|
40
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
41
|
+
* { id: '550e8400-e29b-41d4-a716-446655440000' },
|
|
42
|
+
* );
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
retrieveAttempts(deliveryID, params, options) {
|
|
46
|
+
const { id } = params;
|
|
47
|
+
return this._client.get((0, path_1.path) `/webhooks/${id}/deliveries/${deliveryID}`, options);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Aggregate delivery statistics (excludes test sends)
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* const response = await client.webhooks.deliveries.stats();
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
stats(query = {}, options) {
|
|
58
|
+
return this._client.get('/webhooks/deliveries/stats', { query, ...options });
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.Deliveries = Deliveries;
|
|
62
|
+
//# sourceMappingURL=deliveries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deliveries.js","sourceRoot":"","sources":["../../src/resources/webhooks/deliveries.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;OAOG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;OAUG;IACH,cAAc,CACZ,EAAU,EACV,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,gBAAgB,CACd,UAAkB,EAClB,MAAsC,EACtC,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,eAAe,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CACH,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF;AAtED,gCAsEC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
4
|
+
export class Deliveries extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* List deliveries across all your webhooks
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const deliveries = await client.webhooks.deliveries.list();
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
list(query = {}, options) {
|
|
14
|
+
return this._client.get('/webhooks/deliveries', { query, ...options });
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* List deliveries for a webhook
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const response =
|
|
22
|
+
* await client.webhooks.deliveries.listForWebhook(
|
|
23
|
+
* '550e8400-e29b-41d4-a716-446655440000',
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
listForWebhook(id, query = {}, options) {
|
|
28
|
+
return this._client.get(path `/webhooks/${id}/deliveries`, { query, ...options });
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Get a delivery with its attempts
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const response =
|
|
36
|
+
* await client.webhooks.deliveries.retrieveAttempts(
|
|
37
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
38
|
+
* { id: '550e8400-e29b-41d4-a716-446655440000' },
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
retrieveAttempts(deliveryID, params, options) {
|
|
43
|
+
const { id } = params;
|
|
44
|
+
return this._client.get(path `/webhooks/${id}/deliveries/${deliveryID}`, options);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Aggregate delivery statistics (excludes test sends)
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const response = await client.webhooks.deliveries.stats();
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
stats(query = {}, options) {
|
|
55
|
+
return this._client.get('/webhooks/deliveries/stats', { query, ...options });
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=deliveries.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deliveries.mjs","sourceRoot":"","sources":["../../src/resources/webhooks/deliveries.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;OAOG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;OAUG;IACH,cAAc,CACZ,EAAU,EACV,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,gBAAgB,CACd,UAAkB,EAClB,MAAsC,EACtC,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,EAAE,eAAe,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CACH,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Deliveries, type DeliveryListResponse, type DeliveryListForWebhookResponse, type DeliveryRetrieveAttemptsResponse, type DeliveryStatsResponse, type DeliveryListParams, type DeliveryListForWebhookParams, type DeliveryRetrieveAttemptsParams, type DeliveryStatsParams, } from "./deliveries.mjs";
|
|
2
|
+
export { Webhooks, type WebhookCreateResponse, type WebhookRetrieveResponse, type WebhookUpdateResponse, type WebhookListResponse, type WebhookEventTypesResponse, type WebhookRotateSecretResponse, type WebhookTestDeliveryResponse, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, } from "./webhooks.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/webhooks/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,GACzB,yBAAqB;AACtB,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,uBAAmB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Deliveries, type DeliveryListResponse, type DeliveryListForWebhookResponse, type DeliveryRetrieveAttemptsResponse, type DeliveryStatsResponse, type DeliveryListParams, type DeliveryListForWebhookParams, type DeliveryRetrieveAttemptsParams, type DeliveryStatsParams, } from "./deliveries.js";
|
|
2
|
+
export { Webhooks, type WebhookCreateResponse, type WebhookRetrieveResponse, type WebhookUpdateResponse, type WebhookListResponse, type WebhookEventTypesResponse, type WebhookRotateSecretResponse, type WebhookTestDeliveryResponse, type WebhookCreateParams, type WebhookUpdateParams, type WebhookListParams, } from "./webhooks.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/webhooks/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,GACzB,wBAAqB;AACtB,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,sBAAmB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Webhooks = exports.Deliveries = void 0;
|
|
5
|
+
var deliveries_1 = require("./deliveries.js");
|
|
6
|
+
Object.defineProperty(exports, "Deliveries", { enumerable: true, get: function () { return deliveries_1.Deliveries; } });
|
|
7
|
+
var webhooks_1 = require("./webhooks.js");
|
|
8
|
+
Object.defineProperty(exports, "Webhooks", { enumerable: true, get: function () { return webhooks_1.Webhooks; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/webhooks/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAUsB;AATpB,wGAAA,UAAU,OAAA;AAUZ,0CAYoB;AAXlB,oGAAA,QAAQ,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/webhooks/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,UAAU,GASX,yBAAqB;AACtB,OAAO,EACL,QAAQ,GAWT,uBAAmB"}
|