expo-backend-types 0.9.0-EXPO-249-EB-Modelo.4 → 0.9.0-EXPO-249-EB-Modelo.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +6 -4
  2. package/dist/src/account/dto/create-account.dto.d.ts +12 -8
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
  4. package/dist/src/account/dto/get-me.dto.d.ts +6 -4
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
  6. package/dist/src/auth/dto/login.dto.d.ts +11 -8
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
  8. package/dist/src/i18n/es.d.ts +13 -0
  9. package/dist/src/i18n/es.js +13 -0
  10. package/dist/src/i18n/es.js.map +1 -1
  11. package/dist/src/profile/dto/create-profile.dto.d.ts +694 -0
  12. package/dist/src/profile/dto/create-profile.dto.js +84 -0
  13. package/dist/src/profile/dto/find-all-profile.dto.d.ts +6 -6
  14. package/dist/src/profile/dto/find-all-profile.dto.js +4 -4
  15. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +4 -4
  16. package/dist/src/profile/dto/find-by-id-profile.dto.js +4 -4
  17. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +337 -0
  18. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +19 -0
  19. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +6 -6
  20. package/dist/src/profile/dto/find-by-tags-profile.dto.js +4 -4
  21. package/dist/src/profile/dto/profile.dto.d.ts +2 -2
  22. package/dist/src/profile/dto/profile.dto.js +6 -2
  23. package/dist/src/profile/exports.d.ts +2 -0
  24. package/dist/src/profile/exports.js +2 -0
  25. package/dist/src/tag/dto/massive-allocation.dto.d.ts +6 -6
  26. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +6 -6
  27. package/dist/types/prisma-schema/edge.js +5 -4
  28. package/dist/types/prisma-schema/index-browser.js +2 -1
  29. package/dist/types/prisma-schema/index.d.ts +9 -2
  30. package/dist/types/prisma-schema/index.js +5 -4
  31. package/dist/types/prisma-schema/package.json +1 -1
  32. package/dist/types/prisma-schema/schema.prisma +2 -0
  33. package/dist/types/prisma-schema/wasm.js +2 -1
  34. package/dist/types/schema.d.ts +178 -5
  35. package/package.json +2 -1
@@ -0,0 +1,84 @@
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.CreateProfileResponseDto = exports.createProfileResponseSchema = exports.CreateProfileDto = exports.createProfileSchema = void 0;
7
+ const comment_dto_1 = require("../../comment/dto/comment.dto");
8
+ const location_dto_1 = require("../../location/dto/location.dto");
9
+ const profile_dto_1 = require("./profile.dto");
10
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
11
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
12
+ const zod_1 = __importDefault(require("zod"));
13
+ exports.createProfileSchema = zod_1.default.object({
14
+ profile: profile_dto_1.profileSchema
15
+ .pick({
16
+ alternativeNames: true,
17
+ birthDate: true,
18
+ dni: true,
19
+ fullName: true,
20
+ gender: true,
21
+ instagram: true,
22
+ mail: true,
23
+ phoneNumber: true,
24
+ profilePictureUrl: true,
25
+ secondaryPhoneNumber: true,
26
+ })
27
+ .merge(zod_1.default.object({
28
+ comments: zod_1.default
29
+ .array(comment_dto_1.commentSchema.pick({
30
+ content: true,
31
+ isSolvable: true,
32
+ }))
33
+ .optional(),
34
+ residence: location_dto_1.locationSchema
35
+ .pick({
36
+ city: true,
37
+ country: true,
38
+ latitude: true,
39
+ longitude: true,
40
+ state: true,
41
+ })
42
+ .optional(),
43
+ birth: location_dto_1.locationSchema
44
+ .pick({
45
+ city: true,
46
+ country: true,
47
+ latitude: true,
48
+ longitude: true,
49
+ state: true,
50
+ })
51
+ .optional(),
52
+ tags: zod_1.default.array(tag_dto_1.tagSchema.shape.id).optional(),
53
+ })),
54
+ checkForSimilarity: zod_1.default.boolean().optional(),
55
+ });
56
+ class CreateProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createProfileSchema) {
57
+ }
58
+ exports.CreateProfileDto = CreateProfileDto;
59
+ const similarProfileSchema = zod_1.default.object({
60
+ profile: profile_dto_1.profileSchema.pick({
61
+ fullName: true,
62
+ phoneNumber: true,
63
+ id: true,
64
+ }),
65
+ similarityPhoneNumberPercentage: zod_1.default.number(),
66
+ similarityFullNamePercentage: zod_1.default.number(),
67
+ });
68
+ const createProfileResponseSchemaBase = zod_1.default.discriminatedUnion('type', [
69
+ zod_1.default.object({
70
+ type: zod_1.default.literal('similar'),
71
+ similarProfiles: zod_1.default.array(similarProfileSchema),
72
+ }),
73
+ zod_1.default.object({
74
+ type: zod_1.default.literal('created'),
75
+ id: profile_dto_1.profileSchema.shape.id,
76
+ }),
77
+ ]);
78
+ exports.createProfileResponseSchema = zod_1.default.object({
79
+ response: createProfileResponseSchemaBase,
80
+ });
81
+ class CreateProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createProfileResponseSchema) {
82
+ }
83
+ exports.CreateProfileResponseDto = CreateProfileResponseDto;
84
+ //# sourceMappingURL=create-profile.dto.js.map
@@ -8,7 +8,7 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
8
8
  fullName: z.ZodString;
