@learncard/helpers 1.1.20 → 1.1.23
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,
|
@@ -4806,6 +4808,16 @@ var require_types_cjs_development = __commonJS({
|
|
4806
4808
|
var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
|
4807
4809
|
records: BoostRecipientValidator.array()
|
4808
4810
|
});
|
4811
|
+
var BoostRecipientWithChildrenValidator = z.object({
|
4812
|
+
to: LCNProfileValidator,
|
4813
|
+
from: z.string(),
|
4814
|
+
received: z.string().optional(),
|
4815
|
+
boostUris: z.array(z.string()),
|
4816
|
+
credentialUris: z.array(z.string()).optional()
|
4817
|
+
});
|
4818
|
+
var PaginatedBoostRecipientsWithChildrenValidator = PaginationResponseValidator.extend({
|
4819
|
+
records: BoostRecipientWithChildrenValidator.array()
|
4820
|
+
});
|
4809
4821
|
var LCNBoostClaimLinkSigningAuthorityValidator = z.object({
|
4810
4822
|
endpoint: z.string(),
|
4811
4823
|
name: z.string(),
|
@@ -4839,12 +4851,12 @@ var require_types_cjs_development = __commonJS({
|
|
4839
4851
|
var ConsentFlowContractValidator = z.object({
|
4840
4852
|
read: z.object({
|
4841
4853
|
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({})
|
4854
|
+
credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
|
4855
|
+
personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
|
4844
4856
|
}).default({}),
|
4845
4857
|
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({})
|
4858
|
+
credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
|
4859
|
+
personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
|
4848
4860
|
}).default({})
|
4849
4861
|
});
|
4850
4862
|
var ConsentFlowContractDetailsValidator = z.object({
|