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

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.
@@ -293,6 +293,15 @@ declare const _default: {
293
293
  readonly 'find-all': {
294
294
  readonly success: "Perfiles obtenidos";
295
295
  };
296
+ readonly 'find-by-id': {
297
+ readonly 'not-found': "Perfil no encontrado";
298
+ readonly success: "Perfil obtenido";
299
+ };
300
+ readonly 'find-by-tag': {
301
+ readonly 'not-found': "Perfil no encontrado";
302
+ readonly 'tags-not-found': "Alguna de las etiquetas no existe";
303
+ readonly success: "Perfiles obtenidos";
304
+ };
296
305
  };
297
306
  };
298
307
  };
@@ -295,6 +295,15 @@ exports.default = {
295
295
  'find-all': {
296
296
  success: 'Perfiles obtenidos',
297
297
  },
298
+ 'find-by-id': {
299
+ 'not-found': 'Perfil no encontrado',
300
+ success: 'Perfil obtenido',
301
+ },
302
+ 'find-by-tag': {
303
+ 'not-found': 'Perfil no encontrado',
304
+ 'tags-not-found': 'Alguna de las etiquetas no existe',
305
+ success: 'Perfiles obtenidos',
306
+ },
298
307
  },
299
308
  },
300
309
  };
@@ -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,EA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QACD,cAAc,EAAE;YACd,MAAM,EAAE;gBACN,OAAO,EAAE,oCAAoC;gBAC7C,QAAQ,EAAE,8CAA8C;aACzD;YACD,SAAS,EAAE;gBACT,OAAO,EAAE,wCAAwC;gBACjD,WAAW,EAAE,sCAAsC;aACpD;YACD,WAAW,EAAE;gBACX,OAAO,EAAE,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;YACD,aAAa,EAAE;gBACb,WAAW,EAAE,sBAAsB;gBACnC,gBAAgB,EAAE,mCAAmC;gBACrD,OAAO,EAAE,oBAAoB;aAC9B;SACF;KACF;CACO,CAAC"}
@@ -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
+ residenceLocation: {
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
+ birthLocation: {
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
+ residenceLocation: {
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
+ birthLocation: {
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
+ residenceLocation: {
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
+ birthLocation: {
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
+ residenceLocation: {
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
+ birthLocation: {
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
@@ -0,0 +1,393 @@
1
+ import z from 'zod';
2
+ export declare const findByTagsProfileResponseSchema: 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
+ }, "isExclusive">, "strip", z.ZodTypeAny, {
45
+ isExclusive: boolean;
46
+ }, {
47
+ isExclusive: boolean;
48
+ }>;
49
+ }>, "strip", z.ZodTypeAny, {
50
+ id: string;
51
+ name: string;
52
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
53
+ created_at: Date;
54
+ updated_at: Date;
55
+ groupId: string;
56
+ group: {
57
+ isExclusive: boolean;
58
+ };
59
+ }, {
60
+ id: string;
61
+ name: string;
62
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
63
+ created_at: Date;
64
+ updated_at: Date;
65
+ groupId: string;
66
+ group: {
67
+ isExclusive: boolean;
68
+ };
69
+ }>, "many">;
70
+ }>, "strip", z.ZodTypeAny, {
71
+ id: string;
72
+ phoneNumber: string;
73
+ secondaryPhoneNumber: string | null;
74
+ fullName: string;
75
+ profilePictureUrl: string | null;
76
+ created_at: Date;
77
+ updated_at: Date;
78
+ tags: {
79
+ id: string;
80
+ name: string;
81
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
82
+ created_at: Date;
83
+ updated_at: Date;
84
+ groupId: string;
85
+ group: {
86
+ isExclusive: boolean;
87
+ };
88
+ }[];
89
+ shortId: number;
90
+ firstName: string | null;
91
+ gender: string | null;
92
+ birthDate: Date | null;
93
+ instagram: string | null;
94
+ mail: string | null;
95
+ dni: string | null;
96
+ alternativeNames: string[] | null;
97
+ birthLocationId: string | null;
98
+ residenceLocationId: string | null;
99
+ isInTrash: boolean;
100
+ movedToTrashDate: Date | null;
101
+ }, {
102
+ id: string;
103
+ phoneNumber: string;
104
+ secondaryPhoneNumber: string | null;
105
+ fullName: string;
106
+ profilePictureUrl: string | null;
107
+ created_at: Date;
108
+ updated_at: Date;
109
+ tags: {
110
+ id: string;
111
+ name: string;
112
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
113
+ created_at: Date;
114
+ updated_at: Date;
115
+ groupId: string;
116
+ group: {
117
+ isExclusive: boolean;
118
+ };
119
+ }[];
120
+ shortId: number;
121
+ firstName: string | null;
122
+ gender: string | null;
123
+ birthDate: Date | null;
124
+ instagram: string | null;
125
+ mail: string | null;
126
+ dni: string | null;
127
+ alternativeNames: string[] | null;
128
+ birthLocationId: string | null;
129
+ residenceLocationId: string | null;
130
+ isInTrash: boolean;
131
+ movedToTrashDate: Date | null;
132
+ }>, "many">;
133
+ }, "strip", z.ZodTypeAny, {
134
+ profiles: {
135
+ id: string;
136
+ phoneNumber: string;
137
+ secondaryPhoneNumber: string | null;
138
+ fullName: string;
139
+ profilePictureUrl: string | null;
140
+ created_at: Date;
141
+ updated_at: Date;
142
+ tags: {
143
+ id: string;
144
+ name: string;
145
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
146
+ created_at: Date;
147
+ updated_at: Date;
148
+ groupId: string;
149
+ group: {
150
+ isExclusive: boolean;
151
+ };
152
+ }[];
153
+ shortId: number;
154
+ firstName: string | null;
155
+ gender: string | null;
156
+ birthDate: Date | null;
157
+ instagram: string | null;
158
+ mail: string | null;
159
+ dni: string | null;
160
+ alternativeNames: string[] | null;
161
+ birthLocationId: string | null;
162
+ residenceLocationId: string | null;
163
+ isInTrash: boolean;
164
+ movedToTrashDate: Date | null;
165
+ }[];
166
+ }, {
167
+ profiles: {
168
+ id: string;
169
+ phoneNumber: string;
170
+ secondaryPhoneNumber: string | null;
171
+ fullName: string;
172
+ profilePictureUrl: string | null;
173
+ created_at: Date;
174
+ updated_at: Date;
175
+ tags: {
176
+ id: string;
177
+ name: string;
178
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
179
+ created_at: Date;
180
+ updated_at: Date;
181
+ groupId: string;
182
+ group: {
183
+ isExclusive: boolean;
184
+ };
185
+ }[];
186
+ shortId: number;
187
+ firstName: string | null;
188
+ gender: string | null;
189
+ birthDate: Date | null;
190
+ instagram: string | null;
191
+ mail: string | null;
192
+ dni: string | null;
193
+ alternativeNames: string[] | null;
194
+ birthLocationId: string | null;
195
+ residenceLocationId: string | null;
196
+ isInTrash: boolean;
197
+ movedToTrashDate: Date | null;
198
+ }[];
199
+ }>;
200
+ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
201
+ profiles: z.ZodArray<z.ZodObject<{
202
+ id: z.ZodString;
203
+ shortId: z.ZodNumber;
204
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
205
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
206
+ fullName: z.ZodString;
207
+ firstName: z.ZodNullable<z.ZodString>;
208
+ gender: z.ZodNullable<z.ZodString>;
209
+ birthDate: z.ZodNullable<z.ZodString>;
210
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
211
+ instagram: z.ZodNullable<z.ZodString>;
212
+ mail: z.ZodNullable<z.ZodString>;
213
+ dni: z.ZodNullable<z.ZodString>;
214
+ alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
215
+ birthLocationId: z.ZodNullable<z.ZodString>;
216
+ residenceLocationId: z.ZodNullable<z.ZodString>;
217
+ isInTrash: z.ZodBoolean;
218
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
219
+ created_at: z.ZodString;
220
+ updated_at: z.ZodString;
221
+ tags: z.ZodArray<z.ZodObject<{
222
+ id: z.ZodString;
223
+ name: z.ZodString;
224
+ groupId: z.ZodString;
225
+ type: z.ZodNativeEnum<{
226
+ PROFILE: "PROFILE";
227
+ EVENT: "EVENT";
228
+ PARTICIPANT: "PARTICIPANT";
229
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
230
+ }>;
231
+ created_at: z.ZodString;
232
+ updated_at: z.ZodString;
233
+ group: z.ZodObject<{
234
+ isExclusive: z.ZodBoolean;
235
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
236
+ isExclusive: boolean;
237
+ }, {
238
+ isExclusive: boolean;
239
+ }>;
240
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
241
+ id: string;
242
+ name: string;
243
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
244
+ created_at: string;
245
+ updated_at: string;
246
+ groupId: string;
247
+ group: {
248
+ isExclusive: boolean;
249
+ };
250
+ }, {
251
+ id: string;
252
+ name: string;
253
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
254
+ created_at: string;
255
+ updated_at: string;
256
+ groupId: string;
257
+ group: {
258
+ isExclusive: boolean;
259
+ };
260
+ }>, "many">;
261
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
262
+ id: string;
263
+ phoneNumber: string;
264
+ secondaryPhoneNumber: string | null;
265
+ fullName: string;
266
+ profilePictureUrl: string | null;
267
+ created_at: string;
268
+ updated_at: string;
269
+ tags: {
270
+ id: string;
271
+ name: string;
272
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
273
+ created_at: string;
274
+ updated_at: string;
275
+ groupId: string;
276
+ group: {
277
+ isExclusive: boolean;
278
+ };
279
+ }[];
280
+ shortId: number;
281
+ firstName: string | null;
282
+ gender: string | null;
283
+ birthDate: string | null;
284
+ instagram: string | null;
285
+ mail: string | null;
286
+ dni: string | null;
287
+ alternativeNames: string[] | null;
288
+ birthLocationId: string | null;
289
+ residenceLocationId: string | null;
290
+ isInTrash: boolean;
291
+ movedToTrashDate: string | null;
292
+ }, {
293
+ id: string;
294
+ phoneNumber: string;
295
+ secondaryPhoneNumber: string | null;
296
+ fullName: string;
297
+ profilePictureUrl: string | null;
298
+ created_at: string;
299
+ updated_at: string;
300
+ tags: {
301
+ id: string;
302
+ name: string;
303
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
304
+ created_at: string;
305
+ updated_at: string;
306
+ groupId: string;
307
+ group: {
308
+ isExclusive: boolean;
309
+ };
310
+ }[];
311
+ shortId: number;
312
+ firstName: string | null;
313
+ gender: string | null;
314
+ birthDate: string | null;
315
+ instagram: string | null;
316
+ mail: string | null;
317
+ dni: string | null;
318
+ alternativeNames: string[] | null;
319
+ birthLocationId: string | null;
320
+ residenceLocationId: string | null;
321
+ isInTrash: boolean;
322
+ movedToTrashDate: string | null;
323
+ }>, "many">;
324
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
325
+ profiles: {
326
+ id: string;
327
+ phoneNumber: string;
328
+ secondaryPhoneNumber: string | null;
329
+ fullName: string;
330
+ profilePictureUrl: string | null;
331
+ created_at: string;
332
+ updated_at: string;
333
+ tags: {
334
+ id: string;
335
+ name: string;
336
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
337
+ created_at: string;
338
+ updated_at: string;
339
+ groupId: string;
340
+ group: {
341
+ isExclusive: boolean;
342
+ };
343
+ }[];
344
+ shortId: number;
345
+ firstName: string | null;
346
+ gender: string | null;
347
+ birthDate: string | null;
348
+ instagram: string | null;
349
+ mail: string | null;
350
+ dni: string | null;
351
+ alternativeNames: string[] | null;
352
+ birthLocationId: string | null;
353
+ residenceLocationId: string | null;
354
+ isInTrash: boolean;
355
+ movedToTrashDate: string | null;
356
+ }[];
357
+ }, {
358
+ profiles: {
359
+ id: string;
360
+ phoneNumber: string;
361
+ secondaryPhoneNumber: string | null;
362
+ fullName: string;
363
+ profilePictureUrl: string | null;
364
+ created_at: string;
365
+ updated_at: string;
366
+ tags: {
367
+ id: string;
368
+ name: string;
369
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
370
+ created_at: string;
371
+ updated_at: string;
372
+ groupId: string;
373
+ group: {
374
+ isExclusive: boolean;
375
+ };
376
+ }[];
377
+ shortId: number;
378
+ firstName: string | null;
379
+ gender: string | null;
380
+ birthDate: string | null;
381
+ instagram: string | null;
382
+ mail: string | null;
383
+ dni: string | null;
384
+ alternativeNames: string[] | null;
385
+ birthLocationId: string | null;
386
+ residenceLocationId: string | null;
387
+ isInTrash: boolean;
388
+ movedToTrashDate: string | null;
389
+ }[];
390
+ }>>;
391
+ export declare class FindByTagsProfileResponseDto extends FindByTagsProfileResponseDto_base {
392
+ }
393
+ export {};
@@ -0,0 +1,24 @@
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.FindByTagsProfileResponseDto = exports.findByTagsProfileResponseSchema = 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.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({
15
+ group: tag_group_dto_1.tagGroupSchema.pick({
16
+ isExclusive: true,
17
+ }),
18
+ })),
19
+ })),
20
+ });
21
+ class FindByTagsProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByTagsProfileResponseSchema) {
22
+ }
23
+ exports.FindByTagsProfileResponseDto = FindByTagsProfileResponseDto;
24
+ //# sourceMappingURL=find-by-tags-profile.dto.js.map
@@ -1 +1,4 @@
1
+ export * from './dto/find-all-profile.dto';
2
+ export * from './dto/find-by-id-profile.dto';
3
+ export * from './dto/find-by-tags-profile.dto';
1
4
  export * from './dto/profile.dto';
