@authhero/adapter-interfaces 0.103.0 → 0.105.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.
@@ -155,6 +155,9 @@ const O = e.object({
155
155
  allowed_clients: e.array(e.string()).default([]).optional().openapi({
156
156
  description: "List of allow clients and API ids that are allowed to make delegation requests. Empty means all all your clients are allowed."
157
157
  }),
158
+ connections: e.array(e.string()).default([]).optional().openapi({
159
+ description: "List of connection IDs enabled for this client. The order determines the display order on the login page."
160
+ }),
158
161
  allowed_logout_urls: e.array(e.string()).default([]).optional().openapi({
159
162
  description: "Comma-separated list of URLs that are valid to redirect to after logout from Auth0. Wildcards are allowed for subdomains."
160
163
  }),
@@ -298,7 +301,7 @@ const r = e.object({
298
301
  id: e.string(),
299
302
  category: e.nativeEnum(p),
300
303
  type: e.nativeEnum(c)
301
- }), R = r.extend({
304
+ }), L = r.extend({
302
305
  category: e.literal(
303
306
  "BLOCK"
304
307
  /* BLOCK */
@@ -310,7 +313,7 @@ const r = e.object({
310
313
  config: e.object({
311
314
  content: e.string()
312
315
  }).passthrough()
313
- }), L = r.extend({
316
+ }), R = r.extend({
314
317
  category: e.literal(
315
318
  "BLOCK"
316
319
  /* BLOCK */
@@ -404,14 +407,14 @@ const r = e.object({
404
407
  category: e.string(),
405
408
  type: e.string()
406
409
  }).passthrough(), k = e.union([
407
- R,
408
410
  L,
411
+ R,
409
412
  D,
410
413
  w,
411
414
  j
412
415
  ]);
413
- var U = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(U || {});
414
- const F = e.object({
416
+ var F = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(F || {});
417
+ const U = e.object({
415
418
  id: e.string(),
416
419
  type: e.literal(
417
420
  "STEP"
@@ -440,7 +443,7 @@ const F = e.object({
440
443
  type: e.string(),
441
444
  coordinates: a
442
445
  }).passthrough(), x = e.union([
443
- F,
446
+ U,
444
447
  v,
445
448
  P
446
449
  ]), H = e.object({
@@ -755,6 +758,7 @@ const q = e.enum([
755
758
  }), $ = e.discriminatedUnion("type", [
756
759
  e.object({
757
760
  id: e.string(),
761
+ category: e.literal("BLOCK").optional(),
758
762
  type: e.literal("RICH_TEXT"),
759
763
  config: e.object({
760
764
  content: e.string()
@@ -764,6 +768,7 @@ const q = e.enum([
764
768
  }),
765
769
  e.object({
766
770
  id: e.string(),
771
+ category: e.literal("FIELD").optional(),
767
772
  type: e.literal("LEGAL"),
768
773
  config: e.object({
769
774
  text: e.string(),
@@ -775,6 +780,7 @@ const q = e.enum([
775
780
  }),
776
781
  e.object({
777
782
  id: e.string(),
783
+ category: e.literal("FIELD").optional(),
778
784
  type: e.literal("TEXT"),
779
785
  config: e.object({
780
786
  placeholder: e.string().optional(),
@@ -787,6 +793,7 @@ const q = e.enum([
787
793
  }),
788
794
  e.object({
789
795
  id: e.string(),
796
+ category: e.literal("BLOCK").optional(),
790
797
  type: e.literal("NEXT_BUTTON"),
791
798
  config: e.object({
792
799
  text: e.string().optional()
@@ -818,7 +825,7 @@ const q = e.enum([
818
825
  alias: e.string().min(1).max(150).optional(),
819
826
  config: e.object({
820
827
  flow_id: e.string().max(30),
821
- next_node: e.string()
828
+ next_node: e.string().optional()
822
829
  })
823
830
  }),
824
831
  // ROUTER node
@@ -836,7 +843,7 @@ const q = e.enum([
836
843
  next_node: e.string()
837
844
  })
838
845
  ),
839
- fallback: e.array(e.string())
846
+ fallback: e.string()
840
847
  })
841
848
  }),
842
849
  // STEP node
@@ -847,7 +854,7 @@ const q = e.enum([
847
854
  alias: e.string().min(1).max(150).optional(),
848
855
  config: e.object({
849
856
  components: e.array($),
850
- next_node: e.string()
857
+ next_node: e.string().optional()
851
858
  })
852
859
  })
853
860
  ])
@@ -1438,17 +1445,17 @@ const Ee = e.object({
1438
1445
  allow_offline_access: e.boolean().optional(),
1439
1446
  verificationKey: e.string().optional(),
1440
1447
  options: ye.optional()
1441
- }), Re = e.object({
1448
+ }), Le = e.object({
1442
1449
  id: e.string().optional(),
1443
1450
  ...Ne.shape,
1444
1451
  created_at: e.string().optional(),
1445
1452
  updated_at: e.string().optional()
1446
- }), Et = e.array(Re), Le = e.object({
1453
+ }), Et = e.array(Le), Re = e.object({
1447
1454
  role_id: e.string(),
1448
1455
  resource_server_identifier: e.string(),
1449
1456
  permission_name: e.string()
1450
1457
  }), De = e.object({
1451
- ...Le.shape,
1458
+ ...Re.shape,
1452
1459
  created_at: e.string()
1453
1460
  }), ft = e.array(De), we = e.object({
1454
1461
  user_id: e.string(),
@@ -1469,15 +1476,15 @@ const Ee = e.object({
1469
1476
  organization_id: e.string().optional()
1470
1477
  }), At = e.array(
1471
1478
  ke
1472
- ), Ue = e.object({
1479
+ ), Fe = e.object({
1473
1480
  user_id: e.string(),
1474
1481
  role_id: e.string(),
1475
1482
  organization_id: e.string().optional()
1476
- }), Fe = e.object({
1477
- ...Ue.shape,
1483
+ }), Ue = e.object({
1484
+ ...Fe.shape,
1478
1485
  tenant_id: e.string(),
1479
1486
  created_at: e.string().optional()
1480
- }), It = e.array(Fe), ve = e.object({
1487
+ }), It = e.array(Ue), ve = e.object({
1481
1488
  name: e.string().min(1).max(50).openapi({
1482
1489
  description: "The name of the role. Cannot include '<' or '>'"
1483
1490
  }),
@@ -1645,7 +1652,7 @@ export {
1645
1652
  be as GrantType,
1646
1653
  ge as LocationInfo,
1647
1654
  ce as LogTypes,
1648
- U as NodeType,
1655
+ F as NodeType,
1649
1656
  Ye as auth0FlowInsertSchema,
1650
1657
  G as auth0FlowSchema,
1651
1658
  Be as auth0QuerySchema,
@@ -1654,7 +1661,7 @@ export {
1654
1661
  _ as baseUserSchema,
1655
1662
  Ee as bordersSchema,
1656
1663
  Qe as brandingSchema,
1657
- L as buttonComponentSchema,
1664
+ R as buttonComponentSchema,
1658
1665
  y as clientGrantInsertSchema,
1659
1666
  qe as clientGrantListSchema,
1660
1667
  N as clientGrantSchema,
@@ -1716,12 +1723,12 @@ export {
1716
1723
  Ne as resourceServerInsertSchema,
1717
1724
  Et as resourceServerListSchema,
1718
1725
  ye as resourceServerOptionsSchema,
1719
- Re as resourceServerSchema,
1726
+ Le as resourceServerSchema,
1720
1727
  Te as resourceServerScopeSchema,
1721
- R as richTextComponentSchema,
1728
+ L as richTextComponentSchema,
1722
1729
  ve as roleInsertSchema,
1723
1730
  Ct as roleListSchema,
1724
- Le as rolePermissionInsertSchema,
1731
+ Re as rolePermissionInsertSchema,
1725
1732
  ft as rolePermissionListSchema,
1726
1733
  De as rolePermissionSchema,
1727
1734
  Pe as roleSchema,
@@ -1731,7 +1738,7 @@ export {
1731
1738
  bt as smsProviderSchema,
1732
1739
  ht as smsSendParamsSchema,
1733
1740
  H as startSchema,
1734
- F as stepNodeSchema,
1741
+ U as stepNodeSchema,
1735
1742
  X as tenantInsertSchema,
1736
1743
  V as tenantSchema,
1737
1744
  yt as tenantSettingsSchema,
@@ -1748,9 +1755,9 @@ export {
1748
1755
  At as userPermissionWithDetailsListSchema,
1749
1756
  ke as userPermissionWithDetailsSchema,
1750
1757
  Ve as userResponseSchema,
1751
- Ue as userRoleInsertSchema,
1758
+ Fe as userRoleInsertSchema,
1752
1759
  It as userRoleListSchema,
1753
- Fe as userRoleSchema,
1760
+ Ue as userRoleSchema,
1754
1761
  A as userSchema,
1755
1762
  J as verificationMethodsSchema,
1756
1763
  Ie as widgetSchema
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "0.103.0",
14
+ "version": "0.105.0",
15
15
  "files": [
16
16
  "dist"
17
17
  ],