@authhero/kysely-adapter 0.9.0 → 0.9.2
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/dist/kysely-adapter.cjs +1 -1
- package/dist/kysely-adapter.d.ts +130 -118
- package/dist/kysely-adapter.iife.js +1 -1
- package/dist/kysely-adapter.mjs +315 -298
- package/package.json +2 -2
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -245,12 +245,12 @@ export type User = z.infer<typeof userSchema>;
|
|
|
245
245
|
declare const applicationInsertSchema: z.ZodObject<{
|
|
246
246
|
id: z.ZodString;
|
|
247
247
|
name: z.ZodString;
|
|
248
|
-
callbacks: z.ZodArray<z.ZodString, "many"
|
|
249
|
-
allowed_origins: z.ZodArray<z.ZodString, "many"
|
|
250
|
-
web_origins: z.ZodArray<z.ZodString, "many"
|
|
251
|
-
allowed_logout_urls: z.ZodArray<z.ZodString, "many"
|
|
252
|
-
allowed_clients: z.ZodArray<z.ZodString, "many"
|
|
253
|
-
addons: z.
|
|
248
|
+
callbacks: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
249
|
+
allowed_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
250
|
+
web_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
251
|
+
allowed_logout_urls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
252
|
+
allowed_clients: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
253
|
+
addons: z.ZodDefault<z.ZodObject<{
|
|
254
254
|
samlp: z.ZodOptional<z.ZodObject<{
|
|
255
255
|
audience: z.ZodOptional<z.ZodString>;
|
|
256
256
|
recipient: z.ZodOptional<z.ZodString>;
|
|
@@ -357,10 +357,7 @@ declare const applicationInsertSchema: z.ZodObject<{
|
|
|
357
357
|
web_origins: string[];
|
|
358
358
|
allowed_logout_urls: string[];
|
|
359
359
|
allowed_clients: string[];
|
|
360
|
-
|
|
361
|
-
client_secret: string;
|
|
362
|
-
disable_sign_ups: boolean;
|
|
363
|
-
addons?: {
|
|
360
|
+
addons: {
|
|
364
361
|
samlp?: {
|
|
365
362
|
audience?: string | undefined;
|
|
366
363
|
recipient?: string | undefined;
|
|
@@ -379,15 +376,18 @@ declare const applicationInsertSchema: z.ZodObject<{
|
|
|
379
376
|
authnContextClassRef?: string | undefined;
|
|
380
377
|
mappings?: Record<string, string> | undefined;
|
|
381
378
|
} | undefined;
|
|
382
|
-
}
|
|
379
|
+
};
|
|
380
|
+
email_validation: "enabled" | "disabled" | "enforced";
|
|
381
|
+
client_secret: string;
|
|
382
|
+
disable_sign_ups: boolean;
|
|
383
383
|
}, {
|
|
384
384
|
name: string;
|
|
385
385
|
id: string;
|
|
386
|
-
callbacks
|
|
387
|
-
allowed_origins
|
|
388
|
-
web_origins
|
|
389
|
-
allowed_logout_urls
|
|
390
|
-
allowed_clients
|
|
386
|
+
callbacks?: string[] | undefined;
|
|
387
|
+
allowed_origins?: string[] | undefined;
|
|
388
|
+
web_origins?: string[] | undefined;
|
|
389
|
+
allowed_logout_urls?: string[] | undefined;
|
|
390
|
+
allowed_clients?: string[] | undefined;
|
|
391
391
|
addons?: {
|
|
392
392
|
samlp?: {
|
|
393
393
|
audience?: string | undefined;
|
|
@@ -416,12 +416,12 @@ export type ApplicationInsert = z.infer<typeof applicationInsertSchema>;
|
|
|
416
416
|
declare const applicationSchema: z.ZodObject<{
|
|
417
417
|
id: z.ZodString;
|
|
418
418
|
name: z.ZodString;
|
|
419
|
-
callbacks: z.ZodArray<z.ZodString, "many"
|
|
420
|
-
allowed_origins: z.ZodArray<z.ZodString, "many"
|
|
421
|
-
web_origins: z.ZodArray<z.ZodString, "many"
|
|
422
|
-
allowed_logout_urls: z.ZodArray<z.ZodString, "many"
|
|
423
|
-
allowed_clients: z.ZodArray<z.ZodString, "many"
|
|
424
|
-
addons: z.
|
|
419
|
+
callbacks: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
420
|
+
allowed_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
421
|
+
web_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
422
|
+
allowed_logout_urls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
423
|
+
allowed_clients: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
424
|
+
addons: z.ZodDefault<z.ZodObject<{
|
|
425
425
|
samlp: z.ZodOptional<z.ZodObject<{
|
|
426
426
|
audience: z.ZodOptional<z.ZodString>;
|
|
427
427
|
recipient: z.ZodOptional<z.ZodString>;
|
|
@@ -532,10 +532,7 @@ declare const applicationSchema: z.ZodObject<{
|
|
|
532
532
|
web_origins: string[];
|
|
533
533
|
allowed_logout_urls: string[];
|
|
534
534
|
allowed_clients: string[];
|
|
535
|
-
|
|
536
|
-
client_secret: string;
|
|
537
|
-
disable_sign_ups: boolean;
|
|
538
|
-
addons?: {
|
|
535
|
+
addons: {
|
|
539
536
|
samlp?: {
|
|
540
537
|
audience?: string | undefined;
|
|
541
538
|
recipient?: string | undefined;
|
|
@@ -554,17 +551,20 @@ declare const applicationSchema: z.ZodObject<{
|
|
|
554
551
|
authnContextClassRef?: string | undefined;
|
|
555
552
|
mappings?: Record<string, string> | undefined;
|
|
556
553
|
} | undefined;
|
|
557
|
-
}
|
|
554
|
+
};
|
|
555
|
+
email_validation: "enabled" | "disabled" | "enforced";
|
|
556
|
+
client_secret: string;
|
|
557
|
+
disable_sign_ups: boolean;
|
|
558
558
|
}, {
|
|
559
559
|
created_at: string;
|
|
560
560
|
updated_at: string;
|
|
561
561
|
name: string;
|
|
562
562
|
id: string;
|
|
563
|
-
callbacks
|
|
564
|
-
allowed_origins
|
|
565
|
-
web_origins
|
|
566
|
-
allowed_logout_urls
|
|
567
|
-
allowed_clients
|
|
563
|
+
callbacks?: string[] | undefined;
|
|
564
|
+
allowed_origins?: string[] | undefined;
|
|
565
|
+
web_origins?: string[] | undefined;
|
|
566
|
+
allowed_logout_urls?: string[] | undefined;
|
|
567
|
+
allowed_clients?: string[] | undefined;
|
|
568
568
|
addons?: {
|
|
569
569
|
samlp?: {
|
|
570
570
|
audience?: string | undefined;
|
|
@@ -758,9 +758,13 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
758
758
|
"facebook",
|
|
759
759
|
"vipps",
|
|
760
760
|
"apple",
|
|
761
|
-
"email"
|
|
761
|
+
"email",
|
|
762
|
+
"Username-Password-Authentication",
|
|
763
|
+
"oidc",
|
|
764
|
+
"oauth2",
|
|
765
|
+
"custom"
|
|
762
766
|
]>>;
|
|
763
|
-
options: z.ZodObject<{
|
|
767
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
764
768
|
kid: z.ZodOptional<z.ZodString>;
|
|
765
769
|
team_id: z.ZodOptional<z.ZodString>;
|
|
766
770
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -784,7 +788,7 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
784
788
|
team_id?: string | undefined;
|
|
785
789
|
realms?: string | undefined;
|
|
786
790
|
app_secret?: string | undefined;
|
|
787
|
-
}
|
|
791
|
+
}>>;
|
|
788
792
|
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
789
793
|
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
790
794
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -799,7 +803,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
799
803
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
800
804
|
scope: z.ZodOptional<z.ZodString>;
|
|
801
805
|
}>, "strip", z.ZodTypeAny, {
|
|
802
|
-
|
|
806
|
+
created_at: string;
|
|
807
|
+
updated_at: string;
|
|
808
|
+
name: string;
|
|
809
|
+
options?: {
|
|
803
810
|
client_secret?: string | undefined;
|
|
804
811
|
client_id?: string | undefined;
|
|
805
812
|
scope?: string | undefined;
|
|
@@ -807,17 +814,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
807
814
|
team_id?: string | undefined;
|
|
808
815
|
realms?: string | undefined;
|
|
809
816
|
app_secret?: string | undefined;
|
|
810
|
-
};
|
|
811
|
-
created_at: string;
|
|
812
|
-
updated_at: string;
|
|
813
|
-
name: string;
|
|
817
|
+
} | undefined;
|
|
814
818
|
id?: string | undefined;
|
|
815
819
|
client_secret?: string | undefined;
|
|
816
820
|
client_id?: string | undefined;
|
|
817
821
|
response_type?: AuthorizationResponseType | undefined;
|
|
818
822
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
819
823
|
scope?: string | undefined;
|
|
820
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
824
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
821
825
|
kid?: string | undefined;
|
|
822
826
|
team_id?: string | undefined;
|
|
823
827
|
enabled_clients?: string[] | undefined;
|
|
@@ -827,7 +831,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
827
831
|
token_exchange_basic_auth?: boolean | undefined;
|
|
828
832
|
userinfo_endpoint?: string | undefined;
|
|
829
833
|
}, {
|
|
830
|
-
|
|
834
|
+
created_at: string;
|
|
835
|
+
updated_at: string;
|
|
836
|
+
name: string;
|
|
837
|
+
options?: {
|
|
831
838
|
client_secret?: string | undefined;
|
|
832
839
|
client_id?: string | undefined;
|
|
833
840
|
scope?: string | undefined;
|
|
@@ -835,17 +842,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
835
842
|
team_id?: string | undefined;
|
|
836
843
|
realms?: string | undefined;
|
|
837
844
|
app_secret?: string | undefined;
|
|
838
|
-
};
|
|
839
|
-
created_at: string;
|
|
840
|
-
updated_at: string;
|
|
841
|
-
name: string;
|
|
845
|
+
} | undefined;
|
|
842
846
|
id?: string | undefined;
|
|
843
847
|
client_secret?: string | undefined;
|
|
844
848
|
client_id?: string | undefined;
|
|
845
849
|
response_type?: AuthorizationResponseType | undefined;
|
|
846
850
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
847
851
|
scope?: string | undefined;
|
|
848
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
852
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
849
853
|
kid?: string | undefined;
|
|
850
854
|
team_id?: string | undefined;
|
|
851
855
|
enabled_clients?: string[] | undefined;
|
|
@@ -857,12 +861,12 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
857
861
|
}>, "many">;
|
|
858
862
|
id: z.ZodString;
|
|
859
863
|
name: z.ZodString;
|
|
860
|
-
callbacks: z.ZodArray<z.ZodString, "many"
|
|
861
|
-
allowed_origins: z.ZodArray<z.ZodString, "many"
|
|
862
|
-
web_origins: z.ZodArray<z.ZodString, "many"
|
|
863
|
-
allowed_logout_urls: z.ZodArray<z.ZodString, "many"
|
|
864
|
-
allowed_clients: z.ZodArray<z.ZodString, "many"
|
|
865
|
-
addons: z.
|
|
864
|
+
callbacks: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
865
|
+
allowed_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
866
|
+
web_origins: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
867
|
+
allowed_logout_urls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
868
|
+
allowed_clients: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
869
|
+
addons: z.ZodDefault<z.ZodObject<{
|
|
866
870
|
samlp: z.ZodOptional<z.ZodObject<{
|
|
867
871
|
audience: z.ZodOptional<z.ZodString>;
|
|
868
872
|
recipient: z.ZodOptional<z.ZodString>;
|
|
@@ -973,6 +977,26 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
973
977
|
web_origins: string[];
|
|
974
978
|
allowed_logout_urls: string[];
|
|
975
979
|
allowed_clients: string[];
|
|
980
|
+
addons: {
|
|
981
|
+
samlp?: {
|
|
982
|
+
audience?: string | undefined;
|
|
983
|
+
recipient?: string | undefined;
|
|
984
|
+
createUpnClaim?: boolean | undefined;
|
|
985
|
+
mapUnknownClaimsAsIs?: boolean | undefined;
|
|
986
|
+
passthroughClaimsWithNoMapping?: boolean | undefined;
|
|
987
|
+
mapIdentities?: boolean | undefined;
|
|
988
|
+
signatureAlgorithm?: string | undefined;
|
|
989
|
+
digestAlgorithm?: string | undefined;
|
|
990
|
+
issuer?: string | undefined;
|
|
991
|
+
destination?: string | undefined;
|
|
992
|
+
lifetimeInSeconds?: number | undefined;
|
|
993
|
+
signResponse?: boolean | undefined;
|
|
994
|
+
nameIdentifierFormat?: string | undefined;
|
|
995
|
+
nameIdentifierProbes?: string[] | undefined;
|
|
996
|
+
authnContextClassRef?: string | undefined;
|
|
997
|
+
mappings?: Record<string, string> | undefined;
|
|
998
|
+
} | undefined;
|
|
999
|
+
};
|
|
976
1000
|
email_validation: "enabled" | "disabled" | "enforced";
|
|
977
1001
|
client_secret: string;
|
|
978
1002
|
disable_sign_ups: boolean;
|
|
@@ -998,7 +1022,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
998
1022
|
language?: string | undefined;
|
|
999
1023
|
};
|
|
1000
1024
|
connections: {
|
|
1001
|
-
|
|
1025
|
+
created_at: string;
|
|
1026
|
+
updated_at: string;
|
|
1027
|
+
name: string;
|
|
1028
|
+
options?: {
|
|
1002
1029
|
client_secret?: string | undefined;
|
|
1003
1030
|
client_id?: string | undefined;
|
|
1004
1031
|
scope?: string | undefined;
|
|
@@ -1006,17 +1033,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1006
1033
|
team_id?: string | undefined;
|
|
1007
1034
|
realms?: string | undefined;
|
|
1008
1035
|
app_secret?: string | undefined;
|
|
1009
|
-
};
|
|
1010
|
-
created_at: string;
|
|
1011
|
-
updated_at: string;
|
|
1012
|
-
name: string;
|
|
1036
|
+
} | undefined;
|
|
1013
1037
|
id?: string | undefined;
|
|
1014
1038
|
client_secret?: string | undefined;
|
|
1015
1039
|
client_id?: string | undefined;
|
|
1016
1040
|
response_type?: AuthorizationResponseType | undefined;
|
|
1017
1041
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1018
1042
|
scope?: string | undefined;
|
|
1019
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1043
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1020
1044
|
kid?: string | undefined;
|
|
1021
1045
|
team_id?: string | undefined;
|
|
1022
1046
|
enabled_clients?: string[] | undefined;
|
|
@@ -1026,36 +1050,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1026
1050
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1027
1051
|
userinfo_endpoint?: string | undefined;
|
|
1028
1052
|
}[];
|
|
1029
|
-
addons?: {
|
|
1030
|
-
samlp?: {
|
|
1031
|
-
audience?: string | undefined;
|
|
1032
|
-
recipient?: string | undefined;
|
|
1033
|
-
createUpnClaim?: boolean | undefined;
|
|
1034
|
-
mapUnknownClaimsAsIs?: boolean | undefined;
|
|
1035
|
-
passthroughClaimsWithNoMapping?: boolean | undefined;
|
|
1036
|
-
mapIdentities?: boolean | undefined;
|
|
1037
|
-
signatureAlgorithm?: string | undefined;
|
|
1038
|
-
digestAlgorithm?: string | undefined;
|
|
1039
|
-
issuer?: string | undefined;
|
|
1040
|
-
destination?: string | undefined;
|
|
1041
|
-
lifetimeInSeconds?: number | undefined;
|
|
1042
|
-
signResponse?: boolean | undefined;
|
|
1043
|
-
nameIdentifierFormat?: string | undefined;
|
|
1044
|
-
nameIdentifierProbes?: string[] | undefined;
|
|
1045
|
-
authnContextClassRef?: string | undefined;
|
|
1046
|
-
mappings?: Record<string, string> | undefined;
|
|
1047
|
-
} | undefined;
|
|
1048
|
-
} | undefined;
|
|
1049
1053
|
}, {
|
|
1050
1054
|
created_at: string;
|
|
1051
1055
|
updated_at: string;
|
|
1052
1056
|
name: string;
|
|
1053
1057
|
id: string;
|
|
1054
|
-
callbacks: string[];
|
|
1055
|
-
allowed_origins: string[];
|
|
1056
|
-
web_origins: string[];
|
|
1057
|
-
allowed_logout_urls: string[];
|
|
1058
|
-
allowed_clients: string[];
|
|
1059
1058
|
domains: {
|
|
1060
1059
|
domain: string;
|
|
1061
1060
|
dkim_private_key?: string | undefined;
|
|
@@ -1078,7 +1077,10 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1078
1077
|
language?: string | undefined;
|
|
1079
1078
|
};
|
|
1080
1079
|
connections: {
|
|
1081
|
-
|
|
1080
|
+
created_at: string;
|
|
1081
|
+
updated_at: string;
|
|
1082
|
+
name: string;
|
|
1083
|
+
options?: {
|
|
1082
1084
|
client_secret?: string | undefined;
|
|
1083
1085
|
client_id?: string | undefined;
|
|
1084
1086
|
scope?: string | undefined;
|
|
@@ -1086,17 +1088,14 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1086
1088
|
team_id?: string | undefined;
|
|
1087
1089
|
realms?: string | undefined;
|
|
1088
1090
|
app_secret?: string | undefined;
|
|
1089
|
-
};
|
|
1090
|
-
created_at: string;
|
|
1091
|
-
updated_at: string;
|
|
1092
|
-
name: string;
|
|
1091
|
+
} | undefined;
|
|
1093
1092
|
id?: string | undefined;
|
|
1094
1093
|
client_secret?: string | undefined;
|
|
1095
1094
|
client_id?: string | undefined;
|
|
1096
1095
|
response_type?: AuthorizationResponseType | undefined;
|
|
1097
1096
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1098
1097
|
scope?: string | undefined;
|
|
1099
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1098
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1100
1099
|
kid?: string | undefined;
|
|
1101
1100
|
team_id?: string | undefined;
|
|
1102
1101
|
enabled_clients?: string[] | undefined;
|
|
@@ -1106,6 +1105,11 @@ declare const ClientSchema: z.ZodObject<{
|
|
|
1106
1105
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1107
1106
|
userinfo_endpoint?: string | undefined;
|
|
1108
1107
|
}[];
|
|
1108
|
+
callbacks?: string[] | undefined;
|
|
1109
|
+
allowed_origins?: string[] | undefined;
|
|
1110
|
+
web_origins?: string[] | undefined;
|
|
1111
|
+
allowed_logout_urls?: string[] | undefined;
|
|
1112
|
+
allowed_clients?: string[] | undefined;
|
|
1109
1113
|
addons?: {
|
|
1110
1114
|
samlp?: {
|
|
1111
1115
|
audience?: string | undefined;
|
|
@@ -1217,9 +1221,13 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1217
1221
|
"facebook",
|
|
1218
1222
|
"vipps",
|
|
1219
1223
|
"apple",
|
|
1220
|
-
"email"
|
|
1224
|
+
"email",
|
|
1225
|
+
"Username-Password-Authentication",
|
|
1226
|
+
"oidc",
|
|
1227
|
+
"oauth2",
|
|
1228
|
+
"custom"
|
|
1221
1229
|
]>>;
|
|
1222
|
-
options: z.ZodObject<{
|
|
1230
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1223
1231
|
kid: z.ZodOptional<z.ZodString>;
|
|
1224
1232
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1225
1233
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1243,7 +1251,7 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1243
1251
|
team_id?: string | undefined;
|
|
1244
1252
|
realms?: string | undefined;
|
|
1245
1253
|
app_secret?: string | undefined;
|
|
1246
|
-
}
|
|
1254
|
+
}>>;
|
|
1247
1255
|
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1248
1256
|
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1249
1257
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1258,7 +1266,8 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1258
1266
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1259
1267
|
scope: z.ZodOptional<z.ZodString>;
|
|
1260
1268
|
}, "strip", z.ZodTypeAny, {
|
|
1261
|
-
|
|
1269
|
+
name: string;
|
|
1270
|
+
options?: {
|
|
1262
1271
|
client_secret?: string | undefined;
|
|
1263
1272
|
client_id?: string | undefined;
|
|
1264
1273
|
scope?: string | undefined;
|
|
@@ -1266,15 +1275,14 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1266
1275
|
team_id?: string | undefined;
|
|
1267
1276
|
realms?: string | undefined;
|
|
1268
1277
|
app_secret?: string | undefined;
|
|
1269
|
-
};
|
|
1270
|
-
name: string;
|
|
1278
|
+
} | undefined;
|
|
1271
1279
|
id?: string | undefined;
|
|
1272
1280
|
client_secret?: string | undefined;
|
|
1273
1281
|
client_id?: string | undefined;
|
|
1274
1282
|
response_type?: AuthorizationResponseType | undefined;
|
|
1275
1283
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1276
1284
|
scope?: string | undefined;
|
|
1277
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1285
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1278
1286
|
kid?: string | undefined;
|
|
1279
1287
|
team_id?: string | undefined;
|
|
1280
1288
|
enabled_clients?: string[] | undefined;
|
|
@@ -1284,7 +1292,8 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1284
1292
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1285
1293
|
userinfo_endpoint?: string | undefined;
|
|
1286
1294
|
}, {
|
|
1287
|
-
|
|
1295
|
+
name: string;
|
|
1296
|
+
options?: {
|
|
1288
1297
|
client_secret?: string | undefined;
|
|
1289
1298
|
client_id?: string | undefined;
|
|
1290
1299
|
scope?: string | undefined;
|
|
@@ -1292,15 +1301,14 @@ declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1292
1301
|
team_id?: string | undefined;
|
|
1293
1302
|
realms?: string | undefined;
|
|
1294
1303
|
app_secret?: string | undefined;
|
|
1295
|
-
};
|
|
1296
|
-
name: string;
|
|
1304
|
+
} | undefined;
|
|
1297
1305
|
id?: string | undefined;
|
|
1298
1306
|
client_secret?: string | undefined;
|
|
1299
1307
|
client_id?: string | undefined;
|
|
1300
1308
|
response_type?: AuthorizationResponseType | undefined;
|
|
1301
1309
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1302
1310
|
scope?: string | undefined;
|
|
1303
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1311
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1304
1312
|
kid?: string | undefined;
|
|
1305
1313
|
team_id?: string | undefined;
|
|
1306
1314
|
enabled_clients?: string[] | undefined;
|
|
@@ -1323,9 +1331,13 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1323
1331
|
"facebook",
|
|
1324
1332
|
"vipps",
|
|
1325
1333
|
"apple",
|
|
1326
|
-
"email"
|
|
1334
|
+
"email",
|
|
1335
|
+
"Username-Password-Authentication",
|
|
1336
|
+
"oidc",
|
|
1337
|
+
"oauth2",
|
|
1338
|
+
"custom"
|
|
1327
1339
|
]>>;
|
|
1328
|
-
options: z.ZodObject<{
|
|
1340
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1329
1341
|
kid: z.ZodOptional<z.ZodString>;
|
|
1330
1342
|
team_id: z.ZodOptional<z.ZodString>;
|
|
1331
1343
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -1349,7 +1361,7 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1349
1361
|
team_id?: string | undefined;
|
|
1350
1362
|
realms?: string | undefined;
|
|
1351
1363
|
app_secret?: string | undefined;
|
|
1352
|
-
}
|
|
1364
|
+
}>>;
|
|
1353
1365
|
enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1354
1366
|
authorization_endpoint: z.ZodOptional<z.ZodString>;
|
|
1355
1367
|
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
@@ -1364,7 +1376,10 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1364
1376
|
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
|
1365
1377
|
scope: z.ZodOptional<z.ZodString>;
|
|
1366
1378
|
}>, "strip", z.ZodTypeAny, {
|
|
1367
|
-
|
|
1379
|
+
created_at: string;
|
|
1380
|
+
updated_at: string;
|
|
1381
|
+
name: string;
|
|
1382
|
+
options?: {
|
|
1368
1383
|
client_secret?: string | undefined;
|
|
1369
1384
|
client_id?: string | undefined;
|
|
1370
1385
|
scope?: string | undefined;
|
|
@@ -1372,17 +1387,14 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1372
1387
|
team_id?: string | undefined;
|
|
1373
1388
|
realms?: string | undefined;
|
|
1374
1389
|
app_secret?: string | undefined;
|
|
1375
|
-
};
|
|
1376
|
-
created_at: string;
|
|
1377
|
-
updated_at: string;
|
|
1378
|
-
name: string;
|
|
1390
|
+
} | undefined;
|
|
1379
1391
|
id?: string | undefined;
|
|
1380
1392
|
client_secret?: string | undefined;
|
|
1381
1393
|
client_id?: string | undefined;
|
|
1382
1394
|
response_type?: AuthorizationResponseType | undefined;
|
|
1383
1395
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1384
1396
|
scope?: string | undefined;
|
|
1385
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1397
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1386
1398
|
kid?: string | undefined;
|
|
1387
1399
|
team_id?: string | undefined;
|
|
1388
1400
|
enabled_clients?: string[] | undefined;
|
|
@@ -1392,7 +1404,10 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1392
1404
|
token_exchange_basic_auth?: boolean | undefined;
|
|
1393
1405
|
userinfo_endpoint?: string | undefined;
|
|
1394
1406
|
}, {
|
|
1395
|
-
|
|
1407
|
+
created_at: string;
|
|
1408
|
+
updated_at: string;
|
|
1409
|
+
name: string;
|
|
1410
|
+
options?: {
|
|
1396
1411
|
client_secret?: string | undefined;
|
|
1397
1412
|
client_id?: string | undefined;
|
|
1398
1413
|
scope?: string | undefined;
|
|
@@ -1400,17 +1415,14 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1400
1415
|
team_id?: string | undefined;
|
|
1401
1416
|
realms?: string | undefined;
|
|
1402
1417
|
app_secret?: string | undefined;
|
|
1403
|
-
};
|
|
1404
|
-
created_at: string;
|
|
1405
|
-
updated_at: string;
|
|
1406
|
-
name: string;
|
|
1418
|
+
} | undefined;
|
|
1407
1419
|
id?: string | undefined;
|
|
1408
1420
|
client_secret?: string | undefined;
|
|
1409
1421
|
client_id?: string | undefined;
|
|
1410
1422
|
response_type?: AuthorizationResponseType | undefined;
|
|
1411
1423
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1412
1424
|
scope?: string | undefined;
|
|
1413
|
-
strategy?: "email" | "google-oauth2" | "facebook" | "vipps" | "apple" | undefined;
|
|
1425
|
+
strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
|
|
1414
1426
|
kid?: string | undefined;
|
|
1415
1427
|
team_id?: string | undefined;
|
|
1416
1428
|
enabled_clients?: string[] | undefined;
|
|
@@ -3121,7 +3133,7 @@ declare const sqlApplicationSchema: z.ZodObject<{
|
|
|
3121
3133
|
allowed_logout_urls: z.ZodString;
|
|
3122
3134
|
id: z.ZodString;
|
|
3123
3135
|
name: z.ZodString;
|
|
3124
|
-
allowed_clients: z.ZodArray<z.ZodString, "many"
|
|
3136
|
+
allowed_clients: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3125
3137
|
email_validation: z.ZodDefault<z.ZodEnum<[
|
|
3126
3138
|
"enabled",
|
|
3127
3139
|
"disabled",
|
|
@@ -3155,9 +3167,9 @@ declare const sqlApplicationSchema: z.ZodObject<{
|
|
|
3155
3167
|
allowed_logout_urls: string;
|
|
3156
3168
|
id: string;
|
|
3157
3169
|
name: string;
|
|
3158
|
-
allowed_clients: string[];
|
|
3159
3170
|
created_at: string;
|
|
3160
3171
|
updated_at: string;
|
|
3172
|
+
allowed_clients?: string[] | undefined;
|
|
3161
3173
|
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
3162
3174
|
client_secret?: string | undefined;
|
|
3163
3175
|
}>;
|