expo-backend-types 0.32.0-EXPO-315-Marcelo-Tinelli.3 → 0.33.0-EXPO-308-auth.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.
Files changed (133) hide show
  1. package/dist/src/event/dto/create-event.dto.d.ts +2 -115
  2. package/dist/src/event/dto/create-event.dto.js +0 -8
  3. package/dist/src/event/dto/delete-event.dto.d.ts +0 -18
  4. package/dist/src/event/dto/event.dto.d.ts +0 -9
  5. package/dist/src/event/dto/event.dto.js +0 -9
  6. package/dist/src/event/dto/get-all-event.dto.d.ts +160 -424
  7. package/dist/src/event/dto/get-by-id-event.dto.d.ts +48 -208
  8. package/dist/src/event/dto/get-by-id-event.dto.js +0 -2
  9. package/dist/src/event/dto/update-event.dto.d.ts +22 -193
  10. package/dist/src/event/dto/update-event.dto.js +0 -9
  11. package/dist/src/event/exports.d.ts +0 -3
  12. package/dist/src/event/exports.js +0 -3
  13. package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +0 -42
  14. package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +0 -30
  15. package/dist/src/exports.d.ts +3 -2
  16. package/dist/src/exports.js +3 -2
  17. package/dist/src/i18n/es.d.ts +20 -88
  18. package/dist/src/i18n/es.js +20 -88
  19. package/dist/src/i18n/es.js.map +1 -1
  20. package/dist/src/image/constants.d.ts +5 -0
  21. package/dist/src/image/constants.js +9 -0
  22. package/dist/src/location/dto/find-all-location.dto.js +2 -2
  23. package/dist/src/location/exports.d.ts +0 -1
  24. package/dist/src/location/exports.js +0 -1
  25. package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
  26. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  27. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
  28. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  29. package/dist/src/message/dto/template.dto.d.ts +2 -2
  30. package/dist/src/mi-expo/dto/get-me.dto.d.ts +337 -0
  31. package/dist/src/mi-expo/dto/get-me.dto.js +16 -0
  32. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +311 -0
  33. package/dist/src/mi-expo/dto/login-with-phone.dto.js +29 -0
  34. package/dist/src/mi-expo/dto/login.dto.d.ts +327 -0
  35. package/dist/src/mi-expo/dto/login.dto.js +31 -0
  36. package/dist/src/mi-expo/dto/update-me.dto.d.ts +352 -0
  37. package/dist/src/mi-expo/dto/update-me.dto.js +31 -0
  38. package/dist/src/mi-expo/exports.d.ts +4 -0
  39. package/dist/src/{ticket → mi-expo}/exports.js +4 -10
  40. package/dist/src/otp/constants.d.ts +2 -0
  41. package/dist/src/otp/constants.js +6 -0
  42. package/dist/src/otp/dto/send-otp.dto.d.ts +158 -0
  43. package/dist/src/otp/dto/send-otp.dto.js +35 -0
  44. package/dist/src/otp/dto/verify-otp.dto.d.ts +455 -0
  45. package/dist/src/otp/dto/verify-otp.dto.js +46 -0
  46. package/dist/src/otp/exports.d.ts +2 -0
  47. package/dist/src/otp/exports.js +19 -0
  48. package/dist/src/prisma/constants.d.ts +1 -0
  49. package/dist/src/prisma/constants.js +5 -0
  50. package/dist/src/profile/dto/create-profile.dto.d.ts +48 -14
  51. package/dist/src/profile/dto/create-profile.dto.js +9 -7
  52. package/dist/src/profile/dto/delete-profile.dto.d.ts +30 -6
  53. package/dist/src/profile/dto/delete-profile.dto.js +2 -2
  54. package/dist/src/profile/dto/find-all-profile.dto.d.ts +47 -7
  55. package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
  56. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +75 -11
  57. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
  58. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +32 -13
  59. package/dist/src/profile/dto/find-by-id-profile.dto.js +7 -5
  60. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +30 -6
  61. package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
  62. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +47 -7
  63. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
  64. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +47 -7
  65. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
  66. package/dist/src/profile/dto/find-trash.dto.d.ts +7 -3
  67. package/dist/src/profile/dto/find-trash.dto.js +2 -2
  68. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +47 -7
  69. package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
  70. package/dist/src/profile/dto/profile.dto.d.ts +44 -30
  71. package/dist/src/profile/dto/profile.dto.js +6 -63
  72. package/dist/src/profile/dto/update-profile.dto.d.ts +54 -12
  73. package/dist/src/profile/dto/update-profile.dto.js +9 -6
  74. package/dist/src/schema/exports.d.ts +2 -0
  75. package/dist/src/schema/exports.js +19 -0
  76. package/dist/src/{location/dto/location.dto.js → schema/location.schema.js} +2 -2
  77. package/dist/src/schema/profile.schema.d.ts +74 -0
  78. package/dist/src/schema/profile.schema.js +133 -0
  79. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -4
  80. package/dist/src/shared/dto-modification/zod-without-dates.js +8 -0
  81. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  82. package/dist/src/tag/dto/massive-allocation.dto.d.ts +47 -7
  83. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  84. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +47 -7
  85. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  86. package/dist/src/webhook/constants.d.ts +1 -0
  87. package/dist/src/webhook/constants.js +5 -0
  88. package/dist/types/prisma-schema/edge.js +39 -63
  89. package/dist/types/prisma-schema/index-browser.js +19 -48
  90. package/dist/types/prisma-schema/index.d.ts +6259 -6808
  91. package/dist/types/prisma-schema/index.js +39 -63
  92. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  93. package/dist/types/prisma-schema/package.json +8 -2
  94. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  95. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  96. package/dist/types/prisma-schema/runtime/index-browser.d.ts +3 -1
  97. package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
  98. package/dist/types/prisma-schema/runtime/library.d.ts +205 -153
  99. package/dist/types/prisma-schema/runtime/library.js +55 -55
  100. package/dist/types/prisma-schema/runtime/react-native.js +26 -26
  101. package/dist/types/prisma-schema/runtime/wasm.js +17 -17
  102. package/dist/types/prisma-schema/schema.prisma +27 -58
  103. package/dist/types/prisma-schema/wasm.js +19 -48
  104. package/dist/types/schema.d.ts +313 -531
  105. package/package.json +32 -41
  106. package/dist/src/event/dto/event-tickets.dto.d.ts +0 -21
  107. package/dist/src/event/dto/event-tickets.dto.js +0 -21
  108. package/dist/src/event/dto/get-active-events.dto.d.ts +0 -247
  109. package/dist/src/event/dto/get-active-events.dto.js +0 -19
  110. package/dist/src/event/dto/toggle-active-event.dto.d.ts +0 -43
  111. package/dist/src/event/dto/toggle-active-event.dto.js +0 -6
  112. package/dist/src/ticket/dto/create-ticket.dto.d.ts +0 -134
  113. package/dist/src/ticket/dto/create-ticket.dto.js +0 -20
  114. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +0 -75
  115. package/dist/src/ticket/dto/delete-ticket.dto.js +0 -10
  116. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +0 -201
  117. package/dist/src/ticket/dto/find-all-tickets.dto.js +0 -23
  118. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +0 -201
  119. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +0 -23
  120. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +0 -201
  121. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +0 -20
  122. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +0 -201
  123. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +0 -23
  124. package/dist/src/ticket/dto/find-ticket.dto.d.ts +0 -75
  125. package/dist/src/ticket/dto/find-ticket.dto.js +0 -10
  126. package/dist/src/ticket/dto/generate-pdf.dto.d.ts +0 -7
  127. package/dist/src/ticket/dto/generate-pdf.dto.js +0 -13
  128. package/dist/src/ticket/dto/ticket.dto.d.ts +0 -76
  129. package/dist/src/ticket/dto/ticket.dto.js +0 -29
  130. package/dist/src/ticket/dto/update-ticket.dto.d.ts +0 -125
  131. package/dist/src/ticket/dto/update-ticket.dto.js +0 -21
  132. package/dist/src/ticket/exports.d.ts +0 -10
  133. /package/dist/src/{location/dto/location.dto.d.ts → schema/location.schema.d.ts} +0 -0
