expo-backend-types 0.30.0-EXPO-308-auth.14 → 0.30.0-EXPO-308-auth.16
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 +1 -1
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/message/dto/non-read-messages.dto.js +1 -1
- package/dist/src/message/dto/send-message-to-phone.dto.js +1 -1
- package/dist/src/otp/dto/send-otp.dto.js +1 -1
- package/dist/src/otp/dto/verify-otp.dto.js +1 -1
- package/dist/src/profile/dto/create-profile.dto.d.ts +468 -82
- package/dist/src/profile/dto/create-profile.dto.js +80 -4
- package/dist/src/profile/dto/delete-profile.dto.d.ts +73 -0
- package/dist/src/profile/dto/delete-profile.dto.js +4 -3
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +266 -39
- package/dist/src/profile/dto/find-all-profile.dto.js +19 -3
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +440 -79
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +26 -4
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +309 -58
- package/dist/src/profile/dto/find-by-id-profile.dto.js +21 -3
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +73 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.js +4 -3
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +223 -35
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +13 -3
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +257 -38
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +18 -3
- package/dist/src/profile/dto/find-trash.dto.d.ts +75 -11
- package/dist/src/profile/dto/find-trash.dto.js +18 -3
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +443 -58
- package/dist/src/profile/dto/find-with-active-chat.dto.js +20 -3
- package/dist/src/profile/dto/profile.dto.js +1 -1
- package/dist/src/profile/dto/update-profile.dto.d.ts +244 -60
- package/dist/src/profile/dto/update-profile.dto.js +48 -4
- package/dist/src/profile/exports.d.ts +12 -12
- package/dist/src/profile/exports.js +12 -12
- package/dist/src/schema/exports.d.ts +1 -0
- package/dist/src/schema/exports.js +18 -0
- package/dist/src/{profile/schema → schema}/profile.schema.js +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.js +1 -1
- package/dist/src/tag/dto/massive-deallocation.dto.js +1 -1
- package/dist/types/schema.d.ts +0 -4
- package/package.json +23 -25
- package/dist/src/profile/schema/create-profile.schema.d.ts +0 -405
- package/dist/src/profile/schema/create-profile.schema.js +0 -83
- package/dist/src/profile/schema/delete-profile.schema.d.ts +0 -73
- package/dist/src/profile/schema/delete-profile.schema.js +0 -6
- package/dist/src/profile/schema/find-all-profile.schema.d.ts +0 -227
- package/dist/src/profile/schema/find-all-profile.schema.js +0 -21
- package/dist/src/profile/schema/find-by-date-range-profile.schema.d.ts +0 -361
- package/dist/src/profile/schema/find-by-date-range-profile.schema.js +0 -27
- package/dist/src/profile/schema/find-by-id-profile.schema.d.ts +0 -251
- package/dist/src/profile/schema/find-by-id-profile.schema.js +0 -23
- package/dist/src/profile/schema/find-by-phone-number.schema.d.ts +0 -73
- package/dist/src/profile/schema/find-by-phone-number.schema.js +0 -6
- package/dist/src/profile/schema/find-by-tag-groups-profile.schema.d.ts +0 -188
- package/dist/src/profile/schema/find-by-tag-groups-profile.schema.js +0 -15
- package/dist/src/profile/schema/find-by-tags-profile.schema.d.ts +0 -219
- package/dist/src/profile/schema/find-by-tags-profile.schema.js +0 -20
- package/dist/src/profile/schema/find-trash.schema.d.ts +0 -64
- package/dist/src/profile/schema/find-trash.schema.js +0 -20
- package/dist/src/profile/schema/find-with-active-chat.schema.d.ts +0 -385
- package/dist/src/profile/schema/find-with-active-chat.schema.js +0 -22
- package/dist/src/profile/schema/update-profile.schema.d.ts +0 -196
- package/dist/src/profile/schema/update-profile.schema.js +0 -51
- /package/dist/src/{profile/schema → schema}/profile.schema.d.ts +0 -0
@@ -1,34 +1,58 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const createProfileSchema: z.ZodObject<{
|
3
|
+
profile: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
4
|
+
id: z.ZodString;
|
5
|
+
shortId: z.ZodNumber;
|
6
|
+
firstTimeMiExpo: z.ZodBoolean;
|
7
|
+
username: z.ZodNullable<z.ZodString>;
|
8
|
+
password: z.ZodNullable<z.ZodString>;
|
9
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
10
|
+
isPhoneVerified: z.ZodBoolean;
|
11
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
12
|
+
fullName: z.ZodString;
|
13
|
+
firstName: z.ZodNullable<z.ZodString>;
|
14
|
+
gender: z.ZodNullable<z.ZodString>;
|
15
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
16
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
17
|
+
instagram: z.ZodNullable<z.ZodString>;
|
18
|
+
mail: z.ZodNullable<z.ZodString>;
|
19
|
+
dni: z.ZodNullable<z.ZodString>;
|
20
|
+
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
21
|
+
birthLocationId: z.ZodNullable<z.ZodString>;
|
22
|
+
residenceLocationId: z.ZodNullable<z.ZodString>;
|
23
|
+
isInTrash: z.ZodBoolean;
|
24
|
+
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
25
|
+
created_at: z.ZodDate;
|
26
|
+
updated_at: z.ZodDate;
|
27
|
+
}, "phoneNumber" | "secondaryPhoneNumber" | "fullName" | "profilePictureUrl" | "mail" | "gender" | "birthDate" | "instagram" | "dni" | "alternativeNames">, {
|
28
|
+
comments: z.ZodOptional<z.ZodArray<z.ZodObject<Pick<{
|
29
|
+
id: z.ZodString;
|
30
|
+
content: z.ZodString;
|
31
|
+
createdBy: z.ZodString;
|
32
|
+
profileId: z.ZodString;
|
33
|
+
isSolvable: z.ZodDefault<z.ZodBoolean>;
|
34
|
+
isSolved: z.ZodDefault<z.ZodBoolean>;
|
35
|
+
solvedAt: z.ZodNullable<z.ZodDate>;
|
36
|
+
solvedBy: z.ZodOptional<z.ZodString>;
|
37
|
+
created_at: z.ZodDate;
|
38
|
+
updated_at: z.ZodDate;
|
39
|
+
}, "content" | "isSolvable">, "strip", z.ZodTypeAny, {
|
19
40
|
content: string;
|
20
41
|
isSolvable: boolean;
|
21
42
|
}, {
|
22
43
|
content: string;
|
23
44
|
isSolvable?: boolean | undefined;
|
24
45
|
}>, "many">>;
|
25
|
-
residence:
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
country:
|
30
|
-
|
31
|
-
|
46
|
+
residence: z.ZodOptional<z.ZodObject<Pick<{
|
47
|
+
id: z.ZodString;
|
48
|
+
latitude: z.ZodNumber;
|
49
|
+
longitude: z.ZodNumber;
|
50
|
+
country: z.ZodString;
|
51
|
+
state: z.ZodString;
|
52
|
+
city: z.ZodString;
|
53
|
+
created_at: z.ZodDate;
|
54
|
+
updated_at: z.ZodDate;
|
55
|
+
}, "latitude" | "longitude" | "state" | "country" | "city">, "strip", z.ZodTypeAny, {
|
32
56
|
latitude: number;
|
33
57
|
longitude: number;
|
34
58
|
state: string;
|
@@ -41,13 +65,16 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
41
65
|
country: string;
|
42
66
|
city: string;
|
43
67
|
}>>;
|
44
|
-
birth:
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
country:
|
49
|
-
|
50
|
-
|
68
|
+
birth: z.ZodOptional<z.ZodObject<Pick<{
|
69
|
+
id: z.ZodString;
|
70
|
+
latitude: z.ZodNumber;
|
71
|
+
longitude: z.ZodNumber;
|
72
|
+
country: z.ZodString;
|
73
|
+
state: z.ZodString;
|
74
|
+
city: z.ZodString;
|
75
|
+
created_at: z.ZodDate;
|
76
|
+
updated_at: z.ZodDate;
|
77
|
+
}, "latitude" | "longitude" | "state" | "country" | "city">, "strip", z.ZodTypeAny, {
|
51
78
|
latitude: number;
|
52
79
|
longitude: number;
|
53
80
|
state: string;
|
@@ -60,10 +87,8 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
60
87
|
country: string;
|
61
88
|
city: string;
|
62
89
|
}>>;
|
63
|
-
tags:
|
64
|
-
}
|
65
|
-
username: string | null;
|
66
|
-
password: string | null;
|
90
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
91
|
+
}>, "strip", z.ZodTypeAny, {
|
67
92
|
phoneNumber: string;
|
68
93
|
secondaryPhoneNumber: string | null;
|
69
94
|
fullName: string;
|
@@ -94,8 +119,6 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
94
119
|
city: string;
|
95
120
|
} | undefined;
|
96
121
|
}, {
|
97
|
-
username: string | null;
|
98
|
-
password: string | null;
|
99
122
|
phoneNumber: string;
|
100
123
|
secondaryPhoneNumber: string | null;
|
101
124
|
fullName: string;
|
@@ -126,11 +149,199 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
126
149
|
city: string;
|
127
150
|
} | undefined;
|
128
151
|
}>;
|
129
|
-
checkForSimilarity:
|
130
|
-
},
|
152
|
+
checkForSimilarity: z.ZodOptional<z.ZodBoolean>;
|
153
|
+
}, "strip", z.ZodTypeAny, {
|
154
|
+
profile: {
|
155
|
+
phoneNumber: string;
|
156
|
+
secondaryPhoneNumber: string | null;
|
157
|
+
fullName: string;
|
158
|
+
profilePictureUrl: string | null;
|
159
|
+
mail: string | null;
|
160
|
+
gender: string | null;
|
161
|
+
birthDate: Date | null;
|
162
|
+
instagram: string | null;
|
163
|
+
dni: string | null;
|
164
|
+
alternativeNames: string[];
|
165
|
+
comments?: {
|
166
|
+
content: string;
|
167
|
+
isSolvable: boolean;
|
168
|
+
}[] | undefined;
|
169
|
+
tags?: string[] | undefined;
|
170
|
+
residence?: {
|
171
|
+
latitude: number;
|
172
|
+
longitude: number;
|
173
|
+
state: string;
|
174
|
+
country: string;
|
175
|
+
city: string;
|
176
|
+
} | undefined;
|
177
|
+
birth?: {
|
178
|
+
latitude: number;
|
179
|
+
longitude: number;
|
180
|
+
state: string;
|
181
|
+
country: string;
|
182
|
+
city: string;
|
183
|
+
} | undefined;
|
184
|
+
};
|
185
|
+
checkForSimilarity?: boolean | undefined;
|
186
|
+
}, {
|
187
|
+
profile: {
|
188
|
+
phoneNumber: string;
|
189
|
+
secondaryPhoneNumber: string | null;
|
190
|
+
fullName: string;
|
191
|
+
profilePictureUrl: string | null;
|
192
|
+
mail: string | null;
|
193
|
+
gender: string | null;
|
194
|
+
birthDate: string | null;
|
195
|
+
instagram: string | null;
|
196
|
+
dni: string | null;
|
197
|
+
alternativeNames: string[];
|
198
|
+
comments?: {
|
199
|
+
content: string;
|
200
|
+
isSolvable?: boolean | undefined;
|
201
|
+
}[] | undefined;
|
202
|
+
tags?: string[] | undefined;
|
203
|
+
residence?: {
|
204
|
+
latitude: number;
|
205
|
+
longitude: number;
|
206
|
+
state: string;
|
207
|
+
country: string;
|
208
|
+
city: string;
|
209
|
+
} | undefined;
|
210
|
+
birth?: {
|
211
|
+
latitude: number;
|
212
|
+
longitude: number;
|
213
|
+
state: string;
|
214
|
+
country: string;
|
215
|
+
city: string;
|
216
|
+
} | undefined;
|
217
|
+
};
|
218
|
+
checkForSimilarity?: boolean | undefined;
|
219
|
+
}>;
|
220
|
+
declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
221
|
+
profile: z.ZodObject<{
|
222
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
223
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
224
|
+
fullName: z.ZodString;
|
225
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
226
|
+
mail: z.ZodNullable<z.ZodString>;
|
227
|
+
gender: z.ZodNullable<z.ZodString>;
|
228
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
229
|
+
instagram: z.ZodNullable<z.ZodString>;
|
230
|
+
dni: z.ZodNullable<z.ZodString>;
|
231
|
+
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
232
|
+
comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
233
|
+
content: z.ZodString;
|
234
|
+
isSolvable: z.ZodDefault<z.ZodBoolean>;
|
235
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
236
|
+
content: string;
|
237
|
+
isSolvable: boolean;
|
238
|
+
}, {
|
239
|
+
content: string;
|
240
|
+
isSolvable?: boolean | undefined;
|
241
|
+
}>, "many">>;
|
242
|
+
residence: z.ZodOptional<z.ZodObject<{
|
243
|
+
latitude: z.ZodNumber;
|
244
|
+
longitude: z.ZodNumber;
|
245
|
+
state: z.ZodString;
|
246
|
+
country: z.ZodString;
|
247
|
+
city: z.ZodString;
|
248
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
249
|
+
latitude: number;
|
250
|
+
longitude: number;
|
251
|
+
state: string;
|
252
|
+
country: string;
|
253
|
+
city: string;
|
254
|
+
}, {
|
255
|
+
latitude: number;
|
256
|
+
longitude: number;
|
257
|
+
state: string;
|
258
|
+
country: string;
|
259
|
+
city: string;
|
260
|
+
}>>;
|
261
|
+
birth: z.ZodOptional<z.ZodObject<{
|
262
|
+
latitude: z.ZodNumber;
|
263
|
+
longitude: z.ZodNumber;
|
264
|
+
state: z.ZodString;
|
265
|
+
country: z.ZodString;
|
266
|
+
city: z.ZodString;
|
267
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
268
|
+
latitude: number;
|
269
|
+
longitude: number;
|
270
|
+
state: string;
|
271
|
+
country: string;
|
272
|
+
city: string;
|
273
|
+
}, {
|
274
|
+
latitude: number;
|
275
|
+
longitude: number;
|
276
|
+
state: string;
|
277
|
+
country: string;
|
278
|
+
city: string;
|
279
|
+
}>>;
|
280
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
281
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
282
|
+
phoneNumber: string;
|
283
|
+
secondaryPhoneNumber: string | null;
|
284
|
+
fullName: string;
|
285
|
+
profilePictureUrl: string | null;
|
286
|
+
mail: string | null;
|
287
|
+
gender: string | null;
|
288
|
+
birthDate: Date | null;
|
289
|
+
instagram: string | null;
|
290
|
+
dni: string | null;
|
291
|
+
alternativeNames: string[];
|
292
|
+
comments?: {
|
293
|
+
content: string;
|
294
|
+
isSolvable: boolean;
|
295
|
+
}[] | undefined;
|
296
|
+
tags?: string[] | undefined;
|
297
|
+
residence?: {
|
298
|
+
latitude: number;
|
299
|
+
longitude: number;
|
300
|
+
state: string;
|
301
|
+
country: string;
|
302
|
+
city: string;
|
303
|
+
} | undefined;
|
304
|
+
birth?: {
|
305
|
+
latitude: number;
|
306
|
+
longitude: number;
|
307
|
+
state: string;
|
308
|
+
country: string;
|
309
|
+
city: string;
|
310
|
+
} | undefined;
|
311
|
+
}, {
|
312
|
+
phoneNumber: string;
|
313
|
+
secondaryPhoneNumber: string | null;
|
314
|
+
fullName: string;
|
315
|
+
profilePictureUrl: string | null;
|
316
|
+
mail: string | null;
|
317
|
+
gender: string | null;
|
318
|
+
birthDate: string | null;
|
319
|
+
instagram: string | null;
|
320
|
+
dni: string | null;
|
321
|
+
alternativeNames: string[];
|
322
|
+
comments?: {
|
323
|
+
content: string;
|
324
|
+
isSolvable?: boolean | undefined;
|
325
|
+
}[] | undefined;
|
326
|
+
tags?: string[] | undefined;
|
327
|
+
residence?: {
|
328
|
+
latitude: number;
|
329
|
+
longitude: number;
|
330
|
+
state: string;
|
331
|
+
country: string;
|
332
|
+
city: string;
|
333
|
+
} | undefined;
|
334
|
+
birth?: {
|
335
|
+
latitude: number;
|
336
|
+
longitude: number;
|
337
|
+
state: string;
|
338
|
+
country: string;
|
339
|
+
city: string;
|
340
|
+
} | undefined;
|
341
|
+
}>;
|
342
|
+
checkForSimilarity: z.ZodOptional<z.ZodBoolean>;
|
343
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
131
344
|
profile: {
|
132
|
-
username: string | null;
|
133
|
-
password: string | null;
|
134
345
|
phoneNumber: string;
|
135
346
|
secondaryPhoneNumber: string | null;
|
136
347
|
fullName: string;
|
@@ -164,8 +375,6 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
164
375
|
checkForSimilarity?: boolean | undefined;
|
165
376
|
}, {
|
166
377
|
profile: {
|
167
|
-
username: string | null;
|
168
|
-
password: string | null;
|
169
378
|
phoneNumber: string;
|
170
379
|
secondaryPhoneNumber: string | null;
|
171
380
|
fullName: string;
|
@@ -200,34 +409,210 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
200
409
|
}>>;
|
201
410
|
export declare class CreateProfileDto extends CreateProfileDto_base {
|
202
411
|
}
|
203
|
-
declare const
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
412
|
+
declare const similarProfileSchema: z.ZodObject<{
|
413
|
+
profile: z.ZodObject<Pick<{
|
414
|
+
id: z.ZodString;
|
415
|
+
shortId: z.ZodNumber;
|
416
|
+
firstTimeMiExpo: z.ZodBoolean;
|
417
|
+
username: z.ZodNullable<z.ZodString>;
|
418
|
+
password: z.ZodNullable<z.ZodString>;
|
419
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
420
|
+
isPhoneVerified: z.ZodBoolean;
|
421
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
422
|
+
fullName: z.ZodString;
|
423
|
+
firstName: z.ZodNullable<z.ZodString>;
|
424
|
+
gender: z.ZodNullable<z.ZodString>;
|
425
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
426
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
427
|
+
instagram: z.ZodNullable<z.ZodString>;
|
428
|
+
mail: z.ZodNullable<z.ZodString>;
|
429
|
+
dni: z.ZodNullable<z.ZodString>;
|
430
|
+
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
431
|
+
birthLocationId: z.ZodNullable<z.ZodString>;
|
432
|
+
residenceLocationId: z.ZodNullable<z.ZodString>;
|
433
|
+
isInTrash: z.ZodBoolean;
|
434
|
+
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
435
|
+
created_at: z.ZodDate;
|
436
|
+
updated_at: z.ZodDate;
|
437
|
+
}, "id" | "phoneNumber" | "fullName">, "strip", z.ZodTypeAny, {
|
438
|
+
id: string;
|
439
|
+
phoneNumber: string;
|
440
|
+
fullName: string;
|
441
|
+
}, {
|
442
|
+
id: string;
|
443
|
+
phoneNumber: string;
|
444
|
+
fullName: string;
|
445
|
+
}>;
|
446
|
+
similarityPhoneNumberPercentage: z.ZodNumber;
|
447
|
+
similarityFullNamePercentage: z.ZodNumber;
|
448
|
+
}, "strip", z.ZodTypeAny, {
|
449
|
+
profile: {
|
450
|
+
id: string;
|
451
|
+
phoneNumber: string;
|
452
|
+
fullName: string;
|
453
|
+
};
|
454
|
+
similarityPhoneNumberPercentage: number;
|
455
|
+
similarityFullNamePercentage: number;
|
456
|
+
}, {
|
457
|
+
profile: {
|
458
|
+
id: string;
|
459
|
+
phoneNumber: string;
|
460
|
+
fullName: string;
|
461
|
+
};
|
462
|
+
similarityPhoneNumberPercentage: number;
|
463
|
+
similarityFullNamePercentage: number;
|
464
|
+
}>;
|
465
|
+
export declare const createProfileResponseSchema: z.ZodObject<{
|
466
|
+
response: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
467
|
+
similarProfiles: z.ZodArray<z.ZodObject<{
|
468
|
+
profile: z.ZodObject<Pick<{
|
469
|
+
id: z.ZodString;
|
470
|
+
shortId: z.ZodNumber;
|
471
|
+
firstTimeMiExpo: z.ZodBoolean;
|
472
|
+
username: z.ZodNullable<z.ZodString>;
|
473
|
+
password: z.ZodNullable<z.ZodString>;
|
474
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
475
|
+
isPhoneVerified: z.ZodBoolean;
|
476
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
477
|
+
fullName: z.ZodString;
|
478
|
+
firstName: z.ZodNullable<z.ZodString>;
|
479
|
+
gender: z.ZodNullable<z.ZodString>;
|
480
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
481
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
482
|
+
instagram: z.ZodNullable<z.ZodString>;
|
483
|
+
mail: z.ZodNullable<z.ZodString>;
|
484
|
+
dni: z.ZodNullable<z.ZodString>;
|
485
|
+
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
486
|
+
birthLocationId: z.ZodNullable<z.ZodString>;
|
487
|
+
residenceLocationId: z.ZodNullable<z.ZodString>;
|
488
|
+
isInTrash: z.ZodBoolean;
|
489
|
+
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
490
|
+
created_at: z.ZodDate;
|
491
|
+
updated_at: z.ZodDate;
|
492
|
+
}, "id" | "phoneNumber" | "fullName">, "strip", z.ZodTypeAny, {
|
493
|
+
id: string;
|
494
|
+
phoneNumber: string;
|
495
|
+
fullName: string;
|
496
|
+
}, {
|
497
|
+
id: string;
|
498
|
+
phoneNumber: string;
|
499
|
+
fullName: string;
|
500
|
+
}>;
|
501
|
+
similarityPhoneNumberPercentage: z.ZodNumber;
|
502
|
+
similarityFullNamePercentage: z.ZodNumber;
|
503
|
+
}, "strip", z.ZodTypeAny, {
|
504
|
+
profile: {
|
505
|
+
id: string;
|
506
|
+
phoneNumber: string;
|
507
|
+
fullName: string;
|
508
|
+
};
|
509
|
+
similarityPhoneNumberPercentage: number;
|
510
|
+
similarityFullNamePercentage: number;
|
511
|
+
}, {
|
512
|
+
profile: {
|
513
|
+
id: string;
|
514
|
+
phoneNumber: string;
|
515
|
+
fullName: string;
|
516
|
+
};
|
517
|
+
similarityPhoneNumberPercentage: number;
|
518
|
+
similarityFullNamePercentage: number;
|
519
|
+
}>, "many">;
|
520
|
+
}, {
|
521
|
+
type: z.ZodLiteral<"similar">;
|
522
|
+
}>, "strip", z.ZodTypeAny, {
|
523
|
+
type: "similar";
|
524
|
+
similarProfiles: {
|
525
|
+
profile: {
|
526
|
+
id: string;
|
527
|
+
phoneNumber: string;
|
528
|
+
fullName: string;
|
529
|
+
};
|
530
|
+
similarityPhoneNumberPercentage: number;
|
531
|
+
similarityFullNamePercentage: number;
|
532
|
+
}[];
|
533
|
+
}, {
|
534
|
+
type: "similar";
|
535
|
+
similarProfiles: {
|
536
|
+
profile: {
|
537
|
+
id: string;
|
538
|
+
phoneNumber: string;
|
539
|
+
fullName: string;
|
540
|
+
};
|
541
|
+
similarityPhoneNumberPercentage: number;
|
542
|
+
similarityFullNamePercentage: number;
|
543
|
+
}[];
|
544
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
545
|
+
id: z.ZodString;
|
546
|
+
}, {
|
547
|
+
type: z.ZodLiteral<"created">;
|
548
|
+
}>, "strip", z.ZodTypeAny, {
|
549
|
+
id: string;
|
550
|
+
type: "created";
|
551
|
+
}, {
|
552
|
+
id: string;
|
553
|
+
type: "created";
|
554
|
+
}>]>;
|
555
|
+
}, "strip", z.ZodTypeAny, {
|
556
|
+
response: {
|
557
|
+
type: "similar";
|
558
|
+
similarProfiles: {
|
559
|
+
profile: {
|
560
|
+
id: string;
|
561
|
+
phoneNumber: string;
|
562
|
+
fullName: string;
|
563
|
+
};
|
564
|
+
similarityPhoneNumberPercentage: number;
|
565
|
+
similarityFullNamePercentage: number;
|
566
|
+
}[];
|
567
|
+
} | {
|
568
|
+
id: string;
|
569
|
+
type: "created";
|
570
|
+
};
|
571
|
+
}, {
|
572
|
+
response: {
|
573
|
+
type: "similar";
|
574
|
+
similarProfiles: {
|
575
|
+
profile: {
|
576
|
+
id: string;
|
577
|
+
phoneNumber: string;
|
578
|
+
fullName: string;
|
579
|
+
};
|
580
|
+
similarityPhoneNumberPercentage: number;
|
581
|
+
similarityFullNamePercentage: number;
|
582
|
+
}[];
|
583
|
+
} | {
|
584
|
+
id: string;
|
585
|
+
type: "created";
|
586
|
+
};
|
587
|
+
}>;
|
588
|
+
declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
589
|
+
response: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
590
|
+
similarProfiles: z.ZodArray<z.ZodObject<{
|
591
|
+
profile: z.ZodObject<Pick<{
|
592
|
+
id: z.ZodString;
|
593
|
+
shortId: z.ZodNumber;
|
594
|
+
firstTimeMiExpo: z.ZodBoolean;
|
595
|
+
username: z.ZodNullable<z.ZodString>;
|
596
|
+
password: z.ZodNullable<z.ZodString>;
|
597
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
598
|
+
isPhoneVerified: z.ZodBoolean;
|
599
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
600
|
+
fullName: z.ZodString;
|
601
|
+
firstName: z.ZodNullable<z.ZodString>;
|
602
|
+
gender: z.ZodNullable<z.ZodString>;
|
603
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
604
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
605
|
+
instagram: z.ZodNullable<z.ZodString>;
|
606
|
+
mail: z.ZodNullable<z.ZodString>;
|
607
|
+
dni: z.ZodNullable<z.ZodString>;
|
608
|
+
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
609
|
+
birthLocationId: z.ZodNullable<z.ZodString>;
|
610
|
+
residenceLocationId: z.ZodNullable<z.ZodString>;
|
611
|
+
isInTrash: z.ZodBoolean;
|
612
|
+
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
613
|
+
created_at: z.ZodDate;
|
614
|
+
updated_at: z.ZodDate;
|
615
|
+
}, "id" | "phoneNumber" | "fullName">, "strip", z.ZodTypeAny, {
|
231
616
|
id: string;
|
232
617
|
phoneNumber: string;
|
233
618
|
fullName: string;
|
@@ -236,9 +621,9 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
236
621
|
phoneNumber: string;
|
237
622
|
fullName: string;
|
238
623
|
}>;
|
239
|
-
similarityPhoneNumberPercentage:
|
240
|
-
similarityFullNamePercentage:
|
241
|
-
}, "strip",
|
624
|
+
similarityPhoneNumberPercentage: z.ZodNumber;
|
625
|
+
similarityFullNamePercentage: z.ZodNumber;
|
626
|
+
}, "strip", z.ZodTypeAny, {
|
242
627
|
profile: {
|
243
628
|
id: string;
|
244
629
|
phoneNumber: string;
|
@@ -256,8 +641,8 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
256
641
|
similarityFullNamePercentage: number;
|
257
642
|
}>, "many">;
|
258
643
|
}, {
|
259
|
-
type:
|
260
|
-
}>, "strip",
|
644
|
+
type: z.ZodLiteral<"similar">;
|
645
|
+
}>, "strip", z.ZodTypeAny, {
|
261
646
|
type: "similar";
|
262
647
|
similarProfiles: {
|
263
648
|
profile: {
|
@@ -279,18 +664,18 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
279
664
|
similarityPhoneNumberPercentage: number;
|
280
665
|
similarityFullNamePercentage: number;
|
281
666
|
}[];
|
282
|
-
}>,
|
283
|
-
id:
|
667
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
668
|
+
id: z.ZodString;
|
284
669
|
}, {
|
285
|
-
type:
|
286
|
-
}>, "strip",
|
670
|
+
type: z.ZodLiteral<"created">;
|
671
|
+
}>, "strip", z.ZodTypeAny, {
|
287
672
|
id: string;
|
288
673
|
type: "created";
|
289
674
|
}, {
|
290
675
|
id: string;
|
291
676
|
type: "created";
|
292
677
|
}>]>;
|
293
|
-
},
|
678
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
294
679
|
response: {
|
295
680
|
type: "similar";
|
296
681
|
similarProfiles: {
|
@@ -325,4 +710,5 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
325
710
|
}>>;
|
326
711
|
export declare class CreateProfileResponseDto extends CreateProfileResponseDto_base {
|
327
712
|
}
|
713
|
+
export type SimilarityProfile = z.infer<typeof similarProfileSchema>;
|
328
714
|
export {};
|