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,360 +0,0 @@
1
- import z from 'zod';
2
- export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
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
- }, "phoneNumber" | "secondaryPhoneNumber" | "fullName" | "profilePictureUrl" | "gender" | "birthDate" | "instagram" | "mail" | "dni" | "alternativeNames" | "isInTrash" | "movedToTrashDate">, {
23
- residence: z.ZodOptional<z.ZodObject<Pick<{
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
- }, "latitude" | "longitude" | "state" | "country" | "city">, "strip", z.ZodTypeAny, {
33
- latitude: number;
34
- longitude: number;
35
- state: string;
36
- country: string;
37
- city: string;
38
- }, {
39
- latitude: number;
40
- longitude: number;
41
- state: string;
42
- country: string;
43
- city: string;
44
- }>>;
45
- birth: z.ZodOptional<z.ZodObject<Pick<{
46
- id: z.ZodString;
47
- latitude: z.ZodNumber;
48
- longitude: z.ZodNumber;
49
- country: z.ZodString;
50
- state: z.ZodString;
51
- city: z.ZodString;
52
- created_at: z.ZodDate;
53
- updated_at: z.ZodDate;
54
- }, "latitude" | "longitude" | "state" | "country" | "city">, "strip", z.ZodTypeAny, {
55
- latitude: number;
56
- longitude: number;
57
- state: string;
58
- country: string;
59
- city: string;
60
- }, {
61
- latitude: number;
62
- longitude: number;
63
- state: string;
64
- country: string;
65
- city: string;
66
- }>>;
67
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
68
- }>, "strip", z.ZodTypeAny, {
69
- phoneNumber: string;
70
- secondaryPhoneNumber: string | null;
71
- fullName: string;
72
- profilePictureUrl: string | null;
73
- gender: string | null;
74
- birthDate: Date | null;
75
- instagram: string | null;
76
- mail: string | null;
77
- dni: string | null;
78
- alternativeNames: string[];
79
- isInTrash: boolean;
80
- movedToTrashDate: Date | null;
81
- tags?: string[] | undefined;
82
- residence?: {
83
- latitude: number;
84
- longitude: number;
85
- state: string;
86
- country: string;
87
- city: string;
88
- } | undefined;
89
- birth?: {
90
- latitude: number;
91
- longitude: number;
92
- state: string;
93
- country: string;
94
- city: string;
95
- } | undefined;
96
- }, {
97
- phoneNumber: string;
98
- secondaryPhoneNumber: string | null;
99
- fullName: string;
100
- profilePictureUrl: string | null;
101
- gender: string | null;
102
- birthDate: string | null;
103
- instagram: string | null;
104
- mail: string | null;
105
- dni: string | null;
106
- alternativeNames: string[];
107
- isInTrash: boolean;
108
- movedToTrashDate: Date | null;
109
- tags?: string[] | undefined;
110
- residence?: {
111
- latitude: number;
112
- longitude: number;
113
- state: string;
114
- country: string;
115
- city: string;
116
- } | undefined;
117
- birth?: {
118
- latitude: number;
119
- longitude: number;
120
- state: string;
121
- country: string;
122
- city: string;
123
- } | undefined;
124
- }>;
125
- declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
126
- phoneNumber: z.ZodEffects<z.ZodString, string, string>;
127
- secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
128
- fullName: z.ZodString;
129
- profilePictureUrl: z.ZodNullable<z.ZodString>;
130
- gender: z.ZodNullable<z.ZodString>;
131
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
132
- instagram: z.ZodNullable<z.ZodString>;
133
- mail: z.ZodNullable<z.ZodString>;
134
- dni: z.ZodNullable<z.ZodString>;
135
- alternativeNames: z.ZodArray<z.ZodString, "many">;
136
- isInTrash: z.ZodBoolean;
137
- movedToTrashDate: z.ZodNullable<z.ZodString>;
138
- residence: z.ZodOptional<z.ZodObject<{
139
- latitude: z.ZodNumber;
140
- longitude: z.ZodNumber;
141
- state: z.ZodString;
142
- country: z.ZodString;
143
- city: z.ZodString;
144
- }, z.UnknownKeysParam, z.ZodTypeAny, {
145
- latitude: number;
146
- longitude: number;
147
- state: string;
148
- country: string;
149
- city: string;
150
- }, {
151
- latitude: number;
152
- longitude: number;
153
- state: string;
154
- country: string;
155
- city: string;
156
- }>>;
157
- birth: z.ZodOptional<z.ZodObject<{
158
- latitude: z.ZodNumber;
159
- longitude: z.ZodNumber;
160
- state: z.ZodString;
161
- country: z.ZodString;
162
- city: z.ZodString;
163
- }, z.UnknownKeysParam, z.ZodTypeAny, {
164
- latitude: number;
165
- longitude: number;
166
- state: string;
167
- country: string;
168
- city: string;
169
- }, {
170
- latitude: number;
171
- longitude: number;
172
- state: string;
173
- country: string;
174
- city: string;
175
- }>>;
176
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
177
- }, z.UnknownKeysParam, z.ZodTypeAny, {
178
- phoneNumber: string;
179
- secondaryPhoneNumber: string | null;
180
- fullName: string;
181
- profilePictureUrl: string | null;
182
- gender: string | null;
183
- birthDate: Date | null;
184
- instagram: string | null;
185
- mail: string | null;
186
- dni: string | null;
187
- alternativeNames: string[];
188
- isInTrash: boolean;
189
- movedToTrashDate: string | null;
190
- tags?: string[] | undefined;
191
- residence?: {
192
- latitude: number;
193
- longitude: number;
194
- state: string;
195
- country: string;
196
- city: string;
197
- } | undefined;
198
- birth?: {
199
- latitude: number;
200
- longitude: number;
201
- state: string;
202
- country: string;
203
- city: string;
204
- } | undefined;
205
- }, {
206
- phoneNumber: string;
207
- secondaryPhoneNumber: string | null;
208
- fullName: string;
209
- profilePictureUrl: string | null;
210
- gender: string | null;
211
- birthDate: string | null;
212
- instagram: string | null;
213
- mail: string | null;
214
- dni: string | null;
215
- alternativeNames: string[];
216
- isInTrash: boolean;
217
- movedToTrashDate: string | null;
218
- tags?: string[] | undefined;
219
- residence?: {
220
- latitude: number;
221
- longitude: number;
222
- state: string;
223
- country: string;
224
- city: string;
225
- } | undefined;
226
- birth?: {
227
- latitude: number;
228
- longitude: number;
229
- state: string;
230
- country: string;
231
- city: string;
232
- } | undefined;
233
- }>>;
234
- export declare class UpdateProfileDto extends UpdateProfileDto_base {
235
- }
236
- export declare const updateProfileResponseSchema: z.ZodObject<{
237
- id: z.ZodString;
238
- shortId: z.ZodNumber;
239
- phoneNumber: z.ZodEffects<z.ZodString, string, string>;
240
- secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
241
- fullName: z.ZodString;
242
- firstName: z.ZodNullable<z.ZodString>;
243
- gender: z.ZodNullable<z.ZodString>;
244
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
245
- profilePictureUrl: z.ZodNullable<z.ZodString>;
246
- instagram: z.ZodNullable<z.ZodString>;
247
- mail: z.ZodNullable<z.ZodString>;
248
- dni: z.ZodNullable<z.ZodString>;
249
- alternativeNames: z.ZodArray<z.ZodString, "many">;
250
- birthLocationId: z.ZodNullable<z.ZodString>;
251
- residenceLocationId: z.ZodNullable<z.ZodString>;
252
- isInTrash: z.ZodBoolean;
253
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
254
- created_at: z.ZodDate;
255
- updated_at: z.ZodDate;
256
- }, "strip", z.ZodTypeAny, {
257
- id: string;
258
- phoneNumber: string;
259
- secondaryPhoneNumber: string | null;
260
- fullName: string;
261
- profilePictureUrl: string | null;
262
- created_at: Date;
263
- updated_at: Date;
264
- shortId: number;
265
- firstName: string | null;
266
- gender: string | null;
267
- birthDate: Date | null;
268
- instagram: string | null;
269
- mail: string | null;
270
- dni: string | null;
271
- alternativeNames: string[];
272
- birthLocationId: string | null;
273
- residenceLocationId: string | null;
274
- isInTrash: boolean;
275
- movedToTrashDate: Date | null;
276
- }, {
277
- id: string;
278
- phoneNumber: string;
279
- secondaryPhoneNumber: string | null;
280
- fullName: string;
281
- profilePictureUrl: string | null;
282
- created_at: Date;
283
- updated_at: Date;
284
- shortId: number;
285
- firstName: string | null;
286
- gender: string | null;
287
- birthDate: string | null;
288
- instagram: string | null;
289
- mail: string | null;
290
- dni: string | null;
291
- alternativeNames: string[];
292
- birthLocationId: string | null;
293
- residenceLocationId: string | null;
294
- isInTrash: boolean;
295
- movedToTrashDate: Date | null;
296
- }>;
297
- declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
298
- id: z.ZodString;
299
- shortId: z.ZodNumber;
300
- phoneNumber: z.ZodEffects<z.ZodString, string, string>;
301
- secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
302
- fullName: z.ZodString;
303
- firstName: z.ZodNullable<z.ZodString>;
304
- gender: z.ZodNullable<z.ZodString>;
305
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
306
- profilePictureUrl: z.ZodNullable<z.ZodString>;
307
- instagram: z.ZodNullable<z.ZodString>;
308
- mail: z.ZodNullable<z.ZodString>;
309
- dni: z.ZodNullable<z.ZodString>;
310
- alternativeNames: z.ZodArray<z.ZodString, "many">;
311
- birthLocationId: z.ZodNullable<z.ZodString>;
312
- residenceLocationId: z.ZodNullable<z.ZodString>;
313
- isInTrash: z.ZodBoolean;
314
- movedToTrashDate: z.ZodNullable<z.ZodString>;
315
- created_at: z.ZodString;
316
- updated_at: z.ZodString;
317
- }, z.UnknownKeysParam, z.ZodTypeAny, {
318
- id: string;
319
- phoneNumber: string;
320
- secondaryPhoneNumber: string | null;
321
- fullName: string;
322
- profilePictureUrl: string | null;
323
- created_at: string;
324
- updated_at: string;
325
- shortId: number;
326
- firstName: string | null;
327
- gender: string | null;
328
- birthDate: Date | null;
329
- instagram: string | null;
330
- mail: string | null;
331
- dni: string | null;
332
- alternativeNames: string[];
333
- birthLocationId: string | null;
334
- residenceLocationId: string | null;
335
- isInTrash: boolean;
336
- movedToTrashDate: string | null;
337
- }, {
338
- id: string;
339
- phoneNumber: string;
340
- secondaryPhoneNumber: string | null;
341
- fullName: string;
342
- profilePictureUrl: string | null;
343
- created_at: string;
344
- updated_at: string;
345
- shortId: number;
346
- firstName: string | null;
347
- gender: string | null;
348
- birthDate: string | null;
349
- instagram: string | null;
350
- mail: string | null;
351
- dni: string | null;
352
- alternativeNames: string[];
353
- birthLocationId: string | null;
354
- residenceLocationId: string | null;
355
- isInTrash: boolean;
356
- movedToTrashDate: string | null;
357
- }>>;
358
- export declare class UpdateProfileResponseDto extends UpdateProfileResponseDto_base {
359
- }
360
- export {};
@@ -1,55 +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.UpdateProfileResponseDto = exports.updateProfileResponseSchema = exports.UpdateProfileDto = exports.updateProfileSchema = 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_dto_1 = require("../../tag/dto/tag.dto");
11
- const zod_1 = __importDefault(require("zod"));
12
- exports.updateProfileSchema = profile_dto_1.profileSchema
13
- .pick({
14
- alternativeNames: true,
15
- birthDate: true,
16
- dni: true,
17
- fullName: true,
18
- gender: true,
19
- instagram: true,
20
- mail: true,
21
- phoneNumber: true,
22
- profilePictureUrl: true,
23
- secondaryPhoneNumber: true,
24
- isInTrash: true,
25
- movedToTrashDate: true,
26
- })
27
- .merge(zod_1.default.object({
28
- residence: location_dto_1.locationSchema
29
- .pick({
30
- city: true,
31
- country: true,
32
- latitude: true,
33
- longitude: true,
34
- state: true,
35
- })
36
- .optional(),
37
- birth: location_dto_1.locationSchema
38
- .pick({
39
- city: true,
40
- country: true,
41
- latitude: true,
42
- longitude: true,
43
- state: true,
44
- })
45
- .optional(),
46
- tags: zod_1.default.array(tag_dto_1.tagSchema.shape.id).optional(),
47
- }));
48
- class UpdateProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateProfileSchema) {
49
- }
50
- exports.UpdateProfileDto = UpdateProfileDto;
51
- exports.updateProfileResponseSchema = profile_dto_1.profileSchema;
52
- class UpdateProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateProfileResponseSchema) {
53
- }
54
- exports.UpdateProfileResponseDto = UpdateProfileResponseDto;
55
- //# sourceMappingURL=update-profile.dto.js.map