@@ -3,13 +3,10 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
3
3
  id: z.ZodString;
4
4
  name: z.ZodString;
5
5
  date: z.ZodDate;
6
- startingDate: z.ZodDate;
7
- endingDate: z.ZodDate;
8
6
  location: z.ZodString;
9
7
  folderId: z.ZodNullable<z.ZodString>;
10
8
  tagAssistedId: z.ZodString;
11
9
  tagConfirmedId: z.ZodString;
12
- active: z.ZodBoolean;
13
10
  supraEventId: z.ZodNullable<z.ZodString>;
14
11
  created_at: z.ZodDate;
15
12
  updated_at: z.ZodDate;
@@ -18,13 +15,10 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
18
15
  id: z.ZodString;
19
16
  name: z.ZodString;
20
17
  date: z.ZodDate;
21
- startingDate: z.ZodDate;
22
- endingDate: z.ZodDate;
23
18
  location: z.ZodString;
24
19
  folderId: z.ZodNullable<z.ZodString>;
25
20
  tagAssistedId: z.ZodString;
26
21
  tagConfirmedId: z.ZodString;
27
- active: z.ZodBoolean;
28
22
  supraEventId: z.ZodNullable<z.ZodString>;
29
23
  created_at: z.ZodDate;
30
24
  updated_at: z.ZodDate;
