expo-backend-types 0.9.0-EXPO-249-EB-Modelo.6 → 0.9.0-EXPO-249-EB-Modelo.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
12
12
  instagram: z.ZodNullable<z.ZodString>;
13
13
  mail: z.ZodNullable<z.ZodString>;
14
14
  dni: z.ZodNullable<z.ZodString>;
15
- alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
15
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
16
16
  birthLocationId: z.ZodNullable<z.ZodString>;
17
17
  residenceLocationId: z.ZodNullable<z.ZodString>;
18
18
  isInTrash: z.ZodBoolean;
@@ -158,7 +158,7 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
158
158
  instagram: string | null;
159
159
  mail: string | null;
160
160
  dni: string | null;
161
- alternativeNames: string[] | null;
161
+ alternativeNames: string[];
162
162
  birthLocationId: string | null;
163
163
  residenceLocationId: string | null;
164
164
  isInTrash: boolean;
@@ -211,7 +211,7 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
211
211
  instagram: string | null;
212
212
  mail: string | null;
213
213
  dni: string | null;
214
- alternativeNames: string[] | null;
214
+ alternativeNames: string[];
215
215
  birthLocationId: string | null;
216
216
  residenceLocationId: string | null;
217
217
  isInTrash: boolean;
@@ -250,7 +250,7 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
250
250
  instagram: z.ZodNullable<z.ZodString>;
251
251
  mail: z.ZodNullable<z.ZodString>;
252
252
  dni: z.ZodNullable<z.ZodString>;
253
- alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
253
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
254
254
  birthLocationId: z.ZodNullable<z.ZodString>;
255
255
  residenceLocationId: z.ZodNullable<z.ZodString>;
256
256
  isInTrash: z.ZodBoolean;
@@ -391,7 +391,7 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
391
391
  instagram: string | null;
392
392
  mail: string | null;
393
393
  dni: string | null;
394
- alternativeNames: string[] | null;
394
+ alternativeNames: string[];
395
395
  birthLocationId: string | null;
396
396
  residenceLocationId: string | null;
397
397
  isInTrash: boolean;
@@ -444,7 +444,7 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
444
444
  instagram: string | null;
445
445
  mail: string | null;
446
446
  dni: string | null;
447
- alternativeNames: string[] | null;
447
+ alternativeNames: string[];
448
448
  birthLocationId: string | null;
449
449
  residenceLocationId: string | null;
450
450
  isInTrash: boolean;
@@ -13,7 +13,7 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
13
13
  instagram: z.ZodNullable<z.ZodString>;
14
14
  mail: z.ZodNullable<z.ZodString>;
15
15
  dni: z.ZodNullable<z.ZodString>;
16
- alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
16
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
17
17
  birthLocationId: z.ZodNullable<z.ZodString>;
18
18
  residenceLocationId: z.ZodNullable<z.ZodString>;
19
19
  isInTrash: z.ZodBoolean;
@@ -71,7 +71,7 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
71
71
  instagram: string | null;
72
72
  mail: string | null;
73
73
  dni: string | null;
74
- alternativeNames: string[] | null;
74
+ alternativeNames: string[];
75
75
  birthLocationId: string | null;
76
76
  residenceLocationId: string | null;
77
77
  isInTrash: boolean;
@@ -99,7 +99,7 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
99
99
  instagram: string | null;
100
100
  mail: string | null;
101
101
  dni: string | null;
102
- alternativeNames: string[] | null;
102
+ alternativeNames: string[];
103
103
  birthLocationId: string | null;
104
104
  residenceLocationId: string | null;
105
105
  isInTrash: boolean;
@@ -129,7 +129,7 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
129
129
  instagram: string | null;
130
130
  mail: string | null;
131
131
  dni: string | null;
132
- alternativeNames: string[] | null;
132
+ alternativeNames: string[];
133
133
  birthLocationId: string | null;
134
134
  residenceLocationId: string | null;
135
135
  isInTrash: boolean;
@@ -159,7 +159,7 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
159
159
  instagram: string | null;
160
160
  mail: string | null;
161
161
  dni: string | null;
162
- alternativeNames: string[] | null;
162
+ alternativeNames: string[];
163
163
  birthLocationId: string | null;
