@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.
@@ -4466,6 +4466,7 @@ var LCNProfileValidator = z.object({
4466
4466
  type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
4467
4467
  notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
4468
4468
  display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
4469
+ highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
4469
4470
  role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
4470
4471
  dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
4471
4472
  });
@@ -4549,7 +4550,7 @@ var BoostPermissionsQueryValidator = z.object({
4549
4550
  canManageChildrenProfiles: z.boolean(),
4550
4551
  canViewAnalytics: z.boolean()
4551
4552
  }).partial();
4552
- var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
4553
+ var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
4553
4554
  var ClaimHookValidator = z.discriminatedUnion("type", [
4554
4555
  z.object({
4555
4556
  type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
@@ -4562,6 +4563,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
4562
4563
  z.object({
4563
4564
  type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
4564
4565
  data: z.object({ claimUri: z.string(), targetUri: z.string() })
4566
+ }),
4567
+ z.object({
4568
+ type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
4569
+ data: z.object({ claimUri: z.string(), targetUri: z.string() })
4565
4570
  })
4566
4571
  ]);
4567
4572
  var ClaimHookQueryValidator = z.object({
@@ -4821,7 +4826,8 @@ var LCNNotificationTypeEnumValidator = z.enum([
4821
4826
  "PRESENTATION_RECEIVED",
4822
4827
  "CONSENT_FLOW_TRANSACTION",
4823
4828
  "ISSUANCE_CLAIMED",
4824
- "ISSUANCE_DELIVERED"
4829
+ "ISSUANCE_DELIVERED",
4830
+ "ISSUANCE_ERROR"
4825
4831
  ]);
4826
4832
  var LCNNotificationMessageValidator = z.object({
4827
4833
  title: z.string().optional(),
@@ -4938,8 +4944,10 @@ var InboxCredentialValidator = z.object({
4938
4944
  createdAt: z.string(),
4939
4945
  issuerDid: z.string(),
4940
4946
  webhookUrl: z.string().optional(),
4941
- "signingAuthority.endpoint": z.string().optional(),
4942
- "signingAuthority.name": z.string().optional()
4947
+ signingAuthority: z.object({
4948
+ endpoint: z.string().optional(),
4949
+ name: z.string().optional()
4950
+ }).optional()
4943
4951
  });
4944
4952
  var PaginatedInboxCredentialsValidator = z.object({
4945
4953
  hasMore: z.boolean(),
@@ -4994,6 +5002,7 @@ var IssueInboxCredentialResponseValidator = z.object({
4994
5002
  var ClaimTokenValidator = z.object({
4995
5003
  token: z.string(),
4996
5004
  contactMethodId: z.string(),
5005
+ autoVerifyContactMethod: z.boolean().optional().default(false),
4997
5006
  createdAt: z.string(),
4998
5007
  expiresAt: z.string(),
4999
5008
  used: z.boolean()