expo-backend-types 0.30.0-EXPO-308-auth.13 → 0.30.0-EXPO-308-auth.14

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 (60) hide show
  1. package/dist/src/auth/dto/login-mi-expo.dto.js +2 -2
  2. package/dist/src/exports.d.ts +0 -1
  3. package/dist/src/exports.js +0 -1
  4. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  5. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  6. package/dist/src/otp/dto/send-otp.dto.js +2 -2
  7. package/dist/src/otp/dto/verify-otp.dto.js +3 -3
  8. package/dist/src/profile/dto/create-profile.dto.d.ts +82 -468
  9. package/dist/src/profile/dto/create-profile.dto.js +4 -80
  10. package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -73
  11. package/dist/src/profile/dto/delete-profile.dto.js +3 -4
  12. package/dist/src/profile/dto/find-all-profile.dto.d.ts +39 -266
  13. package/dist/src/profile/dto/find-all-profile.dto.js +3 -19
  14. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +79 -440
  15. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +4 -26
  16. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +58 -309
  17. package/dist/src/profile/dto/find-by-id-profile.dto.js +3 -21
  18. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +0 -73
  19. package/dist/src/profile/dto/find-by-phone-number.dto.js +3 -4
  20. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +35 -223
  21. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +3 -13
  22. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +38 -257
  23. package/dist/src/profile/dto/find-by-tags-profile.dto.js +3 -18
  24. package/dist/src/profile/dto/find-trash.dto.d.ts +11 -75
  25. package/dist/src/profile/dto/find-trash.dto.js +3 -18
  26. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +58 -443
  27. package/dist/src/profile/dto/find-with-active-chat.dto.js +3 -20
  28. package/dist/src/profile/dto/profile.dto.js +2 -2
  29. package/dist/src/profile/dto/update-profile.dto.d.ts +60 -244
  30. package/dist/src/profile/dto/update-profile.dto.js +4 -48
  31. package/dist/src/profile/exports.d.ts +12 -12
  32. package/dist/src/profile/exports.js +12 -12
  33. package/dist/src/profile/schema/create-profile.schema.d.ts +405 -0
  34. package/dist/src/profile/schema/create-profile.schema.js +83 -0
  35. package/dist/src/profile/schema/delete-profile.schema.d.ts +73 -0
  36. package/dist/src/profile/schema/delete-profile.schema.js +6 -0
  37. package/dist/src/profile/schema/find-all-profile.schema.d.ts +227 -0
  38. package/dist/src/profile/schema/find-all-profile.schema.js +21 -0
  39. package/dist/src/profile/schema/find-by-date-range-profile.schema.d.ts +361 -0
  40. package/dist/src/profile/schema/find-by-date-range-profile.schema.js +27 -0
  41. package/dist/src/profile/schema/find-by-id-profile.schema.d.ts +251 -0
  42. package/dist/src/profile/schema/find-by-id-profile.schema.js +23 -0
  43. package/dist/src/profile/schema/find-by-phone-number.schema.d.ts +73 -0
  44. package/dist/src/profile/schema/find-by-phone-number.schema.js +6 -0
  45. package/dist/src/profile/schema/find-by-tag-groups-profile.schema.d.ts +188 -0
  46. package/dist/src/profile/schema/find-by-tag-groups-profile.schema.js +15 -0
  47. package/dist/src/profile/schema/find-by-tags-profile.schema.d.ts +219 -0
  48. package/dist/src/profile/schema/find-by-tags-profile.schema.js +20 -0
  49. package/dist/src/profile/schema/find-trash.schema.d.ts +64 -0
  50. package/dist/src/profile/schema/find-trash.schema.js +20 -0
  51. package/dist/src/profile/schema/find-with-active-chat.schema.d.ts +385 -0
  52. package/dist/src/profile/schema/find-with-active-chat.schema.js +22 -0
  53. package/dist/src/{prisma/dtos.dto.js → profile/schema/profile.schema.js} +2 -2
  54. package/dist/src/profile/schema/update-profile.schema.d.ts +196 -0
  55. package/dist/src/profile/schema/update-profile.schema.js +51 -0
  56. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  57. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  58. package/dist/types/schema.d.ts +4 -0
  59. package/package.json +2 -5
  60. /package/dist/src/{prisma/dtos.dto.d.ts → profile/schema/profile.schema.d.ts} +0 -0
