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.
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 +4 -3
  60. /package/dist/src/{prisma/dtos.dto.d.ts → profile/schema/profile.schema.d.ts} +0 -0
@@ -1,88 +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.CreateProfileResponseDto = exports.createProfileResponseSchema = exports.CreateProfileDto = exports.createProfileSchema = void 0;
7
- const comment_dto_1 = require("../../comment/dto/comment.dto");
8
- const location_dto_1 = require("../../location/dto/location.dto");
9
- const dtos_dto_1 = require("../../prisma/dtos.dto");
3
+ exports.CreateProfileResponseDto = exports.CreateProfileDto = void 0;
4
+ const create_profile_schema_1 = require("../schema/create-profile.schema");
10
5
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
11
- const tag_dto_1 = require("../../tag/dto/tag.dto");
12
- const zod_1 = __importDefault(require("zod"));
13
- exports.createProfileSchema = zod_1.default.object({
14
- profile: dtos_dto_1.profileSchema
15
- .pick({
16
- alternativeNames: true,
17
- birthDate: true,
18
- dni: true,
19
- fullName: true,
20
- gender: true,
21
- instagram: true,
22
- mail: true,
23
- phoneNumber: true,
24
- profilePictureUrl: true,
25
- secondaryPhoneNumber: true,
26
- })
27
- .merge(zod_1.default.object({
28
- comments: zod_1.default
29
- .array(comment_dto_1.commentSchema.pick({
30
- content: true,
31
- isSolvable: true,
32
- }))
33
- .optional(),
34
- residence: location_dto_1.locationSchema
35
- .pick({
36
- city: true,
37
- country: true,
38
- latitude: true,
39
- longitude: true,
40
- state: true,
41
- })
42
- .optional(),
43
- birth: location_dto_1.locationSchema
44
- .pick({
45
- city: true,
46
- country: true,
47
- latitude: true,
48
- longitude: true,
49
- state: true,
50
- })
51
- .optional(),
52
- tags: zod_1.default.array(tag_dto_1.tagSchema.shape.id).optional(),
53
- })),
54
- checkForSimilarity: zod_1.default.boolean().optional(),
55
- });
56
- class CreateProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createProfileSchema) {
6
+ class CreateProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(create_profile_schema_1.createProfileSchema) {
57
7
  }
58
8
  exports.CreateProfileDto = CreateProfileDto;
59
- const similarProfileSchema = zod_1.default.object({
60
- profile: dtos_dto_1.profileSchema.pick({
61
- fullName: true,
62
- phoneNumber: true,
63
- id: true,
64
- }),
65
- similarityPhoneNumberPercentage: zod_1.default.number(),
66
- similarityFullNamePercentage: zod_1.default.number(),
67
- });
68
- const similarityProfileSchema = zod_1.default.object({
69
- similarProfiles: zod_1.default.array(similarProfileSchema),
70
- });
71
- const createdProfileSchema = zod_1.default.object({
72
- id: dtos_dto_1.profileSchema.shape.id,
73
- });
74
- const createProfileResponseSchemaBase = zod_1.default.discriminatedUnion('type', [
75
- similarityProfileSchema.extend({
76
- type: zod_1.default.literal('similar'),
77
- }),
78
- createdProfileSchema.extend({
79
- type: zod_1.default.literal('created'),
80
- }),
81
- ]);
82
- exports.createProfileResponseSchema = zod_1.default.object({
83
- response: createProfileResponseSchemaBase,
84
- });
85
- class CreateProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createProfileResponseSchema) {
9
+ class CreateProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(create_profile_schema_1.createProfileResponseSchema) {
86
10
  }
87
11
  exports.CreateProfileResponseDto = CreateProfileResponseDto;
88
12
  //# sourceMappingURL=create-profile.dto.js.map
@@ -1,76 +1,3 @@
1
- export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
2
- id: import("zod").ZodString;
3
- shortId: import("zod").ZodNumber;
4
- firstTimeMiExpo: import("zod").ZodBoolean;
5
- username: import("zod").ZodNullable<import("zod").ZodString>;
6
- password: import("zod").ZodNullable<import("zod").ZodString>;
7
- phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
8
- isPhoneVerified: import("zod").ZodBoolean;
9
- secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
10
- fullName: import("zod").ZodString;
11
- firstName: import("zod").ZodNullable<import("zod").ZodString>;
12
- gender: import("zod").ZodNullable<import("zod").ZodString>;
13
- birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
14
- profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
15
- instagram: import("zod").ZodNullable<import("zod").ZodString>;
16
- mail: import("zod").ZodNullable<import("zod").ZodString>;
17
- dni: import("zod").ZodNullable<import("zod").ZodString>;
18
- alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
19
- birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
20
- residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
21
- isInTrash: import("zod").ZodBoolean;
22
- movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
23
- created_at: import("zod").ZodDate;
24
- updated_at: import("zod").ZodDate;
25
- }, "strip", import("zod").ZodTypeAny, {
26
- id: string;
27
- username: string | null;
28
- password: string | null;
29
- phoneNumber: string;
30
- secondaryPhoneNumber: string | null;
31
- fullName: string;
32
- profilePictureUrl: string | null;
33
- mail: string | null;
34
- created_at: Date;
35
- updated_at: Date;
36
- shortId: number;
37
- firstTimeMiExpo: boolean;
38
- isPhoneVerified: boolean;
39
- firstName: string | null;
40
- gender: string | null;
41
- birthDate: Date | null;
42
- instagram: string | null;
43
- dni: string | null;
44
- alternativeNames: string[];
45
- birthLocationId: string | null;
46
- residenceLocationId: string | null;
47
- isInTrash: boolean;
48
- movedToTrashDate: Date | null;
49
- }, {
50
- id: string;
51
- username: string | null;
52
- password: string | null;
53
- phoneNumber: string;
54
- secondaryPhoneNumber: string | null;
55
- fullName: string;
56
- profilePictureUrl: string | null;
57
- mail: string | null;
58
- created_at: Date;
59
- updated_at: Date;
60
- shortId: number;
61
- firstTimeMiExpo: boolean;
62
- isPhoneVerified: boolean;
63
- firstName: string | null;
64
- gender: string | null;
65
- birthDate: string | null;
66
- instagram: string | null;
67
- dni: string | null;
68
- alternativeNames: string[];
69
- birthLocationId: string | null;
70
- residenceLocationId: string | null;
71
- isInTrash: boolean;
72
- movedToTrashDate: Date | null;
73
- }>;
74
1
  declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
