expo-backend-types 0.54.0 → 0.55.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.
@@ -86,6 +86,70 @@ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<import("
86
86
  country: string;
87
87
  city: string;
88
88
  }>>;
89
+ productionsAdministrated: import("zod").ZodArray<import("zod").ZodObject<{
90
+ id: import("zod").ZodString;
91
+ name: import("zod").ZodString;
92
+ administratorId: import("zod").ZodNullable<import("zod").ZodString>;
93
+ created_at: import("zod").ZodDate;
94
+ updated_at: import("zod").ZodDate;
95
+ }, "strip", import("zod").ZodTypeAny, {
96
+ id: string;
97
+ name: string;
98
+ created_at: Date;
99
+ updated_at: Date;
100
+ administratorId: string | null;
101
+ }, {
102
+ id: string;
103
+ name: string;
104
+ created_at: Date;
105
+ updated_at: Date;
106
+ administratorId: string | null;
107
+ }>, "many">;
108
+ productionsParticipated: import("zod").ZodArray<import("zod").ZodObject<{
109
+ id: import("zod").ZodString;
110
+ name: import("zod").ZodString;
111
+ administratorId: import("zod").ZodNullable<import("zod").ZodString>;
112
+ created_at: import("zod").ZodDate;
113
+ updated_at: import("zod").ZodDate;
114
+ }, "strip", import("zod").ZodTypeAny, {
115
+ id: string;
116
+ name: string;
117
+ created_at: Date;
118
+ updated_at: Date;
119
+ administratorId: string | null;
120
+ }, {
121
+ id: string;
122
+ name: string;
123
+ created_at: Date;
124
+ updated_at: Date;
125
+ administratorId: string | null;
126
+ }>, "many">;
127
+ productionRequestsSent: import("zod").ZodArray<import("zod").ZodObject<{
128
+ id: import("zod").ZodString;
129
+ productionId: import("zod").ZodString;
130
+ profileId: import("zod").ZodString;
131
+ status: import("zod").ZodNativeEnum<{
132
+ APPROVED: "APPROVED";
133
+ PENDING: "PENDING";
134
+ REJECTED: "REJECTED";
135
+ }>;
136
+ created_at: import("zod").ZodDate;
137
+ updated_at: import("zod").ZodDate;
138
+ }, "strip", import("zod").ZodTypeAny, {
139
+ id: string;
140
+ status: "APPROVED" | "PENDING" | "REJECTED";
141
+ created_at: Date;
142
+ updated_at: Date;
143
+ profileId: string;
144
+ productionId: string;
145
+ }, {
146
+ id: string;
147
+ status: "APPROVED" | "PENDING" | "REJECTED";
148
+ created_at: Date;
149
+ updated_at: Date;
150
+ profileId: string;
151
+ productionId: string;
152
+ }>, "many">;
89
153
  }>, "strip", import("zod").ZodTypeAny, {
90
154
  id: string;
91
155
  username: string | null;
@@ -130,6 +194,28 @@ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<import("
130
194
  country: string;
131
195
  city: string;
132
196
  } | null;
197
+ productionsAdministrated: {
198
+ id: string;
199
+ name: string;
200
+ created_at: Date;
201
+ updated_at: Date;
202
+ administratorId: string | null;
203
+ }[];
204
+ productionsParticipated: {
205
+ id: string;
206
+ name: string;
207
+ created_at: Date;
208
+ updated_at: Date;
209
+ administratorId: string | null;
210
+ }[];
211
+ productionRequestsSent: {
212
+ id: string;
213
+ status: "APPROVED" | "PENDING" | "REJECTED";
214
+ created_at: Date;
215
+ updated_at: Date;
216
+ profileId: string;
217
+ productionId: string;
218
+ }[];
133
219
  }, {
134
220
  id: string;
135
221
  username: string | null;
@@ -173,6 +259,28 @@ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<import("
173
259
  country: string;
174
260
  city: string;
175
261
  } | null;
262
+ productionsAdministrated: {
263
+ id: string;
264
+ name: string;
265
+ created_at: Date;
266
+ updated_at: Date;
267
+ administratorId: string | null;
268
+ }[];
269
+ productionsParticipated: {
270
+ id: string;
271
+ name: string;
272
+ created_at: Date;
273
+ updated_at: Date;
274
+ administratorId: string | null;
275
+ }[];
276
+ productionRequestsSent: {
277
+ id: string;
278
+ status: "APPROVED" | "PENDING" | "REJECTED";
279
+ created_at: Date;
280
+ updated_at: Date;
281
+ profileId: string;
282
+ productionId: string;
283
+ }[];
176
284
  role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
177
285
  }>;
178
286
  declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
@@ -261,6 +369,70 @@ declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
261
369
  country: string;
262
370
  city: string;
263
371
  }>>;
