expo-backend-types 0.30.0-EXPO-308-auth.14 → 0.30.0-EXPO-308-auth.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/src/auth/dto/login-mi-expo.dto.js +1 -1
  2. package/dist/src/exports.d.ts +1 -0
  3. package/dist/src/exports.js +1 -0
  4. package/dist/src/message/dto/non-read-messages.dto.js +1 -1
  5. package/dist/src/message/dto/send-message-to-phone.dto.js +1 -1
  6. package/dist/src/otp/dto/send-otp.dto.js +1 -1
  7. package/dist/src/otp/dto/verify-otp.dto.js +1 -1
  8. package/dist/src/profile/dto/create-profile.dto.d.ts +468 -82
  9. package/dist/src/profile/dto/create-profile.dto.js +80 -4
  10. package/dist/src/profile/dto/delete-profile.dto.d.ts +73 -0
  11. package/dist/src/profile/dto/delete-profile.dto.js +4 -3
  12. package/dist/src/profile/dto/find-all-profile.dto.d.ts +266 -39
  13. package/dist/src/profile/dto/find-all-profile.dto.js +19 -3
  14. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +440 -79
  15. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +26 -4
  16. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +309 -58
  17. package/dist/src/profile/dto/find-by-id-profile.dto.js +21 -3
  18. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +73 -0
  19. package/dist/src/profile/dto/find-by-phone-number.dto.js +4 -3
  20. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +223 -35
  21. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +13 -3
  22. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +257 -38
  23. package/dist/src/profile/dto/find-by-tags-profile.dto.js +18 -3
  24. package/dist/src/profile/dto/find-trash.dto.d.ts +75 -11
  25. package/dist/src/profile/dto/find-trash.dto.js +18 -3
  26. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +443 -58
  27. package/dist/src/profile/dto/find-with-active-chat.dto.js +20 -3
  28. package/dist/src/profile/dto/profile.dto.js +1 -1
  29. package/dist/src/profile/dto/update-profile.dto.d.ts +244 -60
  30. package/dist/src/profile/dto/update-profile.dto.js +48 -4
  31. package/dist/src/profile/exports.d.ts +12 -12
  32. package/dist/src/profile/exports.js +12 -12
  33. package/dist/src/schema/exports.d.ts +1 -0
  34. package/dist/src/schema/exports.js +18 -0
  35. package/dist/src/{profile/schema → schema}/profile.schema.js +1 -1
  36. package/dist/src/tag/dto/massive-allocation.dto.js +1 -1
  37. package/dist/src/tag/dto/massive-deallocation.dto.js +1 -1
  38. package/dist/types/schema.d.ts +0 -4
  39. package/package.json +23 -25
  40. package/dist/src/profile/schema/create-profile.schema.d.ts +0 -405
  41. package/dist/src/profile/schema/create-profile.schema.js +0 -83
  42. package/dist/src/profile/schema/delete-profile.schema.d.ts +0 -73
  43. package/dist/src/profile/schema/delete-profile.schema.js +0 -6
  44. package/dist/src/profile/schema/find-all-profile.schema.d.ts +0 -227
  45. package/dist/src/profile/schema/find-all-profile.schema.js +0 -21
  46. package/dist/src/profile/schema/find-by-date-range-profile.schema.d.ts +0 -361
  47. package/dist/src/profile/schema/find-by-date-range-profile.schema.js +0 -27
  48. package/dist/src/profile/schema/find-by-id-profile.schema.d.ts +0 -251
  49. package/dist/src/profile/schema/find-by-id-profile.schema.js +0 -23
  50. package/dist/src/profile/schema/find-by-phone-number.schema.d.ts +0 -73
  51. package/dist/src/profile/schema/find-by-phone-number.schema.js +0 -6
  52. package/dist/src/profile/schema/find-by-tag-groups-profile.schema.d.ts +0 -188
  53. package/dist/src/profile/schema/find-by-tag-groups-profile.schema.js +0 -15
  54. package/dist/src/profile/schema/find-by-tags-profile.schema.d.ts +0 -219
  55. package/dist/src/profile/schema/find-by-tags-profile.schema.js +0 -20
  56. package/dist/src/profile/schema/find-trash.schema.d.ts +0 -64
  57. package/dist/src/profile/schema/find-trash.schema.js +0 -20
  58. package/dist/src/profile/schema/find-with-active-chat.schema.d.ts +0 -385
  59. package/dist/src/profile/schema/find-with-active-chat.schema.js +0 -22
  60. package/dist/src/profile/schema/update-profile.schema.d.ts +0 -196
  61. package/dist/src/profile/schema/update-profile.schema.js +0 -51
  62. /package/dist/src/{profile/schema → schema}/profile.schema.d.ts +0 -0
