expo-backend-types 0.57.0 → 0.58.0-EXPO-404-Etapa-4-Paquete-02.5.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 (43) hide show
  1. package/dist/src/dynamic-form/dto/create-dynamic-form.dto.d.ts +10 -0
  2. package/dist/src/dynamic-form/dto/dynamic-form.dto.d.ts +27 -0
  3. package/dist/src/dynamic-form/dto/dynamic-form.dto.js +8 -1
  4. package/dist/src/dynamic-form/dto/find-all-dynamic-form.dto.d.ts +14 -0
  5. package/dist/src/dynamic-form/dto/find-by-id-dynamic-question.dto.d.ts +266 -0
  6. package/dist/src/dynamic-form/dto/find-by-id-dynamic-question.dto.js +19 -0
  7. package/dist/src/dynamic-form/dto/find-by-type-dynamic-form.dto.d.ts +266 -0
  8. package/dist/src/dynamic-form/dto/find-by-type-dynamic-form.dto.js +18 -0
  9. package/dist/src/dynamic-form/dto/submit-dynamic-form.dto.d.ts +350 -0
  10. package/dist/src/dynamic-form/dto/submit-dynamic-form.dto.js +23 -0
  11. package/dist/src/dynamic-form/dto/update-dynamic-form.dto.d.ts +19 -0
  12. package/dist/src/dynamic-form/exports.d.ts +2 -0
  13. package/dist/src/dynamic-form/exports.js +2 -0
  14. package/dist/src/i18n/es.d.ts +21 -0
  15. package/dist/src/i18n/es.js +21 -0
  16. package/dist/src/i18n/es.js.map +1 -1
  17. package/dist/src/mi-expo/dto/get-me.dto.d.ts +20 -0
  18. package/dist/src/mi-expo/dto/update-me-first-time.dto.d.ts +382 -0
  19. package/dist/src/mi-expo/dto/update-me-first-time.dto.js +35 -0
  20. package/dist/src/mi-expo/exports.d.ts +1 -0
  21. package/dist/src/mi-expo/exports.js +1 -0
  22. package/dist/src/production/dto/create-production.dto.d.ts +8 -1
  23. package/dist/src/production/dto/create-production.dto.js +1 -0
  24. package/dist/src/production/dto/delete-production.dto.d.ts +6 -0
  25. package/dist/src/production/dto/get-all-production.dto.d.ts +10 -0
  26. package/dist/src/production/dto/production.dto.d.ts +3 -0
  27. package/dist/src/production/dto/production.dto.js +3 -0
  28. package/dist/src/production/dto/update-production.dto.d.ts +12 -0
  29. package/dist/src/production/dto/update-production.dto.js +1 -0
  30. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +14 -0
  31. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +10 -0
  32. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +141 -2
  33. package/dist/src/profile/dto/find-by-phone-number.dto.js +21 -1
  34. package/dist/src/schema/profile.schema.js +16 -2
  35. package/dist/types/prisma-schema/edge.js +11 -3
  36. package/dist/types/prisma-schema/index-browser.js +8 -0
  37. package/dist/types/prisma-schema/index.d.ts +150 -2
  38. package/dist/types/prisma-schema/index.js +11 -3
  39. package/dist/types/prisma-schema/package.json +1 -1
  40. package/dist/types/prisma-schema/schema.prisma +11 -3
  41. package/dist/types/prisma-schema/wasm.js +8 -0
  42. package/dist/types/schema.d.ts +274 -0
  43. package/package.json +1 -1
