botshield-sdk 2.1.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -9
- package/bin/mcp-server.js +1680 -127
- package/bin/mcp-server.js.map +43 -21
- package/dist/commonjs/funcs/actions-propose-action.d.ts +1 -1
- package/dist/commonjs/funcs/actions-propose-action.js +1 -1
- package/dist/commonjs/funcs/census-get-partner-config.d.ts +18 -0
- package/dist/commonjs/funcs/census-get-partner-config.d.ts.map +1 -0
- package/dist/commonjs/funcs/census-get-partner-config.js +134 -0
- package/dist/commonjs/funcs/census-get-partner-config.js.map +1 -0
- package/dist/commonjs/funcs/census-verify-token.d.ts +1 -1
- package/dist/commonjs/funcs/census-verify-token.js +1 -13
- package/dist/commonjs/funcs/census-verify-token.js.map +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/secured-accounts-get-status.d.ts +18 -0
- package/dist/commonjs/funcs/secured-accounts-get-status.d.ts.map +1 -0
- package/dist/commonjs/funcs/secured-accounts-get-status.js +126 -0
- package/dist/commonjs/funcs/secured-accounts-get-status.js.map +1 -0
- package/dist/commonjs/funcs/secured-accounts-list.d.ts +18 -0
- package/dist/commonjs/funcs/secured-accounts-list.d.ts.map +1 -0
- package/dist/commonjs/funcs/secured-accounts-list.js +129 -0
- package/dist/commonjs/funcs/secured-accounts-list.js.map +1 -0
- package/dist/commonjs/funcs/secured-accounts-revoke.d.ts +18 -0
- package/dist/commonjs/funcs/secured-accounts-revoke.d.ts.map +1 -0
- package/dist/commonjs/funcs/secured-accounts-revoke.js +123 -0
- package/dist/commonjs/funcs/secured-accounts-revoke.js.map +1 -0
- package/dist/commonjs/funcs/verification-get-status.js +0 -12
- package/dist/commonjs/funcs/verification-get-status.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +0 -14
- package/dist/commonjs/lib/security.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 +0 -16
- package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts +0 -2
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +0 -4
- 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.js +1 -1
- package/dist/commonjs/mcp-server/tools/actions-cancel-action.js +1 -1
- package/dist/commonjs/mcp-server/tools/actions-cancel-action.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/actions-check-action-status.js +1 -1
- package/dist/commonjs/mcp-server/tools/actions-check-action-status.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/actions-propose-action.js +1 -1
- package/dist/commonjs/mcp-server/tools/actions-propose-action.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/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 +6 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +6 -0
- package/dist/commonjs/models/index.js.map +1 -1
- 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 +108 -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 +16 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +16 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-create-session.d.ts +5 -5
- package/dist/commonjs/models/operations/sdk-create-session.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-create-session.js +6 -6
- package/dist/commonjs/models/operations/sdk-create-session.js.map +1 -1
- 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-get-partner-config.d.ts +148 -0
- package/dist/commonjs/models/operations/sdk-get-partner-config.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-get-partner-config.js +197 -0
- package/dist/commonjs/models/operations/sdk-get-partner-config.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts +6 -10
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-verify-token.js +2 -8
- package/dist/commonjs/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/commonjs/models/operations/secured-accounts-list.d.ts +212 -0
- package/dist/commonjs/models/operations/secured-accounts-list.d.ts.map +1 -0
- package/dist/commonjs/models/operations/secured-accounts-list.js +254 -0
- package/dist/commonjs/models/operations/secured-accounts-list.js.map +1 -0
- package/dist/commonjs/models/operations/secured-accounts-revoke.d.ts +130 -0
- package/dist/commonjs/models/operations/secured-accounts-revoke.d.ts.map +1 -0
- package/dist/commonjs/models/operations/secured-accounts-revoke.js +185 -0
- package/dist/commonjs/models/operations/secured-accounts-revoke.js.map +1 -0
- package/dist/commonjs/models/operations/secured-accounts-status.d.ts +97 -0
- package/dist/commonjs/models/operations/secured-accounts-status.d.ts.map +1 -0
- package/dist/commonjs/models/operations/secured-accounts-status.js +163 -0
- package/dist/commonjs/models/operations/secured-accounts-status.js.map +1 -0
- package/dist/commonjs/models/operations/verification-get-status.d.ts +141 -4
- package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.js +127 -5
- 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/models/security.d.ts +0 -4
- package/dist/commonjs/models/security.d.ts.map +1 -1
- package/dist/commonjs/models/security.js +0 -4
- package/dist/commonjs/models/security.js.map +1 -1
- package/dist/commonjs/sdk/actions.d.ts +1 -1
- package/dist/commonjs/sdk/actions.js +1 -1
- package/dist/commonjs/sdk/census.d.ts +8 -1
- package/dist/commonjs/sdk/census.d.ts.map +1 -1
- package/dist/commonjs/sdk/census.js +11 -1
- package/dist/commonjs/sdk/census.js.map +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/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/commonjs/sdk/secured-accounts.d.ts +26 -0
- package/dist/commonjs/sdk/secured-accounts.d.ts.map +1 -0
- package/dist/commonjs/sdk/secured-accounts.js +42 -0
- package/dist/commonjs/sdk/secured-accounts.js.map +1 -0
- package/dist/esm/funcs/actions-propose-action.d.ts +1 -1
- package/dist/esm/funcs/actions-propose-action.js +1 -1
- package/dist/esm/funcs/census-get-partner-config.d.ts +18 -0
- package/dist/esm/funcs/census-get-partner-config.d.ts.map +1 -0
- package/dist/esm/funcs/census-get-partner-config.js +98 -0
- package/dist/esm/funcs/census-get-partner-config.js.map +1 -0
- package/dist/esm/funcs/census-verify-token.d.ts +1 -1
- package/dist/esm/funcs/census-verify-token.js +1 -13
- package/dist/esm/funcs/census-verify-token.js.map +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/secured-accounts-get-status.d.ts +18 -0
- package/dist/esm/funcs/secured-accounts-get-status.d.ts.map +1 -0
- package/dist/esm/funcs/secured-accounts-get-status.js +90 -0
- package/dist/esm/funcs/secured-accounts-get-status.js.map +1 -0
- package/dist/esm/funcs/secured-accounts-list.d.ts +18 -0
- package/dist/esm/funcs/secured-accounts-list.d.ts.map +1 -0
- package/dist/esm/funcs/secured-accounts-list.js +93 -0
- package/dist/esm/funcs/secured-accounts-list.js.map +1 -0
- package/dist/esm/funcs/secured-accounts-revoke.d.ts +18 -0
- package/dist/esm/funcs/secured-accounts-revoke.d.ts.map +1 -0
- package/dist/esm/funcs/secured-accounts-revoke.js +87 -0
- package/dist/esm/funcs/secured-accounts-revoke.js.map +1 -0
- package/dist/esm/funcs/verification-get-status.js +0 -12
- package/dist/esm/funcs/verification-get-status.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +0 -14
- package/dist/esm/lib/security.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 +0 -16
- package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.d.ts +0 -2
- package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.js +0 -4
- 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.js +1 -1
- package/dist/esm/mcp-server/tools/actions-cancel-action.js +1 -1
- package/dist/esm/mcp-server/tools/actions-cancel-action.js.map +1 -1
- package/dist/esm/mcp-server/tools/actions-check-action-status.js +1 -1
- package/dist/esm/mcp-server/tools/actions-check-action-status.js.map +1 -1
- package/dist/esm/mcp-server/tools/actions-propose-action.js +1 -1
- package/dist/esm/mcp-server/tools/actions-propose-action.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/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 +6 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +6 -0
- package/dist/esm/models/index.js.map +1 -1
- 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 +108 -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 +16 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +16 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/sdk-create-session.d.ts +5 -5
- package/dist/esm/models/operations/sdk-create-session.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-create-session.js +5 -5
- package/dist/esm/models/operations/sdk-create-session.js.map +1 -1
- 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-get-partner-config.d.ts +148 -0
- package/dist/esm/models/operations/sdk-get-partner-config.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-get-partner-config.js +149 -0
- package/dist/esm/models/operations/sdk-get-partner-config.js.map +1 -0
- package/dist/esm/models/operations/sdk-verify-token.d.ts +6 -10
- package/dist/esm/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-verify-token.js +2 -8
- package/dist/esm/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/esm/models/operations/secured-accounts-list.d.ts +212 -0
- package/dist/esm/models/operations/secured-accounts-list.d.ts.map +1 -0
- package/dist/esm/models/operations/secured-accounts-list.js +206 -0
- package/dist/esm/models/operations/secured-accounts-list.js.map +1 -0
- package/dist/esm/models/operations/secured-accounts-revoke.d.ts +130 -0
- package/dist/esm/models/operations/secured-accounts-revoke.d.ts.map +1 -0
- package/dist/esm/models/operations/secured-accounts-revoke.js +139 -0
- package/dist/esm/models/operations/secured-accounts-revoke.js.map +1 -0
- package/dist/esm/models/operations/secured-accounts-status.d.ts +97 -0
- package/dist/esm/models/operations/secured-accounts-status.d.ts.map +1 -0
- package/dist/esm/models/operations/secured-accounts-status.js +117 -0
- package/dist/esm/models/operations/secured-accounts-status.js.map +1 -0
- package/dist/esm/models/operations/verification-get-status.d.ts +141 -4
- package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/esm/models/operations/verification-get-status.js +122 -4
- 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/models/security.d.ts +0 -4
- package/dist/esm/models/security.d.ts.map +1 -1
- package/dist/esm/models/security.js +0 -4
- package/dist/esm/models/security.js.map +1 -1
- package/dist/esm/sdk/actions.d.ts +1 -1
- package/dist/esm/sdk/actions.js +1 -1
- package/dist/esm/sdk/census.d.ts +8 -1
- package/dist/esm/sdk/census.d.ts.map +1 -1
- package/dist/esm/sdk/census.js +11 -1
- package/dist/esm/sdk/census.js.map +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/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/dist/esm/sdk/secured-accounts.d.ts +26 -0
- package/dist/esm/sdk/secured-accounts.d.ts.map +1 -0
- package/dist/esm/sdk/secured-accounts.js +38 -0
- package/dist/esm/sdk/secured-accounts.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/actions-propose-action.ts +1 -1
- package/src/funcs/census-get-partner-config.ts +198 -0
- package/src/funcs/census-verify-token.ts +1 -15
- 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/secured-accounts-get-status.ts +189 -0
- package/src/funcs/secured-accounts-list.ts +194 -0
- package/src/funcs/secured-accounts-revoke.ts +185 -0
- package/src/funcs/verification-get-status.ts +0 -14
- package/src/lib/config.ts +2 -2
- package/src/lib/security.ts +0 -14
- package/src/mcp-server/cli/start/command.ts +0 -16
- package/src/mcp-server/cli/start/impl.ts +0 -6
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/actions-cancel-action.ts +1 -1
- package/src/mcp-server/tools/actions-check-action-status.ts +1 -1
- package/src/mcp-server/tools/actions-propose-action.ts +1 -1
- package/src/models/bot-shield-action.ts +156 -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 +6 -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 +342 -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 +16 -0
- package/src/models/operations/sdk-create-session.ts +13 -11
- package/src/models/operations/sdk-create-verification-link.ts +46 -24
- package/src/models/operations/sdk-get-partner-config.ts +385 -0
- package/src/models/operations/sdk-verify-token.ts +8 -18
- package/src/models/operations/secured-accounts-list.ts +507 -0
- package/src/models/operations/secured-accounts-revoke.ts +359 -0
- package/src/models/operations/secured-accounts-status.ts +304 -0
- package/src/models/operations/verification-get-status.ts +281 -8
- package/src/models/passes-per-person.ts +74 -0
- package/src/models/security.ts +0 -8
- package/src/sdk/actions.ts +1 -1
- package/src/sdk/census.ts +21 -1
- package/src/sdk/gates-actions.ts +107 -0
- package/src/sdk/gates.ts +155 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/secured-accounts.ts +69 -0
package/bin/mcp-server.js
CHANGED
|
@@ -47249,9 +47249,9 @@ var init_config = __esm(() => {
|
|
|
47249
47249
|
SDK_METADATA = {
|
|
47250
47250
|
language: "typescript",
|
|
47251
47251
|
openapiDocVersion: "2.0.0",
|
|
47252
|
-
sdkVersion: "2.1
|
|
47252
|
+
sdkVersion: "2.2.1",
|
|
47253
47253
|
genVersion: "2.934.1",
|
|
47254
|
-
userAgent: "speakeasy-sdk/typescript 2.1
|
|
47254
|
+
userAgent: "speakeasy-sdk/typescript 2.2.1 2.934.1 2.0.0 botshield-sdk"
|
|
47255
47255
|
};
|
|
47256
47256
|
});
|
|
47257
47257
|
|
|
@@ -48747,20 +48747,6 @@ function resolveGlobalSecurity(security, allowedFields) {
|
|
|
48747
48747
|
type: "apiKey:header",
|
|
48748
48748
|
value: security?.agentKeyAuth1
|
|
48749
48749
|
}
|
|
48750
|
-
],
|
|
48751
|
-
[
|
|
48752
|
-
{
|
|
48753
|
-
fieldName: "Authorization",
|
|
48754
|
-
type: "apiKey:header",
|
|
48755
|
-
value: security?.agentKeyAuth2
|
|
48756
|
-
}
|
|
48757
|
-
],
|
|
48758
|
-
[
|
|
48759
|
-
{
|
|
48760
|
-
fieldName: "Authorization",
|
|
48761
|
-
type: "apiKey:header",
|
|
48762
|
-
value: security?.agentKeyAuth3
|
|
48763
|
-
}
|
|
48764
48750
|
]
|
|
48765
48751
|
];
|
|
48766
48752
|
if (allowedFields) {
|
|
@@ -48913,6 +48899,13 @@ function optional3(t) {
|
|
|
48913
48899
|
t
|
|
48914
48900
|
]).optional();
|
|
48915
48901
|
}
|
|
48902
|
+
function nullable3(t) {
|
|
48903
|
+
return unionType([
|
|
48904
|
+
nullType(),
|
|
48905
|
+
undefinedType().transform(() => defaultToZeroValue(null)),
|
|
48906
|
+
t
|
|
48907
|
+
]);
|
|
48908
|
+
}
|
|
48916
48909
|
function zodDefaultToZeroValue(value) {
|
|
48917
48910
|
return anyType().transform((input, ctx) => {
|
|
48918
48911
|
if (input === undefined)
|
|
@@ -48933,6 +48926,61 @@ var init_primitives2 = __esm(() => {
|
|
|
48933
48926
|
init_unrecognized();
|
|
48934
48927
|
});
|
|
48935
48928
|
|
|
48929
|
+
// src/models/bot-shield-action.ts
|
|
48930
|
+
var BotShieldActionState, BotShieldActionEnvironment, BotShieldActionState$inboundSchema, BotShieldActionState$outboundSchema, BotShieldActionEnvironment$inboundSchema, BotShieldActionEnvironment$outboundSchema, BotShieldAction$inboundSchema, BotShieldAction$outboundSchema;
|
|
48931
|
+
var init_bot_shield_action = __esm(() => {
|
|
48932
|
+
init_v3();
|
|
48933
|
+
init_primitives();
|
|
48934
|
+
init_enums();
|
|
48935
|
+
init_primitives2();
|
|
48936
|
+
BotShieldActionState = {
|
|
48937
|
+
Live: "live",
|
|
48938
|
+
Off: "off"
|
|
48939
|
+
};
|
|
48940
|
+
BotShieldActionEnvironment = {
|
|
48941
|
+
Development: "development",
|
|
48942
|
+
Production: "production"
|
|
48943
|
+
};
|
|
48944
|
+
BotShieldActionState$inboundSchema = inboundSchema(BotShieldActionState);
|
|
48945
|
+
BotShieldActionState$outboundSchema = outboundSchema(BotShieldActionState);
|
|
48946
|
+
BotShieldActionEnvironment$inboundSchema = inboundSchema(BotShieldActionEnvironment);
|
|
48947
|
+
BotShieldActionEnvironment$outboundSchema = outboundSchema(BotShieldActionEnvironment);
|
|
48948
|
+
BotShieldAction$inboundSchema = objectType({
|
|
48949
|
+
id: string4(),
|
|
48950
|
+
name: string4(),
|
|
48951
|
+
act_key: string4(),
|
|
48952
|
+
where_url: nullable3(string4()),
|
|
48953
|
+
state: BotShieldActionState$inboundSchema,
|
|
48954
|
+
environment: BotShieldActionEnvironment$inboundSchema,
|
|
48955
|
+
placed_at: date4(),
|
|
48956
|
+
turned_off_at: nullable3(date4())
|
|
48957
|
+
}).transform((v) => {
|
|
48958
|
+
return remap(v, {
|
|
48959
|
+
act_key: "actKey",
|
|
48960
|
+
where_url: "whereUrl",
|
|
48961
|
+
placed_at: "placedAt",
|
|
48962
|
+
turned_off_at: "turnedOffAt"
|
|
48963
|
+
});
|
|
48964
|
+
});
|
|
48965
|
+
BotShieldAction$outboundSchema = objectType({
|
|
48966
|
+
id: stringType(),
|
|
48967
|
+
name: stringType(),
|
|
48968
|
+
actKey: stringType(),
|
|
48969
|
+
whereUrl: nullableType(stringType()),
|
|
48970
|
+
state: BotShieldActionState$outboundSchema,
|
|
48971
|
+
environment: BotShieldActionEnvironment$outboundSchema,
|
|
48972
|
+
placedAt: dateType().transform((v) => v.toISOString()),
|
|
48973
|
+
turnedOffAt: nullableType(dateType().transform((v) => v.toISOString()))
|
|
48974
|
+
}).transform((v) => {
|
|
48975
|
+
return remap(v, {
|
|
48976
|
+
actKey: "act_key",
|
|
48977
|
+
whereUrl: "where_url",
|
|
48978
|
+
placedAt: "placed_at",
|
|
48979
|
+
turnedOffAt: "turned_off_at"
|
|
48980
|
+
});
|
|
48981
|
+
});
|
|
48982
|
+
});
|
|
48983
|
+
|
|
48936
48984
|
// src/models/error-body.ts
|
|
48937
48985
|
var Reason, Violation$inboundSchema, Violation$outboundSchema, Reason$inboundSchema, Reason$outboundSchema, Limits$inboundSchema, Limits$outboundSchema, ErrorBody$inboundSchema, ErrorBody$outboundSchema;
|
|
48938
48986
|
var init_error_body = __esm(() => {
|
|
@@ -49029,6 +49077,262 @@ var init_error_response = __esm(() => {
|
|
|
49029
49077
|
});
|
|
49030
49078
|
});
|
|
49031
49079
|
|
|
49080
|
+
// src/models/gate-schedule.ts
|
|
49081
|
+
var GateSchedule$inboundSchema, GateSchedule$outboundSchema;
|
|
49082
|
+
var init_gate_schedule = __esm(() => {
|
|
49083
|
+
init_v3();
|
|
49084
|
+
init_primitives2();
|
|
49085
|
+
GateSchedule$inboundSchema = objectType({
|
|
49086
|
+
opensAt: nullableType(date4()).optional(),
|
|
49087
|
+
closesAt: nullableType(date4()).optional()
|
|
49088
|
+
});
|
|
49089
|
+
GateSchedule$outboundSchema = objectType({
|
|
49090
|
+
opensAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
49091
|
+
closesAt: nullableType(dateType().transform((v) => v.toISOString())).optional()
|
|
49092
|
+
});
|
|
49093
|
+
});
|
|
49094
|
+
|
|
49095
|
+
// src/models/passes-per-person.ts
|
|
49096
|
+
var Window, Window$inboundSchema, Window$outboundSchema, PassesPerPerson$inboundSchema, PassesPerPerson$outboundSchema;
|
|
49097
|
+
var init_passes_per_person = __esm(() => {
|
|
49098
|
+
init_v3();
|
|
49099
|
+
init_enums();
|
|
49100
|
+
init_primitives2();
|
|
49101
|
+
Window = {
|
|
49102
|
+
Day: "day",
|
|
49103
|
+
Week: "week",
|
|
49104
|
+
Thirtyd: "30d",
|
|
49105
|
+
Ever: "ever"
|
|
49106
|
+
};
|
|
49107
|
+
Window$inboundSchema = inboundSchema(Window);
|
|
49108
|
+
Window$outboundSchema = outboundSchema(Window);
|
|
49109
|
+
PassesPerPerson$inboundSchema = objectType({
|
|
49110
|
+
limit: number4(),
|
|
49111
|
+
window: Window$inboundSchema
|
|
49112
|
+
});
|
|
49113
|
+
PassesPerPerson$outboundSchema = objectType({
|
|
49114
|
+
limit: numberType().int(),
|
|
49115
|
+
window: Window$outboundSchema
|
|
49116
|
+
});
|
|
49117
|
+
});
|
|
49118
|
+
|
|
49119
|
+
// src/models/gate-policy-doc.ts
|
|
49120
|
+
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;
|
|
49121
|
+
var init_gate_policy_doc = __esm(() => {
|
|
49122
|
+
init_v3();
|
|
49123
|
+
init_primitives2();
|
|
49124
|
+
init_gate_schedule();
|
|
49125
|
+
init_passes_per_person();
|
|
49126
|
+
Version = {
|
|
49127
|
+
One: 1,
|
|
49128
|
+
Two: 2,
|
|
49129
|
+
Three: 3
|
|
49130
|
+
};
|
|
49131
|
+
GatePolicyDocPreset = {
|
|
49132
|
+
Presale: "presale",
|
|
49133
|
+
Promo: "promo",
|
|
49134
|
+
Drop: "drop",
|
|
49135
|
+
Vote: "vote",
|
|
49136
|
+
Reservation: "reservation",
|
|
49137
|
+
Claim: "claim"
|
|
49138
|
+
};
|
|
49139
|
+
GatePolicyDocLink = {
|
|
49140
|
+
Required: "required",
|
|
49141
|
+
Optional: "optional",
|
|
49142
|
+
Never: "never"
|
|
49143
|
+
};
|
|
49144
|
+
Asks = {
|
|
49145
|
+
Always: "always"
|
|
49146
|
+
};
|
|
49147
|
+
Version$inboundSchema = nativeEnumType(Version);
|
|
49148
|
+
Version$outboundSchema = Version$inboundSchema;
|
|
49149
|
+
GatePolicyDocPreset$inboundSchema = nativeEnumType(GatePolicyDocPreset);
|
|
49150
|
+
GatePolicyDocPreset$outboundSchema = GatePolicyDocPreset$inboundSchema;
|
|
49151
|
+
GatePolicyDocLink$inboundSchema = nativeEnumType(GatePolicyDocLink);
|
|
49152
|
+
GatePolicyDocLink$outboundSchema = GatePolicyDocLink$inboundSchema;
|
|
49153
|
+
Asks$inboundSchema = nativeEnumType(Asks);
|
|
49154
|
+
Asks$outboundSchema = Asks$inboundSchema;
|
|
49155
|
+
GatePolicyDoc$inboundSchema = objectType({
|
|
49156
|
+
version: Version$inboundSchema,
|
|
49157
|
+
preset: nullableType(GatePolicyDocPreset$inboundSchema).optional(),
|
|
49158
|
+
link: optional3(GatePolicyDocLink$inboundSchema),
|
|
49159
|
+
signedUp: optional3(boolean4()),
|
|
49160
|
+
schedule: optional3(GateSchedule$inboundSchema),
|
|
49161
|
+
asks: optional3(Asks$inboundSchema),
|
|
49162
|
+
passesPerPerson: nullableType(PassesPerPerson$inboundSchema).optional(),
|
|
49163
|
+
realDaysAtLeast: optional3(number4())
|
|
49164
|
+
});
|
|
49165
|
+
GatePolicyDoc$outboundSchema = objectType({
|
|
49166
|
+
version: Version$outboundSchema,
|
|
49167
|
+
preset: nullableType(GatePolicyDocPreset$outboundSchema).optional(),
|
|
49168
|
+
link: GatePolicyDocLink$outboundSchema.optional(),
|
|
49169
|
+
signedUp: booleanType().optional(),
|
|
49170
|
+
schedule: GateSchedule$outboundSchema.optional(),
|
|
49171
|
+
asks: Asks$outboundSchema.optional(),
|
|
49172
|
+
passesPerPerson: nullableType(PassesPerPerson$outboundSchema).optional(),
|
|
49173
|
+
realDaysAtLeast: numberType().int().optional()
|
|
49174
|
+
});
|
|
49175
|
+
});
|
|
49176
|
+
|
|
49177
|
+
// src/models/gate.ts
|
|
49178
|
+
var Status, GateState, GateEnvironment, GatePreset, GateType, AgeThreshold, GateLink, Status$inboundSchema, Status$outboundSchema, GateState$inboundSchema, GateState$outboundSchema, GateEnvironment$inboundSchema, GateEnvironment$outboundSchema, GatePreset$inboundSchema, GatePreset$outboundSchema, GateType$inboundSchema, GateType$outboundSchema, AgeThreshold$inboundSchema, AgeThreshold$outboundSchema, GateLink$inboundSchema, GateLink$outboundSchema, Schedule$inboundSchema, Schedule$outboundSchema, Policy$inboundSchema, Policy$outboundSchema, Gate$inboundSchema, Gate$outboundSchema;
|
|
49179
|
+
var init_gate = __esm(() => {
|
|
49180
|
+
init_v3();
|
|
49181
|
+
init_primitives();
|
|
49182
|
+
init_enums();
|
|
49183
|
+
init_primitives2();
|
|
49184
|
+
init_passes_per_person();
|
|
49185
|
+
Status = {
|
|
49186
|
+
Draft: "draft",
|
|
49187
|
+
Active: "active",
|
|
49188
|
+
Closed: "closed"
|
|
49189
|
+
};
|
|
49190
|
+
GateState = {
|
|
49191
|
+
Scheduled: "scheduled",
|
|
49192
|
+
Open: "open",
|
|
49193
|
+
Closed: "closed"
|
|
49194
|
+
};
|
|
49195
|
+
GateEnvironment = {
|
|
49196
|
+
Development: "development",
|
|
49197
|
+
Production: "production"
|
|
49198
|
+
};
|
|
49199
|
+
GatePreset = {
|
|
49200
|
+
Presale: "presale",
|
|
49201
|
+
Promo: "promo",
|
|
49202
|
+
Drop: "drop",
|
|
49203
|
+
Vote: "vote",
|
|
49204
|
+
Reservation: "reservation",
|
|
49205
|
+
Claim: "claim"
|
|
49206
|
+
};
|
|
49207
|
+
GateType = {
|
|
49208
|
+
Human: "human",
|
|
49209
|
+
Age: "age"
|
|
49210
|
+
};
|
|
49211
|
+
AgeThreshold = {
|
|
49212
|
+
Thirteen: 13,
|
|
49213
|
+
Eighteen: 18,
|
|
49214
|
+
TwentyOne: 21
|
|
49215
|
+
};
|
|
49216
|
+
GateLink = {
|
|
49217
|
+
Required: "required",
|
|
49218
|
+
Optional: "optional",
|
|
49219
|
+
Never: "never"
|
|
49220
|
+
};
|
|
49221
|
+
Status$inboundSchema = inboundSchema(Status);
|
|
49222
|
+
Status$outboundSchema = outboundSchema(Status);
|
|
49223
|
+
GateState$inboundSchema = inboundSchema(GateState);
|
|
49224
|
+
GateState$outboundSchema = outboundSchema(GateState);
|
|
49225
|
+
GateEnvironment$inboundSchema = inboundSchema(GateEnvironment);
|
|
49226
|
+
GateEnvironment$outboundSchema = outboundSchema(GateEnvironment);
|
|
49227
|
+
GatePreset$inboundSchema = inboundSchema(GatePreset);
|
|
49228
|
+
GatePreset$outboundSchema = outboundSchema(GatePreset);
|
|
49229
|
+
GateType$inboundSchema = inboundSchema(GateType);
|
|
49230
|
+
GateType$outboundSchema = outboundSchema(GateType);
|
|
49231
|
+
AgeThreshold$inboundSchema = inboundSchemaInt(AgeThreshold);
|
|
49232
|
+
AgeThreshold$outboundSchema = outboundSchemaInt(AgeThreshold);
|
|
49233
|
+
GateLink$inboundSchema = inboundSchema(GateLink);
|
|
49234
|
+
GateLink$outboundSchema = outboundSchema(GateLink);
|
|
49235
|
+
Schedule$inboundSchema = objectType({
|
|
49236
|
+
opensAt: nullable3(date4()),
|
|
49237
|
+
closesAt: nullable3(date4())
|
|
49238
|
+
});
|
|
49239
|
+
Schedule$outboundSchema = objectType({
|
|
49240
|
+
opensAt: nullableType(dateType().transform((v) => v.toISOString())),
|
|
49241
|
+
closesAt: nullableType(dateType().transform((v) => v.toISOString()))
|
|
49242
|
+
});
|
|
49243
|
+
Policy$inboundSchema = objectType({
|
|
49244
|
+
preset: nullable3(GatePreset$inboundSchema),
|
|
49245
|
+
gate_type: GateType$inboundSchema,
|
|
49246
|
+
age_threshold: nullable3(AgeThreshold$inboundSchema),
|
|
49247
|
+
signed_up: boolean4(),
|
|
49248
|
+
link: GateLink$inboundSchema,
|
|
49249
|
+
passes_per_person: nullable3(PassesPerPerson$inboundSchema),
|
|
49250
|
+
real_days_at_least: number4(),
|
|
49251
|
+
schedule: lazyType(() => Schedule$inboundSchema),
|
|
49252
|
+
line: string4()
|
|
49253
|
+
}).transform((v) => {
|
|
49254
|
+
return remap(v, {
|
|
49255
|
+
gate_type: "gateType",
|
|
49256
|
+
age_threshold: "ageThreshold",
|
|
49257
|
+
signed_up: "signedUp",
|
|
49258
|
+
passes_per_person: "passesPerPerson",
|
|
49259
|
+
real_days_at_least: "realDaysAtLeast"
|
|
49260
|
+
});
|
|
49261
|
+
});
|
|
49262
|
+
Policy$outboundSchema = objectType({
|
|
49263
|
+
preset: nullableType(GatePreset$outboundSchema),
|
|
49264
|
+
gateType: GateType$outboundSchema,
|
|
49265
|
+
ageThreshold: nullableType(AgeThreshold$outboundSchema),
|
|
49266
|
+
signedUp: booleanType(),
|
|
49267
|
+
link: GateLink$outboundSchema,
|
|
49268
|
+
passesPerPerson: nullableType(PassesPerPerson$outboundSchema),
|
|
49269
|
+
realDaysAtLeast: numberType().int(),
|
|
49270
|
+
schedule: lazyType(() => Schedule$outboundSchema),
|
|
49271
|
+
line: stringType()
|
|
49272
|
+
}).transform((v) => {
|
|
49273
|
+
return remap(v, {
|
|
49274
|
+
gateType: "gate_type",
|
|
49275
|
+
ageThreshold: "age_threshold",
|
|
49276
|
+
signedUp: "signed_up",
|
|
49277
|
+
passesPerPerson: "passes_per_person",
|
|
49278
|
+
realDaysAtLeast: "real_days_at_least"
|
|
49279
|
+
});
|
|
49280
|
+
});
|
|
49281
|
+
Gate$inboundSchema = objectType({
|
|
49282
|
+
key: string4(),
|
|
49283
|
+
name: string4(),
|
|
49284
|
+
message: nullable3(string4()),
|
|
49285
|
+
status: Status$inboundSchema,
|
|
49286
|
+
state: nullable3(GateState$inboundSchema),
|
|
49287
|
+
environment: GateEnvironment$inboundSchema,
|
|
49288
|
+
destination_url: nullable3(string4()),
|
|
49289
|
+
policy: nullable3(lazyType(() => Policy$inboundSchema)),
|
|
49290
|
+
placed_at: date4(),
|
|
49291
|
+
placed_by_api: boolean4()
|
|
49292
|
+
}).transform((v) => {
|
|
49293
|
+
return remap(v, {
|
|
49294
|
+
destination_url: "destinationUrl",
|
|
49295
|
+
placed_at: "placedAt",
|
|
49296
|
+
placed_by_api: "placedByApi"
|
|
49297
|
+
});
|
|
49298
|
+
});
|
|
49299
|
+
Gate$outboundSchema = objectType({
|
|
49300
|
+
key: stringType(),
|
|
49301
|
+
name: stringType(),
|
|
49302
|
+
message: nullableType(stringType()),
|
|
49303
|
+
status: Status$outboundSchema,
|
|
49304
|
+
state: nullableType(GateState$outboundSchema),
|
|
49305
|
+
environment: GateEnvironment$outboundSchema,
|
|
49306
|
+
destinationUrl: nullableType(stringType()),
|
|
49307
|
+
policy: nullableType(lazyType(() => Policy$outboundSchema)),
|
|
49308
|
+
placedAt: dateType().transform((v) => v.toISOString()),
|
|
49309
|
+
placedByApi: booleanType()
|
|
49310
|
+
}).transform((v) => {
|
|
49311
|
+
return remap(v, {
|
|
49312
|
+
destinationUrl: "destination_url",
|
|
49313
|
+
placedAt: "placed_at",
|
|
49314
|
+
placedByApi: "placed_by_api"
|
|
49315
|
+
});
|
|
49316
|
+
});
|
|
49317
|
+
});
|
|
49318
|
+
|
|
49319
|
+
// src/models/gates-api-error.ts
|
|
49320
|
+
var GatesApiError$inboundSchema, GatesApiError$outboundSchema;
|
|
49321
|
+
var init_gates_api_error = __esm(() => {
|
|
49322
|
+
init_v3();
|
|
49323
|
+
init_primitives2();
|
|
49324
|
+
GatesApiError$inboundSchema = objectType({
|
|
49325
|
+
message: string4(),
|
|
49326
|
+
statusCode: number4(),
|
|
49327
|
+
code: string4()
|
|
49328
|
+
});
|
|
49329
|
+
GatesApiError$outboundSchema = objectType({
|
|
49330
|
+
message: stringType(),
|
|
49331
|
+
statusCode: numberType().int(),
|
|
49332
|
+
code: stringType()
|
|
49333
|
+
});
|
|
49334
|
+
});
|
|
49335
|
+
|
|
49032
49336
|
// src/models/invalid-input-error.ts
|
|
49033
49337
|
var InvalidInputErrorError$inboundSchema, InvalidInputErrorError$outboundSchema;
|
|
49034
49338
|
var init_invalid_input_error = __esm(() => {
|
|
@@ -49053,23 +49357,25 @@ var init_security2 = __esm(() => {
|
|
|
49053
49357
|
init_primitives2();
|
|
49054
49358
|
Security$inboundSchema = objectType({
|
|
49055
49359
|
agentKeyAuth: optional3(string4()),
|
|
49056
|
-
agentKeyAuth1: optional3(string4())
|
|
49057
|
-
agentKeyAuth2: optional3(string4()),
|
|
49058
|
-
agentKeyAuth3: optional3(string4())
|
|
49360
|
+
agentKeyAuth1: optional3(string4())
|
|
49059
49361
|
});
|
|
49060
49362
|
Security$outboundSchema = objectType({
|
|
49061
49363
|
agentKeyAuth: stringType().optional(),
|
|
49062
|
-
agentKeyAuth1: stringType().optional()
|
|
49063
|
-
agentKeyAuth2: stringType().optional(),
|
|
49064
|
-
agentKeyAuth3: stringType().optional()
|
|
49364
|
+
agentKeyAuth1: stringType().optional()
|
|
49065
49365
|
});
|
|
49066
49366
|
});
|
|
49067
49367
|
|
|
49068
49368
|
// src/models/index.ts
|
|
49069
49369
|
var init_models = __esm(() => {
|
|
49370
|
+
init_bot_shield_action();
|
|
49070
49371
|
init_error_body();
|
|
49071
49372
|
init_error_response();
|
|
49373
|
+
init_gate_policy_doc();
|
|
49374
|
+
init_gate_schedule();
|
|
49375
|
+
init_gate();
|
|
49376
|
+
init_gates_api_error();
|
|
49072
49377
|
init_invalid_input_error();
|
|
49378
|
+
init_passes_per_person();
|
|
49073
49379
|
init_security2();
|
|
49074
49380
|
});
|
|
49075
49381
|
|
|
@@ -49326,7 +49632,7 @@ var init_actions_check_status = __esm(() => {
|
|
|
49326
49632
|
});
|
|
49327
49633
|
|
|
49328
49634
|
// src/models/operations/actions-propose.ts
|
|
49329
|
-
var ActionsProposeStatus, SummaryDetail$inboundSchema, SummaryDetail$outboundSchema,
|
|
49635
|
+
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;
|
|
49330
49636
|
var init_actions_propose = __esm(() => {
|
|
49331
49637
|
init_v3();
|
|
49332
49638
|
init_primitives();
|
|
@@ -49348,7 +49654,7 @@ var init_actions_propose = __esm(() => {
|
|
|
49348
49654
|
label: stringType().optional(),
|
|
49349
49655
|
value: stringType().optional()
|
|
49350
49656
|
});
|
|
49351
|
-
|
|
49657
|
+
ActionsProposeAction$inboundSchema = objectType({
|
|
49352
49658
|
summary_title: string4(),
|
|
49353
49659
|
summary_detail: optional3(lazyType(() => SummaryDetail$inboundSchema)),
|
|
49354
49660
|
category: string4(),
|
|
@@ -49360,7 +49666,7 @@ var init_actions_propose = __esm(() => {
|
|
|
49360
49666
|
trusted_account_id: "trustedAccountId"
|
|
49361
49667
|
});
|
|
49362
49668
|
});
|
|
49363
|
-
|
|
49669
|
+
ActionsProposeAction$outboundSchema = objectType({
|
|
49364
49670
|
summaryTitle: stringType(),
|
|
49365
49671
|
summaryDetail: lazyType(() => SummaryDetail$outboundSchema).optional(),
|
|
49366
49672
|
category: stringType(),
|
|
@@ -49377,7 +49683,7 @@ var init_actions_propose = __esm(() => {
|
|
|
49377
49683
|
opaque_id: optional3(string4()),
|
|
49378
49684
|
botshield_user_id: optional3(string4()),
|
|
49379
49685
|
user_email: optional3(string4()),
|
|
49380
|
-
action: lazyType(() =>
|
|
49686
|
+
action: lazyType(() => ActionsProposeAction$inboundSchema),
|
|
49381
49687
|
adaptive_card_payload: optional3(recordType(anyType())),
|
|
49382
49688
|
ttl_seconds: number4().default(600)
|
|
49383
49689
|
}).transform((v) => {
|
|
@@ -49395,7 +49701,7 @@ var init_actions_propose = __esm(() => {
|
|
|
49395
49701
|
opaqueId: stringType().optional(),
|
|
49396
49702
|
botshieldUserId: stringType().optional(),
|
|
49397
49703
|
userEmail: stringType().optional(),
|
|
49398
|
-
action: lazyType(() =>
|
|
49704
|
+
action: lazyType(() => ActionsProposeAction$outboundSchema),
|
|
49399
49705
|
adaptiveCardPayload: recordType(anyType()).optional(),
|
|
49400
49706
|
ttlSeconds: numberType().int().default(600)
|
|
49401
49707
|
}).transform((v) => {
|
|
@@ -49408,57 +49714,818 @@ var init_actions_propose = __esm(() => {
|
|
|
49408
49714
|
ttlSeconds: "ttl_seconds"
|
|
49409
49715
|
});
|
|
49410
49716
|
});
|
|
49411
|
-
ActionsProposeStatus$inboundSchema = inboundSchema(ActionsProposeStatus);
|
|
49412
|
-
ActionsProposeStatus$outboundSchema = outboundSchema(ActionsProposeStatus);
|
|
49413
|
-
ActionsProposeDataData$inboundSchema = objectType({
|
|
49414
|
-
status: ActionsProposeStatus$inboundSchema,
|
|
49415
|
-
card_id: string4(),
|
|
49416
|
-
ttl_at: optional3(date4()),
|
|
49417
|
-
idempotent_replay: optional3(boolean4())
|
|
49717
|
+
ActionsProposeStatus$inboundSchema = inboundSchema(ActionsProposeStatus);
|
|
49718
|
+
ActionsProposeStatus$outboundSchema = outboundSchema(ActionsProposeStatus);
|
|
49719
|
+
ActionsProposeDataData$inboundSchema = objectType({
|
|
49720
|
+
status: ActionsProposeStatus$inboundSchema,
|
|
49721
|
+
card_id: string4(),
|
|
49722
|
+
ttl_at: optional3(date4()),
|
|
49723
|
+
idempotent_replay: optional3(boolean4())
|
|
49724
|
+
}).transform((v) => {
|
|
49725
|
+
return remap(v, {
|
|
49726
|
+
card_id: "cardId",
|
|
49727
|
+
ttl_at: "ttlAt",
|
|
49728
|
+
idempotent_replay: "idempotentReplay"
|
|
49729
|
+
});
|
|
49730
|
+
});
|
|
49731
|
+
ActionsProposeDataData$outboundSchema = objectType({
|
|
49732
|
+
status: ActionsProposeStatus$outboundSchema,
|
|
49733
|
+
cardId: stringType(),
|
|
49734
|
+
ttlAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
49735
|
+
idempotentReplay: booleanType().optional()
|
|
49736
|
+
}).transform((v) => {
|
|
49737
|
+
return remap(v, {
|
|
49738
|
+
cardId: "card_id",
|
|
49739
|
+
ttlAt: "ttl_at",
|
|
49740
|
+
idempotentReplay: "idempotent_replay"
|
|
49741
|
+
});
|
|
49742
|
+
});
|
|
49743
|
+
ActionsProposeData$inboundSchema = objectType({
|
|
49744
|
+
data: optional3(lazyType(() => ActionsProposeDataData$inboundSchema)),
|
|
49745
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
49746
|
+
});
|
|
49747
|
+
ActionsProposeData$outboundSchema = objectType({
|
|
49748
|
+
data: lazyType(() => ActionsProposeDataData$outboundSchema).optional(),
|
|
49749
|
+
error: ErrorBody$outboundSchema.optional()
|
|
49750
|
+
});
|
|
49751
|
+
ActionsProposeResponse$inboundSchema = objectType({
|
|
49752
|
+
data: lazyType(() => ActionsProposeData$inboundSchema)
|
|
49753
|
+
});
|
|
49754
|
+
ActionsProposeResponse$outboundSchema = objectType({
|
|
49755
|
+
data: lazyType(() => ActionsProposeData$outboundSchema)
|
|
49756
|
+
});
|
|
49757
|
+
});
|
|
49758
|
+
|
|
49759
|
+
// src/models/operations/gates-api-actions-create.ts
|
|
49760
|
+
var GatesApiActionsCreateSecurity$inboundSchema, GatesApiActionsCreateSecurity$outboundSchema, GatesApiActionsCreateRequest$inboundSchema, GatesApiActionsCreateRequest$outboundSchema, GatesApiActionsCreateDataData$inboundSchema, GatesApiActionsCreateDataData$outboundSchema, GatesApiActionsCreateData$inboundSchema, GatesApiActionsCreateData$outboundSchema, GatesApiActionsCreateResponse$inboundSchema, GatesApiActionsCreateResponse$outboundSchema;
|
|
49761
|
+
var init_gates_api_actions_create = __esm(() => {
|
|
49762
|
+
init_v3();
|
|
49763
|
+
init_primitives();
|
|
49764
|
+
init_primitives2();
|
|
49765
|
+
init_models();
|
|
49766
|
+
GatesApiActionsCreateSecurity$inboundSchema = objectType({
|
|
49767
|
+
GatesKeyAuth: string4()
|
|
49768
|
+
}).transform((v) => {
|
|
49769
|
+
return remap(v, {
|
|
49770
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
49771
|
+
});
|
|
49772
|
+
});
|
|
49773
|
+
GatesApiActionsCreateSecurity$outboundSchema = objectType({
|
|
49774
|
+
gatesKeyAuth: stringType()
|
|
49775
|
+
}).transform((v) => {
|
|
49776
|
+
return remap(v, {
|
|
49777
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
49778
|
+
});
|
|
49779
|
+
});
|
|
49780
|
+
GatesApiActionsCreateRequest$inboundSchema = objectType({
|
|
49781
|
+
name: string4(),
|
|
49782
|
+
actKey: string4(),
|
|
49783
|
+
whereUrl: optional3(string4())
|
|
49784
|
+
});
|
|
49785
|
+
GatesApiActionsCreateRequest$outboundSchema = objectType({
|
|
49786
|
+
name: stringType(),
|
|
49787
|
+
actKey: stringType(),
|
|
49788
|
+
whereUrl: stringType().optional()
|
|
49789
|
+
});
|
|
49790
|
+
GatesApiActionsCreateDataData$inboundSchema = objectType({
|
|
49791
|
+
action: BotShieldAction$inboundSchema
|
|
49792
|
+
});
|
|
49793
|
+
GatesApiActionsCreateDataData$outboundSchema = objectType({
|
|
49794
|
+
action: BotShieldAction$outboundSchema
|
|
49795
|
+
});
|
|
49796
|
+
GatesApiActionsCreateData$inboundSchema = objectType({
|
|
49797
|
+
data: optional3(lazyType(() => GatesApiActionsCreateDataData$inboundSchema)),
|
|
49798
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
49799
|
+
});
|
|
49800
|
+
GatesApiActionsCreateData$outboundSchema = objectType({
|
|
49801
|
+
data: lazyType(() => GatesApiActionsCreateDataData$outboundSchema).optional(),
|
|
49802
|
+
error: GatesApiError$outboundSchema.optional()
|
|
49803
|
+
});
|
|
49804
|
+
GatesApiActionsCreateResponse$inboundSchema = objectType({
|
|
49805
|
+
data: lazyType(() => GatesApiActionsCreateData$inboundSchema)
|
|
49806
|
+
});
|
|
49807
|
+
GatesApiActionsCreateResponse$outboundSchema = objectType({
|
|
49808
|
+
data: lazyType(() => GatesApiActionsCreateData$outboundSchema)
|
|
49809
|
+
});
|
|
49810
|
+
});
|
|
49811
|
+
|
|
49812
|
+
// src/models/operations/gates-api-actions-list.ts
|
|
49813
|
+
var GatesApiActionsListSecurity$inboundSchema, GatesApiActionsListSecurity$outboundSchema, GatesApiActionsListDataData$inboundSchema, GatesApiActionsListDataData$outboundSchema, GatesApiActionsListData$inboundSchema, GatesApiActionsListData$outboundSchema, GatesApiActionsListResponse$inboundSchema, GatesApiActionsListResponse$outboundSchema;
|
|
49814
|
+
var init_gates_api_actions_list = __esm(() => {
|
|
49815
|
+
init_v3();
|
|
49816
|
+
init_primitives();
|
|
49817
|
+
init_primitives2();
|
|
49818
|
+
init_models();
|
|
49819
|
+
GatesApiActionsListSecurity$inboundSchema = objectType({
|
|
49820
|
+
GatesKeyAuth: string4()
|
|
49821
|
+
}).transform((v) => {
|
|
49822
|
+
return remap(v, {
|
|
49823
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
49824
|
+
});
|
|
49825
|
+
});
|
|
49826
|
+
GatesApiActionsListSecurity$outboundSchema = objectType({
|
|
49827
|
+
gatesKeyAuth: stringType()
|
|
49828
|
+
}).transform((v) => {
|
|
49829
|
+
return remap(v, {
|
|
49830
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
49831
|
+
});
|
|
49832
|
+
});
|
|
49833
|
+
GatesApiActionsListDataData$inboundSchema = objectType({
|
|
49834
|
+
actions: arrayType(BotShieldAction$inboundSchema)
|
|
49835
|
+
});
|
|
49836
|
+
GatesApiActionsListDataData$outboundSchema = objectType({
|
|
49837
|
+
actions: arrayType(BotShieldAction$outboundSchema)
|
|
49838
|
+
});
|
|
49839
|
+
GatesApiActionsListData$inboundSchema = objectType({
|
|
49840
|
+
data: optional3(lazyType(() => GatesApiActionsListDataData$inboundSchema)),
|
|
49841
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
49842
|
+
});
|
|
49843
|
+
GatesApiActionsListData$outboundSchema = objectType({
|
|
49844
|
+
data: lazyType(() => GatesApiActionsListDataData$outboundSchema).optional(),
|
|
49845
|
+
error: GatesApiError$outboundSchema.optional()
|
|
49846
|
+
});
|
|
49847
|
+
GatesApiActionsListResponse$inboundSchema = objectType({
|
|
49848
|
+
data: lazyType(() => GatesApiActionsListData$inboundSchema)
|
|
49849
|
+
});
|
|
49850
|
+
GatesApiActionsListResponse$outboundSchema = objectType({
|
|
49851
|
+
data: lazyType(() => GatesApiActionsListData$outboundSchema)
|
|
49852
|
+
});
|
|
49853
|
+
});
|
|
49854
|
+
|
|
49855
|
+
// src/models/operations/gates-api-actions-request-status.ts
|
|
49856
|
+
var GatesApiActionsRequestStatusStatus, GatesApiActionsRequestStatusSecurity$inboundSchema, GatesApiActionsRequestStatusSecurity$outboundSchema, GatesApiActionsRequestStatusRequest$inboundSchema, GatesApiActionsRequestStatusRequest$outboundSchema, GatesApiActionsRequestStatusStatus$inboundSchema, GatesApiActionsRequestStatusStatus$outboundSchema, GatesApiActionsRequestStatusDataData$inboundSchema, GatesApiActionsRequestStatusDataData$outboundSchema, GatesApiActionsRequestStatusData$inboundSchema, GatesApiActionsRequestStatusData$outboundSchema, GatesApiActionsRequestStatusResponse$inboundSchema, GatesApiActionsRequestStatusResponse$outboundSchema;
|
|
49857
|
+
var init_gates_api_actions_request_status = __esm(() => {
|
|
49858
|
+
init_v3();
|
|
49859
|
+
init_primitives();
|
|
49860
|
+
init_enums();
|
|
49861
|
+
init_primitives2();
|
|
49862
|
+
init_models();
|
|
49863
|
+
GatesApiActionsRequestStatusStatus = {
|
|
49864
|
+
Queued: "queued",
|
|
49865
|
+
Approved: "approved",
|
|
49866
|
+
Denied: "denied",
|
|
49867
|
+
Expired: "expired",
|
|
49868
|
+
Cancelled: "cancelled"
|
|
49869
|
+
};
|
|
49870
|
+
GatesApiActionsRequestStatusSecurity$inboundSchema = objectType({
|
|
49871
|
+
GatesKeyAuth: string4()
|
|
49872
|
+
}).transform((v) => {
|
|
49873
|
+
return remap(v, {
|
|
49874
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
49875
|
+
});
|
|
49876
|
+
});
|
|
49877
|
+
GatesApiActionsRequestStatusSecurity$outboundSchema = objectType({
|
|
49878
|
+
gatesKeyAuth: stringType()
|
|
49879
|
+
}).transform((v) => {
|
|
49880
|
+
return remap(v, {
|
|
49881
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
49882
|
+
});
|
|
49883
|
+
});
|
|
49884
|
+
GatesApiActionsRequestStatusRequest$inboundSchema = objectType({
|
|
49885
|
+
request_id: string4(),
|
|
49886
|
+
wait_seconds: optional3(number4())
|
|
49887
|
+
}).transform((v) => {
|
|
49888
|
+
return remap(v, {
|
|
49889
|
+
request_id: "requestId",
|
|
49890
|
+
wait_seconds: "waitSeconds"
|
|
49891
|
+
});
|
|
49892
|
+
});
|
|
49893
|
+
GatesApiActionsRequestStatusRequest$outboundSchema = objectType({
|
|
49894
|
+
requestId: stringType(),
|
|
49895
|
+
waitSeconds: numberType().int().optional()
|
|
49896
|
+
}).transform((v) => {
|
|
49897
|
+
return remap(v, {
|
|
49898
|
+
requestId: "request_id",
|
|
49899
|
+
waitSeconds: "wait_seconds"
|
|
49900
|
+
});
|
|
49901
|
+
});
|
|
49902
|
+
GatesApiActionsRequestStatusStatus$inboundSchema = inboundSchema(GatesApiActionsRequestStatusStatus);
|
|
49903
|
+
GatesApiActionsRequestStatusStatus$outboundSchema = outboundSchema(GatesApiActionsRequestStatusStatus);
|
|
49904
|
+
GatesApiActionsRequestStatusDataData$inboundSchema = objectType({
|
|
49905
|
+
request_id: string4(),
|
|
49906
|
+
status: GatesApiActionsRequestStatusStatus$inboundSchema,
|
|
49907
|
+
act: string4(),
|
|
49908
|
+
expires_at: date4(),
|
|
49909
|
+
resolved_at: nullableType(date4()).optional(),
|
|
49910
|
+
token: nullableType(string4()).optional(),
|
|
49911
|
+
token_expires_in: optional3(number4())
|
|
49912
|
+
}).transform((v) => {
|
|
49913
|
+
return remap(v, {
|
|
49914
|
+
request_id: "requestId",
|
|
49915
|
+
expires_at: "expiresAt",
|
|
49916
|
+
resolved_at: "resolvedAt",
|
|
49917
|
+
token_expires_in: "tokenExpiresIn"
|
|
49918
|
+
});
|
|
49919
|
+
});
|
|
49920
|
+
GatesApiActionsRequestStatusDataData$outboundSchema = objectType({
|
|
49921
|
+
requestId: stringType(),
|
|
49922
|
+
status: GatesApiActionsRequestStatusStatus$outboundSchema,
|
|
49923
|
+
act: stringType(),
|
|
49924
|
+
expiresAt: dateType().transform((v) => v.toISOString()),
|
|
49925
|
+
resolvedAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
49926
|
+
token: nullableType(stringType()).optional(),
|
|
49927
|
+
tokenExpiresIn: numberType().int().optional()
|
|
49928
|
+
}).transform((v) => {
|
|
49929
|
+
return remap(v, {
|
|
49930
|
+
requestId: "request_id",
|
|
49931
|
+
expiresAt: "expires_at",
|
|
49932
|
+
resolvedAt: "resolved_at",
|
|
49933
|
+
tokenExpiresIn: "token_expires_in"
|
|
49934
|
+
});
|
|
49935
|
+
});
|
|
49936
|
+
GatesApiActionsRequestStatusData$inboundSchema = objectType({
|
|
49937
|
+
data: optional3(lazyType(() => GatesApiActionsRequestStatusDataData$inboundSchema)),
|
|
49938
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
49939
|
+
});
|
|
49940
|
+
GatesApiActionsRequestStatusData$outboundSchema = objectType({
|
|
49941
|
+
data: lazyType(() => GatesApiActionsRequestStatusDataData$outboundSchema).optional(),
|
|
49942
|
+
error: GatesApiError$outboundSchema.optional()
|
|
49943
|
+
});
|
|
49944
|
+
GatesApiActionsRequestStatusResponse$inboundSchema = objectType({
|
|
49945
|
+
data: lazyType(() => GatesApiActionsRequestStatusData$inboundSchema)
|
|
49946
|
+
});
|
|
49947
|
+
GatesApiActionsRequestStatusResponse$outboundSchema = objectType({
|
|
49948
|
+
data: lazyType(() => GatesApiActionsRequestStatusData$outboundSchema)
|
|
49949
|
+
});
|
|
49950
|
+
});
|
|
49951
|
+
|
|
49952
|
+
// src/models/operations/gates-api-actions-request.ts
|
|
49953
|
+
var GatesApiActionsRequestStatus, GatesApiActionsRequestSecurity$inboundSchema, GatesApiActionsRequestSecurity$outboundSchema, GatesApiActionsRequestRequest$inboundSchema, GatesApiActionsRequestRequest$outboundSchema, GatesApiActionsRequestStatus$inboundSchema, GatesApiActionsRequestStatus$outboundSchema, GatesApiActionsRequestDataData$inboundSchema, GatesApiActionsRequestDataData$outboundSchema, GatesApiActionsRequestData$inboundSchema, GatesApiActionsRequestData$outboundSchema, GatesApiActionsRequestResponse$inboundSchema, GatesApiActionsRequestResponse$outboundSchema;
|
|
49954
|
+
var init_gates_api_actions_request = __esm(() => {
|
|
49955
|
+
init_v3();
|
|
49956
|
+
init_primitives();
|
|
49957
|
+
init_enums();
|
|
49958
|
+
init_primitives2();
|
|
49959
|
+
init_models();
|
|
49960
|
+
GatesApiActionsRequestStatus = {
|
|
49961
|
+
Queued: "queued",
|
|
49962
|
+
Approved: "approved",
|
|
49963
|
+
Denied: "denied",
|
|
49964
|
+
Expired: "expired",
|
|
49965
|
+
Cancelled: "cancelled"
|
|
49966
|
+
};
|
|
49967
|
+
GatesApiActionsRequestSecurity$inboundSchema = objectType({
|
|
49968
|
+
GatesKeyAuth: string4()
|
|
49969
|
+
}).transform((v) => {
|
|
49970
|
+
return remap(v, {
|
|
49971
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
49972
|
+
});
|
|
49973
|
+
});
|
|
49974
|
+
GatesApiActionsRequestSecurity$outboundSchema = objectType({
|
|
49975
|
+
gatesKeyAuth: stringType()
|
|
49976
|
+
}).transform((v) => {
|
|
49977
|
+
return remap(v, {
|
|
49978
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
49979
|
+
});
|
|
49980
|
+
});
|
|
49981
|
+
GatesApiActionsRequestRequest$inboundSchema = objectType({
|
|
49982
|
+
request_id: string4(),
|
|
49983
|
+
agent: string4(),
|
|
49984
|
+
act: string4(),
|
|
49985
|
+
act_label: optional3(string4()),
|
|
49986
|
+
partner_user_ref: string4(),
|
|
49987
|
+
requested_by: optional3(string4()),
|
|
49988
|
+
ttl_seconds: number4().default(600)
|
|
49989
|
+
}).transform((v) => {
|
|
49990
|
+
return remap(v, {
|
|
49991
|
+
request_id: "requestId",
|
|
49992
|
+
act_label: "actLabel",
|
|
49993
|
+
partner_user_ref: "partnerUserRef",
|
|
49994
|
+
requested_by: "requestedBy",
|
|
49995
|
+
ttl_seconds: "ttlSeconds"
|
|
49996
|
+
});
|
|
49997
|
+
});
|
|
49998
|
+
GatesApiActionsRequestRequest$outboundSchema = objectType({
|
|
49999
|
+
requestId: stringType(),
|
|
50000
|
+
agent: stringType(),
|
|
50001
|
+
act: stringType(),
|
|
50002
|
+
actLabel: stringType().optional(),
|
|
50003
|
+
partnerUserRef: stringType(),
|
|
50004
|
+
requestedBy: stringType().optional(),
|
|
50005
|
+
ttlSeconds: numberType().int().default(600)
|
|
50006
|
+
}).transform((v) => {
|
|
50007
|
+
return remap(v, {
|
|
50008
|
+
requestId: "request_id",
|
|
50009
|
+
actLabel: "act_label",
|
|
50010
|
+
partnerUserRef: "partner_user_ref",
|
|
50011
|
+
requestedBy: "requested_by",
|
|
50012
|
+
ttlSeconds: "ttl_seconds"
|
|
50013
|
+
});
|
|
50014
|
+
});
|
|
50015
|
+
GatesApiActionsRequestStatus$inboundSchema = inboundSchema(GatesApiActionsRequestStatus);
|
|
50016
|
+
GatesApiActionsRequestStatus$outboundSchema = outboundSchema(GatesApiActionsRequestStatus);
|
|
50017
|
+
GatesApiActionsRequestDataData$inboundSchema = objectType({
|
|
50018
|
+
request_id: string4(),
|
|
50019
|
+
status: GatesApiActionsRequestStatus$inboundSchema,
|
|
50020
|
+
expires_at: date4()
|
|
50021
|
+
}).transform((v) => {
|
|
50022
|
+
return remap(v, {
|
|
50023
|
+
request_id: "requestId",
|
|
50024
|
+
expires_at: "expiresAt"
|
|
50025
|
+
});
|
|
50026
|
+
});
|
|
50027
|
+
GatesApiActionsRequestDataData$outboundSchema = objectType({
|
|
50028
|
+
requestId: stringType(),
|
|
50029
|
+
status: GatesApiActionsRequestStatus$outboundSchema,
|
|
50030
|
+
expiresAt: dateType().transform((v) => v.toISOString())
|
|
50031
|
+
}).transform((v) => {
|
|
50032
|
+
return remap(v, {
|
|
50033
|
+
requestId: "request_id",
|
|
50034
|
+
expiresAt: "expires_at"
|
|
50035
|
+
});
|
|
50036
|
+
});
|
|
50037
|
+
GatesApiActionsRequestData$inboundSchema = objectType({
|
|
50038
|
+
data: optional3(lazyType(() => GatesApiActionsRequestDataData$inboundSchema)),
|
|
50039
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50040
|
+
});
|
|
50041
|
+
GatesApiActionsRequestData$outboundSchema = objectType({
|
|
50042
|
+
data: lazyType(() => GatesApiActionsRequestDataData$outboundSchema).optional(),
|
|
50043
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50044
|
+
});
|
|
50045
|
+
GatesApiActionsRequestResponse$inboundSchema = objectType({
|
|
50046
|
+
data: lazyType(() => GatesApiActionsRequestData$inboundSchema)
|
|
50047
|
+
});
|
|
50048
|
+
GatesApiActionsRequestResponse$outboundSchema = objectType({
|
|
50049
|
+
data: lazyType(() => GatesApiActionsRequestData$outboundSchema)
|
|
50050
|
+
});
|
|
50051
|
+
});
|
|
50052
|
+
|
|
50053
|
+
// src/models/operations/gates-api-actions-set-state.ts
|
|
50054
|
+
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;
|
|
50055
|
+
var init_gates_api_actions_set_state = __esm(() => {
|
|
50056
|
+
init_v3();
|
|
50057
|
+
init_primitives();
|
|
50058
|
+
init_primitives2();
|
|
50059
|
+
init_models();
|
|
50060
|
+
GatesApiActionsSetStateState = {
|
|
50061
|
+
Live: "live",
|
|
50062
|
+
Off: "off"
|
|
50063
|
+
};
|
|
50064
|
+
GatesApiActionsSetStateSecurity$inboundSchema = objectType({
|
|
50065
|
+
GatesKeyAuth: string4()
|
|
50066
|
+
}).transform((v) => {
|
|
50067
|
+
return remap(v, {
|
|
50068
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50069
|
+
});
|
|
50070
|
+
});
|
|
50071
|
+
GatesApiActionsSetStateSecurity$outboundSchema = objectType({
|
|
50072
|
+
gatesKeyAuth: stringType()
|
|
50073
|
+
}).transform((v) => {
|
|
50074
|
+
return remap(v, {
|
|
50075
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50076
|
+
});
|
|
50077
|
+
});
|
|
50078
|
+
GatesApiActionsSetStateState$inboundSchema = nativeEnumType(GatesApiActionsSetStateState);
|
|
50079
|
+
GatesApiActionsSetStateState$outboundSchema = GatesApiActionsSetStateState$inboundSchema;
|
|
50080
|
+
GatesApiActionsSetStateRequest$inboundSchema = objectType({
|
|
50081
|
+
actKey: string4(),
|
|
50082
|
+
state: GatesApiActionsSetStateState$inboundSchema
|
|
50083
|
+
});
|
|
50084
|
+
GatesApiActionsSetStateRequest$outboundSchema = objectType({
|
|
50085
|
+
actKey: stringType(),
|
|
50086
|
+
state: GatesApiActionsSetStateState$outboundSchema
|
|
50087
|
+
});
|
|
50088
|
+
GatesApiActionsSetStateDataData$inboundSchema = objectType({
|
|
50089
|
+
action: BotShieldAction$inboundSchema
|
|
50090
|
+
});
|
|
50091
|
+
GatesApiActionsSetStateDataData$outboundSchema = objectType({
|
|
50092
|
+
action: BotShieldAction$outboundSchema
|
|
50093
|
+
});
|
|
50094
|
+
GatesApiActionsSetStateData$inboundSchema = objectType({
|
|
50095
|
+
data: optional3(lazyType(() => GatesApiActionsSetStateDataData$inboundSchema)),
|
|
50096
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50097
|
+
});
|
|
50098
|
+
GatesApiActionsSetStateData$outboundSchema = objectType({
|
|
50099
|
+
data: lazyType(() => GatesApiActionsSetStateDataData$outboundSchema).optional(),
|
|
50100
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50101
|
+
});
|
|
50102
|
+
GatesApiActionsSetStateResponse$inboundSchema = objectType({
|
|
50103
|
+
data: lazyType(() => GatesApiActionsSetStateData$inboundSchema)
|
|
50104
|
+
});
|
|
50105
|
+
GatesApiActionsSetStateResponse$outboundSchema = objectType({
|
|
50106
|
+
data: lazyType(() => GatesApiActionsSetStateData$outboundSchema)
|
|
50107
|
+
});
|
|
50108
|
+
});
|
|
50109
|
+
|
|
50110
|
+
// src/models/operations/gates-api-activate.ts
|
|
50111
|
+
var GatesApiActivateSecurity$inboundSchema, GatesApiActivateSecurity$outboundSchema, GatesApiActivateRequest$inboundSchema, GatesApiActivateRequest$outboundSchema, GatesApiActivateDataData$inboundSchema, GatesApiActivateDataData$outboundSchema, GatesApiActivateData$inboundSchema, GatesApiActivateData$outboundSchema, GatesApiActivateResponse$inboundSchema, GatesApiActivateResponse$outboundSchema;
|
|
50112
|
+
var init_gates_api_activate = __esm(() => {
|
|
50113
|
+
init_v3();
|
|
50114
|
+
init_primitives();
|
|
50115
|
+
init_primitives2();
|
|
50116
|
+
init_models();
|
|
50117
|
+
GatesApiActivateSecurity$inboundSchema = objectType({
|
|
50118
|
+
GatesKeyAuth: string4()
|
|
50119
|
+
}).transform((v) => {
|
|
50120
|
+
return remap(v, {
|
|
50121
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50122
|
+
});
|
|
50123
|
+
});
|
|
50124
|
+
GatesApiActivateSecurity$outboundSchema = objectType({
|
|
50125
|
+
gatesKeyAuth: stringType()
|
|
50126
|
+
}).transform((v) => {
|
|
50127
|
+
return remap(v, {
|
|
50128
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50129
|
+
});
|
|
50130
|
+
});
|
|
50131
|
+
GatesApiActivateRequest$inboundSchema = objectType({
|
|
50132
|
+
key: string4()
|
|
50133
|
+
});
|
|
50134
|
+
GatesApiActivateRequest$outboundSchema = objectType({
|
|
50135
|
+
key: stringType()
|
|
50136
|
+
});
|
|
50137
|
+
GatesApiActivateDataData$inboundSchema = objectType({
|
|
50138
|
+
gate: Gate$inboundSchema
|
|
50139
|
+
});
|
|
50140
|
+
GatesApiActivateDataData$outboundSchema = objectType({
|
|
50141
|
+
gate: Gate$outboundSchema
|
|
50142
|
+
});
|
|
50143
|
+
GatesApiActivateData$inboundSchema = objectType({
|
|
50144
|
+
data: optional3(lazyType(() => GatesApiActivateDataData$inboundSchema)),
|
|
50145
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50146
|
+
});
|
|
50147
|
+
GatesApiActivateData$outboundSchema = objectType({
|
|
50148
|
+
data: lazyType(() => GatesApiActivateDataData$outboundSchema).optional(),
|
|
50149
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50150
|
+
});
|
|
50151
|
+
GatesApiActivateResponse$inboundSchema = objectType({
|
|
50152
|
+
data: lazyType(() => GatesApiActivateData$inboundSchema)
|
|
50153
|
+
});
|
|
50154
|
+
GatesApiActivateResponse$outboundSchema = objectType({
|
|
50155
|
+
data: lazyType(() => GatesApiActivateData$outboundSchema)
|
|
50156
|
+
});
|
|
50157
|
+
});
|
|
50158
|
+
|
|
50159
|
+
// src/models/operations/gates-api-cancel.ts
|
|
50160
|
+
var GatesApiCancelSecurity$inboundSchema, GatesApiCancelSecurity$outboundSchema, GatesApiCancelRequest$inboundSchema, GatesApiCancelRequest$outboundSchema, GatesApiCancelDataData$inboundSchema, GatesApiCancelDataData$outboundSchema, GatesApiCancelData$inboundSchema, GatesApiCancelData$outboundSchema, GatesApiCancelResponse$inboundSchema, GatesApiCancelResponse$outboundSchema;
|
|
50161
|
+
var init_gates_api_cancel = __esm(() => {
|
|
50162
|
+
init_v3();
|
|
50163
|
+
init_primitives();
|
|
50164
|
+
init_primitives2();
|
|
50165
|
+
init_models();
|
|
50166
|
+
GatesApiCancelSecurity$inboundSchema = objectType({
|
|
50167
|
+
GatesKeyAuth: string4()
|
|
50168
|
+
}).transform((v) => {
|
|
50169
|
+
return remap(v, {
|
|
50170
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50171
|
+
});
|
|
50172
|
+
});
|
|
50173
|
+
GatesApiCancelSecurity$outboundSchema = objectType({
|
|
50174
|
+
gatesKeyAuth: stringType()
|
|
50175
|
+
}).transform((v) => {
|
|
50176
|
+
return remap(v, {
|
|
50177
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50178
|
+
});
|
|
50179
|
+
});
|
|
50180
|
+
GatesApiCancelRequest$inboundSchema = objectType({
|
|
50181
|
+
key: string4()
|
|
50182
|
+
});
|
|
50183
|
+
GatesApiCancelRequest$outboundSchema = objectType({
|
|
50184
|
+
key: stringType()
|
|
50185
|
+
});
|
|
50186
|
+
GatesApiCancelDataData$inboundSchema = objectType({
|
|
50187
|
+
cancelled: boolean4()
|
|
50188
|
+
});
|
|
50189
|
+
GatesApiCancelDataData$outboundSchema = objectType({
|
|
50190
|
+
cancelled: booleanType()
|
|
50191
|
+
});
|
|
50192
|
+
GatesApiCancelData$inboundSchema = objectType({
|
|
50193
|
+
data: optional3(lazyType(() => GatesApiCancelDataData$inboundSchema)),
|
|
50194
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50195
|
+
});
|
|
50196
|
+
GatesApiCancelData$outboundSchema = objectType({
|
|
50197
|
+
data: lazyType(() => GatesApiCancelDataData$outboundSchema).optional(),
|
|
50198
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50199
|
+
});
|
|
50200
|
+
GatesApiCancelResponse$inboundSchema = objectType({
|
|
50201
|
+
data: lazyType(() => GatesApiCancelData$inboundSchema)
|
|
50202
|
+
});
|
|
50203
|
+
GatesApiCancelResponse$outboundSchema = objectType({
|
|
50204
|
+
data: lazyType(() => GatesApiCancelData$outboundSchema)
|
|
50205
|
+
});
|
|
50206
|
+
});
|
|
50207
|
+
|
|
50208
|
+
// src/models/operations/gates-api-close.ts
|
|
50209
|
+
var GatesApiCloseSecurity$inboundSchema, GatesApiCloseSecurity$outboundSchema, GatesApiCloseRequest$inboundSchema, GatesApiCloseRequest$outboundSchema, GatesApiCloseDataData$inboundSchema, GatesApiCloseDataData$outboundSchema, GatesApiCloseData$inboundSchema, GatesApiCloseData$outboundSchema, GatesApiCloseResponse$inboundSchema, GatesApiCloseResponse$outboundSchema;
|
|
50210
|
+
var init_gates_api_close = __esm(() => {
|
|
50211
|
+
init_v3();
|
|
50212
|
+
init_primitives();
|
|
50213
|
+
init_primitives2();
|
|
50214
|
+
init_models();
|
|
50215
|
+
GatesApiCloseSecurity$inboundSchema = objectType({
|
|
50216
|
+
GatesKeyAuth: string4()
|
|
50217
|
+
}).transform((v) => {
|
|
50218
|
+
return remap(v, {
|
|
50219
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50220
|
+
});
|
|
50221
|
+
});
|
|
50222
|
+
GatesApiCloseSecurity$outboundSchema = objectType({
|
|
50223
|
+
gatesKeyAuth: stringType()
|
|
50224
|
+
}).transform((v) => {
|
|
50225
|
+
return remap(v, {
|
|
50226
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50227
|
+
});
|
|
50228
|
+
});
|
|
50229
|
+
GatesApiCloseRequest$inboundSchema = objectType({
|
|
50230
|
+
key: string4()
|
|
50231
|
+
});
|
|
50232
|
+
GatesApiCloseRequest$outboundSchema = objectType({
|
|
50233
|
+
key: stringType()
|
|
50234
|
+
});
|
|
50235
|
+
GatesApiCloseDataData$inboundSchema = objectType({
|
|
50236
|
+
closed: boolean4(),
|
|
50237
|
+
already_closed: optional3(boolean4())
|
|
50238
|
+
}).transform((v) => {
|
|
50239
|
+
return remap(v, {
|
|
50240
|
+
already_closed: "alreadyClosed"
|
|
50241
|
+
});
|
|
50242
|
+
});
|
|
50243
|
+
GatesApiCloseDataData$outboundSchema = objectType({
|
|
50244
|
+
closed: booleanType(),
|
|
50245
|
+
alreadyClosed: booleanType().optional()
|
|
50246
|
+
}).transform((v) => {
|
|
50247
|
+
return remap(v, {
|
|
50248
|
+
alreadyClosed: "already_closed"
|
|
50249
|
+
});
|
|
50250
|
+
});
|
|
50251
|
+
GatesApiCloseData$inboundSchema = objectType({
|
|
50252
|
+
data: optional3(lazyType(() => GatesApiCloseDataData$inboundSchema)),
|
|
50253
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50254
|
+
});
|
|
50255
|
+
GatesApiCloseData$outboundSchema = objectType({
|
|
50256
|
+
data: lazyType(() => GatesApiCloseDataData$outboundSchema).optional(),
|
|
50257
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50258
|
+
});
|
|
50259
|
+
GatesApiCloseResponse$inboundSchema = objectType({
|
|
50260
|
+
data: lazyType(() => GatesApiCloseData$inboundSchema)
|
|
50261
|
+
});
|
|
50262
|
+
GatesApiCloseResponse$outboundSchema = objectType({
|
|
50263
|
+
data: lazyType(() => GatesApiCloseData$outboundSchema)
|
|
50264
|
+
});
|
|
50265
|
+
});
|
|
50266
|
+
|
|
50267
|
+
// src/models/operations/gates-api-create.ts
|
|
50268
|
+
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;
|
|
50269
|
+
var init_gates_api_create = __esm(() => {
|
|
50270
|
+
init_v3();
|
|
50271
|
+
init_primitives();
|
|
50272
|
+
init_primitives2();
|
|
50273
|
+
init_models();
|
|
50274
|
+
GatesApiCreateGateType = {
|
|
50275
|
+
Human: "human",
|
|
50276
|
+
Age: "age"
|
|
50277
|
+
};
|
|
50278
|
+
GatesApiCreateAgeThreshold = {
|
|
50279
|
+
Thirteen: 13,
|
|
50280
|
+
Eighteen: 18,
|
|
50281
|
+
TwentyOne: 21
|
|
50282
|
+
};
|
|
50283
|
+
GatesApiCreatePreset = {
|
|
50284
|
+
Presale: "presale",
|
|
50285
|
+
Promo: "promo",
|
|
50286
|
+
Drop: "drop",
|
|
50287
|
+
Vote: "vote",
|
|
50288
|
+
Reservation: "reservation",
|
|
50289
|
+
Claim: "claim"
|
|
50290
|
+
};
|
|
50291
|
+
GatesApiCreateSecurity$inboundSchema = objectType({
|
|
50292
|
+
GatesKeyAuth: string4()
|
|
50293
|
+
}).transform((v) => {
|
|
50294
|
+
return remap(v, {
|
|
50295
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50296
|
+
});
|
|
50297
|
+
});
|
|
50298
|
+
GatesApiCreateSecurity$outboundSchema = objectType({
|
|
50299
|
+
gatesKeyAuth: stringType()
|
|
50300
|
+
}).transform((v) => {
|
|
50301
|
+
return remap(v, {
|
|
50302
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50303
|
+
});
|
|
50304
|
+
});
|
|
50305
|
+
GatesApiCreateGateType$inboundSchema = nativeEnumType(GatesApiCreateGateType);
|
|
50306
|
+
GatesApiCreateGateType$outboundSchema = GatesApiCreateGateType$inboundSchema;
|
|
50307
|
+
GatesApiCreateAgeThreshold$inboundSchema = nativeEnumType(GatesApiCreateAgeThreshold);
|
|
50308
|
+
GatesApiCreateAgeThreshold$outboundSchema = GatesApiCreateAgeThreshold$inboundSchema;
|
|
50309
|
+
GatesApiCreatePreset$inboundSchema = nativeEnumType(GatesApiCreatePreset);
|
|
50310
|
+
GatesApiCreatePreset$outboundSchema = GatesApiCreatePreset$inboundSchema;
|
|
50311
|
+
GatesApiCreateRequest$inboundSchema = objectType({
|
|
50312
|
+
key: string4(),
|
|
50313
|
+
name: string4(),
|
|
50314
|
+
message: optional3(string4()),
|
|
50315
|
+
gateType: GatesApiCreateGateType$inboundSchema.default("human"),
|
|
50316
|
+
ageThreshold: optional3(GatesApiCreateAgeThreshold$inboundSchema),
|
|
50317
|
+
preset: optional3(GatesApiCreatePreset$inboundSchema),
|
|
50318
|
+
policy: optional3(GatePolicyDoc$inboundSchema),
|
|
50319
|
+
destinationUrl: optional3(string4()),
|
|
50320
|
+
activate: boolean4().default(false)
|
|
50321
|
+
});
|
|
50322
|
+
GatesApiCreateRequest$outboundSchema = objectType({
|
|
50323
|
+
key: stringType(),
|
|
50324
|
+
name: stringType(),
|
|
50325
|
+
message: stringType().optional(),
|
|
50326
|
+
gateType: GatesApiCreateGateType$outboundSchema.default("human"),
|
|
50327
|
+
ageThreshold: GatesApiCreateAgeThreshold$outboundSchema.optional(),
|
|
50328
|
+
preset: GatesApiCreatePreset$outboundSchema.optional(),
|
|
50329
|
+
policy: GatePolicyDoc$outboundSchema.optional(),
|
|
50330
|
+
destinationUrl: stringType().optional(),
|
|
50331
|
+
activate: booleanType().default(false)
|
|
50332
|
+
});
|
|
50333
|
+
GatesApiCreateDataData$inboundSchema = objectType({
|
|
50334
|
+
gate: Gate$inboundSchema,
|
|
50335
|
+
activated: boolean4(),
|
|
50336
|
+
activation_error: optional3(GatesApiError$inboundSchema)
|
|
50337
|
+
}).transform((v) => {
|
|
50338
|
+
return remap(v, {
|
|
50339
|
+
activation_error: "activationError"
|
|
50340
|
+
});
|
|
50341
|
+
});
|
|
50342
|
+
GatesApiCreateDataData$outboundSchema = objectType({
|
|
50343
|
+
gate: Gate$outboundSchema,
|
|
50344
|
+
activated: booleanType(),
|
|
50345
|
+
activationError: GatesApiError$outboundSchema.optional()
|
|
50346
|
+
}).transform((v) => {
|
|
50347
|
+
return remap(v, {
|
|
50348
|
+
activationError: "activation_error"
|
|
50349
|
+
});
|
|
50350
|
+
});
|
|
50351
|
+
GatesApiCreateData$inboundSchema = objectType({
|
|
50352
|
+
data: optional3(lazyType(() => GatesApiCreateDataData$inboundSchema)),
|
|
50353
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50354
|
+
});
|
|
50355
|
+
GatesApiCreateData$outboundSchema = objectType({
|
|
50356
|
+
data: lazyType(() => GatesApiCreateDataData$outboundSchema).optional(),
|
|
50357
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50358
|
+
});
|
|
50359
|
+
GatesApiCreateResponse$inboundSchema = objectType({
|
|
50360
|
+
data: lazyType(() => GatesApiCreateData$inboundSchema)
|
|
50361
|
+
});
|
|
50362
|
+
GatesApiCreateResponse$outboundSchema = objectType({
|
|
50363
|
+
data: lazyType(() => GatesApiCreateData$outboundSchema)
|
|
50364
|
+
});
|
|
50365
|
+
});
|
|
50366
|
+
|
|
50367
|
+
// src/models/operations/gates-api-extend.ts
|
|
50368
|
+
var GatesApiExtendSecurity$inboundSchema, GatesApiExtendSecurity$outboundSchema, GatesApiExtendRequest$inboundSchema, GatesApiExtendRequest$outboundSchema, GatesApiExtendDataData$inboundSchema, GatesApiExtendDataData$outboundSchema, GatesApiExtendData$inboundSchema, GatesApiExtendData$outboundSchema, GatesApiExtendResponse$inboundSchema, GatesApiExtendResponse$outboundSchema;
|
|
50369
|
+
var init_gates_api_extend = __esm(() => {
|
|
50370
|
+
init_v3();
|
|
50371
|
+
init_primitives();
|
|
50372
|
+
init_primitives2();
|
|
50373
|
+
init_models();
|
|
50374
|
+
GatesApiExtendSecurity$inboundSchema = objectType({
|
|
50375
|
+
GatesKeyAuth: string4()
|
|
50376
|
+
}).transform((v) => {
|
|
50377
|
+
return remap(v, {
|
|
50378
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50379
|
+
});
|
|
50380
|
+
});
|
|
50381
|
+
GatesApiExtendSecurity$outboundSchema = objectType({
|
|
50382
|
+
gatesKeyAuth: stringType()
|
|
50383
|
+
}).transform((v) => {
|
|
50384
|
+
return remap(v, {
|
|
50385
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50386
|
+
});
|
|
50387
|
+
});
|
|
50388
|
+
GatesApiExtendRequest$inboundSchema = objectType({
|
|
50389
|
+
key: string4(),
|
|
50390
|
+
closesAt: date4()
|
|
50391
|
+
});
|
|
50392
|
+
GatesApiExtendRequest$outboundSchema = objectType({
|
|
50393
|
+
key: stringType(),
|
|
50394
|
+
closesAt: dateType().transform((v) => v.toISOString())
|
|
50395
|
+
});
|
|
50396
|
+
GatesApiExtendDataData$inboundSchema = objectType({
|
|
50397
|
+
gate: Gate$inboundSchema,
|
|
50398
|
+
extended: boolean4(),
|
|
50399
|
+
version: number4()
|
|
50400
|
+
});
|
|
50401
|
+
GatesApiExtendDataData$outboundSchema = objectType({
|
|
50402
|
+
gate: Gate$outboundSchema,
|
|
50403
|
+
extended: booleanType(),
|
|
50404
|
+
version: numberType().int()
|
|
50405
|
+
});
|
|
50406
|
+
GatesApiExtendData$inboundSchema = objectType({
|
|
50407
|
+
data: optional3(lazyType(() => GatesApiExtendDataData$inboundSchema)),
|
|
50408
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50409
|
+
});
|
|
50410
|
+
GatesApiExtendData$outboundSchema = objectType({
|
|
50411
|
+
data: lazyType(() => GatesApiExtendDataData$outboundSchema).optional(),
|
|
50412
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50413
|
+
});
|
|
50414
|
+
GatesApiExtendResponse$inboundSchema = objectType({
|
|
50415
|
+
data: lazyType(() => GatesApiExtendData$inboundSchema)
|
|
50416
|
+
});
|
|
50417
|
+
GatesApiExtendResponse$outboundSchema = objectType({
|
|
50418
|
+
data: lazyType(() => GatesApiExtendData$outboundSchema)
|
|
50419
|
+
});
|
|
50420
|
+
});
|
|
50421
|
+
|
|
50422
|
+
// src/models/operations/gates-api-get.ts
|
|
50423
|
+
var GatesApiGetSecurity$inboundSchema, GatesApiGetSecurity$outboundSchema, GatesApiGetRequest$inboundSchema, GatesApiGetRequest$outboundSchema, GatesApiGetDataData$inboundSchema, GatesApiGetDataData$outboundSchema, GatesApiGetData$inboundSchema, GatesApiGetData$outboundSchema, GatesApiGetResponse$inboundSchema, GatesApiGetResponse$outboundSchema;
|
|
50424
|
+
var init_gates_api_get = __esm(() => {
|
|
50425
|
+
init_v3();
|
|
50426
|
+
init_primitives();
|
|
50427
|
+
init_primitives2();
|
|
50428
|
+
init_models();
|
|
50429
|
+
GatesApiGetSecurity$inboundSchema = objectType({
|
|
50430
|
+
GatesKeyAuth: string4()
|
|
50431
|
+
}).transform((v) => {
|
|
50432
|
+
return remap(v, {
|
|
50433
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50434
|
+
});
|
|
50435
|
+
});
|
|
50436
|
+
GatesApiGetSecurity$outboundSchema = objectType({
|
|
50437
|
+
gatesKeyAuth: stringType()
|
|
50438
|
+
}).transform((v) => {
|
|
50439
|
+
return remap(v, {
|
|
50440
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50441
|
+
});
|
|
50442
|
+
});
|
|
50443
|
+
GatesApiGetRequest$inboundSchema = objectType({
|
|
50444
|
+
key: string4()
|
|
50445
|
+
});
|
|
50446
|
+
GatesApiGetRequest$outboundSchema = objectType({
|
|
50447
|
+
key: stringType()
|
|
50448
|
+
});
|
|
50449
|
+
GatesApiGetDataData$inboundSchema = objectType({
|
|
50450
|
+
gate: Gate$inboundSchema
|
|
50451
|
+
});
|
|
50452
|
+
GatesApiGetDataData$outboundSchema = objectType({
|
|
50453
|
+
gate: Gate$outboundSchema
|
|
50454
|
+
});
|
|
50455
|
+
GatesApiGetData$inboundSchema = objectType({
|
|
50456
|
+
data: optional3(lazyType(() => GatesApiGetDataData$inboundSchema)),
|
|
50457
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50458
|
+
});
|
|
50459
|
+
GatesApiGetData$outboundSchema = objectType({
|
|
50460
|
+
data: lazyType(() => GatesApiGetDataData$outboundSchema).optional(),
|
|
50461
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50462
|
+
});
|
|
50463
|
+
GatesApiGetResponse$inboundSchema = objectType({
|
|
50464
|
+
data: lazyType(() => GatesApiGetData$inboundSchema)
|
|
50465
|
+
});
|
|
50466
|
+
GatesApiGetResponse$outboundSchema = objectType({
|
|
50467
|
+
data: lazyType(() => GatesApiGetData$outboundSchema)
|
|
50468
|
+
});
|
|
50469
|
+
});
|
|
50470
|
+
|
|
50471
|
+
// src/models/operations/gates-api-list.ts
|
|
50472
|
+
var GatesApiListSecurity$inboundSchema, GatesApiListSecurity$outboundSchema, GatesApiListRequest$inboundSchema, GatesApiListRequest$outboundSchema, GatesApiListDataData$inboundSchema, GatesApiListDataData$outboundSchema, GatesApiListData$inboundSchema, GatesApiListData$outboundSchema, GatesApiListResponse$inboundSchema, GatesApiListResponse$outboundSchema;
|
|
50473
|
+
var init_gates_api_list = __esm(() => {
|
|
50474
|
+
init_v3();
|
|
50475
|
+
init_primitives();
|
|
50476
|
+
init_primitives2();
|
|
50477
|
+
init_models();
|
|
50478
|
+
GatesApiListSecurity$inboundSchema = objectType({
|
|
50479
|
+
GatesKeyAuth: string4()
|
|
49418
50480
|
}).transform((v) => {
|
|
49419
50481
|
return remap(v, {
|
|
49420
|
-
|
|
49421
|
-
ttl_at: "ttlAt",
|
|
49422
|
-
idempotent_replay: "idempotentReplay"
|
|
50482
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
49423
50483
|
});
|
|
49424
50484
|
});
|
|
49425
|
-
|
|
49426
|
-
|
|
49427
|
-
cardId: stringType(),
|
|
49428
|
-
ttlAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
49429
|
-
idempotentReplay: booleanType().optional()
|
|
50485
|
+
GatesApiListSecurity$outboundSchema = objectType({
|
|
50486
|
+
gatesKeyAuth: stringType()
|
|
49430
50487
|
}).transform((v) => {
|
|
49431
50488
|
return remap(v, {
|
|
49432
|
-
|
|
49433
|
-
ttlAt: "ttl_at",
|
|
49434
|
-
idempotentReplay: "idempotent_replay"
|
|
50489
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
49435
50490
|
});
|
|
49436
50491
|
});
|
|
49437
|
-
|
|
49438
|
-
|
|
49439
|
-
error: optional3(ErrorBody$inboundSchema)
|
|
50492
|
+
GatesApiListRequest$inboundSchema = objectType({
|
|
50493
|
+
limit: number4().default(50)
|
|
49440
50494
|
});
|
|
49441
|
-
|
|
49442
|
-
|
|
49443
|
-
error: ErrorBody$outboundSchema.optional()
|
|
50495
|
+
GatesApiListRequest$outboundSchema = objectType({
|
|
50496
|
+
limit: numberType().int().default(50)
|
|
49444
50497
|
});
|
|
49445
|
-
|
|
49446
|
-
|
|
50498
|
+
GatesApiListDataData$inboundSchema = objectType({
|
|
50499
|
+
gates: arrayType(Gate$inboundSchema)
|
|
49447
50500
|
});
|
|
49448
|
-
|
|
49449
|
-
|
|
50501
|
+
GatesApiListDataData$outboundSchema = objectType({
|
|
50502
|
+
gates: arrayType(Gate$outboundSchema)
|
|
50503
|
+
});
|
|
50504
|
+
GatesApiListData$inboundSchema = objectType({
|
|
50505
|
+
data: optional3(lazyType(() => GatesApiListDataData$inboundSchema)),
|
|
50506
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50507
|
+
});
|
|
50508
|
+
GatesApiListData$outboundSchema = objectType({
|
|
50509
|
+
data: lazyType(() => GatesApiListDataData$outboundSchema).optional(),
|
|
50510
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50511
|
+
});
|
|
50512
|
+
GatesApiListResponse$inboundSchema = objectType({
|
|
50513
|
+
data: lazyType(() => GatesApiListData$inboundSchema)
|
|
50514
|
+
});
|
|
50515
|
+
GatesApiListResponse$outboundSchema = objectType({
|
|
50516
|
+
data: lazyType(() => GatesApiListData$outboundSchema)
|
|
49450
50517
|
});
|
|
49451
50518
|
});
|
|
49452
50519
|
|
|
49453
50520
|
// src/models/operations/sdk-create-session.ts
|
|
49454
|
-
var
|
|
50521
|
+
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;
|
|
49455
50522
|
var init_sdk_create_session = __esm(() => {
|
|
49456
50523
|
init_v3();
|
|
49457
50524
|
init_primitives();
|
|
49458
50525
|
init_enums();
|
|
49459
50526
|
init_primitives2();
|
|
49460
50527
|
init_models();
|
|
49461
|
-
|
|
50528
|
+
SDKCreateSessionEnvironment = {
|
|
49462
50529
|
Development: "development",
|
|
49463
50530
|
Production: "production"
|
|
49464
50531
|
};
|
|
@@ -49497,15 +50564,15 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49497
50564
|
partnerUserId: "partner_user_id"
|
|
49498
50565
|
});
|
|
49499
50566
|
});
|
|
49500
|
-
|
|
49501
|
-
|
|
50567
|
+
SDKCreateSessionEnvironment$inboundSchema = inboundSchema(SDKCreateSessionEnvironment);
|
|
50568
|
+
SDKCreateSessionEnvironment$outboundSchema = outboundSchema(SDKCreateSessionEnvironment);
|
|
49502
50569
|
SDKCreateSessionOrganization$inboundSchema = objectType({
|
|
49503
50570
|
id: string4(),
|
|
49504
|
-
environment:
|
|
50571
|
+
environment: SDKCreateSessionEnvironment$inboundSchema
|
|
49505
50572
|
});
|
|
49506
50573
|
SDKCreateSessionOrganization$outboundSchema = objectType({
|
|
49507
50574
|
id: stringType(),
|
|
49508
|
-
environment:
|
|
50575
|
+
environment: SDKCreateSessionEnvironment$outboundSchema
|
|
49509
50576
|
});
|
|
49510
50577
|
SDKCreateSessionNotarizeFallbackReason$inboundSchema = nativeEnumType(SDKCreateSessionNotarizeFallbackReason);
|
|
49511
50578
|
SDKCreateSessionNotarizeFallbackReason$outboundSchema = SDKCreateSessionNotarizeFallbackReason$inboundSchema;
|
|
@@ -49570,7 +50637,7 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49570
50637
|
});
|
|
49571
50638
|
|
|
49572
50639
|
// src/models/operations/sdk-create-verification-link.ts
|
|
49573
|
-
var SDKTypeRequest, Mode, SDKCreateVerificationLinkSDKTypeResponse, AuthMode,
|
|
50640
|
+
var SDKTypeRequest, Mode, SDKCreateVerificationLinkSDKTypeResponse, AuthMode, SDKCreateVerificationLinkGateType, SDKCreateVerificationLinkAgeThreshold, SDKCreateVerificationLinkNotarizeFallbackReason, SDKCreateVerificationLinkSecurity$inboundSchema, SDKCreateVerificationLinkSecurity$outboundSchema, SDKTypeRequest$inboundSchema, SDKTypeRequest$outboundSchema, Mode$inboundSchema, Mode$outboundSchema, SDKCreateVerificationLinkRequest$inboundSchema, SDKCreateVerificationLinkRequest$outboundSchema, SDKCreateVerificationLinkSDKTypeResponse$inboundSchema, SDKCreateVerificationLinkSDKTypeResponse$outboundSchema, AuthMode$inboundSchema, AuthMode$outboundSchema, SDKCreateVerificationLinkOrganization$inboundSchema, SDKCreateVerificationLinkOrganization$outboundSchema, SDKCreateVerificationLinkGateType$inboundSchema, SDKCreateVerificationLinkGateType$outboundSchema, SDKCreateVerificationLinkAgeThreshold$inboundSchema, SDKCreateVerificationLinkAgeThreshold$outboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema, SDKCreateVerificationLinkDataData$inboundSchema, SDKCreateVerificationLinkDataData$outboundSchema, SDKCreateVerificationLinkData$inboundSchema, SDKCreateVerificationLinkData$outboundSchema, SDKCreateVerificationLinkResponse$inboundSchema, SDKCreateVerificationLinkResponse$outboundSchema;
|
|
49574
50641
|
var init_sdk_create_verification_link = __esm(() => {
|
|
49575
50642
|
init_v3();
|
|
49576
50643
|
init_primitives();
|
|
@@ -49593,11 +50660,11 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49593
50660
|
LinkedAccount: "linked-account",
|
|
49594
50661
|
Private: "private"
|
|
49595
50662
|
};
|
|
49596
|
-
|
|
50663
|
+
SDKCreateVerificationLinkGateType = {
|
|
49597
50664
|
Human: "human",
|
|
49598
50665
|
Age: "age"
|
|
49599
50666
|
};
|
|
49600
|
-
|
|
50667
|
+
SDKCreateVerificationLinkAgeThreshold = {
|
|
49601
50668
|
Thirteen: 13,
|
|
49602
50669
|
Eighteen: 18,
|
|
49603
50670
|
TwentyOne: 21
|
|
@@ -49638,7 +50705,9 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49638
50705
|
parent_request_id: optional3(string4()),
|
|
49639
50706
|
metadata: optional3(recordType(anyType())),
|
|
49640
50707
|
notarize: optional3(boolean4()),
|
|
49641
|
-
gate: optional3(string4())
|
|
50708
|
+
gate: optional3(string4()),
|
|
50709
|
+
act: optional3(string4()),
|
|
50710
|
+
act_label: optional3(string4())
|
|
49642
50711
|
}).transform((v) => {
|
|
49643
50712
|
return remap(v, {
|
|
49644
50713
|
user_email: "userEmail",
|
|
@@ -49648,7 +50717,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49648
50717
|
botshield_user_id: "botshieldUserId",
|
|
49649
50718
|
partner_user_ref: "partnerUserRef",
|
|
49650
50719
|
link_on_verify: "linkOnVerify",
|
|
49651
|
-
parent_request_id: "parentRequestId"
|
|
50720
|
+
parent_request_id: "parentRequestId",
|
|
50721
|
+
act_label: "actLabel"
|
|
49652
50722
|
});
|
|
49653
50723
|
});
|
|
49654
50724
|
SDKCreateVerificationLinkRequest$outboundSchema = objectType({
|
|
@@ -49664,7 +50734,9 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49664
50734
|
parentRequestId: stringType().optional(),
|
|
49665
50735
|
metadata: recordType(anyType()).optional(),
|
|
49666
50736
|
notarize: booleanType().optional(),
|
|
49667
|
-
gate: stringType().optional()
|
|
50737
|
+
gate: stringType().optional(),
|
|
50738
|
+
act: stringType().optional(),
|
|
50739
|
+
actLabel: stringType().optional()
|
|
49668
50740
|
}).transform((v) => {
|
|
49669
50741
|
return remap(v, {
|
|
49670
50742
|
userEmail: "user_email",
|
|
@@ -49674,7 +50746,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49674
50746
|
botshieldUserId: "botshield_user_id",
|
|
49675
50747
|
partnerUserRef: "partner_user_ref",
|
|
49676
50748
|
linkOnVerify: "link_on_verify",
|
|
49677
|
-
parentRequestId: "parent_request_id"
|
|
50749
|
+
parentRequestId: "parent_request_id",
|
|
50750
|
+
actLabel: "act_label"
|
|
49678
50751
|
});
|
|
49679
50752
|
});
|
|
49680
50753
|
SDKCreateVerificationLinkSDKTypeResponse$inboundSchema = inboundSchema(SDKCreateVerificationLinkSDKTypeResponse);
|
|
@@ -49687,10 +50760,10 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49687
50760
|
SDKCreateVerificationLinkOrganization$outboundSchema = objectType({
|
|
49688
50761
|
id: stringType().optional()
|
|
49689
50762
|
});
|
|
49690
|
-
|
|
49691
|
-
|
|
49692
|
-
|
|
49693
|
-
|
|
50763
|
+
SDKCreateVerificationLinkGateType$inboundSchema = inboundSchema(SDKCreateVerificationLinkGateType);
|
|
50764
|
+
SDKCreateVerificationLinkGateType$outboundSchema = outboundSchema(SDKCreateVerificationLinkGateType);
|
|
50765
|
+
SDKCreateVerificationLinkAgeThreshold$inboundSchema = inboundSchemaInt(SDKCreateVerificationLinkAgeThreshold);
|
|
50766
|
+
SDKCreateVerificationLinkAgeThreshold$outboundSchema = outboundSchemaInt(SDKCreateVerificationLinkAgeThreshold);
|
|
49694
50767
|
SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema = inboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
|
|
49695
50768
|
SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema = outboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
|
|
49696
50769
|
SDKCreateVerificationLinkDataData$inboundSchema = objectType({
|
|
@@ -49704,8 +50777,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49704
50777
|
scope: optional3(string4()),
|
|
49705
50778
|
organization: optional3(lazyType(() => SDKCreateVerificationLinkOrganization$inboundSchema)),
|
|
49706
50779
|
pushed_to_devices: number4(),
|
|
49707
|
-
gate_type: optional3(
|
|
49708
|
-
age_threshold: optional3(
|
|
50780
|
+
gate_type: optional3(SDKCreateVerificationLinkGateType$inboundSchema),
|
|
50781
|
+
age_threshold: optional3(SDKCreateVerificationLinkAgeThreshold$inboundSchema),
|
|
49709
50782
|
trusted: optional3(boolean4()),
|
|
49710
50783
|
notarize: optional3(boolean4()),
|
|
49711
50784
|
notarize_fallback_reason: optional3(SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema),
|
|
@@ -49736,8 +50809,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49736
50809
|
scope: stringType().optional(),
|
|
49737
50810
|
organization: lazyType(() => SDKCreateVerificationLinkOrganization$outboundSchema).optional(),
|
|
49738
50811
|
pushedToDevices: numberType().int(),
|
|
49739
|
-
gateType:
|
|
49740
|
-
ageThreshold:
|
|
50812
|
+
gateType: SDKCreateVerificationLinkGateType$outboundSchema.optional(),
|
|
50813
|
+
ageThreshold: SDKCreateVerificationLinkAgeThreshold$outboundSchema.optional(),
|
|
49741
50814
|
trusted: booleanType().optional(),
|
|
49742
50815
|
notarize: booleanType().optional(),
|
|
49743
50816
|
notarizeFallbackReason: SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema.optional(),
|
|
@@ -49773,6 +50846,102 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49773
50846
|
});
|
|
49774
50847
|
});
|
|
49775
50848
|
|
|
50849
|
+
// src/models/operations/sdk-get-partner-config.ts
|
|
50850
|
+
var SDKGetPartnerConfigEnvironment, SDKGetPartnerConfigSecurity$inboundSchema, SDKGetPartnerConfigSecurity$outboundSchema, SDKGetPartnerConfigRequest$inboundSchema, SDKGetPartnerConfigRequest$outboundSchema, Integrations$inboundSchema, Integrations$outboundSchema, SDKGetPartnerConfigEnvironment$inboundSchema, SDKGetPartnerConfigEnvironment$outboundSchema, SDKGetPartnerConfigDataData$inboundSchema, SDKGetPartnerConfigDataData$outboundSchema, SDKGetPartnerConfigData$inboundSchema, SDKGetPartnerConfigData$outboundSchema, SDKGetPartnerConfigResponse$inboundSchema, SDKGetPartnerConfigResponse$outboundSchema;
|
|
50851
|
+
var init_sdk_get_partner_config = __esm(() => {
|
|
50852
|
+
init_v3();
|
|
50853
|
+
init_primitives();
|
|
50854
|
+
init_enums();
|
|
50855
|
+
init_primitives2();
|
|
50856
|
+
init_models();
|
|
50857
|
+
SDKGetPartnerConfigEnvironment = {
|
|
50858
|
+
Test: "test",
|
|
50859
|
+
Live: "live"
|
|
50860
|
+
};
|
|
50861
|
+
SDKGetPartnerConfigSecurity$inboundSchema = objectType({
|
|
50862
|
+
apiKeyAuth: optional3(string4()),
|
|
50863
|
+
apiKeyAuth1: optional3(string4())
|
|
50864
|
+
});
|
|
50865
|
+
SDKGetPartnerConfigSecurity$outboundSchema = objectType({
|
|
50866
|
+
apiKeyAuth: stringType().optional(),
|
|
50867
|
+
apiKeyAuth1: stringType().optional()
|
|
50868
|
+
});
|
|
50869
|
+
SDKGetPartnerConfigRequest$inboundSchema = objectType({
|
|
50870
|
+
site_key: string4(),
|
|
50871
|
+
scope: optional3(string4()),
|
|
50872
|
+
gate: optional3(string4())
|
|
50873
|
+
}).transform((v) => {
|
|
50874
|
+
return remap(v, {
|
|
50875
|
+
site_key: "siteKey"
|
|
50876
|
+
});
|
|
50877
|
+
});
|
|
50878
|
+
SDKGetPartnerConfigRequest$outboundSchema = objectType({
|
|
50879
|
+
siteKey: stringType(),
|
|
50880
|
+
scope: stringType().optional(),
|
|
50881
|
+
gate: stringType().optional()
|
|
50882
|
+
}).transform((v) => {
|
|
50883
|
+
return remap(v, {
|
|
50884
|
+
siteKey: "site_key"
|
|
50885
|
+
});
|
|
50886
|
+
});
|
|
50887
|
+
Integrations$inboundSchema = objectType({
|
|
50888
|
+
enabled: optional3(boolean4()),
|
|
50889
|
+
site_key: optional3(string4()),
|
|
50890
|
+
config: optional3(recordType(anyType()))
|
|
50891
|
+
}).transform((v) => {
|
|
50892
|
+
return remap(v, {
|
|
50893
|
+
site_key: "siteKey"
|
|
50894
|
+
});
|
|
50895
|
+
});
|
|
50896
|
+
Integrations$outboundSchema = objectType({
|
|
50897
|
+
enabled: booleanType().optional(),
|
|
50898
|
+
siteKey: stringType().optional(),
|
|
50899
|
+
config: recordType(anyType()).optional()
|
|
50900
|
+
}).transform((v) => {
|
|
50901
|
+
return remap(v, {
|
|
50902
|
+
siteKey: "site_key"
|
|
50903
|
+
});
|
|
50904
|
+
});
|
|
50905
|
+
SDKGetPartnerConfigEnvironment$inboundSchema = inboundSchema(SDKGetPartnerConfigEnvironment);
|
|
50906
|
+
SDKGetPartnerConfigEnvironment$outboundSchema = outboundSchema(SDKGetPartnerConfigEnvironment);
|
|
50907
|
+
SDKGetPartnerConfigDataData$inboundSchema = objectType({
|
|
50908
|
+
integrations: recordType(lazyType(() => Integrations$inboundSchema)),
|
|
50909
|
+
environment: optional3(SDKGetPartnerConfigEnvironment$inboundSchema),
|
|
50910
|
+
notarize_enabled: optional3(boolean4()),
|
|
50911
|
+
notarize_gate: optional3(string4())
|
|
50912
|
+
}).transform((v) => {
|
|
50913
|
+
return remap(v, {
|
|
50914
|
+
notarize_enabled: "notarizeEnabled",
|
|
50915
|
+
notarize_gate: "notarizeGate"
|
|
50916
|
+
});
|
|
50917
|
+
});
|
|
50918
|
+
SDKGetPartnerConfigDataData$outboundSchema = objectType({
|
|
50919
|
+
integrations: recordType(lazyType(() => Integrations$outboundSchema)),
|
|
50920
|
+
environment: SDKGetPartnerConfigEnvironment$outboundSchema.optional(),
|
|
50921
|
+
notarizeEnabled: booleanType().optional(),
|
|
50922
|
+
notarizeGate: stringType().optional()
|
|
50923
|
+
}).transform((v) => {
|
|
50924
|
+
return remap(v, {
|
|
50925
|
+
notarizeEnabled: "notarize_enabled",
|
|
50926
|
+
notarizeGate: "notarize_gate"
|
|
50927
|
+
});
|
|
50928
|
+
});
|
|
50929
|
+
SDKGetPartnerConfigData$inboundSchema = objectType({
|
|
50930
|
+
data: optional3(lazyType(() => SDKGetPartnerConfigDataData$inboundSchema)),
|
|
50931
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
50932
|
+
});
|
|
50933
|
+
SDKGetPartnerConfigData$outboundSchema = objectType({
|
|
50934
|
+
data: lazyType(() => SDKGetPartnerConfigDataData$outboundSchema).optional(),
|
|
50935
|
+
error: ErrorBody$outboundSchema.optional()
|
|
50936
|
+
});
|
|
50937
|
+
SDKGetPartnerConfigResponse$inboundSchema = objectType({
|
|
50938
|
+
data: lazyType(() => SDKGetPartnerConfigData$inboundSchema)
|
|
50939
|
+
});
|
|
50940
|
+
SDKGetPartnerConfigResponse$outboundSchema = objectType({
|
|
50941
|
+
data: lazyType(() => SDKGetPartnerConfigData$outboundSchema)
|
|
50942
|
+
});
|
|
50943
|
+
});
|
|
50944
|
+
|
|
49776
50945
|
// src/models/operations/sdk-logout.ts
|
|
49777
50946
|
var SDKLogoutSecurity$inboundSchema, SDKLogoutSecurity$outboundSchema, SDKLogoutRequest$inboundSchema, SDKLogoutRequest$outboundSchema, SDKLogoutData$inboundSchema, SDKLogoutData$outboundSchema, SDKLogoutResponse$inboundSchema, SDKLogoutResponse$outboundSchema;
|
|
49778
50947
|
var init_sdk_logout = __esm(() => {
|
|
@@ -50098,15 +51267,11 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50098
51267
|
};
|
|
50099
51268
|
SDKVerifyTokenSecurity$inboundSchema = objectType({
|
|
50100
51269
|
apiKeyAuth: optional3(string4()),
|
|
50101
|
-
apiKeyAuth1: optional3(string4())
|
|
50102
|
-
apiKeyAuth2: optional3(string4()),
|
|
50103
|
-
apiKeyAuth3: optional3(string4())
|
|
51270
|
+
apiKeyAuth1: optional3(string4())
|
|
50104
51271
|
});
|
|
50105
51272
|
SDKVerifyTokenSecurity$outboundSchema = objectType({
|
|
50106
51273
|
apiKeyAuth: stringType().optional(),
|
|
50107
|
-
apiKeyAuth1: stringType().optional()
|
|
50108
|
-
apiKeyAuth2: stringType().optional(),
|
|
50109
|
-
apiKeyAuth3: stringType().optional()
|
|
51274
|
+
apiKeyAuth1: stringType().optional()
|
|
50110
51275
|
});
|
|
50111
51276
|
SDKVerifyTokenRequest$inboundSchema = objectType({
|
|
50112
51277
|
token: string4(),
|
|
@@ -50130,7 +51295,8 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50130
51295
|
trusted: optional3(boolean4()),
|
|
50131
51296
|
trusted_since: optional3(date4()),
|
|
50132
51297
|
last_pass_at: optional3(date4()),
|
|
50133
|
-
audience: nullableType(string4()).optional()
|
|
51298
|
+
audience: nullableType(string4()).optional(),
|
|
51299
|
+
act: optional3(string4())
|
|
50134
51300
|
}).transform((v) => {
|
|
50135
51301
|
return remap(v, {
|
|
50136
51302
|
request_id: "requestId",
|
|
@@ -50154,7 +51320,8 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50154
51320
|
trusted: booleanType().optional(),
|
|
50155
51321
|
trustedSince: dateType().transform((v) => v.toISOString()).optional(),
|
|
50156
51322
|
lastPassAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
50157
|
-
audience: nullableType(stringType()).optional()
|
|
51323
|
+
audience: nullableType(stringType()).optional(),
|
|
51324
|
+
act: stringType().optional()
|
|
50158
51325
|
}).transform((v) => {
|
|
50159
51326
|
return remap(v, {
|
|
50160
51327
|
requestId: "request_id",
|
|
@@ -50174,12 +51341,10 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50174
51341
|
expired_at: nullableType(date4()).optional(),
|
|
50175
51342
|
claims: nullableType(lazyType(() => Claims$inboundSchema)).optional(),
|
|
50176
51343
|
replayed: optional3(boolean4()),
|
|
50177
|
-
strict_single_use_from: optional3(date4()),
|
|
50178
51344
|
verdict: optional3(SDKVerifyTokenVerdict$inboundSchema)
|
|
50179
51345
|
}).transform((v) => {
|
|
50180
51346
|
return remap(v, {
|
|
50181
|
-
expired_at: "expiredAt"
|
|
50182
|
-
strict_single_use_from: "strictSingleUseFrom"
|
|
51347
|
+
expired_at: "expiredAt"
|
|
50183
51348
|
});
|
|
50184
51349
|
});
|
|
50185
51350
|
SDKVerifyTokenDataData$outboundSchema = objectType({
|
|
@@ -50188,12 +51353,10 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50188
51353
|
expiredAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
50189
51354
|
claims: nullableType(lazyType(() => Claims$outboundSchema)).optional(),
|
|
50190
51355
|
replayed: booleanType().optional(),
|
|
50191
|
-
strictSingleUseFrom: dateType().transform((v) => v.toISOString()).optional(),
|
|
50192
51356
|
verdict: SDKVerifyTokenVerdict$outboundSchema.optional()
|
|
50193
51357
|
}).transform((v) => {
|
|
50194
51358
|
return remap(v, {
|
|
50195
|
-
expiredAt: "expired_at"
|
|
50196
|
-
strictSingleUseFrom: "strict_single_use_from"
|
|
51359
|
+
expiredAt: "expired_at"
|
|
50197
51360
|
});
|
|
50198
51361
|
});
|
|
50199
51362
|
SDKVerifyTokenData$inboundSchema = objectType({
|
|
@@ -50212,8 +51375,312 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50212
51375
|
});
|
|
50213
51376
|
});
|
|
50214
51377
|
|
|
51378
|
+
// src/models/operations/secured-accounts-list.ts
|
|
51379
|
+
var QueryParamStatus, RowStatus, UnlinkedBy, SecuredAccountsListUnlinkReason, SecuredAccountsListEnvironment, SecuredAccountsListSecurity$inboundSchema, SecuredAccountsListSecurity$outboundSchema, QueryParamStatus$inboundSchema, QueryParamStatus$outboundSchema, SecuredAccountsListRequest$inboundSchema, SecuredAccountsListRequest$outboundSchema, RowStatus$inboundSchema, RowStatus$outboundSchema, UnlinkedBy$inboundSchema, UnlinkedBy$outboundSchema, SecuredAccountsListUnlinkReason$inboundSchema, SecuredAccountsListUnlinkReason$outboundSchema, Row$inboundSchema, Row$outboundSchema, SecuredAccountsListEnvironment$inboundSchema, SecuredAccountsListEnvironment$outboundSchema, SecuredAccountsListDataData$inboundSchema, SecuredAccountsListDataData$outboundSchema, SecuredAccountsListData$inboundSchema, SecuredAccountsListData$outboundSchema, SecuredAccountsListResponse$inboundSchema, SecuredAccountsListResponse$outboundSchema;
|
|
51380
|
+
var init_secured_accounts_list = __esm(() => {
|
|
51381
|
+
init_v3();
|
|
51382
|
+
init_primitives();
|
|
51383
|
+
init_enums();
|
|
51384
|
+
init_primitives2();
|
|
51385
|
+
init_models();
|
|
51386
|
+
QueryParamStatus = {
|
|
51387
|
+
Active: "active",
|
|
51388
|
+
Unlinked: "unlinked"
|
|
51389
|
+
};
|
|
51390
|
+
RowStatus = {
|
|
51391
|
+
Active: "active",
|
|
51392
|
+
Unlinked: "unlinked"
|
|
51393
|
+
};
|
|
51394
|
+
UnlinkedBy = {
|
|
51395
|
+
Platform: "platform",
|
|
51396
|
+
Human: "human"
|
|
51397
|
+
};
|
|
51398
|
+
SecuredAccountsListUnlinkReason = {
|
|
51399
|
+
CredentialChanged: "credential_changed",
|
|
51400
|
+
Platform: "platform",
|
|
51401
|
+
Human: "human"
|
|
51402
|
+
};
|
|
51403
|
+
SecuredAccountsListEnvironment = {
|
|
51404
|
+
Development: "development",
|
|
51405
|
+
Production: "production"
|
|
51406
|
+
};
|
|
51407
|
+
SecuredAccountsListSecurity$inboundSchema = objectType({
|
|
51408
|
+
ApiKeyAuth: string4()
|
|
51409
|
+
}).transform((v) => {
|
|
51410
|
+
return remap(v, {
|
|
51411
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
51412
|
+
});
|
|
51413
|
+
});
|
|
51414
|
+
SecuredAccountsListSecurity$outboundSchema = objectType({
|
|
51415
|
+
apiKeyAuth: stringType()
|
|
51416
|
+
}).transform((v) => {
|
|
51417
|
+
return remap(v, {
|
|
51418
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51419
|
+
});
|
|
51420
|
+
});
|
|
51421
|
+
QueryParamStatus$inboundSchema = nativeEnumType(QueryParamStatus);
|
|
51422
|
+
QueryParamStatus$outboundSchema = QueryParamStatus$inboundSchema;
|
|
51423
|
+
SecuredAccountsListRequest$inboundSchema = objectType({
|
|
51424
|
+
platform_user_ref: optional3(string4()),
|
|
51425
|
+
status: optional3(QueryParamStatus$inboundSchema),
|
|
51426
|
+
limit: optional3(number4()),
|
|
51427
|
+
offset: optional3(number4())
|
|
51428
|
+
}).transform((v) => {
|
|
51429
|
+
return remap(v, {
|
|
51430
|
+
platform_user_ref: "platformUserRef"
|
|
51431
|
+
});
|
|
51432
|
+
});
|
|
51433
|
+
SecuredAccountsListRequest$outboundSchema = objectType({
|
|
51434
|
+
platformUserRef: stringType().optional(),
|
|
51435
|
+
status: QueryParamStatus$outboundSchema.optional(),
|
|
51436
|
+
limit: numberType().int().optional(),
|
|
51437
|
+
offset: numberType().int().optional()
|
|
51438
|
+
}).transform((v) => {
|
|
51439
|
+
return remap(v, {
|
|
51440
|
+
platformUserRef: "platform_user_ref"
|
|
51441
|
+
});
|
|
51442
|
+
});
|
|
51443
|
+
RowStatus$inboundSchema = inboundSchema(RowStatus);
|
|
51444
|
+
RowStatus$outboundSchema = outboundSchema(RowStatus);
|
|
51445
|
+
UnlinkedBy$inboundSchema = inboundSchema(UnlinkedBy);
|
|
51446
|
+
UnlinkedBy$outboundSchema = outboundSchema(UnlinkedBy);
|
|
51447
|
+
SecuredAccountsListUnlinkReason$inboundSchema = inboundSchema(SecuredAccountsListUnlinkReason);
|
|
51448
|
+
SecuredAccountsListUnlinkReason$outboundSchema = outboundSchema(SecuredAccountsListUnlinkReason);
|
|
51449
|
+
Row$inboundSchema = objectType({
|
|
51450
|
+
handle: string4(),
|
|
51451
|
+
status: RowStatus$inboundSchema,
|
|
51452
|
+
secured_at: date4(),
|
|
51453
|
+
unlinked_at: nullable3(date4()),
|
|
51454
|
+
unlinked_by: nullable3(UnlinkedBy$inboundSchema),
|
|
51455
|
+
unlink_reason: nullable3(SecuredAccountsListUnlinkReason$inboundSchema),
|
|
51456
|
+
surface_id: nullable3(string4())
|
|
51457
|
+
}).transform((v) => {
|
|
51458
|
+
return remap(v, {
|
|
51459
|
+
secured_at: "securedAt",
|
|
51460
|
+
unlinked_at: "unlinkedAt",
|
|
51461
|
+
unlinked_by: "unlinkedBy",
|
|
51462
|
+
unlink_reason: "unlinkReason",
|
|
51463
|
+
surface_id: "surfaceId"
|
|
51464
|
+
});
|
|
51465
|
+
});
|
|
51466
|
+
Row$outboundSchema = objectType({
|
|
51467
|
+
handle: stringType(),
|
|
51468
|
+
status: RowStatus$outboundSchema,
|
|
51469
|
+
securedAt: dateType().transform((v) => v.toISOString()),
|
|
51470
|
+
unlinkedAt: nullableType(dateType().transform((v) => v.toISOString())),
|
|
51471
|
+
unlinkedBy: nullableType(UnlinkedBy$outboundSchema),
|
|
51472
|
+
unlinkReason: nullableType(SecuredAccountsListUnlinkReason$outboundSchema),
|
|
51473
|
+
surfaceId: nullableType(stringType())
|
|
51474
|
+
}).transform((v) => {
|
|
51475
|
+
return remap(v, {
|
|
51476
|
+
securedAt: "secured_at",
|
|
51477
|
+
unlinkedAt: "unlinked_at",
|
|
51478
|
+
unlinkedBy: "unlinked_by",
|
|
51479
|
+
unlinkReason: "unlink_reason",
|
|
51480
|
+
surfaceId: "surface_id"
|
|
51481
|
+
});
|
|
51482
|
+
});
|
|
51483
|
+
SecuredAccountsListEnvironment$inboundSchema = inboundSchema(SecuredAccountsListEnvironment);
|
|
51484
|
+
SecuredAccountsListEnvironment$outboundSchema = outboundSchema(SecuredAccountsListEnvironment);
|
|
51485
|
+
SecuredAccountsListDataData$inboundSchema = objectType({
|
|
51486
|
+
rows: arrayType(lazyType(() => Row$inboundSchema)),
|
|
51487
|
+
total: number4(),
|
|
51488
|
+
environment: SecuredAccountsListEnvironment$inboundSchema,
|
|
51489
|
+
limit: number4(),
|
|
51490
|
+
offset: number4()
|
|
51491
|
+
});
|
|
51492
|
+
SecuredAccountsListDataData$outboundSchema = objectType({
|
|
51493
|
+
rows: arrayType(lazyType(() => Row$outboundSchema)),
|
|
51494
|
+
total: numberType().int(),
|
|
51495
|
+
environment: SecuredAccountsListEnvironment$outboundSchema,
|
|
51496
|
+
limit: numberType().int(),
|
|
51497
|
+
offset: numberType().int()
|
|
51498
|
+
});
|
|
51499
|
+
SecuredAccountsListData$inboundSchema = objectType({
|
|
51500
|
+
data: optional3(lazyType(() => SecuredAccountsListDataData$inboundSchema)),
|
|
51501
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
51502
|
+
});
|
|
51503
|
+
SecuredAccountsListData$outboundSchema = objectType({
|
|
51504
|
+
data: lazyType(() => SecuredAccountsListDataData$outboundSchema).optional(),
|
|
51505
|
+
error: ErrorBody$outboundSchema.optional()
|
|
51506
|
+
});
|
|
51507
|
+
SecuredAccountsListResponse$inboundSchema = objectType({
|
|
51508
|
+
data: lazyType(() => SecuredAccountsListData$inboundSchema)
|
|
51509
|
+
});
|
|
51510
|
+
SecuredAccountsListResponse$outboundSchema = objectType({
|
|
51511
|
+
data: lazyType(() => SecuredAccountsListData$outboundSchema)
|
|
51512
|
+
});
|
|
51513
|
+
});
|
|
51514
|
+
|
|
51515
|
+
// src/models/operations/secured-accounts-revoke.ts
|
|
51516
|
+
var SecuredAccountsRevokeReason, SecuredAccountsRevokeUnlinkReason, SecuredAccountsRevokeSecurity$inboundSchema, SecuredAccountsRevokeSecurity$outboundSchema, SecuredAccountsRevokeReason$inboundSchema, SecuredAccountsRevokeReason$outboundSchema, SecuredAccountsRevokeRequest$inboundSchema, SecuredAccountsRevokeRequest$outboundSchema, SecuredAccountsRevokeUnlinkReason$inboundSchema, SecuredAccountsRevokeUnlinkReason$outboundSchema, SecuredAccountsRevokeDataData$inboundSchema, SecuredAccountsRevokeDataData$outboundSchema, SecuredAccountsRevokeData$inboundSchema, SecuredAccountsRevokeData$outboundSchema, SecuredAccountsRevokeResponse$inboundSchema, SecuredAccountsRevokeResponse$outboundSchema;
|
|
51517
|
+
var init_secured_accounts_revoke = __esm(() => {
|
|
51518
|
+
init_v3();
|
|
51519
|
+
init_primitives();
|
|
51520
|
+
init_enums();
|
|
51521
|
+
init_primitives2();
|
|
51522
|
+
init_models();
|
|
51523
|
+
SecuredAccountsRevokeReason = {
|
|
51524
|
+
Platform: "platform",
|
|
51525
|
+
CredentialChanged: "credential_changed"
|
|
51526
|
+
};
|
|
51527
|
+
SecuredAccountsRevokeUnlinkReason = {
|
|
51528
|
+
CredentialChanged: "credential_changed",
|
|
51529
|
+
Platform: "platform"
|
|
51530
|
+
};
|
|
51531
|
+
SecuredAccountsRevokeSecurity$inboundSchema = objectType({
|
|
51532
|
+
ApiKeyAuth: string4()
|
|
51533
|
+
}).transform((v) => {
|
|
51534
|
+
return remap(v, {
|
|
51535
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
51536
|
+
});
|
|
51537
|
+
});
|
|
51538
|
+
SecuredAccountsRevokeSecurity$outboundSchema = objectType({
|
|
51539
|
+
apiKeyAuth: stringType()
|
|
51540
|
+
}).transform((v) => {
|
|
51541
|
+
return remap(v, {
|
|
51542
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51543
|
+
});
|
|
51544
|
+
});
|
|
51545
|
+
SecuredAccountsRevokeReason$inboundSchema = nativeEnumType(SecuredAccountsRevokeReason);
|
|
51546
|
+
SecuredAccountsRevokeReason$outboundSchema = SecuredAccountsRevokeReason$inboundSchema;
|
|
51547
|
+
SecuredAccountsRevokeRequest$inboundSchema = objectType({
|
|
51548
|
+
platform_user_ref: optional3(string4()),
|
|
51549
|
+
handle: optional3(string4()),
|
|
51550
|
+
reason: optional3(SecuredAccountsRevokeReason$inboundSchema)
|
|
51551
|
+
}).transform((v) => {
|
|
51552
|
+
return remap(v, {
|
|
51553
|
+
platform_user_ref: "platformUserRef"
|
|
51554
|
+
});
|
|
51555
|
+
});
|
|
51556
|
+
SecuredAccountsRevokeRequest$outboundSchema = objectType({
|
|
51557
|
+
platformUserRef: stringType().optional(),
|
|
51558
|
+
handle: stringType().optional(),
|
|
51559
|
+
reason: SecuredAccountsRevokeReason$outboundSchema.optional()
|
|
51560
|
+
}).transform((v) => {
|
|
51561
|
+
return remap(v, {
|
|
51562
|
+
platformUserRef: "platform_user_ref"
|
|
51563
|
+
});
|
|
51564
|
+
});
|
|
51565
|
+
SecuredAccountsRevokeUnlinkReason$inboundSchema = inboundSchema(SecuredAccountsRevokeUnlinkReason);
|
|
51566
|
+
SecuredAccountsRevokeUnlinkReason$outboundSchema = outboundSchema(SecuredAccountsRevokeUnlinkReason);
|
|
51567
|
+
SecuredAccountsRevokeDataData$inboundSchema = objectType({
|
|
51568
|
+
success: boolean4(),
|
|
51569
|
+
revoked: boolean4(),
|
|
51570
|
+
handle: nullable3(string4()),
|
|
51571
|
+
unlinked_at: nullable3(date4()),
|
|
51572
|
+
unlink_reason: nullable3(SecuredAccountsRevokeUnlinkReason$inboundSchema)
|
|
51573
|
+
}).transform((v) => {
|
|
51574
|
+
return remap(v, {
|
|
51575
|
+
unlinked_at: "unlinkedAt",
|
|
51576
|
+
unlink_reason: "unlinkReason"
|
|
51577
|
+
});
|
|
51578
|
+
});
|
|
51579
|
+
SecuredAccountsRevokeDataData$outboundSchema = objectType({
|
|
51580
|
+
success: booleanType(),
|
|
51581
|
+
revoked: booleanType(),
|
|
51582
|
+
handle: nullableType(stringType()),
|
|
51583
|
+
unlinkedAt: nullableType(dateType().transform((v) => v.toISOString())),
|
|
51584
|
+
unlinkReason: nullableType(SecuredAccountsRevokeUnlinkReason$outboundSchema)
|
|
51585
|
+
}).transform((v) => {
|
|
51586
|
+
return remap(v, {
|
|
51587
|
+
unlinkedAt: "unlinked_at",
|
|
51588
|
+
unlinkReason: "unlink_reason"
|
|
51589
|
+
});
|
|
51590
|
+
});
|
|
51591
|
+
SecuredAccountsRevokeData$inboundSchema = objectType({
|
|
51592
|
+
data: optional3(lazyType(() => SecuredAccountsRevokeDataData$inboundSchema)),
|
|
51593
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
51594
|
+
});
|
|
51595
|
+
SecuredAccountsRevokeData$outboundSchema = objectType({
|
|
51596
|
+
data: lazyType(() => SecuredAccountsRevokeDataData$outboundSchema).optional(),
|
|
51597
|
+
error: ErrorBody$outboundSchema.optional()
|
|
51598
|
+
});
|
|
51599
|
+
SecuredAccountsRevokeResponse$inboundSchema = objectType({
|
|
51600
|
+
data: lazyType(() => SecuredAccountsRevokeData$inboundSchema)
|
|
51601
|
+
});
|
|
51602
|
+
SecuredAccountsRevokeResponse$outboundSchema = objectType({
|
|
51603
|
+
data: lazyType(() => SecuredAccountsRevokeData$outboundSchema)
|
|
51604
|
+
});
|
|
51605
|
+
});
|
|
51606
|
+
|
|
51607
|
+
// src/models/operations/secured-accounts-status.ts
|
|
51608
|
+
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;
|
|
51609
|
+
var init_secured_accounts_status = __esm(() => {
|
|
51610
|
+
init_v3();
|
|
51611
|
+
init_primitives();
|
|
51612
|
+
init_enums();
|
|
51613
|
+
init_primitives2();
|
|
51614
|
+
init_models();
|
|
51615
|
+
SecuredAccountsStatusState = {
|
|
51616
|
+
None: "none",
|
|
51617
|
+
Fresh: "fresh",
|
|
51618
|
+
Stale: "stale"
|
|
51619
|
+
};
|
|
51620
|
+
SecuredAccountsStatusSecurity$inboundSchema = objectType({
|
|
51621
|
+
ApiKeyAuth: string4()
|
|
51622
|
+
}).transform((v) => {
|
|
51623
|
+
return remap(v, {
|
|
51624
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
51625
|
+
});
|
|
51626
|
+
});
|
|
51627
|
+
SecuredAccountsStatusSecurity$outboundSchema = objectType({
|
|
51628
|
+
apiKeyAuth: stringType()
|
|
51629
|
+
}).transform((v) => {
|
|
51630
|
+
return remap(v, {
|
|
51631
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51632
|
+
});
|
|
51633
|
+
});
|
|
51634
|
+
SecuredAccountsStatusRequest$inboundSchema = objectType({
|
|
51635
|
+
platform_user_ref: string4()
|
|
51636
|
+
}).transform((v) => {
|
|
51637
|
+
return remap(v, {
|
|
51638
|
+
platform_user_ref: "platformUserRef"
|
|
51639
|
+
});
|
|
51640
|
+
});
|
|
51641
|
+
SecuredAccountsStatusRequest$outboundSchema = objectType({
|
|
51642
|
+
platformUserRef: stringType()
|
|
51643
|
+
}).transform((v) => {
|
|
51644
|
+
return remap(v, {
|
|
51645
|
+
platformUserRef: "platform_user_ref"
|
|
51646
|
+
});
|
|
51647
|
+
});
|
|
51648
|
+
SecuredAccountsStatusState$inboundSchema = inboundSchema(SecuredAccountsStatusState);
|
|
51649
|
+
SecuredAccountsStatusState$outboundSchema = outboundSchema(SecuredAccountsStatusState);
|
|
51650
|
+
SecuredAccountsStatusDataData$inboundSchema = objectType({
|
|
51651
|
+
state: SecuredAccountsStatusState$inboundSchema,
|
|
51652
|
+
fresh_until: nullable3(date4())
|
|
51653
|
+
}).transform((v) => {
|
|
51654
|
+
return remap(v, {
|
|
51655
|
+
fresh_until: "freshUntil"
|
|
51656
|
+
});
|
|
51657
|
+
});
|
|
51658
|
+
SecuredAccountsStatusDataData$outboundSchema = objectType({
|
|
51659
|
+
state: SecuredAccountsStatusState$outboundSchema,
|
|
51660
|
+
freshUntil: nullableType(dateType().transform((v) => v.toISOString()))
|
|
51661
|
+
}).transform((v) => {
|
|
51662
|
+
return remap(v, {
|
|
51663
|
+
freshUntil: "fresh_until"
|
|
51664
|
+
});
|
|
51665
|
+
});
|
|
51666
|
+
SecuredAccountsStatusData$inboundSchema = objectType({
|
|
51667
|
+
data: optional3(lazyType(() => SecuredAccountsStatusDataData$inboundSchema)),
|
|
51668
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
51669
|
+
});
|
|
51670
|
+
SecuredAccountsStatusData$outboundSchema = objectType({
|
|
51671
|
+
data: lazyType(() => SecuredAccountsStatusDataData$outboundSchema).optional(),
|
|
51672
|
+
error: ErrorBody$outboundSchema.optional()
|
|
51673
|
+
});
|
|
51674
|
+
SecuredAccountsStatusResponse$inboundSchema = objectType({
|
|
51675
|
+
data: lazyType(() => SecuredAccountsStatusData$inboundSchema)
|
|
51676
|
+
});
|
|
51677
|
+
SecuredAccountsStatusResponse$outboundSchema = objectType({
|
|
51678
|
+
data: lazyType(() => SecuredAccountsStatusData$outboundSchema)
|
|
51679
|
+
});
|
|
51680
|
+
});
|
|
51681
|
+
|
|
50215
51682
|
// src/models/operations/verification-get-status.ts
|
|
50216
|
-
var VerificationGetStatusStatus, VerificationGetStatusSDKType, VerificationGetStatusReason, VerificationGetStatusSecurity$inboundSchema, VerificationGetStatusSecurity$outboundSchema, VerificationGetStatusRequest$inboundSchema, VerificationGetStatusRequest$outboundSchema, VerificationGetStatusStatus$inboundSchema, VerificationGetStatusStatus$outboundSchema, VerificationGetStatusSDKType$inboundSchema, VerificationGetStatusSDKType$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, VerificationGetStatusReason$inboundSchema, VerificationGetStatusReason$outboundSchema, VerificationGetStatusData$inboundSchema, VerificationGetStatusData$outboundSchema, VerificationGetStatusResponse$inboundSchema, VerificationGetStatusResponse$outboundSchema;
|
|
51683
|
+
var VerificationGetStatusStatus, VerificationGetStatusSDKType, VerificationGetStatusReason, VerificationGetStatusPreset, Link, VerificationGetStatusState, VerificationGetStatusSecurity$inboundSchema, VerificationGetStatusSecurity$outboundSchema, VerificationGetStatusRequest$inboundSchema, VerificationGetStatusRequest$outboundSchema, VerificationGetStatusStatus$inboundSchema, VerificationGetStatusStatus$outboundSchema, VerificationGetStatusSDKType$inboundSchema, VerificationGetStatusSDKType$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, VerificationGetStatusReason$inboundSchema, VerificationGetStatusReason$outboundSchema, VerificationGetStatusPreset$inboundSchema, VerificationGetStatusPreset$outboundSchema, Link$inboundSchema, Link$outboundSchema, VerificationGetStatusState$inboundSchema, VerificationGetStatusState$outboundSchema, Gate$inboundSchema2, Gate$outboundSchema2, VerificationGetStatusAction$inboundSchema, VerificationGetStatusAction$outboundSchema, VerificationGetStatusData$inboundSchema, VerificationGetStatusData$outboundSchema, VerificationGetStatusResponse$inboundSchema, VerificationGetStatusResponse$outboundSchema;
|
|
50217
51684
|
var init_verification_get_status = __esm(() => {
|
|
50218
51685
|
init_v3();
|
|
50219
51686
|
init_primitives();
|
|
@@ -50240,17 +51707,31 @@ var init_verification_get_status = __esm(() => {
|
|
|
50240
51707
|
RealDaysNotMet: "real_days_not_met",
|
|
50241
51708
|
Unavailable: "unavailable"
|
|
50242
51709
|
};
|
|
51710
|
+
VerificationGetStatusPreset = {
|
|
51711
|
+
Presale: "presale",
|
|
51712
|
+
Promo: "promo",
|
|
51713
|
+
Drop: "drop",
|
|
51714
|
+
Vote: "vote",
|
|
51715
|
+
Reservation: "reservation",
|
|
51716
|
+
Claim: "claim"
|
|
51717
|
+
};
|
|
51718
|
+
Link = {
|
|
51719
|
+
Required: "required",
|
|
51720
|
+
Optional: "optional",
|
|
51721
|
+
Never: "never"
|
|
51722
|
+
};
|
|
51723
|
+
VerificationGetStatusState = {
|
|
51724
|
+
Scheduled: "scheduled",
|
|
51725
|
+
Open: "open",
|
|
51726
|
+
Closed: "closed"
|
|
51727
|
+
};
|
|
50243
51728
|
VerificationGetStatusSecurity$inboundSchema = objectType({
|
|
50244
51729
|
apiKeyAuth: optional3(string4()),
|
|
50245
|
-
apiKeyAuth1: optional3(string4())
|
|
50246
|
-
apiKeyAuth2: optional3(string4()),
|
|
50247
|
-
apiKeyAuth3: optional3(string4())
|
|
51730
|
+
apiKeyAuth1: optional3(string4())
|
|
50248
51731
|
});
|
|
50249
51732
|
VerificationGetStatusSecurity$outboundSchema = objectType({
|
|
50250
51733
|
apiKeyAuth: stringType().optional(),
|
|
50251
|
-
apiKeyAuth1: stringType().optional()
|
|
50252
|
-
apiKeyAuth2: stringType().optional(),
|
|
50253
|
-
apiKeyAuth3: stringType().optional()
|
|
51734
|
+
apiKeyAuth1: stringType().optional()
|
|
50254
51735
|
});
|
|
50255
51736
|
VerificationGetStatusRequest$inboundSchema = objectType({
|
|
50256
51737
|
request_id: string4()
|
|
@@ -50298,6 +51779,78 @@ var init_verification_get_status = __esm(() => {
|
|
|
50298
51779
|
});
|
|
50299
51780
|
VerificationGetStatusReason$inboundSchema = inboundSchema(VerificationGetStatusReason);
|
|
50300
51781
|
VerificationGetStatusReason$outboundSchema = outboundSchema(VerificationGetStatusReason);
|
|
51782
|
+
VerificationGetStatusPreset$inboundSchema = inboundSchema(VerificationGetStatusPreset);
|
|
51783
|
+
VerificationGetStatusPreset$outboundSchema = outboundSchema(VerificationGetStatusPreset);
|
|
51784
|
+
Link$inboundSchema = inboundSchema(Link);
|
|
51785
|
+
Link$outboundSchema = outboundSchema(Link);
|
|
51786
|
+
VerificationGetStatusState$inboundSchema = inboundSchema(VerificationGetStatusState);
|
|
51787
|
+
VerificationGetStatusState$outboundSchema = outboundSchema(VerificationGetStatusState);
|
|
51788
|
+
Gate$inboundSchema2 = objectType({
|
|
51789
|
+
gate_name: nullableType(string4()).optional(),
|
|
51790
|
+
message: nullableType(string4()).optional(),
|
|
51791
|
+
destination_url: nullableType(string4()).optional(),
|
|
51792
|
+
destination_host: nullableType(string4()).optional(),
|
|
51793
|
+
preset: nullableType(VerificationGetStatusPreset$inboundSchema).optional(),
|
|
51794
|
+
link: optional3(Link$inboundSchema),
|
|
51795
|
+
linked: nullableType(boolean4()).optional(),
|
|
51796
|
+
signed_up_required: optional3(boolean4()),
|
|
51797
|
+
per_person: nullableType(PassesPerPerson$inboundSchema).optional(),
|
|
51798
|
+
real_days: optional3(number4()),
|
|
51799
|
+
policy_line: optional3(string4()),
|
|
51800
|
+
state: optional3(VerificationGetStatusState$inboundSchema),
|
|
51801
|
+
opens_at: nullableType(date4()).optional(),
|
|
51802
|
+
closes_at: nullableType(date4()).optional()
|
|
51803
|
+
}).transform((v) => {
|
|
51804
|
+
return remap(v, {
|
|
51805
|
+
gate_name: "gateName",
|
|
51806
|
+
destination_url: "destinationUrl",
|
|
51807
|
+
destination_host: "destinationHost",
|
|
51808
|
+
signed_up_required: "signedUpRequired",
|
|
51809
|
+
per_person: "perPerson",
|
|
51810
|
+
real_days: "realDays",
|
|
51811
|
+
policy_line: "policyLine",
|
|
51812
|
+
opens_at: "opensAt",
|
|
51813
|
+
closes_at: "closesAt"
|
|
51814
|
+
});
|
|
51815
|
+
});
|
|
51816
|
+
Gate$outboundSchema2 = objectType({
|
|
51817
|
+
gateName: nullableType(stringType()).optional(),
|
|
51818
|
+
message: nullableType(stringType()).optional(),
|
|
51819
|
+
destinationUrl: nullableType(stringType()).optional(),
|
|
51820
|
+
destinationHost: nullableType(stringType()).optional(),
|
|
51821
|
+
preset: nullableType(VerificationGetStatusPreset$outboundSchema).optional(),
|
|
51822
|
+
link: Link$outboundSchema.optional(),
|
|
51823
|
+
linked: nullableType(booleanType()).optional(),
|
|
51824
|
+
signedUpRequired: booleanType().optional(),
|
|
51825
|
+
perPerson: nullableType(PassesPerPerson$outboundSchema).optional(),
|
|
51826
|
+
realDays: numberType().int().optional(),
|
|
51827
|
+
policyLine: stringType().optional(),
|
|
51828
|
+
state: VerificationGetStatusState$outboundSchema.optional(),
|
|
51829
|
+
opensAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
51830
|
+
closesAt: nullableType(dateType().transform((v) => v.toISOString())).optional()
|
|
51831
|
+
}).transform((v) => {
|
|
51832
|
+
return remap(v, {
|
|
51833
|
+
gateName: "gate_name",
|
|
51834
|
+
destinationUrl: "destination_url",
|
|
51835
|
+
destinationHost: "destination_host",
|
|
51836
|
+
signedUpRequired: "signed_up_required",
|
|
51837
|
+
perPerson: "per_person",
|
|
51838
|
+
realDays: "real_days",
|
|
51839
|
+
policyLine: "policy_line",
|
|
51840
|
+
opensAt: "opens_at",
|
|
51841
|
+
closesAt: "closes_at"
|
|
51842
|
+
});
|
|
51843
|
+
});
|
|
51844
|
+
VerificationGetStatusAction$inboundSchema = objectType({
|
|
51845
|
+
name: string4(),
|
|
51846
|
+
label: nullable3(string4()),
|
|
51847
|
+
linked: nullable3(boolean4())
|
|
51848
|
+
});
|
|
51849
|
+
VerificationGetStatusAction$outboundSchema = objectType({
|
|
51850
|
+
name: stringType(),
|
|
51851
|
+
label: nullableType(stringType()),
|
|
51852
|
+
linked: nullableType(booleanType())
|
|
51853
|
+
});
|
|
50301
51854
|
VerificationGetStatusData$inboundSchema = objectType({
|
|
50302
51855
|
found: optional3(boolean4()),
|
|
50303
51856
|
status: optional3(VerificationGetStatusStatus$inboundSchema),
|
|
@@ -50319,7 +51872,9 @@ var init_verification_get_status = __esm(() => {
|
|
|
50319
51872
|
trusted: nullableType(boolean4()).optional(),
|
|
50320
51873
|
first_time: nullableType(boolean4()).optional(),
|
|
50321
51874
|
notarize: optional3(boolean4()),
|
|
50322
|
-
organization_name: nullableType(string4()).optional()
|
|
51875
|
+
organization_name: nullableType(string4()).optional(),
|
|
51876
|
+
gate: nullableType(lazyType(() => Gate$inboundSchema2)).optional(),
|
|
51877
|
+
action: nullableType(lazyType(() => VerificationGetStatusAction$inboundSchema)).optional()
|
|
50323
51878
|
}).transform((v) => {
|
|
50324
51879
|
return remap(v, {
|
|
50325
51880
|
request_id: "requestId",
|
|
@@ -50357,7 +51912,9 @@ var init_verification_get_status = __esm(() => {
|
|
|
50357
51912
|
trusted: nullableType(booleanType()).optional(),
|
|
50358
51913
|
firstTime: nullableType(booleanType()).optional(),
|
|
50359
51914
|
notarize: booleanType().optional(),
|
|
50360
|
-
organizationName: nullableType(stringType()).optional()
|
|
51915
|
+
organizationName: nullableType(stringType()).optional(),
|
|
51916
|
+
gate: nullableType(lazyType(() => Gate$outboundSchema2)).optional(),
|
|
51917
|
+
action: nullableType(lazyType(() => VerificationGetStatusAction$outboundSchema)).optional()
|
|
50361
51918
|
}).transform((v) => {
|
|
50362
51919
|
return remap(v, {
|
|
50363
51920
|
requestId: "request_id",
|
|
@@ -50387,13 +51944,29 @@ var init_operations = __esm(() => {
|
|
|
50387
51944
|
init_actions_cancel();
|
|
50388
51945
|
init_actions_check_status();
|
|
50389
51946
|
init_actions_propose();
|
|
51947
|
+
init_gates_api_actions_create();
|
|
51948
|
+
init_gates_api_actions_list();
|
|
51949
|
+
init_gates_api_actions_request_status();
|
|
51950
|
+
init_gates_api_actions_request();
|
|
51951
|
+
init_gates_api_actions_set_state();
|
|
51952
|
+
init_gates_api_activate();
|
|
51953
|
+
init_gates_api_cancel();
|
|
51954
|
+
init_gates_api_close();
|
|
51955
|
+
init_gates_api_create();
|
|
51956
|
+
init_gates_api_extend();
|
|
51957
|
+
init_gates_api_get();
|
|
51958
|
+
init_gates_api_list();
|
|
50390
51959
|
init_sdk_create_session();
|
|
50391
51960
|
init_sdk_create_verification_link();
|
|
51961
|
+
init_sdk_get_partner_config();
|
|
50392
51962
|
init_sdk_logout();
|
|
50393
51963
|
init_sdk_revoke_verification();
|
|
50394
51964
|
init_sdk_store_signal();
|
|
50395
51965
|
init_sdk_validate_signal();
|
|
50396
51966
|
init_sdk_verify_token();
|
|
51967
|
+
init_secured_accounts_list();
|
|
51968
|
+
init_secured_accounts_revoke();
|
|
51969
|
+
init_secured_accounts_status();
|
|
50397
51970
|
init_verification_get_status();
|
|
50398
51971
|
});
|
|
50399
51972
|
|
|
@@ -50512,7 +52085,7 @@ var init_actions_cancel_action2 = __esm(() => {
|
|
|
50512
52085
|
tool$actionsCancelAction = {
|
|
50513
52086
|
name: "cancel_resolution",
|
|
50514
52087
|
description: `Stand down a queued resolution before the user responds. No-op once terminal; TTL expiry produces no Resolution.`,
|
|
50515
|
-
scopes: ["queue", "queue"
|
|
52088
|
+
scopes: ["queue", "queue"],
|
|
50516
52089
|
args,
|
|
50517
52090
|
tool: async (client, args2, ctx) => {
|
|
50518
52091
|
const [result, apiCall] = await actionsCancelAction(client, args2.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -50618,7 +52191,7 @@ var init_actions_check_action_status2 = __esm(() => {
|
|
|
50618
52191
|
tool$actionsCheckActionStatus = {
|
|
50619
52192
|
name: "check_resolution_status",
|
|
50620
52193
|
description: `Poll a proposed resolution (pass wait_seconds up to 25 to long-poll). Terminal states (approved/denied) carry the signed Proof of Resolution JWT — verify against BotShield's JWKS; the request_id is the JWT jti.`,
|
|
50621
|
-
scopes: ["queue", "queue"
|
|
52194
|
+
scopes: ["queue", "queue"],
|
|
50622
52195
|
args: args2,
|
|
50623
52196
|
tool: async (client, args3, ctx) => {
|
|
50624
52197
|
const [result, apiCall] = await actionsCheckActionStatus(client, args3.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -50720,7 +52293,7 @@ var init_actions_propose_action2 = __esm(() => {
|
|
|
50720
52293
|
tool$actionsProposeAction = {
|
|
50721
52294
|
name: "propose_resolution",
|
|
50722
52295
|
description: `Propose a human-presence-gated action to a BotShield user (Agents Ask). Returns a card_id immediately; the signed Proof of Resolution arrives async via the agent's registered callback, or poll check_resolution_status.`,
|
|
50723
|
-
scopes: ["queue", "queue"
|
|
52296
|
+
scopes: ["queue", "queue"],
|
|
50724
52297
|
args: args3,
|
|
50725
52298
|
tool: async (client, args4, ctx) => {
|
|
50726
52299
|
const [result, apiCall] = await actionsProposeAction(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -50740,7 +52313,7 @@ var init_actions_propose_action2 = __esm(() => {
|
|
|
50740
52313
|
function createMCPServer(deps) {
|
|
50741
52314
|
const server = new McpServer({
|
|
50742
52315
|
name: "BotShield",
|
|
50743
|
-
version: "2.1
|
|
52316
|
+
version: "2.2.1"
|
|
50744
52317
|
});
|
|
50745
52318
|
const client = new BotShieldCore({
|
|
50746
52319
|
security: deps.security,
|
|
@@ -50798,9 +52371,7 @@ async function startStdio(flags) {
|
|
|
50798
52371
|
scopes: flags.scope,
|
|
50799
52372
|
security: {
|
|
50800
52373
|
agentKeyAuth: flags["agent-key-auth"] ?? "",
|
|
50801
|
-
agentKeyAuth1: flags["agent-key-auth1"] ?? ""
|
|
50802
|
-
agentKeyAuth2: flags["agent-key-auth2"] ?? "",
|
|
50803
|
-
agentKeyAuth3: flags["agent-key-auth3"] ?? ""
|
|
52374
|
+
agentKeyAuth1: flags["agent-key-auth1"] ?? ""
|
|
50804
52375
|
},
|
|
50805
52376
|
serverURL: flags["server-url"],
|
|
50806
52377
|
serverIdx: flags["server-index"]
|
|
@@ -50822,9 +52393,7 @@ async function startSSE(flags) {
|
|
|
50822
52393
|
scopes: flags.scope,
|
|
50823
52394
|
security: {
|
|
50824
52395
|
agentKeyAuth: flags["agent-key-auth"] ?? "",
|
|
50825
|
-
agentKeyAuth1: flags["agent-key-auth1"] ?? ""
|
|
50826
|
-
agentKeyAuth2: flags["agent-key-auth2"] ?? "",
|
|
50827
|
-
agentKeyAuth3: flags["agent-key-auth3"] ?? ""
|
|
52396
|
+
agentKeyAuth1: flags["agent-key-auth1"] ?? ""
|
|
50828
52397
|
},
|
|
50829
52398
|
serverURL: flags["server-url"],
|
|
50830
52399
|
serverIdx: flags["server-index"]
|
|
@@ -53001,22 +54570,6 @@ var startCommand = buildCommand({
|
|
|
53001
54570
|
return stringType().parse(value);
|
|
53002
54571
|
}
|
|
53003
54572
|
},
|
|
53004
|
-
"agent-key-auth2": {
|
|
53005
|
-
kind: "parsed",
|
|
53006
|
-
brief: "Sets the agentKeyAuth2 auth field for the API",
|
|
53007
|
-
optional: true,
|
|
53008
|
-
parse: (value) => {
|
|
53009
|
-
return stringType().parse(value);
|
|
53010
|
-
}
|
|
53011
|
-
},
|
|
53012
|
-
"agent-key-auth3": {
|
|
53013
|
-
kind: "parsed",
|
|
53014
|
-
brief: "Sets the agentKeyAuth3 auth field for the API",
|
|
53015
|
-
optional: true,
|
|
53016
|
-
parse: (value) => {
|
|
53017
|
-
return stringType().parse(value);
|
|
53018
|
-
}
|
|
53019
|
-
},
|
|
53020
54573
|
"server-url": {
|
|
53021
54574
|
kind: "parsed",
|
|
53022
54575
|
brief: "Overrides the default server URL used by the SDK",
|
|
@@ -53076,7 +54629,7 @@ var routes = buildRouteMap({
|
|
|
53076
54629
|
var app = buildApplication(routes, {
|
|
53077
54630
|
name: "mcp",
|
|
53078
54631
|
versionInfo: {
|
|
53079
|
-
currentVersion: "2.1
|
|
54632
|
+
currentVersion: "2.2.1"
|
|
53080
54633
|
}
|
|
53081
54634
|
});
|
|
53082
54635
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -53084,5 +54637,5 @@ export {
|
|
|
53084
54637
|
app
|
|
53085
54638
|
};
|
|
53086
54639
|
|
|
53087
|
-
//# debugId=
|
|
54640
|
+
//# debugId=D67899DE7C194ADC64756E2164756E21
|
|
53088
54641
|
//# sourceMappingURL=mcp-server.js.map
|