@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.
@@ -12049,6 +12049,7 @@ var LCNProfileValidator = z.object({
12049
12049
  type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
12050
12050
  notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
12051
12051
  display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
12052
+ highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
12052
12053
  role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
12053
12054
  dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
12054
12055
  });
@@ -12132,7 +12133,7 @@ var BoostPermissionsQueryValidator = z.object({
12132
12133
  canManageChildrenProfiles: z.boolean(),
12133
12134
  canViewAnalytics: z.boolean()
12134
12135
  }).partial();
12135
- var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
12136
+ var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
12136
12137
  var ClaimHookValidator = z.discriminatedUnion("type", [
12137
12138
  z.object({
12138
12139
  type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
@@ -12145,6 +12146,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
12145
12146
  z.object({
12146
12147
  type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
12147
12148
  data: z.object({ claimUri: z.string(), targetUri: z.string() })
12149
+ }),
12150
+ z.object({
12151
+ type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
12152
+ data: z.object({ claimUri: z.string(), targetUri: z.string() })
12148
12153
  })
12149
12154
  ]);
12150
12155
  var ClaimHookQueryValidator = z.object({
@@ -12404,7 +12409,8 @@ var LCNNotificationTypeEnumValidator = z.enum([
12404
12409
  "PRESENTATION_RECEIVED",
12405
12410
  "CONSENT_FLOW_TRANSACTION",
12406
12411
  "ISSUANCE_CLAIMED",
12407
- "ISSUANCE_DELIVERED"
12412
+ "ISSUANCE_DELIVERED",
12413
+ "ISSUANCE_ERROR"
12408
12414
  ]);
12409
12415
  var LCNNotificationMessageValidator = z.object({
12410
12416
  title: z.string().optional(),
@@ -12521,8 +12527,10 @@ var InboxCredentialValidator = z.object({
12521
12527
  createdAt: z.string(),
12522
12528
  issuerDid: z.string(),
12523
12529
  webhookUrl: z.string().optional(),
12524
- "signingAuthority.endpoint": z.string().optional(),
12525
- "signingAuthority.name": z.string().optional()
12530
+ signingAuthority: z.object({
12531
+ endpoint: z.string().optional(),
12532
+ name: z.string().optional()
12533
+ }).optional()
12526
12534
  });
12527
12535
  var PaginatedInboxCredentialsValidator = z.object({
12528
12536
  hasMore: z.boolean(),
@@ -12577,6 +12585,7 @@ var IssueInboxCredentialResponseValidator = z.object({
12577
12585
  var ClaimTokenValidator = z.object({
12578
12586
  token: z.string(),
12579
12587
  contactMethodId: z.string(),
12588
+ autoVerifyContactMethod: z.boolean().optional().default(false),
12580
12589
  createdAt: z.string(),
12581
12590
  expiresAt: z.string(),
12582
12591
  used: z.boolean()
@@ -67922,6 +67931,7 @@ var LCNProfileValidator2 = z2.object({
67922
67931
  type: z2.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
67923
67932
  notificationsWebhook: z2.string().url().startsWith("http").optional().describe("URL to send notifications to."),
67924
67933
  display: LCNProfileDisplayValidator2.optional().describe("Display settings for the profile."),
67934
+ highlightedCredentials: z2.array(z2.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
67925
67935
  role: z2.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
67926
67936
  dob: z2.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
67927
67937
  });
@@ -68005,7 +68015,7 @@ var BoostPermissionsQueryValidator2 = z2.object({
68005
68015
  canManageChildrenProfiles: z2.boolean(),
68006
68016
  canViewAnalytics: z2.boolean()
68007
68017
  }).partial();
68008
- var ClaimHookTypeValidator2 = z2.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
68018
+ var ClaimHookTypeValidator2 = z2.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
68009
68019
  var ClaimHookValidator2 = z2.discriminatedUnion("type", [
68010
68020
  z2.object({
68011
68021
  type: z2.literal(ClaimHookTypeValidator2.Values.GRANT_PERMISSIONS),
@@ -68018,6 +68028,10 @@ var ClaimHookValidator2 = z2.discriminatedUnion("type", [
68018
68028
  z2.object({
68019
68029
  type: z2.literal(ClaimHookTypeValidator2.Values.ADD_ADMIN),
68020
68030
  data: z2.object({ claimUri: z2.string(), targetUri: z2.string() })
68031
+ }),
68032
+ z2.object({
68033
+ type: z2.literal(ClaimHookTypeValidator2.Values.AUTO_CONNECT),
68034
+ data: z2.object({ claimUri: z2.string(), targetUri: z2.string() })
68021
68035
  })
68022
68036
  ]);
68023
68037
  var ClaimHookQueryValidator2 = z2.object({
@@ -68277,7 +68291,8 @@ var LCNNotificationTypeEnumValidator2 = z2.enum([
68277
68291
  "PRESENTATION_RECEIVED",
68278
68292
  "CONSENT_FLOW_TRANSACTION",
68279
68293
  "ISSUANCE_CLAIMED",
68280
- "ISSUANCE_DELIVERED"
68294
+ "ISSUANCE_DELIVERED",
68295
+ "ISSUANCE_ERROR"
68281
68296
  ]);
68282
68297
  var LCNNotificationMessageValidator2 = z2.object({
68283
68298
  title: z2.string().optional(),
@@ -68394,8 +68409,10 @@ var InboxCredentialValidator2 = z2.object({
68394
68409
  createdAt: z2.string(),
68395
68410
  issuerDid: z2.string(),
68396
68411
  webhookUrl: z2.string().optional(),
68397
- "signingAuthority.endpoint": z2.string().optional(),
68398
- "signingAuthority.name": z2.string().optional()
68412
+ signingAuthority: z2.object({
68413
+ endpoint: z2.string().optional(),
68414
+ name: z2.string().optional()
68415
+ }).optional()
68399
68416
  });
68400
68417
  var PaginatedInboxCredentialsValidator2 = z2.object({
68401
68418
  hasMore: z2.boolean(),
@@ -68450,6 +68467,7 @@ var IssueInboxCredentialResponseValidator2 = z2.object({
68450
68467
  var ClaimTokenValidator2 = z2.object({
68451
68468
  token: z2.string(),
68452
68469
  contactMethodId: z2.string(),
68470
+ autoVerifyContactMethod: z2.boolean().optional().default(false),
68453
68471
  createdAt: z2.string(),
68454
68472
  expiresAt: z2.string(),
68455
68473
  used: z2.boolean()