botshield-sdk 4.0.0 → 4.0.3
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 +17 -5
- package/bin/mcp-server.js +395 -22
- package/bin/mcp-server.js.map +25 -21
- package/dist/commonjs/funcs/census-confirm-link.d.ts +1 -1
- package/dist/commonjs/funcs/census-confirm-link.js +1 -1
- package/dist/commonjs/funcs/census-send-by-number.d.ts +1 -1
- package/dist/commonjs/funcs/census-send-by-number.js +1 -1
- package/dist/commonjs/funcs/census-verify-token.d.ts +1 -1
- package/dist/commonjs/funcs/census-verify-token.js +1 -1
- package/dist/commonjs/funcs/recovery-exchange.d.ts +18 -0
- package/dist/commonjs/funcs/recovery-exchange.d.ts.map +1 -0
- package/dist/commonjs/funcs/recovery-exchange.js +123 -0
- package/dist/commonjs/funcs/recovery-exchange.js.map +1 -0
- package/dist/commonjs/funcs/recovery-other-route.d.ts +18 -0
- package/dist/commonjs/funcs/recovery-other-route.d.ts.map +1 -0
- package/dist/commonjs/funcs/recovery-other-route.js +123 -0
- package/dist/commonjs/funcs/recovery-other-route.js.map +1 -0
- package/dist/commonjs/funcs/sign-in-confirm.d.ts +18 -0
- package/dist/commonjs/funcs/sign-in-confirm.d.ts.map +1 -0
- package/dist/commonjs/funcs/sign-in-confirm.js +123 -0
- package/dist/commonjs/funcs/sign-in-confirm.js.map +1 -0
- package/dist/commonjs/funcs/sign-in-request.d.ts +18 -0
- package/dist/commonjs/funcs/sign-in-request.d.ts.map +1 -0
- package/dist/commonjs/funcs/sign-in-request.js +123 -0
- package/dist/commonjs/funcs/sign-in-request.js.map +1 -0
- package/dist/commonjs/funcs/verification-get-status.d.ts +1 -1
- package/dist/commonjs/funcs/verification-get-status.js +2 -1
- package/dist/commonjs/funcs/verification-get-status.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -12
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +3 -13
- package/dist/commonjs/lib/config.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/models/bot-shield-action.d.ts +37 -1
- package/dist/commonjs/models/bot-shield-action.d.ts.map +1 -1
- package/dist/commonjs/models/bot-shield-action.js +28 -1
- package/dist/commonjs/models/bot-shield-action.js.map +1 -1
- package/dist/commonjs/models/error-body.d.ts +1 -1
- package/dist/commonjs/models/operations/actions-propose.d.ts +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-create.d.ts +2 -2
- package/dist/commonjs/models/operations/gates-api-actions-list.d.ts +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-request.d.ts +2 -2
- package/dist/commonjs/models/operations/gates-api-actions-set-state.d.ts +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-update.d.ts +2 -2
- package/dist/commonjs/models/operations/index.d.ts +4 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +4 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/recovery-exchange.d.ts +114 -0
- package/dist/commonjs/models/operations/recovery-exchange.d.ts.map +1 -0
- package/dist/commonjs/models/operations/recovery-exchange.js +164 -0
- package/dist/commonjs/models/operations/recovery-exchange.js.map +1 -0
- package/dist/commonjs/models/operations/recovery-other-route.d.ts +86 -0
- package/dist/commonjs/models/operations/recovery-other-route.d.ts.map +1 -0
- package/dist/commonjs/models/operations/recovery-other-route.js +145 -0
- package/dist/commonjs/models/operations/recovery-other-route.js.map +1 -0
- package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts +6 -1
- package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-create-verification-link.js +4 -0
- package/dist/commonjs/models/operations/sdk-create-verification-link.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-send-by-number.d.ts +1 -1
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts +19 -4
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-verify-token.js +10 -0
- package/dist/commonjs/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/commonjs/models/operations/secured-accounts-list.d.ts +5 -0
- package/dist/commonjs/models/operations/secured-accounts-list.d.ts.map +1 -1
- package/dist/commonjs/models/operations/secured-accounts-list.js +2 -0
- package/dist/commonjs/models/operations/secured-accounts-list.js.map +1 -1
- package/dist/commonjs/models/operations/secured-accounts-status.d.ts +5 -0
- package/dist/commonjs/models/operations/secured-accounts-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/secured-accounts-status.js +2 -0
- package/dist/commonjs/models/operations/secured-accounts-status.js.map +1 -1
- package/dist/commonjs/models/operations/signin-confirm.d.ts +148 -0
- package/dist/commonjs/models/operations/signin-confirm.d.ts.map +1 -0
- package/dist/commonjs/models/operations/signin-confirm.js +202 -0
- package/dist/commonjs/models/operations/signin-confirm.js.map +1 -0
- package/dist/commonjs/models/operations/signin-request.d.ts +115 -0
- package/dist/commonjs/models/operations/signin-request.d.ts.map +1 -0
- package/dist/commonjs/models/operations/signin-request.js +174 -0
- package/dist/commonjs/models/operations/signin-request.js.map +1 -0
- package/dist/commonjs/models/operations/verification-get-status.d.ts +10 -5
- package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.js +5 -1
- package/dist/commonjs/models/operations/verification-get-status.js.map +1 -1
- package/dist/commonjs/sdk/census.d.ts +3 -3
- package/dist/commonjs/sdk/census.js +3 -3
- package/dist/commonjs/sdk/recovery.d.ts +19 -0
- package/dist/commonjs/sdk/recovery.d.ts.map +1 -0
- package/dist/commonjs/sdk/recovery.js +32 -0
- package/dist/commonjs/sdk/recovery.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +6 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +10 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/sign-in.d.ts +19 -0
- package/dist/commonjs/sdk/sign-in.d.ts.map +1 -0
- package/dist/commonjs/sdk/sign-in.js +32 -0
- package/dist/commonjs/sdk/sign-in.js.map +1 -0
- package/dist/commonjs/sdk/verification.d.ts +1 -1
- package/dist/commonjs/sdk/verification.js +1 -1
- package/dist/esm/funcs/census-confirm-link.d.ts +1 -1
- package/dist/esm/funcs/census-confirm-link.js +1 -1
- package/dist/esm/funcs/census-send-by-number.d.ts +1 -1
- package/dist/esm/funcs/census-send-by-number.js +1 -1
- package/dist/esm/funcs/census-verify-token.d.ts +1 -1
- package/dist/esm/funcs/census-verify-token.js +1 -1
- package/dist/esm/funcs/recovery-exchange.d.ts +18 -0
- package/dist/esm/funcs/recovery-exchange.d.ts.map +1 -0
- package/dist/esm/funcs/recovery-exchange.js +87 -0
- package/dist/esm/funcs/recovery-exchange.js.map +1 -0
- package/dist/esm/funcs/recovery-other-route.d.ts +18 -0
- package/dist/esm/funcs/recovery-other-route.d.ts.map +1 -0
- package/dist/esm/funcs/recovery-other-route.js +87 -0
- package/dist/esm/funcs/recovery-other-route.js.map +1 -0
- package/dist/esm/funcs/sign-in-confirm.d.ts +18 -0
- package/dist/esm/funcs/sign-in-confirm.d.ts.map +1 -0
- package/dist/esm/funcs/sign-in-confirm.js +87 -0
- package/dist/esm/funcs/sign-in-confirm.js.map +1 -0
- package/dist/esm/funcs/sign-in-request.d.ts +18 -0
- package/dist/esm/funcs/sign-in-request.d.ts.map +1 -0
- package/dist/esm/funcs/sign-in-request.js +87 -0
- package/dist/esm/funcs/sign-in-request.js.map +1 -0
- package/dist/esm/funcs/verification-get-status.d.ts +1 -1
- package/dist/esm/funcs/verification-get-status.js +3 -2
- package/dist/esm/funcs/verification-get-status.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -12
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +2 -12
- package/dist/esm/lib/config.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/models/bot-shield-action.d.ts +37 -1
- package/dist/esm/models/bot-shield-action.d.ts.map +1 -1
- package/dist/esm/models/bot-shield-action.js +27 -0
- package/dist/esm/models/bot-shield-action.js.map +1 -1
- package/dist/esm/models/error-body.d.ts +1 -1
- package/dist/esm/models/operations/actions-propose.d.ts +1 -1
- package/dist/esm/models/operations/gates-api-actions-create.d.ts +2 -2
- package/dist/esm/models/operations/gates-api-actions-list.d.ts +1 -1
- package/dist/esm/models/operations/gates-api-actions-request.d.ts +2 -2
- package/dist/esm/models/operations/gates-api-actions-set-state.d.ts +1 -1
- package/dist/esm/models/operations/gates-api-actions-update.d.ts +2 -2
- package/dist/esm/models/operations/index.d.ts +4 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +4 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/recovery-exchange.d.ts +114 -0
- package/dist/esm/models/operations/recovery-exchange.d.ts.map +1 -0
- package/dist/esm/models/operations/recovery-exchange.js +118 -0
- package/dist/esm/models/operations/recovery-exchange.js.map +1 -0
- package/dist/esm/models/operations/recovery-other-route.d.ts +86 -0
- package/dist/esm/models/operations/recovery-other-route.d.ts.map +1 -0
- package/dist/esm/models/operations/recovery-other-route.js +99 -0
- package/dist/esm/models/operations/recovery-other-route.js.map +1 -0
- package/dist/esm/models/operations/sdk-create-verification-link.d.ts +6 -1
- package/dist/esm/models/operations/sdk-create-verification-link.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-create-verification-link.js +4 -0
- package/dist/esm/models/operations/sdk-create-verification-link.js.map +1 -1
- package/dist/esm/models/operations/sdk-send-by-number.d.ts +1 -1
- package/dist/esm/models/operations/sdk-verify-token.d.ts +19 -4
- package/dist/esm/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-verify-token.js +10 -0
- package/dist/esm/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/esm/models/operations/secured-accounts-list.d.ts +5 -0
- package/dist/esm/models/operations/secured-accounts-list.d.ts.map +1 -1
- package/dist/esm/models/operations/secured-accounts-list.js +2 -0
- package/dist/esm/models/operations/secured-accounts-list.js.map +1 -1
- package/dist/esm/models/operations/secured-accounts-status.d.ts +5 -0
- package/dist/esm/models/operations/secured-accounts-status.d.ts.map +1 -1
- package/dist/esm/models/operations/secured-accounts-status.js +2 -0
- package/dist/esm/models/operations/secured-accounts-status.js.map +1 -1
- package/dist/esm/models/operations/signin-confirm.d.ts +148 -0
- package/dist/esm/models/operations/signin-confirm.d.ts.map +1 -0
- package/dist/esm/models/operations/signin-confirm.js +156 -0
- package/dist/esm/models/operations/signin-confirm.js.map +1 -0
- package/dist/esm/models/operations/signin-request.d.ts +115 -0
- package/dist/esm/models/operations/signin-request.d.ts.map +1 -0
- package/dist/esm/models/operations/signin-request.js +128 -0
- package/dist/esm/models/operations/signin-request.js.map +1 -0
- package/dist/esm/models/operations/verification-get-status.d.ts +10 -5
- package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/esm/models/operations/verification-get-status.js +5 -1
- package/dist/esm/models/operations/verification-get-status.js.map +1 -1
- package/dist/esm/sdk/census.d.ts +3 -3
- package/dist/esm/sdk/census.js +3 -3
- package/dist/esm/sdk/recovery.d.ts +19 -0
- package/dist/esm/sdk/recovery.d.ts.map +1 -0
- package/dist/esm/sdk/recovery.js +28 -0
- package/dist/esm/sdk/recovery.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +6 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +10 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/sign-in.d.ts +19 -0
- package/dist/esm/sdk/sign-in.d.ts.map +1 -0
- package/dist/esm/sdk/sign-in.js +28 -0
- package/dist/esm/sdk/sign-in.js.map +1 -0
- package/dist/esm/sdk/verification.d.ts +1 -1
- package/dist/esm/sdk/verification.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/census-confirm-link.ts +1 -1
- package/src/funcs/census-send-by-number.ts +1 -1
- package/src/funcs/census-verify-token.ts +1 -1
- package/src/funcs/recovery-exchange.ts +184 -0
- package/src/funcs/recovery-other-route.ts +184 -0
- package/src/funcs/sign-in-confirm.ts +184 -0
- package/src/funcs/sign-in-request.ts +184 -0
- package/src/funcs/verification-get-status.ts +7 -2
- package/src/lib/config.ts +2 -12
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/bot-shield-action.ts +62 -1
- package/src/models/error-body.ts +1 -1
- package/src/models/operations/actions-propose.ts +1 -1
- package/src/models/operations/gates-api-actions-create.ts +2 -2
- package/src/models/operations/gates-api-actions-list.ts +1 -1
- package/src/models/operations/gates-api-actions-request.ts +2 -2
- package/src/models/operations/gates-api-actions-set-state.ts +1 -1
- package/src/models/operations/gates-api-actions-update.ts +2 -2
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/recovery-exchange.ts +308 -0
- package/src/models/operations/recovery-other-route.ts +262 -0
- package/src/models/operations/sdk-create-verification-link.ts +10 -1
- package/src/models/operations/sdk-send-by-number.ts +1 -1
- package/src/models/operations/sdk-verify-token.ts +29 -4
- package/src/models/operations/secured-accounts-list.ts +7 -0
- package/src/models/operations/secured-accounts-status.ts +7 -0
- package/src/models/operations/signin-confirm.ts +383 -0
- package/src/models/operations/signin-request.ts +319 -0
- package/src/models/operations/verification-get-status.ts +14 -5
- package/src/sdk/census.ts +3 -3
- package/src/sdk/recovery.ts +49 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/sign-in.ts +49 -0
- package/src/sdk/verification.ts +1 -1
package/bin/mcp-server.js
CHANGED
|
@@ -3909,20 +3909,18 @@ function serverURLFromOptions(options) {
|
|
|
3909
3909
|
const u = pathToFunc(serverURL)(params);
|
|
3910
3910
|
return new URL(u);
|
|
3911
3911
|
}
|
|
3912
|
-
var ServerProduction = "production",
|
|
3912
|
+
var ServerProduction = "production", ServerList, SDK_METADATA;
|
|
3913
3913
|
var init_config = __esm(() => {
|
|
3914
3914
|
init_url();
|
|
3915
3915
|
ServerList = {
|
|
3916
|
-
[ServerProduction]: "https://api.botshield.ai/operations"
|
|
3917
|
-
[ServerStaging]: "https://wg-staging.botshield.ai/operations",
|
|
3918
|
-
[ServerLocal]: "http://localhost:9991/operations"
|
|
3916
|
+
[ServerProduction]: "https://api.botshield.ai/operations"
|
|
3919
3917
|
};
|
|
3920
3918
|
SDK_METADATA = {
|
|
3921
3919
|
language: "typescript",
|
|
3922
3920
|
openapiDocVersion: "2.0.0",
|
|
3923
|
-
sdkVersion: "4.0.
|
|
3921
|
+
sdkVersion: "4.0.3",
|
|
3924
3922
|
genVersion: "2.934.1",
|
|
3925
|
-
userAgent: "speakeasy-sdk/typescript 4.0.
|
|
3923
|
+
userAgent: "speakeasy-sdk/typescript 4.0.3 2.934.1 2.0.0 botshield-sdk"
|
|
3926
3924
|
};
|
|
3927
3925
|
});
|
|
3928
3926
|
|
|
@@ -48925,7 +48923,7 @@ var init_primitives2 = __esm(() => {
|
|
|
48925
48923
|
});
|
|
48926
48924
|
|
|
48927
48925
|
// src/models/bot-shield-action.ts
|
|
48928
|
-
var BotShieldActionState, BotShieldActionEnvironment, BotShieldActionState$inboundSchema, BotShieldActionState$outboundSchema, BotShieldActionEnvironment$inboundSchema, BotShieldActionEnvironment$outboundSchema, BotShieldAction$inboundSchema, BotShieldAction$outboundSchema;
|
|
48926
|
+
var BotShieldActionState, BotShieldActionEnvironment, BotShieldActionKind, BotShieldActionState$inboundSchema, BotShieldActionState$outboundSchema, BotShieldActionEnvironment$inboundSchema, BotShieldActionEnvironment$outboundSchema, BotShieldActionKind$inboundSchema, BotShieldActionKind$outboundSchema, BotShieldAction$inboundSchema, BotShieldAction$outboundSchema;
|
|
48929
48927
|
var init_bot_shield_action = __esm(() => {
|
|
48930
48928
|
init_v3();
|
|
48931
48929
|
init_primitives();
|
|
@@ -48939,10 +48937,17 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48939
48937
|
Development: "development",
|
|
48940
48938
|
Production: "production"
|
|
48941
48939
|
};
|
|
48940
|
+
BotShieldActionKind = {
|
|
48941
|
+
Action: "action",
|
|
48942
|
+
Recovery: "recovery",
|
|
48943
|
+
Signin: "signin"
|
|
48944
|
+
};
|
|
48942
48945
|
BotShieldActionState$inboundSchema = inboundSchema(BotShieldActionState);
|
|
48943
48946
|
BotShieldActionState$outboundSchema = outboundSchema(BotShieldActionState);
|
|
48944
48947
|
BotShieldActionEnvironment$inboundSchema = inboundSchema(BotShieldActionEnvironment);
|
|
48945
48948
|
BotShieldActionEnvironment$outboundSchema = outboundSchema(BotShieldActionEnvironment);
|
|
48949
|
+
BotShieldActionKind$inboundSchema = inboundSchema(BotShieldActionKind);
|
|
48950
|
+
BotShieldActionKind$outboundSchema = outboundSchema(BotShieldActionKind);
|
|
48946
48951
|
BotShieldAction$inboundSchema = objectType({
|
|
48947
48952
|
id: string4(),
|
|
48948
48953
|
name: string4(),
|
|
@@ -48953,6 +48958,10 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48953
48958
|
placed_at: date4(),
|
|
48954
48959
|
turned_off_at: nullable3(date4()),
|
|
48955
48960
|
staff_can_send: optional3(boolean4()),
|
|
48961
|
+
kind: optional3(BotShieldActionKind$inboundSchema),
|
|
48962
|
+
signin_qr: optional3(boolean4()),
|
|
48963
|
+
pending_where_url: nullableType(string4()).optional(),
|
|
48964
|
+
pending_where_url_at: nullableType(date4()).optional(),
|
|
48956
48965
|
high_value: optional3(boolean4())
|
|
48957
48966
|
}).transform((v) => {
|
|
48958
48967
|
return remap(v, {
|
|
@@ -48961,6 +48970,9 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48961
48970
|
placed_at: "placedAt",
|
|
48962
48971
|
turned_off_at: "turnedOffAt",
|
|
48963
48972
|
staff_can_send: "staffCanSend",
|
|
48973
|
+
signin_qr: "signinQr",
|
|
48974
|
+
pending_where_url: "pendingWhereUrl",
|
|
48975
|
+
pending_where_url_at: "pendingWhereUrlAt",
|
|
48964
48976
|
high_value: "highValue"
|
|
48965
48977
|
});
|
|
48966
48978
|
});
|
|
@@ -48974,6 +48986,10 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48974
48986
|
placedAt: dateType().transform((v) => v.toISOString()),
|
|
48975
48987
|
turnedOffAt: nullableType(dateType().transform((v) => v.toISOString())),
|
|
48976
48988
|
staffCanSend: booleanType().optional(),
|
|
48989
|
+
kind: BotShieldActionKind$outboundSchema.optional(),
|
|
48990
|
+
signinQr: booleanType().optional(),
|
|
48991
|
+
pendingWhereUrl: nullableType(stringType()).optional(),
|
|
48992
|
+
pendingWhereUrlAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
48977
48993
|
highValue: booleanType().optional()
|
|
48978
48994
|
}).transform((v) => {
|
|
48979
48995
|
return remap(v, {
|
|
@@ -48982,6 +48998,9 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48982
48998
|
placedAt: "placed_at",
|
|
48983
48999
|
turnedOffAt: "turned_off_at",
|
|
48984
49000
|
staffCanSend: "staff_can_send",
|
|
49001
|
+
signinQr: "signin_qr",
|
|
49002
|
+
pendingWhereUrl: "pending_where_url",
|
|
49003
|
+
pendingWhereUrlAt: "pending_where_url_at",
|
|
48985
49004
|
highValue: "high_value"
|
|
48986
49005
|
});
|
|
48987
49006
|
});
|
|
@@ -50960,6 +50979,141 @@ var init_gates_api_list = __esm(() => {
|
|
|
50960
50979
|
});
|
|
50961
50980
|
});
|
|
50962
50981
|
|
|
50982
|
+
// src/models/operations/recovery-exchange.ts
|
|
50983
|
+
var RecoveryExchangeAct, RecoveryExchangeSecurity$inboundSchema, RecoveryExchangeSecurity$outboundSchema, RecoveryExchangeRequest$inboundSchema, RecoveryExchangeRequest$outboundSchema, RecoveryExchangeAct$inboundSchema, RecoveryExchangeAct$outboundSchema, RecoveryExchangeDataData$inboundSchema, RecoveryExchangeDataData$outboundSchema, RecoveryExchangeData$inboundSchema, RecoveryExchangeData$outboundSchema, RecoveryExchangeResponse$inboundSchema, RecoveryExchangeResponse$outboundSchema;
|
|
50984
|
+
var init_recovery_exchange = __esm(() => {
|
|
50985
|
+
init_v3();
|
|
50986
|
+
init_primitives();
|
|
50987
|
+
init_primitives2();
|
|
50988
|
+
init_models();
|
|
50989
|
+
RecoveryExchangeAct = {
|
|
50990
|
+
Recovery: "recovery"
|
|
50991
|
+
};
|
|
50992
|
+
RecoveryExchangeSecurity$inboundSchema = objectType({
|
|
50993
|
+
ApiKeyAuth: string4()
|
|
50994
|
+
}).transform((v) => {
|
|
50995
|
+
return remap(v, {
|
|
50996
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
50997
|
+
});
|
|
50998
|
+
});
|
|
50999
|
+
RecoveryExchangeSecurity$outboundSchema = objectType({
|
|
51000
|
+
apiKeyAuth: stringType()
|
|
51001
|
+
}).transform((v) => {
|
|
51002
|
+
return remap(v, {
|
|
51003
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51004
|
+
});
|
|
51005
|
+
});
|
|
51006
|
+
RecoveryExchangeRequest$inboundSchema = objectType({
|
|
51007
|
+
code: string4(),
|
|
51008
|
+
secret: string4()
|
|
51009
|
+
});
|
|
51010
|
+
RecoveryExchangeRequest$outboundSchema = objectType({
|
|
51011
|
+
code: stringType(),
|
|
51012
|
+
secret: stringType()
|
|
51013
|
+
});
|
|
51014
|
+
RecoveryExchangeAct$inboundSchema = nativeEnumType(RecoveryExchangeAct);
|
|
51015
|
+
RecoveryExchangeAct$outboundSchema = RecoveryExchangeAct$inboundSchema;
|
|
51016
|
+
RecoveryExchangeDataData$inboundSchema = objectType({
|
|
51017
|
+
recovery: boolean4(),
|
|
51018
|
+
act: RecoveryExchangeAct$inboundSchema,
|
|
51019
|
+
action: string4(),
|
|
51020
|
+
handle: string4(),
|
|
51021
|
+
recovery_id: string4(),
|
|
51022
|
+
recovered_at: date4()
|
|
51023
|
+
}).transform((v) => {
|
|
51024
|
+
return remap(v, {
|
|
51025
|
+
recovery_id: "recoveryId",
|
|
51026
|
+
recovered_at: "recoveredAt"
|
|
51027
|
+
});
|
|
51028
|
+
});
|
|
51029
|
+
RecoveryExchangeDataData$outboundSchema = objectType({
|
|
51030
|
+
recovery: booleanType(),
|
|
51031
|
+
act: RecoveryExchangeAct$outboundSchema,
|
|
51032
|
+
action: stringType(),
|
|
51033
|
+
handle: stringType(),
|
|
51034
|
+
recoveryId: stringType(),
|
|
51035
|
+
recoveredAt: dateType().transform((v) => v.toISOString())
|
|
51036
|
+
}).transform((v) => {
|
|
51037
|
+
return remap(v, {
|
|
51038
|
+
recoveryId: "recovery_id",
|
|
51039
|
+
recoveredAt: "recovered_at"
|
|
51040
|
+
});
|
|
51041
|
+
});
|
|
51042
|
+
RecoveryExchangeData$inboundSchema = objectType({
|
|
51043
|
+
data: optional3(lazyType(() => RecoveryExchangeDataData$inboundSchema)),
|
|
51044
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
51045
|
+
});
|
|
51046
|
+
RecoveryExchangeData$outboundSchema = objectType({
|
|
51047
|
+
data: lazyType(() => RecoveryExchangeDataData$outboundSchema).optional(),
|
|
51048
|
+
error: ErrorBody$outboundSchema.optional()
|
|
51049
|
+
});
|
|
51050
|
+
RecoveryExchangeResponse$inboundSchema = objectType({
|
|
51051
|
+
data: lazyType(() => RecoveryExchangeData$inboundSchema)
|
|
51052
|
+
});
|
|
51053
|
+
RecoveryExchangeResponse$outboundSchema = objectType({
|
|
51054
|
+
data: lazyType(() => RecoveryExchangeData$outboundSchema)
|
|
51055
|
+
});
|
|
51056
|
+
});
|
|
51057
|
+
|
|
51058
|
+
// src/models/operations/recovery-other-route.ts
|
|
51059
|
+
var RecoveryOtherRouteSecurity$inboundSchema, RecoveryOtherRouteSecurity$outboundSchema, RecoveryOtherRouteRequest$inboundSchema, RecoveryOtherRouteRequest$outboundSchema, RecoveryOtherRouteDataData$inboundSchema, RecoveryOtherRouteDataData$outboundSchema, RecoveryOtherRouteData$inboundSchema, RecoveryOtherRouteData$outboundSchema, RecoveryOtherRouteResponse$inboundSchema, RecoveryOtherRouteResponse$outboundSchema;
|
|
51060
|
+
var init_recovery_other_route = __esm(() => {
|
|
51061
|
+
init_v3();
|
|
51062
|
+
init_primitives();
|
|
51063
|
+
init_primitives2();
|
|
51064
|
+
init_models();
|
|
51065
|
+
RecoveryOtherRouteSecurity$inboundSchema = objectType({
|
|
51066
|
+
ApiKeyAuth: string4()
|
|
51067
|
+
}).transform((v) => {
|
|
51068
|
+
return remap(v, {
|
|
51069
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
51070
|
+
});
|
|
51071
|
+
});
|
|
51072
|
+
RecoveryOtherRouteSecurity$outboundSchema = objectType({
|
|
51073
|
+
apiKeyAuth: stringType()
|
|
51074
|
+
}).transform((v) => {
|
|
51075
|
+
return remap(v, {
|
|
51076
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51077
|
+
});
|
|
51078
|
+
});
|
|
51079
|
+
RecoveryOtherRouteRequest$inboundSchema = objectType({
|
|
51080
|
+
handle: string4()
|
|
51081
|
+
});
|
|
51082
|
+
RecoveryOtherRouteRequest$outboundSchema = objectType({
|
|
51083
|
+
handle: stringType()
|
|
51084
|
+
});
|
|
51085
|
+
RecoveryOtherRouteDataData$inboundSchema = objectType({
|
|
51086
|
+
received: boolean4(),
|
|
51087
|
+
works_from: date4()
|
|
51088
|
+
}).transform((v) => {
|
|
51089
|
+
return remap(v, {
|
|
51090
|
+
works_from: "worksFrom"
|
|
51091
|
+
});
|
|
51092
|
+
});
|
|
51093
|
+
RecoveryOtherRouteDataData$outboundSchema = objectType({
|
|
51094
|
+
received: booleanType(),
|
|
51095
|
+
worksFrom: dateType().transform((v) => v.toISOString())
|
|
51096
|
+
}).transform((v) => {
|
|
51097
|
+
return remap(v, {
|
|
51098
|
+
worksFrom: "works_from"
|
|
51099
|
+
});
|
|
51100
|
+
});
|
|
51101
|
+
RecoveryOtherRouteData$inboundSchema = objectType({
|
|
51102
|
+
data: optional3(lazyType(() => RecoveryOtherRouteDataData$inboundSchema)),
|
|
51103
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
51104
|
+
});
|
|
51105
|
+
RecoveryOtherRouteData$outboundSchema = objectType({
|
|
51106
|
+
data: lazyType(() => RecoveryOtherRouteDataData$outboundSchema).optional(),
|
|
51107
|
+
error: ErrorBody$outboundSchema.optional()
|
|
51108
|
+
});
|
|
51109
|
+
RecoveryOtherRouteResponse$inboundSchema = objectType({
|
|
51110
|
+
data: lazyType(() => RecoveryOtherRouteData$inboundSchema)
|
|
51111
|
+
});
|
|
51112
|
+
RecoveryOtherRouteResponse$outboundSchema = objectType({
|
|
51113
|
+
data: lazyType(() => RecoveryOtherRouteData$outboundSchema)
|
|
51114
|
+
});
|
|
51115
|
+
});
|
|
51116
|
+
|
|
50963
51117
|
// src/models/operations/request-passkey-complete.ts
|
|
50964
51118
|
var RequestPasskeyCompleteOutcome, RequestPasskeyCompleteRequest$inboundSchema, RequestPasskeyCompleteRequest$outboundSchema, RequestPasskeyCompleteOutcome$inboundSchema, RequestPasskeyCompleteOutcome$outboundSchema, RequestPasskeyCompleteDataData$inboundSchema, RequestPasskeyCompleteDataData$outboundSchema, RequestPasskeyCompleteData$inboundSchema, RequestPasskeyCompleteData$outboundSchema, RequestPasskeyCompleteResponse$inboundSchema, RequestPasskeyCompleteResponse$outboundSchema;
|
|
50965
51119
|
var init_request_passkey_complete = __esm(() => {
|
|
@@ -51487,6 +51641,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51487
51641
|
SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema = outboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
|
|
51488
51642
|
SDKCreateVerificationLinkDataData$inboundSchema = objectType({
|
|
51489
51643
|
request_id: string4(),
|
|
51644
|
+
read_secret: optional3(string4()),
|
|
51490
51645
|
deep_link: string4(),
|
|
51491
51646
|
web_url: string4(),
|
|
51492
51647
|
qr_code_url: string4(),
|
|
@@ -51507,6 +51662,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51507
51662
|
}).transform((v) => {
|
|
51508
51663
|
return remap(v, {
|
|
51509
51664
|
request_id: "requestId",
|
|
51665
|
+
read_secret: "readSecret",
|
|
51510
51666
|
deep_link: "deepLink",
|
|
51511
51667
|
web_url: "webUrl",
|
|
51512
51668
|
qr_code_url: "qrCodeUrl",
|
|
@@ -51522,6 +51678,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51522
51678
|
});
|
|
51523
51679
|
SDKCreateVerificationLinkDataData$outboundSchema = objectType({
|
|
51524
51680
|
requestId: stringType(),
|
|
51681
|
+
readSecret: stringType().optional(),
|
|
51525
51682
|
deepLink: stringType(),
|
|
51526
51683
|
webUrl: stringType(),
|
|
51527
51684
|
qrCodeUrl: stringType(),
|
|
@@ -51542,6 +51699,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51542
51699
|
}).transform((v) => {
|
|
51543
51700
|
return remap(v, {
|
|
51544
51701
|
requestId: "request_id",
|
|
51702
|
+
readSecret: "read_secret",
|
|
51545
51703
|
deepLink: "deep_link",
|
|
51546
51704
|
webUrl: "web_url",
|
|
51547
51705
|
qrCodeUrl: "qr_code_url",
|
|
@@ -52213,19 +52371,23 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52213
52371
|
SDKVerifyTokenRequest$inboundSchema = objectType({
|
|
52214
52372
|
token: string4(),
|
|
52215
52373
|
audience: optional3(string4()),
|
|
52216
|
-
partner_user_ref: optional3(string4())
|
|
52374
|
+
partner_user_ref: optional3(string4()),
|
|
52375
|
+
expected_request_id: optional3(string4())
|
|
52217
52376
|
}).transform((v) => {
|
|
52218
52377
|
return remap(v, {
|
|
52219
|
-
partner_user_ref: "partnerUserRef"
|
|
52378
|
+
partner_user_ref: "partnerUserRef",
|
|
52379
|
+
expected_request_id: "expectedRequestId"
|
|
52220
52380
|
});
|
|
52221
52381
|
});
|
|
52222
52382
|
SDKVerifyTokenRequest$outboundSchema = objectType({
|
|
52223
52383
|
token: stringType(),
|
|
52224
52384
|
audience: stringType().optional(),
|
|
52225
|
-
partnerUserRef: stringType().optional()
|
|
52385
|
+
partnerUserRef: stringType().optional(),
|
|
52386
|
+
expectedRequestId: stringType().optional()
|
|
52226
52387
|
}).transform((v) => {
|
|
52227
52388
|
return remap(v, {
|
|
52228
|
-
partnerUserRef: "partner_user_ref"
|
|
52389
|
+
partnerUserRef: "partner_user_ref",
|
|
52390
|
+
expectedRequestId: "expected_request_id"
|
|
52229
52391
|
});
|
|
52230
52392
|
});
|
|
52231
52393
|
AgeOver$inboundSchema = inboundSchemaInt(AgeOver);
|
|
@@ -52250,6 +52412,7 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52250
52412
|
act: optional3(string4()),
|
|
52251
52413
|
kind: nullableType(Kind$inboundSchema).optional(),
|
|
52252
52414
|
environment: nullableType(SDKVerifyTokenEnvironment$inboundSchema).optional(),
|
|
52415
|
+
recovered_at: optional3(date4()),
|
|
52253
52416
|
link_state: optional3(string4())
|
|
52254
52417
|
}).transform((v) => {
|
|
52255
52418
|
return remap(v, {
|
|
@@ -52260,6 +52423,7 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52260
52423
|
age_over: "ageOver",
|
|
52261
52424
|
trusted_since: "trustedSince",
|
|
52262
52425
|
last_pass_at: "lastPassAt",
|
|
52426
|
+
recovered_at: "recoveredAt",
|
|
52263
52427
|
link_state: "linkState"
|
|
52264
52428
|
});
|
|
52265
52429
|
});
|
|
@@ -52279,6 +52443,7 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52279
52443
|
act: stringType().optional(),
|
|
52280
52444
|
kind: nullableType(Kind$outboundSchema).optional(),
|
|
52281
52445
|
environment: nullableType(SDKVerifyTokenEnvironment$outboundSchema).optional(),
|
|
52446
|
+
recoveredAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
52282
52447
|
linkState: stringType().optional()
|
|
52283
52448
|
}).transform((v) => {
|
|
52284
52449
|
return remap(v, {
|
|
@@ -52289,6 +52454,7 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52289
52454
|
ageOver: "age_over",
|
|
52290
52455
|
trustedSince: "trusted_since",
|
|
52291
52456
|
lastPassAt: "last_pass_at",
|
|
52457
|
+
recoveredAt: "recovered_at",
|
|
52292
52458
|
linkState: "link_state"
|
|
52293
52459
|
});
|
|
52294
52460
|
});
|
|
@@ -52323,6 +52489,7 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52323
52489
|
SDKVerifyTokenDataData$inboundSchema = objectType({
|
|
52324
52490
|
valid: boolean4(),
|
|
52325
52491
|
reason: optional3(string4()),
|
|
52492
|
+
code: optional3(string4()),
|
|
52326
52493
|
expired_at: nullableType(date4()).optional(),
|
|
52327
52494
|
claims: nullableType(lazyType(() => Claims$inboundSchema)).optional(),
|
|
52328
52495
|
replayed: optional3(boolean4()),
|
|
@@ -52336,6 +52503,7 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52336
52503
|
SDKVerifyTokenDataData$outboundSchema = objectType({
|
|
52337
52504
|
valid: booleanType(),
|
|
52338
52505
|
reason: stringType().optional(),
|
|
52506
|
+
code: stringType().optional(),
|
|
52339
52507
|
expiredAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
52340
52508
|
claims: nullableType(lazyType(() => Claims$outboundSchema)).optional(),
|
|
52341
52509
|
replayed: booleanType().optional(),
|
|
@@ -52440,7 +52608,8 @@ var init_secured_accounts_list = __esm(() => {
|
|
|
52440
52608
|
unlinked_at: nullable3(date4()),
|
|
52441
52609
|
unlinked_by: nullable3(UnlinkedBy$inboundSchema),
|
|
52442
52610
|
unlink_reason: nullable3(SecuredAccountsListUnlinkReason$inboundSchema),
|
|
52443
|
-
surface_id: nullable3(string4())
|
|
52611
|
+
surface_id: nullable3(string4()),
|
|
52612
|
+
paused: boolean4()
|
|
52444
52613
|
}).transform((v) => {
|
|
52445
52614
|
return remap(v, {
|
|
52446
52615
|
secured_at: "securedAt",
|
|
@@ -52457,7 +52626,8 @@ var init_secured_accounts_list = __esm(() => {
|
|
|
52457
52626
|
unlinkedAt: nullableType(dateType().transform((v) => v.toISOString())),
|
|
52458
52627
|
unlinkedBy: nullableType(UnlinkedBy$outboundSchema),
|
|
52459
52628
|
unlinkReason: nullableType(SecuredAccountsListUnlinkReason$outboundSchema),
|
|
52460
|
-
surfaceId: nullableType(stringType())
|
|
52629
|
+
surfaceId: nullableType(stringType()),
|
|
52630
|
+
paused: booleanType()
|
|
52461
52631
|
}).transform((v) => {
|
|
52462
52632
|
return remap(v, {
|
|
52463
52633
|
securedAt: "secured_at",
|
|
@@ -52636,7 +52806,8 @@ var init_secured_accounts_status = __esm(() => {
|
|
|
52636
52806
|
SecuredAccountsStatusState$outboundSchema = outboundSchema(SecuredAccountsStatusState);
|
|
52637
52807
|
SecuredAccountsStatusDataData$inboundSchema = objectType({
|
|
52638
52808
|
state: SecuredAccountsStatusState$inboundSchema,
|
|
52639
|
-
fresh_until: nullable3(date4())
|
|
52809
|
+
fresh_until: nullable3(date4()),
|
|
52810
|
+
paused: nullableType(boolean4()).optional()
|
|
52640
52811
|
}).transform((v) => {
|
|
52641
52812
|
return remap(v, {
|
|
52642
52813
|
fresh_until: "freshUntil"
|
|
@@ -52644,7 +52815,8 @@ var init_secured_accounts_status = __esm(() => {
|
|
|
52644
52815
|
});
|
|
52645
52816
|
SecuredAccountsStatusDataData$outboundSchema = objectType({
|
|
52646
52817
|
state: SecuredAccountsStatusState$outboundSchema,
|
|
52647
|
-
freshUntil: nullableType(dateType().transform((v) => v.toISOString()))
|
|
52818
|
+
freshUntil: nullableType(dateType().transform((v) => v.toISOString())),
|
|
52819
|
+
paused: nullableType(booleanType()).optional()
|
|
52648
52820
|
}).transform((v) => {
|
|
52649
52821
|
return remap(v, {
|
|
52650
52822
|
freshUntil: "fresh_until"
|
|
@@ -52666,6 +52838,199 @@ var init_secured_accounts_status = __esm(() => {
|
|
|
52666
52838
|
});
|
|
52667
52839
|
});
|
|
52668
52840
|
|
|
52841
|
+
// src/models/operations/signin-confirm.ts
|
|
52842
|
+
var SigninConfirmEnvironment, SigninConfirmFinishedBy, SigninConfirmTier, SigninConfirmSecurity$inboundSchema, SigninConfirmSecurity$outboundSchema, SigninConfirmRequest$inboundSchema, SigninConfirmRequest$outboundSchema, SigninConfirmEnvironment$inboundSchema, SigninConfirmEnvironment$outboundSchema, SigninConfirmFinishedBy$inboundSchema, SigninConfirmFinishedBy$outboundSchema, SigninConfirmTier$inboundSchema, SigninConfirmTier$outboundSchema, SigninConfirmDataData$inboundSchema, SigninConfirmDataData$outboundSchema, SigninConfirmData$inboundSchema, SigninConfirmData$outboundSchema, SigninConfirmResponse$inboundSchema, SigninConfirmResponse$outboundSchema;
|
|
52843
|
+
var init_signin_confirm = __esm(() => {
|
|
52844
|
+
init_v3();
|
|
52845
|
+
init_primitives();
|
|
52846
|
+
init_enums();
|
|
52847
|
+
init_primitives2();
|
|
52848
|
+
init_models();
|
|
52849
|
+
SigninConfirmEnvironment = {
|
|
52850
|
+
Development: "development",
|
|
52851
|
+
Production: "production"
|
|
52852
|
+
};
|
|
52853
|
+
SigninConfirmFinishedBy = {
|
|
52854
|
+
Inline: "inline",
|
|
52855
|
+
Qr: "qr"
|
|
52856
|
+
};
|
|
52857
|
+
SigninConfirmTier = {
|
|
52858
|
+
One: 1
|
|
52859
|
+
};
|
|
52860
|
+
SigninConfirmSecurity$inboundSchema = objectType({
|
|
52861
|
+
ApiKeyAuth: string4()
|
|
52862
|
+
}).transform((v) => {
|
|
52863
|
+
return remap(v, {
|
|
52864
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
52865
|
+
});
|
|
52866
|
+
});
|
|
52867
|
+
SigninConfirmSecurity$outboundSchema = objectType({
|
|
52868
|
+
apiKeyAuth: stringType()
|
|
52869
|
+
}).transform((v) => {
|
|
52870
|
+
return remap(v, {
|
|
52871
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
52872
|
+
});
|
|
52873
|
+
});
|
|
52874
|
+
SigninConfirmRequest$inboundSchema = objectType({
|
|
52875
|
+
request_id: string4(),
|
|
52876
|
+
partner_user_ref: optional3(string4())
|
|
52877
|
+
}).transform((v) => {
|
|
52878
|
+
return remap(v, {
|
|
52879
|
+
request_id: "requestId",
|
|
52880
|
+
partner_user_ref: "partnerUserRef"
|
|
52881
|
+
});
|
|
52882
|
+
});
|
|
52883
|
+
SigninConfirmRequest$outboundSchema = objectType({
|
|
52884
|
+
requestId: stringType(),
|
|
52885
|
+
partnerUserRef: stringType().optional()
|
|
52886
|
+
}).transform((v) => {
|
|
52887
|
+
return remap(v, {
|
|
52888
|
+
requestId: "request_id",
|
|
52889
|
+
partnerUserRef: "partner_user_ref"
|
|
52890
|
+
});
|
|
52891
|
+
});
|
|
52892
|
+
SigninConfirmEnvironment$inboundSchema = inboundSchema(SigninConfirmEnvironment);
|
|
52893
|
+
SigninConfirmEnvironment$outboundSchema = outboundSchema(SigninConfirmEnvironment);
|
|
52894
|
+
SigninConfirmFinishedBy$inboundSchema = inboundSchema(SigninConfirmFinishedBy);
|
|
52895
|
+
SigninConfirmFinishedBy$outboundSchema = outboundSchema(SigninConfirmFinishedBy);
|
|
52896
|
+
SigninConfirmTier$inboundSchema = nativeEnumType(SigninConfirmTier);
|
|
52897
|
+
SigninConfirmTier$outboundSchema = SigninConfirmTier$inboundSchema;
|
|
52898
|
+
SigninConfirmDataData$inboundSchema = objectType({
|
|
52899
|
+
signed_in: boolean4(),
|
|
52900
|
+
request_id: string4(),
|
|
52901
|
+
act: nullable3(string4()),
|
|
52902
|
+
handle: string4(),
|
|
52903
|
+
verified_at: date4(),
|
|
52904
|
+
environment: SigninConfirmEnvironment$inboundSchema,
|
|
52905
|
+
finished_by: SigninConfirmFinishedBy$inboundSchema,
|
|
52906
|
+
tier: SigninConfirmTier$inboundSchema
|
|
52907
|
+
}).transform((v) => {
|
|
52908
|
+
return remap(v, {
|
|
52909
|
+
signed_in: "signedIn",
|
|
52910
|
+
request_id: "requestId",
|
|
52911
|
+
verified_at: "verifiedAt",
|
|
52912
|
+
finished_by: "finishedBy"
|
|
52913
|
+
});
|
|
52914
|
+
});
|
|
52915
|
+
SigninConfirmDataData$outboundSchema = objectType({
|
|
52916
|
+
signedIn: booleanType(),
|
|
52917
|
+
requestId: stringType(),
|
|
52918
|
+
act: nullableType(stringType()),
|
|
52919
|
+
handle: stringType(),
|
|
52920
|
+
verifiedAt: dateType().transform((v) => v.toISOString()),
|
|
52921
|
+
environment: SigninConfirmEnvironment$outboundSchema,
|
|
52922
|
+
finishedBy: SigninConfirmFinishedBy$outboundSchema,
|
|
52923
|
+
tier: SigninConfirmTier$outboundSchema
|
|
52924
|
+
}).transform((v) => {
|
|
52925
|
+
return remap(v, {
|
|
52926
|
+
signedIn: "signed_in",
|
|
52927
|
+
requestId: "request_id",
|
|
52928
|
+
verifiedAt: "verified_at",
|
|
52929
|
+
finishedBy: "finished_by"
|
|
52930
|
+
});
|
|
52931
|
+
});
|
|
52932
|
+
SigninConfirmData$inboundSchema = objectType({
|
|
52933
|
+
data: optional3(lazyType(() => SigninConfirmDataData$inboundSchema)),
|
|
52934
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
52935
|
+
});
|
|
52936
|
+
SigninConfirmData$outboundSchema = objectType({
|
|
52937
|
+
data: lazyType(() => SigninConfirmDataData$outboundSchema).optional(),
|
|
52938
|
+
error: ErrorBody$outboundSchema.optional()
|
|
52939
|
+
});
|
|
52940
|
+
SigninConfirmResponse$inboundSchema = objectType({
|
|
52941
|
+
data: lazyType(() => SigninConfirmData$inboundSchema)
|
|
52942
|
+
});
|
|
52943
|
+
SigninConfirmResponse$outboundSchema = objectType({
|
|
52944
|
+
data: lazyType(() => SigninConfirmData$outboundSchema)
|
|
52945
|
+
});
|
|
52946
|
+
});
|
|
52947
|
+
|
|
52948
|
+
// src/models/operations/signin-request.ts
|
|
52949
|
+
var SigninRequestTier, SigninRequestSecurity$inboundSchema, SigninRequestSecurity$outboundSchema, SigninRequestRequest$inboundSchema, SigninRequestRequest$outboundSchema, SigninRequestTier$inboundSchema, SigninRequestTier$outboundSchema, SigninRequestDataData$inboundSchema, SigninRequestDataData$outboundSchema, SigninRequestData$inboundSchema, SigninRequestData$outboundSchema, SigninRequestResponse$inboundSchema, SigninRequestResponse$outboundSchema;
|
|
52950
|
+
var init_signin_request = __esm(() => {
|
|
52951
|
+
init_v3();
|
|
52952
|
+
init_primitives();
|
|
52953
|
+
init_primitives2();
|
|
52954
|
+
init_models();
|
|
52955
|
+
SigninRequestTier = {
|
|
52956
|
+
One: 1
|
|
52957
|
+
};
|
|
52958
|
+
SigninRequestSecurity$inboundSchema = objectType({
|
|
52959
|
+
ApiKeyAuth: string4()
|
|
52960
|
+
}).transform((v) => {
|
|
52961
|
+
return remap(v, {
|
|
52962
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
52963
|
+
});
|
|
52964
|
+
});
|
|
52965
|
+
SigninRequestSecurity$outboundSchema = objectType({
|
|
52966
|
+
apiKeyAuth: stringType()
|
|
52967
|
+
}).transform((v) => {
|
|
52968
|
+
return remap(v, {
|
|
52969
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
52970
|
+
});
|
|
52971
|
+
});
|
|
52972
|
+
SigninRequestRequest$inboundSchema = objectType({
|
|
52973
|
+
partner_user_ref: string4()
|
|
52974
|
+
}).transform((v) => {
|
|
52975
|
+
return remap(v, {
|
|
52976
|
+
partner_user_ref: "partnerUserRef"
|
|
52977
|
+
});
|
|
52978
|
+
});
|
|
52979
|
+
SigninRequestRequest$outboundSchema = objectType({
|
|
52980
|
+
partnerUserRef: stringType()
|
|
52981
|
+
}).transform((v) => {
|
|
52982
|
+
return remap(v, {
|
|
52983
|
+
partnerUserRef: "partner_user_ref"
|
|
52984
|
+
});
|
|
52985
|
+
});
|
|
52986
|
+
SigninRequestTier$inboundSchema = nativeEnumType(SigninRequestTier);
|
|
52987
|
+
SigninRequestTier$outboundSchema = SigninRequestTier$inboundSchema;
|
|
52988
|
+
SigninRequestDataData$inboundSchema = objectType({
|
|
52989
|
+
request_id: string4(),
|
|
52990
|
+
expires_at: date4(),
|
|
52991
|
+
tier: SigninRequestTier$inboundSchema,
|
|
52992
|
+
page_origin: string4(),
|
|
52993
|
+
qr: boolean4(),
|
|
52994
|
+
qr_url: nullable3(string4())
|
|
52995
|
+
}).transform((v) => {
|
|
52996
|
+
return remap(v, {
|
|
52997
|
+
request_id: "requestId",
|
|
52998
|
+
expires_at: "expiresAt",
|
|
52999
|
+
page_origin: "pageOrigin",
|
|
53000
|
+
qr_url: "qrUrl"
|
|
53001
|
+
});
|
|
53002
|
+
});
|
|
53003
|
+
SigninRequestDataData$outboundSchema = objectType({
|
|
53004
|
+
requestId: stringType(),
|
|
53005
|
+
expiresAt: dateType().transform((v) => v.toISOString()),
|
|
53006
|
+
tier: SigninRequestTier$outboundSchema,
|
|
53007
|
+
pageOrigin: stringType(),
|
|
53008
|
+
qr: booleanType(),
|
|
53009
|
+
qrUrl: nullableType(stringType())
|
|
53010
|
+
}).transform((v) => {
|
|
53011
|
+
return remap(v, {
|
|
53012
|
+
requestId: "request_id",
|
|
53013
|
+
expiresAt: "expires_at",
|
|
53014
|
+
pageOrigin: "page_origin",
|
|
53015
|
+
qrUrl: "qr_url"
|
|
53016
|
+
});
|
|
53017
|
+
});
|
|
53018
|
+
SigninRequestData$inboundSchema = objectType({
|
|
53019
|
+
data: optional3(lazyType(() => SigninRequestDataData$inboundSchema)),
|
|
53020
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
53021
|
+
});
|
|
53022
|
+
SigninRequestData$outboundSchema = objectType({
|
|
53023
|
+
data: lazyType(() => SigninRequestDataData$outboundSchema).optional(),
|
|
53024
|
+
error: ErrorBody$outboundSchema.optional()
|
|
53025
|
+
});
|
|
53026
|
+
SigninRequestResponse$inboundSchema = objectType({
|
|
53027
|
+
data: lazyType(() => SigninRequestData$inboundSchema)
|
|
53028
|
+
});
|
|
53029
|
+
SigninRequestResponse$outboundSchema = objectType({
|
|
53030
|
+
data: lazyType(() => SigninRequestData$outboundSchema)
|
|
53031
|
+
});
|
|
53032
|
+
});
|
|
53033
|
+
|
|
52669
53034
|
// src/models/operations/verification-get-status.ts
|
|
52670
53035
|
var VerificationGetStatusStatus, VerificationGetStatusSDKType, VerificationGetStatusPreset, Link, VerificationGetStatusState, VerificationGetStatusGateType, LinkState, VerificationGetStatusSecurity$inboundSchema, VerificationGetStatusSecurity$outboundSchema, VerificationGetStatusRequest$inboundSchema, VerificationGetStatusRequest$outboundSchema, VerificationGetStatusStatus$inboundSchema, VerificationGetStatusStatus$outboundSchema, VerificationGetStatusSDKType$inboundSchema, VerificationGetStatusSDKType$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, VerificationGetStatusPreset$inboundSchema, VerificationGetStatusPreset$outboundSchema, Link$inboundSchema, Link$outboundSchema, VerificationGetStatusState$inboundSchema, VerificationGetStatusState$outboundSchema, Gate$inboundSchema2, Gate$outboundSchema2, VerificationGetStatusAction$inboundSchema, VerificationGetStatusAction$outboundSchema, VerificationGetStatusGateType$inboundSchema, VerificationGetStatusGateType$outboundSchema, LinkState$inboundSchema, LinkState$outboundSchema, VerificationGetStatusData$inboundSchema, VerificationGetStatusData$outboundSchema, VerificationGetStatusResponse$inboundSchema, VerificationGetStatusResponse$outboundSchema;
|
|
52671
53036
|
var init_verification_get_status = __esm(() => {
|
|
@@ -52725,17 +53090,21 @@ var init_verification_get_status = __esm(() => {
|
|
|
52725
53090
|
apiKeyAuth1: stringType().optional()
|
|
52726
53091
|
});
|
|
52727
53092
|
VerificationGetStatusRequest$inboundSchema = objectType({
|
|
52728
|
-
request_id: string4()
|
|
53093
|
+
request_id: string4(),
|
|
53094
|
+
"X-BotShield-Request-Secret": optional3(string4())
|
|
52729
53095
|
}).transform((v) => {
|
|
52730
53096
|
return remap(v, {
|
|
52731
|
-
request_id: "requestId"
|
|
53097
|
+
request_id: "requestId",
|
|
53098
|
+
"X-BotShield-Request-Secret": "xBotShieldRequestSecret"
|
|
52732
53099
|
});
|
|
52733
53100
|
});
|
|
52734
53101
|
VerificationGetStatusRequest$outboundSchema = objectType({
|
|
52735
|
-
requestId: stringType()
|
|
53102
|
+
requestId: stringType(),
|
|
53103
|
+
xBotShieldRequestSecret: stringType().optional()
|
|
52736
53104
|
}).transform((v) => {
|
|
52737
53105
|
return remap(v, {
|
|
52738
|
-
requestId: "request_id"
|
|
53106
|
+
requestId: "request_id",
|
|
53107
|
+
xBotShieldRequestSecret: "X-BotShield-Request-Secret"
|
|
52739
53108
|
});
|
|
52740
53109
|
});
|
|
52741
53110
|
VerificationGetStatusStatus$inboundSchema = inboundSchema(VerificationGetStatusStatus);
|
|
@@ -52991,6 +53360,8 @@ var init_operations = __esm(() => {
|
|
|
52991
53360
|
init_gates_api_extend();
|
|
52992
53361
|
init_gates_api_get();
|
|
52993
53362
|
init_gates_api_list();
|
|
53363
|
+
init_recovery_exchange();
|
|
53364
|
+
init_recovery_other_route();
|
|
52994
53365
|
init_request_passkey_complete();
|
|
52995
53366
|
init_request_passkey_options();
|
|
52996
53367
|
init_sdk_confirm_link();
|
|
@@ -53007,6 +53378,8 @@ var init_operations = __esm(() => {
|
|
|
53007
53378
|
init_secured_accounts_list();
|
|
53008
53379
|
init_secured_accounts_revoke();
|
|
53009
53380
|
init_secured_accounts_status();
|
|
53381
|
+
init_signin_confirm();
|
|
53382
|
+
init_signin_request();
|
|
53010
53383
|
init_verification_get_status();
|
|
53011
53384
|
});
|
|
53012
53385
|
|
|
@@ -53353,7 +53726,7 @@ var init_actions_propose_action2 = __esm(() => {
|
|
|
53353
53726
|
function createMCPServer(deps) {
|
|
53354
53727
|
const server = new McpServer({
|
|
53355
53728
|
name: "BotShield",
|
|
53356
|
-
version: "4.0.
|
|
53729
|
+
version: "4.0.3"
|
|
53357
53730
|
});
|
|
53358
53731
|
const client = new BotShieldCore({
|
|
53359
53732
|
security: deps.security,
|
|
@@ -55670,7 +56043,7 @@ var routes = buildRouteMap({
|
|
|
55670
56043
|
var app = buildApplication(routes, {
|
|
55671
56044
|
name: "mcp",
|
|
55672
56045
|
versionInfo: {
|
|
55673
|
-
currentVersion: "4.0.
|
|
56046
|
+
currentVersion: "4.0.3"
|
|
55674
56047
|
}
|
|
55675
56048
|
});
|
|
55676
56049
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -55678,5 +56051,5 @@ export {
|
|
|
55678
56051
|
app
|
|
55679
56052
|
};
|
|
55680
56053
|
|
|
55681
|
-
//# debugId=
|
|
56054
|
+
//# debugId=F97B5E35291A00B164756E2164756E21
|
|
55682
56055
|
//# sourceMappingURL=mcp-server.js.map
|