botshield-sdk 4.0.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/bin/mcp-server.js +385 -14
- package/bin/mcp-server.js.map +22 -18
- 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 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/bot-shield-action.d.ts +36 -0
- 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/gates-api-actions-create.d.ts +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-list.d.ts +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-request.d.ts +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-set-state.d.ts +1 -1
- package/dist/commonjs/models/operations/gates-api-actions-update.d.ts +1 -1
- 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 +15 -0
- 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/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 +5 -0
- package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.js +4 -0
- package/dist/commonjs/models/operations/verification-get-status.js.map +1 -1
- package/dist/commonjs/sdk/census.d.ts +1 -1
- package/dist/commonjs/sdk/census.js +1 -1
- 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-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 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/bot-shield-action.d.ts +36 -0
- 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/gates-api-actions-create.d.ts +1 -1
- package/dist/esm/models/operations/gates-api-actions-list.d.ts +1 -1
- package/dist/esm/models/operations/gates-api-actions-request.d.ts +1 -1
- package/dist/esm/models/operations/gates-api-actions-set-state.d.ts +1 -1
- package/dist/esm/models/operations/gates-api-actions-update.d.ts +1 -1
- 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 +15 -0
- 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/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 +5 -0
- package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/esm/models/operations/verification-get-status.js +4 -0
- package/dist/esm/models/operations/verification-get-status.js.map +1 -1
- package/dist/esm/sdk/census.d.ts +1 -1
- package/dist/esm/sdk/census.js +1 -1
- 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-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 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/bot-shield-action.ts +61 -0
- package/src/models/error-body.ts +1 -1
- package/src/models/operations/gates-api-actions-create.ts +1 -1
- package/src/models/operations/gates-api-actions-list.ts +1 -1
- package/src/models/operations/gates-api-actions-request.ts +1 -1
- package/src/models/operations/gates-api-actions-set-state.ts +1 -1
- package/src/models/operations/gates-api-actions-update.ts +1 -1
- 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 +25 -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 +9 -0
- package/src/sdk/census.ts +1 -1
- 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/README.md
CHANGED
|
@@ -330,12 +330,22 @@ run();
|
|
|
330
330
|
* [getOptions](docs/sdks/inlinepasskey/README.md#getoptions) - Start the inline passkey for one request
|
|
331
331
|
* [complete](docs/sdks/inlinepasskey/README.md#complete) - Finish the inline passkey for one request
|
|
332
332
|
|
|
333
|
+
### [Recovery](docs/sdks/recovery/README.md)
|
|
334
|
+
|
|
335
|
+
* [exchange](docs/sdks/recovery/README.md#exchange) - Redeem a recovery code
|
|
336
|
+
* [otherRoute](docs/sdks/recovery/README.md#otherroute) - Report another sign-in reset
|
|
337
|
+
|
|
333
338
|
### [SecuredAccounts](docs/sdks/securedaccounts/README.md)
|
|
334
339
|
|
|
335
340
|
* [list](docs/sdks/securedaccounts/README.md#list) - List Secured Accounts
|
|
336
341
|
* [revoke](docs/sdks/securedaccounts/README.md#revoke) - Revoke a Secured Account
|
|
337
342
|
* [getStatus](docs/sdks/securedaccounts/README.md#getstatus) - Get Secured Account status
|
|
338
343
|
|
|
344
|
+
### [SignIn](docs/sdks/signin/README.md)
|
|
345
|
+
|
|
346
|
+
* [request](docs/sdks/signin/README.md#request) - Ask for a passkey sign-in
|
|
347
|
+
* [confirm](docs/sdks/signin/README.md#confirm) - Redeem a passkey sign-in
|
|
348
|
+
|
|
339
349
|
### [Verification](docs/sdks/verification/README.md)
|
|
340
350
|
|
|
341
351
|
* [getStatus](docs/sdks/verification/README.md#getstatus) - Check verification status
|
|
@@ -388,9 +398,13 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
388
398
|
- [`gatesList`](docs/sdks/gates/README.md#list) - List gates
|
|
389
399
|
- [`inlinePasskeyComplete`](docs/sdks/inlinepasskey/README.md#complete) - Finish the inline passkey for one request
|
|
390
400
|
- [`inlinePasskeyGetOptions`](docs/sdks/inlinepasskey/README.md#getoptions) - Start the inline passkey for one request
|
|
401
|
+
- [`recoveryExchange`](docs/sdks/recovery/README.md#exchange) - Redeem a recovery code
|
|
402
|
+
- [`recoveryOtherRoute`](docs/sdks/recovery/README.md#otherroute) - Report another sign-in reset
|
|
391
403
|
- [`securedAccountsGetStatus`](docs/sdks/securedaccounts/README.md#getstatus) - Get Secured Account status
|
|
392
404
|
- [`securedAccountsList`](docs/sdks/securedaccounts/README.md#list) - List Secured Accounts
|
|
393
405
|
- [`securedAccountsRevoke`](docs/sdks/securedaccounts/README.md#revoke) - Revoke a Secured Account
|
|
406
|
+
- [`signInConfirm`](docs/sdks/signin/README.md#confirm) - Redeem a passkey sign-in
|
|
407
|
+
- [`signInRequest`](docs/sdks/signin/README.md#request) - Ask for a passkey sign-in
|
|
394
408
|
- [`verificationGetStatus`](docs/sdks/verification/README.md#getstatus) - Check verification status
|
|
395
409
|
|
|
396
410
|
</details>
|
package/bin/mcp-server.js
CHANGED
|
@@ -3920,9 +3920,9 @@ var init_config = __esm(() => {
|
|
|
3920
3920
|
SDK_METADATA = {
|
|
3921
3921
|
language: "typescript",
|
|
3922
3922
|
openapiDocVersion: "2.0.0",
|
|
3923
|
-
sdkVersion: "4.0.
|
|
3923
|
+
sdkVersion: "4.0.1",
|
|
3924
3924
|
genVersion: "2.934.1",
|
|
3925
|
-
userAgent: "speakeasy-sdk/typescript 4.0.
|
|
3925
|
+
userAgent: "speakeasy-sdk/typescript 4.0.1 2.934.1 2.0.0 botshield-sdk"
|
|
3926
3926
|
};
|
|
3927
3927
|
});
|
|
3928
3928
|
|
|
@@ -48925,7 +48925,7 @@ var init_primitives2 = __esm(() => {
|
|
|
48925
48925
|
});
|
|
48926
48926
|
|
|
48927
48927
|
// src/models/bot-shield-action.ts
|
|
48928
|
-
var BotShieldActionState, BotShieldActionEnvironment, BotShieldActionState$inboundSchema, BotShieldActionState$outboundSchema, BotShieldActionEnvironment$inboundSchema, BotShieldActionEnvironment$outboundSchema, BotShieldAction$inboundSchema, BotShieldAction$outboundSchema;
|
|
48928
|
+
var BotShieldActionState, BotShieldActionEnvironment, BotShieldActionKind, BotShieldActionState$inboundSchema, BotShieldActionState$outboundSchema, BotShieldActionEnvironment$inboundSchema, BotShieldActionEnvironment$outboundSchema, BotShieldActionKind$inboundSchema, BotShieldActionKind$outboundSchema, BotShieldAction$inboundSchema, BotShieldAction$outboundSchema;
|
|
48929
48929
|
var init_bot_shield_action = __esm(() => {
|
|
48930
48930
|
init_v3();
|
|
48931
48931
|
init_primitives();
|
|
@@ -48939,10 +48939,17 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48939
48939
|
Development: "development",
|
|
48940
48940
|
Production: "production"
|
|
48941
48941
|
};
|
|
48942
|
+
BotShieldActionKind = {
|
|
48943
|
+
Action: "action",
|
|
48944
|
+
Recovery: "recovery",
|
|
48945
|
+
Signin: "signin"
|
|
48946
|
+
};
|
|
48942
48947
|
BotShieldActionState$inboundSchema = inboundSchema(BotShieldActionState);
|
|
48943
48948
|
BotShieldActionState$outboundSchema = outboundSchema(BotShieldActionState);
|
|
48944
48949
|
BotShieldActionEnvironment$inboundSchema = inboundSchema(BotShieldActionEnvironment);
|
|
48945
48950
|
BotShieldActionEnvironment$outboundSchema = outboundSchema(BotShieldActionEnvironment);
|
|
48951
|
+
BotShieldActionKind$inboundSchema = inboundSchema(BotShieldActionKind);
|
|
48952
|
+
BotShieldActionKind$outboundSchema = outboundSchema(BotShieldActionKind);
|
|
48946
48953
|
BotShieldAction$inboundSchema = objectType({
|
|
48947
48954
|
id: string4(),
|
|
48948
48955
|
name: string4(),
|
|
@@ -48953,6 +48960,10 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48953
48960
|
placed_at: date4(),
|
|
48954
48961
|
turned_off_at: nullable3(date4()),
|
|
48955
48962
|
staff_can_send: optional3(boolean4()),
|
|
48963
|
+
kind: optional3(BotShieldActionKind$inboundSchema),
|
|
48964
|
+
signin_qr: optional3(boolean4()),
|
|
48965
|
+
pending_where_url: nullableType(string4()).optional(),
|
|
48966
|
+
pending_where_url_at: nullableType(date4()).optional(),
|
|
48956
48967
|
high_value: optional3(boolean4())
|
|
48957
48968
|
}).transform((v) => {
|
|
48958
48969
|
return remap(v, {
|
|
@@ -48961,6 +48972,9 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48961
48972
|
placed_at: "placedAt",
|
|
48962
48973
|
turned_off_at: "turnedOffAt",
|
|
48963
48974
|
staff_can_send: "staffCanSend",
|
|
48975
|
+
signin_qr: "signinQr",
|
|
48976
|
+
pending_where_url: "pendingWhereUrl",
|
|
48977
|
+
pending_where_url_at: "pendingWhereUrlAt",
|
|
48964
48978
|
high_value: "highValue"
|
|
48965
48979
|
});
|
|
48966
48980
|
});
|
|
@@ -48974,6 +48988,10 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48974
48988
|
placedAt: dateType().transform((v) => v.toISOString()),
|
|
48975
48989
|
turnedOffAt: nullableType(dateType().transform((v) => v.toISOString())),
|
|
48976
48990
|
staffCanSend: booleanType().optional(),
|
|
48991
|
+
kind: BotShieldActionKind$outboundSchema.optional(),
|
|
48992
|
+
signinQr: booleanType().optional(),
|
|
48993
|
+
pendingWhereUrl: nullableType(stringType()).optional(),
|
|
48994
|
+
pendingWhereUrlAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
48977
48995
|
highValue: booleanType().optional()
|
|
48978
48996
|
}).transform((v) => {
|
|
48979
48997
|
return remap(v, {
|
|
@@ -48982,6 +49000,9 @@ var init_bot_shield_action = __esm(() => {
|
|
|
48982
49000
|
placedAt: "placed_at",
|
|
48983
49001
|
turnedOffAt: "turned_off_at",
|
|
48984
49002
|
staffCanSend: "staff_can_send",
|
|
49003
|
+
signinQr: "signin_qr",
|
|
49004
|
+
pendingWhereUrl: "pending_where_url",
|
|
49005
|
+
pendingWhereUrlAt: "pending_where_url_at",
|
|
48985
49006
|
highValue: "high_value"
|
|
48986
49007
|
});
|
|
48987
49008
|
});
|
|
@@ -50960,6 +50981,141 @@ var init_gates_api_list = __esm(() => {
|
|
|
50960
50981
|
});
|
|
50961
50982
|
});
|
|
50962
50983
|
|
|
50984
|
+
// src/models/operations/recovery-exchange.ts
|
|
50985
|
+
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;
|
|
50986
|
+
var init_recovery_exchange = __esm(() => {
|
|
50987
|
+
init_v3();
|
|
50988
|
+
init_primitives();
|
|
50989
|
+
init_primitives2();
|
|
50990
|
+
init_models();
|
|
50991
|
+
RecoveryExchangeAct = {
|
|
50992
|
+
Recovery: "recovery"
|
|
50993
|
+
};
|
|
50994
|
+
RecoveryExchangeSecurity$inboundSchema = objectType({
|
|
50995
|
+
ApiKeyAuth: string4()
|
|
50996
|
+
}).transform((v) => {
|
|
50997
|
+
return remap(v, {
|
|
50998
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
50999
|
+
});
|
|
51000
|
+
});
|
|
51001
|
+
RecoveryExchangeSecurity$outboundSchema = objectType({
|
|
51002
|
+
apiKeyAuth: stringType()
|
|
51003
|
+
}).transform((v) => {
|
|
51004
|
+
return remap(v, {
|
|
51005
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51006
|
+
});
|
|
51007
|
+
});
|
|
51008
|
+
RecoveryExchangeRequest$inboundSchema = objectType({
|
|
51009
|
+
code: string4(),
|
|
51010
|
+
secret: string4()
|
|
51011
|
+
});
|
|
51012
|
+
RecoveryExchangeRequest$outboundSchema = objectType({
|
|
51013
|
+
code: stringType(),
|
|
51014
|
+
secret: stringType()
|
|
51015
|
+
});
|
|
51016
|
+
RecoveryExchangeAct$inboundSchema = nativeEnumType(RecoveryExchangeAct);
|
|
51017
|
+
RecoveryExchangeAct$outboundSchema = RecoveryExchangeAct$inboundSchema;
|
|
51018
|
+
RecoveryExchangeDataData$inboundSchema = objectType({
|
|
51019
|
+
recovery: boolean4(),
|
|
51020
|
+
act: RecoveryExchangeAct$inboundSchema,
|
|
51021
|
+
action: string4(),
|
|
51022
|
+
handle: string4(),
|
|
51023
|
+
recovery_id: string4(),
|
|
51024
|
+
recovered_at: date4()
|
|
51025
|
+
}).transform((v) => {
|
|
51026
|
+
return remap(v, {
|
|
51027
|
+
recovery_id: "recoveryId",
|
|
51028
|
+
recovered_at: "recoveredAt"
|
|
51029
|
+
});
|
|
51030
|
+
});
|
|
51031
|
+
RecoveryExchangeDataData$outboundSchema = objectType({
|
|
51032
|
+
recovery: booleanType(),
|
|
51033
|
+
act: RecoveryExchangeAct$outboundSchema,
|
|
51034
|
+
action: stringType(),
|
|
51035
|
+
handle: stringType(),
|
|
51036
|
+
recoveryId: stringType(),
|
|
51037
|
+
recoveredAt: dateType().transform((v) => v.toISOString())
|
|
51038
|
+
}).transform((v) => {
|
|
51039
|
+
return remap(v, {
|
|
51040
|
+
recoveryId: "recovery_id",
|
|
51041
|
+
recoveredAt: "recovered_at"
|
|
51042
|
+
});
|
|
51043
|
+
});
|
|
51044
|
+
RecoveryExchangeData$inboundSchema = objectType({
|
|
51045
|
+
data: optional3(lazyType(() => RecoveryExchangeDataData$inboundSchema)),
|
|
51046
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
51047
|
+
});
|
|
51048
|
+
RecoveryExchangeData$outboundSchema = objectType({
|
|
51049
|
+
data: lazyType(() => RecoveryExchangeDataData$outboundSchema).optional(),
|
|
51050
|
+
error: ErrorBody$outboundSchema.optional()
|
|
51051
|
+
});
|
|
51052
|
+
RecoveryExchangeResponse$inboundSchema = objectType({
|
|
51053
|
+
data: lazyType(() => RecoveryExchangeData$inboundSchema)
|
|
51054
|
+
});
|
|
51055
|
+
RecoveryExchangeResponse$outboundSchema = objectType({
|
|
51056
|
+
data: lazyType(() => RecoveryExchangeData$outboundSchema)
|
|
51057
|
+
});
|
|
51058
|
+
});
|
|
51059
|
+
|
|
51060
|
+
// src/models/operations/recovery-other-route.ts
|
|
51061
|
+
var RecoveryOtherRouteSecurity$inboundSchema, RecoveryOtherRouteSecurity$outboundSchema, RecoveryOtherRouteRequest$inboundSchema, RecoveryOtherRouteRequest$outboundSchema, RecoveryOtherRouteDataData$inboundSchema, RecoveryOtherRouteDataData$outboundSchema, RecoveryOtherRouteData$inboundSchema, RecoveryOtherRouteData$outboundSchema, RecoveryOtherRouteResponse$inboundSchema, RecoveryOtherRouteResponse$outboundSchema;
|
|
51062
|
+
var init_recovery_other_route = __esm(() => {
|
|
51063
|
+
init_v3();
|
|
51064
|
+
init_primitives();
|
|
51065
|
+
init_primitives2();
|
|
51066
|
+
init_models();
|
|
51067
|
+
RecoveryOtherRouteSecurity$inboundSchema = objectType({
|
|
51068
|
+
ApiKeyAuth: string4()
|
|
51069
|
+
}).transform((v) => {
|
|
51070
|
+
return remap(v, {
|
|
51071
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
51072
|
+
});
|
|
51073
|
+
});
|
|
51074
|
+
RecoveryOtherRouteSecurity$outboundSchema = objectType({
|
|
51075
|
+
apiKeyAuth: stringType()
|
|
51076
|
+
}).transform((v) => {
|
|
51077
|
+
return remap(v, {
|
|
51078
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
51079
|
+
});
|
|
51080
|
+
});
|
|
51081
|
+
RecoveryOtherRouteRequest$inboundSchema = objectType({
|
|
51082
|
+
handle: string4()
|
|
51083
|
+
});
|
|
51084
|
+
RecoveryOtherRouteRequest$outboundSchema = objectType({
|
|
51085
|
+
handle: stringType()
|
|
51086
|
+
});
|
|
51087
|
+
RecoveryOtherRouteDataData$inboundSchema = objectType({
|
|
51088
|
+
received: boolean4(),
|
|
51089
|
+
works_from: date4()
|
|
51090
|
+
}).transform((v) => {
|
|
51091
|
+
return remap(v, {
|
|
51092
|
+
works_from: "worksFrom"
|
|
51093
|
+
});
|
|
51094
|
+
});
|
|
51095
|
+
RecoveryOtherRouteDataData$outboundSchema = objectType({
|
|
51096
|
+
received: booleanType(),
|
|
51097
|
+
worksFrom: dateType().transform((v) => v.toISOString())
|
|
51098
|
+
}).transform((v) => {
|
|
51099
|
+
return remap(v, {
|
|
51100
|
+
worksFrom: "works_from"
|
|
51101
|
+
});
|
|
51102
|
+
});
|
|
51103
|
+
RecoveryOtherRouteData$inboundSchema = objectType({
|
|
51104
|
+
data: optional3(lazyType(() => RecoveryOtherRouteDataData$inboundSchema)),
|
|
51105
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
51106
|
+
});
|
|
51107
|
+
RecoveryOtherRouteData$outboundSchema = objectType({
|
|
51108
|
+
data: lazyType(() => RecoveryOtherRouteDataData$outboundSchema).optional(),
|
|
51109
|
+
error: ErrorBody$outboundSchema.optional()
|
|
51110
|
+
});
|
|
51111
|
+
RecoveryOtherRouteResponse$inboundSchema = objectType({
|
|
51112
|
+
data: lazyType(() => RecoveryOtherRouteData$inboundSchema)
|
|
51113
|
+
});
|
|
51114
|
+
RecoveryOtherRouteResponse$outboundSchema = objectType({
|
|
51115
|
+
data: lazyType(() => RecoveryOtherRouteData$outboundSchema)
|
|
51116
|
+
});
|
|
51117
|
+
});
|
|
51118
|
+
|
|
50963
51119
|
// src/models/operations/request-passkey-complete.ts
|
|
50964
51120
|
var RequestPasskeyCompleteOutcome, RequestPasskeyCompleteRequest$inboundSchema, RequestPasskeyCompleteRequest$outboundSchema, RequestPasskeyCompleteOutcome$inboundSchema, RequestPasskeyCompleteOutcome$outboundSchema, RequestPasskeyCompleteDataData$inboundSchema, RequestPasskeyCompleteDataData$outboundSchema, RequestPasskeyCompleteData$inboundSchema, RequestPasskeyCompleteData$outboundSchema, RequestPasskeyCompleteResponse$inboundSchema, RequestPasskeyCompleteResponse$outboundSchema;
|
|
50965
51121
|
var init_request_passkey_complete = __esm(() => {
|
|
@@ -51487,6 +51643,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51487
51643
|
SDKCreateVerificationLinkNotarizeFallbackReason$outboundSchema = outboundSchema(SDKCreateVerificationLinkNotarizeFallbackReason);
|
|
51488
51644
|
SDKCreateVerificationLinkDataData$inboundSchema = objectType({
|
|
51489
51645
|
request_id: string4(),
|
|
51646
|
+
read_secret: optional3(string4()),
|
|
51490
51647
|
deep_link: string4(),
|
|
51491
51648
|
web_url: string4(),
|
|
51492
51649
|
qr_code_url: string4(),
|
|
@@ -51507,6 +51664,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51507
51664
|
}).transform((v) => {
|
|
51508
51665
|
return remap(v, {
|
|
51509
51666
|
request_id: "requestId",
|
|
51667
|
+
read_secret: "readSecret",
|
|
51510
51668
|
deep_link: "deepLink",
|
|
51511
51669
|
web_url: "webUrl",
|
|
51512
51670
|
qr_code_url: "qrCodeUrl",
|
|
@@ -51522,6 +51680,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51522
51680
|
});
|
|
51523
51681
|
SDKCreateVerificationLinkDataData$outboundSchema = objectType({
|
|
51524
51682
|
requestId: stringType(),
|
|
51683
|
+
readSecret: stringType().optional(),
|
|
51525
51684
|
deepLink: stringType(),
|
|
51526
51685
|
webUrl: stringType(),
|
|
51527
51686
|
qrCodeUrl: stringType(),
|
|
@@ -51542,6 +51701,7 @@ var init_sdk_create_verification_link = __esm(() => {
|
|
|
51542
51701
|
}).transform((v) => {
|
|
51543
51702
|
return remap(v, {
|
|
51544
51703
|
requestId: "request_id",
|
|
51704
|
+
readSecret: "read_secret",
|
|
51545
51705
|
deepLink: "deep_link",
|
|
51546
51706
|
webUrl: "web_url",
|
|
51547
51707
|
qrCodeUrl: "qr_code_url",
|
|
@@ -52213,19 +52373,23 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52213
52373
|
SDKVerifyTokenRequest$inboundSchema = objectType({
|
|
52214
52374
|
token: string4(),
|
|
52215
52375
|
audience: optional3(string4()),
|
|
52216
|
-
partner_user_ref: optional3(string4())
|
|
52376
|
+
partner_user_ref: optional3(string4()),
|
|
52377
|
+
expected_request_id: optional3(string4())
|
|
52217
52378
|
}).transform((v) => {
|
|
52218
52379
|
return remap(v, {
|
|
52219
|
-
partner_user_ref: "partnerUserRef"
|
|
52380
|
+
partner_user_ref: "partnerUserRef",
|
|
52381
|
+
expected_request_id: "expectedRequestId"
|
|
52220
52382
|
});
|
|
52221
52383
|
});
|
|
52222
52384
|
SDKVerifyTokenRequest$outboundSchema = objectType({
|
|
52223
52385
|
token: stringType(),
|
|
52224
52386
|
audience: stringType().optional(),
|
|
52225
|
-
partnerUserRef: stringType().optional()
|
|
52387
|
+
partnerUserRef: stringType().optional(),
|
|
52388
|
+
expectedRequestId: stringType().optional()
|
|
52226
52389
|
}).transform((v) => {
|
|
52227
52390
|
return remap(v, {
|
|
52228
|
-
partnerUserRef: "partner_user_ref"
|
|
52391
|
+
partnerUserRef: "partner_user_ref",
|
|
52392
|
+
expectedRequestId: "expected_request_id"
|
|
52229
52393
|
});
|
|
52230
52394
|
});
|
|
52231
52395
|
AgeOver$inboundSchema = inboundSchemaInt(AgeOver);
|
|
@@ -52250,6 +52414,7 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52250
52414
|
act: optional3(string4()),
|
|
52251
52415
|
kind: nullableType(Kind$inboundSchema).optional(),
|
|
52252
52416
|
environment: nullableType(SDKVerifyTokenEnvironment$inboundSchema).optional(),
|
|
52417
|
+
recovered_at: optional3(date4()),
|
|
52253
52418
|
link_state: optional3(string4())
|
|
52254
52419
|
}).transform((v) => {
|
|
52255
52420
|
return remap(v, {
|
|
@@ -52260,6 +52425,7 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52260
52425
|
age_over: "ageOver",
|
|
52261
52426
|
trusted_since: "trustedSince",
|
|
52262
52427
|
last_pass_at: "lastPassAt",
|
|
52428
|
+
recovered_at: "recoveredAt",
|
|
52263
52429
|
link_state: "linkState"
|
|
52264
52430
|
});
|
|
52265
52431
|
});
|
|
@@ -52279,6 +52445,7 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52279
52445
|
act: stringType().optional(),
|
|
52280
52446
|
kind: nullableType(Kind$outboundSchema).optional(),
|
|
52281
52447
|
environment: nullableType(SDKVerifyTokenEnvironment$outboundSchema).optional(),
|
|
52448
|
+
recoveredAt: dateType().transform((v) => v.toISOString()).optional(),
|
|
52282
52449
|
linkState: stringType().optional()
|
|
52283
52450
|
}).transform((v) => {
|
|
52284
52451
|
return remap(v, {
|
|
@@ -52289,6 +52456,7 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52289
52456
|
ageOver: "age_over",
|
|
52290
52457
|
trustedSince: "trusted_since",
|
|
52291
52458
|
lastPassAt: "last_pass_at",
|
|
52459
|
+
recoveredAt: "recovered_at",
|
|
52292
52460
|
linkState: "link_state"
|
|
52293
52461
|
});
|
|
52294
52462
|
});
|
|
@@ -52323,6 +52491,7 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52323
52491
|
SDKVerifyTokenDataData$inboundSchema = objectType({
|
|
52324
52492
|
valid: boolean4(),
|
|
52325
52493
|
reason: optional3(string4()),
|
|
52494
|
+
code: optional3(string4()),
|
|
52326
52495
|
expired_at: nullableType(date4()).optional(),
|
|
52327
52496
|
claims: nullableType(lazyType(() => Claims$inboundSchema)).optional(),
|
|
52328
52497
|
replayed: optional3(boolean4()),
|
|
@@ -52336,6 +52505,7 @@ var init_sdk_verify_token = __esm(() => {
|
|
|
52336
52505
|
SDKVerifyTokenDataData$outboundSchema = objectType({
|
|
52337
52506
|
valid: booleanType(),
|
|
52338
52507
|
reason: stringType().optional(),
|
|
52508
|
+
code: stringType().optional(),
|
|
52339
52509
|
expiredAt: nullableType(dateType().transform((v) => v.toISOString())).optional(),
|
|
52340
52510
|
claims: nullableType(lazyType(() => Claims$outboundSchema)).optional(),
|
|
52341
52511
|
replayed: booleanType().optional(),
|
|
@@ -52666,6 +52836,199 @@ var init_secured_accounts_status = __esm(() => {
|
|
|
52666
52836
|
});
|
|
52667
52837
|
});
|
|
52668
52838
|
|
|
52839
|
+
// src/models/operations/signin-confirm.ts
|
|
52840
|
+
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;
|
|
52841
|
+
var init_signin_confirm = __esm(() => {
|
|
52842
|
+
init_v3();
|
|
52843
|
+
init_primitives();
|
|
52844
|
+
init_enums();
|
|
52845
|
+
init_primitives2();
|
|
52846
|
+
init_models();
|
|
52847
|
+
SigninConfirmEnvironment = {
|
|
52848
|
+
Development: "development",
|
|
52849
|
+
Production: "production"
|
|
52850
|
+
};
|
|
52851
|
+
SigninConfirmFinishedBy = {
|
|
52852
|
+
Inline: "inline",
|
|
52853
|
+
Qr: "qr"
|
|
52854
|
+
};
|
|
52855
|
+
SigninConfirmTier = {
|
|
52856
|
+
One: 1
|
|
52857
|
+
};
|
|
52858
|
+
SigninConfirmSecurity$inboundSchema = objectType({
|
|
52859
|
+
ApiKeyAuth: string4()
|
|
52860
|
+
}).transform((v) => {
|
|
52861
|
+
return remap(v, {
|
|
52862
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
52863
|
+
});
|
|
52864
|
+
});
|
|
52865
|
+
SigninConfirmSecurity$outboundSchema = objectType({
|
|
52866
|
+
apiKeyAuth: stringType()
|
|
52867
|
+
}).transform((v) => {
|
|
52868
|
+
return remap(v, {
|
|
52869
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
52870
|
+
});
|
|
52871
|
+
});
|
|
52872
|
+
SigninConfirmRequest$inboundSchema = objectType({
|
|
52873
|
+
request_id: string4(),
|
|
52874
|
+
partner_user_ref: optional3(string4())
|
|
52875
|
+
}).transform((v) => {
|
|
52876
|
+
return remap(v, {
|
|
52877
|
+
request_id: "requestId",
|
|
52878
|
+
partner_user_ref: "partnerUserRef"
|
|
52879
|
+
});
|
|
52880
|
+
});
|
|
52881
|
+
SigninConfirmRequest$outboundSchema = objectType({
|
|
52882
|
+
requestId: stringType(),
|
|
52883
|
+
partnerUserRef: stringType().optional()
|
|
52884
|
+
}).transform((v) => {
|
|
52885
|
+
return remap(v, {
|
|
52886
|
+
requestId: "request_id",
|
|
52887
|
+
partnerUserRef: "partner_user_ref"
|
|
52888
|
+
});
|
|
52889
|
+
});
|
|
52890
|
+
SigninConfirmEnvironment$inboundSchema = inboundSchema(SigninConfirmEnvironment);
|
|
52891
|
+
SigninConfirmEnvironment$outboundSchema = outboundSchema(SigninConfirmEnvironment);
|
|
52892
|
+
SigninConfirmFinishedBy$inboundSchema = inboundSchema(SigninConfirmFinishedBy);
|
|
52893
|
+
SigninConfirmFinishedBy$outboundSchema = outboundSchema(SigninConfirmFinishedBy);
|
|
52894
|
+
SigninConfirmTier$inboundSchema = nativeEnumType(SigninConfirmTier);
|
|
52895
|
+
SigninConfirmTier$outboundSchema = SigninConfirmTier$inboundSchema;
|
|
52896
|
+
SigninConfirmDataData$inboundSchema = objectType({
|
|
52897
|
+
signed_in: boolean4(),
|
|
52898
|
+
request_id: string4(),
|
|
52899
|
+
act: nullable3(string4()),
|
|
52900
|
+
handle: string4(),
|
|
52901
|
+
verified_at: date4(),
|
|
52902
|
+
environment: SigninConfirmEnvironment$inboundSchema,
|
|
52903
|
+
finished_by: SigninConfirmFinishedBy$inboundSchema,
|
|
52904
|
+
tier: SigninConfirmTier$inboundSchema
|
|
52905
|
+
}).transform((v) => {
|
|
52906
|
+
return remap(v, {
|
|
52907
|
+
signed_in: "signedIn",
|
|
52908
|
+
request_id: "requestId",
|
|
52909
|
+
verified_at: "verifiedAt",
|
|
52910
|
+
finished_by: "finishedBy"
|
|
52911
|
+
});
|
|
52912
|
+
});
|
|
52913
|
+
SigninConfirmDataData$outboundSchema = objectType({
|
|
52914
|
+
signedIn: booleanType(),
|
|
52915
|
+
requestId: stringType(),
|
|
52916
|
+
act: nullableType(stringType()),
|
|
52917
|
+
handle: stringType(),
|
|
52918
|
+
verifiedAt: dateType().transform((v) => v.toISOString()),
|
|
52919
|
+
environment: SigninConfirmEnvironment$outboundSchema,
|
|
52920
|
+
finishedBy: SigninConfirmFinishedBy$outboundSchema,
|
|
52921
|
+
tier: SigninConfirmTier$outboundSchema
|
|
52922
|
+
}).transform((v) => {
|
|
52923
|
+
return remap(v, {
|
|
52924
|
+
signedIn: "signed_in",
|
|
52925
|
+
requestId: "request_id",
|
|
52926
|
+
verifiedAt: "verified_at",
|
|
52927
|
+
finishedBy: "finished_by"
|
|
52928
|
+
});
|
|
52929
|
+
});
|
|
52930
|
+
SigninConfirmData$inboundSchema = objectType({
|
|
52931
|
+
data: optional3(lazyType(() => SigninConfirmDataData$inboundSchema)),
|
|
52932
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
52933
|
+
});
|
|
52934
|
+
SigninConfirmData$outboundSchema = objectType({
|
|
52935
|
+
data: lazyType(() => SigninConfirmDataData$outboundSchema).optional(),
|
|
52936
|
+
error: ErrorBody$outboundSchema.optional()
|
|
52937
|
+
});
|
|
52938
|
+
SigninConfirmResponse$inboundSchema = objectType({
|
|
52939
|
+
data: lazyType(() => SigninConfirmData$inboundSchema)
|
|
52940
|
+
});
|
|
52941
|
+
SigninConfirmResponse$outboundSchema = objectType({
|
|
52942
|
+
data: lazyType(() => SigninConfirmData$outboundSchema)
|
|
52943
|
+
});
|
|
52944
|
+
});
|
|
52945
|
+
|
|
52946
|
+
// src/models/operations/signin-request.ts
|
|
52947
|
+
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;
|
|
52948
|
+
var init_signin_request = __esm(() => {
|
|
52949
|
+
init_v3();
|
|
52950
|
+
init_primitives();
|
|
52951
|
+
init_primitives2();
|
|
52952
|
+
init_models();
|
|
52953
|
+
SigninRequestTier = {
|
|
52954
|
+
One: 1
|
|
52955
|
+
};
|
|
52956
|
+
SigninRequestSecurity$inboundSchema = objectType({
|
|
52957
|
+
ApiKeyAuth: string4()
|
|
52958
|
+
}).transform((v) => {
|
|
52959
|
+
return remap(v, {
|
|
52960
|
+
ApiKeyAuth: "apiKeyAuth"
|
|
52961
|
+
});
|
|
52962
|
+
});
|
|
52963
|
+
SigninRequestSecurity$outboundSchema = objectType({
|
|
52964
|
+
apiKeyAuth: stringType()
|
|
52965
|
+
}).transform((v) => {
|
|
52966
|
+
return remap(v, {
|
|
52967
|
+
apiKeyAuth: "ApiKeyAuth"
|
|
52968
|
+
});
|
|
52969
|
+
});
|
|
52970
|
+
SigninRequestRequest$inboundSchema = objectType({
|
|
52971
|
+
partner_user_ref: string4()
|
|
52972
|
+
}).transform((v) => {
|
|
52973
|
+
return remap(v, {
|
|
52974
|
+
partner_user_ref: "partnerUserRef"
|
|
52975
|
+
});
|
|
52976
|
+
});
|
|
52977
|
+
SigninRequestRequest$outboundSchema = objectType({
|
|
52978
|
+
partnerUserRef: stringType()
|
|
52979
|
+
}).transform((v) => {
|
|
52980
|
+
return remap(v, {
|
|
52981
|
+
partnerUserRef: "partner_user_ref"
|
|
52982
|
+
});
|
|
52983
|
+
});
|
|
52984
|
+
SigninRequestTier$inboundSchema = nativeEnumType(SigninRequestTier);
|
|
52985
|
+
SigninRequestTier$outboundSchema = SigninRequestTier$inboundSchema;
|
|
52986
|
+
SigninRequestDataData$inboundSchema = objectType({
|
|
52987
|
+
request_id: string4(),
|
|
52988
|
+
expires_at: date4(),
|
|
52989
|
+
tier: SigninRequestTier$inboundSchema,
|
|
52990
|
+
page_origin: string4(),
|
|
52991
|
+
qr: boolean4(),
|
|
52992
|
+
qr_url: nullable3(string4())
|
|
52993
|
+
}).transform((v) => {
|
|
52994
|
+
return remap(v, {
|
|
52995
|
+
request_id: "requestId",
|
|
52996
|
+
expires_at: "expiresAt",
|
|
52997
|
+
page_origin: "pageOrigin",
|
|
52998
|
+
qr_url: "qrUrl"
|
|
52999
|
+
});
|
|
53000
|
+
});
|
|
53001
|
+
SigninRequestDataData$outboundSchema = objectType({
|
|
53002
|
+
requestId: stringType(),
|
|
53003
|
+
expiresAt: dateType().transform((v) => v.toISOString()),
|
|
53004
|
+
tier: SigninRequestTier$outboundSchema,
|
|
53005
|
+
pageOrigin: stringType(),
|
|
53006
|
+
qr: booleanType(),
|
|
53007
|
+
qrUrl: nullableType(stringType())
|
|
53008
|
+
}).transform((v) => {
|
|
53009
|
+
return remap(v, {
|
|
53010
|
+
requestId: "request_id",
|
|
53011
|
+
expiresAt: "expires_at",
|
|
53012
|
+
pageOrigin: "page_origin",
|
|
53013
|
+
qrUrl: "qr_url"
|
|
53014
|
+
});
|
|
53015
|
+
});
|
|
53016
|
+
SigninRequestData$inboundSchema = objectType({
|
|
53017
|
+
data: optional3(lazyType(() => SigninRequestDataData$inboundSchema)),
|
|
53018
|
+
error: optional3(ErrorBody$inboundSchema)
|
|
53019
|
+
});
|
|
53020
|
+
SigninRequestData$outboundSchema = objectType({
|
|
53021
|
+
data: lazyType(() => SigninRequestDataData$outboundSchema).optional(),
|
|
53022
|
+
error: ErrorBody$outboundSchema.optional()
|
|
53023
|
+
});
|
|
53024
|
+
SigninRequestResponse$inboundSchema = objectType({
|
|
53025
|
+
data: lazyType(() => SigninRequestData$inboundSchema)
|
|
53026
|
+
});
|
|
53027
|
+
SigninRequestResponse$outboundSchema = objectType({
|
|
53028
|
+
data: lazyType(() => SigninRequestData$outboundSchema)
|
|
53029
|
+
});
|
|
53030
|
+
});
|
|
53031
|
+
|
|
52669
53032
|
// src/models/operations/verification-get-status.ts
|
|
52670
53033
|
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
53034
|
var init_verification_get_status = __esm(() => {
|
|
@@ -52725,17 +53088,21 @@ var init_verification_get_status = __esm(() => {
|
|
|
52725
53088
|
apiKeyAuth1: stringType().optional()
|
|
52726
53089
|
});
|
|
52727
53090
|
VerificationGetStatusRequest$inboundSchema = objectType({
|
|
52728
|
-
request_id: string4()
|
|
53091
|
+
request_id: string4(),
|
|
53092
|
+
"X-BotShield-Request-Secret": optional3(string4())
|
|
52729
53093
|
}).transform((v) => {
|
|
52730
53094
|
return remap(v, {
|
|
52731
|
-
request_id: "requestId"
|
|
53095
|
+
request_id: "requestId",
|
|
53096
|
+
"X-BotShield-Request-Secret": "xBotShieldRequestSecret"
|
|
52732
53097
|
});
|
|
52733
53098
|
});
|
|
52734
53099
|
VerificationGetStatusRequest$outboundSchema = objectType({
|
|
52735
|
-
requestId: stringType()
|
|
53100
|
+
requestId: stringType(),
|
|
53101
|
+
xBotShieldRequestSecret: stringType().optional()
|
|
52736
53102
|
}).transform((v) => {
|
|
52737
53103
|
return remap(v, {
|
|
52738
|
-
requestId: "request_id"
|
|
53104
|
+
requestId: "request_id",
|
|
53105
|
+
xBotShieldRequestSecret: "X-BotShield-Request-Secret"
|
|
52739
53106
|
});
|
|
52740
53107
|
});
|
|
52741
53108
|
VerificationGetStatusStatus$inboundSchema = inboundSchema(VerificationGetStatusStatus);
|
|
@@ -52991,6 +53358,8 @@ var init_operations = __esm(() => {
|
|
|
52991
53358
|
init_gates_api_extend();
|
|
52992
53359
|
init_gates_api_get();
|
|
52993
53360
|
init_gates_api_list();
|
|
53361
|
+
init_recovery_exchange();
|
|
53362
|
+
init_recovery_other_route();
|
|
52994
53363
|
init_request_passkey_complete();
|
|
52995
53364
|
init_request_passkey_options();
|
|
52996
53365
|
init_sdk_confirm_link();
|
|
@@ -53007,6 +53376,8 @@ var init_operations = __esm(() => {
|
|
|
53007
53376
|
init_secured_accounts_list();
|
|
53008
53377
|
init_secured_accounts_revoke();
|
|
53009
53378
|
init_secured_accounts_status();
|
|
53379
|
+
init_signin_confirm();
|
|
53380
|
+
init_signin_request();
|
|
53010
53381
|
init_verification_get_status();
|
|
53011
53382
|
});
|
|
53012
53383
|
|
|
@@ -53353,7 +53724,7 @@ var init_actions_propose_action2 = __esm(() => {
|
|
|
53353
53724
|
function createMCPServer(deps) {
|
|
53354
53725
|
const server = new McpServer({
|
|
53355
53726
|
name: "BotShield",
|
|
53356
|
-
version: "4.0.
|
|
53727
|
+
version: "4.0.1"
|
|
53357
53728
|
});
|
|
53358
53729
|
const client = new BotShieldCore({
|
|
53359
53730
|
security: deps.security,
|
|
@@ -55670,7 +56041,7 @@ var routes = buildRouteMap({
|
|
|
55670
56041
|
var app = buildApplication(routes, {
|
|
55671
56042
|
name: "mcp",
|
|
55672
56043
|
versionInfo: {
|
|
55673
|
-
currentVersion: "4.0.
|
|
56044
|
+
currentVersion: "4.0.1"
|
|
55674
56045
|
}
|
|
55675
56046
|
});
|
|
55676
56047
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -55678,5 +56049,5 @@ export {
|
|
|
55678
56049
|
app
|
|
55679
56050
|
};
|
|
55680
56051
|
|
|
55681
|
-
//# debugId=
|
|
56052
|
+
//# debugId=25B673C6355A5A0764756E2164756E21
|
|
55682
56053
|
//# sourceMappingURL=mcp-server.js.map
|