@@ -1,267 +1,48 @@
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
- firstTimeMiExpo: z.ZodBoolean;
7
- username: z.ZodNullable<z.ZodString>;
8
- password: z.ZodNullable<z.ZodString>;
9
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
10
- isPhoneVerified: z.ZodBoolean;
11
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
12
- fullName: z.ZodString;
13
- firstName: z.ZodNullable<z.ZodString>;
14
- gender: z.ZodNullable<z.ZodString>;
15
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
16
- profilePictureUrl: z.ZodNullable<z.ZodString>;
17
- instagram: z.ZodNullable<z.ZodString>;
18
- mail: z.ZodNullable<z.ZodString>;
19
- dni: z.ZodNullable<z.ZodString>;
20
- alternativeNames: z.ZodArray<z.ZodString, "many">;
21
- birthLocationId: z.ZodNullable<z.ZodString>;
22
- residenceLocationId: z.ZodNullable<z.ZodString>;
23
- isInTrash: z.ZodBoolean;
24
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
25
- created_at: z.ZodDate;
26
- updated_at: z.ZodDate;
27
- }, {
28
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
29
- id: z.ZodString;
30
- name: z.ZodString;
31
- groupId: z.ZodString;
32
- type: z.ZodNativeEnum<{
33
- PROFILE: "PROFILE";
34
- EVENT: "EVENT";
35
- PARTICIPANT: "PARTICIPANT";
36
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
37
- }>;
38
- created_at: z.ZodDate;
39
- updated_at: z.ZodDate;
40
- }, {
41
- group: z.ZodObject<Pick<{
42
- id: z.ZodString;
43
- name: z.ZodString;
44
- color: z.ZodString;
45
- isExclusive: z.ZodBoolean;
46
- created_at: z.ZodDate;
47
- updated_at: z.ZodDate;
48
- }, "id">, "strip", z.ZodTypeAny, {
49
- id: string;
50
- }, {
51
- id: string;
52
- }>;
53
- }>, "strip", z.ZodTypeAny, {
54
- id: string;
55
- name: string;
56
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
57
- created_at: Date;
58
- updated_at: Date;
59
- groupId: string;
60
- group: {
61
- id: string;
62
- };
63
- }, {
64
- id: string;
65
- name: string;
66
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
67
- created_at: Date;
68
- updated_at: Date;
69
- groupId: string;
70
- group: {
71
- id: string;
72
- };
73
- }>, "many">;
74
- }>, "strip", z.ZodTypeAny, {
75
- id: string;
76
- username: string | null;
77
- password: string | null;
78
- phoneNumber: string;
79
- secondaryPhoneNumber: string | null;
80
- fullName: string;
81
- profilePictureUrl: string | null;
82
- mail: string | null;
83
- created_at: Date;
84
- updated_at: Date;
85
- shortId: number;
86
- firstTimeMiExpo: boolean;
87
- isPhoneVerified: boolean;
88
- firstName: string | null;
89
- gender: string | null;
90
- birthDate: Date | null;
91
- instagram: string | null;
92
- dni: string | null;
93
- alternativeNames: string[];
94
- birthLocationId: string | null;
95
- residenceLocationId: string | null;
96
- isInTrash: boolean;
97
- movedToTrashDate: Date | null;
98
- tags: {
99
- id: string;
100
- name: string;
101
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
102
- created_at: Date;
103
- updated_at: Date;
104
- groupId: string;
105
- group: {
106
- id: string;
107
- };
108
- }[];
109
- }, {
110
- id: string;
111
- username: string | null;
112
- password: string | null;
113
- phoneNumber: string;
114
- secondaryPhoneNumber: string | null;
115
- fullName: string;
116
- profilePictureUrl: string | null;
117
- mail: string | null;
118
- created_at: Date;
119
- updated_at: Date;
120
- shortId: number;
121
- firstTimeMiExpo: boolean;
122
- isPhoneVerified: boolean;
123
- firstName: string | null;
124
- gender: string | null;
125
- birthDate: string | null;
126
- instagram: string | null;
127
- dni: string | null;
128
- alternativeNames: string[];
129
- birthLocationId: string | null;
130
- residenceLocationId: string | null;
131
- isInTrash: boolean;
132
- movedToTrashDate: Date | null;
133
- tags: {
134
- id: string;
135
- name: string;
136
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
137
- created_at: Date;
138
- updated_at: Date;
139
- groupId: string;
140
- group: {
141
- id: string;
142
- };
143
- }[];
144
- }>, "many">;
145
- }, "strip", z.ZodTypeAny, {
146
- profiles: {
147
- id: string;
148
- username: string | null;
149
- password: string | null;
150
- phoneNumber: string;
151
- secondaryPhoneNumber: string | null;
152
- fullName: string;
153
- profilePictureUrl: string | null;
154
- mail: string | null;
155
- created_at: Date;
156
- updated_at: Date;
157
- shortId: number;
158
- firstTimeMiExpo: boolean;
159
- isPhoneVerified: boolean;
160
- firstName: string | null;
161
- gender: string | null;
162
- birthDate: Date | null;
163
- instagram: string | null;
164
- dni: string | null;
165
- alternativeNames: string[];
166
- birthLocationId: string | null;
167
- residenceLocationId: string | null;
168
- isInTrash: boolean;
169
- movedToTrashDate: Date | null;
170
- tags: {
171
- id: string;
172
- name: string;
173
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
174
- created_at: Date;
175
- updated_at: Date;
176
- groupId: string;
177
- group: {
178
- id: string;
179
- };
180
- }[];
181
- }[];
182
- }, {
183
- profiles: {
184
- id: string;
185
- username: string | null;
186
- password: string | null;
187
- phoneNumber: string;
188
- secondaryPhoneNumber: string | null;
189
- fullName: string;
190
- profilePictureUrl: string | null;
191
- mail: string | null;
192
- created_at: Date;
193
- updated_at: Date;
194
- shortId: number;
195
- firstTimeMiExpo: boolean;
196
- isPhoneVerified: boolean;
197
- firstName: string | null;
198
- gender: string | null;
199
- birthDate: string | null;
200
- instagram: string | null;
201
- dni: string | null;
202
- alternativeNames: string[];
203
- birthLocationId: string | null;
204
- residenceLocationId: string | null;
205
- isInTrash: boolean;
206
- movedToTrashDate: Date | null;
207
- tags: {
208
- id: string;
209
- name: string;
210
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
211
- created_at: Date;
212
- updated_at: Date;
213
- groupId: string;
214
- group: {
215
- id: string;
216
- };
217
- }[];
218
- }[];
219
- }>;
220
- declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
221
- profiles: z.ZodArray<z.ZodObject<{
222
- id: z.ZodString;
223
- shortId: z.ZodNumber;
224
- firstTimeMiExpo: z.ZodBoolean;
225
- username: z.ZodNullable<z.ZodString>;
226
- password: z.ZodNullable<z.ZodString>;
227
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
228
- isPhoneVerified: z.ZodBoolean;
229
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
230
- fullName: z.ZodString;
231
- firstName: z.ZodNullable<z.ZodString>;
232
- gender: z.ZodNullable<z.ZodString>;
233
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
234
- profilePictureUrl: z.ZodNullable<z.ZodString>;
235
- instagram: z.ZodNullable<z.ZodString>;
236
- mail: z.ZodNullable<z.ZodString>;
237
- dni: z.ZodNullable<z.ZodString>;
238
- alternativeNames: z.ZodArray<z.ZodString, "many">;
239
- birthLocationId: z.ZodNullable<z.ZodString>;
240
- residenceLocationId: z.ZodNullable<z.ZodString>;
241
- isInTrash: z.ZodBoolean;
242
- movedToTrashDate: z.ZodNullable<z.ZodString>;
243
- created_at: z.ZodString;
244
- updated_at: z.ZodString;
245
- tags: z.ZodArray<z.ZodObject<{
246
- id: z.ZodString;
247
- name: z.ZodString;
248
- groupId: z.ZodString;
249
- type: z.ZodNativeEnum<{
1
+ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
2
+ profiles: import("zod").ZodArray<import("zod").ZodObject<{
3
+ id: import("zod").ZodString;
4
+ shortId: import("zod").ZodNumber;
5
+ firstTimeMiExpo: import("zod").ZodBoolean;
6
+ username: import("zod").ZodNullable<import("zod").ZodString>;
7
+ password: import("zod").ZodNullable<import("zod").ZodString>;
8
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
9
+ isPhoneVerified: import("zod").ZodBoolean;
10
+ secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
11
+ fullName: import("zod").ZodString;
12
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
13
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
14
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
15
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
16
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
17
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
18
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
19
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
20
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
21
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
22
+ isInTrash: import("zod").ZodBoolean;
23
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
24
+ created_at: import("zod").ZodString;
25
+ updated_at: import("zod").ZodString;
26
+ tags: import("zod").ZodArray<import("zod").ZodObject<{
27
+ id: import("zod").ZodString;
28
+ name: import("zod").ZodString;
29
+ groupId: import("zod").ZodString;
30
+ type: import("zod").ZodNativeEnum<{
250
31
  PROFILE: "PROFILE";
251
32
  EVENT: "EVENT";
252
33
  PARTICIPANT: "PARTICIPANT";
253
34
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
254
35
  }>;
255
- created_at: z.ZodString;
256
- updated_at: z.ZodString;
257
- group: z.ZodObject<{
258
- id: z.ZodString;
259
- }, z.UnknownKeysParam, z.ZodTypeAny, {
36
+ created_at: import("zod").ZodString;
37
+ updated_at: import("zod").ZodString;
38
+ group: import("zod").ZodObject<{
39
+ id: import("zod").ZodString;
40
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
260
41
  id: string;
261
42
  }, {
262
43
  id: string;
263
44
  }>;
264
- }, z.UnknownKeysParam, z.ZodTypeAny, {
45
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
265
46
  id: string;
266
47
  name: string;
267
48
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
@@ -282,7 +63,7 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
282
63
  id: string;
283
64
  };
284
65
  }>, "many">;
285
- }, z.UnknownKeysParam, z.ZodTypeAny, {
66
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
286
67
  id: string;
287
68
  username: string | null;
288
69
  password: string | null;
@@ -353,7 +134,7 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
353
134
  };
354
135
  }[];
355
136
  }>, "many">;
356
- }, z.UnknownKeysParam, z.ZodTypeAny, {
137
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
357
138
  profiles: {
358
139
  id: string;
359
140
  username: string | null;
@@ -430,199 +211,57 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
430
211
  }>>;
431
212
  export declare class FindByDateRangeDto extends FindByDateRangeDto_base {
432
213
  }
433
- export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
434
- id: z.ZodString;
435
- shortId: z.ZodNumber;
436
- firstTimeMiExpo: z.ZodBoolean;
437
- username: z.ZodNullable<z.ZodString>;
438
- password: z.ZodNullable<z.ZodString>;
439
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
440
- isPhoneVerified: z.ZodBoolean;
441
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
442
- fullName: z.ZodString;
443
- firstName: z.ZodNullable<z.ZodString>;
444
- gender: z.ZodNullable<z.ZodString>;
445
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
446
- profilePictureUrl: z.ZodNullable<z.ZodString>;
447
- instagram: z.ZodNullable<z.ZodString>;
448
- mail: z.ZodNullable<z.ZodString>;
449
- dni: z.ZodNullable<z.ZodString>;
450
- alternativeNames: z.ZodArray<z.ZodString, "many">;
451
- birthLocationId: z.ZodNullable<z.ZodString>;
452
- residenceLocationId: z.ZodNullable<z.ZodString>;
453
- isInTrash: z.ZodBoolean;
454
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
455
- created_at: z.ZodDate;
456
- updated_at: z.ZodDate;
457
- }, {
458
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
459
- id: z.ZodString;
460
- name: z.ZodString;
461
- groupId: z.ZodString;
462
- type: z.ZodNativeEnum<{
463
- PROFILE: "PROFILE";
464
- EVENT: "EVENT";
465
- PARTICIPANT: "PARTICIPANT";
466
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
467
- }>;
468
- created_at: z.ZodDate;
469
- updated_at: z.ZodDate;
470
- }, {
471
- group: z.ZodObject<Pick<{
472
- id: z.ZodString;
473
- name: z.ZodString;
474
- color: z.ZodString;
475
- isExclusive: z.ZodBoolean;
476
- created_at: z.ZodDate;
477
- updated_at: z.ZodDate;
478
- }, "id">, "strip", z.ZodTypeAny, {
479
- id: string;
480
- }, {
481
- id: string;
482
- }>;
483
- }>, "strip", z.ZodTypeAny, {
484
- id: string;
485
- name: string;
486
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
487
- created_at: Date;
488
- updated_at: Date;
489
- groupId: string;
490
- group: {
491
- id: string;
492
- };
493
- }, {
494
- id: string;
495
- name: string;
496
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
497
- created_at: Date;
498
- updated_at: Date;
499
- groupId: string;
500
- group: {
501
- id: string;
502
- };
503
- }>, "many">;
504
- }>, "strip", z.ZodTypeAny, {
505
- id: string;
506
- username: string | null;
507
- password: string | null;
508
- phoneNumber: string;
509
- secondaryPhoneNumber: string | null;
510
- fullName: string;
511
- profilePictureUrl: string | null;
512
- mail: string | null;
513
- created_at: Date;
514
- updated_at: Date;
515
- shortId: number;
516
- firstTimeMiExpo: boolean;
517
- isPhoneVerified: boolean;
518
- firstName: string | null;
519
- gender: string | null;
520
- birthDate: Date | null;
521
- instagram: string | null;
522
- dni: string | null;
523
- alternativeNames: string[];
524
- birthLocationId: string | null;
525
- residenceLocationId: string | null;
526
- isInTrash: boolean;
527
- movedToTrashDate: Date | null;
528
- tags: {
529
- id: string;
530
- name: string;
531
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
532
- created_at: Date;
533
- updated_at: Date;
534
- groupId: string;
535
- group: {
536
- id: string;
537
- };
538
- }[];
539
- }, {
540
- id: string;
541
- username: string | null;
542
- password: string | null;
543
- phoneNumber: string;
544
- secondaryPhoneNumber: string | null;
545
- fullName: string;
546
- profilePictureUrl: string | null;
547
- mail: string | null;
548
- created_at: Date;
549
- updated_at: Date;
550
- shortId: number;
551
- firstTimeMiExpo: boolean;
552
- isPhoneVerified: boolean;
553
- firstName: string | null;
554
- gender: string | null;
555
- birthDate: string | null;
556
- instagram: string | null;
557
- dni: string | null;
558
- alternativeNames: string[];
559
- birthLocationId: string | null;
560
- residenceLocationId: string | null;
561
- isInTrash: boolean;
562
- movedToTrashDate: Date | null;
563
- tags: {
564
- id: string;
565
- name: string;
566
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
567
- created_at: Date;
568
- updated_at: Date;
569
- groupId: string;
570
- group: {
571
- id: string;
572
- };
573
- }[];
574
- }>, "many">>;
575
- declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
576
- id: z.ZodString;
577
- shortId: z.ZodNumber;
578
- firstTimeMiExpo: z.ZodBoolean;
579
- username: z.ZodNullable<z.ZodString>;
580
- password: z.ZodNullable<z.ZodString>;
581
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
582
- isPhoneVerified: z.ZodBoolean;
583
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
584
- fullName: z.ZodString;
585
- firstName: z.ZodNullable<z.ZodString>;
586
- gender: z.ZodNullable<z.ZodString>;
587
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
588
- profilePictureUrl: z.ZodNullable<z.ZodString>;
589
- instagram: z.ZodNullable<z.ZodString>;
590
- mail: z.ZodNullable<z.ZodString>;
591
- dni: z.ZodNullable<z.ZodString>;
592
- alternativeNames: z.ZodArray<z.ZodString, "many">;
593
- birthLocationId: z.ZodNullable<z.ZodString>;
594
- residenceLocationId: z.ZodNullable<z.ZodString>;
595
- isInTrash: z.ZodBoolean;
596
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
597
- created_at: z.ZodDate;
598
- updated_at: z.ZodDate;
214
+ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
215
+ id: import("zod").ZodString;
216
+ shortId: import("zod").ZodNumber;
217
+ firstTimeMiExpo: import("zod").ZodBoolean;
218
+ username: import("zod").ZodNullable<import("zod").ZodString>;
219
+ password: import("zod").ZodNullable<import("zod").ZodString>;
220
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
221
+ isPhoneVerified: import("zod").ZodBoolean;
222
+ secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
223
+ fullName: import("zod").ZodString;
224
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
225
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
226
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
227
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
228
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
229
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
230
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
231
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
232
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
233
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
234
+ isInTrash: import("zod").ZodBoolean;
235
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
236
+ created_at: import("zod").ZodDate;
237
+ updated_at: import("zod").ZodDate;
599
238
  }, {
600
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
601
- id: z.ZodString;
602
- name: z.ZodString;
603
- groupId: z.ZodString;
604
- type: z.ZodNativeEnum<{
239
+ tags: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
240
+ id: import("zod").ZodString;
241
+ name: import("zod").ZodString;
242
+ groupId: import("zod").ZodString;
243
+ type: import("zod").ZodNativeEnum<{
605
244
  PROFILE: "PROFILE";
606
245
  EVENT: "EVENT";
607
246
  PARTICIPANT: "PARTICIPANT";
608
247
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
609
248
  }>;
610
- created_at: z.ZodDate;
611
- updated_at: z.ZodDate;
249
+ created_at: import("zod").ZodDate;
250
+ updated_at: import("zod").ZodDate;
612
251
  }, {
613
- group: z.ZodObject<Pick<{
614
- id: z.ZodString;
615
- name: z.ZodString;
616
- color: z.ZodString;
617
- isExclusive: z.ZodBoolean;
618
- created_at: z.ZodDate;
619
- updated_at: z.ZodDate;
620
- }, "id">, "strip", z.ZodTypeAny, {
252
+ group: import("zod").ZodObject<Pick<{
253
+ id: import("zod").ZodString;
254
+ name: import("zod").ZodString;
255
+ color: import("zod").ZodString;
256
+ isExclusive: import("zod").ZodBoolean;
257
+ created_at: import("zod").ZodDate;
258
+ updated_at: import("zod").ZodDate;
259
+ }, "id">, "strip", import("zod").ZodTypeAny, {
621
260
  id: string;
622
261
  }, {
623
262
  id: string;
624
263
  }>;
625
- }>, "strip", z.ZodTypeAny, {
264
+ }>, "strip", import("zod").ZodTypeAny, {
626
265
  id: string;
627
266
  name: string;
628
267
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
@@ -643,7 +282,7 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
643
282
  id: string;
644
283
  };
645
284
  }>, "many">;
646
- }>, "strip", z.ZodTypeAny, {
285
+ }>, "strip", import("zod").ZodTypeAny, {
647
286
  id: string;
648
287
  username: string | null;
649
288
  password: string | null;
@@ -1,34 +1,12 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FindByDateRangeResponseDto = exports.findByDateRangeResponseSchema = exports.FindByDateRangeDto = exports.findByDateRangeSchema = void 0;
7
- const dtos_dto_1 = require("../../prisma/dtos.dto");
3
+ exports.FindByDateRangeResponseDto = exports.FindByDateRangeDto = void 0;
4
+ const find_by_date_range_profile_schema_1 = require("../schema/find-by-date-range-profile.schema");
8
5
  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(dtos_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) {
6
+ class FindByDateRangeDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(find_by_date_range_profile_schema_1.findByDateRangeSchema) {
22
7
  }
23
8
  exports.FindByDateRangeDto = FindByDateRangeDto;
24
- exports.findByDateRangeResponseSchema = zod_1.default.record(zod_1.default.string(), zod_1.default.array(dtos_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) {
9
+ class FindByDateRangeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(find_by_date_range_profile_schema_1.findByDateRangeResponseSchema) {
32
10
  }
33
11
  exports.FindByDateRangeResponseDto = FindByDateRangeResponseDto;
34
12
  //# sourceMappingURL=find-by-date-range-profile.dto.js.map