@learncard/sss-key-manager 0.1.19 → 0.1.20

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.
@@ -191,6 +191,12 @@ var require_types_cjs_development = __commonJS({
191
191
  LCNBoostClaimLinkSigningAuthorityValidator: /* @__PURE__ */ __name(() => LCNBoostClaimLinkSigningAuthorityValidator, "LCNBoostClaimLinkSigningAuthorityValidator"),
192
192
  LCNBoostStatus: /* @__PURE__ */ __name(() => LCNBoostStatus, "LCNBoostStatus"),
193
193
  LCNConnectionProfileValidator: /* @__PURE__ */ __name(() => LCNConnectionProfileValidator, "LCNConnectionProfileValidator"),
194
+ LCNConnectionPromptActionResultValidator: /* @__PURE__ */ __name(() => LCNConnectionPromptActionResultValidator, "LCNConnectionPromptActionResultValidator"),
195
+ LCNConnectionPromptActionStatusValidator: /* @__PURE__ */ __name(() => LCNConnectionPromptActionStatusValidator, "LCNConnectionPromptActionStatusValidator"),
196
+ LCNConnectionPromptMetadataValidator: /* @__PURE__ */ __name(() => LCNConnectionPromptMetadataValidator, "LCNConnectionPromptMetadataValidator"),
197
+ LCNConnectionPromptStatusValidator: /* @__PURE__ */ __name(() => LCNConnectionPromptStatusValidator, "LCNConnectionPromptStatusValidator"),
198
+ LCNConnectionPromptSurfaceValidator: /* @__PURE__ */ __name(() => LCNConnectionPromptSurfaceValidator, "LCNConnectionPromptSurfaceValidator"),
199
+ LCNConnectionPromptValidator: /* @__PURE__ */ __name(() => LCNConnectionPromptValidator, "LCNConnectionPromptValidator"),
194
200
  LCNDomainOrOriginValidator: /* @__PURE__ */ __name(() => LCNDomainOrOriginValidator, "LCNDomainOrOriginValidator"),
195
201
  LCNInboxContactMethodValidator: /* @__PURE__ */ __name(() => LCNInboxContactMethodValidator, "LCNInboxContactMethodValidator"),
196
202
  LCNInboxStatusEnumValidator: /* @__PURE__ */ __name(() => LCNInboxStatusEnumValidator, "LCNInboxStatusEnumValidator"),
@@ -202,6 +208,7 @@ var require_types_cjs_development = __commonJS({
202
208
  LCNNotificationDataValidator: /* @__PURE__ */ __name(() => LCNNotificationDataValidator, "LCNNotificationDataValidator"),
203
209
  LCNNotificationInboxValidator: /* @__PURE__ */ __name(() => LCNNotificationInboxValidator, "LCNNotificationInboxValidator"),
204
210
  LCNNotificationMessageValidator: /* @__PURE__ */ __name(() => LCNNotificationMessageValidator, "LCNNotificationMessageValidator"),
211
+ LCNNotificationMetadataValidator: /* @__PURE__ */ __name(() => LCNNotificationMetadataValidator, "LCNNotificationMetadataValidator"),
205
212
  LCNNotificationTypeEnumValidator: /* @__PURE__ */ __name(() => LCNNotificationTypeEnumValidator, "LCNNotificationTypeEnumValidator"),
206
213
  LCNNotificationValidator: /* @__PURE__ */ __name(() => LCNNotificationValidator, "LCNNotificationValidator"),
207
214
  LCNProfileConnectionStatusEnum: /* @__PURE__ */ __name(() => LCNProfileConnectionStatusEnum, "LCNProfileConnectionStatusEnum"),
@@ -16226,6 +16233,31 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16226
16233
  isServiceProfile: true,
16227
16234
  display: true
16228
16235
  });
16236
+ var LCNConnectionPromptStatusValidator = external_exports.enum(["PENDING", "SKIPPED", "CONNECTED"]);
16237
+ var LCNConnectionPromptSurfaceValidator = external_exports.enum(["POST_CLAIM", "NOTIFICATION"]);
16238
+ var LCNConnectionPromptActionStatusValidator = external_exports.enum([
16239
+ "PENDING",
16240
+ "SKIPPED",
16241
+ "CONNECTED",
16242
+ "STALE"
16243
+ ]);
16244
+ var LCNConnectionPromptValidator = external_exports.object({
16245
+ promptId: external_exports.string().uuid(),
16246
+ status: LCNConnectionPromptStatusValidator,
16247
+ surface: LCNConnectionPromptSurfaceValidator,
16248
+ triggerId: external_exports.string(),
16249
+ triggeredAt: external_exports.iso.datetime(),
16250
+ updatedAt: external_exports.iso.datetime(),
16251
+ counterpart: LCNPublicProfileValidator
16252
+ });
16253
+ var LCNConnectionPromptActionResultValidator = external_exports.object({
16254
+ promptId: external_exports.string().uuid(),
16255
+ status: LCNConnectionPromptActionStatusValidator
16256
+ });
16257
+ var LCNConnectionPromptMetadataValidator = external_exports.object({
16258
+ promptId: external_exports.string().uuid(),
16259
+ counterpartProfileId: external_exports.string()
16260
+ });
16229
16261
  var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
16230
16262
  bio: LCNProfileValidator.shape.bio,
16231
16263
  websiteLink: LCNProfileValidator.shape.websiteLink,
@@ -16790,12 +16822,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16790
16822
  }),
16791
16823
  timestamp: external_exports.iso.datetime().optional()
16792
16824
  });
16825
+ var LCNNotificationMetadataValidator = external_exports.object({
16826
+ connectionPrompt: LCNConnectionPromptMetadataValidator.optional()
16827
+ }).catchall(external_exports.unknown());
16793
16828
  var LCNNotificationDataValidator = external_exports.object({
16794
16829
  vcUris: external_exports.array(external_exports.string()).optional(),
16795
16830
  vpUris: external_exports.array(external_exports.string()).optional(),
16796
16831
  transaction: ConsentFlowTransactionValidator.optional(),
16797
16832
  inbox: LCNNotificationInboxValidator.optional(),
16798
- metadata: external_exports.record(external_exports.string(), external_exports.unknown()).optional()
16833
+ metadata: LCNNotificationMetadataValidator.optional()
16799
16834
  }).loose();
16800
16835
  var LCNNotificationValidator = external_exports.object({
16801
16836
  type: LCNNotificationTypeEnumValidator,