@sortipei/api-contracts 0.3.0 → 0.3.1
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.
|
@@ -8,7 +8,9 @@ export declare const TopEventDTOSchema: z.ZodObject<{
|
|
|
8
8
|
export declare const AdStatDTOSchema: z.ZodObject<{
|
|
9
9
|
adId: z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "MainAdId", "out">, z.core.$ZodBranded<z.ZodUUID, "RegionalAdId", "out">]>;
|
|
10
10
|
adTitle: z.ZodString;
|
|
11
|
+
isActive: z.ZodBoolean;
|
|
11
12
|
pressedCount: z.ZodNumber;
|
|
13
|
+
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>>;
|
|
12
14
|
}, z.core.$strip>;
|
|
13
15
|
export declare const EventStatisticsDTOSchema: z.ZodObject<{
|
|
14
16
|
addedToCalendarCount: z.ZodFloat32;
|
|
@@ -22,7 +24,9 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
|
|
|
22
24
|
allAdsStats: z.ZodArray<z.ZodObject<{
|
|
23
25
|
adId: z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "MainAdId", "out">, z.core.$ZodBranded<z.ZodUUID, "RegionalAdId", "out">]>;
|
|
24
26
|
adTitle: z.ZodString;
|
|
27
|
+
isActive: z.ZodBoolean;
|
|
25
28
|
pressedCount: z.ZodNumber;
|
|
29
|
+
regions: z.ZodNullable<z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>>;
|
|
26
30
|
}, z.core.$strip>>;
|
|
27
31
|
eventsCount: z.ZodNumber;
|
|
28
32
|
openedEventsCount: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statistics.d.ts","sourceRoot":"","sources":["../../../src/V1/api/statistics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,
|
|
1
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CAAC,CAAC;AACtE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
package/dist/api-contracts.js
CHANGED
|
@@ -4749,7 +4749,9 @@ const TopEventDTOSchema = object({
|
|
|
4749
4749
|
const AdStatDTOSchema = object({
|
|
4750
4750
|
adId: union([MainAdIdSchema, RegionalAdIdSchema]),
|
|
4751
4751
|
adTitle: StringSchema,
|
|
4752
|
-
|
|
4752
|
+
isActive: boolean(),
|
|
4753
|
+
pressedCount: number(),
|
|
4754
|
+
regions: RegionSchema.array().nullable()
|
|
4753
4755
|
});
|
|
4754
4756
|
const EventStatisticsDTOSchema = object({
|
|
4755
4757
|
addedToCalendarCount: SafeNonNegativeIntegerSchema,
|
package/dist/api-contracts.mjs
CHANGED
|
@@ -4747,7 +4747,9 @@ const TopEventDTOSchema = object({
|
|
|
4747
4747
|
const AdStatDTOSchema = object({
|
|
4748
4748
|
adId: union([MainAdIdSchema, RegionalAdIdSchema]),
|
|
4749
4749
|
adTitle: StringSchema,
|
|
4750
|
-
|
|
4750
|
+
isActive: boolean(),
|
|
4751
|
+
pressedCount: number(),
|
|
4752
|
+
regions: RegionSchema.array().nullable()
|
|
4751
4753
|
});
|
|
4752
4754
|
const EventStatisticsDTOSchema = object({
|
|
4753
4755
|
addedToCalendarCount: SafeNonNegativeIntegerSchema,
|