75
2
  id: import("zod").ZodString;
76
3
  shortId: import("zod").ZodNumber;
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteProfileResponseDto = exports.deleteProfileResponseSchema = void 0;
4
- const dtos_dto_1 = require("../../prisma/dtos.dto");
3
+ exports.DeleteProfileResponseDto = void 0;
4
+ const delete_profile_schema_1 = require("../schema/delete-profile.schema");
5
5
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- exports.deleteProfileResponseSchema = dtos_dto_1.profileSchema;
7
- class DeleteProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteProfileResponseSchema) {
6
+ class DeleteProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(delete_profile_schema_1.deleteProfileResponseSchema) {
8
7
  }
9
8
  exports.DeleteProfileResponseDto = DeleteProfileResponseDto;
10
9
  //# sourceMappingURL=delete-profile.dto.js.map
@@ -1,278 +1,51 @@
1
- import z from 'zod';
2
- export declare const findAllProfileResponseSchema: z.ZodObject<{
3
- profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
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
- }, {
28
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
29
- id: z.ZodString;
30
- name: z.ZodString;
31
- groupId: z.ZodString;
32
- type: z.ZodNativeEnum<{
33
- PROFILE: "PROFILE";
34
- EVENT: "EVENT";
35
- PARTICIPANT: "PARTICIPANT";
36
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
37
- }>;
38
- created_at: z.ZodDate;
39
- updated_at: z.ZodDate;
40
- }, {
41
- group: z.ZodObject<Pick<{
42
- id: z.ZodString;
43
- name: z.ZodString;
44
- color: z.ZodString;
45
- isExclusive: z.ZodBoolean;
46
- created_at: z.ZodDate;
47
- updated_at: z.ZodDate;
48
- }, "color" | "isExclusive">, "strip", z.ZodTypeAny, {
49
- color: string;
50
- isExclusive: boolean;
51
- }, {
52
- color: string;
53
- isExclusive: boolean;
54
- }>;
55
- }>, "strip", z.ZodTypeAny, {
56
- id: string;
57
- name: string;
58
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
59
- created_at: Date;
60
- updated_at: Date;
61
- groupId: string;
62
- group: {
63
- color: string;
64
- isExclusive: boolean;
65
- };
66
- }, {
67
- id: string;
68
- name: string;
69
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
70
- created_at: Date;
71
- updated_at: Date;
72
- groupId: string;
73
- group: {
74
- color: string;
75
- isExclusive: boolean;
76
- };
77
- }>, "many">;
78
- }>, "strip", z.ZodTypeAny, {
79
- id: string;
80
- username: string | null;
81
- password: string | null;
82
- phoneNumber: string;
83
- secondaryPhoneNumber: string | null;
84
- fullName: string;
85
- profilePictureUrl: string | null;
86
- mail: string | null;
87
- created_at: Date;
88
- updated_at: Date;
89
- shortId: number;
90
- firstTimeMiExpo: boolean;
91
- isPhoneVerified: boolean;
92
- firstName: string | null;
93
- gender: string | null;
94
- birthDate: Date | null;
95
- instagram: string | null;
96
- dni: string | null;
97
- alternativeNames: string[];
98
- birthLocationId: string | null;
99
- residenceLocationId: string | null;
100
- isInTrash: boolean;
101
- movedToTrashDate: Date | null;
102
- tags: {
103
- id: string;
104
- name: string;
105
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
106
- created_at: Date;
107
- updated_at: Date;
108
- groupId: string;
109
- group: {
110
- color: string;
111
- isExclusive: boolean;
112
- };
113
- }[];
114
- }, {
115
- id: string;
116
- username: string | null;
117
- password: string | null;
118
- phoneNumber: string;
119
- secondaryPhoneNumber: string | null;
120
- fullName: string;
121
- profilePictureUrl: string | null;
122
- mail: string | null;
123
- created_at: Date;
124
- updated_at: Date;
125
- shortId: number;
126
- firstTimeMiExpo: boolean;
127
- isPhoneVerified: boolean;
128
- firstName: string | null;
129
- gender: string | null;
130
- birthDate: string | null;
131
- instagram: string | null;
132
- dni: string | null;
133
- alternativeNames: string[];
134
- birthLocationId: string | null;
135
- residenceLocationId: string | null;
136
- isInTrash: boolean;
137
- movedToTrashDate: Date | null;
138
- tags: {
139
- id: string;
140
- name: string;
141
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
142
- created_at: Date;
143
- updated_at: Date;
144
- groupId: string;
145
- group: {
146
- color: string;
147
- isExclusive: boolean;
148
- };
149
- }[];
150
- }>, "many">;
151
- }, "strip", z.ZodTypeAny, {
152
- profiles: {
153
- id: string;
154
- username: string | null;
155
- password: string | null;
156
- phoneNumber: string;
157
- secondaryPhoneNumber: string | null;
158
- fullName: string;
159
- profilePictureUrl: string | null;
160
- mail: string | null;
161
- created_at: Date;
162
- updated_at: Date;
163
- shortId: number;
164
- firstTimeMiExpo: boolean;
165
- isPhoneVerified: boolean;
166
- firstName: string | null;
167
- gender: string | null;
168
- birthDate: Date | null;
169
- instagram: string | null;
170
- dni: string | null;
171
- alternativeNames: string[];
172
- birthLocationId: string | null;
173
- residenceLocationId: string | null;
174
- isInTrash: boolean;
175
- movedToTrashDate: Date | null;
176
- tags: {
177
- id: string;
178
- name: string;
179
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
180
- created_at: Date;
181
- updated_at: Date;
182
- groupId: string;
183
- group: {
184
- color: string;
185
- isExclusive: boolean;
186
- };
187
- }[];
188
- }[];
189
- }, {
190
- profiles: {
191
- id: string;
192
- username: string | null;
193
- password: string | null;
194
- phoneNumber: string;
195
- secondaryPhoneNumber: string | null;
196
- fullName: string;
197
- profilePictureUrl: string | null;
198
- mail: string | null;
199
- created_at: Date;
200
- updated_at: Date;
201
- shortId: number;
202
- firstTimeMiExpo: boolean;
203
- isPhoneVerified: boolean;
204
- firstName: string | null;
205
- gender: string | null;
206
- birthDate: string | null;
207
- instagram: string | null;
208
- dni: string | null;
209
- alternativeNames: string[];
210
- birthLocationId: string | null;
211
- residenceLocationId: string | null;
212
- isInTrash: boolean;
213
- movedToTrashDate: Date | null;
214
- tags: {
215
- id: string;
216
- name: string;
217
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
218
- created_at: Date;
219
- updated_at: Date;
220
- groupId: string;
221
- group: {
222
- color: string;
223
- isExclusive: boolean;
224
- };
225
- }[];
226
- }[];
227
- }>;
228
- declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
229
- profiles: z.ZodArray<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.ZodString>;
251
- created_at: z.ZodString;
252
- updated_at: z.ZodString;
253
- tags: z.ZodArray<z.ZodObject<{
254
- id: z.ZodString;
255
- name: z.ZodString;
256
- groupId: z.ZodString;
257
- type: z.ZodNativeEnum<{
1
+ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
2
+ profiles: import("zod").ZodArray<import("zod").ZodObject<{
3
+ id: import("zod").ZodString;
4
+ shortId: import("zod").ZodNumber;
5
+ firstTimeMiExpo: import("zod").ZodBoolean;
6
+ username: import("zod").ZodNullable<import("zod").ZodString>;
7
+ password: import("zod").ZodNullable<import("zod").ZodString>;
8
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
9
+ isPhoneVerified: import("zod").ZodBoolean;
10
+ secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
11
+ fullName: import("zod").ZodString;
12
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
13
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
14
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
15
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
16
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
17
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
18
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
19
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
20
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
21
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
22
+ isInTrash: import("zod").ZodBoolean;
23
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
24
+ created_at: import("zod").ZodString;
25
+ updated_at: import("zod").ZodString;
26
+ tags: import("zod").ZodArray<import("zod").ZodObject<{
27
+ id: import("zod").ZodString;
28
+ name: import("zod").ZodString;
29
+ groupId: import("zod").ZodString;
30
+ type: import("zod").ZodNativeEnum<{
258
31
  PROFILE: "PROFILE";
259
32
  EVENT: "EVENT";
260
33
  PARTICIPANT: "PARTICIPANT";
261
34
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
262
35
  }>;
263
- created_at: z.ZodString;
264
- updated_at: z.ZodString;
265
- group: z.ZodObject<{
266
- color: z.ZodString;
267
- isExclusive: z.ZodBoolean;
268
- }, z.UnknownKeysParam, z.ZodTypeAny, {
36
+ created_at: import("zod").ZodString;
37
+ updated_at: import("zod").ZodString;
38
+ group: import("zod").ZodObject<{
39
+ color: import("zod").ZodString;
40
+ isExclusive: import("zod").ZodBoolean;
41
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
269
42
  color: string;
270
43
  isExclusive: boolean;
271
44
  }, {
272
45
  color: string;
273
46
  isExclusive: boolean;
274
47
  }>;
275
- }, z.UnknownKeysParam, z.ZodTypeAny, {
48
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
276
49
  id: string;
277
50
  name: string;
278
51
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
@@ -295,7 +68,7 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
295
68
  isExclusive: boolean;
296
69
  };
297
70
  }>, "many">;
298
- }, z.UnknownKeysParam, z.ZodTypeAny, {
71
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
299
72
  id: string;
300
73
  username: string | null;
301
74
  password: string | null;
@@ -368,7 +141,7 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
368
141
  };
369
142
  }[];
370
143
  }>, "many">;