@@ -14,5 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto/find-all-profile.dto"), exports);
18
+ __exportStar(require("./dto/find-by-id-profile.dto"), exports);
19
+ __exportStar(require("./dto/find-by-tags-profile.dto"), exports);
17
20
  __exportStar(require("./dto/profile.dto"), exports);
18
21
  //# sourceMappingURL=exports.js.map
@@ -527,6 +527,38 @@ export interface paths {
527
527
  patch?: never;
528
528
  trace?: never;
529
529
  };
530
+ "/profile/find-by-tags": {
531
+ parameters: {
532
+ query?: never;
533
+ header?: never;
534
+ path?: never;
535
+ cookie?: never;
536
+ };
537
+ get: operations["ProfileController_findByTag"];
538
+ put?: never;
539
+ post?: never;
540
+ delete?: never;
541
+ options?: never;
542
+ head?: never;
543
+ patch?: never;
544
+ trace?: never;
545
+ };
546
+ "/profile/{id}": {
547
+ parameters: {
548
+ query?: never;
549
+ header?: never;
550
+ path?: never;
551
+ cookie?: never;
552
+ };
553
+ get: operations["ProfileController_findById"];
554
+ put?: never;
555
+ post?: never;
556
+ delete?: never;
557
+ options?: never;
558
+ head?: never;
559
+ patch?: never;
560
+ trace?: never;
561
+ };
530
562
  }
