botshield-sdk 2.3.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -2
- package/bin/mcp-server.js +753 -47
- package/bin/mcp-server.js.map +30 -24
- package/dist/commonjs/funcs/actions-propose-action.d.ts +1 -1
- package/dist/commonjs/funcs/actions-propose-action.js +1 -1
- package/dist/commonjs/funcs/actions-verify-resolution.d.ts +18 -0
- package/dist/commonjs/funcs/actions-verify-resolution.d.ts.map +1 -0
- package/dist/commonjs/funcs/actions-verify-resolution.js +129 -0
- package/dist/commonjs/funcs/actions-verify-resolution.js.map +1 -0
- package/dist/commonjs/funcs/census-confirm-link.d.ts +17 -0
- package/dist/commonjs/funcs/census-confirm-link.d.ts.map +1 -0
- package/dist/commonjs/funcs/census-confirm-link.js +119 -0
- package/dist/commonjs/funcs/census-confirm-link.js.map +1 -0
- package/dist/commonjs/funcs/census-create-verification-link.d.ts +2 -0
- package/dist/commonjs/funcs/census-create-verification-link.d.ts.map +1 -1
- package/dist/commonjs/funcs/census-create-verification-link.js +2 -0
- package/dist/commonjs/funcs/census-create-verification-link.js.map +1 -1
- package/dist/commonjs/funcs/census-send-by-number.d.ts +18 -0
- package/dist/commonjs/funcs/census-send-by-number.d.ts.map +1 -0
- package/dist/commonjs/funcs/census-send-by-number.js +123 -0
- package/dist/commonjs/funcs/census-send-by-number.js.map +1 -0
- package/dist/commonjs/funcs/census-verify-token.d.ts +1 -1
- package/dist/commonjs/funcs/census-verify-token.js +1 -1
- package/dist/commonjs/funcs/gates-actions-request-cancel.d.ts +18 -0
- package/dist/commonjs/funcs/gates-actions-request-cancel.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-actions-request-cancel.js +123 -0
- package/dist/commonjs/funcs/gates-actions-request-cancel.js.map +1 -0
- package/dist/commonjs/funcs/gates-actions-request-status.js +1 -0
- package/dist/commonjs/funcs/gates-actions-request-status.js.map +1 -1
- package/dist/commonjs/funcs/gates-actions-request.d.ts +1 -1
- package/dist/commonjs/funcs/gates-actions-request.js +1 -1
- package/dist/commonjs/funcs/gates-actions-update.d.ts +18 -0
- package/dist/commonjs/funcs/gates-actions-update.d.ts.map +1 -0
- package/dist/commonjs/funcs/gates-actions-update.js +123 -0
- package/dist/commonjs/funcs/gates-actions-update.js.map +1 -0
- package/dist/commonjs/funcs/verification-get-status.d.ts +1 -1
- package/dist/commonjs/funcs/verification-get-status.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/bot-shield-action.d.ts +10 -0
- package/dist/commonjs/models/bot-shield-action.d.ts.map +1 -1
- package/dist/commonjs/models/bot-shield-action.js +8 -0
- package/dist/commonjs/models/bot-shield-action.js.map +1 -1
- package/dist/commonjs/models/error-body.d.ts +6 -1
- package/dist/commonjs/models/error-body.d.ts.map +1 -1
- package/dist/commonjs/models/error-body.js +4 -0
- package/dist/commonjs/models/error-body.js.map +1 -1
- package/dist/commonjs/models/gate-unavailable-event.d.ts +112 -0
- package/dist/commonjs/models/gate-unavailable-event.d.ts.map +1 -0
- package/dist/commonjs/models/gate-unavailable-event.js +137 -0
- package/dist/commonjs/models/gate-unavailable-event.js.map +1 -0
- package/dist/commonjs/models/gates-api-error.d.ts +5 -0
- package/dist/commonjs/models/gates-api-error.d.ts.map +1 -1
- package/dist/commonjs/models/gates-api-error.js +11 -0
- package/dist/commonjs/models/gates-api-error.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +1 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/operations/actions-propose.d.ts +21 -1
- package/dist/commonjs/models/operations/actions-propose.d.ts.map +1 -1
- package/dist/commonjs/models/operations/actions-propose.js +16 -0
- package/dist/commonjs/models/operations/actions-propose.js.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-create.d.ts +11 -1
- package/dist/commonjs/models/operations/gates-api-actions-create.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-create.js +4 -0
- package/dist/commonjs/models/operations/gates-api-actions-create.js.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-list.d.ts +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-request-cancel.d.ts +113 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-cancel.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-cancel.js +178 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-cancel.js.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-status.d.ts +5 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-request-status.js +2 -0
- package/dist/commonjs/models/operations/gates-api-actions-request-status.js.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-request.d.ts +34 -4
- package/dist/commonjs/models/operations/gates-api-actions-request.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-request.js +32 -3
- package/dist/commonjs/models/operations/gates-api-actions-request.js.map +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-set-state.d.ts +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-update.d.ts +99 -0
- package/dist/commonjs/models/operations/gates-api-actions-update.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gates-api-actions-update.js +141 -0
- package/dist/commonjs/models/operations/gates-api-actions-update.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +5 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +5 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/request-passkey-complete.d.ts +1 -1
- package/dist/commonjs/models/operations/sdk-confirm-link.d.ts +130 -0
- package/dist/commonjs/models/operations/sdk-confirm-link.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-confirm-link.js +205 -0
- package/dist/commonjs/models/operations/sdk-confirm-link.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-create-session.d.ts +1 -1
- package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts +43 -2
- package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-create-verification-link.js +30 -1
- package/dist/commonjs/models/operations/sdk-create-verification-link.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-send-by-number.d.ts +124 -0
- package/dist/commonjs/models/operations/sdk-send-by-number.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-send-by-number.js +203 -0
- package/dist/commonjs/models/operations/sdk-send-by-number.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-verify-resolution.d.ts +125 -0
- package/dist/commonjs/models/operations/sdk-verify-resolution.d.ts.map +1 -0
- package/dist/commonjs/models/operations/sdk-verify-resolution.js +182 -0
- package/dist/commonjs/models/operations/sdk-verify-resolution.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts +95 -1
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-verify-token.js +86 -1
- package/dist/commonjs/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.d.ts +40 -5
- package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.js +33 -2
- package/dist/commonjs/models/operations/verification-get-status.js.map +1 -1
- package/dist/commonjs/models/passes-per-person.d.ts +1 -1
- package/dist/commonjs/sdk/actions.d.ts +8 -1
- package/dist/commonjs/sdk/actions.d.ts.map +1 -1
- package/dist/commonjs/sdk/actions.js +11 -1
- package/dist/commonjs/sdk/actions.js.map +1 -1
- package/dist/commonjs/sdk/census.d.ts +17 -1
- package/dist/commonjs/sdk/census.d.ts.map +1 -1
- package/dist/commonjs/sdk/census.js +23 -1
- package/dist/commonjs/sdk/census.js.map +1 -1
- package/dist/commonjs/sdk/gates-actions.d.ts +15 -1
- package/dist/commonjs/sdk/gates-actions.d.ts.map +1 -1
- package/dist/commonjs/sdk/gates-actions.js +21 -1
- package/dist/commonjs/sdk/gates-actions.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +2 -2
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -4
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/verification.d.ts +1 -1
- package/dist/commonjs/sdk/verification.js +1 -1
- package/dist/esm/funcs/actions-propose-action.d.ts +1 -1
- package/dist/esm/funcs/actions-propose-action.js +1 -1
- package/dist/esm/funcs/actions-verify-resolution.d.ts +18 -0
- package/dist/esm/funcs/actions-verify-resolution.d.ts.map +1 -0
- package/dist/esm/funcs/actions-verify-resolution.js +93 -0
- package/dist/esm/funcs/actions-verify-resolution.js.map +1 -0
- package/dist/esm/funcs/census-confirm-link.d.ts +17 -0
- package/dist/esm/funcs/census-confirm-link.d.ts.map +1 -0
- package/dist/esm/funcs/census-confirm-link.js +83 -0
- package/dist/esm/funcs/census-confirm-link.js.map +1 -0
- package/dist/esm/funcs/census-create-verification-link.d.ts +2 -0
- package/dist/esm/funcs/census-create-verification-link.d.ts.map +1 -1
- package/dist/esm/funcs/census-create-verification-link.js +2 -0
- package/dist/esm/funcs/census-create-verification-link.js.map +1 -1
- package/dist/esm/funcs/census-send-by-number.d.ts +18 -0
- package/dist/esm/funcs/census-send-by-number.d.ts.map +1 -0
- package/dist/esm/funcs/census-send-by-number.js +87 -0
- package/dist/esm/funcs/census-send-by-number.js.map +1 -0
- package/dist/esm/funcs/census-verify-token.d.ts +1 -1
- package/dist/esm/funcs/census-verify-token.js +1 -1
- package/dist/esm/funcs/gates-actions-request-cancel.d.ts +18 -0
- package/dist/esm/funcs/gates-actions-request-cancel.d.ts.map +1 -0
- package/dist/esm/funcs/gates-actions-request-cancel.js +87 -0
- package/dist/esm/funcs/gates-actions-request-cancel.js.map +1 -0
- package/dist/esm/funcs/gates-actions-request-status.js +1 -0
- package/dist/esm/funcs/gates-actions-request-status.js.map +1 -1
- package/dist/esm/funcs/gates-actions-request.d.ts +1 -1
- package/dist/esm/funcs/gates-actions-request.js +1 -1
- package/dist/esm/funcs/gates-actions-update.d.ts +18 -0
- package/dist/esm/funcs/gates-actions-update.d.ts.map +1 -0
- package/dist/esm/funcs/gates-actions-update.js +87 -0
- package/dist/esm/funcs/gates-actions-update.js.map +1 -0
- package/dist/esm/funcs/verification-get-status.d.ts +1 -1
- package/dist/esm/funcs/verification-get-status.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/bot-shield-action.d.ts +10 -0
- package/dist/esm/models/bot-shield-action.d.ts.map +1 -1
- package/dist/esm/models/bot-shield-action.js +8 -0
- package/dist/esm/models/bot-shield-action.js.map +1 -1
- package/dist/esm/models/error-body.d.ts +6 -1
- package/dist/esm/models/error-body.d.ts.map +1 -1
- package/dist/esm/models/error-body.js +4 -0
- package/dist/esm/models/error-body.js.map +1 -1
- package/dist/esm/models/gate-unavailable-event.d.ts +112 -0
- package/dist/esm/models/gate-unavailable-event.d.ts.map +1 -0
- package/dist/esm/models/gate-unavailable-event.js +99 -0
- package/dist/esm/models/gate-unavailable-event.js.map +1 -0
- package/dist/esm/models/gates-api-error.d.ts +5 -0
- package/dist/esm/models/gates-api-error.d.ts.map +1 -1
- package/dist/esm/models/gates-api-error.js +11 -0
- package/dist/esm/models/gates-api-error.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/operations/actions-propose.d.ts +21 -1
- package/dist/esm/models/operations/actions-propose.d.ts.map +1 -1
- package/dist/esm/models/operations/actions-propose.js +16 -0
- package/dist/esm/models/operations/actions-propose.js.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-create.d.ts +11 -1
- package/dist/esm/models/operations/gates-api-actions-create.d.ts.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-create.js +4 -0
- package/dist/esm/models/operations/gates-api-actions-create.js.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-list.d.ts +1 -1
- package/dist/esm/models/operations/gates-api-actions-request-cancel.d.ts +113 -0
- package/dist/esm/models/operations/gates-api-actions-request-cancel.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-request-cancel.js +132 -0
- package/dist/esm/models/operations/gates-api-actions-request-cancel.js.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-request-status.d.ts +5 -0
- package/dist/esm/models/operations/gates-api-actions-request-status.d.ts.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-request-status.js +2 -0
- package/dist/esm/models/operations/gates-api-actions-request-status.js.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-request.d.ts +34 -4
- package/dist/esm/models/operations/gates-api-actions-request.d.ts.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-request.js +29 -2
- package/dist/esm/models/operations/gates-api-actions-request.js.map +1 -1
- package/dist/esm/models/operations/gates-api-actions-set-state.d.ts +1 -1
- package/dist/esm/models/operations/gates-api-actions-update.d.ts +99 -0
- package/dist/esm/models/operations/gates-api-actions-update.d.ts.map +1 -0
- package/dist/esm/models/operations/gates-api-actions-update.js +95 -0
- package/dist/esm/models/operations/gates-api-actions-update.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +5 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +5 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/request-passkey-complete.d.ts +1 -1
- package/dist/esm/models/operations/sdk-confirm-link.d.ts +130 -0
- package/dist/esm/models/operations/sdk-confirm-link.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-confirm-link.js +157 -0
- package/dist/esm/models/operations/sdk-confirm-link.js.map +1 -0
- package/dist/esm/models/operations/sdk-create-session.d.ts +1 -1
- package/dist/esm/models/operations/sdk-create-verification-link.d.ts +43 -2
- package/dist/esm/models/operations/sdk-create-verification-link.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-create-verification-link.js +29 -0
- package/dist/esm/models/operations/sdk-create-verification-link.js.map +1 -1
- package/dist/esm/models/operations/sdk-send-by-number.d.ts +124 -0
- package/dist/esm/models/operations/sdk-send-by-number.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-send-by-number.js +155 -0
- package/dist/esm/models/operations/sdk-send-by-number.js.map +1 -0
- package/dist/esm/models/operations/sdk-verify-resolution.d.ts +125 -0
- package/dist/esm/models/operations/sdk-verify-resolution.d.ts.map +1 -0
- package/dist/esm/models/operations/sdk-verify-resolution.js +136 -0
- package/dist/esm/models/operations/sdk-verify-resolution.js.map +1 -0
- package/dist/esm/models/operations/sdk-verify-token.d.ts +95 -1
- package/dist/esm/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-verify-token.js +83 -0
- package/dist/esm/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/esm/models/operations/verification-get-status.d.ts +40 -5
- package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/esm/models/operations/verification-get-status.js +32 -1
- package/dist/esm/models/operations/verification-get-status.js.map +1 -1
- package/dist/esm/models/passes-per-person.d.ts +1 -1
- package/dist/esm/sdk/actions.d.ts +8 -1
- package/dist/esm/sdk/actions.d.ts.map +1 -1
- package/dist/esm/sdk/actions.js +11 -1
- package/dist/esm/sdk/actions.js.map +1 -1
- package/dist/esm/sdk/census.d.ts +17 -1
- package/dist/esm/sdk/census.d.ts.map +1 -1
- package/dist/esm/sdk/census.js +23 -1
- package/dist/esm/sdk/census.js.map +1 -1
- package/dist/esm/sdk/gates-actions.d.ts +15 -1
- package/dist/esm/sdk/gates-actions.d.ts.map +1 -1
- package/dist/esm/sdk/gates-actions.js +21 -1
- package/dist/esm/sdk/gates-actions.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +2 -2
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -4
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/verification.d.ts +1 -1
- package/dist/esm/sdk/verification.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/actions-propose-action.ts +1 -1
- package/src/funcs/actions-verify-resolution.ts +192 -0
- package/src/funcs/census-confirm-link.ts +171 -0
- package/src/funcs/census-create-verification-link.ts +2 -0
- package/src/funcs/census-send-by-number.ts +180 -0
- package/src/funcs/census-verify-token.ts +1 -1
- package/src/funcs/gates-actions-request-cancel.ts +187 -0
- package/src/funcs/gates-actions-request-status.ts +1 -0
- package/src/funcs/gates-actions-request.ts +1 -1
- package/src/funcs/gates-actions-update.ts +185 -0
- package/src/funcs/verification-get-status.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/bot-shield-action.ts +18 -0
- package/src/models/error-body.ts +10 -1
- package/src/models/gate-unavailable-event.ts +218 -0
- package/src/models/gates-api-error.ts +16 -0
- package/src/models/index.ts +1 -0
- package/src/models/operations/actions-propose.ts +37 -1
- package/src/models/operations/gates-api-actions-create.ts +15 -1
- package/src/models/operations/gates-api-actions-list.ts +1 -1
- package/src/models/operations/gates-api-actions-request-cancel.ts +339 -0
- package/src/models/operations/gates-api-actions-request-status.ts +7 -0
- package/src/models/operations/gates-api-actions-request.ts +83 -6
- package/src/models/operations/gates-api-actions-set-state.ts +1 -1
- package/src/models/operations/gates-api-actions-update.ts +281 -0
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/request-passkey-complete.ts +1 -1
- package/src/models/operations/sdk-confirm-link.ts +380 -0
- package/src/models/operations/sdk-create-session.ts +1 -1
- package/src/models/operations/sdk-create-verification-link.ts +69 -2
- package/src/models/operations/sdk-send-by-number.ts +372 -0
- package/src/models/operations/sdk-verify-resolution.ts +341 -0
- package/src/models/operations/sdk-verify-token.ts +189 -1
- package/src/models/operations/verification-get-status.ts +67 -5
- package/src/models/passes-per-person.ts +1 -1
- package/src/sdk/actions.ts +21 -1
- package/src/sdk/census.ts +43 -1
- package/src/sdk/gates-actions.ts +41 -1
- package/src/sdk/sdk.ts +5 -5
- package/src/sdk/verification.ts +1 -1
package/bin/mcp-server.js
CHANGED
|
@@ -3920,9 +3920,9 @@ var init_config = __esm(() => {
|
|
|
3920
3920
|
SDK_METADATA = {
|
|
3921
3921
|
language: "typescript",
|
|
3922
3922
|
openapiDocVersion: "2.0.0",
|
|
3923
|
-
sdkVersion: "
|
|
3923
|
+
sdkVersion: "4.0.0",
|
|
3924
3924
|
genVersion: "2.934.1",
|
|
3925
|
-
userAgent: "speakeasy-sdk/typescript
|
|
3925
|
+
userAgent: "speakeasy-sdk/typescript 4.0.0 2.934.1 2.0.0 botshield-sdk"
|
|
3926
3926
|
};
|
|
3927
3927
|
});
|
|
3928
3928
|
|
|
@@ -48951,13 +48951,17 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48951
48951
|
state: BotShieldActionState$inboundSchema,
|
|
48952
48952
|
environment: BotShieldActionEnvironment$inboundSchema,
|
|
48953
48953
|
placed_at: date4(),
|
|
48954
|
-
turned_off_at: nullable3(date4())
|
|
48954
|
+
turned_off_at: nullable3(date4()),
|
|
48955
|
+
staff_can_send: optional3(boolean4()),
|
|
48956
|
+
high_value: optional3(boolean4())
|
|
48955
48957
|
}).transform((v) => {
|
|
48956
48958
|
return remap(v, {
|
|
48957
48959
|
act_key: "actKey",
|
|
48958
48960
|
where_url: "whereUrl",
|
|
48959
48961
|
placed_at: "placedAt",
|
|
48960
|
-
turned_off_at: "turnedOffAt"
|
|
48962
|
+
turned_off_at: "turnedOffAt",
|
|
48963
|
+
staff_can_send: "staffCanSend",
|
|
48964
|
+
high_value: "highValue"
|
|
48961
48965
|
});
|
|
48962
48966
|
});
|
|
48963
48967
|
BotShieldAction$outboundSchema = objectType({
|
|
@@ -48968,13 +48972,17 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48968
48972
|
state: BotShieldActionState$outboundSchema,
|
|
48969
48973
|
environment: BotShieldActionEnvironment$outboundSchema,
|
|
48970
48974
|
placedAt: dateType().transform((v) => v.toISOString()),
|
|
48971
|
-
turnedOffAt: nullableType(dateType().transform((v) => v.toISOString()))
|
|
48975
|
+
turnedOffAt: nullableType(dateType().transform((v) => v.toISOString())),
|
|
48976
|
+
staffCanSend: booleanType().optional(),
|
|
48977
|
+
highValue: booleanType().optional()
|
|
48972
48978
|
}).transform((v) => {
|
|
48973
48979
|
return remap(v, {
|
|
48974
48980
|
actKey: "act_key",
|
|
48975
48981
|
whereUrl: "where_url",
|
|
48976
48982
|
placedAt: "placed_at",
|
|
48977
|
-
turnedOffAt: "turned_off_at"
|
|
48983
|
+
turnedOffAt: "turned_off_at",
|
|
48984
|
+
staffCanSend: "staff_can_send",
|
|
48985
|
+
highValue: "high_value"
|
|
48978
48986
|
});
|
|
48979
48987
|
});
|
|
48980
48988
|
});
|
|
@@ -49026,14 +49034,16 @@ var init_error_body = __esm(() => {
|
|
|
49026
49034
|
retry_in: optional3(number4()),
|
|
49027
49035
|
limits: optional3(lazyType(() => Limits$inboundSchema)),
|
|
49028
49036
|
upgrade_url: optional3(string4()),
|
|
49029
|
-
url: optional3(string4())
|
|
49037
|
+
url: optional3(string4()),
|
|
49038
|
+
retry_after_seconds: optional3(number4())
|
|
49030
49039
|
}).transform((v) => {
|
|
49031
49040
|
return remap(v, {
|
|
49032
49041
|
min_ttl_seconds: "minTtlSeconds",
|
|
49033
49042
|
max_ttl_seconds: "maxTtlSeconds",
|
|
49034
49043
|
next_step: "nextStep",
|
|
49035
49044
|
retry_in: "retryIn",
|
|
49036
|
-
upgrade_url: "upgradeUrl"
|
|
49045
|
+
upgrade_url: "upgradeUrl",
|
|
49046
|
+
retry_after_seconds: "retryAfterSeconds"
|
|
49037
49047
|
});
|
|
49038
49048
|
});
|
|
49039
49049
|
ErrorBody$outboundSchema = objectType({
|
|
@@ -49050,14 +49060,16 @@ var init_error_body = __esm(() => {
|
|
|
49050
49060
|
retryIn: numberType().int().optional(),
|
|
49051
49061
|
limits: lazyType(() => Limits$outboundSchema).optional(),
|
|
49052
49062
|
upgradeUrl: stringType().optional(),
|
|
49053
|
-
url: stringType().optional()
|
|
49063
|
+
url: stringType().optional(),
|
|
49064
|
+
retryAfterSeconds: numberType().int().optional()
|
|
49054
49065
|
}).transform((v) => {
|
|
49055
49066
|
return remap(v, {
|
|
49056
49067
|
minTtlSeconds: "min_ttl_seconds",
|
|
49057
49068
|
maxTtlSeconds: "max_ttl_seconds",
|
|
49058
49069
|
nextStep: "next_step",
|
|
49059
49070
|
retryIn: "retry_in",
|
|
49060
|
-
upgradeUrl: "upgrade_url"
|
|
49071
|
+
upgradeUrl: "upgrade_url",
|
|
49072
|
+
retryAfterSeconds: "retry_after_seconds"
|
|
49061
49073
|
});
|
|
49062
49074
|
});
|
|
49063
49075
|
});
|
|
@@ -49240,6 +49252,86 @@ var init_gate_policy_doc = __esm(() => {
|
|
|
49240
49252
|
});
|
|
49241
49253
|
});
|
|
49242
49254
|
|
|
49255
|
+
// src/models/gate-unavailable-event.ts
|
|
49256
|
+
var GateUnavailableEventType, GateUnavailableEventVerdict, GateUnavailableEventReason, GateUnavailableEventEnvironment, GateUnavailableEventType$inboundSchema, GateUnavailableEventType$outboundSchema, GateUnavailableEventVerdict$inboundSchema, GateUnavailableEventVerdict$outboundSchema, GateUnavailableEventReason$inboundSchema, GateUnavailableEventReason$outboundSchema, GateUnavailableEventEnvironment$inboundSchema, GateUnavailableEventEnvironment$outboundSchema, GateUnavailableEvent$inboundSchema, GateUnavailableEvent$outboundSchema;
|
|
49257
|
+
var init_gate_unavailable_event = __esm(() => {
|
|
49258
|
+
init_v3();
|
|
49259
|
+
init_primitives();
|
|
49260
|
+
init_primitives2();
|
|
49261
|
+
GateUnavailableEventType = {
|
|
49262
|
+
GateUnavailable: "gate.unavailable"
|
|
49263
|
+
};
|
|
49264
|
+
GateUnavailableEventVerdict = {
|
|
49265
|
+
Unavailable: "unavailable"
|
|
49266
|
+
};
|
|
49267
|
+
GateUnavailableEventReason = {
|
|
49268
|
+
UserDenied: "user_denied",
|
|
49269
|
+
DeviceLockRequired: "device_lock_required",
|
|
49270
|
+
InternalError: "internal_error",
|
|
49271
|
+
PlatformDeclined: "platform_declined"
|
|
49272
|
+
};
|
|
49273
|
+
GateUnavailableEventEnvironment = {
|
|
49274
|
+
Development: "development",
|
|
49275
|
+
Production: "production"
|
|
49276
|
+
};
|
|
49277
|
+
GateUnavailableEventType$inboundSchema = nativeEnumType(GateUnavailableEventType);
|
|
49278
|
+
GateUnavailableEventType$outboundSchema = GateUnavailableEventType$inboundSchema;
|
|
49279
|
+
GateUnavailableEventVerdict$inboundSchema = nativeEnumType(GateUnavailableEventVerdict);
|
|
49280
|
+
GateUnavailableEventVerdict$outboundSchema = GateUnavailableEventVerdict$inboundSchema;
|
|
49281
|
+
GateUnavailableEventReason$inboundSchema = nativeEnumType(GateUnavailableEventReason);
|
|
49282
|
+
GateUnavailableEventReason$outboundSchema = GateUnavailableEventReason$inboundSchema;
|
|
49283
|
+
GateUnavailableEventEnvironment$inboundSchema = nativeEnumType(GateUnavailableEventEnvironment);
|
|
49284
|
+
GateUnavailableEventEnvironment$outboundSchema = GateUnavailableEventEnvironment$inboundSchema;
|
|
49285
|
+
GateUnavailableEvent$inboundSchema = objectType({
|
|
49286
|
+
type: GateUnavailableEventType$inboundSchema,
|
|
49287
|
+
event_id: string4(),
|
|
49288
|
+
request_id: string4(),
|
|
49289
|
+
failed_at: date4(),
|
|
49290
|
+
verdict: GateUnavailableEventVerdict$inboundSchema,
|
|
49291
|
+
reason: GateUnavailableEventReason$inboundSchema,
|
|
49292
|
+
error_message: optional3(string4()),
|
|
49293
|
+
failure_code: optional3(string4()),
|
|
49294
|
+
failure_name: optional3(string4()),
|
|
49295
|
+
environment: GateUnavailableEventEnvironment$inboundSchema,
|
|
49296
|
+
product: optional3(string4()),
|
|
49297
|
+
act: optional3(string4()),
|
|
49298
|
+
metadata: optional3(recordType(anyType()))
|
|
49299
|
+
}).transform((v) => {
|
|
49300
|
+
return remap(v, {
|
|
49301
|
+
event_id: "eventId",
|
|
49302
|
+
request_id: "requestId",
|
|
49303
|
+
failed_at: "failedAt",
|
|
49304
|
+
error_message: "errorMessage",
|
|
49305
|
+
failure_code: "failureCode",
|
|
49306
|
+
failure_name: "failureName"
|
|
49307
|
+
});
|
|
49308
|
+
});
|
|
49309
|
+
GateUnavailableEvent$outboundSchema = objectType({
|
|
49310
|
+
type: GateUnavailableEventType$outboundSchema,
|
|
49311
|
+
eventId: stringType(),
|
|
49312
|
+
requestId: stringType(),
|
|
49313
|
+
failedAt: dateType().transform((v) => v.toISOString()),
|
|
49314
|
+
verdict: GateUnavailableEventVerdict$outboundSchema,
|
|
49315
|
+
reason: GateUnavailableEventReason$outboundSchema,
|
|
49316
|
+
errorMessage: stringType().optional(),
|
|
49317
|
+
failureCode: stringType().optional(),
|
|
49318
|
+
failureName: stringType().optional(),
|
|
49319
|
+
environment: GateUnavailableEventEnvironment$outboundSchema,
|
|
49320
|
+
product: stringType().optional(),
|
|
49321
|
+
act: stringType().optional(),
|
|
49322
|
+
metadata: recordType(anyType()).optional()
|
|
49323
|
+
}).transform((v) => {
|
|
49324
|
+
return remap(v, {
|
|
49325
|
+
eventId: "event_id",
|
|
49326
|
+
requestId: "request_id",
|
|
49327
|
+
failedAt: "failed_at",
|
|
49328
|
+
errorMessage: "error_message",
|
|
49329
|
+
failureCode: "failure_code",
|
|
49330
|
+
failureName: "failure_name"
|
|
49331
|
+
});
|
|
49332
|
+
});
|
|
49333
|
+
});
|
|
49334
|
+
|
|
49243
49335
|
// src/models/gate.ts
|
|
49244
49336
|
var Status, GateState, GateEnvironment, GatePreset, GateType, AgeThreshold, GateLink, Status$inboundSchema, Status$outboundSchema, GateState$inboundSchema, GateState$outboundSchema, GateEnvironment$inboundSchema, GateEnvironment$outboundSchema, GatePreset$inboundSchema, GatePreset$outboundSchema, GateType$inboundSchema, GateType$outboundSchema, AgeThreshold$inboundSchema, AgeThreshold$outboundSchema, GateLink$inboundSchema, GateLink$outboundSchema, Schedule$inboundSchema, Schedule$outboundSchema, Policy$inboundSchema, Policy$outboundSchema, Gate$inboundSchema, Gate$outboundSchema;
|
|
49245
49337
|
var init_gate = __esm(() => {
|
|
@@ -49386,16 +49478,27 @@ var init_gate = __esm(() => {
|
|
|
49386
49478
|
var GatesApiError$inboundSchema, GatesApiError$outboundSchema;
|
|
49387
49479
|
var init_gates_api_error = __esm(() => {
|
|
49388
49480
|
init_v3();
|
|
49481
|
+
init_primitives();
|
|
49389
49482
|
init_primitives2();
|
|
49390
49483
|
GatesApiError$inboundSchema = objectType({
|
|
49391
49484
|
message: string4(),
|
|
49392
49485
|
statusCode: number4(),
|
|
49393
|
-
code: string4()
|
|
49486
|
+
code: string4(),
|
|
49487
|
+
retry_after_seconds: optional3(number4())
|
|
49488
|
+
}).transform((v) => {
|
|
49489
|
+
return remap(v, {
|
|
49490
|
+
retry_after_seconds: "retryAfterSeconds"
|
|
49491
|
+
});
|
|
49394
49492
|
});
|
|
49395
49493
|
GatesApiError$outboundSchema = objectType({
|
|
49396
49494
|
message: stringType(),
|
|
49397
49495
|
statusCode: numberType().int(),
|
|
49398
|
-
code: stringType()
|
|
49496
|
+
code: stringType(),
|
|
49497
|
+
retryAfterSeconds: numberType().int().optional()
|
|
49498
|
+
}).transform((v) => {
|
|
49499
|
+
return remap(v, {
|
|
49500
|
+
retryAfterSeconds: "retry_after_seconds"
|
|
49501
|
+
});
|
|
49399
49502
|
});
|
|
49400
49503
|
});
|
|
49401
49504
|
|
|
@@ -49525,6 +49628,7 @@ var init_models = __esm(() => {
|
|
|
49525
49628
|
init_gate_human_verified_event();
|
|
49526
49629
|
init_gate_policy_doc();
|
|
49527
49630
|
init_gate_schedule();
|
|
49631
|
+
init_gate_unavailable_event();
|
|
49528
49632
|
init_gate();
|
|
49529
49633
|
init_gates_api_error();
|
|
49530
49634
|
init_inline_passkey_assertion();
|
|
@@ -49838,17 +49942,21 @@ var init_actions_propose = __esm(() => {
|
|
|
49838
49942
|
opaque_id: optional3(string4()),
|
|
49839
49943
|
botshield_user_id: optional3(string4()),
|
|
49840
49944
|
user_email: optional3(string4()),
|
|
49945
|
+
phone_number: optional3(string4()),
|
|
49841
49946
|
action: lazyType(() => ActionsProposeAction$inboundSchema),
|
|
49842
49947
|
adaptive_card_payload: optional3(recordType(anyType())),
|
|
49843
|
-
ttl_seconds: number4().default(600)
|
|
49948
|
+
ttl_seconds: number4().default(600),
|
|
49949
|
+
partner_user_ref: optional3(string4())
|
|
49844
49950
|
}).transform((v) => {
|
|
49845
49951
|
return remap(v, {
|
|
49846
49952
|
request_id: "requestId",
|
|
49847
49953
|
opaque_id: "opaqueId",
|
|
49848
49954
|
botshield_user_id: "botshieldUserId",
|
|
49849
49955
|
user_email: "userEmail",
|
|
49956
|
+
phone_number: "phoneNumber",
|
|
49850
49957
|
adaptive_card_payload: "adaptiveCardPayload",
|
|
49851
|
-
ttl_seconds: "ttlSeconds"
|
|
49958
|
+
ttl_seconds: "ttlSeconds",
|
|
49959
|
+
partner_user_ref: "partnerUserRef"
|
|
49852
49960
|
});
|
|
49853
49961
|
});
|
|
49854
49962
|
ActionsProposeRequest$outboundSchema = objectType({
|
|
@@ -49856,17 +49964,21 @@ var init_actions_propose = __esm(() => {
|
|
|
49856
49964
|
opaqueId: stringType().optional(),
|
|
49857
49965
|
botshieldUserId: stringType().optional(),
|
|
49858
49966
|
userEmail: stringType().optional(),
|
|
49967
|
+
phoneNumber: stringType().optional(),
|
|
49859
49968
|
action: lazyType(() => ActionsProposeAction$outboundSchema),
|
|
49860
49969
|
adaptiveCardPayload: recordType(anyType()).optional(),
|
|
49861
|
-
ttlSeconds: numberType().int().default(600)
|
|
49970
|
+
ttlSeconds: numberType().int().default(600),
|
|
49971
|
+
partnerUserRef: stringType().optional()
|
|
49862
49972
|
}).transform((v) => {
|
|
49863
49973
|
return remap(v, {
|
|
49864
49974
|
requestId: "request_id",
|
|
49865
49975
|
opaqueId: "opaque_id",
|
|
49866
49976
|
botshieldUserId: "botshield_user_id",
|
|
49867
49977
|
userEmail: "user_email",
|
|
49978
|
+
phoneNumber: "phone_number",
|
|
49868
49979
|
adaptiveCardPayload: "adaptive_card_payload",
|
|
49869
|
-
ttlSeconds: "ttl_seconds"
|
|
49980
|
+
ttlSeconds: "ttl_seconds",
|
|
49981
|
+
partnerUserRef: "partner_user_ref"
|
|
49870
49982
|
});
|
|
49871
49983
|
});
|
|
49872
49984
|
ActionsProposeStatus$inboundSchema = inboundSchema(ActionsProposeStatus);
|
|
@@ -49875,24 +49987,32 @@ var init_actions_propose = __esm(() => {
|
|
|
49875
49987
|
status: ActionsProposeStatus$inboundSchema,
|
|
49876
49988
|
card_id: string4(),
|
|
49877
49989
|
ttl_at: optional3(date4()),
|
|
49878
|
-
idempotent_replay: optional3(boolean4())
|
|
49990
|
+
idempotent_replay: optional3(boolean4()),
|
|
49991
|
+
request_id: optional3(string4()),
|
|
49992
|
+
match_number: optional3(number4())
|
|
49879
49993
|
}).transform((v) => {
|
|
49880
49994
|
return remap(v, {
|
|
49881
49995
|
card_id: "cardId",
|
|
49882
49996
|
ttl_at: "ttlAt",
|
|
49883
|
-
idempotent_replay: "idempotentReplay"
|
|
49997
|
+
idempotent_replay: "idempotentReplay",
|
|
49998
|
+
request_id: "requestId",
|
|
49999
|
+
match_number: "matchNumber"
|
|
49884
50000
|
});
|
|
49885
50001
|
});
|
|
49886
50002
|
ActionsProposeDataData$outboundSchema = objectType({
|
|
49887
50003
|
status: ActionsProposeStatus$outboundSchema,
|
|
49888
50004
|
cardId: stringType(),
|
|
49889
50005
|
ttlAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
49890
|
-
idempotentReplay: booleanType().optional()
|
|
50006
|
+
idempotentReplay: booleanType().optional(),
|
|
50007
|
+
requestId: stringType().optional(),
|
|
50008
|
+
matchNumber: numberType().int().optional()
|
|
49891
50009
|
}).transform((v) => {
|
|
49892
50010
|
return remap(v, {
|
|
49893
50011
|
cardId: "card_id",
|
|
49894
50012
|
ttlAt: "ttl_at",
|
|
49895
|
-
idempotentReplay: "idempotent_replay"
|
|
50013
|
+
idempotentReplay: "idempotent_replay",
|
|
50014
|
+
requestId: "request_id",
|
|
50015
|
+
matchNumber: "match_number"
|
|
49896
50016
|
});
|
|
49897
50017
|
});
|
|
49898
50018
|
ActionsProposeData$inboundSchema = objectType({
|
|
@@ -49935,12 +50055,16 @@ var init_gates_api_actions_create = __esm(() => {
|
|
|
49935
50055
|
GatesApiActionsCreateRequest$inboundSchema = objectType({
|
|
49936
50056
|
name: string4(),
|
|
49937
50057
|
actKey: string4(),
|
|
49938
|
-
whereUrl: optional3(string4())
|
|
50058
|
+
whereUrl: optional3(string4()),
|
|
50059
|
+
staffCanSend: optional3(boolean4()),
|
|
50060
|
+
highValue: optional3(boolean4())
|
|
49939
50061
|
});
|
|
49940
50062
|
GatesApiActionsCreateRequest$outboundSchema = objectType({
|
|
49941
50063
|
name: stringType(),
|
|
49942
50064
|
actKey: stringType(),
|
|
49943
|
-
whereUrl: stringType().optional()
|
|
50065
|
+
whereUrl: stringType().optional(),
|
|
50066
|
+
staffCanSend: booleanType().optional(),
|
|
50067
|
+
highValue: booleanType().optional()
|
|
49944
50068
|
});
|
|
49945
50069
|
GatesApiActionsCreateDataData$inboundSchema = objectType({
|
|
49946
50070
|
action: BotShieldAction$inboundSchema
|
|
@@ -50007,6 +50131,95 @@ var init_gates_api_actions_list = __esm(() => {
|
|
|
50007
50131
|
});
|
|
50008
50132
|
});
|
|
50009
50133
|
|
|
50134
|
+
// src/models/operations/gates-api-actions-request-cancel.ts
|
|
50135
|
+
var GatesApiActionsRequestCancelStatus, GatesApiActionsRequestCancelSecurity$inboundSchema, GatesApiActionsRequestCancelSecurity$outboundSchema, GatesApiActionsRequestCancelRequest$inboundSchema, GatesApiActionsRequestCancelRequest$outboundSchema, GatesApiActionsRequestCancelStatus$inboundSchema, GatesApiActionsRequestCancelStatus$outboundSchema, GatesApiActionsRequestCancelDataData$inboundSchema, GatesApiActionsRequestCancelDataData$outboundSchema, GatesApiActionsRequestCancelData$inboundSchema, GatesApiActionsRequestCancelData$outboundSchema, GatesApiActionsRequestCancelResponse$inboundSchema, GatesApiActionsRequestCancelResponse$outboundSchema;
|
|
50136
|
+
var init_gates_api_actions_request_cancel = __esm(() => {
|
|
50137
|
+
init_v3();
|
|
50138
|
+
init_primitives();
|
|
50139
|
+
init_enums();
|
|
50140
|
+
init_primitives2();
|
|
50141
|
+
init_models();
|
|
50142
|
+
GatesApiActionsRequestCancelStatus = {
|
|
50143
|
+
Queued: "queued",
|
|
50144
|
+
Approved: "approved",
|
|
50145
|
+
Denied: "denied",
|
|
50146
|
+
Expired: "expired",
|
|
50147
|
+
Cancelled: "cancelled"
|
|
50148
|
+
};
|
|
50149
|
+
GatesApiActionsRequestCancelSecurity$inboundSchema = objectType({
|
|
50150
|
+
GatesKeyAuth: string4()
|
|
50151
|
+
}).transform((v) => {
|
|
50152
|
+
return remap(v, {
|
|
50153
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50154
|
+
});
|
|
50155
|
+
});
|
|
50156
|
+
GatesApiActionsRequestCancelSecurity$outboundSchema = objectType({
|
|
50157
|
+
gatesKeyAuth: stringType()
|
|
50158
|
+
}).transform((v) => {
|
|
50159
|
+
return remap(v, {
|
|
50160
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50161
|
+
});
|
|
50162
|
+
});
|
|
50163
|
+
GatesApiActionsRequestCancelRequest$inboundSchema = objectType({
|
|
50164
|
+
request_id: string4(),
|
|
50165
|
+
agent: string4(),
|
|
50166
|
+
reason: optional3(string4())
|
|
50167
|
+
}).transform((v) => {
|
|
50168
|
+
return remap(v, {
|
|
50169
|
+
request_id: "requestId"
|
|
50170
|
+
});
|
|
50171
|
+
});
|
|
50172
|
+
GatesApiActionsRequestCancelRequest$outboundSchema = objectType({
|
|
50173
|
+
requestId: stringType(),
|
|
50174
|
+
agent: stringType(),
|
|
50175
|
+
reason: stringType().optional()
|
|
50176
|
+
}).transform((v) => {
|
|
50177
|
+
return remap(v, {
|
|
50178
|
+
requestId: "request_id"
|
|
50179
|
+
});
|
|
50180
|
+
});
|
|
50181
|
+
GatesApiActionsRequestCancelStatus$inboundSchema = inboundSchema(GatesApiActionsRequestCancelStatus);
|
|
50182
|
+
GatesApiActionsRequestCancelStatus$outboundSchema = outboundSchema(GatesApiActionsRequestCancelStatus);
|
|
50183
|
+
GatesApiActionsRequestCancelDataData$inboundSchema = objectType({
|
|
50184
|
+
request_id: string4(),
|
|
50185
|
+
status: GatesApiActionsRequestCancelStatus$inboundSchema,
|
|
50186
|
+
already_resolved: optional3(boolean4()),
|
|
50187
|
+
cancelled_at: optional3(date4())
|
|
50188
|
+
}).transform((v) => {
|
|
50189
|
+
return remap(v, {
|
|
50190
|
+
request_id: "requestId",
|
|
50191
|
+
already_resolved: "alreadyResolved",
|
|
50192
|
+
cancelled_at: "cancelledAt"
|
|
50193
|
+
});
|
|
50194
|
+
});
|
|
50195
|
+
GatesApiActionsRequestCancelDataData$outboundSchema = objectType({
|
|
50196
|
+
requestId: stringType(),
|
|
50197
|
+
status: GatesApiActionsRequestCancelStatus$outboundSchema,
|
|
50198
|
+
alreadyResolved: booleanType().optional(),
|
|
50199
|
+
cancelledAt: dateType().transform((v) => v.toISOString()).optional()
|
|
50200
|
+
}).transform((v) => {
|
|
50201
|
+
return remap(v, {
|
|
50202
|
+
requestId: "request_id",
|
|
50203
|
+
alreadyResolved: "already_resolved",
|
|
50204
|
+
cancelledAt: "cancelled_at"
|
|
50205
|
+
});
|
|
50206
|
+
});
|
|
50207
|
+
GatesApiActionsRequestCancelData$inboundSchema = objectType({
|
|
50208
|
+
data: optional3(lazyType(() => GatesApiActionsRequestCancelDataData$inboundSchema)),
|
|
50209
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50210
|
+
});
|
|
50211
|
+
GatesApiActionsRequestCancelData$outboundSchema = objectType({
|
|
50212
|
+
data: lazyType(() => GatesApiActionsRequestCancelDataData$outboundSchema).optional(),
|
|
50213
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50214
|
+
});
|
|
50215
|
+
GatesApiActionsRequestCancelResponse$inboundSchema = objectType({
|
|
50216
|
+
data: lazyType(() => GatesApiActionsRequestCancelData$inboundSchema)
|
|
50217
|
+
});
|
|
50218
|
+
GatesApiActionsRequestCancelResponse$outboundSchema = objectType({
|
|
50219
|
+
data: lazyType(() => GatesApiActionsRequestCancelData$outboundSchema)
|
|
50220
|
+
});
|
|
50221
|
+
});
|
|
50222
|
+
|
|
50010
50223
|
// src/models/operations/gates-api-actions-request-status.ts
|
|
50011
50224
|
var GatesApiActionsRequestStatusStatus, GatesApiActionsRequestStatusSecurity$inboundSchema, GatesApiActionsRequestStatusSecurity$outboundSchema, GatesApiActionsRequestStatusRequest$inboundSchema, GatesApiActionsRequestStatusRequest$outboundSchema, GatesApiActionsRequestStatusStatus$inboundSchema, GatesApiActionsRequestStatusStatus$outboundSchema, GatesApiActionsRequestStatusDataData$inboundSchema, GatesApiActionsRequestStatusDataData$outboundSchema, GatesApiActionsRequestStatusData$inboundSchema, GatesApiActionsRequestStatusData$outboundSchema, GatesApiActionsRequestStatusResponse$inboundSchema, GatesApiActionsRequestStatusResponse$outboundSchema;
|
|
50012
50225
|
var init_gates_api_actions_request_status = __esm(() => {
|
|
@@ -50038,6 +50251,7 @@ var init_gates_api_actions_request_status = __esm(() => {
|
|
|
50038
50251
|
});
|
|
50039
50252
|
GatesApiActionsRequestStatusRequest$inboundSchema = objectType({
|
|
50040
50253
|
request_id: string4(),
|
|
50254
|
+
agent: optional3(string4()),
|
|
50041
50255
|
wait_seconds: optional3(number4())
|
|
50042
50256
|
}).transform((v) => {
|
|
50043
50257
|
return remap(v, {
|
|
@@ -50047,6 +50261,7 @@ var init_gates_api_actions_request_status = __esm(() => {
|
|
|
50047
50261
|
});
|
|
50048
50262
|
GatesApiActionsRequestStatusRequest$outboundSchema = objectType({
|
|
50049
50263
|
requestId: stringType(),
|
|
50264
|
+
agent: stringType().optional(),
|
|
50050
50265
|
waitSeconds: numberType().int().optional()
|
|
50051
50266
|
}).transform((v) => {
|
|
50052
50267
|
return remap(v, {
|
|
@@ -50105,7 +50320,7 @@ var init_gates_api_actions_request_status = __esm(() => {
|
|
|
50105
50320
|
});
|
|
50106
50321
|
|
|
50107
50322
|
// src/models/operations/gates-api-actions-request.ts
|
|
50108
|
-
var GatesApiActionsRequestStatus, GatesApiActionsRequestSecurity$inboundSchema, GatesApiActionsRequestSecurity$outboundSchema, GatesApiActionsRequestRequest$inboundSchema, GatesApiActionsRequestRequest$outboundSchema, GatesApiActionsRequestStatus$inboundSchema, GatesApiActionsRequestStatus$outboundSchema, GatesApiActionsRequestDataData$inboundSchema, GatesApiActionsRequestDataData$outboundSchema, GatesApiActionsRequestData$inboundSchema, GatesApiActionsRequestData$outboundSchema, GatesApiActionsRequestResponse$inboundSchema, GatesApiActionsRequestResponse$outboundSchema;
|
|
50323
|
+
var GatesApiActionsRequestStatus, GatesApiActionsRequestSecurity$inboundSchema, GatesApiActionsRequestSecurity$outboundSchema, GatesApiActionsRequestDetail$inboundSchema, GatesApiActionsRequestDetail$outboundSchema, GatesApiActionsRequestRequest$inboundSchema, GatesApiActionsRequestRequest$outboundSchema, GatesApiActionsRequestStatus$inboundSchema, GatesApiActionsRequestStatus$outboundSchema, GatesApiActionsRequestDataData$inboundSchema, GatesApiActionsRequestDataData$outboundSchema, GatesApiActionsRequestData$inboundSchema, GatesApiActionsRequestData$outboundSchema, GatesApiActionsRequestResponse$inboundSchema, GatesApiActionsRequestResponse$outboundSchema;
|
|
50109
50324
|
var init_gates_api_actions_request = __esm(() => {
|
|
50110
50325
|
init_v3();
|
|
50111
50326
|
init_primitives();
|
|
@@ -50133,19 +50348,30 @@ var init_gates_api_actions_request = __esm(() => {
|
|
|
50133
50348
|
gatesKeyAuth: "GatesKeyAuth"
|
|
50134
50349
|
});
|
|
50135
50350
|
});
|
|
50351
|
+
GatesApiActionsRequestDetail$inboundSchema = objectType({
|
|
50352
|
+
label: string4(),
|
|
50353
|
+
value: string4()
|
|
50354
|
+
});
|
|
50355
|
+
GatesApiActionsRequestDetail$outboundSchema = objectType({
|
|
50356
|
+
label: stringType(),
|
|
50357
|
+
value: stringType()
|
|
50358
|
+
});
|
|
50136
50359
|
GatesApiActionsRequestRequest$inboundSchema = objectType({
|
|
50137
50360
|
request_id: string4(),
|
|
50138
50361
|
agent: string4(),
|
|
50139
50362
|
act: string4(),
|
|
50140
50363
|
act_label: optional3(string4()),
|
|
50141
|
-
partner_user_ref: string4(),
|
|
50364
|
+
partner_user_ref: optional3(string4()),
|
|
50365
|
+
phone_number: optional3(string4()),
|
|
50142
50366
|
requested_by: optional3(string4()),
|
|
50367
|
+
details: optional3(arrayType(lazyType(() => GatesApiActionsRequestDetail$inboundSchema))),
|
|
50143
50368
|
ttl_seconds: number4().default(600)
|
|
50144
50369
|
}).transform((v) => {
|
|
50145
50370
|
return remap(v, {
|
|
50146
50371
|
request_id: "requestId",
|
|
50147
50372
|
act_label: "actLabel",
|
|
50148
50373
|
partner_user_ref: "partnerUserRef",
|
|
50374
|
+
phone_number: "phoneNumber",
|
|
50149
50375
|
requested_by: "requestedBy",
|
|
50150
50376
|
ttl_seconds: "ttlSeconds"
|
|
50151
50377
|
});
|
|
@@ -50155,14 +50381,17 @@ var init_gates_api_actions_request = __esm(() => {
|
|
|
50155
50381
|
agent: stringType(),
|
|
50156
50382
|
act: stringType(),
|
|
50157
50383
|
actLabel: stringType().optional(),
|
|
50158
|
-
partnerUserRef: stringType(),
|
|
50384
|
+
partnerUserRef: stringType().optional(),
|
|
50385
|
+
phoneNumber: stringType().optional(),
|
|
50159
50386
|
requestedBy: stringType().optional(),
|
|
50387
|
+
details: arrayType(lazyType(() => GatesApiActionsRequestDetail$outboundSchema)).optional(),
|
|
50160
50388
|
ttlSeconds: numberType().int().default(600)
|
|
50161
50389
|
}).transform((v) => {
|
|
50162
50390
|
return remap(v, {
|
|
50163
50391
|
requestId: "request_id",
|
|
50164
50392
|
actLabel: "act_label",
|
|
50165
50393
|
partnerUserRef: "partner_user_ref",
|
|
50394
|
+
phoneNumber: "phone_number",
|
|
50166
50395
|
requestedBy: "requested_by",
|
|
50167
50396
|
ttlSeconds: "ttl_seconds"
|
|
50168
50397
|
});
|
|
@@ -50172,21 +50401,25 @@ var init_gates_api_actions_request = __esm(() => {
|
|
|
50172
50401
|
GatesApiActionsRequestDataData$inboundSchema = objectType({
|
|
50173
50402
|
request_id: string4(),
|
|
50174
50403
|
status: GatesApiActionsRequestStatus$inboundSchema,
|
|
50175
|
-
expires_at: date4()
|
|
50404
|
+
expires_at: date4(),
|
|
50405
|
+
match_number: optional3(number4())
|
|
50176
50406
|
}).transform((v) => {
|
|
50177
50407
|
return remap(v, {
|
|
50178
50408
|
request_id: "requestId",
|
|
50179
|
-
expires_at: "expiresAt"
|
|
50409
|
+
expires_at: "expiresAt",
|
|
50410
|
+
match_number: "matchNumber"
|
|
50180
50411
|
});
|
|
50181
50412
|
});
|
|
50182
50413
|
GatesApiActionsRequestDataData$outboundSchema = objectType({
|
|
50183
50414
|
requestId: stringType(),
|
|
50184
50415
|
status: GatesApiActionsRequestStatus$outboundSchema,
|
|
50185
|
-
expiresAt: dateType().transform((v) => v.toISOString())
|
|
50416
|
+
expiresAt: dateType().transform((v) => v.toISOString()),
|
|
50417
|
+
matchNumber: numberType().int().optional()
|
|
50186
50418
|
}).transform((v) => {
|
|
50187
50419
|
return remap(v, {
|
|
50188
50420
|
requestId: "request_id",
|
|
50189
|
-
expiresAt: "expires_at"
|
|
50421
|
+
expiresAt: "expires_at",
|
|
50422
|
+
matchNumber: "match_number"
|
|
50190
50423
|
});
|
|
50191
50424
|
});
|
|
50192
50425
|
GatesApiActionsRequestData$inboundSchema = objectType({
|
|
@@ -50262,6 +50495,61 @@ var init_gates_api_actions_set_state = __esm(() => {
|
|
|
50262
50495
|
});
|
|
50263
50496
|
});
|
|
50264
50497
|
|
|
50498
|
+
// src/models/operations/gates-api-actions-update.ts
|
|
50499
|
+
var GatesApiActionsUpdateSecurity$inboundSchema, GatesApiActionsUpdateSecurity$outboundSchema, GatesApiActionsUpdateRequest$inboundSchema, GatesApiActionsUpdateRequest$outboundSchema, GatesApiActionsUpdateDataData$inboundSchema, GatesApiActionsUpdateDataData$outboundSchema, GatesApiActionsUpdateData$inboundSchema, GatesApiActionsUpdateData$outboundSchema, GatesApiActionsUpdateResponse$inboundSchema, GatesApiActionsUpdateResponse$outboundSchema;
|
|
50500
|
+
var init_gates_api_actions_update = __esm(() => {
|
|
50501
|
+
init_v3();
|
|
50502
|
+
init_primitives();
|
|
50503
|
+
init_primitives2();
|
|
50504
|
+
init_models();
|
|
50505
|
+
GatesApiActionsUpdateSecurity$inboundSchema = objectType({
|
|
50506
|
+
GatesKeyAuth: string4()
|
|
50507
|
+
}).transform((v) => {
|
|
50508
|
+
return remap(v, {
|
|
50509
|
+
GatesKeyAuth: "gatesKeyAuth"
|
|
50510
|
+
});
|
|
50511
|
+
});
|
|
50512
|
+
GatesApiActionsUpdateSecurity$outboundSchema = objectType({
|
|
50513
|
+
gatesKeyAuth: stringType()
|
|
50514
|
+
}).transform((v) => {
|
|
50515
|
+
return remap(v, {
|
|
50516
|
+
gatesKeyAuth: "GatesKeyAuth"
|
|
50517
|
+
});
|
|
50518
|
+
});
|
|
50519
|
+
GatesApiActionsUpdateRequest$inboundSchema = objectType({
|
|
50520
|
+
actKey: string4(),
|
|
50521
|
+
name: optional3(string4()),
|
|
50522
|
+
staffCanSend: optional3(boolean4()),
|
|
50523
|
+
highValue: optional3(boolean4())
|
|
50524
|
+
});
|
|
50525
|
+
GatesApiActionsUpdateRequest$outboundSchema = objectType({
|
|
50526
|
+
actKey: stringType(),
|
|
50527
|
+
name: stringType().optional(),
|
|
50528
|
+
staffCanSend: booleanType().optional(),
|
|
50529
|
+
highValue: booleanType().optional()
|
|
50530
|
+
});
|
|
50531
|
+
GatesApiActionsUpdateDataData$inboundSchema = objectType({
|
|
50532
|
+
action: BotShieldAction$inboundSchema
|
|
50533
|
+
});
|
|
50534
|
+
GatesApiActionsUpdateDataData$outboundSchema = objectType({
|
|
50535
|
+
action: BotShieldAction$outboundSchema
|
|
50536
|
+
});
|
|
50537
|
+
GatesApiActionsUpdateData$inboundSchema = objectType({
|
|
50538
|
+
data: optional3(lazyType(() => GatesApiActionsUpdateDataData$inboundSchema)),
|
|
50539
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
50540
|
+
});
|
|
50541
|
+
GatesApiActionsUpdateData$outboundSchema = objectType({
|
|
50542
|
+
data: lazyType(() => GatesApiActionsUpdateDataData$outboundSchema).optional(),
|
|
50543
|
+
error: GatesApiError$outboundSchema.optional()
|
|
50544
|
+
});
|
|
50545
|
+
GatesApiActionsUpdateResponse$inboundSchema = objectType({
|
|
50546
|
+
data: lazyType(() => GatesApiActionsUpdateData$inboundSchema)
|
|
50547
|
+
});
|
|
50548
|
+
GatesApiActionsUpdateResponse$outboundSchema = objectType({
|
|
50549
|
+
data: lazyType(() => GatesApiActionsUpdateData$outboundSchema)
|
|
50550
|
+
});
|
|
50551
|
+
});
|
|
50552
|
+
|
|
50265
50553
|
// src/models/operations/gates-api-activate.ts
|
|
50266
50554
|
var GatesApiActivateSecurity$inboundSchema, GatesApiActivateSecurity$outboundSchema, GatesApiActivateRequest$inboundSchema, GatesApiActivateRequest$outboundSchema, GatesApiActivateDataData$inboundSchema, GatesApiActivateDataData$outboundSchema, GatesApiActivateData$inboundSchema, GatesApiActivateData$outboundSchema, GatesApiActivateResponse$inboundSchema, GatesApiActivateResponse$outboundSchema;
|
|
50267
50555
|
var init_gates_api_activate = __esm(() => {
|
|
@@ -50828,6 +51116,113 @@ var init_request_passkey_options = __esm(() => {
|
|
|
50828
51116
|
});
|
|
50829
51117
|
});
|
|
50830
51118
|
|
|
51119
|
+
// src/models/operations/sdk-confirm-link.ts
|
|
51120
|
+
var SDKConfirmLinkState, SDKConfirmLinkSecurity$inboundSchema, SDKConfirmLinkSecurity$outboundSchema, SDKConfirmLinkRequest$inboundSchema, SDKConfirmLinkRequest$outboundSchema, SDKConfirmLinkState$inboundSchema, SDKConfirmLinkState$outboundSchema, SDKConfirmLinkDataData$inboundSchema, SDKConfirmLinkDataData$outboundSchema, SDKConfirmLinkError$inboundSchema, SDKConfirmLinkError$outboundSchema, SDKConfirmLinkData$inboundSchema, SDKConfirmLinkData$outboundSchema, SDKConfirmLinkResponse$inboundSchema, SDKConfirmLinkResponse$outboundSchema;
|
|
51121
|
+
var init_sdk_confirm_link = __esm(() => {
|
|
51122
|
+
init_v3();
|
|
51123
|
+
init_primitives();
|
|
51124
|
+
init_primitives2();
|
|
51125
|
+
SDKConfirmLinkState = {
|
|
51126
|
+
Live: "live"
|
|
51127
|
+
};
|
|
51128
|
+
SDKConfirmLinkSecurity$inboundSchema = objectType({
|
|
51129
|
+
ApiKeyAuth: string4()
|
|
51130
|
+
}).transform((v) => {
|
|
51131
|
+
return remap(v, {
|
|
51132
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
51133
|
+
});
|
|
51134
|
+
});
|
|
51135
|
+
SDKConfirmLinkSecurity$outboundSchema = objectType({
|
|
51136
|
+
apiKeyAuth: stringType()
|
|
51137
|
+
}).transform((v) => {
|
|
51138
|
+
return remap(v, {
|
|
51139
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51140
|
+
});
|
|
51141
|
+
});
|
|
51142
|
+
SDKConfirmLinkRequest$inboundSchema = objectType({
|
|
51143
|
+
request_id: string4(),
|
|
51144
|
+
partner_user_ref: optional3(string4()),
|
|
51145
|
+
partner_user_id: optional3(string4())
|
|
51146
|
+
}).transform((v) => {
|
|
51147
|
+
return remap(v, {
|
|
51148
|
+
request_id: "requestId",
|
|
51149
|
+
partner_user_ref: "partnerUserRef",
|
|
51150
|
+
partner_user_id: "partnerUserId"
|
|
51151
|
+
});
|
|
51152
|
+
});
|
|
51153
|
+
SDKConfirmLinkRequest$outboundSchema = objectType({
|
|
51154
|
+
requestId: stringType(),
|
|
51155
|
+
partnerUserRef: stringType().optional(),
|
|
51156
|
+
partnerUserId: stringType().optional()
|
|
51157
|
+
}).transform((v) => {
|
|
51158
|
+
return remap(v, {
|
|
51159
|
+
requestId: "request_id",
|
|
51160
|
+
partnerUserRef: "partner_user_ref",
|
|
51161
|
+
partnerUserId: "partner_user_id"
|
|
51162
|
+
});
|
|
51163
|
+
});
|
|
51164
|
+
SDKConfirmLinkState$inboundSchema = nativeEnumType(SDKConfirmLinkState);
|
|
51165
|
+
SDKConfirmLinkState$outboundSchema = SDKConfirmLinkState$inboundSchema;
|
|
51166
|
+
SDKConfirmLinkDataData$inboundSchema = objectType({
|
|
51167
|
+
linked: optional3(boolean4()),
|
|
51168
|
+
state: optional3(SDKConfirmLinkState$inboundSchema),
|
|
51169
|
+
first_time: optional3(boolean4()),
|
|
51170
|
+
request_id: optional3(string4()),
|
|
51171
|
+
handle: optional3(string4()),
|
|
51172
|
+
trusted: optional3(boolean4()),
|
|
51173
|
+
trusted_since: optional3(date4()),
|
|
51174
|
+
verification_token: optional3(string4())
|
|
51175
|
+
}).transform((v) => {
|
|
51176
|
+
return remap(v, {
|
|
51177
|
+
first_time: "firstTime",
|
|
51178
|
+
request_id: "requestId",
|
|
51179
|
+
trusted_since: "trustedSince",
|
|
51180
|
+
verification_token: "verificationToken"
|
|
51181
|
+
});
|
|
51182
|
+
});
|
|
51183
|
+
SDKConfirmLinkDataData$outboundSchema = objectType({
|
|
51184
|
+
linked: booleanType().optional(),
|
|
51185
|
+
state: SDKConfirmLinkState$outboundSchema.optional(),
|
|
51186
|
+
firstTime: booleanType().optional(),
|
|
51187
|
+
requestId: stringType().optional(),
|
|
51188
|
+
handle: stringType().optional(),
|
|
51189
|
+
trusted: booleanType().optional(),
|
|
51190
|
+
trustedSince: dateType().transform((v) => v.toISOString()).optional(),
|
|
51191
|
+
verificationToken: stringType().optional()
|
|
51192
|
+
}).transform((v) => {
|
|
51193
|
+
return remap(v, {
|
|
51194
|
+
firstTime: "first_time",
|
|
51195
|
+
requestId: "request_id",
|
|
51196
|
+
trustedSince: "trusted_since",
|
|
51197
|
+
verificationToken: "verification_token"
|
|
51198
|
+
});
|
|
51199
|
+
});
|
|
51200
|
+
SDKConfirmLinkError$inboundSchema = objectType({
|
|
51201
|
+
code: optional3(string4()),
|
|
51202
|
+
message: optional3(string4()),
|
|
51203
|
+
statusCode: optional3(number4())
|
|
51204
|
+
});
|
|
51205
|
+
SDKConfirmLinkError$outboundSchema = objectType({
|
|
51206
|
+
code: stringType().optional(),
|
|
51207
|
+
message: stringType().optional(),
|
|
51208
|
+
statusCode: numberType().int().optional()
|
|
51209
|
+
});
|
|
51210
|
+
SDKConfirmLinkData$inboundSchema = objectType({
|
|
51211
|
+
data: optional3(lazyType(() => SDKConfirmLinkDataData$inboundSchema)),
|
|
51212
|
+
error: optional3(lazyType(() => SDKConfirmLinkError$inboundSchema))
|
|
51213
|
+
});
|
|
51214
|
+
SDKConfirmLinkData$outboundSchema = objectType({
|
|
51215
|
+
data: lazyType(() => SDKConfirmLinkDataData$outboundSchema).optional(),
|
|
51216
|
+
error: lazyType(() => SDKConfirmLinkError$outboundSchema).optional()
|
|
51217
|
+
});
|
|
51218
|
+
SDKConfirmLinkResponse$inboundSchema = objectType({
|
|
51219
|
+
data: optional3(lazyType(() => SDKConfirmLinkData$inboundSchema))
|
|
51220
|
+
});
|
|
51221
|
+
SDKConfirmLinkResponse$outboundSchema = objectType({
|
|
51222
|
+
data: lazyType(() => SDKConfirmLinkData$outboundSchema).optional()
|
|
51223
|
+
});
|
|
51224
|
+
});
|
|
51225
|
+
|
|
50831
51226
|
// src/models/operations/sdk-create-session.ts
|
|
50832
51227
|
var SDKCreateSessionEnvironment, SDKCreateSessionNotarizeFallbackReason, SDKCreateSessionSecurity$inboundSchema, SDKCreateSessionSecurity$outboundSchema, SDKCreateSessionRequest$inboundSchema, SDKCreateSessionRequest$outboundSchema, SDKCreateSessionEnvironment$inboundSchema, SDKCreateSessionEnvironment$outboundSchema, SDKCreateSessionOrganization$inboundSchema, SDKCreateSessionOrganization$outboundSchema, SDKCreateSessionNotarizeFallbackReason$inboundSchema, SDKCreateSessionNotarizeFallbackReason$outboundSchema, DataNotarizeRequiresUserRef$inboundSchema, DataNotarizeRequiresUserRef$outboundSchema, SDKCreateSessionData$inboundSchema, SDKCreateSessionData$outboundSchema, SDKCreateSessionResponse$inboundSchema, SDKCreateSessionResponse$outboundSchema;
|
|
50833
51228
|
var init_sdk_create_session = __esm(() => {
|
|
@@ -50948,7 +51343,7 @@ var init_sdk_create_session = __esm(() => {
|
|
|
50948
51343
|
});
|
|
50949
51344
|
|
|
50950
51345
|
// src/models/operations/sdk-create-verification-link.ts
|
|
50951
|
-
var SDKTypeRequest, Mode, SDKCreateVerificationLinkSDKTypeResponse, AuthMode, SDKCreateVerificationLinkGateType, SDKCreateVerificationLinkAgeThreshold, SDKCreateVerificationLinkNotarizeFallbackReason, SDKCreateVerificationLinkSecurity$inboundSchema, SDKCreateVerificationLinkSecurity$outboundSchema, SDKTypeRequest$inboundSchema, SDKTypeRequest$outboundSchema, Mode$inboundSchema, Mode$outboundSchema, SDKCreateVerificationLinkRequest$inboundSchema, SDKCreateVerificationLinkRequest$outboundSchema, SDKCreateVerificationLinkSDKTypeResponse$inboundSchema, SDKCreateVerificationLinkSDKTypeResponse$outboundSchema, AuthMode$inboundSchema, AuthMode$outboundSchema, SDKCreateVerificationLinkOrganization$inboundSchema, SDKCreateVerificationLinkOrganization$outboundSchema, SDKCreateVerificationLinkGateType$inboundSchema, SDKCreateVerificationLinkGateType$outboundSchema, SDKCreateVerificationLinkAgeThreshold$inboundSchema, SDKCreateVerificationLinkAgeThreshold$outboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema, SDKCreateVerificationLinkDataData$inboundSchema, SDKCreateVerificationLinkDataData$outboundSchema, SDKCreateVerificationLinkData$inboundSchema, SDKCreateVerificationLinkData$outboundSchema, SDKCreateVerificationLinkResponse$inboundSchema, SDKCreateVerificationLinkResponse$outboundSchema;
|
|
51346
|
+
var SDKTypeRequest, Mode, SDKCreateVerificationLinkSDKTypeResponse, AuthMode, Delivery, PushSkipped, SDKCreateVerificationLinkGateType, SDKCreateVerificationLinkAgeThreshold, SDKCreateVerificationLinkNotarizeFallbackReason, SDKCreateVerificationLinkSecurity$inboundSchema, SDKCreateVerificationLinkSecurity$outboundSchema, SDKTypeRequest$inboundSchema, SDKTypeRequest$outboundSchema, Mode$inboundSchema, Mode$outboundSchema, SDKCreateVerificationLinkRequest$inboundSchema, SDKCreateVerificationLinkRequest$outboundSchema, SDKCreateVerificationLinkSDKTypeResponse$inboundSchema, SDKCreateVerificationLinkSDKTypeResponse$outboundSchema, AuthMode$inboundSchema, AuthMode$outboundSchema, SDKCreateVerificationLinkOrganization$inboundSchema, SDKCreateVerificationLinkOrganization$outboundSchema, Delivery$inboundSchema, Delivery$outboundSchema, PushSkipped$inboundSchema, PushSkipped$outboundSchema, SDKCreateVerificationLinkGateType$inboundSchema, SDKCreateVerificationLinkGateType$outboundSchema, SDKCreateVerificationLinkAgeThreshold$inboundSchema, SDKCreateVerificationLinkAgeThreshold$outboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema, SDKCreateVerificationLinkDataData$inboundSchema, SDKCreateVerificationLinkDataData$outboundSchema, SDKCreateVerificationLinkData$inboundSchema, SDKCreateVerificationLinkData$outboundSchema, SDKCreateVerificationLinkResponse$inboundSchema, SDKCreateVerificationLinkResponse$outboundSchema;
|
|
50952
51347
|
var init_sdk_create_verification_link = __esm(() => {
|
|
50953
51348
|
init_v3();
|
|
50954
51349
|
init_primitives();
|
|
@@ -50971,6 +51366,15 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
50971
51366
|
LinkedAccount: "linked-account",
|
|
50972
51367
|
Private: "private"
|
|
50973
51368
|
};
|
|
51369
|
+
Delivery = {
|
|
51370
|
+
Pushed: "pushed",
|
|
51371
|
+
NotDelivered: "not_delivered",
|
|
51372
|
+
NotLinked: "not_linked"
|
|
51373
|
+
};
|
|
51374
|
+
PushSkipped = {
|
|
51375
|
+
DailyCap: "daily_cap",
|
|
51376
|
+
Unavailable: "unavailable"
|
|
51377
|
+
};
|
|
50974
51378
|
SDKCreateVerificationLinkGateType = {
|
|
50975
51379
|
Human: "human",
|
|
50976
51380
|
Age: "age"
|
|
@@ -51071,6 +51475,10 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51071
51475
|
SDKCreateVerificationLinkOrganization$outboundSchema = objectType({
|
|
51072
51476
|
id: stringType().optional()
|
|
51073
51477
|
});
|
|
51478
|
+
Delivery$inboundSchema = inboundSchema(Delivery);
|
|
51479
|
+
Delivery$outboundSchema = outboundSchema(Delivery);
|
|
51480
|
+
PushSkipped$inboundSchema = inboundSchema(PushSkipped);
|
|
51481
|
+
PushSkipped$outboundSchema = outboundSchema(PushSkipped);
|
|
51074
51482
|
SDKCreateVerificationLinkGateType$inboundSchema = inboundSchema(SDKCreateVerificationLinkGateType);
|
|
51075
51483
|
SDKCreateVerificationLinkGateType$outboundSchema = outboundSchema(SDKCreateVerificationLinkGateType);
|
|
51076
51484
|
SDKCreateVerificationLinkAgeThreshold$inboundSchema = inboundSchemaInt(SDKCreateVerificationLinkAgeThreshold);
|
|
@@ -51088,6 +51496,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51088
51496
|
scope: optional3(string4()),
|
|
51089
51497
|
organization: optional3(lazyType(() => SDKCreateVerificationLinkOrganization$inboundSchema)),
|
|
51090
51498
|
pushed_to_devices: number4(),
|
|
51499
|
+
delivery: optional3(Delivery$inboundSchema),
|
|
51500
|
+
push_skipped: optional3(PushSkipped$inboundSchema),
|
|
51091
51501
|
gate_type: optional3(SDKCreateVerificationLinkGateType$inboundSchema),
|
|
51092
51502
|
age_threshold: optional3(SDKCreateVerificationLinkAgeThreshold$inboundSchema),
|
|
51093
51503
|
trusted: optional3(boolean4()),
|
|
@@ -51104,6 +51514,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51104
51514
|
sdk_type: "sdkType",
|
|
51105
51515
|
auth_mode: "authMode",
|
|
51106
51516
|
pushed_to_devices: "pushedToDevices",
|
|
51517
|
+
push_skipped: "pushSkipped",
|
|
51107
51518
|
gate_type: "gateType",
|
|
51108
51519
|
age_threshold: "ageThreshold",
|
|
51109
51520
|
notarize_fallback_reason: "notarizeFallbackReason"
|
|
@@ -51120,6 +51531,8 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51120
51531
|
scope: stringType().optional(),
|
|
51121
51532
|
organization: lazyType(() => SDKCreateVerificationLinkOrganization$outboundSchema).optional(),
|
|
51122
51533
|
pushedToDevices: numberType().int(),
|
|
51534
|
+
delivery: Delivery$outboundSchema.optional(),
|
|
51535
|
+
pushSkipped: PushSkipped$outboundSchema.optional(),
|
|
51123
51536
|
gateType: SDKCreateVerificationLinkGateType$outboundSchema.optional(),
|
|
51124
51537
|
ageThreshold: SDKCreateVerificationLinkAgeThreshold$outboundSchema.optional(),
|
|
51125
51538
|
trusted: booleanType().optional(),
|
|
@@ -51136,6 +51549,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51136
51549
|
sdkType: "sdk_type",
|
|
51137
51550
|
authMode: "auth_mode",
|
|
51138
51551
|
pushedToDevices: "pushed_to_devices",
|
|
51552
|
+
pushSkipped: "push_skipped",
|
|
51139
51553
|
gateType: "gate_type",
|
|
51140
51554
|
ageThreshold: "age_threshold",
|
|
51141
51555
|
notarizeFallbackReason: "notarize_fallback_reason"
|
|
@@ -51397,6 +51811,111 @@ var init_sdk_revoke_verification = __esm(() => {
|
|
|
51397
51811
|
});
|
|
51398
51812
|
});
|
|
51399
51813
|
|
|
51814
|
+
// src/models/operations/sdk-send-by-number.ts
|
|
51815
|
+
var SDKSendByNumberStatus, SDKSendByNumberSecurity$inboundSchema, SDKSendByNumberSecurity$outboundSchema, SDKSendByNumberRequest$inboundSchema, SDKSendByNumberRequest$outboundSchema, SDKSendByNumberStatus$inboundSchema, SDKSendByNumberStatus$outboundSchema, SDKSendByNumberDataData$inboundSchema, SDKSendByNumberDataData$outboundSchema, SDKSendByNumberError$inboundSchema, SDKSendByNumberError$outboundSchema, SDKSendByNumberData$inboundSchema, SDKSendByNumberData$outboundSchema, SDKSendByNumberResponse$inboundSchema, SDKSendByNumberResponse$outboundSchema;
|
|
51816
|
+
var init_sdk_send_by_number = __esm(() => {
|
|
51817
|
+
init_v3();
|
|
51818
|
+
init_primitives();
|
|
51819
|
+
init_primitives2();
|
|
51820
|
+
SDKSendByNumberStatus = {
|
|
51821
|
+
Sent: "sent"
|
|
51822
|
+
};
|
|
51823
|
+
SDKSendByNumberSecurity$inboundSchema = objectType({
|
|
51824
|
+
ApiKeyAuth: string4()
|
|
51825
|
+
}).transform((v) => {
|
|
51826
|
+
return remap(v, {
|
|
51827
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
51828
|
+
});
|
|
51829
|
+
});
|
|
51830
|
+
SDKSendByNumberSecurity$outboundSchema = objectType({
|
|
51831
|
+
apiKeyAuth: stringType()
|
|
51832
|
+
}).transform((v) => {
|
|
51833
|
+
return remap(v, {
|
|
51834
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51835
|
+
});
|
|
51836
|
+
});
|
|
51837
|
+
SDKSendByNumberRequest$inboundSchema = objectType({
|
|
51838
|
+
phone_number: string4(),
|
|
51839
|
+
act: string4(),
|
|
51840
|
+
act_label: optional3(string4())
|
|
51841
|
+
}).transform((v) => {
|
|
51842
|
+
return remap(v, {
|
|
51843
|
+
phone_number: "phoneNumber",
|
|
51844
|
+
act_label: "actLabel"
|
|
51845
|
+
});
|
|
51846
|
+
});
|
|
51847
|
+
SDKSendByNumberRequest$outboundSchema = objectType({
|
|
51848
|
+
phoneNumber: stringType(),
|
|
51849
|
+
act: stringType(),
|
|
51850
|
+
actLabel: stringType().optional()
|
|
51851
|
+
}).transform((v) => {
|
|
51852
|
+
return remap(v, {
|
|
51853
|
+
phoneNumber: "phone_number",
|
|
51854
|
+
actLabel: "act_label"
|
|
51855
|
+
});
|
|
51856
|
+
});
|
|
51857
|
+
SDKSendByNumberStatus$inboundSchema = nativeEnumType(SDKSendByNumberStatus);
|
|
51858
|
+
SDKSendByNumberStatus$outboundSchema = SDKSendByNumberStatus$inboundSchema;
|
|
51859
|
+
SDKSendByNumberDataData$inboundSchema = objectType({
|
|
51860
|
+
status: optional3(SDKSendByNumberStatus$inboundSchema),
|
|
51861
|
+
request_id: optional3(string4()),
|
|
51862
|
+
expires_at: optional3(date4()),
|
|
51863
|
+
match_number: optional3(number4())
|
|
51864
|
+
}).transform((v) => {
|
|
51865
|
+
return remap(v, {
|
|
51866
|
+
request_id: "requestId",
|
|
51867
|
+
expires_at: "expiresAt",
|
|
51868
|
+
match_number: "matchNumber"
|
|
51869
|
+
});
|
|
51870
|
+
});
|
|
51871
|
+
SDKSendByNumberDataData$outboundSchema = objectType({
|
|
51872
|
+
status: SDKSendByNumberStatus$outboundSchema.optional(),
|
|
51873
|
+
requestId: stringType().optional(),
|
|
51874
|
+
expiresAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
51875
|
+
matchNumber: numberType().int().optional()
|
|
51876
|
+
}).transform((v) => {
|
|
51877
|
+
return remap(v, {
|
|
51878
|
+
requestId: "request_id",
|
|
51879
|
+
expiresAt: "expires_at",
|
|
51880
|
+
matchNumber: "match_number"
|
|
51881
|
+
});
|
|
51882
|
+
});
|
|
51883
|
+
SDKSendByNumberError$inboundSchema = objectType({
|
|
51884
|
+
code: optional3(string4()),
|
|
51885
|
+
message: optional3(string4()),
|
|
51886
|
+
statusCode: optional3(number4()),
|
|
51887
|
+
retry_after_seconds: optional3(number4())
|
|
51888
|
+
}).transform((v) => {
|
|
51889
|
+
return remap(v, {
|
|
51890
|
+
retry_after_seconds: "retryAfterSeconds"
|
|
51891
|
+
});
|
|
51892
|
+
});
|
|
51893
|
+
SDKSendByNumberError$outboundSchema = objectType({
|
|
51894
|
+
code: stringType().optional(),
|
|
51895
|
+
message: stringType().optional(),
|
|
51896
|
+
statusCode: numberType().int().optional(),
|
|
51897
|
+
retryAfterSeconds: numberType().int().optional()
|
|
51898
|
+
}).transform((v) => {
|
|
51899
|
+
return remap(v, {
|
|
51900
|
+
retryAfterSeconds: "retry_after_seconds"
|
|
51901
|
+
});
|
|
51902
|
+
});
|
|
51903
|
+
SDKSendByNumberData$inboundSchema = objectType({
|
|
51904
|
+
data: optional3(lazyType(() => SDKSendByNumberDataData$inboundSchema)),
|
|
51905
|
+
error: optional3(lazyType(() => SDKSendByNumberError$inboundSchema))
|
|
51906
|
+
});
|
|
51907
|
+
SDKSendByNumberData$outboundSchema = objectType({
|
|
51908
|
+
data: lazyType(() => SDKSendByNumberDataData$outboundSchema).optional(),
|
|
51909
|
+
error: lazyType(() => SDKSendByNumberError$outboundSchema).optional()
|
|
51910
|
+
});
|
|
51911
|
+
SDKSendByNumberResponse$inboundSchema = objectType({
|
|
51912
|
+
data: optional3(lazyType(() => SDKSendByNumberData$inboundSchema))
|
|
51913
|
+
});
|
|
51914
|
+
SDKSendByNumberResponse$outboundSchema = objectType({
|
|
51915
|
+
data: lazyType(() => SDKSendByNumberData$outboundSchema).optional()
|
|
51916
|
+
});
|
|
51917
|
+
});
|
|
51918
|
+
|
|
51400
51919
|
// src/models/operations/sdk-store-signal.ts
|
|
51401
51920
|
var SDKStoreSignalRequest$inboundSchema, SDKStoreSignalRequest$outboundSchema, SDKStoreSignalDataData$inboundSchema, SDKStoreSignalDataData$outboundSchema, SDKStoreSignalData$inboundSchema, SDKStoreSignalData$outboundSchema, SDKStoreSignalResponse$inboundSchema, SDKStoreSignalResponse$outboundSchema;
|
|
51402
51921
|
var init_sdk_store_signal = __esm(() => {
|
|
@@ -51559,8 +52078,102 @@ var init_sdk_validate_signal = __esm(() => {
|
|
|
51559
52078
|
});
|
|
51560
52079
|
});
|
|
51561
52080
|
|
|
52081
|
+
// src/models/operations/sdk-verify-resolution.ts
|
|
52082
|
+
var SDKVerifyResolutionVerdict, SDKVerifyResolutionSecurity$inboundSchema, SDKVerifyResolutionSecurity$outboundSchema, SDKVerifyResolutionRequest$inboundSchema, SDKVerifyResolutionRequest$outboundSchema, SDKVerifyResolutionVerdict$inboundSchema, SDKVerifyResolutionVerdict$outboundSchema, SDKVerifyResolutionDataData$inboundSchema, SDKVerifyResolutionDataData$outboundSchema, SDKVerifyResolutionData$inboundSchema, SDKVerifyResolutionData$outboundSchema, SDKVerifyResolutionResponse$inboundSchema, SDKVerifyResolutionResponse$outboundSchema;
|
|
52083
|
+
var init_sdk_verify_resolution = __esm(() => {
|
|
52084
|
+
init_v3();
|
|
52085
|
+
init_primitives();
|
|
52086
|
+
init_primitives2();
|
|
52087
|
+
init_models();
|
|
52088
|
+
SDKVerifyResolutionVerdict = {
|
|
52089
|
+
Approve: "approve"
|
|
52090
|
+
};
|
|
52091
|
+
SDKVerifyResolutionSecurity$inboundSchema = objectType({
|
|
52092
|
+
AgentKeyAuth: optional3(string4()),
|
|
52093
|
+
ApiKeyAuth: optional3(string4())
|
|
52094
|
+
}).transform((v) => {
|
|
52095
|
+
return remap(v, {
|
|
52096
|
+
AgentKeyAuth: "agentKeyAuth",
|
|
52097
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
52098
|
+
});
|
|
52099
|
+
});
|
|
52100
|
+
SDKVerifyResolutionSecurity$outboundSchema = objectType({
|
|
52101
|
+
agentKeyAuth: stringType().optional(),
|
|
52102
|
+
apiKeyAuth: stringType().optional()
|
|
52103
|
+
}).transform((v) => {
|
|
52104
|
+
return remap(v, {
|
|
52105
|
+
agentKeyAuth: "AgentKeyAuth",
|
|
52106
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
52107
|
+
});
|
|
52108
|
+
});
|
|
52109
|
+
SDKVerifyResolutionRequest$inboundSchema = objectType({
|
|
52110
|
+
token: string4()
|
|
52111
|
+
});
|
|
52112
|
+
SDKVerifyResolutionRequest$outboundSchema = objectType({
|
|
52113
|
+
token: stringType()
|
|
52114
|
+
});
|
|
52115
|
+
SDKVerifyResolutionVerdict$inboundSchema = nativeEnumType(SDKVerifyResolutionVerdict);
|
|
52116
|
+
SDKVerifyResolutionVerdict$outboundSchema = SDKVerifyResolutionVerdict$inboundSchema;
|
|
52117
|
+
SDKVerifyResolutionDataData$inboundSchema = objectType({
|
|
52118
|
+
valid: boolean4(),
|
|
52119
|
+
replayed: optional3(boolean4()),
|
|
52120
|
+
reason: optional3(string4()),
|
|
52121
|
+
request_id: optional3(string4()),
|
|
52122
|
+
verdict: optional3(SDKVerifyResolutionVerdict$inboundSchema),
|
|
52123
|
+
action: optional3(recordType(anyType())),
|
|
52124
|
+
agent_id: optional3(string4()),
|
|
52125
|
+
approved_at: optional3(date4()),
|
|
52126
|
+
expires_at: optional3(date4()),
|
|
52127
|
+
ceremony_id: nullableType(string4()).optional(),
|
|
52128
|
+
method: nullableType(string4()).optional()
|
|
52129
|
+
}).transform((v) => {
|
|
52130
|
+
return remap(v, {
|
|
52131
|
+
request_id: "requestId",
|
|
52132
|
+
agent_id: "agentId",
|
|
52133
|
+
approved_at: "approvedAt",
|
|
52134
|
+
expires_at: "expiresAt",
|
|
52135
|
+
ceremony_id: "ceremonyId"
|
|
52136
|
+
});
|
|
52137
|
+
});
|
|
52138
|
+
SDKVerifyResolutionDataData$outboundSchema = objectType({
|
|
52139
|
+
valid: booleanType(),
|
|
52140
|
+
replayed: booleanType().optional(),
|
|
52141
|
+
reason: stringType().optional(),
|
|
52142
|
+
requestId: stringType().optional(),
|
|
52143
|
+
verdict: SDKVerifyResolutionVerdict$outboundSchema.optional(),
|
|
52144
|
+
action: recordType(anyType()).optional(),
|
|
52145
|
+
agentId: stringType().optional(),
|
|
52146
|
+
approvedAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
52147
|
+
expiresAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
52148
|
+
ceremonyId: nullableType(stringType()).optional(),
|
|
52149
|
+
method: nullableType(stringType()).optional()
|
|
52150
|
+
}).transform((v) => {
|
|
52151
|
+
return remap(v, {
|
|
52152
|
+
requestId: "request_id",
|
|
52153
|
+
agentId: "agent_id",
|
|
52154
|
+
approvedAt: "approved_at",
|
|
52155
|
+
expiresAt: "expires_at",
|
|
52156
|
+
ceremonyId: "ceremony_id"
|
|
52157
|
+
});
|
|
52158
|
+
});
|
|
52159
|
+
SDKVerifyResolutionData$inboundSchema = objectType({
|
|
52160
|
+
data: optional3(lazyType(() => SDKVerifyResolutionDataData$inboundSchema)),
|
|
52161
|
+
error: optional3(GatesApiError$inboundSchema)
|
|
52162
|
+
});
|
|
52163
|
+
SDKVerifyResolutionData$outboundSchema = objectType({
|
|
52164
|
+
data: lazyType(() => SDKVerifyResolutionDataData$outboundSchema).optional(),
|
|
52165
|
+
error: GatesApiError$outboundSchema.optional()
|
|
52166
|
+
});
|
|
52167
|
+
SDKVerifyResolutionResponse$inboundSchema = objectType({
|
|
52168
|
+
data: lazyType(() => SDKVerifyResolutionData$inboundSchema)
|
|
52169
|
+
});
|
|
52170
|
+
SDKVerifyResolutionResponse$outboundSchema = objectType({
|
|
52171
|
+
data: lazyType(() => SDKVerifyResolutionData$outboundSchema)
|
|
52172
|
+
});
|
|
52173
|
+
});
|
|
52174
|
+
|
|
51562
52175
|
// src/models/operations/sdk-verify-token.ts
|
|
51563
|
-
var AgeOver, SDKVerifyTokenVerdict, SDKVerifyTokenSecurity$inboundSchema, SDKVerifyTokenSecurity$outboundSchema, SDKVerifyTokenRequest$inboundSchema, SDKVerifyTokenRequest$outboundSchema, AgeOver$inboundSchema, AgeOver$outboundSchema, Claims$inboundSchema, Claims$outboundSchema, SDKVerifyTokenVerdict$inboundSchema, SDKVerifyTokenVerdict$outboundSchema, SDKVerifyTokenDataData$inboundSchema, SDKVerifyTokenDataData$outboundSchema, SDKVerifyTokenData$inboundSchema, SDKVerifyTokenData$outboundSchema, SDKVerifyTokenResponse$inboundSchema, SDKVerifyTokenResponse$outboundSchema;
|
|
52176
|
+
var AgeOver, Kind, SDKVerifyTokenEnvironment, SDKVerifyTokenVerdict, SDKVerifyTokenState, SDKVerifyTokenSecurity$inboundSchema, SDKVerifyTokenSecurity$outboundSchema, SDKVerifyTokenRequest$inboundSchema, SDKVerifyTokenRequest$outboundSchema, AgeOver$inboundSchema, AgeOver$outboundSchema, Kind$inboundSchema, Kind$outboundSchema, SDKVerifyTokenEnvironment$inboundSchema, SDKVerifyTokenEnvironment$outboundSchema, Claims$inboundSchema, Claims$outboundSchema, SDKVerifyTokenVerdict$inboundSchema, SDKVerifyTokenVerdict$outboundSchema, SDKVerifyTokenState$inboundSchema, SDKVerifyTokenState$outboundSchema, SDKVerifyTokenLink$inboundSchema, SDKVerifyTokenLink$outboundSchema, SDKVerifyTokenDataData$inboundSchema, SDKVerifyTokenDataData$outboundSchema, SDKVerifyTokenData$inboundSchema, SDKVerifyTokenData$outboundSchema, SDKVerifyTokenResponse$inboundSchema, SDKVerifyTokenResponse$outboundSchema;
|
|
51564
52177
|
var init_sdk_verify_token = __esm(() => {
|
|
51565
52178
|
init_v3();
|
|
51566
52179
|
init_primitives();
|
|
@@ -51572,10 +52185,23 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51572
52185
|
Eighteen: 18,
|
|
51573
52186
|
TwentyOne: 21
|
|
51574
52187
|
};
|
|
52188
|
+
Kind = {
|
|
52189
|
+
Verification: "verification",
|
|
52190
|
+
Action: "action"
|
|
52191
|
+
};
|
|
52192
|
+
SDKVerifyTokenEnvironment = {
|
|
52193
|
+
Development: "development",
|
|
52194
|
+
Production: "production"
|
|
52195
|
+
};
|
|
51575
52196
|
SDKVerifyTokenVerdict = {
|
|
51576
52197
|
Pass: "pass",
|
|
51577
52198
|
Unavailable: "unavailable"
|
|
51578
52199
|
};
|
|
52200
|
+
SDKVerifyTokenState = {
|
|
52201
|
+
Pending: "pending",
|
|
52202
|
+
Live: "live",
|
|
52203
|
+
NotLive: "not_live"
|
|
52204
|
+
};
|
|
51579
52205
|
SDKVerifyTokenSecurity$inboundSchema = objectType({
|
|
51580
52206
|
apiKeyAuth: optional3(string4()),
|
|
51581
52207
|
apiKeyAuth1: optional3(string4())
|
|
@@ -51586,14 +52212,28 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51586
52212
|
});
|
|
51587
52213
|
SDKVerifyTokenRequest$inboundSchema = objectType({
|
|
51588
52214
|
token: string4(),
|
|
51589
|
-
audience: optional3(string4())
|
|
52215
|
+
audience: optional3(string4()),
|
|
52216
|
+
partner_user_ref: optional3(string4())
|
|
52217
|
+
}).transform((v) => {
|
|
52218
|
+
return remap(v, {
|
|
52219
|
+
partner_user_ref: "partnerUserRef"
|
|
52220
|
+
});
|
|
51590
52221
|
});
|
|
51591
52222
|
SDKVerifyTokenRequest$outboundSchema = objectType({
|
|
51592
52223
|
token: stringType(),
|
|
51593
|
-
audience: stringType().optional()
|
|
52224
|
+
audience: stringType().optional(),
|
|
52225
|
+
partnerUserRef: stringType().optional()
|
|
52226
|
+
}).transform((v) => {
|
|
52227
|
+
return remap(v, {
|
|
52228
|
+
partnerUserRef: "partner_user_ref"
|
|
52229
|
+
});
|
|
51594
52230
|
});
|
|
51595
52231
|
AgeOver$inboundSchema = inboundSchemaInt(AgeOver);
|
|
51596
52232
|
AgeOver$outboundSchema = outboundSchemaInt(AgeOver);
|
|
52233
|
+
Kind$inboundSchema = inboundSchema(Kind);
|
|
52234
|
+
Kind$outboundSchema = outboundSchema(Kind);
|
|
52235
|
+
SDKVerifyTokenEnvironment$inboundSchema = inboundSchema(SDKVerifyTokenEnvironment);
|
|
52236
|
+
SDKVerifyTokenEnvironment$outboundSchema = outboundSchema(SDKVerifyTokenEnvironment);
|
|
51597
52237
|
Claims$inboundSchema = objectType({
|
|
51598
52238
|
request_id: optional3(string4()),
|
|
51599
52239
|
verified: optional3(boolean4()),
|
|
@@ -51607,7 +52247,10 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51607
52247
|
trusted_since: optional3(date4()),
|
|
51608
52248
|
last_pass_at: optional3(date4()),
|
|
51609
52249
|
audience: nullableType(string4()).optional(),
|
|
51610
|
-
act: optional3(string4())
|
|
52250
|
+
act: optional3(string4()),
|
|
52251
|
+
kind: nullableType(Kind$inboundSchema).optional(),
|
|
52252
|
+
environment: nullableType(SDKVerifyTokenEnvironment$inboundSchema).optional(),
|
|
52253
|
+
link_state: optional3(string4())
|
|
51611
52254
|
}).transform((v) => {
|
|
51612
52255
|
return remap(v, {
|
|
51613
52256
|
request_id: "requestId",
|
|
@@ -51616,7 +52259,8 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51616
52259
|
expires_at: "expiresAt",
|
|
51617
52260
|
age_over: "ageOver",
|
|
51618
52261
|
trusted_since: "trustedSince",
|
|
51619
|
-
last_pass_at: "lastPassAt"
|
|
52262
|
+
last_pass_at: "lastPassAt",
|
|
52263
|
+
link_state: "linkState"
|
|
51620
52264
|
});
|
|
51621
52265
|
});
|
|
51622
52266
|
Claims$outboundSchema = objectType({
|
|
@@ -51632,7 +52276,10 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51632
52276
|
trustedSince: dateType().transform((v) => v.toISOString()).optional(),
|
|
51633
52277
|
lastPassAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
51634
52278
|
audience: nullableType(stringType()).optional(),
|
|
51635
|
-
act: stringType().optional()
|
|
52279
|
+
act: stringType().optional(),
|
|
52280
|
+
kind: nullableType(Kind$outboundSchema).optional(),
|
|
52281
|
+
environment: nullableType(SDKVerifyTokenEnvironment$outboundSchema).optional(),
|
|
52282
|
+
linkState: stringType().optional()
|
|
51636
52283
|
}).transform((v) => {
|
|
51637
52284
|
return remap(v, {
|
|
51638
52285
|
requestId: "request_id",
|
|
@@ -51641,18 +52288,46 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51641
52288
|
expiresAt: "expires_at",
|
|
51642
52289
|
ageOver: "age_over",
|
|
51643
52290
|
trustedSince: "trusted_since",
|
|
51644
|
-
lastPassAt: "last_pass_at"
|
|
52291
|
+
lastPassAt: "last_pass_at",
|
|
52292
|
+
linkState: "link_state"
|
|
51645
52293
|
});
|
|
51646
52294
|
});
|
|
51647
52295
|
SDKVerifyTokenVerdict$inboundSchema = inboundSchema(SDKVerifyTokenVerdict);
|
|
51648
52296
|
SDKVerifyTokenVerdict$outboundSchema = outboundSchema(SDKVerifyTokenVerdict);
|
|
52297
|
+
SDKVerifyTokenState$inboundSchema = inboundSchema(SDKVerifyTokenState);
|
|
52298
|
+
SDKVerifyTokenState$outboundSchema = outboundSchema(SDKVerifyTokenState);
|
|
52299
|
+
SDKVerifyTokenLink$inboundSchema = objectType({
|
|
52300
|
+
state: optional3(SDKVerifyTokenState$inboundSchema),
|
|
52301
|
+
confirmed: optional3(boolean4()),
|
|
52302
|
+
handle: optional3(string4()),
|
|
52303
|
+
first_time: optional3(boolean4()),
|
|
52304
|
+
code: optional3(string4()),
|
|
52305
|
+
message: optional3(string4())
|
|
52306
|
+
}).transform((v) => {
|
|
52307
|
+
return remap(v, {
|
|
52308
|
+
first_time: "firstTime"
|
|
52309
|
+
});
|
|
52310
|
+
});
|
|
52311
|
+
SDKVerifyTokenLink$outboundSchema = objectType({
|
|
52312
|
+
state: SDKVerifyTokenState$outboundSchema.optional(),
|
|
52313
|
+
confirmed: booleanType().optional(),
|
|
52314
|
+
handle: stringType().optional(),
|
|
52315
|
+
firstTime: booleanType().optional(),
|
|
52316
|
+
code: stringType().optional(),
|
|
52317
|
+
message: stringType().optional()
|
|
52318
|
+
}).transform((v) => {
|
|
52319
|
+
return remap(v, {
|
|
52320
|
+
firstTime: "first_time"
|
|
52321
|
+
});
|
|
52322
|
+
});
|
|
51649
52323
|
SDKVerifyTokenDataData$inboundSchema = objectType({
|
|
51650
52324
|
valid: boolean4(),
|
|
51651
52325
|
reason: optional3(string4()),
|
|
51652
52326
|
expired_at: nullableType(date4()).optional(),
|
|
51653
52327
|
claims: nullableType(lazyType(() => Claims$inboundSchema)).optional(),
|
|
51654
52328
|
replayed: optional3(boolean4()),
|
|
51655
|
-
verdict: optional3(SDKVerifyTokenVerdict$inboundSchema)
|
|
52329
|
+
verdict: optional3(SDKVerifyTokenVerdict$inboundSchema),
|
|
52330
|
+
link: optional3(lazyType(() => SDKVerifyTokenLink$inboundSchema))
|
|
51656
52331
|
}).transform((v) => {
|
|
51657
52332
|
return remap(v, {
|
|
51658
52333
|
expired_at: "expiredAt"
|
|
@@ -51664,7 +52339,8 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
51664
52339
|
expiredAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
51665
52340
|
claims: nullableType(lazyType(() => Claims$outboundSchema)).optional(),
|
|
51666
52341
|
replayed: booleanType().optional(),
|
|
51667
|
-
verdict: SDKVerifyTokenVerdict$outboundSchema.optional()
|
|
52342
|
+
verdict: SDKVerifyTokenVerdict$outboundSchema.optional(),
|
|
52343
|
+
link: lazyType(() => SDKVerifyTokenLink$outboundSchema).optional()
|
|
51668
52344
|
}).transform((v) => {
|
|
51669
52345
|
return remap(v, {
|
|
51670
52346
|
expiredAt: "expired_at"
|
|
@@ -51991,7 +52667,7 @@ var init_secured_accounts_status = __esm(() => {
|
|
|
51991
52667
|
});
|
|
51992
52668
|
|
|
51993
52669
|
// src/models/operations/verification-get-status.ts
|
|
51994
|
-
var VerificationGetStatusStatus, VerificationGetStatusSDKType, VerificationGetStatusPreset, Link, VerificationGetStatusState, VerificationGetStatusGateType, VerificationGetStatusSecurity$inboundSchema, VerificationGetStatusSecurity$outboundSchema, VerificationGetStatusRequest$inboundSchema, VerificationGetStatusRequest$outboundSchema, VerificationGetStatusStatus$inboundSchema, VerificationGetStatusStatus$outboundSchema, VerificationGetStatusSDKType$inboundSchema, VerificationGetStatusSDKType$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, VerificationGetStatusPreset$inboundSchema, VerificationGetStatusPreset$outboundSchema, Link$inboundSchema, Link$outboundSchema, VerificationGetStatusState$inboundSchema, VerificationGetStatusState$outboundSchema, Gate$inboundSchema2, Gate$outboundSchema2, VerificationGetStatusAction$inboundSchema, VerificationGetStatusAction$outboundSchema, VerificationGetStatusGateType$inboundSchema, VerificationGetStatusGateType$outboundSchema, VerificationGetStatusData$inboundSchema, VerificationGetStatusData$outboundSchema, VerificationGetStatusResponse$inboundSchema, VerificationGetStatusResponse$outboundSchema;
|
|
52670
|
+
var VerificationGetStatusStatus, VerificationGetStatusSDKType, VerificationGetStatusPreset, Link, VerificationGetStatusState, VerificationGetStatusGateType, LinkState, VerificationGetStatusSecurity$inboundSchema, VerificationGetStatusSecurity$outboundSchema, VerificationGetStatusRequest$inboundSchema, VerificationGetStatusRequest$outboundSchema, VerificationGetStatusStatus$inboundSchema, VerificationGetStatusStatus$outboundSchema, VerificationGetStatusSDKType$inboundSchema, VerificationGetStatusSDKType$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, VerificationGetStatusPreset$inboundSchema, VerificationGetStatusPreset$outboundSchema, Link$inboundSchema, Link$outboundSchema, VerificationGetStatusState$inboundSchema, VerificationGetStatusState$outboundSchema, Gate$inboundSchema2, Gate$outboundSchema2, VerificationGetStatusAction$inboundSchema, VerificationGetStatusAction$outboundSchema, VerificationGetStatusGateType$inboundSchema, VerificationGetStatusGateType$outboundSchema, LinkState$inboundSchema, LinkState$outboundSchema, VerificationGetStatusData$inboundSchema, VerificationGetStatusData$outboundSchema, VerificationGetStatusResponse$inboundSchema, VerificationGetStatusResponse$outboundSchema;
|
|
51995
52671
|
var init_verification_get_status = __esm(() => {
|
|
51996
52672
|
init_v3();
|
|
51997
52673
|
init_primitives();
|
|
@@ -52004,6 +52680,7 @@ var init_verification_get_status = __esm(() => {
|
|
|
52004
52680
|
Pass: "pass",
|
|
52005
52681
|
Expired: "expired",
|
|
52006
52682
|
Failed: "failed",
|
|
52683
|
+
Cancelled: "cancelled",
|
|
52007
52684
|
NotFound: "not_found",
|
|
52008
52685
|
Error: "error"
|
|
52009
52686
|
};
|
|
@@ -52033,6 +52710,12 @@ var init_verification_get_status = __esm(() => {
|
|
|
52033
52710
|
Human: "human",
|
|
52034
52711
|
Age: "age"
|
|
52035
52712
|
};
|
|
52713
|
+
LinkState = {
|
|
52714
|
+
Pending: "pending",
|
|
52715
|
+
Live: "live",
|
|
52716
|
+
Expired: "expired",
|
|
52717
|
+
Refused: "refused"
|
|
52718
|
+
};
|
|
52036
52719
|
VerificationGetStatusSecurity$inboundSchema = objectType({
|
|
52037
52720
|
apiKeyAuth: optional3(string4()),
|
|
52038
52721
|
apiKeyAuth1: optional3(string4())
|
|
@@ -52159,6 +52842,8 @@ var init_verification_get_status = __esm(() => {
|
|
|
52159
52842
|
});
|
|
52160
52843
|
VerificationGetStatusGateType$inboundSchema = inboundSchema(VerificationGetStatusGateType);
|
|
52161
52844
|
VerificationGetStatusGateType$outboundSchema = outboundSchema(VerificationGetStatusGateType);
|
|
52845
|
+
LinkState$inboundSchema = inboundSchema(LinkState);
|
|
52846
|
+
LinkState$outboundSchema = outboundSchema(LinkState);
|
|
52162
52847
|
VerificationGetStatusData$inboundSchema = objectType({
|
|
52163
52848
|
found: optional3(boolean4()),
|
|
52164
52849
|
status: optional3(VerificationGetStatusStatus$inboundSchema),
|
|
@@ -52188,7 +52873,11 @@ var init_verification_get_status = __esm(() => {
|
|
|
52188
52873
|
gate_type: optional3(VerificationGetStatusGateType$inboundSchema),
|
|
52189
52874
|
age_threshold: nullableType(number4()).optional(),
|
|
52190
52875
|
age_verdict: nullableType(string4()).optional(),
|
|
52191
|
-
age_source: nullableType(string4()).optional()
|
|
52876
|
+
age_source: nullableType(string4()).optional(),
|
|
52877
|
+
link_state: nullableType(LinkState$inboundSchema).optional(),
|
|
52878
|
+
link_expires_at: nullableType(date4()).optional(),
|
|
52879
|
+
link_code: optional3(string4()),
|
|
52880
|
+
link_message: optional3(string4())
|
|
52192
52881
|
}).transform((v) => {
|
|
52193
52882
|
return remap(v, {
|
|
52194
52883
|
request_id: "requestId",
|
|
@@ -52208,7 +52897,11 @@ var init_verification_get_status = __esm(() => {
|
|
|
52208
52897
|
gate_type: "gateType",
|
|
52209
52898
|
age_threshold: "ageThreshold",
|
|
52210
52899
|
age_verdict: "ageVerdict",
|
|
52211
|
-
age_source: "ageSource"
|
|
52900
|
+
age_source: "ageSource",
|
|
52901
|
+
link_state: "linkState",
|
|
52902
|
+
link_expires_at: "linkExpiresAt",
|
|
52903
|
+
link_code: "linkCode",
|
|
52904
|
+
link_message: "linkMessage"
|
|
52212
52905
|
});
|
|
52213
52906
|
});
|
|
52214
52907
|
VerificationGetStatusData$outboundSchema = objectType({
|
|
@@ -52240,7 +52933,11 @@ var init_verification_get_status = __esm(() => {
|
|
|
52240
52933
|
gateType: VerificationGetStatusGateType$outboundSchema.optional(),
|
|
52241
52934
|
ageThreshold: nullableType(numberType().int()).optional(),
|
|
52242
52935
|
ageVerdict: nullableType(stringType()).optional(),
|
|
52243
|
-
ageSource: nullableType(stringType()).optional()
|
|
52936
|
+
ageSource: nullableType(stringType()).optional(),
|
|
52937
|
+
linkState: nullableType(LinkState$outboundSchema).optional(),
|
|
52938
|
+
linkExpiresAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
52939
|
+
linkCode: stringType().optional(),
|
|
52940
|
+
linkMessage: stringType().optional()
|
|
52244
52941
|
}).transform((v) => {
|
|
52245
52942
|
return remap(v, {
|
|
52246
52943
|
requestId: "request_id",
|
|
@@ -52260,7 +52957,11 @@ var init_verification_get_status = __esm(() => {
|
|
|
52260
52957
|
gateType: "gate_type",
|
|
52261
52958
|
ageThreshold: "age_threshold",
|
|
52262
52959
|
ageVerdict: "age_verdict",
|
|
52263
|
-
ageSource: "age_source"
|
|
52960
|
+
ageSource: "age_source",
|
|
52961
|
+
linkState: "link_state",
|
|
52962
|
+
linkExpiresAt: "link_expires_at",
|
|
52963
|
+
linkCode: "link_code",
|
|
52964
|
+
linkMessage: "link_message"
|
|
52264
52965
|
});
|
|
52265
52966
|
});
|
|
52266
52967
|
VerificationGetStatusResponse$inboundSchema = objectType({
|
|
@@ -52278,9 +52979,11 @@ var init_operations = __esm(() => {
|
|
|
52278
52979
|
init_actions_propose();
|
|
52279
52980
|
init_gates_api_actions_create();
|
|
52280
52981
|
init_gates_api_actions_list();
|
|
52982
|
+
init_gates_api_actions_request_cancel();
|
|
52281
52983
|
init_gates_api_actions_request_status();
|
|
52282
52984
|
init_gates_api_actions_request();
|
|
52283
52985
|
init_gates_api_actions_set_state();
|
|
52986
|
+
init_gates_api_actions_update();
|
|
52284
52987
|
init_gates_api_activate();
|
|
52285
52988
|
init_gates_api_cancel();
|
|
52286
52989
|
init_gates_api_close();
|
|
@@ -52290,13 +52993,16 @@ var init_operations = __esm(() => {
|
|
|
52290
52993
|
init_gates_api_list();
|
|
52291
52994
|
init_request_passkey_complete();
|
|
52292
52995
|
init_request_passkey_options();
|
|
52996
|
+
init_sdk_confirm_link();
|
|
52293
52997
|
init_sdk_create_session();
|
|
52294
52998
|
init_sdk_create_verification_link();
|
|
52295
52999
|
init_sdk_get_partner_config();
|
|
52296
53000
|
init_sdk_logout();
|
|
52297
53001
|
init_sdk_revoke_verification();
|
|
53002
|
+
init_sdk_send_by_number();
|
|
52298
53003
|
init_sdk_store_signal();
|
|
52299
53004
|
init_sdk_validate_signal();
|
|
53005
|
+
init_sdk_verify_resolution();
|
|
52300
53006
|
init_sdk_verify_token();
|
|
52301
53007
|
init_secured_accounts_list();
|
|
52302
53008
|
init_secured_accounts_revoke();
|
|
@@ -52647,7 +53353,7 @@ var init_actions_propose_action2 = __esm(() => {
|
|
|
52647
53353
|
function createMCPServer(deps) {
|
|
52648
53354
|
const server = new McpServer({
|
|
52649
53355
|
name: "BotShield",
|
|
52650
|
-
version: "
|
|
53356
|
+
version: "4.0.0"
|
|
52651
53357
|
});
|
|
52652
53358
|
const client = new BotShieldCore({
|
|
52653
53359
|
security: deps.security,
|
|
@@ -54964,7 +55670,7 @@ var routes = buildRouteMap({
|
|
|
54964
55670
|
var app = buildApplication(routes, {
|
|
54965
55671
|
name: "mcp",
|
|
54966
55672
|
versionInfo: {
|
|
54967
|
-
currentVersion: "
|
|
55673
|
+
currentVersion: "4.0.0"
|
|
54968
55674
|
}
|
|
54969
55675
|
});
|
|
54970
55676
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -54972,5 +55678,5 @@ export {
|
|
|
54972
55678
|
app
|
|
54973
55679
|
};
|
|
54974
55680
|
|
|
54975
|
-
//# debugId=
|
|
55681
|
+
//# debugId=035E207DF30EAD1F64756E2164756E21
|
|
54976
55682
|
//# sourceMappingURL=mcp-server.js.map
|