expo-backend-types 0.35.0-EXPO-323-Enviar-mail-ticket.1 → 0.35.0-EXPO-323-Enviar-mail-ticket.2
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/i18n/es.d.ts +10 -0
- package/dist/src/i18n/es.js +10 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +6 -4
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +10 -8
- package/dist/src/mi-expo/dto/login.dto.d.ts +11 -8
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +6 -4
- package/dist/src/otp/dto/verify-otp.dto.d.ts +10 -8
- package/dist/src/profile/dto/create-profile.dto.d.ts +4 -0
- package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -4
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +10 -8
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +16 -12
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +6 -4
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -4
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +10 -8
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +10 -8
- package/dist/src/profile/dto/find-trash.dto.d.ts +1 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +10 -8
- package/dist/src/profile/dto/profile.dto.d.ts +3 -2
- package/dist/src/profile/dto/update-profile.dto.d.ts +6 -4
- package/dist/src/schema/profile.schema.d.ts +3 -2
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +10 -8
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +10 -8
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +14 -12
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +14 -12
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +14 -12
- package/dist/src/ticket/dto/send-email.dto.d.ts +18 -0
- package/dist/src/ticket/dto/send-email.dto.js +15 -0
- package/dist/types/prisma-schema/edge.js +5 -4
- package/dist/types/prisma-schema/index-browser.js +2 -1
- package/dist/types/prisma-schema/index.d.ts +2 -1
- package/dist/types/prisma-schema/index.js +5 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +1 -0
- package/dist/types/prisma-schema/wasm.js +2 -1
- package/dist/types/schema.d.ts +78 -22
- package/package.json +3 -2
@@ -49,6 +49,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
49
49
|
ADMIN: "ADMIN";
|
50
50
|
FORM: "FORM";
|
51
51
|
MI_EXPO: "MI_EXPO";
|
52
|
+
TICKETS: "TICKETS";
|
52
53
|
}>>;
|
53
54
|
firstTimeMiExpo: z.ZodBoolean;
|
54
55
|
username: z.ZodNullable<z.ZodString>;
|
@@ -75,7 +76,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
75
76
|
id: string;
|
76
77
|
username: string | null;
|
77
78
|
password: string | null;
|
78
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
79
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
79
80
|
phoneNumber: string;
|
80
81
|
secondaryPhoneNumber: string | null;
|
81
82
|
fullName: string;
|
@@ -120,7 +121,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
120
121
|
residenceLocationId: string | null;
|
121
122
|
isInTrash: boolean;
|
122
123
|
movedToTrashDate: Date | null;
|
123
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
124
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
|
124
125
|
}>>;
|
125
126
|
}>, "strip", z.ZodTypeAny, {
|
126
127
|
event: {
|
@@ -132,7 +133,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
132
133
|
id: string;
|
133
134
|
username: string | null;
|
134
135
|
password: string | null;
|
135
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
136
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
136
137
|
phoneNumber: string;
|
137
138
|
secondaryPhoneNumber: string | null;
|
138
139
|
fullName: string;
|
@@ -192,7 +193,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
192
193
|
residenceLocationId: string | null;
|
193
194
|
isInTrash: boolean;
|
194
195
|
movedToTrashDate: Date | null;
|
195
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
196
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
|
196
197
|
} | null;
|
197
198
|
id: string;
|
198
199
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
@@ -214,7 +215,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
214
215
|
id: string;
|
215
216
|
username: string | null;
|
216
217
|
password: string | null;
|
217
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
218
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
218
219
|
phoneNumber: string;
|
219
220
|
secondaryPhoneNumber: string | null;
|
220
221
|
fullName: string;
|
@@ -276,7 +277,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
276
277
|
residenceLocationId: string | null;
|
277
278
|
isInTrash: boolean;
|
278
279
|
movedToTrashDate: Date | null;
|
279
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
280
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
|
280
281
|
} | null;
|
281
282
|
id: string;
|
282
283
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
@@ -327,6 +328,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
327
328
|
ADMIN: "ADMIN";
|
328
329
|
FORM: "FORM";
|
329
330
|
MI_EXPO: "MI_EXPO";
|
331
|
+
TICKETS: "TICKETS";
|
330
332
|
}>>;
|
331
333
|
firstTimeMiExpo: z.ZodBoolean;
|
332
334
|
username: z.ZodNullable<z.ZodString>;
|
@@ -353,7 +355,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
353
355
|
id: string;
|
354
356
|
username: string | null;
|
355
357
|
password: string | null;
|
356
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
358
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
357
359
|
phoneNumber: string;
|
358
360
|
secondaryPhoneNumber: string | null;
|
359
361
|
fullName: string;
|
@@ -398,7 +400,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
398
400
|
residenceLocationId: string | null;
|
399
401
|
isInTrash: boolean;
|
400
402
|
movedToTrashDate: string | null;
|
401
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
403
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
|
402
404
|
}>>;
|
403
405
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
404
406
|
event: {
|
@@ -410,7 +412,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
410
412
|
id: string;
|
411
413
|
username: string | null;
|
412
414
|
password: string | null;
|
413
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
415
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
414
416
|
phoneNumber: string;
|
415
417
|
secondaryPhoneNumber: string | null;
|
416
418
|
fullName: string;
|
@@ -470,7 +472,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
470
472
|
residenceLocationId: string | null;
|
471
473
|
isInTrash: boolean;
|
472
474
|
movedToTrashDate: string | null;
|
473
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
475
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
|
474
476
|
} | null;
|
475
477
|
id: string;
|
476
478
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
@@ -492,7 +494,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
492
494
|
id: string;
|
493
495
|
username: string | null;
|
494
496
|
password: string | null;
|
495
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
497
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
496
498
|
phoneNumber: string;
|
497
499
|
secondaryPhoneNumber: string | null;
|
498
500
|
fullName: string;
|
@@ -554,7 +556,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
554
556
|
residenceLocationId: string | null;
|
555
557
|
isInTrash: boolean;
|
556
558
|
movedToTrashDate: string | null;
|
557
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
559
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
|
558
560
|
} | null;
|
559
561
|
id: string;
|
560
562
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
@@ -49,6 +49,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
49
49
|
ADMIN: "ADMIN";
|
50
50
|
FORM: "FORM";
|
51
51
|
MI_EXPO: "MI_EXPO";
|
52
|
+
TICKETS: "TICKETS";
|
52
53
|
}>>;
|
53
54
|
firstTimeMiExpo: z.ZodBoolean;
|
54
55
|
username: z.ZodNullable<z.ZodString>;
|
@@ -75,7 +76,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
75
76
|
id: string;
|
76
77
|
username: string | null;
|
77
78
|
password: string | null;
|
78
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
79
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
79
80
|
phoneNumber: string;
|
80
81
|
secondaryPhoneNumber: string | null;
|
81
82
|
fullName: string;
|
@@ -120,7 +121,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
120
121
|
residenceLocationId: string | null;
|
121
122
|
isInTrash: boolean;
|
122
123
|
movedToTrashDate: Date | null;
|
123
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
124
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
|
124
125
|
}>>;
|
125
126
|
}>, "strip", z.ZodTypeAny, {
|
126
127
|
event: {
|
@@ -132,7 +133,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
132
133
|
id: string;
|
133
134
|
username: string | null;
|
134
135
|
password: string | null;
|
135
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
136
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
136
137
|
phoneNumber: string;
|
137
138
|
secondaryPhoneNumber: string | null;
|
138
139
|
fullName: string;
|
@@ -192,7 +193,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
192
193
|
residenceLocationId: string | null;
|
193
194
|
isInTrash: boolean;
|
194
195
|
movedToTrashDate: Date | null;
|
195
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
196
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
|
196
197
|
} | null;
|
197
198
|
id: string;
|
198
199
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
@@ -214,7 +215,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
214
215
|
id: string;
|
215
216
|
username: string | null;
|
216
217
|
password: string | null;
|
217
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
218
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
218
219
|
phoneNumber: string;
|
219
220
|
secondaryPhoneNumber: string | null;
|
220
221
|
fullName: string;
|
@@ -276,7 +277,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
276
277
|
residenceLocationId: string | null;
|
277
278
|
isInTrash: boolean;
|
278
279
|
movedToTrashDate: Date | null;
|
279
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
280
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
|
280
281
|
} | null;
|
281
282
|
id: string;
|
282
283
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
@@ -327,6 +328,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
327
328
|
ADMIN: "ADMIN";
|
328
329
|
FORM: "FORM";
|
329
330
|
MI_EXPO: "MI_EXPO";
|
331
|
+
TICKETS: "TICKETS";
|
330
332
|
}>>;
|
331
333
|
firstTimeMiExpo: z.ZodBoolean;
|
332
334
|
username: z.ZodNullable<z.ZodString>;
|
@@ -353,7 +355,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
353
355
|
id: string;
|
354
356
|
username: string | null;
|
355
357
|
password: string | null;
|
356
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
358
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
357
359
|
phoneNumber: string;
|
358
360
|
secondaryPhoneNumber: string | null;
|
359
361
|
fullName: string;
|
@@ -398,7 +400,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
398
400
|
residenceLocationId: string | null;
|
399
401
|
isInTrash: boolean;
|
400
402
|
movedToTrashDate: string | null;
|
401
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
403
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
|
402
404
|
}>>;
|
403
405
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
404
406
|
event: {
|
@@ -410,7 +412,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
410
412
|
id: string;
|
411
413
|
username: string | null;
|
412
414
|
password: string | null;
|
413
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
415
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
414
416
|
phoneNumber: string;
|
415
417
|
secondaryPhoneNumber: string | null;
|
416
418
|
fullName: string;
|
@@ -470,7 +472,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
470
472
|
residenceLocationId: string | null;
|
471
473
|
isInTrash: boolean;
|
472
474
|
movedToTrashDate: string | null;
|
473
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
475
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
|
474
476
|
} | null;
|
475
477
|
id: string;
|
476
478
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
@@ -492,7 +494,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
492
494
|
id: string;
|
493
495
|
username: string | null;
|
494
496
|
password: string | null;
|
495
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
497
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
496
498
|
phoneNumber: string;
|
497
499
|
secondaryPhoneNumber: string | null;
|
498
500
|
fullName: string;
|
@@ -554,7 +556,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
554
556
|
residenceLocationId: string | null;
|
555
557
|
isInTrash: boolean;
|
556
558
|
movedToTrashDate: string | null;
|
557
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
559
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
|
558
560
|
} | null;
|
559
561
|
id: string;
|
560
562
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const sendEmailResponseSchema: z.ZodObject<{
|
3
|
+
mailId: z.ZodString;
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
5
|
+
mailId: string;
|
6
|
+
}, {
|
7
|
+
mailId: string;
|
8
|
+
}>;
|
9
|
+
declare const SendEmailResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
+
mailId: z.ZodString;
|
11
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
|
+
mailId: string;
|
13
|
+
}, {
|
14
|
+
mailId: string;
|
15
|
+
}>>;
|
16
|
+
export declare class SendEmailResponseDto extends SendEmailResponseDto_base {
|
17
|
+
}
|
18
|
+
export {};
|
@@ -0,0 +1,15 @@
|
|
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.SendEmailResponseDto = exports.sendEmailResponseSchema = void 0;
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
|
+
const zod_1 = __importDefault(require("zod"));
|
9
|
+
exports.sendEmailResponseSchema = zod_1.default.object({
|
10
|
+
mailId: zod_1.default.string(),
|
11
|
+
});
|
12
|
+
class SendEmailResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.sendEmailResponseSchema) {
|
13
|
+
}
|
14
|
+
exports.SendEmailResponseDto = SendEmailResponseDto;
|
15
|
+
//# sourceMappingURL=send-email.dto.js.map
|