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,28 +1,25 @@
1
- import z from 'zod';
2
- export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
4
- secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>>;
5
- fullName: z.ZodOptional<z.ZodString>;
6
- profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
- gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- birthDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>>;
10
- instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- dni: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- alternativeNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
- isInTrash: z.ZodOptional<z.ZodBoolean>;
14
- movedToTrashDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
15
- }, {
16
- residence: z.ZodOptional<z.ZodObject<Pick<{
17
- id: z.ZodString;
18
- latitude: z.ZodNumber;
19
- longitude: z.ZodNumber;
20
- country: z.ZodString;
21
- state: z.ZodString;
22
- city: z.ZodString;
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: z.ZodOptional<z.ZodObject<Pick<{
39
- id: z.ZodString;
40
- latitude: z.ZodNumber;
41
- longitude: z.ZodNumber;
42
- country: z.ZodString;
43
- state: z.ZodString;
44
- city: z.ZodString;
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: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
61
- }>, "strip", z.ZodTypeAny, {
62
- phoneNumber?: string | undefined;
63
- secondaryPhoneNumber?: string | null | undefined;
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
- export declare const updateProfileResponseSchema: z.ZodObject<{
230
- id: z.ZodString;
231
- shortId: z.ZodNumber;
232
- firstTimeMiExpo: z.ZodBoolean;
233
- username: z.ZodNullable<z.ZodString>;
234
- password: z.ZodNullable<z.ZodString>;
235
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
236
- isPhoneVerified: z.ZodBoolean;
237
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
238
- fullName: z.ZodString;
239
- firstName: z.ZodNullable<z.ZodString>;
240
- gender: z.ZodNullable<z.ZodString>;
241
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
242
- profilePictureUrl: z.ZodNullable<z.ZodString>;
243
- instagram: z.ZodNullable<z.ZodString>;
244
- mail: z.ZodNullable<z.ZodString>;
245
- dni: z.ZodNullable<z.ZodString>;
246
- alternativeNames: z.ZodArray<z.ZodString, "many">;
247
- birthLocationId: z.ZodNullable<z.ZodString>;
248
- residenceLocationId: z.ZodNullable<z.ZodString>;
249
- isInTrash: z.ZodBoolean;
250
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
251
- created_at: z.ZodDate;
252
- updated_at: z.ZodDate;
253
- }, "strip", z.ZodTypeAny, {
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.updateProfileResponseSchema = exports.UpdateProfileDto = exports.updateProfileSchema = void 0;
7
- const location_dto_1 = require("../../location/dto/location.dto");
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
- const tag_dto_1 = require("../../tag/dto/tag.dto");
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
- exports.updateProfileResponseSchema = dtos_dto_1.profileSchema;
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 './dto/create-profile.dto';
2
- export * from './dto/delete-profile.dto';
3
- export * from './dto/find-all-profile.dto';
4
- export * from './dto/find-by-date-range-profile.dto';
5
- export * from './dto/find-by-id-profile.dto';
6
- export * from './dto/find-by-phone-number.dto';
7
- export * from './dto/find-by-tag-groups-profile.dto';
8
- export * from './dto/find-by-tags-profile.dto';
9
- export * from './dto/find-trash.dto';
10
- export * from './dto/find-with-active-chat.dto';
11
- export * from './dto/profile.dto';
12
- export * from './dto/update-profile.dto';
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("./dto/create-profile.dto"), exports);
18
- __exportStar(require("./dto/delete-profile.dto"), exports);
19
- __exportStar(require("./dto/find-all-profile.dto"), exports);
20
- __exportStar(require("./dto/find-by-date-range-profile.dto"), exports);
21
- __exportStar(require("./dto/find-by-id-profile.dto"), exports);
22
- __exportStar(require("./dto/find-by-phone-number.dto"), exports);
23
- __exportStar(require("./dto/find-by-tag-groups-profile.dto"), exports);
24
- __exportStar(require("./dto/find-by-tags-profile.dto"), exports);
25
- __exportStar(require("./dto/find-trash.dto"), exports);
26
- __exportStar(require("./dto/find-with-active-chat.dto"), exports);
27
- __exportStar(require("./dto/profile.dto"), exports);
28
- __exportStar(require("./dto/update-profile.dto"), exports);
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