164
164
  residenceLocationId: string | null;
165
165
  isInTrash: boolean;
@@ -180,7 +180,7 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
180
180
  instagram: z.ZodNullable<z.ZodString>;
181
181
  mail: z.ZodNullable<z.ZodString>;
182
182
  dni: z.ZodNullable<z.ZodString>;
183
- alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
183
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
184
184
  birthLocationId: z.ZodNullable<z.ZodString>;
185
185
  residenceLocationId: z.ZodNullable<z.ZodString>;
186
186
  isInTrash: z.ZodBoolean;
@@ -237,7 +237,7 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
237
237
  instagram: string | null;
238
238
  mail: string | null;
239
239
  dni: string | null;
240
- alternativeNames: string[] | null;
240
+ alternativeNames: string[];
241
241
  birthLocationId: string | null;
242
242
  residenceLocationId: string | null;
243
243
  isInTrash: boolean;
@@ -265,7 +265,7 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
265
265
  instagram: string | null;
266
266
  mail: string | null;
267
267
  dni: string | null;
268
- alternativeNames: string[] | null;
268
+ alternativeNames: string[];
269
269
  birthLocationId: string | null;
270
270
  residenceLocationId: string | null;
271
271
  isInTrash: boolean;
@@ -295,7 +295,7 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
295
295
  instagram: string | null;
296
296
  mail: string | null;
297
297
  dni: string | null;
298
- alternativeNames: string[] | null;
298
+ alternativeNames: string[];
299
299
  birthLocationId: string | null;
300
300
  residenceLocationId: string | null;
301
301
  isInTrash: boolean;
@@ -325,7 +325,7 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
325
325
  instagram: string | null;
326
326
  mail: string | null;
327
327
  dni: string | null;
328
- alternativeNames: string[] | null;
328
+ alternativeNames: string[];
329
329
  birthLocationId: string | null;
330
330
  residenceLocationId: string | null;
331
331
  isInTrash: boolean;
@@ -13,7 +13,7 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
13
13
  instagram: z.ZodNullable<z.ZodString>;
14
14
  mail: z.ZodNullable<z.ZodString>;
15
15
  dni: z.ZodNullable<z.ZodString>;
16
- alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
16
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
17
17
  birthLocationId: z.ZodNullable<z.ZodString>;
18
18
  residenceLocationId: z.ZodNullable<z.ZodString>;
19
19
  isInTrash: z.ZodBoolean;
@@ -93,7 +93,7 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
93
93
  instagram: string | null;
94
94
  mail: string | null;
95
95
  dni: string | null;
96
- alternativeNames: string[] | null;
96
+ alternativeNames: string[];
97
97
  birthLocationId: string | null;
98
98
  residenceLocationId: string | null;
99
99
  isInTrash: boolean;
@@ -124,7 +124,7 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
124
124
  instagram: string | null;
125
125
  mail: string | null;
126
126
  dni: string | null;
127
- alternativeNames: string[] | null;
127
+ alternativeNames: string[];
128
128
  birthLocationId: string | null;
129
129
  residenceLocationId: string | null;
130
130
  isInTrash: boolean;
@@ -157,7 +157,7 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
157
157
  instagram: string | null;
158
158
  mail: string | null;
159
159
  dni: string | null;
160
- alternativeNames: string[] | null;
160
+ alternativeNames: string[];
161
161
  birthLocationId: string | null;
162
162
  residenceLocationId: string | null;
163
163
  isInTrash: boolean;
@@ -190,7 +190,7 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
190
190
  instagram: string | null;
191
191
  mail: string | null;
192
192
  dni: string | null;
193
- alternativeNames: string[] | null;
193
+ alternativeNames: string[];
194
194
  birthLocationId: string | null;
195
195
  residenceLocationId: string | null;
196
196
  isInTrash: boolean;
@@ -211,7 +211,7 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
211
211
  instagram: z.ZodNullable<z.ZodString>;
212
212
  mail: z.ZodNullable<z.ZodString>;
213
213
  dni: z.ZodNullable<z.ZodString>;
214
- alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
214
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
215
215
  birthLocationId: z.ZodNullable<z.ZodString>;
