@sortipei/api-contracts 0.2.19 → 0.3.0
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/V1/api/ad.d.ts +14 -86
- package/dist/V1/api/ad.d.ts.map +1 -1
- package/dist/V1/api/app-configuration.d.ts +2 -14
- package/dist/V1/api/app-configuration.d.ts.map +1 -1
- package/dist/V1/api/common.d.ts +1 -7
- package/dist/V1/api/common.d.ts.map +1 -1
- package/dist/V1/api/event.d.ts +112 -468
- package/dist/V1/api/event.d.ts.map +1 -1
- package/dist/V1/api/import-reminder.d.ts +9 -37
- package/dist/V1/api/import-reminder.d.ts.map +1 -1
- package/dist/V1/api/organizer.d.ts +12 -74
- package/dist/V1/api/organizer.d.ts.map +1 -1
- package/dist/V1/api/statistics.d.ts +98 -758
- package/dist/V1/api/statistics.d.ts.map +1 -1
- package/dist/V1/external/partial-imported-event.d.ts +19 -179
- package/dist/V1/external/partial-imported-event.d.ts.map +1 -1
- package/dist/api-contracts.js +4246 -3916
- package/dist/api-contracts.mjs +4246 -3916
- package/dist/flavors.d.ts +6 -6
- package/dist/flavors.d.ts.map +1 -1
- package/dist/shared/event.d.ts +2 -2
- package/dist/shared/event.d.ts.map +1 -1
- package/dist/shared/import-reminder.d.ts +1 -1
- package/dist/shared/import-reminder.d.ts.map +1 -1
- package/dist/shared/schemas.d.ts +5 -5
- package/dist/shared/schemas.d.ts.map +1 -1
- package/dist/shared/stats.d.ts +137 -689
- package/dist/shared/stats.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -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,EAAgC,eAAe,EAAgB,MAAM,cAAc,CAAC;AAG3F,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"statistics.d.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YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -2,205 +2,45 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
3
3
|
partialEventState: z.ZodObject<{
|
|
4
4
|
adress: z.ZodOptional<z.ZodString>;
|
|
5
|
-
capacity: z.ZodOptional<z.ZodNullable<z.
|
|
6
|
-
category: z.ZodOptional<z.
|
|
7
|
-
createdAt: z.ZodOptional<z.
|
|
5
|
+
capacity: z.ZodOptional<z.ZodNullable<z.ZodFloat32>>;
|
|
6
|
+
category: z.ZodOptional<z.ZodEnum<typeof import('../../shared').Category>>;
|
|
7
|
+
createdAt: z.ZodOptional<z.ZodISODateTime>;
|
|
8
8
|
description: z.ZodOptional<z.ZodString>;
|
|
9
9
|
externalSourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
finishTime: z.ZodOptional<z.ZodNullable<z.
|
|
10
|
+
finishTime: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
11
11
|
gpsCoordinates: z.ZodOptional<z.ZodObject<{
|
|
12
12
|
latitude: z.ZodNumber;
|
|
13
13
|
longitude: z.ZodNumber;
|
|
14
|
-
},
|
|
15
|
-
latitude: number;
|
|
16
|
-
longitude: number;
|
|
17
|
-
}, {
|
|
18
|
-
latitude: number;
|
|
19
|
-
longitude: number;
|
|
20
|
-
}>>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
21
15
|
hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
-
id: z.ZodOptional<z.ZodBranded<z.
|
|
23
|
-
imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString
|
|
24
|
-
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString
|
|
16
|
+
id: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "EventId", "out">>;
|
|
17
|
+
imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
|
+
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25
19
|
isDisplayed: z.ZodOptional<z.ZodBoolean>;
|
|
26
20
|
isExhibition: z.ZodOptional<z.ZodBoolean>;
|
|
27
21
|
isOldTimes: z.ZodOptional<z.ZodBoolean>;
|
|
28
22
|
isPriceRange: z.ZodOptional<z.ZodBoolean>;
|
|
29
23
|
isPromoted: z.ZodOptional<z.ZodBoolean>;
|
|
30
24
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
price: z.ZodOptional<z.ZodNullable<z.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
price: z.ZodOptional<z.ZodNullable<z.ZodFloat32>>;
|
|
26
|
+
promotionEnd: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
27
|
+
promotionStart: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
28
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>>;
|
|
29
|
+
secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import('../../shared').Category>>>;
|
|
30
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
35
31
|
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
32
|
ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
33
|
title: z.ZodOptional<z.ZodString>;
|
|
38
34
|
organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39
|
-
id: z.ZodBranded<z.
|
|
35
|
+
id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
|
|
40
36
|
name: z.ZodString;
|
|
41
37
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
imageUrl: string | null;
|
|
45
|
-
name: string;
|
|
46
|
-
}, {
|
|
47
|
-
id: string;
|
|
48
|
-
imageUrl: string | null;
|
|
49
|
-
name: string;
|
|
50
|
-
}>, "many">>;
|
|
51
|
-
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
53
|
-
category?: import('../../shared').Category | undefined;
|
|
54
|
-
startTime?: string | undefined;
|
|
55
|
-
createdAt?: string | undefined;
|
|
56
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
57
|
-
link?: string | null | undefined;
|
|
58
|
-
title?: string | undefined;
|
|
59
|
-
adress?: string | undefined;
|
|
60
|
-
capacity?: number | null | undefined;
|
|
61
|
-
description?: string | undefined;
|
|
62
|
-
externalSourceId?: string | null | undefined;
|
|
63
|
-
finishTime?: string | null | undefined;
|
|
64
|
-
gpsCoordinates?: {
|
|
65
|
-
latitude: number;
|
|
66
|
-
longitude: number;
|
|
67
|
-
} | undefined;
|
|
68
|
-
hasHandicapAccess?: boolean | null | undefined;
|
|
69
|
-
imageBlurHashes?: string[] | undefined;
|
|
70
|
-
imageUrls?: string[] | undefined;
|
|
71
|
-
isDisplayed?: boolean | undefined;
|
|
72
|
-
isExhibition?: boolean | undefined;
|
|
73
|
-
isOldTimes?: boolean | undefined;
|
|
74
|
-
isPriceRange?: boolean | undefined;
|
|
75
|
-
isPromoted?: boolean | undefined;
|
|
76
|
-
price?: number | null | undefined;
|
|
77
|
-
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
78
|
-
thumbnailUrl?: string | null | undefined;
|
|
79
|
-
ticketsUrl?: string | null | undefined;
|
|
80
|
-
organizers?: {
|
|
81
|
-
id: string & z.BRAND<"OrganizerId">;
|
|
82
|
-
imageUrl: string | null;
|
|
83
|
-
name: string;
|
|
84
|
-
}[] | undefined;
|
|
85
|
-
}, {
|
|
86
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
87
|
-
category?: import('../../shared').Category | undefined;
|
|
88
|
-
startTime?: string | undefined;
|
|
89
|
-
createdAt?: string | undefined;
|
|
90
|
-
id?: string | undefined;
|
|
91
|
-
link?: string | null | undefined;
|
|
92
|
-
title?: string | undefined;
|
|
93
|
-
adress?: string | undefined;
|
|
94
|
-
capacity?: number | null | undefined;
|
|
95
|
-
description?: string | undefined;
|
|
96
|
-
externalSourceId?: string | null | undefined;
|
|
97
|
-
finishTime?: string | null | undefined;
|
|
98
|
-
gpsCoordinates?: {
|
|
99
|
-
latitude: number;
|
|
100
|
-
longitude: number;
|
|
101
|
-
} | undefined;
|
|
102
|
-
hasHandicapAccess?: boolean | null | undefined;
|
|
103
|
-
imageBlurHashes?: string[] | undefined;
|
|
104
|
-
imageUrls?: string[] | undefined;
|
|
105
|
-
isDisplayed?: boolean | undefined;
|
|
106
|
-
isExhibition?: boolean | undefined;
|
|
107
|
-
isOldTimes?: boolean | undefined;
|
|
108
|
-
isPriceRange?: boolean | undefined;
|
|
109
|
-
isPromoted?: boolean | undefined;
|
|
110
|
-
price?: number | null | undefined;
|
|
111
|
-
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
112
|
-
thumbnailUrl?: string | null | undefined;
|
|
113
|
-
ticketsUrl?: string | null | undefined;
|
|
114
|
-
organizers?: {
|
|
115
|
-
id: string;
|
|
116
|
-
imageUrl: string | null;
|
|
117
|
-
name: string;
|
|
118
|
-
}[] | undefined;
|
|
119
|
-
}>;
|
|
38
|
+
}, z.core.$strip>>>;
|
|
39
|
+
}, z.core.$strip>;
|
|
120
40
|
token: z.ZodString;
|
|
121
41
|
userId: z.ZodString;
|
|
122
|
-
organizersNames: z.ZodArray<z.ZodString
|
|
42
|
+
organizersNames: z.ZodArray<z.ZodString>;
|
|
123
43
|
source: z.ZodString;
|
|
124
|
-
},
|
|
125
|
-
userId: string;
|
|
126
|
-
organizersNames: string[];
|
|
127
|
-
partialEventState: {
|
|
128
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
129
|
-
category?: import('../../shared').Category | undefined;
|
|
130
|
-
startTime?: string | undefined;
|
|
131
|
-
createdAt?: string | undefined;
|
|
132
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
133
|
-
link?: string | null | undefined;
|
|
134
|
-
title?: string | undefined;
|
|
135
|
-
adress?: string | undefined;
|
|
136
|
-
capacity?: number | null | undefined;
|
|
137
|
-
description?: string | undefined;
|
|
138
|
-
externalSourceId?: string | null | undefined;
|
|
139
|
-
finishTime?: string | null | undefined;
|
|
140
|
-
gpsCoordinates?: {
|
|
141
|
-
latitude: number;
|
|
142
|
-
longitude: number;
|
|
143
|
-
} | undefined;
|
|
144
|
-
hasHandicapAccess?: boolean | null | undefined;
|
|
145
|
-
imageBlurHashes?: string[] | undefined;
|
|
146
|
-
imageUrls?: string[] | undefined;
|
|
147
|
-
isDisplayed?: boolean | undefined;
|
|
148
|
-
isExhibition?: boolean | undefined;
|
|
149
|
-
isOldTimes?: boolean | undefined;
|
|
150
|
-
isPriceRange?: boolean | undefined;
|
|
151
|
-
isPromoted?: boolean | undefined;
|
|
152
|
-
price?: number | null | undefined;
|
|
153
|
-
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
154
|
-
thumbnailUrl?: string | null | undefined;
|
|
155
|
-
ticketsUrl?: string | null | undefined;
|
|
156
|
-
organizers?: {
|
|
157
|
-
id: string & z.BRAND<"OrganizerId">;
|
|
158
|
-
imageUrl: string | null;
|
|
159
|
-
name: string;
|
|
160
|
-
}[] | undefined;
|
|
161
|
-
};
|
|
162
|
-
source: string;
|
|
163
|
-
token: string;
|
|
164
|
-
}, {
|
|
165
|
-
userId: string;
|
|
166
|
-
organizersNames: string[];
|
|
167
|
-
partialEventState: {
|
|
168
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
169
|
-
category?: import('../../shared').Category | undefined;
|
|
170
|
-
startTime?: string | undefined;
|
|
171
|
-
createdAt?: string | undefined;
|
|
172
|
-
id?: string | undefined;
|
|
173
|
-
link?: string | null | undefined;
|
|
174
|
-
title?: string | undefined;
|
|
175
|
-
adress?: string | undefined;
|
|
176
|
-
capacity?: number | null | undefined;
|
|
177
|
-
description?: string | undefined;
|
|
178
|
-
externalSourceId?: string | null | undefined;
|
|
179
|
-
finishTime?: string | null | undefined;
|
|
180
|
-
gpsCoordinates?: {
|
|
181
|
-
latitude: number;
|
|
182
|
-
longitude: number;
|
|
183
|
-
} | undefined;
|
|
184
|
-
hasHandicapAccess?: boolean | null | undefined;
|
|
185
|
-
imageBlurHashes?: string[] | undefined;
|
|
186
|
-
imageUrls?: string[] | undefined;
|
|
187
|
-
isDisplayed?: boolean | undefined;
|
|
188
|
-
isExhibition?: boolean | undefined;
|
|
189
|
-
isOldTimes?: boolean | undefined;
|
|
190
|
-
isPriceRange?: boolean | undefined;
|
|
191
|
-
isPromoted?: boolean | undefined;
|
|
192
|
-
price?: number | null | undefined;
|
|
193
|
-
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
194
|
-
thumbnailUrl?: string | null | undefined;
|
|
195
|
-
ticketsUrl?: string | null | undefined;
|
|
196
|
-
organizers?: {
|
|
197
|
-
id: string;
|
|
198
|
-
imageUrl: string | null;
|
|
199
|
-
name: string;
|
|
200
|
-
}[] | undefined;
|
|
201
|
-
};
|
|
202
|
-
source: string;
|
|
203
|
-
token: string;
|
|
204
|
-
}>;
|
|
44
|
+
}, z.core.$strip>;
|
|
205
45
|
export type CreatePartialImportedEventDTO = z.infer<typeof CreatePartialImportedEventDTOSchema>;
|
|
206
46
|
//# sourceMappingURL=partial-imported-event.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC
|
|
1
|
+
{"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
|