@@ -0,0 +1,382 @@
1
+ export declare const updateMiExpoMeFirstTimeSchema: import("zod").ZodObject<{
2
+ username: import("zod").ZodNullable<import("zod").ZodString>;
3
+ password: import("zod").ZodNullable<import("zod").ZodString>;
4
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
5
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
6
+ fullName: import("zod").ZodString;
7
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
8
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
9
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
10
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
11
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
12
+ residence: import("zod").ZodObject<Pick<{
13
+ id: import("zod").ZodString;
14
+ latitude: import("zod").ZodNumber;
15
+ longitude: import("zod").ZodNumber;
16
+ country: import("zod").ZodString;
17
+ state: import("zod").ZodString;
18
+ city: import("zod").ZodString;
19
+ created_at: import("zod").ZodDate;
20
+ updated_at: import("zod").ZodDate;
21
+ }, "latitude" | "longitude" | "state" | "country" | "city">, "strip", import("zod").ZodTypeAny, {
22
+ latitude: number;
23
+ longitude: number;
24
+ state: string;
25
+ country: string;
26
+ city: string;
27
+ }, {
28
+ latitude: number;
29
+ longitude: number;
30
+ state: string;
31
+ country: string;
32
+ city: string;
33
+ }>;
34
+ birth: import("zod").ZodObject<Pick<{
35
+ id: import("zod").ZodString;
36
+ latitude: import("zod").ZodNumber;
37
+ longitude: import("zod").ZodNumber;
38
+ country: import("zod").ZodString;
39
+ state: import("zod").ZodString;
40
+ city: import("zod").ZodString;
41
+ created_at: import("zod").ZodDate;
42
+ updated_at: import("zod").ZodDate;
43
+ }, "latitude" | "longitude" | "state" | "country" | "city">, "strip", import("zod").ZodTypeAny, {
44
+ latitude: number;
45
+ longitude: number;
46
+ state: string;
47
+ country: string;
48
+ city: string;
49
+ }, {
50
+ latitude: number;
51
+ longitude: number;
52
+ state: string;
53
+ country: string;
54
+ city: string;
55
+ }>;
56
+ id: import("zod").ZodString;
57
+ }, "strip", import("zod").ZodTypeAny, {
58
+ id: string;
59
+ username: string | null;
60
+ password: string | null;
61
+ phoneNumber: string;
62
+ secondaryPhoneNumber: string | null;
63
+ fullName: string;
64
+ mail: string | null;
65
+ dni: string | null;
66
+ gender: string | null;
67
+ birthDate: Date | null;
68
+ instagram: string | null;
69
+ residence: {
70
+ latitude: number;
71
+ longitude: number;
72
+ state: string;
73
+ country: string;
74
+ city: string;
75
+ };
76
+ birth: {
77
+ latitude: number;
78
+ longitude: number;
79
+ state: string;
80
+ country: string;
81
+ city: string;
82
+ };
83
+ }, {
84
+ id: string;
85
+ username: string | null;
86
+ password: string | null;
87
+ phoneNumber: string;
88
+ secondaryPhoneNumber: string | null;
89
+ fullName: string;
90
+ mail: string | null;
91
+ dni: string | null;
92
+ gender: string | null;
93
+ birthDate: string | null;
94
+ instagram: string | null;
95
+ residence: {
96
+ latitude: number;
97
+ longitude: number;
98
+ state: string;
99
+ country: string;
100
+ city: string;
101
+ };
102
+ birth: {
103
+ latitude: number;
104
+ longitude: number;
105
+ state: string;
106
+ country: string;
107
+ city: string;
108
+ };
109
+ }>;
110
+ declare const UpdateMiExpoMeFirstTimeDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
111
+ username: import("zod").ZodNullable<import("zod").ZodString>;
112
+ password: import("zod").ZodNullable<import("zod").ZodString>;
113
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
114
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
115
+ fullName: import("zod").ZodString;
116
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
117
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
118
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
119
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
120
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
121
+ residence: import("zod").ZodObject<{
122
+ latitude: import("zod").ZodNumber;
123
+ longitude: import("zod").ZodNumber;
124
+ state: import("zod").ZodString;
125
+ country: import("zod").ZodString;
126
+ city: import("zod").ZodString;
127
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
128
+ latitude: number;
129
+ longitude: number;
130
+ state: string;
131
+ country: string;
132
+ city: string;
133
+ }, {
134
+ latitude: number;
135
+ longitude: number;
136
+ state: string;
137
+ country: string;
138
+ city: string;
139
+ }>;
140
+ birth: import("zod").ZodObject<{
141
+ latitude: import("zod").ZodNumber;
142
+ longitude: import("zod").ZodNumber;
143
+ state: import("zod").ZodString;
144
+ country: import("zod").ZodString;
145
+ city: import("zod").ZodString;
146
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
147
+ latitude: number;
148
+ longitude: number;
149
+ state: string;
150
+ country: string;
151
+ city: string;
152
+ }, {
153
+ latitude: number;
154
+ longitude: number;
155
+ state: string;
156
+ country: string;
157
+ city: string;
158
+ }>;
159
+ id: import("zod").ZodString;
160
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
161
+ id: string;
162
+ username: string | null;
163
+ password: string | null;
164
+ phoneNumber: string;
165
+ secondaryPhoneNumber: string | null;
166
+ fullName: string;
167
+ mail: string | null;
168
+ dni: string | null;
169
+ gender: string | null;
170
+ birthDate: string | null;
171
+ instagram: string | null;
172
+ residence: {
173
+ latitude: number;
174
+ longitude: number;
175
+ state: string;
176
+ country: string;
177
+ city: string;
178
+ };
179
+ birth: {
180
+ latitude: number;
181
+ longitude: number;
182
+ state: string;
183
+ country: string;
184
+ city: string;
185
+ };
186
+ }, {
187
+ id: string;
188
+ username: string | null;
189
+ password: string | null;
190
+ phoneNumber: string;
191
+ secondaryPhoneNumber: string | null;
192
+ fullName: string;
193
+ mail: string | null;
194
+ dni: string | null;
195
+ gender: string | null;
196
+ birthDate: string | null;
197
+ instagram: string | null;
198
+ residence: {
199
+ latitude: number;
200
+ longitude: number;
201
+ state: string;
202
+ country: string;
203
+ city: string;
204
+ };
205
+ birth: {
206
+ latitude: number;
207
+ longitude: number;
208
+ state: string;
209
+ country: string;
210
+ city: string;
211
+ };
212
+ }>>;
213
+ export declare class UpdateMiExpoMeFirstTimeDto extends UpdateMiExpoMeFirstTimeDto_base {
214
+ }
215
+ export declare const updateMiExpoMeFirstTimeResponseSchema: import("zod").ZodObject<Omit<{
216
+ id: import("zod").ZodString;
217
+ shortId: import("zod").ZodNumber;
218
+ role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
219
+ USER: "USER";
220
+ ADMIN: "ADMIN";
221
+ FORM: "FORM";
222
+ TICKETS: "TICKETS";
223
+ MI_EXPO: "MI_EXPO";
224
+ }>>;
225
+ firstTimeMiExpo: import("zod").ZodBoolean;
226
+ username: import("zod").ZodNullable<import("zod").ZodString>;
227
+ password: import("zod").ZodNullable<import("zod").ZodString>;
228
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
229
+ isPhoneVerified: import("zod").ZodBoolean;
230
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
231
+ fullName: import("zod").ZodString;
232
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
233
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
234
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
235
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
236
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
237
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
238
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
239
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
240
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
241
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
242
+ isInTrash: import("zod").ZodBoolean;
243
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
244
+ created_at: import("zod").ZodDate;
245
+ updated_at: import("zod").ZodDate;
246
+ referralCode: import("zod").ZodString;
247
+ }, "password">, "strip", import("zod").ZodTypeAny, {
248
+ id: string;
249
+ username: string | null;
250
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
251
+ phoneNumber: string;
252
+ secondaryPhoneNumber: string | null;
253
+ fullName: string;
254
+ profilePictureUrl: string | null;
255
+ mail: string | null;
256
+ dni: string | null;
257
+ created_at: Date;
258
+ updated_at: Date;
259
+ referralCode: string;
260
+ shortId: number;
261
+ firstTimeMiExpo: boolean;
262
+ isPhoneVerified: boolean;
263
+ firstName: string | null;
264
+ gender: string | null;
265
+ birthDate: Date | null;
266
+ instagram: string | null;
267
+ alternativeNames: string[];
268
+ birthLocationId: string | null;
269
+ residenceLocationId: string | null;
270
+ isInTrash: boolean;
271
+ movedToTrashDate: Date | null;
272
+ }, {
273
+ id: string;
274
+ username: string | null;
275
+ phoneNumber: string;
276
+ secondaryPhoneNumber: string | null;
277
+ fullName: string;
278
+ profilePictureUrl: string | null;
279
+ mail: string | null;
280
+ dni: string | null;
281
+ created_at: Date;
282
+ updated_at: Date;
283
+ referralCode: string;
284
+ shortId: number;
285
+ firstTimeMiExpo: boolean;
286
+ isPhoneVerified: boolean;
287
+ firstName: string | null;
288
+ gender: string | null;
289
+ birthDate: string | null;
290
+ instagram: string | null;
291
+ alternativeNames: string[];
292
+ birthLocationId: string | null;
293
+ residenceLocationId: string | null;
294
+ isInTrash: boolean;
295
+ movedToTrashDate: Date | null;
296
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
297
+ }>;
298
+ declare const UpdateMiExpoMeFirstTimeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
299
+ id: import("zod").ZodString;
300
+ username: import("zod").ZodNullable<import("zod").ZodString>;
301
+ role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
302
+ USER: "USER";
303
+ ADMIN: "ADMIN";
304
+ FORM: "FORM";
305
+ TICKETS: "TICKETS";
306
+ MI_EXPO: "MI_EXPO";
307
+ }>>;
308
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
309
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
310
+ fullName: import("zod").ZodString;
311
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
312
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
313
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
314
+ created_at: import("zod").ZodString;
315
+ updated_at: import("zod").ZodString;
316
+ referralCode: import("zod").ZodString;
317
+ shortId: import("zod").ZodNumber;
318
+ firstTimeMiExpo: import("zod").ZodBoolean;
319
+ isPhoneVerified: import("zod").ZodBoolean;
320
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
321
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
322
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
323
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
324
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
325
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
326
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
327
+ isInTrash: import("zod").ZodBoolean;
328
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
329
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
330
+ id: string;
331
+ username: string | null;
332
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
333
+ phoneNumber: string;
334
+ secondaryPhoneNumber: string | null;
335
+ fullName: string;
336
+ profilePictureUrl: string | null;
337
+ mail: string | null;
338
+ dni: string | null;
339
+ created_at: string;
340
+ updated_at: string;
341
+ referralCode: string;
342
+ shortId: number;
343
+ firstTimeMiExpo: boolean;
344
+ isPhoneVerified: boolean;
345
+ firstName: string | null;
346
+ gender: string | null;
347
+ birthDate: string | null;
348
+ instagram: string | null;
349
+ alternativeNames: string[];
350
+ birthLocationId: string | null;
351
+ residenceLocationId: string | null;
352
+ isInTrash: boolean;
353
+ movedToTrashDate: string | null;
354
+ }, {
355
+ id: string;
356
+ username: 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
+ referralCode: string;
366
+ shortId: number;
367
+ firstTimeMiExpo: boolean;
368
+ isPhoneVerified: boolean;
369
+ firstName: string | null;
370
+ gender: string | null;
371
+ birthDate: string | null;
372
+ instagram: string | null;
373
+ alternativeNames: string[];
374
+ birthLocationId: string | null;
375
+ residenceLocationId: string | null;
376
+ isInTrash: boolean;
377
+ movedToTrashDate: string | null;
378
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
379
+ }>>;
380
+ export declare class UpdateMiExpoMeFirstTimeResponseDto extends UpdateMiExpoMeFirstTimeResponseDto_base {
381
+ }
382
+ export {};
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateMiExpoMeFirstTimeResponseDto = exports.updateMiExpoMeFirstTimeResponseSchema = exports.UpdateMiExpoMeFirstTimeDto = exports.updateMiExpoMeFirstTimeSchema = void 0;
4
+ const update_profile_dto_1 = require("../../profile/dto/update-profile.dto");
5
+ const profile_schema_1 = require("../../schema/profile.schema");
6
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
7
+ exports.updateMiExpoMeFirstTimeSchema = update_profile_dto_1.updateProfileSchema
8
+ .pick({
9
+ birthDate: true,
10
+ dni: true,
11
+ fullName: true,
12
+ gender: true,
13
+ instagram: true,
14
+ mail: true,
15
+ password: true,
16
+ phoneNumber: true,
17
+ secondaryPhoneNumber: true,
18
+ username: true,
19
+ birth: true,
20
+ residence: true,
21
+ })
22
+ .extend({
23
+ id: profile_schema_1.profileSchema.shape.id,
24
+ })
25
+ .required();
26
+ class UpdateMiExpoMeFirstTimeDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateMiExpoMeFirstTimeSchema) {
27
+ }
28
+ exports.UpdateMiExpoMeFirstTimeDto = UpdateMiExpoMeFirstTimeDto;
29
+ exports.updateMiExpoMeFirstTimeResponseSchema = update_profile_dto_1.updateProfileResponseSchema.omit({
30
+ password: true,
31
+ });
32
+ class UpdateMiExpoMeFirstTimeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateMiExpoMeFirstTimeResponseSchema) {
33
+ }
34
+ exports.UpdateMiExpoMeFirstTimeResponseDto = UpdateMiExpoMeFirstTimeResponseDto;
35
+ //# sourceMappingURL=update-me-first-time.dto.js.map
@@ -2,4 +2,5 @@ export * from './dto/get-invitations.dto';
2
2
  export * from './dto/get-me.dto';
