@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.
@@ -4633,6 +4633,16 @@ var BoostRecipientValidator = z.object({
4633
4633
  var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
4634
4634
  records: BoostRecipientValidator.array()
4635
4635
  });
4636
+ var BoostRecipientWithChildrenValidator = z.object({
4637
+ to: LCNProfileValidator,
4638
+ from: z.string(),
4639
+ received: z.string().optional(),
4640
+ boostUris: z.array(z.string()),
4641
+ credentialUris: z.array(z.string()).optional()
4642
+ });
4643
+ var PaginatedBoostRecipientsWithChildrenValidator = PaginationResponseValidator.extend({
4644
+ records: BoostRecipientWithChildrenValidator.array()
4645
+ });
4636
4646
  var LCNBoostClaimLinkSigningAuthorityValidator = z.object({
4637
4647
  endpoint: z.string(),
4638
4648
  name: z.string(),
@@ -4666,12 +4676,12 @@ var ConsentFlowTermsStatusValidator = z.enum(["live", "stale", "withdrawn"]);
4666
4676
  var ConsentFlowContractValidator = z.object({
4667
4677
  read: z.object({
4668
4678
  anonymize: z.boolean().optional(),
4669
- credentials: z.object({ categories: z.record(z.object({ required: z.boolean() })).default({}) }).default({}),
4670
- personal: z.record(z.object({ required: z.boolean() })).default({})
4679
+ credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
4680
+ personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
4671
4681
  }).default({}),
4672
4682
  write: z.object({
4673
- credentials: z.object({ categories: z.record(z.object({ required: z.boolean() })).default({}) }).default({}),
4674
- personal: z.record(z.object({ required: z.boolean() })).default({})
4683
+ credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
4684
+ personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
4675
4685
  }).default({})
4676
4686
  });
4677
4687
  var ConsentFlowContractDetailsValidator = z.object({