@authhero/kysely-adapter 0.9.7 → 0.10.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.
@@ -793,15 +793,6 @@ declare const ClientSchema: z.ZodObject<{
793
793
  authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
794
794
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
795
795
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
796
- client_id: z.ZodOptional<z.ZodString>;
797
- client_secret: z.ZodOptional<z.ZodString>;
798
- private_key: z.ZodOptional<z.ZodString>;
799
- kid: z.ZodOptional<z.ZodString>;
800
- team_id: z.ZodOptional<z.ZodString>;
801
- token_endpoint: z.ZodOptional<z.ZodString>;
802
- token_exchange_basic_auth: z.ZodOptional<z.ZodBoolean>;
803
- userinfo_endpoint: z.ZodOptional<z.ZodString>;
804
- scope: z.ZodOptional<z.ZodString>;
805
796
  }>, "strip", z.ZodTypeAny, {
806
797
  created_at: string;
807
798
  updated_at: string;
@@ -816,20 +807,11 @@ declare const ClientSchema: z.ZodObject<{
816
807
  app_secret?: string | undefined;
817
808
  } | undefined;
818
809
  id?: string | undefined;
819
- client_secret?: string | undefined;
820
- client_id?: string | undefined;
821
810
  response_type?: AuthorizationResponseType | undefined;
822
811
  response_mode?: AuthorizationResponseMode | undefined;
823
- scope?: string | undefined;
824
812
  strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
825
- kid?: string | undefined;
826
- team_id?: string | undefined;
827
813
  enabled_clients?: string[] | undefined;
828
814
  authorization_endpoint?: string | undefined;
829
- private_key?: string | undefined;
830
- token_endpoint?: string | undefined;
831
- token_exchange_basic_auth?: boolean | undefined;
832
- userinfo_endpoint?: string | undefined;
833
815
  }, {
834
816
  created_at: string;
835
817
  updated_at: string;
@@ -844,20 +826,11 @@ declare const ClientSchema: z.ZodObject<{
844
826
  app_secret?: string | undefined;
845
827
  } | undefined;
846
828
  id?: string | undefined;
847
- client_secret?: string | undefined;
848
- client_id?: string | undefined;
849
829
  response_type?: AuthorizationResponseType | undefined;
850
830
  response_mode?: AuthorizationResponseMode | undefined;
851
- scope?: string | undefined;
852
831
  strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
853
- kid?: string | undefined;
854
- team_id?: string | undefined;
855
832
  enabled_clients?: string[] | undefined;
856
833
  authorization_endpoint?: string | undefined;
857
- private_key?: string | undefined;
858
- token_endpoint?: string | undefined;
859
- token_exchange_basic_auth?: boolean | undefined;
860
- userinfo_endpoint?: string | undefined;
861
834
  }>, "many">;
862
835
  id: z.ZodString;
863
836
  name: z.ZodString;
@@ -1008,20 +981,11 @@ declare const ClientSchema: z.ZodObject<{
1008
981
  app_secret?: string | undefined;
1009
982
  } | undefined;
1010
983
  id?: string | undefined;
1011
- client_secret?: string | undefined;
1012
- client_id?: string | undefined;
1013
984
  response_type?: AuthorizationResponseType | undefined;
1014
985
  response_mode?: AuthorizationResponseMode | undefined;
1015
- scope?: string | undefined;
1016
986
  strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
1017
- kid?: string | undefined;
1018
- team_id?: string | undefined;
1019
987
  enabled_clients?: string[] | undefined;
1020
988
  authorization_endpoint?: string | undefined;
1021
- private_key?: string | undefined;
1022
- token_endpoint?: string | undefined;
1023
- token_exchange_basic_auth?: boolean | undefined;
1024
- userinfo_endpoint?: string | undefined;
1025
989
  }[];
1026
990
  callbacks?: string[] | undefined;
1027
991
  allowed_origins?: string[] | undefined;
@@ -1090,20 +1054,11 @@ declare const ClientSchema: z.ZodObject<{
1090
1054
  app_secret?: string | undefined;
1091
1055
  } | undefined;
1092
1056
  id?: string | undefined;
1093
- client_secret?: string | undefined;
1094
- client_id?: string | undefined;
1095
1057
  response_type?: AuthorizationResponseType | undefined;
1096
1058
  response_mode?: AuthorizationResponseMode | undefined;
1097
- scope?: string | undefined;
1098
1059
  strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
1099
- kid?: string | undefined;
1100
- team_id?: string | undefined;
1101
1060
  enabled_clients?: string[] | undefined;
1102
1061
  authorization_endpoint?: string | undefined;
1103
- private_key?: string | undefined;
1104
- token_endpoint?: string | undefined;
1105
- token_exchange_basic_auth?: boolean | undefined;
1106
- userinfo_endpoint?: string | undefined;
1107
1062
  }[];
1108
1063
  callbacks?: string[] | undefined;
1109
1064
  allowed_origins?: string[] | undefined;