9
9
  firstName: z.ZodNullable<z.ZodString>;
10
10
  gender: z.ZodNullable<z.ZodString>;
11
- birthDate: z.ZodNullable<z.ZodDate>;
11
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
12
12
  profilePictureUrl: z.ZodNullable<z.ZodString>;
13
13
  instagram: z.ZodNullable<z.ZodString>;
14
14
  mail: z.ZodNullable<z.ZodString>;
@@ -126,7 +126,7 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
126
126
  shortId: number;
127
127
  firstName: string | null;
128
128
  gender: string | null;
129
- birthDate: Date | null;
129
+ birthDate: string | null;
130
130
  instagram: string | null;
131
131
  mail: string | null;
132
132
  dni: string | null;
@@ -194,7 +194,7 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
194
194
  shortId: number;
195
195
  firstName: string | null;
196
196
  gender: string | null;
197
- birthDate: Date | null;
197
+ birthDate: string | null;
198
198
  instagram: string | null;
199
199
  mail: string | null;
200
200
  dni: string | null;
@@ -214,7 +214,7 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
214
214
  fullName: z.ZodString;
215
215
  firstName: z.ZodNullable<z.ZodString>;
216
216
  gender: z.ZodNullable<z.ZodString>;
217
- birthDate: z.ZodNullable<z.ZodString>;
217
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
218
218
  profilePictureUrl: z.ZodNullable<z.ZodString>;
219
219
  instagram: z.ZodNullable<z.ZodString>;
220
220
  mail: z.ZodNullable<z.ZodString>;
@@ -294,7 +294,7 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
294
294
  shortId: number;
295
295
  firstName: string | null;
296
296
  gender: string | null;
297
- birthDate: string | null;
297
+ birthDate: Date | null;
298
298
  instagram: string | null;
299
299
  mail: string | null;
300
300
  dni: string | null;
@@ -360,7 +360,7 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
360
360
  shortId: number;
361
361
  firstName: string | null;
362
362
  gender: string | null;
363
- birthDate: string | null;
363
+ birthDate: Date | null;
364
364
  instagram: string | null;
365
365
  mail: string | null;
366
366
  dni: string | null;
@@ -10,14 +10,14 @@ const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
10
10
  const tag_dto_1 = require("../../tag/dto/tag.dto");
11
11
  const zod_1 = __importDefault(require("zod"));
12
12
  exports.findAllProfileResponseSchema = zod_1.default.object({
13
- profiles: zod_1.default.array(profile_dto_1.profileSchema.extend({
14
- tags: zod_1.default.array(tag_dto_1.tagSchema.extend({
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
15
  group: tag_group_dto_1.tagGroupSchema.pick({
16
16
  color: true,
17
17
  isExclusive: true,
18
18
  }),
19
- })),
20
- })),
19
+ }))),
20
+ }))),
21
21
  });
22
22
  class FindAllProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllProfileResponseSchema) {
23
23
  }
@@ -7,7 +7,7 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
7
7
  fullName: z.ZodString;
8
8
  firstName: z.ZodNullable<z.ZodString>;
