expo-backend-types 0.34.0-EXPO-319-ver-eventos-disponibles.12 → 0.34.0-EXPO-322-ExpoBackend-Rol-de-expoTickets.1

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 (65) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +4 -6
  2. package/dist/src/account/dto/create-account.dto.d.ts +8 -12
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +0 -1
  4. package/dist/src/account/dto/get-me.dto.d.ts +4 -6
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +4 -6
  6. package/dist/src/auth/dto/login.dto.d.ts +8 -11
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +0 -1
  8. package/dist/src/event/dto/get-all-event.dto.d.ts +0 -616
  9. package/dist/src/event/dto/get-all-event.dto.js +8 -29
  10. package/dist/src/event/dto/get-by-id-event.dto.d.ts +0 -307
  11. package/dist/src/event/dto/get-by-id-event.dto.js +0 -4
  12. package/dist/src/event/dto/update-event.dto.d.ts +0 -6
  13. package/dist/src/event/dto/update-event.dto.js +0 -1
  14. package/dist/src/i18n/es.d.ts +0 -13
  15. package/dist/src/i18n/es.js +0 -13
  16. package/dist/src/i18n/es.js.map +1 -1
  17. package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -16
  18. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -20
  19. package/dist/src/mi-expo/dto/login.dto.d.ts +0 -21
  20. package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -16
  21. package/dist/src/mi-expo/exports.d.ts +0 -2
  22. package/dist/src/mi-expo/exports.js +0 -2
  23. package/dist/src/otp/dto/verify-otp.dto.d.ts +0 -20
  24. package/dist/src/profile/dto/create-profile.dto.d.ts +0 -24
  25. package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -16
  26. package/dist/src/profile/dto/find-all-profile.dto.d.ts +0 -20
  27. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +0 -36
  28. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +0 -16
  29. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +0 -16
  30. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +0 -20
  31. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +1 -55
  32. package/dist/src/profile/dto/find-by-tags-profile.dto.js +0 -2
  33. package/dist/src/profile/dto/find-trash.dto.d.ts +0 -6
  34. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +0 -20
  35. package/dist/src/profile/dto/profile.dto.d.ts +0 -8
  36. package/dist/src/profile/dto/update-profile.dto.d.ts +0 -16
  37. package/dist/src/schema/profile.schema.d.ts +0 -8
  38. package/dist/src/schema/profile.schema.js +0 -2
  39. package/dist/src/tag/dto/massive-allocation.dto.d.ts +0 -20
  40. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +0 -20
  41. package/dist/src/ticket/dto/create-ticket.dto.d.ts +4 -158
  42. package/dist/src/ticket/dto/create-ticket.dto.js +2 -10
  43. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +0 -370
  44. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +0 -2
  45. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +0 -370
  46. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +0 -2
  47. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +0 -370
  48. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +0 -2
  49. package/dist/src/ticket/exports.d.ts +0 -1
  50. package/dist/src/ticket/exports.js +0 -1
  51. package/dist/types/prisma-schema/edge.js +4 -7
  52. package/dist/types/prisma-schema/index-browser.js +1 -4
  53. package/dist/types/prisma-schema/index.d.ts +69 -557
  54. package/dist/types/prisma-schema/index.js +4 -7
  55. package/dist/types/prisma-schema/package.json +1 -1
  56. package/dist/types/prisma-schema/schema.prisma +2 -10
  57. package/dist/types/prisma-schema/wasm.js +1 -4
  58. package/dist/types/schema.d.ts +5 -400
  59. package/package.json +1 -1
  60. package/dist/src/mi-expo/dto/emit-ticket.dto.d.ts +0 -281
  61. package/dist/src/mi-expo/dto/emit-ticket.dto.js +0 -23
  62. package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +0 -104
  63. package/dist/src/mi-expo/dto/get-invitations.dto.js +0 -24
  64. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +0 -331
  65. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.js +0 -19
@@ -2,12 +2,6 @@ import z from 'zod';
2
2
  export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
3
3
  id: z.ZodString;
