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,227 @@
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
+ }>;
@@ -0,0 +1,21 @@
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.findAllProfileResponseSchema = void 0;
7
+ const profile_schema_1 = require("./profile.schema");
8
+ const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
9
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
10
+ const zod_1 = __importDefault(require("zod"));
11
+ exports.findAllProfileResponseSchema = 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.merge(zod_1.default.object({
14
+ group: tag_group_dto_1.tagGroupSchema.pick({
15
+ color: true,
16
+ isExclusive: true,
17
+ }),
18
+ }))),
19
+ }))),
20
+ });
21
+ //# sourceMappingURL=find-all-profile.schema.js.map
@@ -0,0 +1,361 @@
1
+ import z from 'zod';
2
+ export declare const findByDateRangeSchema: 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
+ }, "id">, "strip", z.ZodTypeAny, {
49
+ id: string;
50
+ }, {
51
+ id: string;
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
+ id: string;
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
+ id: string;
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
+ id: string;
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
+ id: string;
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
+ id: string;
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
+ id: string;
216
+ };
217
+ }[];
218
+ }[];
219
+ }>;
220
+ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
221
+ id: z.ZodString;
222
+ shortId: z.ZodNumber;
223
+ firstTimeMiExpo: z.ZodBoolean;
224
+ username: z.ZodNullable<z.ZodString>;
225
+ password: z.ZodNullable<z.ZodString>;
226
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
227
+ isPhoneVerified: z.ZodBoolean;
228
+ secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
229
+ fullName: z.ZodString;
230
+ firstName: z.ZodNullable<z.ZodString>;
231
+ gender: z.ZodNullable<z.ZodString>;
232
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
233
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
234
+ instagram: z.ZodNullable<z.ZodString>;
235
+ mail: z.ZodNullable<z.ZodString>;
236
+ dni: z.ZodNullable<z.ZodString>;
237
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
238
+ birthLocationId: z.ZodNullable<z.ZodString>;
239
+ residenceLocationId: z.ZodNullable<z.ZodString>;
240
+ isInTrash: z.ZodBoolean;
241
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
242
+ created_at: z.ZodDate;
243
+ updated_at: z.ZodDate;
244
+ }, {
245
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
246
+ id: z.ZodString;
247
+ name: z.ZodString;
248
+ groupId: z.ZodString;
249
+ type: z.ZodNativeEnum<{
250
+ PROFILE: "PROFILE";
251
+ EVENT: "EVENT";
252
+ PARTICIPANT: "PARTICIPANT";
253
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
254
+ }>;
255
+ created_at: z.ZodDate;
256
+ updated_at: z.ZodDate;
257
+ }, {
258
+ group: z.ZodObject<Pick<{
259
+ id: z.ZodString;
260
+ name: z.ZodString;
261
+ color: z.ZodString;
262
+ isExclusive: z.ZodBoolean;
263
+ created_at: z.ZodDate;
264
+ updated_at: z.ZodDate;
265
+ }, "id">, "strip", z.ZodTypeAny, {
266
+ id: string;
267
+ }, {
268
+ id: string;
269
+ }>;
270
+ }>, "strip", z.ZodTypeAny, {
271
+ id: string;
272
+ name: string;
273
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
274
+ created_at: Date;
275
+ updated_at: Date;
276
+ groupId: string;
277
+ group: {
278
+ id: string;
279
+ };
280
+ }, {
281
+ id: string;
282
+ name: string;
283
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
284
+ created_at: Date;
285
+ updated_at: Date;
286
+ groupId: string;
287
+ group: {
288
+ id: string;
289
+ };
290
+ }>, "many">;
291
+ }>, "strip", z.ZodTypeAny, {
292
+ id: string;
293
+ username: string | null;
294
+ password: string | null;
295
+ phoneNumber: string;
296
+ secondaryPhoneNumber: string | null;
297
+ fullName: string;
298
+ profilePictureUrl: string | null;
299
+ mail: string | null;
300
+ created_at: Date;
301
+ updated_at: Date;
302
+ shortId: number;
303
+ firstTimeMiExpo: boolean;
304
+ isPhoneVerified: boolean;
305
+ firstName: string | null;
306
+ gender: string | null;
307
+ birthDate: Date | null;
308
+ instagram: string | null;
309
+ dni: string | null;
310
+ alternativeNames: string[];
311
+ birthLocationId: string | null;
312
+ residenceLocationId: string | null;
313
+ isInTrash: boolean;
314
+ movedToTrashDate: Date | null;
315
+ tags: {
316
+ id: string;
317
+ name: string;
318
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
319
+ created_at: Date;
320
+ updated_at: Date;
321
+ groupId: string;
322
+ group: {
323
+ id: string;
324
+ };
325
+ }[];
326
+ }, {
327
+ id: string;
328
+ username: string | null;
329
+ password: string | null;
330
+ phoneNumber: string;
331
+ secondaryPhoneNumber: string | null;
332
+ fullName: string;
333
+ profilePictureUrl: string | null;
334
+ mail: string | null;
335
+ created_at: Date;
336
+ updated_at: Date;
337
+ shortId: number;
338
+ firstTimeMiExpo: boolean;
339
+ isPhoneVerified: boolean;
340
+ firstName: string | null;
341
+ gender: string | null;
342
+ birthDate: string | null;
343
+ instagram: string | null;
344
+ dni: string | null;
345
+ alternativeNames: string[];
346
+ birthLocationId: string | null;
347
+ residenceLocationId: string | null;
348
+ isInTrash: boolean;
349
+ movedToTrashDate: Date | null;
350
+ tags: {
351
+ id: string;
352
+ name: string;
353
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
354
+ created_at: Date;
355
+ updated_at: Date;
356
+ groupId: string;
357
+ group: {
358
+ id: string;
359
+ };
360
+ }[];
361
+ }>, "many">>;
@@ -0,0 +1,27 @@
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.findByDateRangeResponseSchema = exports.findByDateRangeSchema = void 0;
7
+ const profile_schema_1 = require("./profile.schema");
8
+ const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
9
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
10
+ const zod_1 = __importDefault(require("zod"));
11
+ exports.findByDateRangeSchema = 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.merge(zod_1.default.object({
14
+ group: tag_group_dto_1.tagGroupSchema.pick({
15
+ id: true,
16
+ }),
17
+ }))),
18
+ }))),
19
+ });
20
+ exports.findByDateRangeResponseSchema = zod_1.default.record(zod_1.default.string(), zod_1.default.array(profile_schema_1.profileSchema.merge(zod_1.default.object({
21
+ tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
22
+ group: tag_group_dto_1.tagGroupSchema.pick({
23
+ id: true,
24
+ }),
25
+ }))),
26
+ }))));
27
+ //# sourceMappingURL=find-by-date-range-profile.schema.js.map