@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.
@@ -12781,6 +12781,7 @@ var require_types_cjs_development = __commonJS2({
12781
12781
  type: z2.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
12782
12782
  notificationsWebhook: z2.string().url().startsWith("http").optional().describe("URL to send notifications to."),
12783
12783
  display: LCNProfileDisplayValidator2.optional().describe("Display settings for the profile."),
12784
+ highlightedCredentials: z2.array(z2.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
12784
12785
  role: z2.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
12785
12786
  dob: z2.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
12786
12787
  });
@@ -12864,7 +12865,7 @@ var require_types_cjs_development = __commonJS2({
12864
12865
  canManageChildrenProfiles: z2.boolean(),
12865
12866
  canViewAnalytics: z2.boolean()
12866
12867
  }).partial();
12867
- var ClaimHookTypeValidator2 = z2.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
12868
+ var ClaimHookTypeValidator2 = z2.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
12868
12869
  var ClaimHookValidator2 = z2.discriminatedUnion("type", [
12869
12870
  z2.object({
12870
12871
  type: z2.literal(ClaimHookTypeValidator2.Values.GRANT_PERMISSIONS),
@@ -12877,6 +12878,10 @@ var require_types_cjs_development = __commonJS2({
12877
12878
  z2.object({
12878
12879
  type: z2.literal(ClaimHookTypeValidator2.Values.ADD_ADMIN),
12879
12880
  data: z2.object({ claimUri: z2.string(), targetUri: z2.string() })
12881
+ }),
12882
+ z2.object({
12883
+ type: z2.literal(ClaimHookTypeValidator2.Values.AUTO_CONNECT),
12884
+ data: z2.object({ claimUri: z2.string(), targetUri: z2.string() })
12880
12885
  })
12881
12886
  ]);
12882
12887
  var ClaimHookQueryValidator2 = z2.object({
@@ -17799,6 +17804,7 @@ var LCNProfileValidator = z.object({
17799
17804
  type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
17800
17805
  notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
17801
17806
  display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
17807
+ highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
17802
17808
  role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
17803
17809
  dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
17804
17810
  });
@@ -17882,7 +17888,7 @@ var BoostPermissionsQueryValidator = z.object({
17882
17888
  canManageChildrenProfiles: z.boolean(),
17883
17889
  canViewAnalytics: z.boolean()
17884
17890
  }).partial();
17885
- var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
17891
+ var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
17886
17892
  var ClaimHookValidator = z.discriminatedUnion("type", [
17887
17893
  z.object({
17888
17894
  type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
@@ -17895,6 +17901,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
17895
17901
  z.object({
17896
17902
  type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
17897
17903
  data: z.object({ claimUri: z.string(), targetUri: z.string() })
17904
+ }),
17905
+ z.object({
17906
+ type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
17907
+ data: z.object({ claimUri: z.string(), targetUri: z.string() })
17898
17908
  })
17899
17909
  ]);
17900
17910
  var ClaimHookQueryValidator = z.object({