4
4
  shortId: z.ZodNumber;
5
- role: z.ZodDefault<z.ZodNativeEnum<{
6
- USER: "USER";
7
- ADMIN: "ADMIN";
8
- FORM: "FORM";
9
- MI_EXPO: "MI_EXPO";
10
- }>>;
11
5
  firstTimeMiExpo: z.ZodBoolean;
12
6
  username: z.ZodNullable<z.ZodString>;
13
7
  password: z.ZodNullable<z.ZodString>;
@@ -143,7 +137,6 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
143
137
  }>, "strip", z.ZodTypeAny, {
144
138
  id: string;
145
139
  username: string | null;
146
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
147
140
  phoneNumber: string;
148
141
  secondaryPhoneNumber: string | null;
149
142
  fullName: string;
@@ -253,17 +246,10 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
253
246
  country: string;
254
247
  city: string;
255
248
  } | null;
256
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
257
249
  }>;
258
250
  declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
259
251
  id: z.ZodString;
260
252
  username: z.ZodNullable<z.ZodString>;
261
- role: z.ZodDefault<z.ZodNativeEnum<{
262
- USER: "USER";
263
- ADMIN: "ADMIN";
264
- FORM: "FORM";
265
- MI_EXPO: "MI_EXPO";
266
- }>>;
267
253
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
268
254
  secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
269
255
  fullName: z.ZodString;
@@ -393,7 +379,6 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
393
379
  }, z.UnknownKeysParam, z.ZodTypeAny, {
394
380
  id: string;
395
381
  username: string | null;
396
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
397
382
  phoneNumber: string;
398
383
  secondaryPhoneNumber: string | null;
399
384
  fullName: string;
@@ -503,7 +488,6 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
503
488
  country: string;
504
489
  city: string;
505
490
  } | null;
506
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
507
491
  }>>;
508
492
  export declare class FindByIdProfileResponseDto extends FindByIdProfileResponseDto_base {
509
493
  }
@@ -1,12 +1,6 @@
1
1
  export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
2
2
  id: import("zod").ZodString;
3
3
  shortId: import("zod").ZodNumber;
4
- role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
5
- USER: "USER";
6
- ADMIN: "ADMIN";
7
- FORM: "FORM";
8
- MI_EXPO: "MI_EXPO";
9
- }>>;
10
4
  firstTimeMiExpo: import("zod").ZodBoolean;
11
5
  username: import("zod").ZodNullable<import("zod").ZodString>;
12
6
  password: import("zod").ZodNullable<import("zod").ZodString>;
@@ -32,7 +26,6 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
32
26
  id: string;
33
27
  username: string | null;
34
28
  password: string | null;
35
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
36
29
  phoneNumber: string;
37
30
  secondaryPhoneNumber: string | null;
38
31
  fullName: string;
@@ -77,17 +70,10 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
77
70
  residenceLocationId: string | null;
78
71
  isInTrash: boolean;
79
72
  movedToTrashDate: Date | null;
80
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
81
73
  }>;
82
74
  declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
83
75
  id: import("zod").ZodString;
84
76
  shortId: import("zod").ZodNumber;
85
- role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
86
- USER: "USER";
87
- ADMIN: "ADMIN";
88
- FORM: "FORM";
89
- MI_EXPO: "MI_EXPO";
90
- }>>;
91
77
  firstTimeMiExpo: import("zod").ZodBoolean;
92
78
  username: import("zod").ZodNullable<import("zod").ZodString>;
93
79
  password: import("zod").ZodNullable<import("zod").ZodString>;
@@ -113,7 +99,6 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
113
99
  id: string;
114
100
  username: string | null;
115
101
  password: string | null;
116
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
117
102
  phoneNumber: string;
118
103
  secondaryPhoneNumber: string | null;
119
104
  fullName: string;
@@ -158,7 +143,6 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
158
143
  residenceLocationId: string | null;
159
144
  isInTrash: boolean;
160
145
  movedToTrashDate: string | null;
161
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
162
146
  }>>;