9
9
  gender: z.ZodNullable<z.ZodString>;
10
- birthDate: z.ZodNullable<z.ZodDate>;
10
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
11
11
  profilePictureUrl: z.ZodNullable<z.ZodString>;
12
12
  instagram: z.ZodNullable<z.ZodString>;
13
13
  mail: z.ZodNullable<z.ZodString>;
@@ -207,7 +207,7 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
207
207
  shortId: number;
208
208
  firstName: string | null;
209
209
  gender: string | null;
210
- birthDate: Date | null;
210
+ birthDate: string | null;
211
211
  instagram: string | null;
212
212
  mail: string | null;
213
213
  dni: string | null;
@@ -245,7 +245,7 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
245
245
  fullName: z.ZodString;
246
246
  firstName: z.ZodNullable<z.ZodString>;
247
247
  gender: z.ZodNullable<z.ZodString>;
248
- birthDate: z.ZodNullable<z.ZodString>;
248
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
249
249
  profilePictureUrl: z.ZodNullable<z.ZodString>;
250
250
  instagram: z.ZodNullable<z.ZodString>;
251
251
  mail: z.ZodNullable<z.ZodString>;
@@ -387,7 +387,7 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
387
387
  shortId: number;
388
388
  firstName: string | null;
389
389
  gender: string | null;
390
- birthDate: string | null;
390
+ birthDate: Date | null;
391
391
  instagram: string | null;
392
392
  mail: string | null;
393
393
  dni: string | null;
@@ -10,17 +10,17 @@ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/cre
10
10
  const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
11
11
  const tag_dto_1 = require("../../tag/dto/tag.dto");
12
12
  const zod_1 = __importDefault(require("zod"));
13
- exports.findByIdProfileResponseSchema = profile_dto_1.profileSchema.extend({
13
+ exports.findByIdProfileResponseSchema = profile_dto_1.profileSchema.merge(zod_1.default.object({
14
14
  residenceLocation: location_dto_1.locationSchema.nullable(),
15
15
  birthLocation: location_dto_1.locationSchema.nullable(),
16
- tags: zod_1.default.array(tag_dto_1.tagSchema.extend({
16
+ tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
17
17
  group: tag_group_dto_1.tagGroupSchema.pick({
18
18
  id: true,
19
19
  color: true,
20
20
  isExclusive: true,
21
21
  }),
22
- })),
23
- });
22
+ }))),
23
+ }));
24
24
  class FindByIdProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByIdProfileResponseSchema) {
25
25
  }
26
26
  exports.FindByIdProfileResponseDto = FindByIdProfileResponseDto;
