@learncard/helpers 1.1.20 → 1.1.21

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.
@@ -4839,12 +4839,12 @@ var require_types_cjs_development = __commonJS({
4839
4839
  var ConsentFlowContractValidator = z.object({
4840
4840
  read: z.object({
4841
4841
  anonymize: z.boolean().optional(),
4842
- credentials: z.object({ categories: z.record(z.object({ required: z.boolean() })).default({}) }).default({}),
4843
- personal: z.record(z.object({ required: z.boolean() })).default({})
4842
+ credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
4843
+ personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
4844
4844
  }).default({}),
4845
4845
  write: z.object({
4846
- credentials: z.object({ categories: z.record(z.object({ required: z.boolean() })).default({}) }).default({}),
4847
- personal: z.record(z.object({ required: z.boolean() })).default({})
4846
+ credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
4847
+ personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
4848
4848
  }).default({})
4849
4849
  });
4850
4850
  var ConsentFlowContractDetailsValidator = z.object({