163
147
  export declare class FindByPhoneNumberResponseDto extends FindByPhoneNumberResponseDto_base {
164
148
  }
@@ -3,12 +3,6 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
3
3
  profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
4
  id: z.ZodString;
5
5
  shortId: z.ZodNumber;
6
- role: z.ZodDefault<z.ZodNativeEnum<{
7
- USER: "USER";
8
- ADMIN: "ADMIN";
9
- FORM: "FORM";
10
- MI_EXPO: "MI_EXPO";
11
- }>>;
12
6
  firstTimeMiExpo: z.ZodBoolean;
13
7
  username: z.ZodNullable<z.ZodString>;
14
8
  password: z.ZodNullable<z.ZodString>;
@@ -62,7 +56,6 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
62
56
  id: string;
63
57
  username: string | null;
64
58
  password: string | null;
65
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
66
59
  phoneNumber: string;
67
60
  secondaryPhoneNumber: string | null;
68
61
  fullName: string;
@@ -123,14 +116,12 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
123
116
  updated_at: Date;
124
117
  groupId: string;
125
118
  }[];
126
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
127
119
  }>, "many">;
128
120
  }, "strip", z.ZodTypeAny, {
129
121
  profiles: {
130
122
  id: string;
131
123
  username: string | null;
132
124
  password: string | null;
133
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
134
125
  phoneNumber: string;
135
126
  secondaryPhoneNumber: string | null;
136
127
  fullName: string;
@@ -193,19 +184,12 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
193
184
  updated_at: Date;
194
185
  groupId: string;
195
186
  }[];
196
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
197
187
  }[];
198
188
  }>;
199
189
  declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
200
190
  profiles: z.ZodArray<z.ZodObject<{
201
191
  id: z.ZodString;
202
192
  shortId: z.ZodNumber;
203
- role: z.ZodDefault<z.ZodNativeEnum<{
204
- USER: "USER";
205
- ADMIN: "ADMIN";
206
- FORM: "FORM";
207
- MI_EXPO: "MI_EXPO";
208
- }>>;
209
193
  firstTimeMiExpo: z.ZodBoolean;
210
194
  username: z.ZodNullable<z.ZodString>;
211
195
  password: z.ZodNullable<z.ZodString>;
@@ -258,7 +242,6 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
258
242
  id: string;
259
243
  username: string | null;
260
244
  password: string | null;
261
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
262
245
  phoneNumber: string;
263
246
  secondaryPhoneNumber: string | null;
264
247
  fullName: string;
@@ -319,14 +302,12 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
319
302
  updated_at: string;
320
303
  groupId: string;
321
304
  }[];
322
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
323
305
  }>, "many">;
324
306
  }, z.UnknownKeysParam, z.ZodTypeAny, {
325
307
  profiles: {
326
308
  id: string;
327
309
  username: string | null;
328
310
  password: string | null;
329
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
330
311
  phoneNumber: string;
331
312
  secondaryPhoneNumber: string | null;
332
313
  fullName: string;
@@ -389,7 +370,6 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
389
370
  updated_at: string;
390
371
  groupId: string;
391
372
  }[];
392
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
393
373
  }[];
394
374
  }>>;
395
375
  export declare class FindByTagGroupsProfileResponseDto extends FindByTagGroupsProfileResponseDto_base {
@@ -3,12 +3,6 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
3
3
  profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
4
  id: z.ZodString;
5
5
  shortId: z.ZodNumber;
6
- role: z.ZodDefault<z.ZodNativeEnum<{
7
- USER: "USER";
8
- ADMIN: "ADMIN";
9
- FORM: "FORM";
10
- MI_EXPO: "MI_EXPO";
11
- }>>;
12
6
  firstTimeMiExpo: z.ZodBoolean;
13
7
  username: z.ZodNullable<z.ZodString>;
14
8
  password: z.ZodNullable<z.ZodString>;
@@ -51,13 +45,9 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
51
45
  isExclusive: z.ZodBoolean;
52
46
  created_at: z.ZodDate;
53
47
  updated_at: z.ZodDate;
54
- }, "name" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
55
- name: string;
56
- color: string;
48
+ }, "isExclusive">, "strip", z.ZodTypeAny, {
57
49
  isExclusive: boolean;
58
50
  }, {
59
- name: string;
60
- color: string;
61
51
  isExclusive: boolean;
62
52
  }>;
