@learncard/react 2.12.3 → 2.12.5

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.
Files changed (120) hide show
  1. package/dist/cjs/{BoostGenericCard-72cab860.js → BoostGenericCard-8f95d226.js} +2 -2
  2. package/dist/cjs/{BoostGenericCard-72cab860.js.map → BoostGenericCard-8f95d226.js.map} +1 -1
  3. package/dist/cjs/{BoostSmallCard-ece8f97e.js → BoostSmallCard-ac8ab73d.js} +2 -2
  4. package/dist/cjs/{BoostSmallCard-ece8f97e.js.map → BoostSmallCard-ac8ab73d.js.map} +1 -1
  5. package/dist/cjs/{CertificateDisplayCard-a036cdc5.js → CertificateDisplayCard-2f320b5f.js} +7 -6
  6. package/dist/cjs/{CertificateDisplayCard-a036cdc5.js.map → CertificateDisplayCard-2f320b5f.js.map} +1 -1
  7. package/dist/cjs/{MeritBadgeDisplayCard-2e4edd20.js → MeritBadgeDisplayCard-34c47b12.js} +7 -6
  8. package/dist/cjs/{MeritBadgeDisplayCard-2e4edd20.js.map → MeritBadgeDisplayCard-34c47b12.js.map} +1 -1
  9. package/dist/cjs/{MeritBadgeSkillsCount-472542c1.js → MeritBadgeSkillsCount-82e3e799.js} +2 -2
  10. package/dist/cjs/{MeritBadgeSkillsCount-472542c1.js.map → MeritBadgeSkillsCount-82e3e799.js.map} +1 -1
  11. package/dist/cjs/{NotificationBoostCard-3ed9ec86.js → NotificationBoostCard-04dd2405.js} +2 -2
  12. package/dist/cjs/{NotificationBoostCard-3ed9ec86.js.map → NotificationBoostCard-04dd2405.js.map} +1 -1
  13. package/dist/cjs/{UserProfilePicture-80675455.js → UserProfilePicture-61571db9.js} +8 -4
  14. package/dist/cjs/UserProfilePicture-61571db9.js.map +1 -0
  15. package/dist/cjs/{VCCard-ebbbda88.js → VCCard-7f8bbd9e.js} +3 -3
  16. package/dist/cjs/{VCCard-ebbbda88.js.map → VCCard-7f8bbd9e.js.map} +1 -1
  17. package/dist/cjs/{VCDisplayBackFace-13c73f23.js → VCDisplayBackFace-b11ec189.js} +3 -3
  18. package/dist/cjs/{VCDisplayBackFace-13c73f23.js.map → VCDisplayBackFace-b11ec189.js.map} +1 -1
  19. package/dist/cjs/{VCDisplayCard-3720145a.js → VCDisplayCard-1abef239.js} +4 -4
  20. package/dist/cjs/{VCDisplayCard-3720145a.js.map → VCDisplayCard-1abef239.js.map} +1 -1
  21. package/dist/cjs/{VCDisplayCard2-ae93ccd2.js → VCDisplayCard2-b6a512f3.js} +10 -9
  22. package/dist/cjs/{VCDisplayCard2-ae93ccd2.js.map → VCDisplayCard2-b6a512f3.js.map} +1 -1
  23. package/dist/cjs/{VCVerificationPill-a1607dff.js → VCVerificationPill-f50c4a12.js} +2 -2
  24. package/dist/cjs/{VCVerificationPill-a1607dff.js.map → VCVerificationPill-f50c4a12.js.map} +1 -1
  25. package/dist/cjs/VerifierStateBadgeAndText-3d7977c9.js +2575 -0
  26. package/dist/cjs/VerifierStateBadgeAndText-3d7977c9.js.map +1 -0
  27. package/dist/cjs/{credential.helpers-65ea507a.js → credential.helpers-d70f97fa.js} +2 -2
  28. package/dist/cjs/{credential.helpers-65ea507a.js.map → credential.helpers-d70f97fa.js.map} +1 -1
  29. package/dist/cjs/index.js +16 -15
  30. package/dist/cjs/index.js.map +1 -1
  31. package/dist/cjs/index14.js +16 -15
  32. package/dist/cjs/index14.js.map +1 -1
  33. package/dist/cjs/index22.js +7 -6
  34. package/dist/cjs/index22.js.map +1 -1
  35. package/dist/cjs/index25.js +3 -2
  36. package/dist/cjs/index25.js.map +1 -1
  37. package/dist/cjs/index38.js +2 -1
  38. package/dist/cjs/index38.js.map +1 -1
  39. package/dist/cjs/index39.js +12 -11
  40. package/dist/cjs/index39.js.map +1 -1
  41. package/dist/cjs/index4.js +3 -3
  42. package/dist/cjs/index40.js +4 -4
  43. package/dist/cjs/index41.js +7 -6
  44. package/dist/cjs/index41.js.map +1 -1
  45. package/dist/cjs/index42.js +8 -7
  46. package/dist/cjs/index42.js.map +1 -1
  47. package/dist/cjs/index43.js +2 -1
  48. package/dist/cjs/index43.js.map +1 -1
  49. package/dist/cjs/index46.js +2 -2
  50. package/dist/cjs/index5.js +3 -2
  51. package/dist/cjs/index5.js.map +1 -1
  52. package/dist/cjs/index7.js +6 -5
  53. package/dist/cjs/index7.js.map +1 -1
  54. package/dist/cjs/{types.esm-50b3eecd.js → types.esm-41c5e340.js} +221 -26
  55. package/dist/cjs/types.esm-41c5e340.js.map +1 -0
  56. package/dist/esm/{BoostGenericCard-2f586072.js → BoostGenericCard-d468ab12.js} +2 -2
  57. package/dist/esm/{BoostGenericCard-2f586072.js.map → BoostGenericCard-d468ab12.js.map} +1 -1
  58. package/dist/esm/{BoostSmallCard-3dedb5ae.js → BoostSmallCard-35b0290d.js} +2 -2
  59. package/dist/esm/{BoostSmallCard-3dedb5ae.js.map → BoostSmallCard-35b0290d.js.map} +1 -1
  60. package/dist/esm/{CertificateDisplayCard-ff1ae869.js → CertificateDisplayCard-d926cd2e.js} +6 -5
  61. package/dist/esm/{CertificateDisplayCard-ff1ae869.js.map → CertificateDisplayCard-d926cd2e.js.map} +1 -1
  62. package/dist/esm/{MeritBadgeDisplayCard-b8b904d2.js → MeritBadgeDisplayCard-b9e76145.js} +6 -5
  63. package/dist/esm/{MeritBadgeDisplayCard-b8b904d2.js.map → MeritBadgeDisplayCard-b9e76145.js.map} +1 -1
  64. package/dist/esm/{MeritBadgeSkillsCount-46d9c24b.js → MeritBadgeSkillsCount-5da775e7.js} +2 -2
  65. package/dist/esm/{MeritBadgeSkillsCount-46d9c24b.js.map → MeritBadgeSkillsCount-5da775e7.js.map} +1 -1
  66. package/dist/esm/{NotificationBoostCard-cfebc09e.js → NotificationBoostCard-73efea2d.js} +2 -2
  67. package/dist/esm/{NotificationBoostCard-cfebc09e.js.map → NotificationBoostCard-73efea2d.js.map} +1 -1
  68. package/dist/esm/{UserProfilePicture-50c34186.js → UserProfilePicture-4a00d151.js} +8 -4
  69. package/dist/esm/UserProfilePicture-4a00d151.js.map +1 -0
  70. package/dist/esm/{VCCard-e2ebb922.js → VCCard-9c291d98.js} +3 -3
  71. package/dist/esm/{VCCard-e2ebb922.js.map → VCCard-9c291d98.js.map} +1 -1
  72. package/dist/esm/{VCDisplayBackFace-4f2d700d.js → VCDisplayBackFace-ccdfca64.js} +3 -3
  73. package/dist/esm/{VCDisplayBackFace-4f2d700d.js.map → VCDisplayBackFace-ccdfca64.js.map} +1 -1
  74. package/dist/esm/{VCDisplayCard-32e126f8.js → VCDisplayCard-b40c212c.js} +4 -4
  75. package/dist/esm/{VCDisplayCard-32e126f8.js.map → VCDisplayCard-b40c212c.js.map} +1 -1
  76. package/dist/esm/{VCDisplayCard2-ec2177de.js → VCDisplayCard2-3a4d2726.js} +8 -7
  77. package/dist/esm/{VCDisplayCard2-ec2177de.js.map → VCDisplayCard2-3a4d2726.js.map} +1 -1
  78. package/dist/esm/{VCVerificationPill-0c336075.js → VCVerificationPill-ce872239.js} +2 -2
  79. package/dist/esm/{VCVerificationPill-0c336075.js.map → VCVerificationPill-ce872239.js.map} +1 -1
  80. package/dist/esm/VerifierStateBadgeAndText-f2bbd9fd.js +2533 -0
  81. package/dist/esm/VerifierStateBadgeAndText-f2bbd9fd.js.map +1 -0
  82. package/dist/esm/{credential.helpers-61005784.js → credential.helpers-bd90d02f.js} +2 -2
  83. package/dist/esm/{credential.helpers-61005784.js.map → credential.helpers-bd90d02f.js.map} +1 -1
  84. package/dist/esm/index.js +16 -15
  85. package/dist/esm/index.js.map +1 -1
  86. package/dist/esm/index14.js +16 -15
  87. package/dist/esm/index14.js.map +1 -1
  88. package/dist/esm/index22.js +7 -6
  89. package/dist/esm/index22.js.map +1 -1
  90. package/dist/esm/index25.js +3 -2
  91. package/dist/esm/index25.js.map +1 -1
  92. package/dist/esm/index38.js +2 -1
  93. package/dist/esm/index38.js.map +1 -1
  94. package/dist/esm/index39.js +12 -11
  95. package/dist/esm/index39.js.map +1 -1
  96. package/dist/esm/index4.js +3 -3
  97. package/dist/esm/index40.js +4 -4
  98. package/dist/esm/index41.js +7 -6
  99. package/dist/esm/index41.js.map +1 -1
  100. package/dist/esm/index42.js +8 -7
  101. package/dist/esm/index42.js.map +1 -1
  102. package/dist/esm/index43.js +2 -1
  103. package/dist/esm/index43.js.map +1 -1
  104. package/dist/esm/index46.js +2 -2
  105. package/dist/esm/index5.js +3 -2
  106. package/dist/esm/index5.js.map +1 -1
  107. package/dist/esm/index7.js +6 -5
  108. package/dist/esm/index7.js.map +1 -1
  109. package/dist/esm/{types.esm-2762569e.js → types.esm-277415d8.js} +222 -17
  110. package/dist/esm/types.esm-277415d8.js.map +1 -0
  111. package/package.json +4 -3
  112. package/src/components/UserProfilePicture/UserProfilePicture.tsx +8 -3
  113. package/dist/cjs/UserProfilePicture-80675455.js.map +0 -1
  114. package/dist/cjs/VerifierStateBadgeAndText-5f10743e.js +0 -21735
  115. package/dist/cjs/VerifierStateBadgeAndText-5f10743e.js.map +0 -1
  116. package/dist/cjs/types.esm-50b3eecd.js.map +0 -1
  117. package/dist/esm/UserProfilePicture-50c34186.js.map +0 -1
  118. package/dist/esm/VerifierStateBadgeAndText-0a4e0c63.js +0 -21692
  119. package/dist/esm/VerifierStateBadgeAndText-0a4e0c63.js.map +0 -1
  120. package/dist/esm/types.esm-2762569e.js.map +0 -1