371
- }, z.UnknownKeysParam, z.ZodTypeAny, {
144
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
372
145
  profiles: {
373
146
  id: string;
374
147
  username: string | null;
@@ -1,25 +1,9 @@
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.FindAllProfileResponseDto = exports.findAllProfileResponseSchema = void 0;
7
- const dtos_dto_1 = require("../../prisma/dtos.dto");
3
+ exports.FindAllProfileResponseDto = void 0;
4
+ const find_all_profile_schema_1 = require("../schema/find-all-profile.schema");
8
5
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
- const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
10
- const tag_dto_1 = require("../../tag/dto/tag.dto");
11
- const zod_1 = __importDefault(require("zod"));
12
- exports.findAllProfileResponseSchema = zod_1.default.object({
13
- profiles: zod_1.default.array(dtos_dto_1.profileSchema.merge(zod_1.default.object({
14
- tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
15
- group: tag_group_dto_1.tagGroupSchema.pick({
16
- color: true,
17
- isExclusive: true,
18
- }),
19
- }))),
20
- }))),
21
- });
22
- class FindAllProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllProfileResponseSchema) {
6
+ class FindAllProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(find_all_profile_schema_1.findAllProfileResponseSchema) {
23
7
  }
24
8
  exports.FindAllProfileResponseDto = FindAllProfileResponseDto;
25
9
  //# sourceMappingURL=find-all-profile.dto.js.map