expo-backend-types 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) 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 +47 -0
  9. package/dist/src/i18n/es.js +47 -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/delete-profile.dto.d.ts +125 -0
  14. package/dist/src/profile/dto/delete-profile.dto.js +10 -0
  15. package/dist/src/profile/dto/find-all-profile.dto.d.ts +410 -0
  16. package/dist/src/profile/dto/find-all-profile.dto.js +25 -0
  17. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +655 -0
  18. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +34 -0
  19. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +475 -0
  20. package/dist/src/profile/dto/find-by-id-profile.dto.js +27 -0
  21. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +125 -0
  22. package/dist/src/profile/dto/find-by-phone-number.dto.js +10 -0
  23. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +337 -0
  24. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +19 -0
  25. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +393 -0
  26. package/dist/src/profile/dto/find-by-tags-profile.dto.js +24 -0
  27. package/dist/src/profile/dto/find-trash.dto.d.ts +110 -0
  28. package/dist/src/profile/dto/find-trash.dto.js +24 -0
  29. package/dist/src/profile/dto/profile.dto.d.ts +5 -5
  30. package/dist/src/profile/dto/profile.dto.js +7 -3
  31. package/dist/src/profile/dto/update-profile.dto.d.ts +360 -0
  32. package/dist/src/profile/dto/update-profile.dto.js +55 -0
  33. package/dist/src/profile/exports.d.ts +10 -0
  34. package/dist/src/profile/exports.js +10 -0
  35. package/dist/src/tag/dto/massive-allocation.dto.d.ts +16 -16
  36. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +16 -16
  37. package/dist/types/prisma-schema/edge.js +5 -4
  38. package/dist/types/prisma-schema/index-browser.js +2 -1
  39. package/dist/types/prisma-schema/index.d.ts +9 -2
  40. package/dist/types/prisma-schema/index.js +5 -4
  41. package/dist/types/prisma-schema/package.json +1 -1
  42. package/dist/types/prisma-schema/schema.prisma +2 -0
  43. package/dist/types/prisma-schema/wasm.js +2 -1
  44. package/dist/types/schema.d.ts +777 -53
  45. package/package.json +4 -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
