expo-backend-types 0.9.0-EXPO-249-EB-Modelo.1 → 0.9.0-EXPO-249-EB-Modelo.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -289,6 +289,15 @@ declare const _default: {
289
289
  readonly 'not-found': "Carpeta de evento no encontrada";
290
290
  };
291
291
  };
292
+ readonly profile: {
293
+ readonly 'find-all': {
294
+ readonly success: "Perfiles obtenidos";
295
+ };
296
+ readonly 'find-by-id': {
297
+ readonly 'not-found': "Perfil no encontrado";
298
+ readonly success: "Perfil obtenido";
299
+ };
300
+ };
292
301
  };
293
302
  };
294
303
  export default _default;
@@ -291,6 +291,15 @@ exports.default = {
291
291
  'not-found': 'Carpeta de evento no encontrada',
292
292
  },
293
293
  },
294
+ profile: {
295
+ 'find-all': {
296
+ success: 'Perfiles obtenidos',
297
+ },
298
+ 'find-by-id': {
299
+ 'not-found': 'Perfil no encontrado',
300
+ success: 'Perfil obtenido',
301
+ },
302
+ },
294
303
  },
295
304
  };
296
305
  //# sourceMappingURL=es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,KAAK,EAAE;YACL,OAAO,EAAE,QAAQ;YACjB,GAAG,EAAE,UAAU;YACf,QAAQ,EAAE,oBAAoB;YAC9B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE,YAAY;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,WAAW;YACrB,cAAc,EAAE,oBAAoB;YACpC,OAAO,EAAE,SAAS;SACnB;QACD,QAAQ,EAAE,+FAA+F;QACzG,WAAW,EAAE,oGAAoG;KAClH;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,IAAI,EAAE,wBAAwB;aAC/B;YACD,OAAO,EAAE;gBACP,GAAG,EAAE,6CAA6C;aACnD;YACD,UAAU,EAAE;gBACV,QAAQ,EA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sCAAsC;gBAC/C,WAAW,EAAE,iCAAiC;aAC/C;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,yCAAyC;gBAClD,WAAW,EAAE,iCAAiC;aAC/C;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,uCAAuC;gBAChD,WAAW,EAAE,iCAAiC;aAC/C;SACF;QACD,OAAO,EAAE;YACP,UAAU,EAAE;gBACV,OAAO,EAAE,oBAAoB;aAC9B;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE,sBAAsB;gBACnC,OAAO,EAAE,iBAAiB;aAC3B;SACF;KACF;CACO,CAAC"}
