@logto/schemas 1.29.0 → 1.30.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/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 +7 -7
- 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
|
@@ -548,6 +548,41 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
548
548
|
avatar?: string | undefined;
|
|
549
549
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
550
550
|
}>>;
|
|
551
|
+
encryptedTokenSet: z.ZodOptional<z.ZodObject<{
|
|
552
|
+
encryptedTokenSetBase64: z.ZodString;
|
|
553
|
+
metadata: z.ZodObject<{
|
|
554
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
555
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
556
|
+
tokenType: z.ZodOptional<z.ZodString>;
|
|
557
|
+
hasRefreshToken: z.ZodBoolean;
|
|
558
|
+
}, "strip", z.ZodTypeAny, {
|
|
559
|
+
hasRefreshToken: boolean;
|
|
560
|
+
scope?: string | undefined;
|
|
561
|
+
expiresAt?: number | undefined;
|
|
562
|
+
tokenType?: string | undefined;
|
|
563
|
+
}, {
|
|
564
|
+
hasRefreshToken: boolean;
|
|
565
|
+
scope?: string | undefined;
|
|
566
|
+
expiresAt?: number | undefined;
|
|
567
|
+
tokenType?: string | undefined;
|
|
568
|
+
}>;
|
|
569
|
+
}, "strip", z.ZodTypeAny, {
|
|
570
|
+
metadata: {
|
|
571
|
+
hasRefreshToken: boolean;
|
|
572
|
+
scope?: string | undefined;
|
|
573
|
+
expiresAt?: number | undefined;
|
|
574
|
+
tokenType?: string | undefined;
|
|
575
|
+
};
|
|
576
|
+
encryptedTokenSetBase64: string;
|
|
577
|
+
}, {
|
|
578
|
+
metadata: {
|
|
579
|
+
hasRefreshToken: boolean;
|
|
580
|
+
scope?: string | undefined;
|
|
581
|
+
expiresAt?: number | undefined;
|
|
582
|
+
tokenType?: string | undefined;
|
|
583
|
+
};
|
|
584
|
+
encryptedTokenSetBase64: string;
|
|
585
|
+
}>>;
|
|
551
586
|
connectorSession: z.ZodOptional<z.ZodObject<{
|
|
552
587
|
nonce: z.ZodOptional<z.ZodString>;
|
|
553
588
|
redirectUri: z.ZodOptional<z.ZodString>;
|
|
@@ -570,7 +605,7 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
570
605
|
jti: z.ZodOptional<z.ZodString>;
|
|
571
606
|
state: z.ZodOptional<z.ZodString>;
|
|
572
607
|
}, z.ZodUnknown, "strip">>>;
|
|
573
|
-
}, "connectorSession">, "strip", z.ZodTypeAny, {
|
|
608
|
+
}, "encryptedTokenSet" | "connectorSession">, "strip", z.ZodTypeAny, {
|
|
574
609
|
type: import("../index.js").VerificationType.Social;
|
|
575
610
|
id: string;
|
|
576
611
|
connectorId: string;
|
|
@@ -595,10 +630,10 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
595
630
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
596
631
|
} | undefined;
|
|
597
632
|
}>, z.ZodObject<{
|
|
598
|
-
id: z.ZodString;
|
|
599
|
-
connectorId: z.ZodString;
|
|
600
633
|
type: z.ZodLiteral<import("../index.js").VerificationType.EnterpriseSso>;
|
|
634
|
+
id: z.ZodString;
|
|
601
635
|
issuer: z.ZodOptional<z.ZodString>;
|
|
636
|
+
connectorId: z.ZodString;
|
|
602
637
|
} & {
|
|
603
638
|
enterpriseSsoUserInfo: z.ZodOptional<z.ZodObject<{
|
|
604
639
|
id: z.ZodString;
|
|
@@ -799,6 +834,11 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
799
834
|
userId?: string | undefined;
|
|
800
835
|
interactionEvent?: import("../interactions.js").InteractionEvent | undefined;
|
|
801
836
|
verificationRecords?: ({
|
|
837
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
838
|
+
id: string;
|
|
839
|
+
userId: string;
|
|
840
|
+
code?: string | undefined;
|
|
841
|
+
} | {
|
|
802
842
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
803
843
|
id: string;
|
|
804
844
|
identifier: {
|
|
@@ -816,6 +856,13 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
816
856
|
};
|
|
817
857
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
818
858
|
verified: boolean;
|
|
859
|
+
} | {
|
|
860
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
861
|
+
id: string;
|
|
862
|
+
identifier: {
|
|
863
|
+
value: string;
|
|
864
|
+
type: import("../../index.js").SignInIdentifier;
|
|
865
|
+
};
|
|
819
866
|
} | {
|
|
820
867
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
821
868
|
id: string;
|
|
@@ -847,6 +894,16 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
847
894
|
avatar?: string | undefined;
|
|
848
895
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
849
896
|
} | undefined;
|
|
897
|
+
} | {
|
|
898
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
899
|
+
id: string;
|
|
900
|
+
userId: string;
|
|
901
|
+
verified: boolean;
|
|
902
|
+
} | {
|
|
903
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
904
|
+
id: string;
|
|
905
|
+
userId: string;
|
|
906
|
+
verified: boolean;
|
|
850
907
|
} | {
|
|
851
908
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
852
909
|
id: string;
|
|
@@ -860,33 +917,16 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
860
917
|
avatar?: string | undefined;
|
|
861
918
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
862
919
|
} | undefined;
|
|
863
|
-
} | {
|
|
864
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
865
|
-
id: string;
|
|
866
|
-
userId: string;
|
|
867
|
-
verified: boolean;
|
|
868
|
-
} | {
|
|
869
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
870
|
-
id: string;
|
|
871
|
-
userId: string;
|
|
872
|
-
code?: string | undefined;
|
|
873
|
-
} | {
|
|
874
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
875
|
-
id: string;
|
|
876
|
-
userId: string;
|
|
877
|
-
verified: boolean;
|
|
878
|
-
} | {
|
|
879
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
880
|
-
id: string;
|
|
881
|
-
identifier: {
|
|
882
|
-
value: string;
|
|
883
|
-
type: import("../../index.js").SignInIdentifier;
|
|
884
|
-
};
|
|
885
920
|
})[] | undefined;
|
|
886
921
|
}, {
|
|
887
922
|
userId?: string | undefined;
|
|
888
923
|
interactionEvent?: import("../interactions.js").InteractionEvent | undefined;
|
|
889
924
|
verificationRecords?: ({
|
|
925
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
926
|
+
id: string;
|
|
927
|
+
userId: string;
|
|
928
|
+
code?: string | undefined;
|
|
929
|
+
} | {
|
|
890
930
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
891
931
|
id: string;
|
|
892
932
|
identifier: {
|
|
@@ -904,6 +944,13 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
904
944
|
};
|
|
905
945
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
906
946
|
verified: boolean;
|
|
947
|
+
} | {
|
|
948
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
949
|
+
id: string;
|
|
950
|
+
identifier: {
|
|
951
|
+
value: string;
|
|
952
|
+
type: import("../../index.js").SignInIdentifier;
|
|
953
|
+
};
|
|
907
954
|
} | {
|
|
908
955
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
909
956
|
id: string;
|
|
@@ -935,6 +982,16 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
935
982
|
avatar?: string | undefined;
|
|
936
983
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
937
984
|
} | undefined;
|
|
985
|
+
} | {
|
|
986
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
987
|
+
id: string;
|
|
988
|
+
userId: string;
|
|
989
|
+
verified: boolean;
|
|
990
|
+
} | {
|
|
991
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
992
|
+
id: string;
|
|
993
|
+
userId: string;
|
|
994
|
+
verified: boolean;
|
|
938
995
|
} | {
|
|
939
996
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
940
997
|
id: string;
|
|
@@ -948,28 +1005,6 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
948
1005
|
avatar?: string | undefined;
|
|
949
1006
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
950
1007
|
} | undefined;
|
|
951
|
-
} | {
|
|
952
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
953
|
-
id: string;
|
|
954
|
-
userId: string;
|
|
955
|
-
verified: boolean;
|
|
956
|
-
} | {
|
|
957
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
958
|
-
id: string;
|
|
959
|
-
userId: string;
|
|
960
|
-
code?: string | undefined;
|
|
961
|
-
} | {
|
|
962
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
963
|
-
id: string;
|
|
964
|
-
userId: string;
|
|
965
|
-
verified: boolean;
|
|
966
|
-
} | {
|
|
967
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
968
|
-
id: string;
|
|
969
|
-
identifier: {
|
|
970
|
-
value: string;
|
|
971
|
-
type: import("../../index.js").SignInIdentifier;
|
|
972
|
-
};
|
|
973
1008
|
})[] | undefined;
|
|
974
1009
|
}>>;
|
|
975
1010
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1049,6 +1084,11 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1049
1084
|
userId?: string | undefined;
|
|
1050
1085
|
interactionEvent?: import("../interactions.js").InteractionEvent | undefined;
|
|
1051
1086
|
verificationRecords?: ({
|
|
1087
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
1088
|
+
id: string;
|
|
1089
|
+
userId: string;
|
|
1090
|
+
code?: string | undefined;
|
|
1091
|
+
} | {
|
|
1052
1092
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
1053
1093
|
id: string;
|
|
1054
1094
|
identifier: {
|
|
@@ -1066,6 +1106,13 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1066
1106
|
};
|
|
1067
1107
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
1068
1108
|
verified: boolean;
|
|
1109
|
+
} | {
|
|
1110
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1111
|
+
id: string;
|
|
1112
|
+
identifier: {
|
|
1113
|
+
value: string;
|
|
1114
|
+
type: import("../../index.js").SignInIdentifier;
|
|
1115
|
+
};
|
|
1069
1116
|
} | {
|
|
1070
1117
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
1071
1118
|
id: string;
|
|
@@ -1097,6 +1144,16 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1097
1144
|
avatar?: string | undefined;
|
|
1098
1145
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
1099
1146
|
} | undefined;
|
|
1147
|
+
} | {
|
|
1148
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
1149
|
+
id: string;
|
|
1150
|
+
userId: string;
|
|
1151
|
+
verified: boolean;
|
|
1152
|
+
} | {
|
|
1153
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
1154
|
+
id: string;
|
|
1155
|
+
userId: string;
|
|
1156
|
+
verified: boolean;
|
|
1100
1157
|
} | {
|
|
1101
1158
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
1102
1159
|
id: string;
|
|
@@ -1110,28 +1167,6 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1110
1167
|
avatar?: string | undefined;
|
|
1111
1168
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
1112
1169
|
} | undefined;
|
|
1113
|
-
} | {
|
|
1114
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
1115
|
-
id: string;
|
|
1116
|
-
userId: string;
|
|
1117
|
-
verified: boolean;
|
|
1118
|
-
} | {
|
|
1119
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
1120
|
-
id: string;
|
|
1121
|
-
userId: string;
|
|
1122
|
-
code?: string | undefined;
|
|
1123
|
-
} | {
|
|
1124
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
1125
|
-
id: string;
|
|
1126
|
-
userId: string;
|
|
1127
|
-
verified: boolean;
|
|
1128
|
-
} | {
|
|
1129
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1130
|
-
id: string;
|
|
1131
|
-
identifier: {
|
|
1132
|
-
value: string;
|
|
1133
|
-
type: import("../../index.js").SignInIdentifier;
|
|
1134
|
-
};
|
|
1135
1170
|
})[] | undefined;
|
|
1136
1171
|
} | undefined;
|
|
1137
1172
|
}, {
|
|
@@ -1211,6 +1246,11 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1211
1246
|
userId?: string | undefined;
|
|
1212
1247
|
interactionEvent?: import("../interactions.js").InteractionEvent | undefined;
|
|
1213
1248
|
verificationRecords?: ({
|
|
1249
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
1250
|
+
id: string;
|
|
1251
|
+
userId: string;
|
|
1252
|
+
code?: string | undefined;
|
|
1253
|
+
} | {
|
|
1214
1254
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
1215
1255
|
id: string;
|
|
1216
1256
|
identifier: {
|
|
@@ -1228,6 +1268,13 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1228
1268
|
};
|
|
1229
1269
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
1230
1270
|
verified: boolean;
|
|
1271
|
+
} | {
|
|
1272
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1273
|
+
id: string;
|
|
1274
|
+
identifier: {
|
|
1275
|
+
value: string;
|
|
1276
|
+
type: import("../../index.js").SignInIdentifier;
|
|
1277
|
+
};
|
|
1231
1278
|
} | {
|
|
1232
1279
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
1233
1280
|
id: string;
|
|
@@ -1259,6 +1306,16 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1259
1306
|
avatar?: string | undefined;
|
|
1260
1307
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
1261
1308
|
} | undefined;
|
|
1309
|
+
} | {
|
|
1310
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
1311
|
+
id: string;
|
|
1312
|
+
userId: string;
|
|
1313
|
+
verified: boolean;
|
|
1314
|
+
} | {
|
|
1315
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
1316
|
+
id: string;
|
|
1317
|
+
userId: string;
|
|
1318
|
+
verified: boolean;
|
|
1262
1319
|
} | {
|
|
1263
1320
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
1264
1321
|
id: string;
|
|
@@ -1272,28 +1329,6 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1272
1329
|
avatar?: string | undefined;
|
|
1273
1330
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
1274
1331
|
} | undefined;
|
|
1275
|
-
} | {
|
|
1276
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
1277
|
-
id: string;
|
|
1278
|
-
userId: string;
|
|
1279
|
-
verified: boolean;
|
|
1280
|
-
} | {
|
|
1281
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
1282
|
-
id: string;
|
|
1283
|
-
userId: string;
|
|
1284
|
-
code?: string | undefined;
|
|
1285
|
-
} | {
|
|
1286
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
1287
|
-
id: string;
|
|
1288
|
-
userId: string;
|
|
1289
|
-
verified: boolean;
|
|
1290
|
-
} | {
|
|
1291
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1292
|
-
id: string;
|
|
1293
|
-
identifier: {
|
|
1294
|
-
value: string;
|
|
1295
|
-
type: import("../../index.js").SignInIdentifier;
|
|
1296
|
-
};
|
|
1297
1332
|
})[] | undefined;
|
|
1298
1333
|
} | undefined;
|
|
1299
1334
|
}>>;
|
|
@@ -1377,6 +1412,11 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1377
1412
|
userId?: string | undefined;
|
|
1378
1413
|
interactionEvent?: import("../interactions.js").InteractionEvent | undefined;
|
|
1379
1414
|
verificationRecords?: ({
|
|
1415
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
1416
|
+
id: string;
|
|
1417
|
+
userId: string;
|
|
1418
|
+
code?: string | undefined;
|
|
1419
|
+
} | {
|
|
1380
1420
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
1381
1421
|
id: string;
|
|
1382
1422
|
identifier: {
|
|
@@ -1394,6 +1434,13 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1394
1434
|
};
|
|
1395
1435
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
1396
1436
|
verified: boolean;
|
|
1437
|
+
} | {
|
|
1438
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1439
|
+
id: string;
|
|
1440
|
+
identifier: {
|
|
1441
|
+
value: string;
|
|
1442
|
+
type: import("../../index.js").SignInIdentifier;
|
|
1443
|
+
};
|
|
1397
1444
|
} | {
|
|
1398
1445
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
1399
1446
|
id: string;
|
|
@@ -1425,6 +1472,16 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1425
1472
|
avatar?: string | undefined;
|
|
1426
1473
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
1427
1474
|
} | undefined;
|
|
1475
|
+
} | {
|
|
1476
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
1477
|
+
id: string;
|
|
1478
|
+
userId: string;
|
|
1479
|
+
verified: boolean;
|
|
1480
|
+
} | {
|
|
1481
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
1482
|
+
id: string;
|
|
1483
|
+
userId: string;
|
|
1484
|
+
verified: boolean;
|
|
1428
1485
|
} | {
|
|
1429
1486
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
1430
1487
|
id: string;
|
|
@@ -1438,28 +1495,6 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1438
1495
|
avatar?: string | undefined;
|
|
1439
1496
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
1440
1497
|
} | undefined;
|
|
1441
|
-
} | {
|
|
1442
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
1443
|
-
id: string;
|
|
1444
|
-
userId: string;
|
|
1445
|
-
verified: boolean;
|
|
1446
|
-
} | {
|
|
1447
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
1448
|
-
id: string;
|
|
1449
|
-
userId: string;
|
|
1450
|
-
code?: string | undefined;
|
|
1451
|
-
} | {
|
|
1452
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
1453
|
-
id: string;
|
|
1454
|
-
userId: string;
|
|
1455
|
-
verified: boolean;
|
|
1456
|
-
} | {
|
|
1457
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1458
|
-
id: string;
|
|
1459
|
-
identifier: {
|
|
1460
|
-
value: string;
|
|
1461
|
-
type: import("../../index.js").SignInIdentifier;
|
|
1462
|
-
};
|
|
1463
1498
|
})[] | undefined;
|
|
1464
1499
|
} | undefined;
|
|
1465
1500
|
} | undefined;
|
|
@@ -1556,6 +1591,11 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1556
1591
|
userId?: string | undefined;
|
|
1557
1592
|
interactionEvent?: import("../interactions.js").InteractionEvent | undefined;
|
|
1558
1593
|
verificationRecords?: ({
|
|
1594
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
1595
|
+
id: string;
|
|
1596
|
+
userId: string;
|
|
1597
|
+
code?: string | undefined;
|
|
1598
|
+
} | {
|
|
1559
1599
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
1560
1600
|
id: string;
|
|
1561
1601
|
identifier: {
|
|
@@ -1573,6 +1613,13 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1573
1613
|
};
|
|
1574
1614
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
1575
1615
|
verified: boolean;
|
|
1616
|
+
} | {
|
|
1617
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1618
|
+
id: string;
|
|
1619
|
+
identifier: {
|
|
1620
|
+
value: string;
|
|
1621
|
+
type: import("../../index.js").SignInIdentifier;
|
|
1622
|
+
};
|
|
1576
1623
|
} | {
|
|
1577
1624
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
1578
1625
|
id: string;
|
|
@@ -1604,6 +1651,16 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1604
1651
|
avatar?: string | undefined;
|
|
1605
1652
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
1606
1653
|
} | undefined;
|
|
1654
|
+
} | {
|
|
1655
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
1656
|
+
id: string;
|
|
1657
|
+
userId: string;
|
|
1658
|
+
verified: boolean;
|
|
1659
|
+
} | {
|
|
1660
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
1661
|
+
id: string;
|
|
1662
|
+
userId: string;
|
|
1663
|
+
verified: boolean;
|
|
1607
1664
|
} | {
|
|
1608
1665
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
1609
1666
|
id: string;
|
|
@@ -1617,28 +1674,6 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1617
1674
|
avatar?: string | undefined;
|
|
1618
1675
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
1619
1676
|
} | undefined;
|
|
1620
|
-
} | {
|
|
1621
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
1622
|
-
id: string;
|
|
1623
|
-
userId: string;
|
|
1624
|
-
verified: boolean;
|
|
1625
|
-
} | {
|
|
1626
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
1627
|
-
id: string;
|
|
1628
|
-
userId: string;
|
|
1629
|
-
code?: string | undefined;
|
|
1630
|
-
} | {
|
|
1631
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
1632
|
-
id: string;
|
|
1633
|
-
userId: string;
|
|
1634
|
-
verified: boolean;
|
|
1635
|
-
} | {
|
|
1636
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1637
|
-
id: string;
|
|
1638
|
-
identifier: {
|
|
1639
|
-
value: string;
|
|
1640
|
-
type: import("../../index.js").SignInIdentifier;
|
|
1641
|
-
};
|
|
1642
1677
|
})[] | undefined;
|
|
1643
1678
|
} | undefined;
|
|
1644
1679
|
} | undefined;
|
|
@@ -1737,6 +1772,11 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1737
1772
|
userId?: string | undefined;
|
|
1738
1773
|
interactionEvent?: import("../interactions.js").InteractionEvent | undefined;
|
|
1739
1774
|
verificationRecords?: ({
|
|
1775
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
1776
|
+
id: string;
|
|
1777
|
+
userId: string;
|
|
1778
|
+
code?: string | undefined;
|
|
1779
|
+
} | {
|
|
1740
1780
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
1741
1781
|
id: string;
|
|
1742
1782
|
identifier: {
|
|
@@ -1754,6 +1794,13 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1754
1794
|
};
|
|
1755
1795
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
1756
1796
|
verified: boolean;
|
|
1797
|
+
} | {
|
|
1798
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1799
|
+
id: string;
|
|
1800
|
+
identifier: {
|
|
1801
|
+
value: string;
|
|
1802
|
+
type: import("../../index.js").SignInIdentifier;
|
|
1803
|
+
};
|
|
1757
1804
|
} | {
|
|
1758
1805
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
1759
1806
|
id: string;
|
|
@@ -1785,6 +1832,16 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1785
1832
|
avatar?: string | undefined;
|
|
1786
1833
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
1787
1834
|
} | undefined;
|
|
1835
|
+
} | {
|
|
1836
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
1837
|
+
id: string;
|
|
1838
|
+
userId: string;
|
|
1839
|
+
verified: boolean;
|
|
1840
|
+
} | {
|
|
1841
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
1842
|
+
id: string;
|
|
1843
|
+
userId: string;
|
|
1844
|
+
verified: boolean;
|
|
1788
1845
|
} | {
|
|
1789
1846
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
1790
1847
|
id: string;
|
|
@@ -1798,28 +1855,6 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1798
1855
|
avatar?: string | undefined;
|
|
1799
1856
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
1800
1857
|
} | undefined;
|
|
1801
|
-
} | {
|
|
1802
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
1803
|
-
id: string;
|
|
1804
|
-
userId: string;
|
|
1805
|
-
verified: boolean;
|
|
1806
|
-
} | {
|
|
1807
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
1808
|
-
id: string;
|
|
1809
|
-
userId: string;
|
|
1810
|
-
code?: string | undefined;
|
|
1811
|
-
} | {
|
|
1812
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
1813
|
-
id: string;
|
|
1814
|
-
userId: string;
|
|
1815
|
-
verified: boolean;
|
|
1816
|
-
} | {
|
|
1817
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1818
|
-
id: string;
|
|
1819
|
-
identifier: {
|
|
1820
|
-
value: string;
|
|
1821
|
-
type: import("../../index.js").SignInIdentifier;
|
|
1822
|
-
};
|
|
1823
1858
|
})[] | undefined;
|
|
1824
1859
|
} | undefined;
|
|
1825
1860
|
} | undefined;
|
|
@@ -1919,6 +1954,11 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1919
1954
|
userId?: string | undefined;
|
|
1920
1955
|
interactionEvent?: import("../interactions.js").InteractionEvent | undefined;
|
|
1921
1956
|
verificationRecords?: ({
|
|
1957
|
+
type: import("../index.js").VerificationType.BackupCode;
|
|
1958
|
+
id: string;
|
|
1959
|
+
userId: string;
|
|
1960
|
+
code?: string | undefined;
|
|
1961
|
+
} | {
|
|
1922
1962
|
type: import("../index.js").VerificationType.EmailVerificationCode;
|
|
1923
1963
|
id: string;
|
|
1924
1964
|
identifier: {
|
|
@@ -1936,6 +1976,13 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1936
1976
|
};
|
|
1937
1977
|
templateType: import("@logto/connector-kit").TemplateType;
|
|
1938
1978
|
verified: boolean;
|
|
1979
|
+
} | {
|
|
1980
|
+
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
1981
|
+
id: string;
|
|
1982
|
+
identifier: {
|
|
1983
|
+
value: string;
|
|
1984
|
+
type: import("../../index.js").SignInIdentifier;
|
|
1985
|
+
};
|
|
1939
1986
|
} | {
|
|
1940
1987
|
type: import("../index.js").VerificationType.OneTimeToken;
|
|
1941
1988
|
id: string;
|
|
@@ -1967,6 +2014,16 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1967
2014
|
avatar?: string | undefined;
|
|
1968
2015
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
1969
2016
|
} | undefined;
|
|
2017
|
+
} | {
|
|
2018
|
+
type: import("../index.js").VerificationType.TOTP;
|
|
2019
|
+
id: string;
|
|
2020
|
+
userId: string;
|
|
2021
|
+
verified: boolean;
|
|
2022
|
+
} | {
|
|
2023
|
+
type: import("../index.js").VerificationType.WebAuthn;
|
|
2024
|
+
id: string;
|
|
2025
|
+
userId: string;
|
|
2026
|
+
verified: boolean;
|
|
1970
2027
|
} | {
|
|
1971
2028
|
type: import("../index.js").VerificationType.EnterpriseSso;
|
|
1972
2029
|
id: string;
|
|
@@ -1980,28 +2037,6 @@ export declare const jwtCustomizerConfigsGuard: z.ZodDiscriminatedUnion<"key", [
|
|
|
1980
2037
|
avatar?: string | undefined;
|
|
1981
2038
|
rawData?: import("@withtyped/server").Json | undefined;
|
|
1982
2039
|
} | undefined;
|
|
1983
|
-
} | {
|
|
1984
|
-
type: import("../index.js").VerificationType.TOTP;
|
|
1985
|
-
id: string;
|
|
1986
|
-
userId: string;
|
|
1987
|
-
verified: boolean;
|
|
1988
|
-
} | {
|
|
1989
|
-
type: import("../index.js").VerificationType.BackupCode;
|
|
1990
|
-
id: string;
|
|
1991
|
-
userId: string;
|
|
1992
|
-
code?: string | undefined;
|
|
1993
|
-
} | {
|
|
1994
|
-
type: import("../index.js").VerificationType.WebAuthn;
|
|
1995
|
-
id: string;
|
|
1996
|
-
userId: string;
|
|
1997
|
-
verified: boolean;
|
|
1998
|
-
} | {
|
|
1999
|
-
type: import("../index.js").VerificationType.NewPasswordIdentity;
|
|
2000
|
-
id: string;
|
|
2001
|
-
identifier: {
|
|
2002
|
-
value: string;
|
|
2003
|
-
type: import("../../index.js").SignInIdentifier;
|
|
2004
|
-
};
|
|
2005
2040
|
})[] | undefined;
|
|
2006
2041
|
} | undefined;
|
|
2007
2042
|
} | undefined;
|