372
+ productionsAdministrated: import("zod").ZodArray<import("zod").ZodObject<{
373
+ id: import("zod").ZodString;
374
+ name: import("zod").ZodString;
375
+ administratorId: import("zod").ZodNullable<import("zod").ZodString>;
376
+ created_at: import("zod").ZodString;
377
+ updated_at: import("zod").ZodString;
378
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
379
+ id: string;
380
+ name: string;
381
+ created_at: string;
382
+ updated_at: string;
383
+ administratorId: string | null;
384
+ }, {
385
+ id: string;
386
+ name: string;
387
+ created_at: string;
388
+ updated_at: string;
389
+ administratorId: string | null;
390
+ }>, "many">;
391
+ productionsParticipated: import("zod").ZodArray<import("zod").ZodObject<{
392
+ id: import("zod").ZodString;
393
+ name: import("zod").ZodString;
394
+ administratorId: import("zod").ZodNullable<import("zod").ZodString>;
395
+ created_at: import("zod").ZodString;
396
+ updated_at: import("zod").ZodString;
397
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
398
+ id: string;
399
+ name: string;
400
+ created_at: string;
401
+ updated_at: string;
402
+ administratorId: string | null;
403
+ }, {
404
+ id: string;
405
+ name: string;
406
+ created_at: string;
407
+ updated_at: string;
408
+ administratorId: string | null;
409
+ }>, "many">;
410
+ productionRequestsSent: import("zod").ZodArray<import("zod").ZodObject<{
411
+ id: import("zod").ZodString;
412
+ productionId: import("zod").ZodString;
413
+ profileId: import("zod").ZodString;
414
+ status: import("zod").ZodNativeEnum<{
415
+ APPROVED: "APPROVED";
416
+ PENDING: "PENDING";
417
+ REJECTED: "REJECTED";
418
+ }>;
419
+ created_at: import("zod").ZodString;
420
+ updated_at: import("zod").ZodString;
421
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
422
+ id: string;
423
+ status: "APPROVED" | "PENDING" | "REJECTED";
424
+ created_at: string;
425
+ updated_at: string;
426
+ profileId: string;
427
+ productionId: string;
428
+ }, {
429
+ id: string;
430
+ status: "APPROVED" | "PENDING" | "REJECTED";
431
+ created_at: string;
432
+ updated_at: string;
433
+ profileId: string;
434
+ productionId: string;
435
+ }>, "many">;
264
436
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
265
437
  id: string;
266
438
  username: string | null;
@@ -305,6 +477,28 @@ declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
305
477
  country: string;
306
478
  city: string;
307
479
  } | null;
480
+ productionsAdministrated: {
481
+ id: string;
482
+ name: string;
483
+ created_at: string;
484
+ updated_at: string;
485
+ administratorId: string | null;
486
+ }[];
487
+ productionsParticipated: {
488
+ id: string;
489
+ name: string;
490
+ created_at: string;
491
+ updated_at: string;
492
+ administratorId: string | null;
493
+ }[];
494
+ productionRequestsSent: {
495
+ id: string;
496
+ status: "APPROVED" | "PENDING" | "REJECTED";
497
+ created_at: string;
498
+ updated_at: string;
499
+ profileId: string;
500
+ productionId: string;
501
+ }[];
308
502
  }, {
309
503
  id: string;
310
504
  username: string | null;
@@ -348,6 +542,28 @@ declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
348
542
  country: string;
349
543
  city: string;
350
544
  } | null;
545
+ productionsAdministrated: {
546
+ id: string;
547
+ name: string;
548
+ created_at: string;
549
+ updated_at: string;
550
+ administratorId: string | null;
551
+ }[];
552
+ productionsParticipated: {
553
+ id: string;
554
+ name: string;
555
+ created_at: string;
556
+ updated_at: string;
557
+ administratorId: string | null;
558
+ }[];
559
+ productionRequestsSent: {
560
+ id: string;
561
+ status: "APPROVED" | "PENDING" | "REJECTED";
562
+ created_at: string;
563
+ updated_at: string;
564
+ profileId: string;
565
+ productionId: string;
566
+ }[];
351
567
  role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
352
568
  }>>;
353
569
  export declare class GetMiExpoMeResponseDto extends GetMiExpoMeResponseDto_base {
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetMiExpoMeResponseDto = exports.getMiExpoMeResponseSchema = void 0;
4
+ const production_affiliation_request_dto_1 = require("../../production-affiliation-request/dto/production-affiliation-request.dto");
5
+ const production_dto_1 = require("../../production/dto/production.dto");
4
6
  const location_schema_1 = require("../../schema/location.schema");
5
7
  const profile_schema_1 = require("../../schema/profile.schema");
6
8
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
@@ -9,6 +11,9 @@ exports.getMiExpoMeResponseSchema = profile_schema_1.profileSchema
9
11
  .extend({
10
12
  residenceLocation: location_schema_1.locationSchema.nullable(),
11
13
  birthLocation: location_schema_1.locationSchema.nullable(),
14
+ productionsAdministrated: production_dto_1.productionSchema.array(),
15
+ productionsParticipated: production_dto_1.productionSchema.array(),
16
+ productionRequestsSent: production_affiliation_request_dto_1.productionAffiliationRequestSchema.array(),
12
17
  });
13
18
  class GetMiExpoMeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getMiExpoMeResponseSchema) {
14
19
  }
@@ -3823,6 +3823,28 @@ export interface components {
3823
3823
  created_at: string;
3824
3824
  updated_at: string;
3825
3825
  } | null;
3826
+ productionsAdministrated: {
3827
+ id: string;
3828
+ name: string;
3829
+ administratorId: string | null;
3830
+ created_at: string;
3831
+ updated_at: string;
3832
+ }[];
3833
+ productionsParticipated: {
3834
+ id: string;
3835
+ name: string;
3836
+ administratorId: string | null;
3837
+ created_at: string;
3838
+ updated_at: string;
3839
+ }[];
3840
+ productionRequestsSent: {
3841
+ id: string;
3842
+ productionId: string;
3843
+ profileId: string;
3844
+ status: "APPROVED" | "PENDING" | "REJECTED";
3845
+ created_at: string;
3846
+ updated_at: string;
3847
+ }[];
3826
3848
  };
3827
3849
  UpdateMiExpoMeDto: {
3828
3850
  birthDate: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.54.0",
3
+ "version": "0.55.0",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,