@authhero/adapter-interfaces 0.15.1 → 0.15.3

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.
@@ -605,12 +605,12 @@ export declare const samlpAddon: z.ZodObject<{
605
605
  export declare const applicationInsertSchema: z.ZodObject<{
606
606
  id: z.ZodString;
607
607
  name: z.ZodString;
608
- callbacks: z.ZodArray<z.ZodString, "many">;
609
- allowed_origins: z.ZodArray<z.ZodString, "many">;
610
- web_origins: z.ZodArray<z.ZodString, "many">;
611
- allowed_logout_urls: z.ZodArray<z.ZodString, "many">;
612
- allowed_clients: z.ZodArray<z.ZodString, "many">;
613
- addons: z.ZodOptional<z.ZodObject<{
608
+ callbacks: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
609
+ allowed_origins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
610
+ web_origins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
611
+ allowed_logout_urls: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
612
+ allowed_clients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
613
+ addons: z.ZodDefault<z.ZodOptional<z.ZodObject<{
614
614
  samlp: z.ZodOptional<z.ZodObject<{
615
615
  audience: z.ZodOptional<z.ZodString>;
616
616
  recipient: z.ZodOptional<z.ZodString>;
@@ -701,14 +701,14 @@ export declare const applicationInsertSchema: z.ZodObject<{
701
701
  authnContextClassRef?: string | undefined;
702
702
  mappings?: Record<string, string> | undefined;
703
703
  } | undefined;
704
- }>>;
705
- email_validation: z.ZodDefault<z.ZodEnum<[
704
+ }>>>;
705
+ email_validation: z.ZodDefault<z.ZodOptional<z.ZodEnum<[
706
706
  "enabled",
707
707
  "disabled",
708
708
  "enforced"
709
- ]>>;
710
- client_secret: z.ZodDefault<z.ZodString>;
711
- disable_sign_ups: z.ZodDefault<z.ZodBoolean>;
709
+ ]>>>;
710
+ client_secret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
711
+ disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
712
712
  }, "strip", z.ZodTypeAny, {
713
713
  name: string;
714
714
  id: string;
@@ -717,10 +717,7 @@ export declare const applicationInsertSchema: z.ZodObject<{
717
717
  web_origins: string[];
718
718
  allowed_logout_urls: string[];
719
719
  allowed_clients: string[];
720
- email_validation: "enabled" | "disabled" | "enforced";
721
- client_secret: string;
722
- disable_sign_ups: boolean;
723
- addons?: {
720
+ addons: {
724
721
  samlp?: {
725
722
  audience?: string | undefined;
726
723
  recipient?: string | undefined;
@@ -739,15 +736,18 @@ export declare const applicationInsertSchema: z.ZodObject<{
739
736
  authnContextClassRef?: string | undefined;
740
737
  mappings?: Record<string, string> | undefined;
741
738
  } | undefined;
742
- } | undefined;
739
+ };
740
+ email_validation: "enabled" | "disabled" | "enforced";
741
+ client_secret: string;
742
+ disable_sign_ups: boolean;
743
743
  }, {
744
744
  name: string;
745
745
  id: string;
746
- callbacks: string[];
747
- allowed_origins: string[];
748
- web_origins: string[];
749
- allowed_logout_urls: string[];
750
- allowed_clients: string[];
746
+ callbacks?: string[] | undefined;
747
+ allowed_origins?: string[] | undefined;
748
+ web_origins?: string[] | undefined;
749
+ allowed_logout_urls?: string[] | undefined;
750
+ allowed_clients?: string[] | undefined;
751
751
  addons?: {
752
752
  samlp?: {
753
753
  audience?: string | undefined;
@@ -776,12 +776,12 @@ export type ApplicationInsert = z.infer<typeof applicationInsertSchema>;
776
776
  export declare const applicationSchema: z.ZodObject<{
777
777
  id: z.ZodString;
778
778
  name: z.ZodString;
779
- callbacks: z.ZodArray<z.ZodString, "many">;
780
- allowed_origins: z.ZodArray<z.ZodString, "many">;
781
- web_origins: z.ZodArray<z.ZodString, "many">;
782
- allowed_logout_urls: z.ZodArray<z.ZodString, "many">;
783
- allowed_clients: z.ZodArray<z.ZodString, "many">;
784
- addons: z.ZodOptional<z.ZodObject<{
779
+ callbacks: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
780
+ allowed_origins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
781
+ web_origins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
782
+ allowed_logout_urls: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
783
+ allowed_clients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
784
+ addons: z.ZodDefault<z.ZodOptional<z.ZodObject<{
785
785
  samlp: z.ZodOptional<z.ZodObject<{
786
786
  audience: z.ZodOptional<z.ZodString>;
787
787
  recipient: z.ZodOptional<z.ZodString>;
@@ -872,14 +872,14 @@ export declare const applicationSchema: z.ZodObject<{
872
872
  authnContextClassRef?: string | undefined;
873
873
  mappings?: Record<string, string> | undefined;
874
874
  } | undefined;
875
- }>>;
876
- email_validation: z.ZodDefault<z.ZodEnum<[
875
+ }>>>;
876
+ email_validation: z.ZodDefault<z.ZodOptional<z.ZodEnum<[
877
877
  "enabled",
878
878
  "disabled",
879
879
  "enforced"
880
- ]>>;
881
- client_secret: z.ZodDefault<z.ZodString>;
882
- disable_sign_ups: z.ZodDefault<z.ZodBoolean>;
880
+ ]>>>;
881
+ client_secret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
882
+ disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
883
883
  created_at: z.ZodEffects<z.ZodString, string, string>;
884
884
  updated_at: z.ZodEffects<z.ZodString, string, string>;
885
885
  }, "strip", z.ZodTypeAny, {
@@ -892,10 +892,7 @@ export declare const applicationSchema: z.ZodObject<{
892
892
  web_origins: string[];
893
893
  allowed_logout_urls: string[];
894
894
  allowed_clients: string[];
895
- email_validation: "enabled" | "disabled" | "enforced";
896
- client_secret: string;
897
- disable_sign_ups: boolean;
898
- addons?: {
895
+ addons: {
899
896
  samlp?: {
900
897
  audience?: string | undefined;
901
898
  recipient?: string | undefined;
@@ -914,17 +911,20 @@ export declare const applicationSchema: z.ZodObject<{
914
911
  authnContextClassRef?: string | undefined;
915
912
  mappings?: Record<string, string> | undefined;
916
913
  } | undefined;
917
- } | undefined;
914
+ };
915
+ email_validation: "enabled" | "disabled" | "enforced";
916
+ client_secret: string;
917
+ disable_sign_ups: boolean;
918
918
  }, {
919
919
  created_at: string;
920
920
  updated_at: string;
921
921
  name: string;
922
922
  id: string;
923
- callbacks: string[];
924
- allowed_origins: string[];
925
- web_origins: string[];
926
- allowed_logout_urls: string[];
927
- allowed_clients: string[];
923
+ callbacks?: string[] | undefined;
924
+ allowed_origins?: string[] | undefined;
925
+ web_origins?: string[] | undefined;
926
+ allowed_logout_urls?: string[] | undefined;
927
+ allowed_clients?: string[] | undefined;
928
928
  addons?: {
929
929
  samlp?: {
930
930
  audience?: string | undefined;
@@ -1165,7 +1165,7 @@ declare const ClientSchema: z.ZodObject<{
1165
1165
  "oauth2",
1166
1166
  "custom"
1167
1167
  ]>>;
1168
- options: z.ZodOptional<z.ZodObject<{
1168
+ options: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1169
1169
  kid: z.ZodOptional<z.ZodString>;
1170
1170
  team_id: z.ZodOptional<z.ZodString>;
1171
1171
  realms: z.ZodOptional<z.ZodString>;
@@ -1189,9 +1189,9 @@ declare const ClientSchema: z.ZodObject<{
1189
1189
  team_id?: string | undefined;
1190
1190
  realms?: string | undefined;
1191
1191
  app_secret?: string | undefined;
1192
- }>>;
1193
- enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1194
- authorization_endpoint: z.ZodOptional<z.ZodString>;
1192
+ }>>>;
1193
+ enabled_clients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1194
+ authorization_endpoint: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1195
1195
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
1196
1196
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
1197
1197
  client_id: z.ZodOptional<z.ZodString>;
@@ -1204,10 +1204,7 @@ declare const ClientSchema: z.ZodObject<{
1204
1204
  userinfo_endpoint: z.ZodOptional<z.ZodString>;
1205
1205
  scope: z.ZodOptional<z.ZodString>;
1206
1206
  }>, "strip", z.ZodTypeAny, {
1207
- created_at: string;
1208
- updated_at: string;
1209
- name: string;
1210
- options?: {
1207
+ options: {
1211
1208
  client_secret?: string | undefined;
1212
1209
  client_id?: string | undefined;
1213
1210
  scope?: string | undefined;
@@ -1215,7 +1212,12 @@ declare const ClientSchema: z.ZodObject<{
1215
1212
  team_id?: string | undefined;
1216
1213
  realms?: string | undefined;
1217
1214
  app_secret?: string | undefined;
1218
- } | undefined;
1215
+ };
1216
+ created_at: string;
1217
+ updated_at: string;
1218
+ name: string;
1219
+ enabled_clients: string[];
1220
+ authorization_endpoint: string;
1219
1221
  id?: string | undefined;
1220
1222
  client_secret?: string | undefined;
1221
1223
  client_id?: string | undefined;
@@ -1225,8 +1227,6 @@ declare const ClientSchema: z.ZodObject<{
1225
1227
  strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
1226
1228
  kid?: string | undefined;
1227
1229
  team_id?: string | undefined;
1228
- enabled_clients?: string[] | undefined;
1229
- authorization_endpoint?: string | undefined;
1230
1230
  private_key?: string | undefined;
1231
1231
  token_endpoint?: string | undefined;
1232
1232
  token_exchange_basic_auth?: boolean | undefined;
@@ -1262,12 +1262,12 @@ declare const ClientSchema: z.ZodObject<{
1262
1262
  }>, "many">;
1263
1263
  id: z.ZodString;
1264
1264
  name: z.ZodString;
1265
- callbacks: z.ZodArray<z.ZodString, "many">;
1266
- allowed_origins: z.ZodArray<z.ZodString, "many">;
1267
- web_origins: z.ZodArray<z.ZodString, "many">;
1268
- allowed_logout_urls: z.ZodArray<z.ZodString, "many">;
1269
- allowed_clients: z.ZodArray<z.ZodString, "many">;
1270
- addons: z.ZodOptional<z.ZodObject<{
1265
+ callbacks: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1266
+ allowed_origins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1267
+ web_origins: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1268
+ allowed_logout_urls: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1269
+ allowed_clients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1270
+ addons: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1271
1271
  samlp: z.ZodOptional<z.ZodObject<{
1272
1272
  audience: z.ZodOptional<z.ZodString>;
1273
1273
  recipient: z.ZodOptional<z.ZodString>;
@@ -1358,14 +1358,14 @@ declare const ClientSchema: z.ZodObject<{
1358
1358
  authnContextClassRef?: string | undefined;
1359
1359
  mappings?: Record<string, string> | undefined;
1360
1360
  } | undefined;
1361
- }>>;
1362
- email_validation: z.ZodDefault<z.ZodEnum<[
1361
+ }>>>;
1362
+ email_validation: z.ZodDefault<z.ZodOptional<z.ZodEnum<[
1363
1363
  "enabled",
1364
1364
  "disabled",
1365
1365
  "enforced"
1366
- ]>>;
1367
- client_secret: z.ZodDefault<z.ZodString>;
1368
- disable_sign_ups: z.ZodDefault<z.ZodBoolean>;
1366
+ ]>>>;
1367
+ client_secret: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1368
+ disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1369
1369
  created_at: z.ZodEffects<z.ZodString, string, string>;
1370
1370
  updated_at: z.ZodEffects<z.ZodString, string, string>;
1371
1371
  }, "strip", z.ZodTypeAny, {
@@ -1378,6 +1378,26 @@ declare const ClientSchema: z.ZodObject<{
1378
1378
  web_origins: string[];
1379
1379
  allowed_logout_urls: string[];
1380
1380
  allowed_clients: string[];
1381
+ addons: {
1382
+ samlp?: {
1383
+ audience?: string | undefined;
1384
+ recipient?: string | undefined;
1385
+ createUpnClaim?: boolean | undefined;
1386
+ mapUnknownClaimsAsIs?: boolean | undefined;
1387
+ passthroughClaimsWithNoMapping?: boolean | undefined;
1388
+ mapIdentities?: boolean | undefined;
1389
+ signatureAlgorithm?: string | undefined;
1390
+ digestAlgorithm?: string | undefined;
1391
+ issuer?: string | undefined;
1392
+ destination?: string | undefined;
1393
+ lifetimeInSeconds?: number | undefined;
1394
+ signResponse?: boolean | undefined;
1395
+ nameIdentifierFormat?: string | undefined;
1396
+ nameIdentifierProbes?: string[] | undefined;
1397
+ authnContextClassRef?: string | undefined;
1398
+ mappings?: Record<string, string> | undefined;
1399
+ } | undefined;
1400
+ };
1381
1401
  email_validation: "enabled" | "disabled" | "enforced";
1382
1402
  client_secret: string;
1383
1403
  disable_sign_ups: boolean;
@@ -1403,10 +1423,7 @@ declare const ClientSchema: z.ZodObject<{
1403
1423
  language?: string | undefined;
1404
1424
  };
1405
1425
  connections: {
1406
- created_at: string;
1407
- updated_at: string;
1408
- name: string;
1409
- options?: {
1426
+ options: {
1410
1427
  client_secret?: string | undefined;
1411
1428
  client_id?: string | undefined;
1412
1429
  scope?: string | undefined;
@@ -1414,7 +1431,12 @@ declare const ClientSchema: z.ZodObject<{
1414
1431
  team_id?: string | undefined;
1415
1432
  realms?: string | undefined;
1416
1433
  app_secret?: string | undefined;
1417
- } | undefined;
1434
+ };
1435
+ created_at: string;
1436
+ updated_at: string;
1437
+ name: string;
1438
+ enabled_clients: string[];
1439
+ authorization_endpoint: string;
1418
1440
  id?: string | undefined;
1419
1441
  client_secret?: string | undefined;
1420
1442
  client_id?: string | undefined;
@@ -1424,43 +1446,16 @@ declare const ClientSchema: z.ZodObject<{
1424
1446
  strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
1425
1447
  kid?: string | undefined;
1426
1448
  team_id?: string | undefined;
1427
- enabled_clients?: string[] | undefined;
1428
- authorization_endpoint?: string | undefined;
1429
1449
  private_key?: string | undefined;
1430
1450
  token_endpoint?: string | undefined;
1431
1451
  token_exchange_basic_auth?: boolean | undefined;
1432
1452
  userinfo_endpoint?: string | undefined;
1433
1453
  }[];
1434
- addons?: {
1435
- samlp?: {
1436
- audience?: string | undefined;
1437
- recipient?: string | undefined;
1438
- createUpnClaim?: boolean | undefined;
1439
- mapUnknownClaimsAsIs?: boolean | undefined;
1440
- passthroughClaimsWithNoMapping?: boolean | undefined;
1441
- mapIdentities?: boolean | undefined;
1442
- signatureAlgorithm?: string | undefined;
1443
- digestAlgorithm?: string | undefined;
1444
- issuer?: string | undefined;
1445
- destination?: string | undefined;
1446
- lifetimeInSeconds?: number | undefined;
1447
- signResponse?: boolean | undefined;
1448
- nameIdentifierFormat?: string | undefined;
1449
- nameIdentifierProbes?: string[] | undefined;
1450
- authnContextClassRef?: string | undefined;
1451
- mappings?: Record<string, string> | undefined;
1452
- } | undefined;
1453
- } | undefined;
1454
1454
  }, {
1455
1455
  created_at: string;
1456
1456
  updated_at: string;
1457
1457
  name: string;
1458
1458
  id: string;
1459
- callbacks: string[];
1460
- allowed_origins: string[];
1461
- web_origins: string[];
1462
- allowed_logout_urls: string[];
1463
- allowed_clients: string[];
1464
1459
  domains: {
1465
1460
  domain: string;
1466
1461
  dkim_private_key?: string | undefined;
@@ -1511,6 +1506,11 @@ declare const ClientSchema: z.ZodObject<{
1511
1506
  token_exchange_basic_auth?: boolean | undefined;
1512
1507
  userinfo_endpoint?: string | undefined;
1513
1508
  }[];
1509
+ callbacks?: string[] | undefined;
1510
+ allowed_origins?: string[] | undefined;
1511
+ web_origins?: string[] | undefined;
1512
+ allowed_logout_urls?: string[] | undefined;
1513
+ allowed_clients?: string[] | undefined;
1514
1514
  addons?: {
1515
1515
  samlp?: {
1516
1516
  audience?: string | undefined;
@@ -1628,7 +1628,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
1628
1628
  "oauth2",
1629
1629
  "custom"
1630
1630
  ]>>;
1631
- options: z.ZodOptional<z.ZodObject<{
1631
+ options: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1632
1632
  kid: z.ZodOptional<z.ZodString>;
1633
1633
  team_id: z.ZodOptional<z.ZodString>;
1634
1634
  realms: z.ZodOptional<z.ZodString>;
@@ -1652,9 +1652,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
1652
1652
  team_id?: string | undefined;
1653
1653
  realms?: string | undefined;
1654
1654
  app_secret?: string | undefined;
1655
- }>>;
1656
- enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1657
- authorization_endpoint: z.ZodOptional<z.ZodString>;
1655
+ }>>>;
1656
+ enabled_clients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1657
+ authorization_endpoint: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1658
1658
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
1659
1659
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
1660
1660
  client_id: z.ZodOptional<z.ZodString>;
@@ -1667,8 +1667,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
1667
1667
  userinfo_endpoint: z.ZodOptional<z.ZodString>;
1668
1668
  scope: z.ZodOptional<z.ZodString>;
1669
1669
  }, "strip", z.ZodTypeAny, {
1670
- name: string;
1671
- options?: {
1670
+ options: {
1672
1671
  client_secret?: string | undefined;
1673
1672
  client_id?: string | undefined;
1674
1673
  scope?: string | undefined;
@@ -1676,7 +1675,10 @@ export declare const connectionInsertSchema: z.ZodObject<{
1676
1675
  team_id?: string | undefined;
1677
1676
  realms?: string | undefined;
1678
1677
  app_secret?: string | undefined;
1679
- } | undefined;
1678
+ };
1679
+ name: string;
1680
+ enabled_clients: string[];
1681
+ authorization_endpoint: string;
1680
1682
  id?: string | undefined;
1681
1683
  client_secret?: string | undefined;
1682
1684
  client_id?: string | undefined;
@@ -1686,8 +1688,6 @@ export declare const connectionInsertSchema: z.ZodObject<{
1686
1688
  strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
1687
1689
  kid?: string | undefined;
1688
1690
  team_id?: string | undefined;
1689
- enabled_clients?: string[] | undefined;
1690
- authorization_endpoint?: string | undefined;
1691
1691
  private_key?: string | undefined;
1692
1692
  token_endpoint?: string | undefined;
1693
1693
  token_exchange_basic_auth?: boolean | undefined;
@@ -1738,7 +1738,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1738
1738
  "oauth2",
1739
1739
  "custom"
1740
1740
  ]>>;
1741
- options: z.ZodOptional<z.ZodObject<{
1741
+ options: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1742
1742
  kid: z.ZodOptional<z.ZodString>;
1743
1743
  team_id: z.ZodOptional<z.ZodString>;
1744
1744
  realms: z.ZodOptional<z.ZodString>;
@@ -1762,9 +1762,9 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1762
1762
  team_id?: string | undefined;
1763
1763
  realms?: string | undefined;
1764
1764
  app_secret?: string | undefined;
1765
- }>>;
1766
- enabled_clients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1767
- authorization_endpoint: z.ZodOptional<z.ZodString>;
1765
+ }>>>;
1766
+ enabled_clients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1767
+ authorization_endpoint: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1768
1768
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
1769
1769
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
1770
1770
  client_id: z.ZodOptional<z.ZodString>;
@@ -1777,10 +1777,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1777
1777
  userinfo_endpoint: z.ZodOptional<z.ZodString>;
1778
1778
  scope: z.ZodOptional<z.ZodString>;
1779
1779
  }>, "strip", z.ZodTypeAny, {
1780
- created_at: string;
1781
- updated_at: string;
1782
- name: string;
1783
- options?: {
1780
+ options: {
1784
1781
  client_secret?: string | undefined;
1785
1782
  client_id?: string | undefined;
1786
1783
  scope?: string | undefined;
@@ -1788,7 +1785,12 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1788
1785
  team_id?: string | undefined;
1789
1786
  realms?: string | undefined;
1790
1787
  app_secret?: string | undefined;
1791
- } | undefined;
1788
+ };
1789
+ created_at: string;
1790
+ updated_at: string;
1791
+ name: string;
1792
+ enabled_clients: string[];
1793
+ authorization_endpoint: string;
1792
1794
  id?: string | undefined;
1793
1795
  client_secret?: string | undefined;
1794
1796
  client_id?: string | undefined;
@@ -1798,8 +1800,6 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1798
1800
  strategy?: "email" | "custom" | "google-oauth2" | "facebook" | "vipps" | "apple" | "Username-Password-Authentication" | "oidc" | "oauth2" | undefined;
1799
1801
  kid?: string | undefined;
1800
1802
  team_id?: string | undefined;
1801
- enabled_clients?: string[] | undefined;
1802
- authorization_endpoint?: string | undefined;
1803
1803
  private_key?: string | undefined;
1804
1804
  token_endpoint?: string | undefined;
1805
1805
  token_exchange_basic_auth?: boolean | undefined;