@@ -33,11 +27,8 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
33
27
  id: string;
34
28
  name: string;
35
29
  date: Date;
36
- startingDate: Date;
37
- endingDate: Date;
38
30
  created_at: Date;
39
31
  updated_at: Date;
40
- active: boolean;
41
32
  folderId: string | null;
42
33
  tagAssistedId: string;
43
34
  tagConfirmedId: string;
@@ -47,11 +38,8 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
47
38
  id: string;
48
39
  name: string;
49
40
  date: Date;
50
- startingDate: Date;
51
- endingDate: Date;
52
41
  created_at: Date;
53
42
  updated_at: Date;
54
- active: boolean;
55
43
  folderId: string | null;
56
44
  tagAssistedId: string;
57
45
  tagConfirmedId: string;
@@ -61,13 +49,10 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
61
49
  id: z.ZodString;
62
50
  name: z.ZodString;
63
51
  date: z.ZodDate;
64
- startingDate: z.ZodDate;
65
- endingDate: z.ZodDate;
66
52
  location: z.ZodString;
67
53
  folderId: z.ZodNullable<z.ZodString>;
68
54
  tagAssistedId: z.ZodString;
69
55
  tagConfirmedId: z.ZodString;
70
- active: z.ZodBoolean;
71
56
  supraEventId: z.ZodNullable<z.ZodString>;
72
57
  created_at: z.ZodDate;
73
58
  updated_at: z.ZodDate;
@@ -76,11 +61,8 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
76
61
  id: string;
77
62
  name: string;
78
63
  date: Date;
79
- startingDate: Date;
80
- endingDate: Date;
81
64
  created_at: Date;
82
65
  updated_at: Date;
83
- active: boolean;
84
66
  folderId: string | null;
85
67
  tagAssistedId: string;
86
68
  tagConfirmedId: string;
@@ -90,148 +72,92 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
90
72
  id: string;
91
73
  name: string;
92
74
  date: Date;
93
- startingDate: Date;
94
- endingDate: Date;
95
75
  created_at: Date;
96
76
  updated_at: Date;
97
- active: boolean;
98
77
  folderId: string | null;
99
78
  tagAssistedId: string;
100
79
  tagConfirmedId: string;
101
80
  supraEventId: string | null;
102
81
  }>>;
