expo-backend-types 0.49.0-EXPO-355-ExpoBackend-Rutas-de-produccion.4 → 0.49.0-EXPO-355-ExpoBackend-Rutas-de-produccion.6

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