@@ -4223,15 +4223,6 @@ function _number(Class, params) {
4223
4223
  });
4224
4224
  }
4225
4225
  // @__NO_SIDE_EFFECTS__
4226
- function _coercedNumber(Class, params) {
4227
- return new Class({
4228
- type: "number",
4229
- coerce: true,
4230
- checks: [],
4231
- ...normalizeParams(params),
4232
- });
4233
- }
4234
- // @__NO_SIDE_EFFECTS__
4235
4226
  function _int(Class, params) {
4236
4227
  return new Class({
4237
4228
  type: "number",
@@ -7409,9 +7400,28 @@ var _schemas = /*#__PURE__*/Object.freeze({
7409
7400
 
7410
7401
  config(en());
7411
7402
 
7412
- var _a;
7413
7403
  var __defProp = Object.defineProperty;
7414
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7404
+ var __defProps = Object.defineProperties;
7405
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7406
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
7407
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7408
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
7409
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7410
+ var __spreadValues = (a, b) => {
7411
+ for (var prop in b || (b = {}))
7412
+ if (__hasOwnProp.call(b, prop))
7413
+ __defNormalProp(a, prop, b[prop]);
7414
+ if (__getOwnPropSymbols)
7415
+ for (var prop of __getOwnPropSymbols(b)) {
7416
+ if (__propIsEnum.call(b, prop))
7417
+ __defNormalProp(a, prop, b[prop]);
7418
+ }
7419
+ return a;
7420
+ };
7421
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
7422
+ var _a;
7423
+ var __defProp2 = Object.defineProperty;
7424
+ var __name = (target, value) => __defProp2(target, "name", { value, configurable: true });
7415
7425
  var ContextValidator = array(string().or(record(string(), any())));
7416
7426
  object({
7417
7427
  type: string().optional(),
@@ -8308,7 +8318,10 @@ var SendOptionsValidator = object({
8308
8318
  webhookUrl: string().url().optional().describe("Webhook URL to receive claim notifications"),
8309
8319
  suppressDelivery: boolean().optional().describe("If true, returns claimUrl without sending email/SMS"),
8310
8320
  branding: SendBrandingOptionsValidator.optional().describe("Branding for email/SMS delivery"),
8311
- guardianEmail: string().email().optional().describe("Guardian email that must approve before student can claim")
8321
+ guardianEmail: string().email().optional().describe("Guardian email that must approve before student can claim"),
8322
+ expiresInDays: number().int().min(1).max(720).optional().describe(
8323
+ "How many days the credential stays claimable in the Universal Inbox (default 30). Does not change the credential validity period."
8324
+ )
8312
8325
  });
8313
8326
  var SendBoostInputValidator = object({
8314
8327
  type: literal("boost"),
@@ -8604,7 +8617,8 @@ var LCNNotificationTypeEnumValidator = _enum([
8604
8617
  "APP_NOTIFICATION",
8605
8618
  "CREDENTIAL_REVOKED",
8606
8619
  "CREDENTIAL_SUSPENDED",
8607
- "CREDENTIAL_UNSUSPENDED"
8620
+ "CREDENTIAL_UNSUSPENDED",
8621
+ "CREDENTIAL_REFRESHED"
8608
8622
  ]);
8609
8623
  var LCNNotificationMessageValidator = object({
8610
8624
  title: string().optional(),
@@ -8736,12 +8750,16 @@ object({
8736
8750
  });
8737
8751
  var InboxCredentialValidator = object({
8738
8752
  id: string(),
8739
- credential: string(),
8753
+ credential: string().optional(),
8740
8754
  isSigned: boolean(),
8741
8755
  currentStatus: LCNInboxStatusEnumValidator,
8742
8756
  isAccepted: boolean().optional(),
8743
8757
  expiresAt: string(),
8744
8758
  createdAt: string(),
8759
+ finalizedAt: string().optional(),
8760
+ expiredAt: string().optional(),
8761
+ credentialName: string().optional(),
8762
+ achievementType: string().optional(),
8745
8763
  issuerDid: string(),
8746
8764
  webhookUrl: string().optional(),
8747
8765
  boostUri: string().optional(),
@@ -8795,7 +8813,9 @@ object({
8795
8813
  "The signing authority to use for the credential. If not provided, the users default signing authority will be used if the credential is not signed."
8796
8814
  ),
8797
8815
  webhookUrl: string().url().optional().describe("The webhook URL to receive credential issuance events."),
8798
- expiresInDays: number().min(1).max(365).optional().describe("The number of days the credential will be valid for."),
8816
+ expiresInDays: number().int().min(1).max(720).optional().describe(
8817
+ "How many days the encrypted inbox payload remains claimable. This does not change the credential validity period."
8818
+ ),
8799
8819
  templateData: record(string(), unknown()).optional().describe(
8800
8820
  "Template data to render into the boost credential template using Mustache syntax. Only used when boostUri is provided."
8801
8821
  ),
@@ -8858,6 +8878,9 @@ object({
8858
8878
  credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).or(CredentialNameRefValidator).describe("The credential to issue, or a { name } reference to resolve a boost template."),
8859
8879
  configuration: object({
8860
8880
  publishableKey: string(),
8881
+ expiresInDays: number().int().min(1).max(720).optional().describe(
8882
+ "Inbox claim window in days. Defaults to 720; use a shorter window for sensitive records."
8883
+ ),
8861
8884
  signingAuthorityName: string().optional(),
8862
8885
  listingId: string().optional(),
8863
8886
  listingSlug: string().optional()
@@ -9483,6 +9506,188 @@ object({
9483
9506
  version: number().default(1),
9484
9507
  messages: array(inAppMessageValidator).default([])
9485
9508
  }).passthrough();
9509
+ var LearnCardRefreshAuthorizationValidator = object({ type: literal("LearnCardDIDAuth") }).catchall(any());
9510
+ var ManagedCredentialRefreshServiceValidator = object({
9511
+ id: string().min(1),
9512
+ type: literal("LearnCardCredentialRefresh2026"),
9513
+ authorization: LearnCardRefreshAuthorizationValidator.optional()
9514
+ }).catchall(any());
9515
+ var StandardCredentialRefreshServiceValidator = object({
9516
+ id: string().min(1),
9517
+ type: literal("1EdTechCredentialRefresh")
9518
+ }).catchall(any());
9519
+ union([
9520
+ ManagedCredentialRefreshServiceValidator,
9521
+ StandardCredentialRefreshServiceValidator
9522
+ ]);
9523
+ object({
9524
+ holder: object({
9525
+ profileId: string().optional(),
9526
+ did: string().min(1)
9527
+ }),
9528
+ credentialId: string().min(1)
9529
+ });
9530
+ object({
9531
+ refreshId: string().min(1),
9532
+ refreshService: ManagedCredentialRefreshServiceValidator.extend({
9533
+ authorization: LearnCardRefreshAuthorizationValidator
9534
+ })
9535
+ });
9536
+ var CredentialRefreshSigningModeValidator = _enum(["issuer-signed", "signing-authority"]);
9537
+ var PublishCredentialRefreshBaseFields = {
9538
+ refreshId: string().min(1),
9539
+ notifyHolder: boolean().optional(),
9540
+ updateSummary: string().optional(),
9541
+ idempotencyKey: string().optional()
9542
+ };
9543
+ object(__spreadProps(__spreadValues({}, PublishCredentialRefreshBaseFields), {
9544
+ mode: literal("issuer-signed"),
9545
+ signedCredential: VCValidator
9546
+ }));
9547
+ object(__spreadProps(__spreadValues({}, PublishCredentialRefreshBaseFields), {
9548
+ mode: literal("signing-authority"),
9549
+ credential: UnsignedVCValidator,
9550
+ signingAuthority: object({
9551
+ type: string().min(1)
9552
+ }).catchall(any())
9553
+ }));
9554
+ object(__spreadProps(__spreadValues({}, PublishCredentialRefreshBaseFields), {
9555
+ mode: CredentialRefreshSigningModeValidator,
9556
+ signedCredential: VCValidator.optional(),
9557
+ credential: UnsignedVCValidator.optional(),
9558
+ signingAuthority: object({
9559
+ type: string().min(1)
9560
+ }).catchall(any()).optional()
9561
+ })).superRefine((input, ctx) => {
9562
+ if (input.mode === "issuer-signed" && !input.signedCredential) {
9563
+ ctx.addIssue({
9564
+ code: "custom",
9565
+ path: ["signedCredential"],
9566
+ message: "signedCredential is required for issuer-signed publication"
9567
+ });
9568
+ }
9569
+ if (input.mode === "issuer-signed" && (input.credential !== void 0 || input.signingAuthority !== void 0)) {
9570
+ ctx.addIssue({
9571
+ code: "custom",
9572
+ path: ["mode"],
9573
+ message: "issuer-signed publication cannot include signing-authority fields"
9574
+ });
9575
+ }
9576
+ if (input.mode === "signing-authority") {
9577
+ if (input.signedCredential !== void 0) {
9578
+ ctx.addIssue({
9579
+ code: "custom",
9580
+ path: ["signedCredential"],
9581
+ message: "signing-authority publication cannot include signedCredential"
9582
+ });
9583
+ }
9584
+ if (!input.credential) {
9585
+ ctx.addIssue({
9586
+ code: "custom",
9587
+ path: ["credential"],
9588
+ message: "credential is required for signing-authority publication"
9589
+ });
9590
+ }
9591
+ if (!input.signingAuthority) {
9592
+ ctx.addIssue({
9593
+ code: "custom",
9594
+ path: ["signingAuthority"],
9595
+ message: "signingAuthority is required for signing-authority publication"
9596
+ });
9597
+ }
9598
+ }
9599
+ });
9600
+ var PublishCredentialRefreshNotificationValidator = _enum([
9601
+ "queued",
9602
+ "suppressed",
9603
+ "not-applicable",
9604
+ /** Publication succeeded, but the post-commit notification enqueue must be retried. */
9605
+ "delivery-failed"
9606
+ ]);
9607
+ object({
9608
+ refreshId: string().min(1),
9609
+ version: number().int().positive(),
9610
+ publishedAt: string().min(1),
9611
+ notification: PublishCredentialRefreshNotificationValidator
9612
+ });
9613
+ var CredentialRefreshVersionMetadataValidator = object({
9614
+ version: number().int().positive(),
9615
+ publishedAt: string().min(1),
9616
+ effectiveAt: string().optional(),
9617
+ etag: string().optional(),
9618
+ signingMode: CredentialRefreshSigningModeValidator.optional(),
9619
+ updateSummary: string().optional()
9620
+ });
9621
+ object({
9622
+ refreshId: string().min(1),
9623
+ cursor: string().optional(),
9624
+ limit: number().int().positive().optional()
9625
+ });
9626
+ object({
9627
+ records: CredentialRefreshVersionMetadataValidator.array(),
9628
+ hasMore: boolean(),
9629
+ cursor: string().optional()
9630
+ });
9631
+ object({
9632
+ challenge: string().min(1),
9633
+ expiresAt: string().min(1),
9634
+ domain: string().optional(),
9635
+ scheme: literal("LearnCardDIDAuth").optional()
9636
+ });
9637
+ var PublicCredentialRefreshEnvelopeValidator = object({
9638
+ format: literal("vc"),
9639
+ credential: VCValidator,
9640
+ etag: string().optional()
9641
+ });
9642
+ var JweCredentialRefreshEnvelopeValidator = object({
9643
+ format: literal("jwe"),
9644
+ jwe: JWEValidator,
9645
+ etag: string().optional(),
9646
+ /** Present on LearnCard-managed endpoints; optional for interoperable JWE services. */
9647
+ version: number().int().positive().optional()
9648
+ });
9649
+ discriminatedUnion("format", [
9650
+ PublicCredentialRefreshEnvelopeValidator,
9651
+ JweCredentialRefreshEnvelopeValidator
9652
+ ]);
9653
+ var CredentialRefreshFailureCodeValidator = _enum([
9654
+ "UNAVAILABLE",
9655
+ "TIMEOUT",
9656
+ "UNSUPPORTED_SERVICE",
9657
+ "UNAUTHORIZED",
9658
+ "MALFORMED_RESPONSE",
9659
+ "INVALID_PROOF",
9660
+ "ISSUER_MISMATCH",
9661
+ "ID_MISMATCH",
9662
+ "ROLLBACK",
9663
+ "REVOKED",
9664
+ "UNSAFE_ENDPOINT"
9665
+ ]);
9666
+ var CredentialRefreshUpdatedResultValidator = object({
9667
+ status: literal("updated"),
9668
+ credential: VCValidator,
9669
+ etag: string().optional(),
9670
+ managedVersion: number().int().positive().optional()
9671
+ });
9672
+ var CredentialRefreshUnchangedResultValidator = object({
9673
+ status: literal("unchanged"),
9674
+ checkedAt: string().min(1),
9675
+ etag: string().optional()
9676
+ });
9677
+ var CredentialRefreshUnsupportedResultValidator = object({
9678
+ status: literal("unsupported")
9679
+ });
9680
+ var CredentialRefreshFailedResultValidator = object({
9681
+ status: literal("failed"),
9682
+ code: CredentialRefreshFailureCodeValidator,
9683
+ retryable: boolean()
9684
+ });
9685
+ discriminatedUnion("status", [
9686
+ CredentialRefreshUpdatedResultValidator,
9687
+ CredentialRefreshUnchangedResultValidator,
9688
+ CredentialRefreshUnsupportedResultValidator,
9689
+ CredentialRefreshFailedResultValidator
9690
+ ]);
9486
9691
 
9487
- export { VerificationStatusEnum as V, ZodNumber as Z, _coercedNumber as _, url as a, _enum as b, literal as l, number as n, object as o, preprocess as p, string as s, union as u };
9488
- //# sourceMappingURL=types.esm-2762569e.js.map
9692
+ export { VerificationStatusEnum as V };
9693
+ //# sourceMappingURL=types.esm-277415d8.js.map