216
216
  residenceLocationId: z.ZodNullable<z.ZodString>;
217
217
  isInTrash: z.ZodBoolean;
@@ -284,7 +284,7 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
284
284
  instagram: string | null;
285
285
  mail: string | null;
286
286
  dni: string | null;
287
- alternativeNames: string[] | null;
287
+ alternativeNames: string[];
288
288
  birthLocationId: string | null;
289
289
  residenceLocationId: string | null;
290
290
  isInTrash: boolean;
@@ -315,7 +315,7 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
315
315
  instagram: string | null;
316
316
  mail: string | null;
317
317
  dni: string | null;
318
- alternativeNames: string[] | null;
318
+ alternativeNames: string[];
319
319
  birthLocationId: string | null;
320
320
  residenceLocationId: string | null;
321
321
  isInTrash: boolean;
@@ -348,7 +348,7 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
348
348
  instagram: string | null;
349
349
  mail: string | null;
350
350
  dni: string | null;
351
- alternativeNames: string[] | null;
351
+ alternativeNames: string[];
352
352
  birthLocationId: string | null;
353
353
  residenceLocationId: string | null;
354
354
  isInTrash: boolean;
@@ -381,7 +381,7 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
381
381
  instagram: string | null;
382
382
  mail: string | null;
383
383
  dni: string | null;
384
- alternativeNames: string[] | null;
384
+ alternativeNames: string[];
385
385
  birthLocationId: string | null;
386
386
  residenceLocationId: string | null;
387
387
  isInTrash: boolean;
@@ -12,7 +12,7 @@ export declare const profileSchema: z.ZodObject<{
12
12
  instagram: z.ZodNullable<z.ZodString>;
13
13
  mail: z.ZodNullable<z.ZodString>;
14
14
  dni: z.ZodNullable<z.ZodString>;
15
- alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
15
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
16
16
  birthLocationId: z.ZodNullable<z.ZodString>;
17
17
  residenceLocationId: z.ZodNullable<z.ZodString>;
18
18
  isInTrash: z.ZodBoolean;
@@ -34,7 +34,7 @@ export declare const profileSchema: z.ZodObject<{
34
34
  instagram: string | null;
35
35
  mail: string | null;
36
36
  dni: string | null;
37
- alternativeNames: string[] | null;
37
+ alternativeNames: string[];
38
38
  birthLocationId: string | null;
39
39
  residenceLocationId: string | null;
40
40
  isInTrash: boolean;
@@ -54,7 +54,7 @@ export declare const profileSchema: z.ZodObject<{
54
54
  instagram: string | null;
55
55
  mail: string | null;
56
56
  dni: string | null;
57
- alternativeNames: string[] | null;
57
+ alternativeNames: string[];
58
58
  birthLocationId: string | null;
59
59
  residenceLocationId: string | null;
60
60
  isInTrash: boolean;
@@ -50,7 +50,7 @@ exports.profileSchema = zod_1.default.object({
50
50
  instagram: zod_1.default.string().nullable(),
51
51
  mail: zod_1.default.string().email().nullable(),
52
52
  dni: zod_1.default.string().nullable(),
53
- alternativeNames: zod_1.default.array(zod_1.default.string()).nullable(),
53
+ alternativeNames: zod_1.default.array(zod_1.default.string()),
54
54
  birthLocationId: zod_1.default.string().uuid().nullable(),
55
55
  residenceLocationId: zod_1.default.string().uuid().nullable(),
56
56
  isInTrash: zod_1.default.boolean(),
@@ -0,0 +1,360 @@
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 {};
@@ -0,0 +1,55 @@
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
@@ -1,6 +1,9 @@
1
1
  export * from './dto/create-profile.dto';
2
+ export * from './dto/delete-profile.dto';
2
3
  export * from './dto/find-all-profile.dto';
4
+ export * from './dto/find-by-date-range-profile.dto';
3
5
  export * from './dto/find-by-id-profile.dto';
4
6
  export * from './dto/find-by-tag-groups-profile.dto';
5
7
  export * from './dto/find-by-tags-profile.dto';
6
8
  export * from './dto/profile.dto';
9
+ export * from './dto/update-profile.dto';