@learncard/vc-api-plugin 1.0.44 → 1.0.47

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
  });
@@ -4609,6 +4610,16 @@ var BoostRecipientValidator = z.object({
4609
4610
  var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
4610
4611
  records: BoostRecipientValidator.array()
4611
4612
  });
4613
+ var BoostRecipientWithChildrenValidator = z.object({
4614
+ to: LCNProfileValidator,
4615
+ from: z.string(),
4616
+ received: z.string().optional(),
4617
+ boostUris: z.array(z.string()),
4618
+ credentialUris: z.array(z.string()).optional()
4619
+ });
4620
+ var PaginatedBoostRecipientsWithChildrenValidator = PaginationResponseValidator.extend({
4621
+ records: BoostRecipientWithChildrenValidator.array()
4622
+ });
4612
4623
  var LCNBoostClaimLinkSigningAuthorityValidator = z.object({
4613
4624
  endpoint: z.string(),
4614
4625
  name: z.string(),
@@ -4811,7 +4822,8 @@ var LCNNotificationTypeEnumValidator = z.enum([
4811
4822
  "PRESENTATION_RECEIVED",
4812
4823
  "CONSENT_FLOW_TRANSACTION",
4813
4824
  "ISSUANCE_CLAIMED",
4814
- "ISSUANCE_DELIVERED"
4825
+ "ISSUANCE_DELIVERED",
4826
+ "ISSUANCE_ERROR"
4815
4827
  ]);
4816
4828
  var LCNNotificationMessageValidator = z.object({
4817
4829
  title: z.string().optional(),
@@ -4928,8 +4940,10 @@ var InboxCredentialValidator = z.object({
4928
4940
  createdAt: z.string(),
4929
4941
  issuerDid: z.string(),
4930
4942
  webhookUrl: z.string().optional(),
4931
- "signingAuthority.endpoint": z.string().optional(),
4932
- "signingAuthority.name": z.string().optional()
4943
+ signingAuthority: z.object({
4944
+ endpoint: z.string().optional(),
4945
+ name: z.string().optional()
4946
+ }).optional()
4933
4947
  });
4934
4948
  var PaginatedInboxCredentialsValidator = z.object({
4935
4949
  hasMore: z.boolean(),
@@ -4984,6 +4998,7 @@ var IssueInboxCredentialResponseValidator = z.object({
4984
4998
  var ClaimTokenValidator = z.object({
4985
4999
  token: z.string(),
4986
5000
  contactMethodId: z.string(),
5001
+ autoVerifyContactMethod: z.boolean().optional().default(false),
4987
5002
  createdAt: z.string(),
4988
5003
  expiresAt: z.string(),
4989
5004
  used: z.boolean()