3
3
  export * from './dto/login-with-phone.dto';
4
4
  export * from './dto/login.dto';
5
+ export * from './dto/update-me-first-time.dto';
5
6
  export * from './dto/update-me.dto';
@@ -18,5 +18,6 @@ __exportStar(require("./dto/get-invitations.dto"), exports);
18
18
  __exportStar(require("./dto/get-me.dto"), exports);
19
19
  __exportStar(require("./dto/login-with-phone.dto"), exports);
20
20
  __exportStar(require("./dto/login.dto"), exports);
21
+ __exportStar(require("./dto/update-me-first-time.dto"), exports);
21
22
  __exportStar(require("./dto/update-me.dto"), exports);
22
23
  //# sourceMappingURL=exports.js.map
@@ -1,23 +1,29 @@
1
1
  export declare const createProductionSchema: import("zod").ZodObject<Pick<{
2
2
  id: import("zod").ZodString;
3
3
  name: import("zod").ZodString;
4
+ description: import("zod").ZodString;
4
5
  administratorId: import("zod").ZodNullable<import("zod").ZodString>;
5
6
  created_at: import("zod").ZodDate;
6
7
  updated_at: import("zod").ZodDate;
7
- }, "name" | "administratorId">, "strip", import("zod").ZodTypeAny, {
8
+ }, "description" | "name" | "administratorId">, "strip", import("zod").ZodTypeAny, {
9
+ description: string;
8
10
  name: string;
9
11
  administratorId: string | null;
10
12
  }, {
13
+ description: string;
11
14
  name: string;
12
15
  administratorId: string | null;
13
16
  }>;