@@ -0,0 +1,125 @@
1
+ export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
2
+ id: import("zod").ZodString;
3
+ shortId: import("zod").ZodNumber;
4
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
5
+ secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
6
+ fullName: import("zod").ZodString;
7
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
8
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
9
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
10
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
11
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
12
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
13
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
14
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
15
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
16
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
17
+ isInTrash: import("zod").ZodBoolean;
18
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
19
+ created_at: import("zod").ZodDate;
20
+ updated_at: import("zod").ZodDate;
21
+ }, "strip", import("zod").ZodTypeAny, {
22
+ id: string;
23
+ phoneNumber: string;
24
+ secondaryPhoneNumber: string | null;
25
+ fullName: string;
26
+ profilePictureUrl: string | null;
27
+ created_at: Date;
28
+ updated_at: Date;
29
+ shortId: number;
30
+ firstName: string | null;
31
+ gender: string | null;
32
+ birthDate: Date | null;
33
+ instagram: string | null;
34
+ mail: string | null;
35
+ dni: string | null;
36
+ alternativeNames: string[];
37
+ birthLocationId: string | null;
38
+ residenceLocationId: string | null;
39
+ isInTrash: boolean;
40
+ movedToTrashDate: Date | null;
41
+ }, {
42
+ id: string;
43
+ phoneNumber: string;
44
+ secondaryPhoneNumber: string | null;
45
+ fullName: string;
46
+ profilePictureUrl: string | null;
47
+ created_at: Date;
48
+ updated_at: Date;
49
+ shortId: number;
50
+ firstName: string | null;
51
+ gender: string | null;
52
+ birthDate: string | null;
53
+ instagram: string | null;
54
+ mail: string | null;
55
+ dni: string | null;
56
+ alternativeNames: string[];
57
+ birthLocationId: string | null;
58
+ residenceLocationId: string | null;
59
+ isInTrash: boolean;
60
+ movedToTrashDate: Date | null;
61
+ }>;
62
+ declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
63
+ id: import("zod").ZodString;
64
+ shortId: import("zod").ZodNumber;
65
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
66
+ secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
67
+ fullName: import("zod").ZodString;
68
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
69
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
70
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
71
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
72
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
73
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
74
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
75
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
76
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
77
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
78
+ isInTrash: import("zod").ZodBoolean;
79
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
80
+ created_at: import("zod").ZodString;
81
+ updated_at: import("zod").ZodString;
82
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
83
+ id: string;
84
+ phoneNumber: string;
85
+ secondaryPhoneNumber: string | null;
86
+ fullName: string;
87
+ profilePictureUrl: string | null;
88
+ created_at: string;
89
+ updated_at: string;
90
+ shortId: number;
91
+ firstName: string | null;
92
+ gender: string | null;
93
+ birthDate: Date | null;
94
+ instagram: string | null;
95
+ mail: string | null;
96
+ dni: string | null;
97
+ alternativeNames: string[];
98
+ birthLocationId: string | null;
99
+ residenceLocationId: string | null;
100
+ isInTrash: boolean;
101
+ movedToTrashDate: string | null;
102
+ }, {
103
+ id: string;
104
+ phoneNumber: string;
105
+ secondaryPhoneNumber: string | null;
106
+ fullName: string;
107
+ profilePictureUrl: string | null;
108
+ created_at: string;
109
+ updated_at: string;
110
+ shortId: number;
111
+ firstName: string | null;
112
+ gender: string | null;
113
+ birthDate: string | null;
114
+ instagram: string | null;
115
+ mail: string | null;
116
+ dni: string | null;
117
+ alternativeNames: string[];
118
+ birthLocationId: string | null;
119
+ residenceLocationId: string | null;
120
+ isInTrash: boolean;
121
+ movedToTrashDate: string | null;
122
+ }>>;
123
+ export declare class DeleteProfileResponseDto extends DeleteProfileResponseDto_base {
124
+ }
125
+ export {};
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteProfileResponseDto = exports.deleteProfileResponseSchema = void 0;
4
+ const profile_dto_1 = require("./profile.dto");
5
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
+ exports.deleteProfileResponseSchema = profile_dto_1.profileSchema;
7
+ class DeleteProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteProfileResponseSchema) {
8
+ }
9
+ exports.DeleteProfileResponseDto = DeleteProfileResponseDto;
10
+ //# sourceMappingURL=delete-profile.dto.js.map
@@ -0,0 +1,410 @@
1
+ import z from 'zod';
2
+ export declare const findAllProfileResponseSchema: 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
+ }, "color" | "isExclusive">, "strip", z.ZodTypeAny, {
45
+ color: string;
46
+ isExclusive: boolean;
47
+ }, {
48
+ color: string;
49
+ isExclusive: boolean;
50
+ }>;
51
+ }>, "strip", z.ZodTypeAny, {
52
+ id: string;
53
+ name: string;
54
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
55
+ created_at: Date;
56
+ updated_at: Date;
57
+ groupId: string;
58
+ group: {
59
+ color: string;
60
+ isExclusive: boolean;
61
+ };
62
+ }, {
63
+ id: string;
64
+ name: string;
65
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
66
+ created_at: Date;
67
+ updated_at: Date;
68
+ groupId: string;
69
+ group: {
70
+ color: string;
71
+ isExclusive: boolean;
72
+ };
73
+ }>, "many">;
74
+ }>, "strip", z.ZodTypeAny, {
75
+ id: string;
76
+ phoneNumber: string;
77
+ secondaryPhoneNumber: string | null;
78
+ fullName: string;
79
+ profilePictureUrl: string | null;
80
+ created_at: Date;
81
+ updated_at: Date;
82
+ tags: {
83
+ id: string;
84
+ name: string;
85
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
86
+ created_at: Date;
87
+ updated_at: Date;
88
+ groupId: string;
89
+ group: {
90
+ color: string;
91
+ isExclusive: boolean;
92
+ };
93
+ }[];
94
+ shortId: number;
95
+ firstName: string | null;
96
+ gender: string | null;
97
+ birthDate: Date | null;
98
+ instagram: string | null;
99
+ mail: string | null;
100
+ dni: string | null;
101
+ alternativeNames: string[];
102
+ birthLocationId: string | null;
103
+ residenceLocationId: string | null;
104
+ isInTrash: boolean;
105
+ movedToTrashDate: Date | null;
106
+ }, {
107
+ id: string;
108
+ phoneNumber: string;
109
+ secondaryPhoneNumber: string | null;
110
+ fullName: string;
111
+ profilePictureUrl: string | null;
112
+ created_at: Date;
113
+ updated_at: Date;
114
+ tags: {
115
+ id: string;
116
+ name: string;
117
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
118
+ created_at: Date;
119
+ updated_at: Date;
120
+ groupId: string;
121
+ group: {
122
+ color: string;
123
+ isExclusive: boolean;
124
+ };
125
+ }[];
126
+ shortId: number;
127
+ firstName: string | null;
128
+ gender: string | null;
129
+ birthDate: string | null;
130
+ instagram: string | null;
131
+ mail: string | null;
132
+ dni: string | null;
133
+ alternativeNames: string[];
134
+ birthLocationId: string | null;
135
+ residenceLocationId: string | null;
136
+ isInTrash: boolean;
137
+ movedToTrashDate: Date | null;
138
+ }>, "many">;
139
+ }, "strip", z.ZodTypeAny, {
140
+ profiles: {
141
+ id: string;
142
+ phoneNumber: string;
143
+ secondaryPhoneNumber: string | null;
144
+ fullName: string;
145
+ profilePictureUrl: string | null;
146
+ created_at: Date;
147
+ updated_at: Date;
148
+ tags: {
149
+ id: string;
150
+ name: string;
151
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
152
+ created_at: Date;
153
+ updated_at: Date;
154
+ groupId: string;
155
+ group: {
156
+ color: string;
157
+ isExclusive: boolean;
158
+ };
159
+ }[];
160
+ shortId: number;
161
+ firstName: string | null;
162
+ gender: string | null;
163
+ birthDate: Date | null;
164
+ instagram: string | null;
165
+ mail: string | null;
166
+ dni: string | null;
167
+ alternativeNames: string[];
168
+ birthLocationId: string | null;
169
+ residenceLocationId: string | null;
170
+ isInTrash: boolean;
171
+ movedToTrashDate: Date | null;
172
+ }[];
173
+ }, {
174
+ profiles: {
175
+ id: string;
176
+ phoneNumber: string;
177
+ secondaryPhoneNumber: string | null;
178
+ fullName: string;
179
+ profilePictureUrl: string | null;
180
+ created_at: Date;
181
+ updated_at: Date;
182
+ tags: {
183
+ id: string;
184
+ name: string;
185
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
186
+ created_at: Date;
187
+ updated_at: Date;
188
+ groupId: string;
189
+ group: {
190
+ color: string;
191
+ isExclusive: boolean;
192
+ };
193
+ }[];
194
+ shortId: number;
195
+ firstName: string | null;
196
+ gender: string | null;
197
+ birthDate: string | null;
198
+ instagram: string | null;
199
+ mail: string | null;
200
+ dni: string | null;
201
+ alternativeNames: string[];
202
+ birthLocationId: string | null;
203
+ residenceLocationId: string | null;
204
+ isInTrash: boolean;
205
+ movedToTrashDate: Date | null;
206
+ }[];
207
+ }>;
208
+ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
209
+ profiles: z.ZodArray<z.ZodObject<{
210
+ id: z.ZodString;
211
+ shortId: z.ZodNumber;
212
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
213
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
214
+ fullName: z.ZodString;
215
+ firstName: z.ZodNullable<z.ZodString>;
216
+ gender: z.ZodNullable<z.ZodString>;
217
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
218
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
219
+ instagram: z.ZodNullable<z.ZodString>;
220
+ mail: z.ZodNullable<z.ZodString>;
221
+ dni: z.ZodNullable<z.ZodString>;
222
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
223
+ birthLocationId: z.ZodNullable<z.ZodString>;
224
+ residenceLocationId: z.ZodNullable<z.ZodString>;
225
+ isInTrash: z.ZodBoolean;
226
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
227
+ created_at: z.ZodString;
228
+ updated_at: z.ZodString;
229
+ tags: z.ZodArray<z.ZodObject<{
230
+ id: z.ZodString;
231
+ name: z.ZodString;
232
+ groupId: z.ZodString;
233
+ type: z.ZodNativeEnum<{
234
+ PROFILE: "PROFILE";
235
+ EVENT: "EVENT";
236
+ PARTICIPANT: "PARTICIPANT";
237
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
238
+ }>;
239
+ created_at: z.ZodString;
240
+ updated_at: z.ZodString;
241
+ group: z.ZodObject<{
242
+ color: z.ZodString;
243
+ isExclusive: z.ZodBoolean;
244
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
245
+ color: string;
246
+ isExclusive: boolean;
247
+ }, {
248
+ color: string;
249
+ isExclusive: boolean;
250
+ }>;
251
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
252
+ id: string;
253
+ name: string;
254
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
255
+ created_at: string;
256
+ updated_at: string;
257
+ groupId: string;
258
+ group: {
259
+ color: string;
260
+ isExclusive: boolean;
261
+ };
262
+ }, {
263
+ id: string;
264
+ name: string;
265
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
266
+ created_at: string;
267
+ updated_at: string;
268
+ groupId: string;
269
+ group: {
270
+ color: string;
271
+ isExclusive: boolean;
272
+ };
273
+ }>, "many">;
274
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
275
+ id: string;
276
+ phoneNumber: string;
277
+ secondaryPhoneNumber: string | null;
278
+ fullName: string;
279
+ profilePictureUrl: string | null;
280
+ created_at: string;
281
+ updated_at: string;
282
+ tags: {
283
+ id: string;
284
+ name: string;
285
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
286
+ created_at: string;
287
+ updated_at: string;
288
+ groupId: string;
289
+ group: {
290
+ color: string;
291
+ isExclusive: boolean;
292
+ };
293
+ }[];
294
+ shortId: number;
295
+ firstName: string | null;
296
+ gender: string | null;
297
+ birthDate: Date | null;
298
+ instagram: string | null;
299
+ mail: string | null;
300
+ dni: string | null;
301
+ alternativeNames: string[];
302
+ birthLocationId: string | null;
303
+ residenceLocationId: string | null;
304
+ isInTrash: boolean;
305
+ movedToTrashDate: string | null;
306
+ }, {
307
+ id: string;
308
+ phoneNumber: string;
309
+ secondaryPhoneNumber: string | null;
310
+ fullName: string;
311
+ profilePictureUrl: string | null;
312
+ created_at: string;
313
+ updated_at: string;
314
+ tags: {
315
+ id: string;
316
+ name: string;
317
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
318
+ created_at: string;
319
+ updated_at: string;
320
+ groupId: string;
321
+ group: {
322
+ color: string;
323
+ isExclusive: boolean;
324
+ };
325
+ }[];
326
+ shortId: number;
327
+ firstName: string | null;
328
+ gender: string | null;
329
+ birthDate: string | null;
330
+ instagram: string | null;
331
+ mail: string | null;
332
+ dni: string | null;
333
+ alternativeNames: string[];
334
+ birthLocationId: string | null;
335
+ residenceLocationId: string | null;
336
+ isInTrash: boolean;
337
+ movedToTrashDate: string | null;
338
+ }>, "many">;
339
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
340
+ profiles: {
341
+ id: string;
342
+ phoneNumber: string;
343
+ secondaryPhoneNumber: string | null;
344
+ fullName: string;
345
+ profilePictureUrl: string | null;
346
+ created_at: string;
347
+ updated_at: string;
348
+ tags: {
349
+ id: string;
350
+ name: string;
351
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
352
+ created_at: string;
353
+ updated_at: string;
354
+ groupId: string;
355
+ group: {
356
+ color: string;
357
+ isExclusive: boolean;
358
+ };
359
+ }[];
360
+ shortId: number;
361
+ firstName: string | null;
362
+ gender: string | null;
363
+ birthDate: Date | null;
364
+ instagram: string | null;
365
+ mail: string | null;
366
+ dni: string | null;
367
+ alternativeNames: string[];
368
+ birthLocationId: string | null;
369
+ residenceLocationId: string | null;
370
+ isInTrash: boolean;
371
+ movedToTrashDate: string | null;
372
+ }[];
373
+ }, {
374
+ profiles: {
375
+ id: string;
376
+ phoneNumber: string;
377
+ secondaryPhoneNumber: string | null;
378
+ fullName: string;
379
+ profilePictureUrl: string | null;
380
+ created_at: string;
381
+ updated_at: string;
382
+ tags: {
383
+ id: string;
384
+ name: string;
385
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
386
+ created_at: string;
387
+ updated_at: string;
388
+ groupId: string;
389
+ group: {
390
+ color: string;
391
+ isExclusive: boolean;
392
+ };
393
+ }[];
394
+ shortId: number;
395
+ firstName: string | null;
396
+ gender: string | null;
397
+ birthDate: string | null;
398
+ instagram: string | null;
399
+ mail: string | null;
400
+ dni: string | null;
401
+ alternativeNames: string[];
402
+ birthLocationId: string | null;
403
+ residenceLocationId: string | null;
404
+ isInTrash: boolean;
405
+ movedToTrashDate: string | null;
406
+ }[];
407
+ }>>;
408
+ export declare class FindAllProfileResponseDto extends FindAllProfileResponseDto_base {
409
+ }
410
+ export {};
@@ -0,0 +1,25 @@
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.FindAllProfileResponseDto = exports.findAllProfileResponseSchema = 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.findAllProfileResponseSchema = 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
+ color: true,
17
+ isExclusive: true,
18
+ }),
19
+ }))),
20
+ }))),
21
+ });
22
+ class FindAllProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllProfileResponseSchema) {
23
+ }
24
+ exports.FindAllProfileResponseDto = FindAllProfileResponseDto;
25
+ //# sourceMappingURL=find-all-profile.dto.js.map