@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.
@@ -4665,6 +4665,7 @@ var require_types_cjs_development = __commonJS({
|
|
4665
4665
|
type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
4666
4666
|
notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
4667
4667
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
4668
|
+
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
4668
4669
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
4669
4670
|
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
4670
4671
|
});
|
@@ -4748,7 +4749,7 @@ var require_types_cjs_development = __commonJS({
|
|
4748
4749
|
canManageChildrenProfiles: z.boolean(),
|
4749
4750
|
canViewAnalytics: z.boolean()
|
4750
4751
|
}).partial();
|
4751
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
4752
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
4752
4753
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
4753
4754
|
z.object({
|
4754
4755
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
@@ -4761,6 +4762,10 @@ var require_types_cjs_development = __commonJS({
|
|
4761
4762
|
z.object({
|
4762
4763
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
4763
4764
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
4765
|
+
}),
|
4766
|
+
z.object({
|
4767
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
4768
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
4764
4769
|
})
|
4765
4770
|
]);
|
4766
4771
|
var ClaimHookQueryValidator = z.object({
|
@@ -5020,7 +5025,8 @@ var require_types_cjs_development = __commonJS({
|
|
5020
5025
|
"PRESENTATION_RECEIVED",
|
5021
5026
|
"CONSENT_FLOW_TRANSACTION",
|
5022
5027
|
"ISSUANCE_CLAIMED",
|
5023
|
-
"ISSUANCE_DELIVERED"
|
5028
|
+
"ISSUANCE_DELIVERED",
|
5029
|
+
"ISSUANCE_ERROR"
|
5024
5030
|
]);
|
5025
5031
|
var LCNNotificationMessageValidator = z.object({
|
5026
5032
|
title: z.string().optional(),
|
@@ -5137,8 +5143,10 @@ var require_types_cjs_development = __commonJS({
|
|
5137
5143
|
createdAt: z.string(),
|
5138
5144
|
issuerDid: z.string(),
|
5139
5145
|
webhookUrl: z.string().optional(),
|
5140
|
-
|
5141
|
-
|
5146
|
+
signingAuthority: z.object({
|
5147
|
+
endpoint: z.string().optional(),
|
5148
|
+
name: z.string().optional()
|
5149
|
+
}).optional()
|
5142
5150
|
});
|
5143
5151
|
var PaginatedInboxCredentialsValidator = z.object({
|
5144
5152
|
hasMore: z.boolean(),
|
@@ -5193,6 +5201,7 @@ var require_types_cjs_development = __commonJS({
|
|
5193
5201
|
var ClaimTokenValidator = z.object({
|
5194
5202
|
token: z.string(),
|
5195
5203
|
contactMethodId: z.string(),
|
5204
|
+
autoVerifyContactMethod: z.boolean().optional().default(false),
|
5196
5205
|
createdAt: z.string(),
|
5197
5206
|
expiresAt: z.string(),
|
5198
5207
|
used: z.boolean()
|