@learncard/learn-card-plugin 1.1.50 → 1.1.53

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.
@@ -4609,6 +4609,16 @@ var BoostRecipientValidator = z.object({
4609
4609
  var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
4610
4610
  records: BoostRecipientValidator.array()
4611
4611
  });
4612
+ var BoostRecipientWithChildrenValidator = z.object({
4613
+ to: LCNProfileValidator,
4614
+ from: z.string(),
4615
+ received: z.string().optional(),
4616
+ boostUris: z.array(z.string()),
4617
+ credentialUris: z.array(z.string()).optional()
4618
+ });
4619
+ var PaginatedBoostRecipientsWithChildrenValidator = PaginationResponseValidator.extend({
4620
+ records: BoostRecipientWithChildrenValidator.array()
4621
+ });
4612
4622
  var LCNBoostClaimLinkSigningAuthorityValidator = z.object({
4613
4623
  endpoint: z.string(),
4614
4624
  name: z.string(),
@@ -4642,12 +4652,12 @@ var ConsentFlowTermsStatusValidator = z.enum(["live", "stale", "withdrawn"]);
4642
4652
  var ConsentFlowContractValidator = z.object({
4643
4653
  read: z.object({
4644
4654
  anonymize: z.boolean().optional(),
4645
- credentials: z.object({ categories: z.record(z.object({ required: z.boolean() })).default({}) }).default({}),
4646
- personal: z.record(z.object({ required: z.boolean() })).default({})
4655
+ credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
4656
+ personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
4647
4657
  }).default({}),
4648
4658
  write: z.object({
4649
- credentials: z.object({ categories: z.record(z.object({ required: z.boolean() })).default({}) }).default({}),
4650
- personal: z.record(z.object({ required: z.boolean() })).default({})
4659
+ credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
4660
+ personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
4651
4661
  }).default({})
4652
4662
  });
4653
4663
  var ConsentFlowContractDetailsValidator = z.object({