@@ -0,0 +1,337 @@
1
+ import z from 'zod';
2
+ export declare const findByTagGroupsProfileResponseSchema: 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.ZodNullable<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<{
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
+ }, "strip", z.ZodTypeAny, {
37
+ id: string;
38
+ name: string;
39
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
40
+ created_at: Date;
41
+ updated_at: Date;
42
+ groupId: string;
43
+ }, {
44
+ id: string;
45
+ name: string;
46
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
47
+ created_at: Date;
48
+ updated_at: Date;
49
+ groupId: string;
50
+ }>, "many">;
51
+ }>, "strip", z.ZodTypeAny, {
52
+ id: string;
53
+ phoneNumber: string;
54
+ secondaryPhoneNumber: string | null;
55
+ fullName: string;
56
+ profilePictureUrl: string | null;
57
+ created_at: Date;
58
+ updated_at: Date;
59
+ tags: {
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
+ }[];
67
+ shortId: number;
68
+ firstName: string | null;
69
+ gender: string | null;
70
+ birthDate: Date | null;
71
+ instagram: string | null;
72
+ mail: string | null;
73
+ dni: string | null;
74
+ alternativeNames: string[] | null;
75
+ birthLocationId: string | null;
76
+ residenceLocationId: string | null;
77
+ isInTrash: boolean;
78
+ movedToTrashDate: Date | null;
79
+ }, {
80
+ id: string;
81
+ phoneNumber: string;
82
+ secondaryPhoneNumber: string | null;
83
+ fullName: string;
84
+ profilePictureUrl: string | null;
85
+ created_at: Date;
86
+ updated_at: Date;
87
+ tags: {
88
+ id: string;
89
+ name: string;
90
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
91
+ created_at: Date;
92
+ updated_at: Date;
93
+ groupId: string;
94
+ }[];
95
+ shortId: number;
96
+ firstName: string | null;
97
+ gender: string | null;
98
+ birthDate: string | null;
99
+ instagram: string | null;
100
+ mail: string | null;
101
+ dni: string | null;
102
+ alternativeNames: string[] | null;
103
+ birthLocationId: string | null;
104
+ residenceLocationId: string | null;
105
+ isInTrash: boolean;
106
+ movedToTrashDate: Date | null;
107
+ }>, "many">;
108
+ }, "strip", z.ZodTypeAny, {
109
+ profiles: {
110
+ id: string;
111
+ phoneNumber: string;
112
+ secondaryPhoneNumber: string | null;
113
+ fullName: string;
114
+ profilePictureUrl: string | null;
115
+ created_at: Date;
116
+ updated_at: Date;
117
+ tags: {
118
+ id: string;
119
+ name: string;
120
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
121
+ created_at: Date;
122
+ updated_at: Date;
123
+ groupId: string;
124
+ }[];
125
+ shortId: number;
126
+ firstName: string | null;
127
+ gender: string | null;
128
+ birthDate: Date | null;
129
+ instagram: string | null;
130
+ mail: string | null;
131
+ dni: string | null;
132
+ alternativeNames: string[] | null;
133
+ birthLocationId: string | null;
134
+ residenceLocationId: string | null;
135
+ isInTrash: boolean;
136
+ movedToTrashDate: Date | null;
137
+ }[];
138
+ }, {
139
+ profiles: {
140
+ id: string;
141
+ phoneNumber: string;
142
+ secondaryPhoneNumber: string | null;
143
+ fullName: string;
144
+ profilePictureUrl: string | null;
145
+ created_at: Date;
146
+ updated_at: Date;
147
+ tags: {
148
+ id: string;
149
+ name: string;
150
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
151
+ created_at: Date;
152
+ updated_at: Date;
153
+ groupId: string;
154
+ }[];
155
+ shortId: number;
156
+ firstName: string | null;
157
+ gender: string | null;
158
+ birthDate: string | null;
159
+ instagram: string | null;
160
+ mail: string | null;
161
+ dni: string | null;
162
+ alternativeNames: string[] | null;
163
+ birthLocationId: string | null;
164
+ residenceLocationId: string | null;
165
+ isInTrash: boolean;
166
+ movedToTrashDate: Date | null;
167
+ }[];
168
+ }>;
169
+ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
170
+ profiles: z.ZodArray<z.ZodObject<{
171
+ id: z.ZodString;
172
+ shortId: z.ZodNumber;
173
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
174
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
175
+ fullName: z.ZodString;
176
+ firstName: z.ZodNullable<z.ZodString>;
177
+ gender: z.ZodNullable<z.ZodString>;
178
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
179
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
180
+ instagram: z.ZodNullable<z.ZodString>;
181
+ mail: z.ZodNullable<z.ZodString>;
182
+ dni: z.ZodNullable<z.ZodString>;
183
+ alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
184
+ birthLocationId: z.ZodNullable<z.ZodString>;
185
+ residenceLocationId: z.ZodNullable<z.ZodString>;
186
+ isInTrash: z.ZodBoolean;
187
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
188
+ created_at: z.ZodString;
189
+ updated_at: z.ZodString;
190
+ tags: z.ZodArray<z.ZodObject<{
191
+ id: z.ZodString;
192
+ name: z.ZodString;
193
+ groupId: z.ZodString;
194
+ type: z.ZodNativeEnum<{
195
+ PROFILE: "PROFILE";
196
+ EVENT: "EVENT";
197
+ PARTICIPANT: "PARTICIPANT";
198
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
199
+ }>;
200
+ created_at: z.ZodString;
201
+ updated_at: z.ZodString;
202
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
203
+ id: string;
204
+ name: string;
205
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
206
+ created_at: string;
207
+ updated_at: string;
208
+ groupId: string;
209
+ }, {
210
+ id: string;
211
+ name: string;
212
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
213
+ created_at: string;
214
+ updated_at: string;
215
+ groupId: string;
216
+ }>, "many">;
217
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
218
+ id: string;
219
+ phoneNumber: string;
220
+ secondaryPhoneNumber: string | null;
221
+ fullName: string;
222
+ profilePictureUrl: string | null;
223
+ created_at: string;
224
+ updated_at: string;
225
+ tags: {
226
+ id: string;
227
+ name: string;
228
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
229
+ created_at: string;
230
+ updated_at: string;
231
+ groupId: string;
232
+ }[];
233
+ shortId: number;
234
+ firstName: string | null;
235
+ gender: string | null;
236
+ birthDate: Date | null;
237
+ instagram: string | null;
238
+ mail: string | null;
239
+ dni: string | null;
240
+ alternativeNames: string[] | null;
241
+ birthLocationId: string | null;
242
+ residenceLocationId: string | null;
243
+ isInTrash: boolean;
244
+ movedToTrashDate: string | null;
245
+ }, {
246
+ id: string;
247
+ phoneNumber: string;
248
+ secondaryPhoneNumber: string | null;
249
+ fullName: string;
250
+ profilePictureUrl: string | null;
251
+ created_at: string;
252
+ updated_at: string;
253
+ tags: {
254
+ id: string;
255
+ name: string;
256
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
257
+ created_at: string;
258
+ updated_at: string;
259
+ groupId: string;
260
+ }[];
261
+ shortId: number;
262
+ firstName: string | null;
263
+ gender: string | null;
264
+ birthDate: string | null;
265
+ instagram: string | null;
266
+ mail: string | null;
267
+ dni: string | null;
268
+ alternativeNames: string[] | null;
269
+ birthLocationId: string | null;
270
+ residenceLocationId: string | null;
271
+ isInTrash: boolean;
272
+ movedToTrashDate: string | null;
273
+ }>, "many">;
274
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
275
+ profiles: {
276
+ id: string;
277
+ phoneNumber: string;
278
+ secondaryPhoneNumber: string | null;
279
+ fullName: string;
280
+ profilePictureUrl: string | null;
281
+ created_at: string;
282
+ updated_at: string;
283
+ tags: {
284
+ id: string;
285
+ name: string;
286
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
287
+ created_at: string;
288
+ updated_at: string;
289
+ groupId: string;
290
+ }[];
291
+ shortId: number;
292
+ firstName: string | null;
293
+ gender: string | null;
294
+ birthDate: Date | null;
295
+ instagram: string | null;
296
+ mail: string | null;
297
+ dni: string | null;
298
+ alternativeNames: string[] | null;
299
+ birthLocationId: string | null;
300
+ residenceLocationId: string | null;
301
+ isInTrash: boolean;
302
+ movedToTrashDate: string | null;
303
+ }[];
304
+ }, {
305
+ profiles: {
306
+ id: string;
307
+ phoneNumber: string;
308
+ secondaryPhoneNumber: string | null;
309
+ fullName: string;
310
+ profilePictureUrl: string | null;
311
+ created_at: string;
312
+ updated_at: string;
313
+ tags: {
314
+ id: string;
315
+ name: string;
316
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
317
+ created_at: string;
318
+ updated_at: string;
319
+ groupId: string;
320
+ }[];
321
+ shortId: number;
322
+ firstName: string | null;
323
+ gender: string | null;
324
+ birthDate: string | null;
325
+ instagram: string | null;
326
+ mail: string | null;
327
+ dni: string | null;
328
+ alternativeNames: string[] | null;
329
+ birthLocationId: string | null;
330
+ residenceLocationId: string | null;
331
+ isInTrash: boolean;
332
+ movedToTrashDate: string | null;
333
+ }[];
334
+ }>>;
335
+ export declare class FindByTagGroupsProfileResponseDto extends FindByTagGroupsProfileResponseDto_base {
336
+ }
337
+ export {};
@@ -0,0 +1,19 @@
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.FindByTagGroupsProfileResponseDto = exports.findByTagGroupsProfileResponseSchema = 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_dto_1 = require("../../tag/dto/tag.dto");
10
+ const zod_1 = __importDefault(require("zod"));
11
+ exports.findByTagGroupsProfileResponseSchema = zod_1.default.object({
12
+ profiles: zod_1.default.array(profile_dto_1.profileSchema.merge(zod_1.default.object({
13
+ tags: zod_1.default.array(tag_dto_1.tagSchema),
14
+ }))),
15
+ });
16
+ class FindByTagGroupsProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByTagGroupsProfileResponseSchema) {
17
+ }
18
+ exports.FindByTagGroupsProfileResponseDto = FindByTagGroupsProfileResponseDto;
19
+ //# sourceMappingURL=find-by-tag-groups-profile.dto.js.map
@@ -8,7 +8,7 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
8
8
  fullName: z.ZodString;
