@logto/schemas 1.29.0 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alterations/1.30.0-1750744685-add-triggers-to-delete-secrets-on-social-identities-deletion.ts +81 -0
- package/alterations/1.30.0-1750748516-add-enable-token-storage-column-to-connectors-table.ts +20 -0
- package/alterations/1.30.0-1751255436-split-secret-connector-relatioins-table.ts +359 -0
- package/alterations/1.30.0-1751337183-add-require-mfa-on-sign-in-to-users.ts +20 -0
- package/alterations/1.30.0-1751400000-move-require-mfa-on-sign-in-to-logto-config.ts +21 -0
- package/alterations/1.30.0-1751529530-add-enable-token-storage-column-to-sso-connectors-table.ts +20 -0
- package/alterations/1.30.0-1752630302-alterate-enable-column-default-value-in-account-centers-table.ts +20 -0
- package/alterations/1.30.0-1753669579-add-organization-user-relations-foreign-key.ts +46 -0
- package/alterations-js/1.30.0-1750744685-add-triggers-to-delete-secrets-on-social-identities-deletion.js +76 -0
- package/alterations-js/1.30.0-1750748516-add-enable-token-storage-column-to-connectors-table.js +16 -0
- package/alterations-js/1.30.0-1751255436-split-secret-connector-relatioins-table.js +338 -0
- package/alterations-js/1.30.0-1751337183-add-require-mfa-on-sign-in-to-users.js +16 -0
- package/alterations-js/1.30.0-1751400000-move-require-mfa-on-sign-in-to-logto-config.js +17 -0
- package/alterations-js/1.30.0-1751529530-add-enable-token-storage-column-to-sso-connectors-table.js +16 -0
- package/alterations-js/1.30.0-1752630302-alterate-enable-column-default-value-in-account-centers-table.js +16 -0
- package/alterations-js/1.30.0-1753669579-add-organization-user-relations-foreign-key.js +38 -0
- package/lib/consts/oidc.d.ts +9 -1
- package/lib/consts/oidc.js +5 -0
- package/lib/db-entries/connector.d.ts +5 -1
- package/lib/db-entries/connector.js +4 -0
- package/lib/db-entries/index.d.ts +2 -1
- package/lib/db-entries/index.js +2 -1
- package/lib/db-entries/secret-enterprise-sso-connector-relation.d.ts +28 -0
- package/lib/db-entries/secret-enterprise-sso-connector-relation.js +37 -0
- package/lib/db-entries/secret-social-connector-relation.d.ts +28 -0
- package/lib/db-entries/secret-social-connector-relation.js +37 -0
- package/lib/db-entries/secret.d.ts +9 -9
- package/lib/db-entries/secret.js +9 -9
- package/lib/db-entries/sso-connector.d.ts +5 -1
- package/lib/db-entries/sso-connector.js +4 -0
- package/lib/foundations/jsonb-types/custom-profile-fields.d.ts +336 -11
- package/lib/foundations/jsonb-types/custom-profile-fields.js +17 -9
- package/lib/foundations/jsonb-types/secrets.d.ts +2 -0
- package/lib/foundations/jsonb-types/secrets.js +5 -0
- package/lib/foundations/jsonb-types/sign-in-experience.d.ts +3 -1
- package/lib/foundations/jsonb-types/sign-in-experience.js +2 -0
- package/lib/foundations/jsonb-types/users.d.ts +94 -0
- package/lib/foundations/jsonb-types/users.js +11 -0
- package/lib/types/connector.d.ts +39 -0
- package/lib/types/connector.js +1 -0
- package/lib/types/consent.d.ts +40 -0
- package/lib/types/custom-profile-fields.d.ts +1410 -133
- package/lib/types/custom-profile-fields.js +51 -15
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.js +2 -0
- package/lib/types/interactions.d.ts +175 -1
- package/lib/types/interactions.js +48 -1
- package/lib/types/logto-config/index.d.ts +214 -179
- package/lib/types/logto-config/jwt-customizer.d.ts +453 -328
- package/lib/types/logto-config/jwt-customizer.js +6 -1
- package/lib/types/secrets.d.ts +436 -0
- package/lib/types/secrets.js +73 -0
- package/lib/types/sign-in-experience.d.ts +19 -1
- package/lib/types/sign-in-experience.js +3 -1
- package/lib/types/sso-connector.d.ts +5 -2
- package/lib/types/user-logto-config.d.ts +45 -0
- package/lib/types/user-logto-config.js +18 -0
- package/lib/types/user.d.ts +615 -0
- package/lib/types/user.js +14 -1
- package/lib/types/verification-records/backup-code-verification.d.ts +18 -0
- package/lib/types/verification-records/backup-code-verification.js +3 -0
- package/lib/types/verification-records/enterprise-sso-verification.d.ts +145 -0
- package/lib/types/verification-records/enterprise-sso-verification.js +5 -0
- package/lib/types/verification-records/new-password-identity-verification.d.ts +31 -0
- package/lib/types/verification-records/new-password-identity-verification.js +4 -0
- package/lib/types/verification-records/social-verification.d.ts +164 -0
- package/lib/types/verification-records/social-verification.js +6 -0
- package/lib/types/verification-records/totp-verification.d.ts +18 -0
- package/lib/types/verification-records/totp-verification.js +3 -0
- package/lib/types/verification-records/web-authn-verification.d.ts +44 -0
- package/lib/types/verification-records/web-authn-verification.js +5 -0
- package/package.json +6 -6
- package/tables/account_centers.sql +1 -1
- package/tables/connectors.sql +2 -0
- package/tables/organization_user_relations.sql +4 -1
- package/tables/secret_enterprise_sso_connector_relations.sql +60 -0
- package/tables/secret_social_connector_relations.sql +75 -0
- package/tables/secrets.sql +4 -4
- package/tables/sso_connectors.sql +2 -0
- package/tables/users.sql +2 -1
- package/lib/db-entries/secret-connector-relation.d.ts +0 -40
- package/lib/db-entries/secret-connector-relation.js +0 -49
- package/tables/secret_connector_relations.sql +0 -78
|
@@ -123,6 +123,16 @@ export declare const jwtCustomizerUserContextGuard: z.ZodObject<Pick<{
|
|
|
123
123
|
usedAt?: string | undefined;
|
|
124
124
|
}[];
|
|
125
125
|
lastUsedAt?: string | undefined;
|
|
126
|
+
} | {
|
|
127
|
+
type: import("../../foundations/index.js").MfaFactor.EmailVerificationCode;
|
|
128
|
+
id: string;
|
|
129
|
+
createdAt: string;
|
|
130
|
+
lastUsedAt?: string | undefined;
|
|
131
|
+
} | {
|
|
132
|
+
type: import("../../foundations/index.js").MfaFactor.PhoneVerificationCode;
|
|
133
|
+
id: string;
|
|
134
|
+
createdAt: string;
|
|
135
|
+
lastUsedAt?: string | undefined;
|
|
126
136
|
})[], z.ZodTypeDef, ({
|
|
127
137
|
type: import("../../foundations/index.js").MfaFactor.TOTP;
|
|
128
138
|
id: string;
|
|
@@ -149,6 +159,16 @@ export declare const jwtCustomizerUserContextGuard: z.ZodObject<Pick<{
|
|
|
149
159
|
usedAt?: string | undefined;
|
|
150
160
|
}[];
|
|
151
161
|
lastUsedAt?: string | undefined;
|
|
162
|
+
} | {
|
|
163
|
+
type: import("../../foundations/index.js").MfaFactor.EmailVerificationCode;
|
|
164
|
+
id: string;
|
|
165
|
+
createdAt: string;
|
|
166
|
+
lastUsedAt?: string | undefined;
|
|
167
|
+
} | {
|
|
168
|
+
type: import("../../foundations/index.js").MfaFactor.PhoneVerificationCode;
|
|
169
|
+
id: string;
|
|
170
|
+
createdAt: string;
|
|
171
|
+
lastUsedAt?: string | undefined;
|
|
152
172
|
})[]>;
|
|
153
173
|
isSuspended: ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
154
174
|
lastSignInAt: ZodType<number | null, z.ZodTypeDef, number | null>;
|
|
@@ -497,6 +517,41 @@ export declare const jwtCustomizerUserInteractionContextGuard: z.ZodObject<{
|
|
|
497
517
|
avatar?: string | undefined;
|
|
498
518
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
499
519
|
}>>;
|
|
520
|
+
encryptedTokenSet: z.ZodOptional<z.ZodObject<{
|
|
521
|
+
encryptedTokenSetBase64: z.ZodString;
|
|
522
|
+
metadata: z.ZodObject<{
|
|
523
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
524
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
525
|
+
tokenType: z.ZodOptional<z.ZodString>;
|
|
526
|
+
hasRefreshToken: z.ZodBoolean;
|
|
527
|
+
}, "strip", z.ZodTypeAny, {
|
|
528
|
+
hasRefreshToken: boolean;
|
|
529
|
+
scope?: string | undefined;
|
|
530
|
+
expiresAt?: number | undefined;
|
|
531
|
+
tokenType?: string | undefined;
|
|
532
|
+
}, {
|
|
533
|
+
hasRefreshToken: boolean;
|
|
534
|
+
scope?: string | undefined;
|
|
535
|
+
expiresAt?: number | undefined;
|
|
536
|
+
tokenType?: string | undefined;
|
|
537
|
+
}>;
|
|
538
|
+
}, "strip", z.ZodTypeAny, {
|
|
539
|
+
metadata: {
|
|
540
|
+
hasRefreshToken: boolean;
|
|
541
|
+
scope?: string | undefined;
|
|
542
|
+
expiresAt?: number | undefined;
|
|
543
|
+
tokenType?: string | undefined;
|
|
544
|
+
};
|
|
545
|
+
encryptedTokenSetBase64: string;
|
|
546
|
+
}, {
|
|
547
|
+
metadata: {
|
|
548
|
+
hasRefreshToken: boolean;
|
|
549
|
+
scope?: string | undefined;
|
|
550
|
+
expiresAt?: number | undefined;
|
|
551
|
+
tokenType?: string | undefined;
|
|
552
|
+
};
|
|
553
|
+
encryptedTokenSetBase64: string;
|
|
554
|
+
}>>;
|
|
500
555
|
connectorSession: z.ZodOptional<z.ZodObject<{
|
|
501
556
|
nonce: z.ZodOptional<z.ZodString>;
|
|
502
557
|
redirectUri: z.ZodOptional<z.ZodString>;
|
|
@@ -519,7 +574,7 @@ export declare const jwtCustomizerUserInteractionContextGuard: z.ZodObject<{
|
|
|
519
574
|
jti: z.ZodOptional<z.ZodString>;
|
|
520
575
|
state: z.ZodOptional<z.ZodString>;
|
|
521
576
|
}, z.ZodUnknown, "strip">>>;
|
|
522
|
-
}, "connectorSession">, "strip", z.ZodTypeAny, {
|
|
577
|
+
}, "encryptedTokenSet" | "connectorSession">, "strip", z.ZodTypeAny, {
|
|
523
578
|
type: import("../index.js").VerificationType.Social;
|
|
524
579
|
id: string;
|
|
525
580
|
connectorId: string;
|
|
@@ -544,10 +599,10 @@ export declare const jwtCustomizerUserInteractionContextGuard: z.ZodObject<{
|
|
|
544
599
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
545
600
|
} | undefined;
|
|
546
601
|
}>, z.ZodObject<{
|
|
547
|
-
id: z.ZodString;
|
|
548
|
-
connectorId: z.ZodString;
|
|
549
602
|
type: z.ZodLiteral<import("../index.js").VerificationType.EnterpriseSso>;
|
|
603
|
+
id: z.ZodString;
|
|
550
604
|
issuer: z.ZodOptional<z.ZodString>;
|
|
605
|
+
connectorId: z.ZodString;
|
|
551
606
|
} & {
|
|
552
607
|
enterpriseSsoUserInfo: z.ZodOptional<z.ZodObject<{
|
|
553
608
|
id: z.ZodString;
|
|
@@ -748,6 +803,11 @@ export declare const jwtCustomizerUserInteractionContextGuard: z.ZodObject<{
|
|
|
748
803
|
userId: string;
|
|
749
804
|
interactionEvent: InteractionEvent;
|
|
750
805
|
verificationRecords: ({
|
|
806
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
807
|
+
id: string;
|
|
808
|
+
userId: string;
|
|
809
|
+
code?: string | undefined;
|
|
810
|
+
} | {
|
|
751
811
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
752
812
|
id: string;
|
|
753
813
|
identifier: {
|
|
@@ -765,6 +825,13 @@ export declare const jwtCustomizerUserInteractionContextGuard: z.ZodObject<{
|
|
|
765
825
|
};
|
|
766
826
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
767
827
|
verified: boolean;
|
|
828
|
+
} | {
|
|
829
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
830
|
+
id: string;
|
|
831
|
+
identifier: {
|
|
832
|
+
value: string;
|
|
833
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
834
|
+
};
|
|
768
835
|
} | {
|
|
769
836
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
770
837
|
id: string;
|
|
@@ -796,6 +863,16 @@ export declare const jwtCustomizerUserInteractionContextGuard: z.ZodObject<{
|
|
|
796
863
|
avatar?: string | undefined;
|
|
797
864
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
798
865
|
} | undefined;
|
|
866
|
+
} | {
|
|
867
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
868
|
+
id: string;
|
|
869
|
+
userId: string;
|
|
870
|
+
verified: boolean;
|
|
871
|
+
} | {
|
|
872
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
873
|
+
id: string;
|
|
874
|
+
userId: string;
|
|
875
|
+
verified: boolean;
|
|
799
876
|
} | {
|
|
800
877
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
801
878
|
id: string;
|
|
@@ -809,33 +886,16 @@ export declare const jwtCustomizerUserInteractionContextGuard: z.ZodObject<{
|
|
|
809
886
|
avatar?: string | undefined;
|
|
810
887
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
811
888
|
} | undefined;
|
|
812
|
-
} | {
|
|
813
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
814
|
-
id: string;
|
|
815
|
-
userId: string;
|
|
816
|
-
verified: boolean;
|
|
817
|
-
} | {
|
|
818
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
819
|
-
id: string;
|
|
820
|
-
userId: string;
|
|
821
|
-
code?: string | undefined;
|
|
822
|
-
} | {
|
|
823
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
824
|
-
id: string;
|
|
825
|
-
userId: string;
|
|
826
|
-
verified: boolean;
|
|
827
|
-
} | {
|
|
828
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
829
|
-
id: string;
|
|
830
|
-
identifier: {
|
|
831
|
-
value: string;
|
|
832
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
833
|
-
};
|
|
834
889
|
})[];
|
|
835
890
|
}, {
|
|
836
891
|
userId: string;
|
|
837
892
|
interactionEvent: InteractionEvent;
|
|
838
893
|
verificationRecords: ({
|
|
894
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
895
|
+
id: string;
|
|
896
|
+
userId: string;
|
|
897
|
+
code?: string | undefined;
|
|
898
|
+
} | {
|
|
839
899
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
840
900
|
id: string;
|
|
841
901
|
identifier: {
|
|
@@ -853,6 +913,13 @@ export declare const jwtCustomizerUserInteractionContextGuard: z.ZodObject<{
|
|
|
853
913
|
};
|
|
854
914
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
855
915
|
verified: boolean;
|
|
916
|
+
} | {
|
|
917
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
918
|
+
id: string;
|
|
919
|
+
identifier: {
|
|
920
|
+
value: string;
|
|
921
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
922
|
+
};
|
|
856
923
|
} | {
|
|
857
924
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
858
925
|
id: string;
|
|
@@ -884,6 +951,16 @@ export declare const jwtCustomizerUserInteractionContextGuard: z.ZodObject<{
|
|
|
884
951
|
avatar?: string | undefined;
|
|
885
952
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
886
953
|
} | undefined;
|
|
954
|
+
} | {
|
|
955
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
956
|
+
id: string;
|
|
957
|
+
userId: string;
|
|
958
|
+
verified: boolean;
|
|
959
|
+
} | {
|
|
960
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
961
|
+
id: string;
|
|
962
|
+
userId: string;
|
|
963
|
+
verified: boolean;
|
|
887
964
|
} | {
|
|
888
965
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
889
966
|
id: string;
|
|
@@ -897,28 +974,6 @@ export declare const jwtCustomizerUserInteractionContextGuard: z.ZodObject<{
|
|
|
897
974
|
avatar?: string | undefined;
|
|
898
975
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
899
976
|
} | undefined;
|
|
900
|
-
} | {
|
|
901
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
902
|
-
id: string;
|
|
903
|
-
userId: string;
|
|
904
|
-
verified: boolean;
|
|
905
|
-
} | {
|
|
906
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
907
|
-
id: string;
|
|
908
|
-
userId: string;
|
|
909
|
-
code?: string | undefined;
|
|
910
|
-
} | {
|
|
911
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
912
|
-
id: string;
|
|
913
|
-
userId: string;
|
|
914
|
-
verified: boolean;
|
|
915
|
-
} | {
|
|
916
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
917
|
-
id: string;
|
|
918
|
-
identifier: {
|
|
919
|
-
value: string;
|
|
920
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
921
|
-
};
|
|
922
977
|
})[];
|
|
923
978
|
}>;
|
|
924
979
|
export type JwtCustomizerUserInteractionContext = z.infer<typeof jwtCustomizerUserInteractionContextGuard>;
|
|
@@ -1412,6 +1467,41 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1412
1467
|
avatar?: string | undefined;
|
|
1413
1468
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
1414
1469
|
}>>;
|
|
1470
|
+
encryptedTokenSet: z.ZodOptional<z.ZodObject<{
|
|
1471
|
+
encryptedTokenSetBase64: z.ZodString;
|
|
1472
|
+
metadata: z.ZodObject<{
|
|
1473
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
1475
|
+
tokenType: z.ZodOptional<z.ZodString>;
|
|
1476
|
+
hasRefreshToken: z.ZodBoolean;
|
|
1477
|
+
}, "strip", z.ZodTypeAny, {
|
|
1478
|
+
hasRefreshToken: boolean;
|
|
1479
|
+
scope?: string | undefined;
|
|
1480
|
+
expiresAt?: number | undefined;
|
|
1481
|
+
tokenType?: string | undefined;
|
|
1482
|
+
}, {
|
|
1483
|
+
hasRefreshToken: boolean;
|
|
1484
|
+
scope?: string | undefined;
|
|
1485
|
+
expiresAt?: number | undefined;
|
|
1486
|
+
tokenType?: string | undefined;
|
|
1487
|
+
}>;
|
|
1488
|
+
}, "strip", z.ZodTypeAny, {
|
|
1489
|
+
metadata: {
|
|
1490
|
+
hasRefreshToken: boolean;
|
|
1491
|
+
scope?: string | undefined;
|
|
1492
|
+
expiresAt?: number | undefined;
|
|
1493
|
+
tokenType?: string | undefined;
|
|
1494
|
+
};
|
|
1495
|
+
encryptedTokenSetBase64: string;
|
|
1496
|
+
}, {
|
|
1497
|
+
metadata: {
|
|
1498
|
+
hasRefreshToken: boolean;
|
|
1499
|
+
scope?: string | undefined;
|
|
1500
|
+
expiresAt?: number | undefined;
|
|
1501
|
+
tokenType?: string | undefined;
|
|
1502
|
+
};
|
|
1503
|
+
encryptedTokenSetBase64: string;
|
|
1504
|
+
}>>;
|
|
1415
1505
|
connectorSession: z.ZodOptional<z.ZodObject<{
|
|
1416
1506
|
nonce: z.ZodOptional<z.ZodString>;
|
|
1417
1507
|
redirectUri: z.ZodOptional<z.ZodString>;
|
|
@@ -1434,7 +1524,7 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1434
1524
|
jti: z.ZodOptional<z.ZodString>;
|
|
1435
1525
|
state: z.ZodOptional<z.ZodString>;
|
|
1436
1526
|
}, z.ZodUnknown, "strip">>>;
|
|
1437
|
-
}, "connectorSession">, "strip", z.ZodTypeAny, {
|
|
1527
|
+
}, "encryptedTokenSet" | "connectorSession">, "strip", z.ZodTypeAny, {
|
|
1438
1528
|
type: import("../index.js").VerificationType.Social;
|
|
1439
1529
|
id: string;
|
|
1440
1530
|
connectorId: string;
|
|
@@ -1459,10 +1549,10 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1459
1549
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
1460
1550
|
} | undefined;
|
|
1461
1551
|
}>, z.ZodObject<{
|
|
1462
|
-
id: z.ZodString;
|
|
1463
|
-
connectorId: z.ZodString;
|
|
1464
1552
|
type: z.ZodLiteral<import("../index.js").VerificationType.EnterpriseSso>;
|
|
1553
|
+
id: z.ZodString;
|
|
1465
1554
|
issuer: z.ZodOptional<z.ZodString>;
|
|
1555
|
+
connectorId: z.ZodString;
|
|
1466
1556
|
} & {
|
|
1467
1557
|
enterpriseSsoUserInfo: z.ZodOptional<z.ZodObject<{
|
|
1468
1558
|
id: z.ZodString;
|
|
@@ -1663,6 +1753,11 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1663
1753
|
userId?: string | undefined;
|
|
1664
1754
|
interactionEvent?: InteractionEvent | undefined;
|
|
1665
1755
|
verificationRecords?: ({
|
|
1756
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
1757
|
+
id: string;
|
|
1758
|
+
userId: string;
|
|
1759
|
+
code?: string | undefined;
|
|
1760
|
+
} | {
|
|
1666
1761
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
1667
1762
|
id: string;
|
|
1668
1763
|
identifier: {
|
|
@@ -1680,6 +1775,13 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1680
1775
|
};
|
|
1681
1776
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
1682
1777
|
verified: boolean;
|
|
1778
|
+
} | {
|
|
1779
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1780
|
+
id: string;
|
|
1781
|
+
identifier: {
|
|
1782
|
+
value: string;
|
|
1783
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
1784
|
+
};
|
|
1683
1785
|
} | {
|
|
1684
1786
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
1685
1787
|
id: string;
|
|
@@ -1711,6 +1813,16 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1711
1813
|
avatar?: string | undefined;
|
|
1712
1814
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
1713
1815
|
} | undefined;
|
|
1816
|
+
} | {
|
|
1817
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
1818
|
+
id: string;
|
|
1819
|
+
userId: string;
|
|
1820
|
+
verified: boolean;
|
|
1821
|
+
} | {
|
|
1822
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
1823
|
+
id: string;
|
|
1824
|
+
userId: string;
|
|
1825
|
+
verified: boolean;
|
|
1714
1826
|
} | {
|
|
1715
1827
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
1716
1828
|
id: string;
|
|
@@ -1724,33 +1836,16 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1724
1836
|
avatar?: string | undefined;
|
|
1725
1837
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
1726
1838
|
} | undefined;
|
|
1727
|
-
} | {
|
|
1728
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
1729
|
-
id: string;
|
|
1730
|
-
userId: string;
|
|
1731
|
-
verified: boolean;
|
|
1732
|
-
} | {
|
|
1733
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
1734
|
-
id: string;
|
|
1735
|
-
userId: string;
|
|
1736
|
-
code?: string | undefined;
|
|
1737
|
-
} | {
|
|
1738
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
1739
|
-
id: string;
|
|
1740
|
-
userId: string;
|
|
1741
|
-
verified: boolean;
|
|
1742
|
-
} | {
|
|
1743
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1744
|
-
id: string;
|
|
1745
|
-
identifier: {
|
|
1746
|
-
value: string;
|
|
1747
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
1748
|
-
};
|
|
1749
1839
|
})[] | undefined;
|
|
1750
1840
|
}, {
|
|
1751
1841
|
userId?: string | undefined;
|
|
1752
1842
|
interactionEvent?: InteractionEvent | undefined;
|
|
1753
1843
|
verificationRecords?: ({
|
|
1844
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
1845
|
+
id: string;
|
|
1846
|
+
userId: string;
|
|
1847
|
+
code?: string | undefined;
|
|
1848
|
+
} | {
|
|
1754
1849
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
1755
1850
|
id: string;
|
|
1756
1851
|
identifier: {
|
|
@@ -1768,6 +1863,13 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1768
1863
|
};
|
|
1769
1864
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
1770
1865
|
verified: boolean;
|
|
1866
|
+
} | {
|
|
1867
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1868
|
+
id: string;
|
|
1869
|
+
identifier: {
|
|
1870
|
+
value: string;
|
|
1871
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
1872
|
+
};
|
|
1771
1873
|
} | {
|
|
1772
1874
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
1773
1875
|
id: string;
|
|
@@ -1799,6 +1901,16 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1799
1901
|
avatar?: string | undefined;
|
|
1800
1902
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
1801
1903
|
} | undefined;
|
|
1904
|
+
} | {
|
|
1905
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
1906
|
+
id: string;
|
|
1907
|
+
userId: string;
|
|
1908
|
+
verified: boolean;
|
|
1909
|
+
} | {
|
|
1910
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
1911
|
+
id: string;
|
|
1912
|
+
userId: string;
|
|
1913
|
+
verified: boolean;
|
|
1802
1914
|
} | {
|
|
1803
1915
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
1804
1916
|
id: string;
|
|
@@ -1812,28 +1924,6 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1812
1924
|
avatar?: string | undefined;
|
|
1813
1925
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
1814
1926
|
} | undefined;
|
|
1815
|
-
} | {
|
|
1816
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
1817
|
-
id: string;
|
|
1818
|
-
userId: string;
|
|
1819
|
-
verified: boolean;
|
|
1820
|
-
} | {
|
|
1821
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
1822
|
-
id: string;
|
|
1823
|
-
userId: string;
|
|
1824
|
-
code?: string | undefined;
|
|
1825
|
-
} | {
|
|
1826
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
1827
|
-
id: string;
|
|
1828
|
-
userId: string;
|
|
1829
|
-
verified: boolean;
|
|
1830
|
-
} | {
|
|
1831
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1832
|
-
id: string;
|
|
1833
|
-
identifier: {
|
|
1834
|
-
value: string;
|
|
1835
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
1836
|
-
};
|
|
1837
1927
|
})[] | undefined;
|
|
1838
1928
|
}>>;
|
|
1839
1929
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1913,6 +2003,11 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1913
2003
|
userId?: string | undefined;
|
|
1914
2004
|
interactionEvent?: InteractionEvent | undefined;
|
|
1915
2005
|
verificationRecords?: ({
|
|
2006
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
2007
|
+
id: string;
|
|
2008
|
+
userId: string;
|
|
2009
|
+
code?: string | undefined;
|
|
2010
|
+
} | {
|
|
1916
2011
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
1917
2012
|
id: string;
|
|
1918
2013
|
identifier: {
|
|
@@ -1930,6 +2025,13 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1930
2025
|
};
|
|
1931
2026
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
1932
2027
|
verified: boolean;
|
|
2028
|
+
} | {
|
|
2029
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
2030
|
+
id: string;
|
|
2031
|
+
identifier: {
|
|
2032
|
+
value: string;
|
|
2033
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
2034
|
+
};
|
|
1933
2035
|
} | {
|
|
1934
2036
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
1935
2037
|
id: string;
|
|
@@ -1961,6 +2063,16 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1961
2063
|
avatar?: string | undefined;
|
|
1962
2064
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
1963
2065
|
} | undefined;
|
|
2066
|
+
} | {
|
|
2067
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
2068
|
+
id: string;
|
|
2069
|
+
userId: string;
|
|
2070
|
+
verified: boolean;
|
|
2071
|
+
} | {
|
|
2072
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
2073
|
+
id: string;
|
|
2074
|
+
userId: string;
|
|
2075
|
+
verified: boolean;
|
|
1964
2076
|
} | {
|
|
1965
2077
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
1966
2078
|
id: string;
|
|
@@ -1974,28 +2086,6 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
1974
2086
|
avatar?: string | undefined;
|
|
1975
2087
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
1976
2088
|
} | undefined;
|
|
1977
|
-
} | {
|
|
1978
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
1979
|
-
id: string;
|
|
1980
|
-
userId: string;
|
|
1981
|
-
verified: boolean;
|
|
1982
|
-
} | {
|
|
1983
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
1984
|
-
id: string;
|
|
1985
|
-
userId: string;
|
|
1986
|
-
code?: string | undefined;
|
|
1987
|
-
} | {
|
|
1988
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
1989
|
-
id: string;
|
|
1990
|
-
userId: string;
|
|
1991
|
-
verified: boolean;
|
|
1992
|
-
} | {
|
|
1993
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1994
|
-
id: string;
|
|
1995
|
-
identifier: {
|
|
1996
|
-
value: string;
|
|
1997
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
1998
|
-
};
|
|
1999
2089
|
})[] | undefined;
|
|
2000
2090
|
} | undefined;
|
|
2001
2091
|
}, {
|
|
@@ -2075,10 +2165,15 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
2075
2165
|
userId?: string | undefined;
|
|
2076
2166
|
interactionEvent?: InteractionEvent | undefined;
|
|
2077
2167
|
verificationRecords?: ({
|
|
2078
|
-
type: import("../index.js").VerificationType.
|
|
2168
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
2079
2169
|
id: string;
|
|
2080
|
-
|
|
2081
|
-
|
|
2170
|
+
userId: string;
|
|
2171
|
+
code?: string | undefined;
|
|
2172
|
+
} | {
|
|
2173
|
+
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
2174
|
+
id: string;
|
|
2175
|
+
identifier: {
|
|
2176
|
+
value: string;
|
|
2082
2177
|
type: import("../../foundations/index.js").SignInIdentifier.Email;
|
|
2083
2178
|
};
|
|
2084
2179
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
@@ -2092,6 +2187,13 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
2092
2187
|
};
|
|
2093
2188
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
2094
2189
|
verified: boolean;
|
|
2190
|
+
} | {
|
|
2191
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
2192
|
+
id: string;
|
|
2193
|
+
identifier: {
|
|
2194
|
+
value: string;
|
|
2195
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
2196
|
+
};
|
|
2095
2197
|
} | {
|
|
2096
2198
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
2097
2199
|
id: string;
|
|
@@ -2123,6 +2225,16 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
2123
2225
|
avatar?: string | undefined;
|
|
2124
2226
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
2125
2227
|
} | undefined;
|
|
2228
|
+
} | {
|
|
2229
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
2230
|
+
id: string;
|
|
2231
|
+
userId: string;
|
|
2232
|
+
verified: boolean;
|
|
2233
|
+
} | {
|
|
2234
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
2235
|
+
id: string;
|
|
2236
|
+
userId: string;
|
|
2237
|
+
verified: boolean;
|
|
2126
2238
|
} | {
|
|
2127
2239
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
2128
2240
|
id: string;
|
|
@@ -2136,28 +2248,6 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
2136
2248
|
avatar?: string | undefined;
|
|
2137
2249
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
2138
2250
|
} | undefined;
|
|
2139
|
-
} | {
|
|
2140
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
2141
|
-
id: string;
|
|
2142
|
-
userId: string;
|
|
2143
|
-
verified: boolean;
|
|
2144
|
-
} | {
|
|
2145
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
2146
|
-
id: string;
|
|
2147
|
-
userId: string;
|
|
2148
|
-
code?: string | undefined;
|
|
2149
|
-
} | {
|
|
2150
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
2151
|
-
id: string;
|
|
2152
|
-
userId: string;
|
|
2153
|
-
verified: boolean;
|
|
2154
|
-
} | {
|
|
2155
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
2156
|
-
id: string;
|
|
2157
|
-
identifier: {
|
|
2158
|
-
value: string;
|
|
2159
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
2160
|
-
};
|
|
2161
2251
|
})[] | undefined;
|
|
2162
2252
|
} | undefined;
|
|
2163
2253
|
}>>;
|
|
@@ -2241,6 +2331,11 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
2241
2331
|
userId?: string | undefined;
|
|
2242
2332
|
interactionEvent?: InteractionEvent | undefined;
|
|
2243
2333
|
verificationRecords?: ({
|
|
2334
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
2335
|
+
id: string;
|
|
2336
|
+
userId: string;
|
|
2337
|
+
code?: string | undefined;
|
|
2338
|
+
} | {
|
|
2244
2339
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
2245
2340
|
id: string;
|
|
2246
2341
|
identifier: {
|
|
@@ -2258,6 +2353,13 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
2258
2353
|
};
|
|
2259
2354
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
2260
2355
|
verified: boolean;
|
|
2356
|
+
} | {
|
|
2357
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
2358
|
+
id: string;
|
|
2359
|
+
identifier: {
|
|
2360
|
+
value: string;
|
|
2361
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
2362
|
+
};
|
|
2261
2363
|
} | {
|
|
2262
2364
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
2263
2365
|
id: string;
|
|
@@ -2289,6 +2391,16 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
2289
2391
|
avatar?: string | undefined;
|
|
2290
2392
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
2291
2393
|
} | undefined;
|
|
2394
|
+
} | {
|
|
2395
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
2396
|
+
id: string;
|
|
2397
|
+
userId: string;
|
|
2398
|
+
verified: boolean;
|
|
2399
|
+
} | {
|
|
2400
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
2401
|
+
id: string;
|
|
2402
|
+
userId: string;
|
|
2403
|
+
verified: boolean;
|
|
2292
2404
|
} | {
|
|
2293
2405
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
2294
2406
|
id: string;
|
|
@@ -2302,28 +2414,6 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
2302
2414
|
avatar?: string | undefined;
|
|
2303
2415
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
2304
2416
|
} | undefined;
|
|
2305
|
-
} | {
|
|
2306
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
2307
|
-
id: string;
|
|
2308
|
-
userId: string;
|
|
2309
|
-
verified: boolean;
|
|
2310
|
-
} | {
|
|
2311
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
2312
|
-
id: string;
|
|
2313
|
-
userId: string;
|
|
2314
|
-
code?: string | undefined;
|
|
2315
|
-
} | {
|
|
2316
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
2317
|
-
id: string;
|
|
2318
|
-
userId: string;
|
|
2319
|
-
verified: boolean;
|
|
2320
|
-
} | {
|
|
2321
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
2322
|
-
id: string;
|
|
2323
|
-
identifier: {
|
|
2324
|
-
value: string;
|
|
2325
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
2326
|
-
};
|
|
2327
2417
|
})[] | undefined;
|
|
2328
2418
|
} | undefined;
|
|
2329
2419
|
} | undefined;
|
|
@@ -2420,6 +2510,11 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
2420
2510
|
userId?: string | undefined;
|
|
2421
2511
|
interactionEvent?: InteractionEvent | undefined;
|
|
2422
2512
|
verificationRecords?: ({
|
|
2513
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
2514
|
+
id: string;
|
|
2515
|
+
userId: string;
|
|
2516
|
+
code?: string | undefined;
|
|
2517
|
+
} | {
|
|
2423
2518
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
2424
2519
|
id: string;
|
|
2425
2520
|
identifier: {
|
|
@@ -2437,6 +2532,13 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
2437
2532
|
};
|
|
2438
2533
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
2439
2534
|
verified: boolean;
|
|
2535
|
+
} | {
|
|
2536
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
2537
|
+
id: string;
|
|
2538
|
+
identifier: {
|
|
2539
|
+
value: string;
|
|
2540
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
2541
|
+
};
|
|
2440
2542
|
} | {
|
|
2441
2543
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
2442
2544
|
id: string;
|
|
@@ -2468,6 +2570,16 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
2468
2570
|
avatar?: string | undefined;
|
|
2469
2571
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
2470
2572
|
} | undefined;
|
|
2573
|
+
} | {
|
|
2574
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
2575
|
+
id: string;
|
|
2576
|
+
userId: string;
|
|
2577
|
+
verified: boolean;
|
|
2578
|
+
} | {
|
|
2579
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
2580
|
+
id: string;
|
|
2581
|
+
userId: string;
|
|
2582
|
+
verified: boolean;
|
|
2471
2583
|
} | {
|
|
2472
2584
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
2473
2585
|
id: string;
|
|
@@ -2481,28 +2593,6 @@ export declare const accessTokenJwtCustomizerGuard: z.ZodObject<{
|
|
|
2481
2593
|
avatar?: string | undefined;
|
|
2482
2594
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
2483
2595
|
} | undefined;
|
|
2484
|
-
} | {
|
|
2485
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
2486
|
-
id: string;
|
|
2487
|
-
userId: string;
|
|
2488
|
-
verified: boolean;
|
|
2489
|
-
} | {
|
|
2490
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
2491
|
-
id: string;
|
|
2492
|
-
userId: string;
|
|
2493
|
-
code?: string | undefined;
|
|
2494
|
-
} | {
|
|
2495
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
2496
|
-
id: string;
|
|
2497
|
-
userId: string;
|
|
2498
|
-
verified: boolean;
|
|
2499
|
-
} | {
|
|
2500
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
2501
|
-
id: string;
|
|
2502
|
-
identifier: {
|
|
2503
|
-
value: string;
|
|
2504
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
2505
|
-
};
|
|
2506
2596
|
})[] | undefined;
|
|
2507
2597
|
} | undefined;
|
|
2508
2598
|
} | undefined;
|
|
@@ -3063,6 +3153,41 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3063
3153
|
avatar?: string | undefined;
|
|
3064
3154
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
3065
3155
|
}>>;
|
|
3156
|
+
encryptedTokenSet: z.ZodOptional<z.ZodObject<{
|
|
3157
|
+
encryptedTokenSetBase64: z.ZodString;
|
|
3158
|
+
metadata: z.ZodObject<{
|
|
3159
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
3160
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
3161
|
+
tokenType: z.ZodOptional<z.ZodString>;
|
|
3162
|
+
hasRefreshToken: z.ZodBoolean;
|
|
3163
|
+
}, "strip", z.ZodTypeAny, {
|
|
3164
|
+
hasRefreshToken: boolean;
|
|
3165
|
+
scope?: string | undefined;
|
|
3166
|
+
expiresAt?: number | undefined;
|
|
3167
|
+
tokenType?: string | undefined;
|
|
3168
|
+
}, {
|
|
3169
|
+
hasRefreshToken: boolean;
|
|
3170
|
+
scope?: string | undefined;
|
|
3171
|
+
expiresAt?: number | undefined;
|
|
3172
|
+
tokenType?: string | undefined;
|
|
3173
|
+
}>;
|
|
3174
|
+
}, "strip", z.ZodTypeAny, {
|
|
3175
|
+
metadata: {
|
|
3176
|
+
hasRefreshToken: boolean;
|
|
3177
|
+
scope?: string | undefined;
|
|
3178
|
+
expiresAt?: number | undefined;
|
|
3179
|
+
tokenType?: string | undefined;
|
|
3180
|
+
};
|
|
3181
|
+
encryptedTokenSetBase64: string;
|
|
3182
|
+
}, {
|
|
3183
|
+
metadata: {
|
|
3184
|
+
hasRefreshToken: boolean;
|
|
3185
|
+
scope?: string | undefined;
|
|
3186
|
+
expiresAt?: number | undefined;
|
|
3187
|
+
tokenType?: string | undefined;
|
|
3188
|
+
};
|
|
3189
|
+
encryptedTokenSetBase64: string;
|
|
3190
|
+
}>>;
|
|
3066
3191
|
connectorSession: z.ZodOptional<z.ZodObject<{
|
|
3067
3192
|
nonce: z.ZodOptional<z.ZodString>;
|
|
3068
3193
|
redirectUri: z.ZodOptional<z.ZodString>;
|
|
@@ -3085,7 +3210,7 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3085
3210
|
jti: z.ZodOptional<z.ZodString>;
|
|
3086
3211
|
state: z.ZodOptional<z.ZodString>;
|
|
3087
3212
|
}, z.ZodUnknown, "strip">>>;
|
|
3088
|
-
}, "connectorSession">, "strip", z.ZodTypeAny, {
|
|
3213
|
+
}, "encryptedTokenSet" | "connectorSession">, "strip", z.ZodTypeAny, {
|
|
3089
3214
|
type: import("../index.js").VerificationType.Social;
|
|
3090
3215
|
id: string;
|
|
3091
3216
|
connectorId: string;
|
|
@@ -3110,10 +3235,10 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3110
3235
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
3111
3236
|
} | undefined;
|
|
3112
3237
|
}>, z.ZodObject<{
|
|
3113
|
-
id: z.ZodString;
|
|
3114
|
-
connectorId: z.ZodString;
|
|
3115
3238
|
type: z.ZodLiteral<import("../index.js").VerificationType.EnterpriseSso>;
|
|
3239
|
+
id: z.ZodString;
|
|
3116
3240
|
issuer: z.ZodOptional<z.ZodString>;
|
|
3241
|
+
connectorId: z.ZodString;
|
|
3117
3242
|
} & {
|
|
3118
3243
|
enterpriseSsoUserInfo: z.ZodOptional<z.ZodObject<{
|
|
3119
3244
|
id: z.ZodString;
|
|
@@ -3314,6 +3439,11 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3314
3439
|
userId?: string | undefined;
|
|
3315
3440
|
interactionEvent?: InteractionEvent | undefined;
|
|
3316
3441
|
verificationRecords?: ({
|
|
3442
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
3443
|
+
id: string;
|
|
3444
|
+
userId: string;
|
|
3445
|
+
code?: string | undefined;
|
|
3446
|
+
} | {
|
|
3317
3447
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
3318
3448
|
id: string;
|
|
3319
3449
|
identifier: {
|
|
@@ -3331,6 +3461,13 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3331
3461
|
};
|
|
3332
3462
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
3333
3463
|
verified: boolean;
|
|
3464
|
+
} | {
|
|
3465
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
3466
|
+
id: string;
|
|
3467
|
+
identifier: {
|
|
3468
|
+
value: string;
|
|
3469
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
3470
|
+
};
|
|
3334
3471
|
} | {
|
|
3335
3472
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
3336
3473
|
id: string;
|
|
@@ -3362,6 +3499,16 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3362
3499
|
avatar?: string | undefined;
|
|
3363
3500
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
3364
3501
|
} | undefined;
|
|
3502
|
+
} | {
|
|
3503
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
3504
|
+
id: string;
|
|
3505
|
+
userId: string;
|
|
3506
|
+
verified: boolean;
|
|
3507
|
+
} | {
|
|
3508
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
3509
|
+
id: string;
|
|
3510
|
+
userId: string;
|
|
3511
|
+
verified: boolean;
|
|
3365
3512
|
} | {
|
|
3366
3513
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
3367
3514
|
id: string;
|
|
@@ -3375,33 +3522,16 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3375
3522
|
avatar?: string | undefined;
|
|
3376
3523
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
3377
3524
|
} | undefined;
|
|
3378
|
-
} | {
|
|
3379
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
3380
|
-
id: string;
|
|
3381
|
-
userId: string;
|
|
3382
|
-
verified: boolean;
|
|
3383
|
-
} | {
|
|
3384
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
3385
|
-
id: string;
|
|
3386
|
-
userId: string;
|
|
3387
|
-
code?: string | undefined;
|
|
3388
|
-
} | {
|
|
3389
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
3390
|
-
id: string;
|
|
3391
|
-
userId: string;
|
|
3392
|
-
verified: boolean;
|
|
3393
|
-
} | {
|
|
3394
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
3395
|
-
id: string;
|
|
3396
|
-
identifier: {
|
|
3397
|
-
value: string;
|
|
3398
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
3399
|
-
};
|
|
3400
3525
|
})[] | undefined;
|
|
3401
3526
|
}, {
|
|
3402
3527
|
userId?: string | undefined;
|
|
3403
3528
|
interactionEvent?: InteractionEvent | undefined;
|
|
3404
3529
|
verificationRecords?: ({
|
|
3530
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
3531
|
+
id: string;
|
|
3532
|
+
userId: string;
|
|
3533
|
+
code?: string | undefined;
|
|
3534
|
+
} | {
|
|
3405
3535
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
3406
3536
|
id: string;
|
|
3407
3537
|
identifier: {
|
|
@@ -3419,6 +3549,13 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3419
3549
|
};
|
|
3420
3550
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
3421
3551
|
verified: boolean;
|
|
3552
|
+
} | {
|
|
3553
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
3554
|
+
id: string;
|
|
3555
|
+
identifier: {
|
|
3556
|
+
value: string;
|
|
3557
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
3558
|
+
};
|
|
3422
3559
|
} | {
|
|
3423
3560
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
3424
3561
|
id: string;
|
|
@@ -3450,6 +3587,16 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3450
3587
|
avatar?: string | undefined;
|
|
3451
3588
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
3452
3589
|
} | undefined;
|
|
3590
|
+
} | {
|
|
3591
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
3592
|
+
id: string;
|
|
3593
|
+
userId: string;
|
|
3594
|
+
verified: boolean;
|
|
3595
|
+
} | {
|
|
3596
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
3597
|
+
id: string;
|
|
3598
|
+
userId: string;
|
|
3599
|
+
verified: boolean;
|
|
3453
3600
|
} | {
|
|
3454
3601
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
3455
3602
|
id: string;
|
|
@@ -3463,28 +3610,6 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3463
3610
|
avatar?: string | undefined;
|
|
3464
3611
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
3465
3612
|
} | undefined;
|
|
3466
|
-
} | {
|
|
3467
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
3468
|
-
id: string;
|
|
3469
|
-
userId: string;
|
|
3470
|
-
verified: boolean;
|
|
3471
|
-
} | {
|
|
3472
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
3473
|
-
id: string;
|
|
3474
|
-
userId: string;
|
|
3475
|
-
code?: string | undefined;
|
|
3476
|
-
} | {
|
|
3477
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
3478
|
-
id: string;
|
|
3479
|
-
userId: string;
|
|
3480
|
-
verified: boolean;
|
|
3481
|
-
} | {
|
|
3482
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
3483
|
-
id: string;
|
|
3484
|
-
identifier: {
|
|
3485
|
-
value: string;
|
|
3486
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
3487
|
-
};
|
|
3488
3613
|
})[] | undefined;
|
|
3489
3614
|
}>>;
|
|
3490
3615
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3564,6 +3689,11 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3564
3689
|
userId?: string | undefined;
|
|
3565
3690
|
interactionEvent?: InteractionEvent | undefined;
|
|
3566
3691
|
verificationRecords?: ({
|
|
3692
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
3693
|
+
id: string;
|
|
3694
|
+
userId: string;
|
|
3695
|
+
code?: string | undefined;
|
|
3696
|
+
} | {
|
|
3567
3697
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
3568
3698
|
id: string;
|
|
3569
3699
|
identifier: {
|
|
@@ -3581,6 +3711,13 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3581
3711
|
};
|
|
3582
3712
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
3583
3713
|
verified: boolean;
|
|
3714
|
+
} | {
|
|
3715
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
3716
|
+
id: string;
|
|
3717
|
+
identifier: {
|
|
3718
|
+
value: string;
|
|
3719
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
3720
|
+
};
|
|
3584
3721
|
} | {
|
|
3585
3722
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
3586
3723
|
id: string;
|
|
@@ -3612,6 +3749,16 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3612
3749
|
avatar?: string | undefined;
|
|
3613
3750
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
3614
3751
|
} | undefined;
|
|
3752
|
+
} | {
|
|
3753
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
3754
|
+
id: string;
|
|
3755
|
+
userId: string;
|
|
3756
|
+
verified: boolean;
|
|
3757
|
+
} | {
|
|
3758
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
3759
|
+
id: string;
|
|
3760
|
+
userId: string;
|
|
3761
|
+
verified: boolean;
|
|
3615
3762
|
} | {
|
|
3616
3763
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
3617
3764
|
id: string;
|
|
@@ -3625,28 +3772,6 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3625
3772
|
avatar?: string | undefined;
|
|
3626
3773
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
3627
3774
|
} | undefined;
|
|
3628
|
-
} | {
|
|
3629
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
3630
|
-
id: string;
|
|
3631
|
-
userId: string;
|
|
3632
|
-
verified: boolean;
|
|
3633
|
-
} | {
|
|
3634
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
3635
|
-
id: string;
|
|
3636
|
-
userId: string;
|
|
3637
|
-
code?: string | undefined;
|
|
3638
|
-
} | {
|
|
3639
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
3640
|
-
id: string;
|
|
3641
|
-
userId: string;
|
|
3642
|
-
verified: boolean;
|
|
3643
|
-
} | {
|
|
3644
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
3645
|
-
id: string;
|
|
3646
|
-
identifier: {
|
|
3647
|
-
value: string;
|
|
3648
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
3649
|
-
};
|
|
3650
3775
|
})[] | undefined;
|
|
3651
3776
|
} | undefined;
|
|
3652
3777
|
}, {
|
|
@@ -3726,6 +3851,11 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3726
3851
|
userId?: string | undefined;
|
|
3727
3852
|
interactionEvent?: InteractionEvent | undefined;
|
|
3728
3853
|
verificationRecords?: ({
|
|
3854
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
3855
|
+
id: string;
|
|
3856
|
+
userId: string;
|
|
3857
|
+
code?: string | undefined;
|
|
3858
|
+
} | {
|
|
3729
3859
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
3730
3860
|
id: string;
|
|
3731
3861
|
identifier: {
|
|
@@ -3743,6 +3873,13 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3743
3873
|
};
|
|
3744
3874
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
3745
3875
|
verified: boolean;
|
|
3876
|
+
} | {
|
|
3877
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
3878
|
+
id: string;
|
|
3879
|
+
identifier: {
|
|
3880
|
+
value: string;
|
|
3881
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
3882
|
+
};
|
|
3746
3883
|
} | {
|
|
3747
3884
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
3748
3885
|
id: string;
|
|
@@ -3774,6 +3911,16 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3774
3911
|
avatar?: string | undefined;
|
|
3775
3912
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
3776
3913
|
} | undefined;
|
|
3914
|
+
} | {
|
|
3915
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
3916
|
+
id: string;
|
|
3917
|
+
userId: string;
|
|
3918
|
+
verified: boolean;
|
|
3919
|
+
} | {
|
|
3920
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
3921
|
+
id: string;
|
|
3922
|
+
userId: string;
|
|
3923
|
+
verified: boolean;
|
|
3777
3924
|
} | {
|
|
3778
3925
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
3779
3926
|
id: string;
|
|
@@ -3787,28 +3934,6 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3787
3934
|
avatar?: string | undefined;
|
|
3788
3935
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
3789
3936
|
} | undefined;
|
|
3790
|
-
} | {
|
|
3791
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
3792
|
-
id: string;
|
|
3793
|
-
userId: string;
|
|
3794
|
-
verified: boolean;
|
|
3795
|
-
} | {
|
|
3796
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
3797
|
-
id: string;
|
|
3798
|
-
userId: string;
|
|
3799
|
-
code?: string | undefined;
|
|
3800
|
-
} | {
|
|
3801
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
3802
|
-
id: string;
|
|
3803
|
-
userId: string;
|
|
3804
|
-
verified: boolean;
|
|
3805
|
-
} | {
|
|
3806
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
3807
|
-
id: string;
|
|
3808
|
-
identifier: {
|
|
3809
|
-
value: string;
|
|
3810
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
3811
|
-
};
|
|
3812
3937
|
})[] | undefined;
|
|
3813
3938
|
} | undefined;
|
|
3814
3939
|
}>;
|
|
@@ -3906,6 +4031,11 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3906
4031
|
userId?: string | undefined;
|
|
3907
4032
|
interactionEvent?: InteractionEvent | undefined;
|
|
3908
4033
|
verificationRecords?: ({
|
|
4034
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
4035
|
+
id: string;
|
|
4036
|
+
userId: string;
|
|
4037
|
+
code?: string | undefined;
|
|
4038
|
+
} | {
|
|
3909
4039
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
3910
4040
|
id: string;
|
|
3911
4041
|
identifier: {
|
|
@@ -3923,6 +4053,13 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3923
4053
|
};
|
|
3924
4054
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
3925
4055
|
verified: boolean;
|
|
4056
|
+
} | {
|
|
4057
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
4058
|
+
id: string;
|
|
4059
|
+
identifier: {
|
|
4060
|
+
value: string;
|
|
4061
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
4062
|
+
};
|
|
3926
4063
|
} | {
|
|
3927
4064
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
3928
4065
|
id: string;
|
|
@@ -3954,6 +4091,16 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3954
4091
|
avatar?: string | undefined;
|
|
3955
4092
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
3956
4093
|
} | undefined;
|
|
4094
|
+
} | {
|
|
4095
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
4096
|
+
id: string;
|
|
4097
|
+
userId: string;
|
|
4098
|
+
verified: boolean;
|
|
4099
|
+
} | {
|
|
4100
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
4101
|
+
id: string;
|
|
4102
|
+
userId: string;
|
|
4103
|
+
verified: boolean;
|
|
3957
4104
|
} | {
|
|
3958
4105
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
3959
4106
|
id: string;
|
|
@@ -3967,33 +4114,11 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
3967
4114
|
avatar?: string | undefined;
|
|
3968
4115
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
3969
4116
|
} | undefined;
|
|
3970
|
-
} | {
|
|
3971
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
3972
|
-
id: string;
|
|
3973
|
-
userId: string;
|
|
3974
|
-
verified: boolean;
|
|
3975
|
-
} | {
|
|
3976
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
3977
|
-
id: string;
|
|
3978
|
-
userId: string;
|
|
3979
|
-
code?: string | undefined;
|
|
3980
|
-
} | {
|
|
3981
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
3982
|
-
id: string;
|
|
3983
|
-
userId: string;
|
|
3984
|
-
verified: boolean;
|
|
3985
|
-
} | {
|
|
3986
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
3987
|
-
id: string;
|
|
3988
|
-
identifier: {
|
|
3989
|
-
value: string;
|
|
3990
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
3991
|
-
};
|
|
3992
4117
|
})[] | undefined;
|
|
3993
4118
|
} | undefined;
|
|
3994
4119
|
};
|
|
3995
|
-
script: string;
|
|
3996
4120
|
tokenType: LogtoJwtTokenKeyType.AccessToken;
|
|
4121
|
+
script: string;
|
|
3997
4122
|
environmentVariables?: Record<string, string> | undefined;
|
|
3998
4123
|
}, {
|
|
3999
4124
|
token: {
|
|
@@ -4086,6 +4211,11 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
4086
4211
|
userId?: string | undefined;
|
|
4087
4212
|
interactionEvent?: InteractionEvent | undefined;
|
|
4088
4213
|
verificationRecords?: ({
|
|
4214
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
4215
|
+
id: string;
|
|
4216
|
+
userId: string;
|
|
4217
|
+
code?: string | undefined;
|
|
4218
|
+
} | {
|
|
4089
4219
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
4090
4220
|
id: string;
|
|
4091
4221
|
identifier: {
|
|
@@ -4103,6 +4233,13 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
4103
4233
|
};
|
|
4104
4234
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
4105
4235
|
verified: boolean;
|
|
4236
|
+
} | {
|
|
4237
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
4238
|
+
id: string;
|
|
4239
|
+
identifier: {
|
|
4240
|
+
value: string;
|
|
4241
|
+
type: import("../../foundations/index.js").SignInIdentifier;
|
|
4242
|
+
};
|
|
4106
4243
|
} | {
|
|
4107
4244
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
4108
4245
|
id: string;
|
|
@@ -4134,6 +4271,16 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
4134
4271
|
avatar?: string | undefined;
|
|
4135
4272
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
4136
4273
|
} | undefined;
|
|
4274
|
+
} | {
|
|
4275
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
4276
|
+
id: string;
|
|
4277
|
+
userId: string;
|
|
4278
|
+
verified: boolean;
|
|
4279
|
+
} | {
|
|
4280
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
4281
|
+
id: string;
|
|
4282
|
+
userId: string;
|
|
4283
|
+
verified: boolean;
|
|
4137
4284
|
} | {
|
|
4138
4285
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
4139
4286
|
id: string;
|
|
@@ -4147,33 +4294,11 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
4147
4294
|
avatar?: string | undefined;
|
|
4148
4295
|
rawData?: import("@withtyped/server/lib/types.js").Json | undefined;
|
|
4149
4296
|
} | undefined;
|
|
4150
|
-
} | {
|
|
4151
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
4152
|
-
id: string;
|
|
4153
|
-
userId: string;
|
|
4154
|
-
verified: boolean;
|
|
4155
|
-
} | {
|
|
4156
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
4157
|
-
id: string;
|
|
4158
|
-
userId: string;
|
|
4159
|
-
code?: string | undefined;
|
|
4160
|
-
} | {
|
|
4161
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
4162
|
-
id: string;
|
|
4163
|
-
userId: string;
|
|
4164
|
-
verified: boolean;
|
|
4165
|
-
} | {
|
|
4166
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
4167
|
-
id: string;
|
|
4168
|
-
identifier: {
|
|
4169
|
-
value: string;
|
|
4170
|
-
type: import("../../foundations/index.js").SignInIdentifier;
|
|
4171
|
-
};
|
|
4172
4297
|
})[] | undefined;
|
|
4173
4298
|
} | undefined;
|
|
4174
4299
|
};
|
|
4175
|
-
script: string;
|
|
4176
4300
|
tokenType: LogtoJwtTokenKeyType.AccessToken;
|
|
4301
|
+
script: string;
|
|
4177
4302
|
environmentVariables?: Record<string, string> | undefined;
|
|
4178
4303
|
}>, z.ZodObject<{
|
|
4179
4304
|
token: z.ZodObject<{
|
|
@@ -4206,8 +4331,8 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
4206
4331
|
aud?: string | string[] | undefined;
|
|
4207
4332
|
clientId?: string | undefined;
|
|
4208
4333
|
};
|
|
4209
|
-
script: string;
|
|
4210
4334
|
tokenType: LogtoJwtTokenKeyType.ClientCredentials;
|
|
4335
|
+
script: string;
|
|
4211
4336
|
environmentVariables?: Record<string, string> | undefined;
|
|
4212
4337
|
}, {
|
|
4213
4338
|
token: {
|
|
@@ -4217,8 +4342,8 @@ export declare const jwtCustomizerTestRequestBodyGuard: z.ZodDiscriminatedUnion<
|
|
|
4217
4342
|
aud?: string | string[] | undefined;
|
|
4218
4343
|
clientId?: string | undefined;
|
|
4219
4344
|
};
|
|
4220
|
-
script: string;
|
|
4221
4345
|
tokenType: LogtoJwtTokenKeyType.ClientCredentials;
|
|
4346
|
+
script: string;
|
|
4222
4347
|
environmentVariables?: Record<string, string> | undefined;
|
|
4223
4348
|
}>]>;
|
|
4224
4349
|
export type JwtCustomizerTestRequestBody = z.infer<typeof jwtCustomizerTestRequestBodyGuard>;
|
|
@@ -4233,14 +4358,14 @@ export declare const customJwtFetcherGuard: z.ZodDiscriminatedUnion<"tokenType",
|
|
|
4233
4358
|
}, "strip", z.ZodTypeAny, {
|
|
4234
4359
|
token: Record<string, import("@withtyped/server/lib/types.js").Json>;
|
|
4235
4360
|
context: Record<string, import("@withtyped/server/lib/types.js").Json>;
|
|
4236
|
-
script: string;
|
|
4237
4361
|
tokenType: LogtoJwtTokenKeyType.AccessToken;
|
|
4362
|
+
script: string;
|
|
4238
4363
|
environmentVariables?: Record<string, string> | undefined;
|
|
4239
4364
|
}, {
|
|
4240
4365
|
token: Record<string, import("@withtyped/server/lib/types.js").Json>;
|
|
4241
4366
|
context: Record<string, import("@withtyped/server/lib/types.js").Json>;
|
|
4242
|
-
script: string;
|
|
4243
4367
|
tokenType: LogtoJwtTokenKeyType.AccessToken;
|
|
4368
|
+
script: string;
|
|
4244
4369
|
environmentVariables?: Record<string, string> | undefined;
|
|
4245
4370
|
}>, z.ZodObject<{
|
|
4246
4371
|
script: z.ZodString;
|
|
@@ -4251,13 +4376,13 @@ export declare const customJwtFetcherGuard: z.ZodDiscriminatedUnion<"tokenType",
|
|
|
4251
4376
|
tokenType: z.ZodLiteral<LogtoJwtTokenKeyType.ClientCredentials>;
|
|
4252
4377
|
}, "strip", z.ZodTypeAny, {
|
|
4253
4378
|
token: Record<string, import("@withtyped/server/lib/types.js").Json>;
|
|
4254
|
-
script: string;
|
|
4255
4379
|
tokenType: LogtoJwtTokenKeyType.ClientCredentials;
|
|
4380
|
+
script: string;
|
|
4256
4381
|
environmentVariables?: Record<string, string> | undefined;
|
|
4257
4382
|
}, {
|
|
4258
4383
|
token: Record<string, import("@withtyped/server/lib/types.js").Json>;
|
|
4259
|
-
script: string;
|
|
4260
4384
|
tokenType: LogtoJwtTokenKeyType.ClientCredentials;
|
|
4385
|
+
script: string;
|
|
4261
4386
|
environmentVariables?: Record<string, string> | undefined;
|
|
4262
4387
|
}>]>;
|
|
4263
4388
|
export type CustomJwtFetcher = z.infer<typeof customJwtFetcherGuard>;
|