botshield-sdk 2.0.2 → 2.2.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 +18 -46
- package/bin/mcp-server.js +596 -468
- package/bin/mcp-server.js.map +32 -29
- package/dist/commonjs/funcs/actions-propose-action.d.ts +1 -1
- package/dist/commonjs/funcs/actions-propose-action.js +1 -1
- package/dist/commonjs/funcs/census-get-partner-config.js +2 -78
- package/dist/commonjs/funcs/census-get-partner-config.js.map +1 -1
- package/dist/commonjs/funcs/census-verify-token.d.ts +1 -1
- package/dist/commonjs/funcs/census-verify-token.js +1 -79
- package/dist/commonjs/funcs/census-verify-token.js.map +1 -1
- package/dist/commonjs/funcs/secured-accounts-get-status.d.ts +18 -0
- package/dist/commonjs/funcs/secured-accounts-get-status.d.ts.map +1 -0
- package/dist/commonjs/funcs/secured-accounts-get-status.js +126 -0
- package/dist/commonjs/funcs/secured-accounts-get-status.js.map +1 -0
- package/dist/commonjs/funcs/secured-accounts-list.d.ts +18 -0
- package/dist/commonjs/funcs/secured-accounts-list.d.ts.map +1 -0
- package/dist/commonjs/funcs/secured-accounts-list.js +129 -0
- package/dist/commonjs/funcs/secured-accounts-list.js.map +1 -0
- package/dist/commonjs/funcs/secured-accounts-revoke.d.ts +18 -0
- package/dist/commonjs/funcs/secured-accounts-revoke.d.ts.map +1 -0
- package/dist/commonjs/funcs/secured-accounts-revoke.js +123 -0
- package/dist/commonjs/funcs/secured-accounts-revoke.js.map +1 -0
- package/dist/commonjs/funcs/verification-get-status.js +0 -78
- package/dist/commonjs/funcs/verification-get-status.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +0 -91
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/command.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/command.js +0 -104
- package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts +0 -13
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +0 -26
- package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/actions-cancel-action.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/actions-cancel-action.js +1 -17
- package/dist/commonjs/mcp-server/tools/actions-cancel-action.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/actions-check-action-status.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/actions-check-action-status.js +1 -17
- package/dist/commonjs/mcp-server/tools/actions-check-action-status.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/actions-propose-action.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/actions-propose-action.js +1 -17
- package/dist/commonjs/mcp-server/tools/actions-propose-action.js.map +1 -1
- package/dist/commonjs/models/error-body.d.ts +43 -8
- package/dist/commonjs/models/error-body.d.ts.map +1 -1
- package/dist/commonjs/models/error-body.js +51 -1
- package/dist/commonjs/models/error-body.js.map +1 -1
- package/dist/commonjs/models/operations/actions-cancel.d.ts +1 -1
- package/dist/commonjs/models/operations/actions-check-status.d.ts +6 -6
- package/dist/commonjs/models/operations/actions-check-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/actions-check-status.js +6 -6
- package/dist/commonjs/models/operations/actions-check-status.js.map +1 -1
- package/dist/commonjs/models/operations/actions-propose.d.ts +1 -1
- package/dist/commonjs/models/operations/index.d.ts +3 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +3 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-create-session.d.ts +44 -10
- package/dist/commonjs/models/operations/sdk-create-session.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-create-session.js +32 -11
- package/dist/commonjs/models/operations/sdk-create-session.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts +96 -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 +58 -1
- package/dist/commonjs/models/operations/sdk-create-verification-link.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-get-partner-config.d.ts +23 -27
- package/dist/commonjs/models/operations/sdk-get-partner-config.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-get-partner-config.js +18 -26
- package/dist/commonjs/models/operations/sdk-get-partner-config.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-logout.d.ts +1 -1
- package/dist/commonjs/models/operations/sdk-revoke-verification.d.ts +14 -4
- package/dist/commonjs/models/operations/sdk-revoke-verification.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-revoke-verification.js +4 -2
- package/dist/commonjs/models/operations/sdk-revoke-verification.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-store-signal.d.ts +1 -1
- package/dist/commonjs/models/operations/sdk-validate-signal.d.ts +6 -6
- package/dist/commonjs/models/operations/sdk-validate-signal.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-validate-signal.js +6 -6
- package/dist/commonjs/models/operations/sdk-validate-signal.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts +78 -27
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-verify-token.js +51 -27
- package/dist/commonjs/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/commonjs/models/operations/secured-accounts-list.d.ts +212 -0
- package/dist/commonjs/models/operations/secured-accounts-list.d.ts.map +1 -0
- package/dist/commonjs/models/operations/secured-accounts-list.js +254 -0
- package/dist/commonjs/models/operations/secured-accounts-list.js.map +1 -0
- package/dist/commonjs/models/operations/secured-accounts-revoke.d.ts +130 -0
- package/dist/commonjs/models/operations/secured-accounts-revoke.d.ts.map +1 -0
- package/dist/commonjs/models/operations/secured-accounts-revoke.js +185 -0
- package/dist/commonjs/models/operations/secured-accounts-revoke.js.map +1 -0
- package/dist/commonjs/models/operations/secured-accounts-status.d.ts +97 -0
- package/dist/commonjs/models/operations/secured-accounts-status.d.ts.map +1 -0
- package/dist/commonjs/models/operations/secured-accounts-status.js +163 -0
- package/dist/commonjs/models/operations/secured-accounts-status.js.map +1 -0
- package/dist/commonjs/models/operations/verification-get-status.d.ts +47 -30
- package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.js +30 -28
- package/dist/commonjs/models/operations/verification-get-status.js.map +1 -1
- package/dist/commonjs/models/security.d.ts +0 -26
- package/dist/commonjs/models/security.d.ts.map +1 -1
- package/dist/commonjs/models/security.js +0 -26
- package/dist/commonjs/models/security.js.map +1 -1
- package/dist/commonjs/sdk/actions.d.ts +1 -1
- package/dist/commonjs/sdk/actions.js +1 -1
- package/dist/commonjs/sdk/census.d.ts +1 -1
- package/dist/commonjs/sdk/census.js +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +5 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/secured-accounts.d.ts +26 -0
- package/dist/commonjs/sdk/secured-accounts.d.ts.map +1 -0
- package/dist/commonjs/sdk/secured-accounts.js +42 -0
- package/dist/commonjs/sdk/secured-accounts.js.map +1 -0
- package/dist/esm/funcs/actions-propose-action.d.ts +1 -1
- package/dist/esm/funcs/actions-propose-action.js +1 -1
- package/dist/esm/funcs/census-get-partner-config.js +2 -78
- package/dist/esm/funcs/census-get-partner-config.js.map +1 -1
- package/dist/esm/funcs/census-verify-token.d.ts +1 -1
- package/dist/esm/funcs/census-verify-token.js +1 -79
- package/dist/esm/funcs/census-verify-token.js.map +1 -1
- package/dist/esm/funcs/secured-accounts-get-status.d.ts +18 -0
- package/dist/esm/funcs/secured-accounts-get-status.d.ts.map +1 -0
- package/dist/esm/funcs/secured-accounts-get-status.js +90 -0
- package/dist/esm/funcs/secured-accounts-get-status.js.map +1 -0
- package/dist/esm/funcs/secured-accounts-list.d.ts +18 -0
- package/dist/esm/funcs/secured-accounts-list.d.ts.map +1 -0
- package/dist/esm/funcs/secured-accounts-list.js +93 -0
- package/dist/esm/funcs/secured-accounts-list.js.map +1 -0
- package/dist/esm/funcs/secured-accounts-revoke.d.ts +18 -0
- package/dist/esm/funcs/secured-accounts-revoke.d.ts.map +1 -0
- package/dist/esm/funcs/secured-accounts-revoke.js +87 -0
- package/dist/esm/funcs/secured-accounts-revoke.js.map +1 -0
- package/dist/esm/funcs/verification-get-status.js +0 -78
- package/dist/esm/funcs/verification-get-status.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +0 -91
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/command.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/command.js +0 -104
- package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.d.ts +0 -13
- package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.js +0 -26
- package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/actions-cancel-action.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/actions-cancel-action.js +1 -17
- package/dist/esm/mcp-server/tools/actions-cancel-action.js.map +1 -1
- package/dist/esm/mcp-server/tools/actions-check-action-status.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/actions-check-action-status.js +1 -17
- package/dist/esm/mcp-server/tools/actions-check-action-status.js.map +1 -1
- package/dist/esm/mcp-server/tools/actions-propose-action.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/actions-propose-action.js +1 -17
- package/dist/esm/mcp-server/tools/actions-propose-action.js.map +1 -1
- package/dist/esm/models/error-body.d.ts +43 -8
- package/dist/esm/models/error-body.d.ts.map +1 -1
- package/dist/esm/models/error-body.js +48 -0
- package/dist/esm/models/error-body.js.map +1 -1
- package/dist/esm/models/operations/actions-cancel.d.ts +1 -1
- package/dist/esm/models/operations/actions-check-status.d.ts +6 -6
- package/dist/esm/models/operations/actions-check-status.d.ts.map +1 -1
- package/dist/esm/models/operations/actions-check-status.js +5 -5
- package/dist/esm/models/operations/actions-check-status.js.map +1 -1
- package/dist/esm/models/operations/actions-propose.d.ts +1 -1
- package/dist/esm/models/operations/index.d.ts +3 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +3 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/sdk-create-session.d.ts +44 -10
- package/dist/esm/models/operations/sdk-create-session.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-create-session.js +29 -8
- package/dist/esm/models/operations/sdk-create-session.js.map +1 -1
- package/dist/esm/models/operations/sdk-create-verification-link.d.ts +96 -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 +57 -0
- package/dist/esm/models/operations/sdk-create-verification-link.js.map +1 -1
- package/dist/esm/models/operations/sdk-get-partner-config.d.ts +23 -27
- package/dist/esm/models/operations/sdk-get-partner-config.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-get-partner-config.js +18 -26
- package/dist/esm/models/operations/sdk-get-partner-config.js.map +1 -1
- package/dist/esm/models/operations/sdk-logout.d.ts +1 -1
- package/dist/esm/models/operations/sdk-revoke-verification.d.ts +14 -4
- package/dist/esm/models/operations/sdk-revoke-verification.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-revoke-verification.js +4 -2
- package/dist/esm/models/operations/sdk-revoke-verification.js.map +1 -1
- package/dist/esm/models/operations/sdk-store-signal.d.ts +1 -1
- package/dist/esm/models/operations/sdk-validate-signal.d.ts +6 -6
- package/dist/esm/models/operations/sdk-validate-signal.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-validate-signal.js +5 -5
- package/dist/esm/models/operations/sdk-validate-signal.js.map +1 -1
- package/dist/esm/models/operations/sdk-verify-token.d.ts +78 -27
- package/dist/esm/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-verify-token.js +50 -26
- package/dist/esm/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/esm/models/operations/secured-accounts-list.d.ts +212 -0
- package/dist/esm/models/operations/secured-accounts-list.d.ts.map +1 -0
- package/dist/esm/models/operations/secured-accounts-list.js +206 -0
- package/dist/esm/models/operations/secured-accounts-list.js.map +1 -0
- package/dist/esm/models/operations/secured-accounts-revoke.d.ts +130 -0
- package/dist/esm/models/operations/secured-accounts-revoke.d.ts.map +1 -0
- package/dist/esm/models/operations/secured-accounts-revoke.js +139 -0
- package/dist/esm/models/operations/secured-accounts-revoke.js.map +1 -0
- package/dist/esm/models/operations/secured-accounts-status.d.ts +97 -0
- package/dist/esm/models/operations/secured-accounts-status.d.ts.map +1 -0
- package/dist/esm/models/operations/secured-accounts-status.js +117 -0
- package/dist/esm/models/operations/secured-accounts-status.js.map +1 -0
- package/dist/esm/models/operations/verification-get-status.d.ts +47 -30
- package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/esm/models/operations/verification-get-status.js +29 -27
- package/dist/esm/models/operations/verification-get-status.js.map +1 -1
- package/dist/esm/models/security.d.ts +0 -26
- package/dist/esm/models/security.d.ts.map +1 -1
- package/dist/esm/models/security.js +0 -26
- package/dist/esm/models/security.js.map +1 -1
- package/dist/esm/sdk/actions.d.ts +1 -1
- package/dist/esm/sdk/actions.js +1 -1
- package/dist/esm/sdk/census.d.ts +1 -1
- package/dist/esm/sdk/census.js +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +5 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/secured-accounts.d.ts +26 -0
- package/dist/esm/sdk/secured-accounts.d.ts.map +1 -0
- package/dist/esm/sdk/secured-accounts.js +38 -0
- package/dist/esm/sdk/secured-accounts.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/actions-propose-action.ts +1 -1
- package/src/funcs/census-get-partner-config.ts +2 -91
- package/src/funcs/census-verify-token.ts +1 -92
- package/src/funcs/secured-accounts-get-status.ts +189 -0
- package/src/funcs/secured-accounts-list.ts +194 -0
- package/src/funcs/secured-accounts-revoke.ts +185 -0
- package/src/funcs/verification-get-status.ts +0 -91
- package/src/lib/config.ts +2 -2
- package/src/lib/security.ts +0 -91
- package/src/mcp-server/cli/start/command.ts +0 -104
- package/src/mcp-server/cli/start/impl.ts +0 -39
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/actions-cancel-action.ts +1 -17
- package/src/mcp-server/tools/actions-check-action-status.ts +1 -17
- package/src/mcp-server/tools/actions-propose-action.ts +1 -17
- package/src/models/error-body.ts +95 -8
- package/src/models/operations/actions-cancel.ts +1 -1
- package/src/models/operations/actions-check-status.ts +18 -10
- package/src/models/operations/actions-propose.ts +1 -1
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/sdk-create-session.ts +78 -20
- package/src/models/operations/sdk-create-verification-link.ts +157 -2
- package/src/models/operations/sdk-get-partner-config.ts +41 -53
- package/src/models/operations/sdk-logout.ts +1 -1
- package/src/models/operations/sdk-revoke-verification.ts +18 -6
- package/src/models/operations/sdk-store-signal.ts +1 -1
- package/src/models/operations/sdk-validate-signal.ts +16 -10
- package/src/models/operations/sdk-verify-token.ts +119 -53
- package/src/models/operations/secured-accounts-list.ts +507 -0
- package/src/models/operations/secured-accounts-revoke.ts +359 -0
- package/src/models/operations/secured-accounts-status.ts +296 -0
- package/src/models/operations/verification-get-status.ts +73 -56
- package/src/models/security.ts +0 -52
- package/src/sdk/actions.ts +1 -1
- package/src/sdk/census.ts +1 -1
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/secured-accounts.ts +69 -0
package/bin/mcp-server.js
CHANGED
|
@@ -47249,9 +47249,9 @@ var init_config = __esm(() => {
|
|
|
47249
47249
|
SDK_METADATA = {
|
|
47250
47250
|
language: "typescript",
|
|
47251
47251
|
openapiDocVersion: "2.0.0",
|
|
47252
|
-
sdkVersion: "2.0
|
|
47252
|
+
sdkVersion: "2.2.0",
|
|
47253
47253
|
genVersion: "2.934.1",
|
|
47254
|
-
userAgent: "speakeasy-sdk/typescript 2.0
|
|
47254
|
+
userAgent: "speakeasy-sdk/typescript 2.2.0 2.934.1 2.0.0 botshield-sdk"
|
|
47255
47255
|
};
|
|
47256
47256
|
});
|
|
47257
47257
|
|
|
@@ -48747,97 +48747,6 @@ function resolveGlobalSecurity(security, allowedFields) {
|
|
|
48747
48747
|
type: "apiKey:header",
|
|
48748
48748
|
value: security?.agentKeyAuth1
|
|
48749
48749
|
}
|
|
48750
|
-
],
|
|
48751
|
-
[
|
|
48752
|
-
{
|
|
48753
|
-
fieldName: "Authorization",
|
|
48754
|
-
type: "apiKey:header",
|
|
48755
|
-
value: security?.agentKeyAuth2
|
|
48756
|
-
}
|
|
48757
|
-
],
|
|
48758
|
-
[
|
|
48759
|
-
{
|
|
48760
|
-
fieldName: "Authorization",
|
|
48761
|
-
type: "apiKey:header",
|
|
48762
|
-
value: security?.agentKeyAuth3
|
|
48763
|
-
}
|
|
48764
|
-
],
|
|
48765
|
-
[
|
|
48766
|
-
{
|
|
48767
|
-
fieldName: "Authorization",
|
|
48768
|
-
type: "apiKey:header",
|
|
48769
|
-
value: security?.agentKeyAuth4
|
|
48770
|
-
}
|
|
48771
|
-
],
|
|
48772
|
-
[
|
|
48773
|
-
{
|
|
48774
|
-
fieldName: "Authorization",
|
|
48775
|
-
type: "apiKey:header",
|
|
48776
|
-
value: security?.agentKeyAuth5
|
|
48777
|
-
}
|
|
48778
|
-
],
|
|
48779
|
-
[
|
|
48780
|
-
{
|
|
48781
|
-
fieldName: "Authorization",
|
|
48782
|
-
type: "apiKey:header",
|
|
48783
|
-
value: security?.agentKeyAuth6
|
|
48784
|
-
}
|
|
48785
|
-
],
|
|
48786
|
-
[
|
|
48787
|
-
{
|
|
48788
|
-
fieldName: "Authorization",
|
|
48789
|
-
type: "apiKey:header",
|
|
48790
|
-
value: security?.agentKeyAuth7
|
|
48791
|
-
}
|
|
48792
|
-
],
|
|
48793
|
-
[
|
|
48794
|
-
{
|
|
48795
|
-
fieldName: "Authorization",
|
|
48796
|
-
type: "apiKey:header",
|
|
48797
|
-
value: security?.agentKeyAuth8
|
|
48798
|
-
}
|
|
48799
|
-
],
|
|
48800
|
-
[
|
|
48801
|
-
{
|
|
48802
|
-
fieldName: "Authorization",
|
|
48803
|
-
type: "apiKey:header",
|
|
48804
|
-
value: security?.agentKeyAuth9
|
|
48805
|
-
}
|
|
48806
|
-
],
|
|
48807
|
-
[
|
|
48808
|
-
{
|
|
48809
|
-
fieldName: "Authorization",
|
|
48810
|
-
type: "apiKey:header",
|
|
48811
|
-
value: security?.agentKeyAuth10
|
|
48812
|
-
}
|
|
48813
|
-
],
|
|
48814
|
-
[
|
|
48815
|
-
{
|
|
48816
|
-
fieldName: "Authorization",
|
|
48817
|
-
type: "apiKey:header",
|
|
48818
|
-
value: security?.agentKeyAuth11
|
|
48819
|
-
}
|
|
48820
|
-
],
|
|
48821
|
-
[
|
|
48822
|
-
{
|
|
48823
|
-
fieldName: "Authorization",
|
|
48824
|
-
type: "apiKey:header",
|
|
48825
|
-
value: security?.agentKeyAuth12
|
|
48826
|
-
}
|
|
48827
|
-
],
|
|
48828
|
-
[
|
|
48829
|
-
{
|
|
48830
|
-
fieldName: "Authorization",
|
|
48831
|
-
type: "apiKey:header",
|
|
48832
|
-
value: security?.agentKeyAuth13
|
|
48833
|
-
}
|
|
48834
|
-
],
|
|
48835
|
-
[
|
|
48836
|
-
{
|
|
48837
|
-
fieldName: "Authorization",
|
|
48838
|
-
type: "apiKey:header",
|
|
48839
|
-
value: security?.agentKeyAuth14
|
|
48840
|
-
}
|
|
48841
48750
|
]
|
|
48842
48751
|
];
|
|
48843
48752
|
if (allowedFields) {
|
|
@@ -48886,6 +48795,32 @@ function unrecognized(value) {
|
|
|
48886
48795
|
var globalCount = 0;
|
|
48887
48796
|
var init_unrecognized = () => {};
|
|
48888
48797
|
|
|
48798
|
+
// src/types/enums.ts
|
|
48799
|
+
function inboundSchema(enumObj) {
|
|
48800
|
+
const options = Object.values(enumObj);
|
|
48801
|
+
return unionType([
|
|
48802
|
+
...options.map((x) => literalType(x)),
|
|
48803
|
+
stringType().transform((x) => unrecognized(x))
|
|
48804
|
+
]);
|
|
48805
|
+
}
|
|
48806
|
+
function inboundSchemaInt(enumObj) {
|
|
48807
|
+
const options = Object.values(enumObj).filter((v) => typeof v === "number");
|
|
48808
|
+
return unionType([
|
|
48809
|
+
...options.map((x) => literalType(x)),
|
|
48810
|
+
numberType().int().transform((x) => unrecognized(x))
|
|
48811
|
+
]);
|
|
48812
|
+
}
|
|
48813
|
+
function outboundSchema(_) {
|
|
48814
|
+
return stringType();
|
|
48815
|
+
}
|
|
48816
|
+
function outboundSchemaInt(_) {
|
|
48817
|
+
return numberType().int();
|
|
48818
|
+
}
|
|
48819
|
+
var init_enums = __esm(() => {
|
|
48820
|
+
init_v3();
|
|
48821
|
+
init_unrecognized();
|
|
48822
|
+
});
|
|
48823
|
+
|
|
48889
48824
|
// src/types/default-to-zero-value.ts
|
|
48890
48825
|
function defaultToZeroValue(value) {
|
|
48891
48826
|
globalCount2++;
|
|
@@ -48964,6 +48899,13 @@ function optional3(t) {
|
|
|
48964
48899
|
t
|
|
48965
48900
|
]).optional();
|
|
48966
48901
|
}
|
|
48902
|
+
function nullable3(t) {
|
|
48903
|
+
return unionType([
|
|
48904
|
+
nullType(),
|
|
48905
|
+
undefinedType().transform(() => defaultToZeroValue(null)),
|
|
48906
|
+
t
|
|
48907
|
+
]);
|
|
48908
|
+
}
|
|
48967
48909
|
function zodDefaultToZeroValue(value) {
|
|
48968
48910
|
return anyType().transform((input, ctx) => {
|
|
48969
48911
|
if (input === undefined)
|
|
@@ -48985,32 +48927,59 @@ var init_primitives2 = __esm(() => {
|
|
|
48985
48927
|
});
|
|
48986
48928
|
|
|
48987
48929
|
// src/models/error-body.ts
|
|
48988
|
-
var Violation$inboundSchema, Violation$outboundSchema, ErrorBody$inboundSchema, ErrorBody$outboundSchema;
|
|
48930
|
+
var Reason, Violation$inboundSchema, Violation$outboundSchema, Reason$inboundSchema, Reason$outboundSchema, Limits$inboundSchema, Limits$outboundSchema, ErrorBody$inboundSchema, ErrorBody$outboundSchema;
|
|
48989
48931
|
var init_error_body = __esm(() => {
|
|
48990
48932
|
init_v3();
|
|
48991
48933
|
init_primitives();
|
|
48934
|
+
init_enums();
|
|
48992
48935
|
init_primitives2();
|
|
48936
|
+
Reason = {
|
|
48937
|
+
Rate: "rate",
|
|
48938
|
+
Concurrent: "concurrent"
|
|
48939
|
+
};
|
|
48993
48940
|
Violation$inboundSchema = objectType({
|
|
48941
|
+
source: optional3(string4()),
|
|
48994
48942
|
type: optional3(string4()),
|
|
48995
48943
|
path: optional3(string4()),
|
|
48996
|
-
severity: optional3(string4())
|
|
48944
|
+
severity: optional3(string4()),
|
|
48945
|
+
value: optional3(anyType()),
|
|
48946
|
+
explanation: optional3(string4()),
|
|
48947
|
+
fix: optional3(string4())
|
|
48997
48948
|
});
|
|
48998
48949
|
Violation$outboundSchema = objectType({
|
|
48950
|
+
source: stringType().optional(),
|
|
48999
48951
|
type: stringType().optional(),
|
|
49000
48952
|
path: stringType().optional(),
|
|
49001
|
-
severity: stringType().optional()
|
|
48953
|
+
severity: stringType().optional(),
|
|
48954
|
+
value: anyType().optional(),
|
|
48955
|
+
explanation: stringType().optional(),
|
|
48956
|
+
fix: stringType().optional()
|
|
49002
48957
|
});
|
|
48958
|
+
Reason$inboundSchema = inboundSchema(Reason);
|
|
48959
|
+
Reason$outboundSchema = outboundSchema(Reason);
|
|
48960
|
+
Limits$inboundSchema = objectType({});
|
|
48961
|
+
Limits$outboundSchema = objectType({});
|
|
49003
48962
|
ErrorBody$inboundSchema = objectType({
|
|
49004
48963
|
message: string4(),
|
|
49005
48964
|
statusCode: number4(),
|
|
49006
48965
|
code: optional3(string4()),
|
|
49007
48966
|
min_ttl_seconds: optional3(number4()),
|
|
49008
48967
|
max_ttl_seconds: optional3(number4()),
|
|
49009
|
-
|
|
48968
|
+
retryable: optional3(boolean4()),
|
|
48969
|
+
next_step: optional3(string4()),
|
|
48970
|
+
violations: optional3(arrayType(lazyType(() => Violation$inboundSchema))),
|
|
48971
|
+
reason: optional3(Reason$inboundSchema),
|
|
48972
|
+
bucket: optional3(string4()),
|
|
48973
|
+
retry_in: optional3(number4()),
|
|
48974
|
+
limits: optional3(lazyType(() => Limits$inboundSchema)),
|
|
48975
|
+
upgrade_url: optional3(string4())
|
|
49010
48976
|
}).transform((v) => {
|
|
49011
48977
|
return remap(v, {
|
|
49012
48978
|
min_ttl_seconds: "minTtlSeconds",
|
|
49013
|
-
max_ttl_seconds: "maxTtlSeconds"
|
|
48979
|
+
max_ttl_seconds: "maxTtlSeconds",
|
|
48980
|
+
next_step: "nextStep",
|
|
48981
|
+
retry_in: "retryIn",
|
|
48982
|
+
upgrade_url: "upgradeUrl"
|
|
49014
48983
|
});
|
|
49015
48984
|
});
|
|
49016
48985
|
ErrorBody$outboundSchema = objectType({
|
|
@@ -49019,11 +48988,21 @@ var init_error_body = __esm(() => {
|
|
|
49019
48988
|
code: stringType().optional(),
|
|
49020
48989
|
minTtlSeconds: numberType().int().optional(),
|
|
49021
48990
|
maxTtlSeconds: numberType().int().optional(),
|
|
49022
|
-
|
|
48991
|
+
retryable: booleanType().optional(),
|
|
48992
|
+
nextStep: stringType().optional(),
|
|
48993
|
+
violations: arrayType(lazyType(() => Violation$outboundSchema)).optional(),
|
|
48994
|
+
reason: Reason$outboundSchema.optional(),
|
|
48995
|
+
bucket: stringType().optional(),
|
|
48996
|
+
retryIn: numberType().int().optional(),
|
|
48997
|
+
limits: lazyType(() => Limits$outboundSchema).optional(),
|
|
48998
|
+
upgradeUrl: stringType().optional()
|
|
49023
48999
|
}).transform((v) => {
|
|
49024
49000
|
return remap(v, {
|
|
49025
49001
|
minTtlSeconds: "min_ttl_seconds",
|
|
49026
|
-
maxTtlSeconds: "max_ttl_seconds"
|
|
49002
|
+
maxTtlSeconds: "max_ttl_seconds",
|
|
49003
|
+
nextStep: "next_step",
|
|
49004
|
+
retryIn: "retry_in",
|
|
49005
|
+
upgradeUrl: "upgrade_url"
|
|
49027
49006
|
});
|
|
49028
49007
|
});
|
|
49029
49008
|
});
|
|
@@ -49067,37 +49046,11 @@ var init_security2 = __esm(() => {
|
|
|
49067
49046
|
init_primitives2();
|
|
49068
49047
|
Security$inboundSchema = objectType({
|
|
49069
49048
|
agentKeyAuth: optional3(string4()),
|
|
49070
|
-
agentKeyAuth1: optional3(string4())
|
|
49071
|
-
agentKeyAuth2: optional3(string4()),
|
|
49072
|
-
agentKeyAuth3: optional3(string4()),
|
|
49073
|
-
agentKeyAuth4: optional3(string4()),
|
|
49074
|
-
agentKeyAuth5: optional3(string4()),
|
|
49075
|
-
agentKeyAuth6: optional3(string4()),
|
|
49076
|
-
agentKeyAuth7: optional3(string4()),
|
|
49077
|
-
agentKeyAuth8: optional3(string4()),
|
|
49078
|
-
agentKeyAuth9: optional3(string4()),
|
|
49079
|
-
agentKeyAuth10: optional3(string4()),
|
|
49080
|
-
agentKeyAuth11: optional3(string4()),
|
|
49081
|
-
agentKeyAuth12: optional3(string4()),
|
|
49082
|
-
agentKeyAuth13: optional3(string4()),
|
|
49083
|
-
agentKeyAuth14: optional3(string4())
|
|
49049
|
+
agentKeyAuth1: optional3(string4())
|
|
49084
49050
|
});
|
|
49085
49051
|
Security$outboundSchema = objectType({
|
|
49086
49052
|
agentKeyAuth: stringType().optional(),
|
|
49087
|
-
agentKeyAuth1: stringType().optional()
|
|
49088
|
-
agentKeyAuth2: stringType().optional(),
|
|
49089
|
-
agentKeyAuth3: stringType().optional(),
|
|
49090
|
-
agentKeyAuth4: stringType().optional(),
|
|
49091
|
-
agentKeyAuth5: stringType().optional(),
|
|
49092
|
-
agentKeyAuth6: stringType().optional(),
|
|
49093
|
-
agentKeyAuth7: stringType().optional(),
|
|
49094
|
-
agentKeyAuth8: stringType().optional(),
|
|
49095
|
-
agentKeyAuth9: stringType().optional(),
|
|
49096
|
-
agentKeyAuth10: stringType().optional(),
|
|
49097
|
-
agentKeyAuth11: stringType().optional(),
|
|
49098
|
-
agentKeyAuth12: stringType().optional(),
|
|
49099
|
-
agentKeyAuth13: stringType().optional(),
|
|
49100
|
-
agentKeyAuth14: stringType().optional()
|
|
49053
|
+
agentKeyAuth1: stringType().optional()
|
|
49101
49054
|
});
|
|
49102
49055
|
});
|
|
49103
49056
|
|
|
@@ -49195,22 +49148,6 @@ var init_errors4 = __esm(() => {
|
|
|
49195
49148
|
init_sdk_validation_error();
|
|
49196
49149
|
});
|
|
49197
49150
|
|
|
49198
|
-
// src/types/enums.ts
|
|
49199
|
-
function inboundSchema(enumObj) {
|
|
49200
|
-
const options = Object.values(enumObj);
|
|
49201
|
-
return unionType([
|
|
49202
|
-
...options.map((x) => literalType(x)),
|
|
49203
|
-
stringType().transform((x) => unrecognized(x))
|
|
49204
|
-
]);
|
|
49205
|
-
}
|
|
49206
|
-
function outboundSchema(_) {
|
|
49207
|
-
return stringType();
|
|
49208
|
-
}
|
|
49209
|
-
var init_enums = __esm(() => {
|
|
49210
|
-
init_v3();
|
|
49211
|
-
init_unrecognized();
|
|
49212
|
-
});
|
|
49213
|
-
|
|
49214
49151
|
// src/models/operations/actions-cancel.ts
|
|
49215
49152
|
var ActionsCancelStatus, ActionsCancelRequest$inboundSchema, ActionsCancelRequest$outboundSchema, ActionsCancelStatus$inboundSchema, ActionsCancelStatus$outboundSchema, ActionsCancelDataData$inboundSchema, ActionsCancelDataData$outboundSchema, ActionsCancelData$inboundSchema, ActionsCancelData$outboundSchema, ActionsCancelResponse$inboundSchema, ActionsCancelResponse$outboundSchema;
|
|
49216
49153
|
var init_actions_cancel = __esm(() => {
|
|
@@ -49285,7 +49222,7 @@ var init_actions_cancel = __esm(() => {
|
|
|
49285
49222
|
});
|
|
49286
49223
|
|
|
49287
49224
|
// src/models/operations/actions-check-status.ts
|
|
49288
|
-
var ActionsCheckStatusStatus,
|
|
49225
|
+
var ActionsCheckStatusStatus, ActionsCheckStatusVerdict, ActionsCheckStatusRequest$inboundSchema, ActionsCheckStatusRequest$outboundSchema, ActionsCheckStatusStatus$inboundSchema, ActionsCheckStatusStatus$outboundSchema, ActionsCheckStatusVerdict$inboundSchema, ActionsCheckStatusVerdict$outboundSchema, ActionsCheckStatusDataData$inboundSchema, ActionsCheckStatusDataData$outboundSchema, ActionsCheckStatusData$inboundSchema, ActionsCheckStatusData$outboundSchema, ActionsCheckStatusResponse$inboundSchema, ActionsCheckStatusResponse$outboundSchema;
|
|
49289
49226
|
var init_actions_check_status = __esm(() => {
|
|
49290
49227
|
init_v3();
|
|
49291
49228
|
init_primitives();
|
|
@@ -49299,7 +49236,7 @@ var init_actions_check_status = __esm(() => {
|
|
|
49299
49236
|
Expired: "expired",
|
|
49300
49237
|
Cancelled: "cancelled"
|
|
49301
49238
|
};
|
|
49302
|
-
|
|
49239
|
+
ActionsCheckStatusVerdict = {
|
|
49303
49240
|
Approve: "approve",
|
|
49304
49241
|
Denied: "denied"
|
|
49305
49242
|
};
|
|
@@ -49323,15 +49260,15 @@ var init_actions_check_status = __esm(() => {
|
|
|
49323
49260
|
});
|
|
49324
49261
|
ActionsCheckStatusStatus$inboundSchema = inboundSchema(ActionsCheckStatusStatus);
|
|
49325
49262
|
ActionsCheckStatusStatus$outboundSchema = outboundSchema(ActionsCheckStatusStatus);
|
|
49326
|
-
|
|
49327
|
-
|
|
49263
|
+
ActionsCheckStatusVerdict$inboundSchema = inboundSchema(ActionsCheckStatusVerdict);
|
|
49264
|
+
ActionsCheckStatusVerdict$outboundSchema = outboundSchema(ActionsCheckStatusVerdict);
|
|
49328
49265
|
ActionsCheckStatusDataData$inboundSchema = objectType({
|
|
49329
49266
|
status: ActionsCheckStatusStatus$inboundSchema,
|
|
49330
49267
|
ttl_at: nullableType(date4()).optional(),
|
|
49331
49268
|
resolved_at: nullableType(date4()).optional(),
|
|
49332
49269
|
ceremony_id: nullableType(string4()).optional(),
|
|
49333
49270
|
resolution_jwt: nullableType(string4()).optional(),
|
|
49334
|
-
verdict: nullableType(
|
|
49271
|
+
verdict: nullableType(ActionsCheckStatusVerdict$inboundSchema).optional(),
|
|
49335
49272
|
delivered: optional3(boolean4()),
|
|
49336
49273
|
callback_attempts: optional3(number4())
|
|
49337
49274
|
}).transform((v) => {
|
|
@@ -49349,7 +49286,7 @@ var init_actions_check_status = __esm(() => {
|
|
|
49349
49286
|
resolvedAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
49350
49287
|
ceremonyId: nullableType(stringType()).optional(),
|
|
49351
49288
|
resolutionJwt: nullableType(stringType()).optional(),
|
|
49352
|
-
verdict: nullableType(
|
|
49289
|
+
verdict: nullableType(ActionsCheckStatusVerdict$outboundSchema).optional(),
|
|
49353
49290
|
delivered: booleanType().optional(),
|
|
49354
49291
|
callbackAttempts: numberType().int().optional()
|
|
49355
49292
|
}).transform((v) => {
|
|
@@ -49503,7 +49440,7 @@ var init_actions_propose = __esm(() => {
|
|
|
49503
49440
|
});
|
|
49504
49441
|
|
|
49505
49442
|
// src/models/operations/sdk-create-session.ts
|
|
49506
|
-
var SDKCreateSessionEnvironment, SDKCreateSessionSecurity$inboundSchema, SDKCreateSessionSecurity$outboundSchema, SDKCreateSessionRequest$inboundSchema, SDKCreateSessionRequest$outboundSchema, SDKCreateSessionEnvironment$inboundSchema, SDKCreateSessionEnvironment$outboundSchema, SDKCreateSessionOrganization$inboundSchema, SDKCreateSessionOrganization$outboundSchema,
|
|
49443
|
+
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;
|
|
49507
49444
|
var init_sdk_create_session = __esm(() => {
|
|
49508
49445
|
init_v3();
|
|
49509
49446
|
init_primitives();
|
|
@@ -49514,6 +49451,9 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49514
49451
|
Development: "development",
|
|
49515
49452
|
Production: "production"
|
|
49516
49453
|
};
|
|
49454
|
+
SDKCreateSessionNotarizeFallbackReason = {
|
|
49455
|
+
NotarizeRequiresUserRef: "notarize_requires_user_ref"
|
|
49456
|
+
};
|
|
49517
49457
|
SDKCreateSessionSecurity$inboundSchema = objectType({
|
|
49518
49458
|
ApiKeyAuth: string4()
|
|
49519
49459
|
}).transform((v) => {
|
|
@@ -49530,7 +49470,8 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49530
49470
|
});
|
|
49531
49471
|
SDKCreateSessionRequest$inboundSchema = objectType({
|
|
49532
49472
|
partner_user_id: optional3(string4()),
|
|
49533
|
-
metadata: optional3(recordType(anyType()))
|
|
49473
|
+
metadata: optional3(recordType(anyType())),
|
|
49474
|
+
notarize: optional3(boolean4())
|
|
49534
49475
|
}).transform((v) => {
|
|
49535
49476
|
return remap(v, {
|
|
49536
49477
|
partner_user_id: "partnerUserId"
|
|
@@ -49538,7 +49479,8 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49538
49479
|
});
|
|
49539
49480
|
SDKCreateSessionRequest$outboundSchema = objectType({
|
|
49540
49481
|
partnerUserId: stringType().optional(),
|
|
49541
|
-
metadata: recordType(anyType()).optional()
|
|
49482
|
+
metadata: recordType(anyType()).optional(),
|
|
49483
|
+
notarize: booleanType().optional()
|
|
49542
49484
|
}).transform((v) => {
|
|
49543
49485
|
return remap(v, {
|
|
49544
49486
|
partnerUserId: "partner_user_id"
|
|
@@ -49554,14 +49496,19 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49554
49496
|
id: stringType(),
|
|
49555
49497
|
environment: SDKCreateSessionEnvironment$outboundSchema
|
|
49556
49498
|
});
|
|
49557
|
-
|
|
49499
|
+
SDKCreateSessionNotarizeFallbackReason$inboundSchema = nativeEnumType(SDKCreateSessionNotarizeFallbackReason);
|
|
49500
|
+
SDKCreateSessionNotarizeFallbackReason$outboundSchema = SDKCreateSessionNotarizeFallbackReason$inboundSchema;
|
|
49501
|
+
DataNotarizeRequiresUserRef$inboundSchema = objectType({
|
|
49558
49502
|
anchor_grant_token: string4(),
|
|
49559
49503
|
anchor_grant_expires_at: date4(),
|
|
49560
49504
|
anchor_grant_expires_in_seconds: number4(),
|
|
49561
49505
|
session_token: string4(),
|
|
49562
49506
|
expires_at: date4(),
|
|
49563
49507
|
expires_in_seconds: number4(),
|
|
49564
|
-
organization: lazyType(() => SDKCreateSessionOrganization$inboundSchema)
|
|
49508
|
+
organization: lazyType(() => SDKCreateSessionOrganization$inboundSchema),
|
|
49509
|
+
trusted: optional3(boolean4()),
|
|
49510
|
+
notarize: optional3(boolean4()),
|
|
49511
|
+
notarize_fallback_reason: optional3(SDKCreateSessionNotarizeFallbackReason$inboundSchema)
|
|
49565
49512
|
}).transform((v) => {
|
|
49566
49513
|
return remap(v, {
|
|
49567
49514
|
anchor_grant_token: "anchorGrantToken",
|
|
@@ -49569,17 +49516,21 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49569
49516
|
anchor_grant_expires_in_seconds: "anchorGrantExpiresInSeconds",
|
|
49570
49517
|
session_token: "sessionToken",
|
|
49571
49518
|
expires_at: "expiresAt",
|
|
49572
|
-
expires_in_seconds: "expiresInSeconds"
|
|
49519
|
+
expires_in_seconds: "expiresInSeconds",
|
|
49520
|
+
notarize_fallback_reason: "notarizeFallbackReason"
|
|
49573
49521
|
});
|
|
49574
49522
|
});
|
|
49575
|
-
|
|
49523
|
+
DataNotarizeRequiresUserRef$outboundSchema = objectType({
|
|
49576
49524
|
anchorGrantToken: stringType(),
|
|
49577
49525
|
anchorGrantExpiresAt: dateType().transform((v) => v.toISOString()),
|
|
49578
49526
|
anchorGrantExpiresInSeconds: numberType().int(),
|
|
49579
49527
|
sessionToken: stringType(),
|
|
49580
49528
|
expiresAt: dateType().transform((v) => v.toISOString()),
|
|
49581
49529
|
expiresInSeconds: numberType().int(),
|
|
49582
|
-
organization: lazyType(() => SDKCreateSessionOrganization$outboundSchema)
|
|
49530
|
+
organization: lazyType(() => SDKCreateSessionOrganization$outboundSchema),
|
|
49531
|
+
trusted: booleanType().optional(),
|
|
49532
|
+
notarize: booleanType().optional(),
|
|
49533
|
+
notarizeFallbackReason: SDKCreateSessionNotarizeFallbackReason$outboundSchema.optional()
|
|
49583
49534
|
}).transform((v) => {
|
|
49584
49535
|
return remap(v, {
|
|
49585
49536
|
anchorGrantToken: "anchor_grant_token",
|
|
@@ -49587,15 +49538,16 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49587
49538
|
anchorGrantExpiresInSeconds: "anchor_grant_expires_in_seconds",
|
|
49588
49539
|
sessionToken: "session_token",
|
|
49589
49540
|
expiresAt: "expires_at",
|
|
49590
|
-
expiresInSeconds: "expires_in_seconds"
|
|
49541
|
+
expiresInSeconds: "expires_in_seconds",
|
|
49542
|
+
notarizeFallbackReason: "notarize_fallback_reason"
|
|
49591
49543
|
});
|
|
49592
49544
|
});
|
|
49593
49545
|
SDKCreateSessionData$inboundSchema = objectType({
|
|
49594
|
-
data: optional3(lazyType(() =>
|
|
49546
|
+
data: optional3(lazyType(() => DataNotarizeRequiresUserRef$inboundSchema)),
|
|
49595
49547
|
error: optional3(ErrorBody$inboundSchema)
|
|
49596
49548
|
});
|
|
49597
49549
|
SDKCreateSessionData$outboundSchema = objectType({
|
|
49598
|
-
data: lazyType(() =>
|
|
49550
|
+
data: lazyType(() => DataNotarizeRequiresUserRef$outboundSchema).optional(),
|
|
49599
49551
|
error: ErrorBody$outboundSchema.optional()
|
|
49600
49552
|
});
|
|
49601
49553
|
SDKCreateSessionResponse$inboundSchema = objectType({
|
|
@@ -49607,7 +49559,7 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49607
49559
|
});
|
|
49608
49560
|
|
|
49609
49561
|
// src/models/operations/sdk-create-verification-link.ts
|
|
49610
|
-
var SDKTypeRequest, Mode, SDKCreateVerificationLinkSDKTypeResponse, AuthMode, 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, SDKCreateVerificationLinkDataData$inboundSchema, SDKCreateVerificationLinkDataData$outboundSchema, SDKCreateVerificationLinkData$inboundSchema, SDKCreateVerificationLinkData$outboundSchema, SDKCreateVerificationLinkResponse$inboundSchema, SDKCreateVerificationLinkResponse$outboundSchema;
|
|
49562
|
+
var SDKTypeRequest, Mode, SDKCreateVerificationLinkSDKTypeResponse, AuthMode, GateType, AgeThreshold, 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, GateType$inboundSchema, GateType$outboundSchema, AgeThreshold$inboundSchema, AgeThreshold$outboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema, SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema, SDKCreateVerificationLinkDataData$inboundSchema, SDKCreateVerificationLinkDataData$outboundSchema, SDKCreateVerificationLinkData$inboundSchema, SDKCreateVerificationLinkData$outboundSchema, SDKCreateVerificationLinkResponse$inboundSchema, SDKCreateVerificationLinkResponse$outboundSchema;
|
|
49611
49563
|
var init_sdk_create_verification_link = __esm(() => {
|
|
49612
49564
|
init_v3();
|
|
49613
49565
|
init_primitives();
|
|
@@ -49630,6 +49582,20 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49630
49582
|
LinkedAccount: "linked-account",
|
|
49631
49583
|
Private: "private"
|
|
49632
49584
|
};
|
|
49585
|
+
GateType = {
|
|
49586
|
+
Human: "human",
|
|
49587
|
+
Age: "age"
|
|
49588
|
+
};
|
|
49589
|
+
AgeThreshold = {
|
|
49590
|
+
Thirteen: 13,
|
|
49591
|
+
Eighteen: 18,
|
|
49592
|
+
TwentyOne: 21
|
|
49593
|
+
};
|
|
49594
|
+
SDKCreateVerificationLinkNotarizeFallbackReason = {
|
|
49595
|
+
NotarizeNotEnabled: "notarize_not_enabled",
|
|
49596
|
+
NotarizeRequiresUserRef: "notarize_requires_user_ref",
|
|
49597
|
+
AgeGate: "age_gate"
|
|
49598
|
+
};
|
|
49633
49599
|
SDKCreateVerificationLinkSecurity$inboundSchema = objectType({
|
|
49634
49600
|
GrantTokenAuth: string4()
|
|
49635
49601
|
}).transform((v) => {
|
|
@@ -49659,7 +49625,9 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49659
49625
|
partner_user_ref: optional3(string4()),
|
|
49660
49626
|
link_on_verify: boolean4().default(true),
|
|
49661
49627
|
parent_request_id: optional3(string4()),
|
|
49662
|
-
metadata: optional3(recordType(anyType()))
|
|
49628
|
+
metadata: optional3(recordType(anyType())),
|
|
49629
|
+
notarize: optional3(boolean4()),
|
|
49630
|
+
gate: optional3(string4())
|
|
49663
49631
|
}).transform((v) => {
|
|
49664
49632
|
return remap(v, {
|
|
49665
49633
|
user_email: "userEmail",
|
|
@@ -49683,7 +49651,9 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49683
49651
|
partnerUserRef: stringType().optional(),
|
|
49684
49652
|
linkOnVerify: booleanType().default(true),
|
|
49685
49653
|
parentRequestId: stringType().optional(),
|
|
49686
|
-
metadata: recordType(anyType()).optional()
|
|
49654
|
+
metadata: recordType(anyType()).optional(),
|
|
49655
|
+
notarize: booleanType().optional(),
|
|
49656
|
+
gate: stringType().optional()
|
|
49687
49657
|
}).transform((v) => {
|
|
49688
49658
|
return remap(v, {
|
|
49689
49659
|
userEmail: "user_email",
|
|
@@ -49706,6 +49676,12 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49706
49676
|
SDKCreateVerificationLinkOrganization$outboundSchema = objectType({
|
|
49707
49677
|
id: stringType().optional()
|
|
49708
49678
|
});
|
|
49679
|
+
GateType$inboundSchema = inboundSchema(GateType);
|
|
49680
|
+
GateType$outboundSchema = outboundSchema(GateType);
|
|
49681
|
+
AgeThreshold$inboundSchema = inboundSchemaInt(AgeThreshold);
|
|
49682
|
+
AgeThreshold$outboundSchema = outboundSchemaInt(AgeThreshold);
|
|
49683
|
+
SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema = inboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
|
|
49684
|
+
SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema = outboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
|
|
49709
49685
|
SDKCreateVerificationLinkDataData$inboundSchema = objectType({
|
|
49710
49686
|
request_id: string4(),
|
|
49711
49687
|
deep_link: string4(),
|
|
@@ -49716,7 +49692,13 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49716
49692
|
auth_mode: optional3(AuthMode$inboundSchema),
|
|
49717
49693
|
scope: optional3(string4()),
|
|
49718
49694
|
organization: optional3(lazyType(() => SDKCreateVerificationLinkOrganization$inboundSchema)),
|
|
49719
|
-
pushed_to_devices: number4()
|
|
49695
|
+
pushed_to_devices: number4(),
|
|
49696
|
+
gate_type: optional3(GateType$inboundSchema),
|
|
49697
|
+
age_threshold: optional3(AgeThreshold$inboundSchema),
|
|
49698
|
+
trusted: optional3(boolean4()),
|
|
49699
|
+
notarize: optional3(boolean4()),
|
|
49700
|
+
notarize_fallback_reason: optional3(SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema),
|
|
49701
|
+
gate: optional3(string4())
|
|
49720
49702
|
}).transform((v) => {
|
|
49721
49703
|
return remap(v, {
|
|
49722
49704
|
request_id: "requestId",
|
|
@@ -49726,7 +49708,10 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49726
49708
|
expires_at: "expiresAt",
|
|
49727
49709
|
sdk_type: "sdkType",
|
|
49728
49710
|
auth_mode: "authMode",
|
|
49729
|
-
pushed_to_devices: "pushedToDevices"
|
|
49711
|
+
pushed_to_devices: "pushedToDevices",
|
|
49712
|
+
gate_type: "gateType",
|
|
49713
|
+
age_threshold: "ageThreshold",
|
|
49714
|
+
notarize_fallback_reason: "notarizeFallbackReason"
|
|
49730
49715
|
});
|
|
49731
49716
|
});
|
|
49732
49717
|
SDKCreateVerificationLinkDataData$outboundSchema = objectType({
|
|
@@ -49739,7 +49724,13 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49739
49724
|
authMode: AuthMode$outboundSchema.optional(),
|
|
49740
49725
|
scope: stringType().optional(),
|
|
49741
49726
|
organization: lazyType(() => SDKCreateVerificationLinkOrganization$outboundSchema).optional(),
|
|
49742
|
-
pushedToDevices: numberType().int()
|
|
49727
|
+
pushedToDevices: numberType().int(),
|
|
49728
|
+
gateType: GateType$outboundSchema.optional(),
|
|
49729
|
+
ageThreshold: AgeThreshold$outboundSchema.optional(),
|
|
49730
|
+
trusted: booleanType().optional(),
|
|
49731
|
+
notarize: booleanType().optional(),
|
|
49732
|
+
notarizeFallbackReason: SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema.optional(),
|
|
49733
|
+
gate: stringType().optional()
|
|
49743
49734
|
}).transform((v) => {
|
|
49744
49735
|
return remap(v, {
|
|
49745
49736
|
requestId: "request_id",
|
|
@@ -49749,7 +49740,10 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49749
49740
|
expiresAt: "expires_at",
|
|
49750
49741
|
sdkType: "sdk_type",
|
|
49751
49742
|
authMode: "auth_mode",
|
|
49752
|
-
pushedToDevices: "pushed_to_devices"
|
|
49743
|
+
pushedToDevices: "pushed_to_devices",
|
|
49744
|
+
gateType: "gate_type",
|
|
49745
|
+
ageThreshold: "age_threshold",
|
|
49746
|
+
notarizeFallbackReason: "notarize_fallback_reason"
|
|
49753
49747
|
});
|
|
49754
49748
|
});
|
|
49755
49749
|
SDKCreateVerificationLinkData$inboundSchema = objectType({
|
|
@@ -49782,47 +49776,25 @@ var init_sdk_get_partner_config = __esm(() => {
|
|
|
49782
49776
|
};
|
|
49783
49777
|
SDKGetPartnerConfigSecurity$inboundSchema = objectType({
|
|
49784
49778
|
apiKeyAuth: optional3(string4()),
|
|
49785
|
-
apiKeyAuth1: optional3(string4())
|
|
49786
|
-
apiKeyAuth2: optional3(string4()),
|
|
49787
|
-
apiKeyAuth3: optional3(string4()),
|
|
49788
|
-
apiKeyAuth4: optional3(string4()),
|
|
49789
|
-
apiKeyAuth5: optional3(string4()),
|
|
49790
|
-
apiKeyAuth6: optional3(string4()),
|
|
49791
|
-
apiKeyAuth7: optional3(string4()),
|
|
49792
|
-
apiKeyAuth8: optional3(string4()),
|
|
49793
|
-
apiKeyAuth9: optional3(string4()),
|
|
49794
|
-
apiKeyAuth10: optional3(string4()),
|
|
49795
|
-
apiKeyAuth11: optional3(string4()),
|
|
49796
|
-
apiKeyAuth12: optional3(string4()),
|
|
49797
|
-
apiKeyAuth13: optional3(string4()),
|
|
49798
|
-
apiKeyAuth14: optional3(string4())
|
|
49779
|
+
apiKeyAuth1: optional3(string4())
|
|
49799
49780
|
});
|
|
49800
49781
|
SDKGetPartnerConfigSecurity$outboundSchema = objectType({
|
|
49801
49782
|
apiKeyAuth: stringType().optional(),
|
|
49802
|
-
apiKeyAuth1: stringType().optional()
|
|
49803
|
-
apiKeyAuth2: stringType().optional(),
|
|
49804
|
-
apiKeyAuth3: stringType().optional(),
|
|
49805
|
-
apiKeyAuth4: stringType().optional(),
|
|
49806
|
-
apiKeyAuth5: stringType().optional(),
|
|
49807
|
-
apiKeyAuth6: stringType().optional(),
|
|
49808
|
-
apiKeyAuth7: stringType().optional(),
|
|
49809
|
-
apiKeyAuth8: stringType().optional(),
|
|
49810
|
-
apiKeyAuth9: stringType().optional(),
|
|
49811
|
-
apiKeyAuth10: stringType().optional(),
|
|
49812
|
-
apiKeyAuth11: stringType().optional(),
|
|
49813
|
-
apiKeyAuth12: stringType().optional(),
|
|
49814
|
-
apiKeyAuth13: stringType().optional(),
|
|
49815
|
-
apiKeyAuth14: stringType().optional()
|
|
49783
|
+
apiKeyAuth1: stringType().optional()
|
|
49816
49784
|
});
|
|
49817
49785
|
SDKGetPartnerConfigRequest$inboundSchema = objectType({
|
|
49818
|
-
site_key: string4()
|
|
49786
|
+
site_key: string4(),
|
|
49787
|
+
scope: optional3(string4()),
|
|
49788
|
+
gate: optional3(string4())
|
|
49819
49789
|
}).transform((v) => {
|
|
49820
49790
|
return remap(v, {
|
|
49821
49791
|
site_key: "siteKey"
|
|
49822
49792
|
});
|
|
49823
49793
|
});
|
|
49824
49794
|
SDKGetPartnerConfigRequest$outboundSchema = objectType({
|
|
49825
|
-
siteKey: stringType()
|
|
49795
|
+
siteKey: stringType(),
|
|
49796
|
+
scope: stringType().optional(),
|
|
49797
|
+
gate: stringType().optional()
|
|
49826
49798
|
}).transform((v) => {
|
|
49827
49799
|
return remap(v, {
|
|
49828
49800
|
siteKey: "site_key"
|
|
@@ -49850,11 +49822,25 @@ var init_sdk_get_partner_config = __esm(() => {
|
|
|
49850
49822
|
SDKGetPartnerConfigEnvironment$outboundSchema = outboundSchema(SDKGetPartnerConfigEnvironment);
|
|
49851
49823
|
SDKGetPartnerConfigDataData$inboundSchema = objectType({
|
|
49852
49824
|
integrations: recordType(lazyType(() => Integrations$inboundSchema)),
|
|
49853
|
-
environment: optional3(SDKGetPartnerConfigEnvironment$inboundSchema)
|
|
49825
|
+
environment: optional3(SDKGetPartnerConfigEnvironment$inboundSchema),
|
|
49826
|
+
notarize_enabled: optional3(boolean4()),
|
|
49827
|
+
notarize_gate: optional3(string4())
|
|
49828
|
+
}).transform((v) => {
|
|
49829
|
+
return remap(v, {
|
|
49830
|
+
notarize_enabled: "notarizeEnabled",
|
|
49831
|
+
notarize_gate: "notarizeGate"
|
|
49832
|
+
});
|
|
49854
49833
|
});
|
|
49855
49834
|
SDKGetPartnerConfigDataData$outboundSchema = objectType({
|
|
49856
49835
|
integrations: recordType(lazyType(() => Integrations$outboundSchema)),
|
|
49857
|
-
environment: SDKGetPartnerConfigEnvironment$outboundSchema.optional()
|
|
49836
|
+
environment: SDKGetPartnerConfigEnvironment$outboundSchema.optional(),
|
|
49837
|
+
notarizeEnabled: booleanType().optional(),
|
|
49838
|
+
notarizeGate: stringType().optional()
|
|
49839
|
+
}).transform((v) => {
|
|
49840
|
+
return remap(v, {
|
|
49841
|
+
notarizeEnabled: "notarize_enabled",
|
|
49842
|
+
notarizeGate: "notarize_gate"
|
|
49843
|
+
});
|
|
49858
49844
|
});
|
|
49859
49845
|
SDKGetPartnerConfigData$inboundSchema = objectType({
|
|
49860
49846
|
data: optional3(lazyType(() => SDKGetPartnerConfigDataData$inboundSchema)),
|
|
@@ -49961,9 +49947,10 @@ var init_sdk_revoke_verification = __esm(() => {
|
|
|
49961
49947
|
});
|
|
49962
49948
|
});
|
|
49963
49949
|
SDKRevokeVerificationRequest$inboundSchema = objectType({
|
|
49964
|
-
scope: string4(),
|
|
49950
|
+
scope: optional3(string4()),
|
|
49965
49951
|
user_email: optional3(string4()),
|
|
49966
|
-
partner_user_id: optional3(string4())
|
|
49952
|
+
partner_user_id: optional3(string4()),
|
|
49953
|
+
gate: optional3(string4())
|
|
49967
49954
|
}).transform((v) => {
|
|
49968
49955
|
return remap(v, {
|
|
49969
49956
|
user_email: "userEmail",
|
|
@@ -49971,9 +49958,10 @@ var init_sdk_revoke_verification = __esm(() => {
|
|
|
49971
49958
|
});
|
|
49972
49959
|
});
|
|
49973
49960
|
SDKRevokeVerificationRequest$outboundSchema = objectType({
|
|
49974
|
-
scope: stringType(),
|
|
49961
|
+
scope: stringType().optional(),
|
|
49975
49962
|
userEmail: stringType().optional(),
|
|
49976
|
-
partnerUserId: stringType().optional()
|
|
49963
|
+
partnerUserId: stringType().optional(),
|
|
49964
|
+
gate: stringType().optional()
|
|
49977
49965
|
}).transform((v) => {
|
|
49978
49966
|
return remap(v, {
|
|
49979
49967
|
userEmail: "user_email",
|
|
@@ -50094,14 +50082,14 @@ var init_sdk_store_signal = __esm(() => {
|
|
|
50094
50082
|
});
|
|
50095
50083
|
|
|
50096
50084
|
// src/models/operations/sdk-validate-signal.ts
|
|
50097
|
-
var
|
|
50085
|
+
var SDKValidateSignalReason, SDKValidateSignalRequest$inboundSchema, SDKValidateSignalRequest$outboundSchema, SDKValidateSignalReason$inboundSchema, SDKValidateSignalReason$outboundSchema, SDKValidateSignalDataData$inboundSchema, SDKValidateSignalDataData$outboundSchema, SDKValidateSignalData$inboundSchema, SDKValidateSignalData$outboundSchema, SDKValidateSignalResponse$inboundSchema, SDKValidateSignalResponse$outboundSchema;
|
|
50098
50086
|
var init_sdk_validate_signal = __esm(() => {
|
|
50099
50087
|
init_v3();
|
|
50100
50088
|
init_primitives();
|
|
50101
50089
|
init_enums();
|
|
50102
50090
|
init_primitives2();
|
|
50103
50091
|
init_models();
|
|
50104
|
-
|
|
50092
|
+
SDKValidateSignalReason = {
|
|
50105
50093
|
InvalidSignalToken: "invalid_signal_token",
|
|
50106
50094
|
SignalTokenExpired: "signal_token_expired",
|
|
50107
50095
|
SignalTokenAlreadyUsed: "signal_token_already_used"
|
|
@@ -50124,11 +50112,11 @@ var init_sdk_validate_signal = __esm(() => {
|
|
|
50124
50112
|
verificationEventId: "verification_event_id"
|
|
50125
50113
|
});
|
|
50126
50114
|
});
|
|
50127
|
-
|
|
50128
|
-
|
|
50115
|
+
SDKValidateSignalReason$inboundSchema = inboundSchema(SDKValidateSignalReason);
|
|
50116
|
+
SDKValidateSignalReason$outboundSchema = outboundSchema(SDKValidateSignalReason);
|
|
50129
50117
|
SDKValidateSignalDataData$inboundSchema = objectType({
|
|
50130
50118
|
valid: boolean4(),
|
|
50131
|
-
reason: optional3(
|
|
50119
|
+
reason: optional3(SDKValidateSignalReason$inboundSchema),
|
|
50132
50120
|
score: optional3(number4()),
|
|
50133
50121
|
edge_score: optional3(number4()),
|
|
50134
50122
|
client_score: optional3(number4()),
|
|
@@ -50145,7 +50133,7 @@ var init_sdk_validate_signal = __esm(() => {
|
|
|
50145
50133
|
});
|
|
50146
50134
|
SDKValidateSignalDataData$outboundSchema = objectType({
|
|
50147
50135
|
valid: booleanType(),
|
|
50148
|
-
reason:
|
|
50136
|
+
reason: SDKValidateSignalReason$outboundSchema.optional(),
|
|
50149
50137
|
score: numberType().int().optional(),
|
|
50150
50138
|
edgeScore: numberType().int().optional(),
|
|
50151
50139
|
clientScore: numberType().int().optional(),
|
|
@@ -50177,52 +50165,40 @@ var init_sdk_validate_signal = __esm(() => {
|
|
|
50177
50165
|
});
|
|
50178
50166
|
|
|
50179
50167
|
// src/models/operations/sdk-verify-token.ts
|
|
50180
|
-
var SDKVerifyTokenSecurity$inboundSchema, SDKVerifyTokenSecurity$outboundSchema, SDKVerifyTokenRequest$inboundSchema, SDKVerifyTokenRequest$outboundSchema, Claims$inboundSchema, Claims$outboundSchema, SDKVerifyTokenDataData$inboundSchema, SDKVerifyTokenDataData$outboundSchema, SDKVerifyTokenData$inboundSchema, SDKVerifyTokenData$outboundSchema, SDKVerifyTokenResponse$inboundSchema, SDKVerifyTokenResponse$outboundSchema;
|
|
50168
|
+
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;
|
|
50181
50169
|
var init_sdk_verify_token = __esm(() => {
|
|
50182
50170
|
init_v3();
|
|
50183
50171
|
init_primitives();
|
|
50172
|
+
init_enums();
|
|
50184
50173
|
init_primitives2();
|
|
50185
50174
|
init_models();
|
|
50175
|
+
AgeOver = {
|
|
50176
|
+
Thirteen: 13,
|
|
50177
|
+
Eighteen: 18,
|
|
50178
|
+
TwentyOne: 21
|
|
50179
|
+
};
|
|
50180
|
+
SDKVerifyTokenVerdict = {
|
|
50181
|
+
Pass: "pass",
|
|
50182
|
+
Unavailable: "unavailable"
|
|
50183
|
+
};
|
|
50186
50184
|
SDKVerifyTokenSecurity$inboundSchema = objectType({
|
|
50187
50185
|
apiKeyAuth: optional3(string4()),
|
|
50188
|
-
apiKeyAuth1: optional3(string4())
|
|
50189
|
-
apiKeyAuth2: optional3(string4()),
|
|
50190
|
-
apiKeyAuth3: optional3(string4()),
|
|
50191
|
-
apiKeyAuth4: optional3(string4()),
|
|
50192
|
-
apiKeyAuth5: optional3(string4()),
|
|
50193
|
-
apiKeyAuth6: optional3(string4()),
|
|
50194
|
-
apiKeyAuth7: optional3(string4()),
|
|
50195
|
-
apiKeyAuth8: optional3(string4()),
|
|
50196
|
-
apiKeyAuth9: optional3(string4()),
|
|
50197
|
-
apiKeyAuth10: optional3(string4()),
|
|
50198
|
-
apiKeyAuth11: optional3(string4()),
|
|
50199
|
-
apiKeyAuth12: optional3(string4()),
|
|
50200
|
-
apiKeyAuth13: optional3(string4()),
|
|
50201
|
-
apiKeyAuth14: optional3(string4())
|
|
50186
|
+
apiKeyAuth1: optional3(string4())
|
|
50202
50187
|
});
|
|
50203
50188
|
SDKVerifyTokenSecurity$outboundSchema = objectType({
|
|
50204
50189
|
apiKeyAuth: stringType().optional(),
|
|
50205
|
-
apiKeyAuth1: stringType().optional()
|
|
50206
|
-
apiKeyAuth2: stringType().optional(),
|
|
50207
|
-
apiKeyAuth3: stringType().optional(),
|
|
50208
|
-
apiKeyAuth4: stringType().optional(),
|
|
50209
|
-
apiKeyAuth5: stringType().optional(),
|
|
50210
|
-
apiKeyAuth6: stringType().optional(),
|
|
50211
|
-
apiKeyAuth7: stringType().optional(),
|
|
50212
|
-
apiKeyAuth8: stringType().optional(),
|
|
50213
|
-
apiKeyAuth9: stringType().optional(),
|
|
50214
|
-
apiKeyAuth10: stringType().optional(),
|
|
50215
|
-
apiKeyAuth11: stringType().optional(),
|
|
50216
|
-
apiKeyAuth12: stringType().optional(),
|
|
50217
|
-
apiKeyAuth13: stringType().optional(),
|
|
50218
|
-
apiKeyAuth14: stringType().optional()
|
|
50190
|
+
apiKeyAuth1: stringType().optional()
|
|
50219
50191
|
});
|
|
50220
50192
|
SDKVerifyTokenRequest$inboundSchema = objectType({
|
|
50221
|
-
token: string4()
|
|
50193
|
+
token: string4(),
|
|
50194
|
+
audience: optional3(string4())
|
|
50222
50195
|
});
|
|
50223
50196
|
SDKVerifyTokenRequest$outboundSchema = objectType({
|
|
50224
|
-
token: stringType()
|
|
50197
|
+
token: stringType(),
|
|
50198
|
+
audience: stringType().optional()
|
|
50225
50199
|
});
|
|
50200
|
+
AgeOver$inboundSchema = inboundSchemaInt(AgeOver);
|
|
50201
|
+
AgeOver$outboundSchema = outboundSchemaInt(AgeOver);
|
|
50226
50202
|
Claims$inboundSchema = objectType({
|
|
50227
50203
|
request_id: optional3(string4()),
|
|
50228
50204
|
verified: optional3(boolean4()),
|
|
@@ -50230,13 +50206,21 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50230
50206
|
timestamp: optional3(string4()),
|
|
50231
50207
|
nonce: optional3(string4()),
|
|
50232
50208
|
issued_at: optional3(number4()),
|
|
50233
|
-
expires_at: optional3(number4())
|
|
50209
|
+
expires_at: optional3(number4()),
|
|
50210
|
+
age_over: optional3(AgeOver$inboundSchema),
|
|
50211
|
+
trusted: optional3(boolean4()),
|
|
50212
|
+
trusted_since: optional3(date4()),
|
|
50213
|
+
last_pass_at: optional3(date4()),
|
|
50214
|
+
audience: nullableType(string4()).optional()
|
|
50234
50215
|
}).transform((v) => {
|
|
50235
50216
|
return remap(v, {
|
|
50236
50217
|
request_id: "requestId",
|
|
50237
50218
|
organization_id: "organizationId",
|
|
50238
50219
|
issued_at: "issuedAt",
|
|
50239
|
-
expires_at: "expiresAt"
|
|
50220
|
+
expires_at: "expiresAt",
|
|
50221
|
+
age_over: "ageOver",
|
|
50222
|
+
trusted_since: "trustedSince",
|
|
50223
|
+
last_pass_at: "lastPassAt"
|
|
50240
50224
|
});
|
|
50241
50225
|
});
|
|
50242
50226
|
Claims$outboundSchema = objectType({
|
|
@@ -50246,33 +50230,51 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50246
50230
|
timestamp: stringType().optional(),
|
|
50247
50231
|
nonce: stringType().optional(),
|
|
50248
50232
|
issuedAt: numberType().optional(),
|
|
50249
|
-
expiresAt: numberType().optional()
|
|
50233
|
+
expiresAt: numberType().optional(),
|
|
50234
|
+
ageOver: AgeOver$outboundSchema.optional(),
|
|
50235
|
+
trusted: booleanType().optional(),
|
|
50236
|
+
trustedSince: dateType().transform((v) => v.toISOString()).optional(),
|
|
50237
|
+
lastPassAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
50238
|
+
audience: nullableType(stringType()).optional()
|
|
50250
50239
|
}).transform((v) => {
|
|
50251
50240
|
return remap(v, {
|
|
50252
50241
|
requestId: "request_id",
|
|
50253
50242
|
organizationId: "organization_id",
|
|
50254
50243
|
issuedAt: "issued_at",
|
|
50255
|
-
expiresAt: "expires_at"
|
|
50244
|
+
expiresAt: "expires_at",
|
|
50245
|
+
ageOver: "age_over",
|
|
50246
|
+
trustedSince: "trusted_since",
|
|
50247
|
+
lastPassAt: "last_pass_at"
|
|
50256
50248
|
});
|
|
50257
50249
|
});
|
|
50250
|
+
SDKVerifyTokenVerdict$inboundSchema = inboundSchema(SDKVerifyTokenVerdict);
|
|
50251
|
+
SDKVerifyTokenVerdict$outboundSchema = outboundSchema(SDKVerifyTokenVerdict);
|
|
50258
50252
|
SDKVerifyTokenDataData$inboundSchema = objectType({
|
|
50259
50253
|
valid: boolean4(),
|
|
50260
50254
|
reason: optional3(string4()),
|
|
50261
50255
|
expired_at: nullableType(date4()).optional(),
|
|
50262
|
-
claims: nullableType(lazyType(() => Claims$inboundSchema)).optional()
|
|
50256
|
+
claims: nullableType(lazyType(() => Claims$inboundSchema)).optional(),
|
|
50257
|
+
replayed: optional3(boolean4()),
|
|
50258
|
+
strict_single_use_from: optional3(date4()),
|
|
50259
|
+
verdict: optional3(SDKVerifyTokenVerdict$inboundSchema)
|
|
50263
50260
|
}).transform((v) => {
|
|
50264
50261
|
return remap(v, {
|
|
50265
|
-
expired_at: "expiredAt"
|
|
50262
|
+
expired_at: "expiredAt",
|
|
50263
|
+
strict_single_use_from: "strictSingleUseFrom"
|
|
50266
50264
|
});
|
|
50267
50265
|
});
|
|
50268
50266
|
SDKVerifyTokenDataData$outboundSchema = objectType({
|
|
50269
50267
|
valid: booleanType(),
|
|
50270
50268
|
reason: stringType().optional(),
|
|
50271
50269
|
expiredAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
50272
|
-
claims: nullableType(lazyType(() => Claims$outboundSchema)).optional()
|
|
50270
|
+
claims: nullableType(lazyType(() => Claims$outboundSchema)).optional(),
|
|
50271
|
+
replayed: booleanType().optional(),
|
|
50272
|
+
strictSingleUseFrom: dateType().transform((v) => v.toISOString()).optional(),
|
|
50273
|
+
verdict: SDKVerifyTokenVerdict$outboundSchema.optional()
|
|
50273
50274
|
}).transform((v) => {
|
|
50274
50275
|
return remap(v, {
|
|
50275
|
-
expiredAt: "expired_at"
|
|
50276
|
+
expiredAt: "expired_at",
|
|
50277
|
+
strictSingleUseFrom: "strict_single_use_from"
|
|
50276
50278
|
});
|
|
50277
50279
|
});
|
|
50278
50280
|
SDKVerifyTokenData$inboundSchema = objectType({
|
|
@@ -50291,8 +50293,312 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50291
50293
|
});
|
|
50292
50294
|
});
|
|
50293
50295
|
|
|
50296
|
+
// src/models/operations/secured-accounts-list.ts
|
|
50297
|
+
var QueryParamStatus, RowStatus, UnlinkedBy, SecuredAccountsListUnlinkReason, SecuredAccountsListEnvironment, SecuredAccountsListSecurity$inboundSchema, SecuredAccountsListSecurity$outboundSchema, QueryParamStatus$inboundSchema, QueryParamStatus$outboundSchema, SecuredAccountsListRequest$inboundSchema, SecuredAccountsListRequest$outboundSchema, RowStatus$inboundSchema, RowStatus$outboundSchema, UnlinkedBy$inboundSchema, UnlinkedBy$outboundSchema, SecuredAccountsListUnlinkReason$inboundSchema, SecuredAccountsListUnlinkReason$outboundSchema, Row$inboundSchema, Row$outboundSchema, SecuredAccountsListEnvironment$inboundSchema, SecuredAccountsListEnvironment$outboundSchema, SecuredAccountsListDataData$inboundSchema, SecuredAccountsListDataData$outboundSchema, SecuredAccountsListData$inboundSchema, SecuredAccountsListData$outboundSchema, SecuredAccountsListResponse$inboundSchema, SecuredAccountsListResponse$outboundSchema;
|
|
50298
|
+
var init_secured_accounts_list = __esm(() => {
|
|
50299
|
+
init_v3();
|
|
50300
|
+
init_primitives();
|
|
50301
|
+
init_enums();
|
|
50302
|
+
init_primitives2();
|
|
50303
|
+
init_models();
|
|
50304
|
+
QueryParamStatus = {
|
|
50305
|
+
Active: "active",
|
|
50306
|
+
Unlinked: "unlinked"
|
|
50307
|
+
};
|
|
50308
|
+
RowStatus = {
|
|
50309
|
+
Active: "active",
|
|
50310
|
+
Unlinked: "unlinked"
|
|
50311
|
+
};
|
|
50312
|
+
UnlinkedBy = {
|
|
50313
|
+
Platform: "platform",
|
|
50314
|
+
Human: "human"
|
|
50315
|
+
};
|
|
50316
|
+
SecuredAccountsListUnlinkReason = {
|
|
50317
|
+
CredentialChanged: "credential_changed",
|
|
50318
|
+
Platform: "platform",
|
|
50319
|
+
Human: "human"
|
|
50320
|
+
};
|
|
50321
|
+
SecuredAccountsListEnvironment = {
|
|
50322
|
+
Development: "development",
|
|
50323
|
+
Production: "production"
|
|
50324
|
+
};
|
|
50325
|
+
SecuredAccountsListSecurity$inboundSchema = objectType({
|
|
50326
|
+
ApiKeyAuth: string4()
|
|
50327
|
+
}).transform((v) => {
|
|
50328
|
+
return remap(v, {
|
|
50329
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
50330
|
+
});
|
|
50331
|
+
});
|
|
50332
|
+
SecuredAccountsListSecurity$outboundSchema = objectType({
|
|
50333
|
+
apiKeyAuth: stringType()
|
|
50334
|
+
}).transform((v) => {
|
|
50335
|
+
return remap(v, {
|
|
50336
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
50337
|
+
});
|
|
50338
|
+
});
|
|
50339
|
+
QueryParamStatus$inboundSchema = nativeEnumType(QueryParamStatus);
|
|
50340
|
+
QueryParamStatus$outboundSchema = QueryParamStatus$inboundSchema;
|
|
50341
|
+
SecuredAccountsListRequest$inboundSchema = objectType({
|
|
50342
|
+
platform_user_ref: optional3(string4()),
|
|
50343
|
+
status: optional3(QueryParamStatus$inboundSchema),
|
|
50344
|
+
limit: optional3(number4()),
|
|
50345
|
+
offset: optional3(number4())
|
|
50346
|
+
}).transform((v) => {
|
|
50347
|
+
return remap(v, {
|
|
50348
|
+
platform_user_ref: "platformUserRef"
|
|
50349
|
+
});
|
|
50350
|
+
});
|
|
50351
|
+
SecuredAccountsListRequest$outboundSchema = objectType({
|
|
50352
|
+
platformUserRef: stringType().optional(),
|
|
50353
|
+
status: QueryParamStatus$outboundSchema.optional(),
|
|
50354
|
+
limit: numberType().int().optional(),
|
|
50355
|
+
offset: numberType().int().optional()
|
|
50356
|
+
}).transform((v) => {
|
|
50357
|
+
return remap(v, {
|
|
50358
|
+
platformUserRef: "platform_user_ref"
|
|
50359
|
+
});
|
|
50360
|
+
});
|
|
50361
|
+
RowStatus$inboundSchema = inboundSchema(RowStatus);
|
|
50362
|
+
RowStatus$outboundSchema = outboundSchema(RowStatus);
|
|
50363
|
+
UnlinkedBy$inboundSchema = inboundSchema(UnlinkedBy);
|
|
50364
|
+
UnlinkedBy$outboundSchema = outboundSchema(UnlinkedBy);
|
|
50365
|
+
SecuredAccountsListUnlinkReason$inboundSchema = inboundSchema(SecuredAccountsListUnlinkReason);
|
|
50366
|
+
SecuredAccountsListUnlinkReason$outboundSchema = outboundSchema(SecuredAccountsListUnlinkReason);
|
|
50367
|
+
Row$inboundSchema = objectType({
|
|
50368
|
+
handle: string4(),
|
|
50369
|
+
status: RowStatus$inboundSchema,
|
|
50370
|
+
secured_at: date4(),
|
|
50371
|
+
unlinked_at: nullable3(date4()),
|
|
50372
|
+
unlinked_by: nullable3(UnlinkedBy$inboundSchema),
|
|
50373
|
+
unlink_reason: nullable3(SecuredAccountsListUnlinkReason$inboundSchema),
|
|
50374
|
+
surface_id: nullable3(string4())
|
|
50375
|
+
}).transform((v) => {
|
|
50376
|
+
return remap(v, {
|
|
50377
|
+
secured_at: "securedAt",
|
|
50378
|
+
unlinked_at: "unlinkedAt",
|
|
50379
|
+
unlinked_by: "unlinkedBy",
|
|
50380
|
+
unlink_reason: "unlinkReason",
|
|
50381
|
+
surface_id: "surfaceId"
|
|
50382
|
+
});
|
|
50383
|
+
});
|
|
50384
|
+
Row$outboundSchema = objectType({
|
|
50385
|
+
handle: stringType(),
|
|
50386
|
+
status: RowStatus$outboundSchema,
|
|
50387
|
+
securedAt: dateType().transform((v) => v.toISOString()),
|
|
50388
|
+
unlinkedAt: nullableType(dateType().transform((v) => v.toISOString())),
|
|
50389
|
+
unlinkedBy: nullableType(UnlinkedBy$outboundSchema),
|
|
50390
|
+
unlinkReason: nullableType(SecuredAccountsListUnlinkReason$outboundSchema),
|
|
50391
|
+
surfaceId: nullableType(stringType())
|
|
50392
|
+
}).transform((v) => {
|
|
50393
|
+
return remap(v, {
|
|
50394
|
+
securedAt: "secured_at",
|
|
50395
|
+
unlinkedAt: "unlinked_at",
|
|
50396
|
+
unlinkedBy: "unlinked_by",
|
|
50397
|
+
unlinkReason: "unlink_reason",
|
|
50398
|
+
surfaceId: "surface_id"
|
|
50399
|
+
});
|
|
50400
|
+
});
|
|
50401
|
+
SecuredAccountsListEnvironment$inboundSchema = inboundSchema(SecuredAccountsListEnvironment);
|
|
50402
|
+
SecuredAccountsListEnvironment$outboundSchema = outboundSchema(SecuredAccountsListEnvironment);
|
|
50403
|
+
SecuredAccountsListDataData$inboundSchema = objectType({
|
|
50404
|
+
rows: arrayType(lazyType(() => Row$inboundSchema)),
|
|
50405
|
+
total: number4(),
|
|
50406
|
+
environment: SecuredAccountsListEnvironment$inboundSchema,
|
|
50407
|
+
limit: number4(),
|
|
50408
|
+
offset: number4()
|
|
50409
|
+
});
|
|
50410
|
+
SecuredAccountsListDataData$outboundSchema = objectType({
|
|
50411
|
+
rows: arrayType(lazyType(() => Row$outboundSchema)),
|
|
50412
|
+
total: numberType().int(),
|
|
50413
|
+
environment: SecuredAccountsListEnvironment$outboundSchema,
|
|
50414
|
+
limit: numberType().int(),
|
|
50415
|
+
offset: numberType().int()
|
|
50416
|
+
});
|
|
50417
|
+
SecuredAccountsListData$inboundSchema = objectType({
|
|
50418
|
+
data: optional3(lazyType(() => SecuredAccountsListDataData$inboundSchema)),
|
|
50419
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
50420
|
+
});
|
|
50421
|
+
SecuredAccountsListData$outboundSchema = objectType({
|
|
50422
|
+
data: lazyType(() => SecuredAccountsListDataData$outboundSchema).optional(),
|
|
50423
|
+
error: ErrorBody$outboundSchema.optional()
|
|
50424
|
+
});
|
|
50425
|
+
SecuredAccountsListResponse$inboundSchema = objectType({
|
|
50426
|
+
data: lazyType(() => SecuredAccountsListData$inboundSchema)
|
|
50427
|
+
});
|
|
50428
|
+
SecuredAccountsListResponse$outboundSchema = objectType({
|
|
50429
|
+
data: lazyType(() => SecuredAccountsListData$outboundSchema)
|
|
50430
|
+
});
|
|
50431
|
+
});
|
|
50432
|
+
|
|
50433
|
+
// src/models/operations/secured-accounts-revoke.ts
|
|
50434
|
+
var SecuredAccountsRevokeReason, SecuredAccountsRevokeUnlinkReason, SecuredAccountsRevokeSecurity$inboundSchema, SecuredAccountsRevokeSecurity$outboundSchema, SecuredAccountsRevokeReason$inboundSchema, SecuredAccountsRevokeReason$outboundSchema, SecuredAccountsRevokeRequest$inboundSchema, SecuredAccountsRevokeRequest$outboundSchema, SecuredAccountsRevokeUnlinkReason$inboundSchema, SecuredAccountsRevokeUnlinkReason$outboundSchema, SecuredAccountsRevokeDataData$inboundSchema, SecuredAccountsRevokeDataData$outboundSchema, SecuredAccountsRevokeData$inboundSchema, SecuredAccountsRevokeData$outboundSchema, SecuredAccountsRevokeResponse$inboundSchema, SecuredAccountsRevokeResponse$outboundSchema;
|
|
50435
|
+
var init_secured_accounts_revoke = __esm(() => {
|
|
50436
|
+
init_v3();
|
|
50437
|
+
init_primitives();
|
|
50438
|
+
init_enums();
|
|
50439
|
+
init_primitives2();
|
|
50440
|
+
init_models();
|
|
50441
|
+
SecuredAccountsRevokeReason = {
|
|
50442
|
+
Platform: "platform",
|
|
50443
|
+
CredentialChanged: "credential_changed"
|
|
50444
|
+
};
|
|
50445
|
+
SecuredAccountsRevokeUnlinkReason = {
|
|
50446
|
+
CredentialChanged: "credential_changed",
|
|
50447
|
+
Platform: "platform"
|
|
50448
|
+
};
|
|
50449
|
+
SecuredAccountsRevokeSecurity$inboundSchema = objectType({
|
|
50450
|
+
ApiKeyAuth: string4()
|
|
50451
|
+
}).transform((v) => {
|
|
50452
|
+
return remap(v, {
|
|
50453
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
50454
|
+
});
|
|
50455
|
+
});
|
|
50456
|
+
SecuredAccountsRevokeSecurity$outboundSchema = objectType({
|
|
50457
|
+
apiKeyAuth: stringType()
|
|
50458
|
+
}).transform((v) => {
|
|
50459
|
+
return remap(v, {
|
|
50460
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
50461
|
+
});
|
|
50462
|
+
});
|
|
50463
|
+
SecuredAccountsRevokeReason$inboundSchema = nativeEnumType(SecuredAccountsRevokeReason);
|
|
50464
|
+
SecuredAccountsRevokeReason$outboundSchema = SecuredAccountsRevokeReason$inboundSchema;
|
|
50465
|
+
SecuredAccountsRevokeRequest$inboundSchema = objectType({
|
|
50466
|
+
platform_user_ref: optional3(string4()),
|
|
50467
|
+
handle: optional3(string4()),
|
|
50468
|
+
reason: optional3(SecuredAccountsRevokeReason$inboundSchema)
|
|
50469
|
+
}).transform((v) => {
|
|
50470
|
+
return remap(v, {
|
|
50471
|
+
platform_user_ref: "platformUserRef"
|
|
50472
|
+
});
|
|
50473
|
+
});
|
|
50474
|
+
SecuredAccountsRevokeRequest$outboundSchema = objectType({
|
|
50475
|
+
platformUserRef: stringType().optional(),
|
|
50476
|
+
handle: stringType().optional(),
|
|
50477
|
+
reason: SecuredAccountsRevokeReason$outboundSchema.optional()
|
|
50478
|
+
}).transform((v) => {
|
|
50479
|
+
return remap(v, {
|
|
50480
|
+
platformUserRef: "platform_user_ref"
|
|
50481
|
+
});
|
|
50482
|
+
});
|
|
50483
|
+
SecuredAccountsRevokeUnlinkReason$inboundSchema = inboundSchema(SecuredAccountsRevokeUnlinkReason);
|
|
50484
|
+
SecuredAccountsRevokeUnlinkReason$outboundSchema = outboundSchema(SecuredAccountsRevokeUnlinkReason);
|
|
50485
|
+
SecuredAccountsRevokeDataData$inboundSchema = objectType({
|
|
50486
|
+
success: boolean4(),
|
|
50487
|
+
revoked: boolean4(),
|
|
50488
|
+
handle: nullable3(string4()),
|
|
50489
|
+
unlinked_at: nullable3(date4()),
|
|
50490
|
+
unlink_reason: nullable3(SecuredAccountsRevokeUnlinkReason$inboundSchema)
|
|
50491
|
+
}).transform((v) => {
|
|
50492
|
+
return remap(v, {
|
|
50493
|
+
unlinked_at: "unlinkedAt",
|
|
50494
|
+
unlink_reason: "unlinkReason"
|
|
50495
|
+
});
|
|
50496
|
+
});
|
|
50497
|
+
SecuredAccountsRevokeDataData$outboundSchema = objectType({
|
|
50498
|
+
success: booleanType(),
|
|
50499
|
+
revoked: booleanType(),
|
|
50500
|
+
handle: nullableType(stringType()),
|
|
50501
|
+
unlinkedAt: nullableType(dateType().transform((v) => v.toISOString())),
|
|
50502
|
+
unlinkReason: nullableType(SecuredAccountsRevokeUnlinkReason$outboundSchema)
|
|
50503
|
+
}).transform((v) => {
|
|
50504
|
+
return remap(v, {
|
|
50505
|
+
unlinkedAt: "unlinked_at",
|
|
50506
|
+
unlinkReason: "unlink_reason"
|
|
50507
|
+
});
|
|
50508
|
+
});
|
|
50509
|
+
SecuredAccountsRevokeData$inboundSchema = objectType({
|
|
50510
|
+
data: optional3(lazyType(() => SecuredAccountsRevokeDataData$inboundSchema)),
|
|
50511
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
50512
|
+
});
|
|
50513
|
+
SecuredAccountsRevokeData$outboundSchema = objectType({
|
|
50514
|
+
data: lazyType(() => SecuredAccountsRevokeDataData$outboundSchema).optional(),
|
|
50515
|
+
error: ErrorBody$outboundSchema.optional()
|
|
50516
|
+
});
|
|
50517
|
+
SecuredAccountsRevokeResponse$inboundSchema = objectType({
|
|
50518
|
+
data: lazyType(() => SecuredAccountsRevokeData$inboundSchema)
|
|
50519
|
+
});
|
|
50520
|
+
SecuredAccountsRevokeResponse$outboundSchema = objectType({
|
|
50521
|
+
data: lazyType(() => SecuredAccountsRevokeData$outboundSchema)
|
|
50522
|
+
});
|
|
50523
|
+
});
|
|
50524
|
+
|
|
50525
|
+
// src/models/operations/secured-accounts-status.ts
|
|
50526
|
+
var State, SecuredAccountsStatusSecurity$inboundSchema, SecuredAccountsStatusSecurity$outboundSchema, SecuredAccountsStatusRequest$inboundSchema, SecuredAccountsStatusRequest$outboundSchema, State$inboundSchema, State$outboundSchema, SecuredAccountsStatusDataData$inboundSchema, SecuredAccountsStatusDataData$outboundSchema, SecuredAccountsStatusData$inboundSchema, SecuredAccountsStatusData$outboundSchema, SecuredAccountsStatusResponse$inboundSchema, SecuredAccountsStatusResponse$outboundSchema;
|
|
50527
|
+
var init_secured_accounts_status = __esm(() => {
|
|
50528
|
+
init_v3();
|
|
50529
|
+
init_primitives();
|
|
50530
|
+
init_enums();
|
|
50531
|
+
init_primitives2();
|
|
50532
|
+
init_models();
|
|
50533
|
+
State = {
|
|
50534
|
+
None: "none",
|
|
50535
|
+
Fresh: "fresh",
|
|
50536
|
+
Stale: "stale"
|
|
50537
|
+
};
|
|
50538
|
+
SecuredAccountsStatusSecurity$inboundSchema = objectType({
|
|
50539
|
+
ApiKeyAuth: string4()
|
|
50540
|
+
}).transform((v) => {
|
|
50541
|
+
return remap(v, {
|
|
50542
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
50543
|
+
});
|
|
50544
|
+
});
|
|
50545
|
+
SecuredAccountsStatusSecurity$outboundSchema = objectType({
|
|
50546
|
+
apiKeyAuth: stringType()
|
|
50547
|
+
}).transform((v) => {
|
|
50548
|
+
return remap(v, {
|
|
50549
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
50550
|
+
});
|
|
50551
|
+
});
|
|
50552
|
+
SecuredAccountsStatusRequest$inboundSchema = objectType({
|
|
50553
|
+
platform_user_ref: string4()
|
|
50554
|
+
}).transform((v) => {
|
|
50555
|
+
return remap(v, {
|
|
50556
|
+
platform_user_ref: "platformUserRef"
|
|
50557
|
+
});
|
|
50558
|
+
});
|
|
50559
|
+
SecuredAccountsStatusRequest$outboundSchema = objectType({
|
|
50560
|
+
platformUserRef: stringType()
|
|
50561
|
+
}).transform((v) => {
|
|
50562
|
+
return remap(v, {
|
|
50563
|
+
platformUserRef: "platform_user_ref"
|
|
50564
|
+
});
|
|
50565
|
+
});
|
|
50566
|
+
State$inboundSchema = inboundSchema(State);
|
|
50567
|
+
State$outboundSchema = outboundSchema(State);
|
|
50568
|
+
SecuredAccountsStatusDataData$inboundSchema = objectType({
|
|
50569
|
+
state: State$inboundSchema,
|
|
50570
|
+
fresh_until: nullable3(date4())
|
|
50571
|
+
}).transform((v) => {
|
|
50572
|
+
return remap(v, {
|
|
50573
|
+
fresh_until: "freshUntil"
|
|
50574
|
+
});
|
|
50575
|
+
});
|
|
50576
|
+
SecuredAccountsStatusDataData$outboundSchema = objectType({
|
|
50577
|
+
state: State$outboundSchema,
|
|
50578
|
+
freshUntil: nullableType(dateType().transform((v) => v.toISOString()))
|
|
50579
|
+
}).transform((v) => {
|
|
50580
|
+
return remap(v, {
|
|
50581
|
+
freshUntil: "fresh_until"
|
|
50582
|
+
});
|
|
50583
|
+
});
|
|
50584
|
+
SecuredAccountsStatusData$inboundSchema = objectType({
|
|
50585
|
+
data: optional3(lazyType(() => SecuredAccountsStatusDataData$inboundSchema)),
|
|
50586
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
50587
|
+
});
|
|
50588
|
+
SecuredAccountsStatusData$outboundSchema = objectType({
|
|
50589
|
+
data: lazyType(() => SecuredAccountsStatusDataData$outboundSchema).optional(),
|
|
50590
|
+
error: ErrorBody$outboundSchema.optional()
|
|
50591
|
+
});
|
|
50592
|
+
SecuredAccountsStatusResponse$inboundSchema = objectType({
|
|
50593
|
+
data: lazyType(() => SecuredAccountsStatusData$inboundSchema)
|
|
50594
|
+
});
|
|
50595
|
+
SecuredAccountsStatusResponse$outboundSchema = objectType({
|
|
50596
|
+
data: lazyType(() => SecuredAccountsStatusData$outboundSchema)
|
|
50597
|
+
});
|
|
50598
|
+
});
|
|
50599
|
+
|
|
50294
50600
|
// src/models/operations/verification-get-status.ts
|
|
50295
|
-
var VerificationGetStatusStatus, VerificationGetStatusSDKType, VerificationGetStatusSecurity$inboundSchema, VerificationGetStatusSecurity$outboundSchema, VerificationGetStatusRequest$inboundSchema, VerificationGetStatusRequest$outboundSchema, VerificationGetStatusStatus$inboundSchema, VerificationGetStatusStatus$outboundSchema, VerificationGetStatusSDKType$inboundSchema, VerificationGetStatusSDKType$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, VerificationGetStatusData$inboundSchema, VerificationGetStatusData$outboundSchema, VerificationGetStatusResponse$inboundSchema, VerificationGetStatusResponse$outboundSchema;
|
|
50601
|
+
var VerificationGetStatusStatus, VerificationGetStatusSDKType, VerificationGetStatusReason, VerificationGetStatusSecurity$inboundSchema, VerificationGetStatusSecurity$outboundSchema, VerificationGetStatusRequest$inboundSchema, VerificationGetStatusRequest$outboundSchema, VerificationGetStatusStatus$inboundSchema, VerificationGetStatusStatus$outboundSchema, VerificationGetStatusSDKType$inboundSchema, VerificationGetStatusSDKType$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, VerificationGetStatusReason$inboundSchema, VerificationGetStatusReason$outboundSchema, VerificationGetStatusData$inboundSchema, VerificationGetStatusData$outboundSchema, VerificationGetStatusResponse$inboundSchema, VerificationGetStatusResponse$outboundSchema;
|
|
50296
50602
|
var init_verification_get_status = __esm(() => {
|
|
50297
50603
|
init_v3();
|
|
50298
50604
|
init_primitives();
|
|
@@ -50312,39 +50618,20 @@ var init_verification_get_status = __esm(() => {
|
|
|
50312
50618
|
Signal: "signal",
|
|
50313
50619
|
Presence: "presence"
|
|
50314
50620
|
};
|
|
50621
|
+
VerificationGetStatusReason = {
|
|
50622
|
+
AlreadyTrusted: "already_trusted",
|
|
50623
|
+
RebindRequiresPriorId: "rebind_requires_prior_id",
|
|
50624
|
+
PassLimitReached: "pass_limit_reached",
|
|
50625
|
+
RealDaysNotMet: "real_days_not_met",
|
|
50626
|
+
Unavailable: "unavailable"
|
|
50627
|
+
};
|
|
50315
50628
|
VerificationGetStatusSecurity$inboundSchema = objectType({
|
|
50316
50629
|
apiKeyAuth: optional3(string4()),
|
|
50317
|
-
apiKeyAuth1: optional3(string4())
|
|
50318
|
-
apiKeyAuth2: optional3(string4()),
|
|
50319
|
-
apiKeyAuth3: optional3(string4()),
|
|
50320
|
-
apiKeyAuth4: optional3(string4()),
|
|
50321
|
-
apiKeyAuth5: optional3(string4()),
|
|
50322
|
-
apiKeyAuth6: optional3(string4()),
|
|
50323
|
-
apiKeyAuth7: optional3(string4()),
|
|
50324
|
-
apiKeyAuth8: optional3(string4()),
|
|
50325
|
-
apiKeyAuth9: optional3(string4()),
|
|
50326
|
-
apiKeyAuth10: optional3(string4()),
|
|
50327
|
-
apiKeyAuth11: optional3(string4()),
|
|
50328
|
-
apiKeyAuth12: optional3(string4()),
|
|
50329
|
-
apiKeyAuth13: optional3(string4()),
|
|
50330
|
-
apiKeyAuth14: optional3(string4())
|
|
50630
|
+
apiKeyAuth1: optional3(string4())
|
|
50331
50631
|
});
|
|
50332
50632
|
VerificationGetStatusSecurity$outboundSchema = objectType({
|
|
50333
50633
|
apiKeyAuth: stringType().optional(),
|
|
50334
|
-
apiKeyAuth1: stringType().optional()
|
|
50335
|
-
apiKeyAuth2: stringType().optional(),
|
|
50336
|
-
apiKeyAuth3: stringType().optional(),
|
|
50337
|
-
apiKeyAuth4: stringType().optional(),
|
|
50338
|
-
apiKeyAuth5: stringType().optional(),
|
|
50339
|
-
apiKeyAuth6: stringType().optional(),
|
|
50340
|
-
apiKeyAuth7: stringType().optional(),
|
|
50341
|
-
apiKeyAuth8: stringType().optional(),
|
|
50342
|
-
apiKeyAuth9: stringType().optional(),
|
|
50343
|
-
apiKeyAuth10: stringType().optional(),
|
|
50344
|
-
apiKeyAuth11: stringType().optional(),
|
|
50345
|
-
apiKeyAuth12: stringType().optional(),
|
|
50346
|
-
apiKeyAuth13: stringType().optional(),
|
|
50347
|
-
apiKeyAuth14: stringType().optional()
|
|
50634
|
+
apiKeyAuth1: stringType().optional()
|
|
50348
50635
|
});
|
|
50349
50636
|
VerificationGetStatusRequest$inboundSchema = objectType({
|
|
50350
50637
|
request_id: string4()
|
|
@@ -50390,6 +50677,8 @@ var init_verification_get_status = __esm(() => {
|
|
|
50390
50677
|
parentRequestId: "parent_request_id"
|
|
50391
50678
|
});
|
|
50392
50679
|
});
|
|
50680
|
+
VerificationGetStatusReason$inboundSchema = inboundSchema(VerificationGetStatusReason);
|
|
50681
|
+
VerificationGetStatusReason$outboundSchema = outboundSchema(VerificationGetStatusReason);
|
|
50393
50682
|
VerificationGetStatusData$inboundSchema = objectType({
|
|
50394
50683
|
found: optional3(boolean4()),
|
|
50395
50684
|
status: optional3(VerificationGetStatusStatus$inboundSchema),
|
|
@@ -50406,7 +50695,12 @@ var init_verification_get_status = __esm(() => {
|
|
|
50406
50695
|
presence_address: nullableType(string4()).optional(),
|
|
50407
50696
|
metadata: nullableType(lazyType(() => Metadata$inboundSchema)).optional(),
|
|
50408
50697
|
message: optional3(string4()),
|
|
50409
|
-
error: optional3(ErrorBody$inboundSchema)
|
|
50698
|
+
error: optional3(ErrorBody$inboundSchema),
|
|
50699
|
+
reason: nullableType(VerificationGetStatusReason$inboundSchema).optional(),
|
|
50700
|
+
trusted: nullableType(boolean4()).optional(),
|
|
50701
|
+
first_time: nullableType(boolean4()).optional(),
|
|
50702
|
+
notarize: optional3(boolean4()),
|
|
50703
|
+
organization_name: nullableType(string4()).optional()
|
|
50410
50704
|
}).transform((v) => {
|
|
50411
50705
|
return remap(v, {
|
|
50412
50706
|
request_id: "requestId",
|
|
@@ -50418,7 +50712,9 @@ var init_verification_get_status = __esm(() => {
|
|
|
50418
50712
|
verification_token: "verificationToken",
|
|
50419
50713
|
error_message: "errorMessage",
|
|
50420
50714
|
sdk_type: "sdkType",
|
|
50421
|
-
presence_address: "presenceAddress"
|
|
50715
|
+
presence_address: "presenceAddress",
|
|
50716
|
+
first_time: "firstTime",
|
|
50717
|
+
organization_name: "organizationName"
|
|
50422
50718
|
});
|
|
50423
50719
|
});
|
|
50424
50720
|
VerificationGetStatusData$outboundSchema = objectType({
|
|
@@ -50437,7 +50733,12 @@ var init_verification_get_status = __esm(() => {
|
|
|
50437
50733
|
presenceAddress: nullableType(stringType()).optional(),
|
|
50438
50734
|
metadata: nullableType(lazyType(() => Metadata$outboundSchema)).optional(),
|
|
50439
50735
|
message: stringType().optional(),
|
|
50440
|
-
error: ErrorBody$outboundSchema.optional()
|
|
50736
|
+
error: ErrorBody$outboundSchema.optional(),
|
|
50737
|
+
reason: nullableType(VerificationGetStatusReason$outboundSchema).optional(),
|
|
50738
|
+
trusted: nullableType(booleanType()).optional(),
|
|
50739
|
+
firstTime: nullableType(booleanType()).optional(),
|
|
50740
|
+
notarize: booleanType().optional(),
|
|
50741
|
+
organizationName: nullableType(stringType()).optional()
|
|
50441
50742
|
}).transform((v) => {
|
|
50442
50743
|
return remap(v, {
|
|
50443
50744
|
requestId: "request_id",
|
|
@@ -50449,7 +50750,9 @@ var init_verification_get_status = __esm(() => {
|
|
|
50449
50750
|
verificationToken: "verification_token",
|
|
50450
50751
|
errorMessage: "error_message",
|
|
50451
50752
|
sdkType: "sdk_type",
|
|
50452
|
-
presenceAddress: "presence_address"
|
|
50753
|
+
presenceAddress: "presence_address",
|
|
50754
|
+
firstTime: "first_time",
|
|
50755
|
+
organizationName: "organization_name"
|
|
50453
50756
|
});
|
|
50454
50757
|
});
|
|
50455
50758
|
VerificationGetStatusResponse$inboundSchema = objectType({
|
|
@@ -50473,6 +50776,9 @@ var init_operations = __esm(() => {
|
|
|
50473
50776
|
init_sdk_store_signal();
|
|
50474
50777
|
init_sdk_validate_signal();
|
|
50475
50778
|
init_sdk_verify_token();
|
|
50779
|
+
init_secured_accounts_list();
|
|
50780
|
+
init_secured_accounts_revoke();
|
|
50781
|
+
init_secured_accounts_status();
|
|
50476
50782
|
init_verification_get_status();
|
|
50477
50783
|
});
|
|
50478
50784
|
|
|
@@ -50591,23 +50897,7 @@ var init_actions_cancel_action2 = __esm(() => {
|
|
|
50591
50897
|
tool$actionsCancelAction = {
|
|
50592
50898
|
name: "cancel_resolution",
|
|
50593
50899
|
description: `Stand down a queued resolution before the user responds. No-op once terminal; TTL expiry produces no Resolution.`,
|
|
50594
|
-
scopes: [
|
|
50595
|
-
"queue",
|
|
50596
|
-
"queue",
|
|
50597
|
-
"queue",
|
|
50598
|
-
"queue",
|
|
50599
|
-
"queue",
|
|
50600
|
-
"queue",
|
|
50601
|
-
"queue",
|
|
50602
|
-
"queue",
|
|
50603
|
-
"queue",
|
|
50604
|
-
"queue",
|
|
50605
|
-
"queue",
|
|
50606
|
-
"queue",
|
|
50607
|
-
"queue",
|
|
50608
|
-
"queue",
|
|
50609
|
-
"queue"
|
|
50610
|
-
],
|
|
50900
|
+
scopes: ["queue", "queue"],
|
|
50611
50901
|
args,
|
|
50612
50902
|
tool: async (client, args2, ctx) => {
|
|
50613
50903
|
const [result, apiCall] = await actionsCancelAction(client, args2.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -50713,23 +51003,7 @@ var init_actions_check_action_status2 = __esm(() => {
|
|
|
50713
51003
|
tool$actionsCheckActionStatus = {
|
|
50714
51004
|
name: "check_resolution_status",
|
|
50715
51005
|
description: `Poll a proposed resolution (pass wait_seconds up to 25 to long-poll). Terminal states (approved/denied) carry the signed Proof of Resolution JWT — verify against BotShield's JWKS; the request_id is the JWT jti.`,
|
|
50716
|
-
scopes: [
|
|
50717
|
-
"queue",
|
|
50718
|
-
"queue",
|
|
50719
|
-
"queue",
|
|
50720
|
-
"queue",
|
|
50721
|
-
"queue",
|
|
50722
|
-
"queue",
|
|
50723
|
-
"queue",
|
|
50724
|
-
"queue",
|
|
50725
|
-
"queue",
|
|
50726
|
-
"queue",
|
|
50727
|
-
"queue",
|
|
50728
|
-
"queue",
|
|
50729
|
-
"queue",
|
|
50730
|
-
"queue",
|
|
50731
|
-
"queue"
|
|
50732
|
-
],
|
|
51006
|
+
scopes: ["queue", "queue"],
|
|
50733
51007
|
args: args2,
|
|
50734
51008
|
tool: async (client, args3, ctx) => {
|
|
50735
51009
|
const [result, apiCall] = await actionsCheckActionStatus(client, args3.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -50831,23 +51105,7 @@ var init_actions_propose_action2 = __esm(() => {
|
|
|
50831
51105
|
tool$actionsProposeAction = {
|
|
50832
51106
|
name: "propose_resolution",
|
|
50833
51107
|
description: `Propose a human-presence-gated action to a BotShield user (Agents Ask). Returns a card_id immediately; the signed Proof of Resolution arrives async via the agent's registered callback, or poll check_resolution_status.`,
|
|
50834
|
-
scopes: [
|
|
50835
|
-
"queue",
|
|
50836
|
-
"queue",
|
|
50837
|
-
"queue",
|
|
50838
|
-
"queue",
|
|
50839
|
-
"queue",
|
|
50840
|
-
"queue",
|
|
50841
|
-
"queue",
|
|
50842
|
-
"queue",
|
|
50843
|
-
"queue",
|
|
50844
|
-
"queue",
|
|
50845
|
-
"queue",
|
|
50846
|
-
"queue",
|
|
50847
|
-
"queue",
|
|
50848
|
-
"queue",
|
|
50849
|
-
"queue"
|
|
50850
|
-
],
|
|
51108
|
+
scopes: ["queue", "queue"],
|
|
50851
51109
|
args: args3,
|
|
50852
51110
|
tool: async (client, args4, ctx) => {
|
|
50853
51111
|
const [result, apiCall] = await actionsProposeAction(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -50867,7 +51125,7 @@ var init_actions_propose_action2 = __esm(() => {
|
|
|
50867
51125
|
function createMCPServer(deps) {
|
|
50868
51126
|
const server = new McpServer({
|
|
50869
51127
|
name: "BotShield",
|
|
50870
|
-
version: "2.0
|
|
51128
|
+
version: "2.2.0"
|
|
50871
51129
|
});
|
|
50872
51130
|
const client = new BotShieldCore({
|
|
50873
51131
|
security: deps.security,
|
|
@@ -50925,20 +51183,7 @@ async function startStdio(flags) {
|
|
|
50925
51183
|
scopes: flags.scope,
|
|
50926
51184
|
security: {
|
|
50927
51185
|
agentKeyAuth: flags["agent-key-auth"] ?? "",
|
|
50928
|
-
agentKeyAuth1: flags["agent-key-auth1"] ?? ""
|
|
50929
|
-
agentKeyAuth2: flags["agent-key-auth2"] ?? "",
|
|
50930
|
-
agentKeyAuth3: flags["agent-key-auth3"] ?? "",
|
|
50931
|
-
agentKeyAuth4: flags["agent-key-auth4"] ?? "",
|
|
50932
|
-
agentKeyAuth5: flags["agent-key-auth5"] ?? "",
|
|
50933
|
-
agentKeyAuth6: flags["agent-key-auth6"] ?? "",
|
|
50934
|
-
agentKeyAuth7: flags["agent-key-auth7"] ?? "",
|
|
50935
|
-
agentKeyAuth8: flags["agent-key-auth8"] ?? "",
|
|
50936
|
-
agentKeyAuth9: flags["agent-key-auth9"] ?? "",
|
|
50937
|
-
agentKeyAuth10: flags["agent-key-auth10"] ?? "",
|
|
50938
|
-
agentKeyAuth11: flags["agent-key-auth11"] ?? "",
|
|
50939
|
-
agentKeyAuth12: flags["agent-key-auth12"] ?? "",
|
|
50940
|
-
agentKeyAuth13: flags["agent-key-auth13"] ?? "",
|
|
50941
|
-
agentKeyAuth14: flags["agent-key-auth14"] ?? ""
|
|
51186
|
+
agentKeyAuth1: flags["agent-key-auth1"] ?? ""
|
|
50942
51187
|
},
|
|
50943
51188
|
serverURL: flags["server-url"],
|
|
50944
51189
|
serverIdx: flags["server-index"]
|
|
@@ -50960,20 +51205,7 @@ async function startSSE(flags) {
|
|
|
50960
51205
|
scopes: flags.scope,
|
|
50961
51206
|
security: {
|
|
50962
51207
|
agentKeyAuth: flags["agent-key-auth"] ?? "",
|
|
50963
|
-
agentKeyAuth1: flags["agent-key-auth1"] ?? ""
|
|
50964
|
-
agentKeyAuth2: flags["agent-key-auth2"] ?? "",
|
|
50965
|
-
agentKeyAuth3: flags["agent-key-auth3"] ?? "",
|
|
50966
|
-
agentKeyAuth4: flags["agent-key-auth4"] ?? "",
|
|
50967
|
-
agentKeyAuth5: flags["agent-key-auth5"] ?? "",
|
|
50968
|
-
agentKeyAuth6: flags["agent-key-auth6"] ?? "",
|
|
50969
|
-
agentKeyAuth7: flags["agent-key-auth7"] ?? "",
|
|
50970
|
-
agentKeyAuth8: flags["agent-key-auth8"] ?? "",
|
|
50971
|
-
agentKeyAuth9: flags["agent-key-auth9"] ?? "",
|
|
50972
|
-
agentKeyAuth10: flags["agent-key-auth10"] ?? "",
|
|
50973
|
-
agentKeyAuth11: flags["agent-key-auth11"] ?? "",
|
|
50974
|
-
agentKeyAuth12: flags["agent-key-auth12"] ?? "",
|
|
50975
|
-
agentKeyAuth13: flags["agent-key-auth13"] ?? "",
|
|
50976
|
-
agentKeyAuth14: flags["agent-key-auth14"] ?? ""
|
|
51208
|
+
agentKeyAuth1: flags["agent-key-auth1"] ?? ""
|
|
50977
51209
|
},
|
|
50978
51210
|
serverURL: flags["server-url"],
|
|
50979
51211
|
serverIdx: flags["server-index"]
|
|
@@ -53150,110 +53382,6 @@ var startCommand = buildCommand({
|
|
|
53150
53382
|
return stringType().parse(value);
|
|
53151
53383
|
}
|
|
53152
53384
|
},
|
|
53153
|
-
"agent-key-auth2": {
|
|
53154
|
-
kind: "parsed",
|
|
53155
|
-
brief: "Sets the agentKeyAuth2 auth field for the API",
|
|
53156
|
-
optional: true,
|
|
53157
|
-
parse: (value) => {
|
|
53158
|
-
return stringType().parse(value);
|
|
53159
|
-
}
|
|
53160
|
-
},
|
|
53161
|
-
"agent-key-auth3": {
|
|
53162
|
-
kind: "parsed",
|
|
53163
|
-
brief: "Sets the agentKeyAuth3 auth field for the API",
|
|
53164
|
-
optional: true,
|
|
53165
|
-
parse: (value) => {
|
|
53166
|
-
return stringType().parse(value);
|
|
53167
|
-
}
|
|
53168
|
-
},
|
|
53169
|
-
"agent-key-auth4": {
|
|
53170
|
-
kind: "parsed",
|
|
53171
|
-
brief: "Sets the agentKeyAuth4 auth field for the API",
|
|
53172
|
-
optional: true,
|
|
53173
|
-
parse: (value) => {
|
|
53174
|
-
return stringType().parse(value);
|
|
53175
|
-
}
|
|
53176
|
-
},
|
|
53177
|
-
"agent-key-auth5": {
|
|
53178
|
-
kind: "parsed",
|
|
53179
|
-
brief: "Sets the agentKeyAuth5 auth field for the API",
|
|
53180
|
-
optional: true,
|
|
53181
|
-
parse: (value) => {
|
|
53182
|
-
return stringType().parse(value);
|
|
53183
|
-
}
|
|
53184
|
-
},
|
|
53185
|
-
"agent-key-auth6": {
|
|
53186
|
-
kind: "parsed",
|
|
53187
|
-
brief: "Sets the agentKeyAuth6 auth field for the API",
|
|
53188
|
-
optional: true,
|
|
53189
|
-
parse: (value) => {
|
|
53190
|
-
return stringType().parse(value);
|
|
53191
|
-
}
|
|
53192
|
-
},
|
|
53193
|
-
"agent-key-auth7": {
|
|
53194
|
-
kind: "parsed",
|
|
53195
|
-
brief: "Sets the agentKeyAuth7 auth field for the API",
|
|
53196
|
-
optional: true,
|
|
53197
|
-
parse: (value) => {
|
|
53198
|
-
return stringType().parse(value);
|
|
53199
|
-
}
|
|
53200
|
-
},
|
|
53201
|
-
"agent-key-auth8": {
|
|
53202
|
-
kind: "parsed",
|
|
53203
|
-
brief: "Sets the agentKeyAuth8 auth field for the API",
|
|
53204
|
-
optional: true,
|
|
53205
|
-
parse: (value) => {
|
|
53206
|
-
return stringType().parse(value);
|
|
53207
|
-
}
|
|
53208
|
-
},
|
|
53209
|
-
"agent-key-auth9": {
|
|
53210
|
-
kind: "parsed",
|
|
53211
|
-
brief: "Sets the agentKeyAuth9 auth field for the API",
|
|
53212
|
-
optional: true,
|
|
53213
|
-
parse: (value) => {
|
|
53214
|
-
return stringType().parse(value);
|
|
53215
|
-
}
|
|
53216
|
-
},
|
|
53217
|
-
"agent-key-auth10": {
|
|
53218
|
-
kind: "parsed",
|
|
53219
|
-
brief: "Sets the agentKeyAuth10 auth field for the API",
|
|
53220
|
-
optional: true,
|
|
53221
|
-
parse: (value) => {
|
|
53222
|
-
return stringType().parse(value);
|
|
53223
|
-
}
|
|
53224
|
-
},
|
|
53225
|
-
"agent-key-auth11": {
|
|
53226
|
-
kind: "parsed",
|
|
53227
|
-
brief: "Sets the agentKeyAuth11 auth field for the API",
|
|
53228
|
-
optional: true,
|
|
53229
|
-
parse: (value) => {
|
|
53230
|
-
return stringType().parse(value);
|
|
53231
|
-
}
|
|
53232
|
-
},
|
|
53233
|
-
"agent-key-auth12": {
|
|
53234
|
-
kind: "parsed",
|
|
53235
|
-
brief: "Sets the agentKeyAuth12 auth field for the API",
|
|
53236
|
-
optional: true,
|
|
53237
|
-
parse: (value) => {
|
|
53238
|
-
return stringType().parse(value);
|
|
53239
|
-
}
|
|
53240
|
-
},
|
|
53241
|
-
"agent-key-auth13": {
|
|
53242
|
-
kind: "parsed",
|
|
53243
|
-
brief: "Sets the agentKeyAuth13 auth field for the API",
|
|
53244
|
-
optional: true,
|
|
53245
|
-
parse: (value) => {
|
|
53246
|
-
return stringType().parse(value);
|
|
53247
|
-
}
|
|
53248
|
-
},
|
|
53249
|
-
"agent-key-auth14": {
|
|
53250
|
-
kind: "parsed",
|
|
53251
|
-
brief: "Sets the agentKeyAuth14 auth field for the API",
|
|
53252
|
-
optional: true,
|
|
53253
|
-
parse: (value) => {
|
|
53254
|
-
return stringType().parse(value);
|
|
53255
|
-
}
|
|
53256
|
-
},
|
|
53257
53385
|
"server-url": {
|
|
53258
53386
|
kind: "parsed",
|
|
53259
53387
|
brief: "Overrides the default server URL used by the SDK",
|
|
@@ -53313,7 +53441,7 @@ var routes = buildRouteMap({
|
|
|
53313
53441
|
var app = buildApplication(routes, {
|
|
53314
53442
|
name: "mcp",
|
|
53315
53443
|
versionInfo: {
|
|
53316
|
-
currentVersion: "2.0
|
|
53444
|
+
currentVersion: "2.2.0"
|
|
53317
53445
|
}
|
|
53318
53446
|
});
|
|
53319
53447
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -53321,5 +53449,5 @@ export {
|
|
|
53321
53449
|
app
|
|
53322
53450
|
};
|
|
53323
53451
|
|
|
53324
|
-
//# debugId=
|
|
53452
|
+
//# debugId=0010EADC0EADD90264756E2164756E21
|
|
53325
53453
|
//# sourceMappingURL=mcp-server.js.map
|