expo-backend-types 0.30.0-EXPO-308-auth.13 → 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.
Files changed (60) hide show
  1. package/dist/src/auth/dto/login-mi-expo.dto.js +2 -2
  2. package/dist/src/exports.d.ts +0 -1
  3. package/dist/src/exports.js +0 -1
  4. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  5. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  6. package/dist/src/otp/dto/send-otp.dto.js +2 -2
  7. package/dist/src/otp/dto/verify-otp.dto.js +3 -3
  8. package/dist/src/profile/dto/create-profile.dto.d.ts +82 -468
  9. package/dist/src/profile/dto/create-profile.dto.js +4 -80
  10. package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -73
  11. package/dist/src/profile/dto/delete-profile.dto.js +3 -4
  12. package/dist/src/profile/dto/find-all-profile.dto.d.ts +39 -266
  13. package/dist/src/profile/dto/find-all-profile.dto.js +3 -19
  14. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +79 -440
  15. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +4 -26
  16. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +58 -309
  17. package/dist/src/profile/dto/find-by-id-profile.dto.js +3 -21
  18. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +0 -73
  19. package/dist/src/profile/dto/find-by-phone-number.dto.js +3 -4
  20. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +35 -223
  21. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +3 -13
  22. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +38 -257
  23. package/dist/src/profile/dto/find-by-tags-profile.dto.js +3 -18
  24. package/dist/src/profile/dto/find-trash.dto.d.ts +11 -75
  25. package/dist/src/profile/dto/find-trash.dto.js +3 -18
  26. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +58 -443
  27. package/dist/src/profile/dto/find-with-active-chat.dto.js +3 -20
  28. package/dist/src/profile/dto/profile.dto.js +2 -2
  29. package/dist/src/profile/dto/update-profile.dto.d.ts +60 -244
  30. package/dist/src/profile/dto/update-profile.dto.js +4 -48
  31. package/dist/src/profile/exports.d.ts +12 -12
  32. package/dist/src/profile/exports.js +12 -12
  33. package/dist/src/profile/schema/create-profile.schema.d.ts +405 -0
  34. package/dist/src/profile/schema/create-profile.schema.js +83 -0
  35. package/dist/src/profile/schema/delete-profile.schema.d.ts +73 -0
  36. package/dist/src/profile/schema/delete-profile.schema.js +6 -0
  37. package/dist/src/profile/schema/find-all-profile.schema.d.ts +227 -0
  38. package/dist/src/profile/schema/find-all-profile.schema.js +21 -0
  39. package/dist/src/profile/schema/find-by-date-range-profile.schema.d.ts +361 -0
  40. package/dist/src/profile/schema/find-by-date-range-profile.schema.js +27 -0
  41. package/dist/src/profile/schema/find-by-id-profile.schema.d.ts +251 -0
  42. package/dist/src/profile/schema/find-by-id-profile.schema.js +23 -0
  43. package/dist/src/profile/schema/find-by-phone-number.schema.d.ts +73 -0
  44. package/dist/src/profile/schema/find-by-phone-number.schema.js +6 -0
  45. package/dist/src/profile/schema/find-by-tag-groups-profile.schema.d.ts +188 -0
  46. package/dist/src/profile/schema/find-by-tag-groups-profile.schema.js +15 -0
  47. package/dist/src/profile/schema/find-by-tags-profile.schema.d.ts +219 -0
  48. package/dist/src/profile/schema/find-by-tags-profile.schema.js +20 -0
  49. package/dist/src/profile/schema/find-trash.schema.d.ts +64 -0
  50. package/dist/src/profile/schema/find-trash.schema.js +20 -0
  51. package/dist/src/profile/schema/find-with-active-chat.schema.d.ts +385 -0
  52. package/dist/src/profile/schema/find-with-active-chat.schema.js +22 -0
  53. package/dist/src/{prisma/dtos.dto.js → profile/schema/profile.schema.js} +2 -2
  54. package/dist/src/profile/schema/update-profile.schema.d.ts +196 -0
  55. package/dist/src/profile/schema/update-profile.schema.js +51 -0
  56. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  57. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  58. package/dist/types/schema.d.ts +4 -0
  59. package/package.json +2 -5
  60. /package/dist/src/{prisma/dtos.dto.d.ts → profile/schema/profile.schema.d.ts} +0 -0
