expo-backend-types 0.34.0 → 0.35.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.
- package/dist/src/account/dto/account.dto.d.ts +6 -4
- package/dist/src/account/dto/create-account.dto.d.ts +12 -8
- package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
- package/dist/src/account/dto/get-me.dto.d.ts +6 -4
- package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
- package/dist/src/auth/dto/login.dto.d.ts +11 -8
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
- package/dist/src/event/dto/create-event.dto.d.ts +10 -10
- package/dist/src/event/dto/event-tickets.dto.d.ts +3 -3
- package/dist/src/event/dto/event-tickets.dto.js +5 -2
- package/dist/src/event/dto/get-active-events.dto.d.ts +14 -14
- package/dist/src/event/dto/get-all-event.dto.d.ts +616 -0
- package/dist/src/event/dto/get-all-event.dto.js +29 -8
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +317 -10
- package/dist/src/event/dto/get-by-id-event.dto.js +4 -0
- package/dist/src/event/dto/update-event.dto.d.ts +26 -20
- package/dist/src/event/dto/update-event.dto.js +1 -0
- package/dist/src/i18n/es.d.ts +14 -0
- package/dist/src/i18n/es.js +14 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +104 -0
- package/dist/src/mi-expo/dto/get-invitations.dto.js +24 -0
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +16 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +20 -0
- package/dist/src/mi-expo/dto/login.dto.d.ts +21 -0
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +16 -0
- package/dist/src/mi-expo/exports.d.ts +1 -0
- package/dist/src/mi-expo/exports.js +1 -0
- package/dist/src/otp/dto/verify-otp.dto.d.ts +20 -0
- package/dist/src/profile/dto/create-profile.dto.d.ts +24 -0
- package/dist/src/profile/dto/delete-profile.dto.d.ts +16 -0
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +20 -0
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +36 -0
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +16 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +16 -0
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +20 -0
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +55 -1
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -0
- package/dist/src/profile/dto/find-trash.dto.d.ts +6 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +20 -0
- package/dist/src/profile/dto/profile.dto.d.ts +8 -0
- package/dist/src/profile/dto/update-profile.dto.d.ts +16 -0
- package/dist/src/schema/profile.schema.d.ts +8 -0
- package/dist/src/schema/profile.schema.js +2 -0
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +20 -0
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +20 -0
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +158 -4
- package/dist/src/ticket/dto/create-ticket.dto.js +10 -2
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +370 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.js +2 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +370 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.js +2 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +370 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +2 -0
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +331 -0
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.js +19 -0
- package/dist/src/ticket/exports.d.ts +1 -0
- package/dist/src/ticket/exports.js +1 -0
- package/dist/types/prisma-schema/edge.js +7 -4
- package/dist/types/prisma-schema/index-browser.js +4 -1
- package/dist/types/prisma-schema/index.d.ts +629 -90
- package/dist/types/prisma-schema/index.js +7 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +11 -3
- package/dist/types/prisma-schema/wasm.js +4 -1
- package/dist/types/schema.d.ts +342 -10
- package/package.json +1 -1
@@ -0,0 +1,331 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
3
|
+
tickets: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
|
+
id: z.ZodString;
|
5
|
+
eventId: z.ZodString;
|
6
|
+
type: z.ZodNativeEnum<{
|
7
|
+
PARTICIPANT: "PARTICIPANT";
|
8
|
+
STAFF: "STAFF";
|
9
|
+
SPECTATOR: "SPECTATOR";
|
10
|
+
}>;
|
11
|
+
status: z.ZodNativeEnum<{
|
12
|
+
BOOKED: "BOOKED";
|
13
|
+
PAID: "PAID";
|
14
|
+
FREE: "FREE";
|
15
|
+
}>;
|
16
|
+
fullName: z.ZodString;
|
17
|
+
mail: z.ZodString;
|
18
|
+
created_at: z.ZodDate;
|
19
|
+
updated_at: z.ZodDate;
|
20
|
+
}, {
|
21
|
+
event: z.ZodObject<{
|
22
|
+
id: z.ZodString;
|
23
|
+
name: z.ZodString;
|
24
|
+
date: z.ZodDate;
|
25
|
+
startingDate: z.ZodDate;
|
26
|
+
endingDate: z.ZodDate;
|
27
|
+
location: z.ZodString;
|
28
|
+
folderId: z.ZodNullable<z.ZodString>;
|
29
|
+
tagAssistedId: z.ZodString;
|
30
|
+
tagConfirmedId: z.ZodString;
|
31
|
+
active: z.ZodBoolean;
|
32
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
33
|
+
created_at: z.ZodDate;
|
34
|
+
updated_at: z.ZodDate;
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
36
|
+
location: string;
|
37
|
+
id: string;
|
38
|
+
name: string;
|
39
|
+
date: Date;
|
40
|
+
startingDate: Date;
|
41
|
+
endingDate: Date;
|
42
|
+
created_at: Date;
|
43
|
+
updated_at: Date;
|
44
|
+
active: boolean;
|
45
|
+
folderId: string | null;
|
46
|
+
tagAssistedId: string;
|
47
|
+
tagConfirmedId: string;
|
48
|
+
supraEventId: string | null;
|
49
|
+
}, {
|
50
|
+
location: string;
|
51
|
+
id: string;
|
52
|
+
name: string;
|
53
|
+
date: Date;
|
54
|
+
startingDate: Date;
|
55
|
+
endingDate: Date;
|
56
|
+
created_at: Date;
|
57
|
+
updated_at: Date;
|
58
|
+
active: boolean;
|
59
|
+
folderId: string | null;
|
60
|
+
tagAssistedId: string;
|
61
|
+
tagConfirmedId: string;
|
62
|
+
supraEventId: string | null;
|
63
|
+
}>;
|
64
|
+
}>, "strip", z.ZodTypeAny, {
|
65
|
+
event: {
|
66
|
+
location: string;
|
67
|
+
id: string;
|
68
|
+
name: string;
|
69
|
+
date: Date;
|
70
|
+
startingDate: Date;
|
71
|
+
endingDate: Date;
|
72
|
+
created_at: Date;
|
73
|
+
updated_at: Date;
|
74
|
+
active: boolean;
|
75
|
+
folderId: string | null;
|
76
|
+
tagAssistedId: string;
|
77
|
+
tagConfirmedId: string;
|
78
|
+
supraEventId: string | null;
|
79
|
+
};
|
80
|
+
id: string;
|
81
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
82
|
+
fullName: string;
|
83
|
+
mail: string;
|
84
|
+
eventId: string;
|
85
|
+
status: "BOOKED" | "PAID" | "FREE";
|
86
|
+
created_at: Date;
|
87
|
+
updated_at: Date;
|
88
|
+
}, {
|
89
|
+
event: {
|
90
|
+
location: string;
|
91
|
+
id: string;
|
92
|
+
name: string;
|
93
|
+
date: Date;
|
94
|
+
startingDate: Date;
|
95
|
+
endingDate: Date;
|
96
|
+
created_at: Date;
|
97
|
+
updated_at: Date;
|
98
|
+
active: boolean;
|
99
|
+
folderId: string | null;
|
100
|
+
tagAssistedId: string;
|
101
|
+
tagConfirmedId: string;
|
102
|
+
supraEventId: string | null;
|
103
|
+
};
|
104
|
+
id: string;
|
105
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
106
|
+
fullName: string;
|
107
|
+
mail: string;
|
108
|
+
eventId: string;
|
109
|
+
status: "BOOKED" | "PAID" | "FREE";
|
110
|
+
created_at: Date;
|
111
|
+
updated_at: Date;
|
112
|
+
}>, "many">;
|
113
|
+
}, "strip", z.ZodTypeAny, {
|
114
|
+
tickets: {
|
115
|
+
event: {
|
116
|
+
location: string;
|
117
|
+
id: string;
|
118
|
+
name: string;
|
119
|
+
date: Date;
|
120
|
+
startingDate: Date;
|
121
|
+
endingDate: Date;
|
122
|
+
created_at: Date;
|
123
|
+
updated_at: Date;
|
124
|
+
active: boolean;
|
125
|
+
folderId: string | null;
|
126
|
+
tagAssistedId: string;
|
127
|
+
tagConfirmedId: string;
|
128
|
+
supraEventId: string | null;
|
129
|
+
};
|
130
|
+
id: string;
|
131
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
132
|
+
fullName: string;
|
133
|
+
mail: string;
|
134
|
+
eventId: string;
|
135
|
+
status: "BOOKED" | "PAID" | "FREE";
|
136
|
+
created_at: Date;
|
137
|
+
updated_at: Date;
|
138
|
+
}[];
|
139
|
+
}, {
|
140
|
+
tickets: {
|
141
|
+
event: {
|
142
|
+
location: string;
|
143
|
+
id: string;
|
144
|
+
name: string;
|
145
|
+
date: Date;
|
146
|
+
startingDate: Date;
|
147
|
+
endingDate: Date;
|
148
|
+
created_at: Date;
|
149
|
+
updated_at: Date;
|
150
|
+
active: boolean;
|
151
|
+
folderId: string | null;
|
152
|
+
tagAssistedId: string;
|
153
|
+
tagConfirmedId: string;
|
154
|
+
supraEventId: string | null;
|
155
|
+
};
|
156
|
+
id: string;
|
157
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
158
|
+
fullName: string;
|
159
|
+
mail: string;
|
160
|
+
eventId: string;
|
161
|
+
status: "BOOKED" | "PAID" | "FREE";
|
162
|
+
created_at: Date;
|
163
|
+
updated_at: Date;
|
164
|
+
}[];
|
165
|
+
}>;
|
166
|
+
declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
167
|
+
tickets: z.ZodArray<z.ZodObject<{
|
168
|
+
id: z.ZodString;
|
169
|
+
eventId: z.ZodString;
|
170
|
+
type: z.ZodNativeEnum<{
|
171
|
+
PARTICIPANT: "PARTICIPANT";
|
172
|
+
STAFF: "STAFF";
|
173
|
+
SPECTATOR: "SPECTATOR";
|
174
|
+
}>;
|
175
|
+
status: z.ZodNativeEnum<{
|
176
|
+
BOOKED: "BOOKED";
|
177
|
+
PAID: "PAID";
|
178
|
+
FREE: "FREE";
|
179
|
+
}>;
|
180
|
+
fullName: z.ZodString;
|
181
|
+
mail: z.ZodString;
|
182
|
+
created_at: z.ZodString;
|
183
|
+
updated_at: z.ZodString;
|
184
|
+
event: z.ZodObject<{
|
185
|
+
id: z.ZodString;
|
186
|
+
name: z.ZodString;
|
187
|
+
date: z.ZodString;
|
188
|
+
startingDate: z.ZodString;
|
189
|
+
endingDate: z.ZodString;
|
190
|
+
location: z.ZodString;
|
191
|
+
folderId: z.ZodNullable<z.ZodString>;
|
192
|
+
tagAssistedId: z.ZodString;
|
193
|
+
tagConfirmedId: z.ZodString;
|
194
|
+
active: z.ZodBoolean;
|
195
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
196
|
+
created_at: z.ZodString;
|
197
|
+
updated_at: z.ZodString;
|
198
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
199
|
+
location: string;
|
200
|
+
id: string;
|
201
|
+
name: string;
|
202
|
+
date: string;
|
203
|
+
startingDate: string;
|
204
|
+
endingDate: string;
|
205
|
+
created_at: string;
|
206
|
+
updated_at: string;
|
207
|
+
active: boolean;
|
208
|
+
folderId: string | null;
|
209
|
+
tagAssistedId: string;
|
210
|
+
tagConfirmedId: string;
|
211
|
+
supraEventId: string | null;
|
212
|
+
}, {
|
213
|
+
location: string;
|
214
|
+
id: string;
|
215
|
+
name: string;
|
216
|
+
date: string;
|
217
|
+
startingDate: string;
|
218
|
+
endingDate: string;
|
219
|
+
created_at: string;
|
220
|
+
updated_at: string;
|
221
|
+
active: boolean;
|
222
|
+
folderId: string | null;
|
223
|
+
tagAssistedId: string;
|
224
|
+
tagConfirmedId: string;
|
225
|
+
supraEventId: string | null;
|
226
|
+
}>;
|
227
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
228
|
+
event: {
|
229
|
+
location: string;
|
230
|
+
id: string;
|
231
|
+
name: string;
|
232
|
+
date: string;
|
233
|
+
startingDate: string;
|
234
|
+
endingDate: string;
|
235
|
+
created_at: string;
|
236
|
+
updated_at: string;
|
237
|
+
active: boolean;
|
238
|
+
folderId: string | null;
|
239
|
+
tagAssistedId: string;
|
240
|
+
tagConfirmedId: string;
|
241
|
+
supraEventId: string | null;
|
242
|
+
};
|
243
|
+
id: string;
|
244
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
245
|
+
fullName: string;
|
246
|
+
mail: string;
|
247
|
+
eventId: string;
|
248
|
+
status: "BOOKED" | "PAID" | "FREE";
|
249
|
+
created_at: string;
|
250
|
+
updated_at: string;
|
251
|
+
}, {
|
252
|
+
event: {
|
253
|
+
location: string;
|
254
|
+
id: string;
|
255
|
+
name: string;
|
256
|
+
date: string;
|
257
|
+
startingDate: string;
|
258
|
+
endingDate: string;
|
259
|
+
created_at: string;
|
260
|
+
updated_at: string;
|
261
|
+
active: boolean;
|
262
|
+
folderId: string | null;
|
263
|
+
tagAssistedId: string;
|
264
|
+
tagConfirmedId: string;
|
265
|
+
supraEventId: string | null;
|
266
|
+
};
|
267
|
+
id: string;
|
268
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
269
|
+
fullName: string;
|
270
|
+
mail: string;
|
271
|
+
eventId: string;
|
272
|
+
status: "BOOKED" | "PAID" | "FREE";
|
273
|
+
created_at: string;
|
274
|
+
updated_at: string;
|
275
|
+
}>, "many">;
|
276
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
277
|
+
tickets: {
|
278
|
+
event: {
|
279
|
+
location: string;
|
280
|
+
id: string;
|
281
|
+
name: string;
|
282
|
+
date: string;
|
283
|
+
startingDate: string;
|
284
|
+
endingDate: string;
|
285
|
+
created_at: string;
|
286
|
+
updated_at: string;
|
287
|
+
active: boolean;
|
288
|
+
folderId: string | null;
|
289
|
+
tagAssistedId: string;
|
290
|
+
tagConfirmedId: string;
|
291
|
+
supraEventId: string | null;
|
292
|
+
};
|
293
|
+
id: string;
|
294
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
295
|
+
fullName: string;
|
296
|
+
mail: string;
|
297
|
+
eventId: string;
|
298
|
+
status: "BOOKED" | "PAID" | "FREE";
|
299
|
+
created_at: string;
|
300
|
+
updated_at: string;
|
301
|
+
}[];
|
302
|
+
}, {
|
303
|
+
tickets: {
|
304
|
+
event: {
|
305
|
+
location: string;
|
306
|
+
id: string;
|
307
|
+
name: string;
|
308
|
+
date: string;
|
309
|
+
startingDate: string;
|
310
|
+
endingDate: string;
|
311
|
+
created_at: string;
|
312
|
+
updated_at: string;
|
313
|
+
active: boolean;
|
314
|
+
folderId: string | null;
|
315
|
+
tagAssistedId: string;
|
316
|
+
tagConfirmedId: string;
|
317
|
+
supraEventId: string | null;
|
318
|
+
};
|
319
|
+
id: string;
|
320
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
321
|
+
fullName: string;
|
322
|
+
mail: string;
|
323
|
+
eventId: string;
|
324
|
+
status: "BOOKED" | "PAID" | "FREE";
|
325
|
+
created_at: string;
|
326
|
+
updated_at: string;
|
327
|
+
}[];
|
328
|
+
}>>;
|
329
|
+
export declare class FindByProfileIdTicketResponseDto extends FindByProfileIdTicketResponseDto_base {
|
330
|
+
}
|
331
|
+
export {};
|
@@ -0,0 +1,19 @@
|
|
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.FindByProfileIdTicketResponseDto = exports.findByProfileIdTicketResponseSchema = void 0;
|
7
|
+
const event_dto_1 = require("../../event/dto/event.dto");
|
8
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
|
+
const ticket_dto_1 = require("./ticket.dto");
|
10
|
+
const zod_1 = __importDefault(require("zod"));
|
11
|
+
exports.findByProfileIdTicketResponseSchema = zod_1.default.object({
|
12
|
+
tickets: zod_1.default.array(ticket_dto_1.ticketSchema.extend({
|
13
|
+
event: event_dto_1.eventSchema,
|
14
|
+
})),
|
15
|
+
});
|
16
|
+
class FindByProfileIdTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByProfileIdTicketResponseSchema) {
|
17
|
+
}
|
18
|
+
exports.FindByProfileIdTicketResponseDto = FindByProfileIdTicketResponseDto;
|
19
|
+
//# sourceMappingURL=find-by-profile-id-ticket.dto.js.map
|
@@ -4,6 +4,7 @@ export * from './dto/find-all-tickets.dto';
|
|
4
4
|
export * from './dto/find-by-event-ticket.dto';
|
5
5
|
export * from './dto/find-by-id-ticket.dto';
|
6
6
|
export * from './dto/find-by-mail-ticket.dto';
|
7
|
+
export * from './dto/find-by-profile-id-ticket.dto';
|
7
8
|
export * from './dto/find-ticket.dto';
|
8
9
|
export * from './dto/generate-pdf.dto';
|
9
10
|
export * from './dto/ticket.dto';
|
@@ -20,6 +20,7 @@ __exportStar(require("./dto/find-all-tickets.dto"), exports);
|
|
20
20
|
__exportStar(require("./dto/find-by-event-ticket.dto"), exports);
|
21
21
|
__exportStar(require("./dto/find-by-id-ticket.dto"), exports);
|
22
22
|
__exportStar(require("./dto/find-by-mail-ticket.dto"), exports);
|
23
|
+
__exportStar(require("./dto/find-by-profile-id-ticket.dto"), exports);
|
23
24
|
__exportStar(require("./dto/find-ticket.dto"), exports);
|
24
25
|
__exportStar(require("./dto/generate-pdf.dto"), exports);
|
25
26
|
__exportStar(require("./dto/ticket.dto"), exports);
|