9
9
  firstName: z.ZodNullable<z.ZodString>;
10
10
  gender: z.ZodNullable<z.ZodString>;
11
- birthDate: z.ZodNullable<z.ZodDate>;
11
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
12
12
  profilePictureUrl: z.ZodNullable<z.ZodString>;
13
13
  instagram: z.ZodNullable<z.ZodString>;
14
14
  mail: z.ZodNullable<z.ZodString>;
@@ -120,7 +120,7 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
120
120
  shortId: number;
121
121
  firstName: string | null;
122
122
  gender: string | null;
123
- birthDate: Date | null;
123
+ birthDate: string | null;
124
124
  instagram: string | null;
125
125
  mail: string | null;
126
126
  dni: string | null;
@@ -186,7 +186,7 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
186
186
  shortId: number;
187
187
  firstName: string | null;
188
188
  gender: string | null;
189
- birthDate: Date | null;
189
+ birthDate: string | null;
190
190
  instagram: string | null;
191
191
  mail: string | null;
192
192
  dni: string | null;
@@ -206,7 +206,7 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
206
206
  fullName: z.ZodString;
207
207
  firstName: z.ZodNullable<z.ZodString>;
208
208
  gender: z.ZodNullable<z.ZodString>;
209
- birthDate: z.ZodNullable<z.ZodString>;
209
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
210
210
  profilePictureUrl: z.ZodNullable<z.ZodString>;
