@learncard/types 5.11.1 → 5.11.3

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.
package/dist/lcn.d.ts CHANGED
@@ -640,8 +640,24 @@ export declare const PaginatedClaimHooksValidator: z.ZodObject<{
640
640
  }, z.core.$strip>], "type">>>;
641
641
  }, z.core.$strip>;
642
642
  export type PaginatedClaimHooksType = z.infer<typeof PaginatedClaimHooksValidator>;
643
+ /**
644
+ * Status states for Boosts that control what actions can be performed.
645
+ *
646
+ * - **DRAFT**: Work in progress. Can edit all fields, but cannot send or generate claim links.
647
+ * - **PROVISIONAL**: Active but iterating. Can both edit all fields AND send/issue credentials. Ideal for testing in production or soft launches.
648
+ * - **LIVE**: Official/finalized. Can only edit meta and defaultPermissions. Core properties are locked for consistency.
649
+ *
650
+ * @example
651
+ * ```typescript
652
+ * // Create a provisional boost for testing
653
+ * const boostUri = await learnCard.invoke.createBoost(credential, {
654
+ * status: 'PROVISIONAL',
655
+ * });
656
+ * ```
657
+ */
643
658
  export declare const LCNBoostStatus: z.ZodEnum<{
644
659
  DRAFT: "DRAFT";
660
+ PROVISIONAL: "PROVISIONAL";
645
661
  LIVE: "LIVE";
646
662
  }>;
647
663
  export type LCNBoostStatusEnum = z.infer<typeof LCNBoostStatus>;
@@ -652,6 +668,7 @@ export declare const BoostValidator: z.ZodObject<{
652
668
  category: z.ZodOptional<z.ZodString>;
653
669
  status: z.ZodOptional<z.ZodEnum<{
654
670
  DRAFT: "DRAFT";
671
+ PROVISIONAL: "PROVISIONAL";
655
672
  LIVE: "LIVE";
656
673
  }>>;
657
674
  autoConnectRecipients: z.ZodOptional<z.ZodBoolean>;
@@ -746,10 +763,12 @@ export declare const BoostQueryValidator: z.ZodUnion<readonly [z.ZodObject<{
746
763
  }, z.core.$strip>]>>>;
747
764
  status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
748
765
  DRAFT: "DRAFT";
766
+ PROVISIONAL: "PROVISIONAL";
749
767
  LIVE: "LIVE";
750
768
  }>, z.ZodObject<{
751
769
  $in: z.ZodArray<z.ZodEnum<{
752
770
  DRAFT: "DRAFT";
771
+ PROVISIONAL: "PROVISIONAL";
753
772
  LIVE: "LIVE";
754
773
  }>>;
755
774
  }, z.core.$strip>]>>;
@@ -813,10 +832,12 @@ export declare const BoostQueryValidator: z.ZodUnion<readonly [z.ZodObject<{
813
832
  }, z.core.$strip>]>>>;
814
833
  status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<{
815
834
  DRAFT: "DRAFT";
835
+ PROVISIONAL: "PROVISIONAL";
816
836
  LIVE: "LIVE";
817
837
  }>, z.ZodObject<{
818
838
  $in: z.ZodArray<z.ZodEnum<{
819
839
  DRAFT: "DRAFT";
840
+ PROVISIONAL: "PROVISIONAL";
820
841
  LIVE: "LIVE";
821
842
  }>>;
822
843
  }, z.core.$strip>]>>;
@@ -833,6 +854,7 @@ export declare const PaginatedBoostsValidator: z.ZodObject<{
833
854
  category: z.ZodOptional<z.ZodString>;
834
855
  status: z.ZodOptional<z.ZodEnum<{
835
856
  DRAFT: "DRAFT";
857
+ PROVISIONAL: "PROVISIONAL";
836
858
  LIVE: "LIVE";
837
859
  }>>;
838
860
  autoConnectRecipients: z.ZodOptional<z.ZodBoolean>;
@@ -1069,6 +1091,24 @@ export declare const AutoBoostConfigValidator: z.ZodObject<{
1069
1091
  }, z.core.$strip>;
1070
1092
  }, z.core.$strip>;
1071
1093
  export type AutoBoostConfig = z.infer<typeof AutoBoostConfigValidator>;
