@learncard/learn-cloud-plugin 2.1.40 → 2.1.42

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.
@@ -12768,6 +12768,7 @@ var require_types_cjs_development = __commonJS2({
12768
12768
  type: z2.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
12769
12769
  notificationsWebhook: z2.string().url().startsWith("http").optional().describe("URL to send notifications to."),
12770
12770
  display: LCNProfileDisplayValidator2.optional().describe("Display settings for the profile."),
12771
+ highlightedCredentials: z2.array(z2.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
12771
12772
  role: z2.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
12772
12773
  dob: z2.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
12773
12774
  });
@@ -12851,7 +12852,7 @@ var require_types_cjs_development = __commonJS2({
12851
12852
  canManageChildrenProfiles: z2.boolean(),
12852
12853
  canViewAnalytics: z2.boolean()
12853
12854
  }).partial();
12854
- var ClaimHookTypeValidator2 = z2.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
12855
+ var ClaimHookTypeValidator2 = z2.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
12855
12856
  var ClaimHookValidator2 = z2.discriminatedUnion("type", [
12856
12857
  z2.object({
12857
12858
  type: z2.literal(ClaimHookTypeValidator2.Values.GRANT_PERMISSIONS),
@@ -12864,6 +12865,10 @@ var require_types_cjs_development = __commonJS2({
12864
12865
  z2.object({
12865
12866
  type: z2.literal(ClaimHookTypeValidator2.Values.ADD_ADMIN),
12866
12867
  data: z2.object({ claimUri: z2.string(), targetUri: z2.string() })
12868
+ }),
12869
+ z2.object({
12870
+ type: z2.literal(ClaimHookTypeValidator2.Values.AUTO_CONNECT),
12871
+ data: z2.object({ claimUri: z2.string(), targetUri: z2.string() })
12867
12872
  })
12868
12873
  ]);
12869
12874
  var ClaimHookQueryValidator2 = z2.object({
@@ -17786,6 +17791,7 @@ var LCNProfileValidator = z.object({
17786
17791
  type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
17787
17792
  notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
17788
17793
  display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
17794
+ highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
17789
17795
  role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
17790
17796
  dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
17791
17797
  });
@@ -17869,7 +17875,7 @@ var BoostPermissionsQueryValidator = z.object({
17869
17875
  canManageChildrenProfiles: z.boolean(),
17870
17876
  canViewAnalytics: z.boolean()
17871
17877
  }).partial();
17872
- var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
17878
+ var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
17873
17879
  var ClaimHookValidator = z.discriminatedUnion("type", [
17874
17880
  z.object({
17875
17881
  type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
@@ -17882,6 +17888,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
17882
17888
  z.object({
17883
17889
  type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
17884
17890
  data: z.object({ claimUri: z.string(), targetUri: z.string() })
17891
+ }),
17892
+ z.object({
17893
+ type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
17894
+ data: z.object({ claimUri: z.string(), targetUri: z.string() })
17885
17895
  })
17886
17896
  ]);
17887
17897
  var ClaimHookQueryValidator = z.object({