@@ -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.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<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[] | null;
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: Date | null;
130
+ instagram: string | null;
131
+ mail: string | null;
132
+ dni: string | null;
133
+ alternativeNames: string[] | null;
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[] | null;
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: Date | null;
198
+ instagram: string | null;
199
+ mail: string | null;
200
+ dni: string | null;
201
+ alternativeNames: string[] | null;
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.ZodString>;
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.ZodNullable<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: string | null;
298
+ instagram: string | null;
299
+ mail: string | null;
300
+ dni: string | null;
301
+ alternativeNames: string[] | null;
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[] | null;
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: string | null;
364
+ instagram: string | null;
365
+ mail: string | null;
366
+ dni: string | null;
367
+ alternativeNames: string[] | null;
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[] | null;
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.extend({
14
+ tags: zod_1.default.array(tag_dto_1.tagSchema.extend({
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
@@ -0,0 +1,475 @@
1
+ import z from 'zod';
2
+ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
3
+ id: z.ZodString;
4
+ shortId: z.ZodNumber;
5
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
6
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
7
+ fullName: z.ZodString;
8
+ firstName: z.ZodNullable<z.ZodString>;
9
+ gender: z.ZodNullable<z.ZodString>;
10
+ birthDate: z.ZodNullable<z.ZodDate>;
11
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
12
+ instagram: z.ZodNullable<z.ZodString>;
13
+ mail: z.ZodNullable<z.ZodString>;
14
+ dni: z.ZodNullable<z.ZodString>;
15
+ alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
16
+ birthLocationId: z.ZodNullable<z.ZodString>;
17
+ residenceLocationId: z.ZodNullable<z.ZodString>;
18
+ isInTrash: z.ZodBoolean;
19
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
20
+ created_at: z.ZodDate;
21
+ updated_at: z.ZodDate;
22
+ }, {
23
+ residenceLocation: z.ZodNullable<z.ZodObject<{
24
+ id: z.ZodString;
25
+ latitude: z.ZodNumber;
26
+ longitude: z.ZodNumber;
27
+ country: z.ZodString;
28
+ state: z.ZodString;
29
+ city: z.ZodString;
30
+ created_at: z.ZodDate;
31
+ updated_at: z.ZodDate;
32
+ }, "strip", z.ZodTypeAny, {
33
+ id: string;
34
+ latitude: number;
35
+ longitude: number;
36
+ created_at: Date;
37
+ updated_at: Date;
38
+ state: string;
39
+ country: string;
40
+ city: string;
41
+ }, {
42
+ id: string;
43
+ latitude: number;
44
+ longitude: number;
45
+ created_at: Date;
46
+ updated_at: Date;
47
+ state: string;
48
+ country: string;
49
+ city: string;
50
+ }>>;
51
+ birthLocation: z.ZodNullable<z.ZodObject<{
52
+ id: z.ZodString;
53
+ latitude: z.ZodNumber;
54
+ longitude: z.ZodNumber;
55
+ country: z.ZodString;
56
+ state: z.ZodString;
57
+ city: z.ZodString;
58
+ created_at: z.ZodDate;
59
+ updated_at: z.ZodDate;
60
+ }, "strip", z.ZodTypeAny, {
61
+ id: string;
62
+ latitude: number;
63
+ longitude: number;
64
+ created_at: Date;
65
+ updated_at: Date;
66
+ state: string;
67
+ country: string;
68
+ city: string;
69
+ }, {
70
+ id: string;
71
+ latitude: number;
72
+ longitude: number;
73
+ created_at: Date;
74
+ updated_at: Date;
75
+ state: string;
76
+ country: string;
77
+ city: string;
78
+ }>>;
79
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
80
+ id: z.ZodString;
81
+ name: z.ZodString;
82
+ groupId: z.ZodString;
83
+ type: z.ZodNativeEnum<{
84
+ PROFILE: "PROFILE";
85
+ EVENT: "EVENT";
86
+ PARTICIPANT: "PARTICIPANT";
87
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
88
+ }>;
89
+ created_at: z.ZodDate;
90
+ updated_at: z.ZodDate;
91
+ }, {
92
+ group: z.ZodObject<Pick<{
93
+ id: z.ZodString;
94
+ name: z.ZodString;
95
+ color: z.ZodString;
96
+ isExclusive: z.ZodBoolean;
97
+ created_at: z.ZodDate;
98
+ updated_at: z.ZodDate;
99
+ }, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
100
+ id: string;
101
+ color: string;
102
+ isExclusive: boolean;
103
+ }, {
104
+ id: string;
105
+ color: string;
106
+ isExclusive: boolean;
107
+ }>;
108
+ }>, "strip", z.ZodTypeAny, {
109
+ id: string;
110
+ name: string;
111
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
112
+ created_at: Date;
113
+ updated_at: Date;
114
+ groupId: string;
115
+ group: {
116
+ id: string;
117
+ color: string;
118
+ isExclusive: boolean;
119
+ };
120
+ }, {
121
+ id: string;
122
+ name: string;
123
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
124
+ created_at: Date;
125
+ updated_at: Date;
126
+ groupId: string;
127
+ group: {
128
+ id: string;
129
+ color: string;
130
+ isExclusive: boolean;
131
+ };
132
+ }>, "many">;
133
+ }>, "strip", z.ZodTypeAny, {
134
+ id: string;
135
+ phoneNumber: string;
136
+ secondaryPhoneNumber: string | null;
137
+ fullName: string;
138
+ profilePictureUrl: string | null;
139
+ created_at: Date;
140
+ updated_at: Date;
141
+ tags: {
142
+ id: string;
143
+ name: string;
144
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
145
+ created_at: Date;
146
+ updated_at: Date;
147
+ groupId: string;
148
+ group: {
149
+ id: string;
150
+ color: string;
151
+ isExclusive: boolean;
152
+ };
153
+ }[];
154
+ shortId: number;
155
+ firstName: string | null;
156
+ gender: string | null;
157
+ birthDate: Date | null;
158
+ instagram: string | null;
159
+ mail: string | null;
160
+ dni: string | null;
161
+ alternativeNames: string[] | null;
162
+ birthLocationId: string | null;
163
+ residenceLocationId: string | null;
164
+ isInTrash: boolean;
165
+ movedToTrashDate: Date | null;
166
+ birthLocation: {
167
+ id: string;
168
+ latitude: number;
169
+ longitude: number;
170
+ created_at: Date;
171
+ updated_at: Date;
172
+ state: string;
173
+ country: string;
174
+ city: string;
175
+ } | null;
176
+ residenceLocation: {
177
+ id: string;
178
+ latitude: number;
179
+ longitude: number;
180
+ created_at: Date;
181
+ updated_at: Date;
182
+ state: string;
183
+ country: string;
184
+ city: string;
185
+ } | null;
186
+ }, {
187
+ id: string;
188
+ phoneNumber: string;
189
+ secondaryPhoneNumber: string | null;
190
+ fullName: string;
191
+ profilePictureUrl: string | null;
192
+ created_at: Date;
193
+ updated_at: Date;
194
+ tags: {
195
+ id: string;
196
+ name: string;
197
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
198
+ created_at: Date;
199
+ updated_at: Date;
200
+ groupId: string;
201
+ group: {
202
+ id: string;
203
+ color: string;
204
+ isExclusive: boolean;
205
+ };
206
+ }[];
207
+ shortId: number;
208
+ firstName: string | null;
209
+ gender: string | null;
210
+ birthDate: Date | null;
211
+ instagram: string | null;
212
+ mail: string | null;
213
+ dni: string | null;
214
+ alternativeNames: string[] | null;
215
+ birthLocationId: string | null;
216
+ residenceLocationId: string | null;
217
+ isInTrash: boolean;
218
+ movedToTrashDate: Date | null;
219
+ birthLocation: {
220
+ id: string;
221
+ latitude: number;
222
+ longitude: number;
223
+ created_at: Date;
224
+ updated_at: Date;
225
+ state: string;
226
+ country: string;
227
+ city: string;
228
+ } | null;
229
+ residenceLocation: {
230
+ id: string;
231
+ latitude: number;
232
+ longitude: number;
233
+ created_at: Date;
234
+ updated_at: Date;
235
+ state: string;
236
+ country: string;
237
+ city: string;
238
+ } | null;
239
+ }>;
240
+ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
241
+ id: z.ZodString;
242
+ shortId: z.ZodNumber;
243
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
244
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
245
+ fullName: z.ZodString;
246
+ firstName: z.ZodNullable<z.ZodString>;
247
+ gender: z.ZodNullable<z.ZodString>;
248
+ birthDate: z.ZodNullable<z.ZodString>;
249
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
250
+ instagram: z.ZodNullable<z.ZodString>;
251
+ mail: z.ZodNullable<z.ZodString>;
252
+ dni: z.ZodNullable<z.ZodString>;
253
+ alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
254
+ birthLocationId: z.ZodNullable<z.ZodString>;
255
+ residenceLocationId: z.ZodNullable<z.ZodString>;
256
+ isInTrash: z.ZodBoolean;
257
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
258
+ created_at: z.ZodString;
259
+ updated_at: z.ZodString;
260
+ residenceLocation: z.ZodNullable<z.ZodObject<{
261
+ id: z.ZodString;
262
+ latitude: z.ZodNumber;
263
+ longitude: z.ZodNumber;
264
+ country: z.ZodString;
265
+ state: z.ZodString;
266
+ city: z.ZodString;
267
+ created_at: z.ZodString;
268
+ updated_at: z.ZodString;
269
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
270
+ id: string;
271
+ latitude: number;
272
+ longitude: number;
273
+ created_at: string;
274
+ updated_at: string;
275
+ state: string;
276
+ country: string;
277
+ city: string;
278
+ }, {
279
+ id: string;
280
+ latitude: number;
281
+ longitude: number;
282
+ created_at: string;
283
+ updated_at: string;
284
+ state: string;
285
+ country: string;
286
+ city: string;
287
+ }>>;
288
+ birthLocation: z.ZodNullable<z.ZodObject<{
289
+ id: z.ZodString;
290
+ latitude: z.ZodNumber;
291
+ longitude: z.ZodNumber;
292
+ country: z.ZodString;
293
+ state: z.ZodString;
294
+ city: z.ZodString;
295
+ created_at: z.ZodString;
296
+ updated_at: z.ZodString;
297
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
298
+ id: string;
299
+ latitude: number;
300
+ longitude: number;
301
+ created_at: string;
302
+ updated_at: string;
303
+ state: string;
304
+ country: string;
305
+ city: string;
306
+ }, {
307
+ id: string;
308
+ latitude: number;
309
+ longitude: number;
310
+ created_at: string;
311
+ updated_at: string;
312
+ state: string;
313
+ country: string;
314
+ city: string;
315
+ }>>;
316
+ tags: z.ZodArray<z.ZodObject<{
317
+ id: z.ZodString;
318
+ name: z.ZodString;
319
+ groupId: z.ZodString;
320
+ type: z.ZodNativeEnum<{
321
+ PROFILE: "PROFILE";
322
+ EVENT: "EVENT";
323
+ PARTICIPANT: "PARTICIPANT";
324
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
325
+ }>;
326
+ created_at: z.ZodString;
327
+ updated_at: z.ZodString;
328
+ group: z.ZodObject<{
329
+ id: z.ZodString;
330
+ color: z.ZodString;
331
+ isExclusive: z.ZodBoolean;
332
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
333
+ id: string;
334
+ color: string;
335
+ isExclusive: boolean;
336
+ }, {
337
+ id: string;
338
+ color: string;
339
+ isExclusive: boolean;
340
+ }>;
341
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
342
+ id: string;
343
+ name: string;
344
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
345
+ created_at: string;
346
+ updated_at: string;
347
+ groupId: string;
348
+ group: {
349
+ id: string;
350
+ color: string;
351
+ isExclusive: boolean;
352
+ };
353
+ }, {
354
+ id: string;
355
+ name: string;
356
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
357
+ created_at: string;
358
+ updated_at: string;
359
+ groupId: string;
360
+ group: {
361
+ id: string;
362
+ color: string;
363
+ isExclusive: boolean;
364
+ };
365
+ }>, "many">;
366
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
367
+ id: string;
368
+ phoneNumber: string;
369
+ secondaryPhoneNumber: string | null;
370
+ fullName: string;
371
+ profilePictureUrl: string | null;
372
+ created_at: string;
373
+ updated_at: string;
374
+ tags: {
375
+ id: string;
376
+ name: string;
377
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
378
+ created_at: string;
379
+ updated_at: string;
380
+ groupId: string;
381
+ group: {
382
+ id: string;
383
+ color: string;
384
+ isExclusive: boolean;
385
+ };
386
+ }[];
387
+ shortId: number;
388
+ firstName: string | null;
389
+ gender: string | null;
390
+ birthDate: string | null;
391
+ instagram: string | null;
392
+ mail: string | null;
393
+ dni: string | null;
394
+ alternativeNames: string[] | null;
395
+ birthLocationId: string | null;
396
+ residenceLocationId: string | null;
397
+ isInTrash: boolean;
398
+ movedToTrashDate: string | null;
399
+ birthLocation: {
400
+ id: string;
401
+ latitude: number;
402
+ longitude: number;
403
+ created_at: string;
404
+ updated_at: string;
405
+ state: string;
406
+ country: string;
407
+ city: string;
408
+ } | null;
409
+ residenceLocation: {
410
+ id: string;
411
+ latitude: number;
412
+ longitude: number;
413
+ created_at: string;
414
+ updated_at: string;
415
+ state: string;
416
+ country: string;
417
+ city: string;
418
+ } | null;
419
+ }, {
420
+ id: string;
421
+ phoneNumber: string;
422
+ secondaryPhoneNumber: string | null;
423
+ fullName: string;
424
+ profilePictureUrl: string | null;
425
+ created_at: string;
426
+ updated_at: string;
427
+ tags: {
428
+ id: string;
429
+ name: string;
430
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
431
+ created_at: string;
432
+ updated_at: string;
433
+ groupId: string;
434
+ group: {
435
+ id: string;
436
+ color: string;
437
+ isExclusive: boolean;
438
+ };
439
+ }[];
440
+ shortId: number;
441
+ firstName: string | null;
442
+ gender: string | null;
443
+ birthDate: string | null;
444
+ instagram: string | null;
445
+ mail: string | null;
446
+ dni: string | null;
447
+ alternativeNames: string[] | null;
448
+ birthLocationId: string | null;
449
+ residenceLocationId: string | null;
450
+ isInTrash: boolean;
451
+ movedToTrashDate: string | null;
452
+ birthLocation: {
453
+ id: string;
454
+ latitude: number;
455
+ longitude: number;
456
+ created_at: string;
457
+ updated_at: string;
458
+ state: string;
459
+ country: string;
460
+ city: string;
461
+ } | null;
462
+ residenceLocation: {
463
+ id: string;
464
+ latitude: number;
465
+ longitude: number;
466
+ created_at: string;
467
+ updated_at: string;
468
+ state: string;
469
+ country: string;
470
+ city: string;
471
+ } | null;
472
+ }>>;
473
+ export declare class FindByIdProfileResponseDto extends FindByIdProfileResponseDto_base {
474
+ }
475
+ export {};
@@ -0,0 +1,27 @@
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.FindByIdProfileResponseDto = exports.findByIdProfileResponseSchema = void 0;
7
+ const location_dto_1 = require("../../location/dto/location.dto");
8
+ const profile_dto_1 = require("./profile.dto");
9
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
10
+ const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
11
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
12
+ const zod_1 = __importDefault(require("zod"));
13
+ exports.findByIdProfileResponseSchema = profile_dto_1.profileSchema.extend({
14
+ residenceLocation: location_dto_1.locationSchema.nullable(),
15
+ birthLocation: location_dto_1.locationSchema.nullable(),
16
+ tags: zod_1.default.array(tag_dto_1.tagSchema.extend({
17
+ group: tag_group_dto_1.tagGroupSchema.pick({
18
+ id: true,
19
+ color: true,
20
+ isExclusive: true,
21
+ }),
22
+ })),
23
+ });
24
+ class FindByIdProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByIdProfileResponseSchema) {
25
+ }
26
+ exports.FindByIdProfileResponseDto = FindByIdProfileResponseDto;
27
+ //# sourceMappingURL=find-by-id-profile.dto.js.map
@@ -511,6 +511,38 @@ export interface paths {
511
511
  patch?: never;
512
512
  trace?: never;
513
513
  };
