@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.
package/dist/helpers.esm.js
CHANGED
@@ -62,6 +62,7 @@ var require_types_cjs_development = __commonJS({
|
|
62
62
|
BoostPermissionsValidator: () => BoostPermissionsValidator,
|
63
63
|
BoostQueryValidator: () => BoostQueryValidator,
|
64
64
|
BoostRecipientValidator: () => BoostRecipientValidator,
|
65
|
+
BoostRecipientWithChildrenValidator: () => BoostRecipientWithChildrenValidator,
|
65
66
|
BoostValidator: () => BoostValidator,
|
66
67
|
ClaimHookQueryValidator: () => ClaimHookQueryValidator,
|
67
68
|
ClaimHookTypeValidator: () => ClaimHookTypeValidator,
|
@@ -137,6 +138,7 @@ var require_types_cjs_development = __commonJS({
|
|
137
138
|
LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator,
|
138
139
|
LCNSigningAuthorityValidator: () => LCNSigningAuthorityValidator,
|
139
140
|
PaginatedBoostRecipientsValidator: () => PaginatedBoostRecipientsValidator,
|
141
|
+
PaginatedBoostRecipientsWithChildrenValidator: () => PaginatedBoostRecipientsWithChildrenValidator,
|
140
142
|
PaginatedBoostsValidator: () => PaginatedBoostsValidator,
|
141
143
|
PaginatedClaimHooksValidator: () => PaginatedClaimHooksValidator,
|
142
144
|
PaginatedConsentFlowContractsValidator: () => PaginatedConsentFlowContractsValidator,
|
@@ -4801,6 +4803,16 @@ var require_types_cjs_development = __commonJS({
|
|
4801
4803
|
var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
|
4802
4804
|
records: BoostRecipientValidator.array()
|
4803
4805
|
});
|
4806
|
+
var BoostRecipientWithChildrenValidator = z.object({
|
4807
|
+
to: LCNProfileValidator,
|
4808
|
+
from: z.string(),
|
4809
|
+
received: z.string().optional(),
|
4810
|
+
boostUris: z.array(z.string()),
|
4811
|
+
credentialUris: z.array(z.string()).optional()
|
4812
|
+
});
|
4813
|
+
var PaginatedBoostRecipientsWithChildrenValidator = PaginationResponseValidator.extend({
|
4814
|
+
records: BoostRecipientWithChildrenValidator.array()
|
4815
|
+
});
|
4804
4816
|
var LCNBoostClaimLinkSigningAuthorityValidator = z.object({
|
4805
4817
|
endpoint: z.string(),
|
4806
4818
|
name: z.string(),
|
@@ -4834,12 +4846,12 @@ var require_types_cjs_development = __commonJS({
|
|
4834
4846
|
var ConsentFlowContractValidator = z.object({
|
4835
4847
|
read: z.object({
|
4836
4848
|
anonymize: z.boolean().optional(),
|
4837
|
-
credentials: z.object({ categories: z.record(z.object({ required: z.boolean() })).default({}) }).default({}),
|
4838
|
-
personal: z.record(z.object({ required: z.boolean() })).default({})
|
4849
|
+
credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
|
4850
|
+
personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
|
4839
4851
|
}).default({}),
|
4840
4852
|
write: z.object({
|
4841
|
-
credentials: z.object({ categories: z.record(z.object({ required: z.boolean() })).default({}) }).default({}),
|
4842
|
-
personal: z.record(z.object({ required: z.boolean() })).default({})
|
4853
|
+
credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
|
4854
|
+
personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
|
4843
4855
|
}).default({})
|
4844
4856
|
});
|
4845
4857
|
var ConsentFlowContractDetailsValidator = z.object({
|