63
53
  }>, "strip", z.ZodTypeAny, {
@@ -68,8 +58,6 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
68
58
  updated_at: Date;
69
59
  groupId: string;
70
60
  group: {
71
- name: string;
72
- color: string;
73
61
  isExclusive: boolean;
74
62
  };
75
63
  }, {
@@ -80,8 +68,6 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
80
68
  updated_at: Date;
81
69
  groupId: string;
82
70
  group: {
83
- name: string;
84
- color: string;
85
71
  isExclusive: boolean;
86
72
  };
87
73
  }>, "many">;
@@ -89,7 +75,6 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
89
75
  id: string;
90
76
  username: string | null;
91
77
  password: string | null;
92
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
93
78
  phoneNumber: string;
94
79
  secondaryPhoneNumber: string | null;
95
80
  fullName: string;
@@ -118,8 +103,6 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
118
103
  updated_at: Date;
119
104
  groupId: string;
120
105
  group: {
121
- name: string;
122
- color: string;
123
106
  isExclusive: boolean;
124
107
  };
125
108
  }[];
@@ -155,19 +138,15 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
155
138
  updated_at: Date;
156
139
  groupId: string;
157
140
  group: {
158
- name: string;
159
- color: string;
160
141
  isExclusive: boolean;
161
142
  };
162
143
  }[];
163
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
164
144
  }>, "many">;
165
145
  }, "strip", z.ZodTypeAny, {
166
146
  profiles: {
167
147
  id: string;
168
148
  username: string | null;
169
149
  password: string | null;
170
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
171
150
  phoneNumber: string;
172
151
  secondaryPhoneNumber: string | null;
173
152
  fullName: string;
@@ -196,8 +175,6 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
196
175
  updated_at: Date;
197
176
  groupId: string;
198
177
  group: {
199
- name: string;
200
- color: string;
201
178
  isExclusive: boolean;
202
179
  };
203
180
  }[];
@@ -235,24 +212,15 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
235
212
  updated_at: Date;
236
213
  groupId: string;
237
214
  group: {
238
- name: string;
239
- color: string;
240
215
  isExclusive: boolean;
241
216
  };
242
217
  }[];
243
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
244
218
  }[];
245
219
  }>;
246
220
  declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
247
221
  profiles: z.ZodArray<z.ZodObject<{
248
222
  id: z.ZodString;
249
223
  shortId: z.ZodNumber;
250
- role: z.ZodDefault<z.ZodNativeEnum<{
251
- USER: "USER";
252
- ADMIN: "ADMIN";
253
- FORM: "FORM";
254
- MI_EXPO: "MI_EXPO";
255
- }>>;
256
224
  firstTimeMiExpo: z.ZodBoolean;
257
225
  username: z.ZodNullable<z.ZodString>;
258
226
  password: z.ZodNullable<z.ZodString>;
@@ -287,16 +255,10 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
287
255
  created_at: z.ZodString;
288
256
  updated_at: z.ZodString;
289
257
  group: z.ZodObject<{
290
- name: z.ZodString;
291
- color: z.ZodString;
292
258
  isExclusive: z.ZodBoolean;
293
259
  }, z.UnknownKeysParam, z.ZodTypeAny, {
294
- name: string;
295
- color: string;
296
260
  isExclusive: boolean;
297
261
  }, {
298
- name: string;
299
- color: string;
300
262
  isExclusive: boolean;
301
263
  }>;
302
264
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -307,8 +269,6 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
307
269
  updated_at: string;
308
270
  groupId: string;
309
271
  group: {
310
- name: string;
311
- color: string;
312
272
  isExclusive: boolean;
313
273
  };
314
274
  }, {
@@ -319,8 +279,6 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
319
279
  updated_at: string;
320
280
  groupId: string;
321
281
  group: {
322
- name: string;
323
- color: string;
324
282
  isExclusive: boolean;
325
283
  };
326
284
  }>, "many">;