514
+ "/profile/all": {
515
+ parameters: {
516
+ query?: never;
517
+ header?: never;
518
+ path?: never;
519
+ cookie?: never;
520
+ };
521
+ get: operations["ProfileController_findAll"];
522
+ put?: never;
523
+ post?: never;
524
+ delete?: never;
525
+ options?: never;
526
+ head?: never;
527
+ patch?: never;
528
+ trace?: never;
529
+ };
530
+ "/profile/{id}": {
531
+ parameters: {
532
+ query?: never;
533
+ header?: never;
534
+ path?: never;
535
+ cookie?: never;
536
+ };
537
+ get: operations["ProfileController_findById"];
538
+ put?: never;
539
+ post?: never;
540
+ delete?: never;
541
+ options?: never;
542
+ head?: never;
543
+ patch?: never;
544
+ trace?: never;
545
+ };
514
546
  }
515
547
  export type webhooks = Record<string, never>;
516
548
  export interface components {
@@ -1045,6 +1077,95 @@ export interface components {
1045
1077
  created_at: string;
1046
1078
  updated_at: string;
1047
1079
  };
1080
+ FindAllProfileResponseDto: {
1081
+ profiles: {
1082
+ id: string;
1083
+ shortId: number;
1084
+ phoneNumber: string;
1085
+ secondaryPhoneNumber: string | null;
1086
+ fullName: string;
1087
+ firstName: string | null;
1088
+ gender: string | null;
1089
+ birthDate: string | null;
1090
+ profilePictureUrl: string | null;
1091
+ instagram: string | null;
1092
+ mail: string | null;
1093
+ dni: string | null;
1094
+ alternativeNames: string[] | null;
1095
+ birthLocationId: string | null;
1096
+ residenceLocationId: string | null;
1097
+ isInTrash: boolean;
1098
+ movedToTrashDate: string | null;
1099
+ created_at: string;
1100
+ updated_at: string;
1101
+ tags: {
1102
+ id: string;
1103
+ name: string;
1104
+ groupId: string;
1105
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1106
+ created_at: string;
1107
+ updated_at: string;
1108
+ group: {
1109
+ color: string;
1110
+ isExclusive: boolean;
1111
+ };
1112
+ }[];
1113
+ }[];
1114
+ };
1115
+ FindByIdProfileResponseDto: {
1116
+ id: string;
1117
+ shortId: number;
1118
+ phoneNumber: string;
1119
+ secondaryPhoneNumber: string | null;
1120
+ fullName: string;
1121
+ firstName: string | null;
1122
+ gender: string | null;
1123
+ birthDate: string | null;
1124
+ profilePictureUrl: string | null;
1125
+ instagram: string | null;
1126
+ mail: string | null;
1127
+ dni: string | null;
1128
+ alternativeNames: string[] | null;
1129
+ birthLocationId: string | null;
1130
+ residenceLocationId: string | null;
1131
+ isInTrash: boolean;
1132
+ movedToTrashDate: string | null;
1133
+ created_at: string;
1134
+ updated_at: string;
1135
+ residenceLocation: {
1136
+ id?: string;
1137
+ latitude?: number;
1138
+ longitude?: number;
1139
+ country?: string;
1140
+ state?: string;
1141
+ city?: string;
1142
+ created_at?: string;
1143
+ updated_at?: string;
1144
+ } | null;
1145
+ birthLocation: {
1146
+ id?: string;
1147
+ latitude?: number;
1148
+ longitude?: number;
1149
+ country?: string;
1150
+ state?: string;
1151
+ city?: string;
1152
+ created_at?: string;
1153
+ updated_at?: string;
1154
+ } | null;
1155
+ tags: {
1156
+ id: string;
1157
+ name: string;
1158
+ groupId: string;
1159
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1160
+ created_at: string;
1161
+ updated_at: string;
1162
+ group: {
1163
+ id: string;
1164
+ color: string;
1165
+ isExclusive: boolean;
1166
+ };
1167
+ }[];
1168
+ };
1048
1169
  };