@@ -1,41 +1,229 @@
1
- declare const FindByTagGroupsProfileResponseDto_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<{
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
+ }>;
189
+ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
190
+ profiles: z.ZodArray<z.ZodObject<{
191
+ id: z.ZodString;
192
+ shortId: z.ZodNumber;
193
+ firstTimeMiExpo: z.ZodBoolean;
194
+ username: z.ZodNullable<z.ZodString>;
195
+ password: z.ZodNullable<z.ZodString>;
196
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
197
+ isPhoneVerified: z.ZodBoolean;
198
+ secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
199
+ fullName: z.ZodString;
200
+ firstName: z.ZodNullable<z.ZodString>;
201
+ gender: z.ZodNullable<z.ZodString>;
202
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
203
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
204
+ instagram: z.ZodNullable<z.ZodString>;
205
+ mail: z.ZodNullable<z.ZodString>;
206
+ dni: z.ZodNullable<z.ZodString>;
207
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
208
+ birthLocationId: z.ZodNullable<z.ZodString>;
209
+ residenceLocationId: z.ZodNullable<z.ZodString>;
210
+ isInTrash: z.ZodBoolean;
211
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
212
+ created_at: z.ZodString;
213
+ updated_at: z.ZodString;
214
+ tags: z.ZodArray<z.ZodObject<{
215
+ id: z.ZodString;
216
+ name: z.ZodString;
217
+ groupId: z.ZodString;
218
+ type: z.ZodNativeEnum<{
31
219
  PROFILE: "PROFILE";
32
220
  EVENT: "EVENT";
33
221
  PARTICIPANT: "PARTICIPANT";
34
222
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
35
223
  }>;
36
- created_at: import("zod").ZodString;
37
- updated_at: import("zod").ZodString;
38
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
224
+ created_at: z.ZodString;
225
+ updated_at: z.ZodString;
226
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
39
227
  id: string;
40
228
  name: string;
41
229
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
@@ -50,7 +238,7 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
50
238
  updated_at: string;
51
239
  groupId: string;
52
240
  }>, "many">;
53
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
241
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
54
242
  id: string;
55
243
  username: string | null;
56
244
  password: string | null;
@@ -115,7 +303,7 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
115
303
  groupId: string;
116
304
  }[];
117
305
  }>, "many">;
