botshield-sdk 2.3.0 → 4.0.1
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/README.md +28 -2
- package/bin/mcp-server.js +1129 -52
- package/bin/mcp-server.js.map +34 -24
- package/dist/commonjs/funcs/actions-propose-action.d.ts +1 -1
- package/dist/commonjs/funcs/actions-propose-action.js +1 -1
- package/dist/commonjs/funcs/actions-verify-resolution.d.ts +18 -0
- package/dist/commonjs/funcs/actions-verify-resolution.d.ts.map +1 -0
- package/dist/commonjs/funcs/actions-verify-resolution.js +129 -0
- package/dist/commonjs/funcs/actions-verify-resolution.js.map +1 -0
- package/dist/commonjs/funcs/census-confirm-link.d.ts +17 -0
- package/dist/commonjs/funcs/census-confirm-link.d.ts.map +1 -0
- package/dist/commonjs/funcs/census-confirm-link.js +119 -0
- package/dist/commonjs/funcs/census-confirm-link.js.map +1 -0
- package/dist/commonjs/funcs/census-create-verification-link.d.ts +2 -0
- package/dist/commonjs/funcs/census-create-verification-link.d.ts.map +1 -1
- package/dist/commonjs/funcs/census-create-verification-link.js +2 -0
- package/dist/commonjs/funcs/census-create-verification-link.js.map +1 -1
- package/dist/commonjs/funcs/census-send-by-number.d.ts +18 -0
- package/dist/commonjs/funcs/census-send-by-number.d.ts.map +1 -0
- package/dist/commonjs/funcs/census-send-by-number.js +123 -0
- package/dist/commonjs/funcs/census-send-by-number.js.map +1 -0
- package/dist/commonjs/funcs/census-verify-token.d.ts +1 -1
- package/dist/commonjs/funcs/census-verify-token.js +1 -1
- package/dist/commonjs/funcs/gates-actions-request-cancel.d.ts +18 -0
- package/dist/commonjs/funcs/gates-actions-request-cancel.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-actions-request-cancel.js +123 -0
- package/dist/commonjs/funcs/gates-actions-request-cancel.js.map +1 -0
- package/dist/commonjs/funcs/gates-actions-request-status.js +1 -0
- package/dist/commonjs/funcs/gates-actions-request-status.js.map +1 -1
- package/dist/commonjs/funcs/gates-actions-request.d.ts +1 -1
- package/dist/commonjs/funcs/gates-actions-request.js +1 -1
- package/dist/commonjs/funcs/gates-actions-update.d.ts +18 -0
- package/dist/commonjs/funcs/gates-actions-update.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-actions-update.js +123 -0
- package/dist/commonjs/funcs/gates-actions-update.js.map +1 -0
- package/dist/commonjs/funcs/recovery-exchange.d.ts +18 -0
- package/dist/commonjs/funcs/recovery-exchange.d.ts.map +1 -0
- package/dist/commonjs/funcs/recovery-exchange.js +123 -0
- package/dist/commonjs/funcs/recovery-exchange.js.map +1 -0
- package/dist/commonjs/funcs/recovery-other-route.d.ts +18 -0
- package/dist/commonjs/funcs/recovery-other-route.d.ts.map +1 -0
- package/dist/commonjs/funcs/recovery-other-route.js +123 -0
- package/dist/commonjs/funcs/recovery-other-route.js.map +1 -0
- package/dist/commonjs/funcs/sign-in-confirm.d.ts +18 -0
- package/dist/commonjs/funcs/sign-in-confirm.d.ts.map +1 -0
- package/dist/commonjs/funcs/sign-in-confirm.js +123 -0
- package/dist/commonjs/funcs/sign-in-confirm.js.map +1 -0
- package/dist/commonjs/funcs/sign-in-request.d.ts +18 -0
- package/dist/commonjs/funcs/sign-in-request.d.ts.map +1 -0
- package/dist/commonjs/funcs/sign-in-request.js +123 -0
- package/dist/commonjs/funcs/sign-in-request.js.map +1 -0
- package/dist/commonjs/funcs/verification-get-status.d.ts +1 -1
- package/dist/commonjs/funcs/verification-get-status.js +2 -1
- package/dist/commonjs/funcs/verification-get-status.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/bot-shield-action.d.ts +46 -0
- package/dist/commonjs/models/bot-shield-action.d.ts.map +1 -1
- package/dist/commonjs/models/bot-shield-action.js +36 -1
- package/dist/commonjs/models/bot-shield-action.js.map +1 -1
- package/dist/commonjs/models/error-body.d.ts +6 -1
- package/dist/commonjs/models/error-body.d.ts.map +1 -1
- package/dist/commonjs/models/error-body.js +4 -0
- package/dist/commonjs/models/error-body.js.map +1 -1
- package/dist/commonjs/models/gate-unavailable-event.d.ts +112 -0
- package/dist/commonjs/models/gate-unavailable-event.d.ts.map +1 -0
- package/dist/commonjs/models/gate-unavailable-event.js +137 -0
- package/dist/commonjs/models/gate-unavailable-event.js.map +1 -0
- package/dist/commonjs/models/gates-api-error.d.ts +5 -0
- package/dist/commonjs/models/gates-api-error.d.ts.map +1 -1
- package/dist/commonjs/models/gates-api-error.js +11 -0
- package/dist/commonjs/models/gates-api-error.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +1 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/operations/actions-propose.d.ts +21 -1
- package/dist/commonjs/models/operations/actions-propose.d.ts.map +1 -1
- package/dist/commonjs/models/operations/actions-propose.js +16 -0
- package/dist/commonjs/models/operations/actions-propose.js.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-create.d.ts +11 -1
- package/dist/commonjs/models/operations/gates-api-actions-create.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-create.js +4 -0
- package/dist/commonjs/models/operations/gates-api-actions-create.js.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-list.d.ts +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-request-cancel.d.ts +113 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-cancel.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-cancel.js +178 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-cancel.js.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-status.d.ts +5 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-request-status.js +2 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-status.js.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-request.d.ts +34 -4
- package/dist/commonjs/models/operations/gates-api-actions-request.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-request.js +32 -3
- package/dist/commonjs/models/operations/gates-api-actions-request.js.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-set-state.d.ts +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-update.d.ts +99 -0
- package/dist/commonjs/models/operations/gates-api-actions-update.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-update.js +141 -0
- package/dist/commonjs/models/operations/gates-api-actions-update.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +9 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +9 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/recovery-exchange.d.ts +114 -0
- package/dist/commonjs/models/operations/recovery-exchange.d.ts.map +1 -0
- package/dist/commonjs/models/operations/recovery-exchange.js +164 -0
- package/dist/commonjs/models/operations/recovery-exchange.js.map +1 -0
- package/dist/commonjs/models/operations/recovery-other-route.d.ts +86 -0
- package/dist/commonjs/models/operations/recovery-other-route.d.ts.map +1 -0
- package/dist/commonjs/models/operations/recovery-other-route.js +145 -0
- package/dist/commonjs/models/operations/recovery-other-route.js.map +1 -0
- package/dist/commonjs/models/operations/request-passkey-complete.d.ts +1 -1
- package/dist/commonjs/models/operations/sdk-confirm-link.d.ts +130 -0
- package/dist/commonjs/models/operations/sdk-confirm-link.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-confirm-link.js +205 -0
- package/dist/commonjs/models/operations/sdk-confirm-link.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-create-session.d.ts +1 -1
- package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts +48 -2
- package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-create-verification-link.js +34 -1
- package/dist/commonjs/models/operations/sdk-create-verification-link.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-send-by-number.d.ts +124 -0
- package/dist/commonjs/models/operations/sdk-send-by-number.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-send-by-number.js +203 -0
- package/dist/commonjs/models/operations/sdk-send-by-number.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-verify-resolution.d.ts +125 -0
- package/dist/commonjs/models/operations/sdk-verify-resolution.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-verify-resolution.js +182 -0
- package/dist/commonjs/models/operations/sdk-verify-resolution.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts +110 -1
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-verify-token.js +96 -1
- package/dist/commonjs/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/commonjs/models/operations/signin-confirm.d.ts +148 -0
- package/dist/commonjs/models/operations/signin-confirm.d.ts.map +1 -0
- package/dist/commonjs/models/operations/signin-confirm.js +202 -0
- package/dist/commonjs/models/operations/signin-confirm.js.map +1 -0
- package/dist/commonjs/models/operations/signin-request.d.ts +115 -0
- package/dist/commonjs/models/operations/signin-request.d.ts.map +1 -0
- package/dist/commonjs/models/operations/signin-request.js +174 -0
- package/dist/commonjs/models/operations/signin-request.js.map +1 -0
- package/dist/commonjs/models/operations/verification-get-status.d.ts +45 -5
- package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.js +37 -2
- package/dist/commonjs/models/operations/verification-get-status.js.map +1 -1
- package/dist/commonjs/models/passes-per-person.d.ts +1 -1
- package/dist/commonjs/sdk/actions.d.ts +8 -1
- package/dist/commonjs/sdk/actions.d.ts.map +1 -1
- package/dist/commonjs/sdk/actions.js +11 -1
- package/dist/commonjs/sdk/actions.js.map +1 -1
- package/dist/commonjs/sdk/census.d.ts +17 -1
- package/dist/commonjs/sdk/census.d.ts.map +1 -1
- package/dist/commonjs/sdk/census.js +23 -1
- package/dist/commonjs/sdk/census.js.map +1 -1
- package/dist/commonjs/sdk/gates-actions.d.ts +15 -1
- package/dist/commonjs/sdk/gates-actions.d.ts.map +1 -1
- package/dist/commonjs/sdk/gates-actions.js +21 -1
- package/dist/commonjs/sdk/gates-actions.js.map +1 -1
- package/dist/commonjs/sdk/recovery.d.ts +19 -0
- package/dist/commonjs/sdk/recovery.d.ts.map +1 -0
- package/dist/commonjs/sdk/recovery.js +32 -0
- package/dist/commonjs/sdk/recovery.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +8 -2
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +14 -4
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/sign-in.d.ts +19 -0
- package/dist/commonjs/sdk/sign-in.d.ts.map +1 -0
- package/dist/commonjs/sdk/sign-in.js +32 -0
- package/dist/commonjs/sdk/sign-in.js.map +1 -0
- package/dist/commonjs/sdk/verification.d.ts +1 -1
- package/dist/commonjs/sdk/verification.js +1 -1
- package/dist/esm/funcs/actions-propose-action.d.ts +1 -1
- package/dist/esm/funcs/actions-propose-action.js +1 -1
- package/dist/esm/funcs/actions-verify-resolution.d.ts +18 -0
- package/dist/esm/funcs/actions-verify-resolution.d.ts.map +1 -0
- package/dist/esm/funcs/actions-verify-resolution.js +93 -0
- package/dist/esm/funcs/actions-verify-resolution.js.map +1 -0
- package/dist/esm/funcs/census-confirm-link.d.ts +17 -0
- package/dist/esm/funcs/census-confirm-link.d.ts.map +1 -0
- package/dist/esm/funcs/census-confirm-link.js +83 -0
- package/dist/esm/funcs/census-confirm-link.js.map +1 -0
- package/dist/esm/funcs/census-create-verification-link.d.ts +2 -0
- package/dist/esm/funcs/census-create-verification-link.d.ts.map +1 -1
- package/dist/esm/funcs/census-create-verification-link.js +2 -0
- package/dist/esm/funcs/census-create-verification-link.js.map +1 -1
- package/dist/esm/funcs/census-send-by-number.d.ts +18 -0
- package/dist/esm/funcs/census-send-by-number.d.ts.map +1 -0
- package/dist/esm/funcs/census-send-by-number.js +87 -0
- package/dist/esm/funcs/census-send-by-number.js.map +1 -0
- package/dist/esm/funcs/census-verify-token.d.ts +1 -1
- package/dist/esm/funcs/census-verify-token.js +1 -1
- package/dist/esm/funcs/gates-actions-request-cancel.d.ts +18 -0
- package/dist/esm/funcs/gates-actions-request-cancel.d.ts.map +1 -0
- package/dist/esm/funcs/gates-actions-request-cancel.js +87 -0
- package/dist/esm/funcs/gates-actions-request-cancel.js.map +1 -0
- package/dist/esm/funcs/gates-actions-request-status.js +1 -0
- package/dist/esm/funcs/gates-actions-request-status.js.map +1 -1
- package/dist/esm/funcs/gates-actions-request.d.ts +1 -1
- package/dist/esm/funcs/gates-actions-request.js +1 -1
- package/dist/esm/funcs/gates-actions-update.d.ts +18 -0
- package/dist/esm/funcs/gates-actions-update.d.ts.map +1 -0
- package/dist/esm/funcs/gates-actions-update.js +87 -0
- package/dist/esm/funcs/gates-actions-update.js.map +1 -0
- package/dist/esm/funcs/recovery-exchange.d.ts +18 -0
- package/dist/esm/funcs/recovery-exchange.d.ts.map +1 -0
- package/dist/esm/funcs/recovery-exchange.js +87 -0
- package/dist/esm/funcs/recovery-exchange.js.map +1 -0
- package/dist/esm/funcs/recovery-other-route.d.ts +18 -0
- package/dist/esm/funcs/recovery-other-route.d.ts.map +1 -0
- package/dist/esm/funcs/recovery-other-route.js +87 -0
- package/dist/esm/funcs/recovery-other-route.js.map +1 -0
- package/dist/esm/funcs/sign-in-confirm.d.ts +18 -0
- package/dist/esm/funcs/sign-in-confirm.d.ts.map +1 -0
- package/dist/esm/funcs/sign-in-confirm.js +87 -0
- package/dist/esm/funcs/sign-in-confirm.js.map +1 -0
- package/dist/esm/funcs/sign-in-request.d.ts +18 -0
- package/dist/esm/funcs/sign-in-request.d.ts.map +1 -0
- package/dist/esm/funcs/sign-in-request.js +87 -0
- package/dist/esm/funcs/sign-in-request.js.map +1 -0
- package/dist/esm/funcs/verification-get-status.d.ts +1 -1
- package/dist/esm/funcs/verification-get-status.js +3 -2
- package/dist/esm/funcs/verification-get-status.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/bot-shield-action.d.ts +46 -0
- package/dist/esm/models/bot-shield-action.d.ts.map +1 -1
- package/dist/esm/models/bot-shield-action.js +35 -0
- package/dist/esm/models/bot-shield-action.js.map +1 -1
- package/dist/esm/models/error-body.d.ts +6 -1
- package/dist/esm/models/error-body.d.ts.map +1 -1
- package/dist/esm/models/error-body.js +4 -0
- package/dist/esm/models/error-body.js.map +1 -1
- package/dist/esm/models/gate-unavailable-event.d.ts +112 -0
- package/dist/esm/models/gate-unavailable-event.d.ts.map +1 -0
- package/dist/esm/models/gate-unavailable-event.js +99 -0
- package/dist/esm/models/gate-unavailable-event.js.map +1 -0
- package/dist/esm/models/gates-api-error.d.ts +5 -0
- package/dist/esm/models/gates-api-error.d.ts.map +1 -1
- package/dist/esm/models/gates-api-error.js +11 -0
- package/dist/esm/models/gates-api-error.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/operations/actions-propose.d.ts +21 -1
- package/dist/esm/models/operations/actions-propose.d.ts.map +1 -1
- package/dist/esm/models/operations/actions-propose.js +16 -0
- package/dist/esm/models/operations/actions-propose.js.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-create.d.ts +11 -1
- package/dist/esm/models/operations/gates-api-actions-create.d.ts.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-create.js +4 -0
- package/dist/esm/models/operations/gates-api-actions-create.js.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-list.d.ts +1 -1
- package/dist/esm/models/operations/gates-api-actions-request-cancel.d.ts +113 -0
- package/dist/esm/models/operations/gates-api-actions-request-cancel.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-request-cancel.js +132 -0
- package/dist/esm/models/operations/gates-api-actions-request-cancel.js.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-request-status.d.ts +5 -0
- package/dist/esm/models/operations/gates-api-actions-request-status.d.ts.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-request-status.js +2 -0
- package/dist/esm/models/operations/gates-api-actions-request-status.js.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-request.d.ts +34 -4
- package/dist/esm/models/operations/gates-api-actions-request.d.ts.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-request.js +29 -2
- package/dist/esm/models/operations/gates-api-actions-request.js.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-set-state.d.ts +1 -1
- package/dist/esm/models/operations/gates-api-actions-update.d.ts +99 -0
- package/dist/esm/models/operations/gates-api-actions-update.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-update.js +95 -0
- package/dist/esm/models/operations/gates-api-actions-update.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +9 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +9 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/recovery-exchange.d.ts +114 -0
- package/dist/esm/models/operations/recovery-exchange.d.ts.map +1 -0
- package/dist/esm/models/operations/recovery-exchange.js +118 -0
- package/dist/esm/models/operations/recovery-exchange.js.map +1 -0
- package/dist/esm/models/operations/recovery-other-route.d.ts +86 -0
- package/dist/esm/models/operations/recovery-other-route.d.ts.map +1 -0
- package/dist/esm/models/operations/recovery-other-route.js +99 -0
- package/dist/esm/models/operations/recovery-other-route.js.map +1 -0
- package/dist/esm/models/operations/request-passkey-complete.d.ts +1 -1
- package/dist/esm/models/operations/sdk-confirm-link.d.ts +130 -0
- package/dist/esm/models/operations/sdk-confirm-link.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-confirm-link.js +157 -0
- package/dist/esm/models/operations/sdk-confirm-link.js.map +1 -0
- package/dist/esm/models/operations/sdk-create-session.d.ts +1 -1
- package/dist/esm/models/operations/sdk-create-verification-link.d.ts +48 -2
- package/dist/esm/models/operations/sdk-create-verification-link.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-create-verification-link.js +33 -0
- package/dist/esm/models/operations/sdk-create-verification-link.js.map +1 -1
- package/dist/esm/models/operations/sdk-send-by-number.d.ts +124 -0
- package/dist/esm/models/operations/sdk-send-by-number.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-send-by-number.js +155 -0
- package/dist/esm/models/operations/sdk-send-by-number.js.map +1 -0
- package/dist/esm/models/operations/sdk-verify-resolution.d.ts +125 -0
- package/dist/esm/models/operations/sdk-verify-resolution.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-verify-resolution.js +136 -0
- package/dist/esm/models/operations/sdk-verify-resolution.js.map +1 -0
- package/dist/esm/models/operations/sdk-verify-token.d.ts +110 -1
- package/dist/esm/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-verify-token.js +93 -0
- package/dist/esm/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/esm/models/operations/signin-confirm.d.ts +148 -0
- package/dist/esm/models/operations/signin-confirm.d.ts.map +1 -0
- package/dist/esm/models/operations/signin-confirm.js +156 -0
- package/dist/esm/models/operations/signin-confirm.js.map +1 -0
- package/dist/esm/models/operations/signin-request.d.ts +115 -0
- package/dist/esm/models/operations/signin-request.d.ts.map +1 -0
- package/dist/esm/models/operations/signin-request.js +128 -0
- package/dist/esm/models/operations/signin-request.js.map +1 -0
- package/dist/esm/models/operations/verification-get-status.d.ts +45 -5
- package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/esm/models/operations/verification-get-status.js +36 -1
- package/dist/esm/models/operations/verification-get-status.js.map +1 -1
- package/dist/esm/models/passes-per-person.d.ts +1 -1
- package/dist/esm/sdk/actions.d.ts +8 -1
- package/dist/esm/sdk/actions.d.ts.map +1 -1
- package/dist/esm/sdk/actions.js +11 -1
- package/dist/esm/sdk/actions.js.map +1 -1
- package/dist/esm/sdk/census.d.ts +17 -1
- package/dist/esm/sdk/census.d.ts.map +1 -1
- package/dist/esm/sdk/census.js +23 -1
- package/dist/esm/sdk/census.js.map +1 -1
- package/dist/esm/sdk/gates-actions.d.ts +15 -1
- package/dist/esm/sdk/gates-actions.d.ts.map +1 -1
- package/dist/esm/sdk/gates-actions.js +21 -1
- package/dist/esm/sdk/gates-actions.js.map +1 -1
- package/dist/esm/sdk/recovery.d.ts +19 -0
- package/dist/esm/sdk/recovery.d.ts.map +1 -0
- package/dist/esm/sdk/recovery.js +28 -0
- package/dist/esm/sdk/recovery.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +8 -2
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +14 -4
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/sign-in.d.ts +19 -0
- package/dist/esm/sdk/sign-in.d.ts.map +1 -0
- package/dist/esm/sdk/sign-in.js +28 -0
- package/dist/esm/sdk/sign-in.js.map +1 -0
- package/dist/esm/sdk/verification.d.ts +1 -1
- package/dist/esm/sdk/verification.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/actions-propose-action.ts +1 -1
- package/src/funcs/actions-verify-resolution.ts +192 -0
- package/src/funcs/census-confirm-link.ts +171 -0
- package/src/funcs/census-create-verification-link.ts +2 -0
- package/src/funcs/census-send-by-number.ts +180 -0
- package/src/funcs/census-verify-token.ts +1 -1
- package/src/funcs/gates-actions-request-cancel.ts +187 -0
- package/src/funcs/gates-actions-request-status.ts +1 -0
- package/src/funcs/gates-actions-request.ts +1 -1
- package/src/funcs/gates-actions-update.ts +185 -0
- package/src/funcs/recovery-exchange.ts +184 -0
- package/src/funcs/recovery-other-route.ts +184 -0
- package/src/funcs/sign-in-confirm.ts +184 -0
- package/src/funcs/sign-in-request.ts +184 -0
- package/src/funcs/verification-get-status.ts +7 -2
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/bot-shield-action.ts +79 -0
- package/src/models/error-body.ts +10 -1
- package/src/models/gate-unavailable-event.ts +218 -0
- package/src/models/gates-api-error.ts +16 -0
- package/src/models/index.ts +1 -0
- package/src/models/operations/actions-propose.ts +37 -1
- package/src/models/operations/gates-api-actions-create.ts +15 -1
- package/src/models/operations/gates-api-actions-list.ts +1 -1
- package/src/models/operations/gates-api-actions-request-cancel.ts +339 -0
- package/src/models/operations/gates-api-actions-request-status.ts +7 -0
- package/src/models/operations/gates-api-actions-request.ts +83 -6
- package/src/models/operations/gates-api-actions-set-state.ts +1 -1
- package/src/models/operations/gates-api-actions-update.ts +281 -0
- package/src/models/operations/index.ts +9 -0
- package/src/models/operations/recovery-exchange.ts +308 -0
- package/src/models/operations/recovery-other-route.ts +262 -0
- package/src/models/operations/request-passkey-complete.ts +1 -1
- package/src/models/operations/sdk-confirm-link.ts +380 -0
- package/src/models/operations/sdk-create-session.ts +1 -1
- package/src/models/operations/sdk-create-verification-link.ts +78 -2
- package/src/models/operations/sdk-send-by-number.ts +372 -0
- package/src/models/operations/sdk-verify-resolution.ts +341 -0
- package/src/models/operations/sdk-verify-token.ts +214 -1
- package/src/models/operations/signin-confirm.ts +383 -0
- package/src/models/operations/signin-request.ts +319 -0
- package/src/models/operations/verification-get-status.ts +76 -5
- package/src/models/passes-per-person.ts +1 -1
- package/src/sdk/actions.ts +21 -1
- package/src/sdk/census.ts +43 -1
- package/src/sdk/gates-actions.ts +41 -1
- package/src/sdk/recovery.ts +49 -0
- package/src/sdk/sdk.ts +17 -5
- package/src/sdk/sign-in.ts +49 -0
- package/src/sdk/verification.ts +1 -1
package/bin/mcp-server.js
CHANGED
|
@@ -3920,9 +3920,9 @@ var init_config = __esm(() => {
|
|
|
3920
3920
|
SDK_METADATA = {
|
|
3921
3921
|
language: "typescript",
|
|
3922
3922
|
openapiDocVersion: "2.0.0",
|
|
3923
|
-
sdkVersion: "
|
|
3923
|
+
sdkVersion: "4.0.1",
|
|
3924
3924
|
genVersion: "2.934.1",
|
|
3925
|
-
userAgent: "speakeasy-sdk/typescript
|
|
3925
|
+
userAgent: "speakeasy-sdk/typescript 4.0.1 2.934.1 2.0.0 botshield-sdk"
|
|
3926
3926
|
};
|
|
3927
3927
|
});
|
|
3928
3928
|
|
|
@@ -48925,7 +48925,7 @@ var init_primitives2 = __esm(() => {
|
|
|
48925
48925
|
});
|
|
48926
48926
|
|
|
48927
48927
|
// src/models/bot-shield-action.ts
|
|
48928
|
-
var BotShieldActionState, BotShieldActionEnvironment, BotShieldActionState$inboundSchema, BotShieldActionState$outboundSchema, BotShieldActionEnvironment$inboundSchema, BotShieldActionEnvironment$outboundSchema, BotShieldAction$inboundSchema, BotShieldAction$outboundSchema;
|
|
48928
|
+
var BotShieldActionState, BotShieldActionEnvironment, BotShieldActionKind, BotShieldActionState$inboundSchema, BotShieldActionState$outboundSchema, BotShieldActionEnvironment$inboundSchema, BotShieldActionEnvironment$outboundSchema, BotShieldActionKind$inboundSchema, BotShieldActionKind$outboundSchema, BotShieldAction$inboundSchema, BotShieldAction$outboundSchema;
|
|
48929
48929
|
var init_bot_shield_action = __esm(() => {
|
|
48930
48930
|
init_v3();
|
|
48931
48931
|
init_primitives();
|
|
@@ -48939,10 +48939,17 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48939
48939
|
Development: "development",
|
|
48940
48940
|
Production: "production"
|
|
48941
48941
|
};
|
|
48942
|
+
BotShieldActionKind = {
|
|
48943
|
+
Action: "action",
|
|
48944
|
+
Recovery: "recovery",
|
|
48945
|
+
Signin: "signin"
|
|
48946
|
+
};
|
|
48942
48947
|
BotShieldActionState$inboundSchema = inboundSchema(BotShieldActionState);
|
|
48943
48948
|
BotShieldActionState$outboundSchema = outboundSchema(BotShieldActionState);
|
|
48944
48949
|
BotShieldActionEnvironment$inboundSchema = inboundSchema(BotShieldActionEnvironment);
|
|
48945
48950
|
BotShieldActionEnvironment$outboundSchema = outboundSchema(BotShieldActionEnvironment);
|
|
48951
|
+
BotShieldActionKind$inboundSchema = inboundSchema(BotShieldActionKind);
|
|
48952
|
+
BotShieldActionKind$outboundSchema = outboundSchema(BotShieldActionKind);
|
|
48946
48953
|
BotShieldAction$inboundSchema = objectType({
|
|
48947
48954
|
id: string4(),
|
|
48948
48955
|
name: string4(),
|
|
@@ -48951,13 +48958,24 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48951
48958
|
state: BotShieldActionState$inboundSchema,
|
|
48952
48959
|
environment: BotShieldActionEnvironment$inboundSchema,
|
|
48953
48960
|
placed_at: date4(),
|
|
48954
|
-
turned_off_at: nullable3(date4())
|
|
48961
|
+
turned_off_at: nullable3(date4()),
|
|
48962
|
+
staff_can_send: optional3(boolean4()),
|
|
48963
|
+
kind: optional3(BotShieldActionKind$inboundSchema),
|
|
48964
|
+
signin_qr: optional3(boolean4()),
|
|
48965
|
+
pending_where_url: nullableType(string4()).optional(),
|
|
48966
|
+
pending_where_url_at: nullableType(date4()).optional(),
|
|
48967
|
+
high_value: optional3(boolean4())
|
|
48955
48968
|
}).transform((v) => {
|
|
48956
48969
|
return remap(v, {
|
|
48957
48970
|
act_key: "actKey",
|
|
48958
48971
|
where_url: "whereUrl",
|
|
48959
48972
|
placed_at: "placedAt",
|
|
48960
|
-
turned_off_at: "turnedOffAt"
|
|
48973
|
+
turned_off_at: "turnedOffAt",
|
|
48974
|
+
staff_can_send: "staffCanSend",
|
|
48975
|
+
signin_qr: "signinQr",
|
|
48976
|
+
pending_where_url: "pendingWhereUrl",
|
|
48977
|
+
pending_where_url_at: "pendingWhereUrlAt",
|
|
48978
|
+
high_value: "highValue"
|
|
48961
48979
|
});
|
|
48962
48980
|
});
|
|
48963
48981
|
BotShieldAction$outboundSchema = objectType({
|
|
@@ -48968,13 +48986,24 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48968
48986
|
state: BotShieldActionState$outboundSchema,
|
|
48969
48987
|
environment: BotShieldActionEnvironment$outboundSchema,
|
|
48970
48988
|
placedAt: dateType().transform((v) => v.toISOString()),
|
|
48971
|
-
turnedOffAt: nullableType(dateType().transform((v) => v.toISOString()))
|
|
48989
|
+
turnedOffAt: nullableType(dateType().transform((v) => v.toISOString())),
|
|
48990
|
+
staffCanSend: booleanType().optional(),
|
|
48991
|
+
kind: BotShieldActionKind$outboundSchema.optional(),
|
|
48992
|
+
signinQr: booleanType().optional(),
|
|
48993
|
+
pendingWhereUrl: nullableType(stringType()).optional(),
|
|
48994
|
+
pendingWhereUrlAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
48995
|
+
highValue: booleanType().optional()
|
|
48972
48996
|
}).transform((v) => {
|
|
48973
48997
|
return remap(v, {
|
|
48974
48998
|
actKey: "act_key",
|
|
48975
48999
|
whereUrl: "where_url",
|
|
48976
49000
|
placedAt: "placed_at",
|
|
48977
|
-
turnedOffAt: "turned_off_at"
|
|
49001
|
+
turnedOffAt: "turned_off_at",
|
|
49002
|
+
staffCanSend: "staff_can_send",
|
|
49003
|
+
signinQr: "signin_qr",
|
|
49004
|
+
pendingWhereUrl: "pending_where_url",
|
|
49005
|
+
pendingWhereUrlAt: "pending_where_url_at",
|
|
49006
|
+
highValue: "high_value"
|
|
48978
49007
|
});
|
|
48979
49008
|
});
|
|
48980
49009
|
});
|
|
@@ -49026,14 +49055,16 @@ var init_error_body = __esm(() => {
|
|
|
49026
49055
|
retry_in: optional3(number4()),
|
|
49027
49056
|
limits: optional3(lazyType(() => Limits$inboundSchema)),
|
|
49028
49057
|
upgrade_url: optional3(string4()),
|
|
49029
|
-
url: optional3(string4())
|
|
49058
|
+
url: optional3(string4()),
|
|
49059
|
+
retry_after_seconds: optional3(number4())
|
|
49030
49060
|
}).transform((v) => {
|
|
49031
49061
|
return remap(v, {
|
|
49032
49062
|
min_ttl_seconds: "minTtlSeconds",
|
|
49033
49063
|
max_ttl_seconds: "maxTtlSeconds",
|
|
49034
49064
|
next_step: "nextStep",
|
|
49035
49065
|
retry_in: "retryIn",
|
|
49036
|
-
upgrade_url: "upgradeUrl"
|
|
49066
|
+
upgrade_url: "upgradeUrl",
|
|
49067
|
+
retry_after_seconds: "retryAfterSeconds"
|
|
49037
49068
|
});
|
|
49038
49069
|
});
|
|
49039
49070
|
ErrorBody$outboundSchema = objectType({
|
|
@@ -49050,14 +49081,16 @@ var init_error_body = __esm(() => {
|
|
|
49050
49081
|
retryIn: numberType().int().optional(),
|
|
49051
49082
|
limits: lazyType(() => Limits$outboundSchema).optional(),
|
|
49052
49083
|
upgradeUrl: stringType().optional(),
|
|
49053
|
-
url: stringType().optional()
|
|
49084
|
+
url: stringType().optional(),
|
|
49085
|
+
retryAfterSeconds: numberType().int().optional()
|
|
49054
49086
|
}).transform((v) => {
|
|
49055
49087
|
return remap(v, {
|
|
49056
49088
|
minTtlSeconds: "min_ttl_seconds",
|
|
49057
49089
|
maxTtlSeconds: "max_ttl_seconds",
|
|
49058
49090
|
nextStep: "next_step",
|
|
49059
49091
|
retryIn: "retry_in",
|
|
49060
|
-
upgradeUrl: "upgrade_url"
|
|
49092
|
+
upgradeUrl: "upgrade_url",
|
|
49093
|
+
retryAfterSeconds: "retry_after_seconds"
|
|
49061
49094
|
});
|
|
49062
49095
|
});
|
|
49063
49096
|
});
|
|
@@ -49240,6 +49273,86 @@ var init_gate_policy_doc = __esm(() => {
|
|
|
49240
49273
|
});
|
|
49241
49274
|
});
|
|
49242
49275
|
|
|
49276
|
+
// src/models/gate-unavailable-event.ts
|
|
49277
|
+
var GateUnavailableEventType, GateUnavailableEventVerdict, GateUnavailableEventReason, GateUnavailableEventEnvironment, GateUnavailableEventType$inboundSchema, GateUnavailableEventType$outboundSchema, GateUnavailableEventVerdict$inboundSchema, GateUnavailableEventVerdict$outboundSchema, GateUnavailableEventReason$inboundSchema, GateUnavailableEventReason$outboundSchema, GateUnavailableEventEnvironment$inboundSchema, GateUnavailableEventEnvironment$outboundSchema, GateUnavailableEvent$inboundSchema, GateUnavailableEvent$outboundSchema;
|
|
49278
|
+
var init_gate_unavailable_event = __esm(() => {
|
|
49279
|
+
init_v3();
|
|
49280
|
+
init_primitives();
|
|
49281
|
+
init_primitives2();
|
|
49282
|
+
GateUnavailableEventType = {
|
|
49283
|
+
GateUnavailable: "gate.unavailable"
|
|
49284
|
+
};
|
|
49285
|
+
GateUnavailableEventVerdict = {
|
|
49286
|
+
Unavailable: "unavailable"
|
|
49287
|
+
};
|
|
49288
|
+
GateUnavailableEventReason = {
|
|
49289
|
+
UserDenied: "user_denied",
|
|
49290
|
+
DeviceLockRequired: "device_lock_required",
|
|
49291
|
+
InternalError: "internal_error",
|
|
49292
|
+
PlatformDeclined: "platform_declined"
|
|
49293
|
+
};
|
|
49294
|
+
GateUnavailableEventEnvironment = {
|
|
49295
|
+
Development: "development",
|
|
49296
|
+
Production: "production"
|
|
49297
|
+
};
|
|
49298
|
+
GateUnavailableEventType$inboundSchema = nativeEnumType(GateUnavailableEventType);
|
|
49299
|
+
GateUnavailableEventType$outboundSchema = GateUnavailableEventType$inboundSchema;
|
|
49300
|
+
GateUnavailableEventVerdict$inboundSchema = nativeEnumType(GateUnavailableEventVerdict);
|
|
49301
|
+
GateUnavailableEventVerdict$outboundSchema = GateUnavailableEventVerdict$inboundSchema;
|
|
49302
|
+
GateUnavailableEventReason$inboundSchema = nativeEnumType(GateUnavailableEventReason);
|
|
49303
|
+
GateUnavailableEventReason$outboundSchema = GateUnavailableEventReason$inboundSchema;
|
|
49304
|
+
GateUnavailableEventEnvironment$inboundSchema = nativeEnumType(GateUnavailableEventEnvironment);
|
|
49305
|
+
GateUnavailableEventEnvironment$outboundSchema = GateUnavailableEventEnvironment$inboundSchema;
|
|
49306
|
+
GateUnavailableEvent$inboundSchema = objectType({
|
|
49307
|
+
type: GateUnavailableEventType$inboundSchema,
|
|
49308
|
+
event_id: string4(),
|
|
49309
|
+
request_id: string4(),
|
|
49310
|
+
failed_at: date4(),
|
|
49311
|
+
verdict: GateUnavailableEventVerdict$inboundSchema,
|
|
49312
|
+
reason: GateUnavailableEventReason$inboundSchema,
|
|
49313
|
+
error_message: optional3(string4()),
|
|
49314
|
+
failure_code: optional3(string4()),
|
|
49315
|
+
failure_name: optional3(string4()),
|
|
49316
|
+
environment: GateUnavailableEventEnvironment$inboundSchema,
|
|
49317
|
+
product: optional3(string4()),
|
|
49318
|
+
act: optional3(string4()),
|
|
49319
|
+
metadata: optional3(recordType(anyType()))
|
|
49320
|
+
}).transform((v) => {
|
|
49321
|
+
return remap(v, {
|
|
49322
|
+
event_id: "eventId",
|
|
49323
|
+
request_id: "requestId",
|
|
49324
|
+
failed_at: "failedAt",
|
|
49325
|
+
error_message: "errorMessage",
|
|
49326
|
+
failure_code: "failureCode",
|
|
49327
|
+
failure_name: "failureName"
|
|
49328
|
+
});
|
|
49329
|
+
});
|
|
49330
|
+
GateUnavailableEvent$outboundSchema = objectType({
|
|
49331
|
+
type: GateUnavailableEventType$outboundSchema,
|
|
49332
|
+
eventId: stringType(),
|
|
49333
|
+
requestId: stringType(),
|
|
49334
|
+
failedAt: dateType().transform((v) => v.toISOString()),
|
|
49335
|
+
verdict: GateUnavailableEventVerdict$outboundSchema,
|
|
49336
|
+
reason: GateUnavailableEventReason$outboundSchema,
|
|
49337
|
+
errorMessage: stringType().optional(),
|
|
49338
|
+
failureCode: stringType().optional(),
|
|
49339
|
+
failureName: stringType().optional(),
|
|
49340
|
+
environment: GateUnavailableEventEnvironment$outboundSchema,
|
|
49341
|
+
product: stringType().optional(),
|
|
49342
|
+
act: stringType().optional(),
|
|
49343
|
+
metadata: recordType(anyType()).optional()
|
|
49344
|
+
}).transform((v) => {
|
|
49345
|
+
return remap(v, {
|
|
49346
|
+
eventId: "event_id",
|
|
49347
|
+
requestId: "request_id",
|
|
49348
|
+
failedAt: "failed_at",
|
|
49349
|
+
errorMessage: "error_message",
|
|
49350
|
+
failureCode: "failure_code",
|
|
49351
|
+
failureName: "failure_name"
|
|
49352
|
+
});
|
|
49353
|
+
});
|
|
49354
|
+
});
|
|
49355
|
+
|
|
49243
49356
|
// src/models/gate.ts
|
|
49244
49357
|
var Status, GateState, GateEnvironment, GatePreset, GateType, AgeThreshold, GateLink, Status$inboundSchema, Status$outboundSchema, GateState$inboundSchema, GateState$outboundSchema, GateEnvironment$inboundSchema, GateEnvironment$outboundSchema, GatePreset$inboundSchema, GatePreset$outboundSchema, GateType$inboundSchema, GateType$outboundSchema, AgeThreshold$inboundSchema, AgeThreshold$outboundSchema, GateLink$inboundSchema, GateLink$outboundSchema, Schedule$inboundSchema, Schedule$outboundSchema, Policy$inboundSchema, Policy$outboundSchema, Gate$inboundSchema, Gate$outboundSchema;
|
|
49245
49358
|
var init_gate = __esm(() => {
|
|
@@ -49386,16 +49499,27 @@ var init_gate = __esm(() => {
|
|
|
49386
49499
|
var GatesApiError$inboundSchema, GatesApiError$outboundSchema;
|
|
49387
49500
|
var init_gates_api_error = __esm(() => {
|
|
49388
49501
|
init_v3();
|
|
49502
|
+
init_primitives();
|
|
49389
49503
|
init_primitives2();
|
|
49390
49504
|
GatesApiError$inboundSchema = objectType({
|
|
49391
49505
|
message: string4(),
|
|
49392
49506
|
statusCode: number4(),
|
|
49393
|
-
code: string4()
|
|
49507
|
+
code: string4(),
|
|
49508
|
+
retry_after_seconds: optional3(number4())
|
|
49509
|
+
}).transform((v) => {
|
|
49510
|
+
return remap(v, {
|
|
49511
|
+
retry_after_seconds: "retryAfterSeconds"
|
|
49512
|
+
});
|
|
49394
49513
|
});
|
|
49395
49514
|
GatesApiError$outboundSchema = objectType({
|
|
49396
49515
|
message: stringType(),
|
|
49397
49516
|
statusCode: numberType().int(),
|
|
49398
|
-
code: stringType()
|
|
49517
|
+
code: stringType(),
|
|
49518
|
+
retryAfterSeconds: numberType().int().optional()
|
|
49519
|
+
}).transform((v) => {
|
|
49520
|
+
return remap(v, {
|
|
49521
|
+
retryAfterSeconds: "retry_after_seconds"
|
|
49522
|
+
});
|
|
49399
49523
|
});
|
|
49400
49524
|
});
|
|
49401
49525
|
|
|
@@ -49525,6 +49649,7 @@ var init_models = __esm(() => {
|
|
|
49525
49649
|
init_gate_human_verified_event();
|
|
49526
49650
|
init_gate_policy_doc();
|
|
49527
49651
|
init_gate_schedule();
|
|
49652
|
+
init_gate_unavailable_event();
|
|
49528
49653
|
init_gate();
|
|
49529
49654
|
init_gates_api_error();
|
|
49530
49655
|
init_inline_passkey_assertion();
|
|
@@ -49838,17 +49963,21 @@ var init_actions_propose = __esm(() => {
|
|
|
49838
49963
|
opaque_id: optional3(string4()),
|
|
49839
49964
|
botshield_user_id: optional3(string4()),
|
|
49840
49965
|
user_email: optional3(string4()),
|
|
49966
|
+
phone_number: optional3(string4()),
|
|
49841
49967
|
action: lazyType(() => ActionsProposeAction$inboundSchema),
|
|
49842
49968
|
adaptive_card_payload: optional3(recordType(anyType())),
|
|
49843
|
-
ttl_seconds: number4().default(600)
|
|
49969
|
+
ttl_seconds: number4().default(600),
|
|
49970
|
+
partner_user_ref: optional3(string4())
|
|
49844
49971
|
}).transform((v) => {
|
|
49845
49972
|
return remap(v, {
|
|
49846
49973
|
request_id: "requestId",
|
|
49847
49974
|
opaque_id: "opaqueId",
|
|
49848
49975
|
botshield_user_id: "botshieldUserId",
|
|
49849
49976
|
user_email: "userEmail",
|
|
49977
|
+
phone_number: "phoneNumber",
|
|
49850
49978
|
adaptive_card_payload: "adaptiveCardPayload",
|
|
49851
|
-
ttl_seconds: "ttlSeconds"
|
|
49979
|
+
ttl_seconds: "ttlSeconds",
|
|
49980
|
+
partner_user_ref: "partnerUserRef"
|
|
49852
49981
|
});
|
|
49853
49982
|
});
|
|
49854
49983
|
ActionsProposeRequest$outboundSchema = objectType({
|
|
@@ -49856,17 +49985,21 @@ var init_actions_propose = __esm(() => {
|
|
|
49856
49985
|
opaqueId: stringType().optional(),
|
|
49857
49986
|
botshieldUserId: stringType().optional(),
|
|
49858
49987
|
userEmail: stringType().optional(),
|
|
49988
|
+
phoneNumber: stringType().optional(),
|
|
49859
49989
|
action: lazyType(() => ActionsProposeAction$outboundSchema),
|
|
49860
49990
|
adaptiveCardPayload: recordType(anyType()).optional(),
|
|
49861
|
-
ttlSeconds: numberType().int().default(600)
|
|
49991
|
+
ttlSeconds: numberType().int().default(600),
|
|
49992
|
+
partnerUserRef: stringType().optional()
|
|
49862
49993
|
}).transform((v) => {
|
|
49863
49994
|
return remap(v, {
|
|
49864
49995
|
requestId: "request_id",
|
|
49865
49996
|
opaqueId: "opaque_id",
|
|
49866
49997
|
botshieldUserId: "botshield_user_id",
|
|
49867
49998
|
userEmail: "user_email",
|
|
49999
|
+
phoneNumber: "phone_number",
|
|
49868
50000
|
adaptiveCardPayload: "adaptive_card_payload",
|
|
49869
|
-
ttlSeconds: "ttl_seconds"
|
|
50001
|
+
ttlSeconds: "ttl_seconds",
|
|
50002
|
+
partnerUserRef: "partner_user_ref"
|
|
49870
50003
|
});
|
|
49871
50004
|
});
|
|
49872
50005
|
ActionsProposeStatus$inboundSchema = inboundSchema(ActionsProposeStatus);
|
|
@@ -49875,24 +50008,32 @@ var init_actions_propose = __esm(() => {
|
|
|
49875
50008
|
status: ActionsProposeStatus$inboundSchema,
|
|
49876
50009
|
card_id: string4(),
|
|
49877
50010
|
ttl_at: optional3(date4()),
|
|
49878
|
-
idempotent_replay: optional3(boolean4())
|
|
50011
|
+
idempotent_replay: optional3(boolean4()),
|
|
50012
|
+
request_id: optional3(string4()),
|
|
50013
|
+
match_number: optional3(number4())
|
|
49879
50014
|
}).transform((v) => {
|
|
49880
50015
|
return remap(v, {
|
|
49881
50016
|
card_id: "cardId",
|
|
49882
50017
|
ttl_at: "ttlAt",
|
|
49883
|
-
idempotent_replay: "idempotentReplay"
|
|
50018
|
+
idempotent_replay: "idempotentReplay",
|
|
50019
|
+
request_id: "requestId",
|
|
50020
|
+
match_number: "matchNumber"
|
|
49884
50021
|
});
|
|
49885
50022
|
});
|
|
49886
50023
|
ActionsProposeDataData$outboundSchema = objectType({
|
|
49887
50024
|
status: ActionsProposeStatus$outboundSchema,
|
|
49888
50025
|
cardId: stringType(),
|
|
49889
50026
|
ttlAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
49890
|
-
idempotentReplay: booleanType().optional()
|
|
50027
|
+
idempotentReplay: booleanType().optional(),
|
|
50028
|
+
requestId: stringType().optional(),
|
|
50029
|
+
matchNumber: numberType().int().optional()
|
|
49891
50030
|
}).transform((v) => {
|
|
49892
50031
|
return remap(v, {
|
|
49893
50032
|
cardId: "card_id",
|
|
49894
50033
|
ttlAt: "ttl_at",
|
|
49895
|
-
idempotentReplay: "idempotent_replay"
|
|
50034
|
+
idempotentReplay: "idempotent_replay",
|
|
50035
|
+
requestId: "request_id",
|
|
50036
|
+
matchNumber: "match_number"
|
|
49896
50037
|
});
|
|
49897
50038
|
});
|
|
49898
50039
|
ActionsProposeData$inboundSchema = objectType({
|
|
@@ -49935,12 +50076,16 @@ var init_gates_api_actions_create = __esm(() => {
|
|
|
49935
50076
|
GatesApiActionsCreateRequest$inboundSchema = objectType({
|
|
49936
50077
|
name: string4(),
|
|
49937
50078
|
actKey: string4(),
|
|
49938
|
-
whereUrl: optional3(string4())
|
|
50079
|
+
whereUrl: optional3(string4()),
|
|
50080
|
+
staffCanSend: optional3(boolean4()),
|
|
50081
|
+
highValue: optional3(boolean4())
|
|
49939
50082
|
});
|
|
49940
50083
|
GatesApiActionsCreateRequest$outboundSchema = objectType({
|
|
49941
50084
|
name: stringType(),
|
|
49942
50085
|
actKey: stringType(),
|
|
49943
|
-
whereUrl: stringType().optional()
|
|
50086
|
+
whereUrl: stringType().optional(),
|
|
50087
|
+
staffCanSend: booleanType().optional(),
|
|
50088
|
+
highValue: booleanType().optional()
|
|
49944
50089
|
});
|
|
49945
50090
|
GatesApiActionsCreateDataData$inboundSchema = objectType({
|
|
49946
50091
|
action: BotShieldAction$inboundSchema
|
|
@@ -50007,6 +50152,95 @@ var init_gates_api_actions_list = __esm(() => {
|
|
|
50007
50152
|
});
|
|
50008
50153
|
});
|
|
50009
50154
|
|
|
50155
|
+
// src/models/operations/gates-api-actions-request-cancel.ts
|
|
50156
|
+
var GatesApiActionsRequestCancelStatus, GatesApiActionsRequestCancelSecurity$inboundSchema, GatesApiActionsRequestCancelSecurity$outboundSchema, GatesApiActionsRequestCancelRequest$inboundSchema, GatesApiActionsRequestCancelRequest$outboundSchema, GatesApiActionsRequestCancelStatus$inboundSchema, GatesApiActionsRequestCancelStatus$outboundSchema, GatesApiActionsRequestCancelDataData$inboundSchema, GatesApiActionsRequestCancelDataData$outboundSchema, GatesApiActionsRequestCancelData$inboundSchema, GatesApiActionsRequestCancelData$outboundSchema, GatesApiActionsRequestCancelResponse$inboundSchema, GatesApiActionsRequestCancelResponse$outboundSchema;
|
|
50157
|
+
var init_gates_api_actions_request_cancel = __esm(() => {
|
|
50158
|
+
init_v3();
|
|
50159
|
+
init_primitives();
|
|
50160
|
+
init_enums();
|
|
50161
|
+
init_primitives2();
|
|
50162
|
+
init_models();
|
|
50163
|
+
GatesApiActionsRequestCancelStatus = {
|
|
50164
|
+
Queued: "queued",
|
|
50165
|
+
Approved: "approved",
|
|
50166
|
+
Denied: "denied",
|
|
50167
|
+
Expired: "expired",
|
|
50168
|
+
Cancelled: "cancelled"
|
|
50169
|
+
};
|
|
50170
|
+
GatesApiActionsRequestCancelSecurity$inboundSchema = objectType({
|
|
50171
|
+
GatesKeyAuth: string4()
|
|
50172
|
+
}).transform((v) => {
|
|
50173
|
+
return remap(v, {
|
|
50174
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50175
|
+
});
|
|
50176
|
+
});
|
|
50177
|
+
GatesApiActionsRequestCancelSecurity$outboundSchema = objectType({
|
|
50178
|
+
gatesKeyAuth: stringType()
|
|
50179
|
+
}).transform((v) => {
|
|
50180
|
+
return remap(v, {
|
|
50181
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50182
|
+
});
|
|
50183
|
+
});
|
|
50184
|
+
GatesApiActionsRequestCancelRequest$inboundSchema = objectType({
|
|
50185
|
+
request_id: string4(),
|
|
50186
|
+
agent: string4(),
|
|
50187
|
+
reason: optional3(string4())
|
|
50188
|
+
}).transform((v) => {
|
|
50189
|
+
return remap(v, {
|
|
50190
|
+
request_id: "requestId"
|
|
50191
|
+
});
|
|
50192
|
+
});
|
|
50193
|
+
GatesApiActionsRequestCancelRequest$outboundSchema = objectType({
|
|
50194
|
+
requestId: stringType(),
|
|
50195
|
+
agent: stringType(),
|
|
50196
|
+
reason: stringType().optional()
|
|
50197
|
+
}).transform((v) => {
|
|
50198
|
+
return remap(v, {
|
|
50199
|
+
requestId: "request_id"
|
|
50200
|
+
});
|
|
50201
|
+
});
|
|
50202
|
+
GatesApiActionsRequestCancelStatus$inboundSchema = inboundSchema(GatesApiActionsRequestCancelStatus);
|
|
50203
|
+
GatesApiActionsRequestCancelStatus$outboundSchema = outboundSchema(GatesApiActionsRequestCancelStatus);
|
|
50204
|
+
GatesApiActionsRequestCancelDataData$inboundSchema = objectType({
|
|
50205
|
+
request_id: string4(),
|
|
50206
|
+
status: GatesApiActionsRequestCancelStatus$inboundSchema,
|
|
50207
|
+
already_resolved: optional3(boolean4()),
|
|
50208
|
+
cancelled_at: optional3(date4())
|
|
50209
|
+
}).transform((v) => {
|
|
50210
|
+
return remap(v, {
|
|
50211
|
+
request_id: "requestId",
|
|
50212
|
+
already_resolved: "alreadyResolved",
|
|
50213
|
+
cancelled_at: "cancelledAt"
|
|
50214
|
+
});
|
|
50215
|
+
});
|
|
50216
|
+
GatesApiActionsRequestCancelDataData$outboundSchema = objectType({
|
|
50217
|
+
requestId: stringType(),
|
|
50218
|
+
status: GatesApiActionsRequestCancelStatus$outboundSchema,
|
|
50219
|
+
alreadyResolved: booleanType().optional(),
|
|
50220
|
+
cancelledAt: dateType().transform((v) => v.toISOString()).optional()
|
|
50221
|
+
}).transform((v) => {
|
|
50222
|
+
return remap(v, {
|
|
50223
|
+
requestId: "request_id",
|
|
50224
|
+
alreadyResolved: "already_resolved",
|
|
50225
|
+
cancelledAt: "cancelled_at"
|
|
50226
|
+
});
|
|
50227
|
+
});
|
|
50228
|
+
GatesApiActionsRequestCancelData$inboundSchema = objectType({
|
|
50229
|
+
data: optional3(lazyType(() => GatesApiActionsRequestCancelDataData$inboundSchema)),
|
|
50230
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50231
|
+
});
|
|
50232
|
+
GatesApiActionsRequestCancelData$outboundSchema = objectType({
|
|
50233
|
+
data: lazyType(() => GatesApiActionsRequestCancelDataData$outboundSchema).optional(),
|
|
50234
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50235
|
+
});
|
|
50236
|
+
GatesApiActionsRequestCancelResponse$inboundSchema = objectType({
|
|
50237
|
+
data: lazyType(() => GatesApiActionsRequestCancelData$inboundSchema)
|
|
50238
|
+
});
|
|
50239
|
+
GatesApiActionsRequestCancelResponse$outboundSchema = objectType({
|
|
50240
|
+
data: lazyType(() => GatesApiActionsRequestCancelData$outboundSchema)
|
|
50241
|
+
});
|
|
50242
|
+
});
|
|
50243
|
+
|
|
50010
50244
|
// src/models/operations/gates-api-actions-request-status.ts
|
|
50011
50245
|
var GatesApiActionsRequestStatusStatus, GatesApiActionsRequestStatusSecurity$inboundSchema, GatesApiActionsRequestStatusSecurity$outboundSchema, GatesApiActionsRequestStatusRequest$inboundSchema, GatesApiActionsRequestStatusRequest$outboundSchema, GatesApiActionsRequestStatusStatus$inboundSchema, GatesApiActionsRequestStatusStatus$outboundSchema, GatesApiActionsRequestStatusDataData$inboundSchema, GatesApiActionsRequestStatusDataData$outboundSchema, GatesApiActionsRequestStatusData$inboundSchema, GatesApiActionsRequestStatusData$outboundSchema, GatesApiActionsRequestStatusResponse$inboundSchema, GatesApiActionsRequestStatusResponse$outboundSchema;
|
|
50012
50246
|
var init_gates_api_actions_request_status = __esm(() => {
|
|
@@ -50038,6 +50272,7 @@ var init_gates_api_actions_request_status = __esm(() => {
|
|
|
50038
50272
|
});
|
|
50039
50273
|
GatesApiActionsRequestStatusRequest$inboundSchema = objectType({
|
|
50040
50274
|
request_id: string4(),
|
|
50275
|
+
agent: optional3(string4()),
|
|
50041
50276
|
wait_seconds: optional3(number4())
|
|
50042
50277
|
}).transform((v) => {
|
|
50043
50278
|
return remap(v, {
|
|
@@ -50047,6 +50282,7 @@ var init_gates_api_actions_request_status = __esm(() => {
|
|
|
50047
50282
|
});
|
|
50048
50283
|
GatesApiActionsRequestStatusRequest$outboundSchema = objectType({
|
|
50049
50284
|
requestId: stringType(),
|
|
50285
|
+
agent: stringType().optional(),
|
|
50050
50286
|
waitSeconds: numberType().int().optional()
|
|
50051
50287
|
}).transform((v) => {
|
|
50052
50288
|
return remap(v, {
|
|
@@ -50105,7 +50341,7 @@ var init_gates_api_actions_request_status = __esm(() => {
|
|
|
50105
50341
|
});
|
|
50106
50342
|
|
|
50107
50343
|
// src/models/operations/gates-api-actions-request.ts
|
|
50108
|
-
var GatesApiActionsRequestStatus, GatesApiActionsRequestSecurity$inboundSchema, GatesApiActionsRequestSecurity$outboundSchema, GatesApiActionsRequestRequest$inboundSchema, GatesApiActionsRequestRequest$outboundSchema, GatesApiActionsRequestStatus$inboundSchema, GatesApiActionsRequestStatus$outboundSchema, GatesApiActionsRequestDataData$inboundSchema, GatesApiActionsRequestDataData$outboundSchema, GatesApiActionsRequestData$inboundSchema, GatesApiActionsRequestData$outboundSchema, GatesApiActionsRequestResponse$inboundSchema, GatesApiActionsRequestResponse$outboundSchema;
|
|
50344
|
+
var GatesApiActionsRequestStatus, GatesApiActionsRequestSecurity$inboundSchema, GatesApiActionsRequestSecurity$outboundSchema, GatesApiActionsRequestDetail$inboundSchema, GatesApiActionsRequestDetail$outboundSchema, GatesApiActionsRequestRequest$inboundSchema, GatesApiActionsRequestRequest$outboundSchema, GatesApiActionsRequestStatus$inboundSchema, GatesApiActionsRequestStatus$outboundSchema, GatesApiActionsRequestDataData$inboundSchema, GatesApiActionsRequestDataData$outboundSchema, GatesApiActionsRequestData$inboundSchema, GatesApiActionsRequestData$outboundSchema, GatesApiActionsRequestResponse$inboundSchema, GatesApiActionsRequestResponse$outboundSchema;
|
|
50109
50345
|
var init_gates_api_actions_request = __esm(() => {
|
|
50110
50346
|
init_v3();
|
|
50111
50347
|
init_primitives();
|
|
@@ -50133,19 +50369,30 @@ var init_gates_api_actions_request = __esm(() => {
|
|
|
50133
50369
|
gatesKeyAuth: "GatesKeyAuth"
|
|
50134
50370
|
});
|
|
50135
50371
|
});
|
|
50372
|
+
GatesApiActionsRequestDetail$inboundSchema = objectType({
|
|
50373
|
+
label: string4(),
|
|
50374
|
+
value: string4()
|
|
50375
|
+
});
|
|
50376
|
+
GatesApiActionsRequestDetail$outboundSchema = objectType({
|
|
50377
|
+
label: stringType(),
|
|
50378
|
+
value: stringType()
|
|
50379
|
+
});
|
|
50136
50380
|
GatesApiActionsRequestRequest$inboundSchema = objectType({
|
|
50137
50381
|
request_id: string4(),
|
|
50138
50382
|
agent: string4(),
|
|
50139
50383
|
act: string4(),
|
|
50140
50384
|
act_label: optional3(string4()),
|
|
50141
|
-
partner_user_ref: string4(),
|
|
50385
|
+
partner_user_ref: optional3(string4()),
|
|
50386
|
+
phone_number: optional3(string4()),
|
|
50142
50387
|
requested_by: optional3(string4()),
|
|
50388
|
+
details: optional3(arrayType(lazyType(() => GatesApiActionsRequestDetail$inboundSchema))),
|
|
50143
50389
|
ttl_seconds: number4().default(600)
|
|
50144
50390
|
}).transform((v) => {
|
|
50145
50391
|
return remap(v, {
|
|
50146
50392
|
request_id: "requestId",
|
|
50147
50393
|
act_label: "actLabel",
|
|
50148
50394
|
partner_user_ref: "partnerUserRef",
|
|
50395
|
+
phone_number: "phoneNumber",
|
|
50149
50396
|
requested_by: "requestedBy",
|
|
50150
50397
|
ttl_seconds: "ttlSeconds"
|
|
50151
50398
|
});
|
|
@@ -50155,14 +50402,17 @@ var init_gates_api_actions_request = __esm(() => {
|
|
|
50155
50402
|
agent: stringType(),
|
|
50156
50403
|
act: stringType(),
|
|
50157
50404
|
actLabel: stringType().optional(),
|
|
50158
|
-
partnerUserRef: stringType(),
|
|
50405
|
+
partnerUserRef: stringType().optional(),
|
|
50406
|
+
phoneNumber: stringType().optional(),
|
|
50159
50407
|
requestedBy: stringType().optional(),
|
|
50408
|
+
details: arrayType(lazyType(() => GatesApiActionsRequestDetail$outboundSchema)).optional(),
|
|
50160
50409
|
ttlSeconds: numberType().int().default(600)
|
|
50161
50410
|
}).transform((v) => {
|
|
50162
50411
|
return remap(v, {
|
|
50163
50412
|
requestId: "request_id",
|
|
50164
50413
|
actLabel: "act_label",
|
|
50165
50414
|
partnerUserRef: "partner_user_ref",
|
|
50415
|
+
phoneNumber: "phone_number",
|
|
50166
50416
|
requestedBy: "requested_by",
|
|
50167
50417
|
ttlSeconds: "ttl_seconds"
|
|
50168
50418
|
});
|
|
@@ -50172,21 +50422,25 @@ var init_gates_api_actions_request = __esm(() => {
|
|
|
50172
50422
|
GatesApiActionsRequestDataData$inboundSchema = objectType({
|
|
50173
50423
|
request_id: string4(),
|
|
50174
50424
|
status: GatesApiActionsRequestStatus$inboundSchema,
|
|
50175
|
-
expires_at: date4()
|
|
50425
|
+
expires_at: date4(),
|
|
50426
|
+
match_number: optional3(number4())
|
|
50176
50427
|
}).transform((v) => {
|
|
50177
50428
|
return remap(v, {
|
|
50178
50429
|
request_id: "requestId",
|
|
50179
|
-
expires_at: "expiresAt"
|
|
50430
|
+
expires_at: "expiresAt",
|
|
50431
|
+
match_number: "matchNumber"
|
|
50180
50432
|
});
|
|
50181
50433
|
});
|
|
50182
50434
|
GatesApiActionsRequestDataData$outboundSchema = objectType({
|
|
50183
50435
|
requestId: stringType(),
|
|
50184
50436
|
status: GatesApiActionsRequestStatus$outboundSchema,
|
|
50185
|
-
expiresAt: dateType().transform((v) => v.toISOString())
|
|
50437
|
+
expiresAt: dateType().transform((v) => v.toISOString()),
|
|
50438
|
+
matchNumber: numberType().int().optional()
|
|
50186
50439
|
}).transform((v) => {
|
|
50187
50440
|
return remap(v, {
|
|
50188
50441
|
requestId: "request_id",
|
|
50189
|
-
expiresAt: "expires_at"
|
|
50442
|
+
expiresAt: "expires_at",
|
|
50443
|
+
matchNumber: "match_number"
|
|
50190
50444
|
});
|
|
50191
50445
|
});
|
|
50192
50446
|
GatesApiActionsRequestData$inboundSchema = objectType({
|
|
@@ -50262,6 +50516,61 @@ var init_gates_api_actions_set_state = __esm(() => {
|
|
|
50262
50516
|
});
|
|
50263
50517
|
});
|
|
50264
50518
|
|
|
50519
|
+
// src/models/operations/gates-api-actions-update.ts
|
|
50520
|
+
var GatesApiActionsUpdateSecurity$inboundSchema, GatesApiActionsUpdateSecurity$outboundSchema, GatesApiActionsUpdateRequest$inboundSchema, GatesApiActionsUpdateRequest$outboundSchema, GatesApiActionsUpdateDataData$inboundSchema, GatesApiActionsUpdateDataData$outboundSchema, GatesApiActionsUpdateData$inboundSchema, GatesApiActionsUpdateData$outboundSchema, GatesApiActionsUpdateResponse$inboundSchema, GatesApiActionsUpdateResponse$outboundSchema;
|
|
50521
|
+
var init_gates_api_actions_update = __esm(() => {
|
|
50522
|
+
init_v3();
|
|
50523
|
+
init_primitives();
|
|
50524
|
+
init_primitives2();
|
|
50525
|
+
init_models();
|
|
50526
|
+
GatesApiActionsUpdateSecurity$inboundSchema = objectType({
|
|
50527
|
+
GatesKeyAuth: string4()
|
|
50528
|
+
}).transform((v) => {
|
|
50529
|
+
return remap(v, {
|
|
50530
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50531
|
+
});
|
|
50532
|
+
});
|
|
50533
|
+
GatesApiActionsUpdateSecurity$outboundSchema = objectType({
|
|
50534
|
+
gatesKeyAuth: stringType()
|
|
50535
|
+
}).transform((v) => {
|
|
50536
|
+
return remap(v, {
|
|
50537
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50538
|
+
});
|
|
50539
|
+
});
|
|
50540
|
+
GatesApiActionsUpdateRequest$inboundSchema = objectType({
|
|
50541
|
+
actKey: string4(),
|
|
50542
|
+
name: optional3(string4()),
|
|
50543
|
+
staffCanSend: optional3(boolean4()),
|
|
50544
|
+
highValue: optional3(boolean4())
|
|
50545
|
+
});
|
|
50546
|
+
GatesApiActionsUpdateRequest$outboundSchema = objectType({
|
|
50547
|
+
actKey: stringType(),
|
|
50548
|
+
name: stringType().optional(),
|
|
50549
|
+
staffCanSend: booleanType().optional(),
|
|
50550
|
+
highValue: booleanType().optional()
|
|
50551
|
+
});
|
|
50552
|
+
GatesApiActionsUpdateDataData$inboundSchema = objectType({
|
|
50553
|
+
action: BotShieldAction$inboundSchema
|
|
50554
|
+
});
|
|
50555
|
+
GatesApiActionsUpdateDataData$outboundSchema = objectType({
|
|
50556
|
+
action: BotShieldAction$outboundSchema
|
|
50557
|
+
});
|
|
50558
|
+
GatesApiActionsUpdateData$inboundSchema = objectType({
|
|
50559
|
+
data: optional3(lazyType(() => GatesApiActionsUpdateDataData$inboundSchema)),
|
|
50560
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50561
|
+
});
|
|
50562
|
+
GatesApiActionsUpdateData$outboundSchema = objectType({
|
|
50563
|
+
data: lazyType(() => GatesApiActionsUpdateDataData$outboundSchema).optional(),
|
|
50564
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50565
|
+
});
|
|
50566
|
+
GatesApiActionsUpdateResponse$inboundSchema = objectType({
|
|
50567
|
+
data: lazyType(() => GatesApiActionsUpdateData$inboundSchema)
|
|
50568
|
+
});
|
|
50569
|
+
GatesApiActionsUpdateResponse$outboundSchema = objectType({
|
|
50570
|
+
data: lazyType(() => GatesApiActionsUpdateData$outboundSchema)
|
|
50571
|
+
});
|
|
50572
|
+
});
|
|
50573
|
+
|
|
50265
50574
|
// src/models/operations/gates-api-activate.ts
|
|
50266
50575
|
var GatesApiActivateSecurity$inboundSchema, GatesApiActivateSecurity$outboundSchema, GatesApiActivateRequest$inboundSchema, GatesApiActivateRequest$outboundSchema, GatesApiActivateDataData$inboundSchema, GatesApiActivateDataData$outboundSchema, GatesApiActivateData$inboundSchema, GatesApiActivateData$outboundSchema, GatesApiActivateResponse$inboundSchema, GatesApiActivateResponse$outboundSchema;
|
|
50267
50576
|
var init_gates_api_activate = __esm(() => {
|
|
@@ -50672,6 +50981,141 @@ var init_gates_api_list = __esm(() => {
|
|
|
50672
50981
|
});
|
|
50673
50982
|
});
|
|
50674
50983
|
|
|
50984
|
+
// src/models/operations/recovery-exchange.ts
|
|
50985
|
+
var RecoveryExchangeAct, RecoveryExchangeSecurity$inboundSchema, RecoveryExchangeSecurity$outboundSchema, RecoveryExchangeRequest$inboundSchema, RecoveryExchangeRequest$outboundSchema, RecoveryExchangeAct$inboundSchema, RecoveryExchangeAct$outboundSchema, RecoveryExchangeDataData$inboundSchema, RecoveryExchangeDataData$outboundSchema, RecoveryExchangeData$inboundSchema, RecoveryExchangeData$outboundSchema, RecoveryExchangeResponse$inboundSchema, RecoveryExchangeResponse$outboundSchema;
|
|
50986
|
+
var init_recovery_exchange = __esm(() => {
|
|
50987
|
+
init_v3();
|
|
50988
|
+
init_primitives();
|
|
50989
|
+
init_primitives2();
|
|
50990
|
+
init_models();
|
|
50991
|
+
RecoveryExchangeAct = {
|
|
50992
|
+
Recovery: "recovery"
|
|
50993
|
+
};
|
|
50994
|
+
RecoveryExchangeSecurity$inboundSchema = objectType({
|
|
50995
|
+
ApiKeyAuth: string4()
|
|
50996
|
+
}).transform((v) => {
|
|
50997
|
+
return remap(v, {
|
|
50998
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
50999
|
+
});
|
|
51000
|
+
});
|
|
51001
|
+
RecoveryExchangeSecurity$outboundSchema = objectType({
|
|
51002
|
+
apiKeyAuth: stringType()
|
|
51003
|
+
}).transform((v) => {
|
|
51004
|
+
return remap(v, {
|
|
51005
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51006
|
+
});
|
|
51007
|
+
});
|
|
51008
|
+
RecoveryExchangeRequest$inboundSchema = objectType({
|
|
51009
|
+
code: string4(),
|
|
51010
|
+
secret: string4()
|
|
51011
|
+
});
|
|
51012
|
+
RecoveryExchangeRequest$outboundSchema = objectType({
|
|
51013
|
+
code: stringType(),
|
|
51014
|
+
secret: stringType()
|
|
51015
|
+
});
|
|
51016
|
+
RecoveryExchangeAct$inboundSchema = nativeEnumType(RecoveryExchangeAct);
|
|
51017
|
+
RecoveryExchangeAct$outboundSchema = RecoveryExchangeAct$inboundSchema;
|
|
51018
|
+
RecoveryExchangeDataData$inboundSchema = objectType({
|
|
51019
|
+
recovery: boolean4(),
|
|
51020
|
+
act: RecoveryExchangeAct$inboundSchema,
|
|
51021
|
+
action: string4(),
|
|
51022
|
+
handle: string4(),
|
|
51023
|
+
recovery_id: string4(),
|
|
51024
|
+
recovered_at: date4()
|
|
51025
|
+
}).transform((v) => {
|
|
51026
|
+
return remap(v, {
|
|
51027
|
+
recovery_id: "recoveryId",
|
|
51028
|
+
recovered_at: "recoveredAt"
|
|
51029
|
+
});
|
|
51030
|
+
});
|
|
51031
|
+
RecoveryExchangeDataData$outboundSchema = objectType({
|
|
51032
|
+
recovery: booleanType(),
|
|
51033
|
+
act: RecoveryExchangeAct$outboundSchema,
|
|
51034
|
+
action: stringType(),
|
|
51035
|
+
handle: stringType(),
|
|
51036
|
+
recoveryId: stringType(),
|
|
51037
|
+
recoveredAt: dateType().transform((v) => v.toISOString())
|
|
51038
|
+
}).transform((v) => {
|
|
51039
|
+
return remap(v, {
|
|
51040
|
+
recoveryId: "recovery_id",
|
|
51041
|
+
recoveredAt: "recovered_at"
|
|
51042
|
+
});
|
|
51043
|
+
});
|
|
51044
|
+
RecoveryExchangeData$inboundSchema = objectType({
|
|
51045
|
+
data: optional3(lazyType(() => RecoveryExchangeDataData$inboundSchema)),
|
|
51046
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
51047
|
+
});
|
|
51048
|
+
RecoveryExchangeData$outboundSchema = objectType({
|
|
51049
|
+
data: lazyType(() => RecoveryExchangeDataData$outboundSchema).optional(),
|
|
51050
|
+
error: ErrorBody$outboundSchema.optional()
|
|
51051
|
+
});
|
|
51052
|
+
RecoveryExchangeResponse$inboundSchema = objectType({
|
|
51053
|
+
data: lazyType(() => RecoveryExchangeData$inboundSchema)
|
|
51054
|
+
});
|
|
51055
|
+
RecoveryExchangeResponse$outboundSchema = objectType({
|
|
51056
|
+
data: lazyType(() => RecoveryExchangeData$outboundSchema)
|
|
51057
|
+
});
|
|
51058
|
+
});
|
|
51059
|
+
|
|
51060
|
+
// src/models/operations/recovery-other-route.ts
|
|
51061
|
+
var RecoveryOtherRouteSecurity$inboundSchema, RecoveryOtherRouteSecurity$outboundSchema, RecoveryOtherRouteRequest$inboundSchema, RecoveryOtherRouteRequest$outboundSchema, RecoveryOtherRouteDataData$inboundSchema, RecoveryOtherRouteDataData$outboundSchema, RecoveryOtherRouteData$inboundSchema, RecoveryOtherRouteData$outboundSchema, RecoveryOtherRouteResponse$inboundSchema, RecoveryOtherRouteResponse$outboundSchema;
|
|
51062
|
+
var init_recovery_other_route = __esm(() => {
|
|
51063
|
+
init_v3();
|
|
51064
|
+
init_primitives();
|
|
51065
|
+
init_primitives2();
|
|
51066
|
+
init_models();
|
|
51067
|
+
RecoveryOtherRouteSecurity$inboundSchema = objectType({
|
|
51068
|
+
ApiKeyAuth: string4()
|
|
51069
|
+
}).transform((v) => {
|
|
51070
|
+
return remap(v, {
|
|
51071
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
51072
|
+
});
|
|
51073
|
+
});
|
|
51074
|
+
RecoveryOtherRouteSecurity$outboundSchema = objectType({
|
|
51075
|
+
apiKeyAuth: stringType()
|
|
51076
|
+
}).transform((v) => {
|
|
51077
|
+
return remap(v, {
|
|
51078
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51079
|
+
});
|
|
51080
|
+
});
|
|
51081
|
+
RecoveryOtherRouteRequest$inboundSchema = objectType({
|
|
51082
|
+
handle: string4()
|
|
51083
|
+
});
|
|
51084
|
+
RecoveryOtherRouteRequest$outboundSchema = objectType({
|
|
51085
|
+
handle: stringType()
|
|
51086
|
+
});
|
|
51087
|
+
RecoveryOtherRouteDataData$inboundSchema = objectType({
|
|
51088
|
+
received: boolean4(),
|
|
51089
|
+
works_from: date4()
|
|
51090
|
+
}).transform((v) => {
|
|
51091
|
+
return remap(v, {
|
|
51092
|
+
works_from: "worksFrom"
|
|
51093
|
+
});
|
|
51094
|
+
});
|
|
51095
|
+
RecoveryOtherRouteDataData$outboundSchema = objectType({
|
|
51096
|
+
received: booleanType(),
|
|
51097
|
+
worksFrom: dateType().transform((v) => v.toISOString())
|
|
51098
|
+
}).transform((v) => {
|
|
51099
|
+
return remap(v, {
|
|
51100
|
+
worksFrom: "works_from"
|
|
51101
|
+
});
|
|
51102
|
+
});
|
|
51103
|
+
RecoveryOtherRouteData$inboundSchema = objectType({
|
|
51104
|
+
data: optional3(lazyType(() => RecoveryOtherRouteDataData$inboundSchema)),
|
|
51105
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
51106
|
+
});
|
|
51107
|
+
RecoveryOtherRouteData$outboundSchema = objectType({
|
|
51108
|
+
data: lazyType(() => RecoveryOtherRouteDataData$outboundSchema).optional(),
|
|
51109
|
+
error: ErrorBody$outboundSchema.optional()
|
|
51110
|
+
});
|
|
51111
|
+
RecoveryOtherRouteResponse$inboundSchema = objectType({
|
|
51112
|
+
data: lazyType(() => RecoveryOtherRouteData$inboundSchema)
|
|
51113
|
+
});
|
|
51114
|
+
RecoveryOtherRouteResponse$outboundSchema = objectType({
|
|
51115
|
+
data: lazyType(() => RecoveryOtherRouteData$outboundSchema)
|
|
51116
|
+
});
|
|
51117
|
+
});
|
|
51118
|
+
|
|
50675
51119
|
// src/models/operations/request-passkey-complete.ts
|
|
50676
51120
|
var RequestPasskeyCompleteOutcome, RequestPasskeyCompleteRequest$inboundSchema, RequestPasskeyCompleteRequest$outboundSchema, RequestPasskeyCompleteOutcome$inboundSchema, RequestPasskeyCompleteOutcome$outboundSchema, RequestPasskeyCompleteDataData$inboundSchema, RequestPasskeyCompleteDataData$outboundSchema, RequestPasskeyCompleteData$inboundSchema, RequestPasskeyCompleteData$outboundSchema, RequestPasskeyCompleteResponse$inboundSchema, RequestPasskeyCompleteResponse$outboundSchema;
|
|
50677
51121
|
var init_request_passkey_complete = __esm(() => {
|
|
@@ -50828,6 +51272,113 @@ var init_request_passkey_options = __esm(() => {
|
|
|
50828
51272
|
});
|
|
50829
51273
|
});
|
|
50830
51274
|
|
|
51275
|
+
// src/models/operations/sdk-confirm-link.ts
|
|
51276
|
+
var SDKConfirmLinkState, SDKConfirmLinkSecurity$inboundSchema, SDKConfirmLinkSecurity$outboundSchema, SDKConfirmLinkRequest$inboundSchema, SDKConfirmLinkRequest$outboundSchema, SDKConfirmLinkState$inboundSchema, SDKConfirmLinkState$outboundSchema, SDKConfirmLinkDataData$inboundSchema, SDKConfirmLinkDataData$outboundSchema, SDKConfirmLinkError$inboundSchema, SDKConfirmLinkError$outboundSchema, SDKConfirmLinkData$inboundSchema, SDKConfirmLinkData$outboundSchema, SDKConfirmLinkResponse$inboundSchema, SDKConfirmLinkResponse$outboundSchema;
|
|
51277
|
+
var init_sdk_confirm_link = __esm(() => {
|
|
51278
|
+
init_v3();
|
|
51279
|
+
init_primitives();
|
|
51280
|
+
init_primitives2();
|
|
51281
|
+
SDKConfirmLinkState = {
|
|
51282
|
+
Live: "live"
|
|
51283
|
+
};
|
|
51284
|
+
SDKConfirmLinkSecurity$inboundSchema = objectType({
|
|
51285
|
+
ApiKeyAuth: string4()
|
|
51286
|
+
}).transform((v) => {
|
|
51287
|
+
return remap(v, {
|
|
51288
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
51289
|
+
});
|
|
51290
|
+
});
|
|
51291
|
+
SDKConfirmLinkSecurity$outboundSchema = objectType({
|
|
51292
|
+
apiKeyAuth: stringType()
|
|
51293
|
+
}).transform((v) => {
|
|
51294
|
+
return remap(v, {
|
|
51295
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51296
|
+
});
|
|
51297
|
+
});
|
|
51298
|
+
SDKConfirmLinkRequest$inboundSchema = objectType({
|
|
51299
|
+
request_id: string4(),
|
|
51300
|
+
partner_user_ref: optional3(string4()),
|
|
51301
|
+
partner_user_id: optional3(string4())
|
|
51302
|
+
}).transform((v) => {
|
|
51303
|
+
return remap(v, {
|
|
51304
|
+
request_id: "requestId",
|
|
51305
|
+
partner_user_ref: "partnerUserRef",
|
|
51306
|
+
partner_user_id: "partnerUserId"
|
|
51307
|
+
});
|
|
51308
|
+
});
|
|
51309
|
+
SDKConfirmLinkRequest$outboundSchema = objectType({
|
|
51310
|
+
requestId: stringType(),
|
|
51311
|
+
partnerUserRef: stringType().optional(),
|
|
51312
|
+
partnerUserId: stringType().optional()
|
|
51313
|
+
}).transform((v) => {
|
|
51314
|
+
return remap(v, {
|
|
51315
|
+
requestId: "request_id",
|
|
51316
|
+
partnerUserRef: "partner_user_ref",
|
|
51317
|
+
partnerUserId: "partner_user_id"
|
|
51318
|
+
});
|
|
51319
|
+
});
|
|
51320
|
+
SDKConfirmLinkState$inboundSchema = nativeEnumType(SDKConfirmLinkState);
|
|
51321
|
+
SDKConfirmLinkState$outboundSchema = SDKConfirmLinkState$inboundSchema;
|
|
51322
|
+
SDKConfirmLinkDataData$inboundSchema = objectType({
|
|
51323
|
+
linked: optional3(boolean4()),
|
|
51324
|
+
state: optional3(SDKConfirmLinkState$inboundSchema),
|
|
51325
|
+
first_time: optional3(boolean4()),
|
|
51326
|
+
request_id: optional3(string4()),
|
|
51327
|
+
handle: optional3(string4()),
|
|
51328
|
+
trusted: optional3(boolean4()),
|
|
51329
|
+
trusted_since: optional3(date4()),
|
|
51330
|
+
verification_token: optional3(string4())
|
|
51331
|
+
}).transform((v) => {
|
|
51332
|
+
return remap(v, {
|
|
51333
|
+
first_time: "firstTime",
|
|
51334
|
+
request_id: "requestId",
|
|
51335
|
+
trusted_since: "trustedSince",
|
|
51336
|
+
verification_token: "verificationToken"
|
|
51337
|
+
});
|
|
51338
|
+
});
|
|
51339
|
+
SDKConfirmLinkDataData$outboundSchema = objectType({
|
|
51340
|
+
linked: booleanType().optional(),
|
|
51341
|
+
state: SDKConfirmLinkState$outboundSchema.optional(),
|
|
51342
|
+
firstTime: booleanType().optional(),
|
|
51343
|
+
requestId: stringType().optional(),
|
|
51344
|
+
handle: stringType().optional(),
|
|
51345
|
+
trusted: booleanType().optional(),
|
|
51346
|
+
trustedSince: dateType().transform((v) => v.toISOString()).optional(),
|
|
51347
|
+
verificationToken: stringType().optional()
|
|
51348
|
+
}).transform((v) => {
|
|
51349
|
+
return remap(v, {
|
|
51350
|
+
firstTime: "first_time",
|
|
51351
|
+
requestId: "request_id",
|
|
51352
|
+
trustedSince: "trusted_since",
|
|
51353
|
+
verificationToken: "verification_token"
|
|
51354
|
+
});
|
|
51355
|
+
});
|
|
51356
|
+
SDKConfirmLinkError$inboundSchema = objectType({
|
|
51357
|
+
code: optional3(string4()),
|
|
51358
|
+
message: optional3(string4()),
|
|
51359
|
+
statusCode: optional3(number4())
|
|
51360
|
+
});
|
|
51361
|
+
SDKConfirmLinkError$outboundSchema = objectType({
|
|
51362
|
+
code: stringType().optional(),
|
|
51363
|
+
message: stringType().optional(),
|
|
51364
|
+
statusCode: numberType().int().optional()
|
|
51365
|
+
});
|
|
51366
|
+
SDKConfirmLinkData$inboundSchema = objectType({
|
|
51367
|
+
data: optional3(lazyType(() => SDKConfirmLinkDataData$inboundSchema)),
|
|
51368
|
+
error: optional3(lazyType(() => SDKConfirmLinkError$inboundSchema))
|
|
51369
|
+
});
|
|
51370
|
+
SDKConfirmLinkData$outboundSchema = objectType({
|
|
51371
|
+
data: lazyType(() => SDKConfirmLinkDataData$outboundSchema).optional(),
|
|
51372
|
+
error: lazyType(() => SDKConfirmLinkError$outboundSchema).optional()
|
|
51373
|
+
});
|
|
51374
|
+
SDKConfirmLinkResponse$inboundSchema = objectType({
|
|
51375
|
+
data: optional3(lazyType(() => SDKConfirmLinkData$inboundSchema))
|
|
51376
|
+
});
|
|
51377
|
+
SDKConfirmLinkResponse$outboundSchema = objectType({
|
|
51378
|
+
data: lazyType(() => SDKConfirmLinkData$outboundSchema).optional()
|
|
51379
|
+
});
|
|
51380
|
+
});
|
|
51381
|
+
|
|
50831
51382
|
// src/models/operations/sdk-create-session.ts
|
|
50832
51383
|
var SDKCreateSessionEnvironment, SDKCreateSessionNotarizeFallbackReason, SDKCreateSessionSecurity$inboundSchema, SDKCreateSessionSecurity$outboundSchema, SDKCreateSessionRequest$inboundSchema, SDKCreateSessionRequest$outboundSchema, SDKCreateSessionEnvironment$inboundSchema, SDKCreateSessionEnvironment$outboundSchema, SDKCreateSessionOrganization$inboundSchema, SDKCreateSessionOrganization$outboundSchema, SDKCreateSessionNotarizeFallbackReason$inboundSchema, SDKCreateSessionNotarizeFallbackReason$outboundSchema, DataNotarizeRequiresUserRef$inboundSchema, DataNotarizeRequiresUserRef$outboundSchema, SDKCreateSessionData$inboundSchema, SDKCreateSessionData$outboundSchema, SDKCreateSessionResponse$inboundSchema, SDKCreateSessionResponse$outboundSchema;
|
|
50833
51384
|
var init_sdk_create_session = __esm(() => {
|
|
@@ -50948,7 +51499,7 @@ var init_sdk_create_session = __esm(() => {
|
|
|
50948
51499
|
});
|
|
50949
51500
|
|
|
50950
51501
|
// src/models/operations/sdk-create-verification-link.ts
|
|
50951
|
-
var SDKTypeRequest, Mode, SDKCreateVerificationLinkSDKTypeResponse, AuthMode, SDKCreateVerificationLinkGateType, SDKCreateVerificationLinkAgeThreshold, SDKCreateVerificationLinkNotarizeFallbackReason, SDKCreateVerificationLinkSecurity$inboundSchema, SDKCreateVerificationLinkSecurity$outboundSchema, SDKTypeRequest$inboundSchema, SDKTypeRequest$outboundSchema, Mode$inboundSchema, Mode$outboundSchema, SDKCreateVerificationLinkRequest$inboundSchema, SDKCreateVerificationLinkRequest$outboundSchema, SDKCreateVerificationLinkSDKTypeResponse$inboundSchema, SDKCreateVerificationLinkSDKTypeResponse$outboundSchema, AuthMode$inboundSchema, AuthMode$outboundSchema, SDKCreateVerificationLinkOrganization$inboundSchema, SDKCreateVerificationLinkOrganization$outboundSchema, SDKCreateVerificationLinkGateType$inboundSchema, SDKCreateVerificationLinkGateType$outboundSchema, SDKCreateVerificationLinkAgeThreshold$inboundSchema, SDKCreateVerificationLinkAgeThreshold$outboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema, SDKCreateVerificationLinkDataData$inboundSchema, SDKCreateVerificationLinkDataData$outboundSchema, SDKCreateVerificationLinkData$inboundSchema, SDKCreateVerificationLinkData$outboundSchema, SDKCreateVerificationLinkResponse$inboundSchema, SDKCreateVerificationLinkResponse$outboundSchema;
|
|
51502
|
+
var SDKTypeRequest, Mode, SDKCreateVerificationLinkSDKTypeResponse, AuthMode, Delivery, PushSkipped, SDKCreateVerificationLinkGateType, SDKCreateVerificationLinkAgeThreshold, SDKCreateVerificationLinkNotarizeFallbackReason, SDKCreateVerificationLinkSecurity$inboundSchema, SDKCreateVerificationLinkSecurity$outboundSchema, SDKTypeRequest$inboundSchema, SDKTypeRequest$outboundSchema, Mode$inboundSchema, Mode$outboundSchema, SDKCreateVerificationLinkRequest$inboundSchema, SDKCreateVerificationLinkRequest$outboundSchema, SDKCreateVerificationLinkSDKTypeResponse$inboundSchema, SDKCreateVerificationLinkSDKTypeResponse$outboundSchema, AuthMode$inboundSchema, AuthMode$outboundSchema, SDKCreateVerificationLinkOrganization$inboundSchema, SDKCreateVerificationLinkOrganization$outboundSchema, Delivery$inboundSchema, Delivery$outboundSchema, PushSkipped$inboundSchema, PushSkipped$outboundSchema, SDKCreateVerificationLinkGateType$inboundSchema, SDKCreateVerificationLinkGateType$outboundSchema, SDKCreateVerificationLinkAgeThreshold$inboundSchema, SDKCreateVerificationLinkAgeThreshold$outboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema, SDKCreateVerificationLinkDataData$inboundSchema, SDKCreateVerificationLinkDataData$outboundSchema, SDKCreateVerificationLinkData$inboundSchema, SDKCreateVerificationLinkData$outboundSchema, SDKCreateVerificationLinkResponse$inboundSchema, SDKCreateVerificationLinkResponse$outboundSchema;
|
|
50952
51503
|
var init_sdk_create_verification_link = __esm(() => {
|
|
50953
51504
|
init_v3();
|
|
50954
51505
|
init_primitives();
|
|
@@ -50971,6 +51522,15 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
50971
51522
|
LinkedAccount: "linked-account",
|
|
50972
51523
|
Private: "private"
|
|
50973
51524
|
};
|
|
51525
|
+
Delivery = {
|
|
51526
|
+
Pushed: "pushed",
|
|
51527
|
+
NotDelivered: "not_delivered",
|
|
51528
|
+
NotLinked: "not_linked"
|
|
51529
|
+
};
|
|
51530
|
+
PushSkipped = {
|
|
51531
|
+
DailyCap: "daily_cap",
|
|
51532
|
+
Unavailable: "unavailable"
|
|
51533
|
+
};
|
|
50974
51534
|
SDKCreateVerificationLinkGateType = {
|
|
50975
51535
|
Human: "human",
|
|
50976
51536
|
Age: "age"
|
|
@@ -51071,6 +51631,10 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51071
51631
|
SDKCreateVerificationLinkOrganization$outboundSchema = objectType({
|
|
51072
51632
|
id: stringType().optional()
|
|
51073
51633
|
});
|
|
51634
|
+
Delivery$inboundSchema = inboundSchema(Delivery);
|
|
51635
|
+
Delivery$outboundSchema = outboundSchema(Delivery);
|
|
51636
|
+
PushSkipped$inboundSchema = inboundSchema(PushSkipped);
|
|
51637
|
+
PushSkipped$outboundSchema = outboundSchema(PushSkipped);
|
|
51074
51638
|
SDKCreateVerificationLinkGateType$inboundSchema = inboundSchema(SDKCreateVerificationLinkGateType);
|
|
51075
51639
|
SDKCreateVerificationLinkGateType$outboundSchema = outboundSchema(SDKCreateVerificationLinkGateType);
|
|
51076
51640
|
SDKCreateVerificationLinkAgeThreshold$inboundSchema = inboundSchemaInt(SDKCreateVerificationLinkAgeThreshold);
|
|
@@ -51079,6 +51643,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51079
51643
|
SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema = outboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
|
|
51080
51644
|
SDKCreateVerificationLinkDataData$inboundSchema = objectType({
|
|
51081
51645
|
request_id: string4(),
|
|
51646
|
+
read_secret: optional3(string4()),
|
|
51082
51647
|
deep_link: string4(),
|
|
51083
51648
|
web_url: string4(),
|
|
51084
51649
|
qr_code_url: string4(),
|
|
@@ -51088,6 +51653,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51088
51653
|
scope: optional3(string4()),
|
|
51089
51654
|
organization: optional3(lazyType(() => SDKCreateVerificationLinkOrganization$inboundSchema)),
|
|
51090
51655
|
pushed_to_devices: number4(),
|
|
51656
|
+
delivery: optional3(Delivery$inboundSchema),
|
|
51657
|
+
push_skipped: optional3(PushSkipped$inboundSchema),
|
|
51091
51658
|
gate_type: optional3(SDKCreateVerificationLinkGateType$inboundSchema),
|
|
51092
51659
|
age_threshold: optional3(SDKCreateVerificationLinkAgeThreshold$inboundSchema),
|
|
51093
51660
|
trusted: optional3(boolean4()),
|
|
@@ -51097,6 +51664,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51097
51664
|
}).transform((v) => {
|
|
51098
51665
|
return remap(v, {
|
|
51099
51666
|
request_id: "requestId",
|
|
51667
|
+
read_secret: "readSecret",
|
|
51100
51668
|
deep_link: "deepLink",
|
|
51101
51669
|
web_url: "webUrl",
|
|
51102
51670
|
qr_code_url: "qrCodeUrl",
|
|
@@ -51104,6 +51672,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51104
51672
|
sdk_type: "sdkType",
|
|
51105
51673
|
auth_mode: "authMode",
|
|
51106
51674
|
pushed_to_devices: "pushedToDevices",
|
|
51675
|
+
push_skipped: "pushSkipped",
|
|
51107
51676
|
gate_type: "gateType",
|
|
51108
51677
|
age_threshold: "ageThreshold",
|
|
51109
51678
|
notarize_fallback_reason: "notarizeFallbackReason"
|
|
@@ -51111,6 +51680,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51111
51680
|
});
|
|
51112
51681
|
SDKCreateVerificationLinkDataData$outboundSchema = objectType({
|
|
51113
51682
|
requestId: stringType(),
|
|
51683
|
+
readSecret: stringType().optional(),
|
|
51114
51684
|
deepLink: stringType(),
|
|
51115
51685
|
webUrl: stringType(),
|
|
51116
51686
|
qrCodeUrl: stringType(),
|
|
@@ -51120,6 +51690,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51120
51690
|
scope: stringType().optional(),
|
|
51121
51691
|
organization: lazyType(() => SDKCreateVerificationLinkOrganization$outboundSchema).optional(),
|
|
51122
51692
|
pushedToDevices: numberType().int(),
|
|
51693
|
+
delivery: Delivery$outboundSchema.optional(),
|
|
51694
|
+
pushSkipped: PushSkipped$outboundSchema.optional(),
|
|
51123
51695
|
gateType: SDKCreateVerificationLinkGateType$outboundSchema.optional(),
|
|
51124
51696
|
ageThreshold: SDKCreateVerificationLinkAgeThreshold$outboundSchema.optional(),
|
|
51125
51697
|
trusted: booleanType().optional(),
|
|
@@ -51129,6 +51701,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51129
51701
|
}).transform((v) => {
|
|
51130
51702
|
return remap(v, {
|
|
51131
51703
|
requestId: "request_id",
|
|
51704
|
+
readSecret: "read_secret",
|
|
51132
51705
|
deepLink: "deep_link",
|
|
51133
51706
|
webUrl: "web_url",
|
|
51134
51707
|
qrCodeUrl: "qr_code_url",
|
|
@@ -51136,6 +51709,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51136
51709
|
sdkType: "sdk_type",
|
|
51137
51710
|
authMode: "auth_mode",
|
|
51138
51711
|
pushedToDevices: "pushed_to_devices",
|
|
51712
|
+
pushSkipped: "push_skipped",
|
|
51139
51713
|
gateType: "gate_type",
|
|
51140
51714
|
ageThreshold: "age_threshold",
|
|
51141
51715
|
notarizeFallbackReason: "notarize_fallback_reason"
|
|
@@ -51397,6 +51971,111 @@ var init_sdk_revoke_verification = __esm(() => {
|
|
|
51397
51971
|
});
|
|
51398
51972
|
});
|
|
51399
51973
|
|
|
51974
|
+
// src/models/operations/sdk-send-by-number.ts
|
|
51975
|
+
var SDKSendByNumberStatus, SDKSendByNumberSecurity$inboundSchema, SDKSendByNumberSecurity$outboundSchema, SDKSendByNumberRequest$inboundSchema, SDKSendByNumberRequest$outboundSchema, SDKSendByNumberStatus$inboundSchema, SDKSendByNumberStatus$outboundSchema, SDKSendByNumberDataData$inboundSchema, SDKSendByNumberDataData$outboundSchema, SDKSendByNumberError$inboundSchema, SDKSendByNumberError$outboundSchema, SDKSendByNumberData$inboundSchema, SDKSendByNumberData$outboundSchema, SDKSendByNumberResponse$inboundSchema, SDKSendByNumberResponse$outboundSchema;
|
|
51976
|
+
var init_sdk_send_by_number = __esm(() => {
|
|
51977
|
+
init_v3();
|
|
51978
|
+
init_primitives();
|
|
51979
|
+
init_primitives2();
|
|
51980
|
+
SDKSendByNumberStatus = {
|
|
51981
|
+
Sent: "sent"
|
|
51982
|
+
};
|
|
51983
|
+
SDKSendByNumberSecurity$inboundSchema = objectType({
|
|
51984
|
+
ApiKeyAuth: string4()
|
|
51985
|
+
}).transform((v) => {
|
|
51986
|
+
return remap(v, {
|
|
51987
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
51988
|
+
});
|
|
51989
|
+
});
|
|
51990
|
+
SDKSendByNumberSecurity$outboundSchema = objectType({
|
|
51991
|
+
apiKeyAuth: stringType()
|
|
51992
|
+
}).transform((v) => {
|
|
51993
|
+
return remap(v, {
|
|
51994
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51995
|
+
});
|
|
51996
|
+
});
|
|
51997
|
+
SDKSendByNumberRequest$inboundSchema = objectType({
|
|
51998
|
+
phone_number: string4(),
|
|
51999
|
+
act: string4(),
|
|
52000
|
+
act_label: optional3(string4())
|
|
52001
|
+
}).transform((v) => {
|
|
52002
|
+
return remap(v, {
|
|
52003
|
+
phone_number: "phoneNumber",
|
|
52004
|
+
act_label: "actLabel"
|
|
52005
|
+
});
|
|
52006
|
+
});
|
|
52007
|
+
SDKSendByNumberRequest$outboundSchema = objectType({
|
|
52008
|
+
phoneNumber: stringType(),
|
|
52009
|
+
act: stringType(),
|
|
52010
|
+
actLabel: stringType().optional()
|
|
52011
|
+
}).transform((v) => {
|
|
52012
|
+
return remap(v, {
|
|
52013
|
+
phoneNumber: "phone_number",
|
|
52014
|
+
actLabel: "act_label"
|
|
52015
|
+
});
|
|
52016
|
+
});
|
|
52017
|
+
SDKSendByNumberStatus$inboundSchema = nativeEnumType(SDKSendByNumberStatus);
|
|
52018
|
+
SDKSendByNumberStatus$outboundSchema = SDKSendByNumberStatus$inboundSchema;
|
|
52019
|
+
SDKSendByNumberDataData$inboundSchema = objectType({
|
|
52020
|
+
status: optional3(SDKSendByNumberStatus$inboundSchema),
|
|
52021
|
+
request_id: optional3(string4()),
|
|
52022
|
+
expires_at: optional3(date4()),
|
|
52023
|
+
match_number: optional3(number4())
|
|
52024
|
+
}).transform((v) => {
|
|
52025
|
+
return remap(v, {
|
|
52026
|
+
request_id: "requestId",
|
|
52027
|
+
expires_at: "expiresAt",
|
|
52028
|
+
match_number: "matchNumber"
|
|
52029
|
+
});
|
|
52030
|
+
});
|
|
52031
|
+
SDKSendByNumberDataData$outboundSchema = objectType({
|
|
52032
|
+
status: SDKSendByNumberStatus$outboundSchema.optional(),
|
|
52033
|
+
requestId: stringType().optional(),
|
|
52034
|
+
expiresAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
52035
|
+
matchNumber: numberType().int().optional()
|
|
52036
|
+
}).transform((v) => {
|
|
52037
|
+
return remap(v, {
|
|
52038
|
+
requestId: "request_id",
|
|
52039
|
+
expiresAt: "expires_at",
|
|
52040
|
+
matchNumber: "match_number"
|
|
52041
|
+
});
|
|
52042
|
+
});
|
|
52043
|
+
SDKSendByNumberError$inboundSchema = objectType({
|
|
52044
|
+
code: optional3(string4()),
|
|
52045
|
+
message: optional3(string4()),
|
|
52046
|
+
statusCode: optional3(number4()),
|
|
52047
|
+
retry_after_seconds: optional3(number4())
|
|
52048
|
+
}).transform((v) => {
|
|
52049
|
+
return remap(v, {
|
|
52050
|
+
retry_after_seconds: "retryAfterSeconds"
|
|
52051
|
+
});
|
|
52052
|
+
});
|
|
52053
|
+
SDKSendByNumberError$outboundSchema = objectType({
|
|
52054
|
+
code: stringType().optional(),
|
|
52055
|
+
message: stringType().optional(),
|
|
52056
|
+
statusCode: numberType().int().optional(),
|
|
52057
|
+
retryAfterSeconds: numberType().int().optional()
|
|
52058
|
+
}).transform((v) => {
|
|
52059
|
+
return remap(v, {
|
|
52060
|
+
retryAfterSeconds: "retry_after_seconds"
|
|
52061
|
+
});
|
|
52062
|
+
});
|
|
52063
|
+
SDKSendByNumberData$inboundSchema = objectType({
|
|
52064
|
+
data: optional3(lazyType(() => SDKSendByNumberDataData$inboundSchema)),
|
|
52065
|
+
error: optional3(lazyType(() => SDKSendByNumberError$inboundSchema))
|
|
52066
|
+
});
|
|
52067
|
+
SDKSendByNumberData$outboundSchema = objectType({
|
|
52068
|
+
data: lazyType(() => SDKSendByNumberDataData$outboundSchema).optional(),
|
|
52069
|
+
error: lazyType(() => SDKSendByNumberError$outboundSchema).optional()
|
|
52070
|
+
});
|
|
52071
|
+
SDKSendByNumberResponse$inboundSchema = objectType({
|
|
52072
|
+
data: optional3(lazyType(() => SDKSendByNumberData$inboundSchema))
|
|
52073
|
+
});
|
|
52074
|
+
SDKSendByNumberResponse$outboundSchema = objectType({
|
|
52075
|
+
data: lazyType(() => SDKSendByNumberData$outboundSchema).optional()
|
|
52076
|
+
});
|
|
52077
|
+
});
|
|
52078
|
+
|
|
51400
52079
|
// src/models/operations/sdk-store-signal.ts
|
|
51401
52080
|
var SDKStoreSignalRequest$inboundSchema, SDKStoreSignalRequest$outboundSchema, SDKStoreSignalDataData$inboundSchema, SDKStoreSignalDataData$outboundSchema, SDKStoreSignalData$inboundSchema, SDKStoreSignalData$outboundSchema, SDKStoreSignalResponse$inboundSchema, SDKStoreSignalResponse$outboundSchema;
|
|
51402
52081
|
var init_sdk_store_signal = __esm(() => {
|
|
@@ -51559,8 +52238,102 @@ var init_sdk_validate_signal = __esm(() => {
|
|
|
51559
52238
|
});
|
|
51560
52239
|
});
|
|
51561
52240
|
|
|
52241
|
+
// src/models/operations/sdk-verify-resolution.ts
|
|
52242
|
+
var SDKVerifyResolutionVerdict, SDKVerifyResolutionSecurity$inboundSchema, SDKVerifyResolutionSecurity$outboundSchema, SDKVerifyResolutionRequest$inboundSchema, SDKVerifyResolutionRequest$outboundSchema, SDKVerifyResolutionVerdict$inboundSchema, SDKVerifyResolutionVerdict$outboundSchema, SDKVerifyResolutionDataData$inboundSchema, SDKVerifyResolutionDataData$outboundSchema, SDKVerifyResolutionData$inboundSchema, SDKVerifyResolutionData$outboundSchema, SDKVerifyResolutionResponse$inboundSchema, SDKVerifyResolutionResponse$outboundSchema;
|
|
52243
|
+
var init_sdk_verify_resolution = __esm(() => {
|
|
52244
|
+
init_v3();
|
|
52245
|
+
init_primitives();
|
|
52246
|
+
init_primitives2();
|
|
52247
|
+
init_models();
|
|
52248
|
+
SDKVerifyResolutionVerdict = {
|
|
52249
|
+
Approve: "approve"
|
|
52250
|
+
};
|
|
52251
|
+
SDKVerifyResolutionSecurity$inboundSchema = objectType({
|
|
52252
|
+
AgentKeyAuth: optional3(string4()),
|
|
52253
|
+
ApiKeyAuth: optional3(string4())
|
|
52254
|
+
}).transform((v) => {
|
|
52255
|
+
return remap(v, {
|
|
52256
|
+
AgentKeyAuth: "agentKeyAuth",
|
|
52257
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
52258
|
+
});
|
|
52259
|
+
});
|
|
52260
|
+
SDKVerifyResolutionSecurity$outboundSchema = objectType({
|
|
52261
|
+
agentKeyAuth: stringType().optional(),
|
|
52262
|
+
apiKeyAuth: stringType().optional()
|
|
52263
|
+
}).transform((v) => {
|
|
52264
|
+
return remap(v, {
|
|
52265
|
+
agentKeyAuth: "AgentKeyAuth",
|
|
52266
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
52267
|
+
});
|
|
52268
|
+
});
|
|
52269
|
+
SDKVerifyResolutionRequest$inboundSchema = objectType({
|
|
52270
|
+
token: string4()
|
|
52271
|
+
});
|
|
52272
|
+
SDKVerifyResolutionRequest$outboundSchema = objectType({
|
|
52273
|
+
token: stringType()
|
|
52274
|
+
});
|
|
52275
|
+
SDKVerifyResolutionVerdict$inboundSchema = nativeEnumType(SDKVerifyResolutionVerdict);
|
|
52276
|
+
SDKVerifyResolutionVerdict$outboundSchema = SDKVerifyResolutionVerdict$inboundSchema;
|
|
52277
|
+
SDKVerifyResolutionDataData$inboundSchema = objectType({
|
|
52278
|
+
valid: boolean4(),
|
|
52279
|
+
replayed: optional3(boolean4()),
|
|
52280
|
+
reason: optional3(string4()),
|
|
52281
|
+
request_id: optional3(string4()),
|
|
52282
|
+
verdict: optional3(SDKVerifyResolutionVerdict$inboundSchema),
|
|
52283
|
+
action: optional3(recordType(anyType())),
|
|
52284
|
+
agent_id: optional3(string4()),
|
|
52285
|
+
approved_at: optional3(date4()),
|
|
52286
|
+
expires_at: optional3(date4()),
|
|
52287
|
+
ceremony_id: nullableType(string4()).optional(),
|
|
52288
|
+
method: nullableType(string4()).optional()
|
|
52289
|
+
}).transform((v) => {
|
|
52290
|
+
return remap(v, {
|
|
52291
|
+
request_id: "requestId",
|
|
52292
|
+
agent_id: "agentId",
|
|
52293
|
+
approved_at: "approvedAt",
|
|
52294
|
+
expires_at: "expiresAt",
|
|
52295
|
+
ceremony_id: "ceremonyId"
|
|
52296
|
+
});
|
|
52297
|
+
});
|
|
52298
|
+
SDKVerifyResolutionDataData$outboundSchema = objectType({
|
|
52299
|
+
valid: booleanType(),
|
|
52300
|
+
replayed: booleanType().optional(),
|
|
52301
|
+
reason: stringType().optional(),
|
|
52302
|
+
requestId: stringType().optional(),
|
|
52303
|
+
verdict: SDKVerifyResolutionVerdict$outboundSchema.optional(),
|
|
52304
|
+
action: recordType(anyType()).optional(),
|
|
52305
|
+
agentId: stringType().optional(),
|
|
52306
|
+
approvedAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
52307
|
+
expiresAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
52308
|
+
ceremonyId: nullableType(stringType()).optional(),
|
|
52309
|
+
method: nullableType(stringType()).optional()
|
|
52310
|
+
}).transform((v) => {
|
|
52311
|
+
return remap(v, {
|
|
52312
|
+
requestId: "request_id",
|
|
52313
|
+
agentId: "agent_id",
|
|
52314
|
+
approvedAt: "approved_at",
|
|
52315
|
+
expiresAt: "expires_at",
|
|
52316
|
+
ceremonyId: "ceremony_id"
|
|
52317
|
+
});
|
|
52318
|
+
});
|
|
52319
|
+
SDKVerifyResolutionData$inboundSchema = objectType({
|
|
52320
|
+
data: optional3(lazyType(() => SDKVerifyResolutionDataData$inboundSchema)),
|
|
52321
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
52322
|
+
});
|
|
52323
|
+
SDKVerifyResolutionData$outboundSchema = objectType({
|
|
52324
|
+
data: lazyType(() => SDKVerifyResolutionDataData$outboundSchema).optional(),
|
|
52325
|
+
error: GatesApiError$outboundSchema.optional()
|
|
52326
|
+
});
|
|
52327
|
+
SDKVerifyResolutionResponse$inboundSchema = objectType({
|
|
52328
|
+
data: lazyType(() => SDKVerifyResolutionData$inboundSchema)
|
|
52329
|
+
});
|
|
52330
|
+
SDKVerifyResolutionResponse$outboundSchema = objectType({
|
|
52331
|
+
data: lazyType(() => SDKVerifyResolutionData$outboundSchema)
|
|
52332
|
+
});
|
|
52333
|
+
});
|
|
52334
|
+
|
|
51562
52335
|
// src/models/operations/sdk-verify-token.ts
|
|
51563
|
-
var AgeOver, SDKVerifyTokenVerdict, SDKVerifyTokenSecurity$inboundSchema, SDKVerifyTokenSecurity$outboundSchema, SDKVerifyTokenRequest$inboundSchema, SDKVerifyTokenRequest$outboundSchema, AgeOver$inboundSchema, AgeOver$outboundSchema, Claims$inboundSchema, Claims$outboundSchema, SDKVerifyTokenVerdict$inboundSchema, SDKVerifyTokenVerdict$outboundSchema, SDKVerifyTokenDataData$inboundSchema, SDKVerifyTokenDataData$outboundSchema, SDKVerifyTokenData$inboundSchema, SDKVerifyTokenData$outboundSchema, SDKVerifyTokenResponse$inboundSchema, SDKVerifyTokenResponse$outboundSchema;
|
|
52336
|
+
var AgeOver, Kind, SDKVerifyTokenEnvironment, SDKVerifyTokenVerdict, SDKVerifyTokenState, SDKVerifyTokenSecurity$inboundSchema, SDKVerifyTokenSecurity$outboundSchema, SDKVerifyTokenRequest$inboundSchema, SDKVerifyTokenRequest$outboundSchema, AgeOver$inboundSchema, AgeOver$outboundSchema, Kind$inboundSchema, Kind$outboundSchema, SDKVerifyTokenEnvironment$inboundSchema, SDKVerifyTokenEnvironment$outboundSchema, Claims$inboundSchema, Claims$outboundSchema, SDKVerifyTokenVerdict$inboundSchema, SDKVerifyTokenVerdict$outboundSchema, SDKVerifyTokenState$inboundSchema, SDKVerifyTokenState$outboundSchema, SDKVerifyTokenLink$inboundSchema, SDKVerifyTokenLink$outboundSchema, SDKVerifyTokenDataData$inboundSchema, SDKVerifyTokenDataData$outboundSchema, SDKVerifyTokenData$inboundSchema, SDKVerifyTokenData$outboundSchema, SDKVerifyTokenResponse$inboundSchema, SDKVerifyTokenResponse$outboundSchema;
|
|
51564
52337
|
var init_sdk_verify_token = __esm(() => {
|
|
51565
52338
|
init_v3();
|
|
51566
52339
|
init_primitives();
|
|
@@ -51572,10 +52345,23 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51572
52345
|
Eighteen: 18,
|
|
51573
52346
|
TwentyOne: 21
|
|
51574
52347
|
};
|
|
52348
|
+
Kind = {
|
|
52349
|
+
Verification: "verification",
|
|
52350
|
+
Action: "action"
|
|
52351
|
+
};
|
|
52352
|
+
SDKVerifyTokenEnvironment = {
|
|
52353
|
+
Development: "development",
|
|
52354
|
+
Production: "production"
|
|
52355
|
+
};
|
|
51575
52356
|
SDKVerifyTokenVerdict = {
|
|
51576
52357
|
Pass: "pass",
|
|
51577
52358
|
Unavailable: "unavailable"
|
|
51578
52359
|
};
|
|
52360
|
+
SDKVerifyTokenState = {
|
|
52361
|
+
Pending: "pending",
|
|
52362
|
+
Live: "live",
|
|
52363
|
+
NotLive: "not_live"
|
|
52364
|
+
};
|
|
51579
52365
|
SDKVerifyTokenSecurity$inboundSchema = objectType({
|
|
51580
52366
|
apiKeyAuth: optional3(string4()),
|
|
51581
52367
|
apiKeyAuth1: optional3(string4())
|
|
@@ -51586,14 +52372,32 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51586
52372
|
});
|
|
51587
52373
|
SDKVerifyTokenRequest$inboundSchema = objectType({
|
|
51588
52374
|
token: string4(),
|
|
51589
|
-
audience: optional3(string4())
|
|
52375
|
+
audience: optional3(string4()),
|
|
52376
|
+
partner_user_ref: optional3(string4()),
|
|
52377
|
+
expected_request_id: optional3(string4())
|
|
52378
|
+
}).transform((v) => {
|
|
52379
|
+
return remap(v, {
|
|
52380
|
+
partner_user_ref: "partnerUserRef",
|
|
52381
|
+
expected_request_id: "expectedRequestId"
|
|
52382
|
+
});
|
|
51590
52383
|
});
|
|
51591
52384
|
SDKVerifyTokenRequest$outboundSchema = objectType({
|
|
51592
52385
|
token: stringType(),
|
|
51593
|
-
audience: stringType().optional()
|
|
52386
|
+
audience: stringType().optional(),
|
|
52387
|
+
partnerUserRef: stringType().optional(),
|
|
52388
|
+
expectedRequestId: stringType().optional()
|
|
52389
|
+
}).transform((v) => {
|
|
52390
|
+
return remap(v, {
|
|
52391
|
+
partnerUserRef: "partner_user_ref",
|
|
52392
|
+
expectedRequestId: "expected_request_id"
|
|
52393
|
+
});
|
|
51594
52394
|
});
|
|
51595
52395
|
AgeOver$inboundSchema = inboundSchemaInt(AgeOver);
|
|
51596
52396
|
AgeOver$outboundSchema = outboundSchemaInt(AgeOver);
|
|
52397
|
+
Kind$inboundSchema = inboundSchema(Kind);
|
|
52398
|
+
Kind$outboundSchema = outboundSchema(Kind);
|
|
52399
|
+
SDKVerifyTokenEnvironment$inboundSchema = inboundSchema(SDKVerifyTokenEnvironment);
|
|
52400
|
+
SDKVerifyTokenEnvironment$outboundSchema = outboundSchema(SDKVerifyTokenEnvironment);
|
|
51597
52401
|
Claims$inboundSchema = objectType({
|
|
51598
52402
|
request_id: optional3(string4()),
|
|
51599
52403
|
verified: optional3(boolean4()),
|
|
@@ -51607,7 +52411,11 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51607
52411
|
trusted_since: optional3(date4()),
|
|
51608
52412
|
last_pass_at: optional3(date4()),
|
|
51609
52413
|
audience: nullableType(string4()).optional(),
|
|
51610
|
-
act: optional3(string4())
|
|
52414
|
+
act: optional3(string4()),
|
|
52415
|
+
kind: nullableType(Kind$inboundSchema).optional(),
|
|
52416
|
+
environment: nullableType(SDKVerifyTokenEnvironment$inboundSchema).optional(),
|
|
52417
|
+
recovered_at: optional3(date4()),
|
|
52418
|
+
link_state: optional3(string4())
|
|
51611
52419
|
}).transform((v) => {
|
|
51612
52420
|
return remap(v, {
|
|
51613
52421
|
request_id: "requestId",
|
|
@@ -51616,7 +52424,9 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51616
52424
|
expires_at: "expiresAt",
|
|
51617
52425
|
age_over: "ageOver",
|
|
51618
52426
|
trusted_since: "trustedSince",
|
|
51619
|
-
last_pass_at: "lastPassAt"
|
|
52427
|
+
last_pass_at: "lastPassAt",
|
|
52428
|
+
recovered_at: "recoveredAt",
|
|
52429
|
+
link_state: "linkState"
|
|
51620
52430
|
});
|
|
51621
52431
|
});
|
|
51622
52432
|
Claims$outboundSchema = objectType({
|
|
@@ -51632,7 +52442,11 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51632
52442
|
trustedSince: dateType().transform((v) => v.toISOString()).optional(),
|
|
51633
52443
|
lastPassAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
51634
52444
|
audience: nullableType(stringType()).optional(),
|
|
51635
|
-
act: stringType().optional()
|
|
52445
|
+
act: stringType().optional(),
|
|
52446
|
+
kind: nullableType(Kind$outboundSchema).optional(),
|
|
52447
|
+
environment: nullableType(SDKVerifyTokenEnvironment$outboundSchema).optional(),
|
|
52448
|
+
recoveredAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
52449
|
+
linkState: stringType().optional()
|
|
51636
52450
|
}).transform((v) => {
|
|
51637
52451
|
return remap(v, {
|
|
51638
52452
|
requestId: "request_id",
|
|
@@ -51641,18 +52455,48 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51641
52455
|
expiresAt: "expires_at",
|
|
51642
52456
|
ageOver: "age_over",
|
|
51643
52457
|
trustedSince: "trusted_since",
|
|
51644
|
-
lastPassAt: "last_pass_at"
|
|
52458
|
+
lastPassAt: "last_pass_at",
|
|
52459
|
+
recoveredAt: "recovered_at",
|
|
52460
|
+
linkState: "link_state"
|
|
51645
52461
|
});
|
|
51646
52462
|
});
|
|
51647
52463
|
SDKVerifyTokenVerdict$inboundSchema = inboundSchema(SDKVerifyTokenVerdict);
|
|
51648
52464
|
SDKVerifyTokenVerdict$outboundSchema = outboundSchema(SDKVerifyTokenVerdict);
|
|
52465
|
+
SDKVerifyTokenState$inboundSchema = inboundSchema(SDKVerifyTokenState);
|
|
52466
|
+
SDKVerifyTokenState$outboundSchema = outboundSchema(SDKVerifyTokenState);
|
|
52467
|
+
SDKVerifyTokenLink$inboundSchema = objectType({
|
|
52468
|
+
state: optional3(SDKVerifyTokenState$inboundSchema),
|
|
52469
|
+
confirmed: optional3(boolean4()),
|
|
52470
|
+
handle: optional3(string4()),
|
|
52471
|
+
first_time: optional3(boolean4()),
|
|
52472
|
+
code: optional3(string4()),
|
|
52473
|
+
message: optional3(string4())
|
|
52474
|
+
}).transform((v) => {
|
|
52475
|
+
return remap(v, {
|
|
52476
|
+
first_time: "firstTime"
|
|
52477
|
+
});
|
|
52478
|
+
});
|
|
52479
|
+
SDKVerifyTokenLink$outboundSchema = objectType({
|
|
52480
|
+
state: SDKVerifyTokenState$outboundSchema.optional(),
|
|
52481
|
+
confirmed: booleanType().optional(),
|
|
52482
|
+
handle: stringType().optional(),
|
|
52483
|
+
firstTime: booleanType().optional(),
|
|
52484
|
+
code: stringType().optional(),
|
|
52485
|
+
message: stringType().optional()
|
|
52486
|
+
}).transform((v) => {
|
|
52487
|
+
return remap(v, {
|
|
52488
|
+
firstTime: "first_time"
|
|
52489
|
+
});
|
|
52490
|
+
});
|
|
51649
52491
|
SDKVerifyTokenDataData$inboundSchema = objectType({
|
|
51650
52492
|
valid: boolean4(),
|
|
51651
52493
|
reason: optional3(string4()),
|
|
52494
|
+
code: optional3(string4()),
|
|
51652
52495
|
expired_at: nullableType(date4()).optional(),
|
|
51653
52496
|
claims: nullableType(lazyType(() => Claims$inboundSchema)).optional(),
|
|
51654
52497
|
replayed: optional3(boolean4()),
|
|
51655
|
-
verdict: optional3(SDKVerifyTokenVerdict$inboundSchema)
|
|
52498
|
+
verdict: optional3(SDKVerifyTokenVerdict$inboundSchema),
|
|
52499
|
+
link: optional3(lazyType(() => SDKVerifyTokenLink$inboundSchema))
|
|
51656
52500
|
}).transform((v) => {
|
|
51657
52501
|
return remap(v, {
|
|
51658
52502
|
expired_at: "expiredAt"
|
|
@@ -51661,10 +52505,12 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51661
52505
|
SDKVerifyTokenDataData$outboundSchema = objectType({
|
|
51662
52506
|
valid: booleanType(),
|
|
51663
52507
|
reason: stringType().optional(),
|
|
52508
|
+
code: stringType().optional(),
|
|
51664
52509
|
expiredAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
51665
52510
|
claims: nullableType(lazyType(() => Claims$outboundSchema)).optional(),
|
|
51666
52511
|
replayed: booleanType().optional(),
|
|
51667
|
-
verdict: SDKVerifyTokenVerdict$outboundSchema.optional()
|
|
52512
|
+
verdict: SDKVerifyTokenVerdict$outboundSchema.optional(),
|
|
52513
|
+
link: lazyType(() => SDKVerifyTokenLink$outboundSchema).optional()
|
|
51668
52514
|
}).transform((v) => {
|
|
51669
52515
|
return remap(v, {
|
|
51670
52516
|
expiredAt: "expired_at"
|
|
@@ -51990,8 +52836,201 @@ var init_secured_accounts_status = __esm(() => {
|
|
|
51990
52836
|
});
|
|
51991
52837
|
});
|
|
51992
52838
|
|
|
52839
|
+
// src/models/operations/signin-confirm.ts
|
|
52840
|
+
var SigninConfirmEnvironment, SigninConfirmFinishedBy, SigninConfirmTier, SigninConfirmSecurity$inboundSchema, SigninConfirmSecurity$outboundSchema, SigninConfirmRequest$inboundSchema, SigninConfirmRequest$outboundSchema, SigninConfirmEnvironment$inboundSchema, SigninConfirmEnvironment$outboundSchema, SigninConfirmFinishedBy$inboundSchema, SigninConfirmFinishedBy$outboundSchema, SigninConfirmTier$inboundSchema, SigninConfirmTier$outboundSchema, SigninConfirmDataData$inboundSchema, SigninConfirmDataData$outboundSchema, SigninConfirmData$inboundSchema, SigninConfirmData$outboundSchema, SigninConfirmResponse$inboundSchema, SigninConfirmResponse$outboundSchema;
|
|
52841
|
+
var init_signin_confirm = __esm(() => {
|
|
52842
|
+
init_v3();
|
|
52843
|
+
init_primitives();
|
|
52844
|
+
init_enums();
|
|
52845
|
+
init_primitives2();
|
|
52846
|
+
init_models();
|
|
52847
|
+
SigninConfirmEnvironment = {
|
|
52848
|
+
Development: "development",
|
|
52849
|
+
Production: "production"
|
|
52850
|
+
};
|
|
52851
|
+
SigninConfirmFinishedBy = {
|
|
52852
|
+
Inline: "inline",
|
|
52853
|
+
Qr: "qr"
|
|
52854
|
+
};
|
|
52855
|
+
SigninConfirmTier = {
|
|
52856
|
+
One: 1
|
|
52857
|
+
};
|
|
52858
|
+
SigninConfirmSecurity$inboundSchema = objectType({
|
|
52859
|
+
ApiKeyAuth: string4()
|
|
52860
|
+
}).transform((v) => {
|
|
52861
|
+
return remap(v, {
|
|
52862
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
52863
|
+
});
|
|
52864
|
+
});
|
|
52865
|
+
SigninConfirmSecurity$outboundSchema = objectType({
|
|
52866
|
+
apiKeyAuth: stringType()
|
|
52867
|
+
}).transform((v) => {
|
|
52868
|
+
return remap(v, {
|
|
52869
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
52870
|
+
});
|
|
52871
|
+
});
|
|
52872
|
+
SigninConfirmRequest$inboundSchema = objectType({
|
|
52873
|
+
request_id: string4(),
|
|
52874
|
+
partner_user_ref: optional3(string4())
|
|
52875
|
+
}).transform((v) => {
|
|
52876
|
+
return remap(v, {
|
|
52877
|
+
request_id: "requestId",
|
|
52878
|
+
partner_user_ref: "partnerUserRef"
|
|
52879
|
+
});
|
|
52880
|
+
});
|
|
52881
|
+
SigninConfirmRequest$outboundSchema = objectType({
|
|
52882
|
+
requestId: stringType(),
|
|
52883
|
+
partnerUserRef: stringType().optional()
|
|
52884
|
+
}).transform((v) => {
|
|
52885
|
+
return remap(v, {
|
|
52886
|
+
requestId: "request_id",
|
|
52887
|
+
partnerUserRef: "partner_user_ref"
|
|
52888
|
+
});
|
|
52889
|
+
});
|
|
52890
|
+
SigninConfirmEnvironment$inboundSchema = inboundSchema(SigninConfirmEnvironment);
|
|
52891
|
+
SigninConfirmEnvironment$outboundSchema = outboundSchema(SigninConfirmEnvironment);
|
|
52892
|
+
SigninConfirmFinishedBy$inboundSchema = inboundSchema(SigninConfirmFinishedBy);
|
|
52893
|
+
SigninConfirmFinishedBy$outboundSchema = outboundSchema(SigninConfirmFinishedBy);
|
|
52894
|
+
SigninConfirmTier$inboundSchema = nativeEnumType(SigninConfirmTier);
|
|
52895
|
+
SigninConfirmTier$outboundSchema = SigninConfirmTier$inboundSchema;
|
|
52896
|
+
SigninConfirmDataData$inboundSchema = objectType({
|
|
52897
|
+
signed_in: boolean4(),
|
|
52898
|
+
request_id: string4(),
|
|
52899
|
+
act: nullable3(string4()),
|
|
52900
|
+
handle: string4(),
|
|
52901
|
+
verified_at: date4(),
|
|
52902
|
+
environment: SigninConfirmEnvironment$inboundSchema,
|
|
52903
|
+
finished_by: SigninConfirmFinishedBy$inboundSchema,
|
|
52904
|
+
tier: SigninConfirmTier$inboundSchema
|
|
52905
|
+
}).transform((v) => {
|
|
52906
|
+
return remap(v, {
|
|
52907
|
+
signed_in: "signedIn",
|
|
52908
|
+
request_id: "requestId",
|
|
52909
|
+
verified_at: "verifiedAt",
|
|
52910
|
+
finished_by: "finishedBy"
|
|
52911
|
+
});
|
|
52912
|
+
});
|
|
52913
|
+
SigninConfirmDataData$outboundSchema = objectType({
|
|
52914
|
+
signedIn: booleanType(),
|
|
52915
|
+
requestId: stringType(),
|
|
52916
|
+
act: nullableType(stringType()),
|
|
52917
|
+
handle: stringType(),
|
|
52918
|
+
verifiedAt: dateType().transform((v) => v.toISOString()),
|
|
52919
|
+
environment: SigninConfirmEnvironment$outboundSchema,
|
|
52920
|
+
finishedBy: SigninConfirmFinishedBy$outboundSchema,
|
|
52921
|
+
tier: SigninConfirmTier$outboundSchema
|
|
52922
|
+
}).transform((v) => {
|
|
52923
|
+
return remap(v, {
|
|
52924
|
+
signedIn: "signed_in",
|
|
52925
|
+
requestId: "request_id",
|
|
52926
|
+
verifiedAt: "verified_at",
|
|
52927
|
+
finishedBy: "finished_by"
|
|
52928
|
+
});
|
|
52929
|
+
});
|
|
52930
|
+
SigninConfirmData$inboundSchema = objectType({
|
|
52931
|
+
data: optional3(lazyType(() => SigninConfirmDataData$inboundSchema)),
|
|
52932
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
52933
|
+
});
|
|
52934
|
+
SigninConfirmData$outboundSchema = objectType({
|
|
52935
|
+
data: lazyType(() => SigninConfirmDataData$outboundSchema).optional(),
|
|
52936
|
+
error: ErrorBody$outboundSchema.optional()
|
|
52937
|
+
});
|
|
52938
|
+
SigninConfirmResponse$inboundSchema = objectType({
|
|
52939
|
+
data: lazyType(() => SigninConfirmData$inboundSchema)
|
|
52940
|
+
});
|
|
52941
|
+
SigninConfirmResponse$outboundSchema = objectType({
|
|
52942
|
+
data: lazyType(() => SigninConfirmData$outboundSchema)
|
|
52943
|
+
});
|
|
52944
|
+
});
|
|
52945
|
+
|
|
52946
|
+
// src/models/operations/signin-request.ts
|
|
52947
|
+
var SigninRequestTier, SigninRequestSecurity$inboundSchema, SigninRequestSecurity$outboundSchema, SigninRequestRequest$inboundSchema, SigninRequestRequest$outboundSchema, SigninRequestTier$inboundSchema, SigninRequestTier$outboundSchema, SigninRequestDataData$inboundSchema, SigninRequestDataData$outboundSchema, SigninRequestData$inboundSchema, SigninRequestData$outboundSchema, SigninRequestResponse$inboundSchema, SigninRequestResponse$outboundSchema;
|
|
52948
|
+
var init_signin_request = __esm(() => {
|
|
52949
|
+
init_v3();
|
|
52950
|
+
init_primitives();
|
|
52951
|
+
init_primitives2();
|
|
52952
|
+
init_models();
|
|
52953
|
+
SigninRequestTier = {
|
|
52954
|
+
One: 1
|
|
52955
|
+
};
|
|
52956
|
+
SigninRequestSecurity$inboundSchema = objectType({
|
|
52957
|
+
ApiKeyAuth: string4()
|
|
52958
|
+
}).transform((v) => {
|
|
52959
|
+
return remap(v, {
|
|
52960
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
52961
|
+
});
|
|
52962
|
+
});
|
|
52963
|
+
SigninRequestSecurity$outboundSchema = objectType({
|
|
52964
|
+
apiKeyAuth: stringType()
|
|
52965
|
+
}).transform((v) => {
|
|
52966
|
+
return remap(v, {
|
|
52967
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
52968
|
+
});
|
|
52969
|
+
});
|
|
52970
|
+
SigninRequestRequest$inboundSchema = objectType({
|
|
52971
|
+
partner_user_ref: string4()
|
|
52972
|
+
}).transform((v) => {
|
|
52973
|
+
return remap(v, {
|
|
52974
|
+
partner_user_ref: "partnerUserRef"
|
|
52975
|
+
});
|
|
52976
|
+
});
|
|
52977
|
+
SigninRequestRequest$outboundSchema = objectType({
|
|
52978
|
+
partnerUserRef: stringType()
|
|
52979
|
+
}).transform((v) => {
|
|
52980
|
+
return remap(v, {
|
|
52981
|
+
partnerUserRef: "partner_user_ref"
|
|
52982
|
+
});
|
|
52983
|
+
});
|
|
52984
|
+
SigninRequestTier$inboundSchema = nativeEnumType(SigninRequestTier);
|
|
52985
|
+
SigninRequestTier$outboundSchema = SigninRequestTier$inboundSchema;
|
|
52986
|
+
SigninRequestDataData$inboundSchema = objectType({
|
|
52987
|
+
request_id: string4(),
|
|
52988
|
+
expires_at: date4(),
|
|
52989
|
+
tier: SigninRequestTier$inboundSchema,
|
|
52990
|
+
page_origin: string4(),
|
|
52991
|
+
qr: boolean4(),
|
|
52992
|
+
qr_url: nullable3(string4())
|
|
52993
|
+
}).transform((v) => {
|
|
52994
|
+
return remap(v, {
|
|
52995
|
+
request_id: "requestId",
|
|
52996
|
+
expires_at: "expiresAt",
|
|
52997
|
+
page_origin: "pageOrigin",
|
|
52998
|
+
qr_url: "qrUrl"
|
|
52999
|
+
});
|
|
53000
|
+
});
|
|
53001
|
+
SigninRequestDataData$outboundSchema = objectType({
|
|
53002
|
+
requestId: stringType(),
|
|
53003
|
+
expiresAt: dateType().transform((v) => v.toISOString()),
|
|
53004
|
+
tier: SigninRequestTier$outboundSchema,
|
|
53005
|
+
pageOrigin: stringType(),
|
|
53006
|
+
qr: booleanType(),
|
|
53007
|
+
qrUrl: nullableType(stringType())
|
|
53008
|
+
}).transform((v) => {
|
|
53009
|
+
return remap(v, {
|
|
53010
|
+
requestId: "request_id",
|
|
53011
|
+
expiresAt: "expires_at",
|
|
53012
|
+
pageOrigin: "page_origin",
|
|
53013
|
+
qrUrl: "qr_url"
|
|
53014
|
+
});
|
|
53015
|
+
});
|
|
53016
|
+
SigninRequestData$inboundSchema = objectType({
|
|
53017
|
+
data: optional3(lazyType(() => SigninRequestDataData$inboundSchema)),
|
|
53018
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
53019
|
+
});
|
|
53020
|
+
SigninRequestData$outboundSchema = objectType({
|
|
53021
|
+
data: lazyType(() => SigninRequestDataData$outboundSchema).optional(),
|
|
53022
|
+
error: ErrorBody$outboundSchema.optional()
|
|
53023
|
+
});
|
|
53024
|
+
SigninRequestResponse$inboundSchema = objectType({
|
|
53025
|
+
data: lazyType(() => SigninRequestData$inboundSchema)
|
|
53026
|
+
});
|
|
53027
|
+
SigninRequestResponse$outboundSchema = objectType({
|
|
53028
|
+
data: lazyType(() => SigninRequestData$outboundSchema)
|
|
53029
|
+
});
|
|
53030
|
+
});
|
|
53031
|
+
|
|
51993
53032
|
// src/models/operations/verification-get-status.ts
|
|
51994
|
-
var VerificationGetStatusStatus, VerificationGetStatusSDKType, VerificationGetStatusPreset, Link, VerificationGetStatusState, VerificationGetStatusGateType, VerificationGetStatusSecurity$inboundSchema, VerificationGetStatusSecurity$outboundSchema, VerificationGetStatusRequest$inboundSchema, VerificationGetStatusRequest$outboundSchema, VerificationGetStatusStatus$inboundSchema, VerificationGetStatusStatus$outboundSchema, VerificationGetStatusSDKType$inboundSchema, VerificationGetStatusSDKType$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, VerificationGetStatusPreset$inboundSchema, VerificationGetStatusPreset$outboundSchema, Link$inboundSchema, Link$outboundSchema, VerificationGetStatusState$inboundSchema, VerificationGetStatusState$outboundSchema, Gate$inboundSchema2, Gate$outboundSchema2, VerificationGetStatusAction$inboundSchema, VerificationGetStatusAction$outboundSchema, VerificationGetStatusGateType$inboundSchema, VerificationGetStatusGateType$outboundSchema, VerificationGetStatusData$inboundSchema, VerificationGetStatusData$outboundSchema, VerificationGetStatusResponse$inboundSchema, VerificationGetStatusResponse$outboundSchema;
|
|
53033
|
+
var VerificationGetStatusStatus, VerificationGetStatusSDKType, VerificationGetStatusPreset, Link, VerificationGetStatusState, VerificationGetStatusGateType, LinkState, VerificationGetStatusSecurity$inboundSchema, VerificationGetStatusSecurity$outboundSchema, VerificationGetStatusRequest$inboundSchema, VerificationGetStatusRequest$outboundSchema, VerificationGetStatusStatus$inboundSchema, VerificationGetStatusStatus$outboundSchema, VerificationGetStatusSDKType$inboundSchema, VerificationGetStatusSDKType$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, VerificationGetStatusPreset$inboundSchema, VerificationGetStatusPreset$outboundSchema, Link$inboundSchema, Link$outboundSchema, VerificationGetStatusState$inboundSchema, VerificationGetStatusState$outboundSchema, Gate$inboundSchema2, Gate$outboundSchema2, VerificationGetStatusAction$inboundSchema, VerificationGetStatusAction$outboundSchema, VerificationGetStatusGateType$inboundSchema, VerificationGetStatusGateType$outboundSchema, LinkState$inboundSchema, LinkState$outboundSchema, VerificationGetStatusData$inboundSchema, VerificationGetStatusData$outboundSchema, VerificationGetStatusResponse$inboundSchema, VerificationGetStatusResponse$outboundSchema;
|
|
51995
53034
|
var init_verification_get_status = __esm(() => {
|
|
51996
53035
|
init_v3();
|
|
51997
53036
|
init_primitives();
|
|
@@ -52004,6 +53043,7 @@ var init_verification_get_status = __esm(() => {
|
|
|
52004
53043
|
Pass: "pass",
|
|
52005
53044
|
Expired: "expired",
|
|
52006
53045
|
Failed: "failed",
|
|
53046
|
+
Cancelled: "cancelled",
|
|
52007
53047
|
NotFound: "not_found",
|
|
52008
53048
|
Error: "error"
|
|
52009
53049
|
};
|
|
@@ -52033,6 +53073,12 @@ var init_verification_get_status = __esm(() => {
|
|
|
52033
53073
|
Human: "human",
|
|
52034
53074
|
Age: "age"
|
|
52035
53075
|
};
|
|
53076
|
+
LinkState = {
|
|
53077
|
+
Pending: "pending",
|
|
53078
|
+
Live: "live",
|
|
53079
|
+
Expired: "expired",
|
|
53080
|
+
Refused: "refused"
|
|
53081
|
+
};
|
|
52036
53082
|
VerificationGetStatusSecurity$inboundSchema = objectType({
|
|
52037
53083
|
apiKeyAuth: optional3(string4()),
|
|
52038
53084
|
apiKeyAuth1: optional3(string4())
|
|
@@ -52042,17 +53088,21 @@ var init_verification_get_status = __esm(() => {
|
|
|
52042
53088
|
apiKeyAuth1: stringType().optional()
|
|
52043
53089
|
});
|
|
52044
53090
|
VerificationGetStatusRequest$inboundSchema = objectType({
|
|
52045
|
-
request_id: string4()
|
|
53091
|
+
request_id: string4(),
|
|
53092
|
+
"X-BotShield-Request-Secret": optional3(string4())
|
|
52046
53093
|
}).transform((v) => {
|
|
52047
53094
|
return remap(v, {
|
|
52048
|
-
request_id: "requestId"
|
|
53095
|
+
request_id: "requestId",
|
|
53096
|
+
"X-BotShield-Request-Secret": "xBotShieldRequestSecret"
|
|
52049
53097
|
});
|
|
52050
53098
|
});
|
|
52051
53099
|
VerificationGetStatusRequest$outboundSchema = objectType({
|
|
52052
|
-
requestId: stringType()
|
|
53100
|
+
requestId: stringType(),
|
|
53101
|
+
xBotShieldRequestSecret: stringType().optional()
|
|
52053
53102
|
}).transform((v) => {
|
|
52054
53103
|
return remap(v, {
|
|
52055
|
-
requestId: "request_id"
|
|
53104
|
+
requestId: "request_id",
|
|
53105
|
+
xBotShieldRequestSecret: "X-BotShield-Request-Secret"
|
|
52056
53106
|
});
|
|
52057
53107
|
});
|
|
52058
53108
|
VerificationGetStatusStatus$inboundSchema = inboundSchema(VerificationGetStatusStatus);
|
|
@@ -52159,6 +53209,8 @@ var init_verification_get_status = __esm(() => {
|
|
|
52159
53209
|
});
|
|
52160
53210
|
VerificationGetStatusGateType$inboundSchema = inboundSchema(VerificationGetStatusGateType);
|
|
52161
53211
|
VerificationGetStatusGateType$outboundSchema = outboundSchema(VerificationGetStatusGateType);
|
|
53212
|
+
LinkState$inboundSchema = inboundSchema(LinkState);
|
|
53213
|
+
LinkState$outboundSchema = outboundSchema(LinkState);
|
|
52162
53214
|
VerificationGetStatusData$inboundSchema = objectType({
|
|
52163
53215
|
found: optional3(boolean4()),
|
|
52164
53216
|
status: optional3(VerificationGetStatusStatus$inboundSchema),
|
|
@@ -52188,7 +53240,11 @@ var init_verification_get_status = __esm(() => {
|
|
|
52188
53240
|
gate_type: optional3(VerificationGetStatusGateType$inboundSchema),
|
|
52189
53241
|
age_threshold: nullableType(number4()).optional(),
|
|
52190
53242
|
age_verdict: nullableType(string4()).optional(),
|
|
52191
|
-
age_source: nullableType(string4()).optional()
|
|
53243
|
+
age_source: nullableType(string4()).optional(),
|
|
53244
|
+
link_state: nullableType(LinkState$inboundSchema).optional(),
|
|
53245
|
+
link_expires_at: nullableType(date4()).optional(),
|
|
53246
|
+
link_code: optional3(string4()),
|
|
53247
|
+
link_message: optional3(string4())
|
|
52192
53248
|
}).transform((v) => {
|
|
52193
53249
|
return remap(v, {
|
|
52194
53250
|
request_id: "requestId",
|
|
@@ -52208,7 +53264,11 @@ var init_verification_get_status = __esm(() => {
|
|
|
52208
53264
|
gate_type: "gateType",
|
|
52209
53265
|
age_threshold: "ageThreshold",
|
|
52210
53266
|
age_verdict: "ageVerdict",
|
|
52211
|
-
age_source: "ageSource"
|
|
53267
|
+
age_source: "ageSource",
|
|
53268
|
+
link_state: "linkState",
|
|
53269
|
+
link_expires_at: "linkExpiresAt",
|
|
53270
|
+
link_code: "linkCode",
|
|
53271
|
+
link_message: "linkMessage"
|
|
52212
53272
|
});
|
|
52213
53273
|
});
|
|
52214
53274
|
VerificationGetStatusData$outboundSchema = objectType({
|
|
@@ -52240,7 +53300,11 @@ var init_verification_get_status = __esm(() => {
|
|
|
52240
53300
|
gateType: VerificationGetStatusGateType$outboundSchema.optional(),
|
|
52241
53301
|
ageThreshold: nullableType(numberType().int()).optional(),
|
|
52242
53302
|
ageVerdict: nullableType(stringType()).optional(),
|
|
52243
|
-
ageSource: nullableType(stringType()).optional()
|
|
53303
|
+
ageSource: nullableType(stringType()).optional(),
|
|
53304
|
+
linkState: nullableType(LinkState$outboundSchema).optional(),
|
|
53305
|
+
linkExpiresAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
53306
|
+
linkCode: stringType().optional(),
|
|
53307
|
+
linkMessage: stringType().optional()
|
|
52244
53308
|
}).transform((v) => {
|
|
52245
53309
|
return remap(v, {
|
|
52246
53310
|
requestId: "request_id",
|
|
@@ -52260,7 +53324,11 @@ var init_verification_get_status = __esm(() => {
|
|
|
52260
53324
|
gateType: "gate_type",
|
|
52261
53325
|
ageThreshold: "age_threshold",
|
|
52262
53326
|
ageVerdict: "age_verdict",
|
|
52263
|
-
ageSource: "age_source"
|
|
53327
|
+
ageSource: "age_source",
|
|
53328
|
+
linkState: "link_state",
|
|
53329
|
+
linkExpiresAt: "link_expires_at",
|
|
53330
|
+
linkCode: "link_code",
|
|
53331
|
+
linkMessage: "link_message"
|
|
52264
53332
|
});
|
|
52265
53333
|
});
|
|
52266
53334
|
VerificationGetStatusResponse$inboundSchema = objectType({
|
|
@@ -52278,9 +53346,11 @@ var init_operations = __esm(() => {
|
|
|
52278
53346
|
init_actions_propose();
|
|
52279
53347
|
init_gates_api_actions_create();
|
|
52280
53348
|
init_gates_api_actions_list();
|
|
53349
|
+
init_gates_api_actions_request_cancel();
|
|
52281
53350
|
init_gates_api_actions_request_status();
|
|
52282
53351
|
init_gates_api_actions_request();
|
|
52283
53352
|
init_gates_api_actions_set_state();
|
|
53353
|
+
init_gates_api_actions_update();
|
|
52284
53354
|
init_gates_api_activate();
|
|
52285
53355
|
init_gates_api_cancel();
|
|
52286
53356
|
init_gates_api_close();
|
|
@@ -52288,19 +53358,26 @@ var init_operations = __esm(() => {
|
|
|
52288
53358
|
init_gates_api_extend();
|
|
52289
53359
|
init_gates_api_get();
|
|
52290
53360
|
init_gates_api_list();
|
|
53361
|
+
init_recovery_exchange();
|
|
53362
|
+
init_recovery_other_route();
|
|
52291
53363
|
init_request_passkey_complete();
|
|
52292
53364
|
init_request_passkey_options();
|
|
53365
|
+
init_sdk_confirm_link();
|
|
52293
53366
|
init_sdk_create_session();
|
|
52294
53367
|
init_sdk_create_verification_link();
|
|
52295
53368
|
init_sdk_get_partner_config();
|
|
52296
53369
|
init_sdk_logout();
|
|
52297
53370
|
init_sdk_revoke_verification();
|
|
53371
|
+
init_sdk_send_by_number();
|
|
52298
53372
|
init_sdk_store_signal();
|
|
52299
53373
|
init_sdk_validate_signal();
|
|
53374
|
+
init_sdk_verify_resolution();
|
|
52300
53375
|
init_sdk_verify_token();
|
|
52301
53376
|
init_secured_accounts_list();
|
|
52302
53377
|
init_secured_accounts_revoke();
|
|
52303
53378
|
init_secured_accounts_status();
|
|
53379
|
+
init_signin_confirm();
|
|
53380
|
+
init_signin_request();
|
|
52304
53381
|
init_verification_get_status();
|
|
52305
53382
|
});
|
|
52306
53383
|
|
|
@@ -52647,7 +53724,7 @@ var init_actions_propose_action2 = __esm(() => {
|
|
|
52647
53724
|
function createMCPServer(deps) {
|
|
52648
53725
|
const server = new McpServer({
|
|
52649
53726
|
name: "BotShield",
|
|
52650
|
-
version: "
|
|
53727
|
+
version: "4.0.1"
|
|
52651
53728
|
});
|
|
52652
53729
|
const client = new BotShieldCore({
|
|
52653
53730
|
security: deps.security,
|
|
@@ -54964,7 +56041,7 @@ var routes = buildRouteMap({
|
|
|
54964
56041
|
var app = buildApplication(routes, {
|
|
54965
56042
|
name: "mcp",
|
|
54966
56043
|
versionInfo: {
|
|
54967
|
-
currentVersion: "
|
|
56044
|
+
currentVersion: "4.0.1"
|
|
54968
56045
|
}
|
|
54969
56046
|
});
|
|
54970
56047
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -54972,5 +56049,5 @@ export {
|
|
|
54972
56049
|
app
|
|
54973
56050
|
};
|
|
54974
56051
|
|
|
54975
|
-
//# debugId=
|
|
56052
|
+
//# debugId=25B673C6355A5A0764756E2164756E21
|
|
54976
56053
|
//# sourceMappingURL=mcp-server.js.map
|