1049
1170
  responses: never;
1050
1171
  parameters: never;
@@ -2013,4 +2134,52 @@ export interface operations {
2013
2134
  };
2014
2135
  };
2015
2136
  };
2137
+ ProfileController_findAll: {
2138
+ parameters: {
2139
+ query?: never;
2140
+ header?: never;
2141
+ path?: never;
2142
+ cookie?: never;
2143
+ };
2144
+ requestBody?: never;
2145
+ responses: {
2146
+ 200: {
2147
+ headers: {
2148
+ [name: string]: unknown;
2149
+ };
2150
+ content: {
2151
+ "application/json": components["schemas"]["FindAllProfileResponseDto"];
2152
+ };
2153
+ };
2154
+ };
2155
+ };
2156
+ ProfileController_findById: {
2157
+ parameters: {
2158
+ query?: never;
2159
+ header?: never;
2160
+ path: {
2161
+ id: string;
2162
+ };
2163
+ cookie?: never;
2164
+ };
2165
+ requestBody?: never;
2166
+ responses: {
2167
+ 200: {
2168
+ headers: {
2169
+ [name: string]: unknown;
2170
+ };
2171
+ content: {
2172
+ "application/json": components["schemas"]["FindByIdProfileResponseDto"];
2173
+ };
2174
+ };
2175
+ 404: {
2176
+ headers: {
2177
+ [name: string]: unknown;
2178
+ };
2179
+ content: {
2180
+ "application/json": components["schemas"]["ErrorDto"];
2181
+ };
2182
+ };
2183
+ };
2184
+ };
2016
2185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.9.0-EXPO-249-EB-Modelo.1",
3
+ "version": "0.9.0-EXPO-249-EB-Modelo.3",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,