expo-backend-types 0.9.0-EXPO-249-EB-Modelo.8 → 0.10.0-EXPO-247-EB-Evento.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +4 -6
  2. package/dist/src/account/dto/create-account.dto.d.ts +8 -12
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +0 -1
  4. package/dist/src/account/dto/get-me.dto.d.ts +4 -6
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +4 -6
  6. package/dist/src/auth/dto/login.dto.d.ts +8 -11
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +0 -1
  8. package/dist/src/event/dto/create-event.dto.d.ts +126 -0
  9. package/dist/src/event/dto/create-event.dto.js +22 -0
  10. package/dist/src/event/dto/delete-event.dto.d.ts +71 -0
  11. package/dist/src/event/dto/delete-event.dto.js +10 -0
  12. package/dist/src/event/dto/get-all-event.dto.d.ts +223 -0
  13. package/dist/src/event/dto/get-all-event.dto.js +19 -0
  14. package/dist/src/event/dto/get-by-id-event.dto.d.ts +139 -0
  15. package/dist/src/event/dto/get-by-id-event.dto.js +17 -0
  16. package/dist/src/event/dto/update-event.dto.d.ts +126 -0
  17. package/dist/src/event/dto/update-event.dto.js +22 -0
  18. package/dist/src/event/exports.d.ts +5 -0
  19. package/dist/src/event/exports.js +5 -0
  20. package/dist/src/event-folder/dto/update-event-folder.dto.d.ts +14 -17
  21. package/dist/src/event-folder/dto/update-event-folder.dto.js +4 -2
  22. package/dist/src/i18n/es.d.ts +15 -40
  23. package/dist/src/i18n/es.js +15 -40
  24. package/dist/src/i18n/es.js.map +1 -1
  25. package/dist/src/profile/dto/profile.dto.d.ts +5 -5
  26. package/dist/src/profile/dto/profile.dto.js +3 -7
  27. package/dist/src/profile/exports.d.ts +0 -10
  28. package/dist/src/profile/exports.js +0 -10
  29. package/dist/src/tag/dto/massive-allocation.dto.d.ts +16 -16
  30. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +16 -16
  31. package/dist/types/prisma-schema/edge.js +4 -5
  32. package/dist/types/prisma-schema/index-browser.js +1 -2
  33. package/dist/types/prisma-schema/index.d.ts +2 -9
  34. package/dist/types/prisma-schema/index.js +4 -5
  35. package/dist/types/prisma-schema/package.json +1 -1
  36. package/dist/types/prisma-schema/schema.prisma +0 -2
  37. package/dist/types/prisma-schema/wasm.js +1 -2
  38. package/dist/types/schema.d.ts +154 -587
  39. package/package.json +1 -4
  40. package/dist/src/profile/dto/create-profile.dto.d.ts +0 -694
  41. package/dist/src/profile/dto/create-profile.dto.js +0 -84
  42. package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -125
  43. package/dist/src/profile/dto/delete-profile.dto.js +0 -10
  44. package/dist/src/profile/dto/find-all-profile.dto.d.ts +0 -410
  45. package/dist/src/profile/dto/find-all-profile.dto.js +0 -25
  46. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +0 -655
  47. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +0 -34
  48. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +0 -475
  49. package/dist/src/profile/dto/find-by-id-profile.dto.js +0 -27
  50. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +0 -125
  51. package/dist/src/profile/dto/find-by-phone-number.dto.js +0 -10
  52. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +0 -337
  53. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +0 -19
  54. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +0 -393
  55. package/dist/src/profile/dto/find-by-tags-profile.dto.js +0 -24
  56. package/dist/src/profile/dto/find-trash.dto.d.ts +0 -110
  57. package/dist/src/profile/dto/find-trash.dto.js +0 -24
  58. package/dist/src/profile/dto/update-profile.dto.d.ts +0 -360
  59. package/dist/src/profile/dto/update-profile.dto.js +0 -55