103
- eventTickets: z.ZodArray<z.ZodObject<{
104
- id: z.ZodString;
105
- amount: z.ZodNumber;
106
- type: z.ZodNativeEnum<{
107
- PARTICIPANT: "PARTICIPANT";
108
- STAFF: "STAFF";
109
- SPECTATOR: "SPECTATOR";
110
- }>;
111
- price: z.ZodNullable<z.ZodNumber>;
112
- }, "strip", z.ZodTypeAny, {
113
- id: string;
114
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
115
- amount: number;
116
- price: number | null;
117
- }, {
118
- id: string;
119
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
120
- amount: number;
121
- price: number | null;
122
- }>, "many">;
123
82
  }>, "strip", z.ZodTypeAny, {
124
83
  location: string;
125
84
  id: string;
126
85
  name: string;
127
86
  date: Date;
128
- startingDate: Date;
129
- endingDate: Date;
130
87
  created_at: Date;
131
88
  updated_at: Date;
132
- active: boolean;
133
- folderId: string | null;
134
- tagAssistedId: string;
135
- tagConfirmedId: string;
136
- supraEventId: string | null;
137
- subEvents: {
89
+ supraEvent: {
138
90
  location: string;
139
91
  id: string;
140
92
  name: string;
141
93
  date: Date;
142
- startingDate: Date;
143
- endingDate: Date;
144
94
  created_at: Date;
145
95
  updated_at: Date;
146
- active: boolean;
147
96
  folderId: string | null;
148
97
  tagAssistedId: string;
149
98
  tagConfirmedId: string;
150
99
  supraEventId: string | null;
151
- }[];
152
- eventTickets: {
153
- id: string;
154
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
155
- amount: number;
156
- price: number | null;
157
- }[];
158
- supraEvent: {
100
+ } | null;
101
+ subEvents: {
159
102
  location: string;
160
103
  id: string;
161
104
  name: string;
162
105
  date: Date;
163
- startingDate: Date;
164
- endingDate: Date;
165
106
  created_at: Date;
166
107
  updated_at: Date;
167
- active: boolean;
168
108
  folderId: string | null;
169
109
  tagAssistedId: string;
170
110
  tagConfirmedId: string;
171
111
  supraEventId: string | null;
172
- } | null;
112
+ }[];
113
+ folderId: string | null;
114
+ tagAssistedId: string;
115
+ tagConfirmedId: string;
116
+ supraEventId: string | null;
173
117
  }, {
174
118
  location: string;
175
119
  id: string;
176
120
  name: string;
177
121
  date: Date;
178
- startingDate: Date;
179
- endingDate: Date;
180
122
  created_at: Date;
181
123
  updated_at: Date;
182
- active: boolean;
183
- folderId: string | null;
184
- tagAssistedId: string;
185
- tagConfirmedId: string;
186
- supraEventId: string | null;
187
- subEvents: {
124
+ supraEvent: {
188
125
  location: string;
189
126
  id: string;
190
127
  name: string;
191
128
  date: Date;
192
- startingDate: Date;
193
- endingDate: Date;
194
129
  created_at: Date;
195
130
  updated_at: Date;
196
- active: boolean;
197
131
  folderId: string | null;
198
132
  tagAssistedId: string;
199
133
  tagConfirmedId: string;
200
134
  supraEventId: string | null;
201
- }[];
202
- eventTickets: {
203
- id: string;
204
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
205
- amount: number;
206
- price: number | null;
207
- }[];
208
- supraEvent: {
135
+ } | null;
136
+ subEvents: {
209
137
  location: string;
210
138
  id: string;
211
139
  name: string;
212
140
  date: Date;
213
- startingDate: Date;
214
- endingDate: Date;
215
141
  created_at: Date;
216
142
  updated_at: Date;
217
- active: boolean;
218
143
  folderId: string | null;
219
144
  tagAssistedId: string;
220
145
  tagConfirmedId: string;
221
146
  supraEventId: string | null;
222
- } | null;
147
+ }[];
148
+ folderId: string | null;
149
+ tagAssistedId: string;
150
+ tagConfirmedId: string;
151
+ supraEventId: string | null;
223
152
  }>;
224
153
  declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
225
154
  id: z.ZodString;
226
155
  name: z.ZodString;
227
156
  date: z.ZodString;
228
- startingDate: z.ZodString;
229
- endingDate: z.ZodString;
230
157
  location: z.ZodString;
231
158
  folderId: z.ZodNullable<z.ZodString>;
232
159
  tagAssistedId: z.ZodString;
233
160
  tagConfirmedId: z.ZodString;
234
- active: z.ZodBoolean;
235
161
  supraEventId: z.ZodNullable<z.ZodString>;
236
162
  created_at: z.ZodString;
237
163
  updated_at: z.ZodString;
@@ -239,13 +165,10 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
239
165
  id: z.ZodString;
240
166
  name: z.ZodString;
241
167
  date: z.ZodString;
242
- startingDate: z.ZodString;
243
- endingDate: z.ZodString;
244
168
  location: z.ZodString;
245
169
  folderId: z.ZodNullable<z.ZodString>;
246
170
  tagAssistedId: z.ZodString;