14
17
  declare const CreateProductionDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
18
+ description: import("zod").ZodString;
15
19
  name: import("zod").ZodString;
16
20
  administratorId: import("zod").ZodNullable<import("zod").ZodString>;
17
21
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
22
+ description: string;
18
23
  name: string;
19
24
  administratorId: string | null;
20
25
  }, {
26
+ description: string;
21
27
  name: string;
22
28
  administratorId: string | null;
23
29
  }>>;
@@ -26,6 +32,7 @@ export declare class CreateProductionDto extends CreateProductionDto_base {
26
32
  export declare const createProductionResponseSchema: import("zod").ZodObject<Pick<{
27
33
  id: import("zod").ZodString;
28
34
  name: import("zod").ZodString;
35
+ description: import("zod").ZodString;
29
36
  administratorId: import("zod").ZodNullable<import("zod").ZodString>;
30
37
  created_at: import("zod").ZodDate;
31
38
  updated_at: import("zod").ZodDate;
@@ -5,6 +5,7 @@ const production_dto_1 = require("./production.dto");
5
5
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
6
  exports.createProductionSchema = production_dto_1.productionSchema.pick({
7
7
  name: true,
8
+ description: true,
8
9
  administratorId: true,
9
10
  });
10
11
  class CreateProductionDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createProductionSchema) {
@@ -1,16 +1,19 @@
1
1
  export declare const deleteProductionResponseSchema: import("zod").ZodObject<{
2
2
  id: import("zod").ZodString;
3
3
  name: import("zod").ZodString;
4
+ description: import("zod").ZodString;
4
5
  administratorId: import("zod").ZodNullable<import("zod").ZodString>;
5
6
  created_at: import("zod").ZodDate;
6
7
  updated_at: import("zod").ZodDate;
7
8
  }, "strip", import("zod").ZodTypeAny, {
9
+ description: string;
8
10
  id: string;
9
11
  name: string;
10
12
  created_at: Date;
11
13
  updated_at: Date;
12
14
  administratorId: string | null;
13
15
  }, {
16
+ description: string;
14
17
  id: string;
15
18
  name: string;
16
19
  created_at: Date;
@@ -20,16 +23,19 @@ export declare const deleteProductionResponseSchema: import("zod").ZodObject<{
20
23
  declare const DeleteProductionResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
21
24
  id: import("zod").ZodString;
22
25
  name: import("zod").ZodString;
26
+ description: import("zod").ZodString;
23
27
  administratorId: import("zod").ZodNullable<import("zod").ZodString>;
24
28
  created_at: import("zod").ZodString;
25
29
  updated_at: import("zod").ZodString;
26
30
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
31
+ description: string;
27
32
  id: string;
28
33
  name: string;
29
34
  created_at: string;
30
35
  updated_at: string;
31
36
  administratorId: string | null;
32
37
  }, {
38
+ description: string;
33
39
  id: string;
34
40
  name: string;
35
41
  created_at: string;
@@ -3,6 +3,7 @@ export declare const getAllProductionResponseSchema: z.ZodObject<{
3
3
  productions: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
4
  id: z.ZodString;
5
5
  name: z.ZodString;
6
+ description: z.ZodString;
6
7
  administratorId: z.ZodNullable<z.ZodString>;
7
8
  created_at: z.ZodDate;
8
9
  updated_at: z.ZodDate;
@@ -93,6 +94,7 @@ export declare const getAllProductionResponseSchema: z.ZodObject<{
93
94
  role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
94
95
  }>>;
95
96
  }>, "strip", z.ZodTypeAny, {
97
+ description: string;
96
98
  id: string;
97
99
  name: string;
98
100
  created_at: Date;
@@ -126,6 +128,7 @@ export declare const getAllProductionResponseSchema: z.ZodObject<{
126
128
  movedToTrashDate: Date | null;
127
129
  } | null;
128
130
  }, {
131
+ description: string;
129
132
  id: string;
130
133
  name: string;
131
134
  created_at: Date;
@@ -161,6 +164,7 @@ export declare const getAllProductionResponseSchema: z.ZodObject<{
161
164
  }>, "many">;
162
165
  }, "strip", z.ZodTypeAny, {
163
166
  productions: {
167
+ description: string;
164
168
  id: string;
165
169
  name: string;
166
170
  created_at: Date;
@@ -196,6 +200,7 @@ export declare const getAllProductionResponseSchema: z.ZodObject<{
196
200
  }[];
197
201
  }, {
198
202
  productions: {
203
+ description: string;
199
204
  id: string;
200
205
  name: string;
201
206
  created_at: Date;
@@ -234,6 +239,7 @@ declare const GetAllProductionResponseDto_base: import("@anatine/zod-nestjs").Zo
234
239
  productions: z.ZodArray<z.ZodObject<{
235
240
  id: z.ZodString;
236
241
  name: z.ZodString;
242
+ description: z.ZodString;
237
243
  administratorId: z.ZodNullable<z.ZodString>;
238
244
  created_at: z.ZodString;
239
245
  updated_at: z.ZodString;
@@ -323,6 +329,7 @@ declare const GetAllProductionResponseDto_base: import("@anatine/zod-nestjs").Zo
323
329
  role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
324
330
  }>>;
325
331
  }, z.UnknownKeysParam, z.ZodTypeAny, {
332
+ description: string;
326
333
  id: string;
327
334
  name: string;
328
335
  created_at: string;
@@ -356,6 +363,7 @@ declare const GetAllProductionResponseDto_base: import("@anatine/zod-nestjs").Zo
356
363
  movedToTrashDate: string | null;
357
364
  } | null;
358
365
  }, {
366
+ description: string;
359
367
  id: string;
360
368
  name: string;
361
369
  created_at: string;
@@ -391,6 +399,7 @@ declare const GetAllProductionResponseDto_base: import("@anatine/zod-nestjs").Zo
391
399
  }>, "many">;
392
400
  }, z.UnknownKeysParam, z.ZodTypeAny, {
393
401
  productions: {
402
+ description: string;
394
403
  id: string;
395
404
  name: string;
396
405
  created_at: string;
@@ -426,6 +435,7 @@ declare const GetAllProductionResponseDto_base: import("@anatine/zod-nestjs").Zo
426
435
  }[];
427
436
  }, {
428
437
  productions: {
438
+ description: string;
429
439
  id: string;
430
440
  name: string;
431
441
  created_at: string;
@@ -2,16 +2,19 @@ import z from 'zod';
2
2
  export declare const productionSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  name: z.ZodString;
5
+ description: z.ZodString;
5
6
  administratorId: z.ZodNullable<z.ZodString>;
6
7
  created_at: z.ZodDate;
7
8
  updated_at: z.ZodDate;
8
9
  }, "strip", z.ZodTypeAny, {
10
+ description: string;
9
11
  id: string;
10
12
  name: string;
11
13
  created_at: Date;
12
14
  updated_at: Date;
13
15
  administratorId: string | null;
14
16
  }, {
17
+ description: string;
15
18
  id: string;
16
19
  name: string;
17
20
  created_at: Date;
@@ -14,6 +14,9 @@ exports.productionSchema = zod_1.default.object({
14
14
  name: zod_1.default.string().min(1, {
15
15
  message: (0, translate_1.translate)('model.production.name.min'),
16
16
  }),
17
+ description: zod_1.default.string().min(1, {
18
+ message: (0, translate_1.translate)('model.production.description.min'),
19
+ }),
17
20
  administratorId: profile_schema_1.profileSchema.shape.id.nullable(),
18
21
  created_at: zod_1.default.date(),
19
22
  updated_at: zod_1.default.date(),