@learncard/idx-plugin 1.0.46 → 1.0.48

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.
@@ -12055,6 +12055,7 @@ var LCNProfileValidator = z.object({
12055
12055
  type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
12056
12056
  notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
12057
12057
  display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
12058
+ highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
12058
12059
  role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
12059
12060
  dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
12060
12061
  });
@@ -12138,7 +12139,7 @@ var BoostPermissionsQueryValidator = z.object({
12138
12139
  canManageChildrenProfiles: z.boolean(),
12139
12140
  canViewAnalytics: z.boolean()
12140
12141
  }).partial();
12141
- var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
12142
+ var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
12142
12143
  var ClaimHookValidator = z.discriminatedUnion("type", [
12143
12144
  z.object({
12144
12145
  type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
@@ -12151,6 +12152,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
12151
12152
  z.object({
12152
12153
  type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
12153
12154
  data: z.object({ claimUri: z.string(), targetUri: z.string() })
12155
+ }),
12156
+ z.object({
12157
+ type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
12158
+ data: z.object({ claimUri: z.string(), targetUri: z.string() })
12154
12159
  })
12155
12160
  ]);
12156
12161
  var ClaimHookQueryValidator = z.object({
@@ -12410,7 +12415,8 @@ var LCNNotificationTypeEnumValidator = z.enum([
12410
12415
  "PRESENTATION_RECEIVED",
12411
12416
  "CONSENT_FLOW_TRANSACTION",
12412
12417
  "ISSUANCE_CLAIMED",
12413
- "ISSUANCE_DELIVERED"
12418
+ "ISSUANCE_DELIVERED",
12419
+ "ISSUANCE_ERROR"
12414
12420
  ]);
12415
12421
  var LCNNotificationMessageValidator = z.object({
12416
12422
  title: z.string().optional(),
@@ -12527,8 +12533,10 @@ var InboxCredentialValidator = z.object({
12527
12533
  createdAt: z.string(),
12528
12534
  issuerDid: z.string(),
12529
12535
  webhookUrl: z.string().optional(),
12530
- "signingAuthority.endpoint": z.string().optional(),
12531
- "signingAuthority.name": z.string().optional()
12536
+ signingAuthority: z.object({
12537
+ endpoint: z.string().optional(),
12538
+ name: z.string().optional()
12539
+ }).optional()
12532
12540
  });
12533
12541
  var PaginatedInboxCredentialsValidator = z.object({
12534
12542
  hasMore: z.boolean(),
@@ -12583,6 +12591,7 @@ var IssueInboxCredentialResponseValidator = z.object({
12583
12591
  var ClaimTokenValidator = z.object({
12584
12592
  token: z.string(),
12585
12593
  contactMethodId: z.string(),
12594
+ autoVerifyContactMethod: z.boolean().optional().default(false),
12586
12595
  createdAt: z.string(),
12587
12596
  expiresAt: z.string(),
12588
12597
  used: z.boolean()
@@ -67928,6 +67937,7 @@ var LCNProfileValidator2 = z2.object({
67928
67937
  type: z2.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
67929
67938
  notificationsWebhook: z2.string().url().startsWith("http").optional().describe("URL to send notifications to."),
67930
67939
  display: LCNProfileDisplayValidator2.optional().describe("Display settings for the profile."),
67940
+ highlightedCredentials: z2.array(z2.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
67931
67941
  role: z2.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
67932
67942
  dob: z2.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
67933
67943
  });
@@ -68011,7 +68021,7 @@ var BoostPermissionsQueryValidator2 = z2.object({
68011
68021
  canManageChildrenProfiles: z2.boolean(),
68012
68022
  canViewAnalytics: z2.boolean()
68013
68023
  }).partial();
68014
- var ClaimHookTypeValidator2 = z2.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
68024
+ var ClaimHookTypeValidator2 = z2.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
68015
68025
  var ClaimHookValidator2 = z2.discriminatedUnion("type", [
68016
68026
  z2.object({
68017
68027
  type: z2.literal(ClaimHookTypeValidator2.Values.GRANT_PERMISSIONS),
@@ -68024,6 +68034,10 @@ var ClaimHookValidator2 = z2.discriminatedUnion("type", [
68024
68034
  z2.object({
68025
68035
  type: z2.literal(ClaimHookTypeValidator2.Values.ADD_ADMIN),
68026
68036
  data: z2.object({ claimUri: z2.string(), targetUri: z2.string() })
68037
+ }),
68038
+ z2.object({
68039
+ type: z2.literal(ClaimHookTypeValidator2.Values.AUTO_CONNECT),
68040
+ data: z2.object({ claimUri: z2.string(), targetUri: z2.string() })
68027
68041
  })
68028
68042
  ]);
68029
68043
  var ClaimHookQueryValidator2 = z2.object({
@@ -68283,7 +68297,8 @@ var LCNNotificationTypeEnumValidator2 = z2.enum([
68283
68297
  "PRESENTATION_RECEIVED",
68284
68298
  "CONSENT_FLOW_TRANSACTION",
68285
68299
  "ISSUANCE_CLAIMED",
68286
- "ISSUANCE_DELIVERED"
68300
+ "ISSUANCE_DELIVERED",
68301
+ "ISSUANCE_ERROR"
68287
68302
  ]);
68288
68303
  var LCNNotificationMessageValidator2 = z2.object({
68289
68304
  title: z2.string().optional(),
@@ -68400,8 +68415,10 @@ var InboxCredentialValidator2 = z2.object({
68400
68415
  createdAt: z2.string(),
68401
68416
  issuerDid: z2.string(),
68402
68417
  webhookUrl: z2.string().optional(),
68403
- "signingAuthority.endpoint": z2.string().optional(),
68404
- "signingAuthority.name": z2.string().optional()
68418
+ signingAuthority: z2.object({
68419
+ endpoint: z2.string().optional(),
68420
+ name: z2.string().optional()
68421
+ }).optional()
68405
68422
  });
68406
68423
  var PaginatedInboxCredentialsValidator2 = z2.object({
68407
68424
  hasMore: z2.boolean(),
@@ -68456,6 +68473,7 @@ var IssueInboxCredentialResponseValidator2 = z2.object({
68456
68473
  var ClaimTokenValidator2 = z2.object({
68457
68474
  token: z2.string(),
68458
68475
  contactMethodId: z2.string(),
68476
+ autoVerifyContactMethod: z2.boolean().optional().default(false),
68459
68477
  createdAt: z2.string(),
68460
68478
  expiresAt: z2.string(),
68461
68479
  used: z2.boolean()