expo-backend-types 0.9.0 → 0.10.0
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.
- package/dist/src/account/dto/account.dto.d.ts +6 -4
- package/dist/src/account/dto/create-account.dto.d.ts +12 -8
- package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
- package/dist/src/account/dto/get-me.dto.d.ts +6 -4
- package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
- package/dist/src/auth/dto/login.dto.d.ts +11 -8
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
- package/dist/src/i18n/es.d.ts +47 -0
- package/dist/src/i18n/es.js +47 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/profile/dto/create-profile.dto.d.ts +694 -0
- package/dist/src/profile/dto/create-profile.dto.js +84 -0
- package/dist/src/profile/dto/delete-profile.dto.d.ts +125 -0
- package/dist/src/profile/dto/delete-profile.dto.js +10 -0
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +410 -0
- package/dist/src/profile/dto/find-all-profile.dto.js +25 -0
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +655 -0
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +34 -0
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +475 -0
- package/dist/src/profile/dto/find-by-id-profile.dto.js +27 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +125 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.js +10 -0
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +337 -0
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +19 -0
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +393 -0
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +24 -0
- package/dist/src/profile/dto/find-trash.dto.d.ts +110 -0
- package/dist/src/profile/dto/find-trash.dto.js +24 -0
- package/dist/src/profile/dto/profile.dto.d.ts +5 -5
- package/dist/src/profile/dto/profile.dto.js +7 -3
- package/dist/src/profile/dto/update-profile.dto.d.ts +360 -0
- package/dist/src/profile/dto/update-profile.dto.js +55 -0
- package/dist/src/profile/exports.d.ts +10 -0
- package/dist/src/profile/exports.js +10 -0
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +16 -16
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +16 -16
- package/dist/types/prisma-schema/edge.js +5 -4
- package/dist/types/prisma-schema/index-browser.js +2 -1
- package/dist/types/prisma-schema/index.d.ts +9 -2
- package/dist/types/prisma-schema/index.js +5 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +2 -0
- package/dist/types/prisma-schema/wasm.js +2 -1
- package/dist/types/schema.d.ts +777 -53
- package/package.json +4 -1
|
@@ -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.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 {};
|
|
@@ -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.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
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
|
2
|
+
id: import("zod").ZodString;
|
|
3
|
+
shortId: import("zod").ZodNumber;
|
|
4
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
5
|
+
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
|
|
6
|
+
fullName: import("zod").ZodString;
|
|
7
|
+
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
8
|
+
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
|
9
|
+
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
|
|
10
|
+
profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11
|
+
instagram: import("zod").ZodNullable<import("zod").ZodString>;
|
|
12
|
+
mail: import("zod").ZodNullable<import("zod").ZodString>;
|
|
13
|
+
dni: import("zod").ZodNullable<import("zod").ZodString>;
|
|
14
|
+
alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
15
|
+
birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
16
|
+
residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
17
|
+
isInTrash: import("zod").ZodBoolean;
|
|
18
|
+
movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
|
|
19
|
+
created_at: import("zod").ZodDate;
|
|
20
|
+
updated_at: import("zod").ZodDate;
|
|
21
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
22
|
+
id: string;
|
|
23
|
+
phoneNumber: string;
|
|
24
|
+
secondaryPhoneNumber: string | null;
|
|
25
|
+
fullName: string;
|
|
26
|
+
profilePictureUrl: string | null;
|
|
27
|
+
created_at: Date;
|
|
28
|
+
updated_at: Date;
|
|
29
|
+
shortId: number;
|
|
30
|
+
firstName: string | null;
|
|
31
|
+
gender: string | null;
|
|
32
|
+
birthDate: Date | null;
|
|
33
|
+
instagram: string | null;
|
|
34
|
+
mail: string | null;
|
|
35
|
+
dni: string | null;
|
|
36
|
+
alternativeNames: string[];
|
|
37
|
+
birthLocationId: string | null;
|
|
38
|
+
residenceLocationId: string | null;
|
|
39
|
+
isInTrash: boolean;
|
|
40
|
+
movedToTrashDate: Date | null;
|
|
41
|
+
}, {
|
|
42
|
+
id: string;
|
|
43
|
+
phoneNumber: string;
|
|
44
|
+
secondaryPhoneNumber: string | null;
|
|
45
|
+
fullName: string;
|
|
46
|
+
profilePictureUrl: string | null;
|
|
47
|
+
created_at: Date;
|
|
48
|
+
updated_at: Date;
|
|
49
|
+
shortId: number;
|
|
50
|
+
firstName: string | null;
|
|
51
|
+
gender: string | null;
|
|
52
|
+
birthDate: string | null;
|
|
53
|
+
instagram: string | null;
|
|
54
|
+
mail: string | null;
|
|
55
|
+
dni: string | null;
|
|
56
|
+
alternativeNames: string[];
|
|
57
|
+
birthLocationId: string | null;
|
|
58
|
+
residenceLocationId: string | null;
|
|
59
|
+
isInTrash: boolean;
|
|
60
|
+
movedToTrashDate: Date | null;
|
|
61
|
+
}>;
|
|
62
|
+
declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
|
63
|
+
id: import("zod").ZodString;
|
|
64
|
+
shortId: import("zod").ZodNumber;
|
|
65
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
66
|
+
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
|
|
67
|
+
fullName: import("zod").ZodString;
|
|
68
|
+
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
|
69
|
+
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
|
70
|
+
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
|
|
71
|
+
profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
72
|
+
instagram: import("zod").ZodNullable<import("zod").ZodString>;
|
|
73
|
+
mail: import("zod").ZodNullable<import("zod").ZodString>;
|
|
74
|
+
dni: import("zod").ZodNullable<import("zod").ZodString>;
|
|
75
|
+
alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
76
|
+
birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
77
|
+
residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
78
|
+
isInTrash: import("zod").ZodBoolean;
|
|
79
|
+
movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
|
|
80
|
+
created_at: import("zod").ZodString;
|
|
81
|
+
updated_at: import("zod").ZodString;
|
|
82
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
83
|
+
id: string;
|
|
84
|
+
phoneNumber: string;
|
|
85
|
+
secondaryPhoneNumber: string | null;
|
|
86
|
+
fullName: string;
|
|
87
|
+
profilePictureUrl: string | null;
|
|
88
|
+
created_at: string;
|
|
89
|
+
updated_at: string;
|
|
90
|
+
shortId: number;
|
|
91
|
+
firstName: string | null;
|
|
92
|
+
gender: string | null;
|
|
93
|
+
birthDate: Date | null;
|
|
94
|
+
instagram: string | null;
|
|
95
|
+
mail: string | null;
|
|
96
|
+
dni: string | null;
|
|
97
|
+
alternativeNames: string[];
|
|
98
|
+
birthLocationId: string | null;
|
|
99
|
+
residenceLocationId: string | null;
|
|
100
|
+
isInTrash: boolean;
|
|
101
|
+
movedToTrashDate: string | null;
|
|
102
|
+
}, {
|
|
103
|
+
id: string;
|
|
104
|
+
phoneNumber: string;
|
|
105
|
+
secondaryPhoneNumber: string | null;
|
|
106
|
+
fullName: string;
|
|
107
|
+
profilePictureUrl: string | null;
|
|
108
|
+
created_at: string;
|
|
109
|
+
updated_at: string;
|
|
110
|
+
shortId: number;
|
|
111
|
+
firstName: string | null;
|
|
112
|
+
gender: string | null;
|
|
113
|
+
birthDate: string | null;
|
|
114
|
+
instagram: string | null;
|
|
115
|
+
mail: string | null;
|
|
116
|
+
dni: string | null;
|
|
117
|
+
alternativeNames: string[];
|
|
118
|
+
birthLocationId: string | null;
|
|
119
|
+
residenceLocationId: string | null;
|
|
120
|
+
isInTrash: boolean;
|
|
121
|
+
movedToTrashDate: string | null;
|
|
122
|
+
}>>;
|
|
123
|
+
export declare class FindByPhoneNumberResponseDto extends FindByPhoneNumberResponseDto_base {
|
|
124
|
+
}
|
|
125
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindByPhoneNumberResponseDto = exports.findByPhoneNumberResponseSchema = void 0;
|
|
4
|
+
const profile_dto_1 = require("./profile.dto");
|
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
|
6
|
+
exports.findByPhoneNumberResponseSchema = profile_dto_1.profileSchema;
|
|
7
|
+
class FindByPhoneNumberResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByPhoneNumberResponseSchema) {
|
|
8
|
+
}
|
|
9
|
+
exports.FindByPhoneNumberResponseDto = FindByPhoneNumberResponseDto;
|
|
10
|
+
//# sourceMappingURL=find-by-phone-number.dto.js.map
|