@@ -1256,15 +1211,6 @@ declare const connectionInsertSchema: z.ZodObject<{
1256
1211
  authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1257
1212
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
1258
1213
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
1259
- client_id: z.ZodOptional<z.ZodString>;
1260
- client_secret: z.ZodOptional<z.ZodString>;
1261
- private_key: z.ZodOptional<z.ZodString>;
1262
- kid: z.ZodOptional<z.ZodString>;
1263
- team_id: z.ZodOptional<z.ZodString>;
1264
- token_endpoint: z.ZodOptional<z.ZodString>;
1265
- token_exchange_basic_auth: z.ZodOptional<z.ZodBoolean>;
1266
- userinfo_endpoint: z.ZodOptional<z.ZodString>;
1267
- scope: z.ZodOptional<z.ZodString>;
1268
1214
  }, "strip", z.ZodTypeAny, {
1269
1215
  name: string;
1270
1216
  options?: {
@@ -1277,20 +1223,11 @@ declare const connectionInsertSchema: z.ZodObject<{
1277
1223
  app_secret?: string | undefined;
1278
1224
  } | undefined;
1279
1225
  id?: string | undefined;
1280
- client_secret?: string | undefined;
1281
- client_id?: string | undefined;
1282
1226
  response_type?: AuthorizationResponseType | undefined;
1283
1227
  response_mode?: AuthorizationResponseMode | undefined;
1284
- scope?: string | undefined;
1285
1228
  strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
1286
- kid?: string | undefined;
1287
- team_id?: string | undefined;
1288
1229
  enabled_clients?: string[] | undefined;
1289
1230
  authorization_endpoint?: string | undefined;
1290
- private_key?: string | undefined;
1291
- token_endpoint?: string | undefined;
1292
- token_exchange_basic_auth?: boolean | undefined;
1293
- userinfo_endpoint?: string | undefined;
1294
1231
  }, {
1295
1232
  name: string;
1296
1233
  options?: {
@@ -1303,20 +1240,11 @@ declare const connectionInsertSchema: z.ZodObject<{
1303
1240
  app_secret?: string | undefined;
1304
1241
  } | undefined;
1305
1242
  id?: string | undefined;
1306
- client_secret?: string | undefined;
1307
- client_id?: string | undefined;
1308
1243
  response_type?: AuthorizationResponseType | undefined;
1309
1244
  response_mode?: AuthorizationResponseMode | undefined;
1310
- scope?: string | undefined;
1311
1245
  strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
1312
- kid?: string | undefined;
1313
- team_id?: string | undefined;
1314
1246
  enabled_clients?: string[] | undefined;
1315
1247
  authorization_endpoint?: string | undefined;
1316
- private_key?: string | undefined;
1317
- token_endpoint?: string | undefined;
1318
- token_exchange_basic_auth?: boolean | undefined;
1319
- userinfo_endpoint?: string | undefined;
1320
1248
  }>;
1321
1249
  export type ConnectionInsert = z.infer<typeof connectionInsertSchema>;
1322
1250
  declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
@@ -1366,15 +1294,6 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1366
1294
  authorization_endpoint: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1367
1295
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
1368
1296
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
1369
- client_id: z.ZodOptional<z.ZodString>;
1370
- client_secret: z.ZodOptional<z.ZodString>;
1371
- private_key: z.ZodOptional<z.ZodString>;
1372
- kid: z.ZodOptional<z.ZodString>;
1373
- team_id: z.ZodOptional<z.ZodString>;
1374
- token_endpoint: z.ZodOptional<z.ZodString>;
1375
- token_exchange_basic_auth: z.ZodOptional<z.ZodBoolean>;
1376
- userinfo_endpoint: z.ZodOptional<z.ZodString>;
1377
- scope: z.ZodOptional<z.ZodString>;
1378
1297
  }>, "strip", z.ZodTypeAny, {
1379
1298
  created_at: string;
1380
1299
  updated_at: string;
@@ -1389,20 +1308,11 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1389
1308
  app_secret?: string | undefined;
1390
1309
  } | undefined;
1391
1310
  id?: string | undefined;
1392
- client_secret?: string | undefined;
1393
- client_id?: string | undefined;
1394
1311
  response_type?: AuthorizationResponseType | undefined;
1395
1312
  response_mode?: AuthorizationResponseMode | undefined;
1396
- scope?: string | undefined;
1397
1313
  strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
1398
- kid?: string | undefined;
1399
- team_id?: string | undefined;
1400
1314
  enabled_clients?: string[] | undefined;
1401
1315
  authorization_endpoint?: string | undefined;
1402
- private_key?: string | undefined;
1403
- token_endpoint?: string | undefined;
1404
- token_exchange_basic_auth?: boolean | undefined;
1405
- userinfo_endpoint?: string | undefined;
1406
1316
  }, {
1407
1317
  created_at: string;
1408
1318
  updated_at: string;
@@ -1417,20 +1327,11 @@ declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1417
1327
  app_secret?: string | undefined;
1418
1328
  } | undefined;
1419
1329
  id?: string | undefined;
1420
- client_secret?: string | undefined;
1421
- client_id?: string | undefined;
1422
1330
  response_type?: AuthorizationResponseType | undefined;
1423
1331
  response_mode?: AuthorizationResponseMode | undefined;
1424
- scope?: string | undefined;
1425
1332
  strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
1426
- kid?: string | undefined;
1427
- team_id?: string | undefined;
1428
1333
  enabled_clients?: string[] | undefined;
1429
1334
  authorization_endpoint?: string | undefined;
1430
- private_key?: string | undefined;
1431
- token_endpoint?: string | undefined;
1432
- token_exchange_basic_auth?: boolean | undefined;
1433
- userinfo_endpoint?: string | undefined;
1434
1335
  }>;
1435
1336
  export type Connection = z.infer<typeof connectionSchema>;
1436
1337
  declare const domainSchema: z.ZodObject<z.objectUtil.extendShape<{