1094
+ export declare const SendBrandingOptionsValidator: z.ZodObject<{
1095
+ issuerName: z.ZodOptional<z.ZodString>;
1096
+ issuerLogoUrl: z.ZodOptional<z.ZodString>;
1097
+ credentialName: z.ZodOptional<z.ZodString>;
1098
+ recipientName: z.ZodOptional<z.ZodString>;
1099
+ }, z.core.$strip>;
1100
+ export type SendBrandingOptions = z.infer<typeof SendBrandingOptionsValidator>;
1101
+ export declare const SendOptionsValidator: z.ZodObject<{
1102
+ webhookUrl: z.ZodOptional<z.ZodString>;
1103
+ suppressDelivery: z.ZodOptional<z.ZodBoolean>;
1104
+ branding: z.ZodOptional<z.ZodObject<{
1105
+ issuerName: z.ZodOptional<z.ZodString>;
1106
+ issuerLogoUrl: z.ZodOptional<z.ZodString>;
1107
+ credentialName: z.ZodOptional<z.ZodString>;
1108
+ recipientName: z.ZodOptional<z.ZodString>;
1109
+ }, z.core.$strip>>;
1110
+ }, z.core.$strip>;
1111
+ export type SendOptions = z.infer<typeof SendOptionsValidator>;
1072
1112
  export declare const SendBoostInputValidator: z.ZodObject<{
1073
1113
  type: z.ZodLiteral<"boost">;
1074
1114
  recipient: z.ZodString;
@@ -1079,6 +1119,7 @@ export declare const SendBoostInputValidator: z.ZodObject<{
1079
1119
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1080
1120
  status: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1081
1121
  DRAFT: "DRAFT";
1122
+ PROVISIONAL: "PROVISIONAL";
1082
1123
  LIVE: "LIVE";
1083
1124
  }>>>;
1084
1125
  category: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -1551,13 +1592,48 @@ export declare const SendBoostInputValidator: z.ZodObject<{
1551
1592
  jws: z.ZodOptional<z.ZodString>;
1552
1593
  }, z.core.$catchall<z.ZodAny>>>]>;
1553
1594
  }, z.core.$catchall<z.ZodAny>>>;
1595
+ options: z.ZodOptional<z.ZodObject<{
1596
+ webhookUrl: z.ZodOptional<z.ZodString>;
1597
+ suppressDelivery: z.ZodOptional<z.ZodBoolean>;
1598
+ branding: z.ZodOptional<z.ZodObject<{
1599
+ issuerName: z.ZodOptional<z.ZodString>;
1600
+ issuerLogoUrl: z.ZodOptional<z.ZodString>;
1601
+ credentialName: z.ZodOptional<z.ZodString>;
1602
+ recipientName: z.ZodOptional<z.ZodString>;
1603
+ }, z.core.$strip>>;
1604
+ }, z.core.$strip>>;
1554
1605
  templateData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1606
+ integrationId: z.ZodOptional<z.ZodString>;
1555
1607
  }, z.core.$strip>;
1556
1608
  export type SendBoostInput = z.infer<typeof SendBoostInputValidator>;
1609
+ export declare const SendInboxResponseValidator: z.ZodObject<{
1610
+ issuanceId: z.ZodString;
1611
+ status: z.ZodEnum<{
1612
+ PENDING: "PENDING";
1613
+ ISSUED: "ISSUED";
1614
+ EXPIRED: "EXPIRED";
1615
+ DELIVERED: "DELIVERED";
1616
+ CLAIMED: "CLAIMED";
1617
+ }>;
1618
+ claimUrl: z.ZodOptional<z.ZodString>;
1619
+ }, z.core.$strip>;
1620
+ export type SendInboxResponse = z.infer<typeof SendInboxResponseValidator>;
1557
1621
  export declare const SendBoostResponseValidator: z.ZodObject<{
1558
1622
  type: z.ZodLiteral<"boost">;
1559
1623
  credentialUri: z.ZodString;
1560
1624
  uri: z.ZodString;
1625
+ activityId: z.ZodString;
1626
+ inbox: z.ZodOptional<z.ZodObject<{
1627
+ issuanceId: z.ZodString;
1628
+ status: z.ZodEnum<{
1629
+ PENDING: "PENDING";
1630
+ ISSUED: "ISSUED";
1631
+ EXPIRED: "EXPIRED";
1632
+ DELIVERED: "DELIVERED";
1633
+ CLAIMED: "CLAIMED";
1634
+ }>;
1635
+ claimUrl: z.ZodOptional<z.ZodString>;
1636
+ }, z.core.$strip>>;
1561
1637
  }, z.core.$strip>;