247
171
  tagConfirmedId: z.ZodString;
248
- active: z.ZodBoolean;
249
172
  supraEventId: z.ZodNullable<z.ZodString>;
250
173
  created_at: z.ZodString;
251
174
  updated_at: z.ZodString;
@@ -254,11 +177,8 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
254
177
  id: string;
255
178
  name: string;
256
179
  date: string;
257
- startingDate: string;
258
- endingDate: string;
259
180
  created_at: string;
260
181
  updated_at: string;
261
- active: boolean;
262
182
  folderId: string | null;
263
183
  tagAssistedId: string;
264
184
  tagConfirmedId: string;
@@ -268,11 +188,8 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
268
188
  id: string;
269
189
  name: string;
270
190
  date: string;
271
- startingDate: string;
272
- endingDate: string;
273
191
  created_at: string;
274
192
  updated_at: string;
275
- active: boolean;
276
193
  folderId: string | null;
277
194
  tagAssistedId: string;
278
195
  tagConfirmedId: string;
@@ -282,13 +199,10 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
282
199
  id: z.ZodString;
283
200
  name: z.ZodString;
284
201
  date: z.ZodString;
285
- startingDate: z.ZodString;
286
- endingDate: z.ZodString;
287
202
  location: z.ZodString;
288
203
  folderId: z.ZodNullable<z.ZodString>;
289
204
  tagAssistedId: z.ZodString;
290
205
  tagConfirmedId: z.ZodString;
291
- active: z.ZodBoolean;
292
206
  supraEventId: z.ZodNullable<z.ZodString>;
293
207
  created_at: z.ZodString;
294
208
  updated_at: z.ZodString;
@@ -297,11 +211,8 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
297
211
  id: string;
298
212
  name: string;
299
213
  date: string;
300
- startingDate: string;
301
- endingDate: string;
302
214
  created_at: string;
303
215
  updated_at: string;
304
- active: boolean;
305
216
  folderId: string | null;
306
217
  tagAssistedId: string;
307
218
  tagConfirmedId: string;
@@ -311,136 +222,83 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
311
222
  id: string;
312
223
  name: string;
313
224
  date: string;
314
- startingDate: string;
315
- endingDate: string;
316
225
  created_at: string;
317
226
  updated_at: string;
318
- active: boolean;
319
227
  folderId: string | null;
320
228
  tagAssistedId: string;
321
229
  tagConfirmedId: string;
322
230
  supraEventId: string | null;
323
231
  }>>;