@@ -328,7 +286,6 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
328
286
  id: string;
329
287
  username: string | null;
330
288
  password: string | null;
331
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
332
289
  phoneNumber: string;
333
290
  secondaryPhoneNumber: string | null;
334
291
  fullName: string;
@@ -357,8 +314,6 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
357
314
  updated_at: string;
358
315
  groupId: string;
359
316
  group: {
360
- name: string;
361
- color: string;
362
317
  isExclusive: boolean;
363
318
  };
364
319
  }[];
@@ -394,19 +349,15 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
394
349
  updated_at: string;
395
350
  groupId: string;
396
351
  group: {
397
- name: string;
398
- color: string;
399
352
  isExclusive: boolean;
400
353
  };
401
354
  }[];
402
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
403
355
  }>, "many">;
404
356
  }, z.UnknownKeysParam, z.ZodTypeAny, {
405
357
  profiles: {
406
358
  id: string;
407
359
  username: string | null;
408
360
  password: string | null;
409
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
410
361
  phoneNumber: string;
411
362
  secondaryPhoneNumber: string | null;
412
363
  fullName: string;
@@ -435,8 +386,6 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
435
386
  updated_at: string;
436
387
  groupId: string;
437
388
  group: {
438
- name: string;
439
- color: string;
440
389
  isExclusive: boolean;
441
390
  };
442
391
  }[];
@@ -474,12 +423,9 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
474
423
  updated_at: string;
475
424
  groupId: string;
476
425
  group: {
477
- name: string;
478
- color: string;
479
426
  isExclusive: boolean;
480
427
  };
481
428
  }[];
482
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
483
429
  }[];
484
430
  }>>;
485
431
  export declare class FindByTagsProfileResponseDto extends FindByTagsProfileResponseDto_base {
@@ -14,8 +14,6 @@ exports.findByTagsProfileResponseSchema = zod_1.default.object({
14
14
  tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
15
15
  group: tag_group_dto_1.tagGroupSchema.pick({
16
16
  isExclusive: true,
17
- name: true,
18
- color: true,
19
17
  }),
20
18
  }))),
21
19
  }))),
@@ -3,12 +3,6 @@ export declare const findTrashResponseSchema: z.ZodObject<{
3
3
  profiles: z.ZodArray<z.ZodObject<Pick<{
4
4
  id: z.ZodString;
5
5
  shortId: z.ZodNumber;
6
- role: z.ZodDefault<z.ZodNativeEnum<{
7
- USER: "USER";
8
- ADMIN: "ADMIN";
9
- FORM: "FORM";
10
- MI_EXPO: "MI_EXPO";
11
- }>>;
12
6
  firstTimeMiExpo: z.ZodBoolean;
13
7
  username: z.ZodNullable<z.ZodString>;
14
8
  password: z.ZodNullable<z.ZodString>;
@@ -3,12 +3,6 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
3
3
  profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
4
  id: z.ZodString;
5
5
  shortId: z.ZodNumber;
6
- role: z.ZodDefault<z.ZodNativeEnum<{
7
- USER: "USER";
8
- ADMIN: "ADMIN";
9
- FORM: "FORM";
10
- MI_EXPO: "MI_EXPO";
11
- }>>;
12
6
  firstTimeMiExpo: z.ZodBoolean;
13
7
  username: z.ZodNullable<z.ZodString>;
14
8
  password: z.ZodNullable<z.ZodString>;
@@ -171,7 +165,6 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
171
165
  id: string;
172
166
  username: string | null;
173
167
  password: string | null;
174
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
175
168
  phoneNumber: string;
176
169
  secondaryPhoneNumber: string | null;
177
170
  fullName: string;
@@ -276,14 +269,12 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
276
269
  groupId: string;
277
270
  }[];
278
271
  inChat: boolean;
279
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
280
272
  }>, "many">;
