@learncard/vc-api-plugin 1.0.46 → 1.0.48

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.
@@ -4490,6 +4490,7 @@ var LCNProfileValidator = z.object({
4490
4490
  type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
4491
4491
  notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
4492
4492
  display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
4493
+ highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
4493
4494
  role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
4494
4495
  dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
4495
4496
  });
@@ -4573,7 +4574,7 @@ var BoostPermissionsQueryValidator = z.object({
4573
4574
  canManageChildrenProfiles: z.boolean(),
4574
4575
  canViewAnalytics: z.boolean()
4575
4576
  }).partial();
4576
- var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
4577
+ var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
4577
4578
  var ClaimHookValidator = z.discriminatedUnion("type", [
4578
4579
  z.object({
4579
4580
  type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
@@ -4586,6 +4587,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
4586
4587
  z.object({
4587
4588
  type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
4588
4589
  data: z.object({ claimUri: z.string(), targetUri: z.string() })
4590
+ }),
4591
+ z.object({
4592
+ type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
4593
+ data: z.object({ claimUri: z.string(), targetUri: z.string() })
4589
4594
  })
4590
4595
  ]);
4591
4596
  var ClaimHookQueryValidator = z.object({
@@ -4845,7 +4850,8 @@ var LCNNotificationTypeEnumValidator = z.enum([
4845
4850
  "PRESENTATION_RECEIVED",
4846
4851
  "CONSENT_FLOW_TRANSACTION",
4847
4852
  "ISSUANCE_CLAIMED",
4848
- "ISSUANCE_DELIVERED"
4853
+ "ISSUANCE_DELIVERED",
4854
+ "ISSUANCE_ERROR"
4849
4855
  ]);
4850
4856
  var LCNNotificationMessageValidator = z.object({
4851
4857
  title: z.string().optional(),
@@ -4962,8 +4968,10 @@ var InboxCredentialValidator = z.object({
4962
4968
  createdAt: z.string(),
4963
4969
  issuerDid: z.string(),
4964
4970
  webhookUrl: z.string().optional(),
4965
- "signingAuthority.endpoint": z.string().optional(),
4966
- "signingAuthority.name": z.string().optional()
4971
+ signingAuthority: z.object({
4972
+ endpoint: z.string().optional(),
4973
+ name: z.string().optional()
4974
+ }).optional()
4967
4975
  });
4968
4976
  var PaginatedInboxCredentialsValidator = z.object({
4969
4977
  hasMore: z.boolean(),
@@ -5018,6 +5026,7 @@ var IssueInboxCredentialResponseValidator = z.object({
5018
5026
  var ClaimTokenValidator = z.object({
5019
5027
  token: z.string(),
5020
5028
  contactMethodId: z.string(),
5029
+ autoVerifyContactMethod: z.boolean().optional().default(false),
5021
5030
  createdAt: z.string(),
5022
5031
  expiresAt: z.string(),
5023
5032
  used: z.boolean()