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
@@ -0,0 +1,251 @@
1
+ import z from 'zod';
2
+ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
3
+ id: z.ZodString;
4
+ shortId: z.ZodNumber;
5
+ firstTimeMiExpo: z.ZodBoolean;
6
+ username: z.ZodNullable<z.ZodString>;
7
+ password: z.ZodNullable<z.ZodString>;
8
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
9
+ isPhoneVerified: z.ZodBoolean;
10
+ secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
11
+ fullName: z.ZodString;
12
+ firstName: z.ZodNullable<z.ZodString>;
13
+ gender: z.ZodNullable<z.ZodString>;
14
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
15
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
16
+ instagram: z.ZodNullable<z.ZodString>;
17
+ mail: z.ZodNullable<z.ZodString>;
18
+ dni: z.ZodNullable<z.ZodString>;
19
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
20
+ birthLocationId: z.ZodNullable<z.ZodString>;
21
+ residenceLocationId: z.ZodNullable<z.ZodString>;
22
+ isInTrash: z.ZodBoolean;
23
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
24
+ created_at: z.ZodDate;
25
+ updated_at: z.ZodDate;
26
+ }, {
27
+ residenceLocation: z.ZodNullable<z.ZodObject<{
28
+ id: z.ZodString;
29
+ latitude: z.ZodNumber;
30
+ longitude: z.ZodNumber;
31
+ country: z.ZodString;
32
+ state: z.ZodString;
33
+ city: z.ZodString;
34
+ created_at: z.ZodDate;
35
+ updated_at: z.ZodDate;
36
+ }, "strip", z.ZodTypeAny, {
37
+ id: string;
38
+ latitude: number;
39
+ longitude: number;
40
+ created_at: Date;
41
+ updated_at: Date;
42
+ state: string;
43
+ country: string;
44
+ city: string;
45
+ }, {
46
+ id: string;
47
+ latitude: number;
48
+ longitude: number;
49
+ created_at: Date;
50
+ updated_at: Date;
51
+ state: string;
52
+ country: string;
53
+ city: string;
54
+ }>>;
55
+ birthLocation: z.ZodNullable<z.ZodObject<{
56
+ id: z.ZodString;
57
+ latitude: z.ZodNumber;
58
+ longitude: z.ZodNumber;
59
+ country: z.ZodString;
60
+ state: z.ZodString;
61
+ city: z.ZodString;
62
+ created_at: z.ZodDate;
63
+ updated_at: z.ZodDate;
64
+ }, "strip", z.ZodTypeAny, {
65
+ id: string;
66
+ latitude: number;
67
+ longitude: number;
68
+ created_at: Date;
69
+ updated_at: Date;
70
+ state: string;
71
+ country: string;
72
+ city: string;
73
+ }, {
74
+ id: string;
75
+ latitude: number;
76
+ longitude: number;
77
+ created_at: Date;
78
+ updated_at: Date;
79
+ state: string;
80
+ country: string;
81
+ city: string;
82
+ }>>;
83
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
84
+ id: z.ZodString;
85
+ name: z.ZodString;
86
+ groupId: z.ZodString;
87
+ type: z.ZodNativeEnum<{
88
+ PROFILE: "PROFILE";
89
+ EVENT: "EVENT";
90
+ PARTICIPANT: "PARTICIPANT";
91
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
92
+ }>;
93
+ created_at: z.ZodDate;
94
+ updated_at: z.ZodDate;
95
+ }, {
96
+ group: z.ZodObject<Pick<{
97
+ id: z.ZodString;
98
+ name: z.ZodString;
99
+ color: z.ZodString;
100
+ isExclusive: z.ZodBoolean;
101
+ created_at: z.ZodDate;
102
+ updated_at: z.ZodDate;
103
+ }, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
104
+ id: string;
105
+ color: string;
106
+ isExclusive: boolean;
107
+ }, {
108
+ id: string;
109
+ color: string;
110
+ isExclusive: boolean;
111
+ }>;
112
+ }>, "strip", z.ZodTypeAny, {
113
+ id: string;
114
+ name: string;
115
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
116
+ created_at: Date;
117
+ updated_at: Date;
118
+ groupId: string;
119
+ group: {
120
+ id: string;
121
+ color: string;
122
+ isExclusive: boolean;
123
+ };
124
+ }, {
125
+ id: string;
126
+ name: string;
127
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
128
+ created_at: Date;
129
+ updated_at: Date;
130
+ groupId: string;
131
+ group: {
132
+ id: string;
133
+ color: string;
134
+ isExclusive: boolean;
135
+ };
136
+ }>, "many">;
137
+ }>, "strip", z.ZodTypeAny, {
138
+ id: string;
139
+ username: string | null;
140
+ password: string | null;
141
+ phoneNumber: string;
142
+ secondaryPhoneNumber: string | null;
143
+ fullName: string;
144
+ profilePictureUrl: string | null;
145
+ mail: string | null;
146
+ created_at: Date;
147
+ updated_at: Date;
148
+ shortId: number;
149
+ firstTimeMiExpo: boolean;
150
+ isPhoneVerified: boolean;
151
+ firstName: string | null;
152
+ gender: string | null;
153
+ birthDate: Date | null;
154
+ instagram: string | null;
155
+ dni: string | null;
156
+ alternativeNames: string[];
157
+ birthLocationId: string | null;
158
+ residenceLocationId: string | null;
159
+ isInTrash: boolean;
160
+ movedToTrashDate: Date | null;
161
+ tags: {
162
+ id: string;
163
+ name: string;
164
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
165
+ created_at: Date;
166
+ updated_at: Date;
167
+ groupId: string;
168
+ group: {
169
+ id: string;
170
+ color: string;
171
+ isExclusive: boolean;
172
+ };
173
+ }[];
174
+ birthLocation: {
175
+ id: string;
176
+ latitude: number;
177
+ longitude: number;
178
+ created_at: Date;
179
+ updated_at: Date;
180
+ state: string;
181
+ country: string;
182
+ city: string;
183
+ } | null;
184
+ residenceLocation: {
185
+ id: string;
186
+ latitude: number;
187
+ longitude: number;
188
+ created_at: Date;
189
+ updated_at: Date;
190
+ state: string;
191
+ country: string;
192
+ city: string;
193
+ } | null;
194
+ }, {
195
+ id: string;
196
+ username: string | null;
197
+ password: string | null;
198
+ phoneNumber: string;
199
+ secondaryPhoneNumber: string | null;
200
+ fullName: string;
201
+ profilePictureUrl: string | null;
202
+ mail: string | null;
203
+ created_at: Date;
204
+ updated_at: Date;
205
+ shortId: number;
206
+ firstTimeMiExpo: boolean;
207
+ isPhoneVerified: boolean;
208
+ firstName: string | null;
209
+ gender: string | null;
210
+ birthDate: string | null;
211
+ instagram: string | null;
212
+ dni: string | null;
213
+ alternativeNames: string[];
214
+ birthLocationId: string | null;
215
+ residenceLocationId: string | null;
216
+ isInTrash: boolean;
217
+ movedToTrashDate: Date | null;
218
+ tags: {
219
+ id: string;
220
+ name: string;
221
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
222
+ created_at: Date;
223
+ updated_at: Date;
224
+ groupId: string;
225
+ group: {
226
+ id: string;
227
+ color: string;
228
+ isExclusive: boolean;
229
+ };
230
+ }[];
231
+ birthLocation: {
232
+ id: string;
233
+ latitude: number;
234
+ longitude: number;
235
+ created_at: Date;
236
+ updated_at: Date;
237
+ state: string;
238
+ country: string;
239
+ city: string;
240
+ } | null;
241
+ residenceLocation: {
242
+ id: string;
243
+ latitude: number;
244
+ longitude: number;
245
+ created_at: Date;
246
+ updated_at: Date;
247
+ state: string;
248
+ country: string;
249
+ city: string;
250
+ } | null;
251
+ }>;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.findByIdProfileResponseSchema = void 0;
7
+ const location_dto_1 = require("../../location/dto/location.dto");
8
+ const profile_schema_1 = require("./profile.schema");
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.findByIdProfileResponseSchema = profile_schema_1.profileSchema.merge(zod_1.default.object({
13
+ residenceLocation: location_dto_1.locationSchema.nullable(),
14
+ birthLocation: location_dto_1.locationSchema.nullable(),
15
+ tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
16
+ group: tag_group_dto_1.tagGroupSchema.pick({
17
+ id: true,
18
+ color: true,
19
+ isExclusive: true,
20
+ }),
21
+ }))),
22
+ }));
23
+ //# sourceMappingURL=find-by-id-profile.schema.js.map
@@ -0,0 +1,73 @@
1
+ export declare const findByPhoneNumberResponseSchema: 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
+ }>;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.findByPhoneNumberResponseSchema = void 0;
4
+ const profile_schema_1 = require("./profile.schema");
5
+ exports.findByPhoneNumberResponseSchema = profile_schema_1.profileSchema;
6
+ //# sourceMappingURL=find-by-phone-number.schema.js.map
@@ -0,0 +1,188 @@
1
+ import z from 'zod';
2
+ export declare const findByTagGroupsProfileResponseSchema: 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<{
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
+ }, "strip", z.ZodTypeAny, {
41
+ id: string;
42
+ name: string;
43
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
44
+ created_at: Date;
45
+ updated_at: Date;
46
+ groupId: string;
47
+ }, {
48
+ id: string;
49
+ name: string;
50
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
51
+ created_at: Date;
52
+ updated_at: Date;
53
+ groupId: string;
54
+ }>, "many">;
55
+ }>, "strip", z.ZodTypeAny, {
56
+ id: string;
57
+ username: string | null;
58
+ password: string | null;
59
+ phoneNumber: string;
60
+ secondaryPhoneNumber: string | null;
61
+ fullName: string;
62
+ profilePictureUrl: string | null;
63
+ mail: string | null;
64
+ created_at: Date;
65
+ updated_at: Date;
66
+ shortId: number;
67
+ firstTimeMiExpo: boolean;
68
+ isPhoneVerified: boolean;
69
+ firstName: string | null;
70
+ gender: string | null;
71
+ birthDate: Date | null;
72
+ instagram: string | null;
73
+ dni: string | null;
74
+ alternativeNames: string[];
75
+ birthLocationId: string | null;
76
+ residenceLocationId: string | null;
77
+ isInTrash: boolean;
78
+ movedToTrashDate: Date | null;
79
+ tags: {
80
+ id: string;
81
+ name: string;
82
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
83
+ created_at: Date;
84
+ updated_at: Date;
85
+ groupId: string;
86
+ }[];
87
+ }, {
88
+ id: string;
89
+ username: string | null;
90
+ password: string | null;
91
+ phoneNumber: string;
92
+ secondaryPhoneNumber: string | null;
93
+ fullName: string;
94
+ profilePictureUrl: string | null;
95
+ mail: string | null;
96
+ created_at: Date;
97
+ updated_at: Date;
98
+ shortId: number;
99
+ firstTimeMiExpo: boolean;
100
+ isPhoneVerified: boolean;
101
+ firstName: string | null;
102
+ gender: string | null;
103
+ birthDate: string | null;
104
+ instagram: string | null;
105
+ dni: string | null;
106
+ alternativeNames: string[];
107
+ birthLocationId: string | null;
108
+ residenceLocationId: string | null;
109
+ isInTrash: boolean;
110
+ movedToTrashDate: Date | null;
111
+ tags: {
112
+ id: string;
113
+ name: string;
114
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
115
+ created_at: Date;
116
+ updated_at: Date;
117
+ groupId: string;
118
+ }[];
119
+ }>, "many">;
120
+ }, "strip", z.ZodTypeAny, {
121
+ profiles: {
122
+ id: string;
123
+ username: string | null;
124
+ password: string | null;
125
+ phoneNumber: string;
126
+ secondaryPhoneNumber: string | null;
127
+ fullName: string;
128
+ profilePictureUrl: string | null;
129
+ mail: string | null;
130
+ created_at: Date;
131
+ updated_at: Date;
132
+ shortId: number;
133
+ firstTimeMiExpo: boolean;
134
+ isPhoneVerified: boolean;
135
+ firstName: string | null;
136
+ gender: string | null;
137
+ birthDate: Date | null;
138
+ instagram: string | null;
139
+ dni: string | null;
140
+ alternativeNames: string[];
141
+ birthLocationId: string | null;
142
+ residenceLocationId: string | null;
143
+ isInTrash: boolean;
144
+ movedToTrashDate: Date | null;
145
+ tags: {
146
+ id: string;
147
+ name: string;
148
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
149
+ created_at: Date;
150
+ updated_at: Date;
151
+ groupId: string;
152
+ }[];
153
+ }[];
154
+ }, {
155
+ profiles: {
156
+ id: string;
157
+ username: string | null;
158
+ password: string | null;
159
+ phoneNumber: string;
160
+ secondaryPhoneNumber: string | null;
161
+ fullName: string;
162
+ profilePictureUrl: string | null;
163
+ mail: string | null;
164
+ created_at: Date;
165
+ updated_at: Date;
166
+ shortId: number;
167
+ firstTimeMiExpo: boolean;
168
+ isPhoneVerified: boolean;
169
+ firstName: string | null;
170
+ gender: string | null;
171
+ birthDate: string | null;
172
+ instagram: string | null;
173
+ dni: string | null;
174
+ alternativeNames: string[];
175
+ birthLocationId: string | null;
176
+ residenceLocationId: string | null;
177
+ isInTrash: boolean;
178
+ movedToTrashDate: Date | null;
179
+ tags: {
180
+ id: string;
181
+ name: string;
182
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
183
+ created_at: Date;
184
+ updated_at: Date;
185
+ groupId: string;
186
+ }[];
187
+ }[];
188
+ }>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.findByTagGroupsProfileResponseSchema = void 0;
7
+ const profile_schema_1 = require("./profile.schema");
8
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
9
+ const zod_1 = __importDefault(require("zod"));
10
+ exports.findByTagGroupsProfileResponseSchema = zod_1.default.object({
11
+ profiles: zod_1.default.array(profile_schema_1.profileSchema.merge(zod_1.default.object({
12
+ tags: zod_1.default.array(tag_dto_1.tagSchema),
13
+ }))),
14
+ });
15
+ //# sourceMappingURL=find-by-tag-groups-profile.schema.js.map