324
- eventTickets: z.ZodArray<z.ZodObject<{
325
- id: z.ZodString;
326
- amount: z.ZodNumber;
327
- type: z.ZodNativeEnum<{
328
- PARTICIPANT: "PARTICIPANT";
329
- STAFF: "STAFF";
330
- SPECTATOR: "SPECTATOR";
331
- }>;
332
- price: z.ZodNullable<z.ZodNumber>;
333
- }, z.UnknownKeysParam, z.ZodTypeAny, {
334
- id: string;
335
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
336
- amount: number;
337
- price: number | null;
338
- }, {
339
- id: string;
340
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
341
- amount: number;
342
- price: number | null;
343
- }>, "many">;
344
232
  }, z.UnknownKeysParam, z.ZodTypeAny, {
345
233
  location: string;
346
234
  id: string;
347
235
  name: string;
348
236
  date: string;
349
- startingDate: string;
350
- endingDate: string;
351
237
  created_at: string;
352
238
  updated_at: string;
353
- active: boolean;
354
- folderId: string | null;
355
- tagAssistedId: string;
356
- tagConfirmedId: string;
357
- supraEventId: string | null;
358
- subEvents: {
239
+ supraEvent: {
359
240
  location: string;
360
241
  id: string;
361
242
  name: string;
362
243
  date: string;
363
- startingDate: string;
364
- endingDate: string;
365
244
  created_at: string;
366
245
  updated_at: string;
367
- active: boolean;
368
246
  folderId: string | null;
369
247
  tagAssistedId: string;
370
248
  tagConfirmedId: string;
371
249
  supraEventId: string | null;
372
- }[];
373
- eventTickets: {
374
- id: string;
375
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
376
- amount: number;
377
- price: number | null;
378
- }[];
379
- supraEvent: {
250
+ } | null;
251
+ subEvents: {
380
252
  location: string;
381
253
  id: string;
382
254
  name: string;
383
255
  date: string;
384
- startingDate: string;
385
- endingDate: string;
386
256
  created_at: string;
387
257
  updated_at: string;
388
- active: boolean;
389
258
  folderId: string | null;
390
259
  tagAssistedId: string;
391
260
  tagConfirmedId: string;
392
261
  supraEventId: string | null;
393
- } | null;
262
+ }[];
263
+ folderId: string | null;
264
+ tagAssistedId: string;
265
+ tagConfirmedId: string;
266
+ supraEventId: string | null;
394
267
  }, {
395
268
  location: string;
396
269
  id: string;
397
270
  name: string;
398
271
  date: string;
399
- startingDate: string;
400
- endingDate: string;
401
272
  created_at: string;
402
273
  updated_at: string;
403
- active: boolean;
404
- folderId: string | null;
405
- tagAssistedId: string;
406
- tagConfirmedId: string;
407
- supraEventId: string | null;
408
- subEvents: {
274
+ supraEvent: {
409
275
  location: string;
410
276
  id: string;
411
277
  name: string;
412
278
  date: string;
413
- startingDate: string;
414
- endingDate: string;
415
279
  created_at: string;
416
280
  updated_at: string;
417
- active: boolean;
418
281
  folderId: string | null;
419
282
  tagAssistedId: string;
420
283
  tagConfirmedId: string;
421
284
  supraEventId: string | null;
422
- }[];
423
- eventTickets: {
424
- id: string;
425
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
426
- amount: number;
427
- price: number | null;
428
- }[];
429
- supraEvent: {
285
+ } | null;
286
+ subEvents: {
430
287
  location: string;
431
288
  id: string;
432
289
  name: string;
433
290
  date: string;
434
- startingDate: string;
435
- endingDate: string;
436
291
  created_at: string;
437
292
  updated_at: string;
438
- active: boolean;
439
293
  folderId: string | null;
440
294
  tagAssistedId: string;
441
295
  tagConfirmedId: string;
442
296
  supraEventId: string | null;
443
- } | null;
297
+ }[];
298
+ folderId: string | null;
299
+ tagAssistedId: string;
300
+ tagConfirmedId: string;
301
+ supraEventId: string | null;
444
302
  }>>;
445
303
  export declare class GetByIdEventResponseDto extends GetByIdEventResponseDto_base {
446
304
  }
@@ -448,13 +306,10 @@ export declare const getBySupraEventResponseSchema: z.ZodArray<z.ZodObject<z.obj
448
306
  id: z.ZodString;
449
307
  name: z.ZodString;
450
308
  date: z.ZodDate;
451
- startingDate: z.ZodDate;
452
- endingDate: z.ZodDate;
453
309
  location: z.ZodString;
454
310
  folderId: z.ZodNullable<z.ZodString>;
455
311
  tagAssistedId: z.ZodString;
456
312
  tagConfirmedId: z.ZodString;
457
- active: z.ZodBoolean;
458
313
  supraEventId: z.ZodNullable<z.ZodString>;
459
314
  created_at: z.ZodDate;
460
315
  updated_at: z.ZodDate;
@@ -518,15 +373,8 @@ export declare const getBySupraEventResponseSchema: z.ZodArray<z.ZodObject<z.obj
518
373
  id: string;
519
374
  name: string;
520
375
  date: Date;
521
- startingDate: Date;
522
- endingDate: Date;
523
376
  created_at: Date;
524
377
  updated_at: Date;
525
- active: boolean;
526
- folderId: string | null;
527
- tagAssistedId: string;
528
- tagConfirmedId: string;
529
- supraEventId: string | null;
530
378
  tagAssisted: {
531
379
  id: string;
532
380
  name: string;
@@ -543,20 +391,17 @@ export declare const getBySupraEventResponseSchema: z.ZodArray<z.ZodObject<z.obj
543
391
  updated_at: Date;
544
392
  groupId: string;
545
393
  };