@@ -1,58 +1,34 @@
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, {
1
+ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
2
+ profile: import("zod").ZodObject<{
3
+ username: import("zod").ZodNullable<import("zod").ZodString>;
4
+ password: import("zod").ZodNullable<import("zod").ZodString>;
5
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
6
+ secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
7
+ fullName: import("zod").ZodString;
8
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
9
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
10
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
11
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
12
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
13
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
14
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
15
+ comments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
16
+ content: import("zod").ZodString;
17
+ isSolvable: import("zod").ZodDefault<import("zod").ZodBoolean>;
18
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
40
19
  content: string;
41
20
  isSolvable: boolean;
42
21
  }, {
43
22
  content: string;
44
23
  isSolvable?: boolean | undefined;
45
24
  }>, "many">>;
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, {
25
+ residence: import("zod").ZodOptional<import("zod").ZodObject<{
26
+ latitude: import("zod").ZodNumber;
27
+ longitude: import("zod").ZodNumber;
28
+ state: import("zod").ZodString;
29
+ country: import("zod").ZodString;
30
+ city: import("zod").ZodString;
31
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
56
32
  latitude: number;
57
33
  longitude: number;
58
34
  state: string;
@@ -65,16 +41,13 @@ export declare const createProfileSchema: z.ZodObject<{
65
41
  country: string;
66
42
  city: string;
67
43
  }>>;
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, {
44
+ birth: import("zod").ZodOptional<import("zod").ZodObject<{
45
+ latitude: import("zod").ZodNumber;
46
+ longitude: import("zod").ZodNumber;
47
+ state: import("zod").ZodString;
48
+ country: import("zod").ZodString;
49
+ city: import("zod").ZodString;
50
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
78
51
  latitude: number;
79
52
  longitude: number;
80
53
  state: string;
@@ -87,8 +60,10 @@ export declare const createProfileSchema: z.ZodObject<{
87
60
  country: string;
88
61
  city: string;
89
62
  }>>;
90
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
91
- }>, "strip", z.ZodTypeAny, {
63
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
64
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
65
+ username: string | null;
66
+ password: string | null;
92
67
  phoneNumber: string;
93
68
  secondaryPhoneNumber: string | null;
94
69
  fullName: string;
@@ -119,6 +94,8 @@ export declare const createProfileSchema: z.ZodObject<{
119
94
  city: string;
120
95
  } | undefined;
121
96
  }, {
97
+ username: string | null;
98
+ password: string | null;
122
99
  phoneNumber: string;
123
100
  secondaryPhoneNumber: string | null;
124
101
  fullName: string;
@@ -149,199 +126,11 @@ export declare const createProfileSchema: z.ZodObject<{
149
126
  city: string;
150
127
  } | undefined;
151
128
  }>;
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, {
129
+ checkForSimilarity: import("zod").ZodOptional<import("zod").ZodBoolean>;
130
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
344
131
  profile: {
132
+ username: string | null;
133
+ password: string | null;
345
134
  phoneNumber: string;
346
135
  secondaryPhoneNumber: string | null;
347
136
  fullName: string;
@@ -375,6 +164,8 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
375
164
  checkForSimilarity?: boolean | undefined;
376
165
  }, {
377
166
  profile: {
167
+ username: string | null;
168
+ password: string | null;
378
169
  phoneNumber: string;
379
170
  secondaryPhoneNumber: string | null;
380
171
  fullName: string;
@@ -409,210 +200,34 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
409
200
  }>>;
410
201
  export declare class CreateProfileDto extends CreateProfileDto_base {
411
202
  }
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, {
203
+ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
204
+ response: import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<import("zod").objectUtil.extendShape<{
205
+ similarProfiles: import("zod").ZodArray<import("zod").ZodObject<{
206
+ profile: import("zod").ZodObject<Pick<{
207
+ id: import("zod").ZodString;
208
+ shortId: import("zod").ZodNumber;
209
+ firstTimeMiExpo: import("zod").ZodBoolean;
210
+ username: import("zod").ZodNullable<import("zod").ZodString>;
211
+ password: import("zod").ZodNullable<import("zod").ZodString>;
212
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
213
+ isPhoneVerified: import("zod").ZodBoolean;
214
+ secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
215
+ fullName: import("zod").ZodString;
216
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
217
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
218
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
219
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
220
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
221
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
222
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
223
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
224
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
225
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
226
+ isInTrash: import("zod").ZodBoolean;
227
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
228
+ created_at: import("zod").ZodDate;
229
+ updated_at: import("zod").ZodDate;
230
+ }, "id" | "phoneNumber" | "fullName">, "strip", import("zod").ZodTypeAny, {
616
231
  id: string;
617
232
  phoneNumber: string;
618
233
  fullName: string;
@@ -621,9 +236,9 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
621
236
  phoneNumber: string;
622
237
  fullName: string;
623
238
  }>;
624
- similarityPhoneNumberPercentage: z.ZodNumber;
625
- similarityFullNamePercentage: z.ZodNumber;
626
- }, "strip", z.ZodTypeAny, {
239
+ similarityPhoneNumberPercentage: import("zod").ZodNumber;
240
+ similarityFullNamePercentage: import("zod").ZodNumber;
241
+ }, "strip", import("zod").ZodTypeAny, {
627
242
  profile: {
628
243
  id: string;
629
244
  phoneNumber: string;
@@ -641,8 +256,8 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
641
256
  similarityFullNamePercentage: number;
642
257
  }>, "many">;
643
258
  }, {
644
- type: z.ZodLiteral<"similar">;
645
- }>, "strip", z.ZodTypeAny, {
259
+ type: import("zod").ZodLiteral<"similar">;
260
+ }>, "strip", import("zod").ZodTypeAny, {
646
261
  type: "similar";
647
262
  similarProfiles: {
648
263
  profile: {
@@ -664,18 +279,18 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
664
279
  similarityPhoneNumberPercentage: number;
665
280
  similarityFullNamePercentage: number;
666
281
  }[];
667
- }>, z.ZodObject<z.objectUtil.extendShape<{
668
- id: z.ZodString;
282
+ }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
283
+ id: import("zod").ZodString;
669
284
  }, {
670
- type: z.ZodLiteral<"created">;
671
- }>, "strip", z.ZodTypeAny, {
285
+ type: import("zod").ZodLiteral<"created">;
286
+ }>, "strip", import("zod").ZodTypeAny, {
672
287
  id: string;
673
288
  type: "created";
674
289
  }, {
675
290
  id: string;
676
291
  type: "created";
677
292
  }>]>;
678
- }, z.UnknownKeysParam, z.ZodTypeAny, {
293
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
679
294
  response: {
680
295
  type: "similar";
681
296
  similarProfiles: {
@@ -710,5 +325,4 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
710
325
  }>>;
711
326
  export declare class CreateProfileResponseDto extends CreateProfileResponseDto_base {
712
327
  }
713
- export type SimilarityProfile = z.infer<typeof similarProfileSchema>;
714
328
  export {};