1562
1638
  export type SendBoostResponse = z.infer<typeof SendBoostResponseValidator>;
1563
1639
  export declare const SendInputValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1570,6 +1646,7 @@ export declare const SendInputValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
1570
1646
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1571
1647
  status: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1572
1648
  DRAFT: "DRAFT";
1649
+ PROVISIONAL: "PROVISIONAL";
1573
1650
  LIVE: "LIVE";
1574
1651
  }>>>;
1575
1652
  category: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2042,13 +2119,36 @@ export declare const SendInputValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
2042
2119
  jws: z.ZodOptional<z.ZodString>;
2043
2120
  }, z.core.$catchall<z.ZodAny>>>]>;
2044
2121
  }, z.core.$catchall<z.ZodAny>>>;
2122
+ options: z.ZodOptional<z.ZodObject<{
2123
+ webhookUrl: z.ZodOptional<z.ZodString>;
2124
+ suppressDelivery: z.ZodOptional<z.ZodBoolean>;
2125
+ branding: z.ZodOptional<z.ZodObject<{
2126
+ issuerName: z.ZodOptional<z.ZodString>;
2127
+ issuerLogoUrl: z.ZodOptional<z.ZodString>;
2128
+ credentialName: z.ZodOptional<z.ZodString>;
2129
+ recipientName: z.ZodOptional<z.ZodString>;
2130
+ }, z.core.$strip>>;
2131
+ }, z.core.$strip>>;
2045
2132
  templateData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2133
+ integrationId: z.ZodOptional<z.ZodString>;
2046
2134
  }, z.core.$strip>], "type">;
2047
2135
  export type SendInput = z.infer<typeof SendInputValidator>;
2048
2136
  export declare const SendResponseValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
2049
2137
  type: z.ZodLiteral<"boost">;
2050
2138
  credentialUri: z.ZodString;
2051
2139
  uri: z.ZodString;
2140
+ activityId: z.ZodString;
2141
+ inbox: z.ZodOptional<z.ZodObject<{
2142
+ issuanceId: z.ZodString;
2143
+ status: z.ZodEnum<{
2144
+ PENDING: "PENDING";
2145
+ ISSUED: "ISSUED";
2146
+ EXPIRED: "EXPIRED";
2147
+ DELIVERED: "DELIVERED";
2148
+ CLAIMED: "CLAIMED";
2149
+ }>;
2150
+ claimUrl: z.ZodOptional<z.ZodString>;
2151
+ }, z.core.$strip>>;
2052
2152
  }, z.core.$strip>], "type">;
2053
2153
  export type SendResponse = z.infer<typeof SendResponseValidator>;
