expo-backend-types 0.9.0-EXPO-249-EB-Modelo.6 → 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 (49) 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 +16 -21
  23. package/dist/src/i18n/es.js +16 -21
  24. package/dist/src/i18n/es.js.map +1 -1
  25. package/dist/src/profile/dto/profile.dto.d.ts +2 -2
  26. package/dist/src/profile/dto/profile.dto.js +2 -6
  27. package/dist/src/profile/exports.d.ts +0 -5
  28. package/dist/src/profile/exports.js +0 -5
  29. package/dist/src/tag/dto/massive-allocation.dto.d.ts +6 -6
  30. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +6 -6
  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 +131 -261
  39. package/package.json +1 -2
  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/find-all-profile.dto.d.ts +0 -410
  43. package/dist/src/profile/dto/find-all-profile.dto.js +0 -25
  44. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +0 -475
  45. package/dist/src/profile/dto/find-by-id-profile.dto.js +0 -27
  46. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +0 -337
  47. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +0 -19
  48. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +0 -393
  49. package/dist/src/profile/dto/find-by-tags-profile.dto.js +0 -24
@@ -1,393 +0,0 @@
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.ZodPipeline<z.ZodString, z.ZodDate>>;
12
- profilePictureUrl: z.ZodNullable<z.ZodString>;
13
- instagram: z.ZodNullable<z.ZodString>;
14
- mail: z.ZodNullable<z.ZodString>;
15
- dni: z.ZodNullable<z.ZodString>;
16
- alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
17
- birthLocationId: z.ZodNullable<z.ZodString>;
18
- residenceLocationId: z.ZodNullable<z.ZodString>;
19
- isInTrash: z.ZodBoolean;
20
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
21
- created_at: z.ZodDate;
22
- updated_at: z.ZodDate;
23
- }, {
24
- tags: z.ZodArray<z.ZodObject<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: string | 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: string | 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.ZodPipeline<z.ZodString, z.ZodDate>>;
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: Date | 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: Date | 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 {};
@@ -1,24 +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.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.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
- 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