531
563
  export type webhooks = Record<string, never>;
532
564
  export interface components {
@@ -1096,6 +1128,94 @@ export interface components {
1096
1128
  }[];
1097
1129
  }[];
1098
1130
  };
1131
+ FindByTagsProfileResponseDto: {
1132
+ profiles: {
1133
+ id: string;
1134
+ shortId: number;
1135
+ phoneNumber: string;
1136
+ secondaryPhoneNumber: string | null;
1137
+ fullName: string;
1138
+ firstName: string | null;
1139
+ gender: string | null;
1140
+ birthDate: string | null;
1141
+ profilePictureUrl: string | null;
1142
+ instagram: string | null;
1143
+ mail: string | null;
1144
+ dni: string | null;
1145
+ alternativeNames: string[] | null;
1146
+ birthLocationId: string | null;
1147
+ residenceLocationId: string | null;
1148
+ isInTrash: boolean;
1149
+ movedToTrashDate: string | null;
1150
+ created_at: string;
1151
+ updated_at: string;
1152
+ tags: {
1153
+ id: string;
1154
+ name: string;
1155
+ groupId: string;
1156
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1157
+ created_at: string;
1158
+ updated_at: string;
1159
+ group: {
1160
+ isExclusive: boolean;
1161
+ };
1162
+ }[];
1163
+ }[];
1164
+ };
1165
+ FindByIdProfileResponseDto: {
1166
+ id: string;
1167
+ shortId: number;
1168
+ phoneNumber: string;
1169
+ secondaryPhoneNumber: string | null;
1170
+ fullName: string;
1171
+ firstName: string | null;
1172
+ gender: string | null;
1173
+ birthDate: string | null;
1174
+ profilePictureUrl: string | null;
1175
+ instagram: string | null;
1176
+ mail: string | null;
1177
+ dni: string | null;
1178
+ alternativeNames: string[] | null;
1179
+ birthLocationId: string | null;
1180
+ residenceLocationId: string | null;
1181
+ isInTrash: boolean;
1182
+ movedToTrashDate: string | null;
1183
+ created_at: string;
1184
+ updated_at: string;
1185
+ residenceLocation: {
1186
+ id?: string;
1187
+ latitude?: number;
1188
+ longitude?: number;
1189
+ country?: string;
1190
+ state?: string;
1191
+ city?: string;
1192
+ created_at?: string;
1193
+ updated_at?: string;
1194
+ } | null;
1195
+ birthLocation: {
1196
+ id?: string;
1197
+ latitude?: number;
1198
+ longitude?: number;
1199
+ country?: string;
1200
+ state?: string;
1201
+ city?: string;
1202
+ created_at?: string;
1203
+ updated_at?: string;
1204
+ } | null;
1205
+ tags: {
1206
+ id: string;
1207
+ name: string;
1208
+ groupId: string;
1209
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1210
+ created_at: string;
1211
+ updated_at: string;
1212
+ group: {
1213
+ id: string;
1214
+ color: string;
1215
+ isExclusive: boolean;
1216
+ };
1217
+ }[];
1218
+ };
1099
1219
  };
