expo-backend-types 0.49.0 → 0.50.0

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 (63) hide show
  1. package/dist/src/account/dto/get-global-filter.dto.d.ts +10 -8
  2. package/dist/src/account/dto/get-me.dto.d.ts +20 -16
  3. package/dist/src/account/dto/update-global-filter.dto.d.ts +10 -8
  4. package/dist/src/event/dto/get-all-event.dto.d.ts +236 -232
  5. package/dist/src/event/dto/get-all-event.dto.js +1 -1
  6. package/dist/src/event/dto/get-by-id-event.dto.d.ts +136 -126
  7. package/dist/src/event/dto/get-by-id-event.dto.js +1 -1
  8. package/dist/src/event/dto/update-event.dto.d.ts +10 -8
  9. package/dist/src/exports.d.ts +1 -0
  10. package/dist/src/exports.js +1 -0
  11. package/dist/src/i18n/es.d.ts +57 -0
  12. package/dist/src/i18n/es.js +57 -0
  13. package/dist/src/i18n/es.js.map +1 -1
  14. package/dist/src/production/dto/create-production.dto.d.ts +41 -0
  15. package/dist/src/production/dto/create-production.dto.js +18 -0
  16. package/dist/src/production/dto/create-role.dto.d.ts +86 -0
  17. package/dist/src/production/dto/create-role.dto.js +16 -0
  18. package/dist/src/production/dto/delete-production.dto.d.ts +41 -0
  19. package/dist/src/production/dto/delete-production.dto.js +10 -0
  20. package/dist/src/production/dto/get-all-production.dto.d.ts +451 -0
  21. package/dist/src/production/dto/get-all-production.dto.js +21 -0
  22. package/dist/src/production/dto/production.dto.d.ts +20 -0
  23. package/dist/src/production/dto/production.dto.js +21 -0
  24. package/dist/src/production/dto/update-production.dto.d.ts +63 -0
  25. package/dist/src/production/dto/update-production.dto.js +19 -0
  26. package/dist/src/production/exports.d.ts +6 -0
  27. package/dist/src/production/exports.js +23 -0
  28. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.d.ts +80 -0
  29. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.js +16 -0
  30. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +563 -0
  31. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.js +21 -0
  32. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.d.ts +27 -0
  33. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.js +22 -0
  34. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +390 -0
  35. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.js +15 -0
  36. package/dist/src/production-affiliation-request/exports.d.ts +4 -0
  37. package/dist/src/production-affiliation-request/exports.js +21 -0
  38. package/dist/src/profile/dto/find-all-profile.dto.d.ts +14 -12
  39. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +24 -20
  40. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +10 -8
  41. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +14 -12
  42. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +14 -12
  43. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +14 -12
  44. package/dist/src/tag/dto/create-tag.dto.d.ts +41 -9
  45. package/dist/src/tag/dto/create-tag.dto.js +6 -5
  46. package/dist/src/tag/dto/delete-tag.dto.d.ts +6 -4
  47. package/dist/src/tag/dto/find-all-tag.dto.d.ts +10 -8
  48. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +10 -8
  49. package/dist/src/tag/dto/find-one-tag.dto.d.ts +6 -4
  50. package/dist/src/tag/dto/tag.dto.d.ts +6 -4
  51. package/dist/src/tag/dto/update-tag.dto.d.ts +7 -4
  52. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +14 -12
  53. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +14 -12
  54. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +10 -8
  55. package/dist/types/prisma-schema/edge.js +32 -5
  56. package/dist/types/prisma-schema/index-browser.js +29 -2
  57. package/dist/types/prisma-schema/index.d.ts +4879 -290
  58. package/dist/types/prisma-schema/index.js +32 -5
  59. package/dist/types/prisma-schema/package.json +1 -1
  60. package/dist/types/prisma-schema/schema.prisma +53 -3
  61. package/dist/types/prisma-schema/wasm.js +29 -2
  62. package/dist/types/schema.d.ts +607 -28
  63. package/package.json +1 -1
