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,426 +1,41 @@
1
- import z from 'zod';
2
- export declare const findWithActiveChatResponseSchema: 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
- inChat: z.ZodBoolean;
56
- messages: z.ZodArray<z.ZodObject<Pick<{
57
- id: z.ZodString;
58
- wamId: z.ZodString;
59
- message: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
60
- id: z.ZodString;
61
- from: z.ZodOptional<z.ZodString>;
62
- to: z.ZodOptional<z.ZodString>;
63
- timestamp: z.ZodString;
64
- }, {
65
- text: z.ZodObject<{
66
- body: z.ZodString;
67
- }, "strip", z.ZodTypeAny, {
68
- body: string;
69
- }, {
70
- body: string;
71
- }>;
72
- }>, {
73
- type: z.ZodLiteral<"text">;
74
- }>, "strip", z.ZodTypeAny, {
75
- id: string;
76
- type: "text";
77
- text: {
78
- body: string;
79
- };
80
- timestamp: string;
81
- from?: string | undefined;
82
- to?: string | undefined;
83
- }, {
84
- id: string;
85
- type: "text";
86
- text: {
87
- body: string;
88
- };
89
- timestamp: string;
90
- from?: string | undefined;
91
- to?: string | undefined;
92
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
93
- id: z.ZodString;
94
- from: z.ZodOptional<z.ZodString>;
95
- to: z.ZodOptional<z.ZodString>;
96
- timestamp: z.ZodString;
97
- }, {
98
- templateName: z.ZodString;
99
- }>, {
100
- type: z.ZodLiteral<"template">;
101
- }>, "strip", z.ZodTypeAny, {
102
- id: string;
103
- type: "template";
104
- timestamp: string;
105
- templateName: string;
106
- from?: string | undefined;
107
- to?: string | undefined;
108
- }, {
109
- id: string;
110
- type: "template";
111
- timestamp: string;
112
- templateName: string;
113
- from?: string | undefined;
114
- to?: string | undefined;
115
- }>]>;
116
- state: z.ZodNativeEnum<{
117
- SENT: "SENT";
118
- RECEIVED: "RECEIVED";
119
- SEEN: "SEEN";
120
- }>;
121
- created_at: z.ZodDate;
122
- updated_at: z.ZodDate;
123
- }, "message" | "created_at" | "state">, "strip", z.ZodTypeAny, {
124
- message: {
125
- id: string;
126
- type: "text";
127
- text: {
128
- body: string;
129
- };
130
- timestamp: string;
131
- from?: string | undefined;
132
- to?: string | undefined;
133
- } | {
134
- id: string;
135
- type: "template";
136
- timestamp: string;
137
- templateName: string;
138
- from?: string | undefined;
139
- to?: string | undefined;
140
- };
141
- created_at: Date;
142
- state: "SENT" | "RECEIVED" | "SEEN";
143
- }, {
144
- message: {
145
- id: string;
146
- type: "text";
147
- text: {
148
- body: string;
149
- };
150
- timestamp: string;
151
- from?: string | undefined;
152
- to?: string | undefined;
153
- } | {
154
- id: string;
155
- type: "template";
156
- timestamp: string;
157
- templateName: string;
158
- from?: string | undefined;
159
- to?: string | undefined;
160
- };
161
- created_at: Date;
162
- state: "SENT" | "RECEIVED" | "SEEN";
163
- }>, "many">;
164
- }>, "strip", z.ZodTypeAny, {
165
- id: string;
166
- username: string | null;
167
- password: string | null;
168
- phoneNumber: string;
169
- secondaryPhoneNumber: string | null;
170
- fullName: string;
171
- profilePictureUrl: string | null;
172
- mail: string | null;
173
- created_at: Date;
174
- updated_at: Date;
175
- shortId: number;
176
- firstTimeMiExpo: boolean;
177
- isPhoneVerified: boolean;
178
- firstName: string | null;
179
- gender: string | null;
180
- birthDate: Date | null;
181
- instagram: string | null;
182
- dni: string | null;
183
- alternativeNames: string[];
184
- birthLocationId: string | null;
185
- residenceLocationId: string | null;
186
- isInTrash: boolean;
187
- movedToTrashDate: Date | null;
188
- messages: {
189
- message: {
190
- id: string;
191
- type: "text";
192
- text: {
193
- body: string;
194
- };
195
- timestamp: string;
196
- from?: string | undefined;
197
- to?: string | undefined;
198
- } | {
199
- id: string;
200
- type: "template";
201
- timestamp: string;
202
- templateName: string;
203
- from?: string | undefined;
204
- to?: string | undefined;
205
- };
206
- created_at: Date;
207
- state: "SENT" | "RECEIVED" | "SEEN";
208
- }[];
209
- tags: {
210
- id: string;
211
- name: string;
212
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
213
- created_at: Date;
214
- updated_at: Date;
215
- groupId: string;
216
- }[];
217
- inChat: boolean;
218
- }, {
219
- id: string;
220
- username: string | null;
221
- password: string | null;
222
- phoneNumber: string;
223
- secondaryPhoneNumber: string | null;
224
- fullName: string;
225
- profilePictureUrl: string | null;
226
- mail: string | null;
227
- created_at: Date;
228
- updated_at: Date;
229
- shortId: number;
230
- firstTimeMiExpo: boolean;
231
- isPhoneVerified: boolean;
232
- firstName: string | null;
233
- gender: string | null;
234
- birthDate: string | null;
235
- instagram: string | null;
236
- dni: string | null;
237
- alternativeNames: string[];
238
- birthLocationId: string | null;
239
- residenceLocationId: string | null;
240
- isInTrash: boolean;
241
- movedToTrashDate: Date | null;
242
- messages: {
243
- message: {
244
- id: string;
245
- type: "text";
246
- text: {
247
- body: string;
248
- };
249
- timestamp: string;
250
- from?: string | undefined;
251
- to?: string | undefined;
252
- } | {
253
- id: string;
254
- type: "template";
255
- timestamp: string;
256
- templateName: string;
257
- from?: string | undefined;
258
- to?: string | undefined;
259
- };
260
- created_at: Date;
261
- state: "SENT" | "RECEIVED" | "SEEN";
262
- }[];
263
- tags: {
264
- id: string;
265
- name: string;
266
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
267
- created_at: Date;
268
- updated_at: Date;
269
- groupId: string;
270
- }[];
271
- inChat: boolean;
272
- }>, "many">;
273
- }, "strip", z.ZodTypeAny, {
274
- profiles: {
275
- id: string;
276
- username: string | null;
277
- password: string | null;
278
- phoneNumber: string;
279
- secondaryPhoneNumber: string | null;
280
- fullName: string;
281
- profilePictureUrl: string | null;
282
- mail: string | null;
283
- created_at: Date;
284
- updated_at: Date;
285
- shortId: number;
286
- firstTimeMiExpo: boolean;
287
- isPhoneVerified: boolean;
288
- firstName: string | null;
289
- gender: string | null;
290
- birthDate: Date | null;
291
- instagram: string | null;
292
- dni: string | null;
293
- alternativeNames: string[];
294
- birthLocationId: string | null;
295
- residenceLocationId: string | null;
296
- isInTrash: boolean;
297
- movedToTrashDate: Date | null;
298
- messages: {
299
- message: {
300
- id: string;
301
- type: "text";
302
- text: {
303
- body: string;
304
- };
305
- timestamp: string;
306
- from?: string | undefined;
307
- to?: string | undefined;
308
- } | {
309
- id: string;
310
- type: "template";
311
- timestamp: string;
312
- templateName: string;
313
- from?: string | undefined;
314
- to?: string | undefined;
315
- };
316
- created_at: Date;
317
- state: "SENT" | "RECEIVED" | "SEEN";
318
- }[];
319
- tags: {
320
- id: string;
321
- name: string;
322
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
323
- created_at: Date;
324
- updated_at: Date;
325
- groupId: string;
326
- }[];
327
- inChat: boolean;
328
- }[];
329
- }, {
330
- profiles: {
331
- id: string;
332
- username: string | null;
333
- password: string | null;
334
- phoneNumber: string;
335
- secondaryPhoneNumber: string | null;
336
- fullName: string;
337
- profilePictureUrl: string | null;
338
- mail: string | null;
339
- created_at: Date;
340
- updated_at: Date;
341
- shortId: number;
342
- firstTimeMiExpo: boolean;
343
- isPhoneVerified: boolean;
344
- firstName: string | null;
345
- gender: string | null;
346
- birthDate: string | null;
347
- instagram: string | null;
348
- dni: string | null;
349
- alternativeNames: string[];
350
- birthLocationId: string | null;
351
- residenceLocationId: string | null;
352
- isInTrash: boolean;
353
- movedToTrashDate: Date | null;
354
- messages: {
355
- message: {
356
- id: string;
357
- type: "text";
358
- text: {
359
- body: string;
360
- };
361
- timestamp: string;
362
- from?: string | undefined;
363
- to?: string | undefined;
364
- } | {
365
- id: string;
366
- type: "template";
367
- timestamp: string;
368
- templateName: string;
369
- from?: string | undefined;
370
- to?: string | undefined;
371
- };
372
- created_at: Date;
373
- state: "SENT" | "RECEIVED" | "SEEN";
374
- }[];
375
- tags: {
376
- id: string;
377
- name: string;
378
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
379
- created_at: Date;
380
- updated_at: Date;
381
- groupId: string;
382
- }[];
383
- inChat: boolean;
384
- }[];
385
- }>;
386
- declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
387
- profiles: z.ZodArray<z.ZodObject<{
388
- id: z.ZodString;
389
- shortId: z.ZodNumber;
390
- firstTimeMiExpo: z.ZodBoolean;
391
- username: z.ZodNullable<z.ZodString>;
392
- password: z.ZodNullable<z.ZodString>;
393
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
394
- isPhoneVerified: z.ZodBoolean;
395
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
396
- fullName: z.ZodString;
397
- firstName: z.ZodNullable<z.ZodString>;
398
- gender: z.ZodNullable<z.ZodString>;
399
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
400
- profilePictureUrl: z.ZodNullable<z.ZodString>;
401
- instagram: z.ZodNullable<z.ZodString>;
402
- mail: z.ZodNullable<z.ZodString>;
403
- dni: z.ZodNullable<z.ZodString>;
404
- alternativeNames: z.ZodArray<z.ZodString, "many">;
405
- birthLocationId: z.ZodNullable<z.ZodString>;
406
- residenceLocationId: z.ZodNullable<z.ZodString>;
407
- isInTrash: z.ZodBoolean;
408
- movedToTrashDate: z.ZodNullable<z.ZodString>;
409
- created_at: z.ZodString;
410
- updated_at: z.ZodString;
411
- tags: z.ZodArray<z.ZodObject<{
412
- id: z.ZodString;
413
- name: z.ZodString;
414
- groupId: z.ZodString;
415
- type: z.ZodNativeEnum<{
1
+ declare const FindWithActiveChatResponseDto_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<{
416
31
  PROFILE: "PROFILE";
417
32
  EVENT: "EVENT";
418
33
  PARTICIPANT: "PARTICIPANT";
419
34
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
420
35
  }>;
421
- created_at: z.ZodString;
422
- updated_at: z.ZodString;
423
- }, z.UnknownKeysParam, z.ZodTypeAny, {
36
+ created_at: import("zod").ZodString;
37
+ updated_at: import("zod").ZodString;
38
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
424
39
  id: string;
425
40
  name: string;
426
41
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
@@ -435,24 +50,24 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
435
50
  updated_at: string;
436
51
  groupId: string;
437
52
  }>, "many">;
438
- inChat: z.ZodBoolean;
439
- messages: z.ZodArray<z.ZodObject<{
440
- message: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
441
- id: z.ZodString;
442
- from: z.ZodOptional<z.ZodString>;
443
- to: z.ZodOptional<z.ZodString>;
444
- timestamp: z.ZodString;
53
+ inChat: import("zod").ZodBoolean;
54
+ messages: import("zod").ZodArray<import("zod").ZodObject<{
55
+ message: import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
56
+ id: import("zod").ZodString;
57
+ from: import("zod").ZodOptional<import("zod").ZodString>;
58
+ to: import("zod").ZodOptional<import("zod").ZodString>;
59
+ timestamp: import("zod").ZodString;
445
60
  }, {
446
- text: z.ZodObject<{
447
- body: z.ZodString;
448
- }, "strip", z.ZodTypeAny, {
61
+ text: import("zod").ZodObject<{
62
+ body: import("zod").ZodString;
63
+ }, "strip", import("zod").ZodTypeAny, {
449
64
  body: string;
450
65
  }, {
451
66
  body: string;
452
67
  }>;
453
68
  }>, {
454
- type: z.ZodLiteral<"text">;
455
- }>, "strip", z.ZodTypeAny, {
69
+ type: import("zod").ZodLiteral<"text">;
70
+ }>, "strip", import("zod").ZodTypeAny, {
456
71
  id: string;
457
72
  type: "text";
458
73
  text: {
@@ -470,16 +85,16 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
470
85
  timestamp: string;
471
86
  from?: string | undefined;
472
87
  to?: string | undefined;
473
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
474
- id: z.ZodString;
475
- from: z.ZodOptional<z.ZodString>;
476
- to: z.ZodOptional<z.ZodString>;
477
- timestamp: z.ZodString;
88
+ }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
89
+ id: import("zod").ZodString;
90
+ from: import("zod").ZodOptional<import("zod").ZodString>;
91
+ to: import("zod").ZodOptional<import("zod").ZodString>;
92
+ timestamp: import("zod").ZodString;
478
93
  }, {
479
- templateName: z.ZodString;
94
+ templateName: import("zod").ZodString;
480
95
  }>, {
481
- type: z.ZodLiteral<"template">;
482
- }>, "strip", z.ZodTypeAny, {
96
+ type: import("zod").ZodLiteral<"template">;
97
+ }>, "strip", import("zod").ZodTypeAny, {
483
98
  id: string;
484
99
  type: "template";
485
100
  timestamp: string;
@@ -494,13 +109,13 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
494
109
  from?: string | undefined;
495
110
  to?: string | undefined;
496
111
  }>]>;
497
- created_at: z.ZodString;
498
- state: z.ZodNativeEnum<{
112
+ created_at: import("zod").ZodString;
113
+ state: import("zod").ZodNativeEnum<{
499
114
  SENT: "SENT";
500
115
  RECEIVED: "RECEIVED";
501
116
  SEEN: "SEEN";
502
117
  }>;
503
- }, z.UnknownKeysParam, z.ZodTypeAny, {
118
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
504
119
  message: {
505
120
  id: string;
506
121
  type: "text";
@@ -541,7 +156,7 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
541
156
  created_at: string;
542
157
  state: "SENT" | "RECEIVED" | "SEEN";
543
158
  }>, "many">;
544
- }, z.UnknownKeysParam, z.ZodTypeAny, {
159
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
545
160
  id: string;
546
161
  username: string | null;
547
162
  password: string | null;
@@ -650,7 +265,7 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
650
265
  }[];
651
266
  inChat: boolean;
652
267
  }>, "many">;
653
- }, z.UnknownKeysParam, z.ZodTypeAny, {
268
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
654
269
  profiles: {
655
270
  id: string;
656
271
  username: string | null;
@@ -1,26 +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.FindWithActiveChatResponseDto = exports.findWithActiveChatResponseSchema = void 0;
7
- const message_dto_1 = require("../../message/dto/message.dto");
8
- const dtos_dto_1 = require("../../prisma/dtos.dto");
3
+ exports.FindWithActiveChatResponseDto = void 0;
4
+ const find_with_active_chat_schema_1 = require("../schema/find-with-active-chat.schema");
9
5
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
10
- const tag_dto_1 = require("../../tag/dto/tag.dto");
11
- const zod_1 = __importDefault(require("zod"));
12
- exports.findWithActiveChatResponseSchema = 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),
15
- inChat: zod_1.default.boolean(),
16
- messages: zod_1.default.array(message_dto_1.messageSchema.pick({
17
- state: true,
18
- message: true,
19
- created_at: true,
20
- })),
21
- }))),
22
- });
23
- class FindWithActiveChatResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findWithActiveChatResponseSchema) {
6
+ class FindWithActiveChatResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(find_with_active_chat_schema_1.findWithActiveChatResponseSchema) {
24
7
  }
25
8
  exports.FindWithActiveChatResponseDto = FindWithActiveChatResponseDto;
26
9
  //# sourceMappingURL=find-with-active-chat.dto.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ProfileDto = void 0;
4
- const dtos_dto_1 = require("../../prisma/dtos.dto");
4
+ const profile_schema_1 = require("../schema/profile.schema");
5
5
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- class ProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(dtos_dto_1.profileSchema) {
6
+ class ProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(profile_schema_1.profileSchema) {
7
7
  }
8
8
  exports.ProfileDto = ProfileDto;
9
9
  //# sourceMappingURL=profile.dto.js.map