394
+ folderId: string | null;
395
+ tagAssistedId: string;
396
+ tagConfirmedId: string;
397
+ supraEventId: string | null;
546
398
  }, {
547
399
  location: string;
548
400
  id: string;
549
401
  name: string;
550
402
  date: Date;
551
- startingDate: Date;
552
- endingDate: Date;
553
403
  created_at: Date;
554
404
  updated_at: Date;
555
- active: boolean;
556
- folderId: string | null;
557
- tagAssistedId: string;
558
- tagConfirmedId: string;
559
- supraEventId: string | null;
560
405
  tagAssisted: {
561
406
  id: string;
562
407
  name: string;
@@ -573,18 +418,19 @@ export declare const getBySupraEventResponseSchema: z.ZodArray<z.ZodObject<z.obj
573
418
  updated_at: Date;
574
419
  groupId: string;
575
420
  };
421
+ folderId: string | null;
422
+ tagAssistedId: string;
423
+ tagConfirmedId: string;
424
+ supraEventId: string | null;
576
425
  }>, "many">;
577
426
  declare const GetBySupraEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodArray<z.ZodObject<{
578
427
  id: z.ZodString;
579
428
  name: z.ZodString;
580
429
  date: z.ZodString;
581
- startingDate: z.ZodString;
582
- endingDate: z.ZodString;
583
430
  location: z.ZodString;
584
431
  folderId: z.ZodNullable<z.ZodString>;
585
432
  tagAssistedId: z.ZodString;
586
433
  tagConfirmedId: z.ZodString;
587
- active: z.ZodBoolean;
588
434
  supraEventId: z.ZodNullable<z.ZodString>;
589
435
  created_at: z.ZodString;
590
436
  updated_at: z.ZodString;
@@ -647,15 +493,8 @@ declare const GetBySupraEventResponseDto_base: import("@anatine/zod-nestjs").Zod
647
493
  id: string;
648
494
  name: string;
649
495
  date: string;
650
- startingDate: string;
651
- endingDate: string;
652
496
  created_at: string;
653
497
  updated_at: string;
654
- active: boolean;
655
- folderId: string | null;
656
- tagAssistedId: string;
657
- tagConfirmedId: string;
658
- supraEventId: string | null;
659
498
  tagAssisted: {
660
499
  id: string;
661
500
  name: string;
@@ -672,20 +511,17 @@ declare const GetBySupraEventResponseDto_base: import("@anatine/zod-nestjs").Zod
672
511
  updated_at: string;
673
512
  groupId: string;
674
513
  };
514
+ folderId: string | null;
515
+ tagAssistedId: string;
516
+ tagConfirmedId: string;
517
+ supraEventId: string | null;
675
518
  }, {
676
519
  location: string;
677
520
  id: string;
678
521
  name: string;
679
522
  date: string;
680
- startingDate: string;
681
- endingDate: string;
682
523
  created_at: string;
683
524
  updated_at: string;
684
- active: boolean;
685
- folderId: string | null;
686
- tagAssistedId: string;
687
- tagConfirmedId: string;
688
- supraEventId: string | null;
689
525
  tagAssisted: {
690
526
  id: string;
691
527
  name: string;
@@ -702,6 +538,10 @@ declare const GetBySupraEventResponseDto_base: import("@anatine/zod-nestjs").Zod
702
538
  updated_at: string;
703
539
  groupId: string;
704
540
  };
541
+ folderId: string | null;
542
+ tagAssistedId: string;
543
+ tagConfirmedId: string;
544
+ supraEventId: string | null;
705
545
  }>, "many">>;
706
546
  export declare class GetBySupraEventResponseDto extends GetBySupraEventResponseDto_base {
707
547
  }
@@ -4,7 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.GetBySupraEventResponseDto = exports.getBySupraEventResponseSchema = exports.GetByIdEventResponseDto = exports.getByIdEventResponseSchema = void 0;
7
- const event_tickets_dto_1 = require("./event-tickets.dto");
8
7
  const event_dto_1 = require("./event.dto");
9
8
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
10
9
  const tag_dto_1 = require("../../tag/dto/tag.dto");
@@ -12,7 +11,6 @@ const zod_1 = __importDefault(require("zod"));
12
11
  exports.getByIdEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
13
12
  subEvents: zod_1.default.array(event_dto_1.eventSchema),
14
13
  supraEvent: event_dto_1.eventSchema.nullable(),
15
- eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema),
16
14
  }));
17
15
  class GetByIdEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getByIdEventResponseSchema) {
18
16
  }