2054
2154
  export declare const ConsentFlowTermsStatusValidator: z.ZodEnum<{
@@ -3311,6 +3411,8 @@ export declare const InboxCredentialValidator: z.ZodObject<{
3311
3411
  createdAt: z.ZodString;
3312
3412
  issuerDid: z.ZodString;
3313
3413
  webhookUrl: z.ZodOptional<z.ZodString>;
3414
+ boostUri: z.ZodOptional<z.ZodString>;
3415
+ activityId: z.ZodOptional<z.ZodString>;
3314
3416
  signingAuthority: z.ZodOptional<z.ZodObject<{
3315
3417
  endpoint: z.ZodOptional<z.ZodString>;
3316
3418
  name: z.ZodOptional<z.ZodString>;
@@ -3335,6 +3437,8 @@ export declare const PaginatedInboxCredentialsValidator: z.ZodObject<{
3335
3437
  createdAt: z.ZodString;
3336
3438
  issuerDid: z.ZodString;
3337
3439
  webhookUrl: z.ZodOptional<z.ZodString>;
3440
+ boostUri: z.ZodOptional<z.ZodString>;
3441
+ activityId: z.ZodOptional<z.ZodString>;
3338
3442
  signingAuthority: z.ZodOptional<z.ZodObject<{
3339
3443
  endpoint: z.ZodOptional<z.ZodString>;
3340
3444
  name: z.ZodOptional<z.ZodString>;
@@ -3355,6 +3459,7 @@ export declare const InboxCredentialQueryValidator: z.ZodObject<{
3355
3459
  isSigned: z.ZodOptional<z.ZodBoolean>;
3356
3460
  isAccepted: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3357
3461
  issuerDid: z.ZodOptional<z.ZodString>;
3462
+ boostUri: z.ZodOptional<z.ZodString>;
3358
3463
  }, z.core.$strip>;
3359
3464
  export type InboxCredentialQuery = z.infer<typeof InboxCredentialQueryValidator>;
3360
3465
  export declare const IssueInboxSigningAuthorityValidator: z.ZodObject<{
@@ -3370,7 +3475,7 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
3370
3475
  type: z.ZodLiteral<"phone">;
3371
3476
  value: z.ZodString;
3372
3477
  }, z.core.$strip>], "type">;
3373
- credential: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3478
+ credential: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3374
3479
  '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
3375
3480
  id: z.ZodOptional<z.ZodString>;
3376
3481
  type: z.ZodArray<z.ZodString>;
@@ -3976,7 +4081,8 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
3976
4081
  genre: z.ZodOptional<z.ZodString>;
3977
4082
  audience: z.ZodOptional<z.ZodString>;
3978
4083
  }, z.core.$catchall<z.ZodAny>>>]>>;
3979
- }, z.core.$catchall<z.ZodAny>>]>;
4084
+ }, z.core.$catchall<z.ZodAny>>]>>;
4085
+ templateUri: z.ZodOptional<z.ZodString>;
3980
4086
  configuration: z.ZodOptional<z.ZodObject<{
3981
4087
  signingAuthority: z.ZodOptional<z.ZodObject<{
3982
4088
  endpoint: z.ZodString;
@@ -3984,6 +4090,7 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
3984
4090
  }, z.core.$strip>>;
3985
4091
  webhookUrl: z.ZodOptional<z.ZodString>;
3986
4092
  expiresInDays: z.ZodOptional<z.ZodNumber>;
4093
+ templateData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3987
4094
  delivery: z.ZodOptional<z.ZodObject<{
3988
4095
  suppress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3989
4096
  template: z.ZodOptional<z.ZodObject<{
@@ -4643,18 +4750,34 @@ export declare const ClaimInboxCredentialValidator: z.ZodObject<{
4643
4750
  }, z.core.$strip>;
4644
4751
  export type ClaimInboxCredentialType = z.infer<typeof ClaimInboxCredentialValidator>;
4645
4752
  export declare const LCNDomainOrOriginValidator: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4753
+ export declare const LCNIntegrationStatusEnum: z.ZodEnum<{
4754
+ active: "active";
4755
+ setup: "setup";
4756
+ paused: "paused";
4757
+ }>;
4758
+ export type LCNIntegrationStatus = z.infer<typeof LCNIntegrationStatusEnum>;
4646
4759
  export declare const LCNIntegrationValidator: z.ZodObject<{
4647
4760
  id: z.ZodString;
4648
4761
  name: z.ZodString;
4649
4762
  description: z.ZodOptional<z.ZodString>;
4650
4763
  publishableKey: z.ZodString;
4651
4764
  whitelistedDomains: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
4765
+ status: z.ZodDefault<z.ZodEnum<{
4766
+ active: "active";
4767
+ setup: "setup";
4768
+ paused: "paused";
4769
+ }>>;
4770
+ guideType: z.ZodOptional<z.ZodString>;
4771
+ guideState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4772
+ createdAt: z.ZodOptional<z.ZodString>;
4773
+ updatedAt: z.ZodOptional<z.ZodString>;
4652
4774
  }, z.core.$strip>;
4653
4775
  export type LCNIntegration = z.infer<typeof LCNIntegrationValidator>;
4654
4776
  export declare const LCNIntegrationCreateValidator: z.ZodObject<{
4655
4777
  name: z.ZodString;
4656
4778
  description: z.ZodOptional<z.ZodString>;
4657
4779
  whitelistedDomains: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
4780
+ guideType: z.ZodOptional<z.ZodString>;
4658
4781
  }, z.core.$strip>;
4659
4782
  export type LCNIntegrationCreateType = z.infer<typeof LCNIntegrationCreateValidator>;
4660
4783
  export declare const LCNIntegrationUpdateValidator: z.ZodObject<{
@@ -4662,6 +4785,13 @@ export declare const LCNIntegrationUpdateValidator: z.ZodObject<{
4662
4785
  description: z.ZodOptional<z.ZodString>;
4663
4786
  whitelistedDomains: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
4664
4787
  rotatePublishableKey: z.ZodOptional<z.ZodBoolean>;
4788
+ status: z.ZodOptional<z.ZodEnum<{
4789
+ active: "active";
4790
+ setup: "setup";
4791
+ paused: "paused";
4792
+ }>>;
4793
+ guideType: z.ZodOptional<z.ZodString>;
4794
+ guideState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4665
4795
  }, z.core.$strip>;
4666
4796
  export type LCNIntegrationUpdateType = z.infer<typeof LCNIntegrationUpdateValidator>;
4667
4797
  export declare const LCNIntegrationQueryValidator: z.ZodObject<{
@@ -4698,6 +4828,28 @@ export declare const LCNIntegrationQueryValidator: z.ZodObject<{
4698
4828
  $regex: z.ZodUnion<[z.ZodCustom<RegExp, RegExp>, z.ZodPipe<z.ZodString, z.ZodTransform<RegExp, string>>]>;
4699
4829
  }, z.core.$strip>]>>;
4700
4830
  }, z.core.$strip>]>>;
4831
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
4832
+ $in: z.ZodArray<z.ZodString>;
4833
+ }, z.core.$strip>]>, z.ZodObject<{
4834
+ $regex: z.ZodUnion<[z.ZodCustom<RegExp, RegExp>, z.ZodPipe<z.ZodString, z.ZodTransform<RegExp, string>>]>;
4835
+ }, z.core.$strip>]>, z.ZodObject<{
4836
+ $or: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
4837
+ $in: z.ZodArray<z.ZodString>;
4838
+ }, z.core.$strip>]>, z.ZodObject<{
4839
+ $regex: z.ZodUnion<[z.ZodCustom<RegExp, RegExp>, z.ZodPipe<z.ZodString, z.ZodTransform<RegExp, string>>]>;
4840
+ }, z.core.$strip>]>>;
4841
+ }, z.core.$strip>]>>;
4842
+ guideType: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
4843
+ $in: z.ZodArray<z.ZodString>;
4844
+ }, z.core.$strip>]>, z.ZodObject<{
4845
+ $regex: z.ZodUnion<[z.ZodCustom<RegExp, RegExp>, z.ZodPipe<z.ZodString, z.ZodTransform<RegExp, string>>]>;
4846
+ }, z.core.$strip>]>, z.ZodObject<{
4847
+ $or: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
4848
+ $in: z.ZodArray<z.ZodString>;
4849
+ }, z.core.$strip>]>, z.ZodObject<{
4850
+ $regex: z.ZodUnion<[z.ZodCustom<RegExp, RegExp>, z.ZodPipe<z.ZodString, z.ZodTransform<RegExp, string>>]>;
4851
+ }, z.core.$strip>]>>;
4852
+ }, z.core.$strip>]>>;
4701
4853
  }, z.core.$strip>;