281
273
  }, "strip", z.ZodTypeAny, {
282
274
  profiles: {
283
275
  id: string;
284
276
  username: string | null;
285
277
  password: string | null;
286
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
287
278
  phoneNumber: string;
288
279
  secondaryPhoneNumber: string | null;
289
280
  fullName: string;
@@ -390,19 +381,12 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
390
381
  groupId: string;
391
382
  }[];
392
383
  inChat: boolean;
393
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
394
384
  }[];
395
385
  }>;
396
386
  declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
397
387
  profiles: z.ZodArray<z.ZodObject<{
398
388
  id: z.ZodString;
399
389
  shortId: z.ZodNumber;
400
- role: z.ZodDefault<z.ZodNativeEnum<{
401
- USER: "USER";
402
- ADMIN: "ADMIN";
403
- FORM: "FORM";
404
- MI_EXPO: "MI_EXPO";
405
- }>>;
406
390
  firstTimeMiExpo: z.ZodBoolean;
407
391
  username: z.ZodNullable<z.ZodString>;
408
392
  password: z.ZodNullable<z.ZodString>;
@@ -561,7 +545,6 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
561
545
  id: string;
562
546
  username: string | null;
563
547
  password: string | null;
564
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
565
548
  phoneNumber: string;
566
549
  secondaryPhoneNumber: string | null;
567
550
  fullName: string;
@@ -666,14 +649,12 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
666
649
  groupId: string;
667
650
  }[];
668
651
  inChat: boolean;
669
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
670
652
  }>, "many">;
671
653
  }, z.UnknownKeysParam, z.ZodTypeAny, {
672
654
  profiles: {
673
655
  id: string;
674
656
  username: string | null;
675
657
  password: string | null;
676
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
677
658
  phoneNumber: string;
678
659
  secondaryPhoneNumber: string | null;
679
660
  fullName: string;
@@ -780,7 +761,6 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
780
761
  groupId: string;
781
762
  }[];
782
763
  inChat: boolean;
783
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
784
764
  }[];
785
765
  }>>;
786
766
  export declare class FindWithActiveChatResponseDto extends FindWithActiveChatResponseDto_base {
@@ -1,12 +1,6 @@
1
1
  declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
2
2
  id: import("zod").ZodString;
3
3
  shortId: import("zod").ZodNumber;
4
- role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
5
- USER: "USER";
6
- ADMIN: "ADMIN";
7
- FORM: "FORM";
8
- MI_EXPO: "MI_EXPO";
9
- }>>;
10
4
  firstTimeMiExpo: import("zod").ZodBoolean;
11
5
  username: import("zod").ZodNullable<import("zod").ZodString>;
12
6
  password: import("zod").ZodNullable<import("zod").ZodString>;
@@ -32,7 +26,6 @@ declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import
32
26
  id: string;
33
27
  username: string | null;
34
28
  password: string | null;
35
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
36
29
  phoneNumber: string;
37
30
  secondaryPhoneNumber: string | null;
38
31
  fullName: string;
@@ -77,7 +70,6 @@ declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import
77
70
  residenceLocationId: string | null;
78
71
  isInTrash: boolean;
79
72
  movedToTrashDate: string | null;
80
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
81
73
  }>>;
82
74
  export declare class ProfileDto extends ProfileDto_base {
83
75
  }
