@learncard/helpers 1.1.21 → 1.1.24
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,
|
@@ -4658,6 +4660,7 @@ var require_types_cjs_development = __commonJS({
|
|
4658
4660
|
type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
4659
4661
|
notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
4660
4662
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
4663
|
+
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
4661
4664
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
4662
4665
|
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
4663
4666
|
});
|
@@ -4801,6 +4804,16 @@ var require_types_cjs_development = __commonJS({
|
|
4801
4804
|
var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
|
4802
4805
|
records: BoostRecipientValidator.array()
|
4803
4806
|
});
|
4807
|
+
var BoostRecipientWithChildrenValidator = z.object({
|
4808
|
+
to: LCNProfileValidator,
|
4809
|
+
from: z.string(),
|
4810
|
+
received: z.string().optional(),
|
4811
|
+
boostUris: z.array(z.string()),
|
4812
|
+
credentialUris: z.array(z.string()).optional()
|
4813
|
+
});
|
4814
|
+
var PaginatedBoostRecipientsWithChildrenValidator = PaginationResponseValidator.extend({
|
4815
|
+
records: BoostRecipientWithChildrenValidator.array()
|
4816
|
+
});
|
4804
4817
|
var LCNBoostClaimLinkSigningAuthorityValidator = z.object({
|
4805
4818
|
endpoint: z.string(),
|
4806
4819
|
name: z.string(),
|
@@ -5003,7 +5016,8 @@ var require_types_cjs_development = __commonJS({
|
|
5003
5016
|
"PRESENTATION_RECEIVED",
|
5004
5017
|
"CONSENT_FLOW_TRANSACTION",
|
5005
5018
|
"ISSUANCE_CLAIMED",
|
5006
|
-
"ISSUANCE_DELIVERED"
|
5019
|
+
"ISSUANCE_DELIVERED",
|
5020
|
+
"ISSUANCE_ERROR"
|
5007
5021
|
]);
|
5008
5022
|
var LCNNotificationMessageValidator = z.object({
|
5009
5023
|
title: z.string().optional(),
|
@@ -5120,8 +5134,10 @@ var require_types_cjs_development = __commonJS({
|
|
5120
5134
|
createdAt: z.string(),
|
5121
5135
|
issuerDid: z.string(),
|
5122
5136
|
webhookUrl: z.string().optional(),
|
5123
|
-
|
5124
|
-
|
5137
|
+
signingAuthority: z.object({
|
5138
|
+
endpoint: z.string().optional(),
|
5139
|
+
name: z.string().optional()
|
5140
|
+
}).optional()
|
5125
5141
|
});
|
5126
5142
|
var PaginatedInboxCredentialsValidator = z.object({
|
5127
5143
|
hasMore: z.boolean(),
|
@@ -5176,6 +5192,7 @@ var require_types_cjs_development = __commonJS({
|
|
5176
5192
|
var ClaimTokenValidator = z.object({
|
5177
5193
|
token: z.string(),
|
5178
5194
|
contactMethodId: z.string(),
|
5195
|
+
autoVerifyContactMethod: z.boolean().optional().default(false),
|
5179
5196
|
createdAt: z.string(),
|
5180
5197
|
expiresAt: z.string(),
|
5181
5198
|
used: z.boolean()
|