4702
4854
  export type LCNIntegrationQueryType = z.infer<typeof LCNIntegrationQueryValidator>;
4703
4855
  export declare const PaginatedLCNIntegrationsValidator: z.ZodObject<{
@@ -4709,6 +4861,15 @@ export declare const PaginatedLCNIntegrationsValidator: z.ZodObject<{
4709
4861
  description: z.ZodOptional<z.ZodString>;
4710
4862
  publishableKey: z.ZodString;
4711
4863
  whitelistedDomains: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
4864
+ status: z.ZodDefault<z.ZodEnum<{
4865
+ active: "active";
4866
+ setup: "setup";
4867
+ paused: "paused";
4868
+ }>>;
4869
+ guideType: z.ZodOptional<z.ZodString>;
4870
+ guideState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4871
+ createdAt: z.ZodOptional<z.ZodString>;
4872
+ updatedAt: z.ZodOptional<z.ZodString>;
4712
4873
  }, z.core.$strip>>;
4713
4874
  }, z.core.$strip>;
4714
4875
  export type PaginatedLCNIntegrationsType = z.infer<typeof PaginatedLCNIntegrationsValidator>;
@@ -5192,6 +5353,7 @@ export declare const PromotionLevelValidator: z.ZodEnum<{
5192
5353
  export type PromotionLevel = z.infer<typeof PromotionLevelValidator>;
5193
5354
  export declare const AppStoreListingValidator: z.ZodObject<{
5194
5355
  listing_id: z.ZodString;
5356
+ slug: z.ZodOptional<z.ZodString>;
5195
5357
  display_name: z.ZodString;
5196
5358
  tagline: z.ZodString;
5197
5359
  full_description: z.ZodString;
@@ -5230,6 +5392,7 @@ export declare const AppStoreListingValidator: z.ZodObject<{
5230
5392
  export type AppStoreListing = z.infer<typeof AppStoreListingValidator>;
5231
5393
  export declare const AppStoreListingCreateValidator: z.ZodObject<{
5232
5394
  category: z.ZodOptional<z.ZodString>;
5395
+ slug: z.ZodOptional<z.ZodString>;
5233
5396
  launch_type: z.ZodEnum<{
5234
5397
  EMBEDDED_IFRAME: "EMBEDDED_IFRAME";
5235
5398
  SECOND_SCREEN: "SECOND_SCREEN";
@@ -5255,6 +5418,7 @@ export declare const AppStoreListingCreateValidator: z.ZodObject<{
5255
5418
  export type AppStoreListingCreateType = z.infer<typeof AppStoreListingCreateValidator>;
5256
5419
  export declare const AppStoreListingUpdateValidator: z.ZodObject<{
5257
5420
  category: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5421
+ slug: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5258
5422
  launch_type: z.ZodOptional<z.ZodEnum<{
5259
5423
  EMBEDDED_IFRAME: "EMBEDDED_IFRAME";
5260
5424
  SECOND_SCREEN: "SECOND_SCREEN";
@@ -5280,6 +5444,7 @@ export declare const AppStoreListingUpdateValidator: z.ZodObject<{
5280
5444
  export type AppStoreListingUpdateType = z.infer<typeof AppStoreListingUpdateValidator>;
5281
5445
  export declare const InstalledAppValidator: z.ZodObject<{
5282
5446
  listing_id: z.ZodString;
5447
+ slug: z.ZodOptional<z.ZodString>;
5283
5448
  display_name: z.ZodString;
5284
5449
  tagline: z.ZodString;
5285
5450
  full_description: z.ZodString;
@@ -5322,6 +5487,7 @@ export declare const PaginatedAppStoreListingsValidator: z.ZodObject<{
5322
5487
  hasMore: z.ZodBoolean;
5323
5488
  records: z.ZodArray<z.ZodObject<{
5324
5489
  listing_id: z.ZodString;
5490
+ slug: z.ZodOptional<z.ZodString>;
5325
5491
  display_name: z.ZodString;
5326
5492
  tagline: z.ZodString;
5327
5493
  full_description: z.ZodString;
@@ -5364,6 +5530,7 @@ export declare const PaginatedInstalledAppsValidator: z.ZodObject<{
5364
5530
  hasMore: z.ZodBoolean;
5365
5531
  records: z.ZodArray<z.ZodObject<{
5366
5532
  listing_id: z.ZodString;
5533
+ slug: z.ZodOptional<z.ZodString>;
5367
5534
  display_name: z.ZodString;
5368
5535
  tagline: z.ZodString;
5369
5536
  full_description: z.ZodString;
@@ -5402,4 +5569,194 @@ export declare const PaginatedInstalledAppsValidator: z.ZodObject<{
5402
5569
  }, z.core.$strip>>;
5403
5570
  }, z.core.$strip>;
5404
5571
  export type PaginatedInstalledApps = z.infer<typeof PaginatedInstalledAppsValidator>;
5572
+ export declare const AppBoostValidator: z.ZodObject<{
5573
+ templateAlias: z.ZodString;
5574
+ boostUri: z.ZodString;
5575
+ }, z.core.$strip>;
5576
+ export type AppBoost = z.infer<typeof AppBoostValidator>;
5577
+ export declare const SendCredentialEventValidator: z.ZodObject<{
5578
+ type: z.ZodLiteral<"send-credential">;
5579
+ templateAlias: z.ZodString;
5580
+ templateData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5581
+ }, z.core.$strip>;
5582
+ export type SendCredentialEvent = z.infer<typeof SendCredentialEventValidator>;
5583
+ export declare const AppEventValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
5584
+ type: z.ZodLiteral<"send-credential">;
5585
+ templateAlias: z.ZodString;
5586
+ templateData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5587
+ }, z.core.$strip>], "type">;
5588
+ export type AppEvent = z.infer<typeof AppEventValidator>;
5589
+ export declare const AppEventInputValidator: z.ZodObject<{
5590
+ listingId: z.ZodString;
5591
+ event: z.ZodDiscriminatedUnion<[z.ZodObject<{
5592
+ type: z.ZodLiteral<"send-credential">;
5593
+ templateAlias: z.ZodString;
5594
+ templateData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5595
+ }, z.core.$strip>], "type">;
5596
+ }, z.core.$strip>;
5597
+ export type AppEventInput = z.infer<typeof AppEventInputValidator>;
5598
+ export declare const AppEventResponseValidator: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5599
+ export type AppEventResponse = z.infer<typeof AppEventResponseValidator>;
5600
+ export declare const CredentialActivityEventTypeValidator: z.ZodEnum<{
5601
+ EXPIRED: "EXPIRED";
5602
+ DELIVERED: "DELIVERED";
5603
+ CLAIMED: "CLAIMED";
5604
+ CREATED: "CREATED";
5605
+ FAILED: "FAILED";
5606
+ }>;
5607
+ export type CredentialActivityEventType = z.infer<typeof CredentialActivityEventTypeValidator>;
5608
+ export declare const CredentialActivityRecipientTypeValidator: z.ZodEnum<{
5609
+ phone: "phone";
5610
+ email: "email";
5611
+ profile: "profile";
5612
+ }>;
5613
+ export type CredentialActivityRecipientType = z.infer<typeof CredentialActivityRecipientTypeValidator>;
5614
+ export declare const CredentialActivitySourceTypeValidator: z.ZodEnum<{
5615
+ inbox: "inbox";
5616
+ contract: "contract";
5617
+ send: "send";
5618
+ sendBoost: "sendBoost";
5619
+ sendCredential: "sendCredential";
5620
+ claim: "claim";
5621
+ claimLink: "claimLink";
5622
+ acceptCredential: "acceptCredential";
5623
+ }>;
5624
+ export type CredentialActivitySourceType = z.infer<typeof CredentialActivitySourceTypeValidator>;
5625
+ export declare const CredentialActivityValidator: z.ZodObject<{
5626
+ id: z.ZodString;
5627
+ activityId: z.ZodString;
5628
+ eventType: z.ZodEnum<{
5629
+ EXPIRED: "EXPIRED";
5630
+ DELIVERED: "DELIVERED";
5631
+ CLAIMED: "CLAIMED";
5632
+ CREATED: "CREATED";
5633
+ FAILED: "FAILED";
5634
+ }>;
5635
+ timestamp: z.ZodString;
5636
+ actorProfileId: z.ZodString;
5637
+ recipientType: z.ZodEnum<{
5638
+ phone: "phone";
5639
+ email: "email";
5640
+ profile: "profile";
5641
+ }>;
5642
+ recipientIdentifier: z.ZodString;
5643
+ boostUri: z.ZodOptional<z.ZodString>;
5644
+ credentialUri: z.ZodOptional<z.ZodString>;
5645
+ inboxCredentialId: z.ZodOptional<z.ZodString>;
5646
+ integrationId: z.ZodOptional<z.ZodString>;
5647
+ source: z.ZodEnum<{
5648
+ inbox: "inbox";
5649
+ contract: "contract";
5650
+ send: "send";
5651
+ sendBoost: "sendBoost";
5652
+ sendCredential: "sendCredential";
5653
+ claim: "claim";
5654
+ claimLink: "claimLink";
5655
+ acceptCredential: "acceptCredential";
5656
+ }>;
5657
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5658
+ }, z.core.$strip>;
5659
+ export type CredentialActivityRecord = z.infer<typeof CredentialActivityValidator>;
5660
+ export declare const CredentialActivityWithDetailsValidator: z.ZodObject<{
5661
+ id: z.ZodString;
5662
+ activityId: z.ZodString;
5663
+ eventType: z.ZodEnum<{
5664
+ EXPIRED: "EXPIRED";
5665
+ DELIVERED: "DELIVERED";
5666
+ CLAIMED: "CLAIMED";
5667
+ CREATED: "CREATED";
5668
+ FAILED: "FAILED";
5669
+ }>;
5670
+ timestamp: z.ZodString;
5671
+ actorProfileId: z.ZodString;
5672
+ recipientType: z.ZodEnum<{
5673
+ phone: "phone";
5674
+ email: "email";
5675
+ profile: "profile";
5676
+ }>;
5677
+ recipientIdentifier: z.ZodString;
5678
+ boostUri: z.ZodOptional<z.ZodString>;
5679
+ credentialUri: z.ZodOptional<z.ZodString>;
5680
+ inboxCredentialId: z.ZodOptional<z.ZodString>;
5681
+ integrationId: z.ZodOptional<z.ZodString>;
5682
+ source: z.ZodEnum<{
5683
+ inbox: "inbox";
5684
+ contract: "contract";
5685
+ send: "send";
5686
+ sendBoost: "sendBoost";
5687
+ sendCredential: "sendCredential";
5688
+ claim: "claim";
5689
+ claimLink: "claimLink";
5690
+ acceptCredential: "acceptCredential";
5691
+ }>;
5692
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5693
+ boost: z.ZodOptional<z.ZodObject<{
5694
+ id: z.ZodString;
5695
+ name: z.ZodOptional<z.ZodString>;
5696
+ category: z.ZodOptional<z.ZodString>;
5697
+ }, z.core.$strip>>;
5698
+ recipientProfile: z.ZodOptional<z.ZodObject<{
5699
+ profileId: z.ZodString;
5700
+ displayName: z.ZodOptional<z.ZodString>;
5701
+ }, z.core.$strip>>;
5702
+ }, z.core.$strip>;
5703
+ export type CredentialActivityWithDetails = z.infer<typeof CredentialActivityWithDetailsValidator>;
5704
+ export declare const PaginatedCredentialActivitiesValidator: z.ZodObject<{
5705
+ cursor: z.ZodOptional<z.ZodString>;
5706
+ hasMore: z.ZodBoolean;
5707
+ records: z.ZodArray<z.ZodObject<{
5708
+ id: z.ZodString;
5709
+ activityId: z.ZodString;
5710
+ eventType: z.ZodEnum<{
5711
+ EXPIRED: "EXPIRED";
5712
+ DELIVERED: "DELIVERED";
5713
+ CLAIMED: "CLAIMED";
5714
+ CREATED: "CREATED";
5715
+ FAILED: "FAILED";
5716
+ }>;
5717
+ timestamp: z.ZodString;
5718
+ actorProfileId: z.ZodString;
5719
+ recipientType: z.ZodEnum<{
5720
+ phone: "phone";
5721
+ email: "email";
5722
+ profile: "profile";
5723
+ }>;
5724
+ recipientIdentifier: z.ZodString;
5725
+ boostUri: z.ZodOptional<z.ZodString>;
5726
+ credentialUri: z.ZodOptional<z.ZodString>;
5727
+ inboxCredentialId: z.ZodOptional<z.ZodString>;
5728
+ integrationId: z.ZodOptional<z.ZodString>;
5729
+ source: z.ZodEnum<{
5730
+ inbox: "inbox";
5731
+ contract: "contract";
5732
+ send: "send";
5733
+ sendBoost: "sendBoost";
5734
+ sendCredential: "sendCredential";
5735
+ claim: "claim";
5736
+ claimLink: "claimLink";
5737
+ acceptCredential: "acceptCredential";
5738
+ }>;
5739
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5740
+ boost: z.ZodOptional<z.ZodObject<{
5741
+ id: z.ZodString;
5742
+ name: z.ZodOptional<z.ZodString>;
5743
+ category: z.ZodOptional<z.ZodString>;
5744
+ }, z.core.$strip>>;
5745
+ recipientProfile: z.ZodOptional<z.ZodObject<{
5746
+ profileId: z.ZodString;
5747
+ displayName: z.ZodOptional<z.ZodString>;
5748
+ }, z.core.$strip>>;
5749
+ }, z.core.$strip>>;
5750
+ }, z.core.$strip>;
5751
+ export type PaginatedCredentialActivities = z.infer<typeof PaginatedCredentialActivitiesValidator>;
5752
+ export declare const CredentialActivityStatsValidator: z.ZodObject<{
5753
+ total: z.ZodNumber;
5754
+ created: z.ZodNumber;
5755
+ delivered: z.ZodNumber;
5756
+ claimed: z.ZodNumber;
5757
+ expired: z.ZodNumber;
5758
+ failed: z.ZodNumber;
5759
+ claimRate: z.ZodNumber;
5760
+ }, z.core.$strip>;
5761
+ export type CredentialActivityStats = z.infer<typeof CredentialActivityStatsValidator>;
5405
5762
  //# sourceMappingURL=lcn.d.ts.map