expo-backend-types 0.51.0 → 0.52.0-EXPO-343-Quique-Wolff.2

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 (100) hide show
  1. package/dist/src/account/dto/get-global-filter.dto.d.ts +8 -10
  2. package/dist/src/account/dto/get-me.dto.d.ts +16 -20
  3. package/dist/src/account/dto/update-global-filter.dto.d.ts +8 -10
  4. package/dist/src/event/dto/create-event.dto.d.ts +72 -23
  5. package/dist/src/event/dto/create-event.dto.js +7 -1
  6. package/dist/src/event/dto/delete-banner-event.dto.d.ts +18 -0
  7. package/dist/src/event/dto/delete-banner-event.dto.js +12 -0
  8. package/dist/src/event/dto/delete-event.dto.d.ts +18 -0
  9. package/dist/src/event/dto/delete-main-picture-event.dto.d.ts +18 -0
  10. package/dist/src/event/dto/delete-main-picture-event.dto.js +12 -0
  11. package/dist/src/event/dto/event-tickets.dto.d.ts +2 -33
  12. package/dist/src/event/dto/event-tickets.dto.js +8 -18
  13. package/dist/src/event/dto/event.dto.d.ts +9 -0
  14. package/dist/src/event/dto/event.dto.js +13 -0
  15. package/dist/src/event/dto/get-active-events.dto.d.ts +33 -23
  16. package/dist/src/event/dto/get-all-event.dto.d.ts +504 -284
  17. package/dist/src/event/dto/get-all-event.dto.js +3 -3
  18. package/dist/src/event/dto/get-by-id-event.dto.d.ts +225 -159
  19. package/dist/src/event/dto/get-by-id-event.dto.js +1 -1
  20. package/dist/src/event/dto/toggle-active-event.dto.d.ts +9 -0
  21. package/dist/src/event/dto/update-banner-event.dto.d.ts +33 -0
  22. package/dist/src/event/dto/update-banner-event.dto.js +18 -0
  23. package/dist/src/event/dto/update-event.dto.d.ts +230 -220
  24. package/dist/src/event/dto/update-event.dto.js +13 -3
  25. package/dist/src/event/dto/update-main-picture-event.dto.d.ts +33 -0
  26. package/dist/src/event/dto/update-main-picture-event.dto.js +18 -0
  27. package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +42 -0
  28. package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +30 -0
  29. package/dist/src/exports.d.ts +0 -1
  30. package/dist/src/exports.js +0 -1
  31. package/dist/src/i18n/es.d.ts +8 -65
  32. package/dist/src/i18n/es.js +8 -67
  33. package/dist/src/i18n/es.js.map +1 -1
  34. package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +3 -0
  35. package/dist/src/profile/dto/delete-image-profile.dto.d.ts +18 -0
  36. package/dist/src/profile/dto/delete-image-profile.dto.js +12 -0
  37. package/dist/src/profile/dto/find-all-profile.dto.d.ts +12 -14
  38. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +20 -24
  39. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +8 -10
  40. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +12 -14
  41. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +12 -14
  42. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +12 -14
  43. package/dist/src/profile/dto/update-image-profile.dto.d.ts +33 -0
  44. package/dist/src/profile/dto/update-image-profile.dto.js +18 -0
  45. package/dist/src/tag/dto/create-tag.dto.d.ts +9 -41
  46. package/dist/src/tag/dto/create-tag.dto.js +5 -6
  47. package/dist/src/tag/dto/delete-tag.dto.d.ts +4 -6
  48. package/dist/src/tag/dto/find-all-tag.dto.d.ts +8 -10
  49. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +8 -10
  50. package/dist/src/tag/dto/find-one-tag.dto.d.ts +4 -6
  51. package/dist/src/tag/dto/tag.dto.d.ts +4 -6
  52. package/dist/src/tag/dto/update-tag.dto.d.ts +4 -7
  53. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +12 -14
  54. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +12 -14
  55. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +8 -10
  56. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +30 -0
  57. package/dist/src/ticket/dto/create-ticket.dto.d.ts +30 -0
  58. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +3 -0
  59. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +3 -0
  60. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +42 -0
  61. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +3 -0
  62. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +42 -0
  63. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +30 -0
  64. package/dist/types/prisma-schema/edge.js +8 -32
  65. package/dist/types/prisma-schema/index-browser.js +5 -29
  66. package/dist/types/prisma-schema/index.d.ts +7078 -11454
  67. package/dist/types/prisma-schema/index.js +8 -32
  68. package/dist/types/prisma-schema/package.json +1 -1
  69. package/dist/types/prisma-schema/schema.prisma +13 -60
  70. package/dist/types/prisma-schema/wasm.js +5 -29
  71. package/dist/types/schema.d.ts +463 -849
  72. package/package.json +1 -2
  73. package/dist/src/event/dto/get-all-statistics.dto.d.ts +0 -364
  74. package/dist/src/event/dto/get-all-statistics.dto.js +0 -40
  75. package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +0 -294
  76. package/dist/src/event/dto/get-statistics-by-id-event.dto.js +0 -40
  77. package/dist/src/production/dto/create-production.dto.d.ts +0 -41
  78. package/dist/src/production/dto/create-production.dto.js +0 -18
  79. package/dist/src/production/dto/create-role.dto.d.ts +0 -86
  80. package/dist/src/production/dto/create-role.dto.js +0 -16
  81. package/dist/src/production/dto/delete-production.dto.d.ts +0 -41
  82. package/dist/src/production/dto/delete-production.dto.js +0 -10
  83. package/dist/src/production/dto/get-all-production.dto.d.ts +0 -451
  84. package/dist/src/production/dto/get-all-production.dto.js +0 -21
  85. package/dist/src/production/dto/production.dto.d.ts +0 -20
  86. package/dist/src/production/dto/production.dto.js +0 -21
  87. package/dist/src/production/dto/update-production.dto.d.ts +0 -63
  88. package/dist/src/production/dto/update-production.dto.js +0 -19
  89. package/dist/src/production/exports.d.ts +0 -6
  90. package/dist/src/production/exports.js +0 -23
  91. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.d.ts +0 -80
  92. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.js +0 -16
  93. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +0 -563
  94. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.js +0 -21
  95. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.d.ts +0 -27
  96. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.js +0 -22
  97. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +0 -390
  98. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.js +0 -15
  99. package/dist/src/production-affiliation-request/exports.d.ts +0 -4
  100. package/dist/src/production-affiliation-request/exports.js +0 -21