1100
1220
  responses: never;
1101
1221
  parameters: never;
@@ -2083,4 +2203,62 @@ export interface operations {
2083
2203
  };
2084
2204
  };
2085
2205
  };
2206
+ ProfileController_findByTag: {
2207
+ parameters: {
2208
+ query: {
2209
+ tags: string[];
2210
+ };
2211
+ header?: never;
2212
+ path?: never;
2213
+ cookie?: never;
2214
+ };
2215
+ requestBody?: never;
2216
+ responses: {
2217
+ 200: {
2218
+ headers: {
2219
+ [name: string]: unknown;
2220
+ };
2221
+ content: {
2222
+ "application/json": components["schemas"]["FindByTagsProfileResponseDto"];
2223
+ };
2224
+ };
2225
+ 404: {
2226
+ headers: {
2227
+ [name: string]: unknown;
2228
+ };
2229
+ content: {
2230
+ "application/json": components["schemas"]["ErrorDto"];
2231
+ };
2232
+ };
2233
+ };
2234
+ };
2235
+ ProfileController_findById: {
2236
+ parameters: {
2237
+ query?: never;
2238
+ header?: never;
2239
+ path: {
2240
+ id: string;
2241
+ };
2242
+ cookie?: never;
2243
+ };
2244
+ requestBody?: never;
2245
+ responses: {
2246
+ 200: {
2247
+ headers: {
2248
+ [name: string]: unknown;
2249
+ };
2250
+ content: {
2251
+ "application/json": components["schemas"]["FindByIdProfileResponseDto"];
2252
+ };
2253
+ };
2254
+ 404: {
2255
+ headers: {
2256
+ [name: string]: unknown;
2257
+ };
2258
+ content: {
2259
+ "application/json": components["schemas"]["ErrorDto"];
2260
+ };
2261
+ };
2262
+ };
2263
+ };
2086
2264
  }
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.2",
3
+ "version": "0.9.0-EXPO-249-EB-Modelo.4",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,