@learncard/types 5.13.1 → 5.13.2
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 +149 -0
- package/dist/lcn.d.ts.map +1 -1
- package/dist/types.cjs.development.js +24 -1
- package/dist/types.cjs.development.js.map +2 -2
- package/dist/types.cjs.production.min.js +5 -5
- package/dist/types.cjs.production.min.js.map +3 -3
- package/dist/types.esm.js +24 -1
- package/dist/types.esm.js.map +2 -2
- package/package.json +1 -1
package/dist/types.esm.js
CHANGED
|
@@ -828,6 +828,16 @@ var ConsentFlowContractDetailsValidator = z9.object({
|
|
|
828
828
|
autoBoosts: z9.string().array().optional(),
|
|
829
829
|
writers: z9.array(LCNProfileValidator).optional()
|
|
830
830
|
});
|
|
831
|
+
var ConsentFlowContractRequestStatusValidator = z9.enum(["pending", "accepted", "denied"]).nullable();
|
|
832
|
+
var ConsentFlowContractRequestReadStatusValidator = z9.enum(["unseen", "seen"]).nullable();
|
|
833
|
+
var ConsentFlowContractRequestForProfileValidator = z9.object({
|
|
834
|
+
profile: LCNProfileValidator,
|
|
835
|
+
status: ConsentFlowContractRequestStatusValidator,
|
|
836
|
+
readStatus: ConsentFlowContractRequestReadStatusValidator.optional()
|
|
837
|
+
});
|
|
838
|
+
var ConsentFlowContractRequestForProfileListValidator = z9.array(
|
|
839
|
+
ConsentFlowContractRequestForProfileValidator
|
|
840
|
+
);
|
|
831
841
|
var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
|
|
832
842
|
records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
|
|
833
843
|
});
|
|
@@ -1517,6 +1527,11 @@ var PromotionLevelValidator = z9.enum([
|
|
|
1517
1527
|
"DEMOTED"
|
|
1518
1528
|
]);
|
|
1519
1529
|
var AgeRatingValidator = z9.enum(["4+", "9+", "12+", "17+"]);
|
|
1530
|
+
var AppStoreListingSubmitterValidator = z9.object({
|
|
1531
|
+
profileId: z9.string(),
|
|
1532
|
+
displayName: z9.string(),
|
|
1533
|
+
email: z9.string().optional()
|
|
1534
|
+
});
|
|
1520
1535
|
var AppStoreListingValidator = z9.object({
|
|
1521
1536
|
listing_id: z9.string(),
|
|
1522
1537
|
slug: z9.string().optional(),
|
|
@@ -1538,7 +1553,10 @@ var AppStoreListingValidator = z9.object({
|
|
|
1538
1553
|
screenshots: z9.array(z9.string()).optional(),
|
|
1539
1554
|
hero_background_color: z9.string().optional(),
|
|
1540
1555
|
min_age: z9.number().int().min(0).max(18).optional(),
|
|
1541
|
-
age_rating: AgeRatingValidator.optional()
|
|
1556
|
+
age_rating: AgeRatingValidator.optional(),
|
|
1557
|
+
submitted_at: z9.string().optional(),
|
|
1558
|
+
submitter: AppStoreListingSubmitterValidator.optional(),
|
|
1559
|
+
contact_email: z9.string().email().optional()
|
|
1542
1560
|
});
|
|
1543
1561
|
var AppStoreListingCreateValidator = AppStoreListingValidator.omit({
|
|
1544
1562
|
listing_id: true,
|
|
@@ -1691,6 +1709,7 @@ export {
|
|
|
1691
1709
|
AppEventValidator,
|
|
1692
1710
|
AppListingStatusValidator,
|
|
1693
1711
|
AppStoreListingCreateValidator,
|
|
1712
|
+
AppStoreListingSubmitterValidator,
|
|
1694
1713
|
AppStoreListingUpdateValidator,
|
|
1695
1714
|
AppStoreListingValidator,
|
|
1696
1715
|
AuthGrantQueryValidator,
|
|
@@ -1715,6 +1734,10 @@ export {
|
|
|
1715
1734
|
ConsentFlowContractDataValidator,
|
|
1716
1735
|
ConsentFlowContractDetailsValidator,
|
|
1717
1736
|
ConsentFlowContractQueryValidator,
|
|
1737
|
+
ConsentFlowContractRequestForProfileListValidator,
|
|
1738
|
+
ConsentFlowContractRequestForProfileValidator,
|
|
1739
|
+
ConsentFlowContractRequestReadStatusValidator,
|
|
1740
|
+
ConsentFlowContractRequestStatusValidator,
|
|
1718
1741
|
ConsentFlowContractValidator,
|
|
1719
1742
|
ConsentFlowDataForDidQueryValidator,
|
|
1720
1743
|
ConsentFlowDataQueryValidator,
|