botshield-sdk 2.2.0 → 2.3.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 +45 -7
- package/bin/mcp-server.js +1643 -120
- package/bin/mcp-server.js.map +40 -17
- 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-create.d.ts +18 -0
- package/dist/commonjs/funcs/gates-actions-create.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-actions-create.js +123 -0
- package/dist/commonjs/funcs/gates-actions-create.js.map +1 -0
- package/dist/commonjs/funcs/gates-actions-list.d.ts +18 -0
- package/dist/commonjs/funcs/gates-actions-list.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-actions-list.js +113 -0
- package/dist/commonjs/funcs/gates-actions-list.js.map +1 -0
- package/dist/commonjs/funcs/gates-actions-request-status.d.ts +18 -0
- package/dist/commonjs/funcs/gates-actions-request-status.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-actions-request-status.js +127 -0
- package/dist/commonjs/funcs/gates-actions-request-status.js.map +1 -0
- package/dist/commonjs/funcs/gates-actions-request.d.ts +18 -0
- package/dist/commonjs/funcs/gates-actions-request.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-actions-request.js +123 -0
- package/dist/commonjs/funcs/gates-actions-request.js.map +1 -0
- package/dist/commonjs/funcs/gates-actions-set-state.d.ts +18 -0
- package/dist/commonjs/funcs/gates-actions-set-state.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-actions-set-state.js +123 -0
- package/dist/commonjs/funcs/gates-actions-set-state.js.map +1 -0
- package/dist/commonjs/funcs/gates-activate.d.ts +18 -0
- package/dist/commonjs/funcs/gates-activate.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-activate.js +123 -0
- package/dist/commonjs/funcs/gates-activate.js.map +1 -0
- package/dist/commonjs/funcs/gates-cancel.d.ts +18 -0
- package/dist/commonjs/funcs/gates-cancel.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-cancel.js +123 -0
- package/dist/commonjs/funcs/gates-cancel.js.map +1 -0
- package/dist/commonjs/funcs/gates-close.d.ts +18 -0
- package/dist/commonjs/funcs/gates-close.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-close.js +123 -0
- package/dist/commonjs/funcs/gates-close.js.map +1 -0
- package/dist/commonjs/funcs/gates-create.d.ts +18 -0
- package/dist/commonjs/funcs/gates-create.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-create.js +123 -0
- package/dist/commonjs/funcs/gates-create.js.map +1 -0
- package/dist/commonjs/funcs/gates-extend.d.ts +18 -0
- package/dist/commonjs/funcs/gates-extend.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-extend.js +123 -0
- package/dist/commonjs/funcs/gates-extend.js.map +1 -0
- package/dist/commonjs/funcs/gates-get.d.ts +18 -0
- package/dist/commonjs/funcs/gates-get.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-get.js +126 -0
- package/dist/commonjs/funcs/gates-get.js.map +1 -0
- package/dist/commonjs/funcs/gates-list.d.ts +18 -0
- package/dist/commonjs/funcs/gates-list.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-list.js +126 -0
- package/dist/commonjs/funcs/gates-list.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/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 +71 -0
- package/dist/commonjs/models/bot-shield-action.d.ts.map +1 -0
- package/dist/commonjs/models/bot-shield-action.js +108 -0
- package/dist/commonjs/models/bot-shield-action.js.map +1 -0
- package/dist/commonjs/models/error-body.d.ts +6 -1
- package/dist/commonjs/models/error-body.d.ts.map +1 -1
- package/dist/commonjs/models/error-body.js +2 -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-policy-doc.d.ts +126 -0
- package/dist/commonjs/models/gate-policy-doc.d.ts.map +1 -0
- package/dist/commonjs/models/gate-policy-doc.js +125 -0
- package/dist/commonjs/models/gate-policy-doc.js.map +1 -0
- package/dist/commonjs/models/gate-schedule.d.ts +28 -0
- package/dist/commonjs/models/gate-schedule.d.ts.map +1 -0
- package/dist/commonjs/models/gate-schedule.js +61 -0
- package/dist/commonjs/models/gate-schedule.js.map +1 -0
- package/dist/commonjs/models/gate.d.ts +215 -0
- package/dist/commonjs/models/gate.d.ts.map +1 -0
- package/dist/commonjs/models/gate.js +236 -0
- package/dist/commonjs/models/gate.js.map +1 -0
- package/dist/commonjs/models/gates-api-error.d.ts +24 -0
- package/dist/commonjs/models/gates-api-error.d.ts.map +1 -0
- package/dist/commonjs/models/gates-api-error.js +63 -0
- package/dist/commonjs/models/gates-api-error.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +9 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +9 -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 +8 -8
- package/dist/commonjs/models/operations/actions-propose.d.ts.map +1 -1
- package/dist/commonjs/models/operations/actions-propose.js +11 -12
- package/dist/commonjs/models/operations/actions-propose.js.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-create.d.ts +94 -0
- package/dist/commonjs/models/operations/gates-api-actions-create.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-create.js +139 -0
- package/dist/commonjs/models/operations/gates-api-actions-create.js.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-list.d.ts +65 -0
- package/dist/commonjs/models/operations/gates-api-actions-list.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-list.js +119 -0
- package/dist/commonjs/models/operations/gates-api-actions-list.js.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-status.d.ts +114 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-status.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-status.js +186 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-status.js.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-request.d.ts +128 -0
- package/dist/commonjs/models/operations/gates-api-actions-request.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-request.js +189 -0
- package/dist/commonjs/models/operations/gates-api-actions-request.js.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-set-state.d.ts +96 -0
- package/dist/commonjs/models/operations/gates-api-actions-set-state.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-set-state.js +145 -0
- package/dist/commonjs/models/operations/gates-api-actions-set-state.js.map +1 -0
- package/dist/commonjs/models/operations/gates-api-activate.d.ts +84 -0
- package/dist/commonjs/models/operations/gates-api-activate.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-activate.js +135 -0
- package/dist/commonjs/models/operations/gates-api-activate.js.map +1 -0
- package/dist/commonjs/models/operations/gates-api-cancel.d.ts +84 -0
- package/dist/commonjs/models/operations/gates-api-cancel.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-cancel.js +135 -0
- package/dist/commonjs/models/operations/gates-api-cancel.js.map +1 -0
- package/dist/commonjs/models/operations/gates-api-close.d.ts +89 -0
- package/dist/commonjs/models/operations/gates-api-close.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-close.js +145 -0
- package/dist/commonjs/models/operations/gates-api-close.js.map +1 -0
- package/dist/commonjs/models/operations/gates-api-create.d.ts +173 -0
- package/dist/commonjs/models/operations/gates-api-create.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-create.js +198 -0
- package/dist/commonjs/models/operations/gates-api-create.js.map +1 -0
- package/dist/commonjs/models/operations/gates-api-extend.d.ts +99 -0
- package/dist/commonjs/models/operations/gates-api-extend.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-extend.js +141 -0
- package/dist/commonjs/models/operations/gates-api-extend.js.map +1 -0
- package/dist/commonjs/models/operations/gates-api-get.d.ts +84 -0
- package/dist/commonjs/models/operations/gates-api-get.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-get.js +135 -0
- package/dist/commonjs/models/operations/gates-api-get.js.map +1 -0
- package/dist/commonjs/models/operations/gates-api-list.d.ts +81 -0
- package/dist/commonjs/models/operations/gates-api-list.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-list.js +135 -0
- package/dist/commonjs/models/operations/gates-api-list.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +14 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +14 -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-create-verification-link.d.ts +22 -12
- package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-create-verification-link.js +17 -11
- package/dist/commonjs/models/operations/sdk-create-verification-link.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts +6 -6
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-verify-token.js +2 -4
- package/dist/commonjs/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/commonjs/models/operations/secured-accounts-status.d.ts +5 -5
- package/dist/commonjs/models/operations/secured-accounts-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/secured-accounts-status.js +6 -6
- package/dist/commonjs/models/operations/secured-accounts-status.js.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.d.ts +181 -13
- package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.js +159 -12
- package/dist/commonjs/models/operations/verification-get-status.js.map +1 -1
- package/dist/commonjs/models/passes-per-person.d.ts +34 -0
- package/dist/commonjs/models/passes-per-person.d.ts.map +1 -0
- package/dist/commonjs/models/passes-per-person.js +72 -0
- package/dist/commonjs/models/passes-per-person.js.map +1 -0
- package/dist/commonjs/sdk/census.d.ts +1 -1
- package/dist/commonjs/sdk/census.js +1 -1
- package/dist/commonjs/sdk/gates-actions.d.ts +40 -0
- package/dist/commonjs/sdk/gates-actions.d.ts.map +1 -0
- package/dist/commonjs/sdk/gates-actions.js +62 -0
- package/dist/commonjs/sdk/gates-actions.js.map +1 -0
- package/dist/commonjs/sdk/gates.d.ts +57 -0
- package/dist/commonjs/sdk/gates.d.ts.map +1 -0
- package/dist/commonjs/sdk/gates.js +87 -0
- package/dist/commonjs/sdk/gates.js.map +1 -0
- 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 +6 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +10 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- 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-create.d.ts +18 -0
- package/dist/esm/funcs/gates-actions-create.d.ts.map +1 -0
- package/dist/esm/funcs/gates-actions-create.js +87 -0
- package/dist/esm/funcs/gates-actions-create.js.map +1 -0
- package/dist/esm/funcs/gates-actions-list.d.ts +18 -0
- package/dist/esm/funcs/gates-actions-list.d.ts.map +1 -0
- package/dist/esm/funcs/gates-actions-list.js +77 -0
- package/dist/esm/funcs/gates-actions-list.js.map +1 -0
- package/dist/esm/funcs/gates-actions-request-status.d.ts +18 -0
- package/dist/esm/funcs/gates-actions-request-status.d.ts.map +1 -0
- package/dist/esm/funcs/gates-actions-request-status.js +91 -0
- package/dist/esm/funcs/gates-actions-request-status.js.map +1 -0
- package/dist/esm/funcs/gates-actions-request.d.ts +18 -0
- package/dist/esm/funcs/gates-actions-request.d.ts.map +1 -0
- package/dist/esm/funcs/gates-actions-request.js +87 -0
- package/dist/esm/funcs/gates-actions-request.js.map +1 -0
- package/dist/esm/funcs/gates-actions-set-state.d.ts +18 -0
- package/dist/esm/funcs/gates-actions-set-state.d.ts.map +1 -0
- package/dist/esm/funcs/gates-actions-set-state.js +87 -0
- package/dist/esm/funcs/gates-actions-set-state.js.map +1 -0
- package/dist/esm/funcs/gates-activate.d.ts +18 -0
- package/dist/esm/funcs/gates-activate.d.ts.map +1 -0
- package/dist/esm/funcs/gates-activate.js +87 -0
- package/dist/esm/funcs/gates-activate.js.map +1 -0
- package/dist/esm/funcs/gates-cancel.d.ts +18 -0
- package/dist/esm/funcs/gates-cancel.d.ts.map +1 -0
- package/dist/esm/funcs/gates-cancel.js +87 -0
- package/dist/esm/funcs/gates-cancel.js.map +1 -0
- package/dist/esm/funcs/gates-close.d.ts +18 -0
- package/dist/esm/funcs/gates-close.d.ts.map +1 -0
- package/dist/esm/funcs/gates-close.js +87 -0
- package/dist/esm/funcs/gates-close.js.map +1 -0
- package/dist/esm/funcs/gates-create.d.ts +18 -0
- package/dist/esm/funcs/gates-create.d.ts.map +1 -0
- package/dist/esm/funcs/gates-create.js +87 -0
- package/dist/esm/funcs/gates-create.js.map +1 -0
- package/dist/esm/funcs/gates-extend.d.ts +18 -0
- package/dist/esm/funcs/gates-extend.d.ts.map +1 -0
- package/dist/esm/funcs/gates-extend.js +87 -0
- package/dist/esm/funcs/gates-extend.js.map +1 -0
- package/dist/esm/funcs/gates-get.d.ts +18 -0
- package/dist/esm/funcs/gates-get.d.ts.map +1 -0
- package/dist/esm/funcs/gates-get.js +90 -0
- package/dist/esm/funcs/gates-get.js.map +1 -0
- package/dist/esm/funcs/gates-list.d.ts +18 -0
- package/dist/esm/funcs/gates-list.d.ts.map +1 -0
- package/dist/esm/funcs/gates-list.js +90 -0
- package/dist/esm/funcs/gates-list.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/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 +71 -0
- package/dist/esm/models/bot-shield-action.d.ts.map +1 -0
- package/dist/esm/models/bot-shield-action.js +70 -0
- package/dist/esm/models/bot-shield-action.js.map +1 -0
- package/dist/esm/models/error-body.d.ts +6 -1
- package/dist/esm/models/error-body.d.ts.map +1 -1
- package/dist/esm/models/error-body.js +2 -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-policy-doc.d.ts +126 -0
- package/dist/esm/models/gate-policy-doc.d.ts.map +1 -0
- package/dist/esm/models/gate-policy-doc.js +87 -0
- package/dist/esm/models/gate-policy-doc.js.map +1 -0
- package/dist/esm/models/gate-schedule.d.ts +28 -0
- package/dist/esm/models/gate-schedule.d.ts.map +1 -0
- package/dist/esm/models/gate-schedule.js +23 -0
- package/dist/esm/models/gate-schedule.js.map +1 -0
- package/dist/esm/models/gate.d.ts +215 -0
- package/dist/esm/models/gate.d.ts.map +1 -0
- package/dist/esm/models/gate.js +194 -0
- package/dist/esm/models/gate.js.map +1 -0
- package/dist/esm/models/gates-api-error.d.ts +24 -0
- package/dist/esm/models/gates-api-error.d.ts.map +1 -0
- package/dist/esm/models/gates-api-error.js +25 -0
- package/dist/esm/models/gates-api-error.js.map +1 -0
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +9 -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 +8 -8
- package/dist/esm/models/operations/actions-propose.d.ts.map +1 -1
- package/dist/esm/models/operations/actions-propose.js +8 -9
- package/dist/esm/models/operations/actions-propose.js.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-create.d.ts +94 -0
- package/dist/esm/models/operations/gates-api-actions-create.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-create.js +93 -0
- package/dist/esm/models/operations/gates-api-actions-create.js.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-list.d.ts +65 -0
- package/dist/esm/models/operations/gates-api-actions-list.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-list.js +75 -0
- package/dist/esm/models/operations/gates-api-actions-list.js.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-request-status.d.ts +114 -0
- package/dist/esm/models/operations/gates-api-actions-request-status.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-request-status.js +140 -0
- package/dist/esm/models/operations/gates-api-actions-request-status.js.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-request.d.ts +128 -0
- package/dist/esm/models/operations/gates-api-actions-request.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-request.js +143 -0
- package/dist/esm/models/operations/gates-api-actions-request.js.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-set-state.d.ts +96 -0
- package/dist/esm/models/operations/gates-api-actions-set-state.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-set-state.js +99 -0
- package/dist/esm/models/operations/gates-api-actions-set-state.js.map +1 -0
- package/dist/esm/models/operations/gates-api-activate.d.ts +84 -0
- package/dist/esm/models/operations/gates-api-activate.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-activate.js +89 -0
- package/dist/esm/models/operations/gates-api-activate.js.map +1 -0
- package/dist/esm/models/operations/gates-api-cancel.d.ts +84 -0
- package/dist/esm/models/operations/gates-api-cancel.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-cancel.js +89 -0
- package/dist/esm/models/operations/gates-api-cancel.js.map +1 -0
- package/dist/esm/models/operations/gates-api-close.d.ts +89 -0
- package/dist/esm/models/operations/gates-api-close.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-close.js +99 -0
- package/dist/esm/models/operations/gates-api-close.js.map +1 -0
- package/dist/esm/models/operations/gates-api-create.d.ts +173 -0
- package/dist/esm/models/operations/gates-api-create.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-create.js +152 -0
- package/dist/esm/models/operations/gates-api-create.js.map +1 -0
- package/dist/esm/models/operations/gates-api-extend.d.ts +99 -0
- package/dist/esm/models/operations/gates-api-extend.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-extend.js +95 -0
- package/dist/esm/models/operations/gates-api-extend.js.map +1 -0
- package/dist/esm/models/operations/gates-api-get.d.ts +84 -0
- package/dist/esm/models/operations/gates-api-get.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-get.js +89 -0
- package/dist/esm/models/operations/gates-api-get.js.map +1 -0
- package/dist/esm/models/operations/gates-api-list.d.ts +81 -0
- package/dist/esm/models/operations/gates-api-list.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-list.js +89 -0
- package/dist/esm/models/operations/gates-api-list.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +14 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +14 -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-create-verification-link.d.ts +22 -12
- package/dist/esm/models/operations/sdk-create-verification-link.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-create-verification-link.js +16 -10
- package/dist/esm/models/operations/sdk-create-verification-link.js.map +1 -1
- package/dist/esm/models/operations/sdk-verify-token.d.ts +6 -6
- package/dist/esm/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-verify-token.js +2 -4
- package/dist/esm/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/esm/models/operations/secured-accounts-status.d.ts +5 -5
- package/dist/esm/models/operations/secured-accounts-status.d.ts.map +1 -1
- package/dist/esm/models/operations/secured-accounts-status.js +5 -5
- package/dist/esm/models/operations/secured-accounts-status.js.map +1 -1
- package/dist/esm/models/operations/verification-get-status.d.ts +181 -13
- package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/esm/models/operations/verification-get-status.js +154 -11
- package/dist/esm/models/operations/verification-get-status.js.map +1 -1
- package/dist/esm/models/passes-per-person.d.ts +34 -0
- package/dist/esm/models/passes-per-person.d.ts.map +1 -0
- package/dist/esm/models/passes-per-person.js +34 -0
- package/dist/esm/models/passes-per-person.js.map +1 -0
- package/dist/esm/sdk/census.d.ts +1 -1
- package/dist/esm/sdk/census.js +1 -1
- package/dist/esm/sdk/gates-actions.d.ts +40 -0
- package/dist/esm/sdk/gates-actions.d.ts.map +1 -0
- package/dist/esm/sdk/gates-actions.js +58 -0
- package/dist/esm/sdk/gates-actions.js.map +1 -0
- package/dist/esm/sdk/gates.d.ts +57 -0
- package/dist/esm/sdk/gates.d.ts.map +1 -0
- package/dist/esm/sdk/gates.js +83 -0
- package/dist/esm/sdk/gates.js.map +1 -0
- 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 +6 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +10 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/census-verify-token.ts +1 -1
- package/src/funcs/gates-actions-create.ts +185 -0
- package/src/funcs/gates-actions-list.ts +166 -0
- package/src/funcs/gates-actions-request-status.ts +192 -0
- package/src/funcs/gates-actions-request.ts +185 -0
- package/src/funcs/gates-actions-set-state.ts +185 -0
- package/src/funcs/gates-activate.ts +184 -0
- package/src/funcs/gates-cancel.ts +184 -0
- package/src/funcs/gates-close.ts +184 -0
- package/src/funcs/gates-create.ts +184 -0
- package/src/funcs/gates-extend.ts +184 -0
- package/src/funcs/gates-get.ts +188 -0
- package/src/funcs/gates-list.ts +189 -0
- package/src/funcs/inline-passkey-complete.ts +172 -0
- package/src/funcs/inline-passkey-get-options.ts +172 -0
- 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 +156 -0
- package/src/models/error-body.ts +8 -1
- package/src/models/gate-human-verified-event.ts +181 -0
- package/src/models/gate-policy-doc.ts +202 -0
- package/src/models/gate-schedule.ts +61 -0
- package/src/models/gate.ts +424 -0
- package/src/models/gates-api-error.ts +59 -0
- package/src/models/index.ts +9 -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 +34 -27
- package/src/models/operations/gates-api-actions-create.ts +274 -0
- package/src/models/operations/gates-api-actions-list.ts +207 -0
- package/src/models/operations/gates-api-actions-request-status.ts +348 -0
- package/src/models/operations/gates-api-actions-request.ts +359 -0
- package/src/models/operations/gates-api-actions-set-state.ts +284 -0
- package/src/models/operations/gates-api-activate.ts +250 -0
- package/src/models/operations/gates-api-cancel.ts +250 -0
- package/src/models/operations/gates-api-close.ts +265 -0
- package/src/models/operations/gates-api-create.ts +387 -0
- package/src/models/operations/gates-api-extend.ts +271 -0
- package/src/models/operations/gates-api-get.ts +248 -0
- package/src/models/operations/gates-api-list.ts +247 -0
- package/src/models/operations/index.ts +14 -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-create-verification-link.ts +46 -24
- package/src/models/operations/sdk-verify-token.ts +8 -10
- package/src/models/operations/secured-accounts-status.ts +17 -9
- package/src/models/operations/verification-get-status.ts +352 -20
- package/src/models/passes-per-person.ts +74 -0
- package/src/sdk/census.ts +1 -1
- package/src/sdk/gates-actions.ts +107 -0
- package/src/sdk/gates.ts +155 -0
- package/src/sdk/inline-passkey.ts +49 -0
- package/src/sdk/sdk.ts +12 -0
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: "2.3.0",
|
|
3924
|
+
genVersion: "2.934.1",
|
|
3925
|
+
userAgent: "speakeasy-sdk/typescript 2.3.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.0",
|
|
47253
|
-
genVersion: "2.934.1",
|
|
47254
|
-
userAgent: "speakeasy-sdk/typescript 2.2.0 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 = {};
|
|
@@ -48926,6 +48924,61 @@ var init_primitives2 = __esm(() => {
|
|
|
48926
48924
|
init_unrecognized();
|
|
48927
48925
|
});
|
|
48928
48926
|
|
|
48927
|
+
// src/models/bot-shield-action.ts
|
|
48928
|
+
var BotShieldActionState, BotShieldActionEnvironment, BotShieldActionState$inboundSchema, BotShieldActionState$outboundSchema, BotShieldActionEnvironment$inboundSchema, BotShieldActionEnvironment$outboundSchema, BotShieldAction$inboundSchema, BotShieldAction$outboundSchema;
|
|
48929
|
+
var init_bot_shield_action = __esm(() => {
|
|
48930
|
+
init_v3();
|
|
48931
|
+
init_primitives();
|
|
48932
|
+
init_enums();
|
|
48933
|
+
init_primitives2();
|
|
48934
|
+
BotShieldActionState = {
|
|
48935
|
+
Live: "live",
|
|
48936
|
+
Off: "off"
|
|
48937
|
+
};
|
|
48938
|
+
BotShieldActionEnvironment = {
|
|
48939
|
+
Development: "development",
|
|
48940
|
+
Production: "production"
|
|
48941
|
+
};
|
|
48942
|
+
BotShieldActionState$inboundSchema = inboundSchema(BotShieldActionState);
|
|
48943
|
+
BotShieldActionState$outboundSchema = outboundSchema(BotShieldActionState);
|
|
48944
|
+
BotShieldActionEnvironment$inboundSchema = inboundSchema(BotShieldActionEnvironment);
|
|
48945
|
+
BotShieldActionEnvironment$outboundSchema = outboundSchema(BotShieldActionEnvironment);
|
|
48946
|
+
BotShieldAction$inboundSchema = objectType({
|
|
48947
|
+
id: string4(),
|
|
48948
|
+
name: string4(),
|
|
48949
|
+
act_key: string4(),
|
|
48950
|
+
where_url: nullable3(string4()),
|
|
48951
|
+
state: BotShieldActionState$inboundSchema,
|
|
48952
|
+
environment: BotShieldActionEnvironment$inboundSchema,
|
|
48953
|
+
placed_at: date4(),
|
|
48954
|
+
turned_off_at: nullable3(date4())
|
|
48955
|
+
}).transform((v) => {
|
|
48956
|
+
return remap(v, {
|
|
48957
|
+
act_key: "actKey",
|
|
48958
|
+
where_url: "whereUrl",
|
|
48959
|
+
placed_at: "placedAt",
|
|
48960
|
+
turned_off_at: "turnedOffAt"
|
|
48961
|
+
});
|
|
48962
|
+
});
|
|
48963
|
+
BotShieldAction$outboundSchema = objectType({
|
|
48964
|
+
id: stringType(),
|
|
48965
|
+
name: stringType(),
|
|
48966
|
+
actKey: stringType(),
|
|
48967
|
+
whereUrl: nullableType(stringType()),
|
|
48968
|
+
state: BotShieldActionState$outboundSchema,
|
|
48969
|
+
environment: BotShieldActionEnvironment$outboundSchema,
|
|
48970
|
+
placedAt: dateType().transform((v) => v.toISOString()),
|
|
48971
|
+
turnedOffAt: nullableType(dateType().transform((v) => v.toISOString()))
|
|
48972
|
+
}).transform((v) => {
|
|
48973
|
+
return remap(v, {
|
|
48974
|
+
actKey: "act_key",
|
|
48975
|
+
whereUrl: "where_url",
|
|
48976
|
+
placedAt: "placed_at",
|
|
48977
|
+
turnedOffAt: "turned_off_at"
|
|
48978
|
+
});
|
|
48979
|
+
});
|
|
48980
|
+
});
|
|
48981
|
+
|
|
48929
48982
|
// src/models/error-body.ts
|
|
48930
48983
|
var Reason, Violation$inboundSchema, Violation$outboundSchema, Reason$inboundSchema, Reason$outboundSchema, Limits$inboundSchema, Limits$outboundSchema, ErrorBody$inboundSchema, ErrorBody$outboundSchema;
|
|
48931
48984
|
var init_error_body = __esm(() => {
|
|
@@ -48972,7 +49025,8 @@ var init_error_body = __esm(() => {
|
|
|
48972
49025
|
bucket: optional3(string4()),
|
|
48973
49026
|
retry_in: optional3(number4()),
|
|
48974
49027
|
limits: optional3(lazyType(() => Limits$inboundSchema)),
|
|
48975
|
-
upgrade_url: optional3(string4())
|
|
49028
|
+
upgrade_url: optional3(string4()),
|
|
49029
|
+
url: optional3(string4())
|
|
48976
49030
|
}).transform((v) => {
|
|
48977
49031
|
return remap(v, {
|
|
48978
49032
|
min_ttl_seconds: "minTtlSeconds",
|
|
@@ -48995,7 +49049,8 @@ var init_error_body = __esm(() => {
|
|
|
48995
49049
|
bucket: stringType().optional(),
|
|
48996
49050
|
retryIn: numberType().int().optional(),
|
|
48997
49051
|
limits: lazyType(() => Limits$outboundSchema).optional(),
|
|
48998
|
-
upgradeUrl: stringType().optional()
|
|
49052
|
+
upgradeUrl: stringType().optional(),
|
|
49053
|
+
url: stringType().optional()
|
|
48999
49054
|
}).transform((v) => {
|
|
49000
49055
|
return remap(v, {
|
|
49001
49056
|
minTtlSeconds: "min_ttl_seconds",
|
|
@@ -49022,6 +49077,414 @@ var init_error_response = __esm(() => {
|
|
|
49022
49077
|
});
|
|
49023
49078
|
});
|
|
49024
49079
|
|
|
49080
|
+
// src/models/gate-human-verified-event.ts
|
|
49081
|
+
var GateHumanVerifiedEventType, Verdict, GateHumanVerifiedEventEnvironment, GateHumanVerifiedEventType$inboundSchema, GateHumanVerifiedEventType$outboundSchema, Verdict$inboundSchema, Verdict$outboundSchema, GateHumanVerifiedEventEnvironment$inboundSchema, GateHumanVerifiedEventEnvironment$outboundSchema, GateHumanVerifiedEvent$inboundSchema, GateHumanVerifiedEvent$outboundSchema;
|
|
49082
|
+
var init_gate_human_verified_event = __esm(() => {
|
|
49083
|
+
init_v3();
|
|
49084
|
+
init_primitives();
|
|
49085
|
+
init_primitives2();
|
|
49086
|
+
GateHumanVerifiedEventType = {
|
|
49087
|
+
GateHumanVerified: "gate.human_verified"
|
|
49088
|
+
};
|
|
49089
|
+
Verdict = {
|
|
49090
|
+
Pass: "pass"
|
|
49091
|
+
};
|
|
49092
|
+
GateHumanVerifiedEventEnvironment = {
|
|
49093
|
+
Development: "development",
|
|
49094
|
+
Production: "production"
|
|
49095
|
+
};
|
|
49096
|
+
GateHumanVerifiedEventType$inboundSchema = nativeEnumType(GateHumanVerifiedEventType);
|
|
49097
|
+
GateHumanVerifiedEventType$outboundSchema = GateHumanVerifiedEventType$inboundSchema;
|
|
49098
|
+
Verdict$inboundSchema = nativeEnumType(Verdict);
|
|
49099
|
+
Verdict$outboundSchema = Verdict$inboundSchema;
|
|
49100
|
+
GateHumanVerifiedEventEnvironment$inboundSchema = nativeEnumType(GateHumanVerifiedEventEnvironment);
|
|
49101
|
+
GateHumanVerifiedEventEnvironment$outboundSchema = GateHumanVerifiedEventEnvironment$inboundSchema;
|
|
49102
|
+
GateHumanVerifiedEvent$inboundSchema = objectType({
|
|
49103
|
+
type: GateHumanVerifiedEventType$inboundSchema,
|
|
49104
|
+
event_id: string4(),
|
|
49105
|
+
request_id: string4(),
|
|
49106
|
+
verified_at: date4(),
|
|
49107
|
+
verdict: Verdict$inboundSchema,
|
|
49108
|
+
trusted: boolean4(),
|
|
49109
|
+
first_time: boolean4(),
|
|
49110
|
+
handle: optional3(string4()),
|
|
49111
|
+
environment: GateHumanVerifiedEventEnvironment$inboundSchema,
|
|
49112
|
+
product: optional3(string4()),
|
|
49113
|
+
act: optional3(string4()),
|
|
49114
|
+
metadata: optional3(recordType(anyType()))
|
|
49115
|
+
}).transform((v) => {
|
|
49116
|
+
return remap(v, {
|
|
49117
|
+
event_id: "eventId",
|
|
49118
|
+
request_id: "requestId",
|
|
49119
|
+
verified_at: "verifiedAt",
|
|
49120
|
+
first_time: "firstTime"
|
|
49121
|
+
});
|
|
49122
|
+
});
|
|
49123
|
+
GateHumanVerifiedEvent$outboundSchema = objectType({
|
|
49124
|
+
type: GateHumanVerifiedEventType$outboundSchema,
|
|
49125
|
+
eventId: stringType(),
|
|
49126
|
+
requestId: stringType(),
|
|
49127
|
+
verifiedAt: dateType().transform((v) => v.toISOString()),
|
|
49128
|
+
verdict: Verdict$outboundSchema,
|
|
49129
|
+
trusted: booleanType(),
|
|
49130
|
+
firstTime: booleanType(),
|
|
49131
|
+
handle: stringType().optional(),
|
|
49132
|
+
environment: GateHumanVerifiedEventEnvironment$outboundSchema,
|
|
49133
|
+
product: stringType().optional(),
|
|
49134
|
+
act: stringType().optional(),
|
|
49135
|
+
metadata: recordType(anyType()).optional()
|
|
49136
|
+
}).transform((v) => {
|
|
49137
|
+
return remap(v, {
|
|
49138
|
+
eventId: "event_id",
|
|
49139
|
+
requestId: "request_id",
|
|
49140
|
+
verifiedAt: "verified_at",
|
|
49141
|
+
firstTime: "first_time"
|
|
49142
|
+
});
|
|
49143
|
+
});
|
|
49144
|
+
});
|
|
49145
|
+
|
|
49146
|
+
// src/models/gate-schedule.ts
|
|
49147
|
+
var GateSchedule$inboundSchema, GateSchedule$outboundSchema;
|
|
49148
|
+
var init_gate_schedule = __esm(() => {
|
|
49149
|
+
init_v3();
|
|
49150
|
+
init_primitives2();
|
|
49151
|
+
GateSchedule$inboundSchema = objectType({
|
|
49152
|
+
opensAt: nullableType(date4()).optional(),
|
|
49153
|
+
closesAt: nullableType(date4()).optional()
|
|
49154
|
+
});
|
|
49155
|
+
GateSchedule$outboundSchema = objectType({
|
|
49156
|
+
opensAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
49157
|
+
closesAt: nullableType(dateType().transform((v) => v.toISOString())).optional()
|
|
49158
|
+
});
|
|
49159
|
+
});
|
|
49160
|
+
|
|
49161
|
+
// src/models/passes-per-person.ts
|
|
49162
|
+
var Window, Window$inboundSchema, Window$outboundSchema, PassesPerPerson$inboundSchema, PassesPerPerson$outboundSchema;
|
|
49163
|
+
var init_passes_per_person = __esm(() => {
|
|
49164
|
+
init_v3();
|
|
49165
|
+
init_enums();
|
|
49166
|
+
init_primitives2();
|
|
49167
|
+
Window = {
|
|
49168
|
+
Day: "day",
|
|
49169
|
+
Week: "week",
|
|
49170
|
+
Thirtyd: "30d",
|
|
49171
|
+
Ever: "ever"
|
|
49172
|
+
};
|
|
49173
|
+
Window$inboundSchema = inboundSchema(Window);
|
|
49174
|
+
Window$outboundSchema = outboundSchema(Window);
|
|
49175
|
+
PassesPerPerson$inboundSchema = objectType({
|
|
49176
|
+
limit: number4(),
|
|
49177
|
+
window: Window$inboundSchema
|
|
49178
|
+
});
|
|
49179
|
+
PassesPerPerson$outboundSchema = objectType({
|
|
49180
|
+
limit: numberType().int(),
|
|
49181
|
+
window: Window$outboundSchema
|
|
49182
|
+
});
|
|
49183
|
+
});
|
|
49184
|
+
|
|
49185
|
+
// src/models/gate-policy-doc.ts
|
|
49186
|
+
var Version, GatePolicyDocPreset, GatePolicyDocLink, Asks, Version$inboundSchema, Version$outboundSchema, GatePolicyDocPreset$inboundSchema, GatePolicyDocPreset$outboundSchema, GatePolicyDocLink$inboundSchema, GatePolicyDocLink$outboundSchema, Asks$inboundSchema, Asks$outboundSchema, GatePolicyDoc$inboundSchema, GatePolicyDoc$outboundSchema;
|
|
49187
|
+
var init_gate_policy_doc = __esm(() => {
|
|
49188
|
+
init_v3();
|
|
49189
|
+
init_primitives2();
|
|
49190
|
+
init_gate_schedule();
|
|
49191
|
+
init_passes_per_person();
|
|
49192
|
+
Version = {
|
|
49193
|
+
One: 1,
|
|
49194
|
+
Two: 2,
|
|
49195
|
+
Three: 3
|
|
49196
|
+
};
|
|
49197
|
+
GatePolicyDocPreset = {
|
|
49198
|
+
Presale: "presale",
|
|
49199
|
+
Promo: "promo",
|
|
49200
|
+
Drop: "drop",
|
|
49201
|
+
Vote: "vote",
|
|
49202
|
+
Reservation: "reservation",
|
|
49203
|
+
Claim: "claim"
|
|
49204
|
+
};
|
|
49205
|
+
GatePolicyDocLink = {
|
|
49206
|
+
Required: "required",
|
|
49207
|
+
Optional: "optional",
|
|
49208
|
+
Never: "never"
|
|
49209
|
+
};
|
|
49210
|
+
Asks = {
|
|
49211
|
+
Always: "always"
|
|
49212
|
+
};
|
|
49213
|
+
Version$inboundSchema = nativeEnumType(Version);
|
|
49214
|
+
Version$outboundSchema = Version$inboundSchema;
|
|
49215
|
+
GatePolicyDocPreset$inboundSchema = nativeEnumType(GatePolicyDocPreset);
|
|
49216
|
+
GatePolicyDocPreset$outboundSchema = GatePolicyDocPreset$inboundSchema;
|
|
49217
|
+
GatePolicyDocLink$inboundSchema = nativeEnumType(GatePolicyDocLink);
|
|
49218
|
+
GatePolicyDocLink$outboundSchema = GatePolicyDocLink$inboundSchema;
|
|
49219
|
+
Asks$inboundSchema = nativeEnumType(Asks);
|
|
49220
|
+
Asks$outboundSchema = Asks$inboundSchema;
|
|
49221
|
+
GatePolicyDoc$inboundSchema = objectType({
|
|
49222
|
+
version: Version$inboundSchema,
|
|
49223
|
+
preset: nullableType(GatePolicyDocPreset$inboundSchema).optional(),
|
|
49224
|
+
link: optional3(GatePolicyDocLink$inboundSchema),
|
|
49225
|
+
signedUp: optional3(boolean4()),
|
|
49226
|
+
schedule: optional3(GateSchedule$inboundSchema),
|
|
49227
|
+
asks: optional3(Asks$inboundSchema),
|
|
49228
|
+
passesPerPerson: nullableType(PassesPerPerson$inboundSchema).optional(),
|
|
49229
|
+
realDaysAtLeast: optional3(number4())
|
|
49230
|
+
});
|
|
49231
|
+
GatePolicyDoc$outboundSchema = objectType({
|
|
49232
|
+
version: Version$outboundSchema,
|
|
49233
|
+
preset: nullableType(GatePolicyDocPreset$outboundSchema).optional(),
|
|
49234
|
+
link: GatePolicyDocLink$outboundSchema.optional(),
|
|
49235
|
+
signedUp: booleanType().optional(),
|
|
49236
|
+
schedule: GateSchedule$outboundSchema.optional(),
|
|
49237
|
+
asks: Asks$outboundSchema.optional(),
|
|
49238
|
+
passesPerPerson: nullableType(PassesPerPerson$outboundSchema).optional(),
|
|
49239
|
+
realDaysAtLeast: numberType().int().optional()
|
|
49240
|
+
});
|
|
49241
|
+
});
|
|
49242
|
+
|
|
49243
|
+
// src/models/gate.ts
|
|
49244
|
+
var Status, GateState, GateEnvironment, GatePreset, GateType, AgeThreshold, GateLink, Status$inboundSchema, Status$outboundSchema, GateState$inboundSchema, GateState$outboundSchema, GateEnvironment$inboundSchema, GateEnvironment$outboundSchema, GatePreset$inboundSchema, GatePreset$outboundSchema, GateType$inboundSchema, GateType$outboundSchema, AgeThreshold$inboundSchema, AgeThreshold$outboundSchema, GateLink$inboundSchema, GateLink$outboundSchema, Schedule$inboundSchema, Schedule$outboundSchema, Policy$inboundSchema, Policy$outboundSchema, Gate$inboundSchema, Gate$outboundSchema;
|
|
49245
|
+
var init_gate = __esm(() => {
|
|
49246
|
+
init_v3();
|
|
49247
|
+
init_primitives();
|
|
49248
|
+
init_enums();
|
|
49249
|
+
init_primitives2();
|
|
49250
|
+
init_passes_per_person();
|
|
49251
|
+
Status = {
|
|
49252
|
+
Draft: "draft",
|
|
49253
|
+
Active: "active",
|
|
49254
|
+
Closed: "closed"
|
|
49255
|
+
};
|
|
49256
|
+
GateState = {
|
|
49257
|
+
Scheduled: "scheduled",
|
|
49258
|
+
Open: "open",
|
|
49259
|
+
Closed: "closed"
|
|
49260
|
+
};
|
|
49261
|
+
GateEnvironment = {
|
|
49262
|
+
Development: "development",
|
|
49263
|
+
Production: "production"
|
|
49264
|
+
};
|
|
49265
|
+
GatePreset = {
|
|
49266
|
+
Presale: "presale",
|
|
49267
|
+
Promo: "promo",
|
|
49268
|
+
Drop: "drop",
|
|
49269
|
+
Vote: "vote",
|
|
49270
|
+
Reservation: "reservation",
|
|
49271
|
+
Claim: "claim"
|
|
49272
|
+
};
|
|
49273
|
+
GateType = {
|
|
49274
|
+
Human: "human",
|
|
49275
|
+
Age: "age"
|
|
49276
|
+
};
|
|
49277
|
+
AgeThreshold = {
|
|
49278
|
+
Thirteen: 13,
|
|
49279
|
+
Eighteen: 18,
|
|
49280
|
+
TwentyOne: 21
|
|
49281
|
+
};
|
|
49282
|
+
GateLink = {
|
|
49283
|
+
Required: "required",
|
|
49284
|
+
Optional: "optional",
|
|
49285
|
+
Never: "never"
|
|
49286
|
+
};
|
|
49287
|
+
Status$inboundSchema = inboundSchema(Status);
|
|
49288
|
+
Status$outboundSchema = outboundSchema(Status);
|
|
49289
|
+
GateState$inboundSchema = inboundSchema(GateState);
|
|
49290
|
+
GateState$outboundSchema = outboundSchema(GateState);
|
|
49291
|
+
GateEnvironment$inboundSchema = inboundSchema(GateEnvironment);
|
|
49292
|
+
GateEnvironment$outboundSchema = outboundSchema(GateEnvironment);
|
|
49293
|
+
GatePreset$inboundSchema = inboundSchema(GatePreset);
|
|
49294
|
+
GatePreset$outboundSchema = outboundSchema(GatePreset);
|
|
49295
|
+
GateType$inboundSchema = inboundSchema(GateType);
|
|
49296
|
+
GateType$outboundSchema = outboundSchema(GateType);
|
|
49297
|
+
AgeThreshold$inboundSchema = inboundSchemaInt(AgeThreshold);
|
|
49298
|
+
AgeThreshold$outboundSchema = outboundSchemaInt(AgeThreshold);
|
|
49299
|
+
GateLink$inboundSchema = inboundSchema(GateLink);
|
|
49300
|
+
GateLink$outboundSchema = outboundSchema(GateLink);
|
|
49301
|
+
Schedule$inboundSchema = objectType({
|
|
49302
|
+
opensAt: nullable3(date4()),
|
|
49303
|
+
closesAt: nullable3(date4())
|
|
49304
|
+
});
|
|
49305
|
+
Schedule$outboundSchema = objectType({
|
|
49306
|
+
opensAt: nullableType(dateType().transform((v) => v.toISOString())),
|
|
49307
|
+
closesAt: nullableType(dateType().transform((v) => v.toISOString()))
|
|
49308
|
+
});
|
|
49309
|
+
Policy$inboundSchema = objectType({
|
|
49310
|
+
preset: nullable3(GatePreset$inboundSchema),
|
|
49311
|
+
gate_type: GateType$inboundSchema,
|
|
49312
|
+
age_threshold: nullable3(AgeThreshold$inboundSchema),
|
|
49313
|
+
signed_up: boolean4(),
|
|
49314
|
+
link: GateLink$inboundSchema,
|
|
49315
|
+
passes_per_person: nullable3(PassesPerPerson$inboundSchema),
|
|
49316
|
+
real_days_at_least: number4(),
|
|
49317
|
+
schedule: lazyType(() => Schedule$inboundSchema),
|
|
49318
|
+
line: string4()
|
|
49319
|
+
}).transform((v) => {
|
|
49320
|
+
return remap(v, {
|
|
49321
|
+
gate_type: "gateType",
|
|
49322
|
+
age_threshold: "ageThreshold",
|
|
49323
|
+
signed_up: "signedUp",
|
|
49324
|
+
passes_per_person: "passesPerPerson",
|
|
49325
|
+
real_days_at_least: "realDaysAtLeast"
|
|
49326
|
+
});
|
|
49327
|
+
});
|
|
49328
|
+
Policy$outboundSchema = objectType({
|
|
49329
|
+
preset: nullableType(GatePreset$outboundSchema),
|
|
49330
|
+
gateType: GateType$outboundSchema,
|
|
49331
|
+
ageThreshold: nullableType(AgeThreshold$outboundSchema),
|
|
49332
|
+
signedUp: booleanType(),
|
|
49333
|
+
link: GateLink$outboundSchema,
|
|
49334
|
+
passesPerPerson: nullableType(PassesPerPerson$outboundSchema),
|
|
49335
|
+
realDaysAtLeast: numberType().int(),
|
|
49336
|
+
schedule: lazyType(() => Schedule$outboundSchema),
|
|
49337
|
+
line: stringType()
|
|
49338
|
+
}).transform((v) => {
|
|
49339
|
+
return remap(v, {
|
|
49340
|
+
gateType: "gate_type",
|
|
49341
|
+
ageThreshold: "age_threshold",
|
|
49342
|
+
signedUp: "signed_up",
|
|
49343
|
+
passesPerPerson: "passes_per_person",
|
|
49344
|
+
realDaysAtLeast: "real_days_at_least"
|
|
49345
|
+
});
|
|
49346
|
+
});
|
|
49347
|
+
Gate$inboundSchema = objectType({
|
|
49348
|
+
key: string4(),
|
|
49349
|
+
name: string4(),
|
|
49350
|
+
message: nullable3(string4()),
|
|
49351
|
+
status: Status$inboundSchema,
|
|
49352
|
+
state: nullable3(GateState$inboundSchema),
|
|
49353
|
+
environment: GateEnvironment$inboundSchema,
|
|
49354
|
+
destination_url: nullable3(string4()),
|
|
49355
|
+
policy: nullable3(lazyType(() => Policy$inboundSchema)),
|
|
49356
|
+
placed_at: date4(),
|
|
49357
|
+
placed_by_api: boolean4()
|
|
49358
|
+
}).transform((v) => {
|
|
49359
|
+
return remap(v, {
|
|
49360
|
+
destination_url: "destinationUrl",
|
|
49361
|
+
placed_at: "placedAt",
|
|
49362
|
+
placed_by_api: "placedByApi"
|
|
49363
|
+
});
|
|
49364
|
+
});
|
|
49365
|
+
Gate$outboundSchema = objectType({
|
|
49366
|
+
key: stringType(),
|
|
49367
|
+
name: stringType(),
|
|
49368
|
+
message: nullableType(stringType()),
|
|
49369
|
+
status: Status$outboundSchema,
|
|
49370
|
+
state: nullableType(GateState$outboundSchema),
|
|
49371
|
+
environment: GateEnvironment$outboundSchema,
|
|
49372
|
+
destinationUrl: nullableType(stringType()),
|
|
49373
|
+
policy: nullableType(lazyType(() => Policy$outboundSchema)),
|
|
49374
|
+
placedAt: dateType().transform((v) => v.toISOString()),
|
|
49375
|
+
placedByApi: booleanType()
|
|
49376
|
+
}).transform((v) => {
|
|
49377
|
+
return remap(v, {
|
|
49378
|
+
destinationUrl: "destination_url",
|
|
49379
|
+
placedAt: "placed_at",
|
|
49380
|
+
placedByApi: "placed_by_api"
|
|
49381
|
+
});
|
|
49382
|
+
});
|
|
49383
|
+
});
|
|
49384
|
+
|
|
49385
|
+
// src/models/gates-api-error.ts
|
|
49386
|
+
var GatesApiError$inboundSchema, GatesApiError$outboundSchema;
|
|
49387
|
+
var init_gates_api_error = __esm(() => {
|
|
49388
|
+
init_v3();
|
|
49389
|
+
init_primitives2();
|
|
49390
|
+
GatesApiError$inboundSchema = objectType({
|
|
49391
|
+
message: string4(),
|
|
49392
|
+
statusCode: number4(),
|
|
49393
|
+
code: string4()
|
|
49394
|
+
});
|
|
49395
|
+
GatesApiError$outboundSchema = objectType({
|
|
49396
|
+
message: stringType(),
|
|
49397
|
+
statusCode: numberType().int(),
|
|
49398
|
+
code: stringType()
|
|
49399
|
+
});
|
|
49400
|
+
});
|
|
49401
|
+
|
|
49402
|
+
// src/models/inline-passkey-assertion.ts
|
|
49403
|
+
var InlinePasskeyAssertionType, InlinePasskeyAssertionType$inboundSchema, InlinePasskeyAssertionType$outboundSchema, ResponseT$inboundSchema, ResponseT$outboundSchema, InlinePasskeyAssertion$inboundSchema, InlinePasskeyAssertion$outboundSchema;
|
|
49404
|
+
var init_inline_passkey_assertion = __esm(() => {
|
|
49405
|
+
init_v3();
|
|
49406
|
+
init_primitives2();
|
|
49407
|
+
InlinePasskeyAssertionType = {
|
|
49408
|
+
PublicKey: "public-key"
|
|
49409
|
+
};
|
|
49410
|
+
InlinePasskeyAssertionType$inboundSchema = nativeEnumType(InlinePasskeyAssertionType);
|
|
49411
|
+
InlinePasskeyAssertionType$outboundSchema = InlinePasskeyAssertionType$inboundSchema;
|
|
49412
|
+
ResponseT$inboundSchema = objectType({
|
|
49413
|
+
clientDataJSON: string4(),
|
|
49414
|
+
authenticatorData: string4(),
|
|
49415
|
+
signature: string4(),
|
|
49416
|
+
userHandle: optional3(string4())
|
|
49417
|
+
}).catchall(anyType());
|
|
49418
|
+
ResponseT$outboundSchema = objectType({
|
|
49419
|
+
clientDataJSON: stringType(),
|
|
49420
|
+
authenticatorData: stringType(),
|
|
49421
|
+
signature: stringType(),
|
|
49422
|
+
userHandle: stringType().optional()
|
|
49423
|
+
}).catchall(anyType());
|
|
49424
|
+
InlinePasskeyAssertion$inboundSchema = objectType({
|
|
49425
|
+
id: string4(),
|
|
49426
|
+
rawId: string4(),
|
|
49427
|
+
type: InlinePasskeyAssertionType$inboundSchema,
|
|
49428
|
+
authenticatorAttachment: optional3(string4()),
|
|
49429
|
+
clientExtensionResults: optional3(recordType(anyType())),
|
|
49430
|
+
response: lazyType(() => ResponseT$inboundSchema)
|
|
49431
|
+
}).catchall(anyType());
|
|
49432
|
+
InlinePasskeyAssertion$outboundSchema = objectType({
|
|
49433
|
+
id: stringType(),
|
|
49434
|
+
rawId: stringType(),
|
|
49435
|
+
type: InlinePasskeyAssertionType$outboundSchema,
|
|
49436
|
+
authenticatorAttachment: stringType().optional(),
|
|
49437
|
+
clientExtensionResults: recordType(anyType()).optional(),
|
|
49438
|
+
response: lazyType(() => ResponseT$outboundSchema)
|
|
49439
|
+
}).catchall(anyType());
|
|
49440
|
+
});
|
|
49441
|
+
|
|
49442
|
+
// src/models/inline-passkey-request-options.ts
|
|
49443
|
+
var InlinePasskeyRequestOptionsType, UserVerification, InlinePasskeyRequestOptionsType$inboundSchema, InlinePasskeyRequestOptionsType$outboundSchema, AllowCredential$inboundSchema, AllowCredential$outboundSchema, UserVerification$inboundSchema, UserVerification$outboundSchema, InlinePasskeyRequestOptions$inboundSchema, InlinePasskeyRequestOptions$outboundSchema;
|
|
49444
|
+
var init_inline_passkey_request_options = __esm(() => {
|
|
49445
|
+
init_v3();
|
|
49446
|
+
init_enums();
|
|
49447
|
+
init_primitives2();
|
|
49448
|
+
InlinePasskeyRequestOptionsType = {
|
|
49449
|
+
PublicKey: "public-key"
|
|
49450
|
+
};
|
|
49451
|
+
UserVerification = {
|
|
49452
|
+
Required: "required",
|
|
49453
|
+
Preferred: "preferred",
|
|
49454
|
+
Discouraged: "discouraged"
|
|
49455
|
+
};
|
|
49456
|
+
InlinePasskeyRequestOptionsType$inboundSchema = nativeEnumType(InlinePasskeyRequestOptionsType);
|
|
49457
|
+
InlinePasskeyRequestOptionsType$outboundSchema = InlinePasskeyRequestOptionsType$inboundSchema;
|
|
49458
|
+
AllowCredential$inboundSchema = objectType({
|
|
49459
|
+
id: string4(),
|
|
49460
|
+
type: InlinePasskeyRequestOptionsType$inboundSchema,
|
|
49461
|
+
transports: optional3(arrayType(string4()))
|
|
49462
|
+
});
|
|
49463
|
+
AllowCredential$outboundSchema = objectType({
|
|
49464
|
+
id: stringType(),
|
|
49465
|
+
type: InlinePasskeyRequestOptionsType$outboundSchema,
|
|
49466
|
+
transports: arrayType(stringType()).optional()
|
|
49467
|
+
});
|
|
49468
|
+
UserVerification$inboundSchema = inboundSchema(UserVerification);
|
|
49469
|
+
UserVerification$outboundSchema = outboundSchema(UserVerification);
|
|
49470
|
+
InlinePasskeyRequestOptions$inboundSchema = objectType({
|
|
49471
|
+
challenge: string4(),
|
|
49472
|
+
allowCredentials: optional3(arrayType(lazyType(() => AllowCredential$inboundSchema))),
|
|
49473
|
+
timeout: optional3(number4()),
|
|
49474
|
+
userVerification: optional3(UserVerification$inboundSchema),
|
|
49475
|
+
rpId: optional3(string4()),
|
|
49476
|
+
extensions: optional3(recordType(anyType()))
|
|
49477
|
+
}).catchall(anyType());
|
|
49478
|
+
InlinePasskeyRequestOptions$outboundSchema = objectType({
|
|
49479
|
+
challenge: stringType(),
|
|
49480
|
+
allowCredentials: arrayType(lazyType(() => AllowCredential$outboundSchema)).optional(),
|
|
49481
|
+
timeout: numberType().int().optional(),
|
|
49482
|
+
userVerification: UserVerification$outboundSchema.optional(),
|
|
49483
|
+
rpId: stringType().optional(),
|
|
49484
|
+
extensions: recordType(anyType()).optional()
|
|
49485
|
+
}).catchall(anyType());
|
|
49486
|
+
});
|
|
49487
|
+
|
|
49025
49488
|
// src/models/invalid-input-error.ts
|
|
49026
49489
|
var InvalidInputErrorError$inboundSchema, InvalidInputErrorError$outboundSchema;
|
|
49027
49490
|
var init_invalid_input_error = __esm(() => {
|
|
@@ -49056,9 +49519,18 @@ var init_security2 = __esm(() => {
|
|
|
49056
49519
|
|
|
49057
49520
|
// src/models/index.ts
|
|
49058
49521
|
var init_models = __esm(() => {
|
|
49522
|
+
init_bot_shield_action();
|
|
49059
49523
|
init_error_body();
|
|
49060
49524
|
init_error_response();
|
|
49525
|
+
init_gate_human_verified_event();
|
|
49526
|
+
init_gate_policy_doc();
|
|
49527
|
+
init_gate_schedule();
|
|
49528
|
+
init_gate();
|
|
49529
|
+
init_gates_api_error();
|
|
49530
|
+
init_inline_passkey_assertion();
|
|
49531
|
+
init_inline_passkey_request_options();
|
|
49061
49532
|
init_invalid_input_error();
|
|
49533
|
+
init_passes_per_person();
|
|
49062
49534
|
init_security2();
|
|
49063
49535
|
});
|
|
49064
49536
|
|
|
@@ -49315,7 +49787,7 @@ var init_actions_check_status = __esm(() => {
|
|
|
49315
49787
|
});
|
|
49316
49788
|
|
|
49317
49789
|
// src/models/operations/actions-propose.ts
|
|
49318
|
-
var ActionsProposeStatus, SummaryDetail$inboundSchema, SummaryDetail$outboundSchema,
|
|
49790
|
+
var ActionsProposeStatus, SummaryDetail$inboundSchema, SummaryDetail$outboundSchema, ActionsProposeAction$inboundSchema, ActionsProposeAction$outboundSchema, ActionsProposeRequest$inboundSchema, ActionsProposeRequest$outboundSchema, ActionsProposeStatus$inboundSchema, ActionsProposeStatus$outboundSchema, ActionsProposeDataData$inboundSchema, ActionsProposeDataData$outboundSchema, ActionsProposeData$inboundSchema, ActionsProposeData$outboundSchema, ActionsProposeResponse$inboundSchema, ActionsProposeResponse$outboundSchema;
|
|
49319
49791
|
var init_actions_propose = __esm(() => {
|
|
49320
49792
|
init_v3();
|
|
49321
49793
|
init_primitives();
|
|
@@ -49337,7 +49809,7 @@ var init_actions_propose = __esm(() => {
|
|
|
49337
49809
|
label: stringType().optional(),
|
|
49338
49810
|
value: stringType().optional()
|
|
49339
49811
|
});
|
|
49340
|
-
|
|
49812
|
+
ActionsProposeAction$inboundSchema = objectType({
|
|
49341
49813
|
summary_title: string4(),
|
|
49342
49814
|
summary_detail: optional3(lazyType(() => SummaryDetail$inboundSchema)),
|
|
49343
49815
|
category: string4(),
|
|
@@ -49349,7 +49821,7 @@ var init_actions_propose = __esm(() => {
|
|
|
49349
49821
|
trusted_account_id: "trustedAccountId"
|
|
49350
49822
|
});
|
|
49351
49823
|
});
|
|
49352
|
-
|
|
49824
|
+
ActionsProposeAction$outboundSchema = objectType({
|
|
49353
49825
|
summaryTitle: stringType(),
|
|
49354
49826
|
summaryDetail: lazyType(() => SummaryDetail$outboundSchema).optional(),
|
|
49355
49827
|
category: stringType(),
|
|
@@ -49366,7 +49838,7 @@ var init_actions_propose = __esm(() => {
|
|
|
49366
49838
|
opaque_id: optional3(string4()),
|
|
49367
49839
|
botshield_user_id: optional3(string4()),
|
|
49368
49840
|
user_email: optional3(string4()),
|
|
49369
|
-
action: lazyType(() =>
|
|
49841
|
+
action: lazyType(() => ActionsProposeAction$inboundSchema),
|
|
49370
49842
|
adaptive_card_payload: optional3(recordType(anyType())),
|
|
49371
49843
|
ttl_seconds: number4().default(600)
|
|
49372
49844
|
}).transform((v) => {
|
|
@@ -49384,7 +49856,7 @@ var init_actions_propose = __esm(() => {
|
|
|
49384
49856
|
opaqueId: stringType().optional(),
|
|
49385
49857
|
botshieldUserId: stringType().optional(),
|
|
49386
49858
|
userEmail: stringType().optional(),
|
|
49387
|
-
action: lazyType(() =>
|
|
49859
|
+
action: lazyType(() => ActionsProposeAction$outboundSchema),
|
|
49388
49860
|
adaptiveCardPayload: recordType(anyType()).optional(),
|
|
49389
49861
|
ttlSeconds: numberType().int().default(600)
|
|
49390
49862
|
}).transform((v) => {
|
|
@@ -49439,6 +49911,923 @@ var init_actions_propose = __esm(() => {
|
|
|
49439
49911
|
});
|
|
49440
49912
|
});
|
|
49441
49913
|
|
|
49914
|
+
// src/models/operations/gates-api-actions-create.ts
|
|
49915
|
+
var GatesApiActionsCreateSecurity$inboundSchema, GatesApiActionsCreateSecurity$outboundSchema, GatesApiActionsCreateRequest$inboundSchema, GatesApiActionsCreateRequest$outboundSchema, GatesApiActionsCreateDataData$inboundSchema, GatesApiActionsCreateDataData$outboundSchema, GatesApiActionsCreateData$inboundSchema, GatesApiActionsCreateData$outboundSchema, GatesApiActionsCreateResponse$inboundSchema, GatesApiActionsCreateResponse$outboundSchema;
|
|
49916
|
+
var init_gates_api_actions_create = __esm(() => {
|
|
49917
|
+
init_v3();
|
|
49918
|
+
init_primitives();
|
|
49919
|
+
init_primitives2();
|
|
49920
|
+
init_models();
|
|
49921
|
+
GatesApiActionsCreateSecurity$inboundSchema = objectType({
|
|
49922
|
+
GatesKeyAuth: string4()
|
|
49923
|
+
}).transform((v) => {
|
|
49924
|
+
return remap(v, {
|
|
49925
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
49926
|
+
});
|
|
49927
|
+
});
|
|
49928
|
+
GatesApiActionsCreateSecurity$outboundSchema = objectType({
|
|
49929
|
+
gatesKeyAuth: stringType()
|
|
49930
|
+
}).transform((v) => {
|
|
49931
|
+
return remap(v, {
|
|
49932
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
49933
|
+
});
|
|
49934
|
+
});
|
|
49935
|
+
GatesApiActionsCreateRequest$inboundSchema = objectType({
|
|
49936
|
+
name: string4(),
|
|
49937
|
+
actKey: string4(),
|
|
49938
|
+
whereUrl: optional3(string4())
|
|
49939
|
+
});
|
|
49940
|
+
GatesApiActionsCreateRequest$outboundSchema = objectType({
|
|
49941
|
+
name: stringType(),
|
|
49942
|
+
actKey: stringType(),
|
|
49943
|
+
whereUrl: stringType().optional()
|
|
49944
|
+
});
|
|
49945
|
+
GatesApiActionsCreateDataData$inboundSchema = objectType({
|
|
49946
|
+
action: BotShieldAction$inboundSchema
|
|
49947
|
+
});
|
|
49948
|
+
GatesApiActionsCreateDataData$outboundSchema = objectType({
|
|
49949
|
+
action: BotShieldAction$outboundSchema
|
|
49950
|
+
});
|
|
49951
|
+
GatesApiActionsCreateData$inboundSchema = objectType({
|
|
49952
|
+
data: optional3(lazyType(() => GatesApiActionsCreateDataData$inboundSchema)),
|
|
49953
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
49954
|
+
});
|
|
49955
|
+
GatesApiActionsCreateData$outboundSchema = objectType({
|
|
49956
|
+
data: lazyType(() => GatesApiActionsCreateDataData$outboundSchema).optional(),
|
|
49957
|
+
error: GatesApiError$outboundSchema.optional()
|
|
49958
|
+
});
|
|
49959
|
+
GatesApiActionsCreateResponse$inboundSchema = objectType({
|
|
49960
|
+
data: lazyType(() => GatesApiActionsCreateData$inboundSchema)
|
|
49961
|
+
});
|
|
49962
|
+
GatesApiActionsCreateResponse$outboundSchema = objectType({
|
|
49963
|
+
data: lazyType(() => GatesApiActionsCreateData$outboundSchema)
|
|
49964
|
+
});
|
|
49965
|
+
});
|
|
49966
|
+
|
|
49967
|
+
// src/models/operations/gates-api-actions-list.ts
|
|
49968
|
+
var GatesApiActionsListSecurity$inboundSchema, GatesApiActionsListSecurity$outboundSchema, GatesApiActionsListDataData$inboundSchema, GatesApiActionsListDataData$outboundSchema, GatesApiActionsListData$inboundSchema, GatesApiActionsListData$outboundSchema, GatesApiActionsListResponse$inboundSchema, GatesApiActionsListResponse$outboundSchema;
|
|
49969
|
+
var init_gates_api_actions_list = __esm(() => {
|
|
49970
|
+
init_v3();
|
|
49971
|
+
init_primitives();
|
|
49972
|
+
init_primitives2();
|
|
49973
|
+
init_models();
|
|
49974
|
+
GatesApiActionsListSecurity$inboundSchema = objectType({
|
|
49975
|
+
GatesKeyAuth: string4()
|
|
49976
|
+
}).transform((v) => {
|
|
49977
|
+
return remap(v, {
|
|
49978
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
49979
|
+
});
|
|
49980
|
+
});
|
|
49981
|
+
GatesApiActionsListSecurity$outboundSchema = objectType({
|
|
49982
|
+
gatesKeyAuth: stringType()
|
|
49983
|
+
}).transform((v) => {
|
|
49984
|
+
return remap(v, {
|
|
49985
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
49986
|
+
});
|
|
49987
|
+
});
|
|
49988
|
+
GatesApiActionsListDataData$inboundSchema = objectType({
|
|
49989
|
+
actions: arrayType(BotShieldAction$inboundSchema)
|
|
49990
|
+
});
|
|
49991
|
+
GatesApiActionsListDataData$outboundSchema = objectType({
|
|
49992
|
+
actions: arrayType(BotShieldAction$outboundSchema)
|
|
49993
|
+
});
|
|
49994
|
+
GatesApiActionsListData$inboundSchema = objectType({
|
|
49995
|
+
data: optional3(lazyType(() => GatesApiActionsListDataData$inboundSchema)),
|
|
49996
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
49997
|
+
});
|
|
49998
|
+
GatesApiActionsListData$outboundSchema = objectType({
|
|
49999
|
+
data: lazyType(() => GatesApiActionsListDataData$outboundSchema).optional(),
|
|
50000
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50001
|
+
});
|
|
50002
|
+
GatesApiActionsListResponse$inboundSchema = objectType({
|
|
50003
|
+
data: lazyType(() => GatesApiActionsListData$inboundSchema)
|
|
50004
|
+
});
|
|
50005
|
+
GatesApiActionsListResponse$outboundSchema = objectType({
|
|
50006
|
+
data: lazyType(() => GatesApiActionsListData$outboundSchema)
|
|
50007
|
+
});
|
|
50008
|
+
});
|
|
50009
|
+
|
|
50010
|
+
// src/models/operations/gates-api-actions-request-status.ts
|
|
50011
|
+
var GatesApiActionsRequestStatusStatus, GatesApiActionsRequestStatusSecurity$inboundSchema, GatesApiActionsRequestStatusSecurity$outboundSchema, GatesApiActionsRequestStatusRequest$inboundSchema, GatesApiActionsRequestStatusRequest$outboundSchema, GatesApiActionsRequestStatusStatus$inboundSchema, GatesApiActionsRequestStatusStatus$outboundSchema, GatesApiActionsRequestStatusDataData$inboundSchema, GatesApiActionsRequestStatusDataData$outboundSchema, GatesApiActionsRequestStatusData$inboundSchema, GatesApiActionsRequestStatusData$outboundSchema, GatesApiActionsRequestStatusResponse$inboundSchema, GatesApiActionsRequestStatusResponse$outboundSchema;
|
|
50012
|
+
var init_gates_api_actions_request_status = __esm(() => {
|
|
50013
|
+
init_v3();
|
|
50014
|
+
init_primitives();
|
|
50015
|
+
init_enums();
|
|
50016
|
+
init_primitives2();
|
|
50017
|
+
init_models();
|
|
50018
|
+
GatesApiActionsRequestStatusStatus = {
|
|
50019
|
+
Queued: "queued",
|
|
50020
|
+
Approved: "approved",
|
|
50021
|
+
Denied: "denied",
|
|
50022
|
+
Expired: "expired",
|
|
50023
|
+
Cancelled: "cancelled"
|
|
50024
|
+
};
|
|
50025
|
+
GatesApiActionsRequestStatusSecurity$inboundSchema = objectType({
|
|
50026
|
+
GatesKeyAuth: string4()
|
|
50027
|
+
}).transform((v) => {
|
|
50028
|
+
return remap(v, {
|
|
50029
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50030
|
+
});
|
|
50031
|
+
});
|
|
50032
|
+
GatesApiActionsRequestStatusSecurity$outboundSchema = objectType({
|
|
50033
|
+
gatesKeyAuth: stringType()
|
|
50034
|
+
}).transform((v) => {
|
|
50035
|
+
return remap(v, {
|
|
50036
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50037
|
+
});
|
|
50038
|
+
});
|
|
50039
|
+
GatesApiActionsRequestStatusRequest$inboundSchema = objectType({
|
|
50040
|
+
request_id: string4(),
|
|
50041
|
+
wait_seconds: optional3(number4())
|
|
50042
|
+
}).transform((v) => {
|
|
50043
|
+
return remap(v, {
|
|
50044
|
+
request_id: "requestId",
|
|
50045
|
+
wait_seconds: "waitSeconds"
|
|
50046
|
+
});
|
|
50047
|
+
});
|
|
50048
|
+
GatesApiActionsRequestStatusRequest$outboundSchema = objectType({
|
|
50049
|
+
requestId: stringType(),
|
|
50050
|
+
waitSeconds: numberType().int().optional()
|
|
50051
|
+
}).transform((v) => {
|
|
50052
|
+
return remap(v, {
|
|
50053
|
+
requestId: "request_id",
|
|
50054
|
+
waitSeconds: "wait_seconds"
|
|
50055
|
+
});
|
|
50056
|
+
});
|
|
50057
|
+
GatesApiActionsRequestStatusStatus$inboundSchema = inboundSchema(GatesApiActionsRequestStatusStatus);
|
|
50058
|
+
GatesApiActionsRequestStatusStatus$outboundSchema = outboundSchema(GatesApiActionsRequestStatusStatus);
|
|
50059
|
+
GatesApiActionsRequestStatusDataData$inboundSchema = objectType({
|
|
50060
|
+
request_id: string4(),
|
|
50061
|
+
status: GatesApiActionsRequestStatusStatus$inboundSchema,
|
|
50062
|
+
act: string4(),
|
|
50063
|
+
expires_at: date4(),
|
|
50064
|
+
resolved_at: nullableType(date4()).optional(),
|
|
50065
|
+
token: nullableType(string4()).optional(),
|
|
50066
|
+
token_expires_in: optional3(number4())
|
|
50067
|
+
}).transform((v) => {
|
|
50068
|
+
return remap(v, {
|
|
50069
|
+
request_id: "requestId",
|
|
50070
|
+
expires_at: "expiresAt",
|
|
50071
|
+
resolved_at: "resolvedAt",
|
|
50072
|
+
token_expires_in: "tokenExpiresIn"
|
|
50073
|
+
});
|
|
50074
|
+
});
|
|
50075
|
+
GatesApiActionsRequestStatusDataData$outboundSchema = objectType({
|
|
50076
|
+
requestId: stringType(),
|
|
50077
|
+
status: GatesApiActionsRequestStatusStatus$outboundSchema,
|
|
50078
|
+
act: stringType(),
|
|
50079
|
+
expiresAt: dateType().transform((v) => v.toISOString()),
|
|
50080
|
+
resolvedAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
50081
|
+
token: nullableType(stringType()).optional(),
|
|
50082
|
+
tokenExpiresIn: numberType().int().optional()
|
|
50083
|
+
}).transform((v) => {
|
|
50084
|
+
return remap(v, {
|
|
50085
|
+
requestId: "request_id",
|
|
50086
|
+
expiresAt: "expires_at",
|
|
50087
|
+
resolvedAt: "resolved_at",
|
|
50088
|
+
tokenExpiresIn: "token_expires_in"
|
|
50089
|
+
});
|
|
50090
|
+
});
|
|
50091
|
+
GatesApiActionsRequestStatusData$inboundSchema = objectType({
|
|
50092
|
+
data: optional3(lazyType(() => GatesApiActionsRequestStatusDataData$inboundSchema)),
|
|
50093
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50094
|
+
});
|
|
50095
|
+
GatesApiActionsRequestStatusData$outboundSchema = objectType({
|
|
50096
|
+
data: lazyType(() => GatesApiActionsRequestStatusDataData$outboundSchema).optional(),
|
|
50097
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50098
|
+
});
|
|
50099
|
+
GatesApiActionsRequestStatusResponse$inboundSchema = objectType({
|
|
50100
|
+
data: lazyType(() => GatesApiActionsRequestStatusData$inboundSchema)
|
|
50101
|
+
});
|
|
50102
|
+
GatesApiActionsRequestStatusResponse$outboundSchema = objectType({
|
|
50103
|
+
data: lazyType(() => GatesApiActionsRequestStatusData$outboundSchema)
|
|
50104
|
+
});
|
|
50105
|
+
});
|
|
50106
|
+
|
|
50107
|
+
// src/models/operations/gates-api-actions-request.ts
|
|
50108
|
+
var GatesApiActionsRequestStatus, GatesApiActionsRequestSecurity$inboundSchema, GatesApiActionsRequestSecurity$outboundSchema, GatesApiActionsRequestRequest$inboundSchema, GatesApiActionsRequestRequest$outboundSchema, GatesApiActionsRequestStatus$inboundSchema, GatesApiActionsRequestStatus$outboundSchema, GatesApiActionsRequestDataData$inboundSchema, GatesApiActionsRequestDataData$outboundSchema, GatesApiActionsRequestData$inboundSchema, GatesApiActionsRequestData$outboundSchema, GatesApiActionsRequestResponse$inboundSchema, GatesApiActionsRequestResponse$outboundSchema;
|
|
50109
|
+
var init_gates_api_actions_request = __esm(() => {
|
|
50110
|
+
init_v3();
|
|
50111
|
+
init_primitives();
|
|
50112
|
+
init_enums();
|
|
50113
|
+
init_primitives2();
|
|
50114
|
+
init_models();
|
|
50115
|
+
GatesApiActionsRequestStatus = {
|
|
50116
|
+
Queued: "queued",
|
|
50117
|
+
Approved: "approved",
|
|
50118
|
+
Denied: "denied",
|
|
50119
|
+
Expired: "expired",
|
|
50120
|
+
Cancelled: "cancelled"
|
|
50121
|
+
};
|
|
50122
|
+
GatesApiActionsRequestSecurity$inboundSchema = objectType({
|
|
50123
|
+
GatesKeyAuth: string4()
|
|
50124
|
+
}).transform((v) => {
|
|
50125
|
+
return remap(v, {
|
|
50126
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50127
|
+
});
|
|
50128
|
+
});
|
|
50129
|
+
GatesApiActionsRequestSecurity$outboundSchema = objectType({
|
|
50130
|
+
gatesKeyAuth: stringType()
|
|
50131
|
+
}).transform((v) => {
|
|
50132
|
+
return remap(v, {
|
|
50133
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50134
|
+
});
|
|
50135
|
+
});
|
|
50136
|
+
GatesApiActionsRequestRequest$inboundSchema = objectType({
|
|
50137
|
+
request_id: string4(),
|
|
50138
|
+
agent: string4(),
|
|
50139
|
+
act: string4(),
|
|
50140
|
+
act_label: optional3(string4()),
|
|
50141
|
+
partner_user_ref: string4(),
|
|
50142
|
+
requested_by: optional3(string4()),
|
|
50143
|
+
ttl_seconds: number4().default(600)
|
|
50144
|
+
}).transform((v) => {
|
|
50145
|
+
return remap(v, {
|
|
50146
|
+
request_id: "requestId",
|
|
50147
|
+
act_label: "actLabel",
|
|
50148
|
+
partner_user_ref: "partnerUserRef",
|
|
50149
|
+
requested_by: "requestedBy",
|
|
50150
|
+
ttl_seconds: "ttlSeconds"
|
|
50151
|
+
});
|
|
50152
|
+
});
|
|
50153
|
+
GatesApiActionsRequestRequest$outboundSchema = objectType({
|
|
50154
|
+
requestId: stringType(),
|
|
50155
|
+
agent: stringType(),
|
|
50156
|
+
act: stringType(),
|
|
50157
|
+
actLabel: stringType().optional(),
|
|
50158
|
+
partnerUserRef: stringType(),
|
|
50159
|
+
requestedBy: stringType().optional(),
|
|
50160
|
+
ttlSeconds: numberType().int().default(600)
|
|
50161
|
+
}).transform((v) => {
|
|
50162
|
+
return remap(v, {
|
|
50163
|
+
requestId: "request_id",
|
|
50164
|
+
actLabel: "act_label",
|
|
50165
|
+
partnerUserRef: "partner_user_ref",
|
|
50166
|
+
requestedBy: "requested_by",
|
|
50167
|
+
ttlSeconds: "ttl_seconds"
|
|
50168
|
+
});
|
|
50169
|
+
});
|
|
50170
|
+
GatesApiActionsRequestStatus$inboundSchema = inboundSchema(GatesApiActionsRequestStatus);
|
|
50171
|
+
GatesApiActionsRequestStatus$outboundSchema = outboundSchema(GatesApiActionsRequestStatus);
|
|
50172
|
+
GatesApiActionsRequestDataData$inboundSchema = objectType({
|
|
50173
|
+
request_id: string4(),
|
|
50174
|
+
status: GatesApiActionsRequestStatus$inboundSchema,
|
|
50175
|
+
expires_at: date4()
|
|
50176
|
+
}).transform((v) => {
|
|
50177
|
+
return remap(v, {
|
|
50178
|
+
request_id: "requestId",
|
|
50179
|
+
expires_at: "expiresAt"
|
|
50180
|
+
});
|
|
50181
|
+
});
|
|
50182
|
+
GatesApiActionsRequestDataData$outboundSchema = objectType({
|
|
50183
|
+
requestId: stringType(),
|
|
50184
|
+
status: GatesApiActionsRequestStatus$outboundSchema,
|
|
50185
|
+
expiresAt: dateType().transform((v) => v.toISOString())
|
|
50186
|
+
}).transform((v) => {
|
|
50187
|
+
return remap(v, {
|
|
50188
|
+
requestId: "request_id",
|
|
50189
|
+
expiresAt: "expires_at"
|
|
50190
|
+
});
|
|
50191
|
+
});
|
|
50192
|
+
GatesApiActionsRequestData$inboundSchema = objectType({
|
|
50193
|
+
data: optional3(lazyType(() => GatesApiActionsRequestDataData$inboundSchema)),
|
|
50194
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50195
|
+
});
|
|
50196
|
+
GatesApiActionsRequestData$outboundSchema = objectType({
|
|
50197
|
+
data: lazyType(() => GatesApiActionsRequestDataData$outboundSchema).optional(),
|
|
50198
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50199
|
+
});
|
|
50200
|
+
GatesApiActionsRequestResponse$inboundSchema = objectType({
|
|
50201
|
+
data: lazyType(() => GatesApiActionsRequestData$inboundSchema)
|
|
50202
|
+
});
|
|
50203
|
+
GatesApiActionsRequestResponse$outboundSchema = objectType({
|
|
50204
|
+
data: lazyType(() => GatesApiActionsRequestData$outboundSchema)
|
|
50205
|
+
});
|
|
50206
|
+
});
|
|
50207
|
+
|
|
50208
|
+
// src/models/operations/gates-api-actions-set-state.ts
|
|
50209
|
+
var GatesApiActionsSetStateState, GatesApiActionsSetStateSecurity$inboundSchema, GatesApiActionsSetStateSecurity$outboundSchema, GatesApiActionsSetStateState$inboundSchema, GatesApiActionsSetStateState$outboundSchema, GatesApiActionsSetStateRequest$inboundSchema, GatesApiActionsSetStateRequest$outboundSchema, GatesApiActionsSetStateDataData$inboundSchema, GatesApiActionsSetStateDataData$outboundSchema, GatesApiActionsSetStateData$inboundSchema, GatesApiActionsSetStateData$outboundSchema, GatesApiActionsSetStateResponse$inboundSchema, GatesApiActionsSetStateResponse$outboundSchema;
|
|
50210
|
+
var init_gates_api_actions_set_state = __esm(() => {
|
|
50211
|
+
init_v3();
|
|
50212
|
+
init_primitives();
|
|
50213
|
+
init_primitives2();
|
|
50214
|
+
init_models();
|
|
50215
|
+
GatesApiActionsSetStateState = {
|
|
50216
|
+
Live: "live",
|
|
50217
|
+
Off: "off"
|
|
50218
|
+
};
|
|
50219
|
+
GatesApiActionsSetStateSecurity$inboundSchema = objectType({
|
|
50220
|
+
GatesKeyAuth: string4()
|
|
50221
|
+
}).transform((v) => {
|
|
50222
|
+
return remap(v, {
|
|
50223
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50224
|
+
});
|
|
50225
|
+
});
|
|
50226
|
+
GatesApiActionsSetStateSecurity$outboundSchema = objectType({
|
|
50227
|
+
gatesKeyAuth: stringType()
|
|
50228
|
+
}).transform((v) => {
|
|
50229
|
+
return remap(v, {
|
|
50230
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50231
|
+
});
|
|
50232
|
+
});
|
|
50233
|
+
GatesApiActionsSetStateState$inboundSchema = nativeEnumType(GatesApiActionsSetStateState);
|
|
50234
|
+
GatesApiActionsSetStateState$outboundSchema = GatesApiActionsSetStateState$inboundSchema;
|
|
50235
|
+
GatesApiActionsSetStateRequest$inboundSchema = objectType({
|
|
50236
|
+
actKey: string4(),
|
|
50237
|
+
state: GatesApiActionsSetStateState$inboundSchema
|
|
50238
|
+
});
|
|
50239
|
+
GatesApiActionsSetStateRequest$outboundSchema = objectType({
|
|
50240
|
+
actKey: stringType(),
|
|
50241
|
+
state: GatesApiActionsSetStateState$outboundSchema
|
|
50242
|
+
});
|
|
50243
|
+
GatesApiActionsSetStateDataData$inboundSchema = objectType({
|
|
50244
|
+
action: BotShieldAction$inboundSchema
|
|
50245
|
+
});
|
|
50246
|
+
GatesApiActionsSetStateDataData$outboundSchema = objectType({
|
|
50247
|
+
action: BotShieldAction$outboundSchema
|
|
50248
|
+
});
|
|
50249
|
+
GatesApiActionsSetStateData$inboundSchema = objectType({
|
|
50250
|
+
data: optional3(lazyType(() => GatesApiActionsSetStateDataData$inboundSchema)),
|
|
50251
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50252
|
+
});
|
|
50253
|
+
GatesApiActionsSetStateData$outboundSchema = objectType({
|
|
50254
|
+
data: lazyType(() => GatesApiActionsSetStateDataData$outboundSchema).optional(),
|
|
50255
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50256
|
+
});
|
|
50257
|
+
GatesApiActionsSetStateResponse$inboundSchema = objectType({
|
|
50258
|
+
data: lazyType(() => GatesApiActionsSetStateData$inboundSchema)
|
|
50259
|
+
});
|
|
50260
|
+
GatesApiActionsSetStateResponse$outboundSchema = objectType({
|
|
50261
|
+
data: lazyType(() => GatesApiActionsSetStateData$outboundSchema)
|
|
50262
|
+
});
|
|
50263
|
+
});
|
|
50264
|
+
|
|
50265
|
+
// src/models/operations/gates-api-activate.ts
|
|
50266
|
+
var GatesApiActivateSecurity$inboundSchema, GatesApiActivateSecurity$outboundSchema, GatesApiActivateRequest$inboundSchema, GatesApiActivateRequest$outboundSchema, GatesApiActivateDataData$inboundSchema, GatesApiActivateDataData$outboundSchema, GatesApiActivateData$inboundSchema, GatesApiActivateData$outboundSchema, GatesApiActivateResponse$inboundSchema, GatesApiActivateResponse$outboundSchema;
|
|
50267
|
+
var init_gates_api_activate = __esm(() => {
|
|
50268
|
+
init_v3();
|
|
50269
|
+
init_primitives();
|
|
50270
|
+
init_primitives2();
|
|
50271
|
+
init_models();
|
|
50272
|
+
GatesApiActivateSecurity$inboundSchema = objectType({
|
|
50273
|
+
GatesKeyAuth: string4()
|
|
50274
|
+
}).transform((v) => {
|
|
50275
|
+
return remap(v, {
|
|
50276
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50277
|
+
});
|
|
50278
|
+
});
|
|
50279
|
+
GatesApiActivateSecurity$outboundSchema = objectType({
|
|
50280
|
+
gatesKeyAuth: stringType()
|
|
50281
|
+
}).transform((v) => {
|
|
50282
|
+
return remap(v, {
|
|
50283
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50284
|
+
});
|
|
50285
|
+
});
|
|
50286
|
+
GatesApiActivateRequest$inboundSchema = objectType({
|
|
50287
|
+
key: string4()
|
|
50288
|
+
});
|
|
50289
|
+
GatesApiActivateRequest$outboundSchema = objectType({
|
|
50290
|
+
key: stringType()
|
|
50291
|
+
});
|
|
50292
|
+
GatesApiActivateDataData$inboundSchema = objectType({
|
|
50293
|
+
gate: Gate$inboundSchema
|
|
50294
|
+
});
|
|
50295
|
+
GatesApiActivateDataData$outboundSchema = objectType({
|
|
50296
|
+
gate: Gate$outboundSchema
|
|
50297
|
+
});
|
|
50298
|
+
GatesApiActivateData$inboundSchema = objectType({
|
|
50299
|
+
data: optional3(lazyType(() => GatesApiActivateDataData$inboundSchema)),
|
|
50300
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50301
|
+
});
|
|
50302
|
+
GatesApiActivateData$outboundSchema = objectType({
|
|
50303
|
+
data: lazyType(() => GatesApiActivateDataData$outboundSchema).optional(),
|
|
50304
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50305
|
+
});
|
|
50306
|
+
GatesApiActivateResponse$inboundSchema = objectType({
|
|
50307
|
+
data: lazyType(() => GatesApiActivateData$inboundSchema)
|
|
50308
|
+
});
|
|
50309
|
+
GatesApiActivateResponse$outboundSchema = objectType({
|
|
50310
|
+
data: lazyType(() => GatesApiActivateData$outboundSchema)
|
|
50311
|
+
});
|
|
50312
|
+
});
|
|
50313
|
+
|
|
50314
|
+
// src/models/operations/gates-api-cancel.ts
|
|
50315
|
+
var GatesApiCancelSecurity$inboundSchema, GatesApiCancelSecurity$outboundSchema, GatesApiCancelRequest$inboundSchema, GatesApiCancelRequest$outboundSchema, GatesApiCancelDataData$inboundSchema, GatesApiCancelDataData$outboundSchema, GatesApiCancelData$inboundSchema, GatesApiCancelData$outboundSchema, GatesApiCancelResponse$inboundSchema, GatesApiCancelResponse$outboundSchema;
|
|
50316
|
+
var init_gates_api_cancel = __esm(() => {
|
|
50317
|
+
init_v3();
|
|
50318
|
+
init_primitives();
|
|
50319
|
+
init_primitives2();
|
|
50320
|
+
init_models();
|
|
50321
|
+
GatesApiCancelSecurity$inboundSchema = objectType({
|
|
50322
|
+
GatesKeyAuth: string4()
|
|
50323
|
+
}).transform((v) => {
|
|
50324
|
+
return remap(v, {
|
|
50325
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50326
|
+
});
|
|
50327
|
+
});
|
|
50328
|
+
GatesApiCancelSecurity$outboundSchema = objectType({
|
|
50329
|
+
gatesKeyAuth: stringType()
|
|
50330
|
+
}).transform((v) => {
|
|
50331
|
+
return remap(v, {
|
|
50332
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50333
|
+
});
|
|
50334
|
+
});
|
|
50335
|
+
GatesApiCancelRequest$inboundSchema = objectType({
|
|
50336
|
+
key: string4()
|
|
50337
|
+
});
|
|
50338
|
+
GatesApiCancelRequest$outboundSchema = objectType({
|
|
50339
|
+
key: stringType()
|
|
50340
|
+
});
|
|
50341
|
+
GatesApiCancelDataData$inboundSchema = objectType({
|
|
50342
|
+
cancelled: boolean4()
|
|
50343
|
+
});
|
|
50344
|
+
GatesApiCancelDataData$outboundSchema = objectType({
|
|
50345
|
+
cancelled: booleanType()
|
|
50346
|
+
});
|
|
50347
|
+
GatesApiCancelData$inboundSchema = objectType({
|
|
50348
|
+
data: optional3(lazyType(() => GatesApiCancelDataData$inboundSchema)),
|
|
50349
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50350
|
+
});
|
|
50351
|
+
GatesApiCancelData$outboundSchema = objectType({
|
|
50352
|
+
data: lazyType(() => GatesApiCancelDataData$outboundSchema).optional(),
|
|
50353
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50354
|
+
});
|
|
50355
|
+
GatesApiCancelResponse$inboundSchema = objectType({
|
|
50356
|
+
data: lazyType(() => GatesApiCancelData$inboundSchema)
|
|
50357
|
+
});
|
|
50358
|
+
GatesApiCancelResponse$outboundSchema = objectType({
|
|
50359
|
+
data: lazyType(() => GatesApiCancelData$outboundSchema)
|
|
50360
|
+
});
|
|
50361
|
+
});
|
|
50362
|
+
|
|
50363
|
+
// src/models/operations/gates-api-close.ts
|
|
50364
|
+
var GatesApiCloseSecurity$inboundSchema, GatesApiCloseSecurity$outboundSchema, GatesApiCloseRequest$inboundSchema, GatesApiCloseRequest$outboundSchema, GatesApiCloseDataData$inboundSchema, GatesApiCloseDataData$outboundSchema, GatesApiCloseData$inboundSchema, GatesApiCloseData$outboundSchema, GatesApiCloseResponse$inboundSchema, GatesApiCloseResponse$outboundSchema;
|
|
50365
|
+
var init_gates_api_close = __esm(() => {
|
|
50366
|
+
init_v3();
|
|
50367
|
+
init_primitives();
|
|
50368
|
+
init_primitives2();
|
|
50369
|
+
init_models();
|
|
50370
|
+
GatesApiCloseSecurity$inboundSchema = objectType({
|
|
50371
|
+
GatesKeyAuth: string4()
|
|
50372
|
+
}).transform((v) => {
|
|
50373
|
+
return remap(v, {
|
|
50374
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50375
|
+
});
|
|
50376
|
+
});
|
|
50377
|
+
GatesApiCloseSecurity$outboundSchema = objectType({
|
|
50378
|
+
gatesKeyAuth: stringType()
|
|
50379
|
+
}).transform((v) => {
|
|
50380
|
+
return remap(v, {
|
|
50381
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50382
|
+
});
|
|
50383
|
+
});
|
|
50384
|
+
GatesApiCloseRequest$inboundSchema = objectType({
|
|
50385
|
+
key: string4()
|
|
50386
|
+
});
|
|
50387
|
+
GatesApiCloseRequest$outboundSchema = objectType({
|
|
50388
|
+
key: stringType()
|
|
50389
|
+
});
|
|
50390
|
+
GatesApiCloseDataData$inboundSchema = objectType({
|
|
50391
|
+
closed: boolean4(),
|
|
50392
|
+
already_closed: optional3(boolean4())
|
|
50393
|
+
}).transform((v) => {
|
|
50394
|
+
return remap(v, {
|
|
50395
|
+
already_closed: "alreadyClosed"
|
|
50396
|
+
});
|
|
50397
|
+
});
|
|
50398
|
+
GatesApiCloseDataData$outboundSchema = objectType({
|
|
50399
|
+
closed: booleanType(),
|
|
50400
|
+
alreadyClosed: booleanType().optional()
|
|
50401
|
+
}).transform((v) => {
|
|
50402
|
+
return remap(v, {
|
|
50403
|
+
alreadyClosed: "already_closed"
|
|
50404
|
+
});
|
|
50405
|
+
});
|
|
50406
|
+
GatesApiCloseData$inboundSchema = objectType({
|
|
50407
|
+
data: optional3(lazyType(() => GatesApiCloseDataData$inboundSchema)),
|
|
50408
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50409
|
+
});
|
|
50410
|
+
GatesApiCloseData$outboundSchema = objectType({
|
|
50411
|
+
data: lazyType(() => GatesApiCloseDataData$outboundSchema).optional(),
|
|
50412
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50413
|
+
});
|
|
50414
|
+
GatesApiCloseResponse$inboundSchema = objectType({
|
|
50415
|
+
data: lazyType(() => GatesApiCloseData$inboundSchema)
|
|
50416
|
+
});
|
|
50417
|
+
GatesApiCloseResponse$outboundSchema = objectType({
|
|
50418
|
+
data: lazyType(() => GatesApiCloseData$outboundSchema)
|
|
50419
|
+
});
|
|
50420
|
+
});
|
|
50421
|
+
|
|
50422
|
+
// src/models/operations/gates-api-create.ts
|
|
50423
|
+
var GatesApiCreateGateType, GatesApiCreateAgeThreshold, GatesApiCreatePreset, GatesApiCreateSecurity$inboundSchema, GatesApiCreateSecurity$outboundSchema, GatesApiCreateGateType$inboundSchema, GatesApiCreateGateType$outboundSchema, GatesApiCreateAgeThreshold$inboundSchema, GatesApiCreateAgeThreshold$outboundSchema, GatesApiCreatePreset$inboundSchema, GatesApiCreatePreset$outboundSchema, GatesApiCreateRequest$inboundSchema, GatesApiCreateRequest$outboundSchema, GatesApiCreateDataData$inboundSchema, GatesApiCreateDataData$outboundSchema, GatesApiCreateData$inboundSchema, GatesApiCreateData$outboundSchema, GatesApiCreateResponse$inboundSchema, GatesApiCreateResponse$outboundSchema;
|
|
50424
|
+
var init_gates_api_create = __esm(() => {
|
|
50425
|
+
init_v3();
|
|
50426
|
+
init_primitives();
|
|
50427
|
+
init_primitives2();
|
|
50428
|
+
init_models();
|
|
50429
|
+
GatesApiCreateGateType = {
|
|
50430
|
+
Human: "human",
|
|
50431
|
+
Age: "age"
|
|
50432
|
+
};
|
|
50433
|
+
GatesApiCreateAgeThreshold = {
|
|
50434
|
+
Thirteen: 13,
|
|
50435
|
+
Eighteen: 18,
|
|
50436
|
+
TwentyOne: 21
|
|
50437
|
+
};
|
|
50438
|
+
GatesApiCreatePreset = {
|
|
50439
|
+
Presale: "presale",
|
|
50440
|
+
Promo: "promo",
|
|
50441
|
+
Drop: "drop",
|
|
50442
|
+
Vote: "vote",
|
|
50443
|
+
Reservation: "reservation",
|
|
50444
|
+
Claim: "claim"
|
|
50445
|
+
};
|
|
50446
|
+
GatesApiCreateSecurity$inboundSchema = objectType({
|
|
50447
|
+
GatesKeyAuth: string4()
|
|
50448
|
+
}).transform((v) => {
|
|
50449
|
+
return remap(v, {
|
|
50450
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50451
|
+
});
|
|
50452
|
+
});
|
|
50453
|
+
GatesApiCreateSecurity$outboundSchema = objectType({
|
|
50454
|
+
gatesKeyAuth: stringType()
|
|
50455
|
+
}).transform((v) => {
|
|
50456
|
+
return remap(v, {
|
|
50457
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50458
|
+
});
|
|
50459
|
+
});
|
|
50460
|
+
GatesApiCreateGateType$inboundSchema = nativeEnumType(GatesApiCreateGateType);
|
|
50461
|
+
GatesApiCreateGateType$outboundSchema = GatesApiCreateGateType$inboundSchema;
|
|
50462
|
+
GatesApiCreateAgeThreshold$inboundSchema = nativeEnumType(GatesApiCreateAgeThreshold);
|
|
50463
|
+
GatesApiCreateAgeThreshold$outboundSchema = GatesApiCreateAgeThreshold$inboundSchema;
|
|
50464
|
+
GatesApiCreatePreset$inboundSchema = nativeEnumType(GatesApiCreatePreset);
|
|
50465
|
+
GatesApiCreatePreset$outboundSchema = GatesApiCreatePreset$inboundSchema;
|
|
50466
|
+
GatesApiCreateRequest$inboundSchema = objectType({
|
|
50467
|
+
key: string4(),
|
|
50468
|
+
name: string4(),
|
|
50469
|
+
message: optional3(string4()),
|
|
50470
|
+
gateType: GatesApiCreateGateType$inboundSchema.default("human"),
|
|
50471
|
+
ageThreshold: optional3(GatesApiCreateAgeThreshold$inboundSchema),
|
|
50472
|
+
preset: optional3(GatesApiCreatePreset$inboundSchema),
|
|
50473
|
+
policy: optional3(GatePolicyDoc$inboundSchema),
|
|
50474
|
+
destinationUrl: optional3(string4()),
|
|
50475
|
+
activate: boolean4().default(false)
|
|
50476
|
+
});
|
|
50477
|
+
GatesApiCreateRequest$outboundSchema = objectType({
|
|
50478
|
+
key: stringType(),
|
|
50479
|
+
name: stringType(),
|
|
50480
|
+
message: stringType().optional(),
|
|
50481
|
+
gateType: GatesApiCreateGateType$outboundSchema.default("human"),
|
|
50482
|
+
ageThreshold: GatesApiCreateAgeThreshold$outboundSchema.optional(),
|
|
50483
|
+
preset: GatesApiCreatePreset$outboundSchema.optional(),
|
|
50484
|
+
policy: GatePolicyDoc$outboundSchema.optional(),
|
|
50485
|
+
destinationUrl: stringType().optional(),
|
|
50486
|
+
activate: booleanType().default(false)
|
|
50487
|
+
});
|
|
50488
|
+
GatesApiCreateDataData$inboundSchema = objectType({
|
|
50489
|
+
gate: Gate$inboundSchema,
|
|
50490
|
+
activated: boolean4(),
|
|
50491
|
+
activation_error: optional3(GatesApiError$inboundSchema)
|
|
50492
|
+
}).transform((v) => {
|
|
50493
|
+
return remap(v, {
|
|
50494
|
+
activation_error: "activationError"
|
|
50495
|
+
});
|
|
50496
|
+
});
|
|
50497
|
+
GatesApiCreateDataData$outboundSchema = objectType({
|
|
50498
|
+
gate: Gate$outboundSchema,
|
|
50499
|
+
activated: booleanType(),
|
|
50500
|
+
activationError: GatesApiError$outboundSchema.optional()
|
|
50501
|
+
}).transform((v) => {
|
|
50502
|
+
return remap(v, {
|
|
50503
|
+
activationError: "activation_error"
|
|
50504
|
+
});
|
|
50505
|
+
});
|
|
50506
|
+
GatesApiCreateData$inboundSchema = objectType({
|
|
50507
|
+
data: optional3(lazyType(() => GatesApiCreateDataData$inboundSchema)),
|
|
50508
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50509
|
+
});
|
|
50510
|
+
GatesApiCreateData$outboundSchema = objectType({
|
|
50511
|
+
data: lazyType(() => GatesApiCreateDataData$outboundSchema).optional(),
|
|
50512
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50513
|
+
});
|
|
50514
|
+
GatesApiCreateResponse$inboundSchema = objectType({
|
|
50515
|
+
data: lazyType(() => GatesApiCreateData$inboundSchema)
|
|
50516
|
+
});
|
|
50517
|
+
GatesApiCreateResponse$outboundSchema = objectType({
|
|
50518
|
+
data: lazyType(() => GatesApiCreateData$outboundSchema)
|
|
50519
|
+
});
|
|
50520
|
+
});
|
|
50521
|
+
|
|
50522
|
+
// src/models/operations/gates-api-extend.ts
|
|
50523
|
+
var GatesApiExtendSecurity$inboundSchema, GatesApiExtendSecurity$outboundSchema, GatesApiExtendRequest$inboundSchema, GatesApiExtendRequest$outboundSchema, GatesApiExtendDataData$inboundSchema, GatesApiExtendDataData$outboundSchema, GatesApiExtendData$inboundSchema, GatesApiExtendData$outboundSchema, GatesApiExtendResponse$inboundSchema, GatesApiExtendResponse$outboundSchema;
|
|
50524
|
+
var init_gates_api_extend = __esm(() => {
|
|
50525
|
+
init_v3();
|
|
50526
|
+
init_primitives();
|
|
50527
|
+
init_primitives2();
|
|
50528
|
+
init_models();
|
|
50529
|
+
GatesApiExtendSecurity$inboundSchema = objectType({
|
|
50530
|
+
GatesKeyAuth: string4()
|
|
50531
|
+
}).transform((v) => {
|
|
50532
|
+
return remap(v, {
|
|
50533
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50534
|
+
});
|
|
50535
|
+
});
|
|
50536
|
+
GatesApiExtendSecurity$outboundSchema = objectType({
|
|
50537
|
+
gatesKeyAuth: stringType()
|
|
50538
|
+
}).transform((v) => {
|
|
50539
|
+
return remap(v, {
|
|
50540
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50541
|
+
});
|
|
50542
|
+
});
|
|
50543
|
+
GatesApiExtendRequest$inboundSchema = objectType({
|
|
50544
|
+
key: string4(),
|
|
50545
|
+
closesAt: date4()
|
|
50546
|
+
});
|
|
50547
|
+
GatesApiExtendRequest$outboundSchema = objectType({
|
|
50548
|
+
key: stringType(),
|
|
50549
|
+
closesAt: dateType().transform((v) => v.toISOString())
|
|
50550
|
+
});
|
|
50551
|
+
GatesApiExtendDataData$inboundSchema = objectType({
|
|
50552
|
+
gate: Gate$inboundSchema,
|
|
50553
|
+
extended: boolean4(),
|
|
50554
|
+
version: number4()
|
|
50555
|
+
});
|
|
50556
|
+
GatesApiExtendDataData$outboundSchema = objectType({
|
|
50557
|
+
gate: Gate$outboundSchema,
|
|
50558
|
+
extended: booleanType(),
|
|
50559
|
+
version: numberType().int()
|
|
50560
|
+
});
|
|
50561
|
+
GatesApiExtendData$inboundSchema = objectType({
|
|
50562
|
+
data: optional3(lazyType(() => GatesApiExtendDataData$inboundSchema)),
|
|
50563
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50564
|
+
});
|
|
50565
|
+
GatesApiExtendData$outboundSchema = objectType({
|
|
50566
|
+
data: lazyType(() => GatesApiExtendDataData$outboundSchema).optional(),
|
|
50567
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50568
|
+
});
|
|
50569
|
+
GatesApiExtendResponse$inboundSchema = objectType({
|
|
50570
|
+
data: lazyType(() => GatesApiExtendData$inboundSchema)
|
|
50571
|
+
});
|
|
50572
|
+
GatesApiExtendResponse$outboundSchema = objectType({
|
|
50573
|
+
data: lazyType(() => GatesApiExtendData$outboundSchema)
|
|
50574
|
+
});
|
|
50575
|
+
});
|
|
50576
|
+
|
|
50577
|
+
// src/models/operations/gates-api-get.ts
|
|
50578
|
+
var GatesApiGetSecurity$inboundSchema, GatesApiGetSecurity$outboundSchema, GatesApiGetRequest$inboundSchema, GatesApiGetRequest$outboundSchema, GatesApiGetDataData$inboundSchema, GatesApiGetDataData$outboundSchema, GatesApiGetData$inboundSchema, GatesApiGetData$outboundSchema, GatesApiGetResponse$inboundSchema, GatesApiGetResponse$outboundSchema;
|
|
50579
|
+
var init_gates_api_get = __esm(() => {
|
|
50580
|
+
init_v3();
|
|
50581
|
+
init_primitives();
|
|
50582
|
+
init_primitives2();
|
|
50583
|
+
init_models();
|
|
50584
|
+
GatesApiGetSecurity$inboundSchema = objectType({
|
|
50585
|
+
GatesKeyAuth: string4()
|
|
50586
|
+
}).transform((v) => {
|
|
50587
|
+
return remap(v, {
|
|
50588
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50589
|
+
});
|
|
50590
|
+
});
|
|
50591
|
+
GatesApiGetSecurity$outboundSchema = objectType({
|
|
50592
|
+
gatesKeyAuth: stringType()
|
|
50593
|
+
}).transform((v) => {
|
|
50594
|
+
return remap(v, {
|
|
50595
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50596
|
+
});
|
|
50597
|
+
});
|
|
50598
|
+
GatesApiGetRequest$inboundSchema = objectType({
|
|
50599
|
+
key: string4()
|
|
50600
|
+
});
|
|
50601
|
+
GatesApiGetRequest$outboundSchema = objectType({
|
|
50602
|
+
key: stringType()
|
|
50603
|
+
});
|
|
50604
|
+
GatesApiGetDataData$inboundSchema = objectType({
|
|
50605
|
+
gate: Gate$inboundSchema
|
|
50606
|
+
});
|
|
50607
|
+
GatesApiGetDataData$outboundSchema = objectType({
|
|
50608
|
+
gate: Gate$outboundSchema
|
|
50609
|
+
});
|
|
50610
|
+
GatesApiGetData$inboundSchema = objectType({
|
|
50611
|
+
data: optional3(lazyType(() => GatesApiGetDataData$inboundSchema)),
|
|
50612
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50613
|
+
});
|
|
50614
|
+
GatesApiGetData$outboundSchema = objectType({
|
|
50615
|
+
data: lazyType(() => GatesApiGetDataData$outboundSchema).optional(),
|
|
50616
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50617
|
+
});
|
|
50618
|
+
GatesApiGetResponse$inboundSchema = objectType({
|
|
50619
|
+
data: lazyType(() => GatesApiGetData$inboundSchema)
|
|
50620
|
+
});
|
|
50621
|
+
GatesApiGetResponse$outboundSchema = objectType({
|
|
50622
|
+
data: lazyType(() => GatesApiGetData$outboundSchema)
|
|
50623
|
+
});
|
|
50624
|
+
});
|
|
50625
|
+
|
|
50626
|
+
// src/models/operations/gates-api-list.ts
|
|
50627
|
+
var GatesApiListSecurity$inboundSchema, GatesApiListSecurity$outboundSchema, GatesApiListRequest$inboundSchema, GatesApiListRequest$outboundSchema, GatesApiListDataData$inboundSchema, GatesApiListDataData$outboundSchema, GatesApiListData$inboundSchema, GatesApiListData$outboundSchema, GatesApiListResponse$inboundSchema, GatesApiListResponse$outboundSchema;
|
|
50628
|
+
var init_gates_api_list = __esm(() => {
|
|
50629
|
+
init_v3();
|
|
50630
|
+
init_primitives();
|
|
50631
|
+
init_primitives2();
|
|
50632
|
+
init_models();
|
|
50633
|
+
GatesApiListSecurity$inboundSchema = objectType({
|
|
50634
|
+
GatesKeyAuth: string4()
|
|
50635
|
+
}).transform((v) => {
|
|
50636
|
+
return remap(v, {
|
|
50637
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50638
|
+
});
|
|
50639
|
+
});
|
|
50640
|
+
GatesApiListSecurity$outboundSchema = objectType({
|
|
50641
|
+
gatesKeyAuth: stringType()
|
|
50642
|
+
}).transform((v) => {
|
|
50643
|
+
return remap(v, {
|
|
50644
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50645
|
+
});
|
|
50646
|
+
});
|
|
50647
|
+
GatesApiListRequest$inboundSchema = objectType({
|
|
50648
|
+
limit: number4().default(50)
|
|
50649
|
+
});
|
|
50650
|
+
GatesApiListRequest$outboundSchema = objectType({
|
|
50651
|
+
limit: numberType().int().default(50)
|
|
50652
|
+
});
|
|
50653
|
+
GatesApiListDataData$inboundSchema = objectType({
|
|
50654
|
+
gates: arrayType(Gate$inboundSchema)
|
|
50655
|
+
});
|
|
50656
|
+
GatesApiListDataData$outboundSchema = objectType({
|
|
50657
|
+
gates: arrayType(Gate$outboundSchema)
|
|
50658
|
+
});
|
|
50659
|
+
GatesApiListData$inboundSchema = objectType({
|
|
50660
|
+
data: optional3(lazyType(() => GatesApiListDataData$inboundSchema)),
|
|
50661
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50662
|
+
});
|
|
50663
|
+
GatesApiListData$outboundSchema = objectType({
|
|
50664
|
+
data: lazyType(() => GatesApiListDataData$outboundSchema).optional(),
|
|
50665
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50666
|
+
});
|
|
50667
|
+
GatesApiListResponse$inboundSchema = objectType({
|
|
50668
|
+
data: lazyType(() => GatesApiListData$inboundSchema)
|
|
50669
|
+
});
|
|
50670
|
+
GatesApiListResponse$outboundSchema = objectType({
|
|
50671
|
+
data: lazyType(() => GatesApiListData$outboundSchema)
|
|
50672
|
+
});
|
|
50673
|
+
});
|
|
50674
|
+
|
|
50675
|
+
// src/models/operations/request-passkey-complete.ts
|
|
50676
|
+
var RequestPasskeyCompleteOutcome, RequestPasskeyCompleteRequest$inboundSchema, RequestPasskeyCompleteRequest$outboundSchema, RequestPasskeyCompleteOutcome$inboundSchema, RequestPasskeyCompleteOutcome$outboundSchema, RequestPasskeyCompleteDataData$inboundSchema, RequestPasskeyCompleteDataData$outboundSchema, RequestPasskeyCompleteData$inboundSchema, RequestPasskeyCompleteData$outboundSchema, RequestPasskeyCompleteResponse$inboundSchema, RequestPasskeyCompleteResponse$outboundSchema;
|
|
50677
|
+
var init_request_passkey_complete = __esm(() => {
|
|
50678
|
+
init_v3();
|
|
50679
|
+
init_primitives();
|
|
50680
|
+
init_enums();
|
|
50681
|
+
init_primitives2();
|
|
50682
|
+
init_models();
|
|
50683
|
+
RequestPasskeyCompleteOutcome = {
|
|
50684
|
+
Verified: "verified",
|
|
50685
|
+
WrongIdentity: "wrong_identity",
|
|
50686
|
+
Expired: "expired",
|
|
50687
|
+
Failed: "failed"
|
|
50688
|
+
};
|
|
50689
|
+
RequestPasskeyCompleteRequest$inboundSchema = objectType({
|
|
50690
|
+
request_id: string4(),
|
|
50691
|
+
challenge_id: string4(),
|
|
50692
|
+
response: InlinePasskeyAssertion$inboundSchema
|
|
50693
|
+
}).transform((v) => {
|
|
50694
|
+
return remap(v, {
|
|
50695
|
+
request_id: "requestId",
|
|
50696
|
+
challenge_id: "challengeId"
|
|
50697
|
+
});
|
|
50698
|
+
});
|
|
50699
|
+
RequestPasskeyCompleteRequest$outboundSchema = objectType({
|
|
50700
|
+
requestId: stringType(),
|
|
50701
|
+
challengeId: stringType(),
|
|
50702
|
+
response: InlinePasskeyAssertion$outboundSchema
|
|
50703
|
+
}).transform((v) => {
|
|
50704
|
+
return remap(v, {
|
|
50705
|
+
requestId: "request_id",
|
|
50706
|
+
challengeId: "challenge_id"
|
|
50707
|
+
});
|
|
50708
|
+
});
|
|
50709
|
+
RequestPasskeyCompleteOutcome$inboundSchema = inboundSchema(RequestPasskeyCompleteOutcome);
|
|
50710
|
+
RequestPasskeyCompleteOutcome$outboundSchema = outboundSchema(RequestPasskeyCompleteOutcome);
|
|
50711
|
+
RequestPasskeyCompleteDataData$inboundSchema = objectType({
|
|
50712
|
+
outcome: RequestPasskeyCompleteOutcome$inboundSchema,
|
|
50713
|
+
code: optional3(string4())
|
|
50714
|
+
});
|
|
50715
|
+
RequestPasskeyCompleteDataData$outboundSchema = objectType({
|
|
50716
|
+
outcome: RequestPasskeyCompleteOutcome$outboundSchema,
|
|
50717
|
+
code: stringType().optional()
|
|
50718
|
+
});
|
|
50719
|
+
RequestPasskeyCompleteData$inboundSchema = objectType({
|
|
50720
|
+
data: optional3(lazyType(() => RequestPasskeyCompleteDataData$inboundSchema)),
|
|
50721
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
50722
|
+
});
|
|
50723
|
+
RequestPasskeyCompleteData$outboundSchema = objectType({
|
|
50724
|
+
data: lazyType(() => RequestPasskeyCompleteDataData$outboundSchema).optional(),
|
|
50725
|
+
error: ErrorBody$outboundSchema.optional()
|
|
50726
|
+
});
|
|
50727
|
+
RequestPasskeyCompleteResponse$inboundSchema = objectType({
|
|
50728
|
+
data: lazyType(() => RequestPasskeyCompleteData$inboundSchema)
|
|
50729
|
+
});
|
|
50730
|
+
RequestPasskeyCompleteResponse$outboundSchema = objectType({
|
|
50731
|
+
data: lazyType(() => RequestPasskeyCompleteData$outboundSchema)
|
|
50732
|
+
});
|
|
50733
|
+
});
|
|
50734
|
+
|
|
50735
|
+
// src/models/operations/request-passkey-options.ts
|
|
50736
|
+
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;
|
|
50737
|
+
var init_request_passkey_options = __esm(() => {
|
|
50738
|
+
init_v3();
|
|
50739
|
+
init_primitives();
|
|
50740
|
+
init_enums();
|
|
50741
|
+
init_primitives2();
|
|
50742
|
+
init_models();
|
|
50743
|
+
Fallback = {
|
|
50744
|
+
App: "app"
|
|
50745
|
+
};
|
|
50746
|
+
RequestPasskeyOptionsReason = {
|
|
50747
|
+
NotLinked: "not_linked",
|
|
50748
|
+
NoPasskey: "no_passkey"
|
|
50749
|
+
};
|
|
50750
|
+
RequestPasskeyOptionsOutcome = {
|
|
50751
|
+
Expired: "expired",
|
|
50752
|
+
Failed: "failed"
|
|
50753
|
+
};
|
|
50754
|
+
Code = {
|
|
50755
|
+
UnknownRequest: "unknown_request",
|
|
50756
|
+
RequestClosed: "request_closed",
|
|
50757
|
+
RequestExpired: "request_expired"
|
|
50758
|
+
};
|
|
50759
|
+
RequestPasskeyOptionsRequest$inboundSchema = objectType({
|
|
50760
|
+
request_id: string4()
|
|
50761
|
+
}).transform((v) => {
|
|
50762
|
+
return remap(v, {
|
|
50763
|
+
request_id: "requestId"
|
|
50764
|
+
});
|
|
50765
|
+
});
|
|
50766
|
+
RequestPasskeyOptionsRequest$outboundSchema = objectType({
|
|
50767
|
+
requestId: stringType()
|
|
50768
|
+
}).transform((v) => {
|
|
50769
|
+
return remap(v, {
|
|
50770
|
+
requestId: "request_id"
|
|
50771
|
+
});
|
|
50772
|
+
});
|
|
50773
|
+
Fallback$inboundSchema = nativeEnumType(Fallback);
|
|
50774
|
+
Fallback$outboundSchema = Fallback$inboundSchema;
|
|
50775
|
+
RequestPasskeyOptionsReason$inboundSchema = inboundSchema(RequestPasskeyOptionsReason);
|
|
50776
|
+
RequestPasskeyOptionsReason$outboundSchema = outboundSchema(RequestPasskeyOptionsReason);
|
|
50777
|
+
RequestPasskeyOptionsOutcome$inboundSchema = inboundSchema(RequestPasskeyOptionsOutcome);
|
|
50778
|
+
RequestPasskeyOptionsOutcome$outboundSchema = outboundSchema(RequestPasskeyOptionsOutcome);
|
|
50779
|
+
Code$inboundSchema = inboundSchema(Code);
|
|
50780
|
+
Code$outboundSchema = outboundSchema(Code);
|
|
50781
|
+
DataApp$inboundSchema = objectType({
|
|
50782
|
+
options: optional3(InlinePasskeyRequestOptions$inboundSchema),
|
|
50783
|
+
challenge_id: optional3(string4()),
|
|
50784
|
+
expires_at: optional3(date4()),
|
|
50785
|
+
fallback: optional3(Fallback$inboundSchema),
|
|
50786
|
+
reason: optional3(RequestPasskeyOptionsReason$inboundSchema),
|
|
50787
|
+
url: optional3(string4()),
|
|
50788
|
+
setup_url: optional3(string4()),
|
|
50789
|
+
outcome: optional3(RequestPasskeyOptionsOutcome$inboundSchema),
|
|
50790
|
+
code: optional3(Code$inboundSchema)
|
|
50791
|
+
}).transform((v) => {
|
|
50792
|
+
return remap(v, {
|
|
50793
|
+
challenge_id: "challengeId",
|
|
50794
|
+
expires_at: "expiresAt",
|
|
50795
|
+
setup_url: "setupUrl"
|
|
50796
|
+
});
|
|
50797
|
+
});
|
|
50798
|
+
DataApp$outboundSchema = objectType({
|
|
50799
|
+
options: InlinePasskeyRequestOptions$outboundSchema.optional(),
|
|
50800
|
+
challengeId: stringType().optional(),
|
|
50801
|
+
expiresAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
50802
|
+
fallback: Fallback$outboundSchema.optional(),
|
|
50803
|
+
reason: RequestPasskeyOptionsReason$outboundSchema.optional(),
|
|
50804
|
+
url: stringType().optional(),
|
|
50805
|
+
setupUrl: stringType().optional(),
|
|
50806
|
+
outcome: RequestPasskeyOptionsOutcome$outboundSchema.optional(),
|
|
50807
|
+
code: Code$outboundSchema.optional()
|
|
50808
|
+
}).transform((v) => {
|
|
50809
|
+
return remap(v, {
|
|
50810
|
+
challengeId: "challenge_id",
|
|
50811
|
+
expiresAt: "expires_at",
|
|
50812
|
+
setupUrl: "setup_url"
|
|
50813
|
+
});
|
|
50814
|
+
});
|
|
50815
|
+
RequestPasskeyOptionsData$inboundSchema = objectType({
|
|
50816
|
+
data: optional3(lazyType(() => DataApp$inboundSchema)),
|
|
50817
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
50818
|
+
});
|
|
50819
|
+
RequestPasskeyOptionsData$outboundSchema = objectType({
|
|
50820
|
+
data: lazyType(() => DataApp$outboundSchema).optional(),
|
|
50821
|
+
error: ErrorBody$outboundSchema.optional()
|
|
50822
|
+
});
|
|
50823
|
+
RequestPasskeyOptionsResponse$inboundSchema = objectType({
|
|
50824
|
+
data: lazyType(() => RequestPasskeyOptionsData$inboundSchema)
|
|
50825
|
+
});
|
|
50826
|
+
RequestPasskeyOptionsResponse$outboundSchema = objectType({
|
|
50827
|
+
data: lazyType(() => RequestPasskeyOptionsData$outboundSchema)
|
|
50828
|
+
});
|
|
50829
|
+
});
|
|
50830
|
+
|
|
49442
50831
|
// src/models/operations/sdk-create-session.ts
|
|
49443
50832
|
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;
|
|
49444
50833
|
var init_sdk_create_session = __esm(() => {
|
|
@@ -49559,7 +50948,7 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49559
50948
|
});
|
|
49560
50949
|
|
|
49561
50950
|
// src/models/operations/sdk-create-verification-link.ts
|
|
49562
|
-
var SDKTypeRequest, Mode, SDKCreateVerificationLinkSDKTypeResponse, AuthMode,
|
|
50951
|
+
var SDKTypeRequest, Mode, SDKCreateVerificationLinkSDKTypeResponse, AuthMode, SDKCreateVerificationLinkGateType, SDKCreateVerificationLinkAgeThreshold, SDKCreateVerificationLinkNotarizeFallbackReason, SDKCreateVerificationLinkSecurity$inboundSchema, SDKCreateVerificationLinkSecurity$outboundSchema, SDKTypeRequest$inboundSchema, SDKTypeRequest$outboundSchema, Mode$inboundSchema, Mode$outboundSchema, SDKCreateVerificationLinkRequest$inboundSchema, SDKCreateVerificationLinkRequest$outboundSchema, SDKCreateVerificationLinkSDKTypeResponse$inboundSchema, SDKCreateVerificationLinkSDKTypeResponse$outboundSchema, AuthMode$inboundSchema, AuthMode$outboundSchema, SDKCreateVerificationLinkOrganization$inboundSchema, SDKCreateVerificationLinkOrganization$outboundSchema, SDKCreateVerificationLinkGateType$inboundSchema, SDKCreateVerificationLinkGateType$outboundSchema, SDKCreateVerificationLinkAgeThreshold$inboundSchema, SDKCreateVerificationLinkAgeThreshold$outboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema, SDKCreateVerificationLinkDataData$inboundSchema, SDKCreateVerificationLinkDataData$outboundSchema, SDKCreateVerificationLinkData$inboundSchema, SDKCreateVerificationLinkData$outboundSchema, SDKCreateVerificationLinkResponse$inboundSchema, SDKCreateVerificationLinkResponse$outboundSchema;
|
|
49563
50952
|
var init_sdk_create_verification_link = __esm(() => {
|
|
49564
50953
|
init_v3();
|
|
49565
50954
|
init_primitives();
|
|
@@ -49582,11 +50971,11 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49582
50971
|
LinkedAccount: "linked-account",
|
|
49583
50972
|
Private: "private"
|
|
49584
50973
|
};
|
|
49585
|
-
|
|
50974
|
+
SDKCreateVerificationLinkGateType = {
|
|
49586
50975
|
Human: "human",
|
|
49587
50976
|
Age: "age"
|
|
49588
50977
|
};
|
|
49589
|
-
|
|
50978
|
+
SDKCreateVerificationLinkAgeThreshold = {
|
|
49590
50979
|
Thirteen: 13,
|
|
49591
50980
|
Eighteen: 18,
|
|
49592
50981
|
TwentyOne: 21
|
|
@@ -49627,7 +51016,9 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49627
51016
|
parent_request_id: optional3(string4()),
|
|
49628
51017
|
metadata: optional3(recordType(anyType())),
|
|
49629
51018
|
notarize: optional3(boolean4()),
|
|
49630
|
-
gate: optional3(string4())
|
|
51019
|
+
gate: optional3(string4()),
|
|
51020
|
+
act: optional3(string4()),
|
|
51021
|
+
act_label: optional3(string4())
|
|
49631
51022
|
}).transform((v) => {
|
|
49632
51023
|
return remap(v, {
|
|
49633
51024
|
user_email: "userEmail",
|
|
@@ -49637,7 +51028,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49637
51028
|
botshield_user_id: "botshieldUserId",
|
|
49638
51029
|
partner_user_ref: "partnerUserRef",
|
|
49639
51030
|
link_on_verify: "linkOnVerify",
|
|
49640
|
-
parent_request_id: "parentRequestId"
|
|
51031
|
+
parent_request_id: "parentRequestId",
|
|
51032
|
+
act_label: "actLabel"
|
|
49641
51033
|
});
|
|
49642
51034
|
});
|
|
49643
51035
|
SDKCreateVerificationLinkRequest$outboundSchema = objectType({
|
|
@@ -49653,7 +51045,9 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49653
51045
|
parentRequestId: stringType().optional(),
|
|
49654
51046
|
metadata: recordType(anyType()).optional(),
|
|
49655
51047
|
notarize: booleanType().optional(),
|
|
49656
|
-
gate: stringType().optional()
|
|
51048
|
+
gate: stringType().optional(),
|
|
51049
|
+
act: stringType().optional(),
|
|
51050
|
+
actLabel: stringType().optional()
|
|
49657
51051
|
}).transform((v) => {
|
|
49658
51052
|
return remap(v, {
|
|
49659
51053
|
userEmail: "user_email",
|
|
@@ -49663,7 +51057,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49663
51057
|
botshieldUserId: "botshield_user_id",
|
|
49664
51058
|
partnerUserRef: "partner_user_ref",
|
|
49665
51059
|
linkOnVerify: "link_on_verify",
|
|
49666
|
-
parentRequestId: "parent_request_id"
|
|
51060
|
+
parentRequestId: "parent_request_id",
|
|
51061
|
+
actLabel: "act_label"
|
|
49667
51062
|
});
|
|
49668
51063
|
});
|
|
49669
51064
|
SDKCreateVerificationLinkSDKTypeResponse$inboundSchema = inboundSchema(SDKCreateVerificationLinkSDKTypeResponse);
|
|
@@ -49676,10 +51071,10 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49676
51071
|
SDKCreateVerificationLinkOrganization$outboundSchema = objectType({
|
|
49677
51072
|
id: stringType().optional()
|
|
49678
51073
|
});
|
|
49679
|
-
|
|
49680
|
-
|
|
49681
|
-
|
|
49682
|
-
|
|
51074
|
+
SDKCreateVerificationLinkGateType$inboundSchema = inboundSchema(SDKCreateVerificationLinkGateType);
|
|
51075
|
+
SDKCreateVerificationLinkGateType$outboundSchema = outboundSchema(SDKCreateVerificationLinkGateType);
|
|
51076
|
+
SDKCreateVerificationLinkAgeThreshold$inboundSchema = inboundSchemaInt(SDKCreateVerificationLinkAgeThreshold);
|
|
51077
|
+
SDKCreateVerificationLinkAgeThreshold$outboundSchema = outboundSchemaInt(SDKCreateVerificationLinkAgeThreshold);
|
|
49683
51078
|
SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema = inboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
|
|
49684
51079
|
SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema = outboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
|
|
49685
51080
|
SDKCreateVerificationLinkDataData$inboundSchema = objectType({
|
|
@@ -49693,8 +51088,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49693
51088
|
scope: optional3(string4()),
|
|
49694
51089
|
organization: optional3(lazyType(() => SDKCreateVerificationLinkOrganization$inboundSchema)),
|
|
49695
51090
|
pushed_to_devices: number4(),
|
|
49696
|
-
gate_type: optional3(
|
|
49697
|
-
age_threshold: optional3(
|
|
51091
|
+
gate_type: optional3(SDKCreateVerificationLinkGateType$inboundSchema),
|
|
51092
|
+
age_threshold: optional3(SDKCreateVerificationLinkAgeThreshold$inboundSchema),
|
|
49698
51093
|
trusted: optional3(boolean4()),
|
|
49699
51094
|
notarize: optional3(boolean4()),
|
|
49700
51095
|
notarize_fallback_reason: optional3(SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema),
|
|
@@ -49725,8 +51120,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49725
51120
|
scope: stringType().optional(),
|
|
49726
51121
|
organization: lazyType(() => SDKCreateVerificationLinkOrganization$outboundSchema).optional(),
|
|
49727
51122
|
pushedToDevices: numberType().int(),
|
|
49728
|
-
gateType:
|
|
49729
|
-
ageThreshold:
|
|
51123
|
+
gateType: SDKCreateVerificationLinkGateType$outboundSchema.optional(),
|
|
51124
|
+
ageThreshold: SDKCreateVerificationLinkAgeThreshold$outboundSchema.optional(),
|
|
49730
51125
|
trusted: booleanType().optional(),
|
|
49731
51126
|
notarize: booleanType().optional(),
|
|
49732
51127
|
notarizeFallbackReason: SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema.optional(),
|
|
@@ -50211,7 +51606,8 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50211
51606
|
trusted: optional3(boolean4()),
|
|
50212
51607
|
trusted_since: optional3(date4()),
|
|
50213
51608
|
last_pass_at: optional3(date4()),
|
|
50214
|
-
audience: nullableType(string4()).optional()
|
|
51609
|
+
audience: nullableType(string4()).optional(),
|
|
51610
|
+
act: optional3(string4())
|
|
50215
51611
|
}).transform((v) => {
|
|
50216
51612
|
return remap(v, {
|
|
50217
51613
|
request_id: "requestId",
|
|
@@ -50235,7 +51631,8 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50235
51631
|
trusted: booleanType().optional(),
|
|
50236
51632
|
trustedSince: dateType().transform((v) => v.toISOString()).optional(),
|
|
50237
51633
|
lastPassAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
50238
|
-
audience: nullableType(stringType()).optional()
|
|
51634
|
+
audience: nullableType(stringType()).optional(),
|
|
51635
|
+
act: stringType().optional()
|
|
50239
51636
|
}).transform((v) => {
|
|
50240
51637
|
return remap(v, {
|
|
50241
51638
|
requestId: "request_id",
|
|
@@ -50255,12 +51652,10 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50255
51652
|
expired_at: nullableType(date4()).optional(),
|
|
50256
51653
|
claims: nullableType(lazyType(() => Claims$inboundSchema)).optional(),
|
|
50257
51654
|
replayed: optional3(boolean4()),
|
|
50258
|
-
strict_single_use_from: optional3(date4()),
|
|
50259
51655
|
verdict: optional3(SDKVerifyTokenVerdict$inboundSchema)
|
|
50260
51656
|
}).transform((v) => {
|
|
50261
51657
|
return remap(v, {
|
|
50262
|
-
expired_at: "expiredAt"
|
|
50263
|
-
strict_single_use_from: "strictSingleUseFrom"
|
|
51658
|
+
expired_at: "expiredAt"
|
|
50264
51659
|
});
|
|
50265
51660
|
});
|
|
50266
51661
|
SDKVerifyTokenDataData$outboundSchema = objectType({
|
|
@@ -50269,12 +51664,10 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50269
51664
|
expiredAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
50270
51665
|
claims: nullableType(lazyType(() => Claims$outboundSchema)).optional(),
|
|
50271
51666
|
replayed: booleanType().optional(),
|
|
50272
|
-
strictSingleUseFrom: dateType().transform((v) => v.toISOString()).optional(),
|
|
50273
51667
|
verdict: SDKVerifyTokenVerdict$outboundSchema.optional()
|
|
50274
51668
|
}).transform((v) => {
|
|
50275
51669
|
return remap(v, {
|
|
50276
|
-
expiredAt: "expired_at"
|
|
50277
|
-
strictSingleUseFrom: "strict_single_use_from"
|
|
51670
|
+
expiredAt: "expired_at"
|
|
50278
51671
|
});
|
|
50279
51672
|
});
|
|
50280
51673
|
SDKVerifyTokenData$inboundSchema = objectType({
|
|
@@ -50523,14 +51916,14 @@ var init_secured_accounts_revoke = __esm(() => {
|
|
|
50523
51916
|
});
|
|
50524
51917
|
|
|
50525
51918
|
// src/models/operations/secured-accounts-status.ts
|
|
50526
|
-
var
|
|
51919
|
+
var SecuredAccountsStatusState, SecuredAccountsStatusSecurity$inboundSchema, SecuredAccountsStatusSecurity$outboundSchema, SecuredAccountsStatusRequest$inboundSchema, SecuredAccountsStatusRequest$outboundSchema, SecuredAccountsStatusState$inboundSchema, SecuredAccountsStatusState$outboundSchema, SecuredAccountsStatusDataData$inboundSchema, SecuredAccountsStatusDataData$outboundSchema, SecuredAccountsStatusData$inboundSchema, SecuredAccountsStatusData$outboundSchema, SecuredAccountsStatusResponse$inboundSchema, SecuredAccountsStatusResponse$outboundSchema;
|
|
50527
51920
|
var init_secured_accounts_status = __esm(() => {
|
|
50528
51921
|
init_v3();
|
|
50529
51922
|
init_primitives();
|
|
50530
51923
|
init_enums();
|
|
50531
51924
|
init_primitives2();
|
|
50532
51925
|
init_models();
|
|
50533
|
-
|
|
51926
|
+
SecuredAccountsStatusState = {
|
|
50534
51927
|
None: "none",
|
|
50535
51928
|
Fresh: "fresh",
|
|
50536
51929
|
Stale: "stale"
|
|
@@ -50563,10 +51956,10 @@ var init_secured_accounts_status = __esm(() => {
|
|
|
50563
51956
|
platformUserRef: "platform_user_ref"
|
|
50564
51957
|
});
|
|
50565
51958
|
});
|
|
50566
|
-
|
|
50567
|
-
|
|
51959
|
+
SecuredAccountsStatusState$inboundSchema = inboundSchema(SecuredAccountsStatusState);
|
|
51960
|
+
SecuredAccountsStatusState$outboundSchema = outboundSchema(SecuredAccountsStatusState);
|
|
50568
51961
|
SecuredAccountsStatusDataData$inboundSchema = objectType({
|
|
50569
|
-
state:
|
|
51962
|
+
state: SecuredAccountsStatusState$inboundSchema,
|
|
50570
51963
|
fresh_until: nullable3(date4())
|
|
50571
51964
|
}).transform((v) => {
|
|
50572
51965
|
return remap(v, {
|
|
@@ -50574,7 +51967,7 @@ var init_secured_accounts_status = __esm(() => {
|
|
|
50574
51967
|
});
|
|
50575
51968
|
});
|
|
50576
51969
|
SecuredAccountsStatusDataData$outboundSchema = objectType({
|
|
50577
|
-
state:
|
|
51970
|
+
state: SecuredAccountsStatusState$outboundSchema,
|
|
50578
51971
|
freshUntil: nullableType(dateType().transform((v) => v.toISOString()))
|
|
50579
51972
|
}).transform((v) => {
|
|
50580
51973
|
return remap(v, {
|
|
@@ -50598,7 +51991,7 @@ var init_secured_accounts_status = __esm(() => {
|
|
|
50598
51991
|
});
|
|
50599
51992
|
|
|
50600
51993
|
// src/models/operations/verification-get-status.ts
|
|
50601
|
-
var VerificationGetStatusStatus, VerificationGetStatusSDKType,
|
|
51994
|
+
var VerificationGetStatusStatus, VerificationGetStatusSDKType, VerificationGetStatusPreset, Link, VerificationGetStatusState, VerificationGetStatusGateType, VerificationGetStatusSecurity$inboundSchema, VerificationGetStatusSecurity$outboundSchema, VerificationGetStatusRequest$inboundSchema, VerificationGetStatusRequest$outboundSchema, VerificationGetStatusStatus$inboundSchema, VerificationGetStatusStatus$outboundSchema, VerificationGetStatusSDKType$inboundSchema, VerificationGetStatusSDKType$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, VerificationGetStatusPreset$inboundSchema, VerificationGetStatusPreset$outboundSchema, Link$inboundSchema, Link$outboundSchema, VerificationGetStatusState$inboundSchema, VerificationGetStatusState$outboundSchema, Gate$inboundSchema2, Gate$outboundSchema2, VerificationGetStatusAction$inboundSchema, VerificationGetStatusAction$outboundSchema, VerificationGetStatusGateType$inboundSchema, VerificationGetStatusGateType$outboundSchema, VerificationGetStatusData$inboundSchema, VerificationGetStatusData$outboundSchema, VerificationGetStatusResponse$inboundSchema, VerificationGetStatusResponse$outboundSchema;
|
|
50602
51995
|
var init_verification_get_status = __esm(() => {
|
|
50603
51996
|
init_v3();
|
|
50604
51997
|
init_primitives();
|
|
@@ -50618,12 +52011,27 @@ var init_verification_get_status = __esm(() => {
|
|
|
50618
52011
|
Signal: "signal",
|
|
50619
52012
|
Presence: "presence"
|
|
50620
52013
|
};
|
|
50621
|
-
|
|
50622
|
-
|
|
50623
|
-
|
|
50624
|
-
|
|
50625
|
-
|
|
50626
|
-
|
|
52014
|
+
VerificationGetStatusPreset = {
|
|
52015
|
+
Presale: "presale",
|
|
52016
|
+
Promo: "promo",
|
|
52017
|
+
Drop: "drop",
|
|
52018
|
+
Vote: "vote",
|
|
52019
|
+
Reservation: "reservation",
|
|
52020
|
+
Claim: "claim"
|
|
52021
|
+
};
|
|
52022
|
+
Link = {
|
|
52023
|
+
Required: "required",
|
|
52024
|
+
Optional: "optional",
|
|
52025
|
+
Never: "never"
|
|
52026
|
+
};
|
|
52027
|
+
VerificationGetStatusState = {
|
|
52028
|
+
Scheduled: "scheduled",
|
|
52029
|
+
Open: "open",
|
|
52030
|
+
Closed: "closed"
|
|
52031
|
+
};
|
|
52032
|
+
VerificationGetStatusGateType = {
|
|
52033
|
+
Human: "human",
|
|
52034
|
+
Age: "age"
|
|
50627
52035
|
};
|
|
50628
52036
|
VerificationGetStatusSecurity$inboundSchema = objectType({
|
|
50629
52037
|
apiKeyAuth: optional3(string4()),
|
|
@@ -50677,8 +52085,80 @@ var init_verification_get_status = __esm(() => {
|
|
|
50677
52085
|
parentRequestId: "parent_request_id"
|
|
50678
52086
|
});
|
|
50679
52087
|
});
|
|
50680
|
-
|
|
50681
|
-
|
|
52088
|
+
VerificationGetStatusPreset$inboundSchema = inboundSchema(VerificationGetStatusPreset);
|
|
52089
|
+
VerificationGetStatusPreset$outboundSchema = outboundSchema(VerificationGetStatusPreset);
|
|
52090
|
+
Link$inboundSchema = inboundSchema(Link);
|
|
52091
|
+
Link$outboundSchema = outboundSchema(Link);
|
|
52092
|
+
VerificationGetStatusState$inboundSchema = inboundSchema(VerificationGetStatusState);
|
|
52093
|
+
VerificationGetStatusState$outboundSchema = outboundSchema(VerificationGetStatusState);
|
|
52094
|
+
Gate$inboundSchema2 = objectType({
|
|
52095
|
+
gate_name: nullableType(string4()).optional(),
|
|
52096
|
+
message: nullableType(string4()).optional(),
|
|
52097
|
+
destination_url: nullableType(string4()).optional(),
|
|
52098
|
+
destination_host: nullableType(string4()).optional(),
|
|
52099
|
+
preset: nullableType(VerificationGetStatusPreset$inboundSchema).optional(),
|
|
52100
|
+
link: optional3(Link$inboundSchema),
|
|
52101
|
+
linked: nullableType(boolean4()).optional(),
|
|
52102
|
+
signed_up_required: optional3(boolean4()),
|
|
52103
|
+
per_person: nullableType(PassesPerPerson$inboundSchema).optional(),
|
|
52104
|
+
real_days: optional3(number4()),
|
|
52105
|
+
policy_line: optional3(string4()),
|
|
52106
|
+
state: optional3(VerificationGetStatusState$inboundSchema),
|
|
52107
|
+
opens_at: nullableType(date4()).optional(),
|
|
52108
|
+
closes_at: nullableType(date4()).optional()
|
|
52109
|
+
}).transform((v) => {
|
|
52110
|
+
return remap(v, {
|
|
52111
|
+
gate_name: "gateName",
|
|
52112
|
+
destination_url: "destinationUrl",
|
|
52113
|
+
destination_host: "destinationHost",
|
|
52114
|
+
signed_up_required: "signedUpRequired",
|
|
52115
|
+
per_person: "perPerson",
|
|
52116
|
+
real_days: "realDays",
|
|
52117
|
+
policy_line: "policyLine",
|
|
52118
|
+
opens_at: "opensAt",
|
|
52119
|
+
closes_at: "closesAt"
|
|
52120
|
+
});
|
|
52121
|
+
});
|
|
52122
|
+
Gate$outboundSchema2 = objectType({
|
|
52123
|
+
gateName: nullableType(stringType()).optional(),
|
|
52124
|
+
message: nullableType(stringType()).optional(),
|
|
52125
|
+
destinationUrl: nullableType(stringType()).optional(),
|
|
52126
|
+
destinationHost: nullableType(stringType()).optional(),
|
|
52127
|
+
preset: nullableType(VerificationGetStatusPreset$outboundSchema).optional(),
|
|
52128
|
+
link: Link$outboundSchema.optional(),
|
|
52129
|
+
linked: nullableType(booleanType()).optional(),
|
|
52130
|
+
signedUpRequired: booleanType().optional(),
|
|
52131
|
+
perPerson: nullableType(PassesPerPerson$outboundSchema).optional(),
|
|
52132
|
+
realDays: numberType().int().optional(),
|
|
52133
|
+
policyLine: stringType().optional(),
|
|
52134
|
+
state: VerificationGetStatusState$outboundSchema.optional(),
|
|
52135
|
+
opensAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
52136
|
+
closesAt: nullableType(dateType().transform((v) => v.toISOString())).optional()
|
|
52137
|
+
}).transform((v) => {
|
|
52138
|
+
return remap(v, {
|
|
52139
|
+
gateName: "gate_name",
|
|
52140
|
+
destinationUrl: "destination_url",
|
|
52141
|
+
destinationHost: "destination_host",
|
|
52142
|
+
signedUpRequired: "signed_up_required",
|
|
52143
|
+
perPerson: "per_person",
|
|
52144
|
+
realDays: "real_days",
|
|
52145
|
+
policyLine: "policy_line",
|
|
52146
|
+
opensAt: "opens_at",
|
|
52147
|
+
closesAt: "closes_at"
|
|
52148
|
+
});
|
|
52149
|
+
});
|
|
52150
|
+
VerificationGetStatusAction$inboundSchema = objectType({
|
|
52151
|
+
name: string4(),
|
|
52152
|
+
label: nullable3(string4()),
|
|
52153
|
+
linked: nullable3(boolean4())
|
|
52154
|
+
});
|
|
52155
|
+
VerificationGetStatusAction$outboundSchema = objectType({
|
|
52156
|
+
name: stringType(),
|
|
52157
|
+
label: nullableType(stringType()),
|
|
52158
|
+
linked: nullableType(booleanType())
|
|
52159
|
+
});
|
|
52160
|
+
VerificationGetStatusGateType$inboundSchema = inboundSchema(VerificationGetStatusGateType);
|
|
52161
|
+
VerificationGetStatusGateType$outboundSchema = outboundSchema(VerificationGetStatusGateType);
|
|
50682
52162
|
VerificationGetStatusData$inboundSchema = objectType({
|
|
50683
52163
|
found: optional3(boolean4()),
|
|
50684
52164
|
status: optional3(VerificationGetStatusStatus$inboundSchema),
|
|
@@ -50696,11 +52176,19 @@ var init_verification_get_status = __esm(() => {
|
|
|
50696
52176
|
metadata: nullableType(lazyType(() => Metadata$inboundSchema)).optional(),
|
|
50697
52177
|
message: optional3(string4()),
|
|
50698
52178
|
error: optional3(ErrorBody$inboundSchema),
|
|
50699
|
-
reason: nullableType(
|
|
52179
|
+
reason: nullableType(string4()).optional(),
|
|
50700
52180
|
trusted: nullableType(boolean4()).optional(),
|
|
50701
52181
|
first_time: nullableType(boolean4()).optional(),
|
|
50702
52182
|
notarize: optional3(boolean4()),
|
|
50703
|
-
organization_name: nullableType(string4()).optional()
|
|
52183
|
+
organization_name: nullableType(string4()).optional(),
|
|
52184
|
+
gate: nullableType(lazyType(() => Gate$inboundSchema2)).optional(),
|
|
52185
|
+
action: nullableType(lazyType(() => VerificationGetStatusAction$inboundSchema)).optional(),
|
|
52186
|
+
organization_mark_url: nullableType(string4()).optional(),
|
|
52187
|
+
match_number: nullableType(number4()).optional(),
|
|
52188
|
+
gate_type: optional3(VerificationGetStatusGateType$inboundSchema),
|
|
52189
|
+
age_threshold: nullableType(number4()).optional(),
|
|
52190
|
+
age_verdict: nullableType(string4()).optional(),
|
|
52191
|
+
age_source: nullableType(string4()).optional()
|
|
50704
52192
|
}).transform((v) => {
|
|
50705
52193
|
return remap(v, {
|
|
50706
52194
|
request_id: "requestId",
|
|
@@ -50714,7 +52202,13 @@ var init_verification_get_status = __esm(() => {
|
|
|
50714
52202
|
sdk_type: "sdkType",
|
|
50715
52203
|
presence_address: "presenceAddress",
|
|
50716
52204
|
first_time: "firstTime",
|
|
50717
|
-
organization_name: "organizationName"
|
|
52205
|
+
organization_name: "organizationName",
|
|
52206
|
+
organization_mark_url: "organizationMarkUrl",
|
|
52207
|
+
match_number: "matchNumber",
|
|
52208
|
+
gate_type: "gateType",
|
|
52209
|
+
age_threshold: "ageThreshold",
|
|
52210
|
+
age_verdict: "ageVerdict",
|
|
52211
|
+
age_source: "ageSource"
|
|
50718
52212
|
});
|
|
50719
52213
|
});
|
|
50720
52214
|
VerificationGetStatusData$outboundSchema = objectType({
|
|
@@ -50734,11 +52228,19 @@ var init_verification_get_status = __esm(() => {
|
|
|
50734
52228
|
metadata: nullableType(lazyType(() => Metadata$outboundSchema)).optional(),
|
|
50735
52229
|
message: stringType().optional(),
|
|
50736
52230
|
error: ErrorBody$outboundSchema.optional(),
|
|
50737
|
-
reason: nullableType(
|
|
52231
|
+
reason: nullableType(stringType()).optional(),
|
|
50738
52232
|
trusted: nullableType(booleanType()).optional(),
|
|
50739
52233
|
firstTime: nullableType(booleanType()).optional(),
|
|
50740
52234
|
notarize: booleanType().optional(),
|
|
50741
|
-
organizationName: nullableType(stringType()).optional()
|
|
52235
|
+
organizationName: nullableType(stringType()).optional(),
|
|
52236
|
+
gate: nullableType(lazyType(() => Gate$outboundSchema2)).optional(),
|
|
52237
|
+
action: nullableType(lazyType(() => VerificationGetStatusAction$outboundSchema)).optional(),
|
|
52238
|
+
organizationMarkUrl: nullableType(stringType()).optional(),
|
|
52239
|
+
matchNumber: nullableType(numberType().int()).optional(),
|
|
52240
|
+
gateType: VerificationGetStatusGateType$outboundSchema.optional(),
|
|
52241
|
+
ageThreshold: nullableType(numberType().int()).optional(),
|
|
52242
|
+
ageVerdict: nullableType(stringType()).optional(),
|
|
52243
|
+
ageSource: nullableType(stringType()).optional()
|
|
50742
52244
|
}).transform((v) => {
|
|
50743
52245
|
return remap(v, {
|
|
50744
52246
|
requestId: "request_id",
|
|
@@ -50752,7 +52254,13 @@ var init_verification_get_status = __esm(() => {
|
|
|
50752
52254
|
sdkType: "sdk_type",
|
|
50753
52255
|
presenceAddress: "presence_address",
|
|
50754
52256
|
firstTime: "first_time",
|
|
50755
|
-
organizationName: "organization_name"
|
|
52257
|
+
organizationName: "organization_name",
|
|
52258
|
+
organizationMarkUrl: "organization_mark_url",
|
|
52259
|
+
matchNumber: "match_number",
|
|
52260
|
+
gateType: "gate_type",
|
|
52261
|
+
ageThreshold: "age_threshold",
|
|
52262
|
+
ageVerdict: "age_verdict",
|
|
52263
|
+
ageSource: "age_source"
|
|
50756
52264
|
});
|
|
50757
52265
|
});
|
|
50758
52266
|
VerificationGetStatusResponse$inboundSchema = objectType({
|
|
@@ -50768,6 +52276,20 @@ var init_operations = __esm(() => {
|
|
|
50768
52276
|
init_actions_cancel();
|
|
50769
52277
|
init_actions_check_status();
|
|
50770
52278
|
init_actions_propose();
|
|
52279
|
+
init_gates_api_actions_create();
|
|
52280
|
+
init_gates_api_actions_list();
|
|
52281
|
+
init_gates_api_actions_request_status();
|
|
52282
|
+
init_gates_api_actions_request();
|
|
52283
|
+
init_gates_api_actions_set_state();
|
|
52284
|
+
init_gates_api_activate();
|
|
52285
|
+
init_gates_api_cancel();
|
|
52286
|
+
init_gates_api_close();
|
|
52287
|
+
init_gates_api_create();
|
|
52288
|
+
init_gates_api_extend();
|
|
52289
|
+
init_gates_api_get();
|
|
52290
|
+
init_gates_api_list();
|
|
52291
|
+
init_request_passkey_complete();
|
|
52292
|
+
init_request_passkey_options();
|
|
50771
52293
|
init_sdk_create_session();
|
|
50772
52294
|
init_sdk_create_verification_link();
|
|
50773
52295
|
init_sdk_get_partner_config();
|
|
@@ -51125,12 +52647,12 @@ var init_actions_propose_action2 = __esm(() => {
|
|
|
51125
52647
|
function createMCPServer(deps) {
|
|
51126
52648
|
const server = new McpServer({
|
|
51127
52649
|
name: "BotShield",
|
|
51128
|
-
version: "2.
|
|
52650
|
+
version: "2.3.0"
|
|
51129
52651
|
});
|
|
51130
52652
|
const client = new BotShieldCore({
|
|
51131
52653
|
security: deps.security,
|
|
51132
52654
|
serverURL: deps.serverURL,
|
|
51133
|
-
|
|
52655
|
+
server: deps.server
|
|
51134
52656
|
});
|
|
51135
52657
|
const scopes = new Set(deps.scopes);
|
|
51136
52658
|
const allowedTools = deps.allowedTools && new Set(deps.allowedTools);
|
|
@@ -51186,7 +52708,7 @@ async function startStdio(flags) {
|
|
|
51186
52708
|
agentKeyAuth1: flags["agent-key-auth1"] ?? ""
|
|
51187
52709
|
},
|
|
51188
52710
|
serverURL: flags["server-url"],
|
|
51189
|
-
|
|
52711
|
+
server: flags.server
|
|
51190
52712
|
});
|
|
51191
52713
|
await server.connect(transport);
|
|
51192
52714
|
const abort = async () => {
|
|
@@ -51208,7 +52730,7 @@ async function startSSE(flags) {
|
|
|
51208
52730
|
agentKeyAuth1: flags["agent-key-auth1"] ?? ""
|
|
51209
52731
|
},
|
|
51210
52732
|
serverURL: flags["server-url"],
|
|
51211
|
-
|
|
52733
|
+
server: flags.server
|
|
51212
52734
|
});
|
|
51213
52735
|
let transport;
|
|
51214
52736
|
const controller = new AbortController;
|
|
@@ -53323,6 +54845,7 @@ function buildContext(process2) {
|
|
|
53323
54845
|
|
|
53324
54846
|
// src/mcp-server/cli/start/command.ts
|
|
53325
54847
|
init_v3();
|
|
54848
|
+
init_config();
|
|
53326
54849
|
init_console_logger();
|
|
53327
54850
|
|
|
53328
54851
|
// src/mcp-server/scopes.ts
|
|
@@ -53388,11 +54911,11 @@ var startCommand = buildCommand({
|
|
|
53388
54911
|
optional: true,
|
|
53389
54912
|
parse: (value) => new URL(value).toString()
|
|
53390
54913
|
},
|
|
53391
|
-
|
|
53392
|
-
kind: "
|
|
54914
|
+
server: {
|
|
54915
|
+
kind: "enum",
|
|
53393
54916
|
brief: "Selects a predefined server used by the SDK",
|
|
53394
54917
|
optional: true,
|
|
53395
|
-
|
|
54918
|
+
values: Object.keys(ServerList)
|
|
53396
54919
|
},
|
|
53397
54920
|
"log-level": {
|
|
53398
54921
|
kind: "enum",
|
|
@@ -53441,7 +54964,7 @@ var routes = buildRouteMap({
|
|
|
53441
54964
|
var app = buildApplication(routes, {
|
|
53442
54965
|
name: "mcp",
|
|
53443
54966
|
versionInfo: {
|
|
53444
|
-
currentVersion: "2.
|
|
54967
|
+
currentVersion: "2.3.0"
|
|
53445
54968
|
}
|
|
53446
54969
|
});
|
|
53447
54970
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -53449,5 +54972,5 @@ export {
|
|
|
53449
54972
|
app
|
|
53450
54973
|
};
|
|
53451
54974
|
|
|
53452
|
-
//# debugId=
|
|
54975
|
+
//# debugId=C57611CDCE598E2464756E2164756E21
|
|
53453
54976
|
//# sourceMappingURL=mcp-server.js.map
|