@learncard/types 5.11.0 → 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 +361 -2
- package/dist/lcn.d.ts.map +1 -1
- package/dist/types.cjs.development.js +154 -11
- package/dist/types.cjs.development.js.map +2 -2
- package/dist/types.cjs.production.min.js +6 -6
- package/dist/types.cjs.production.min.js.map +3 -3
- package/dist/types.esm.js +154 -11
- package/dist/types.esm.js.map +2 -2
- package/package.json +1 -1
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,12 +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>>;
|
|
1605
|
+
templateData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1606
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
1554
1607
|
}, z.core.$strip>;
|
|
1555
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>;
|
|
1556
1621
|
export declare const SendBoostResponseValidator: z.ZodObject<{
|
|
1557
1622
|
type: z.ZodLiteral<"boost">;
|
|
1558
1623
|
credentialUri: z.ZodString;
|
|
1559
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>>;
|
|
1560
1637
|
}, z.core.$strip>;
|
|
1561
1638
|
export type SendBoostResponse = z.infer<typeof SendBoostResponseValidator>;
|
|
1562
1639
|
export declare const SendInputValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1569,6 +1646,7 @@ export declare const SendInputValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1569
1646
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1570
1647
|
status: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
1571
1648
|
DRAFT: "DRAFT";
|
|
1649
|
+
PROVISIONAL: "PROVISIONAL";
|
|
1572
1650
|
LIVE: "LIVE";
|
|
1573
1651
|
}>>>;
|
|
1574
1652
|
category: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2041,12 +2119,36 @@ export declare const SendInputValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2041
2119
|
jws: z.ZodOptional<z.ZodString>;
|
|
2042
2120
|
}, z.core.$catchall<z.ZodAny>>>]>;
|
|
2043
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>>;
|
|
2132
|
+
templateData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2133
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
2044
2134
|
}, z.core.$strip>], "type">;
|
|
2045
2135
|
export type SendInput = z.infer<typeof SendInputValidator>;
|
|
2046
2136
|
export declare const SendResponseValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2047
2137
|
type: z.ZodLiteral<"boost">;
|
|
2048
2138
|
credentialUri: z.ZodString;
|
|
2049
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>>;
|
|
2050
2152
|
}, z.core.$strip>], "type">;
|
|
2051
2153
|
export type SendResponse = z.infer<typeof SendResponseValidator>;
|
|
2052
2154
|
export declare const ConsentFlowTermsStatusValidator: z.ZodEnum<{
|
|
@@ -3309,6 +3411,8 @@ export declare const InboxCredentialValidator: z.ZodObject<{
|
|
|
3309
3411
|
createdAt: z.ZodString;
|
|
3310
3412
|
issuerDid: z.ZodString;
|
|
3311
3413
|
webhookUrl: z.ZodOptional<z.ZodString>;
|
|
3414
|
+
boostUri: z.ZodOptional<z.ZodString>;
|
|
3415
|
+
activityId: z.ZodOptional<z.ZodString>;
|
|
3312
3416
|
signingAuthority: z.ZodOptional<z.ZodObject<{
|
|
3313
3417
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
3314
3418
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -3333,6 +3437,8 @@ export declare const PaginatedInboxCredentialsValidator: z.ZodObject<{
|
|
|
3333
3437
|
createdAt: z.ZodString;
|
|
3334
3438
|
issuerDid: z.ZodString;
|
|
3335
3439
|
webhookUrl: z.ZodOptional<z.ZodString>;
|
|
3440
|
+
boostUri: z.ZodOptional<z.ZodString>;
|
|
3441
|
+
activityId: z.ZodOptional<z.ZodString>;
|
|
3336
3442
|
signingAuthority: z.ZodOptional<z.ZodObject<{
|
|
3337
3443
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
3338
3444
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -3353,6 +3459,7 @@ export declare const InboxCredentialQueryValidator: z.ZodObject<{
|
|
|
3353
3459
|
isSigned: z.ZodOptional<z.ZodBoolean>;
|
|
3354
3460
|
isAccepted: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3355
3461
|
issuerDid: z.ZodOptional<z.ZodString>;
|
|
3462
|
+
boostUri: z.ZodOptional<z.ZodString>;
|
|
3356
3463
|
}, z.core.$strip>;
|
|
3357
3464
|
export type InboxCredentialQuery = z.infer<typeof InboxCredentialQueryValidator>;
|
|
3358
3465
|
export declare const IssueInboxSigningAuthorityValidator: z.ZodObject<{
|
|
@@ -3368,7 +3475,7 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
|
|
|
3368
3475
|
type: z.ZodLiteral<"phone">;
|
|
3369
3476
|
value: z.ZodString;
|
|
3370
3477
|
}, z.core.$strip>], "type">;
|
|
3371
|
-
credential: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
3478
|
+
credential: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
3372
3479
|
'@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
|
|
3373
3480
|
id: z.ZodOptional<z.ZodString>;
|
|
3374
3481
|
type: z.ZodArray<z.ZodString>;
|
|
@@ -3974,7 +4081,8 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
|
|
|
3974
4081
|
genre: z.ZodOptional<z.ZodString>;
|
|
3975
4082
|
audience: z.ZodOptional<z.ZodString>;
|
|
3976
4083
|
}, z.core.$catchall<z.ZodAny>>>]>>;
|
|
3977
|
-
}, z.core.$catchall<z.ZodAny>>]
|
|
4084
|
+
}, z.core.$catchall<z.ZodAny>>]>>;
|
|
4085
|
+
templateUri: z.ZodOptional<z.ZodString>;
|
|
3978
4086
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
3979
4087
|
signingAuthority: z.ZodOptional<z.ZodObject<{
|
|
3980
4088
|
endpoint: z.ZodString;
|
|
@@ -3982,6 +4090,7 @@ export declare const IssueInboxCredentialValidator: z.ZodObject<{
|
|
|
3982
4090
|
}, z.core.$strip>>;
|
|
3983
4091
|
webhookUrl: z.ZodOptional<z.ZodString>;
|
|
3984
4092
|
expiresInDays: z.ZodOptional<z.ZodNumber>;
|
|
4093
|
+
templateData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3985
4094
|
delivery: z.ZodOptional<z.ZodObject<{
|
|
3986
4095
|
suppress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3987
4096
|
template: z.ZodOptional<z.ZodObject<{
|
|
@@ -4641,18 +4750,34 @@ export declare const ClaimInboxCredentialValidator: z.ZodObject<{
|
|
|
4641
4750
|
}, z.core.$strip>;
|
|
4642
4751
|
export type ClaimInboxCredentialType = z.infer<typeof ClaimInboxCredentialValidator>;
|
|
4643
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>;
|
|
4644
4759
|
export declare const LCNIntegrationValidator: z.ZodObject<{
|
|
4645
4760
|
id: z.ZodString;
|
|
4646
4761
|
name: z.ZodString;
|
|
4647
4762
|
description: z.ZodOptional<z.ZodString>;
|
|
4648
4763
|
publishableKey: z.ZodString;
|
|
4649
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>;
|
|
4650
4774
|
}, z.core.$strip>;
|
|
4651
4775
|
export type LCNIntegration = z.infer<typeof LCNIntegrationValidator>;
|
|
4652
4776
|
export declare const LCNIntegrationCreateValidator: z.ZodObject<{
|
|
4653
4777
|
name: z.ZodString;
|
|
4654
4778
|
description: z.ZodOptional<z.ZodString>;
|
|
4655
4779
|
whitelistedDomains: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
4780
|
+
guideType: z.ZodOptional<z.ZodString>;
|
|
4656
4781
|
}, z.core.$strip>;
|
|
4657
4782
|
export type LCNIntegrationCreateType = z.infer<typeof LCNIntegrationCreateValidator>;
|
|
4658
4783
|
export declare const LCNIntegrationUpdateValidator: z.ZodObject<{
|
|
@@ -4660,6 +4785,13 @@ export declare const LCNIntegrationUpdateValidator: z.ZodObject<{
|
|
|
4660
4785
|
description: z.ZodOptional<z.ZodString>;
|
|
4661
4786
|
whitelistedDomains: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
4662
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>>;
|
|
4663
4795
|
}, z.core.$strip>;
|
|
4664
4796
|
export type LCNIntegrationUpdateType = z.infer<typeof LCNIntegrationUpdateValidator>;
|
|
4665
4797
|
export declare const LCNIntegrationQueryValidator: z.ZodObject<{
|
|
@@ -4696,6 +4828,28 @@ export declare const LCNIntegrationQueryValidator: z.ZodObject<{
|
|
|
4696
4828
|
$regex: z.ZodUnion<[z.ZodCustom<RegExp, RegExp>, z.ZodPipe<z.ZodString, z.ZodTransform<RegExp, string>>]>;
|
|
4697
4829
|
}, z.core.$strip>]>>;
|
|
4698
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>]>>;
|
|
4699
4853
|
}, z.core.$strip>;
|
|
4700
4854
|
export type LCNIntegrationQueryType = z.infer<typeof LCNIntegrationQueryValidator>;
|
|
4701
4855
|
export declare const PaginatedLCNIntegrationsValidator: z.ZodObject<{
|
|
@@ -4707,6 +4861,15 @@ export declare const PaginatedLCNIntegrationsValidator: z.ZodObject<{
|
|
|
4707
4861
|
description: z.ZodOptional<z.ZodString>;
|
|
4708
4862
|
publishableKey: z.ZodString;
|
|
4709
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>;
|
|
4710
4873
|
}, z.core.$strip>>;
|
|
4711
4874
|
}, z.core.$strip>;
|
|
4712
4875
|
export type PaginatedLCNIntegrationsType = z.infer<typeof PaginatedLCNIntegrationsValidator>;
|
|
@@ -5190,6 +5353,7 @@ export declare const PromotionLevelValidator: z.ZodEnum<{
|
|
|
5190
5353
|
export type PromotionLevel = z.infer<typeof PromotionLevelValidator>;
|
|
5191
5354
|
export declare const AppStoreListingValidator: z.ZodObject<{
|
|
5192
5355
|
listing_id: z.ZodString;
|
|
5356
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
5193
5357
|
display_name: z.ZodString;
|
|
5194
5358
|
tagline: z.ZodString;
|
|
5195
5359
|
full_description: z.ZodString;
|
|
@@ -5228,6 +5392,7 @@ export declare const AppStoreListingValidator: z.ZodObject<{
|
|
|
5228
5392
|
export type AppStoreListing = z.infer<typeof AppStoreListingValidator>;
|
|
5229
5393
|
export declare const AppStoreListingCreateValidator: z.ZodObject<{
|
|
5230
5394
|
category: z.ZodOptional<z.ZodString>;
|
|
5395
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
5231
5396
|
launch_type: z.ZodEnum<{
|
|
5232
5397
|
EMBEDDED_IFRAME: "EMBEDDED_IFRAME";
|
|
5233
5398
|
SECOND_SCREEN: "SECOND_SCREEN";
|
|
@@ -5253,6 +5418,7 @@ export declare const AppStoreListingCreateValidator: z.ZodObject<{
|
|
|
5253
5418
|
export type AppStoreListingCreateType = z.infer<typeof AppStoreListingCreateValidator>;
|
|
5254
5419
|
export declare const AppStoreListingUpdateValidator: z.ZodObject<{
|
|
5255
5420
|
category: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5421
|
+
slug: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5256
5422
|
launch_type: z.ZodOptional<z.ZodEnum<{
|
|
5257
5423
|
EMBEDDED_IFRAME: "EMBEDDED_IFRAME";
|
|
5258
5424
|
SECOND_SCREEN: "SECOND_SCREEN";
|
|
@@ -5278,6 +5444,7 @@ export declare const AppStoreListingUpdateValidator: z.ZodObject<{
|
|
|
5278
5444
|
export type AppStoreListingUpdateType = z.infer<typeof AppStoreListingUpdateValidator>;
|
|
5279
5445
|
export declare const InstalledAppValidator: z.ZodObject<{
|
|
5280
5446
|
listing_id: z.ZodString;
|
|
5447
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
5281
5448
|
display_name: z.ZodString;
|
|
5282
5449
|
tagline: z.ZodString;
|
|
5283
5450
|
full_description: z.ZodString;
|
|
@@ -5320,6 +5487,7 @@ export declare const PaginatedAppStoreListingsValidator: z.ZodObject<{
|
|
|
5320
5487
|
hasMore: z.ZodBoolean;
|
|
5321
5488
|
records: z.ZodArray<z.ZodObject<{
|
|
5322
5489
|
listing_id: z.ZodString;
|
|
5490
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
5323
5491
|
display_name: z.ZodString;
|
|
5324
5492
|
tagline: z.ZodString;
|
|
5325
5493
|
full_description: z.ZodString;
|
|
@@ -5362,6 +5530,7 @@ export declare const PaginatedInstalledAppsValidator: z.ZodObject<{
|
|
|
5362
5530
|
hasMore: z.ZodBoolean;
|
|
5363
5531
|
records: z.ZodArray<z.ZodObject<{
|
|
5364
5532
|
listing_id: z.ZodString;
|
|
5533
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
5365
5534
|
display_name: z.ZodString;
|
|
5366
5535
|
tagline: z.ZodString;
|
|
5367
5536
|
full_description: z.ZodString;
|
|
@@ -5400,4 +5569,194 @@ export declare const PaginatedInstalledAppsValidator: z.ZodObject<{
|
|
|
5400
5569
|
}, z.core.$strip>>;
|
|
5401
5570
|
}, z.core.$strip>;
|
|
5402
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>;
|
|
5403
5762
|
//# sourceMappingURL=lcn.d.ts.map
|