211
211
  instagram: z.ZodNullable<z.ZodString>;
212
212
  mail: z.ZodNullable<z.ZodString>;
@@ -280,7 +280,7 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
280
280
  shortId: number;
281
281
  firstName: string | null;
282
282
  gender: string | null;
283
- birthDate: string | null;
283
+ birthDate: Date | null;
284
284
  instagram: string | null;
285
285
  mail: string | null;
286
286
  dni: string | null;
@@ -344,7 +344,7 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
344
344
  shortId: number;
345
345
  firstName: string | null;
346
346
  gender: string | null;
347
- birthDate: string | null;
347
+ birthDate: Date | null;
348
348
  instagram: string | null;
349
349
  mail: string | null;
350
350
  dni: string | null;
@@ -10,13 +10,13 @@ const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
10
10
  const tag_dto_1 = require("../../tag/dto/tag.dto");
11
11
  const zod_1 = __importDefault(require("zod"));
12
12
  exports.findByTagsProfileResponseSchema = zod_1.default.object({
13
- profiles: zod_1.default.array(profile_dto_1.profileSchema.extend({
14
- tags: zod_1.default.array(tag_dto_1.tagSchema.extend({
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
15
  group: tag_group_dto_1.tagGroupSchema.pick({
16
16
  isExclusive: true,
17
17
  }),
18
- })),
19
- })),
18
+ }))),
19
+ }))),
20
20
  });
21
21
  class FindByTagsProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByTagsProfileResponseSchema) {
22
22
  }
@@ -7,7 +7,7 @@ export declare const profileSchema: z.ZodObject<{
7
7
  fullName: z.ZodString;
8
8
  firstName: z.ZodNullable<z.ZodString>;
9
9
  gender: z.ZodNullable<z.ZodString>;
10
- birthDate: z.ZodNullable<z.ZodDate>;
10
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
11
11
  profilePictureUrl: z.ZodNullable<z.ZodString>;
12
12
  instagram: z.ZodNullable<z.ZodString>;
13
13
  mail: z.ZodNullable<z.ZodString>;
@@ -50,7 +50,7 @@ export declare const profileSchema: z.ZodObject<{
50
50
  shortId: number;
51
51
  firstName: string | null;
52
52
  gender: string | null;
53
- birthDate: Date | null;
53
+ birthDate: string | null;
54
54
  instagram: string | null;
55
55
  mail: string | null;
56
56
  dni: string | null;