@learncard/types 5.13.0 → 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 +151 -0
- package/dist/lcn.d.ts.map +1 -1
- package/dist/types.cjs.development.js +25 -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 +25 -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
|
});
|
|
@@ -989,6 +999,7 @@ var LCNNotificationTypeEnumValidator = z9.enum([
|
|
|
989
999
|
"APP_LISTING_SUBMITTED",
|
|
990
1000
|
"APP_LISTING_APPROVED",
|
|
991
1001
|
"APP_LISTING_REJECTED",
|
|
1002
|
+
"APP_LISTING_WITHDRAWN",
|
|
992
1003
|
"DEVICE_LINK_REQUEST"
|
|
993
1004
|
]);
|
|
994
1005
|
var LCNNotificationMessageValidator = z9.object({
|
|
@@ -1516,6 +1527,11 @@ var PromotionLevelValidator = z9.enum([
|
|
|
1516
1527
|
"DEMOTED"
|
|
1517
1528
|
]);
|
|
1518
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
|
+
});
|
|
1519
1535
|
var AppStoreListingValidator = z9.object({
|
|
1520
1536
|
listing_id: z9.string(),
|
|
1521
1537
|
slug: z9.string().optional(),
|
|
@@ -1537,7 +1553,10 @@ var AppStoreListingValidator = z9.object({
|
|
|
1537
1553
|
screenshots: z9.array(z9.string()).optional(),
|
|
1538
1554
|
hero_background_color: z9.string().optional(),
|
|
1539
1555
|
min_age: z9.number().int().min(0).max(18).optional(),
|
|
1540
|
-
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()
|
|
1541
1560
|
});
|
|
1542
1561
|
var AppStoreListingCreateValidator = AppStoreListingValidator.omit({
|
|
1543
1562
|
listing_id: true,
|
|
@@ -1690,6 +1709,7 @@ export {
|
|
|
1690
1709
|
AppEventValidator,
|
|
1691
1710
|
AppListingStatusValidator,
|
|
1692
1711
|
AppStoreListingCreateValidator,
|
|
1712
|
+
AppStoreListingSubmitterValidator,
|
|
1693
1713
|
AppStoreListingUpdateValidator,
|
|
1694
1714
|
AppStoreListingValidator,
|
|
1695
1715
|
AuthGrantQueryValidator,
|
|
@@ -1714,6 +1734,10 @@ export {
|
|
|
1714
1734
|
ConsentFlowContractDataValidator,
|
|
1715
1735
|
ConsentFlowContractDetailsValidator,
|
|
1716
1736
|
ConsentFlowContractQueryValidator,
|
|
1737
|
+
ConsentFlowContractRequestForProfileListValidator,
|
|
1738
|
+
ConsentFlowContractRequestForProfileValidator,
|
|
1739
|
+
ConsentFlowContractRequestReadStatusValidator,
|
|
1740
|
+
ConsentFlowContractRequestStatusValidator,
|
|
1717
1741
|
ConsentFlowContractValidator,
|
|
1718
1742
|
ConsentFlowDataForDidQueryValidator,
|
|
1719
1743
|
ConsentFlowDataQueryValidator,
|