118
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
306
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
119
307
  profiles: {
120
308
  id: string;
121
309
  username: string | null;
@@ -1,9 +1,19 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FindByTagGroupsProfileResponseDto = void 0;
4
- const find_by_tag_groups_profile_schema_1 = require("../schema/find-by-tag-groups-profile.schema");
6
+ exports.FindByTagGroupsProfileResponseDto = exports.findByTagGroupsProfileResponseSchema = void 0;
7
+ const profile_schema_1 = require("../../schema/profile.schema");
5
8
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- class FindByTagGroupsProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(find_by_tag_groups_profile_schema_1.findByTagGroupsProfileResponseSchema) {
9
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
10
+ const zod_1 = __importDefault(require("zod"));
11
+ exports.findByTagGroupsProfileResponseSchema = zod_1.default.object({
12
+ profiles: zod_1.default.array(profile_schema_1.profileSchema.merge(zod_1.default.object({
13
+ tags: zod_1.default.array(tag_dto_1.tagSchema),
14
+ }))),
15
+ });
16
+ class FindByTagGroupsProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByTagGroupsProfileResponseSchema) {
7
17
  }
8
18
  exports.FindByTagGroupsProfileResponseDto = FindByTagGroupsProfileResponseDto;
9
19
  //# sourceMappingURL=find-by-tag-groups-profile.dto.js.map
@@ -1,48 +1,267 @@
1
- declare const FindByTagsProfileResponseDto_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<{
1
+ import z from 'zod';
2
+ export declare const findByTagsProfileResponseSchema: 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
+ }, "isExclusive">, "strip", z.ZodTypeAny, {
49
+ isExclusive: boolean;
50
+ }, {
51
+ isExclusive: boolean;
52
+ }>;
53
+ }>, "strip", z.ZodTypeAny, {
54
+ id: string;
55
+ name: string;
56
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
57
+ created_at: Date;
58
+ updated_at: Date;
59
+ groupId: string;
60
+ group: {
61
+ isExclusive: boolean;
62
+ };
63
+ }, {
64
+ id: string;
65
+ name: string;
66
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
67
+ created_at: Date;
68
+ updated_at: Date;
69
+ groupId: string;
70
+ group: {
71
+ isExclusive: boolean;
72
+ };
73
+ }>, "many">;
74
+ }>, "strip", z.ZodTypeAny, {
75
+ id: string;
76
+ username: string | null;
77
+ password: string | null;
78
+ phoneNumber: string;
79
+ secondaryPhoneNumber: string | null;
80
+ fullName: string;
81
+ profilePictureUrl: string | null;
82
+ mail: string | null;
83
+ created_at: Date;
84
+ updated_at: Date;
85
+ shortId: number;
86
+ firstTimeMiExpo: boolean;
87
+ isPhoneVerified: boolean;
88
+ firstName: string | null;
89
+ gender: string | null;
90
+ birthDate: Date | null;
91
+ instagram: string | null;
92
+ dni: string | null;
93
+ alternativeNames: string[];
94
+ birthLocationId: string | null;
95
+ residenceLocationId: string | null;
96
+ isInTrash: boolean;
97
+ movedToTrashDate: Date | null;
98
+ tags: {
99
+ id: string;
100
+ name: string;
101
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
102
+ created_at: Date;
103
+ updated_at: Date;
104
+ groupId: string;
105
+ group: {
106
+ isExclusive: boolean;
107
+ };
108
+ }[];
109
+ }, {
110
+ id: string;
111
+ username: string | null;
112
+ password: string | null;
113
+ phoneNumber: string;
114
+ secondaryPhoneNumber: string | null;
115
+ fullName: string;
116
+ profilePictureUrl: string | null;
117
+ mail: string | null;
118
+ created_at: Date;
119
+ updated_at: Date;
120
+ shortId: number;
121
+ firstTimeMiExpo: boolean;
122
+ isPhoneVerified: boolean;
123
+ firstName: string | null;
124
+ gender: string | null;
125
+ birthDate: string | null;
126
+ instagram: string | null;
127
+ dni: string | null;
128
+ alternativeNames: string[];
129
+ birthLocationId: string | null;
130
+ residenceLocationId: string | null;
131
+ isInTrash: boolean;
132
+ movedToTrashDate: Date | null;
133
+ tags: {
134
+ id: string;
135
+ name: string;
136
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
137
+ created_at: Date;
138
+ updated_at: Date;
139
+ groupId: string;
140
+ group: {
141
+ isExclusive: boolean;
142
+ };
143
+ }[];
144
+ }>, "many">;
145
+ }, "strip", z.ZodTypeAny, {
146
+ profiles: {
147
+ id: string;
148
+ username: string | null;
149
+ password: string | null;
150
+ phoneNumber: string;
151
+ secondaryPhoneNumber: string | null;
152
+ fullName: string;
153
+ profilePictureUrl: string | null;
154
+ mail: string | null;
155
+ created_at: Date;
156
+ updated_at: Date;
157
+ shortId: number;
158
+ firstTimeMiExpo: boolean;
159
+ isPhoneVerified: boolean;
160
+ firstName: string | null;
161
+ gender: string | null;
162
+ birthDate: Date | null;
163
+ instagram: string | null;
164
+ dni: string | null;
165
+ alternativeNames: string[];
166
+ birthLocationId: string | null;
167
+ residenceLocationId: string | null;
168
+ isInTrash: boolean;
169
+ movedToTrashDate: Date | null;
170
+ tags: {
171
+ id: string;
172
+ name: string;
173
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
174
+ created_at: Date;
175
+ updated_at: Date;
176
+ groupId: string;
177
+ group: {
178
+ isExclusive: boolean;
179
+ };
180
+ }[];
181
+ }[];
182
+ }, {
183
+ profiles: {
184
+ id: string;
185
+ username: string | null;
186
+ password: string | null;
187
+ phoneNumber: string;
188
+ secondaryPhoneNumber: string | null;
189
+ fullName: string;
190
+ profilePictureUrl: string | null;
191
+ mail: string | null;
192
+ created_at: Date;
193
+ updated_at: Date;
194
+ shortId: number;
195
+ firstTimeMiExpo: boolean;
196
+ isPhoneVerified: boolean;
197
+ firstName: string | null;
198
+ gender: string | null;
199
+ birthDate: string | null;
200
+ instagram: string | null;
201
+ dni: string | null;
202
+ alternativeNames: string[];
203
+ birthLocationId: string | null;
204
+ residenceLocationId: string | null;
205
+ isInTrash: boolean;
206
+ movedToTrashDate: Date | null;
207
+ tags: {
208
+ id: string;
209
+ name: string;
210
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
211
+ created_at: Date;
212
+ updated_at: Date;
213
+ groupId: string;
214
+ group: {
215
+ isExclusive: boolean;
216
+ };
217
+ }[];
218
+ }[];
219
+ }>;
220
+ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
221
+ profiles: z.ZodArray<z.ZodObject<{
222
+ id: z.ZodString;
223
+ shortId: z.ZodNumber;
224
+ firstTimeMiExpo: z.ZodBoolean;
225
+ username: z.ZodNullable<z.ZodString>;
226
+ password: z.ZodNullable<z.ZodString>;
227
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
228
+ isPhoneVerified: z.ZodBoolean;
229
+ secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
230
+ fullName: z.ZodString;
231
+ firstName: z.ZodNullable<z.ZodString>;
232
+ gender: z.ZodNullable<z.ZodString>;
233
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
234
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
235
+ instagram: z.ZodNullable<z.ZodString>;
236
+ mail: z.ZodNullable<z.ZodString>;
237
+ dni: z.ZodNullable<z.ZodString>;
238
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
239
+ birthLocationId: z.ZodNullable<z.ZodString>;
240
+ residenceLocationId: z.ZodNullable<z.ZodString>;
241
+ isInTrash: z.ZodBoolean;
242
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
243
+ created_at: z.ZodString;
244
+ updated_at: z.ZodString;
245
+ tags: z.ZodArray<z.ZodObject<{
246
+ id: z.ZodString;
247
+ name: z.ZodString;
248
+ groupId: z.ZodString;
249
+ type: z.ZodNativeEnum<{
31
250
  PROFILE: "PROFILE";
32
251
  EVENT: "EVENT";
33
252
  PARTICIPANT: "PARTICIPANT";
34
253
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
35
254
  }>;
36
- created_at: import("zod").ZodString;
37
- updated_at: import("zod").ZodString;
38
- group: import("zod").ZodObject<{
39
- isExclusive: import("zod").ZodBoolean;
40
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
255
+ created_at: z.ZodString;
256
+ updated_at: z.ZodString;
257
+ group: z.ZodObject<{
258
+ isExclusive: z.ZodBoolean;
259
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
41
260
  isExclusive: boolean;
42
261
  }, {
43
262
  isExclusive: boolean;
44
263
  }>;
45
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
264
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
46
265
  id: string;
47
266
  name: string;
48
267
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
@@ -63,7 +282,7 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
63
282
  isExclusive: boolean;
64
283
  };
65
284
  }>, "many">;
66
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
285
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
67
286
  id: string;
68
287
  username: string | null;
69
288
  password: string | null;
@@ -134,7 +353,7 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
134
353
  };
135
354
  }[];
136
355
  }>, "many">;
137
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
356
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
138
357
  profiles: {
139
358
  id: string;
140
359
  username: string | null;
@@ -1,9 +1,24 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FindByTagsProfileResponseDto = void 0;
4
- const find_by_tags_profile_schema_1 = require("../schema/find-by-tags-profile.schema");
6
+ exports.FindByTagsProfileResponseDto = exports.findByTagsProfileResponseSchema = void 0;
7
+ const profile_schema_1 = require("../../schema/profile.schema");
5
8
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- class FindByTagsProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(find_by_tags_profile_schema_1.findByTagsProfileResponseSchema) {
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.findByTagsProfileResponseSchema = zod_1.default.object({
13
+ profiles: zod_1.default.array(profile_schema_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
+ isExclusive: true,
17
+ }),
18
+ }))),
19
+ }))),
20
+ });
21
+ class FindByTagsProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByTagsProfileResponseSchema) {
7
22
  }
8
23
  exports.FindByTagsProfileResponseDto = FindByTagsProfileResponseDto;
9
24
  //# sourceMappingURL=find-by-tags-profile.dto.js.map