botshield-sdk 2.2.1 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -9
- package/bin/mcp-server.js +1163 -122
- package/bin/mcp-server.js.map +37 -26
- 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/inline-passkey-complete.d.ts +20 -0
- package/dist/commonjs/funcs/inline-passkey-complete.d.ts.map +1 -0
- package/dist/commonjs/funcs/inline-passkey-complete.js +116 -0
- package/dist/commonjs/funcs/inline-passkey-complete.js.map +1 -0
- package/dist/commonjs/funcs/inline-passkey-get-options.d.ts +20 -0
- package/dist/commonjs/funcs/inline-passkey-get-options.d.ts.map +1 -0
- package/dist/commonjs/funcs/inline-passkey-get-options.js +116 -0
- package/dist/commonjs/funcs/inline-passkey-get-options.js.map +1 -0
- package/dist/commonjs/funcs/verification-get-status.d.ts +1 -1
- package/dist/commonjs/funcs/verification-get-status.js +1 -1
- package/dist/commonjs/lib/config.d.ts +20 -4
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +22 -18
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/command.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/command.js +4 -3
- package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +2 -2
- package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +2 -2
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/models/bot-shield-action.d.ts +10 -0
- package/dist/commonjs/models/bot-shield-action.d.ts.map +1 -1
- package/dist/commonjs/models/bot-shield-action.js +8 -0
- package/dist/commonjs/models/bot-shield-action.js.map +1 -1
- package/dist/commonjs/models/error-body.d.ts +11 -1
- package/dist/commonjs/models/error-body.d.ts.map +1 -1
- package/dist/commonjs/models/error-body.js +6 -0
- package/dist/commonjs/models/error-body.js.map +1 -1
- package/dist/commonjs/models/gate-human-verified-event.d.ts +93 -0
- package/dist/commonjs/models/gate-human-verified-event.d.ts.map +1 -0
- package/dist/commonjs/models/gate-human-verified-event.js +119 -0
- package/dist/commonjs/models/gate-human-verified-event.js.map +1 -0
- 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 +4 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +4 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/inline-passkey-assertion.d.ts +66 -0
- package/dist/commonjs/models/inline-passkey-assertion.d.ts.map +1 -0
- package/dist/commonjs/models/inline-passkey-assertion.js +98 -0
- package/dist/commonjs/models/inline-passkey-assertion.js.map +1 -0
- package/dist/commonjs/models/inline-passkey-request-options.d.ts +78 -0
- package/dist/commonjs/models/inline-passkey-request-options.d.ts.map +1 -0
- package/dist/commonjs/models/inline-passkey-request-options.js +107 -0
- package/dist/commonjs/models/inline-passkey-request-options.js.map +1 -0
- 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 +12 -1
- 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 +7 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +7 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/request-passkey-complete.d.ts +107 -0
- package/dist/commonjs/models/operations/request-passkey-complete.d.ts.map +1 -0
- package/dist/commonjs/models/operations/request-passkey-complete.js +141 -0
- package/dist/commonjs/models/operations/request-passkey-complete.js.map +1 -0
- package/dist/commonjs/models/operations/request-passkey-options.d.ts +178 -0
- package/dist/commonjs/models/operations/request-passkey-options.d.ts.map +1 -0
- package/dist/commonjs/models/operations/request-passkey-options.js +193 -0
- package/dist/commonjs/models/operations/request-passkey-options.js.map +1 -0
- 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 +43 -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 +30 -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 +95 -1
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-verify-token.js +86 -1
- package/dist/commonjs/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.d.ts +86 -24
- package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.js +70 -18
- 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/inline-passkey.d.ts +23 -0
- package/dist/commonjs/sdk/inline-passkey.d.ts.map +1 -0
- package/dist/commonjs/sdk/inline-passkey.js +36 -0
- package/dist/commonjs/sdk/inline-passkey.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +5 -2
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +9 -4
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- 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/inline-passkey-complete.d.ts +20 -0
- package/dist/esm/funcs/inline-passkey-complete.d.ts.map +1 -0
- package/dist/esm/funcs/inline-passkey-complete.js +80 -0
- package/dist/esm/funcs/inline-passkey-complete.js.map +1 -0
- package/dist/esm/funcs/inline-passkey-get-options.d.ts +20 -0
- package/dist/esm/funcs/inline-passkey-get-options.d.ts.map +1 -0
- package/dist/esm/funcs/inline-passkey-get-options.js +80 -0
- package/dist/esm/funcs/inline-passkey-get-options.js.map +1 -0
- package/dist/esm/funcs/verification-get-status.d.ts +1 -1
- package/dist/esm/funcs/verification-get-status.js +1 -1
- package/dist/esm/lib/config.d.ts +20 -4
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +21 -17
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/command.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/command.js +5 -4
- package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.d.ts +1 -1
- package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.js +2 -2
- package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +2 -2
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/models/bot-shield-action.d.ts +10 -0
- package/dist/esm/models/bot-shield-action.d.ts.map +1 -1
- package/dist/esm/models/bot-shield-action.js +8 -0
- package/dist/esm/models/bot-shield-action.js.map +1 -1
- package/dist/esm/models/error-body.d.ts +11 -1
- package/dist/esm/models/error-body.d.ts.map +1 -1
- package/dist/esm/models/error-body.js +6 -0
- package/dist/esm/models/error-body.js.map +1 -1
- package/dist/esm/models/gate-human-verified-event.d.ts +93 -0
- package/dist/esm/models/gate-human-verified-event.d.ts.map +1 -0
- package/dist/esm/models/gate-human-verified-event.js +81 -0
- package/dist/esm/models/gate-human-verified-event.js.map +1 -0
- 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 +4 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/inline-passkey-assertion.d.ts +66 -0
- package/dist/esm/models/inline-passkey-assertion.d.ts.map +1 -0
- package/dist/esm/models/inline-passkey-assertion.js +58 -0
- package/dist/esm/models/inline-passkey-assertion.js.map +1 -0
- package/dist/esm/models/inline-passkey-request-options.d.ts +78 -0
- package/dist/esm/models/inline-passkey-request-options.d.ts.map +1 -0
- package/dist/esm/models/inline-passkey-request-options.js +67 -0
- package/dist/esm/models/inline-passkey-request-options.js.map +1 -0
- 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 +12 -1
- 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 +7 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +7 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/request-passkey-complete.d.ts +107 -0
- package/dist/esm/models/operations/request-passkey-complete.d.ts.map +1 -0
- package/dist/esm/models/operations/request-passkey-complete.js +97 -0
- package/dist/esm/models/operations/request-passkey-complete.js.map +1 -0
- package/dist/esm/models/operations/request-passkey-options.d.ts +178 -0
- package/dist/esm/models/operations/request-passkey-options.d.ts.map +1 -0
- package/dist/esm/models/operations/request-passkey-options.js +149 -0
- package/dist/esm/models/operations/request-passkey-options.js.map +1 -0
- 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 +43 -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 +29 -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 +95 -1
- package/dist/esm/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-verify-token.js +83 -0
- package/dist/esm/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/esm/models/operations/verification-get-status.d.ts +86 -24
- package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/esm/models/operations/verification-get-status.js +69 -17
- 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/inline-passkey.d.ts +23 -0
- package/dist/esm/sdk/inline-passkey.d.ts.map +1 -0
- package/dist/esm/sdk/inline-passkey.js +32 -0
- package/dist/esm/sdk/inline-passkey.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +5 -2
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +9 -4
- package/dist/esm/sdk/sdk.js.map +1 -1
- 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/inline-passkey-complete.ts +172 -0
- package/src/funcs/inline-passkey-get-options.ts +172 -0
- package/src/funcs/verification-get-status.ts +1 -1
- package/src/lib/config.ts +22 -18
- package/src/mcp-server/cli/start/command.ts +5 -4
- package/src/mcp-server/cli/start/impl.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -3
- package/src/models/bot-shield-action.ts +18 -0
- package/src/models/error-body.ts +17 -1
- package/src/models/gate-human-verified-event.ts +181 -0
- package/src/models/gate-unavailable-event.ts +218 -0
- package/src/models/gates-api-error.ts +16 -0
- package/src/models/index.ts +4 -0
- package/src/models/inline-passkey-assertion.ts +147 -0
- package/src/models/inline-passkey-request-options.ts +175 -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 +14 -1
- 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 +7 -0
- package/src/models/operations/request-passkey-complete.ts +272 -0
- package/src/models/operations/request-passkey-options.ts +372 -0
- 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 +69 -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 +189 -1
- package/src/models/operations/verification-get-status.ts +151 -38
- 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/inline-passkey.ts +49 -0
- package/src/sdk/sdk.ts +11 -5
- package/src/sdk/verification.ts +1 -1
package/bin/mcp-server.js
CHANGED
|
@@ -3877,6 +3877,55 @@ var init_v3 = __esm(() => {
|
|
|
3877
3877
|
init_external();
|
|
3878
3878
|
});
|
|
3879
3879
|
|
|
3880
|
+
// src/lib/url.ts
|
|
3881
|
+
function pathToFunc(pathPattern, options) {
|
|
3882
|
+
const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g;
|
|
3883
|
+
return function buildURLPath(params = {}) {
|
|
3884
|
+
return pathPattern.replace(paramRE, function(_, placeholder) {
|
|
3885
|
+
if (!hasOwn.call(params, placeholder)) {
|
|
3886
|
+
throw new Error(`Parameter '${placeholder}' is required`);
|
|
3887
|
+
}
|
|
3888
|
+
const value = params[placeholder];
|
|
3889
|
+
if (typeof value !== "string" && typeof value !== "number") {
|
|
3890
|
+
throw new Error(`Parameter '${placeholder}' must be a string or number`);
|
|
3891
|
+
}
|
|
3892
|
+
return options?.charEncoding === "percent" ? encodeURIComponent(`${value}`) : `${value}`;
|
|
3893
|
+
}).replace(/^\/+/, "");
|
|
3894
|
+
};
|
|
3895
|
+
}
|
|
3896
|
+
var hasOwn;
|
|
3897
|
+
var init_url = __esm(() => {
|
|
3898
|
+
hasOwn = Object.prototype.hasOwnProperty;
|
|
3899
|
+
});
|
|
3900
|
+
|
|
3901
|
+
// src/lib/config.ts
|
|
3902
|
+
function serverURLFromOptions(options) {
|
|
3903
|
+
let serverURL = options.serverURL;
|
|
3904
|
+
const params = {};
|
|
3905
|
+
if (!serverURL) {
|
|
3906
|
+
const server = options.server ?? ServerProduction;
|
|
3907
|
+
serverURL = ServerList[server] || "";
|
|
3908
|
+
}
|
|
3909
|
+
const u = pathToFunc(serverURL)(params);
|
|
3910
|
+
return new URL(u);
|
|
3911
|
+
}
|
|
3912
|
+
var ServerProduction = "production", ServerStaging = "staging", ServerLocal = "local", ServerList, SDK_METADATA;
|
|
3913
|
+
var init_config = __esm(() => {
|
|
3914
|
+
init_url();
|
|
3915
|
+
ServerList = {
|
|
3916
|
+
[ServerProduction]: "https://api.botshield.ai/operations",
|
|
3917
|
+
[ServerStaging]: "https://wg-staging.botshield.ai/operations",
|
|
3918
|
+
[ServerLocal]: "http://localhost:9991/operations"
|
|
3919
|
+
};
|
|
3920
|
+
SDK_METADATA = {
|
|
3921
|
+
language: "typescript",
|
|
3922
|
+
openapiDocVersion: "2.0.0",
|
|
3923
|
+
sdkVersion: "4.0.0",
|
|
3924
|
+
genVersion: "2.934.1",
|
|
3925
|
+
userAgent: "speakeasy-sdk/typescript 4.0.0 2.934.1 2.0.0 botshield-sdk"
|
|
3926
|
+
};
|
|
3927
|
+
});
|
|
3928
|
+
|
|
3880
3929
|
// src/mcp-server/console-logger.ts
|
|
3881
3930
|
function createConsoleLogger(level) {
|
|
3882
3931
|
const min = consoleLoggerLevels.indexOf(level);
|
|
@@ -11081,10 +11130,10 @@ var require_bom_handling = __commonJS((exports) => {
|
|
|
11081
11130
|
|
|
11082
11131
|
// node_modules/raw-body/node_modules/iconv-lite/lib/helpers/merge-exports.js
|
|
11083
11132
|
var require_merge_exports = __commonJS((exports, module) => {
|
|
11084
|
-
var
|
|
11133
|
+
var hasOwn2 = typeof Object.hasOwn === "undefined" ? Function.call.bind(Object.prototype.hasOwnProperty) : Object.hasOwn;
|
|
11085
11134
|
function mergeModules(target, module2) {
|
|
11086
11135
|
for (var key in module2) {
|
|
11087
|
-
if (
|
|
11136
|
+
if (hasOwn2(module2, key)) {
|
|
11088
11137
|
target[key] = module2[key];
|
|
11089
11138
|
}
|
|
11090
11139
|
}
|
|
@@ -28892,11 +28941,11 @@ var require_object_inspect = __commonJS((exports, module) => {
|
|
|
28892
28941
|
} catch (e) {}
|
|
28893
28942
|
return false;
|
|
28894
28943
|
}
|
|
28895
|
-
var
|
|
28944
|
+
var hasOwn2 = Object.prototype.hasOwnProperty || function(key) {
|
|
28896
28945
|
return key in this;
|
|
28897
28946
|
};
|
|
28898
28947
|
function has(obj, key) {
|
|
28899
|
-
return
|
|
28948
|
+
return hasOwn2.call(obj, key);
|
|
28900
28949
|
}
|
|
28901
28950
|
function toStr(obj) {
|
|
28902
28951
|
return objectToString.call(obj);
|
|
@@ -29761,7 +29810,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
29761
29810
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
29762
29811
|
};
|
|
29763
29812
|
var bind = require_function_bind();
|
|
29764
|
-
var
|
|
29813
|
+
var hasOwn2 = require_hasown();
|
|
29765
29814
|
var $concat = bind.call($call, Array.prototype.concat);
|
|
29766
29815
|
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
29767
29816
|
var $replace = bind.call($call, String.prototype.replace);
|
|
@@ -29786,11 +29835,11 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
29786
29835
|
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
29787
29836
|
var intrinsicName = name;
|
|
29788
29837
|
var alias;
|
|
29789
|
-
if (
|
|
29838
|
+
if (hasOwn2(LEGACY_ALIASES, intrinsicName)) {
|
|
29790
29839
|
alias = LEGACY_ALIASES[intrinsicName];
|
|
29791
29840
|
intrinsicName = "%" + alias[0] + "%";
|
|
29792
29841
|
}
|
|
29793
|
-
if (
|
|
29842
|
+
if (hasOwn2(INTRINSICS, intrinsicName)) {
|
|
29794
29843
|
var value = INTRINSICS[intrinsicName];
|
|
29795
29844
|
if (value === needsEval) {
|
|
29796
29845
|
value = doEval(intrinsicName);
|
|
@@ -29839,7 +29888,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
29839
29888
|
}
|
|
29840
29889
|
intrinsicBaseName += "." + part;
|
|
29841
29890
|
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
29842
|
-
if (
|
|
29891
|
+
if (hasOwn2(INTRINSICS, intrinsicRealName)) {
|
|
29843
29892
|
value = INTRINSICS[intrinsicRealName];
|
|
29844
29893
|
} else if (value != null) {
|
|
29845
29894
|
if (!(part in value)) {
|
|
@@ -29857,7 +29906,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
29857
29906
|
value = value[part];
|
|
29858
29907
|
}
|
|
29859
29908
|
} else {
|
|
29860
|
-
isOwn =
|
|
29909
|
+
isOwn = hasOwn2(value, part);
|
|
29861
29910
|
value = value[part];
|
|
29862
29911
|
}
|
|
29863
29912
|
if (isOwn && !skipFurtherCaching) {
|
|
@@ -47204,57 +47253,6 @@ var init_base64 = __esm(() => {
|
|
|
47204
47253
|
zodInbound = instanceOfType(Uint8Array).or(stringType().transform(bytesFromBase64));
|
|
47205
47254
|
});
|
|
47206
47255
|
|
|
47207
|
-
// src/lib/url.ts
|
|
47208
|
-
function pathToFunc(pathPattern, options) {
|
|
47209
|
-
const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g;
|
|
47210
|
-
return function buildURLPath(params = {}) {
|
|
47211
|
-
return pathPattern.replace(paramRE, function(_, placeholder) {
|
|
47212
|
-
if (!hasOwn.call(params, placeholder)) {
|
|
47213
|
-
throw new Error(`Parameter '${placeholder}' is required`);
|
|
47214
|
-
}
|
|
47215
|
-
const value = params[placeholder];
|
|
47216
|
-
if (typeof value !== "string" && typeof value !== "number") {
|
|
47217
|
-
throw new Error(`Parameter '${placeholder}' must be a string or number`);
|
|
47218
|
-
}
|
|
47219
|
-
return options?.charEncoding === "percent" ? encodeURIComponent(`${value}`) : `${value}`;
|
|
47220
|
-
}).replace(/^\/+/, "");
|
|
47221
|
-
};
|
|
47222
|
-
}
|
|
47223
|
-
var hasOwn;
|
|
47224
|
-
var init_url = __esm(() => {
|
|
47225
|
-
hasOwn = Object.prototype.hasOwnProperty;
|
|
47226
|
-
});
|
|
47227
|
-
|
|
47228
|
-
// src/lib/config.ts
|
|
47229
|
-
function serverURLFromOptions(options) {
|
|
47230
|
-
let serverURL = options.serverURL;
|
|
47231
|
-
const params = {};
|
|
47232
|
-
if (!serverURL) {
|
|
47233
|
-
const serverIdx = options.serverIdx ?? 0;
|
|
47234
|
-
if (serverIdx < 0 || serverIdx >= ServerList.length) {
|
|
47235
|
-
throw new Error(`Invalid server index ${serverIdx}`);
|
|
47236
|
-
}
|
|
47237
|
-
serverURL = ServerList[serverIdx] || "";
|
|
47238
|
-
}
|
|
47239
|
-
const u = pathToFunc(serverURL)(params);
|
|
47240
|
-
return new URL(u);
|
|
47241
|
-
}
|
|
47242
|
-
var ServerList, SDK_METADATA;
|
|
47243
|
-
var init_config = __esm(() => {
|
|
47244
|
-
init_url();
|
|
47245
|
-
ServerList = [
|
|
47246
|
-
"http://localhost:9991/operations",
|
|
47247
|
-
"https://api.botshield.ai/operations"
|
|
47248
|
-
];
|
|
47249
|
-
SDK_METADATA = {
|
|
47250
|
-
language: "typescript",
|
|
47251
|
-
openapiDocVersion: "2.0.0",
|
|
47252
|
-
sdkVersion: "2.2.1",
|
|
47253
|
-
genVersion: "2.934.1",
|
|
47254
|
-
userAgent: "speakeasy-sdk/typescript 2.2.1 2.934.1 2.0.0 botshield-sdk"
|
|
47255
|
-
};
|
|
47256
|
-
});
|
|
47257
|
-
|
|
47258
47256
|
// src/lib/primitives.ts
|
|
47259
47257
|
function remap(inp, mappings) {
|
|
47260
47258
|
let out = {};
|
|
@@ -48953,13 +48951,17 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48953
48951
|
state: BotShieldActionState$inboundSchema,
|
|
48954
48952
|
environment: BotShieldActionEnvironment$inboundSchema,
|
|
48955
48953
|
placed_at: date4(),
|
|
48956
|
-
turned_off_at: nullable3(date4())
|
|
48954
|
+
turned_off_at: nullable3(date4()),
|
|
48955
|
+
staff_can_send: optional3(boolean4()),
|
|
48956
|
+
high_value: optional3(boolean4())
|
|
48957
48957
|
}).transform((v) => {
|
|
48958
48958
|
return remap(v, {
|
|
48959
48959
|
act_key: "actKey",
|
|
48960
48960
|
where_url: "whereUrl",
|
|
48961
48961
|
placed_at: "placedAt",
|
|
48962
|
-
turned_off_at: "turnedOffAt"
|
|
48962
|
+
turned_off_at: "turnedOffAt",
|
|
48963
|
+
staff_can_send: "staffCanSend",
|
|
48964
|
+
high_value: "highValue"
|
|
48963
48965
|
});
|
|
48964
48966
|
});
|
|
48965
48967
|
BotShieldAction$outboundSchema = objectType({
|
|
@@ -48970,13 +48972,17 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48970
48972
|
state: BotShieldActionState$outboundSchema,
|
|
48971
48973
|
environment: BotShieldActionEnvironment$outboundSchema,
|
|
48972
48974
|
placedAt: dateType().transform((v) => v.toISOString()),
|
|
48973
|
-
turnedOffAt: nullableType(dateType().transform((v) => v.toISOString()))
|
|
48975
|
+
turnedOffAt: nullableType(dateType().transform((v) => v.toISOString())),
|
|
48976
|
+
staffCanSend: booleanType().optional(),
|
|
48977
|
+
highValue: booleanType().optional()
|
|
48974
48978
|
}).transform((v) => {
|
|
48975
48979
|
return remap(v, {
|
|
48976
48980
|
actKey: "act_key",
|
|
48977
48981
|
whereUrl: "where_url",
|
|
48978
48982
|
placedAt: "placed_at",
|
|
48979
|
-
turnedOffAt: "turned_off_at"
|
|
48983
|
+
turnedOffAt: "turned_off_at",
|
|
48984
|
+
staffCanSend: "staff_can_send",
|
|
48985
|
+
highValue: "high_value"
|
|
48980
48986
|
});
|
|
48981
48987
|
});
|
|
48982
48988
|
});
|
|
@@ -49027,14 +49033,17 @@ var init_error_body = __esm(() => {
|
|
|
49027
49033
|
bucket: optional3(string4()),
|
|
49028
49034
|
retry_in: optional3(number4()),
|
|
49029
49035
|
limits: optional3(lazyType(() => Limits$inboundSchema)),
|
|
49030
|
-
upgrade_url: optional3(string4())
|
|
49036
|
+
upgrade_url: optional3(string4()),
|
|
49037
|
+
url: optional3(string4()),
|
|
49038
|
+
retry_after_seconds: optional3(number4())
|
|
49031
49039
|
}).transform((v) => {
|
|
49032
49040
|
return remap(v, {
|
|
49033
49041
|
min_ttl_seconds: "minTtlSeconds",
|
|
49034
49042
|
max_ttl_seconds: "maxTtlSeconds",
|
|
49035
49043
|
next_step: "nextStep",
|
|
49036
49044
|
retry_in: "retryIn",
|
|
49037
|
-
upgrade_url: "upgradeUrl"
|
|
49045
|
+
upgrade_url: "upgradeUrl",
|
|
49046
|
+
retry_after_seconds: "retryAfterSeconds"
|
|
49038
49047
|
});
|
|
49039
49048
|
});
|
|
49040
49049
|
ErrorBody$outboundSchema = objectType({
|
|
@@ -49050,14 +49059,17 @@ var init_error_body = __esm(() => {
|
|
|
49050
49059
|
bucket: stringType().optional(),
|
|
49051
49060
|
retryIn: numberType().int().optional(),
|
|
49052
49061
|
limits: lazyType(() => Limits$outboundSchema).optional(),
|
|
49053
|
-
upgradeUrl: stringType().optional()
|
|
49062
|
+
upgradeUrl: stringType().optional(),
|
|
49063
|
+
url: stringType().optional(),
|
|
49064
|
+
retryAfterSeconds: numberType().int().optional()
|
|
49054
49065
|
}).transform((v) => {
|
|
49055
49066
|
return remap(v, {
|
|
49056
49067
|
minTtlSeconds: "min_ttl_seconds",
|
|
49057
49068
|
maxTtlSeconds: "max_ttl_seconds",
|
|
49058
49069
|
nextStep: "next_step",
|
|
49059
49070
|
retryIn: "retry_in",
|
|
49060
|
-
upgradeUrl: "upgrade_url"
|
|
49071
|
+
upgradeUrl: "upgrade_url",
|
|
49072
|
+
retryAfterSeconds: "retry_after_seconds"
|
|
49061
49073
|
});
|
|
49062
49074
|
});
|
|
49063
49075
|
});
|
|
@@ -49077,6 +49089,72 @@ var init_error_response = __esm(() => {
|
|
|
49077
49089
|
});
|
|
49078
49090
|
});
|
|
49079
49091
|
|
|
49092
|
+
// src/models/gate-human-verified-event.ts
|
|
49093
|
+
var GateHumanVerifiedEventType, Verdict, GateHumanVerifiedEventEnvironment, GateHumanVerifiedEventType$inboundSchema, GateHumanVerifiedEventType$outboundSchema, Verdict$inboundSchema, Verdict$outboundSchema, GateHumanVerifiedEventEnvironment$inboundSchema, GateHumanVerifiedEventEnvironment$outboundSchema, GateHumanVerifiedEvent$inboundSchema, GateHumanVerifiedEvent$outboundSchema;
|
|
49094
|
+
var init_gate_human_verified_event = __esm(() => {
|
|
49095
|
+
init_v3();
|
|
49096
|
+
init_primitives();
|
|
49097
|
+
init_primitives2();
|
|
49098
|
+
GateHumanVerifiedEventType = {
|
|
49099
|
+
GateHumanVerified: "gate.human_verified"
|
|
49100
|
+
};
|
|
49101
|
+
Verdict = {
|
|
49102
|
+
Pass: "pass"
|
|
49103
|
+
};
|
|
49104
|
+
GateHumanVerifiedEventEnvironment = {
|
|
49105
|
+
Development: "development",
|
|
49106
|
+
Production: "production"
|
|
49107
|
+
};
|
|
49108
|
+
GateHumanVerifiedEventType$inboundSchema = nativeEnumType(GateHumanVerifiedEventType);
|
|
49109
|
+
GateHumanVerifiedEventType$outboundSchema = GateHumanVerifiedEventType$inboundSchema;
|
|
49110
|
+
Verdict$inboundSchema = nativeEnumType(Verdict);
|
|
49111
|
+
Verdict$outboundSchema = Verdict$inboundSchema;
|
|
49112
|
+
GateHumanVerifiedEventEnvironment$inboundSchema = nativeEnumType(GateHumanVerifiedEventEnvironment);
|
|
49113
|
+
GateHumanVerifiedEventEnvironment$outboundSchema = GateHumanVerifiedEventEnvironment$inboundSchema;
|
|
49114
|
+
GateHumanVerifiedEvent$inboundSchema = objectType({
|
|
49115
|
+
type: GateHumanVerifiedEventType$inboundSchema,
|
|
49116
|
+
event_id: string4(),
|
|
49117
|
+
request_id: string4(),
|
|
49118
|
+
verified_at: date4(),
|
|
49119
|
+
verdict: Verdict$inboundSchema,
|
|
49120
|
+
trusted: boolean4(),
|
|
49121
|
+
first_time: boolean4(),
|
|
49122
|
+
handle: optional3(string4()),
|
|
49123
|
+
environment: GateHumanVerifiedEventEnvironment$inboundSchema,
|
|
49124
|
+
product: optional3(string4()),
|
|
49125
|
+
act: optional3(string4()),
|
|
49126
|
+
metadata: optional3(recordType(anyType()))
|
|
49127
|
+
}).transform((v) => {
|
|
49128
|
+
return remap(v, {
|
|
49129
|
+
event_id: "eventId",
|
|
49130
|
+
request_id: "requestId",
|
|
49131
|
+
verified_at: "verifiedAt",
|
|
49132
|
+
first_time: "firstTime"
|
|
49133
|
+
});
|
|
49134
|
+
});
|
|
49135
|
+
GateHumanVerifiedEvent$outboundSchema = objectType({
|
|
49136
|
+
type: GateHumanVerifiedEventType$outboundSchema,
|
|
49137
|
+
eventId: stringType(),
|
|
49138
|
+
requestId: stringType(),
|
|
49139
|
+
verifiedAt: dateType().transform((v) => v.toISOString()),
|
|
49140
|
+
verdict: Verdict$outboundSchema,
|
|
49141
|
+
trusted: booleanType(),
|
|
49142
|
+
firstTime: booleanType(),
|
|
49143
|
+
handle: stringType().optional(),
|
|
49144
|
+
environment: GateHumanVerifiedEventEnvironment$outboundSchema,
|
|
49145
|
+
product: stringType().optional(),
|
|
49146
|
+
act: stringType().optional(),
|
|
49147
|
+
metadata: recordType(anyType()).optional()
|
|
49148
|
+
}).transform((v) => {
|
|
49149
|
+
return remap(v, {
|
|
49150
|
+
eventId: "event_id",
|
|
49151
|
+
requestId: "request_id",
|
|
49152
|
+
verifiedAt: "verified_at",
|
|
49153
|
+
firstTime: "first_time"
|
|
49154
|
+
});
|
|
49155
|
+
});
|
|
49156
|
+
});
|
|
49157
|
+
|
|
49080
49158
|
// src/models/gate-schedule.ts
|
|
49081
49159
|
var GateSchedule$inboundSchema, GateSchedule$outboundSchema;
|
|
49082
49160
|
var init_gate_schedule = __esm(() => {
|
|
@@ -49174,6 +49252,86 @@ var init_gate_policy_doc = __esm(() => {
|
|
|
49174
49252
|
});
|
|
49175
49253
|
});
|
|
49176
49254
|
|
|
49255
|
+
// src/models/gate-unavailable-event.ts
|
|
49256
|
+
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;
|
|
49257
|
+
var init_gate_unavailable_event = __esm(() => {
|
|
49258
|
+
init_v3();
|
|
49259
|
+
init_primitives();
|
|
49260
|
+
init_primitives2();
|
|
49261
|
+
GateUnavailableEventType = {
|
|
49262
|
+
GateUnavailable: "gate.unavailable"
|
|
49263
|
+
};
|
|
49264
|
+
GateUnavailableEventVerdict = {
|
|
49265
|
+
Unavailable: "unavailable"
|
|
49266
|
+
};
|
|
49267
|
+
GateUnavailableEventReason = {
|
|
49268
|
+
UserDenied: "user_denied",
|
|
49269
|
+
DeviceLockRequired: "device_lock_required",
|
|
49270
|
+
InternalError: "internal_error",
|
|
49271
|
+
PlatformDeclined: "platform_declined"
|
|
49272
|
+
};
|
|
49273
|
+
GateUnavailableEventEnvironment = {
|
|
49274
|
+
Development: "development",
|
|
49275
|
+
Production: "production"
|
|
49276
|
+
};
|
|
49277
|
+
GateUnavailableEventType$inboundSchema = nativeEnumType(GateUnavailableEventType);
|
|
49278
|
+
GateUnavailableEventType$outboundSchema = GateUnavailableEventType$inboundSchema;
|
|
49279
|
+
GateUnavailableEventVerdict$inboundSchema = nativeEnumType(GateUnavailableEventVerdict);
|
|
49280
|
+
GateUnavailableEventVerdict$outboundSchema = GateUnavailableEventVerdict$inboundSchema;
|
|
49281
|
+
GateUnavailableEventReason$inboundSchema = nativeEnumType(GateUnavailableEventReason);
|
|
49282
|
+
GateUnavailableEventReason$outboundSchema = GateUnavailableEventReason$inboundSchema;
|
|
49283
|
+
GateUnavailableEventEnvironment$inboundSchema = nativeEnumType(GateUnavailableEventEnvironment);
|
|
49284
|
+
GateUnavailableEventEnvironment$outboundSchema = GateUnavailableEventEnvironment$inboundSchema;
|
|
49285
|
+
GateUnavailableEvent$inboundSchema = objectType({
|
|
49286
|
+
type: GateUnavailableEventType$inboundSchema,
|
|
49287
|
+
event_id: string4(),
|
|
49288
|
+
request_id: string4(),
|
|
49289
|
+
failed_at: date4(),
|
|
49290
|
+
verdict: GateUnavailableEventVerdict$inboundSchema,
|
|
49291
|
+
reason: GateUnavailableEventReason$inboundSchema,
|
|
49292
|
+
error_message: optional3(string4()),
|
|
49293
|
+
failure_code: optional3(string4()),
|
|
49294
|
+
failure_name: optional3(string4()),
|
|
49295
|
+
environment: GateUnavailableEventEnvironment$inboundSchema,
|
|
49296
|
+
product: optional3(string4()),
|
|
49297
|
+
act: optional3(string4()),
|
|
49298
|
+
metadata: optional3(recordType(anyType()))
|
|
49299
|
+
}).transform((v) => {
|
|
49300
|
+
return remap(v, {
|
|
49301
|
+
event_id: "eventId",
|
|
49302
|
+
request_id: "requestId",
|
|
49303
|
+
failed_at: "failedAt",
|
|
49304
|
+
error_message: "errorMessage",
|
|
49305
|
+
failure_code: "failureCode",
|
|
49306
|
+
failure_name: "failureName"
|
|
49307
|
+
});
|
|
49308
|
+
});
|
|
49309
|
+
GateUnavailableEvent$outboundSchema = objectType({
|
|
49310
|
+
type: GateUnavailableEventType$outboundSchema,
|
|
49311
|
+
eventId: stringType(),
|
|
49312
|
+
requestId: stringType(),
|
|
49313
|
+
failedAt: dateType().transform((v) => v.toISOString()),
|
|
49314
|
+
verdict: GateUnavailableEventVerdict$outboundSchema,
|
|
49315
|
+
reason: GateUnavailableEventReason$outboundSchema,
|
|
49316
|
+
errorMessage: stringType().optional(),
|
|
49317
|
+
failureCode: stringType().optional(),
|
|
49318
|
+
failureName: stringType().optional(),
|
|
49319
|
+
environment: GateUnavailableEventEnvironment$outboundSchema,
|
|
49320
|
+
product: stringType().optional(),
|
|
49321
|
+
act: stringType().optional(),
|
|
49322
|
+
metadata: recordType(anyType()).optional()
|
|
49323
|
+
}).transform((v) => {
|
|
49324
|
+
return remap(v, {
|
|
49325
|
+
eventId: "event_id",
|
|
49326
|
+
requestId: "request_id",
|
|
49327
|
+
failedAt: "failed_at",
|
|
49328
|
+
errorMessage: "error_message",
|
|
49329
|
+
failureCode: "failure_code",
|
|
49330
|
+
failureName: "failure_name"
|
|
49331
|
+
});
|
|
49332
|
+
});
|
|
49333
|
+
});
|
|
49334
|
+
|
|
49177
49335
|
// src/models/gate.ts
|
|
49178
49336
|
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;
|
|
49179
49337
|
var init_gate = __esm(() => {
|
|
@@ -49320,17 +49478,114 @@ var init_gate = __esm(() => {
|
|
|
49320
49478
|
var GatesApiError$inboundSchema, GatesApiError$outboundSchema;
|
|
49321
49479
|
var init_gates_api_error = __esm(() => {
|
|
49322
49480
|
init_v3();
|
|
49481
|
+
init_primitives();
|
|
49323
49482
|
init_primitives2();
|
|
49324
49483
|
GatesApiError$inboundSchema = objectType({
|
|
49325
49484
|
message: string4(),
|
|
49326
49485
|
statusCode: number4(),
|
|
49327
|
-
code: string4()
|
|
49486
|
+
code: string4(),
|
|
49487
|
+
retry_after_seconds: optional3(number4())
|
|
49488
|
+
}).transform((v) => {
|
|
49489
|
+
return remap(v, {
|
|
49490
|
+
retry_after_seconds: "retryAfterSeconds"
|
|
49491
|
+
});
|
|
49328
49492
|
});
|
|
49329
49493
|
GatesApiError$outboundSchema = objectType({
|
|
49330
49494
|
message: stringType(),
|
|
49331
49495
|
statusCode: numberType().int(),
|
|
49332
|
-
code: stringType()
|
|
49496
|
+
code: stringType(),
|
|
49497
|
+
retryAfterSeconds: numberType().int().optional()
|
|
49498
|
+
}).transform((v) => {
|
|
49499
|
+
return remap(v, {
|
|
49500
|
+
retryAfterSeconds: "retry_after_seconds"
|
|
49501
|
+
});
|
|
49502
|
+
});
|
|
49503
|
+
});
|
|
49504
|
+
|
|
49505
|
+
// src/models/inline-passkey-assertion.ts
|
|
49506
|
+
var InlinePasskeyAssertionType, InlinePasskeyAssertionType$inboundSchema, InlinePasskeyAssertionType$outboundSchema, ResponseT$inboundSchema, ResponseT$outboundSchema, InlinePasskeyAssertion$inboundSchema, InlinePasskeyAssertion$outboundSchema;
|
|
49507
|
+
var init_inline_passkey_assertion = __esm(() => {
|
|
49508
|
+
init_v3();
|
|
49509
|
+
init_primitives2();
|
|
49510
|
+
InlinePasskeyAssertionType = {
|
|
49511
|
+
PublicKey: "public-key"
|
|
49512
|
+
};
|
|
49513
|
+
InlinePasskeyAssertionType$inboundSchema = nativeEnumType(InlinePasskeyAssertionType);
|
|
49514
|
+
InlinePasskeyAssertionType$outboundSchema = InlinePasskeyAssertionType$inboundSchema;
|
|
49515
|
+
ResponseT$inboundSchema = objectType({
|
|
49516
|
+
clientDataJSON: string4(),
|
|
49517
|
+
authenticatorData: string4(),
|
|
49518
|
+
signature: string4(),
|
|
49519
|
+
userHandle: optional3(string4())
|
|
49520
|
+
}).catchall(anyType());
|
|
49521
|
+
ResponseT$outboundSchema = objectType({
|
|
49522
|
+
clientDataJSON: stringType(),
|
|
49523
|
+
authenticatorData: stringType(),
|
|
49524
|
+
signature: stringType(),
|
|
49525
|
+
userHandle: stringType().optional()
|
|
49526
|
+
}).catchall(anyType());
|
|
49527
|
+
InlinePasskeyAssertion$inboundSchema = objectType({
|
|
49528
|
+
id: string4(),
|
|
49529
|
+
rawId: string4(),
|
|
49530
|
+
type: InlinePasskeyAssertionType$inboundSchema,
|
|
49531
|
+
authenticatorAttachment: optional3(string4()),
|
|
49532
|
+
clientExtensionResults: optional3(recordType(anyType())),
|
|
49533
|
+
response: lazyType(() => ResponseT$inboundSchema)
|
|
49534
|
+
}).catchall(anyType());
|
|
49535
|
+
InlinePasskeyAssertion$outboundSchema = objectType({
|
|
49536
|
+
id: stringType(),
|
|
49537
|
+
rawId: stringType(),
|
|
49538
|
+
type: InlinePasskeyAssertionType$outboundSchema,
|
|
49539
|
+
authenticatorAttachment: stringType().optional(),
|
|
49540
|
+
clientExtensionResults: recordType(anyType()).optional(),
|
|
49541
|
+
response: lazyType(() => ResponseT$outboundSchema)
|
|
49542
|
+
}).catchall(anyType());
|
|
49543
|
+
});
|
|
49544
|
+
|
|
49545
|
+
// src/models/inline-passkey-request-options.ts
|
|
49546
|
+
var InlinePasskeyRequestOptionsType, UserVerification, InlinePasskeyRequestOptionsType$inboundSchema, InlinePasskeyRequestOptionsType$outboundSchema, AllowCredential$inboundSchema, AllowCredential$outboundSchema, UserVerification$inboundSchema, UserVerification$outboundSchema, InlinePasskeyRequestOptions$inboundSchema, InlinePasskeyRequestOptions$outboundSchema;
|
|
49547
|
+
var init_inline_passkey_request_options = __esm(() => {
|
|
49548
|
+
init_v3();
|
|
49549
|
+
init_enums();
|
|
49550
|
+
init_primitives2();
|
|
49551
|
+
InlinePasskeyRequestOptionsType = {
|
|
49552
|
+
PublicKey: "public-key"
|
|
49553
|
+
};
|
|
49554
|
+
UserVerification = {
|
|
49555
|
+
Required: "required",
|
|
49556
|
+
Preferred: "preferred",
|
|
49557
|
+
Discouraged: "discouraged"
|
|
49558
|
+
};
|
|
49559
|
+
InlinePasskeyRequestOptionsType$inboundSchema = nativeEnumType(InlinePasskeyRequestOptionsType);
|
|
49560
|
+
InlinePasskeyRequestOptionsType$outboundSchema = InlinePasskeyRequestOptionsType$inboundSchema;
|
|
49561
|
+
AllowCredential$inboundSchema = objectType({
|
|
49562
|
+
id: string4(),
|
|
49563
|
+
type: InlinePasskeyRequestOptionsType$inboundSchema,
|
|
49564
|
+
transports: optional3(arrayType(string4()))
|
|
49333
49565
|
});
|
|
49566
|
+
AllowCredential$outboundSchema = objectType({
|
|
49567
|
+
id: stringType(),
|
|
49568
|
+
type: InlinePasskeyRequestOptionsType$outboundSchema,
|
|
49569
|
+
transports: arrayType(stringType()).optional()
|
|
49570
|
+
});
|
|
49571
|
+
UserVerification$inboundSchema = inboundSchema(UserVerification);
|
|
49572
|
+
UserVerification$outboundSchema = outboundSchema(UserVerification);
|
|
49573
|
+
InlinePasskeyRequestOptions$inboundSchema = objectType({
|
|
49574
|
+
challenge: string4(),
|
|
49575
|
+
allowCredentials: optional3(arrayType(lazyType(() => AllowCredential$inboundSchema))),
|
|
49576
|
+
timeout: optional3(number4()),
|
|
49577
|
+
userVerification: optional3(UserVerification$inboundSchema),
|
|
49578
|
+
rpId: optional3(string4()),
|
|
49579
|
+
extensions: optional3(recordType(anyType()))
|
|
49580
|
+
}).catchall(anyType());
|
|
49581
|
+
InlinePasskeyRequestOptions$outboundSchema = objectType({
|
|
49582
|
+
challenge: stringType(),
|
|
49583
|
+
allowCredentials: arrayType(lazyType(() => AllowCredential$outboundSchema)).optional(),
|
|
49584
|
+
timeout: numberType().int().optional(),
|
|
49585
|
+
userVerification: UserVerification$outboundSchema.optional(),
|
|
49586
|
+
rpId: stringType().optional(),
|
|
49587
|
+
extensions: recordType(anyType()).optional()
|
|
49588
|
+
}).catchall(anyType());
|
|
49334
49589
|
});
|
|
49335
49590
|
|
|
49336
49591
|
// src/models/invalid-input-error.ts
|
|
@@ -49370,10 +49625,14 @@ var init_models = __esm(() => {
|
|
|
49370
49625
|
init_bot_shield_action();
|
|
49371
49626
|
init_error_body();
|
|
49372
49627
|
init_error_response();
|
|
49628
|
+
init_gate_human_verified_event();
|
|
49373
49629
|
init_gate_policy_doc();
|
|
49374
49630
|
init_gate_schedule();
|
|
49631
|
+
init_gate_unavailable_event();
|
|
49375
49632
|
init_gate();
|
|
49376
49633
|
init_gates_api_error();
|
|
49634
|
+
init_inline_passkey_assertion();
|
|
49635
|
+
init_inline_passkey_request_options();
|
|
49377
49636
|
init_invalid_input_error();
|
|
49378
49637
|
init_passes_per_person();
|
|
49379
49638
|
init_security2();
|
|
@@ -49683,17 +49942,21 @@ var init_actions_propose = __esm(() => {
|
|
|
49683
49942
|
opaque_id: optional3(string4()),
|
|
49684
49943
|
botshield_user_id: optional3(string4()),
|
|
49685
49944
|
user_email: optional3(string4()),
|
|
49945
|
+
phone_number: optional3(string4()),
|
|
49686
49946
|
action: lazyType(() => ActionsProposeAction$inboundSchema),
|
|
49687
49947
|
adaptive_card_payload: optional3(recordType(anyType())),
|
|
49688
|
-
ttl_seconds: number4().default(600)
|
|
49948
|
+
ttl_seconds: number4().default(600),
|
|
49949
|
+
partner_user_ref: optional3(string4())
|
|
49689
49950
|
}).transform((v) => {
|
|
49690
49951
|
return remap(v, {
|
|
49691
49952
|
request_id: "requestId",
|
|
49692
49953
|
opaque_id: "opaqueId",
|
|
49693
49954
|
botshield_user_id: "botshieldUserId",
|
|
49694
49955
|
user_email: "userEmail",
|
|
49956
|
+
phone_number: "phoneNumber",
|
|
49695
49957
|
adaptive_card_payload: "adaptiveCardPayload",
|
|
49696
|
-
ttl_seconds: "ttlSeconds"
|
|
49958
|
+
ttl_seconds: "ttlSeconds",
|
|
49959
|
+
partner_user_ref: "partnerUserRef"
|
|
49697
49960
|
});
|
|
49698
49961
|
});
|
|
49699
49962
|
ActionsProposeRequest$outboundSchema = objectType({
|
|
@@ -49701,17 +49964,21 @@ var init_actions_propose = __esm(() => {
|
|
|
49701
49964
|
opaqueId: stringType().optional(),
|
|
49702
49965
|
botshieldUserId: stringType().optional(),
|
|
49703
49966
|
userEmail: stringType().optional(),
|
|
49967
|
+
phoneNumber: stringType().optional(),
|
|
49704
49968
|
action: lazyType(() => ActionsProposeAction$outboundSchema),
|
|
49705
49969
|
adaptiveCardPayload: recordType(anyType()).optional(),
|
|
49706
|
-
ttlSeconds: numberType().int().default(600)
|
|
49970
|
+
ttlSeconds: numberType().int().default(600),
|
|
49971
|
+
partnerUserRef: stringType().optional()
|
|
49707
49972
|
}).transform((v) => {
|
|
49708
49973
|
return remap(v, {
|
|
49709
49974
|
requestId: "request_id",
|
|
49710
49975
|
opaqueId: "opaque_id",
|
|
49711
49976
|
botshieldUserId: "botshield_user_id",
|
|
49712
49977
|
userEmail: "user_email",
|
|
49978
|
+
phoneNumber: "phone_number",
|
|
49713
49979
|
adaptiveCardPayload: "adaptive_card_payload",
|
|
49714
|
-
ttlSeconds: "ttl_seconds"
|
|
49980
|
+
ttlSeconds: "ttl_seconds",
|
|
49981
|
+
partnerUserRef: "partner_user_ref"
|
|
49715
49982
|
});
|
|
49716
49983
|
});
|
|
49717
49984
|
ActionsProposeStatus$inboundSchema = inboundSchema(ActionsProposeStatus);
|
|
@@ -49720,24 +49987,32 @@ var init_actions_propose = __esm(() => {
|
|
|
49720
49987
|
status: ActionsProposeStatus$inboundSchema,
|
|
49721
49988
|
card_id: string4(),
|
|
49722
49989
|
ttl_at: optional3(date4()),
|
|
49723
|
-
idempotent_replay: optional3(boolean4())
|
|
49990
|
+
idempotent_replay: optional3(boolean4()),
|
|
49991
|
+
request_id: optional3(string4()),
|
|
49992
|
+
match_number: optional3(number4())
|
|
49724
49993
|
}).transform((v) => {
|
|
49725
49994
|
return remap(v, {
|
|
49726
49995
|
card_id: "cardId",
|
|
49727
49996
|
ttl_at: "ttlAt",
|
|
49728
|
-
idempotent_replay: "idempotentReplay"
|
|
49997
|
+
idempotent_replay: "idempotentReplay",
|
|
49998
|
+
request_id: "requestId",
|
|
49999
|
+
match_number: "matchNumber"
|
|
49729
50000
|
});
|
|
49730
50001
|
});
|
|
49731
50002
|
ActionsProposeDataData$outboundSchema = objectType({
|
|
49732
50003
|
status: ActionsProposeStatus$outboundSchema,
|
|
49733
50004
|
cardId: stringType(),
|
|
49734
50005
|
ttlAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
49735
|
-
idempotentReplay: booleanType().optional()
|
|
50006
|
+
idempotentReplay: booleanType().optional(),
|
|
50007
|
+
requestId: stringType().optional(),
|
|
50008
|
+
matchNumber: numberType().int().optional()
|
|
49736
50009
|
}).transform((v) => {
|
|
49737
50010
|
return remap(v, {
|
|
49738
50011
|
cardId: "card_id",
|
|
49739
50012
|
ttlAt: "ttl_at",
|
|
49740
|
-
idempotentReplay: "idempotent_replay"
|
|
50013
|
+
idempotentReplay: "idempotent_replay",
|
|
50014
|
+
requestId: "request_id",
|
|
50015
|
+
matchNumber: "match_number"
|
|
49741
50016
|
});
|
|
49742
50017
|
});
|
|
49743
50018
|
ActionsProposeData$inboundSchema = objectType({
|
|
@@ -49780,12 +50055,16 @@ var init_gates_api_actions_create = __esm(() => {
|
|
|
49780
50055
|
GatesApiActionsCreateRequest$inboundSchema = objectType({
|
|
49781
50056
|
name: string4(),
|
|
49782
50057
|
actKey: string4(),
|
|
49783
|
-
whereUrl: optional3(string4())
|
|
50058
|
+
whereUrl: optional3(string4()),
|
|
50059
|
+
staffCanSend: optional3(boolean4()),
|
|
50060
|
+
highValue: optional3(boolean4())
|
|
49784
50061
|
});
|
|
49785
50062
|
GatesApiActionsCreateRequest$outboundSchema = objectType({
|
|
49786
50063
|
name: stringType(),
|
|
49787
50064
|
actKey: stringType(),
|
|
49788
|
-
whereUrl: stringType().optional()
|
|
50065
|
+
whereUrl: stringType().optional(),
|
|
50066
|
+
staffCanSend: booleanType().optional(),
|
|
50067
|
+
highValue: booleanType().optional()
|
|
49789
50068
|
});
|
|
49790
50069
|
GatesApiActionsCreateDataData$inboundSchema = objectType({
|
|
49791
50070
|
action: BotShieldAction$inboundSchema
|
|
@@ -49852,6 +50131,95 @@ var init_gates_api_actions_list = __esm(() => {
|
|
|
49852
50131
|
});
|
|
49853
50132
|
});
|
|
49854
50133
|
|
|
50134
|
+
// src/models/operations/gates-api-actions-request-cancel.ts
|
|
50135
|
+
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;
|
|
50136
|
+
var init_gates_api_actions_request_cancel = __esm(() => {
|
|
50137
|
+
init_v3();
|
|
50138
|
+
init_primitives();
|
|
50139
|
+
init_enums();
|
|
50140
|
+
init_primitives2();
|
|
50141
|
+
init_models();
|
|
50142
|
+
GatesApiActionsRequestCancelStatus = {
|
|
50143
|
+
Queued: "queued",
|
|
50144
|
+
Approved: "approved",
|
|
50145
|
+
Denied: "denied",
|
|
50146
|
+
Expired: "expired",
|
|
50147
|
+
Cancelled: "cancelled"
|
|
50148
|
+
};
|
|
50149
|
+
GatesApiActionsRequestCancelSecurity$inboundSchema = objectType({
|
|
50150
|
+
GatesKeyAuth: string4()
|
|
50151
|
+
}).transform((v) => {
|
|
50152
|
+
return remap(v, {
|
|
50153
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50154
|
+
});
|
|
50155
|
+
});
|
|
50156
|
+
GatesApiActionsRequestCancelSecurity$outboundSchema = objectType({
|
|
50157
|
+
gatesKeyAuth: stringType()
|
|
50158
|
+
}).transform((v) => {
|
|
50159
|
+
return remap(v, {
|
|
50160
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50161
|
+
});
|
|
50162
|
+
});
|
|
50163
|
+
GatesApiActionsRequestCancelRequest$inboundSchema = objectType({
|
|
50164
|
+
request_id: string4(),
|
|
50165
|
+
agent: string4(),
|
|
50166
|
+
reason: optional3(string4())
|
|
50167
|
+
}).transform((v) => {
|
|
50168
|
+
return remap(v, {
|
|
50169
|
+
request_id: "requestId"
|
|
50170
|
+
});
|
|
50171
|
+
});
|
|
50172
|
+
GatesApiActionsRequestCancelRequest$outboundSchema = objectType({
|
|
50173
|
+
requestId: stringType(),
|
|
50174
|
+
agent: stringType(),
|
|
50175
|
+
reason: stringType().optional()
|
|
50176
|
+
}).transform((v) => {
|
|
50177
|
+
return remap(v, {
|
|
50178
|
+
requestId: "request_id"
|
|
50179
|
+
});
|
|
50180
|
+
});
|
|
50181
|
+
GatesApiActionsRequestCancelStatus$inboundSchema = inboundSchema(GatesApiActionsRequestCancelStatus);
|
|
50182
|
+
GatesApiActionsRequestCancelStatus$outboundSchema = outboundSchema(GatesApiActionsRequestCancelStatus);
|
|
50183
|
+
GatesApiActionsRequestCancelDataData$inboundSchema = objectType({
|
|
50184
|
+
request_id: string4(),
|
|
50185
|
+
status: GatesApiActionsRequestCancelStatus$inboundSchema,
|
|
50186
|
+
already_resolved: optional3(boolean4()),
|
|
50187
|
+
cancelled_at: optional3(date4())
|
|
50188
|
+
}).transform((v) => {
|
|
50189
|
+
return remap(v, {
|
|
50190
|
+
request_id: "requestId",
|
|
50191
|
+
already_resolved: "alreadyResolved",
|
|
50192
|
+
cancelled_at: "cancelledAt"
|
|
50193
|
+
});
|
|
50194
|
+
});
|
|
50195
|
+
GatesApiActionsRequestCancelDataData$outboundSchema = objectType({
|
|
50196
|
+
requestId: stringType(),
|
|
50197
|
+
status: GatesApiActionsRequestCancelStatus$outboundSchema,
|
|
50198
|
+
alreadyResolved: booleanType().optional(),
|
|
50199
|
+
cancelledAt: dateType().transform((v) => v.toISOString()).optional()
|
|
50200
|
+
}).transform((v) => {
|
|
50201
|
+
return remap(v, {
|
|
50202
|
+
requestId: "request_id",
|
|
50203
|
+
alreadyResolved: "already_resolved",
|
|
50204
|
+
cancelledAt: "cancelled_at"
|
|
50205
|
+
});
|
|
50206
|
+
});
|
|
50207
|
+
GatesApiActionsRequestCancelData$inboundSchema = objectType({
|
|
50208
|
+
data: optional3(lazyType(() => GatesApiActionsRequestCancelDataData$inboundSchema)),
|
|
50209
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50210
|
+
});
|
|
50211
|
+
GatesApiActionsRequestCancelData$outboundSchema = objectType({
|
|
50212
|
+
data: lazyType(() => GatesApiActionsRequestCancelDataData$outboundSchema).optional(),
|
|
50213
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50214
|
+
});
|
|
50215
|
+
GatesApiActionsRequestCancelResponse$inboundSchema = objectType({
|
|
50216
|
+
data: lazyType(() => GatesApiActionsRequestCancelData$inboundSchema)
|
|
50217
|
+
});
|
|
50218
|
+
GatesApiActionsRequestCancelResponse$outboundSchema = objectType({
|
|
50219
|
+
data: lazyType(() => GatesApiActionsRequestCancelData$outboundSchema)
|
|
50220
|
+
});
|
|
50221
|
+
});
|
|
50222
|
+
|
|
49855
50223
|
// src/models/operations/gates-api-actions-request-status.ts
|
|
49856
50224
|
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;
|
|
49857
50225
|
var init_gates_api_actions_request_status = __esm(() => {
|
|
@@ -49883,6 +50251,7 @@ var init_gates_api_actions_request_status = __esm(() => {
|
|
|
49883
50251
|
});
|
|
49884
50252
|
GatesApiActionsRequestStatusRequest$inboundSchema = objectType({
|
|
49885
50253
|
request_id: string4(),
|
|
50254
|
+
agent: optional3(string4()),
|
|
49886
50255
|
wait_seconds: optional3(number4())
|
|
49887
50256
|
}).transform((v) => {
|
|
49888
50257
|
return remap(v, {
|
|
@@ -49892,6 +50261,7 @@ var init_gates_api_actions_request_status = __esm(() => {
|
|
|
49892
50261
|
});
|
|
49893
50262
|
GatesApiActionsRequestStatusRequest$outboundSchema = objectType({
|
|
49894
50263
|
requestId: stringType(),
|
|
50264
|
+
agent: stringType().optional(),
|
|
49895
50265
|
waitSeconds: numberType().int().optional()
|
|
49896
50266
|
}).transform((v) => {
|
|
49897
50267
|
return remap(v, {
|
|
@@ -49950,7 +50320,7 @@ var init_gates_api_actions_request_status = __esm(() => {
|
|
|
49950
50320
|
});
|
|
49951
50321
|
|
|
49952
50322
|
// src/models/operations/gates-api-actions-request.ts
|
|
49953
|
-
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;
|
|
50323
|
+
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;
|
|
49954
50324
|
var init_gates_api_actions_request = __esm(() => {
|
|
49955
50325
|
init_v3();
|
|
49956
50326
|
init_primitives();
|
|
@@ -49978,19 +50348,30 @@ var init_gates_api_actions_request = __esm(() => {
|
|
|
49978
50348
|
gatesKeyAuth: "GatesKeyAuth"
|
|
49979
50349
|
});
|
|
49980
50350
|
});
|
|
50351
|
+
GatesApiActionsRequestDetail$inboundSchema = objectType({
|
|
50352
|
+
label: string4(),
|
|
50353
|
+
value: string4()
|
|
50354
|
+
});
|
|
50355
|
+
GatesApiActionsRequestDetail$outboundSchema = objectType({
|
|
50356
|
+
label: stringType(),
|
|
50357
|
+
value: stringType()
|
|
50358
|
+
});
|
|
49981
50359
|
GatesApiActionsRequestRequest$inboundSchema = objectType({
|
|
49982
50360
|
request_id: string4(),
|
|
49983
50361
|
agent: string4(),
|
|
49984
50362
|
act: string4(),
|
|
49985
50363
|
act_label: optional3(string4()),
|
|
49986
|
-
partner_user_ref: string4(),
|
|
50364
|
+
partner_user_ref: optional3(string4()),
|
|
50365
|
+
phone_number: optional3(string4()),
|
|
49987
50366
|
requested_by: optional3(string4()),
|
|
50367
|
+
details: optional3(arrayType(lazyType(() => GatesApiActionsRequestDetail$inboundSchema))),
|
|
49988
50368
|
ttl_seconds: number4().default(600)
|
|
49989
50369
|
}).transform((v) => {
|
|
49990
50370
|
return remap(v, {
|
|
49991
50371
|
request_id: "requestId",
|
|
49992
50372
|
act_label: "actLabel",
|
|
49993
50373
|
partner_user_ref: "partnerUserRef",
|
|
50374
|
+
phone_number: "phoneNumber",
|
|
49994
50375
|
requested_by: "requestedBy",
|
|
49995
50376
|
ttl_seconds: "ttlSeconds"
|
|
49996
50377
|
});
|
|
@@ -50000,14 +50381,17 @@ var init_gates_api_actions_request = __esm(() => {
|
|
|
50000
50381
|
agent: stringType(),
|
|
50001
50382
|
act: stringType(),
|
|
50002
50383
|
actLabel: stringType().optional(),
|
|
50003
|
-
partnerUserRef: stringType(),
|
|
50384
|
+
partnerUserRef: stringType().optional(),
|
|
50385
|
+
phoneNumber: stringType().optional(),
|
|
50004
50386
|
requestedBy: stringType().optional(),
|
|
50387
|
+
details: arrayType(lazyType(() => GatesApiActionsRequestDetail$outboundSchema)).optional(),
|
|
50005
50388
|
ttlSeconds: numberType().int().default(600)
|
|
50006
50389
|
}).transform((v) => {
|
|
50007
50390
|
return remap(v, {
|
|
50008
50391
|
requestId: "request_id",
|
|
50009
50392
|
actLabel: "act_label",
|
|
50010
50393
|
partnerUserRef: "partner_user_ref",
|
|
50394
|
+
phoneNumber: "phone_number",
|
|
50011
50395
|
requestedBy: "requested_by",
|
|
50012
50396
|
ttlSeconds: "ttl_seconds"
|
|
50013
50397
|
});
|
|
@@ -50017,21 +50401,25 @@ var init_gates_api_actions_request = __esm(() => {
|
|
|
50017
50401
|
GatesApiActionsRequestDataData$inboundSchema = objectType({
|
|
50018
50402
|
request_id: string4(),
|
|
50019
50403
|
status: GatesApiActionsRequestStatus$inboundSchema,
|
|
50020
|
-
expires_at: date4()
|
|
50404
|
+
expires_at: date4(),
|
|
50405
|
+
match_number: optional3(number4())
|
|
50021
50406
|
}).transform((v) => {
|
|
50022
50407
|
return remap(v, {
|
|
50023
50408
|
request_id: "requestId",
|
|
50024
|
-
expires_at: "expiresAt"
|
|
50409
|
+
expires_at: "expiresAt",
|
|
50410
|
+
match_number: "matchNumber"
|
|
50025
50411
|
});
|
|
50026
50412
|
});
|
|
50027
50413
|
GatesApiActionsRequestDataData$outboundSchema = objectType({
|
|
50028
50414
|
requestId: stringType(),
|
|
50029
50415
|
status: GatesApiActionsRequestStatus$outboundSchema,
|
|
50030
|
-
expiresAt: dateType().transform((v) => v.toISOString())
|
|
50416
|
+
expiresAt: dateType().transform((v) => v.toISOString()),
|
|
50417
|
+
matchNumber: numberType().int().optional()
|
|
50031
50418
|
}).transform((v) => {
|
|
50032
50419
|
return remap(v, {
|
|
50033
50420
|
requestId: "request_id",
|
|
50034
|
-
expiresAt: "expires_at"
|
|
50421
|
+
expiresAt: "expires_at",
|
|
50422
|
+
matchNumber: "match_number"
|
|
50035
50423
|
});
|
|
50036
50424
|
});
|
|
50037
50425
|
GatesApiActionsRequestData$inboundSchema = objectType({
|
|
@@ -50107,6 +50495,61 @@ var init_gates_api_actions_set_state = __esm(() => {
|
|
|
50107
50495
|
});
|
|
50108
50496
|
});
|
|
50109
50497
|
|
|
50498
|
+
// src/models/operations/gates-api-actions-update.ts
|
|
50499
|
+
var GatesApiActionsUpdateSecurity$inboundSchema, GatesApiActionsUpdateSecurity$outboundSchema, GatesApiActionsUpdateRequest$inboundSchema, GatesApiActionsUpdateRequest$outboundSchema, GatesApiActionsUpdateDataData$inboundSchema, GatesApiActionsUpdateDataData$outboundSchema, GatesApiActionsUpdateData$inboundSchema, GatesApiActionsUpdateData$outboundSchema, GatesApiActionsUpdateResponse$inboundSchema, GatesApiActionsUpdateResponse$outboundSchema;
|
|
50500
|
+
var init_gates_api_actions_update = __esm(() => {
|
|
50501
|
+
init_v3();
|
|
50502
|
+
init_primitives();
|
|
50503
|
+
init_primitives2();
|
|
50504
|
+
init_models();
|
|
50505
|
+
GatesApiActionsUpdateSecurity$inboundSchema = objectType({
|
|
50506
|
+
GatesKeyAuth: string4()
|
|
50507
|
+
}).transform((v) => {
|
|
50508
|
+
return remap(v, {
|
|
50509
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50510
|
+
});
|
|
50511
|
+
});
|
|
50512
|
+
GatesApiActionsUpdateSecurity$outboundSchema = objectType({
|
|
50513
|
+
gatesKeyAuth: stringType()
|
|
50514
|
+
}).transform((v) => {
|
|
50515
|
+
return remap(v, {
|
|
50516
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50517
|
+
});
|
|
50518
|
+
});
|
|
50519
|
+
GatesApiActionsUpdateRequest$inboundSchema = objectType({
|
|
50520
|
+
actKey: string4(),
|
|
50521
|
+
name: optional3(string4()),
|
|
50522
|
+
staffCanSend: optional3(boolean4()),
|
|
50523
|
+
highValue: optional3(boolean4())
|
|
50524
|
+
});
|
|
50525
|
+
GatesApiActionsUpdateRequest$outboundSchema = objectType({
|
|
50526
|
+
actKey: stringType(),
|
|
50527
|
+
name: stringType().optional(),
|
|
50528
|
+
staffCanSend: booleanType().optional(),
|
|
50529
|
+
highValue: booleanType().optional()
|
|
50530
|
+
});
|
|
50531
|
+
GatesApiActionsUpdateDataData$inboundSchema = objectType({
|
|
50532
|
+
action: BotShieldAction$inboundSchema
|
|
50533
|
+
});
|
|
50534
|
+
GatesApiActionsUpdateDataData$outboundSchema = objectType({
|
|
50535
|
+
action: BotShieldAction$outboundSchema
|
|
50536
|
+
});
|
|
50537
|
+
GatesApiActionsUpdateData$inboundSchema = objectType({
|
|
50538
|
+
data: optional3(lazyType(() => GatesApiActionsUpdateDataData$inboundSchema)),
|
|
50539
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50540
|
+
});
|
|
50541
|
+
GatesApiActionsUpdateData$outboundSchema = objectType({
|
|
50542
|
+
data: lazyType(() => GatesApiActionsUpdateDataData$outboundSchema).optional(),
|
|
50543
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50544
|
+
});
|
|
50545
|
+
GatesApiActionsUpdateResponse$inboundSchema = objectType({
|
|
50546
|
+
data: lazyType(() => GatesApiActionsUpdateData$inboundSchema)
|
|
50547
|
+
});
|
|
50548
|
+
GatesApiActionsUpdateResponse$outboundSchema = objectType({
|
|
50549
|
+
data: lazyType(() => GatesApiActionsUpdateData$outboundSchema)
|
|
50550
|
+
});
|
|
50551
|
+
});
|
|
50552
|
+
|
|
50110
50553
|
// src/models/operations/gates-api-activate.ts
|
|
50111
50554
|
var GatesApiActivateSecurity$inboundSchema, GatesApiActivateSecurity$outboundSchema, GatesApiActivateRequest$inboundSchema, GatesApiActivateRequest$outboundSchema, GatesApiActivateDataData$inboundSchema, GatesApiActivateDataData$outboundSchema, GatesApiActivateData$inboundSchema, GatesApiActivateData$outboundSchema, GatesApiActivateResponse$inboundSchema, GatesApiActivateResponse$outboundSchema;
|
|
50112
50555
|
var init_gates_api_activate = __esm(() => {
|
|
@@ -50517,6 +50960,269 @@ var init_gates_api_list = __esm(() => {
|
|
|
50517
50960
|
});
|
|
50518
50961
|
});
|
|
50519
50962
|
|
|
50963
|
+
// src/models/operations/request-passkey-complete.ts
|
|
50964
|
+
var RequestPasskeyCompleteOutcome, RequestPasskeyCompleteRequest$inboundSchema, RequestPasskeyCompleteRequest$outboundSchema, RequestPasskeyCompleteOutcome$inboundSchema, RequestPasskeyCompleteOutcome$outboundSchema, RequestPasskeyCompleteDataData$inboundSchema, RequestPasskeyCompleteDataData$outboundSchema, RequestPasskeyCompleteData$inboundSchema, RequestPasskeyCompleteData$outboundSchema, RequestPasskeyCompleteResponse$inboundSchema, RequestPasskeyCompleteResponse$outboundSchema;
|
|
50965
|
+
var init_request_passkey_complete = __esm(() => {
|
|
50966
|
+
init_v3();
|
|
50967
|
+
init_primitives();
|
|
50968
|
+
init_enums();
|
|
50969
|
+
init_primitives2();
|
|
50970
|
+
init_models();
|
|
50971
|
+
RequestPasskeyCompleteOutcome = {
|
|
50972
|
+
Verified: "verified",
|
|
50973
|
+
WrongIdentity: "wrong_identity",
|
|
50974
|
+
Expired: "expired",
|
|
50975
|
+
Failed: "failed"
|
|
50976
|
+
};
|
|
50977
|
+
RequestPasskeyCompleteRequest$inboundSchema = objectType({
|
|
50978
|
+
request_id: string4(),
|
|
50979
|
+
challenge_id: string4(),
|
|
50980
|
+
response: InlinePasskeyAssertion$inboundSchema
|
|
50981
|
+
}).transform((v) => {
|
|
50982
|
+
return remap(v, {
|
|
50983
|
+
request_id: "requestId",
|
|
50984
|
+
challenge_id: "challengeId"
|
|
50985
|
+
});
|
|
50986
|
+
});
|
|
50987
|
+
RequestPasskeyCompleteRequest$outboundSchema = objectType({
|
|
50988
|
+
requestId: stringType(),
|
|
50989
|
+
challengeId: stringType(),
|
|
50990
|
+
response: InlinePasskeyAssertion$outboundSchema
|
|
50991
|
+
}).transform((v) => {
|
|
50992
|
+
return remap(v, {
|
|
50993
|
+
requestId: "request_id",
|
|
50994
|
+
challengeId: "challenge_id"
|
|
50995
|
+
});
|
|
50996
|
+
});
|
|
50997
|
+
RequestPasskeyCompleteOutcome$inboundSchema = inboundSchema(RequestPasskeyCompleteOutcome);
|
|
50998
|
+
RequestPasskeyCompleteOutcome$outboundSchema = outboundSchema(RequestPasskeyCompleteOutcome);
|
|
50999
|
+
RequestPasskeyCompleteDataData$inboundSchema = objectType({
|
|
51000
|
+
outcome: RequestPasskeyCompleteOutcome$inboundSchema,
|
|
51001
|
+
code: optional3(string4())
|
|
51002
|
+
});
|
|
51003
|
+
RequestPasskeyCompleteDataData$outboundSchema = objectType({
|
|
51004
|
+
outcome: RequestPasskeyCompleteOutcome$outboundSchema,
|
|
51005
|
+
code: stringType().optional()
|
|
51006
|
+
});
|
|
51007
|
+
RequestPasskeyCompleteData$inboundSchema = objectType({
|
|
51008
|
+
data: optional3(lazyType(() => RequestPasskeyCompleteDataData$inboundSchema)),
|
|
51009
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
51010
|
+
});
|
|
51011
|
+
RequestPasskeyCompleteData$outboundSchema = objectType({
|
|
51012
|
+
data: lazyType(() => RequestPasskeyCompleteDataData$outboundSchema).optional(),
|
|
51013
|
+
error: ErrorBody$outboundSchema.optional()
|
|
51014
|
+
});
|
|
51015
|
+
RequestPasskeyCompleteResponse$inboundSchema = objectType({
|
|
51016
|
+
data: lazyType(() => RequestPasskeyCompleteData$inboundSchema)
|
|
51017
|
+
});
|
|
51018
|
+
RequestPasskeyCompleteResponse$outboundSchema = objectType({
|
|
51019
|
+
data: lazyType(() => RequestPasskeyCompleteData$outboundSchema)
|
|
51020
|
+
});
|
|
51021
|
+
});
|
|
51022
|
+
|
|
51023
|
+
// src/models/operations/request-passkey-options.ts
|
|
51024
|
+
var Fallback, RequestPasskeyOptionsReason, RequestPasskeyOptionsOutcome, Code, RequestPasskeyOptionsRequest$inboundSchema, RequestPasskeyOptionsRequest$outboundSchema, Fallback$inboundSchema, Fallback$outboundSchema, RequestPasskeyOptionsReason$inboundSchema, RequestPasskeyOptionsReason$outboundSchema, RequestPasskeyOptionsOutcome$inboundSchema, RequestPasskeyOptionsOutcome$outboundSchema, Code$inboundSchema, Code$outboundSchema, DataApp$inboundSchema, DataApp$outboundSchema, RequestPasskeyOptionsData$inboundSchema, RequestPasskeyOptionsData$outboundSchema, RequestPasskeyOptionsResponse$inboundSchema, RequestPasskeyOptionsResponse$outboundSchema;
|
|
51025
|
+
var init_request_passkey_options = __esm(() => {
|
|
51026
|
+
init_v3();
|
|
51027
|
+
init_primitives();
|
|
51028
|
+
init_enums();
|
|
51029
|
+
init_primitives2();
|
|
51030
|
+
init_models();
|
|
51031
|
+
Fallback = {
|
|
51032
|
+
App: "app"
|
|
51033
|
+
};
|
|
51034
|
+
RequestPasskeyOptionsReason = {
|
|
51035
|
+
NotLinked: "not_linked",
|
|
51036
|
+
NoPasskey: "no_passkey"
|
|
51037
|
+
};
|
|
51038
|
+
RequestPasskeyOptionsOutcome = {
|
|
51039
|
+
Expired: "expired",
|
|
51040
|
+
Failed: "failed"
|
|
51041
|
+
};
|
|
51042
|
+
Code = {
|
|
51043
|
+
UnknownRequest: "unknown_request",
|
|
51044
|
+
RequestClosed: "request_closed",
|
|
51045
|
+
RequestExpired: "request_expired"
|
|
51046
|
+
};
|
|
51047
|
+
RequestPasskeyOptionsRequest$inboundSchema = objectType({
|
|
51048
|
+
request_id: string4()
|
|
51049
|
+
}).transform((v) => {
|
|
51050
|
+
return remap(v, {
|
|
51051
|
+
request_id: "requestId"
|
|
51052
|
+
});
|
|
51053
|
+
});
|
|
51054
|
+
RequestPasskeyOptionsRequest$outboundSchema = objectType({
|
|
51055
|
+
requestId: stringType()
|
|
51056
|
+
}).transform((v) => {
|
|
51057
|
+
return remap(v, {
|
|
51058
|
+
requestId: "request_id"
|
|
51059
|
+
});
|
|
51060
|
+
});
|
|
51061
|
+
Fallback$inboundSchema = nativeEnumType(Fallback);
|
|
51062
|
+
Fallback$outboundSchema = Fallback$inboundSchema;
|
|
51063
|
+
RequestPasskeyOptionsReason$inboundSchema = inboundSchema(RequestPasskeyOptionsReason);
|
|
51064
|
+
RequestPasskeyOptionsReason$outboundSchema = outboundSchema(RequestPasskeyOptionsReason);
|
|
51065
|
+
RequestPasskeyOptionsOutcome$inboundSchema = inboundSchema(RequestPasskeyOptionsOutcome);
|
|
51066
|
+
RequestPasskeyOptionsOutcome$outboundSchema = outboundSchema(RequestPasskeyOptionsOutcome);
|
|
51067
|
+
Code$inboundSchema = inboundSchema(Code);
|
|
51068
|
+
Code$outboundSchema = outboundSchema(Code);
|
|
51069
|
+
DataApp$inboundSchema = objectType({
|
|
51070
|
+
options: optional3(InlinePasskeyRequestOptions$inboundSchema),
|
|
51071
|
+
challenge_id: optional3(string4()),
|
|
51072
|
+
expires_at: optional3(date4()),
|
|
51073
|
+
fallback: optional3(Fallback$inboundSchema),
|
|
51074
|
+
reason: optional3(RequestPasskeyOptionsReason$inboundSchema),
|
|
51075
|
+
url: optional3(string4()),
|
|
51076
|
+
setup_url: optional3(string4()),
|
|
51077
|
+
outcome: optional3(RequestPasskeyOptionsOutcome$inboundSchema),
|
|
51078
|
+
code: optional3(Code$inboundSchema)
|
|
51079
|
+
}).transform((v) => {
|
|
51080
|
+
return remap(v, {
|
|
51081
|
+
challenge_id: "challengeId",
|
|
51082
|
+
expires_at: "expiresAt",
|
|
51083
|
+
setup_url: "setupUrl"
|
|
51084
|
+
});
|
|
51085
|
+
});
|
|
51086
|
+
DataApp$outboundSchema = objectType({
|
|
51087
|
+
options: InlinePasskeyRequestOptions$outboundSchema.optional(),
|
|
51088
|
+
challengeId: stringType().optional(),
|
|
51089
|
+
expiresAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
51090
|
+
fallback: Fallback$outboundSchema.optional(),
|
|
51091
|
+
reason: RequestPasskeyOptionsReason$outboundSchema.optional(),
|
|
51092
|
+
url: stringType().optional(),
|
|
51093
|
+
setupUrl: stringType().optional(),
|
|
51094
|
+
outcome: RequestPasskeyOptionsOutcome$outboundSchema.optional(),
|
|
51095
|
+
code: Code$outboundSchema.optional()
|
|
51096
|
+
}).transform((v) => {
|
|
51097
|
+
return remap(v, {
|
|
51098
|
+
challengeId: "challenge_id",
|
|
51099
|
+
expiresAt: "expires_at",
|
|
51100
|
+
setupUrl: "setup_url"
|
|
51101
|
+
});
|
|
51102
|
+
});
|
|
51103
|
+
RequestPasskeyOptionsData$inboundSchema = objectType({
|
|
51104
|
+
data: optional3(lazyType(() => DataApp$inboundSchema)),
|
|
51105
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
51106
|
+
});
|
|
51107
|
+
RequestPasskeyOptionsData$outboundSchema = objectType({
|
|
51108
|
+
data: lazyType(() => DataApp$outboundSchema).optional(),
|
|
51109
|
+
error: ErrorBody$outboundSchema.optional()
|
|
51110
|
+
});
|
|
51111
|
+
RequestPasskeyOptionsResponse$inboundSchema = objectType({
|
|
51112
|
+
data: lazyType(() => RequestPasskeyOptionsData$inboundSchema)
|
|
51113
|
+
});
|
|
51114
|
+
RequestPasskeyOptionsResponse$outboundSchema = objectType({
|
|
51115
|
+
data: lazyType(() => RequestPasskeyOptionsData$outboundSchema)
|
|
51116
|
+
});
|
|
51117
|
+
});
|
|
51118
|
+
|
|
51119
|
+
// src/models/operations/sdk-confirm-link.ts
|
|
51120
|
+
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;
|
|
51121
|
+
var init_sdk_confirm_link = __esm(() => {
|
|
51122
|
+
init_v3();
|
|
51123
|
+
init_primitives();
|
|
51124
|
+
init_primitives2();
|
|
51125
|
+
SDKConfirmLinkState = {
|
|
51126
|
+
Live: "live"
|
|
51127
|
+
};
|
|
51128
|
+
SDKConfirmLinkSecurity$inboundSchema = objectType({
|
|
51129
|
+
ApiKeyAuth: string4()
|
|
51130
|
+
}).transform((v) => {
|
|
51131
|
+
return remap(v, {
|
|
51132
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
51133
|
+
});
|
|
51134
|
+
});
|
|
51135
|
+
SDKConfirmLinkSecurity$outboundSchema = objectType({
|
|
51136
|
+
apiKeyAuth: stringType()
|
|
51137
|
+
}).transform((v) => {
|
|
51138
|
+
return remap(v, {
|
|
51139
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51140
|
+
});
|
|
51141
|
+
});
|
|
51142
|
+
SDKConfirmLinkRequest$inboundSchema = objectType({
|
|
51143
|
+
request_id: string4(),
|
|
51144
|
+
partner_user_ref: optional3(string4()),
|
|
51145
|
+
partner_user_id: optional3(string4())
|
|
51146
|
+
}).transform((v) => {
|
|
51147
|
+
return remap(v, {
|
|
51148
|
+
request_id: "requestId",
|
|
51149
|
+
partner_user_ref: "partnerUserRef",
|
|
51150
|
+
partner_user_id: "partnerUserId"
|
|
51151
|
+
});
|
|
51152
|
+
});
|
|
51153
|
+
SDKConfirmLinkRequest$outboundSchema = objectType({
|
|
51154
|
+
requestId: stringType(),
|
|
51155
|
+
partnerUserRef: stringType().optional(),
|
|
51156
|
+
partnerUserId: stringType().optional()
|
|
51157
|
+
}).transform((v) => {
|
|
51158
|
+
return remap(v, {
|
|
51159
|
+
requestId: "request_id",
|
|
51160
|
+
partnerUserRef: "partner_user_ref",
|
|
51161
|
+
partnerUserId: "partner_user_id"
|
|
51162
|
+
});
|
|
51163
|
+
});
|
|
51164
|
+
SDKConfirmLinkState$inboundSchema = nativeEnumType(SDKConfirmLinkState);
|
|
51165
|
+
SDKConfirmLinkState$outboundSchema = SDKConfirmLinkState$inboundSchema;
|
|
51166
|
+
SDKConfirmLinkDataData$inboundSchema = objectType({
|
|
51167
|
+
linked: optional3(boolean4()),
|
|
51168
|
+
state: optional3(SDKConfirmLinkState$inboundSchema),
|
|
51169
|
+
first_time: optional3(boolean4()),
|
|
51170
|
+
request_id: optional3(string4()),
|
|
51171
|
+
handle: optional3(string4()),
|
|
51172
|
+
trusted: optional3(boolean4()),
|
|
51173
|
+
trusted_since: optional3(date4()),
|
|
51174
|
+
verification_token: optional3(string4())
|
|
51175
|
+
}).transform((v) => {
|
|
51176
|
+
return remap(v, {
|
|
51177
|
+
first_time: "firstTime",
|
|
51178
|
+
request_id: "requestId",
|
|
51179
|
+
trusted_since: "trustedSince",
|
|
51180
|
+
verification_token: "verificationToken"
|
|
51181
|
+
});
|
|
51182
|
+
});
|
|
51183
|
+
SDKConfirmLinkDataData$outboundSchema = objectType({
|
|
51184
|
+
linked: booleanType().optional(),
|
|
51185
|
+
state: SDKConfirmLinkState$outboundSchema.optional(),
|
|
51186
|
+
firstTime: booleanType().optional(),
|
|
51187
|
+
requestId: stringType().optional(),
|
|
51188
|
+
handle: stringType().optional(),
|
|
51189
|
+
trusted: booleanType().optional(),
|
|
51190
|
+
trustedSince: dateType().transform((v) => v.toISOString()).optional(),
|
|
51191
|
+
verificationToken: stringType().optional()
|
|
51192
|
+
}).transform((v) => {
|
|
51193
|
+
return remap(v, {
|
|
51194
|
+
firstTime: "first_time",
|
|
51195
|
+
requestId: "request_id",
|
|
51196
|
+
trustedSince: "trusted_since",
|
|
51197
|
+
verificationToken: "verification_token"
|
|
51198
|
+
});
|
|
51199
|
+
});
|
|
51200
|
+
SDKConfirmLinkError$inboundSchema = objectType({
|
|
51201
|
+
code: optional3(string4()),
|
|
51202
|
+
message: optional3(string4()),
|
|
51203
|
+
statusCode: optional3(number4())
|
|
51204
|
+
});
|
|
51205
|
+
SDKConfirmLinkError$outboundSchema = objectType({
|
|
51206
|
+
code: stringType().optional(),
|
|
51207
|
+
message: stringType().optional(),
|
|
51208
|
+
statusCode: numberType().int().optional()
|
|
51209
|
+
});
|
|
51210
|
+
SDKConfirmLinkData$inboundSchema = objectType({
|
|
51211
|
+
data: optional3(lazyType(() => SDKConfirmLinkDataData$inboundSchema)),
|
|
51212
|
+
error: optional3(lazyType(() => SDKConfirmLinkError$inboundSchema))
|
|
51213
|
+
});
|
|
51214
|
+
SDKConfirmLinkData$outboundSchema = objectType({
|
|
51215
|
+
data: lazyType(() => SDKConfirmLinkDataData$outboundSchema).optional(),
|
|
51216
|
+
error: lazyType(() => SDKConfirmLinkError$outboundSchema).optional()
|
|
51217
|
+
});
|
|
51218
|
+
SDKConfirmLinkResponse$inboundSchema = objectType({
|
|
51219
|
+
data: optional3(lazyType(() => SDKConfirmLinkData$inboundSchema))
|
|
51220
|
+
});
|
|
51221
|
+
SDKConfirmLinkResponse$outboundSchema = objectType({
|
|
51222
|
+
data: lazyType(() => SDKConfirmLinkData$outboundSchema).optional()
|
|
51223
|
+
});
|
|
51224
|
+
});
|
|
51225
|
+
|
|
50520
51226
|
// src/models/operations/sdk-create-session.ts
|
|
50521
51227
|
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;
|
|
50522
51228
|
var init_sdk_create_session = __esm(() => {
|
|
@@ -50637,7 +51343,7 @@ var init_sdk_create_session = __esm(() => {
|
|
|
50637
51343
|
});
|
|
50638
51344
|
|
|
50639
51345
|
// src/models/operations/sdk-create-verification-link.ts
|
|
50640
|
-
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;
|
|
51346
|
+
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;
|
|
50641
51347
|
var init_sdk_create_verification_link = __esm(() => {
|
|
50642
51348
|
init_v3();
|
|
50643
51349
|
init_primitives();
|
|
@@ -50660,6 +51366,15 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
50660
51366
|
LinkedAccount: "linked-account",
|
|
50661
51367
|
Private: "private"
|
|
50662
51368
|
};
|
|
51369
|
+
Delivery = {
|
|
51370
|
+
Pushed: "pushed",
|
|
51371
|
+
NotDelivered: "not_delivered",
|
|
51372
|
+
NotLinked: "not_linked"
|
|
51373
|
+
};
|
|
51374
|
+
PushSkipped = {
|
|
51375
|
+
DailyCap: "daily_cap",
|
|
51376
|
+
Unavailable: "unavailable"
|
|
51377
|
+
};
|
|
50663
51378
|
SDKCreateVerificationLinkGateType = {
|
|
50664
51379
|
Human: "human",
|
|
50665
51380
|
Age: "age"
|
|
@@ -50760,6 +51475,10 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
50760
51475
|
SDKCreateVerificationLinkOrganization$outboundSchema = objectType({
|
|
50761
51476
|
id: stringType().optional()
|
|
50762
51477
|
});
|
|
51478
|
+
Delivery$inboundSchema = inboundSchema(Delivery);
|
|
51479
|
+
Delivery$outboundSchema = outboundSchema(Delivery);
|
|
51480
|
+
PushSkipped$inboundSchema = inboundSchema(PushSkipped);
|
|
51481
|
+
PushSkipped$outboundSchema = outboundSchema(PushSkipped);
|
|
50763
51482
|
SDKCreateVerificationLinkGateType$inboundSchema = inboundSchema(SDKCreateVerificationLinkGateType);
|
|
50764
51483
|
SDKCreateVerificationLinkGateType$outboundSchema = outboundSchema(SDKCreateVerificationLinkGateType);
|
|
50765
51484
|
SDKCreateVerificationLinkAgeThreshold$inboundSchema = inboundSchemaInt(SDKCreateVerificationLinkAgeThreshold);
|
|
@@ -50777,6 +51496,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
50777
51496
|
scope: optional3(string4()),
|
|
50778
51497
|
organization: optional3(lazyType(() => SDKCreateVerificationLinkOrganization$inboundSchema)),
|
|
50779
51498
|
pushed_to_devices: number4(),
|
|
51499
|
+
delivery: optional3(Delivery$inboundSchema),
|
|
51500
|
+
push_skipped: optional3(PushSkipped$inboundSchema),
|
|
50780
51501
|
gate_type: optional3(SDKCreateVerificationLinkGateType$inboundSchema),
|
|
50781
51502
|
age_threshold: optional3(SDKCreateVerificationLinkAgeThreshold$inboundSchema),
|
|
50782
51503
|
trusted: optional3(boolean4()),
|
|
@@ -50793,6 +51514,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
50793
51514
|
sdk_type: "sdkType",
|
|
50794
51515
|
auth_mode: "authMode",
|
|
50795
51516
|
pushed_to_devices: "pushedToDevices",
|
|
51517
|
+
push_skipped: "pushSkipped",
|
|
50796
51518
|
gate_type: "gateType",
|
|
50797
51519
|
age_threshold: "ageThreshold",
|
|
50798
51520
|
notarize_fallback_reason: "notarizeFallbackReason"
|
|
@@ -50809,6 +51531,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
50809
51531
|
scope: stringType().optional(),
|
|
50810
51532
|
organization: lazyType(() => SDKCreateVerificationLinkOrganization$outboundSchema).optional(),
|
|
50811
51533
|
pushedToDevices: numberType().int(),
|
|
51534
|
+
delivery: Delivery$outboundSchema.optional(),
|
|
51535
|
+
pushSkipped: PushSkipped$outboundSchema.optional(),
|
|
50812
51536
|
gateType: SDKCreateVerificationLinkGateType$outboundSchema.optional(),
|
|
50813
51537
|
ageThreshold: SDKCreateVerificationLinkAgeThreshold$outboundSchema.optional(),
|
|
50814
51538
|
trusted: booleanType().optional(),
|
|
@@ -50825,6 +51549,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
50825
51549
|
sdkType: "sdk_type",
|
|
50826
51550
|
authMode: "auth_mode",
|
|
50827
51551
|
pushedToDevices: "pushed_to_devices",
|
|
51552
|
+
pushSkipped: "push_skipped",
|
|
50828
51553
|
gateType: "gate_type",
|
|
50829
51554
|
ageThreshold: "age_threshold",
|
|
50830
51555
|
notarizeFallbackReason: "notarize_fallback_reason"
|
|
@@ -51086,6 +51811,111 @@ var init_sdk_revoke_verification = __esm(() => {
|
|
|
51086
51811
|
});
|
|
51087
51812
|
});
|
|
51088
51813
|
|
|
51814
|
+
// src/models/operations/sdk-send-by-number.ts
|
|
51815
|
+
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;
|
|
51816
|
+
var init_sdk_send_by_number = __esm(() => {
|
|
51817
|
+
init_v3();
|
|
51818
|
+
init_primitives();
|
|
51819
|
+
init_primitives2();
|
|
51820
|
+
SDKSendByNumberStatus = {
|
|
51821
|
+
Sent: "sent"
|
|
51822
|
+
};
|
|
51823
|
+
SDKSendByNumberSecurity$inboundSchema = objectType({
|
|
51824
|
+
ApiKeyAuth: string4()
|
|
51825
|
+
}).transform((v) => {
|
|
51826
|
+
return remap(v, {
|
|
51827
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
51828
|
+
});
|
|
51829
|
+
});
|
|
51830
|
+
SDKSendByNumberSecurity$outboundSchema = objectType({
|
|
51831
|
+
apiKeyAuth: stringType()
|
|
51832
|
+
}).transform((v) => {
|
|
51833
|
+
return remap(v, {
|
|
51834
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51835
|
+
});
|
|
51836
|
+
});
|
|
51837
|
+
SDKSendByNumberRequest$inboundSchema = objectType({
|
|
51838
|
+
phone_number: string4(),
|
|
51839
|
+
act: string4(),
|
|
51840
|
+
act_label: optional3(string4())
|
|
51841
|
+
}).transform((v) => {
|
|
51842
|
+
return remap(v, {
|
|
51843
|
+
phone_number: "phoneNumber",
|
|
51844
|
+
act_label: "actLabel"
|
|
51845
|
+
});
|
|
51846
|
+
});
|
|
51847
|
+
SDKSendByNumberRequest$outboundSchema = objectType({
|
|
51848
|
+
phoneNumber: stringType(),
|
|
51849
|
+
act: stringType(),
|
|
51850
|
+
actLabel: stringType().optional()
|
|
51851
|
+
}).transform((v) => {
|
|
51852
|
+
return remap(v, {
|
|
51853
|
+
phoneNumber: "phone_number",
|
|
51854
|
+
actLabel: "act_label"
|
|
51855
|
+
});
|
|
51856
|
+
});
|
|
51857
|
+
SDKSendByNumberStatus$inboundSchema = nativeEnumType(SDKSendByNumberStatus);
|
|
51858
|
+
SDKSendByNumberStatus$outboundSchema = SDKSendByNumberStatus$inboundSchema;
|
|
51859
|
+
SDKSendByNumberDataData$inboundSchema = objectType({
|
|
51860
|
+
status: optional3(SDKSendByNumberStatus$inboundSchema),
|
|
51861
|
+
request_id: optional3(string4()),
|
|
51862
|
+
expires_at: optional3(date4()),
|
|
51863
|
+
match_number: optional3(number4())
|
|
51864
|
+
}).transform((v) => {
|
|
51865
|
+
return remap(v, {
|
|
51866
|
+
request_id: "requestId",
|
|
51867
|
+
expires_at: "expiresAt",
|
|
51868
|
+
match_number: "matchNumber"
|
|
51869
|
+
});
|
|
51870
|
+
});
|
|
51871
|
+
SDKSendByNumberDataData$outboundSchema = objectType({
|
|
51872
|
+
status: SDKSendByNumberStatus$outboundSchema.optional(),
|
|
51873
|
+
requestId: stringType().optional(),
|
|
51874
|
+
expiresAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
51875
|
+
matchNumber: numberType().int().optional()
|
|
51876
|
+
}).transform((v) => {
|
|
51877
|
+
return remap(v, {
|
|
51878
|
+
requestId: "request_id",
|
|
51879
|
+
expiresAt: "expires_at",
|
|
51880
|
+
matchNumber: "match_number"
|
|
51881
|
+
});
|
|
51882
|
+
});
|
|
51883
|
+
SDKSendByNumberError$inboundSchema = objectType({
|
|
51884
|
+
code: optional3(string4()),
|
|
51885
|
+
message: optional3(string4()),
|
|
51886
|
+
statusCode: optional3(number4()),
|
|
51887
|
+
retry_after_seconds: optional3(number4())
|
|
51888
|
+
}).transform((v) => {
|
|
51889
|
+
return remap(v, {
|
|
51890
|
+
retry_after_seconds: "retryAfterSeconds"
|
|
51891
|
+
});
|
|
51892
|
+
});
|
|
51893
|
+
SDKSendByNumberError$outboundSchema = objectType({
|
|
51894
|
+
code: stringType().optional(),
|
|
51895
|
+
message: stringType().optional(),
|
|
51896
|
+
statusCode: numberType().int().optional(),
|
|
51897
|
+
retryAfterSeconds: numberType().int().optional()
|
|
51898
|
+
}).transform((v) => {
|
|
51899
|
+
return remap(v, {
|
|
51900
|
+
retryAfterSeconds: "retry_after_seconds"
|
|
51901
|
+
});
|
|
51902
|
+
});
|
|
51903
|
+
SDKSendByNumberData$inboundSchema = objectType({
|
|
51904
|
+
data: optional3(lazyType(() => SDKSendByNumberDataData$inboundSchema)),
|
|
51905
|
+
error: optional3(lazyType(() => SDKSendByNumberError$inboundSchema))
|
|
51906
|
+
});
|
|
51907
|
+
SDKSendByNumberData$outboundSchema = objectType({
|
|
51908
|
+
data: lazyType(() => SDKSendByNumberDataData$outboundSchema).optional(),
|
|
51909
|
+
error: lazyType(() => SDKSendByNumberError$outboundSchema).optional()
|
|
51910
|
+
});
|
|
51911
|
+
SDKSendByNumberResponse$inboundSchema = objectType({
|
|
51912
|
+
data: optional3(lazyType(() => SDKSendByNumberData$inboundSchema))
|
|
51913
|
+
});
|
|
51914
|
+
SDKSendByNumberResponse$outboundSchema = objectType({
|
|
51915
|
+
data: lazyType(() => SDKSendByNumberData$outboundSchema).optional()
|
|
51916
|
+
});
|
|
51917
|
+
});
|
|
51918
|
+
|
|
51089
51919
|
// src/models/operations/sdk-store-signal.ts
|
|
51090
51920
|
var SDKStoreSignalRequest$inboundSchema, SDKStoreSignalRequest$outboundSchema, SDKStoreSignalDataData$inboundSchema, SDKStoreSignalDataData$outboundSchema, SDKStoreSignalData$inboundSchema, SDKStoreSignalData$outboundSchema, SDKStoreSignalResponse$inboundSchema, SDKStoreSignalResponse$outboundSchema;
|
|
51091
51921
|
var init_sdk_store_signal = __esm(() => {
|
|
@@ -51248,8 +52078,102 @@ var init_sdk_validate_signal = __esm(() => {
|
|
|
51248
52078
|
});
|
|
51249
52079
|
});
|
|
51250
52080
|
|
|
52081
|
+
// src/models/operations/sdk-verify-resolution.ts
|
|
52082
|
+
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;
|
|
52083
|
+
var init_sdk_verify_resolution = __esm(() => {
|
|
52084
|
+
init_v3();
|
|
52085
|
+
init_primitives();
|
|
52086
|
+
init_primitives2();
|
|
52087
|
+
init_models();
|
|
52088
|
+
SDKVerifyResolutionVerdict = {
|
|
52089
|
+
Approve: "approve"
|
|
52090
|
+
};
|
|
52091
|
+
SDKVerifyResolutionSecurity$inboundSchema = objectType({
|
|
52092
|
+
AgentKeyAuth: optional3(string4()),
|
|
52093
|
+
ApiKeyAuth: optional3(string4())
|
|
52094
|
+
}).transform((v) => {
|
|
52095
|
+
return remap(v, {
|
|
52096
|
+
AgentKeyAuth: "agentKeyAuth",
|
|
52097
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
52098
|
+
});
|
|
52099
|
+
});
|
|
52100
|
+
SDKVerifyResolutionSecurity$outboundSchema = objectType({
|
|
52101
|
+
agentKeyAuth: stringType().optional(),
|
|
52102
|
+
apiKeyAuth: stringType().optional()
|
|
52103
|
+
}).transform((v) => {
|
|
52104
|
+
return remap(v, {
|
|
52105
|
+
agentKeyAuth: "AgentKeyAuth",
|
|
52106
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
52107
|
+
});
|
|
52108
|
+
});
|
|
52109
|
+
SDKVerifyResolutionRequest$inboundSchema = objectType({
|
|
52110
|
+
token: string4()
|
|
52111
|
+
});
|
|
52112
|
+
SDKVerifyResolutionRequest$outboundSchema = objectType({
|
|
52113
|
+
token: stringType()
|
|
52114
|
+
});
|
|
52115
|
+
SDKVerifyResolutionVerdict$inboundSchema = nativeEnumType(SDKVerifyResolutionVerdict);
|
|
52116
|
+
SDKVerifyResolutionVerdict$outboundSchema = SDKVerifyResolutionVerdict$inboundSchema;
|
|
52117
|
+
SDKVerifyResolutionDataData$inboundSchema = objectType({
|
|
52118
|
+
valid: boolean4(),
|
|
52119
|
+
replayed: optional3(boolean4()),
|
|
52120
|
+
reason: optional3(string4()),
|
|
52121
|
+
request_id: optional3(string4()),
|
|
52122
|
+
verdict: optional3(SDKVerifyResolutionVerdict$inboundSchema),
|
|
52123
|
+
action: optional3(recordType(anyType())),
|
|
52124
|
+
agent_id: optional3(string4()),
|
|
52125
|
+
approved_at: optional3(date4()),
|
|
52126
|
+
expires_at: optional3(date4()),
|
|
52127
|
+
ceremony_id: nullableType(string4()).optional(),
|
|
52128
|
+
method: nullableType(string4()).optional()
|
|
52129
|
+
}).transform((v) => {
|
|
52130
|
+
return remap(v, {
|
|
52131
|
+
request_id: "requestId",
|
|
52132
|
+
agent_id: "agentId",
|
|
52133
|
+
approved_at: "approvedAt",
|
|
52134
|
+
expires_at: "expiresAt",
|
|
52135
|
+
ceremony_id: "ceremonyId"
|
|
52136
|
+
});
|
|
52137
|
+
});
|
|
52138
|
+
SDKVerifyResolutionDataData$outboundSchema = objectType({
|
|
52139
|
+
valid: booleanType(),
|
|
52140
|
+
replayed: booleanType().optional(),
|
|
52141
|
+
reason: stringType().optional(),
|
|
52142
|
+
requestId: stringType().optional(),
|
|
52143
|
+
verdict: SDKVerifyResolutionVerdict$outboundSchema.optional(),
|
|
52144
|
+
action: recordType(anyType()).optional(),
|
|
52145
|
+
agentId: stringType().optional(),
|
|
52146
|
+
approvedAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
52147
|
+
expiresAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
52148
|
+
ceremonyId: nullableType(stringType()).optional(),
|
|
52149
|
+
method: nullableType(stringType()).optional()
|
|
52150
|
+
}).transform((v) => {
|
|
52151
|
+
return remap(v, {
|
|
52152
|
+
requestId: "request_id",
|
|
52153
|
+
agentId: "agent_id",
|
|
52154
|
+
approvedAt: "approved_at",
|
|
52155
|
+
expiresAt: "expires_at",
|
|
52156
|
+
ceremonyId: "ceremony_id"
|
|
52157
|
+
});
|
|
52158
|
+
});
|
|
52159
|
+
SDKVerifyResolutionData$inboundSchema = objectType({
|
|
52160
|
+
data: optional3(lazyType(() => SDKVerifyResolutionDataData$inboundSchema)),
|
|
52161
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
52162
|
+
});
|
|
52163
|
+
SDKVerifyResolutionData$outboundSchema = objectType({
|
|
52164
|
+
data: lazyType(() => SDKVerifyResolutionDataData$outboundSchema).optional(),
|
|
52165
|
+
error: GatesApiError$outboundSchema.optional()
|
|
52166
|
+
});
|
|
52167
|
+
SDKVerifyResolutionResponse$inboundSchema = objectType({
|
|
52168
|
+
data: lazyType(() => SDKVerifyResolutionData$inboundSchema)
|
|
52169
|
+
});
|
|
52170
|
+
SDKVerifyResolutionResponse$outboundSchema = objectType({
|
|
52171
|
+
data: lazyType(() => SDKVerifyResolutionData$outboundSchema)
|
|
52172
|
+
});
|
|
52173
|
+
});
|
|
52174
|
+
|
|
51251
52175
|
// src/models/operations/sdk-verify-token.ts
|
|
51252
|
-
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;
|
|
52176
|
+
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;
|
|
51253
52177
|
var init_sdk_verify_token = __esm(() => {
|
|
51254
52178
|
init_v3();
|
|
51255
52179
|
init_primitives();
|
|
@@ -51261,10 +52185,23 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51261
52185
|
Eighteen: 18,
|
|
51262
52186
|
TwentyOne: 21
|
|
51263
52187
|
};
|
|
52188
|
+
Kind = {
|
|
52189
|
+
Verification: "verification",
|
|
52190
|
+
Action: "action"
|
|
52191
|
+
};
|
|
52192
|
+
SDKVerifyTokenEnvironment = {
|
|
52193
|
+
Development: "development",
|
|
52194
|
+
Production: "production"
|
|
52195
|
+
};
|
|
51264
52196
|
SDKVerifyTokenVerdict = {
|
|
51265
52197
|
Pass: "pass",
|
|
51266
52198
|
Unavailable: "unavailable"
|
|
51267
52199
|
};
|
|
52200
|
+
SDKVerifyTokenState = {
|
|
52201
|
+
Pending: "pending",
|
|
52202
|
+
Live: "live",
|
|
52203
|
+
NotLive: "not_live"
|
|
52204
|
+
};
|
|
51268
52205
|
SDKVerifyTokenSecurity$inboundSchema = objectType({
|
|
51269
52206
|
apiKeyAuth: optional3(string4()),
|
|
51270
52207
|
apiKeyAuth1: optional3(string4())
|
|
@@ -51275,14 +52212,28 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51275
52212
|
});
|
|
51276
52213
|
SDKVerifyTokenRequest$inboundSchema = objectType({
|
|
51277
52214
|
token: string4(),
|
|
51278
|
-
audience: optional3(string4())
|
|
52215
|
+
audience: optional3(string4()),
|
|
52216
|
+
partner_user_ref: optional3(string4())
|
|
52217
|
+
}).transform((v) => {
|
|
52218
|
+
return remap(v, {
|
|
52219
|
+
partner_user_ref: "partnerUserRef"
|
|
52220
|
+
});
|
|
51279
52221
|
});
|
|
51280
52222
|
SDKVerifyTokenRequest$outboundSchema = objectType({
|
|
51281
52223
|
token: stringType(),
|
|
51282
|
-
audience: stringType().optional()
|
|
52224
|
+
audience: stringType().optional(),
|
|
52225
|
+
partnerUserRef: stringType().optional()
|
|
52226
|
+
}).transform((v) => {
|
|
52227
|
+
return remap(v, {
|
|
52228
|
+
partnerUserRef: "partner_user_ref"
|
|
52229
|
+
});
|
|
51283
52230
|
});
|
|
51284
52231
|
AgeOver$inboundSchema = inboundSchemaInt(AgeOver);
|
|
51285
52232
|
AgeOver$outboundSchema = outboundSchemaInt(AgeOver);
|
|
52233
|
+
Kind$inboundSchema = inboundSchema(Kind);
|
|
52234
|
+
Kind$outboundSchema = outboundSchema(Kind);
|
|
52235
|
+
SDKVerifyTokenEnvironment$inboundSchema = inboundSchema(SDKVerifyTokenEnvironment);
|
|
52236
|
+
SDKVerifyTokenEnvironment$outboundSchema = outboundSchema(SDKVerifyTokenEnvironment);
|
|
51286
52237
|
Claims$inboundSchema = objectType({
|
|
51287
52238
|
request_id: optional3(string4()),
|
|
51288
52239
|
verified: optional3(boolean4()),
|
|
@@ -51296,7 +52247,10 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51296
52247
|
trusted_since: optional3(date4()),
|
|
51297
52248
|
last_pass_at: optional3(date4()),
|
|
51298
52249
|
audience: nullableType(string4()).optional(),
|
|
51299
|
-
act: optional3(string4())
|
|
52250
|
+
act: optional3(string4()),
|
|
52251
|
+
kind: nullableType(Kind$inboundSchema).optional(),
|
|
52252
|
+
environment: nullableType(SDKVerifyTokenEnvironment$inboundSchema).optional(),
|
|
52253
|
+
link_state: optional3(string4())
|
|
51300
52254
|
}).transform((v) => {
|
|
51301
52255
|
return remap(v, {
|
|
51302
52256
|
request_id: "requestId",
|
|
@@ -51305,7 +52259,8 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51305
52259
|
expires_at: "expiresAt",
|
|
51306
52260
|
age_over: "ageOver",
|
|
51307
52261
|
trusted_since: "trustedSince",
|
|
51308
|
-
last_pass_at: "lastPassAt"
|
|
52262
|
+
last_pass_at: "lastPassAt",
|
|
52263
|
+
link_state: "linkState"
|
|
51309
52264
|
});
|
|
51310
52265
|
});
|
|
51311
52266
|
Claims$outboundSchema = objectType({
|
|
@@ -51321,7 +52276,10 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51321
52276
|
trustedSince: dateType().transform((v) => v.toISOString()).optional(),
|
|
51322
52277
|
lastPassAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
51323
52278
|
audience: nullableType(stringType()).optional(),
|
|
51324
|
-
act: stringType().optional()
|
|
52279
|
+
act: stringType().optional(),
|
|
52280
|
+
kind: nullableType(Kind$outboundSchema).optional(),
|
|
52281
|
+
environment: nullableType(SDKVerifyTokenEnvironment$outboundSchema).optional(),
|
|
52282
|
+
linkState: stringType().optional()
|
|
51325
52283
|
}).transform((v) => {
|
|
51326
52284
|
return remap(v, {
|
|
51327
52285
|
requestId: "request_id",
|
|
@@ -51330,18 +52288,46 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51330
52288
|
expiresAt: "expires_at",
|
|
51331
52289
|
ageOver: "age_over",
|
|
51332
52290
|
trustedSince: "trusted_since",
|
|
51333
|
-
lastPassAt: "last_pass_at"
|
|
52291
|
+
lastPassAt: "last_pass_at",
|
|
52292
|
+
linkState: "link_state"
|
|
51334
52293
|
});
|
|
51335
52294
|
});
|
|
51336
52295
|
SDKVerifyTokenVerdict$inboundSchema = inboundSchema(SDKVerifyTokenVerdict);
|
|
51337
52296
|
SDKVerifyTokenVerdict$outboundSchema = outboundSchema(SDKVerifyTokenVerdict);
|
|
52297
|
+
SDKVerifyTokenState$inboundSchema = inboundSchema(SDKVerifyTokenState);
|
|
52298
|
+
SDKVerifyTokenState$outboundSchema = outboundSchema(SDKVerifyTokenState);
|
|
52299
|
+
SDKVerifyTokenLink$inboundSchema = objectType({
|
|
52300
|
+
state: optional3(SDKVerifyTokenState$inboundSchema),
|
|
52301
|
+
confirmed: optional3(boolean4()),
|
|
52302
|
+
handle: optional3(string4()),
|
|
52303
|
+
first_time: optional3(boolean4()),
|
|
52304
|
+
code: optional3(string4()),
|
|
52305
|
+
message: optional3(string4())
|
|
52306
|
+
}).transform((v) => {
|
|
52307
|
+
return remap(v, {
|
|
52308
|
+
first_time: "firstTime"
|
|
52309
|
+
});
|
|
52310
|
+
});
|
|
52311
|
+
SDKVerifyTokenLink$outboundSchema = objectType({
|
|
52312
|
+
state: SDKVerifyTokenState$outboundSchema.optional(),
|
|
52313
|
+
confirmed: booleanType().optional(),
|
|
52314
|
+
handle: stringType().optional(),
|
|
52315
|
+
firstTime: booleanType().optional(),
|
|
52316
|
+
code: stringType().optional(),
|
|
52317
|
+
message: stringType().optional()
|
|
52318
|
+
}).transform((v) => {
|
|
52319
|
+
return remap(v, {
|
|
52320
|
+
firstTime: "first_time"
|
|
52321
|
+
});
|
|
52322
|
+
});
|
|
51338
52323
|
SDKVerifyTokenDataData$inboundSchema = objectType({
|
|
51339
52324
|
valid: boolean4(),
|
|
51340
52325
|
reason: optional3(string4()),
|
|
51341
52326
|
expired_at: nullableType(date4()).optional(),
|
|
51342
52327
|
claims: nullableType(lazyType(() => Claims$inboundSchema)).optional(),
|
|
51343
52328
|
replayed: optional3(boolean4()),
|
|
51344
|
-
verdict: optional3(SDKVerifyTokenVerdict$inboundSchema)
|
|
52329
|
+
verdict: optional3(SDKVerifyTokenVerdict$inboundSchema),
|
|
52330
|
+
link: optional3(lazyType(() => SDKVerifyTokenLink$inboundSchema))
|
|
51345
52331
|
}).transform((v) => {
|
|
51346
52332
|
return remap(v, {
|
|
51347
52333
|
expired_at: "expiredAt"
|
|
@@ -51353,7 +52339,8 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51353
52339
|
expiredAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
51354
52340
|
claims: nullableType(lazyType(() => Claims$outboundSchema)).optional(),
|
|
51355
52341
|
replayed: booleanType().optional(),
|
|
51356
|
-
verdict: SDKVerifyTokenVerdict$outboundSchema.optional()
|
|
52342
|
+
verdict: SDKVerifyTokenVerdict$outboundSchema.optional(),
|
|
52343
|
+
link: lazyType(() => SDKVerifyTokenLink$outboundSchema).optional()
|
|
51357
52344
|
}).transform((v) => {
|
|
51358
52345
|
return remap(v, {
|
|
51359
52346
|
expiredAt: "expired_at"
|
|
@@ -51680,7 +52667,7 @@ var init_secured_accounts_status = __esm(() => {
|
|
|
51680
52667
|
});
|
|
51681
52668
|
|
|
51682
52669
|
// src/models/operations/verification-get-status.ts
|
|
51683
|
-
var VerificationGetStatusStatus, VerificationGetStatusSDKType,
|
|
52670
|
+
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;
|
|
51684
52671
|
var init_verification_get_status = __esm(() => {
|
|
51685
52672
|
init_v3();
|
|
51686
52673
|
init_primitives();
|
|
@@ -51693,6 +52680,7 @@ var init_verification_get_status = __esm(() => {
|
|
|
51693
52680
|
Pass: "pass",
|
|
51694
52681
|
Expired: "expired",
|
|
51695
52682
|
Failed: "failed",
|
|
52683
|
+
Cancelled: "cancelled",
|
|
51696
52684
|
NotFound: "not_found",
|
|
51697
52685
|
Error: "error"
|
|
51698
52686
|
};
|
|
@@ -51700,13 +52688,6 @@ var init_verification_get_status = __esm(() => {
|
|
|
51700
52688
|
Signal: "signal",
|
|
51701
52689
|
Presence: "presence"
|
|
51702
52690
|
};
|
|
51703
|
-
VerificationGetStatusReason = {
|
|
51704
|
-
AlreadyTrusted: "already_trusted",
|
|
51705
|
-
RebindRequiresPriorId: "rebind_requires_prior_id",
|
|
51706
|
-
PassLimitReached: "pass_limit_reached",
|
|
51707
|
-
RealDaysNotMet: "real_days_not_met",
|
|
51708
|
-
Unavailable: "unavailable"
|
|
51709
|
-
};
|
|
51710
52691
|
VerificationGetStatusPreset = {
|
|
51711
52692
|
Presale: "presale",
|
|
51712
52693
|
Promo: "promo",
|
|
@@ -51725,6 +52706,16 @@ var init_verification_get_status = __esm(() => {
|
|
|
51725
52706
|
Open: "open",
|
|
51726
52707
|
Closed: "closed"
|
|
51727
52708
|
};
|
|
52709
|
+
VerificationGetStatusGateType = {
|
|
52710
|
+
Human: "human",
|
|
52711
|
+
Age: "age"
|
|
52712
|
+
};
|
|
52713
|
+
LinkState = {
|
|
52714
|
+
Pending: "pending",
|
|
52715
|
+
Live: "live",
|
|
52716
|
+
Expired: "expired",
|
|
52717
|
+
Refused: "refused"
|
|
52718
|
+
};
|
|
51728
52719
|
VerificationGetStatusSecurity$inboundSchema = objectType({
|
|
51729
52720
|
apiKeyAuth: optional3(string4()),
|
|
51730
52721
|
apiKeyAuth1: optional3(string4())
|
|
@@ -51777,8 +52768,6 @@ var init_verification_get_status = __esm(() => {
|
|
|
51777
52768
|
parentRequestId: "parent_request_id"
|
|
51778
52769
|
});
|
|
51779
52770
|
});
|
|
51780
|
-
VerificationGetStatusReason$inboundSchema = inboundSchema(VerificationGetStatusReason);
|
|
51781
|
-
VerificationGetStatusReason$outboundSchema = outboundSchema(VerificationGetStatusReason);
|
|
51782
52771
|
VerificationGetStatusPreset$inboundSchema = inboundSchema(VerificationGetStatusPreset);
|
|
51783
52772
|
VerificationGetStatusPreset$outboundSchema = outboundSchema(VerificationGetStatusPreset);
|
|
51784
52773
|
Link$inboundSchema = inboundSchema(Link);
|
|
@@ -51851,6 +52840,10 @@ var init_verification_get_status = __esm(() => {
|
|
|
51851
52840
|
label: nullableType(stringType()),
|
|
51852
52841
|
linked: nullableType(booleanType())
|
|
51853
52842
|
});
|
|
52843
|
+
VerificationGetStatusGateType$inboundSchema = inboundSchema(VerificationGetStatusGateType);
|
|
52844
|
+
VerificationGetStatusGateType$outboundSchema = outboundSchema(VerificationGetStatusGateType);
|
|
52845
|
+
LinkState$inboundSchema = inboundSchema(LinkState);
|
|
52846
|
+
LinkState$outboundSchema = outboundSchema(LinkState);
|
|
51854
52847
|
VerificationGetStatusData$inboundSchema = objectType({
|
|
51855
52848
|
found: optional3(boolean4()),
|
|
51856
52849
|
status: optional3(VerificationGetStatusStatus$inboundSchema),
|
|
@@ -51868,13 +52861,23 @@ var init_verification_get_status = __esm(() => {
|
|
|
51868
52861
|
metadata: nullableType(lazyType(() => Metadata$inboundSchema)).optional(),
|
|
51869
52862
|
message: optional3(string4()),
|
|
51870
52863
|
error: optional3(ErrorBody$inboundSchema),
|
|
51871
|
-
reason: nullableType(
|
|
52864
|
+
reason: nullableType(string4()).optional(),
|
|
51872
52865
|
trusted: nullableType(boolean4()).optional(),
|
|
51873
52866
|
first_time: nullableType(boolean4()).optional(),
|
|
51874
52867
|
notarize: optional3(boolean4()),
|
|
51875
52868
|
organization_name: nullableType(string4()).optional(),
|
|
51876
52869
|
gate: nullableType(lazyType(() => Gate$inboundSchema2)).optional(),
|
|
51877
|
-
action: nullableType(lazyType(() => VerificationGetStatusAction$inboundSchema)).optional()
|
|
52870
|
+
action: nullableType(lazyType(() => VerificationGetStatusAction$inboundSchema)).optional(),
|
|
52871
|
+
organization_mark_url: nullableType(string4()).optional(),
|
|
52872
|
+
match_number: nullableType(number4()).optional(),
|
|
52873
|
+
gate_type: optional3(VerificationGetStatusGateType$inboundSchema),
|
|
52874
|
+
age_threshold: nullableType(number4()).optional(),
|
|
52875
|
+
age_verdict: nullableType(string4()).optional(),
|
|
52876
|
+
age_source: nullableType(string4()).optional(),
|
|
52877
|
+
link_state: nullableType(LinkState$inboundSchema).optional(),
|
|
52878
|
+
link_expires_at: nullableType(date4()).optional(),
|
|
52879
|
+
link_code: optional3(string4()),
|
|
52880
|
+
link_message: optional3(string4())
|
|
51878
52881
|
}).transform((v) => {
|
|
51879
52882
|
return remap(v, {
|
|
51880
52883
|
request_id: "requestId",
|
|
@@ -51888,7 +52891,17 @@ var init_verification_get_status = __esm(() => {
|
|
|
51888
52891
|
sdk_type: "sdkType",
|
|
51889
52892
|
presence_address: "presenceAddress",
|
|
51890
52893
|
first_time: "firstTime",
|
|
51891
|
-
organization_name: "organizationName"
|
|
52894
|
+
organization_name: "organizationName",
|
|
52895
|
+
organization_mark_url: "organizationMarkUrl",
|
|
52896
|
+
match_number: "matchNumber",
|
|
52897
|
+
gate_type: "gateType",
|
|
52898
|
+
age_threshold: "ageThreshold",
|
|
52899
|
+
age_verdict: "ageVerdict",
|
|
52900
|
+
age_source: "ageSource",
|
|
52901
|
+
link_state: "linkState",
|
|
52902
|
+
link_expires_at: "linkExpiresAt",
|
|
52903
|
+
link_code: "linkCode",
|
|
52904
|
+
link_message: "linkMessage"
|
|
51892
52905
|
});
|
|
51893
52906
|
});
|
|
51894
52907
|
VerificationGetStatusData$outboundSchema = objectType({
|
|
@@ -51908,13 +52921,23 @@ var init_verification_get_status = __esm(() => {
|
|
|
51908
52921
|
metadata: nullableType(lazyType(() => Metadata$outboundSchema)).optional(),
|
|
51909
52922
|
message: stringType().optional(),
|
|
51910
52923
|
error: ErrorBody$outboundSchema.optional(),
|
|
51911
|
-
reason: nullableType(
|
|
52924
|
+
reason: nullableType(stringType()).optional(),
|
|
51912
52925
|
trusted: nullableType(booleanType()).optional(),
|
|
51913
52926
|
firstTime: nullableType(booleanType()).optional(),
|
|
51914
52927
|
notarize: booleanType().optional(),
|
|
51915
52928
|
organizationName: nullableType(stringType()).optional(),
|
|
51916
52929
|
gate: nullableType(lazyType(() => Gate$outboundSchema2)).optional(),
|
|
51917
|
-
action: nullableType(lazyType(() => VerificationGetStatusAction$outboundSchema)).optional()
|
|
52930
|
+
action: nullableType(lazyType(() => VerificationGetStatusAction$outboundSchema)).optional(),
|
|
52931
|
+
organizationMarkUrl: nullableType(stringType()).optional(),
|
|
52932
|
+
matchNumber: nullableType(numberType().int()).optional(),
|
|
52933
|
+
gateType: VerificationGetStatusGateType$outboundSchema.optional(),
|
|
52934
|
+
ageThreshold: nullableType(numberType().int()).optional(),
|
|
52935
|
+
ageVerdict: nullableType(stringType()).optional(),
|
|
52936
|
+
ageSource: nullableType(stringType()).optional(),
|
|
52937
|
+
linkState: nullableType(LinkState$outboundSchema).optional(),
|
|
52938
|
+
linkExpiresAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
52939
|
+
linkCode: stringType().optional(),
|
|
52940
|
+
linkMessage: stringType().optional()
|
|
51918
52941
|
}).transform((v) => {
|
|
51919
52942
|
return remap(v, {
|
|
51920
52943
|
requestId: "request_id",
|
|
@@ -51928,7 +52951,17 @@ var init_verification_get_status = __esm(() => {
|
|
|
51928
52951
|
sdkType: "sdk_type",
|
|
51929
52952
|
presenceAddress: "presence_address",
|
|
51930
52953
|
firstTime: "first_time",
|
|
51931
|
-
organizationName: "organization_name"
|
|
52954
|
+
organizationName: "organization_name",
|
|
52955
|
+
organizationMarkUrl: "organization_mark_url",
|
|
52956
|
+
matchNumber: "match_number",
|
|
52957
|
+
gateType: "gate_type",
|
|
52958
|
+
ageThreshold: "age_threshold",
|
|
52959
|
+
ageVerdict: "age_verdict",
|
|
52960
|
+
ageSource: "age_source",
|
|
52961
|
+
linkState: "link_state",
|
|
52962
|
+
linkExpiresAt: "link_expires_at",
|
|
52963
|
+
linkCode: "link_code",
|
|
52964
|
+
linkMessage: "link_message"
|
|
51932
52965
|
});
|
|
51933
52966
|
});
|
|
51934
52967
|
VerificationGetStatusResponse$inboundSchema = objectType({
|
|
@@ -51946,9 +52979,11 @@ var init_operations = __esm(() => {
|
|
|
51946
52979
|
init_actions_propose();
|
|
51947
52980
|
init_gates_api_actions_create();
|
|
51948
52981
|
init_gates_api_actions_list();
|
|
52982
|
+
init_gates_api_actions_request_cancel();
|
|
51949
52983
|
init_gates_api_actions_request_status();
|
|
51950
52984
|
init_gates_api_actions_request();
|
|
51951
52985
|
init_gates_api_actions_set_state();
|
|
52986
|
+
init_gates_api_actions_update();
|
|
51952
52987
|
init_gates_api_activate();
|
|
51953
52988
|
init_gates_api_cancel();
|
|
51954
52989
|
init_gates_api_close();
|
|
@@ -51956,13 +52991,18 @@ var init_operations = __esm(() => {
|
|
|
51956
52991
|
init_gates_api_extend();
|
|
51957
52992
|
init_gates_api_get();
|
|
51958
52993
|
init_gates_api_list();
|
|
52994
|
+
init_request_passkey_complete();
|
|
52995
|
+
init_request_passkey_options();
|
|
52996
|
+
init_sdk_confirm_link();
|
|
51959
52997
|
init_sdk_create_session();
|
|
51960
52998
|
init_sdk_create_verification_link();
|
|
51961
52999
|
init_sdk_get_partner_config();
|
|
51962
53000
|
init_sdk_logout();
|
|
51963
53001
|
init_sdk_revoke_verification();
|
|
53002
|
+
init_sdk_send_by_number();
|
|
51964
53003
|
init_sdk_store_signal();
|
|
51965
53004
|
init_sdk_validate_signal();
|
|
53005
|
+
init_sdk_verify_resolution();
|
|
51966
53006
|
init_sdk_verify_token();
|
|
51967
53007
|
init_secured_accounts_list();
|
|
51968
53008
|
init_secured_accounts_revoke();
|
|
@@ -52313,12 +53353,12 @@ var init_actions_propose_action2 = __esm(() => {
|
|
|
52313
53353
|
function createMCPServer(deps) {
|
|
52314
53354
|
const server = new McpServer({
|
|
52315
53355
|
name: "BotShield",
|
|
52316
|
-
version: "
|
|
53356
|
+
version: "4.0.0"
|
|
52317
53357
|
});
|
|
52318
53358
|
const client = new BotShieldCore({
|
|
52319
53359
|
security: deps.security,
|
|
52320
53360
|
serverURL: deps.serverURL,
|
|
52321
|
-
|
|
53361
|
+
server: deps.server
|
|
52322
53362
|
});
|
|
52323
53363
|
const scopes = new Set(deps.scopes);
|
|
52324
53364
|
const allowedTools = deps.allowedTools && new Set(deps.allowedTools);
|
|
@@ -52374,7 +53414,7 @@ async function startStdio(flags) {
|
|
|
52374
53414
|
agentKeyAuth1: flags["agent-key-auth1"] ?? ""
|
|
52375
53415
|
},
|
|
52376
53416
|
serverURL: flags["server-url"],
|
|
52377
|
-
|
|
53417
|
+
server: flags.server
|
|
52378
53418
|
});
|
|
52379
53419
|
await server.connect(transport);
|
|
52380
53420
|
const abort = async () => {
|
|
@@ -52396,7 +53436,7 @@ async function startSSE(flags) {
|
|
|
52396
53436
|
agentKeyAuth1: flags["agent-key-auth1"] ?? ""
|
|
52397
53437
|
},
|
|
52398
53438
|
serverURL: flags["server-url"],
|
|
52399
|
-
|
|
53439
|
+
server: flags.server
|
|
52400
53440
|
});
|
|
52401
53441
|
let transport;
|
|
52402
53442
|
const controller = new AbortController;
|
|
@@ -54511,6 +55551,7 @@ function buildContext(process2) {
|
|
|
54511
55551
|
|
|
54512
55552
|
// src/mcp-server/cli/start/command.ts
|
|
54513
55553
|
init_v3();
|
|
55554
|
+
init_config();
|
|
54514
55555
|
init_console_logger();
|
|
54515
55556
|
|
|
54516
55557
|
// src/mcp-server/scopes.ts
|
|
@@ -54576,11 +55617,11 @@ var startCommand = buildCommand({
|
|
|
54576
55617
|
optional: true,
|
|
54577
55618
|
parse: (value) => new URL(value).toString()
|
|
54578
55619
|
},
|
|
54579
|
-
|
|
54580
|
-
kind: "
|
|
55620
|
+
server: {
|
|
55621
|
+
kind: "enum",
|
|
54581
55622
|
brief: "Selects a predefined server used by the SDK",
|
|
54582
55623
|
optional: true,
|
|
54583
|
-
|
|
55624
|
+
values: Object.keys(ServerList)
|
|
54584
55625
|
},
|
|
54585
55626
|
"log-level": {
|
|
54586
55627
|
kind: "enum",
|
|
@@ -54629,7 +55670,7 @@ var routes = buildRouteMap({
|
|
|
54629
55670
|
var app = buildApplication(routes, {
|
|
54630
55671
|
name: "mcp",
|
|
54631
55672
|
versionInfo: {
|
|
54632
|
-
currentVersion: "
|
|
55673
|
+
currentVersion: "4.0.0"
|
|
54633
55674
|
}
|
|
54634
55675
|
});
|
|
54635
55676
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -54637,5 +55678,5 @@ export {
|
|
|
54637
55678
|
app
|
|
54638
55679
|
};
|
|
54639
55680
|
|
|
54640
|
-
//# debugId=
|
|
55681
|
+
//# debugId=035E207DF30EAD1F64756E2164756E21
|
|
54641
55682
|
//# sourceMappingURL=mcp-server.js.map
|