expo-backend-types 0.10.0-EXPO-247-EB-Evento.5 → 0.10.0-EXPO-247-EB-Evento.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +6 -4
  2. package/dist/src/account/dto/create-account.dto.d.ts +12 -8
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
  4. package/dist/src/account/dto/get-me.dto.d.ts +6 -4
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
  6. package/dist/src/auth/dto/login.dto.d.ts +11 -8
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
  8. package/dist/src/event-folder/dto/update-event-folder.dto.d.ts +17 -14
  9. package/dist/src/event-folder/dto/update-event-folder.dto.js +2 -4
  10. package/dist/src/i18n/es.d.ts +47 -0
  11. package/dist/src/i18n/es.js +47 -0
  12. package/dist/src/i18n/es.js.map +1 -1
  13. package/dist/src/profile/dto/create-profile.dto.d.ts +694 -0
  14. package/dist/src/profile/dto/create-profile.dto.js +84 -0
  15. package/dist/src/profile/dto/delete-profile.dto.d.ts +125 -0
  16. package/dist/src/profile/dto/delete-profile.dto.js +10 -0
  17. package/dist/src/profile/dto/find-all-profile.dto.d.ts +410 -0
  18. package/dist/src/profile/dto/find-all-profile.dto.js +25 -0
  19. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +655 -0
  20. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +34 -0
  21. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +475 -0
  22. package/dist/src/profile/dto/find-by-id-profile.dto.js +27 -0
  23. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +125 -0
  24. package/dist/src/profile/dto/find-by-phone-number.dto.js +10 -0
  25. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +337 -0
  26. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +19 -0
  27. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +393 -0
  28. package/dist/src/profile/dto/find-by-tags-profile.dto.js +24 -0
  29. package/dist/src/profile/dto/find-trash.dto.d.ts +110 -0
  30. package/dist/src/profile/dto/find-trash.dto.js +24 -0
  31. package/dist/src/profile/dto/profile.dto.d.ts +5 -5
  32. package/dist/src/profile/dto/profile.dto.js +7 -3
  33. package/dist/src/profile/dto/update-profile.dto.d.ts +360 -0
  34. package/dist/src/profile/dto/update-profile.dto.js +55 -0
  35. package/dist/src/profile/exports.d.ts +10 -0
  36. package/dist/src/profile/exports.js +10 -0
  37. package/dist/src/tag/dto/massive-allocation.dto.d.ts +16 -16
  38. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +16 -16
  39. package/dist/types/prisma-schema/edge.js +5 -4
  40. package/dist/types/prisma-schema/index-browser.js +2 -1
  41. package/dist/types/prisma-schema/index.d.ts +9 -2
  42. package/dist/types/prisma-schema/index.js +5 -4
  43. package/dist/types/prisma-schema/package.json +1 -1
  44. package/dist/types/prisma-schema/schema.prisma +2 -0
  45. package/dist/types/prisma-schema/wasm.js +2 -1
  46. package/dist/types/schema.d.ts +851 -160
  47. package/package.json +4 -1
