expo-backend-types 0.34.0-EXPO-319-ver-eventos-disponibles.7 → 0.34.0-EXPO-319-ver-eventos-disponibles.8

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.
@@ -1,6 +1,6 @@
1
1
  import z from 'zod';
2
- export declare const myEventsResponseSchema: z.ZodObject<{
3
- events: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
2
+ export declare const getInvitationsResponseSchema: z.ZodObject<{
3
+ events: z.ZodArray<z.ZodObject<Pick<{
4
4
  id: z.ZodString;
5
5
  name: z.ZodString;
6
6
  date: z.ZodDate;
@@ -14,9 +14,7 @@ export declare const myEventsResponseSchema: z.ZodObject<{
14
14
  supraEventId: z.ZodNullable<z.ZodString>;
15
15
  created_at: z.ZodDate;
16
16
  updated_at: z.ZodDate;
17
- }, "location" | "id" | "name" | "date" | "startingDate" | "endingDate" | "active">, {
18
- haveTicket: z.ZodBoolean;
19
- }>, "strip", z.ZodTypeAny, {
17
+ }, "location" | "id" | "name" | "date" | "startingDate" | "endingDate" | "active">, "strip", z.ZodTypeAny, {
20
18
  location: string;
21
19
  id: string;
22
20
  name: string;
@@ -24,7 +22,6 @@ export declare const myEventsResponseSchema: z.ZodObject<{
24
22
  startingDate: Date;
25
23
  endingDate: Date;
26
24
  active: boolean;
27
- haveTicket: boolean;
28
25
  }, {
29
26
  location: string;
30
27
  id: string;
@@ -33,7 +30,6 @@ export declare const myEventsResponseSchema: z.ZodObject<{
33
30
  startingDate: Date;
34
31
  endingDate: Date;
35
32
  active: boolean;
36
- haveTicket: boolean;
37
33
  }>, "many">;
38
34
  }, "strip", z.ZodTypeAny, {
39
35
  events: {
@@ -44,7 +40,6 @@ export declare const myEventsResponseSchema: z.ZodObject<{
44
40
  startingDate: Date;
45
41
  endingDate: Date;
46
42
  active: boolean;
47
- haveTicket: boolean;
48
43
  }[];
49
44
  }, {
50
45
  events: {
@@ -55,10 +50,9 @@ export declare const myEventsResponseSchema: z.ZodObject<{
55
50
  startingDate: Date;
56
51
  endingDate: Date;
57
52
  active: boolean;
58
- haveTicket: boolean;
59
53
  }[];
60
54
  }>;
61
- declare const MyEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
55
+ declare const GetInvitationsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
62
56
  events: z.ZodArray<z.ZodObject<{
63
57
  location: z.ZodString;
64
58
  id: z.ZodString;
@@ -67,7 +61,6 @@ declare const MyEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStat
67
61
  startingDate: z.ZodString;
68
62
  endingDate: z.ZodString;
69
63
  active: z.ZodBoolean;
70
- haveTicket: z.ZodBoolean;
71
64
  }, z.UnknownKeysParam, z.ZodTypeAny, {
72
65
  location: string;
73
66
  id: string;
@@ -76,7 +69,6 @@ declare const MyEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStat
76
69
  startingDate: string;
77
70
  endingDate: string;
78
71
  active: boolean;
79
- haveTicket: boolean;
80
72
  }, {
81
73
  location: string;
82
74
  id: string;
@@ -85,7 +77,6 @@ declare const MyEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStat
85
77
  startingDate: string;
86
78
  endingDate: string;
87
79
  active: boolean;
88
- haveTicket: boolean;
89
80
  }>, "many">;
90
81
  }, z.UnknownKeysParam, z.ZodTypeAny, {
91
82
  events: {
@@ -96,7 +87,6 @@ declare const MyEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStat
96
87
  startingDate: string;
97
88
  endingDate: string;
98
89
  active: boolean;
99
- haveTicket: boolean;
100
90
  }[];
101
91
  }, {
102
92
  events: {
@@ -107,9 +97,8 @@ declare const MyEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStat
107
97
  startingDate: string;
108
98
  endingDate: string;
109
99
  active: boolean;
110
- haveTicket: boolean;
111
100
  }[];
112
101
  }>>;
113
- export declare class MyEventsResponseDto extends MyEventsResponseDto_base {
102
+ export declare class GetInvitationsResponseDto extends GetInvitationsResponseDto_base {
114
103
  }
115
104
  export {};
@@ -3,13 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.MyEventsResponseDto = exports.myEventsResponseSchema = void 0;
6
+ exports.GetInvitationsResponseDto = exports.getInvitationsResponseSchema = void 0;
7
7
  const event_dto_1 = require("../../event/dto/event.dto");
8
8
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
9
  const zod_1 = __importDefault(require("zod"));
10
- exports.myEventsResponseSchema = zod_1.default.object({
11
- events: zod_1.default.array(event_dto_1.eventSchema
12
- .pick({
10
+ exports.getInvitationsResponseSchema = zod_1.default.object({
11
+ events: zod_1.default.array(event_dto_1.eventSchema.pick({
13
12
  date: true,
14
13
  startingDate: true,
15
14
  endingDate: true,
@@ -17,12 +16,9 @@ exports.myEventsResponseSchema = zod_1.default.object({
17
16
  location: true,
18
17
  id: true,
19
18
  active: true,
20
- })
21
- .extend({
22
- haveTicket: zod_1.default.boolean(),
23
19
  })),
24
20
  });
25
- class MyEventsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.myEventsResponseSchema) {
21
+ class GetInvitationsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getInvitationsResponseSchema) {
26
22
  }
27
- exports.MyEventsResponseDto = MyEventsResponseDto;
28
- //# sourceMappingURL=my-events.dto.js.map
23
+ exports.GetInvitationsResponseDto = GetInvitationsResponseDto;
24
+ //# sourceMappingURL=get-invitations.dto.js.map
@@ -1,5 +1,5 @@
1
+ export * from './dto/get-invitations.dto';
1
2
  export * from './dto/get-me.dto';
2
3
  export * from './dto/login-with-phone.dto';
3
4
  export * from './dto/login.dto';
4
- export * from './dto/my-events.dto';
5
5
  export * from './dto/update-me.dto';
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto/get-invitations.dto"), exports);
17
18
  __exportStar(require("./dto/get-me.dto"), exports);
18
19
  __exportStar(require("./dto/login-with-phone.dto"), exports);
19
20
  __exportStar(require("./dto/login.dto"), exports);
20
- __exportStar(require("./dto/my-events.dto"), exports);
21
21
  __exportStar(require("./dto/update-me.dto"), exports);
22
22
  //# sourceMappingURL=exports.js.map
@@ -1183,14 +1183,14 @@ export interface paths {
1183
1183
  patch: operations["MiExpoController_updateMe"];
1184
1184
  trace?: never;
1185
1185
  };
1186
- "/mi-expo/my-events": {
1186
+ "/mi-expo/invitations": {
1187
1187
  parameters: {
1188
1188
  query?: never;
1189
1189
  header?: never;
1190
1190
  path?: never;
1191
1191
  cookie?: never;
1192
1192
  };
1193
- get: operations["MiExpoController_myEvents"];
1193
+ get: operations["MiExpoController_invitations"];
1194
1194
  put?: never;
1195
1195
  post?: never;
1196
1196
  delete?: never;
@@ -2989,7 +2989,7 @@ export interface components {
2989
2989
  state: string;
2990
2990
  };
2991
2991
  };
2992
- MyEventsResponseDto: {
2992
+ GetInvitationsResponseDto: {
2993
2993
  events: {
2994
2994
  date: string;
2995
2995
  startingDate: string;
@@ -2998,7 +2998,6 @@ export interface components {
2998
2998
  location: string;
2999
2999
  id: string;
3000
3000
  active: boolean;
3001
- haveTicket: boolean;
3002
3001
  }[];
3003
3002
  };
3004
3003
  LoginMiExpoDto: {
@@ -5432,7 +5431,7 @@ export interface operations {
5432
5431
  };
5433
5432
  };
5434
5433
  };
5435
- MiExpoController_myEvents: {
5434
+ MiExpoController_invitations: {
5436
5435
  parameters: {
5437
5436
  query?: never;
5438
5437
  header?: never;
@@ -5446,7 +5445,7 @@ export interface operations {
5446
5445
  [name: string]: unknown;
5447
5446
  };
5448
5447
  content: {
5449
- "application/json": components["schemas"]["MyEventsResponseDto"];
5448
+ "application/json": components["schemas"]["GetInvitationsResponseDto"];
5450
5449
  };
5451
5450
  };
5452
5451
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.34.0-EXPO-319-ver-eventos-disponibles.7",
3
+ "version": "0.34.0-EXPO-319-ver-eventos-disponibles.8",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,