@learncard/helpers 1.1.23 → 1.1.25
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
@@ -4660,6 +4660,7 @@ var require_types_cjs_development = __commonJS({
|
|
4660
4660
|
type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
4661
4661
|
notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
4662
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."),
|
4663
4664
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
4664
4665
|
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
4665
4666
|
});
|
@@ -4743,7 +4744,7 @@ var require_types_cjs_development = __commonJS({
|
|
4743
4744
|
canManageChildrenProfiles: z.boolean(),
|
4744
4745
|
canViewAnalytics: z.boolean()
|
4745
4746
|
}).partial();
|
4746
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
4747
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
4747
4748
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
4748
4749
|
z.object({
|
4749
4750
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
@@ -4756,6 +4757,10 @@ var require_types_cjs_development = __commonJS({
|
|
4756
4757
|
z.object({
|
4757
4758
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
4758
4759
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
4760
|
+
}),
|
4761
|
+
z.object({
|
4762
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
4763
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
4759
4764
|
})
|
4760
4765
|
]);
|
4761
4766
|
var ClaimHookQueryValidator = z.object({
|
@@ -5015,7 +5020,8 @@ var require_types_cjs_development = __commonJS({
|
|
5015
5020
|
"PRESENTATION_RECEIVED",
|
5016
5021
|
"CONSENT_FLOW_TRANSACTION",
|
5017
5022
|
"ISSUANCE_CLAIMED",
|
5018
|
-
"ISSUANCE_DELIVERED"
|
5023
|
+
"ISSUANCE_DELIVERED",
|
5024
|
+
"ISSUANCE_ERROR"
|
5019
5025
|
]);
|
5020
5026
|
var LCNNotificationMessageValidator = z.object({
|
5021
5027
|
title: z.string().optional(),
|
@@ -5132,8 +5138,10 @@ var require_types_cjs_development = __commonJS({
|
|
5132
5138
|
createdAt: z.string(),
|
5133
5139
|
issuerDid: z.string(),
|
5134
5140
|
webhookUrl: z.string().optional(),
|
5135
|
-
|
5136
|
-
|
5141
|
+
signingAuthority: z.object({
|
5142
|
+
endpoint: z.string().optional(),
|
5143
|
+
name: z.string().optional()
|
5144
|
+
}).optional()
|
5137
5145
|
});
|
5138
5146
|
var PaginatedInboxCredentialsValidator = z.object({
|
5139
5147
|
hasMore: z.boolean(),
|
@@ -5188,6 +5196,7 @@ var require_types_cjs_development = __commonJS({
|
|
5188
5196
|
var ClaimTokenValidator = z.object({
|
5189
5197
|
token: z.string(),
|
5190
5198
|
contactMethodId: z.string(),
|
5199
|
+
autoVerifyContactMethod: z.boolean().optional().default(false),
|
5191
5200
|
createdAt: z.string(),
|
5192
5201
|
expiresAt: z.string(),
|
5193
5202
|
used: z.boolean()
|