@@ -0,0 +1,80 @@
1
+ export declare const createProductionAffiliationRequestSchema: import("zod").ZodObject<Pick<{
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
+ }, "productionId">, "strip", import("zod").ZodTypeAny, {
13
+ productionId: string;
14
+ }, {
15
+ productionId: string;
16
+ }>;
17
+ declare const CreateProductionAffiliationRequestDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
18
+ productionId: import("zod").ZodString;
19
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
20
+ productionId: string;
21
+ }, {
22
+ productionId: string;
23
+ }>>;
24
+ export declare class CreateProductionAffiliationRequestDto extends CreateProductionAffiliationRequestDto_base {
25
+ }
26
+ export declare const createProductionAffiliationRequestResponseSchema: import("zod").ZodObject<{
27
+ id: import("zod").ZodString;
28
+ productionId: import("zod").ZodString;
29
+ profileId: import("zod").ZodString;
30
+ status: import("zod").ZodNativeEnum<{
31
+ APPROVED: "APPROVED";
32
+ PENDING: "PENDING";
33
+ REJECTED: "REJECTED";
34
+ }>;
35
+ created_at: import("zod").ZodDate;
36
+ updated_at: import("zod").ZodDate;
37
+ }, "strip", import("zod").ZodTypeAny, {
38
+ id: string;
39
+ status: "APPROVED" | "PENDING" | "REJECTED";
40
+ created_at: Date;
41
+ updated_at: Date;
42
+ profileId: string;
43
+ productionId: string;
44
+ }, {
45
+ id: string;
46
+ status: "APPROVED" | "PENDING" | "REJECTED";
47
+ created_at: Date;
48
+ updated_at: Date;
49
+ profileId: string;
50
+ productionId: string;
51
+ }>;
52
+ declare const CreateProductionAffiliationRequestResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
53
+ id: import("zod").ZodString;
54
+ productionId: import("zod").ZodString;
55
+ profileId: import("zod").ZodString;
56
+ status: import("zod").ZodNativeEnum<{
57
+ APPROVED: "APPROVED";
58
+ PENDING: "PENDING";
59
+ REJECTED: "REJECTED";
60
+ }>;
61
+ created_at: import("zod").ZodString;
62
+ updated_at: import("zod").ZodString;
63
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
64
+ id: string;
65
+ status: "APPROVED" | "PENDING" | "REJECTED";
66
+ created_at: string;
67
+ updated_at: string;
68
+ profileId: string;
69
+ productionId: string;
70
+ }, {
71
+ id: string;
72
+ status: "APPROVED" | "PENDING" | "REJECTED";
73
+ created_at: string;
74
+ updated_at: string;
75
+ profileId: string;
76
+ productionId: string;
77
+ }>>;
78
+ export declare class CreateProductionAffiliationRequestResponseDto extends CreateProductionAffiliationRequestResponseDto_base {
79
+ }
80
+ export {};
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateProductionAffiliationRequestResponseDto = exports.createProductionAffiliationRequestResponseSchema = exports.CreateProductionAffiliationRequestDto = exports.createProductionAffiliationRequestSchema = void 0;
4
+ const production_affiliation_request_dto_1 = require("./production-affiliation-request.dto");
5
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
+ exports.createProductionAffiliationRequestSchema = production_affiliation_request_dto_1.productionAffiliationRequestSchema.pick({
7
+ productionId: true,
8
+ });
9
+ class CreateProductionAffiliationRequestDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createProductionAffiliationRequestSchema) {
10
+ }
11
+ exports.CreateProductionAffiliationRequestDto = CreateProductionAffiliationRequestDto;
12
+ exports.createProductionAffiliationRequestResponseSchema = production_affiliation_request_dto_1.productionAffiliationRequestSchema;
13
+ class CreateProductionAffiliationRequestResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createProductionAffiliationRequestResponseSchema) {
14
+ }
15
+ exports.CreateProductionAffiliationRequestResponseDto = CreateProductionAffiliationRequestResponseDto;
16
+ //# sourceMappingURL=create-production-affiliation-request.dto.js.map
@@ -0,0 +1,563 @@
1
+ import z from 'zod';
2
+ export declare const findByProductionAffiliationRequestResponseSchema: z.ZodObject<{
3
+ productions: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
+ id: z.ZodString;
5
+ productionId: z.ZodString;
6
+ profileId: z.ZodString;
7
+ status: z.ZodNativeEnum<{
8
+ APPROVED: "APPROVED";
9
+ PENDING: "PENDING";
10
+ REJECTED: "REJECTED";
11
+ }>;
12
+ created_at: z.ZodDate;
13
+ updated_at: z.ZodDate;
14
+ }, {
15
+ production: z.ZodObject<{
16
+ id: z.ZodString;
17
+ name: z.ZodString;
18
+ administratorId: z.ZodNullable<z.ZodString>;
19
+ created_at: z.ZodDate;
20
+ updated_at: z.ZodDate;
21
+ }, "strip", z.ZodTypeAny, {
22
+ id: string;
23
+ name: string;
24
+ created_at: Date;
25
+ updated_at: Date;
26
+ administratorId: string | null;
27
+ }, {
28
+ id: string;
29
+ name: string;
30
+ created_at: Date;
31
+ updated_at: Date;
32
+ administratorId: string | null;
33
+ }>;
34
+ profile: z.ZodObject<{
35
+ id: z.ZodString;
36
+ shortId: z.ZodNumber;
37
+ role: z.ZodDefault<z.ZodNativeEnum<{
38
+ USER: "USER";
39
+ ADMIN: "ADMIN";
40
+ FORM: "FORM";
41
+ TICKETS: "TICKETS";
42
+ MI_EXPO: "MI_EXPO";
43
+ }>>;
44
+ firstTimeMiExpo: z.ZodBoolean;
45
+ username: z.ZodNullable<z.ZodString>;
46
+ password: z.ZodNullable<z.ZodString>;
47
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
48
+ isPhoneVerified: z.ZodBoolean;
49
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
50
+ fullName: z.ZodString;
51
+ firstName: z.ZodNullable<z.ZodString>;
52
+ gender: z.ZodNullable<z.ZodString>;
53
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
54
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
55
+ instagram: z.ZodNullable<z.ZodString>;
56
+ mail: z.ZodNullable<z.ZodString>;
57
+ dni: z.ZodNullable<z.ZodString>;
58
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
59
+ birthLocationId: z.ZodNullable<z.ZodString>;
60
+ residenceLocationId: z.ZodNullable<z.ZodString>;
61
+ isInTrash: z.ZodBoolean;
62
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
63
+ created_at: z.ZodDate;
64
+ updated_at: z.ZodDate;
65
+ }, "strip", z.ZodTypeAny, {
66
+ id: string;
67
+ username: string | null;
68
+ password: string | null;
69
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
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: Date | null;
84
+ instagram: string | null;
85
+ alternativeNames: string[];
86
+ birthLocationId: string | null;
87
+ residenceLocationId: string | null;
88
+ isInTrash: boolean;
89
+ movedToTrashDate: Date | null;
90
+ }, {
91
+ id: string;
92
+ username: string | null;
93
+ password: string | null;
94
+ phoneNumber: string;
95
+ secondaryPhoneNumber: string | null;
96
+ fullName: string;
97
+ profilePictureUrl: string | null;
98
+ mail: string | null;
99
+ dni: string | null;
100
+ created_at: Date;
101
+ updated_at: Date;
102
+ shortId: number;
103
+ firstTimeMiExpo: boolean;
104
+ isPhoneVerified: boolean;
105
+ firstName: string | null;
106
+ gender: string | null;
107
+ birthDate: string | null;
108
+ instagram: string | null;
109
+ alternativeNames: string[];
110
+ birthLocationId: string | null;
111
+ residenceLocationId: string | null;
112
+ isInTrash: boolean;
113
+ movedToTrashDate: Date | null;
114
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
115
+ }>;
116
+ }>, "strip", z.ZodTypeAny, {
117
+ profile: {
118
+ id: string;
119
+ username: string | null;
120
+ password: string | null;
121
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
122
+ phoneNumber: string;
123
+ secondaryPhoneNumber: string | null;
124
+ fullName: string;
125
+ profilePictureUrl: string | null;
126
+ mail: string | null;
127
+ dni: string | null;
128
+ created_at: Date;
129
+ updated_at: Date;
130
+ shortId: number;
131
+ firstTimeMiExpo: boolean;
132
+ isPhoneVerified: boolean;
133
+ firstName: string | null;
134
+ gender: string | null;
135
+ birthDate: Date | null;
136
+ instagram: string | null;
137
+ alternativeNames: string[];
138
+ birthLocationId: string | null;
139
+ residenceLocationId: string | null;
140
+ isInTrash: boolean;
141
+ movedToTrashDate: Date | null;
142
+ };
143
+ production: {
144
+ id: string;
145
+ name: string;
146
+ created_at: Date;
147
+ updated_at: Date;
148
+ administratorId: string | null;
149
+ };
150
+ id: string;
151
+ status: "APPROVED" | "PENDING" | "REJECTED";
152
+ created_at: Date;
153
+ updated_at: Date;
154
+ profileId: string;
155
+ productionId: string;
156
+ }, {
157
+ profile: {
158
+ id: string;
159
+ username: string | null;
160
+ password: string | null;
161
+ phoneNumber: string;
162
+ secondaryPhoneNumber: string | null;
163
+ fullName: string;
164
+ profilePictureUrl: string | null;
165
+ mail: string | null;
166
+ dni: string | null;
167
+ created_at: Date;
168
+ updated_at: Date;
169
+ shortId: number;
170
+ firstTimeMiExpo: boolean;
171
+ isPhoneVerified: boolean;
172
+ firstName: string | null;
173
+ gender: string | null;
174
+ birthDate: string | null;
175
+ instagram: string | null;
176
+ alternativeNames: string[];
177
+ birthLocationId: string | null;
178
+ residenceLocationId: string | null;
179
+ isInTrash: boolean;
180
+ movedToTrashDate: Date | null;
181
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
182
+ };
183
+ production: {
184
+ id: string;
185
+ name: string;
186
+ created_at: Date;
187
+ updated_at: Date;
188
+ administratorId: string | null;
189
+ };
190
+ id: string;
191
+ status: "APPROVED" | "PENDING" | "REJECTED";
192
+ created_at: Date;
193
+ updated_at: Date;
194
+ profileId: string;
195
+ productionId: string;
196
+ }>, "many">;
197
+ }, "strip", z.ZodTypeAny, {
198
+ productions: {
199
+ profile: {
200
+ id: string;
201
+ username: string | null;
202
+ password: string | null;
203
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
204
+ phoneNumber: string;
205
+ secondaryPhoneNumber: string | null;
206
+ fullName: string;
207
+ profilePictureUrl: string | null;
208
+ mail: string | null;
209
+ dni: string | null;
210
+ created_at: Date;
211
+ updated_at: Date;
212
+ shortId: number;
213
+ firstTimeMiExpo: boolean;
214
+ isPhoneVerified: boolean;
215
+ firstName: string | null;
216
+ gender: string | null;
217
+ birthDate: Date | null;
218
+ instagram: string | null;
219
+ alternativeNames: string[];
220
+ birthLocationId: string | null;
221
+ residenceLocationId: string | null;
222
+ isInTrash: boolean;
223
+ movedToTrashDate: Date | null;
224
+ };
225
+ production: {
226
+ id: string;
227
+ name: string;
228
+ created_at: Date;
229
+ updated_at: Date;
230
+ administratorId: string | null;
231
+ };
232
+ id: string;
233
+ status: "APPROVED" | "PENDING" | "REJECTED";
234
+ created_at: Date;
235
+ updated_at: Date;
236
+ profileId: string;
237
+ productionId: string;
238
+ }[];
239
+ }, {
240
+ productions: {
241
+ profile: {
242
+ id: string;
243
+ username: string | null;
244
+ password: string | null;
245
+ phoneNumber: string;
246
+ secondaryPhoneNumber: string | null;
247
+ fullName: string;
248
+ profilePictureUrl: string | null;
249
+ mail: string | null;
250
+ dni: string | null;
251
+ created_at: Date;
252
+ updated_at: Date;
253
+ shortId: number;
254
+ firstTimeMiExpo: boolean;
255
+ isPhoneVerified: boolean;
256
+ firstName: string | null;
257
+ gender: string | null;
258
+ birthDate: string | null;
259
+ instagram: string | null;
260
+ alternativeNames: string[];
261
+ birthLocationId: string | null;
262
+ residenceLocationId: string | null;
263
+ isInTrash: boolean;
264
+ movedToTrashDate: Date | null;
265
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
266
+ };
267
+ production: {
268
+ id: string;
269
+ name: string;
270
+ created_at: Date;
271
+ updated_at: Date;
272
+ administratorId: string | null;
273
+ };
274
+ id: string;
275
+ status: "APPROVED" | "PENDING" | "REJECTED";
276
+ created_at: Date;
277
+ updated_at: Date;
278
+ profileId: string;
279
+ productionId: string;
280
+ }[];
281
+ }>;
282
+ declare const FindByProductionAffiliationRequestResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
283
+ productions: z.ZodArray<z.ZodObject<{
284
+ id: z.ZodString;
285
+ productionId: z.ZodString;
286
+ profileId: z.ZodString;
287
+ status: z.ZodNativeEnum<{
288
+ APPROVED: "APPROVED";
289
+ PENDING: "PENDING";
290
+ REJECTED: "REJECTED";
291
+ }>;
292
+ created_at: z.ZodString;
293
+ updated_at: z.ZodString;
294
+ production: z.ZodObject<{
295
+ id: z.ZodString;
296
+ name: z.ZodString;
297
+ administratorId: z.ZodNullable<z.ZodString>;
298
+ created_at: z.ZodString;
299
+ updated_at: z.ZodString;
300
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
301
+ id: string;
302
+ name: string;
303
+ created_at: string;
304
+ updated_at: string;
305
+ administratorId: string | null;
306
+ }, {
307
+ id: string;
308
+ name: string;
309
+ created_at: string;
310
+ updated_at: string;
311
+ administratorId: string | null;
312
+ }>;
313
+ profile: z.ZodObject<{
314
+ id: z.ZodString;
315
+ shortId: z.ZodNumber;
316
+ role: z.ZodDefault<z.ZodNativeEnum<{
317
+ USER: "USER";
318
+ ADMIN: "ADMIN";
319
+ FORM: "FORM";
320
+ TICKETS: "TICKETS";
321
+ MI_EXPO: "MI_EXPO";
322
+ }>>;
323
+ firstTimeMiExpo: z.ZodBoolean;
324
+ username: z.ZodNullable<z.ZodString>;
325
+ password: z.ZodNullable<z.ZodString>;
326
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
327
+ isPhoneVerified: z.ZodBoolean;
328
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
329
+ fullName: z.ZodString;
330
+ firstName: z.ZodNullable<z.ZodString>;
331
+ gender: z.ZodNullable<z.ZodString>;
332
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
333
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
334
+ instagram: z.ZodNullable<z.ZodString>;
335
+ mail: z.ZodNullable<z.ZodString>;
336
+ dni: z.ZodNullable<z.ZodString>;
337
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
338
+ birthLocationId: z.ZodNullable<z.ZodString>;
339
+ residenceLocationId: z.ZodNullable<z.ZodString>;
340
+ isInTrash: z.ZodBoolean;
341
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
342
+ created_at: z.ZodString;
343
+ updated_at: z.ZodString;
344
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
345
+ id: string;
346
+ username: string | null;
347
+ password: string | null;
348
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
349
+ phoneNumber: string;
350
+ secondaryPhoneNumber: string | null;
351
+ fullName: string;
352
+ profilePictureUrl: string | null;
353
+ mail: string | null;
354
+ dni: string | null;
355
+ created_at: string;
356
+ updated_at: string;
357
+ shortId: number;
358
+ firstTimeMiExpo: boolean;
359
+ isPhoneVerified: boolean;
360
+ firstName: string | null;
361
+ gender: string | null;
362
+ birthDate: string | null;
363
+ instagram: string | null;
364
+ alternativeNames: string[];
365
+ birthLocationId: string | null;
366
+ residenceLocationId: string | null;
367
+ isInTrash: boolean;
368
+ movedToTrashDate: string | null;
369
+ }, {
370
+ id: string;
371
+ username: string | null;
372
+ password: string | null;
373
+ phoneNumber: string;
374
+ secondaryPhoneNumber: string | null;
375
+ fullName: string;
376
+ profilePictureUrl: string | null;
377
+ mail: string | null;
378
+ dni: string | null;
379
+ created_at: string;
380
+ updated_at: string;
381
+ shortId: number;
382
+ firstTimeMiExpo: boolean;
383
+ isPhoneVerified: boolean;
384
+ firstName: string | null;
385
+ gender: string | null;
386
+ birthDate: string | null;
387
+ instagram: string | null;
388
+ alternativeNames: string[];
389
+ birthLocationId: string | null;
390
+ residenceLocationId: string | null;
391
+ isInTrash: boolean;
392
+ movedToTrashDate: string | null;
393
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
394
+ }>;
395
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
396
+ profile: {
397
+ id: string;
398
+ username: string | null;
399
+ password: string | null;
400
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
401
+ phoneNumber: string;
402
+ secondaryPhoneNumber: string | null;
403
+ fullName: string;
404
+ profilePictureUrl: string | null;
405
+ mail: string | null;
406
+ dni: string | null;
407
+ created_at: string;
408
+ updated_at: string;
409
+ shortId: number;
410
+ firstTimeMiExpo: boolean;
411
+ isPhoneVerified: boolean;
412
+ firstName: string | null;
413
+ gender: string | null;
414
+ birthDate: string | null;
415
+ instagram: string | null;
416
+ alternativeNames: string[];
417
+ birthLocationId: string | null;
418
+ residenceLocationId: string | null;
419
+ isInTrash: boolean;
420
+ movedToTrashDate: string | null;
421
+ };
422
+ production: {
423
+ id: string;
424
+ name: string;
425
+ created_at: string;
426
+ updated_at: string;
427
+ administratorId: string | null;
428
+ };
429
+ id: string;
430
+ status: "APPROVED" | "PENDING" | "REJECTED";
431
+ created_at: string;
432
+ updated_at: string;
433
+ profileId: string;
434
+ productionId: string;
435
+ }, {
436
+ profile: {
437
+ id: string;
438
+ username: string | null;
439
+ password: string | null;
440
+ phoneNumber: string;
441
+ secondaryPhoneNumber: string | null;
442
+ fullName: string;
443
+ profilePictureUrl: string | null;
444
+ mail: string | null;
445
+ dni: string | null;
446
+ created_at: string;
447
+ updated_at: string;
448
+ shortId: number;
449
+ firstTimeMiExpo: boolean;
450
+ isPhoneVerified: boolean;
451
+ firstName: string | null;
452
+ gender: string | null;
453
+ birthDate: string | null;
454
+ instagram: string | null;
455
+ alternativeNames: string[];
456
+ birthLocationId: string | null;
457
+ residenceLocationId: string | null;
458
+ isInTrash: boolean;
459
+ movedToTrashDate: string | null;
460
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
461
+ };
462
+ production: {
463
+ id: string;
464
+ name: string;
465
+ created_at: string;
466
+ updated_at: string;
467
+ administratorId: string | null;
468
+ };
469
+ id: string;
470
+ status: "APPROVED" | "PENDING" | "REJECTED";
471
+ created_at: string;
472
+ updated_at: string;
473
+ profileId: string;
474
+ productionId: string;
475
+ }>, "many">;
476
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
477
+ productions: {
478
+ profile: {
479
+ id: string;
480
+ username: string | null;
481
+ password: string | null;
482
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
483
+ phoneNumber: string;
484
+ secondaryPhoneNumber: string | null;
485
+ fullName: string;
486
+ profilePictureUrl: string | null;
487
+ mail: string | null;
488
+ dni: string | null;
489
+ created_at: string;
490
+ updated_at: string;
491
+ shortId: number;
492
+ firstTimeMiExpo: boolean;
493
+ isPhoneVerified: boolean;
494
+ firstName: string | null;
495
+ gender: string | null;
496
+ birthDate: string | null;
497
+ instagram: string | null;
498
+ alternativeNames: string[];
499
+ birthLocationId: string | null;
500
+ residenceLocationId: string | null;
501
+ isInTrash: boolean;
502
+ movedToTrashDate: string | null;
503
+ };
504
+ production: {
505
+ id: string;
506
+ name: string;
507
+ created_at: string;
508
+ updated_at: string;
509
+ administratorId: string | null;
510
+ };
511
+ id: string;
512
+ status: "APPROVED" | "PENDING" | "REJECTED";
513
+ created_at: string;
514
+ updated_at: string;
515
+ profileId: string;
516
+ productionId: string;
517
+ }[];
518
+ }, {
519
+ productions: {
520
+ profile: {
521
+ id: string;
522
+ username: string | null;
523
+ password: string | null;
524
+ phoneNumber: string;
525
+ secondaryPhoneNumber: string | null;
526
+ fullName: string;
527
+ profilePictureUrl: string | null;
528
+ mail: string | null;
529
+ dni: string | null;
530
+ created_at: string;
531
+ updated_at: string;
532
+ shortId: number;
533
+ firstTimeMiExpo: boolean;
534
+ isPhoneVerified: boolean;
535
+ firstName: string | null;
536
+ gender: string | null;
537
+ birthDate: string | null;
538
+ instagram: string | null;
539
+ alternativeNames: string[];
540
+ birthLocationId: string | null;
541
+ residenceLocationId: string | null;
542
+ isInTrash: boolean;
543
+ movedToTrashDate: string | null;
544
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
545
+ };
546
+ production: {
547
+ id: string;
548
+ name: string;
549
+ created_at: string;
550
+ updated_at: string;
551
+ administratorId: string | null;
552
+ };
553
+ id: string;
554
+ status: "APPROVED" | "PENDING" | "REJECTED";
555
+ created_at: string;
556
+ updated_at: string;
557
+ profileId: string;
558
+ productionId: string;
559
+ }[];
560
+ }>>;
561
+ export declare class FindByProductionAffiliationRequestResponseDto extends FindByProductionAffiliationRequestResponseDto_base {
562
+ }
563
+ export {};
@@ -0,0 +1,21 @@
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.FindByProductionAffiliationRequestResponseDto = exports.findByProductionAffiliationRequestResponseSchema = void 0;
7
+ const production_affiliation_request_dto_1 = require("./production-affiliation-request.dto");
8
+ const production_dto_1 = require("../../production/dto/production.dto");
9
+ const profile_schema_1 = require("../../schema/profile.schema");
10
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
11
+ const zod_1 = __importDefault(require("zod"));
12
+ exports.findByProductionAffiliationRequestResponseSchema = zod_1.default.object({
13
+ productions: zod_1.default.array(production_affiliation_request_dto_1.productionAffiliationRequestSchema.extend({
14
+ production: production_dto_1.productionSchema,
15
+ profile: profile_schema_1.profileSchema,
16
+ })),
17
+ });
18
+ class FindByProductionAffiliationRequestResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByProductionAffiliationRequestResponseSchema) {
19
+ }
20
+ exports.FindByProductionAffiliationRequestResponseDto = FindByProductionAffiliationRequestResponseDto;
21
+ //# sourceMappingURL=find-by-production-affiliation-request.dto.js.map