expo-backend-types 0.9.0-EXPO-249-EB-Modelo.7 → 0.9.0-EXPO-247-EB-Evento.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +4 -6
  2. package/dist/src/account/dto/create-account.dto.d.ts +8 -12
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +0 -1
  4. package/dist/src/account/dto/get-me.dto.d.ts +4 -6
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +4 -6
  6. package/dist/src/auth/dto/login.dto.d.ts +8 -11
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +0 -1
  8. package/dist/src/event/dto/create-event.dto.d.ts +126 -0
  9. package/dist/src/event/dto/create-event.dto.js +22 -0
  10. package/dist/src/event/dto/delete-event.dto.d.ts +71 -0
  11. package/dist/src/event/dto/delete-event.dto.js +10 -0
  12. package/dist/src/event/dto/get-all-event.dto.d.ts +223 -0
  13. package/dist/src/event/dto/get-all-event.dto.js +19 -0
  14. package/dist/src/event/dto/get-by-id-event.dto.d.ts +139 -0
  15. package/dist/src/event/dto/get-by-id-event.dto.js +17 -0
  16. package/dist/src/event/dto/update-event.dto.d.ts +126 -0
  17. package/dist/src/event/dto/update-event.dto.js +22 -0
  18. package/dist/src/event/exports.d.ts +5 -0
  19. package/dist/src/event/exports.js +5 -0
  20. package/dist/src/event-folder/dto/update-event-folder.dto.d.ts +14 -17
  21. package/dist/src/event-folder/dto/update-event-folder.dto.js +4 -2
  22. package/dist/src/i18n/es.d.ts +15 -33
  23. package/dist/src/i18n/es.js +15 -33
  24. package/dist/src/i18n/es.js.map +1 -1
  25. package/dist/src/profile/dto/profile.dto.d.ts +5 -5
  26. package/dist/src/profile/dto/profile.dto.js +3 -7
  27. package/dist/src/profile/exports.d.ts +0 -8
  28. package/dist/src/profile/exports.js +0 -8
  29. package/dist/src/tag/dto/massive-allocation.dto.d.ts +16 -16
  30. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +16 -16
  31. package/dist/types/prisma-schema/edge.js +4 -5
  32. package/dist/types/prisma-schema/index-browser.js +1 -2
  33. package/dist/types/prisma-schema/index.d.ts +2 -9
  34. package/dist/types/prisma-schema/index.js +4 -5
  35. package/dist/types/prisma-schema/package.json +1 -1
  36. package/dist/types/prisma-schema/schema.prisma +0 -2
  37. package/dist/types/prisma-schema/wasm.js +1 -2
  38. package/dist/types/schema.d.ts +158 -479
  39. package/package.json +1 -4
  40. package/dist/src/profile/dto/create-profile.dto.d.ts +0 -694
  41. package/dist/src/profile/dto/create-profile.dto.js +0 -84
  42. package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -125
  43. package/dist/src/profile/dto/delete-profile.dto.js +0 -10
  44. package/dist/src/profile/dto/find-all-profile.dto.d.ts +0 -410
  45. package/dist/src/profile/dto/find-all-profile.dto.js +0 -25
  46. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +0 -655
  47. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +0 -34
  48. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +0 -475
  49. package/dist/src/profile/dto/find-by-id-profile.dto.js +0 -27
  50. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +0 -337
  51. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +0 -19
  52. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +0 -393
  53. package/dist/src/profile/dto/find-by-tags-profile.dto.js +0 -24
  54. package/dist/src/profile/dto/update-profile.dto.d.ts +0 -360
  55. package/dist/src/profile/dto/update-profile.dto.js +0 -55
@@ -1,475 +0,0 @@
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.ZodPipeline<z.ZodString, 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.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[];
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: string | null;
211
- instagram: string | null;
212
- mail: string | null;
213
- dni: string | null;
214
- alternativeNames: string[];
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.ZodPipeline<z.ZodString, z.ZodDate>>;
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.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: Date | null;
391
- instagram: string | null;
392
- mail: string | null;
393
- dni: string | null;
394
- alternativeNames: string[];
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[];
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 {};
@@ -1,27 +0,0 @@
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.merge(zod_1.default.object({
14
- residenceLocation: location_dto_1.locationSchema.nullable(),
15
- birthLocation: location_dto_1.locationSchema.nullable(),
16
- tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
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