botshield-sdk 2.0.2 → 2.1.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 +10 -43
- package/bin/mcp-server.js +263 -500
- package/bin/mcp-server.js.map +27 -28
- package/dist/commonjs/funcs/census-verify-token.d.ts +1 -1
- package/dist/commonjs/funcs/census-verify-token.js +1 -67
- package/dist/commonjs/funcs/census-verify-token.js.map +1 -1
- package/dist/commonjs/funcs/verification-get-status.js +0 -66
- 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 -77
- 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 -88
- package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts +0 -11
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +0 -22
- 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 +0 -1
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +0 -1
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-create-session.d.ts +49 -15
- package/dist/commonjs/models/operations/sdk-create-session.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-create-session.js +37 -16
- 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-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 -23
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-verify-token.js +51 -23
- package/dist/commonjs/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.d.ts +47 -26
- package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.js +30 -24
- package/dist/commonjs/models/operations/verification-get-status.js.map +1 -1
- package/dist/commonjs/models/security.d.ts +0 -22
- package/dist/commonjs/models/security.d.ts.map +1 -1
- package/dist/commonjs/models/security.js +0 -22
- package/dist/commonjs/models/security.js.map +1 -1
- package/dist/commonjs/sdk/census.d.ts +1 -8
- package/dist/commonjs/sdk/census.d.ts.map +1 -1
- package/dist/commonjs/sdk/census.js +1 -11
- package/dist/commonjs/sdk/census.js.map +1 -1
- package/dist/esm/funcs/census-verify-token.d.ts +1 -1
- package/dist/esm/funcs/census-verify-token.js +1 -67
- package/dist/esm/funcs/census-verify-token.js.map +1 -1
- package/dist/esm/funcs/verification-get-status.js +0 -66
- 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 -77
- 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 -88
- package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.d.ts +0 -11
- package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.js +0 -22
- 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 +0 -1
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +0 -1
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/sdk-create-session.d.ts +49 -15
- package/dist/esm/models/operations/sdk-create-session.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-create-session.js +34 -13
- 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-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 -23
- package/dist/esm/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-verify-token.js +50 -22
- package/dist/esm/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/esm/models/operations/verification-get-status.d.ts +47 -26
- package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/esm/models/operations/verification-get-status.js +29 -23
- package/dist/esm/models/operations/verification-get-status.js.map +1 -1
- package/dist/esm/models/security.d.ts +0 -22
- package/dist/esm/models/security.d.ts.map +1 -1
- package/dist/esm/models/security.js +0 -22
- package/dist/esm/models/security.js.map +1 -1
- package/dist/esm/sdk/census.d.ts +1 -8
- package/dist/esm/sdk/census.d.ts.map +1 -1
- package/dist/esm/sdk/census.js +1 -11
- package/dist/esm/sdk/census.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/census-verify-token.ts +1 -78
- package/src/funcs/verification-get-status.ts +0 -77
- package/src/lib/config.ts +2 -2
- package/src/lib/security.ts +0 -77
- package/src/mcp-server/cli/start/command.ts +0 -88
- package/src/mcp-server/cli/start/impl.ts +0 -33
- 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 +0 -1
- package/src/models/operations/sdk-create-session.ts +89 -33
- package/src/models/operations/sdk-create-verification-link.ts +157 -2
- 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 -45
- package/src/models/operations/verification-get-status.ts +73 -48
- package/src/models/security.ts +0 -44
- package/src/sdk/census.ts +1 -21
- package/dist/commonjs/funcs/census-get-partner-config.d.ts +0 -18
- package/dist/commonjs/funcs/census-get-partner-config.d.ts.map +0 -1
- package/dist/commonjs/funcs/census-get-partner-config.js +0 -210
- package/dist/commonjs/funcs/census-get-partner-config.js.map +0 -1
- package/dist/commonjs/models/operations/sdk-get-partner-config.d.ts +0 -152
- package/dist/commonjs/models/operations/sdk-get-partner-config.d.ts.map +0 -1
- package/dist/commonjs/models/operations/sdk-get-partner-config.js +0 -205
- package/dist/commonjs/models/operations/sdk-get-partner-config.js.map +0 -1
- package/dist/esm/funcs/census-get-partner-config.d.ts +0 -18
- package/dist/esm/funcs/census-get-partner-config.d.ts.map +0 -1
- package/dist/esm/funcs/census-get-partner-config.js +0 -174
- package/dist/esm/funcs/census-get-partner-config.js.map +0 -1
- package/dist/esm/models/operations/sdk-get-partner-config.d.ts +0 -152
- package/dist/esm/models/operations/sdk-get-partner-config.d.ts.map +0 -1
- package/dist/esm/models/operations/sdk-get-partner-config.js +0 -157
- package/dist/esm/models/operations/sdk-get-partner-config.js.map +0 -1
- package/src/funcs/census-get-partner-config.ts +0 -287
- package/src/models/operations/sdk-get-partner-config.ts +0 -397
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.1.0",
|
|
47253
47253
|
genVersion: "2.934.1",
|
|
47254
|
-
userAgent: "speakeasy-sdk/typescript 2.0
|
|
47254
|
+
userAgent: "speakeasy-sdk/typescript 2.1.0 2.934.1 2.0.0 botshield-sdk"
|
|
47255
47255
|
};
|
|
47256
47256
|
});
|
|
47257
47257
|
|
|
@@ -48761,83 +48761,6 @@ function resolveGlobalSecurity(security, allowedFields) {
|
|
|
48761
48761
|
type: "apiKey:header",
|
|
48762
48762
|
value: security?.agentKeyAuth3
|
|
48763
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
48764
|
]
|
|
48842
48765
|
];
|
|
48843
48766
|
if (allowedFields) {
|
|
@@ -48886,6 +48809,32 @@ function unrecognized(value) {
|
|
|
48886
48809
|
var globalCount = 0;
|
|
48887
48810
|
var init_unrecognized = () => {};
|
|
48888
48811
|
|
|
48812
|
+
// src/types/enums.ts
|
|
48813
|
+
function inboundSchema(enumObj) {
|
|
48814
|
+
const options = Object.values(enumObj);
|
|
48815
|
+
return unionType([
|
|
48816
|
+
...options.map((x) => literalType(x)),
|
|
48817
|
+
stringType().transform((x) => unrecognized(x))
|
|
48818
|
+
]);
|
|
48819
|
+
}
|
|
48820
|
+
function inboundSchemaInt(enumObj) {
|
|
48821
|
+
const options = Object.values(enumObj).filter((v) => typeof v === "number");
|
|
48822
|
+
return unionType([
|
|
48823
|
+
...options.map((x) => literalType(x)),
|
|
48824
|
+
numberType().int().transform((x) => unrecognized(x))
|
|
48825
|
+
]);
|
|
48826
|
+
}
|
|
48827
|
+
function outboundSchema(_) {
|
|
48828
|
+
return stringType();
|
|
48829
|
+
}
|
|
48830
|
+
function outboundSchemaInt(_) {
|
|
48831
|
+
return numberType().int();
|
|
48832
|
+
}
|
|
48833
|
+
var init_enums = __esm(() => {
|
|
48834
|
+
init_v3();
|
|
48835
|
+
init_unrecognized();
|
|
48836
|
+
});
|
|
48837
|
+
|
|
48889
48838
|
// src/types/default-to-zero-value.ts
|
|
48890
48839
|
function defaultToZeroValue(value) {
|
|
48891
48840
|
globalCount2++;
|
|
@@ -48985,32 +48934,59 @@ var init_primitives2 = __esm(() => {
|
|
|
48985
48934
|
});
|
|
48986
48935
|
|
|
48987
48936
|
// src/models/error-body.ts
|
|
48988
|
-
var Violation$inboundSchema, Violation$outboundSchema, ErrorBody$inboundSchema, ErrorBody$outboundSchema;
|
|
48937
|
+
var Reason, Violation$inboundSchema, Violation$outboundSchema, Reason$inboundSchema, Reason$outboundSchema, Limits$inboundSchema, Limits$outboundSchema, ErrorBody$inboundSchema, ErrorBody$outboundSchema;
|
|
48989
48938
|
var init_error_body = __esm(() => {
|
|
48990
48939
|
init_v3();
|
|
48991
48940
|
init_primitives();
|
|
48941
|
+
init_enums();
|
|
48992
48942
|
init_primitives2();
|
|
48943
|
+
Reason = {
|
|
48944
|
+
Rate: "rate",
|
|
48945
|
+
Concurrent: "concurrent"
|
|
48946
|
+
};
|
|
48993
48947
|
Violation$inboundSchema = objectType({
|
|
48948
|
+
source: optional3(string4()),
|
|
48994
48949
|
type: optional3(string4()),
|
|
48995
48950
|
path: optional3(string4()),
|
|
48996
|
-
severity: optional3(string4())
|
|
48951
|
+
severity: optional3(string4()),
|
|
48952
|
+
value: optional3(anyType()),
|
|
48953
|
+
explanation: optional3(string4()),
|
|
48954
|
+
fix: optional3(string4())
|
|
48997
48955
|
});
|
|
48998
48956
|
Violation$outboundSchema = objectType({
|
|
48957
|
+
source: stringType().optional(),
|
|
48999
48958
|
type: stringType().optional(),
|
|
49000
48959
|
path: stringType().optional(),
|
|
49001
|
-
severity: stringType().optional()
|
|
48960
|
+
severity: stringType().optional(),
|
|
48961
|
+
value: anyType().optional(),
|
|
48962
|
+
explanation: stringType().optional(),
|
|
48963
|
+
fix: stringType().optional()
|
|
49002
48964
|
});
|
|
48965
|
+
Reason$inboundSchema = inboundSchema(Reason);
|
|
48966
|
+
Reason$outboundSchema = outboundSchema(Reason);
|
|
48967
|
+
Limits$inboundSchema = objectType({});
|
|
48968
|
+
Limits$outboundSchema = objectType({});
|
|
49003
48969
|
ErrorBody$inboundSchema = objectType({
|
|
49004
48970
|
message: string4(),
|
|
49005
48971
|
statusCode: number4(),
|
|
49006
48972
|
code: optional3(string4()),
|
|
49007
48973
|
min_ttl_seconds: optional3(number4()),
|
|
49008
48974
|
max_ttl_seconds: optional3(number4()),
|
|
49009
|
-
|
|
48975
|
+
retryable: optional3(boolean4()),
|
|
48976
|
+
next_step: optional3(string4()),
|
|
48977
|
+
violations: optional3(arrayType(lazyType(() => Violation$inboundSchema))),
|
|
48978
|
+
reason: optional3(Reason$inboundSchema),
|
|
48979
|
+
bucket: optional3(string4()),
|
|
48980
|
+
retry_in: optional3(number4()),
|
|
48981
|
+
limits: optional3(lazyType(() => Limits$inboundSchema)),
|
|
48982
|
+
upgrade_url: optional3(string4())
|
|
49010
48983
|
}).transform((v) => {
|
|
49011
48984
|
return remap(v, {
|
|
49012
48985
|
min_ttl_seconds: "minTtlSeconds",
|
|
49013
|
-
max_ttl_seconds: "maxTtlSeconds"
|
|
48986
|
+
max_ttl_seconds: "maxTtlSeconds",
|
|
48987
|
+
next_step: "nextStep",
|
|
48988
|
+
retry_in: "retryIn",
|
|
48989
|
+
upgrade_url: "upgradeUrl"
|
|
49014
48990
|
});
|
|
49015
48991
|
});
|
|
49016
48992
|
ErrorBody$outboundSchema = objectType({
|
|
@@ -49019,11 +48995,21 @@ var init_error_body = __esm(() => {
|
|
|
49019
48995
|
code: stringType().optional(),
|
|
49020
48996
|
minTtlSeconds: numberType().int().optional(),
|
|
49021
48997
|
maxTtlSeconds: numberType().int().optional(),
|
|
49022
|
-
|
|
48998
|
+
retryable: booleanType().optional(),
|
|
48999
|
+
nextStep: stringType().optional(),
|
|
49000
|
+
violations: arrayType(lazyType(() => Violation$outboundSchema)).optional(),
|
|
49001
|
+
reason: Reason$outboundSchema.optional(),
|
|
49002
|
+
bucket: stringType().optional(),
|
|
49003
|
+
retryIn: numberType().int().optional(),
|
|
49004
|
+
limits: lazyType(() => Limits$outboundSchema).optional(),
|
|
49005
|
+
upgradeUrl: stringType().optional()
|
|
49023
49006
|
}).transform((v) => {
|
|
49024
49007
|
return remap(v, {
|
|
49025
49008
|
minTtlSeconds: "min_ttl_seconds",
|
|
49026
|
-
maxTtlSeconds: "max_ttl_seconds"
|
|
49009
|
+
maxTtlSeconds: "max_ttl_seconds",
|
|
49010
|
+
nextStep: "next_step",
|
|
49011
|
+
retryIn: "retry_in",
|
|
49012
|
+
upgradeUrl: "upgrade_url"
|
|
49027
49013
|
});
|
|
49028
49014
|
});
|
|
49029
49015
|
});
|
|
@@ -49069,35 +49055,13 @@ var init_security2 = __esm(() => {
|
|
|
49069
49055
|
agentKeyAuth: optional3(string4()),
|
|
49070
49056
|
agentKeyAuth1: optional3(string4()),
|
|
49071
49057
|
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())
|
|
49058
|
+
agentKeyAuth3: optional3(string4())
|
|
49084
49059
|
});
|
|
49085
49060
|
Security$outboundSchema = objectType({
|
|
49086
49061
|
agentKeyAuth: stringType().optional(),
|
|
49087
49062
|
agentKeyAuth1: stringType().optional(),
|
|
49088
49063
|
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()
|
|
49064
|
+
agentKeyAuth3: stringType().optional()
|
|
49101
49065
|
});
|
|
49102
49066
|
});
|
|
49103
49067
|
|
|
@@ -49195,22 +49159,6 @@ var init_errors4 = __esm(() => {
|
|
|
49195
49159
|
init_sdk_validation_error();
|
|
49196
49160
|
});
|
|
49197
49161
|
|
|
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
49162
|
// src/models/operations/actions-cancel.ts
|
|
49215
49163
|
var ActionsCancelStatus, ActionsCancelRequest$inboundSchema, ActionsCancelRequest$outboundSchema, ActionsCancelStatus$inboundSchema, ActionsCancelStatus$outboundSchema, ActionsCancelDataData$inboundSchema, ActionsCancelDataData$outboundSchema, ActionsCancelData$inboundSchema, ActionsCancelData$outboundSchema, ActionsCancelResponse$inboundSchema, ActionsCancelResponse$outboundSchema;
|
|
49216
49164
|
var init_actions_cancel = __esm(() => {
|
|
@@ -49285,7 +49233,7 @@ var init_actions_cancel = __esm(() => {
|
|
|
49285
49233
|
});
|
|
49286
49234
|
|
|
49287
49235
|
// src/models/operations/actions-check-status.ts
|
|
49288
|
-
var ActionsCheckStatusStatus,
|
|
49236
|
+
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
49237
|
var init_actions_check_status = __esm(() => {
|
|
49290
49238
|
init_v3();
|
|
49291
49239
|
init_primitives();
|
|
@@ -49299,7 +49247,7 @@ var init_actions_check_status = __esm(() => {
|
|
|
49299
49247
|
Expired: "expired",
|
|
49300
49248
|
Cancelled: "cancelled"
|
|
49301
49249
|
};
|
|
49302
|
-
|
|
49250
|
+
ActionsCheckStatusVerdict = {
|
|
49303
49251
|
Approve: "approve",
|
|
49304
49252
|
Denied: "denied"
|
|
49305
49253
|
};
|
|
@@ -49323,15 +49271,15 @@ var init_actions_check_status = __esm(() => {
|
|
|
49323
49271
|
});
|
|
49324
49272
|
ActionsCheckStatusStatus$inboundSchema = inboundSchema(ActionsCheckStatusStatus);
|
|
49325
49273
|
ActionsCheckStatusStatus$outboundSchema = outboundSchema(ActionsCheckStatusStatus);
|
|
49326
|
-
|
|
49327
|
-
|
|
49274
|
+
ActionsCheckStatusVerdict$inboundSchema = inboundSchema(ActionsCheckStatusVerdict);
|
|
49275
|
+
ActionsCheckStatusVerdict$outboundSchema = outboundSchema(ActionsCheckStatusVerdict);
|
|
49328
49276
|
ActionsCheckStatusDataData$inboundSchema = objectType({
|
|
49329
49277
|
status: ActionsCheckStatusStatus$inboundSchema,
|
|
49330
49278
|
ttl_at: nullableType(date4()).optional(),
|
|
49331
49279
|
resolved_at: nullableType(date4()).optional(),
|
|
49332
49280
|
ceremony_id: nullableType(string4()).optional(),
|
|
49333
49281
|
resolution_jwt: nullableType(string4()).optional(),
|
|
49334
|
-
verdict: nullableType(
|
|
49282
|
+
verdict: nullableType(ActionsCheckStatusVerdict$inboundSchema).optional(),
|
|
49335
49283
|
delivered: optional3(boolean4()),
|
|
49336
49284
|
callback_attempts: optional3(number4())
|
|
49337
49285
|
}).transform((v) => {
|
|
@@ -49349,7 +49297,7 @@ var init_actions_check_status = __esm(() => {
|
|
|
49349
49297
|
resolvedAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
49350
49298
|
ceremonyId: nullableType(stringType()).optional(),
|
|
49351
49299
|
resolutionJwt: nullableType(stringType()).optional(),
|
|
49352
|
-
verdict: nullableType(
|
|
49300
|
+
verdict: nullableType(ActionsCheckStatusVerdict$outboundSchema).optional(),
|
|
49353
49301
|
delivered: booleanType().optional(),
|
|
49354
49302
|
callbackAttempts: numberType().int().optional()
|
|
49355
49303
|
}).transform((v) => {
|
|
@@ -49503,17 +49451,20 @@ var init_actions_propose = __esm(() => {
|
|
|
49503
49451
|
});
|
|
49504
49452
|
|
|
49505
49453
|
// src/models/operations/sdk-create-session.ts
|
|
49506
|
-
var
|
|
49454
|
+
var Environment, SDKCreateSessionNotarizeFallbackReason, SDKCreateSessionSecurity$inboundSchema, SDKCreateSessionSecurity$outboundSchema, SDKCreateSessionRequest$inboundSchema, SDKCreateSessionRequest$outboundSchema, Environment$inboundSchema, Environment$outboundSchema, SDKCreateSessionOrganization$inboundSchema, SDKCreateSessionOrganization$outboundSchema, SDKCreateSessionNotarizeFallbackReason$inboundSchema, SDKCreateSessionNotarizeFallbackReason$outboundSchema, DataNotarizeRequiresUserRef$inboundSchema, DataNotarizeRequiresUserRef$outboundSchema, SDKCreateSessionData$inboundSchema, SDKCreateSessionData$outboundSchema, SDKCreateSessionResponse$inboundSchema, SDKCreateSessionResponse$outboundSchema;
|
|
49507
49455
|
var init_sdk_create_session = __esm(() => {
|
|
49508
49456
|
init_v3();
|
|
49509
49457
|
init_primitives();
|
|
49510
49458
|
init_enums();
|
|
49511
49459
|
init_primitives2();
|
|
49512
49460
|
init_models();
|
|
49513
|
-
|
|
49461
|
+
Environment = {
|
|
49514
49462
|
Development: "development",
|
|
49515
49463
|
Production: "production"
|
|
49516
49464
|
};
|
|
49465
|
+
SDKCreateSessionNotarizeFallbackReason = {
|
|
49466
|
+
NotarizeRequiresUserRef: "notarize_requires_user_ref"
|
|
49467
|
+
};
|
|
49517
49468
|
SDKCreateSessionSecurity$inboundSchema = objectType({
|
|
49518
49469
|
ApiKeyAuth: string4()
|
|
49519
49470
|
}).transform((v) => {
|
|
@@ -49530,7 +49481,8 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49530
49481
|
});
|
|
49531
49482
|
SDKCreateSessionRequest$inboundSchema = objectType({
|
|
49532
49483
|
partner_user_id: optional3(string4()),
|
|
49533
|
-
metadata: optional3(recordType(anyType()))
|
|
49484
|
+
metadata: optional3(recordType(anyType())),
|
|
49485
|
+
notarize: optional3(boolean4())
|
|
49534
49486
|
}).transform((v) => {
|
|
49535
49487
|
return remap(v, {
|
|
49536
49488
|
partner_user_id: "partnerUserId"
|
|
@@ -49538,30 +49490,36 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49538
49490
|
});
|
|
49539
49491
|
SDKCreateSessionRequest$outboundSchema = objectType({
|
|
49540
49492
|
partnerUserId: stringType().optional(),
|
|
49541
|
-
metadata: recordType(anyType()).optional()
|
|
49493
|
+
metadata: recordType(anyType()).optional(),
|
|
49494
|
+
notarize: booleanType().optional()
|
|
49542
49495
|
}).transform((v) => {
|
|
49543
49496
|
return remap(v, {
|
|
49544
49497
|
partnerUserId: "partner_user_id"
|
|
49545
49498
|
});
|
|
49546
49499
|
});
|
|
49547
|
-
|
|
49548
|
-
|
|
49500
|
+
Environment$inboundSchema = inboundSchema(Environment);
|
|
49501
|
+
Environment$outboundSchema = outboundSchema(Environment);
|
|
49549
49502
|
SDKCreateSessionOrganization$inboundSchema = objectType({
|
|
49550
49503
|
id: string4(),
|
|
49551
|
-
environment:
|
|
49504
|
+
environment: Environment$inboundSchema
|
|
49552
49505
|
});
|
|
49553
49506
|
SDKCreateSessionOrganization$outboundSchema = objectType({
|
|
49554
49507
|
id: stringType(),
|
|
49555
|
-
environment:
|
|
49508
|
+
environment: Environment$outboundSchema
|
|
49556
49509
|
});
|
|
49557
|
-
|
|
49510
|
+
SDKCreateSessionNotarizeFallbackReason$inboundSchema = nativeEnumType(SDKCreateSessionNotarizeFallbackReason);
|
|
49511
|
+
SDKCreateSessionNotarizeFallbackReason$outboundSchema = SDKCreateSessionNotarizeFallbackReason$inboundSchema;
|
|
49512
|
+
DataNotarizeRequiresUserRef$inboundSchema = objectType({
|
|
49558
49513
|
anchor_grant_token: string4(),
|
|
49559
49514
|
anchor_grant_expires_at: date4(),
|
|
49560
49515
|
anchor_grant_expires_in_seconds: number4(),
|
|
49561
49516
|
session_token: string4(),
|
|
49562
49517
|
expires_at: date4(),
|
|
49563
49518
|
expires_in_seconds: number4(),
|
|
49564
|
-
organization: lazyType(() => SDKCreateSessionOrganization$inboundSchema)
|
|
49519
|
+
organization: lazyType(() => SDKCreateSessionOrganization$inboundSchema),
|
|
49520
|
+
trusted: optional3(boolean4()),
|
|
49521
|
+
notarize: optional3(boolean4()),
|
|
49522
|
+
notarize_fallback_reason: optional3(SDKCreateSessionNotarizeFallbackReason$inboundSchema)
|
|
49565
49523
|
}).transform((v) => {
|
|
49566
49524
|
return remap(v, {
|
|
49567
49525
|
anchor_grant_token: "anchorGrantToken",
|
|
@@ -49569,17 +49527,21 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49569
49527
|
anchor_grant_expires_in_seconds: "anchorGrantExpiresInSeconds",
|
|
49570
49528
|
session_token: "sessionToken",
|
|
49571
49529
|
expires_at: "expiresAt",
|
|
49572
|
-
expires_in_seconds: "expiresInSeconds"
|
|
49530
|
+
expires_in_seconds: "expiresInSeconds",
|
|
49531
|
+
notarize_fallback_reason: "notarizeFallbackReason"
|
|
49573
49532
|
});
|
|
49574
49533
|
});
|
|
49575
|
-
|
|
49534
|
+
DataNotarizeRequiresUserRef$outboundSchema = objectType({
|
|
49576
49535
|
anchorGrantToken: stringType(),
|
|
49577
49536
|
anchorGrantExpiresAt: dateType().transform((v) => v.toISOString()),
|
|
49578
49537
|
anchorGrantExpiresInSeconds: numberType().int(),
|
|
49579
49538
|
sessionToken: stringType(),
|
|
49580
49539
|
expiresAt: dateType().transform((v) => v.toISOString()),
|
|
49581
49540
|
expiresInSeconds: numberType().int(),
|
|
49582
|
-
organization: lazyType(() => SDKCreateSessionOrganization$outboundSchema)
|
|
49541
|
+
organization: lazyType(() => SDKCreateSessionOrganization$outboundSchema),
|
|
49542
|
+
trusted: booleanType().optional(),
|
|
49543
|
+
notarize: booleanType().optional(),
|
|
49544
|
+
notarizeFallbackReason: SDKCreateSessionNotarizeFallbackReason$outboundSchema.optional()
|
|
49583
49545
|
}).transform((v) => {
|
|
49584
49546
|
return remap(v, {
|
|
49585
49547
|
anchorGrantToken: "anchor_grant_token",
|
|
@@ -49587,15 +49549,16 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49587
49549
|
anchorGrantExpiresInSeconds: "anchor_grant_expires_in_seconds",
|
|
49588
49550
|
sessionToken: "session_token",
|
|
49589
49551
|
expiresAt: "expires_at",
|
|
49590
|
-
expiresInSeconds: "expires_in_seconds"
|
|
49552
|
+
expiresInSeconds: "expires_in_seconds",
|
|
49553
|
+
notarizeFallbackReason: "notarize_fallback_reason"
|
|
49591
49554
|
});
|
|
49592
49555
|
});
|
|
49593
49556
|
SDKCreateSessionData$inboundSchema = objectType({
|
|
49594
|
-
data: optional3(lazyType(() =>
|
|
49557
|
+
data: optional3(lazyType(() => DataNotarizeRequiresUserRef$inboundSchema)),
|
|
49595
49558
|
error: optional3(ErrorBody$inboundSchema)
|
|
49596
49559
|
});
|
|
49597
49560
|
SDKCreateSessionData$outboundSchema = objectType({
|
|
49598
|
-
data: lazyType(() =>
|
|
49561
|
+
data: lazyType(() => DataNotarizeRequiresUserRef$outboundSchema).optional(),
|
|
49599
49562
|
error: ErrorBody$outboundSchema.optional()
|
|
49600
49563
|
});
|
|
49601
49564
|
SDKCreateSessionResponse$inboundSchema = objectType({
|
|
@@ -49607,7 +49570,7 @@ var init_sdk_create_session = __esm(() => {
|
|
|
49607
49570
|
});
|
|
49608
49571
|
|
|
49609
49572
|
// 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;
|
|
49573
|
+
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
49574
|
var init_sdk_create_verification_link = __esm(() => {
|
|
49612
49575
|
init_v3();
|
|
49613
49576
|
init_primitives();
|
|
@@ -49630,6 +49593,20 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49630
49593
|
LinkedAccount: "linked-account",
|
|
49631
49594
|
Private: "private"
|
|
49632
49595
|
};
|
|
49596
|
+
GateType = {
|
|
49597
|
+
Human: "human",
|
|
49598
|
+
Age: "age"
|
|
49599
|
+
};
|
|
49600
|
+
AgeThreshold = {
|
|
49601
|
+
Thirteen: 13,
|
|
49602
|
+
Eighteen: 18,
|
|
49603
|
+
TwentyOne: 21
|
|
49604
|
+
};
|
|
49605
|
+
SDKCreateVerificationLinkNotarizeFallbackReason = {
|
|
49606
|
+
NotarizeNotEnabled: "notarize_not_enabled",
|
|
49607
|
+
NotarizeRequiresUserRef: "notarize_requires_user_ref",
|
|
49608
|
+
AgeGate: "age_gate"
|
|
49609
|
+
};
|
|
49633
49610
|
SDKCreateVerificationLinkSecurity$inboundSchema = objectType({
|
|
49634
49611
|
GrantTokenAuth: string4()
|
|
49635
49612
|
}).transform((v) => {
|
|
@@ -49659,7 +49636,9 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49659
49636
|
partner_user_ref: optional3(string4()),
|
|
49660
49637
|
link_on_verify: boolean4().default(true),
|
|
49661
49638
|
parent_request_id: optional3(string4()),
|
|
49662
|
-
metadata: optional3(recordType(anyType()))
|
|
49639
|
+
metadata: optional3(recordType(anyType())),
|
|
49640
|
+
notarize: optional3(boolean4()),
|
|
49641
|
+
gate: optional3(string4())
|
|
49663
49642
|
}).transform((v) => {
|
|
49664
49643
|
return remap(v, {
|
|
49665
49644
|
user_email: "userEmail",
|
|
@@ -49683,7 +49662,9 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49683
49662
|
partnerUserRef: stringType().optional(),
|
|
49684
49663
|
linkOnVerify: booleanType().default(true),
|
|
49685
49664
|
parentRequestId: stringType().optional(),
|
|
49686
|
-
metadata: recordType(anyType()).optional()
|
|
49665
|
+
metadata: recordType(anyType()).optional(),
|
|
49666
|
+
notarize: booleanType().optional(),
|
|
49667
|
+
gate: stringType().optional()
|
|
49687
49668
|
}).transform((v) => {
|
|
49688
49669
|
return remap(v, {
|
|
49689
49670
|
userEmail: "user_email",
|
|
@@ -49706,6 +49687,12 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49706
49687
|
SDKCreateVerificationLinkOrganization$outboundSchema = objectType({
|
|
49707
49688
|
id: stringType().optional()
|
|
49708
49689
|
});
|
|
49690
|
+
GateType$inboundSchema = inboundSchema(GateType);
|
|
49691
|
+
GateType$outboundSchema = outboundSchema(GateType);
|
|
49692
|
+
AgeThreshold$inboundSchema = inboundSchemaInt(AgeThreshold);
|
|
49693
|
+
AgeThreshold$outboundSchema = outboundSchemaInt(AgeThreshold);
|
|
49694
|
+
SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema = inboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
|
|
49695
|
+
SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema = outboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
|
|
49709
49696
|
SDKCreateVerificationLinkDataData$inboundSchema = objectType({
|
|
49710
49697
|
request_id: string4(),
|
|
49711
49698
|
deep_link: string4(),
|
|
@@ -49716,7 +49703,13 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49716
49703
|
auth_mode: optional3(AuthMode$inboundSchema),
|
|
49717
49704
|
scope: optional3(string4()),
|
|
49718
49705
|
organization: optional3(lazyType(() => SDKCreateVerificationLinkOrganization$inboundSchema)),
|
|
49719
|
-
pushed_to_devices: number4()
|
|
49706
|
+
pushed_to_devices: number4(),
|
|
49707
|
+
gate_type: optional3(GateType$inboundSchema),
|
|
49708
|
+
age_threshold: optional3(AgeThreshold$inboundSchema),
|
|
49709
|
+
trusted: optional3(boolean4()),
|
|
49710
|
+
notarize: optional3(boolean4()),
|
|
49711
|
+
notarize_fallback_reason: optional3(SDKCreateVerificationLinkNotarizeFallbackReason$inboundSchema),
|
|
49712
|
+
gate: optional3(string4())
|
|
49720
49713
|
}).transform((v) => {
|
|
49721
49714
|
return remap(v, {
|
|
49722
49715
|
request_id: "requestId",
|
|
@@ -49726,7 +49719,10 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49726
49719
|
expires_at: "expiresAt",
|
|
49727
49720
|
sdk_type: "sdkType",
|
|
49728
49721
|
auth_mode: "authMode",
|
|
49729
|
-
pushed_to_devices: "pushedToDevices"
|
|
49722
|
+
pushed_to_devices: "pushedToDevices",
|
|
49723
|
+
gate_type: "gateType",
|
|
49724
|
+
age_threshold: "ageThreshold",
|
|
49725
|
+
notarize_fallback_reason: "notarizeFallbackReason"
|
|
49730
49726
|
});
|
|
49731
49727
|
});
|
|
49732
49728
|
SDKCreateVerificationLinkDataData$outboundSchema = objectType({
|
|
@@ -49739,7 +49735,13 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49739
49735
|
authMode: AuthMode$outboundSchema.optional(),
|
|
49740
49736
|
scope: stringType().optional(),
|
|
49741
49737
|
organization: lazyType(() => SDKCreateVerificationLinkOrganization$outboundSchema).optional(),
|
|
49742
|
-
pushedToDevices: numberType().int()
|
|
49738
|
+
pushedToDevices: numberType().int(),
|
|
49739
|
+
gateType: GateType$outboundSchema.optional(),
|
|
49740
|
+
ageThreshold: AgeThreshold$outboundSchema.optional(),
|
|
49741
|
+
trusted: booleanType().optional(),
|
|
49742
|
+
notarize: booleanType().optional(),
|
|
49743
|
+
notarizeFallbackReason: SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema.optional(),
|
|
49744
|
+
gate: stringType().optional()
|
|
49743
49745
|
}).transform((v) => {
|
|
49744
49746
|
return remap(v, {
|
|
49745
49747
|
requestId: "request_id",
|
|
@@ -49749,7 +49751,10 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49749
49751
|
expiresAt: "expires_at",
|
|
49750
49752
|
sdkType: "sdk_type",
|
|
49751
49753
|
authMode: "auth_mode",
|
|
49752
|
-
pushedToDevices: "pushed_to_devices"
|
|
49754
|
+
pushedToDevices: "pushed_to_devices",
|
|
49755
|
+
gateType: "gate_type",
|
|
49756
|
+
ageThreshold: "age_threshold",
|
|
49757
|
+
notarizeFallbackReason: "notarize_fallback_reason"
|
|
49753
49758
|
});
|
|
49754
49759
|
});
|
|
49755
49760
|
SDKCreateVerificationLinkData$inboundSchema = objectType({
|
|
@@ -49768,110 +49773,6 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
49768
49773
|
});
|
|
49769
49774
|
});
|
|
49770
49775
|
|
|
49771
|
-
// src/models/operations/sdk-get-partner-config.ts
|
|
49772
|
-
var SDKGetPartnerConfigEnvironment, SDKGetPartnerConfigSecurity$inboundSchema, SDKGetPartnerConfigSecurity$outboundSchema, SDKGetPartnerConfigRequest$inboundSchema, SDKGetPartnerConfigRequest$outboundSchema, Integrations$inboundSchema, Integrations$outboundSchema, SDKGetPartnerConfigEnvironment$inboundSchema, SDKGetPartnerConfigEnvironment$outboundSchema, SDKGetPartnerConfigDataData$inboundSchema, SDKGetPartnerConfigDataData$outboundSchema, SDKGetPartnerConfigData$inboundSchema, SDKGetPartnerConfigData$outboundSchema, SDKGetPartnerConfigResponse$inboundSchema, SDKGetPartnerConfigResponse$outboundSchema;
|
|
49773
|
-
var init_sdk_get_partner_config = __esm(() => {
|
|
49774
|
-
init_v3();
|
|
49775
|
-
init_primitives();
|
|
49776
|
-
init_enums();
|
|
49777
|
-
init_primitives2();
|
|
49778
|
-
init_models();
|
|
49779
|
-
SDKGetPartnerConfigEnvironment = {
|
|
49780
|
-
Test: "test",
|
|
49781
|
-
Live: "live"
|
|
49782
|
-
};
|
|
49783
|
-
SDKGetPartnerConfigSecurity$inboundSchema = objectType({
|
|
49784
|
-
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())
|
|
49799
|
-
});
|
|
49800
|
-
SDKGetPartnerConfigSecurity$outboundSchema = objectType({
|
|
49801
|
-
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()
|
|
49816
|
-
});
|
|
49817
|
-
SDKGetPartnerConfigRequest$inboundSchema = objectType({
|
|
49818
|
-
site_key: string4()
|
|
49819
|
-
}).transform((v) => {
|
|
49820
|
-
return remap(v, {
|
|
49821
|
-
site_key: "siteKey"
|
|
49822
|
-
});
|
|
49823
|
-
});
|
|
49824
|
-
SDKGetPartnerConfigRequest$outboundSchema = objectType({
|
|
49825
|
-
siteKey: stringType()
|
|
49826
|
-
}).transform((v) => {
|
|
49827
|
-
return remap(v, {
|
|
49828
|
-
siteKey: "site_key"
|
|
49829
|
-
});
|
|
49830
|
-
});
|
|
49831
|
-
Integrations$inboundSchema = objectType({
|
|
49832
|
-
enabled: optional3(boolean4()),
|
|
49833
|
-
site_key: optional3(string4()),
|
|
49834
|
-
config: optional3(recordType(anyType()))
|
|
49835
|
-
}).transform((v) => {
|
|
49836
|
-
return remap(v, {
|
|
49837
|
-
site_key: "siteKey"
|
|
49838
|
-
});
|
|
49839
|
-
});
|
|
49840
|
-
Integrations$outboundSchema = objectType({
|
|
49841
|
-
enabled: booleanType().optional(),
|
|
49842
|
-
siteKey: stringType().optional(),
|
|
49843
|
-
config: recordType(anyType()).optional()
|
|
49844
|
-
}).transform((v) => {
|
|
49845
|
-
return remap(v, {
|
|
49846
|
-
siteKey: "site_key"
|
|
49847
|
-
});
|
|
49848
|
-
});
|
|
49849
|
-
SDKGetPartnerConfigEnvironment$inboundSchema = inboundSchema(SDKGetPartnerConfigEnvironment);
|
|
49850
|
-
SDKGetPartnerConfigEnvironment$outboundSchema = outboundSchema(SDKGetPartnerConfigEnvironment);
|
|
49851
|
-
SDKGetPartnerConfigDataData$inboundSchema = objectType({
|
|
49852
|
-
integrations: recordType(lazyType(() => Integrations$inboundSchema)),
|
|
49853
|
-
environment: optional3(SDKGetPartnerConfigEnvironment$inboundSchema)
|
|
49854
|
-
});
|
|
49855
|
-
SDKGetPartnerConfigDataData$outboundSchema = objectType({
|
|
49856
|
-
integrations: recordType(lazyType(() => Integrations$outboundSchema)),
|
|
49857
|
-
environment: SDKGetPartnerConfigEnvironment$outboundSchema.optional()
|
|
49858
|
-
});
|
|
49859
|
-
SDKGetPartnerConfigData$inboundSchema = objectType({
|
|
49860
|
-
data: optional3(lazyType(() => SDKGetPartnerConfigDataData$inboundSchema)),
|
|
49861
|
-
error: optional3(ErrorBody$inboundSchema)
|
|
49862
|
-
});
|
|
49863
|
-
SDKGetPartnerConfigData$outboundSchema = objectType({
|
|
49864
|
-
data: lazyType(() => SDKGetPartnerConfigDataData$outboundSchema).optional(),
|
|
49865
|
-
error: ErrorBody$outboundSchema.optional()
|
|
49866
|
-
});
|
|
49867
|
-
SDKGetPartnerConfigResponse$inboundSchema = objectType({
|
|
49868
|
-
data: lazyType(() => SDKGetPartnerConfigData$inboundSchema)
|
|
49869
|
-
});
|
|
49870
|
-
SDKGetPartnerConfigResponse$outboundSchema = objectType({
|
|
49871
|
-
data: lazyType(() => SDKGetPartnerConfigData$outboundSchema)
|
|
49872
|
-
});
|
|
49873
|
-
});
|
|
49874
|
-
|
|
49875
49776
|
// src/models/operations/sdk-logout.ts
|
|
49876
49777
|
var SDKLogoutSecurity$inboundSchema, SDKLogoutSecurity$outboundSchema, SDKLogoutRequest$inboundSchema, SDKLogoutRequest$outboundSchema, SDKLogoutData$inboundSchema, SDKLogoutData$outboundSchema, SDKLogoutResponse$inboundSchema, SDKLogoutResponse$outboundSchema;
|
|
49877
49778
|
var init_sdk_logout = __esm(() => {
|
|
@@ -49961,9 +49862,10 @@ var init_sdk_revoke_verification = __esm(() => {
|
|
|
49961
49862
|
});
|
|
49962
49863
|
});
|
|
49963
49864
|
SDKRevokeVerificationRequest$inboundSchema = objectType({
|
|
49964
|
-
scope: string4(),
|
|
49865
|
+
scope: optional3(string4()),
|
|
49965
49866
|
user_email: optional3(string4()),
|
|
49966
|
-
partner_user_id: optional3(string4())
|
|
49867
|
+
partner_user_id: optional3(string4()),
|
|
49868
|
+
gate: optional3(string4())
|
|
49967
49869
|
}).transform((v) => {
|
|
49968
49870
|
return remap(v, {
|
|
49969
49871
|
user_email: "userEmail",
|
|
@@ -49971,9 +49873,10 @@ var init_sdk_revoke_verification = __esm(() => {
|
|
|
49971
49873
|
});
|
|
49972
49874
|
});
|
|
49973
49875
|
SDKRevokeVerificationRequest$outboundSchema = objectType({
|
|
49974
|
-
scope: stringType(),
|
|
49876
|
+
scope: stringType().optional(),
|
|
49975
49877
|
userEmail: stringType().optional(),
|
|
49976
|
-
partnerUserId: stringType().optional()
|
|
49878
|
+
partnerUserId: stringType().optional(),
|
|
49879
|
+
gate: stringType().optional()
|
|
49977
49880
|
}).transform((v) => {
|
|
49978
49881
|
return remap(v, {
|
|
49979
49882
|
userEmail: "user_email",
|
|
@@ -50094,14 +49997,14 @@ var init_sdk_store_signal = __esm(() => {
|
|
|
50094
49997
|
});
|
|
50095
49998
|
|
|
50096
49999
|
// src/models/operations/sdk-validate-signal.ts
|
|
50097
|
-
var
|
|
50000
|
+
var SDKValidateSignalReason, SDKValidateSignalRequest$inboundSchema, SDKValidateSignalRequest$outboundSchema, SDKValidateSignalReason$inboundSchema, SDKValidateSignalReason$outboundSchema, SDKValidateSignalDataData$inboundSchema, SDKValidateSignalDataData$outboundSchema, SDKValidateSignalData$inboundSchema, SDKValidateSignalData$outboundSchema, SDKValidateSignalResponse$inboundSchema, SDKValidateSignalResponse$outboundSchema;
|
|
50098
50001
|
var init_sdk_validate_signal = __esm(() => {
|
|
50099
50002
|
init_v3();
|
|
50100
50003
|
init_primitives();
|
|
50101
50004
|
init_enums();
|
|
50102
50005
|
init_primitives2();
|
|
50103
50006
|
init_models();
|
|
50104
|
-
|
|
50007
|
+
SDKValidateSignalReason = {
|
|
50105
50008
|
InvalidSignalToken: "invalid_signal_token",
|
|
50106
50009
|
SignalTokenExpired: "signal_token_expired",
|
|
50107
50010
|
SignalTokenAlreadyUsed: "signal_token_already_used"
|
|
@@ -50124,11 +50027,11 @@ var init_sdk_validate_signal = __esm(() => {
|
|
|
50124
50027
|
verificationEventId: "verification_event_id"
|
|
50125
50028
|
});
|
|
50126
50029
|
});
|
|
50127
|
-
|
|
50128
|
-
|
|
50030
|
+
SDKValidateSignalReason$inboundSchema = inboundSchema(SDKValidateSignalReason);
|
|
50031
|
+
SDKValidateSignalReason$outboundSchema = outboundSchema(SDKValidateSignalReason);
|
|
50129
50032
|
SDKValidateSignalDataData$inboundSchema = objectType({
|
|
50130
50033
|
valid: boolean4(),
|
|
50131
|
-
reason: optional3(
|
|
50034
|
+
reason: optional3(SDKValidateSignalReason$inboundSchema),
|
|
50132
50035
|
score: optional3(number4()),
|
|
50133
50036
|
edge_score: optional3(number4()),
|
|
50134
50037
|
client_score: optional3(number4()),
|
|
@@ -50145,7 +50048,7 @@ var init_sdk_validate_signal = __esm(() => {
|
|
|
50145
50048
|
});
|
|
50146
50049
|
SDKValidateSignalDataData$outboundSchema = objectType({
|
|
50147
50050
|
valid: booleanType(),
|
|
50148
|
-
reason:
|
|
50051
|
+
reason: SDKValidateSignalReason$outboundSchema.optional(),
|
|
50149
50052
|
score: numberType().int().optional(),
|
|
50150
50053
|
edgeScore: numberType().int().optional(),
|
|
50151
50054
|
clientScore: numberType().int().optional(),
|
|
@@ -50177,52 +50080,44 @@ var init_sdk_validate_signal = __esm(() => {
|
|
|
50177
50080
|
});
|
|
50178
50081
|
|
|
50179
50082
|
// 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;
|
|
50083
|
+
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
50084
|
var init_sdk_verify_token = __esm(() => {
|
|
50182
50085
|
init_v3();
|
|
50183
50086
|
init_primitives();
|
|
50087
|
+
init_enums();
|
|
50184
50088
|
init_primitives2();
|
|
50185
50089
|
init_models();
|
|
50090
|
+
AgeOver = {
|
|
50091
|
+
Thirteen: 13,
|
|
50092
|
+
Eighteen: 18,
|
|
50093
|
+
TwentyOne: 21
|
|
50094
|
+
};
|
|
50095
|
+
SDKVerifyTokenVerdict = {
|
|
50096
|
+
Pass: "pass",
|
|
50097
|
+
Unavailable: "unavailable"
|
|
50098
|
+
};
|
|
50186
50099
|
SDKVerifyTokenSecurity$inboundSchema = objectType({
|
|
50187
50100
|
apiKeyAuth: optional3(string4()),
|
|
50188
50101
|
apiKeyAuth1: optional3(string4()),
|
|
50189
50102
|
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())
|
|
50103
|
+
apiKeyAuth3: optional3(string4())
|
|
50202
50104
|
});
|
|
50203
50105
|
SDKVerifyTokenSecurity$outboundSchema = objectType({
|
|
50204
50106
|
apiKeyAuth: stringType().optional(),
|
|
50205
50107
|
apiKeyAuth1: stringType().optional(),
|
|
50206
50108
|
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()
|
|
50109
|
+
apiKeyAuth3: stringType().optional()
|
|
50219
50110
|
});
|
|
50220
50111
|
SDKVerifyTokenRequest$inboundSchema = objectType({
|
|
50221
|
-
token: string4()
|
|
50112
|
+
token: string4(),
|
|
50113
|
+
audience: optional3(string4())
|
|
50222
50114
|
});
|
|
50223
50115
|
SDKVerifyTokenRequest$outboundSchema = objectType({
|
|
50224
|
-
token: stringType()
|
|
50116
|
+
token: stringType(),
|
|
50117
|
+
audience: stringType().optional()
|
|
50225
50118
|
});
|
|
50119
|
+
AgeOver$inboundSchema = inboundSchemaInt(AgeOver);
|
|
50120
|
+
AgeOver$outboundSchema = outboundSchemaInt(AgeOver);
|
|
50226
50121
|
Claims$inboundSchema = objectType({
|
|
50227
50122
|
request_id: optional3(string4()),
|
|
50228
50123
|
verified: optional3(boolean4()),
|
|
@@ -50230,13 +50125,21 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50230
50125
|
timestamp: optional3(string4()),
|
|
50231
50126
|
nonce: optional3(string4()),
|
|
50232
50127
|
issued_at: optional3(number4()),
|
|
50233
|
-
expires_at: optional3(number4())
|
|
50128
|
+
expires_at: optional3(number4()),
|
|
50129
|
+
age_over: optional3(AgeOver$inboundSchema),
|
|
50130
|
+
trusted: optional3(boolean4()),
|
|
50131
|
+
trusted_since: optional3(date4()),
|
|
50132
|
+
last_pass_at: optional3(date4()),
|
|
50133
|
+
audience: nullableType(string4()).optional()
|
|
50234
50134
|
}).transform((v) => {
|
|
50235
50135
|
return remap(v, {
|
|
50236
50136
|
request_id: "requestId",
|
|
50237
50137
|
organization_id: "organizationId",
|
|
50238
50138
|
issued_at: "issuedAt",
|
|
50239
|
-
expires_at: "expiresAt"
|
|
50139
|
+
expires_at: "expiresAt",
|
|
50140
|
+
age_over: "ageOver",
|
|
50141
|
+
trusted_since: "trustedSince",
|
|
50142
|
+
last_pass_at: "lastPassAt"
|
|
50240
50143
|
});
|
|
50241
50144
|
});
|
|
50242
50145
|
Claims$outboundSchema = objectType({
|
|
@@ -50246,33 +50149,51 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50246
50149
|
timestamp: stringType().optional(),
|
|
50247
50150
|
nonce: stringType().optional(),
|
|
50248
50151
|
issuedAt: numberType().optional(),
|
|
50249
|
-
expiresAt: numberType().optional()
|
|
50152
|
+
expiresAt: numberType().optional(),
|
|
50153
|
+
ageOver: AgeOver$outboundSchema.optional(),
|
|
50154
|
+
trusted: booleanType().optional(),
|
|
50155
|
+
trustedSince: dateType().transform((v) => v.toISOString()).optional(),
|
|
50156
|
+
lastPassAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
50157
|
+
audience: nullableType(stringType()).optional()
|
|
50250
50158
|
}).transform((v) => {
|
|
50251
50159
|
return remap(v, {
|
|
50252
50160
|
requestId: "request_id",
|
|
50253
50161
|
organizationId: "organization_id",
|
|
50254
50162
|
issuedAt: "issued_at",
|
|
50255
|
-
expiresAt: "expires_at"
|
|
50163
|
+
expiresAt: "expires_at",
|
|
50164
|
+
ageOver: "age_over",
|
|
50165
|
+
trustedSince: "trusted_since",
|
|
50166
|
+
lastPassAt: "last_pass_at"
|
|
50256
50167
|
});
|
|
50257
50168
|
});
|
|
50169
|
+
SDKVerifyTokenVerdict$inboundSchema = inboundSchema(SDKVerifyTokenVerdict);
|
|
50170
|
+
SDKVerifyTokenVerdict$outboundSchema = outboundSchema(SDKVerifyTokenVerdict);
|
|
50258
50171
|
SDKVerifyTokenDataData$inboundSchema = objectType({
|
|
50259
50172
|
valid: boolean4(),
|
|
50260
50173
|
reason: optional3(string4()),
|
|
50261
50174
|
expired_at: nullableType(date4()).optional(),
|
|
50262
|
-
claims: nullableType(lazyType(() => Claims$inboundSchema)).optional()
|
|
50175
|
+
claims: nullableType(lazyType(() => Claims$inboundSchema)).optional(),
|
|
50176
|
+
replayed: optional3(boolean4()),
|
|
50177
|
+
strict_single_use_from: optional3(date4()),
|
|
50178
|
+
verdict: optional3(SDKVerifyTokenVerdict$inboundSchema)
|
|
50263
50179
|
}).transform((v) => {
|
|
50264
50180
|
return remap(v, {
|
|
50265
|
-
expired_at: "expiredAt"
|
|
50181
|
+
expired_at: "expiredAt",
|
|
50182
|
+
strict_single_use_from: "strictSingleUseFrom"
|
|
50266
50183
|
});
|
|
50267
50184
|
});
|
|
50268
50185
|
SDKVerifyTokenDataData$outboundSchema = objectType({
|
|
50269
50186
|
valid: booleanType(),
|
|
50270
50187
|
reason: stringType().optional(),
|
|
50271
50188
|
expiredAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
50272
|
-
claims: nullableType(lazyType(() => Claims$outboundSchema)).optional()
|
|
50189
|
+
claims: nullableType(lazyType(() => Claims$outboundSchema)).optional(),
|
|
50190
|
+
replayed: booleanType().optional(),
|
|
50191
|
+
strictSingleUseFrom: dateType().transform((v) => v.toISOString()).optional(),
|
|
50192
|
+
verdict: SDKVerifyTokenVerdict$outboundSchema.optional()
|
|
50273
50193
|
}).transform((v) => {
|
|
50274
50194
|
return remap(v, {
|
|
50275
|
-
expiredAt: "expired_at"
|
|
50195
|
+
expiredAt: "expired_at",
|
|
50196
|
+
strictSingleUseFrom: "strict_single_use_from"
|
|
50276
50197
|
});
|
|
50277
50198
|
});
|
|
50278
50199
|
SDKVerifyTokenData$inboundSchema = objectType({
|
|
@@ -50292,7 +50213,7 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
50292
50213
|
});
|
|
50293
50214
|
|
|
50294
50215
|
// 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;
|
|
50216
|
+
var VerificationGetStatusStatus, VerificationGetStatusSDKType, VerificationGetStatusReason, VerificationGetStatusSecurity$inboundSchema, VerificationGetStatusSecurity$outboundSchema, VerificationGetStatusRequest$inboundSchema, VerificationGetStatusRequest$outboundSchema, VerificationGetStatusStatus$inboundSchema, VerificationGetStatusStatus$outboundSchema, VerificationGetStatusSDKType$inboundSchema, VerificationGetStatusSDKType$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, VerificationGetStatusReason$inboundSchema, VerificationGetStatusReason$outboundSchema, VerificationGetStatusData$inboundSchema, VerificationGetStatusData$outboundSchema, VerificationGetStatusResponse$inboundSchema, VerificationGetStatusResponse$outboundSchema;
|
|
50296
50217
|
var init_verification_get_status = __esm(() => {
|
|
50297
50218
|
init_v3();
|
|
50298
50219
|
init_primitives();
|
|
@@ -50312,39 +50233,24 @@ var init_verification_get_status = __esm(() => {
|
|
|
50312
50233
|
Signal: "signal",
|
|
50313
50234
|
Presence: "presence"
|
|
50314
50235
|
};
|
|
50236
|
+
VerificationGetStatusReason = {
|
|
50237
|
+
AlreadyTrusted: "already_trusted",
|
|
50238
|
+
RebindRequiresPriorId: "rebind_requires_prior_id",
|
|
50239
|
+
PassLimitReached: "pass_limit_reached",
|
|
50240
|
+
RealDaysNotMet: "real_days_not_met",
|
|
50241
|
+
Unavailable: "unavailable"
|
|
50242
|
+
};
|
|
50315
50243
|
VerificationGetStatusSecurity$inboundSchema = objectType({
|
|
50316
50244
|
apiKeyAuth: optional3(string4()),
|
|
50317
50245
|
apiKeyAuth1: optional3(string4()),
|
|
50318
50246
|
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())
|
|
50247
|
+
apiKeyAuth3: optional3(string4())
|
|
50331
50248
|
});
|
|
50332
50249
|
VerificationGetStatusSecurity$outboundSchema = objectType({
|
|
50333
50250
|
apiKeyAuth: stringType().optional(),
|
|
50334
50251
|
apiKeyAuth1: stringType().optional(),
|
|
50335
50252
|
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()
|
|
50253
|
+
apiKeyAuth3: stringType().optional()
|
|
50348
50254
|
});
|
|
50349
50255
|
VerificationGetStatusRequest$inboundSchema = objectType({
|
|
50350
50256
|
request_id: string4()
|
|
@@ -50390,6 +50296,8 @@ var init_verification_get_status = __esm(() => {
|
|
|
50390
50296
|
parentRequestId: "parent_request_id"
|
|
50391
50297
|
});
|
|
50392
50298
|
});
|
|
50299
|
+
VerificationGetStatusReason$inboundSchema = inboundSchema(VerificationGetStatusReason);
|
|
50300
|
+
VerificationGetStatusReason$outboundSchema = outboundSchema(VerificationGetStatusReason);
|
|
50393
50301
|
VerificationGetStatusData$inboundSchema = objectType({
|
|
50394
50302
|
found: optional3(boolean4()),
|
|
50395
50303
|
status: optional3(VerificationGetStatusStatus$inboundSchema),
|
|
@@ -50406,7 +50314,12 @@ var init_verification_get_status = __esm(() => {
|
|
|
50406
50314
|
presence_address: nullableType(string4()).optional(),
|
|
50407
50315
|
metadata: nullableType(lazyType(() => Metadata$inboundSchema)).optional(),
|
|
50408
50316
|
message: optional3(string4()),
|
|
50409
|
-
error: optional3(ErrorBody$inboundSchema)
|
|
50317
|
+
error: optional3(ErrorBody$inboundSchema),
|
|
50318
|
+
reason: nullableType(VerificationGetStatusReason$inboundSchema).optional(),
|
|
50319
|
+
trusted: nullableType(boolean4()).optional(),
|
|
50320
|
+
first_time: nullableType(boolean4()).optional(),
|
|
50321
|
+
notarize: optional3(boolean4()),
|
|
50322
|
+
organization_name: nullableType(string4()).optional()
|
|
50410
50323
|
}).transform((v) => {
|
|
50411
50324
|
return remap(v, {
|
|
50412
50325
|
request_id: "requestId",
|
|
@@ -50418,7 +50331,9 @@ var init_verification_get_status = __esm(() => {
|
|
|
50418
50331
|
verification_token: "verificationToken",
|
|
50419
50332
|
error_message: "errorMessage",
|
|
50420
50333
|
sdk_type: "sdkType",
|
|
50421
|
-
presence_address: "presenceAddress"
|
|
50334
|
+
presence_address: "presenceAddress",
|
|
50335
|
+
first_time: "firstTime",
|
|
50336
|
+
organization_name: "organizationName"
|
|
50422
50337
|
});
|
|
50423
50338
|
});
|
|
50424
50339
|
VerificationGetStatusData$outboundSchema = objectType({
|
|
@@ -50437,7 +50352,12 @@ var init_verification_get_status = __esm(() => {
|
|
|
50437
50352
|
presenceAddress: nullableType(stringType()).optional(),
|
|
50438
50353
|
metadata: nullableType(lazyType(() => Metadata$outboundSchema)).optional(),
|
|
50439
50354
|
message: stringType().optional(),
|
|
50440
|
-
error: ErrorBody$outboundSchema.optional()
|
|
50355
|
+
error: ErrorBody$outboundSchema.optional(),
|
|
50356
|
+
reason: nullableType(VerificationGetStatusReason$outboundSchema).optional(),
|
|
50357
|
+
trusted: nullableType(booleanType()).optional(),
|
|
50358
|
+
firstTime: nullableType(booleanType()).optional(),
|
|
50359
|
+
notarize: booleanType().optional(),
|
|
50360
|
+
organizationName: nullableType(stringType()).optional()
|
|
50441
50361
|
}).transform((v) => {
|
|
50442
50362
|
return remap(v, {
|
|
50443
50363
|
requestId: "request_id",
|
|
@@ -50449,7 +50369,9 @@ var init_verification_get_status = __esm(() => {
|
|
|
50449
50369
|
verificationToken: "verification_token",
|
|
50450
50370
|
errorMessage: "error_message",
|
|
50451
50371
|
sdkType: "sdk_type",
|
|
50452
|
-
presenceAddress: "presence_address"
|
|
50372
|
+
presenceAddress: "presence_address",
|
|
50373
|
+
firstTime: "first_time",
|
|
50374
|
+
organizationName: "organization_name"
|
|
50453
50375
|
});
|
|
50454
50376
|
});
|
|
50455
50377
|
VerificationGetStatusResponse$inboundSchema = objectType({
|
|
@@ -50467,7 +50389,6 @@ var init_operations = __esm(() => {
|
|
|
50467
50389
|
init_actions_propose();
|
|
50468
50390
|
init_sdk_create_session();
|
|
50469
50391
|
init_sdk_create_verification_link();
|
|
50470
|
-
init_sdk_get_partner_config();
|
|
50471
50392
|
init_sdk_logout();
|
|
50472
50393
|
init_sdk_revoke_verification();
|
|
50473
50394
|
init_sdk_store_signal();
|
|
@@ -50591,23 +50512,7 @@ var init_actions_cancel_action2 = __esm(() => {
|
|
|
50591
50512
|
tool$actionsCancelAction = {
|
|
50592
50513
|
name: "cancel_resolution",
|
|
50593
50514
|
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
|
-
],
|
|
50515
|
+
scopes: ["queue", "queue", "queue", "queue"],
|
|
50611
50516
|
args,
|
|
50612
50517
|
tool: async (client, args2, ctx) => {
|
|
50613
50518
|
const [result, apiCall] = await actionsCancelAction(client, args2.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -50713,23 +50618,7 @@ var init_actions_check_action_status2 = __esm(() => {
|
|
|
50713
50618
|
tool$actionsCheckActionStatus = {
|
|
50714
50619
|
name: "check_resolution_status",
|
|
50715
50620
|
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
|
-
],
|
|
50621
|
+
scopes: ["queue", "queue", "queue", "queue"],
|
|
50733
50622
|
args: args2,
|
|
50734
50623
|
tool: async (client, args3, ctx) => {
|
|
50735
50624
|
const [result, apiCall] = await actionsCheckActionStatus(client, args3.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -50831,23 +50720,7 @@ var init_actions_propose_action2 = __esm(() => {
|
|
|
50831
50720
|
tool$actionsProposeAction = {
|
|
50832
50721
|
name: "propose_resolution",
|
|
50833
50722
|
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
|
-
],
|
|
50723
|
+
scopes: ["queue", "queue", "queue", "queue"],
|
|
50851
50724
|
args: args3,
|
|
50852
50725
|
tool: async (client, args4, ctx) => {
|
|
50853
50726
|
const [result, apiCall] = await actionsProposeAction(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -50867,7 +50740,7 @@ var init_actions_propose_action2 = __esm(() => {
|
|
|
50867
50740
|
function createMCPServer(deps) {
|
|
50868
50741
|
const server = new McpServer({
|
|
50869
50742
|
name: "BotShield",
|
|
50870
|
-
version: "2.0
|
|
50743
|
+
version: "2.1.0"
|
|
50871
50744
|
});
|
|
50872
50745
|
const client = new BotShieldCore({
|
|
50873
50746
|
security: deps.security,
|
|
@@ -50927,18 +50800,7 @@ async function startStdio(flags) {
|
|
|
50927
50800
|
agentKeyAuth: flags["agent-key-auth"] ?? "",
|
|
50928
50801
|
agentKeyAuth1: flags["agent-key-auth1"] ?? "",
|
|
50929
50802
|
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"] ?? ""
|
|
50803
|
+
agentKeyAuth3: flags["agent-key-auth3"] ?? ""
|
|
50942
50804
|
},
|
|
50943
50805
|
serverURL: flags["server-url"],
|
|
50944
50806
|
serverIdx: flags["server-index"]
|
|
@@ -50962,18 +50824,7 @@ async function startSSE(flags) {
|
|
|
50962
50824
|
agentKeyAuth: flags["agent-key-auth"] ?? "",
|
|
50963
50825
|
agentKeyAuth1: flags["agent-key-auth1"] ?? "",
|
|
50964
50826
|
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"] ?? ""
|
|
50827
|
+
agentKeyAuth3: flags["agent-key-auth3"] ?? ""
|
|
50977
50828
|
},
|
|
50978
50829
|
serverURL: flags["server-url"],
|
|
50979
50830
|
serverIdx: flags["server-index"]
|
|
@@ -53166,94 +53017,6 @@ var startCommand = buildCommand({
|
|
|
53166
53017
|
return stringType().parse(value);
|
|
53167
53018
|
}
|
|
53168
53019
|
},
|
|
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
53020
|
"server-url": {
|
|
53258
53021
|
kind: "parsed",
|
|
53259
53022
|
brief: "Overrides the default server URL used by the SDK",
|
|
@@ -53313,7 +53076,7 @@ var routes = buildRouteMap({
|
|
|
53313
53076
|
var app = buildApplication(routes, {
|
|
53314
53077
|
name: "mcp",
|
|
53315
53078
|
versionInfo: {
|
|
53316
|
-
currentVersion: "2.0
|
|
53079
|
+
currentVersion: "2.1.0"
|
|
53317
53080
|
}
|
|
53318
53081
|
});
|
|
53319
53082
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -53321,5 +53084,5 @@ export {
|
|
|
53321
53084
|
app
|
|
53322
53085
|
};
|
|
53323
53086
|
|
|
53324
|
-
//# debugId=
|
|
53087
|
+
//# debugId=C2EA8106B34F4CDE64756E2164756E21
|
|
53325
53088
|
//# sourceMappingURL=mcp-server.js.map
|