botshield-sdk 1.9.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +87 -0
- package/README.md +482 -295
- package/RUNTIMES.md +48 -0
- package/bin/mcp-server.js +52952 -0
- package/bin/mcp-server.js.map +379 -0
- package/dist/commonjs/core.d.ts +10 -0
- package/dist/commonjs/core.d.ts.map +1 -0
- package/dist/commonjs/core.js +17 -0
- package/dist/commonjs/core.js.map +1 -0
- package/dist/commonjs/funcs/actions-cancel-action.d.ts +18 -0
- package/dist/commonjs/funcs/actions-cancel-action.d.ts.map +1 -0
- package/dist/commonjs/funcs/actions-cancel-action.js +118 -0
- package/dist/commonjs/funcs/actions-cancel-action.js.map +1 -0
- package/dist/commonjs/funcs/actions-check-action-status.d.ts +18 -0
- package/dist/commonjs/funcs/actions-check-action-status.d.ts.map +1 -0
- package/dist/commonjs/funcs/actions-check-action-status.js +122 -0
- package/dist/commonjs/funcs/actions-check-action-status.js.map +1 -0
- package/dist/commonjs/funcs/actions-propose-action.d.ts +18 -0
- package/dist/commonjs/funcs/actions-propose-action.d.ts.map +1 -0
- package/dist/commonjs/funcs/actions-propose-action.js +118 -0
- package/dist/commonjs/funcs/actions-propose-action.js.map +1 -0
- package/dist/commonjs/funcs/census-create-session.d.ts +18 -0
- package/dist/commonjs/funcs/census-create-session.d.ts.map +1 -0
- package/dist/commonjs/funcs/census-create-session.js +123 -0
- package/dist/commonjs/funcs/census-create-session.js.map +1 -0
- package/dist/commonjs/funcs/census-create-verification-link.d.ts +18 -0
- package/dist/commonjs/funcs/census-create-verification-link.d.ts.map +1 -0
- package/dist/commonjs/funcs/census-create-verification-link.js +123 -0
- package/dist/commonjs/funcs/census-create-verification-link.js.map +1 -0
- 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 +132 -0
- package/dist/commonjs/funcs/census-get-partner-config.js.map +1 -0
- package/dist/commonjs/funcs/census-logout.d.ts +15 -0
- package/dist/commonjs/funcs/census-logout.d.ts.map +1 -0
- package/dist/commonjs/funcs/census-logout.js +120 -0
- package/dist/commonjs/funcs/census-logout.js.map +1 -0
- package/dist/commonjs/funcs/census-revoke-verification.d.ts +18 -0
- package/dist/commonjs/funcs/census-revoke-verification.d.ts.map +1 -0
- package/dist/commonjs/funcs/census-revoke-verification.js +123 -0
- package/dist/commonjs/funcs/census-revoke-verification.js.map +1 -0
- package/dist/commonjs/funcs/census-store-signal.d.ts +18 -0
- package/dist/commonjs/funcs/census-store-signal.d.ts.map +1 -0
- package/dist/commonjs/funcs/census-store-signal.js +114 -0
- package/dist/commonjs/funcs/census-store-signal.js.map +1 -0
- package/dist/commonjs/funcs/census-validate-signal.d.ts +18 -0
- package/dist/commonjs/funcs/census-validate-signal.d.ts.map +1 -0
- package/dist/commonjs/funcs/census-validate-signal.js +114 -0
- package/dist/commonjs/funcs/census-validate-signal.js.map +1 -0
- package/dist/commonjs/funcs/census-verify-token.d.ts +18 -0
- package/dist/commonjs/funcs/census-verify-token.d.ts.map +1 -0
- package/dist/commonjs/funcs/census-verify-token.js +129 -0
- package/dist/commonjs/funcs/census-verify-token.js.map +1 -0
- package/dist/commonjs/funcs/verification-get-status.d.ts +18 -0
- package/dist/commonjs/funcs/verification-get-status.d.ts.map +1 -0
- package/dist/commonjs/funcs/verification-get-status.js +132 -0
- package/dist/commonjs/funcs/verification-get-status.js.map +1 -0
- package/dist/commonjs/hooks/hooks.d.ts +25 -0
- package/dist/commonjs/hooks/hooks.d.ts.map +1 -0
- package/dist/commonjs/hooks/hooks.js +84 -0
- package/dist/commonjs/hooks/hooks.js.map +1 -0
- package/dist/commonjs/hooks/index.d.ts +3 -0
- package/dist/commonjs/hooks/index.d.ts.map +1 -0
- package/dist/commonjs/hooks/index.js +22 -0
- package/dist/commonjs/hooks/index.js.map +1 -0
- package/dist/commonjs/hooks/types.d.ts +77 -0
- package/dist/commonjs/hooks/types.d.ts.map +1 -0
- package/dist/commonjs/hooks/types.js +6 -0
- package/dist/commonjs/hooks/types.js.map +1 -0
- package/dist/commonjs/index.d.ts +6 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +48 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lib/base64.d.ts +10 -0
- package/dist/commonjs/lib/base64.d.ts.map +1 -0
- package/dist/commonjs/lib/base64.js +71 -0
- package/dist/commonjs/lib/base64.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +42 -0
- package/dist/commonjs/lib/config.d.ts.map +1 -0
- package/dist/commonjs/lib/config.js +42 -0
- package/dist/commonjs/lib/config.js.map +1 -0
- package/dist/commonjs/lib/encodings.d.ts +55 -0
- package/dist/commonjs/lib/encodings.d.ts.map +1 -0
- package/dist/commonjs/lib/encodings.js +422 -0
- package/dist/commonjs/lib/encodings.js.map +1 -0
- package/dist/commonjs/lib/files.d.ts +26 -0
- package/dist/commonjs/lib/files.d.ts.map +1 -0
- package/dist/commonjs/lib/files.js +96 -0
- package/dist/commonjs/lib/files.js.map +1 -0
- package/dist/commonjs/lib/http.d.ts +67 -0
- package/dist/commonjs/lib/http.d.ts.map +1 -0
- package/dist/commonjs/lib/http.js +219 -0
- package/dist/commonjs/lib/http.js.map +1 -0
- package/dist/commonjs/lib/logger.d.ts +6 -0
- package/dist/commonjs/lib/logger.d.ts.map +1 -0
- package/dist/commonjs/lib/logger.js +6 -0
- package/dist/commonjs/lib/logger.js.map +1 -0
- package/dist/commonjs/lib/matchers.d.ts +59 -0
- package/dist/commonjs/lib/matchers.d.ts.map +1 -0
- package/dist/commonjs/lib/matchers.js +221 -0
- package/dist/commonjs/lib/matchers.js.map +1 -0
- package/dist/commonjs/lib/primitives.d.ts +27 -0
- package/dist/commonjs/lib/primitives.d.ts.map +1 -0
- package/dist/commonjs/lib/primitives.js +129 -0
- package/dist/commonjs/lib/primitives.js.map +1 -0
- package/dist/commonjs/lib/retries.d.ts +38 -0
- package/dist/commonjs/lib/retries.d.ts.map +1 -0
- package/dist/commonjs/lib/retries.js +163 -0
- package/dist/commonjs/lib/retries.js.map +1 -0
- package/dist/commonjs/lib/schemas.d.ts +19 -0
- package/dist/commonjs/lib/schemas.d.ts.map +1 -0
- package/dist/commonjs/lib/schemas.js +62 -0
- package/dist/commonjs/lib/schemas.js.map +1 -0
- package/dist/commonjs/lib/sdks.d.ts +63 -0
- package/dist/commonjs/lib/sdks.d.ts.map +1 -0
- package/dist/commonjs/lib/sdks.js +294 -0
- package/dist/commonjs/lib/sdks.js.map +1 -0
- package/dist/commonjs/lib/security.d.ts +84 -0
- package/dist/commonjs/lib/security.d.ts.map +1 -0
- package/dist/commonjs/lib/security.js +160 -0
- package/dist/commonjs/lib/security.js.map +1 -0
- package/dist/commonjs/lib/url.d.ts +5 -0
- package/dist/commonjs/lib/url.d.ts.map +1 -0
- package/dist/commonjs/lib/url.js +27 -0
- package/dist/commonjs/lib/url.js.map +1 -0
- package/dist/commonjs/mcp-server/cli/start/command.d.ts +2 -0
- package/dist/commonjs/mcp-server/cli/start/command.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/cli/start/command.js +141 -0
- package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -0
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts +19 -0
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/cli/start/impl.js +110 -0
- package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -0
- package/dist/commonjs/mcp-server/cli.d.ts +6 -0
- package/dist/commonjs/mcp-server/cli.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/cli.js +10 -0
- package/dist/commonjs/mcp-server/cli.js.map +1 -0
- package/dist/commonjs/mcp-server/console-logger.d.ts +7 -0
- package/dist/commonjs/mcp-server/console-logger.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/console-logger.js +59 -0
- package/dist/commonjs/mcp-server/console-logger.js.map +1 -0
- package/dist/commonjs/mcp-server/extensions.d.ts +11 -0
- package/dist/commonjs/mcp-server/extensions.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/extensions.js +6 -0
- package/dist/commonjs/mcp-server/extensions.js.map +1 -0
- package/dist/commonjs/mcp-server/mcp-server.d.ts +2 -0
- package/dist/commonjs/mcp-server/mcp-server.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/mcp-server.js +29 -0
- package/dist/commonjs/mcp-server/mcp-server.js.map +1 -0
- package/dist/commonjs/mcp-server/prompts.d.ts +26 -0
- package/dist/commonjs/mcp-server/prompts.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/prompts.js +51 -0
- package/dist/commonjs/mcp-server/prompts.js.map +1 -0
- package/dist/commonjs/mcp-server/resources.d.ts +32 -0
- package/dist/commonjs/mcp-server/resources.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/resources.js +87 -0
- package/dist/commonjs/mcp-server/resources.js.map +1 -0
- package/dist/commonjs/mcp-server/scopes.d.ts +3 -0
- package/dist/commonjs/mcp-server/scopes.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/scopes.js +10 -0
- package/dist/commonjs/mcp-server/scopes.js.map +1 -0
- package/dist/commonjs/mcp-server/server.d.ts +13 -0
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/server.js +38 -0
- package/dist/commonjs/mcp-server/server.js.map +1 -0
- package/dist/commonjs/mcp-server/shared.d.ts +7 -0
- package/dist/commonjs/mcp-server/shared.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/shared.js +98 -0
- package/dist/commonjs/mcp-server/shared.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/actions-cancel-action.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/actions-cancel-action.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/actions-cancel-action.js +63 -0
- package/dist/commonjs/mcp-server/tools/actions-cancel-action.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/actions-check-action-status.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/actions-check-action-status.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/actions-check-action-status.js +63 -0
- package/dist/commonjs/mcp-server/tools/actions-check-action-status.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/actions-propose-action.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/actions-propose-action.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/actions-propose-action.js +63 -0
- package/dist/commonjs/mcp-server/tools/actions-propose-action.js.map +1 -0
- package/dist/commonjs/mcp-server/tools.d.ts +25 -0
- package/dist/commonjs/mcp-server/tools.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools.js +82 -0
- package/dist/commonjs/mcp-server/tools.js.map +1 -0
- package/dist/commonjs/models/error-body.d.ts +56 -0
- package/dist/commonjs/models/error-body.d.ts.map +1 -0
- package/dist/commonjs/models/error-body.js +100 -0
- package/dist/commonjs/models/error-body.js.map +1 -0
- package/dist/commonjs/models/error-response.d.ts +19 -0
- package/dist/commonjs/models/error-response.d.ts.map +1 -0
- package/dist/commonjs/models/error-response.js +61 -0
- package/dist/commonjs/models/error-response.js.map +1 -0
- package/dist/commonjs/models/errors/bot-shield-default-error.d.ts +10 -0
- package/dist/commonjs/models/errors/bot-shield-default-error.d.ts.map +1 -0
- package/dist/commonjs/models/errors/bot-shield-default-error.js +34 -0
- package/dist/commonjs/models/errors/bot-shield-default-error.js.map +1 -0
- package/dist/commonjs/models/errors/bot-shield-error.d.ts +19 -0
- package/dist/commonjs/models/errors/bot-shield-error.d.ts.map +1 -0
- package/dist/commonjs/models/errors/bot-shield-error.js +30 -0
- package/dist/commonjs/models/errors/bot-shield-error.js.map +1 -0
- package/dist/commonjs/models/errors/error-response.d.ts +31 -0
- package/dist/commonjs/models/errors/error-response.d.ts.map +1 -0
- package/dist/commonjs/models/errors/error-response.js +80 -0
- package/dist/commonjs/models/errors/error-response.js.map +1 -0
- package/dist/commonjs/models/errors/http-client-errors.d.ts +44 -0
- package/dist/commonjs/models/errors/http-client-errors.d.ts.map +1 -0
- package/dist/commonjs/models/errors/http-client-errors.js +65 -0
- package/dist/commonjs/models/errors/http-client-errors.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +8 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -0
- package/dist/commonjs/models/errors/index.js +27 -0
- package/dist/commonjs/models/errors/index.js.map +1 -0
- package/dist/commonjs/models/errors/invalid-input-error.d.ts +42 -0
- package/dist/commonjs/models/errors/invalid-input-error.d.ts.map +1 -0
- package/dist/commonjs/models/errors/invalid-input-error.js +86 -0
- package/dist/commonjs/models/errors/invalid-input-error.js.map +1 -0
- package/dist/commonjs/models/errors/response-validation-error.d.ts +26 -0
- package/dist/commonjs/models/errors/response-validation-error.d.ts.map +1 -0
- package/dist/commonjs/models/errors/response-validation-error.js +74 -0
- package/dist/commonjs/models/errors/response-validation-error.js.map +1 -0
- package/dist/commonjs/models/errors/sdk-validation-error.d.ts +21 -0
- package/dist/commonjs/models/errors/sdk-validation-error.d.ts.map +1 -0
- package/dist/commonjs/models/errors/sdk-validation-error.js +137 -0
- package/dist/commonjs/models/errors/sdk-validation-error.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +5 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +24 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/invalid-input-error.d.ts +24 -0
- package/dist/commonjs/models/invalid-input-error.d.ts.map +1 -0
- package/dist/commonjs/models/invalid-input-error.js +63 -0
- package/dist/commonjs/models/invalid-input-error.js.map +1 -0
- package/dist/commonjs/models/operations/actions-cancel.d.ts +104 -0
- package/dist/commonjs/models/operations/actions-cancel.d.ts.map +1 -0
- package/dist/commonjs/models/operations/actions-cancel.js +154 -0
- package/dist/commonjs/models/operations/actions-cancel.js.map +1 -0
- package/dist/commonjs/models/operations/actions-check-status.d.ts +121 -0
- package/dist/commonjs/models/operations/actions-check-status.d.ts.map +1 -0
- package/dist/commonjs/models/operations/actions-check-status.js +176 -0
- package/dist/commonjs/models/operations/actions-check-status.js.map +1 -0
- package/dist/commonjs/models/operations/actions-propose.d.ts +187 -0
- package/dist/commonjs/models/operations/actions-propose.d.ts.map +1 -0
- package/dist/commonjs/models/operations/actions-propose.js +227 -0
- package/dist/commonjs/models/operations/actions-propose.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +13 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -0
- package/dist/commonjs/models/operations/index.js +32 -0
- package/dist/commonjs/models/operations/index.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-create-session.d.ts +139 -0
- package/dist/commonjs/models/operations/sdk-create-session.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-create-session.js +205 -0
- package/dist/commonjs/models/operations/sdk-create-session.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts +220 -0
- package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-create-verification-link.js +270 -0
- package/dist/commonjs/models/operations/sdk-create-verification-link.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-get-partner-config.d.ts +126 -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 +179 -0
- package/dist/commonjs/models/operations/sdk-get-partner-config.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-logout.d.ts +74 -0
- package/dist/commonjs/models/operations/sdk-logout.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-logout.js +143 -0
- package/dist/commonjs/models/operations/sdk-logout.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-revoke-verification.d.ts +97 -0
- package/dist/commonjs/models/operations/sdk-revoke-verification.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-revoke-verification.js +161 -0
- package/dist/commonjs/models/operations/sdk-revoke-verification.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-store-signal.d.ts +93 -0
- package/dist/commonjs/models/operations/sdk-store-signal.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-store-signal.js +155 -0
- package/dist/commonjs/models/operations/sdk-store-signal.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-validate-signal.d.ts +101 -0
- package/dist/commonjs/models/operations/sdk-validate-signal.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-validate-signal.js +164 -0
- package/dist/commonjs/models/operations/sdk-validate-signal.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts +120 -0
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-verify-token.js +186 -0
- package/dist/commonjs/models/operations/sdk-verify-token.js.map +1 -0
- package/dist/commonjs/models/operations/verification-get-status.d.ts +161 -0
- package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -0
- package/dist/commonjs/models/operations/verification-get-status.js +236 -0
- package/dist/commonjs/models/operations/verification-get-status.js.map +1 -0
- package/dist/commonjs/models/security.d.ts +19 -0
- package/dist/commonjs/models/security.d.ts.map +1 -0
- package/dist/commonjs/models/security.js +61 -0
- package/dist/commonjs/models/security.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/sdk/actions.d.ts +26 -0
- package/dist/commonjs/sdk/actions.d.ts.map +1 -0
- package/dist/commonjs/sdk/actions.js +42 -0
- package/dist/commonjs/sdk/actions.js.map +1 -0
- package/dist/commonjs/sdk/census.d.ts +58 -0
- package/dist/commonjs/sdk/census.d.ts.map +1 -0
- package/dist/commonjs/sdk/census.js +89 -0
- package/dist/commonjs/sdk/census.js.map +1 -0
- package/dist/commonjs/sdk/index.d.ts +2 -0
- package/dist/commonjs/sdk/index.d.ts.map +1 -0
- package/dist/commonjs/sdk/index.js +21 -0
- package/dist/commonjs/sdk/index.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +13 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -0
- package/dist/commonjs/sdk/sdk.js +26 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -0
- package/dist/commonjs/sdk/verification.d.ts +12 -0
- package/dist/commonjs/sdk/verification.d.ts.map +1 -0
- package/dist/commonjs/sdk/verification.js +22 -0
- package/dist/commonjs/sdk/verification.js.map +1 -0
- package/dist/commonjs/types/async.d.ts +23 -0
- package/dist/commonjs/types/async.d.ts.map +1 -0
- package/dist/commonjs/types/async.js +32 -0
- package/dist/commonjs/types/async.js.map +1 -0
- package/dist/commonjs/types/blobs.d.ts +4 -0
- package/dist/commonjs/types/blobs.d.ts.map +1 -0
- package/dist/commonjs/types/blobs.js +62 -0
- package/dist/commonjs/types/blobs.js.map +1 -0
- package/dist/commonjs/types/const-date-time.d.ts +3 -0
- package/dist/commonjs/types/const-date-time.d.ts.map +1 -0
- package/dist/commonjs/types/const-date-time.js +46 -0
- package/dist/commonjs/types/const-date-time.js.map +1 -0
- package/dist/commonjs/types/default-to-zero-value.d.ts +12 -0
- package/dist/commonjs/types/default-to-zero-value.d.ts.map +1 -0
- package/dist/commonjs/types/default-to-zero-value.js +35 -0
- package/dist/commonjs/types/default-to-zero-value.js.map +1 -0
- package/dist/commonjs/types/enums.d.ts +9 -0
- package/dist/commonjs/types/enums.d.ts.map +1 -0
- package/dist/commonjs/types/enums.js +66 -0
- package/dist/commonjs/types/enums.js.map +1 -0
- package/dist/commonjs/types/fp.d.ts +31 -0
- package/dist/commonjs/types/fp.d.ts.map +1 -0
- package/dist/commonjs/types/fp.js +37 -0
- package/dist/commonjs/types/fp.js.map +1 -0
- package/dist/commonjs/types/index.d.ts +10 -0
- package/dist/commonjs/types/index.d.ts.map +1 -0
- package/dist/commonjs/types/index.js +31 -0
- package/dist/commonjs/types/index.js.map +1 -0
- package/dist/commonjs/types/operations.d.ts +27 -0
- package/dist/commonjs/types/operations.d.ts.map +1 -0
- package/dist/commonjs/types/operations.js +83 -0
- package/dist/commonjs/types/operations.js.map +1 -0
- package/dist/commonjs/types/primitives.d.ts +9 -0
- package/dist/commonjs/types/primitives.d.ts.map +1 -0
- package/dist/commonjs/types/primitives.js +147 -0
- package/dist/commonjs/types/primitives.js.map +1 -0
- package/dist/commonjs/types/rfcdate.d.ts +21 -0
- package/dist/commonjs/types/rfcdate.d.ts.map +1 -0
- package/dist/commonjs/types/rfcdate.js +47 -0
- package/dist/commonjs/types/rfcdate.js.map +1 -0
- package/dist/commonjs/types/smart-union.d.ts +7 -0
- package/dist/commonjs/types/smart-union.d.ts.map +1 -0
- package/dist/commonjs/types/smart-union.js +152 -0
- package/dist/commonjs/types/smart-union.js.map +1 -0
- package/dist/commonjs/types/streams.d.ts +2 -0
- package/dist/commonjs/types/streams.d.ts.map +1 -0
- package/dist/commonjs/types/streams.js +18 -0
- package/dist/commonjs/types/streams.js.map +1 -0
- package/dist/commonjs/types/unrecognized.d.ts +16 -0
- package/dist/commonjs/types/unrecognized.d.ts.map +1 -0
- package/dist/commonjs/types/unrecognized.js +34 -0
- package/dist/commonjs/types/unrecognized.js.map +1 -0
- package/dist/esm/core.d.ts +10 -0
- package/dist/esm/core.d.ts.map +1 -0
- package/dist/esm/core.js +13 -0
- package/dist/esm/core.js.map +1 -0
- package/dist/esm/funcs/actions-cancel-action.d.ts +18 -0
- package/dist/esm/funcs/actions-cancel-action.d.ts.map +1 -0
- package/dist/esm/funcs/actions-cancel-action.js +82 -0
- package/dist/esm/funcs/actions-cancel-action.js.map +1 -0
- package/dist/esm/funcs/actions-check-action-status.d.ts +18 -0
- package/dist/esm/funcs/actions-check-action-status.d.ts.map +1 -0
- package/dist/esm/funcs/actions-check-action-status.js +86 -0
- package/dist/esm/funcs/actions-check-action-status.js.map +1 -0
- package/dist/esm/funcs/actions-propose-action.d.ts +18 -0
- package/dist/esm/funcs/actions-propose-action.d.ts.map +1 -0
- package/dist/esm/funcs/actions-propose-action.js +82 -0
- package/dist/esm/funcs/actions-propose-action.js.map +1 -0
- package/dist/esm/funcs/census-create-session.d.ts +18 -0
- package/dist/esm/funcs/census-create-session.d.ts.map +1 -0
- package/dist/esm/funcs/census-create-session.js +87 -0
- package/dist/esm/funcs/census-create-session.js.map +1 -0
- package/dist/esm/funcs/census-create-verification-link.d.ts +18 -0
- package/dist/esm/funcs/census-create-verification-link.d.ts.map +1 -0
- package/dist/esm/funcs/census-create-verification-link.js +87 -0
- package/dist/esm/funcs/census-create-verification-link.js.map +1 -0
- 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 +96 -0
- package/dist/esm/funcs/census-get-partner-config.js.map +1 -0
- package/dist/esm/funcs/census-logout.d.ts +15 -0
- package/dist/esm/funcs/census-logout.d.ts.map +1 -0
- package/dist/esm/funcs/census-logout.js +84 -0
- package/dist/esm/funcs/census-logout.js.map +1 -0
- package/dist/esm/funcs/census-revoke-verification.d.ts +18 -0
- package/dist/esm/funcs/census-revoke-verification.d.ts.map +1 -0
- package/dist/esm/funcs/census-revoke-verification.js +87 -0
- package/dist/esm/funcs/census-revoke-verification.js.map +1 -0
- package/dist/esm/funcs/census-store-signal.d.ts +18 -0
- package/dist/esm/funcs/census-store-signal.d.ts.map +1 -0
- package/dist/esm/funcs/census-store-signal.js +78 -0
- package/dist/esm/funcs/census-store-signal.js.map +1 -0
- package/dist/esm/funcs/census-validate-signal.d.ts +18 -0
- package/dist/esm/funcs/census-validate-signal.d.ts.map +1 -0
- package/dist/esm/funcs/census-validate-signal.js +78 -0
- package/dist/esm/funcs/census-validate-signal.js.map +1 -0
- package/dist/esm/funcs/census-verify-token.d.ts +18 -0
- package/dist/esm/funcs/census-verify-token.d.ts.map +1 -0
- package/dist/esm/funcs/census-verify-token.js +93 -0
- package/dist/esm/funcs/census-verify-token.js.map +1 -0
- package/dist/esm/funcs/verification-get-status.d.ts +18 -0
- package/dist/esm/funcs/verification-get-status.d.ts.map +1 -0
- package/dist/esm/funcs/verification-get-status.js +96 -0
- package/dist/esm/funcs/verification-get-status.js.map +1 -0
- package/dist/esm/hooks/hooks.d.ts +25 -0
- package/dist/esm/hooks/hooks.d.ts.map +1 -0
- package/dist/esm/hooks/hooks.js +80 -0
- package/dist/esm/hooks/hooks.js.map +1 -0
- package/dist/esm/hooks/index.d.ts +3 -0
- package/dist/esm/hooks/index.d.ts.map +1 -0
- package/dist/esm/hooks/index.js +6 -0
- package/dist/esm/hooks/index.js.map +1 -0
- package/dist/esm/hooks/types.d.ts +77 -0
- package/dist/esm/hooks/types.d.ts.map +1 -0
- package/dist/esm/hooks/types.js +5 -0
- package/dist/esm/hooks/types.js.map +1 -0
- package/dist/esm/index.d.ts +6 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lib/base64.d.ts +10 -0
- package/dist/esm/lib/base64.d.ts.map +1 -0
- package/dist/esm/lib/base64.js +29 -0
- package/dist/esm/lib/base64.js.map +1 -0
- package/dist/esm/lib/config.d.ts +42 -0
- package/dist/esm/lib/config.d.ts.map +1 -0
- package/dist/esm/lib/config.js +38 -0
- package/dist/esm/lib/config.js.map +1 -0
- package/dist/esm/lib/encodings.d.ts +55 -0
- package/dist/esm/lib/encodings.d.ts.map +1 -0
- package/dist/esm/lib/encodings.js +407 -0
- package/dist/esm/lib/encodings.js.map +1 -0
- package/dist/esm/lib/files.d.ts +26 -0
- package/dist/esm/lib/files.d.ts.map +1 -0
- package/dist/esm/lib/files.js +91 -0
- package/dist/esm/lib/files.js.map +1 -0
- package/dist/esm/lib/http.d.ts +67 -0
- package/dist/esm/lib/http.d.ts.map +1 -0
- package/dist/esm/lib/http.js +209 -0
- package/dist/esm/lib/http.js.map +1 -0
- package/dist/esm/lib/logger.d.ts +6 -0
- package/dist/esm/lib/logger.d.ts.map +1 -0
- package/dist/esm/lib/logger.js +5 -0
- package/dist/esm/lib/logger.js.map +1 -0
- package/dist/esm/lib/matchers.d.ts +59 -0
- package/dist/esm/lib/matchers.d.ts.map +1 -0
- package/dist/esm/lib/matchers.js +202 -0
- package/dist/esm/lib/matchers.js.map +1 -0
- package/dist/esm/lib/primitives.d.ts +27 -0
- package/dist/esm/lib/primitives.d.ts.map +1 -0
- package/dist/esm/lib/primitives.js +120 -0
- package/dist/esm/lib/primitives.js.map +1 -0
- package/dist/esm/lib/retries.d.ts +38 -0
- package/dist/esm/lib/retries.d.ts.map +1 -0
- package/dist/esm/lib/retries.js +157 -0
- package/dist/esm/lib/retries.js.map +1 -0
- package/dist/esm/lib/schemas.d.ts +19 -0
- package/dist/esm/lib/schemas.d.ts.map +1 -0
- package/dist/esm/lib/schemas.js +57 -0
- package/dist/esm/lib/schemas.js.map +1 -0
- package/dist/esm/lib/sdks.d.ts +63 -0
- package/dist/esm/lib/sdks.d.ts.map +1 -0
- package/dist/esm/lib/sdks.js +290 -0
- package/dist/esm/lib/sdks.js.map +1 -0
- package/dist/esm/lib/security.d.ts +84 -0
- package/dist/esm/lib/security.d.ts.map +1 -0
- package/dist/esm/lib/security.js +153 -0
- package/dist/esm/lib/security.js.map +1 -0
- package/dist/esm/lib/url.d.ts +5 -0
- package/dist/esm/lib/url.d.ts.map +1 -0
- package/dist/esm/lib/url.js +24 -0
- package/dist/esm/lib/url.js.map +1 -0
- package/dist/esm/mcp-server/build.d.mts.map +1 -0
- package/dist/esm/mcp-server/build.mjs +14 -0
- package/dist/esm/mcp-server/build.mjs.map +1 -0
- package/dist/esm/mcp-server/cli/start/command.d.ts +2 -0
- package/dist/esm/mcp-server/cli/start/command.d.ts.map +1 -0
- package/dist/esm/mcp-server/cli/start/command.js +105 -0
- package/dist/esm/mcp-server/cli/start/command.js.map +1 -0
- package/dist/esm/mcp-server/cli/start/impl.d.ts +19 -0
- package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -0
- package/dist/esm/mcp-server/cli/start/impl.js +104 -0
- package/dist/esm/mcp-server/cli/start/impl.js.map +1 -0
- package/dist/esm/mcp-server/cli.d.ts +6 -0
- package/dist/esm/mcp-server/cli.d.ts.map +1 -0
- package/dist/esm/mcp-server/cli.js +7 -0
- package/dist/esm/mcp-server/cli.js.map +1 -0
- package/dist/esm/mcp-server/console-logger.d.ts +7 -0
- package/dist/esm/mcp-server/console-logger.d.ts.map +1 -0
- package/dist/esm/mcp-server/console-logger.js +55 -0
- package/dist/esm/mcp-server/console-logger.js.map +1 -0
- package/dist/esm/mcp-server/extensions.d.ts +11 -0
- package/dist/esm/mcp-server/extensions.d.ts.map +1 -0
- package/dist/esm/mcp-server/extensions.js +5 -0
- package/dist/esm/mcp-server/extensions.js.map +1 -0
- package/dist/esm/mcp-server/mcp-server.d.ts +2 -0
- package/dist/esm/mcp-server/mcp-server.d.ts.map +1 -0
- package/dist/esm/mcp-server/mcp-server.js +23 -0
- package/dist/esm/mcp-server/mcp-server.js.map +1 -0
- package/dist/esm/mcp-server/prompts.d.ts +26 -0
- package/dist/esm/mcp-server/prompts.d.ts.map +1 -0
- package/dist/esm/mcp-server/prompts.js +47 -0
- package/dist/esm/mcp-server/prompts.js.map +1 -0
- package/dist/esm/mcp-server/resources.d.ts +32 -0
- package/dist/esm/mcp-server/resources.d.ts.map +1 -0
- package/dist/esm/mcp-server/resources.js +82 -0
- package/dist/esm/mcp-server/resources.js.map +1 -0
- package/dist/esm/mcp-server/scopes.d.ts +3 -0
- package/dist/esm/mcp-server/scopes.d.ts.map +1 -0
- package/dist/esm/mcp-server/scopes.js +7 -0
- package/dist/esm/mcp-server/scopes.js.map +1 -0
- package/dist/esm/mcp-server/server.d.ts +13 -0
- package/dist/esm/mcp-server/server.d.ts.map +1 -0
- package/dist/esm/mcp-server/server.js +35 -0
- package/dist/esm/mcp-server/server.js.map +1 -0
- package/dist/esm/mcp-server/shared.d.ts +7 -0
- package/dist/esm/mcp-server/shared.d.ts.map +1 -0
- package/dist/esm/mcp-server/shared.js +59 -0
- package/dist/esm/mcp-server/shared.js.map +1 -0
- package/dist/esm/mcp-server/tools/actions-cancel-action.d.ts +8 -0
- package/dist/esm/mcp-server/tools/actions-cancel-action.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/actions-cancel-action.js +27 -0
- package/dist/esm/mcp-server/tools/actions-cancel-action.js.map +1 -0
- package/dist/esm/mcp-server/tools/actions-check-action-status.d.ts +8 -0
- package/dist/esm/mcp-server/tools/actions-check-action-status.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/actions-check-action-status.js +27 -0
- package/dist/esm/mcp-server/tools/actions-check-action-status.js.map +1 -0
- package/dist/esm/mcp-server/tools/actions-propose-action.d.ts +8 -0
- package/dist/esm/mcp-server/tools/actions-propose-action.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/actions-propose-action.js +27 -0
- package/dist/esm/mcp-server/tools/actions-propose-action.js.map +1 -0
- package/dist/esm/mcp-server/tools.d.ts +25 -0
- package/dist/esm/mcp-server/tools.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools.js +78 -0
- package/dist/esm/mcp-server/tools.js.map +1 -0
- package/dist/esm/models/error-body.d.ts +56 -0
- package/dist/esm/models/error-body.d.ts.map +1 -0
- package/dist/esm/models/error-body.js +60 -0
- package/dist/esm/models/error-body.js.map +1 -0
- package/dist/esm/models/error-response.d.ts +19 -0
- package/dist/esm/models/error-response.d.ts.map +1 -0
- package/dist/esm/models/error-response.js +23 -0
- package/dist/esm/models/error-response.js.map +1 -0
- package/dist/esm/models/errors/bot-shield-default-error.d.ts +10 -0
- package/dist/esm/models/errors/bot-shield-default-error.d.ts.map +1 -0
- package/dist/esm/models/errors/bot-shield-default-error.js +30 -0
- package/dist/esm/models/errors/bot-shield-default-error.js.map +1 -0
- package/dist/esm/models/errors/bot-shield-error.d.ts +19 -0
- package/dist/esm/models/errors/bot-shield-error.d.ts.map +1 -0
- package/dist/esm/models/errors/bot-shield-error.js +26 -0
- package/dist/esm/models/errors/bot-shield-error.js.map +1 -0
- package/dist/esm/models/errors/error-response.d.ts +31 -0
- package/dist/esm/models/errors/error-response.d.ts.map +1 -0
- package/dist/esm/models/errors/error-response.js +43 -0
- package/dist/esm/models/errors/error-response.js.map +1 -0
- package/dist/esm/models/errors/http-client-errors.d.ts +44 -0
- package/dist/esm/models/errors/http-client-errors.d.ts.map +1 -0
- package/dist/esm/models/errors/http-client-errors.js +56 -0
- package/dist/esm/models/errors/http-client-errors.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +8 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -0
- package/dist/esm/models/errors/index.js +11 -0
- package/dist/esm/models/errors/index.js.map +1 -0
- package/dist/esm/models/errors/invalid-input-error.d.ts +42 -0
- package/dist/esm/models/errors/invalid-input-error.d.ts.map +1 -0
- package/dist/esm/models/errors/invalid-input-error.js +49 -0
- package/dist/esm/models/errors/invalid-input-error.js.map +1 -0
- package/dist/esm/models/errors/response-validation-error.d.ts +26 -0
- package/dist/esm/models/errors/response-validation-error.d.ts.map +1 -0
- package/dist/esm/models/errors/response-validation-error.js +37 -0
- package/dist/esm/models/errors/response-validation-error.js.map +1 -0
- package/dist/esm/models/errors/sdk-validation-error.d.ts +21 -0
- package/dist/esm/models/errors/sdk-validation-error.d.ts.map +1 -0
- package/dist/esm/models/errors/sdk-validation-error.js +99 -0
- package/dist/esm/models/errors/sdk-validation-error.js.map +1 -0
- package/dist/esm/models/index.d.ts +5 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/invalid-input-error.d.ts +24 -0
- package/dist/esm/models/invalid-input-error.d.ts.map +1 -0
- package/dist/esm/models/invalid-input-error.js +25 -0
- package/dist/esm/models/invalid-input-error.js.map +1 -0
- package/dist/esm/models/operations/actions-cancel.d.ts +104 -0
- package/dist/esm/models/operations/actions-cancel.d.ts.map +1 -0
- package/dist/esm/models/operations/actions-cancel.js +110 -0
- package/dist/esm/models/operations/actions-cancel.js.map +1 -0
- package/dist/esm/models/operations/actions-check-status.d.ts +121 -0
- package/dist/esm/models/operations/actions-check-status.d.ts.map +1 -0
- package/dist/esm/models/operations/actions-check-status.js +132 -0
- package/dist/esm/models/operations/actions-check-status.js.map +1 -0
- package/dist/esm/models/operations/actions-propose.d.ts +187 -0
- package/dist/esm/models/operations/actions-propose.d.ts.map +1 -0
- package/dist/esm/models/operations/actions-propose.js +179 -0
- package/dist/esm/models/operations/actions-propose.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +13 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -0
- package/dist/esm/models/operations/index.js +16 -0
- package/dist/esm/models/operations/index.js.map +1 -0
- package/dist/esm/models/operations/sdk-create-session.d.ts +139 -0
- package/dist/esm/models/operations/sdk-create-session.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-create-session.js +157 -0
- package/dist/esm/models/operations/sdk-create-session.js.map +1 -0
- package/dist/esm/models/operations/sdk-create-verification-link.d.ts +220 -0
- package/dist/esm/models/operations/sdk-create-verification-link.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-create-verification-link.js +222 -0
- package/dist/esm/models/operations/sdk-create-verification-link.js.map +1 -0
- package/dist/esm/models/operations/sdk-get-partner-config.d.ts +126 -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 +131 -0
- package/dist/esm/models/operations/sdk-get-partner-config.js.map +1 -0
- package/dist/esm/models/operations/sdk-logout.d.ts +74 -0
- package/dist/esm/models/operations/sdk-logout.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-logout.js +99 -0
- package/dist/esm/models/operations/sdk-logout.js.map +1 -0
- package/dist/esm/models/operations/sdk-revoke-verification.d.ts +97 -0
- package/dist/esm/models/operations/sdk-revoke-verification.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-revoke-verification.js +115 -0
- package/dist/esm/models/operations/sdk-revoke-verification.js.map +1 -0
- package/dist/esm/models/operations/sdk-store-signal.d.ts +93 -0
- package/dist/esm/models/operations/sdk-store-signal.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-store-signal.js +111 -0
- package/dist/esm/models/operations/sdk-store-signal.js.map +1 -0
- package/dist/esm/models/operations/sdk-validate-signal.d.ts +101 -0
- package/dist/esm/models/operations/sdk-validate-signal.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-validate-signal.js +120 -0
- package/dist/esm/models/operations/sdk-validate-signal.js.map +1 -0
- package/dist/esm/models/operations/sdk-verify-token.d.ts +120 -0
- package/dist/esm/models/operations/sdk-verify-token.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-verify-token.js +138 -0
- package/dist/esm/models/operations/sdk-verify-token.js.map +1 -0
- package/dist/esm/models/operations/verification-get-status.d.ts +161 -0
- package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -0
- package/dist/esm/models/operations/verification-get-status.js +190 -0
- package/dist/esm/models/operations/verification-get-status.js.map +1 -0
- package/dist/esm/models/security.d.ts +19 -0
- package/dist/esm/models/security.d.ts.map +1 -0
- package/dist/esm/models/security.js +23 -0
- package/dist/esm/models/security.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/sdk/actions.d.ts +26 -0
- package/dist/esm/sdk/actions.d.ts.map +1 -0
- package/dist/esm/sdk/actions.js +38 -0
- package/dist/esm/sdk/actions.js.map +1 -0
- package/dist/esm/sdk/census.d.ts +58 -0
- package/dist/esm/sdk/census.d.ts.map +1 -0
- package/dist/esm/sdk/census.js +85 -0
- package/dist/esm/sdk/census.js.map +1 -0
- package/dist/esm/sdk/index.d.ts +2 -0
- package/dist/esm/sdk/index.d.ts.map +1 -0
- package/dist/esm/sdk/index.js +5 -0
- package/dist/esm/sdk/index.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +13 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -0
- package/dist/esm/sdk/sdk.js +22 -0
- package/dist/esm/sdk/sdk.js.map +1 -0
- package/dist/esm/sdk/verification.d.ts +12 -0
- package/dist/esm/sdk/verification.d.ts.map +1 -0
- package/dist/esm/sdk/verification.js +18 -0
- package/dist/esm/sdk/verification.js.map +1 -0
- package/dist/esm/types/async.d.ts +23 -0
- package/dist/esm/types/async.d.ts.map +1 -0
- package/dist/esm/types/async.js +28 -0
- package/dist/esm/types/async.js.map +1 -0
- package/dist/esm/types/blobs.d.ts +4 -0
- package/dist/esm/types/blobs.d.ts.map +1 -0
- package/dist/esm/types/blobs.js +25 -0
- package/dist/esm/types/blobs.js.map +1 -0
- package/dist/esm/types/const-date-time.d.ts +3 -0
- package/dist/esm/types/const-date-time.d.ts.map +1 -0
- package/dist/esm/types/const-date-time.js +10 -0
- package/dist/esm/types/const-date-time.js.map +1 -0
- package/dist/esm/types/default-to-zero-value.d.ts +12 -0
- package/dist/esm/types/default-to-zero-value.d.ts.map +1 -0
- package/dist/esm/types/default-to-zero-value.js +31 -0
- package/dist/esm/types/default-to-zero-value.js.map +1 -0
- package/dist/esm/types/enums.d.ts +9 -0
- package/dist/esm/types/enums.d.ts.map +1 -0
- package/dist/esm/types/enums.js +27 -0
- package/dist/esm/types/enums.js.map +1 -0
- package/dist/esm/types/fp.d.ts +31 -0
- package/dist/esm/types/fp.d.ts.map +1 -0
- package/dist/esm/types/fp.js +31 -0
- package/dist/esm/types/fp.js.map +1 -0
- package/dist/esm/types/index.d.ts +10 -0
- package/dist/esm/types/index.d.ts.map +1 -0
- package/dist/esm/types/index.js +10 -0
- package/dist/esm/types/index.js.map +1 -0
- package/dist/esm/types/operations.d.ts +27 -0
- package/dist/esm/types/operations.d.ts.map +1 -0
- package/dist/esm/types/operations.js +77 -0
- package/dist/esm/types/operations.js.map +1 -0
- package/dist/esm/types/primitives.d.ts +9 -0
- package/dist/esm/types/primitives.d.ts.map +1 -0
- package/dist/esm/types/primitives.js +105 -0
- package/dist/esm/types/primitives.js.map +1 -0
- package/dist/esm/types/rfcdate.d.ts +21 -0
- package/dist/esm/types/rfcdate.d.ts.map +1 -0
- package/dist/esm/types/rfcdate.js +43 -0
- package/dist/esm/types/rfcdate.js.map +1 -0
- package/dist/esm/types/smart-union.d.ts +7 -0
- package/dist/esm/types/smart-union.d.ts.map +1 -0
- package/dist/esm/types/smart-union.js +116 -0
- package/dist/esm/types/smart-union.js.map +1 -0
- package/dist/esm/types/streams.d.ts +2 -0
- package/dist/esm/types/streams.d.ts.map +1 -0
- package/dist/esm/types/streams.js +15 -0
- package/dist/esm/types/streams.js.map +1 -0
- package/dist/esm/types/unrecognized.d.ts +16 -0
- package/dist/esm/types/unrecognized.d.ts.map +1 -0
- package/dist/esm/types/unrecognized.js +31 -0
- package/dist/esm/types/unrecognized.js.map +1 -0
- package/examples/censusCreateSession.example.ts +26 -0
- package/jsr.json +27 -0
- package/package.json +124 -132
- package/src/core.ts +13 -0
- package/src/funcs/actions-cancel-action.ts +174 -0
- package/src/funcs/actions-check-action-status.ts +179 -0
- package/src/funcs/actions-propose-action.ts +174 -0
- package/src/funcs/census-create-session.ts +184 -0
- package/src/funcs/census-create-verification-link.ts +185 -0
- package/src/funcs/census-get-partner-config.ts +196 -0
- package/src/funcs/census-logout.ts +181 -0
- package/src/funcs/census-revoke-verification.ts +185 -0
- package/src/funcs/census-store-signal.ts +169 -0
- package/src/funcs/census-validate-signal.ts +169 -0
- package/src/funcs/census-verify-token.ts +191 -0
- package/src/funcs/verification-get-status.ts +196 -0
- package/src/hooks/hooks.ts +129 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/types.ts +108 -0
- package/src/index.ts +8 -21
- package/src/lib/base64.ts +37 -0
- package/src/lib/config.ts +75 -0
- package/src/lib/encodings.ts +564 -0
- package/src/lib/files.ts +104 -0
- package/src/lib/http.ts +325 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +353 -0
- package/src/lib/primitives.ts +166 -0
- package/src/lib/retries.ts +226 -0
- package/src/lib/schemas.ts +91 -0
- package/src/lib/sdks.ts +438 -0
- package/src/lib/security.ts +286 -0
- package/src/lib/url.ts +35 -0
- package/src/mcp-server/cli/start/command.ts +109 -0
- package/src/mcp-server/cli/start/impl.ts +141 -0
- package/src/mcp-server/cli.ts +13 -0
- package/src/mcp-server/console-logger.ts +71 -0
- package/src/mcp-server/extensions.ts +17 -0
- package/src/mcp-server/mcp-server.ts +26 -0
- package/src/mcp-server/prompts.ts +121 -0
- package/src/mcp-server/resources.ts +176 -0
- package/src/mcp-server/scopes.ts +9 -0
- package/src/mcp-server/server.ts +65 -0
- package/src/mcp-server/shared.ts +74 -0
- package/src/mcp-server/tools/actions-cancel-action.ts +37 -0
- package/src/mcp-server/tools/actions-check-action-status.ts +37 -0
- package/src/mcp-server/tools/actions-propose-action.ts +37 -0
- package/src/mcp-server/tools.ts +133 -0
- package/src/models/error-body.ts +138 -0
- package/src/models/error-response.ts +56 -0
- package/src/models/errors/bot-shield-default-error.ts +40 -0
- package/src/models/errors/bot-shield-error.ts +35 -0
- package/src/models/errors/error-response.ts +72 -0
- package/src/models/errors/http-client-errors.ts +62 -0
- package/src/models/errors/index.ts +11 -0
- package/src/models/errors/invalid-input-error.ts +82 -0
- package/src/models/errors/response-validation-error.ts +50 -0
- package/src/models/errors/sdk-validation-error.ts +109 -0
- package/src/models/index.ts +8 -0
- package/src/models/invalid-input-error.ts +63 -0
- package/src/models/operations/actions-cancel.ts +271 -0
- package/src/models/operations/actions-check-status.ts +308 -0
- package/src/models/operations/actions-propose.ts +439 -0
- package/src/models/operations/index.ts +16 -0
- package/src/models/operations/sdk-create-session.ts +388 -0
- package/src/models/operations/sdk-create-verification-link.ts +550 -0
- package/src/models/operations/sdk-get-partner-config.ts +345 -0
- package/src/models/operations/sdk-logout.ts +230 -0
- package/src/models/operations/sdk-revoke-verification.ts +299 -0
- package/src/models/operations/sdk-store-signal.ts +261 -0
- package/src/models/operations/sdk-validate-signal.ts +274 -0
- package/src/models/operations/sdk-verify-token.ts +343 -0
- package/src/models/operations/verification-get-status.ts +430 -0
- package/src/models/security.ts +52 -0
- package/src/sdk/actions.ts +63 -0
- package/src/sdk/census.ts +162 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/sdk.ts +25 -0
- package/src/sdk/verification.ts +29 -0
- package/src/types/async.ts +69 -0
- package/src/types/blobs.ts +32 -0
- package/src/types/const-date-time.ts +15 -0
- package/src/types/default-to-zero-value.ts +33 -0
- package/src/types/enums.ts +45 -0
- package/src/types/fp.ts +50 -0
- package/src/types/index.ts +13 -0
- package/src/types/operations.ts +105 -0
- package/src/types/primitives.ts +122 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/smart-union.ts +153 -0
- package/src/types/streams.ts +21 -0
- package/src/types/unrecognized.ts +35 -0
- package/CHANGELOG.md +0 -270
- package/LICENSE +0 -201
- package/api-promise.d.mts +0 -3
- package/api-promise.d.mts.map +0 -1
- package/api-promise.d.ts +0 -3
- package/api-promise.d.ts.map +0 -1
- package/api-promise.js +0 -6
- package/api-promise.js.map +0 -1
- package/api-promise.mjs +0 -3
- package/api-promise.mjs.map +0 -1
- package/client.d.mts +0 -218
- package/client.d.mts.map +0 -1
- package/client.d.ts +0 -218
- package/client.d.ts.map +0 -1
- package/client.js +0 -534
- package/client.js.map +0 -1
- package/client.mjs +0 -530
- package/client.mjs.map +0 -1
- package/core/api-promise.d.mts +0 -46
- package/core/api-promise.d.mts.map +0 -1
- package/core/api-promise.d.ts +0 -46
- package/core/api-promise.d.ts.map +0 -1
- package/core/api-promise.js +0 -74
- package/core/api-promise.js.map +0 -1
- package/core/api-promise.mjs +0 -70
- package/core/api-promise.mjs.map +0 -1
- package/core/error.d.mts +0 -46
- package/core/error.d.mts.map +0 -1
- package/core/error.d.ts +0 -46
- package/core/error.d.ts.map +0 -1
- package/core/error.js +0 -113
- package/core/error.js.map +0 -1
- package/core/error.mjs +0 -97
- package/core/error.mjs.map +0 -1
- package/core/resource.d.mts +0 -6
- package/core/resource.d.mts.map +0 -1
- package/core/resource.d.ts +0 -6
- package/core/resource.d.ts.map +0 -1
- package/core/resource.js +0 -11
- package/core/resource.js.map +0 -1
- package/core/resource.mjs +0 -7
- package/core/resource.mjs.map +0 -1
- package/core/uploads.d.mts +0 -3
- package/core/uploads.d.mts.map +0 -1
- package/core/uploads.d.ts +0 -3
- package/core/uploads.d.ts.map +0 -1
- package/core/uploads.js +0 -6
- package/core/uploads.js.map +0 -1
- package/core/uploads.mjs +0 -2
- package/core/uploads.mjs.map +0 -1
- package/error.d.mts +0 -3
- package/error.d.mts.map +0 -1
- package/error.d.ts +0 -3
- package/error.d.ts.map +0 -1
- package/error.js +0 -6
- package/error.js.map +0 -1
- package/error.mjs +0 -3
- package/error.mjs.map +0 -1
- package/index.d.mts +0 -6
- package/index.d.mts.map +0 -1
- package/index.d.ts +0 -6
- package/index.d.ts.map +0 -1
- package/index.js +0 -30
- package/index.js.map +0 -1
- package/index.mjs +0 -7
- package/index.mjs.map +0 -1
- package/internal/builtin-types.d.mts +0 -73
- package/internal/builtin-types.d.mts.map +0 -1
- package/internal/builtin-types.d.ts +0 -73
- package/internal/builtin-types.d.ts.map +0 -1
- package/internal/builtin-types.js +0 -4
- package/internal/builtin-types.js.map +0 -1
- package/internal/builtin-types.mjs +0 -3
- package/internal/builtin-types.mjs.map +0 -1
- package/internal/detect-platform.d.mts +0 -15
- package/internal/detect-platform.d.mts.map +0 -1
- package/internal/detect-platform.d.ts +0 -15
- package/internal/detect-platform.d.ts.map +0 -1
- package/internal/detect-platform.js +0 -162
- package/internal/detect-platform.js.map +0 -1
- package/internal/detect-platform.mjs +0 -157
- package/internal/detect-platform.mjs.map +0 -1
- package/internal/errors.d.mts +0 -3
- package/internal/errors.d.mts.map +0 -1
- package/internal/errors.d.ts +0 -3
- package/internal/errors.d.ts.map +0 -1
- package/internal/errors.js +0 -41
- package/internal/errors.js.map +0 -1
- package/internal/errors.mjs +0 -36
- package/internal/errors.mjs.map +0 -1
- package/internal/headers.d.mts +0 -20
- package/internal/headers.d.mts.map +0 -1
- package/internal/headers.d.ts +0 -20
- package/internal/headers.d.ts.map +0 -1
- package/internal/headers.js +0 -79
- package/internal/headers.js.map +0 -1
- package/internal/headers.mjs +0 -74
- package/internal/headers.mjs.map +0 -1
- package/internal/parse.d.mts +0 -12
- package/internal/parse.d.mts.map +0 -1
- package/internal/parse.d.ts +0 -12
- package/internal/parse.d.ts.map +0 -1
- package/internal/parse.js +0 -40
- package/internal/parse.js.map +0 -1
- package/internal/parse.mjs +0 -37
- package/internal/parse.mjs.map +0 -1
- package/internal/request-options.d.mts +0 -75
- package/internal/request-options.d.mts.map +0 -1
- package/internal/request-options.d.ts +0 -75
- package/internal/request-options.d.ts.map +0 -1
- package/internal/request-options.js +0 -14
- package/internal/request-options.js.map +0 -1
- package/internal/request-options.mjs +0 -10
- package/internal/request-options.mjs.map +0 -1
- package/internal/shim-types.d.mts +0 -17
- package/internal/shim-types.d.mts.map +0 -1
- package/internal/shim-types.d.ts +0 -17
- package/internal/shim-types.d.ts.map +0 -1
- package/internal/shim-types.js +0 -4
- package/internal/shim-types.js.map +0 -1
- package/internal/shim-types.mjs +0 -3
- package/internal/shim-types.mjs.map +0 -1
- package/internal/shims.d.mts +0 -26
- package/internal/shims.d.mts.map +0 -1
- package/internal/shims.d.ts +0 -26
- package/internal/shims.d.ts.map +0 -1
- package/internal/shims.js +0 -92
- package/internal/shims.js.map +0 -1
- package/internal/shims.mjs +0 -85
- package/internal/shims.mjs.map +0 -1
- package/internal/to-file.d.mts +0 -45
- package/internal/to-file.d.mts.map +0 -1
- package/internal/to-file.d.ts +0 -45
- package/internal/to-file.d.ts.map +0 -1
- package/internal/to-file.js +0 -91
- package/internal/to-file.js.map +0 -1
- package/internal/to-file.mjs +0 -88
- package/internal/to-file.mjs.map +0 -1
- package/internal/tslib.js +0 -81
- package/internal/tslib.mjs +0 -17
- package/internal/types.d.mts +0 -69
- package/internal/types.d.mts.map +0 -1
- package/internal/types.d.ts +0 -69
- package/internal/types.d.ts.map +0 -1
- package/internal/types.js +0 -4
- package/internal/types.js.map +0 -1
- package/internal/types.mjs +0 -3
- package/internal/types.mjs.map +0 -1
- package/internal/uploads.d.mts +0 -42
- package/internal/uploads.d.mts.map +0 -1
- package/internal/uploads.d.ts +0 -42
- package/internal/uploads.d.ts.map +0 -1
- package/internal/uploads.js +0 -141
- package/internal/uploads.js.map +0 -1
- package/internal/uploads.mjs +0 -131
- package/internal/uploads.mjs.map +0 -1
- package/internal/utils/base64.d.mts +0 -3
- package/internal/utils/base64.d.mts.map +0 -1
- package/internal/utils/base64.d.ts +0 -3
- package/internal/utils/base64.d.ts.map +0 -1
- package/internal/utils/base64.js +0 -38
- package/internal/utils/base64.js.map +0 -1
- package/internal/utils/base64.mjs +0 -33
- package/internal/utils/base64.mjs.map +0 -1
- package/internal/utils/bytes.d.mts +0 -4
- package/internal/utils/bytes.d.mts.map +0 -1
- package/internal/utils/bytes.d.ts +0 -4
- package/internal/utils/bytes.d.ts.map +0 -1
- package/internal/utils/bytes.js +0 -31
- package/internal/utils/bytes.js.map +0 -1
- package/internal/utils/bytes.mjs +0 -26
- package/internal/utils/bytes.mjs.map +0 -1
- package/internal/utils/env.d.mts +0 -9
- package/internal/utils/env.d.mts.map +0 -1
- package/internal/utils/env.d.ts +0 -9
- package/internal/utils/env.d.ts.map +0 -1
- package/internal/utils/env.js +0 -22
- package/internal/utils/env.js.map +0 -1
- package/internal/utils/env.mjs +0 -18
- package/internal/utils/env.mjs.map +0 -1
- package/internal/utils/log.d.mts +0 -37
- package/internal/utils/log.d.mts.map +0 -1
- package/internal/utils/log.d.ts +0 -37
- package/internal/utils/log.d.ts.map +0 -1
- package/internal/utils/log.js +0 -87
- package/internal/utils/log.js.map +0 -1
- package/internal/utils/log.mjs +0 -81
- package/internal/utils/log.mjs.map +0 -1
- package/internal/utils/path.d.mts +0 -15
- package/internal/utils/path.d.mts.map +0 -1
- package/internal/utils/path.d.ts +0 -15
- package/internal/utils/path.d.ts.map +0 -1
- package/internal/utils/path.js +0 -79
- package/internal/utils/path.js.map +0 -1
- package/internal/utils/path.mjs +0 -74
- package/internal/utils/path.mjs.map +0 -1
- package/internal/utils/query.d.mts +0 -5
- package/internal/utils/query.d.mts.map +0 -1
- package/internal/utils/query.d.ts +0 -5
- package/internal/utils/query.d.ts.map +0 -1
- package/internal/utils/query.js +0 -23
- package/internal/utils/query.js.map +0 -1
- package/internal/utils/query.mjs +0 -20
- package/internal/utils/query.mjs.map +0 -1
- package/internal/utils/sleep.d.mts +0 -2
- package/internal/utils/sleep.d.mts.map +0 -1
- package/internal/utils/sleep.d.ts +0 -2
- package/internal/utils/sleep.d.ts.map +0 -1
- package/internal/utils/sleep.js +0 -7
- package/internal/utils/sleep.js.map +0 -1
- package/internal/utils/sleep.mjs +0 -3
- package/internal/utils/sleep.mjs.map +0 -1
- package/internal/utils/uuid.d.mts +0 -5
- package/internal/utils/uuid.d.mts.map +0 -1
- package/internal/utils/uuid.d.ts +0 -5
- package/internal/utils/uuid.d.ts.map +0 -1
- package/internal/utils/uuid.js +0 -19
- package/internal/utils/uuid.js.map +0 -1
- package/internal/utils/uuid.mjs +0 -15
- package/internal/utils/uuid.mjs.map +0 -1
- package/internal/utils/values.d.mts +0 -18
- package/internal/utils/values.d.mts.map +0 -1
- package/internal/utils/values.d.ts +0 -18
- package/internal/utils/values.d.ts.map +0 -1
- package/internal/utils/values.js +0 -112
- package/internal/utils/values.js.map +0 -1
- package/internal/utils/values.mjs +0 -94
- package/internal/utils/values.mjs.map +0 -1
- package/internal/utils.d.mts +0 -8
- package/internal/utils.d.mts.map +0 -1
- package/internal/utils.d.ts +0 -8
- package/internal/utils.d.ts.map +0 -1
- package/internal/utils.js +0 -12
- package/internal/utils.js.map +0 -1
- package/internal/utils.mjs +0 -9
- package/internal/utils.mjs.map +0 -1
- package/resource.d.mts +0 -3
- package/resource.d.mts.map +0 -1
- package/resource.d.ts +0 -3
- package/resource.d.ts.map +0 -1
- package/resource.js +0 -6
- package/resource.js.map +0 -1
- package/resource.mjs +0 -3
- package/resource.mjs.map +0 -1
- package/resources/actions.d.mts +0 -133
- package/resources/actions.d.mts.map +0 -1
- package/resources/actions.d.ts +0 -133
- package/resources/actions.d.ts.map +0 -1
- package/resources/actions.js +0 -36
- package/resources/actions.js.map +0 -1
- package/resources/actions.mjs +0 -32
- package/resources/actions.mjs.map +0 -1
- package/resources/index.d.mts +0 -4
- package/resources/index.d.mts.map +0 -1
- package/resources/index.d.ts +0 -4
- package/resources/index.d.ts.map +0 -1
- package/resources/index.js +0 -11
- package/resources/index.js.map +0 -1
- package/resources/index.mjs +0 -5
- package/resources/index.mjs.map +0 -1
- package/resources/sdk.d.mts +0 -261
- package/resources/sdk.d.mts.map +0 -1
- package/resources/sdk.d.ts +0 -261
- package/resources/sdk.d.ts.map +0 -1
- package/resources/sdk.js +0 -69
- package/resources/sdk.js.map +0 -1
- package/resources/sdk.mjs +0 -65
- package/resources/sdk.mjs.map +0 -1
- package/resources/verification.d.mts +0 -64
- package/resources/verification.d.mts.map +0 -1
- package/resources/verification.d.ts +0 -64
- package/resources/verification.d.ts.map +0 -1
- package/resources/verification.js +0 -25
- package/resources/verification.js.map +0 -1
- package/resources/verification.mjs +0 -21
- package/resources/verification.mjs.map +0 -1
- package/resources.d.mts +0 -2
- package/resources.d.mts.map +0 -1
- package/resources.d.ts +0 -2
- package/resources.d.ts.map +0 -1
- package/resources.js +0 -5
- package/resources.js.map +0 -1
- package/resources.mjs +0 -2
- package/resources.mjs.map +0 -1
- package/src/api-promise.ts +0 -2
- package/src/client.ts +0 -892
- package/src/core/README.md +0 -3
- package/src/core/api-promise.ts +0 -92
- package/src/core/error.ts +0 -130
- package/src/core/resource.ts +0 -11
- package/src/core/uploads.ts +0 -2
- package/src/error.ts +0 -2
- package/src/internal/README.md +0 -3
- package/src/internal/builtin-types.ts +0 -93
- package/src/internal/detect-platform.ts +0 -196
- package/src/internal/errors.ts +0 -33
- package/src/internal/headers.ts +0 -97
- package/src/internal/parse.ts +0 -56
- package/src/internal/request-options.ts +0 -91
- package/src/internal/shim-types.ts +0 -26
- package/src/internal/shims.ts +0 -107
- package/src/internal/to-file.ts +0 -154
- package/src/internal/types.ts +0 -93
- package/src/internal/uploads.ts +0 -187
- package/src/internal/utils/base64.ts +0 -40
- package/src/internal/utils/bytes.ts +0 -32
- package/src/internal/utils/env.ts +0 -18
- package/src/internal/utils/log.ts +0 -128
- package/src/internal/utils/path.ts +0 -88
- package/src/internal/utils/query.ts +0 -23
- package/src/internal/utils/sleep.ts +0 -3
- package/src/internal/utils/uuid.ts +0 -17
- package/src/internal/utils/values.ts +0 -105
- package/src/internal/utils.ts +0 -9
- package/src/lib/.keep +0 -4
- package/src/resource.ts +0 -2
- package/src/resources/actions.ts +0 -184
- package/src/resources/index.ts +0 -37
- package/src/resources/sdk.ts +0 -403
- package/src/resources/verification.ts +0 -107
- package/src/resources.ts +0 -1
- package/src/tsconfig.json +0 -11
- package/src/uploads.ts +0 -2
- package/src/version.ts +0 -1
- package/uploads.d.mts +0 -3
- package/uploads.d.mts.map +0 -1
- package/uploads.d.ts +0 -3
- package/uploads.d.ts.map +0 -1
- package/uploads.js +0 -6
- package/uploads.js.map +0 -1
- package/uploads.mjs +0 -3
- package/uploads.mjs.map +0 -1
- package/version.d.mts +0 -2
- package/version.d.mts.map +0 -1
- package/version.d.ts +0 -2
- package/version.d.ts.map +0 -1
- package/version.js +0 -5
- package/version.js.map +0 -1
- package/version.mjs +0 -2
- package/version.mjs.map +0 -1
package/src/resources/actions.ts
DELETED
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../core/resource';
|
|
4
|
-
import { APIPromise } from '../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../internal/request-options';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Queued pattern: agent proposes an action async, user attests in BotShield app, BotShield signs a Resolution JWT and POSTs it to the agent's callback URL.
|
|
9
|
-
*/
|
|
10
|
-
export class Actions extends APIResource {
|
|
11
|
-
/**
|
|
12
|
-
* Stand down a queued action before the user responds. No-op if the proposal is
|
|
13
|
-
* already in a terminal state (TTL is cancel — silent expiry produces no
|
|
14
|
-
* Resolution).
|
|
15
|
-
*/
|
|
16
|
-
cancelAction(
|
|
17
|
-
body: ActionCancelActionParams,
|
|
18
|
-
options?: RequestOptions,
|
|
19
|
-
): APIPromise<ActionCancelActionResponse> {
|
|
20
|
-
return this._client.post('/authlink/cancel', { body, ...options });
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Poll the current state of a previously-proposed action. For terminal states
|
|
25
|
-
* (approved/denied), the response carries the signed Resolution JWT.
|
|
26
|
-
*/
|
|
27
|
-
checkActionStatus(
|
|
28
|
-
query: ActionCheckActionStatusParams,
|
|
29
|
-
options?: RequestOptions,
|
|
30
|
-
): APIPromise<ActionCheckActionStatusResponse> {
|
|
31
|
-
return this._client.get('/authlink/check-status', { query, ...options });
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Queue a human-presence-gated action for a BotShield user. The user receives a
|
|
36
|
-
* card on their iOS app, attests via biometric ceremony, and BotShield delivers a
|
|
37
|
-
* signed Resolution JWT to your registered callback URL. Authentication: agent key
|
|
38
|
-
* (bs*agent*<name>\_\_<secret>) in Authorization header.
|
|
39
|
-
*/
|
|
40
|
-
proposeAction(
|
|
41
|
-
body: ActionProposeActionParams,
|
|
42
|
-
options?: RequestOptions,
|
|
43
|
-
): APIPromise<ActionProposeActionResponse> {
|
|
44
|
-
return this._client.post('/authlink/inquire', { body, ...options });
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface ActionCancelActionResponse {
|
|
49
|
-
data: ActionCancelActionResponse.Data;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export namespace ActionCancelActionResponse {
|
|
53
|
-
export interface Data {
|
|
54
|
-
already_terminal?: boolean;
|
|
55
|
-
|
|
56
|
-
cancelled?: boolean;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export interface ActionCheckActionStatusResponse {
|
|
61
|
-
data: ActionCheckActionStatusResponse.Data;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export namespace ActionCheckActionStatusResponse {
|
|
65
|
-
export interface Data {
|
|
66
|
-
status: 'queued' | 'approved' | 'denied' | 'expired' | 'cancelled';
|
|
67
|
-
|
|
68
|
-
ceremony_id?: string;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Whether the callback webhook has been confirmed delivered.
|
|
72
|
-
*/
|
|
73
|
-
delivered?: boolean;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* BotShield-signed Resolution JWT. Present only when status is approved or denied.
|
|
77
|
-
* Verify with BotShield's public key.
|
|
78
|
-
*/
|
|
79
|
-
resolution_jwt?: string;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Present only when status is approved or denied.
|
|
83
|
-
*/
|
|
84
|
-
verdict?: 'approve' | 'denied';
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export interface ActionProposeActionResponse {
|
|
89
|
-
data: ActionProposeActionResponse.Data;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export namespace ActionProposeActionResponse {
|
|
93
|
-
export interface Data {
|
|
94
|
-
card_id: string;
|
|
95
|
-
|
|
96
|
-
status: 'queued';
|
|
97
|
-
|
|
98
|
-
ttl_at: string;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export interface ActionCancelActionParams {
|
|
103
|
-
request_id: string;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export interface ActionCheckActionStatusParams {
|
|
107
|
-
request_id: string;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export interface ActionProposeActionParams {
|
|
111
|
-
action: ActionProposeActionParams.Action;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Agent-supplied UUID for idempotency. Re-proposing with the same request_id
|
|
115
|
-
* returns the existing card_id.
|
|
116
|
-
*/
|
|
117
|
-
request_id: string;
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Email of the BotShield user to receive this proposal.
|
|
121
|
-
*/
|
|
122
|
-
user_email: string;
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Optional Adaptive Card v1.5 JSON shown when the user expands the card.
|
|
126
|
-
* Allowlist: TextBlock, FactSet, ColumnSet, Container, Table, Image (bundled-asset
|
|
127
|
-
* only).
|
|
128
|
-
*/
|
|
129
|
-
adaptive_card_payload?: { [key: string]: unknown };
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* How long the user has to respond before the proposal expires. Bounds locked by
|
|
133
|
-
* V3 spec §3.4.
|
|
134
|
-
*/
|
|
135
|
-
ttl_seconds?: number;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export namespace ActionProposeActionParams {
|
|
139
|
-
export interface Action {
|
|
140
|
-
/**
|
|
141
|
-
* Must be in agent.allowed_action_categories AND in the partner's approved scopes
|
|
142
|
-
* for this environment.
|
|
143
|
-
*/
|
|
144
|
-
category: string;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Plain-English action description shown on the card (e.g. 'Has an Uber ride ready
|
|
148
|
-
* to book').
|
|
149
|
-
*/
|
|
150
|
-
summary_title: string;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* Primary KPI shown on the card chrome.
|
|
154
|
-
*/
|
|
155
|
-
summary_detail?: Action.SummaryDetail;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Optional link to the user's MultiPass-linked account.
|
|
159
|
-
*/
|
|
160
|
-
trusted_account_id?: string;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export namespace Action {
|
|
164
|
-
/**
|
|
165
|
-
* Primary KPI shown on the card chrome.
|
|
166
|
-
*/
|
|
167
|
-
export interface SummaryDetail {
|
|
168
|
-
label?: string;
|
|
169
|
-
|
|
170
|
-
value?: string;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export declare namespace Actions {
|
|
176
|
-
export {
|
|
177
|
-
type ActionCancelActionResponse as ActionCancelActionResponse,
|
|
178
|
-
type ActionCheckActionStatusResponse as ActionCheckActionStatusResponse,
|
|
179
|
-
type ActionProposeActionResponse as ActionProposeActionResponse,
|
|
180
|
-
type ActionCancelActionParams as ActionCancelActionParams,
|
|
181
|
-
type ActionCheckActionStatusParams as ActionCheckActionStatusParams,
|
|
182
|
-
type ActionProposeActionParams as ActionProposeActionParams,
|
|
183
|
-
};
|
|
184
|
-
}
|
package/src/resources/index.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
Actions,
|
|
5
|
-
type ActionCancelActionResponse,
|
|
6
|
-
type ActionCheckActionStatusResponse,
|
|
7
|
-
type ActionProposeActionResponse,
|
|
8
|
-
type ActionCancelActionParams,
|
|
9
|
-
type ActionCheckActionStatusParams,
|
|
10
|
-
type ActionProposeActionParams,
|
|
11
|
-
} from './actions';
|
|
12
|
-
export {
|
|
13
|
-
SDK,
|
|
14
|
-
type SDKCreateSessionResponse,
|
|
15
|
-
type SDKCreateVerificationLinkResponse,
|
|
16
|
-
type SDKGetPartnerConfigResponse,
|
|
17
|
-
type SDKLogoutResponse,
|
|
18
|
-
type SDKRevokeVerificationResponse,
|
|
19
|
-
type SDKStoreSignalResponse,
|
|
20
|
-
type SDKValidateSignalResponse,
|
|
21
|
-
type SDKVerifyTokenResponse,
|
|
22
|
-
type SDKCreateSessionParams,
|
|
23
|
-
type SDKCreateVerificationLinkParams,
|
|
24
|
-
type SDKGetPartnerConfigParams,
|
|
25
|
-
type SDKLogoutParams,
|
|
26
|
-
type SDKRevokeVerificationParams,
|
|
27
|
-
type SDKStoreSignalParams,
|
|
28
|
-
type SDKValidateSignalParams,
|
|
29
|
-
type SDKVerifyTokenParams,
|
|
30
|
-
} from './sdk';
|
|
31
|
-
export {
|
|
32
|
-
Verification,
|
|
33
|
-
type VerificationGetStatusResponse,
|
|
34
|
-
type VerificationLookupUserByEmailResponse,
|
|
35
|
-
type VerificationGetStatusParams,
|
|
36
|
-
type VerificationLookupUserByEmailParams,
|
|
37
|
-
} from './verification';
|
package/src/resources/sdk.ts
DELETED
|
@@ -1,403 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../core/resource';
|
|
4
|
-
import { APIPromise } from '../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../internal/request-options';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Core SDK operations — session management, verification, token validation, and Signal Pixel scoring
|
|
9
|
-
*/
|
|
10
|
-
export class SDK extends APIResource {
|
|
11
|
-
/**
|
|
12
|
-
* Creates a short-lived anchor grant token (5 minutes) from an API token or site
|
|
13
|
-
* key. Use this to get a token before creating verification links.
|
|
14
|
-
*/
|
|
15
|
-
createSession(
|
|
16
|
-
body: SDKCreateSessionParams,
|
|
17
|
-
options?: RequestOptions,
|
|
18
|
-
): APIPromise<SDKCreateSessionResponse> {
|
|
19
|
-
return this._client.post('/sdk/create-session', { body, ...options });
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Creates a verification request with deep link, web URL, and QR code. Requires an
|
|
24
|
-
* anchor grant token from create-session.
|
|
25
|
-
*/
|
|
26
|
-
createVerificationLink(
|
|
27
|
-
body: SDKCreateVerificationLinkParams,
|
|
28
|
-
options?: RequestOptions,
|
|
29
|
-
): APIPromise<SDKCreateVerificationLinkResponse> {
|
|
30
|
-
return this._client.post('/sdk/create-verification-link', { body, ...options });
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Returns enabled integrations (Turnstile, etc.) for a site key. Public config
|
|
35
|
-
* only — secret keys never exposed.
|
|
36
|
-
*/
|
|
37
|
-
getPartnerConfig(
|
|
38
|
-
query: SDKGetPartnerConfigParams,
|
|
39
|
-
options?: RequestOptions,
|
|
40
|
-
): APIPromise<SDKGetPartnerConfigResponse> {
|
|
41
|
-
return this._client.get('/sdk/partner-config', { query, ...options });
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Revoke an Anchor Grant Window token
|
|
46
|
-
*/
|
|
47
|
-
logout(body: SDKLogoutParams, options?: RequestOptions): APIPromise<SDKLogoutResponse> {
|
|
48
|
-
return this._client.post('/sdk/logout', { body, ...options });
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Soft-expires a pending verification for a scope and user. Use when
|
|
53
|
-
* create-verification-link returns 409.
|
|
54
|
-
*/
|
|
55
|
-
revokeVerification(
|
|
56
|
-
body: SDKRevokeVerificationParams,
|
|
57
|
-
options?: RequestOptions,
|
|
58
|
-
): APIPromise<SDKRevokeVerificationResponse> {
|
|
59
|
-
return this._client.post('/sdk/revoke-verification', { body, ...options });
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Stores a behavioral fingerprint score server-side and returns an opaque
|
|
64
|
-
* signal*token (bs_sig*...). The client-side score can be spoofed — the
|
|
65
|
-
* signal_token maps to the real score in BotShield's database.
|
|
66
|
-
*/
|
|
67
|
-
storeSignal(body: SDKStoreSignalParams, options?: RequestOptions): APIPromise<SDKStoreSignalResponse> {
|
|
68
|
-
return this._client.post('/sdk/store-signal', { body, ...options });
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Validates a signal_token and returns the real server-side bot score. One-time
|
|
73
|
-
* use, 10-minute expiry. This is the tamper-proof check.
|
|
74
|
-
*/
|
|
75
|
-
validateSignal(
|
|
76
|
-
body: SDKValidateSignalParams,
|
|
77
|
-
options?: RequestOptions,
|
|
78
|
-
): APIPromise<SDKValidateSignalResponse> {
|
|
79
|
-
return this._client.post('/sdk/validate-signal', { body, ...options });
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Validates a signed JWT verification receipt. This is the primary server-side
|
|
84
|
-
* check. Optionally include signal_token for combined confidence scoring with
|
|
85
|
-
* Signal Pixel + Turnstile + passkey results.
|
|
86
|
-
*/
|
|
87
|
-
verifyToken(body: SDKVerifyTokenParams, options?: RequestOptions): APIPromise<SDKVerifyTokenResponse> {
|
|
88
|
-
return this._client.post('/sdk/verify-token', { body, ...options });
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export interface SDKCreateSessionResponse {
|
|
93
|
-
data: SDKCreateSessionResponse.Data;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export namespace SDKCreateSessionResponse {
|
|
97
|
-
export interface Data {
|
|
98
|
-
anchor_grant_expires_at: string;
|
|
99
|
-
|
|
100
|
-
anchor_grant_expires_in_seconds: number;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Canonical grant token (Bearer bss\_\*)
|
|
104
|
-
*/
|
|
105
|
-
anchor_grant_token: string;
|
|
106
|
-
|
|
107
|
-
expires_at: string;
|
|
108
|
-
|
|
109
|
-
expires_in_seconds: number;
|
|
110
|
-
|
|
111
|
-
organization: Data.Organization;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Legacy alias (backward compatibility)
|
|
115
|
-
*/
|
|
116
|
-
session_token: string;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export namespace Data {
|
|
120
|
-
export interface Organization {
|
|
121
|
-
id: string;
|
|
122
|
-
|
|
123
|
-
environment: string;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export interface SDKCreateVerificationLinkResponse {
|
|
129
|
-
data: SDKCreateVerificationLinkResponse.Data;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export namespace SDKCreateVerificationLinkResponse {
|
|
133
|
-
export interface Data {
|
|
134
|
-
deep_link: string;
|
|
135
|
-
|
|
136
|
-
expires_at: string;
|
|
137
|
-
|
|
138
|
-
qr_code_url: string;
|
|
139
|
-
|
|
140
|
-
request_id: string;
|
|
141
|
-
|
|
142
|
-
web_url: string;
|
|
143
|
-
|
|
144
|
-
auth_mode?: 'linked-account' | 'private';
|
|
145
|
-
|
|
146
|
-
organization?: Data.Organization;
|
|
147
|
-
|
|
148
|
-
scope?: string;
|
|
149
|
-
|
|
150
|
-
sdk_type?: 'signal' | 'presence';
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export namespace Data {
|
|
154
|
-
export interface Organization {
|
|
155
|
-
id?: string;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export interface SDKGetPartnerConfigResponse {
|
|
161
|
-
environment?: 'test' | 'live';
|
|
162
|
-
|
|
163
|
-
integrations?: { [key: string]: SDKGetPartnerConfigResponse.Integrations };
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export namespace SDKGetPartnerConfigResponse {
|
|
167
|
-
export interface Integrations {
|
|
168
|
-
config?: { [key: string]: unknown };
|
|
169
|
-
|
|
170
|
-
enabled?: boolean;
|
|
171
|
-
|
|
172
|
-
site_key?: string;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
export interface SDKLogoutResponse {
|
|
177
|
-
message?: string;
|
|
178
|
-
|
|
179
|
-
revoked_at?: string;
|
|
180
|
-
|
|
181
|
-
success?: boolean;
|
|
182
|
-
|
|
183
|
-
token_found?: boolean;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
export interface SDKRevokeVerificationResponse {
|
|
187
|
-
data: SDKRevokeVerificationResponse.Data;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
export namespace SDKRevokeVerificationResponse {
|
|
191
|
-
export interface Data {
|
|
192
|
-
message?: string;
|
|
193
|
-
|
|
194
|
-
revoked_count?: number;
|
|
195
|
-
|
|
196
|
-
success?: boolean;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
export interface SDKStoreSignalResponse {
|
|
201
|
-
expires_at?: string;
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* Opaque tamper-proof token (bs*sig*...)
|
|
205
|
-
*/
|
|
206
|
-
signal_token?: string;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
export interface SDKValidateSignalResponse {
|
|
210
|
-
client_score?: number;
|
|
211
|
-
|
|
212
|
-
country?: string;
|
|
213
|
-
|
|
214
|
-
created_at?: string;
|
|
215
|
-
|
|
216
|
-
edge_score?: number;
|
|
217
|
-
|
|
218
|
-
fp_hash?: string;
|
|
219
|
-
|
|
220
|
-
reason?: string;
|
|
221
|
-
|
|
222
|
-
score?: number;
|
|
223
|
-
|
|
224
|
-
site_key?: string;
|
|
225
|
-
|
|
226
|
-
valid?: boolean;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
export interface SDKVerifyTokenResponse {
|
|
230
|
-
claims?: SDKVerifyTokenResponse.Claims;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Combined confidence (passkey + signals + integrations)
|
|
234
|
-
*/
|
|
235
|
-
confidence?: number;
|
|
236
|
-
|
|
237
|
-
reason?: string;
|
|
238
|
-
|
|
239
|
-
signals?: SDKVerifyTokenResponse.Signals;
|
|
240
|
-
|
|
241
|
-
valid?: boolean;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
export namespace SDKVerifyTokenResponse {
|
|
245
|
-
export interface Claims {
|
|
246
|
-
auth_mode?: 'linked-account' | 'private';
|
|
247
|
-
|
|
248
|
-
botshield_user_id?: string;
|
|
249
|
-
|
|
250
|
-
expires_at?: number;
|
|
251
|
-
|
|
252
|
-
issued_at?: number;
|
|
253
|
-
|
|
254
|
-
organization_id?: string;
|
|
255
|
-
|
|
256
|
-
partner_user_id?: string;
|
|
257
|
-
|
|
258
|
-
request_id?: string;
|
|
259
|
-
|
|
260
|
-
timestamp?: string;
|
|
261
|
-
|
|
262
|
-
user_email?: string;
|
|
263
|
-
|
|
264
|
-
verified?: boolean;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
export interface Signals {
|
|
268
|
-
/**
|
|
269
|
-
* Signal Pixel score (0-100)
|
|
270
|
-
*/
|
|
271
|
-
botshield_score?: number;
|
|
272
|
-
|
|
273
|
-
passkey?: Signals.Passkey;
|
|
274
|
-
|
|
275
|
-
turnstile?: Signals.Turnstile;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
export namespace Signals {
|
|
279
|
-
export interface Passkey {
|
|
280
|
-
verified?: boolean;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
export interface Turnstile {
|
|
284
|
-
success?: boolean;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
export interface SDKCreateSessionParams {
|
|
290
|
-
metadata?: { [key: string]: unknown };
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* Your internal user identifier for correlation
|
|
294
|
-
*/
|
|
295
|
-
partner_user_id?: string;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
export interface SDKCreateVerificationLinkParams {
|
|
299
|
-
/**
|
|
300
|
-
* Returning user ID to skip onboarding
|
|
301
|
-
*/
|
|
302
|
-
botshield_user_id?: string;
|
|
303
|
-
|
|
304
|
-
metadata?: { [key: string]: unknown };
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* linked-account = OAuth+passkey, private = direct WebAuthn (no PII)
|
|
308
|
-
*/
|
|
309
|
-
mode?: 'linked-account' | 'private';
|
|
310
|
-
|
|
311
|
-
return_url?: string;
|
|
312
|
-
|
|
313
|
-
scope?: string;
|
|
314
|
-
|
|
315
|
-
sdk_type?: 'signal' | 'presence';
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* Tamper-proof Signal Pixel token (bs*sig*...) for server-side score correlation
|
|
319
|
-
*/
|
|
320
|
-
signal_token?: string;
|
|
321
|
-
|
|
322
|
-
user_email?: string;
|
|
323
|
-
|
|
324
|
-
webhook_url?: string;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
export interface SDKGetPartnerConfigParams {
|
|
328
|
-
site_key: string;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
export interface SDKLogoutParams {
|
|
332
|
-
/**
|
|
333
|
-
* The anchor grant token (bss\_\*) to revoke
|
|
334
|
-
*/
|
|
335
|
-
session_token: string;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
export interface SDKRevokeVerificationParams {
|
|
339
|
-
scope: string;
|
|
340
|
-
|
|
341
|
-
partner_user_id?: string;
|
|
342
|
-
|
|
343
|
-
user_email?: string;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
export interface SDKStoreSignalParams {
|
|
347
|
-
score: number;
|
|
348
|
-
|
|
349
|
-
site_key: string;
|
|
350
|
-
|
|
351
|
-
client_score?: number;
|
|
352
|
-
|
|
353
|
-
country?: string;
|
|
354
|
-
|
|
355
|
-
edge_score?: number;
|
|
356
|
-
|
|
357
|
-
fp_hash?: string;
|
|
358
|
-
|
|
359
|
-
ip_hash?: string;
|
|
360
|
-
|
|
361
|
-
signals?: { [key: string]: unknown };
|
|
362
|
-
|
|
363
|
-
ua_hash?: string;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
export interface SDKValidateSignalParams {
|
|
367
|
-
signal_token: string;
|
|
368
|
-
|
|
369
|
-
verification_event_id?: string;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
export interface SDKVerifyTokenParams {
|
|
373
|
-
/**
|
|
374
|
-
* JWT verification receipt
|
|
375
|
-
*/
|
|
376
|
-
token: string;
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* Optional Signal Pixel token for combined confidence
|
|
380
|
-
*/
|
|
381
|
-
signal_token?: string;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
export declare namespace SDK {
|
|
385
|
-
export {
|
|
386
|
-
type SDKCreateSessionResponse as SDKCreateSessionResponse,
|
|
387
|
-
type SDKCreateVerificationLinkResponse as SDKCreateVerificationLinkResponse,
|
|
388
|
-
type SDKGetPartnerConfigResponse as SDKGetPartnerConfigResponse,
|
|
389
|
-
type SDKLogoutResponse as SDKLogoutResponse,
|
|
390
|
-
type SDKRevokeVerificationResponse as SDKRevokeVerificationResponse,
|
|
391
|
-
type SDKStoreSignalResponse as SDKStoreSignalResponse,
|
|
392
|
-
type SDKValidateSignalResponse as SDKValidateSignalResponse,
|
|
393
|
-
type SDKVerifyTokenResponse as SDKVerifyTokenResponse,
|
|
394
|
-
type SDKCreateSessionParams as SDKCreateSessionParams,
|
|
395
|
-
type SDKCreateVerificationLinkParams as SDKCreateVerificationLinkParams,
|
|
396
|
-
type SDKGetPartnerConfigParams as SDKGetPartnerConfigParams,
|
|
397
|
-
type SDKLogoutParams as SDKLogoutParams,
|
|
398
|
-
type SDKRevokeVerificationParams as SDKRevokeVerificationParams,
|
|
399
|
-
type SDKStoreSignalParams as SDKStoreSignalParams,
|
|
400
|
-
type SDKValidateSignalParams as SDKValidateSignalParams,
|
|
401
|
-
type SDKVerifyTokenParams as SDKVerifyTokenParams,
|
|
402
|
-
};
|
|
403
|
-
}
|