@@ -1,451 +0,0 @@
1
- import z from 'zod';
2
- export declare const getAllProductionResponseSchema: z.ZodObject<{
3
- productions: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
- id: z.ZodString;
5
- name: z.ZodString;
6
- administratorId: z.ZodNullable<z.ZodString>;
7
- created_at: z.ZodDate;
8
- updated_at: z.ZodDate;
9
- }, {
10
- administrator: z.ZodNullable<z.ZodObject<{
11
- id: z.ZodString;
12
- shortId: z.ZodNumber;
13
- role: z.ZodDefault<z.ZodNativeEnum<{
14
- USER: "USER";
15
- ADMIN: "ADMIN";
16
- FORM: "FORM";
17
- TICKETS: "TICKETS";
18
- MI_EXPO: "MI_EXPO";
19
- }>>;
20
- firstTimeMiExpo: z.ZodBoolean;
21
- username: z.ZodNullable<z.ZodString>;
22
- password: z.ZodNullable<z.ZodString>;
23
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
24
- isPhoneVerified: z.ZodBoolean;
25
- secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
26
- fullName: z.ZodString;
27
- firstName: z.ZodNullable<z.ZodString>;
28
- gender: z.ZodNullable<z.ZodString>;
29
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
30
- profilePictureUrl: z.ZodNullable<z.ZodString>;
31
- instagram: z.ZodNullable<z.ZodString>;
32
- mail: z.ZodNullable<z.ZodString>;
33
- dni: z.ZodNullable<z.ZodString>;
34
- alternativeNames: z.ZodArray<z.ZodString, "many">;
35
- birthLocationId: z.ZodNullable<z.ZodString>;
36
- residenceLocationId: z.ZodNullable<z.ZodString>;
37
- isInTrash: z.ZodBoolean;
38
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
39
- created_at: z.ZodDate;
40
- updated_at: z.ZodDate;
41
- }, "strip", z.ZodTypeAny, {
42
- id: string;
43
- username: string | null;
44
- password: string | null;
45
- role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
46
- phoneNumber: string;
47
- secondaryPhoneNumber: string | null;
48
- fullName: string;
49
- profilePictureUrl: string | null;
50
- mail: string | null;
51
- dni: string | null;
52
- created_at: Date;
53
- updated_at: Date;
54
- shortId: number;
55
- firstTimeMiExpo: boolean;
56
- isPhoneVerified: boolean;
57
- firstName: string | null;
58
- gender: string | null;
59
- birthDate: Date | null;
60
- instagram: string | null;
61
- alternativeNames: string[];
62
- birthLocationId: string | null;
63
- residenceLocationId: string | null;
64
- isInTrash: boolean;
65
- movedToTrashDate: Date | null;
66
- }, {
67
- id: string;
68
- username: string | null;
69
- password: string | null;
70
- phoneNumber: string;
71
- secondaryPhoneNumber: string | null;
72
- fullName: string;
73
- profilePictureUrl: string | null;
74
- mail: string | null;
75
- dni: string | null;
76
- created_at: Date;
77
- updated_at: Date;
78
- shortId: number;
79
- firstTimeMiExpo: boolean;
80
- isPhoneVerified: boolean;
81
- firstName: string | null;
82
- gender: string | null;
83
- birthDate: string | null;
84
- instagram: string | null;
85
- alternativeNames: string[];
86
- birthLocationId: string | null;
87
- residenceLocationId: string | null;
88
- isInTrash: boolean;
89
- movedToTrashDate: Date | null;
90
- role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
91
- }>>;
92
- }>, "strip", z.ZodTypeAny, {
93
- id: string;
94
- name: string;
95
- created_at: Date;
96
- updated_at: Date;
97
- administratorId: string | null;
98
- administrator: {
99
- id: string;
100
- username: string | null;
101
- password: string | null;
102
- role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
103
- phoneNumber: string;
104
- secondaryPhoneNumber: string | null;
105
- fullName: string;
106
- profilePictureUrl: string | null;
107
- mail: string | null;
108
- dni: string | null;
109
- created_at: Date;
110
- updated_at: Date;
111
- shortId: number;
112
- firstTimeMiExpo: boolean;
113
- isPhoneVerified: boolean;
114
- firstName: string | null;
115
- gender: string | null;
116
- birthDate: Date | null;
117
- instagram: string | null;
118
- alternativeNames: string[];
119
- birthLocationId: string | null;
120
- residenceLocationId: string | null;
121
- isInTrash: boolean;
122
- movedToTrashDate: Date | null;
123
- } | null;
124
- }, {
125
- id: string;
126
- name: string;
127
- created_at: Date;
128
- updated_at: Date;
129
- administratorId: string | null;
130
- administrator: {
131
- id: string;
132
- username: string | null;
133
- password: string | null;
134
- phoneNumber: string;
135
- secondaryPhoneNumber: string | null;
136
- fullName: string;
137
- profilePictureUrl: string | null;
138
- mail: string | null;
139
- dni: string | null;
140
- created_at: Date;
141
- updated_at: Date;
142
- shortId: number;
143
- firstTimeMiExpo: boolean;
144
- isPhoneVerified: boolean;
145
- firstName: string | null;
146
- gender: string | null;
147
- birthDate: string | null;
148
- instagram: string | null;
149
- alternativeNames: string[];
150
- birthLocationId: string | null;
151
- residenceLocationId: string | null;
152
- isInTrash: boolean;
153
- movedToTrashDate: Date | null;
154
- role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
155
- } | null;
156
- }>, "many">;
157
- }, "strip", z.ZodTypeAny, {
158
- productions: {
159
- id: string;
160
- name: string;
161
- created_at: Date;
162
- updated_at: Date;
163
- administratorId: string | null;
164
- administrator: {
165
- id: string;
166
- username: string | null;
167
- password: string | null;
168
- role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
169
- phoneNumber: string;
170
- secondaryPhoneNumber: string | null;
171
- fullName: string;
172
- profilePictureUrl: string | null;
173
- mail: string | null;
174
- dni: string | null;
175
- created_at: Date;
176
- updated_at: Date;
177
- shortId: number;
178
- firstTimeMiExpo: boolean;
179
- isPhoneVerified: boolean;
180
- firstName: string | null;
181
- gender: string | null;
182
- birthDate: Date | null;
183
- instagram: string | null;
184
- alternativeNames: string[];
185
- birthLocationId: string | null;
186
- residenceLocationId: string | null;
187
- isInTrash: boolean;
188
- movedToTrashDate: Date | null;
189
- } | null;
190
- }[];
191
- }, {
192
- productions: {
193
- id: string;
194
- name: string;
195
- created_at: Date;
196
- updated_at: Date;
197
- administratorId: string | null;
198
- administrator: {
199
- id: string;
200
- username: string | null;
201
- password: string | null;
202
- phoneNumber: string;
203
- secondaryPhoneNumber: string | null;
204
- fullName: string;
205
- profilePictureUrl: string | null;
206
- mail: string | null;
207
- dni: string | null;
208
- created_at: Date;
209
- updated_at: Date;
210
- shortId: number;
211
- firstTimeMiExpo: boolean;
212
- isPhoneVerified: boolean;
213
- firstName: string | null;
214
- gender: string | null;
215
- birthDate: string | null;
216
- instagram: string | null;
217
- alternativeNames: string[];
218
- birthLocationId: string | null;
219
- residenceLocationId: string | null;
220
- isInTrash: boolean;
221
- movedToTrashDate: Date | null;
222
- role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
223
- } | null;
224
- }[];
225
- }>;
226
- declare const GetAllProductionResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
227
- productions: z.ZodArray<z.ZodObject<{
228
- id: z.ZodString;
229
- name: z.ZodString;
230
- administratorId: z.ZodNullable<z.ZodString>;
231
- created_at: z.ZodString;
232
- updated_at: z.ZodString;
233
- administrator: z.ZodNullable<z.ZodObject<{
234
- id: z.ZodString;
235
- shortId: z.ZodNumber;
236
- role: z.ZodDefault<z.ZodNativeEnum<{
237
- USER: "USER";
238
- ADMIN: "ADMIN";
239
- FORM: "FORM";
240
- TICKETS: "TICKETS";
241
- MI_EXPO: "MI_EXPO";
242
- }>>;
243
- firstTimeMiExpo: z.ZodBoolean;
244
- username: z.ZodNullable<z.ZodString>;
245
- password: z.ZodNullable<z.ZodString>;
246
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
247
- isPhoneVerified: z.ZodBoolean;
248
- secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
249
- fullName: z.ZodString;
250
- firstName: z.ZodNullable<z.ZodString>;
251
- gender: z.ZodNullable<z.ZodString>;
252
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
253
- profilePictureUrl: z.ZodNullable<z.ZodString>;
254
- instagram: z.ZodNullable<z.ZodString>;
255
- mail: z.ZodNullable<z.ZodString>;
256
- dni: z.ZodNullable<z.ZodString>;
257
- alternativeNames: z.ZodArray<z.ZodString, "many">;
258
- birthLocationId: z.ZodNullable<z.ZodString>;
259
- residenceLocationId: z.ZodNullable<z.ZodString>;
260
- isInTrash: z.ZodBoolean;
261
- movedToTrashDate: z.ZodNullable<z.ZodString>;
262
- created_at: z.ZodString;
263
- updated_at: z.ZodString;
264
- }, z.UnknownKeysParam, z.ZodTypeAny, {
265
- id: string;
266
- username: string | null;
267
- password: string | null;
268
- role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
269
- phoneNumber: string;
270
- secondaryPhoneNumber: string | null;
271
- fullName: string;
272
- profilePictureUrl: string | null;
273
- mail: string | null;
274
- dni: string | null;
275
- created_at: string;
276
- updated_at: string;
277
- shortId: number;
278
- firstTimeMiExpo: boolean;
279
- isPhoneVerified: boolean;
280
- firstName: string | null;
281
- gender: string | null;
282
- birthDate: string | null;
283
- instagram: string | null;
284
- alternativeNames: string[];
285
- birthLocationId: string | null;
286
- residenceLocationId: string | null;
287
- isInTrash: boolean;
288
- movedToTrashDate: string | null;
289
- }, {
290
- id: string;
291
- username: string | null;
292
- password: string | null;
293
- phoneNumber: string;
294
- secondaryPhoneNumber: string | null;
295
- fullName: string;
296
- profilePictureUrl: string | null;
297
- mail: string | null;
298
- dni: string | null;
299
- created_at: string;
300
- updated_at: string;
301
- shortId: number;
302
- firstTimeMiExpo: boolean;
303
- isPhoneVerified: boolean;
304
- firstName: string | null;
305
- gender: string | null;
306
- birthDate: string | null;
307
- instagram: string | null;
308
- alternativeNames: string[];
309
- birthLocationId: string | null;
310
- residenceLocationId: string | null;
311
- isInTrash: boolean;
312
- movedToTrashDate: string | null;
313
- role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
314
- }>>;
315
- }, z.UnknownKeysParam, z.ZodTypeAny, {
316
- id: string;
317
- name: string;
318
- created_at: string;
319
- updated_at: string;
320
- administratorId: string | null;
321
- administrator: {
322
- id: string;
323
- username: string | null;
324
- password: string | null;
325
- role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
326
- phoneNumber: string;
327
- secondaryPhoneNumber: string | null;
328
- fullName: string;
329
- profilePictureUrl: string | null;
330
- mail: string | null;
331
- dni: string | null;
332
- created_at: string;
333
- updated_at: string;
334
- shortId: number;
335
- firstTimeMiExpo: boolean;
336
- isPhoneVerified: boolean;
337
- firstName: string | null;
338
- gender: string | null;
339
- birthDate: string | null;
340
- instagram: string | null;
341
- alternativeNames: string[];
342
- birthLocationId: string | null;
343
- residenceLocationId: string | null;
344
- isInTrash: boolean;
345
- movedToTrashDate: string | null;
346
- } | null;
347
- }, {
348
- id: string;
349
- name: string;
350
- created_at: string;
351
- updated_at: string;
352
- administratorId: string | null;
353
- administrator: {
354
- id: string;
355
- username: string | null;
356
- password: string | null;
357
- phoneNumber: string;
358
- secondaryPhoneNumber: string | null;
359
- fullName: string;
360
- profilePictureUrl: string | null;
361
- mail: string | null;
362
- dni: string | null;
363
- created_at: string;
364
- updated_at: string;
365
- shortId: number;
366
- firstTimeMiExpo: boolean;
367
- isPhoneVerified: boolean;
368
- firstName: string | null;
369
- gender: string | null;
370
- birthDate: string | null;
371
- instagram: string | null;
372
- alternativeNames: string[];
373
- birthLocationId: string | null;
374
- residenceLocationId: string | null;
375
- isInTrash: boolean;
376
- movedToTrashDate: string | null;
377
- role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
378
- } | null;
379
- }>, "many">;
380
- }, z.UnknownKeysParam, z.ZodTypeAny, {
381
- productions: {
382
- id: string;
383
- name: string;
384
- created_at: string;
385
- updated_at: string;
386
- administratorId: string | null;
387
- administrator: {
388
- id: string;
389
- username: string | null;
390
- password: string | null;
391
- role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
392
- phoneNumber: string;
393
- secondaryPhoneNumber: string | null;
394
- fullName: string;
395
- profilePictureUrl: string | null;
396
- mail: string | null;
397
- dni: string | null;
398
- created_at: string;
399
- updated_at: string;
400
- shortId: number;
401
- firstTimeMiExpo: boolean;
402
- isPhoneVerified: boolean;
403
- firstName: string | null;
404
- gender: string | null;
405
- birthDate: string | null;
406
- instagram: string | null;
407
- alternativeNames: string[];
408
- birthLocationId: string | null;
409
- residenceLocationId: string | null;
410
- isInTrash: boolean;
411
- movedToTrashDate: string | null;
412
- } | null;
413
- }[];
414
- }, {
415
- productions: {
416
- id: string;
417
- name: string;
418
- created_at: string;
419
- updated_at: string;
420
- administratorId: string | null;
421
- administrator: {
422
- id: string;
423
- username: string | null;
424
- password: string | null;
425
- phoneNumber: string;
426
- secondaryPhoneNumber: string | null;
427
- fullName: string;
428
- profilePictureUrl: string | null;
429
- mail: string | null;
430
- dni: string | null;
431
- created_at: string;
432
- updated_at: string;
433
- shortId: number;
434
- firstTimeMiExpo: boolean;
435
- isPhoneVerified: boolean;
436
- firstName: string | null;
437
- gender: string | null;
438
- birthDate: string | null;
439
- instagram: string | null;
440
- alternativeNames: string[];
441
- birthLocationId: string | null;
442
- residenceLocationId: string | null;
443
- isInTrash: boolean;
444
- movedToTrashDate: string | null;
445
- role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
446
- } | null;
447
- }[];
448
- }>>;
449
- export declare class GetAllProductionResponseDto extends GetAllProductionResponseDto_base {
450
- }
451
- export {};
@@ -1,21 +0,0 @@
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.GetAllProductionResponseDto = exports.getAllProductionResponseSchema = void 0;
7
- const production_dto_1 = require("./production.dto");
8
- const profile_schema_1 = require("../../schema/profile.schema");
9
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
10
- const zod_1 = __importDefault(require("zod"));
11
- exports.getAllProductionResponseSchema = zod_1.default.object({
12
- productions: production_dto_1.productionSchema
13
- .extend({
14
- administrator: profile_schema_1.profileSchema.nullable(),
15
- })
16
- .array(),
17
- });
18
- class GetAllProductionResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getAllProductionResponseSchema) {
19
- }
20
- exports.GetAllProductionResponseDto = GetAllProductionResponseDto;
21
- //# sourceMappingURL=get-all-production.dto.js.map
@@ -1,20 +0,0 @@
1
- import z from 'zod';
2
- export declare const productionSchema: z.ZodObject<{
3
- id: z.ZodString;
4
- name: z.ZodString;
5
- administratorId: z.ZodNullable<z.ZodString>;
6
- created_at: z.ZodDate;
7
- updated_at: z.ZodDate;
8
- }, "strip", z.ZodTypeAny, {
9
- id: string;
10
- name: string;
11
- created_at: Date;
12
- updated_at: Date;
13
- administratorId: string | null;
14
- }, {
15
- id: string;
16
- name: string;
17
- created_at: Date;
18
- updated_at: Date;
19
- administratorId: string | null;
20
- }>;
@@ -1,21 +0,0 @@
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.productionSchema = void 0;
7
- const translate_1 = require("../../i18n/translate");
8
- const profile_schema_1 = require("../../schema/profile.schema");
9
- const zod_1 = __importDefault(require("zod"));
10
- exports.productionSchema = zod_1.default.object({
11
- id: zod_1.default.string().uuid({
12
- message: (0, translate_1.translate)('model.production.id.uuid'),
13
- }),
14
- name: zod_1.default.string().min(1, {
15
- message: (0, translate_1.translate)('model.production.name.min'),
16
- }),
17
- administratorId: profile_schema_1.profileSchema.shape.id.nullable(),
18
- created_at: zod_1.default.date(),
19
- updated_at: zod_1.default.date(),
20
- });
21
- //# sourceMappingURL=production.dto.js.map
@@ -1,63 +0,0 @@
1
- export declare const updateProductionSchema: import("zod").ZodObject<{
2
- name: import("zod").ZodOptional<import("zod").ZodString>;
3
- administratorId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
4
- }, "strip", import("zod").ZodTypeAny, {
5
- name?: string | undefined;
6
- administratorId?: string | null | undefined;
7
- }, {
8
- name?: string | undefined;
9
- administratorId?: string | null | undefined;
10
- }>;
11
- declare const UpdateProductionDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
12
- name: import("zod").ZodOptional<import("zod").ZodString>;
13
- administratorId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
14
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
15
- name?: string | undefined;
16
- administratorId?: string | null | undefined;
17
- }, {
18
- name?: string | undefined;
19
- administratorId?: string | null | undefined;
20
- }>>;
21
- export declare class UpdateProductionDto extends UpdateProductionDto_base {
22
- }
23
- export declare const updateProductionResponseSchema: import("zod").ZodObject<{
24
- id: import("zod").ZodString;
25
- name: import("zod").ZodString;
26
- administratorId: import("zod").ZodNullable<import("zod").ZodString>;
27
- created_at: import("zod").ZodDate;
28
- updated_at: import("zod").ZodDate;
29
- }, "strip", import("zod").ZodTypeAny, {
30
- id: string;
31
- name: string;
32
- created_at: Date;
33
- updated_at: Date;
34
- administratorId: string | null;
35
- }, {
36
- id: string;
37
- name: string;
38
- created_at: Date;
39
- updated_at: Date;
40
- administratorId: string | null;
41
- }>;
42
- declare const UpdateProductionResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
43
- id: import("zod").ZodString;
44
- name: import("zod").ZodString;
45
- administratorId: import("zod").ZodNullable<import("zod").ZodString>;
46
- created_at: import("zod").ZodString;
47
- updated_at: import("zod").ZodString;
48
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
49
- id: string;
50
- name: string;
51
- created_at: string;
52
- updated_at: string;
53
- administratorId: string | null;
54
- }, {
55
- id: string;
56
- name: string;
57
- created_at: string;
58
- updated_at: string;
59
- administratorId: string | null;
60
- }>>;
61
- export declare class UpdateProductionResponseDto extends UpdateProductionResponseDto_base {
62
- }
63
- export {};
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateProductionResponseDto = exports.updateProductionResponseSchema = exports.UpdateProductionDto = exports.updateProductionSchema = void 0;
4
- const production_dto_1 = require("./production.dto");
5
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- exports.updateProductionSchema = production_dto_1.productionSchema
7
- .pick({
8
- name: true,
9
- administratorId: true,
10
- })
11
- .partial();
12
- class UpdateProductionDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateProductionSchema) {
13
- }
14
- exports.UpdateProductionDto = UpdateProductionDto;
15
- exports.updateProductionResponseSchema = production_dto_1.productionSchema;
16
- class UpdateProductionResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateProductionResponseSchema) {
17
- }
18
- exports.UpdateProductionResponseDto = UpdateProductionResponseDto;
19
- //# sourceMappingURL=update-production.dto.js.map
@@ -1,6 +0,0 @@
1
- export * from './dto/create-production.dto';
2
- export * from './dto/create-role.dto';
3
- export * from './dto/delete-production.dto';
4
- export * from './dto/get-all-production.dto';
5
- export * from './dto/production.dto';
6
- export * from './dto/update-production.dto';
@@ -1,23 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./dto/create-production.dto"), exports);
18
- __exportStar(require("./dto/create-role.dto"), exports);
19
- __exportStar(require("./dto/delete-production.dto"), exports);
20
- __exportStar(require("./dto/get-all-production.dto"), exports);
21
- __exportStar(require("./dto/production.dto"), exports);
22
- __exportStar(require("./dto/update-production.dto"), exports);
23
- //# sourceMappingURL=exports.js.map