@@ -247,12 +247,6 @@ export declare class UpdateProfileDto extends UpdateProfileDto_base {
247
247
  export declare const updateProfileResponseSchema: z.ZodObject<{
248
248
  id: z.ZodString;
249
249
  shortId: z.ZodNumber;
250
- role: z.ZodDefault<z.ZodNativeEnum<{
251
- USER: "USER";
252
- ADMIN: "ADMIN";
253
- FORM: "FORM";
254
- MI_EXPO: "MI_EXPO";
255
- }>>;
256
250
  firstTimeMiExpo: z.ZodBoolean;
257
251
  username: z.ZodNullable<z.ZodString>;
258
252
  password: z.ZodNullable<z.ZodString>;
@@ -278,7 +272,6 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
278
272
  id: string;
279
273
  username: string | null;
280
274
  password: string | null;
281
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
282
275
  phoneNumber: string;
283
276
  secondaryPhoneNumber: string | null;
284
277
  fullName: string;
@@ -323,17 +316,10 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
323
316
  residenceLocationId: string | null;
324
317
  isInTrash: boolean;
325
318
  movedToTrashDate: Date | null;
326
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
327
319
  }>;
328
320
  declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
329
321
  id: z.ZodString;
330
322
  shortId: z.ZodNumber;
331
- role: z.ZodDefault<z.ZodNativeEnum<{
332
- USER: "USER";
333
- ADMIN: "ADMIN";
334
- FORM: "FORM";
335
- MI_EXPO: "MI_EXPO";
336
- }>>;
337
323
  firstTimeMiExpo: z.ZodBoolean;
338
324
  username: z.ZodNullable<z.ZodString>;
339
325
  password: z.ZodNullable<z.ZodString>;
@@ -359,7 +345,6 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
359
345
  id: string;
360
346
  username: string | null;
361
347
  password: string | null;
362
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
363
348
  phoneNumber: string;
364
349
  secondaryPhoneNumber: string | null;
365
350
  fullName: string;
@@ -404,7 +389,6 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
404
389
  residenceLocationId: string | null;
405
390
  isInTrash: boolean;
406
391
  movedToTrashDate: string | null;
407
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
408
392
  }>>;
409
393
  export declare class UpdateProfileResponseDto extends UpdateProfileResponseDto_base {
410
394
  }
@@ -2,12 +2,6 @@ import z from 'zod';
2
2
  export declare const profileSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  shortId: z.ZodNumber;
5
- role: z.ZodDefault<z.ZodNativeEnum<{
6
- USER: "USER";
7
- ADMIN: "ADMIN";
8
- FORM: "FORM";
9
- MI_EXPO: "MI_EXPO";
10
- }>>;
11
5
  firstTimeMiExpo: z.ZodBoolean;
12
6
  username: z.ZodNullable<z.ZodString>;
13
7
  password: z.ZodNullable<z.ZodString>;
@@ -33,7 +27,6 @@ export declare const profileSchema: z.ZodObject<{
33
27
  id: string;
34
28
  username: string | null;
35
29
  password: string | null;
36
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
37
30
  phoneNumber: string;
38
31
  secondaryPhoneNumber: string | null;
39
32
  fullName: string;
@@ -78,5 +71,4 @@ export declare const profileSchema: z.ZodObject<{
78
71
  residenceLocationId: string | null;
79
72
  isInTrash: boolean;
80
73
  movedToTrashDate: Date | null;
81
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
82
74
  }>;
@@ -30,7 +30,6 @@ exports.profileSchema = void 0;
30
30
  const translate_1 = require("../i18n/translate");
31
31
  const libphonenumber_js_1 = __importStar(require("libphonenumber-js"));
32
32
  const zod_1 = __importDefault(require("zod"));
33
- const prisma_schema_1 = require("../../types/prisma-schema/index.js");
34
33
  function formatArgNumber(phoneNumber, value) {
35
34
  const prefixes9 = ['11', '15'];
36
35
  const prefix = prefixes9.includes(phoneNumber?.nationalNumber?.slice(0, 2) ?? '')
@@ -46,7 +45,6 @@ exports.profileSchema = zod_1.default.object({
46
45
  message: (0, translate_1.translate)('model.profile.id.uuid'),
47
46
  }),
48
47
  shortId: zod_1.default.number(),
49
- role: zod_1.default.nativeEnum(prisma_schema_1.Role).default(prisma_schema_1.Role.MI_EXPO),
50
48
  firstTimeMiExpo: zod_1.default.boolean(),
51
49
  username: zod_1.default.string().nullable(),
52
50
  password: zod_1.default.string().nullable(),