@@ -1,655 +0,0 @@
1
- import z from 'zod';
2
- export declare const findByDateRangeSchema: z.ZodObject<{
3
- profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
- id: z.ZodString;
5
- shortId: z.ZodNumber;
6
- phoneNumber: z.ZodEffects<z.ZodString, string, string>;
7
- secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
8
- fullName: z.ZodString;
9
- firstName: z.ZodNullable<z.ZodString>;
10
- gender: z.ZodNullable<z.ZodString>;
11
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
12
- profilePictureUrl: z.ZodNullable<z.ZodString>;
13
- instagram: z.ZodNullable<z.ZodString>;
14
- mail: z.ZodNullable<z.ZodString>;
15
- dni: z.ZodNullable<z.ZodString>;
16
- alternativeNames: z.ZodArray<z.ZodString, "many">;
17
- birthLocationId: z.ZodNullable<z.ZodString>;
18
- residenceLocationId: z.ZodNullable<z.ZodString>;
19
- isInTrash: z.ZodBoolean;
20
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
21
- created_at: z.ZodDate;
22
- updated_at: z.ZodDate;
23
- }, {
24
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
25
- id: z.ZodString;
26
- name: z.ZodString;
27
- groupId: z.ZodString;
28
- type: z.ZodNativeEnum<{
29
- PROFILE: "PROFILE";
30
- EVENT: "EVENT";
31
- PARTICIPANT: "PARTICIPANT";
32
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
33
- }>;
34
- created_at: z.ZodDate;
35
- updated_at: z.ZodDate;
36
- }, {
37
- group: z.ZodObject<Pick<{
38
- id: z.ZodString;
39
- name: z.ZodString;
40
- color: z.ZodString;
41
- isExclusive: z.ZodBoolean;
42
- created_at: z.ZodDate;
43
- updated_at: z.ZodDate;
44
- }, "id">, "strip", z.ZodTypeAny, {
45
- id: string;
46
- }, {
47
- id: string;
48
- }>;
49
- }>, "strip", z.ZodTypeAny, {
50
- id: string;
51
- name: string;
52
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
53
- created_at: Date;
54
- updated_at: Date;
55
- groupId: string;
56
- group: {
57
- id: string;
58
- };
59
- }, {
60
- id: string;
61
- name: string;
62
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
63
- created_at: Date;
64
- updated_at: Date;
65
- groupId: string;
66
- group: {
67
- id: string;
68
- };
69
- }>, "many">;
70
- }>, "strip", z.ZodTypeAny, {
71
- id: string;
72
- phoneNumber: string;
73
- secondaryPhoneNumber: string | null;
74
- fullName: string;
75
- profilePictureUrl: string | null;
76
- created_at: Date;
77
- updated_at: Date;
78
- tags: {
79
- id: string;
80
- name: string;
81
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
82
- created_at: Date;
83
- updated_at: Date;
84
- groupId: string;
85
- group: {
86
- id: string;
87
- };
88
- }[];
89
- shortId: number;
90
- firstName: string | null;
91
- gender: string | null;
92
- birthDate: Date | null;
93
- instagram: string | null;
94
- mail: string | null;
95
- dni: string | null;
96
- alternativeNames: string[];
97
- birthLocationId: string | null;
98
- residenceLocationId: string | null;
99
- isInTrash: boolean;
100
- movedToTrashDate: Date | null;
101
- }, {
102
- id: string;
103
- phoneNumber: string;
104
- secondaryPhoneNumber: string | null;
105
- fullName: string;
106
- profilePictureUrl: string | null;
107
- created_at: Date;
108
- updated_at: Date;
109
- tags: {
110
- id: string;
111
- name: string;
112
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
113
- created_at: Date;
114
- updated_at: Date;
115
- groupId: string;
116
- group: {
117
- id: string;
118
- };
119
- }[];
120
- shortId: number;
121
- firstName: string | null;
122
- gender: string | null;
123
- birthDate: string | null;
124
- instagram: string | null;
125
- mail: string | null;
126
- dni: string | null;
127
- alternativeNames: string[];
128
- birthLocationId: string | null;
129
- residenceLocationId: string | null;
130
- isInTrash: boolean;
131
- movedToTrashDate: Date | null;
132
- }>, "many">;
133
- }, "strip", z.ZodTypeAny, {
134
- profiles: {
135
- id: string;
136
- phoneNumber: string;
137
- secondaryPhoneNumber: string | null;
138
- fullName: string;
139
- profilePictureUrl: string | null;
140
- created_at: Date;
141
- updated_at: Date;
142
- tags: {
143
- id: string;
144
- name: string;
145
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
146
- created_at: Date;
147
- updated_at: Date;
148
- groupId: string;
149
- group: {
150
- id: string;
151
- };
152
- }[];
153
- shortId: number;
154
- firstName: string | null;
155
- gender: string | null;
156
- birthDate: Date | null;
157
- instagram: string | null;
158
- mail: string | null;
159
- dni: string | null;
160
- alternativeNames: string[];
161
- birthLocationId: string | null;
162
- residenceLocationId: string | null;
163
- isInTrash: boolean;
164
- movedToTrashDate: Date | null;
165
- }[];
166
- }, {
167
- profiles: {
168
- id: string;
169
- phoneNumber: string;
170
- secondaryPhoneNumber: string | null;
171
- fullName: string;
172
- profilePictureUrl: string | null;
173
- created_at: Date;
174
- updated_at: Date;
175
- tags: {
176
- id: string;
177
- name: string;
178
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
179
- created_at: Date;
180
- updated_at: Date;
181
- groupId: string;
182
- group: {
183
- id: string;
184
- };
185
- }[];
186
- shortId: number;
187
- firstName: string | null;
188
- gender: string | null;
189
- birthDate: string | null;
190
- instagram: string | null;
191
- mail: string | null;
192
- dni: string | null;
193
- alternativeNames: string[];
194
- birthLocationId: string | null;
195
- residenceLocationId: string | null;
196
- isInTrash: boolean;
197
- movedToTrashDate: Date | null;
198
- }[];
199
- }>;
200
- declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
201
- profiles: z.ZodArray<z.ZodObject<{
202
- id: z.ZodString;
203
- shortId: z.ZodNumber;
204
- phoneNumber: z.ZodEffects<z.ZodString, string, string>;
205
- secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
206
- fullName: z.ZodString;
207
- firstName: z.ZodNullable<z.ZodString>;
208
- gender: z.ZodNullable<z.ZodString>;
209
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
210
- profilePictureUrl: z.ZodNullable<z.ZodString>;
211
- instagram: z.ZodNullable<z.ZodString>;
212
- mail: z.ZodNullable<z.ZodString>;
213
- dni: z.ZodNullable<z.ZodString>;
214
- alternativeNames: z.ZodArray<z.ZodString, "many">;
215
- birthLocationId: z.ZodNullable<z.ZodString>;
216
- residenceLocationId: z.ZodNullable<z.ZodString>;
217
- isInTrash: z.ZodBoolean;
218
- movedToTrashDate: z.ZodNullable<z.ZodString>;
219
- created_at: z.ZodString;
220
- updated_at: z.ZodString;
221
- tags: z.ZodArray<z.ZodObject<{
222
- id: z.ZodString;
223
- name: z.ZodString;
224
- groupId: z.ZodString;
225
- type: z.ZodNativeEnum<{
226
- PROFILE: "PROFILE";
227
- EVENT: "EVENT";
228
- PARTICIPANT: "PARTICIPANT";
229
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
230
- }>;
231
- created_at: z.ZodString;
232
- updated_at: z.ZodString;
233
- group: z.ZodObject<{
234
- id: z.ZodString;
235
- }, z.UnknownKeysParam, z.ZodTypeAny, {
236
- id: string;
237
- }, {
238
- id: string;
239
- }>;
240
- }, z.UnknownKeysParam, z.ZodTypeAny, {
241
- id: string;
242
- name: string;
243
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
244
- created_at: string;
245
- updated_at: string;
246
- groupId: string;
247
- group: {
248
- id: string;
249
- };
250
- }, {
251
- id: string;
252
- name: string;
253
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
254
- created_at: string;
255
- updated_at: string;
256
- groupId: string;
257
- group: {
258
- id: string;
259
- };
260
- }>, "many">;
261
- }, z.UnknownKeysParam, z.ZodTypeAny, {
262
- id: string;
263
- phoneNumber: string;
264
- secondaryPhoneNumber: string | null;
265
- fullName: string;
266
- profilePictureUrl: string | null;
267
- created_at: string;
268
- updated_at: string;
269
- tags: {
270
- id: string;
271
- name: string;
272
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
273
- created_at: string;
274
- updated_at: string;
275
- groupId: string;
276
- group: {
277
- id: string;
278
- };
279
- }[];
280
- shortId: number;
281
- firstName: string | null;
282
- gender: string | null;
283
- birthDate: Date | null;
284
- instagram: string | null;
285
- mail: string | null;
286
- dni: string | null;
287
- alternativeNames: string[];
288
- birthLocationId: string | null;
289
- residenceLocationId: string | null;
290
- isInTrash: boolean;
291
- movedToTrashDate: string | null;
292
- }, {
293
- id: string;
294
- phoneNumber: string;
295
- secondaryPhoneNumber: string | null;
296
- fullName: string;
297
- profilePictureUrl: string | null;
298
- created_at: string;
299
- updated_at: string;
300
- tags: {
301
- id: string;
302
- name: string;
303
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
304
- created_at: string;
305
- updated_at: string;
306
- groupId: string;
307
- group: {
308
- id: string;
309
- };
310
- }[];
311
- shortId: number;
312
- firstName: string | null;
313
- gender: string | null;
314
- birthDate: string | null;
315
- instagram: string | null;
316
- mail: string | null;
317
- dni: string | null;
318
- alternativeNames: string[];
319
- birthLocationId: string | null;
320
- residenceLocationId: string | null;
321
- isInTrash: boolean;
322
- movedToTrashDate: string | null;
323
- }>, "many">;
324
- }, z.UnknownKeysParam, z.ZodTypeAny, {
325
- profiles: {
326
- id: string;
327
- phoneNumber: string;
328
- secondaryPhoneNumber: string | null;
329
- fullName: string;
330
- profilePictureUrl: string | null;
331
- created_at: string;
332
- updated_at: string;
333
- tags: {
334
- id: string;
335
- name: string;
336
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
337
- created_at: string;
338
- updated_at: string;
339
- groupId: string;
340
- group: {
341
- id: string;
342
- };
343
- }[];
344
- shortId: number;
345
- firstName: string | null;
346
- gender: string | null;
347
- birthDate: Date | null;
348
- instagram: string | null;
349
- mail: string | null;
350
- dni: string | null;
351
- alternativeNames: string[];
352
- birthLocationId: string | null;
353
- residenceLocationId: string | null;
354
- isInTrash: boolean;
355
- movedToTrashDate: string | null;
356
- }[];
357
- }, {
358
- profiles: {
359
- id: string;
360
- phoneNumber: string;
361
- secondaryPhoneNumber: string | null;
362
- fullName: string;
363
- profilePictureUrl: string | null;
364
- created_at: string;
365
- updated_at: string;
366
- tags: {
367
- id: string;
368
- name: string;
369
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
370
- created_at: string;
371
- updated_at: string;
372
- groupId: string;
373
- group: {
374
- id: string;
375
- };
376
- }[];
377
- shortId: number;
378
- firstName: string | null;
379
- gender: string | null;
380
- birthDate: string | null;
381
- instagram: string | null;
382
- mail: string | null;
383
- dni: string | null;
384
- alternativeNames: string[];
385
- birthLocationId: string | null;
386
- residenceLocationId: string | null;
387
- isInTrash: boolean;
388
- movedToTrashDate: string | null;
389
- }[];
390
- }>>;
391
- export declare class FindByDateRangeDto extends FindByDateRangeDto_base {
392
- }
393
- export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
394
- id: z.ZodString;
395
- shortId: z.ZodNumber;
396
- phoneNumber: z.ZodEffects<z.ZodString, string, string>;
397
- secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
398
- fullName: z.ZodString;
399
- firstName: z.ZodNullable<z.ZodString>;
400
- gender: z.ZodNullable<z.ZodString>;
401
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
402
- profilePictureUrl: z.ZodNullable<z.ZodString>;
403
- instagram: z.ZodNullable<z.ZodString>;
404
- mail: z.ZodNullable<z.ZodString>;
405
- dni: z.ZodNullable<z.ZodString>;
406
- alternativeNames: z.ZodArray<z.ZodString, "many">;
407
- birthLocationId: z.ZodNullable<z.ZodString>;
408
- residenceLocationId: z.ZodNullable<z.ZodString>;
409
- isInTrash: z.ZodBoolean;
410
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
411
- created_at: z.ZodDate;
412
- updated_at: z.ZodDate;
413
- }, {
414
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
415
- id: z.ZodString;
416
- name: z.ZodString;
417
- groupId: z.ZodString;
418
- type: z.ZodNativeEnum<{
419
- PROFILE: "PROFILE";
420
- EVENT: "EVENT";
421
- PARTICIPANT: "PARTICIPANT";
422
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
423
- }>;
424
- created_at: z.ZodDate;
425
- updated_at: z.ZodDate;
426
- }, {
427
- group: z.ZodObject<Pick<{
428
- id: z.ZodString;
429
- name: z.ZodString;
430
- color: z.ZodString;
431
- isExclusive: z.ZodBoolean;
432
- created_at: z.ZodDate;
433
- updated_at: z.ZodDate;
434
- }, "id">, "strip", z.ZodTypeAny, {
435
- id: string;
436
- }, {
437
- id: string;
438
- }>;
439
- }>, "strip", z.ZodTypeAny, {
440
- id: string;
441
- name: string;
442
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
443
- created_at: Date;
444
- updated_at: Date;
445
- groupId: string;
446
- group: {
447
- id: string;
448
- };
449
- }, {
450
- id: string;
451
- name: string;
452
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
453
- created_at: Date;
454
- updated_at: Date;
455
- groupId: string;
456
- group: {
457
- id: string;
458
- };
459
- }>, "many">;
460
- }>, "strip", z.ZodTypeAny, {
461
- id: string;
462
- phoneNumber: string;
463
- secondaryPhoneNumber: string | null;
464
- fullName: string;
465
- profilePictureUrl: string | null;
466
- created_at: Date;
467
- updated_at: Date;
468
- tags: {
469
- id: string;
470
- name: string;
471
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
472
- created_at: Date;
473
- updated_at: Date;
474
- groupId: string;
475
- group: {
476
- id: string;
477
- };
478
- }[];
479
- shortId: number;
480
- firstName: string | null;
481
- gender: string | null;
482
- birthDate: Date | null;
483
- instagram: string | null;
484
- mail: string | null;
485
- dni: string | null;
486
- alternativeNames: string[];
487
- birthLocationId: string | null;
488
- residenceLocationId: string | null;
489
- isInTrash: boolean;
490
- movedToTrashDate: Date | null;
491
- }, {
492
- id: string;
493
- phoneNumber: string;
494
- secondaryPhoneNumber: string | null;
495
- fullName: string;
496
- profilePictureUrl: string | null;
497
- created_at: Date;
498
- updated_at: Date;
499
- tags: {
500
- id: string;
501
- name: string;
502
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
503
- created_at: Date;
504
- updated_at: Date;
505
- groupId: string;
506
- group: {
507
- id: string;
508
- };
509
- }[];
510
- shortId: number;
511
- firstName: string | null;
512
- gender: string | null;
513
- birthDate: string | null;
514
- instagram: string | null;
515
- mail: string | null;
516
- dni: string | null;
517
- alternativeNames: string[];
518
- birthLocationId: string | null;
519
- residenceLocationId: string | null;
520
- isInTrash: boolean;
521
- movedToTrashDate: Date | null;
522
- }>, "many">>;
523
- declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
524
- id: z.ZodString;
525
- shortId: z.ZodNumber;
526
- phoneNumber: z.ZodEffects<z.ZodString, string, string>;
527
- secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
528
- fullName: z.ZodString;
529
- firstName: z.ZodNullable<z.ZodString>;
530
- gender: z.ZodNullable<z.ZodString>;
531
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
532
- profilePictureUrl: z.ZodNullable<z.ZodString>;
533
- instagram: z.ZodNullable<z.ZodString>;
534
- mail: z.ZodNullable<z.ZodString>;
535
- dni: z.ZodNullable<z.ZodString>;
536
- alternativeNames: z.ZodArray<z.ZodString, "many">;
537
- birthLocationId: z.ZodNullable<z.ZodString>;
538
- residenceLocationId: z.ZodNullable<z.ZodString>;
539
- isInTrash: z.ZodBoolean;
540
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
541
- created_at: z.ZodDate;
542
- updated_at: z.ZodDate;
543
- }, {
544
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
545
- id: z.ZodString;
546
- name: z.ZodString;
547
- groupId: z.ZodString;
548
- type: z.ZodNativeEnum<{
549
- PROFILE: "PROFILE";
550
- EVENT: "EVENT";
551
- PARTICIPANT: "PARTICIPANT";
552
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
553
- }>;
554
- created_at: z.ZodDate;
555
- updated_at: z.ZodDate;
556
- }, {
557
- group: z.ZodObject<Pick<{
558
- id: z.ZodString;
559
- name: z.ZodString;
560
- color: z.ZodString;
561
- isExclusive: z.ZodBoolean;
562
- created_at: z.ZodDate;
563
- updated_at: z.ZodDate;
564
- }, "id">, "strip", z.ZodTypeAny, {
565
- id: string;
566
- }, {
567
- id: string;
568
- }>;
569
- }>, "strip", z.ZodTypeAny, {
570
- id: string;
571
- name: string;
572
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
573
- created_at: Date;
574
- updated_at: Date;
575
- groupId: string;
576
- group: {
577
- id: string;
578
- };
579
- }, {
580
- id: string;
581
- name: string;
582
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
583
- created_at: Date;
584
- updated_at: Date;
585
- groupId: string;
586
- group: {
587
- id: string;
588
- };
589
- }>, "many">;
590
- }>, "strip", z.ZodTypeAny, {
591
- id: string;
592
- phoneNumber: string;
593
- secondaryPhoneNumber: string | null;
594
- fullName: string;
595
- profilePictureUrl: string | null;
596
- created_at: Date;
597
- updated_at: Date;
598
- tags: {
599
- id: string;
600
- name: string;
601
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
602
- created_at: Date;
603
- updated_at: Date;
604
- groupId: string;
605
- group: {
606
- id: string;
607
- };
608
- }[];
609
- shortId: number;
610
- firstName: string | null;
611
- gender: string | null;
612
- birthDate: Date | null;
613
- instagram: string | null;
614
- mail: string | null;
615
- dni: string | null;
616
- alternativeNames: string[];
617
- birthLocationId: string | null;
618
- residenceLocationId: string | null;
619
- isInTrash: boolean;
620
- movedToTrashDate: Date | null;
621
- }, {
622
- id: string;
623
- phoneNumber: string;
624
- secondaryPhoneNumber: string | null;
625
- fullName: string;
626
- profilePictureUrl: string | null;
627
- created_at: Date;
628
- updated_at: Date;
629
- tags: {
630
- id: string;
631
- name: string;
632
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
633
- created_at: Date;
634
- updated_at: Date;
635
- groupId: string;
636
- group: {
637
- id: string;
638
- };
639
- }[];
640
- shortId: number;
641
- firstName: string | null;
642
- gender: string | null;
643
- birthDate: string | null;
644
- instagram: string | null;
645
- mail: string | null;
646
- dni: string | null;
647
- alternativeNames: string[];
648
- birthLocationId: string | null;
649
- residenceLocationId: string | null;
650
- isInTrash: boolean;
651
- movedToTrashDate: Date | null;
652
- }>, "many">>>;
653
- export declare class FindByDateRangeResponseDto extends FindByDateRangeResponseDto_base {
654
- }
655
- export {};
@@ -1,34 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FindByDateRangeResponseDto = exports.findByDateRangeResponseSchema = exports.FindByDateRangeDto = exports.findByDateRangeSchema = void 0;
7
- const profile_dto_1 = require("./profile.dto");
8
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
- const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
10
- const tag_dto_1 = require("../../tag/dto/tag.dto");
11
- const zod_1 = __importDefault(require("zod"));
12
- exports.findByDateRangeSchema = zod_1.default.object({
13
- profiles: zod_1.default.array(profile_dto_1.profileSchema.merge(zod_1.default.object({
14
- tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
15
- group: tag_group_dto_1.tagGroupSchema.pick({
16
- id: true,
17
- }),
18
- }))),
19
- }))),
20
- });
21
- class FindByDateRangeDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByDateRangeSchema) {
22
- }
23
- exports.FindByDateRangeDto = FindByDateRangeDto;
24
- exports.findByDateRangeResponseSchema = zod_1.default.record(zod_1.default.string(), zod_1.default.array(profile_dto_1.profileSchema.merge(zod_1.default.object({
25
- tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
26
- group: tag_group_dto_1.tagGroupSchema.pick({
27
- id: true,
28
- }),
29
- }))),
30
- }))));
31
- class FindByDateRangeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByDateRangeResponseSchema) {
32
- }
33
- exports.FindByDateRangeResponseDto = FindByDateRangeResponseDto;
34
- //# sourceMappingURL=find-by-date-range-profile.dto.js.map