@@ -0,0 +1,337 @@
1
+ import z from 'zod';
2
+ export declare const findByTagGroupsProfileResponseSchema: 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.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<{
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
+ }, "strip", z.ZodTypeAny, {
37
+ id: string;
38
+ name: string;
39
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
40
+ created_at: Date;
41
+ updated_at: Date;
42
+ groupId: string;
43
+ }, {
44
+ id: string;
45
+ name: string;
46
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
47
+ created_at: Date;
48
+ updated_at: Date;
49
+ groupId: string;
50
+ }>, "many">;
51
+ }>, "strip", z.ZodTypeAny, {
52
+ id: string;
53
+ phoneNumber: string;
54
+ secondaryPhoneNumber: string | null;
55
+ fullName: string;
56
+ profilePictureUrl: string | null;
57
+ created_at: Date;
58
+ updated_at: Date;
59
+ tags: {
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
+ }[];
67
+ shortId: number;
68
+ firstName: string | null;
69
+ gender: string | null;
70
+ birthDate: Date | null;
71
+ instagram: string | null;
72
+ mail: string | null;
73
+ dni: string | null;
74
+ alternativeNames: string[];
75
+ birthLocationId: string | null;
76
+ residenceLocationId: string | null;
77
+ isInTrash: boolean;
78
+ movedToTrashDate: Date | null;
79
+ }, {
80
+ id: string;
81
+ phoneNumber: string;
82
+ secondaryPhoneNumber: string | null;
83
+ fullName: string;
84
+ profilePictureUrl: string | null;
85
+ created_at: Date;
86
+ updated_at: Date;
87
+ tags: {
88
+ id: string;
89
+ name: string;
90
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
91
+ created_at: Date;
92
+ updated_at: Date;
93
+ groupId: string;
94
+ }[];
95
+ shortId: number;
96
+ firstName: string | null;
97
+ gender: string | null;
98
+ birthDate: string | null;
99
+ instagram: string | null;
100
+ mail: string | null;
101
+ dni: string | null;
102
+ alternativeNames: string[];
103
+ birthLocationId: string | null;
104
+ residenceLocationId: string | null;
105
+ isInTrash: boolean;
106
+ movedToTrashDate: Date | null;
107
+ }>, "many">;
108
+ }, "strip", z.ZodTypeAny, {
109
+ profiles: {
110
+ id: string;
111
+ phoneNumber: string;
112
+ secondaryPhoneNumber: string | null;
113
+ fullName: string;
114
+ profilePictureUrl: string | null;
115
+ created_at: Date;
116
+ updated_at: Date;
117
+ tags: {
118
+ id: string;
119
+ name: string;
120
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
121
+ created_at: Date;
122
+ updated_at: Date;
123
+ groupId: string;
124
+ }[];
125
+ shortId: number;
126
+ firstName: string | null;
127
+ gender: string | null;
128
+ birthDate: Date | null;
129
+ instagram: string | null;
130
+ mail: string | null;
131
+ dni: string | null;
132
+ alternativeNames: string[];
133
+ birthLocationId: string | null;
134
+ residenceLocationId: string | null;
135
+ isInTrash: boolean;
136
+ movedToTrashDate: Date | null;
137
+ }[];
138
+ }, {
139
+ profiles: {
140
+ id: string;
141
+ phoneNumber: string;
142
+ secondaryPhoneNumber: string | null;
143
+ fullName: string;
144
+ profilePictureUrl: string | null;
145
+ created_at: Date;
146
+ updated_at: Date;
147
+ tags: {
148
+ id: string;
149
+ name: string;
150
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
151
+ created_at: Date;
152
+ updated_at: Date;
153
+ groupId: string;
154
+ }[];
155
+ shortId: number;
156
+ firstName: string | null;
157
+ gender: string | null;
158
+ birthDate: string | null;
159
+ instagram: string | null;
160
+ mail: string | null;
161
+ dni: string | null;
162
+ alternativeNames: string[];
163
+ birthLocationId: string | null;
164
+ residenceLocationId: string | null;
165
+ isInTrash: boolean;
166
+ movedToTrashDate: Date | null;
167
+ }[];
168
+ }>;
169
+ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
170
+ profiles: z.ZodArray<z.ZodObject<{
171
+ id: z.ZodString;
172
+ shortId: z.ZodNumber;
173
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
174
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
175
+ fullName: z.ZodString;
176
+ firstName: z.ZodNullable<z.ZodString>;
177
+ gender: z.ZodNullable<z.ZodString>;
178
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
179
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
180
+ instagram: z.ZodNullable<z.ZodString>;
181
+ mail: z.ZodNullable<z.ZodString>;
182
+ dni: z.ZodNullable<z.ZodString>;
183
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
184
+ birthLocationId: z.ZodNullable<z.ZodString>;
185
+ residenceLocationId: z.ZodNullable<z.ZodString>;
186
+ isInTrash: z.ZodBoolean;
187
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
188
+ created_at: z.ZodString;
189
+ updated_at: z.ZodString;
190
+ tags: z.ZodArray<z.ZodObject<{
191
+ id: z.ZodString;
192
+ name: z.ZodString;
193
+ groupId: z.ZodString;
194
+ type: z.ZodNativeEnum<{
195
+ PROFILE: "PROFILE";
196
+ EVENT: "EVENT";
197
+ PARTICIPANT: "PARTICIPANT";
198
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
199
+ }>;
200
+ created_at: z.ZodString;
201
+ updated_at: z.ZodString;
202
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
203
+ id: string;
204
+ name: string;
205
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
206
+ created_at: string;
207
+ updated_at: string;
208
+ groupId: string;
209
+ }, {
210
+ id: string;
211
+ name: string;
212
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
213
+ created_at: string;
214
+ updated_at: string;
215
+ groupId: string;
216
+ }>, "many">;
217
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
218
+ id: string;
219
+ phoneNumber: string;
220
+ secondaryPhoneNumber: string | null;
221
+ fullName: string;
222
+ profilePictureUrl: string | null;
223
+ created_at: string;
224
+ updated_at: string;
225
+ tags: {
226
+ id: string;
227
+ name: string;
228
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
229
+ created_at: string;
230
+ updated_at: string;
231
+ groupId: string;
232
+ }[];
233
+ shortId: number;
234
+ firstName: string | null;
235
+ gender: string | null;
236
+ birthDate: Date | null;
237
+ instagram: string | null;
238
+ mail: string | null;
239
+ dni: string | null;
240
+ alternativeNames: string[];
241
+ birthLocationId: string | null;
242
+ residenceLocationId: string | null;
243
+ isInTrash: boolean;
244
+ movedToTrashDate: string | null;
245
+ }, {
246
+ id: string;
247
+ phoneNumber: string;
248
+ secondaryPhoneNumber: string | null;
249
+ fullName: string;
250
+ profilePictureUrl: string | null;
251
+ created_at: string;
252
+ updated_at: string;
253
+ tags: {
254
+ id: string;
255
+ name: string;
256
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
257
+ created_at: string;
258
+ updated_at: string;
259
+ groupId: string;
260
+ }[];
261
+ shortId: number;
262
+ firstName: string | null;
263
+ gender: string | null;
264
+ birthDate: string | null;
265
+ instagram: string | null;
266
+ mail: string | null;
267
+ dni: string | null;
268
+ alternativeNames: string[];
269
+ birthLocationId: string | null;
270
+ residenceLocationId: string | null;
271
+ isInTrash: boolean;
272
+ movedToTrashDate: string | null;
273
+ }>, "many">;
274
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
275
+ profiles: {
276
+ id: string;
277
+ phoneNumber: string;
278
+ secondaryPhoneNumber: string | null;
279
+ fullName: string;
280
+ profilePictureUrl: string | null;
281
+ created_at: string;
282
+ updated_at: string;
283
+ tags: {
284
+ id: string;
285
+ name: string;
286
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
287
+ created_at: string;
288
+ updated_at: string;
289
+ groupId: string;
290
+ }[];
291
+ shortId: number;
292
+ firstName: string | null;
293
+ gender: string | null;
294
+ birthDate: Date | null;
295
+ instagram: string | null;
296
+ mail: string | null;
297
+ dni: string | null;
298
+ alternativeNames: string[];
299
+ birthLocationId: string | null;
300
+ residenceLocationId: string | null;
301
+ isInTrash: boolean;
302
+ movedToTrashDate: string | null;
303
+ }[];
304
+ }, {
305
+ profiles: {
306
+ id: string;
307
+ phoneNumber: string;
308
+ secondaryPhoneNumber: string | null;
309
+ fullName: string;
310
+ profilePictureUrl: string | null;
311
+ created_at: string;
312
+ updated_at: string;
313
+ tags: {
314
+ id: string;
315
+ name: string;
316
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
317
+ created_at: string;
318
+ updated_at: string;
319
+ groupId: string;
320
+ }[];
321
+ shortId: number;
322
+ firstName: string | null;
323
+ gender: string | null;
324
+ birthDate: string | null;
325
+ instagram: string | null;
326
+ mail: string | null;
327
+ dni: string | null;
328
+ alternativeNames: string[];
329
+ birthLocationId: string | null;
330
+ residenceLocationId: string | null;
331
+ isInTrash: boolean;
332
+ movedToTrashDate: string | null;
333
+ }[];
334
+ }>>;
335
+ export declare class FindByTagGroupsProfileResponseDto extends FindByTagGroupsProfileResponseDto_base {
336
+ }
337
+ export {};
@@ -0,0 +1,19 @@
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.FindByTagGroupsProfileResponseDto = exports.findByTagGroupsProfileResponseSchema = 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_dto_1 = require("../../tag/dto/tag.dto");
10
+ const zod_1 = __importDefault(require("zod"));
11
+ exports.findByTagGroupsProfileResponseSchema = zod_1.default.object({
12
+ profiles: zod_1.default.array(profile_dto_1.profileSchema.merge(zod_1.default.object({
13
+ tags: zod_1.default.array(tag_dto_1.tagSchema),
14
+ }))),
15
+ });
16
+ class FindByTagGroupsProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByTagGroupsProfileResponseSchema) {
17
+ }
18
+ exports.FindByTagGroupsProfileResponseDto = FindByTagGroupsProfileResponseDto;
19
+ //# sourceMappingURL=find-by-tag-groups-profile.dto.js.map