expo-backend-types 0.30.0-EXPO-308-auth.12 → 0.30.0-EXPO-308-auth.14
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/auth/dto/login-mi-expo.dto.js +2 -2
- package/dist/src/exports.d.ts +0 -1
- package/dist/src/exports.js +0 -1
- package/dist/src/message/dto/non-read-messages.dto.js +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
- package/dist/src/otp/dto/send-otp.dto.js +2 -2
- package/dist/src/otp/dto/verify-otp.dto.js +3 -3
- package/dist/src/profile/dto/create-profile.dto.d.ts +82 -468
- package/dist/src/profile/dto/create-profile.dto.js +4 -80
- package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -73
- package/dist/src/profile/dto/delete-profile.dto.js +3 -4
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +39 -266
- package/dist/src/profile/dto/find-all-profile.dto.js +3 -19
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +79 -440
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +4 -26
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +58 -309
- package/dist/src/profile/dto/find-by-id-profile.dto.js +3 -21
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +0 -73
- package/dist/src/profile/dto/find-by-phone-number.dto.js +3 -4
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +35 -223
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +3 -13
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +38 -257
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +3 -18
- package/dist/src/profile/dto/find-trash.dto.d.ts +11 -75
- package/dist/src/profile/dto/find-trash.dto.js +3 -18
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +58 -443
- package/dist/src/profile/dto/find-with-active-chat.dto.js +3 -20
- package/dist/src/profile/dto/profile.dto.js +2 -2
- package/dist/src/profile/dto/update-profile.dto.d.ts +60 -244
- package/dist/src/profile/dto/update-profile.dto.js +4 -48
- package/dist/src/profile/exports.d.ts +12 -12
- package/dist/src/profile/exports.js +12 -12
- package/dist/src/profile/schema/create-profile.schema.d.ts +405 -0
- package/dist/src/profile/schema/create-profile.schema.js +83 -0
- package/dist/src/profile/schema/delete-profile.schema.d.ts +73 -0
- package/dist/src/profile/schema/delete-profile.schema.js +6 -0
- package/dist/src/profile/schema/find-all-profile.schema.d.ts +227 -0
- package/dist/src/profile/schema/find-all-profile.schema.js +21 -0
- package/dist/src/profile/schema/find-by-date-range-profile.schema.d.ts +361 -0
- package/dist/src/profile/schema/find-by-date-range-profile.schema.js +27 -0
- package/dist/src/profile/schema/find-by-id-profile.schema.d.ts +251 -0
- package/dist/src/profile/schema/find-by-id-profile.schema.js +23 -0
- package/dist/src/profile/schema/find-by-phone-number.schema.d.ts +73 -0
- package/dist/src/profile/schema/find-by-phone-number.schema.js +6 -0
- package/dist/src/profile/schema/find-by-tag-groups-profile.schema.d.ts +188 -0
- package/dist/src/profile/schema/find-by-tag-groups-profile.schema.js +15 -0
- package/dist/src/profile/schema/find-by-tags-profile.schema.d.ts +219 -0
- package/dist/src/profile/schema/find-by-tags-profile.schema.js +20 -0
- package/dist/src/profile/schema/find-trash.schema.d.ts +64 -0
- package/dist/src/profile/schema/find-trash.schema.js +20 -0
- package/dist/src/profile/schema/find-with-active-chat.schema.d.ts +385 -0
- package/dist/src/profile/schema/find-with-active-chat.schema.js +22 -0
- package/dist/src/{prisma/dtos.dto.js → profile/schema/profile.schema.js} +2 -2
- package/dist/src/profile/schema/update-profile.schema.d.ts +196 -0
- package/dist/src/profile/schema/update-profile.schema.js +51 -0
- package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
- package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
- package/dist/types/schema.d.ts +4 -0
- package/package.json +4 -3
- /package/dist/src/{prisma/dtos.dto.d.ts → profile/schema/profile.schema.d.ts} +0 -0
@@ -1,28 +1,25 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
residence:
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
country:
|
21
|
-
|
22
|
-
|
23
|
-
created_at: z.ZodDate;
|
24
|
-
updated_at: z.ZodDate;
|
25
|
-
}, "latitude" | "longitude" | "state" | "country" | "city">, "strip", z.ZodTypeAny, {
|
1
|
+
declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
2
|
+
username: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
3
|
+
password: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
4
|
+
phoneNumber: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
5
|
+
secondaryPhoneNumber: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>>;
|
6
|
+
fullName: import("zod").ZodOptional<import("zod").ZodString>;
|
7
|
+
profilePictureUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
8
|
+
mail: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
9
|
+
gender: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
10
|
+
birthDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>>;
|
11
|
+
instagram: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
12
|
+
dni: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
13
|
+
alternativeNames: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
14
|
+
isInTrash: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
15
|
+
movedToTrashDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
16
|
+
residence: import("zod").ZodOptional<import("zod").ZodObject<{
|
17
|
+
latitude: import("zod").ZodNumber;
|
18
|
+
longitude: import("zod").ZodNumber;
|
19
|
+
state: import("zod").ZodString;
|
20
|
+
country: import("zod").ZodString;
|
21
|
+
city: import("zod").ZodString;
|
22
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
26
23
|
latitude: number;
|
27
24
|
longitude: number;
|
28
25
|
state: string;
|
@@ -35,16 +32,13 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
35
32
|
country: string;
|
36
33
|
city: string;
|
37
34
|
}>>;
|
38
|
-
birth:
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
country:
|
43
|
-
|
44
|
-
|
45
|
-
created_at: z.ZodDate;
|
46
|
-
updated_at: z.ZodDate;
|
47
|
-
}, "latitude" | "longitude" | "state" | "country" | "city">, "strip", z.ZodTypeAny, {
|
35
|
+
birth: import("zod").ZodOptional<import("zod").ZodObject<{
|
36
|
+
latitude: import("zod").ZodNumber;
|
37
|
+
longitude: import("zod").ZodNumber;
|
38
|
+
state: import("zod").ZodString;
|
39
|
+
country: import("zod").ZodString;
|
40
|
+
city: import("zod").ZodString;
|
41
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
48
42
|
latitude: number;
|
49
43
|
longitude: number;
|
50
44
|
state: string;
|
@@ -57,117 +51,10 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
57
51
|
country: string;
|
58
52
|
city: string;
|
59
53
|
}>>;
|
60
|
-
tags:
|
61
|
-
}
|
62
|
-
|
63
|
-
|
64
|
-
fullName?: string | undefined;
|
65
|
-
profilePictureUrl?: string | null | undefined;
|
66
|
-
mail?: string | null | undefined;
|
67
|
-
gender?: string | null | undefined;
|
68
|
-
birthDate?: Date | null | undefined;
|
69
|
-
instagram?: string | null | undefined;
|
70
|
-
dni?: string | null | undefined;
|
71
|
-
alternativeNames?: string[] | undefined;
|
72
|
-
isInTrash?: boolean | undefined;
|
73
|
-
movedToTrashDate?: Date | null | undefined;
|
74
|
-
tags?: string[] | undefined;
|
75
|
-
residence?: {
|
76
|
-
latitude: number;
|
77
|
-
longitude: number;
|
78
|
-
state: string;
|
79
|
-
country: string;
|
80
|
-
city: string;
|
81
|
-
} | undefined;
|
82
|
-
birth?: {
|
83
|
-
latitude: number;
|
84
|
-
longitude: number;
|
85
|
-
state: string;
|
86
|
-
country: string;
|
87
|
-
city: string;
|
88
|
-
} | undefined;
|
89
|
-
}, {
|
90
|
-
phoneNumber?: string | undefined;
|
91
|
-
secondaryPhoneNumber?: string | null | undefined;
|
92
|
-
fullName?: string | undefined;
|
93
|
-
profilePictureUrl?: string | null | undefined;
|
94
|
-
mail?: string | null | undefined;
|
95
|
-
gender?: string | null | undefined;
|
96
|
-
birthDate?: string | null | undefined;
|
97
|
-
instagram?: string | null | undefined;
|
98
|
-
dni?: string | null | undefined;
|
99
|
-
alternativeNames?: string[] | undefined;
|
100
|
-
isInTrash?: boolean | undefined;
|
101
|
-
movedToTrashDate?: Date | null | undefined;
|
102
|
-
tags?: string[] | undefined;
|
103
|
-
residence?: {
|
104
|
-
latitude: number;
|
105
|
-
longitude: number;
|
106
|
-
state: string;
|
107
|
-
country: string;
|
108
|
-
city: string;
|
109
|
-
} | undefined;
|
110
|
-
birth?: {
|
111
|
-
latitude: number;
|
112
|
-
longitude: number;
|
113
|
-
state: string;
|
114
|
-
country: string;
|
115
|
-
city: string;
|
116
|
-
} | undefined;
|
117
|
-
}>;
|
118
|
-
declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
119
|
-
phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
120
|
-
secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>>;
|
121
|
-
fullName: z.ZodOptional<z.ZodString>;
|
122
|
-
profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
123
|
-
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
124
|
-
gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
125
|
-
birthDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>>;
|
126
|
-
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
127
|
-
dni: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
128
|
-
alternativeNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
129
|
-
isInTrash: z.ZodOptional<z.ZodBoolean>;
|
130
|
-
movedToTrashDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
131
|
-
residence: z.ZodOptional<z.ZodObject<{
|
132
|
-
latitude: z.ZodNumber;
|
133
|
-
longitude: z.ZodNumber;
|
134
|
-
state: z.ZodString;
|
135
|
-
country: z.ZodString;
|
136
|
-
city: z.ZodString;
|
137
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
138
|
-
latitude: number;
|
139
|
-
longitude: number;
|
140
|
-
state: string;
|
141
|
-
country: string;
|
142
|
-
city: string;
|
143
|
-
}, {
|
144
|
-
latitude: number;
|
145
|
-
longitude: number;
|
146
|
-
state: string;
|
147
|
-
country: string;
|
148
|
-
city: string;
|
149
|
-
}>>;
|
150
|
-
birth: z.ZodOptional<z.ZodObject<{
|
151
|
-
latitude: z.ZodNumber;
|
152
|
-
longitude: z.ZodNumber;
|
153
|
-
state: z.ZodString;
|
154
|
-
country: z.ZodString;
|
155
|
-
city: z.ZodString;
|
156
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
157
|
-
latitude: number;
|
158
|
-
longitude: number;
|
159
|
-
state: string;
|
160
|
-
country: string;
|
161
|
-
city: string;
|
162
|
-
}, {
|
163
|
-
latitude: number;
|
164
|
-
longitude: number;
|
165
|
-
state: string;
|
166
|
-
country: string;
|
167
|
-
city: string;
|
168
|
-
}>>;
|
169
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
170
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
54
|
+
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
55
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
56
|
+
username?: string | null | undefined;
|
57
|
+
password?: string | null | undefined;
|
171
58
|
phoneNumber?: string | undefined;
|
172
59
|
secondaryPhoneNumber?: string | null | undefined;
|
173
60
|
fullName?: string | undefined;
|
@@ -196,6 +83,8 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
196
83
|
city: string;
|
197
84
|
} | undefined;
|
198
85
|
}, {
|
86
|
+
username?: string | null | undefined;
|
87
|
+
password?: string | null | undefined;
|
199
88
|
phoneNumber?: string | undefined;
|
200
89
|
secondaryPhoneNumber?: string | null | undefined;
|
201
90
|
fullName?: string | undefined;
|
@@ -226,104 +115,31 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
226
115
|
}>>;
|
227
116
|
export declare class UpdateProfileDto extends UpdateProfileDto_base {
|
228
117
|
}
|
229
|
-
|
230
|
-
id:
|
231
|
-
shortId:
|
232
|
-
firstTimeMiExpo:
|
233
|
-
username:
|
234
|
-
password:
|
235
|
-
phoneNumber:
|
236
|
-
isPhoneVerified:
|
237
|
-
secondaryPhoneNumber:
|
238
|
-
fullName:
|
239
|
-
firstName:
|
240
|
-
gender:
|
241
|
-
birthDate:
|
242
|
-
profilePictureUrl:
|
243
|
-
instagram:
|
244
|
-
mail:
|
245
|
-
dni:
|
246
|
-
alternativeNames:
|
247
|
-
birthLocationId:
|
248
|
-
residenceLocationId:
|
249
|
-
isInTrash:
|
250
|
-
movedToTrashDate:
|
251
|
-
created_at:
|
252
|
-
updated_at:
|
253
|
-
}, "
|
254
|
-
id: string;
|
255
|
-
username: string | null;
|
256
|
-
password: string | null;
|
257
|
-
phoneNumber: string;
|
258
|
-
secondaryPhoneNumber: string | null;
|
259
|
-
fullName: string;
|
260
|
-
profilePictureUrl: string | null;
|
261
|
-
mail: string | null;
|
262
|
-
created_at: Date;
|
263
|
-
updated_at: Date;
|
264
|
-
shortId: number;
|
265
|
-
firstTimeMiExpo: boolean;
|
266
|
-
isPhoneVerified: boolean;
|
267
|
-
firstName: string | null;
|
268
|
-
gender: string | null;
|
269
|
-
birthDate: Date | null;
|
270
|
-
instagram: string | null;
|
271
|
-
dni: string | null;
|
272
|
-
alternativeNames: string[];
|
273
|
-
birthLocationId: string | null;
|
274
|
-
residenceLocationId: string | null;
|
275
|
-
isInTrash: boolean;
|
276
|
-
movedToTrashDate: Date | null;
|
277
|
-
}, {
|
278
|
-
id: string;
|
279
|
-
username: string | null;
|
280
|
-
password: string | null;
|
281
|
-
phoneNumber: string;
|
282
|
-
secondaryPhoneNumber: string | null;
|
283
|
-
fullName: string;
|
284
|
-
profilePictureUrl: string | null;
|
285
|
-
mail: string | null;
|
286
|
-
created_at: Date;
|
287
|
-
updated_at: Date;
|
288
|
-
shortId: number;
|
289
|
-
firstTimeMiExpo: boolean;
|
290
|
-
isPhoneVerified: boolean;
|
291
|
-
firstName: string | null;
|
292
|
-
gender: string | null;
|
293
|
-
birthDate: string | null;
|
294
|
-
instagram: string | null;
|
295
|
-
dni: string | null;
|
296
|
-
alternativeNames: string[];
|
297
|
-
birthLocationId: string | null;
|
298
|
-
residenceLocationId: string | null;
|
299
|
-
isInTrash: boolean;
|
300
|
-
movedToTrashDate: Date | null;
|
301
|
-
}>;
|
302
|
-
declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
303
|
-
id: z.ZodString;
|
304
|
-
shortId: z.ZodNumber;
|
305
|
-
firstTimeMiExpo: z.ZodBoolean;
|
306
|
-
username: z.ZodNullable<z.ZodString>;
|
307
|
-
password: z.ZodNullable<z.ZodString>;
|
308
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
309
|
-
isPhoneVerified: z.ZodBoolean;
|
310
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
311
|
-
fullName: z.ZodString;
|
312
|
-
firstName: z.ZodNullable<z.ZodString>;
|
313
|
-
gender: z.ZodNullable<z.ZodString>;
|
314
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
315
|
-
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
316
|
-
instagram: z.ZodNullable<z.ZodString>;
|
317
|
-
mail: z.ZodNullable<z.ZodString>;
|
318
|
-
dni: z.ZodNullable<z.ZodString>;
|
319
|
-
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
320
|
-
birthLocationId: z.ZodNullable<z.ZodString>;
|
321
|
-
residenceLocationId: z.ZodNullable<z.ZodString>;
|
322
|
-
isInTrash: z.ZodBoolean;
|
323
|
-
movedToTrashDate: z.ZodNullable<z.ZodString>;
|
324
|
-
created_at: z.ZodString;
|
325
|
-
updated_at: z.ZodString;
|
326
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
118
|
+
declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
119
|
+
id: import("zod").ZodString;
|
120
|
+
shortId: import("zod").ZodNumber;
|
121
|
+
firstTimeMiExpo: import("zod").ZodBoolean;
|
122
|
+
username: import("zod").ZodNullable<import("zod").ZodString>;
|
123
|
+
password: import("zod").ZodNullable<import("zod").ZodString>;
|
124
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
125
|
+
isPhoneVerified: import("zod").ZodBoolean;
|
126
|
+
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
|
127
|
+
fullName: import("zod").ZodString;
|
128
|
+
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
129
|
+
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
130
|
+
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
|
131
|
+
profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
132
|
+
instagram: import("zod").ZodNullable<import("zod").ZodString>;
|
133
|
+
mail: import("zod").ZodNullable<import("zod").ZodString>;
|
134
|
+
dni: import("zod").ZodNullable<import("zod").ZodString>;
|
135
|
+
alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
|
136
|
+
birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
137
|
+
residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
138
|
+
isInTrash: import("zod").ZodBoolean;
|
139
|
+
movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
|
140
|
+
created_at: import("zod").ZodString;
|
141
|
+
updated_at: import("zod").ZodString;
|
142
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
327
143
|
id: string;
|
328
144
|
username: string | null;
|
329
145
|
password: string | null;
|
@@ -1,56 +1,12 @@
|
|
1
1
|
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.UpdateProfileResponseDto = exports.
|
7
|
-
const
|
8
|
-
const dtos_dto_1 = require("../../prisma/dtos.dto");
|
3
|
+
exports.UpdateProfileResponseDto = exports.UpdateProfileDto = void 0;
|
4
|
+
const update_profile_schema_1 = require("../schema/update-profile.schema");
|
9
5
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
|
-
|
11
|
-
const zod_1 = __importDefault(require("zod"));
|
12
|
-
exports.updateProfileSchema = dtos_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
|
-
.partial()
|
28
|
-
.merge(zod_1.default.object({
|
29
|
-
residence: location_dto_1.locationSchema
|
30
|
-
.pick({
|
31
|
-
city: true,
|
32
|
-
country: true,
|
33
|
-
latitude: true,
|
34
|
-
longitude: true,
|
35
|
-
state: true,
|
36
|
-
})
|
37
|
-
.optional(),
|
38
|
-
birth: location_dto_1.locationSchema
|
39
|
-
.pick({
|
40
|
-
city: true,
|
41
|
-
country: true,
|
42
|
-
latitude: true,
|
43
|
-
longitude: true,
|
44
|
-
state: true,
|
45
|
-
})
|
46
|
-
.optional(),
|
47
|
-
tags: zod_1.default.array(tag_dto_1.tagSchema.shape.id).optional(),
|
48
|
-
}));
|
49
|
-
class UpdateProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateProfileSchema) {
|
6
|
+
class UpdateProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(update_profile_schema_1.updateProfileSchema) {
|
50
7
|
}
|
51
8
|
exports.UpdateProfileDto = UpdateProfileDto;
|
52
|
-
|
53
|
-
class UpdateProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateProfileResponseSchema) {
|
9
|
+
class UpdateProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(update_profile_schema_1.updateProfileResponseSchema) {
|
54
10
|
}
|
55
11
|
exports.UpdateProfileResponseDto = UpdateProfileResponseDto;
|
56
12
|
//# sourceMappingURL=update-profile.dto.js.map
|
@@ -1,12 +1,12 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './
|
3
|
-
export * from './
|
4
|
-
export * from './
|
5
|
-
export * from './
|
6
|
-
export * from './
|
7
|
-
export * from './
|
8
|
-
export * from './
|
9
|
-
export * from './
|
10
|
-
export * from './
|
11
|
-
export * from './
|
12
|
-
export * from './
|
1
|
+
export * from './schema/create-profile.schema';
|
2
|
+
export * from './schema/delete-profile.schema';
|
3
|
+
export * from './schema/find-all-profile.schema';
|
4
|
+
export * from './schema/find-by-date-range-profile.schema';
|
5
|
+
export * from './schema/find-by-id-profile.schema';
|
6
|
+
export * from './schema/find-by-phone-number.schema';
|
7
|
+
export * from './schema/find-by-tag-groups-profile.schema';
|
8
|
+
export * from './schema/find-by-tags-profile.schema';
|
9
|
+
export * from './schema/find-trash.schema';
|
10
|
+
export * from './schema/find-with-active-chat.schema';
|
11
|
+
export * from './schema/profile.schema';
|
12
|
+
export * from './schema/update-profile.schema';
|
@@ -14,16 +14,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./
|
18
|
-
__exportStar(require("./
|
19
|
-
__exportStar(require("./
|
20
|
-
__exportStar(require("./
|
21
|
-
__exportStar(require("./
|
22
|
-
__exportStar(require("./
|
23
|
-
__exportStar(require("./
|
24
|
-
__exportStar(require("./
|
25
|
-
__exportStar(require("./
|
26
|
-
__exportStar(require("./
|
27
|
-
__exportStar(require("./
|
28
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./schema/create-profile.schema"), exports);
|
18
|
+
__exportStar(require("./schema/delete-profile.schema"), exports);
|
19
|
+
__exportStar(require("./schema/find-all-profile.schema"), exports);
|
20
|
+
__exportStar(require("./schema/find-by-date-range-profile.schema"), exports);
|
21
|
+
__exportStar(require("./schema/find-by-id-profile.schema"), exports);
|
22
|
+
__exportStar(require("./schema/find-by-phone-number.schema"), exports);
|
23
|
+
__exportStar(require("./schema/find-by-tag-groups-profile.schema"), exports);
|
24
|
+
__exportStar(require("./schema/find-by-tags-profile.schema"), exports);
|
25
|
+
__exportStar(require("./schema/find-trash.schema"), exports);
|
26
|
+
__exportStar(require("./schema/find-with-active-chat.schema"), exports);
|
27
|
+
__exportStar(require("./schema/profile.schema"), exports);
|
28
|
+
__exportStar(require("./schema/update-profile.schema"), exports);
|
29
29
|
//# sourceMappingURL=exports.js.map
|