@learncard/helpers 1.1.21 → 1.1.24

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.
@@ -67,6 +67,7 @@ var require_types_cjs_development = __commonJS({
67
67
  BoostPermissionsValidator: () => BoostPermissionsValidator,
68
68
  BoostQueryValidator: () => BoostQueryValidator,
69
69
  BoostRecipientValidator: () => BoostRecipientValidator,
70
+ BoostRecipientWithChildrenValidator: () => BoostRecipientWithChildrenValidator,
70
71
  BoostValidator: () => BoostValidator,
71
72
  ClaimHookQueryValidator: () => ClaimHookQueryValidator,
72
73
  ClaimHookTypeValidator: () => ClaimHookTypeValidator,
@@ -142,6 +143,7 @@ var require_types_cjs_development = __commonJS({
142
143
  LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator,
143
144
  LCNSigningAuthorityValidator: () => LCNSigningAuthorityValidator,
144
145
  PaginatedBoostRecipientsValidator: () => PaginatedBoostRecipientsValidator,
146
+ PaginatedBoostRecipientsWithChildrenValidator: () => PaginatedBoostRecipientsWithChildrenValidator,
145
147
  PaginatedBoostsValidator: () => PaginatedBoostsValidator,
146
148
  PaginatedClaimHooksValidator: () => PaginatedClaimHooksValidator,
147
149
  PaginatedConsentFlowContractsValidator: () => PaginatedConsentFlowContractsValidator,
@@ -4663,6 +4665,7 @@ var require_types_cjs_development = __commonJS({
4663
4665
  type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
4664
4666
  notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
4665
4667
  display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
4668
+ highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
4666
4669
  role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
4667
4670
  dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
4668
4671
  });
@@ -4806,6 +4809,16 @@ var require_types_cjs_development = __commonJS({
4806
4809
  var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
4807
4810
  records: BoostRecipientValidator.array()
4808
4811
  });
4812
+ var BoostRecipientWithChildrenValidator = z.object({
4813
+ to: LCNProfileValidator,
4814
+ from: z.string(),
4815
+ received: z.string().optional(),
4816
+ boostUris: z.array(z.string()),
4817
+ credentialUris: z.array(z.string()).optional()
4818
+ });
4819
+ var PaginatedBoostRecipientsWithChildrenValidator = PaginationResponseValidator.extend({
4820
+ records: BoostRecipientWithChildrenValidator.array()
4821
+ });
4809
4822
  var LCNBoostClaimLinkSigningAuthorityValidator = z.object({
4810
4823
  endpoint: z.string(),
4811
4824
  name: z.string(),
@@ -5008,7 +5021,8 @@ var require_types_cjs_development = __commonJS({
5008
5021
  "PRESENTATION_RECEIVED",
5009
5022
  "CONSENT_FLOW_TRANSACTION",
5010
5023
  "ISSUANCE_CLAIMED",
5011
- "ISSUANCE_DELIVERED"
5024
+ "ISSUANCE_DELIVERED",
5025
+ "ISSUANCE_ERROR"
5012
5026
  ]);
5013
5027
  var LCNNotificationMessageValidator = z.object({
5014
5028
  title: z.string().optional(),
@@ -5125,8 +5139,10 @@ var require_types_cjs_development = __commonJS({
5125
5139
  createdAt: z.string(),
5126
5140
  issuerDid: z.string(),
5127
5141
  webhookUrl: z.string().optional(),
5128
- "signingAuthority.endpoint": z.string().optional(),
5129
- "signingAuthority.name": z.string().optional()
5142
+ signingAuthority: z.object({
5143
+ endpoint: z.string().optional(),
5144
+ name: z.string().optional()
5145
+ }).optional()
5130
5146
  });
5131
5147
  var PaginatedInboxCredentialsValidator = z.object({
5132
5148
  hasMore: z.boolean(),
@@ -5181,6 +5197,7 @@ var require_types_cjs_development = __commonJS({
5181
5197
  var ClaimTokenValidator = z.object({
5182
5198
  token: z.string(),
5183
5199
  contactMethodId: z.string(),
5200
+ autoVerifyContactMethod: z.boolean().optional().default(false),
5184
5201
  createdAt: z.string(),
5185
5202
  expiresAt: z.string(),
5186
5203
  used: z.boolean()