expo-backend-types 0.34.0-EXPO-319-ver-eventos-disponibles.10 → 0.34.0-EXPO-319-ver-eventos-disponibles.12
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 +8 -0
- package/dist/src/i18n/es.js +8 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/emit-ticket.dto.d.ts +281 -0
- package/dist/src/mi-expo/dto/emit-ticket.dto.js +23 -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 +20 -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 +149 -2
- package/dist/src/ticket/dto/create-ticket.dto.js +4 -1
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +24 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +24 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +24 -0
- package/dist/types/prisma-schema/edge.js +6 -4
- package/dist/types/prisma-schema/index-browser.js +3 -1
- package/dist/types/prisma-schema/index.d.ts +66 -2
- package/dist/types/prisma-schema/index.js +6 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +3 -0
- package/dist/types/prisma-schema/wasm.js +3 -1
- package/dist/types/schema.d.ts +143 -5
- package/package.json +1 -1
@@ -0,0 +1,281 @@
|
|
1
|
+
export declare const emitTicketSchema: import("zod").ZodObject<Pick<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
eventId: import("zod").ZodString;
|
4
|
+
type: import("zod").ZodNativeEnum<{
|
5
|
+
PARTICIPANT: "PARTICIPANT";
|
6
|
+
STAFF: "STAFF";
|
7
|
+
SPECTATOR: "SPECTATOR";
|
8
|
+
}>;
|
9
|
+
status: import("zod").ZodNativeEnum<{
|
10
|
+
BOOKED: "BOOKED";
|
11
|
+
PAID: "PAID";
|
12
|
+
FREE: "FREE";
|
13
|
+
}>;
|
14
|
+
fullName: import("zod").ZodString;
|
15
|
+
mail: import("zod").ZodString;
|
16
|
+
created_at: import("zod").ZodDate;
|
17
|
+
updated_at: import("zod").ZodDate;
|
18
|
+
}, "type" | "fullName" | "mail" | "eventId" | "status">, "strip", import("zod").ZodTypeAny, {
|
19
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
20
|
+
fullName: string;
|
21
|
+
mail: string;
|
22
|
+
eventId: string;
|
23
|
+
status: "BOOKED" | "PAID" | "FREE";
|
24
|
+
}, {
|
25
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
26
|
+
fullName: string;
|
27
|
+
mail: string;
|
28
|
+
eventId: string;
|
29
|
+
status: "BOOKED" | "PAID" | "FREE";
|
30
|
+
}>;
|
31
|
+
declare const EmitTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
32
|
+
type: import("zod").ZodNativeEnum<{
|
33
|
+
PARTICIPANT: "PARTICIPANT";
|
34
|
+
STAFF: "STAFF";
|
35
|
+
SPECTATOR: "SPECTATOR";
|
36
|
+
}>;
|
37
|
+
fullName: import("zod").ZodString;
|
38
|
+
mail: import("zod").ZodString;
|
39
|
+
eventId: import("zod").ZodString;
|
40
|
+
status: import("zod").ZodNativeEnum<{
|
41
|
+
BOOKED: "BOOKED";
|
42
|
+
PAID: "PAID";
|
43
|
+
FREE: "FREE";
|
44
|
+
}>;
|
45
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
46
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
47
|
+
fullName: string;
|
48
|
+
mail: string;
|
49
|
+
eventId: string;
|
50
|
+
status: "BOOKED" | "PAID" | "FREE";
|
51
|
+
}, {
|
52
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
53
|
+
fullName: string;
|
54
|
+
mail: string;
|
55
|
+
eventId: string;
|
56
|
+
status: "BOOKED" | "PAID" | "FREE";
|
57
|
+
}>>;
|
58
|
+
export declare class EmitTicketDto extends EmitTicketDto_base {
|
59
|
+
}
|
60
|
+
export declare const emitTicketResponseSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
61
|
+
id: import("zod").ZodString;
|
62
|
+
eventId: import("zod").ZodString;
|
63
|
+
type: import("zod").ZodNativeEnum<{
|
64
|
+
PARTICIPANT: "PARTICIPANT";
|
65
|
+
STAFF: "STAFF";
|
66
|
+
SPECTATOR: "SPECTATOR";
|
67
|
+
}>;
|
68
|
+
status: import("zod").ZodNativeEnum<{
|
69
|
+
BOOKED: "BOOKED";
|
70
|
+
PAID: "PAID";
|
71
|
+
FREE: "FREE";
|
72
|
+
}>;
|
73
|
+
fullName: import("zod").ZodString;
|
74
|
+
mail: import("zod").ZodString;
|
75
|
+
created_at: import("zod").ZodDate;
|
76
|
+
updated_at: import("zod").ZodDate;
|
77
|
+
}, {
|
78
|
+
event: import("zod").ZodObject<{
|
79
|
+
id: import("zod").ZodString;
|
80
|
+
name: import("zod").ZodString;
|
81
|
+
date: import("zod").ZodDate;
|
82
|
+
startingDate: import("zod").ZodDate;
|
83
|
+
endingDate: import("zod").ZodDate;
|
84
|
+
location: import("zod").ZodString;
|
85
|
+
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
86
|
+
tagAssistedId: import("zod").ZodString;
|
87
|
+
tagConfirmedId: import("zod").ZodString;
|
88
|
+
active: import("zod").ZodBoolean;
|
89
|
+
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
90
|
+
created_at: import("zod").ZodDate;
|
91
|
+
updated_at: import("zod").ZodDate;
|
92
|
+
}, "strip", import("zod").ZodTypeAny, {
|
93
|
+
location: string;
|
94
|
+
id: string;
|
95
|
+
name: string;
|
96
|
+
date: Date;
|
97
|
+
startingDate: Date;
|
98
|
+
endingDate: Date;
|
99
|
+
created_at: Date;
|
100
|
+
updated_at: Date;
|
101
|
+
active: boolean;
|
102
|
+
folderId: string | null;
|
103
|
+
tagAssistedId: string;
|
104
|
+
tagConfirmedId: string;
|
105
|
+
supraEventId: string | null;
|
106
|
+
}, {
|
107
|
+
location: string;
|
108
|
+
id: string;
|
109
|
+
name: string;
|
110
|
+
date: Date;
|
111
|
+
startingDate: Date;
|
112
|
+
endingDate: Date;
|
113
|
+
created_at: Date;
|
114
|
+
updated_at: Date;
|
115
|
+
active: boolean;
|
116
|
+
folderId: string | null;
|
117
|
+
tagAssistedId: string;
|
118
|
+
tagConfirmedId: string;
|
119
|
+
supraEventId: string | null;
|
120
|
+
}>;
|
121
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
122
|
+
event: {
|
123
|
+
location: string;
|
124
|
+
id: string;
|
125
|
+
name: string;
|
126
|
+
date: Date;
|
127
|
+
startingDate: Date;
|
128
|
+
endingDate: Date;
|
129
|
+
created_at: Date;
|
130
|
+
updated_at: Date;
|
131
|
+
active: boolean;
|
132
|
+
folderId: string | null;
|
133
|
+
tagAssistedId: string;
|
134
|
+
tagConfirmedId: string;
|
135
|
+
supraEventId: string | null;
|
136
|
+
};
|
137
|
+
id: string;
|
138
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
139
|
+
fullName: string;
|
140
|
+
mail: string;
|
141
|
+
eventId: string;
|
142
|
+
status: "BOOKED" | "PAID" | "FREE";
|
143
|
+
created_at: Date;
|
144
|
+
updated_at: Date;
|
145
|
+
}, {
|
146
|
+
event: {
|
147
|
+
location: string;
|
148
|
+
id: string;
|
149
|
+
name: string;
|
150
|
+
date: Date;
|
151
|
+
startingDate: Date;
|
152
|
+
endingDate: Date;
|
153
|
+
created_at: Date;
|
154
|
+
updated_at: Date;
|
155
|
+
active: boolean;
|
156
|
+
folderId: string | null;
|
157
|
+
tagAssistedId: string;
|
158
|
+
tagConfirmedId: string;
|
159
|
+
supraEventId: string | null;
|
160
|
+
};
|
161
|
+
id: string;
|
162
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
163
|
+
fullName: string;
|
164
|
+
mail: string;
|
165
|
+
eventId: string;
|
166
|
+
status: "BOOKED" | "PAID" | "FREE";
|
167
|
+
created_at: Date;
|
168
|
+
updated_at: Date;
|
169
|
+
}>;
|
170
|
+
declare const EmitTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
171
|
+
id: import("zod").ZodString;
|
172
|
+
eventId: import("zod").ZodString;
|
173
|
+
type: import("zod").ZodNativeEnum<{
|
174
|
+
PARTICIPANT: "PARTICIPANT";
|
175
|
+
STAFF: "STAFF";
|
176
|
+
SPECTATOR: "SPECTATOR";
|
177
|
+
}>;
|
178
|
+
status: import("zod").ZodNativeEnum<{
|
179
|
+
BOOKED: "BOOKED";
|
180
|
+
PAID: "PAID";
|
181
|
+
FREE: "FREE";
|
182
|
+
}>;
|
183
|
+
fullName: import("zod").ZodString;
|
184
|
+
mail: import("zod").ZodString;
|
185
|
+
created_at: import("zod").ZodString;
|
186
|
+
updated_at: import("zod").ZodString;
|
187
|
+
event: import("zod").ZodObject<{
|
188
|
+
id: import("zod").ZodString;
|
189
|
+
name: import("zod").ZodString;
|
190
|
+
date: import("zod").ZodString;
|
191
|
+
startingDate: import("zod").ZodString;
|
192
|
+
endingDate: import("zod").ZodString;
|
193
|
+
location: import("zod").ZodString;
|
194
|
+
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
195
|
+
tagAssistedId: import("zod").ZodString;
|
196
|
+
tagConfirmedId: import("zod").ZodString;
|
197
|
+
active: import("zod").ZodBoolean;
|
198
|
+
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
199
|
+
created_at: import("zod").ZodString;
|
200
|
+
updated_at: import("zod").ZodString;
|
201
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
202
|
+
location: string;
|
203
|
+
id: string;
|
204
|
+
name: string;
|
205
|
+
date: string;
|
206
|
+
startingDate: string;
|
207
|
+
endingDate: string;
|
208
|
+
created_at: string;
|
209
|
+
updated_at: string;
|
210
|
+
active: boolean;
|
211
|
+
folderId: string | null;
|
212
|
+
tagAssistedId: string;
|
213
|
+
tagConfirmedId: string;
|
214
|
+
supraEventId: string | null;
|
215
|
+
}, {
|
216
|
+
location: string;
|
217
|
+
id: string;
|
218
|
+
name: string;
|
219
|
+
date: string;
|
220
|
+
startingDate: string;
|
221
|
+
endingDate: string;
|
222
|
+
created_at: string;
|
223
|
+
updated_at: string;
|
224
|
+
active: boolean;
|
225
|
+
folderId: string | null;
|
226
|
+
tagAssistedId: string;
|
227
|
+
tagConfirmedId: string;
|
228
|
+
supraEventId: string | null;
|
229
|
+
}>;
|
230
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
231
|
+
event: {
|
232
|
+
location: string;
|
233
|
+
id: string;
|
234
|
+
name: string;
|
235
|
+
date: string;
|
236
|
+
startingDate: string;
|
237
|
+
endingDate: string;
|
238
|
+
created_at: string;
|
239
|
+
updated_at: string;
|
240
|
+
active: boolean;
|
241
|
+
folderId: string | null;
|
242
|
+
tagAssistedId: string;
|
243
|
+
tagConfirmedId: string;
|
244
|
+
supraEventId: string | null;
|
245
|
+
};
|
246
|
+
id: string;
|
247
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
248
|
+
fullName: string;
|
249
|
+
mail: string;
|
250
|
+
eventId: string;
|
251
|
+
status: "BOOKED" | "PAID" | "FREE";
|
252
|
+
created_at: string;
|
253
|
+
updated_at: string;
|
254
|
+
}, {
|
255
|
+
event: {
|
256
|
+
location: string;
|
257
|
+
id: string;
|
258
|
+
name: string;
|
259
|
+
date: string;
|
260
|
+
startingDate: string;
|
261
|
+
endingDate: string;
|
262
|
+
created_at: string;
|
263
|
+
updated_at: string;
|
264
|
+
active: boolean;
|
265
|
+
folderId: string | null;
|
266
|
+
tagAssistedId: string;
|
267
|
+
tagConfirmedId: string;
|
268
|
+
supraEventId: string | null;
|
269
|
+
};
|
270
|
+
id: string;
|
271
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
272
|
+
fullName: string;
|
273
|
+
mail: string;
|
274
|
+
eventId: string;
|
275
|
+
status: "BOOKED" | "PAID" | "FREE";
|
276
|
+
created_at: string;
|
277
|
+
updated_at: string;
|
278
|
+
}>>;
|
279
|
+
export declare class EmitTicketResponseDto extends EmitTicketResponseDto_base {
|
280
|
+
}
|
281
|
+
export {};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EmitTicketResponseDto = exports.emitTicketResponseSchema = exports.EmitTicketDto = exports.emitTicketSchema = void 0;
|
4
|
+
const event_dto_1 = require("../../event/dto/event.dto");
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
+
const ticket_dto_1 = require("../../ticket/dto/ticket.dto");
|
7
|
+
exports.emitTicketSchema = ticket_dto_1.ticketSchema.pick({
|
8
|
+
mail: true,
|
9
|
+
type: true,
|
10
|
+
fullName: true,
|
11
|
+
eventId: true,
|
12
|
+
status: true,
|
13
|
+
});
|
14
|
+
class EmitTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.emitTicketSchema) {
|
15
|
+
}
|
16
|
+
exports.EmitTicketDto = EmitTicketDto;
|
17
|
+
exports.emitTicketResponseSchema = ticket_dto_1.ticketSchema.extend({
|
18
|
+
event: event_dto_1.eventSchema,
|
19
|
+
});
|
20
|
+
class EmitTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.emitTicketResponseSchema) {
|
21
|
+
}
|
22
|
+
exports.EmitTicketResponseDto = EmitTicketResponseDto;
|
23
|
+
//# sourceMappingURL=emit-ticket.dto.js.map
|
@@ -1,6 +1,12 @@
|
|
1
1
|
export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<Omit<{
|
2
2
|
id: import("zod").ZodString;
|
3
3
|
shortId: import("zod").ZodNumber;
|
4
|
+
role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
|
5
|
+
USER: "USER";
|
6
|
+
ADMIN: "ADMIN";
|
7
|
+
FORM: "FORM";
|
8
|
+
MI_EXPO: "MI_EXPO";
|
9
|
+
}>>;
|
4
10
|
firstTimeMiExpo: import("zod").ZodBoolean;
|
5
11
|
username: import("zod").ZodNullable<import("zod").ZodString>;
|
6
12
|
password: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -82,6 +88,7 @@ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<import("
|
|
82
88
|
}>, "strip", import("zod").ZodTypeAny, {
|
83
89
|
id: string;
|
84
90
|
username: string | null;
|
91
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
85
92
|
phoneNumber: string;
|
86
93
|
secondaryPhoneNumber: string | null;
|
87
94
|
fullName: string;
|
@@ -165,10 +172,17 @@ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<import("
|
|
165
172
|
country: string;
|
166
173
|
city: string;
|
167
174
|
} | null;
|
175
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
168
176
|
}>;
|
169
177
|
declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
170
178
|
id: import("zod").ZodString;
|
171
179
|
username: import("zod").ZodNullable<import("zod").ZodString>;
|
180
|
+
role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
|
181
|
+
USER: "USER";
|
182
|
+
ADMIN: "ADMIN";
|
183
|
+
FORM: "FORM";
|
184
|
+
MI_EXPO: "MI_EXPO";
|
185
|
+
}>>;
|
172
186
|
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
173
187
|
secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
174
188
|
fullName: import("zod").ZodString;
|
@@ -248,6 +262,7 @@ declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
248
262
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
249
263
|
id: string;
|
250
264
|
username: string | null;
|
265
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
251
266
|
phoneNumber: string;
|
252
267
|
secondaryPhoneNumber: string | null;
|
253
268
|
fullName: string;
|
@@ -331,6 +346,7 @@ declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
331
346
|
country: string;
|
332
347
|
city: string;
|
333
348
|
} | null;
|
349
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
334
350
|
}>>;
|
335
351
|
export declare class GetMiExpoMeResponseDto extends GetMiExpoMeResponseDto_base {
|
336
352
|
}
|
@@ -32,6 +32,12 @@ export declare const loginWithPhoneResponseSchema: z.ZodObject<{
|
|
32
32
|
profile: z.ZodObject<Omit<{
|
33
33
|
id: z.ZodString;
|
34
34
|
shortId: z.ZodNumber;
|
35
|
+
role: z.ZodDefault<z.ZodNativeEnum<{
|
36
|
+
USER: "USER";
|
37
|
+
ADMIN: "ADMIN";
|
38
|
+
FORM: "FORM";
|
39
|
+
MI_EXPO: "MI_EXPO";
|
40
|
+
}>>;
|
35
41
|
firstTimeMiExpo: z.ZodBoolean;
|
36
42
|
username: z.ZodNullable<z.ZodString>;
|
37
43
|
password: z.ZodNullable<z.ZodString>;
|
@@ -56,6 +62,7 @@ export declare const loginWithPhoneResponseSchema: z.ZodObject<{
|
|
56
62
|
}, "password">, "strip", z.ZodTypeAny, {
|
57
63
|
id: string;
|
58
64
|
username: string | null;
|
65
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
59
66
|
phoneNumber: string;
|
60
67
|
secondaryPhoneNumber: string | null;
|
61
68
|
fullName: string;
|
@@ -99,11 +106,13 @@ export declare const loginWithPhoneResponseSchema: z.ZodObject<{
|
|
99
106
|
residenceLocationId: string | null;
|
100
107
|
isInTrash: boolean;
|
101
108
|
movedToTrashDate: Date | null;
|
109
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
102
110
|
}>;
|
103
111
|
}, "strip", z.ZodTypeAny, {
|
104
112
|
profile: {
|
105
113
|
id: string;
|
106
114
|
username: string | null;
|
115
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
107
116
|
phoneNumber: string;
|
108
117
|
secondaryPhoneNumber: string | null;
|
109
118
|
fullName: string;
|
@@ -154,6 +163,7 @@ export declare const loginWithPhoneResponseSchema: z.ZodObject<{
|
|
154
163
|
residenceLocationId: string | null;
|
155
164
|
isInTrash: boolean;
|
156
165
|
movedToTrashDate: Date | null;
|
166
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
157
167
|
};
|
158
168
|
tokens: {
|
159
169
|
accessToken: string;
|
@@ -178,6 +188,12 @@ declare const LoginWithPhoneResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
178
188
|
profile: z.ZodObject<{
|
179
189
|
id: z.ZodString;
|
180
190
|
username: z.ZodNullable<z.ZodString>;
|
191
|
+
role: z.ZodDefault<z.ZodNativeEnum<{
|
192
|
+
USER: "USER";
|
193
|
+
ADMIN: "ADMIN";
|
194
|
+
FORM: "FORM";
|
195
|
+
MI_EXPO: "MI_EXPO";
|
196
|
+
}>>;
|
181
197
|
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
182
198
|
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
183
199
|
fullName: z.ZodString;
|
@@ -201,6 +217,7 @@ declare const LoginWithPhoneResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
201
217
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
202
218
|
id: string;
|
203
219
|
username: string | null;
|
220
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
204
221
|
phoneNumber: string;
|
205
222
|
secondaryPhoneNumber: string | null;
|
206
223
|
fullName: string;
|
@@ -244,11 +261,13 @@ declare const LoginWithPhoneResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
244
261
|
residenceLocationId: string | null;
|
245
262
|
isInTrash: boolean;
|
246
263
|
movedToTrashDate: string | null;
|
264
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
247
265
|
}>;
|
248
266
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
249
267
|
profile: {
|
250
268
|
id: string;
|
251
269
|
username: string | null;
|
270
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
252
271
|
phoneNumber: string;
|
253
272
|
secondaryPhoneNumber: string | null;
|
254
273
|
fullName: string;
|
@@ -299,6 +318,7 @@ declare const LoginWithPhoneResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
299
318
|
residenceLocationId: string | null;
|
300
319
|
isInTrash: boolean;
|
301
320
|
movedToTrashDate: string | null;
|
321
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
302
322
|
};
|
303
323
|
tokens: {
|
304
324
|
accessToken: string;
|
@@ -7,6 +7,7 @@ export declare const loginMiExpoSchema: z.ZodObject<Pick<{
|
|
7
7
|
USER: "USER";
|
8
8
|
ADMIN: "ADMIN";
|
9
9
|
FORM: "FORM";
|
10
|
+
MI_EXPO: "MI_EXPO";
|
10
11
|
}>;
|
11
12
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
12
13
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -35,6 +36,12 @@ export declare const loginMiExpoResponseSchema: z.ZodObject<{
|
|
35
36
|
user: z.ZodObject<Omit<{
|
36
37
|
id: z.ZodString;
|
37
38
|
shortId: z.ZodNumber;
|
39
|
+
role: z.ZodDefault<z.ZodNativeEnum<{
|
40
|
+
USER: "USER";
|
41
|
+
ADMIN: "ADMIN";
|
42
|
+
FORM: "FORM";
|
43
|
+
MI_EXPO: "MI_EXPO";
|
44
|
+
}>>;
|
38
45
|
firstTimeMiExpo: z.ZodBoolean;
|
39
46
|
username: z.ZodNullable<z.ZodString>;
|
40
47
|
password: z.ZodNullable<z.ZodString>;
|
@@ -59,6 +66,7 @@ export declare const loginMiExpoResponseSchema: z.ZodObject<{
|
|
59
66
|
}, "password">, "strip", z.ZodTypeAny, {
|
60
67
|
id: string;
|
61
68
|
username: string | null;
|
69
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
62
70
|
phoneNumber: string;
|
63
71
|
secondaryPhoneNumber: string | null;
|
64
72
|
fullName: string;
|
@@ -102,6 +110,7 @@ export declare const loginMiExpoResponseSchema: z.ZodObject<{
|
|
102
110
|
residenceLocationId: string | null;
|
103
111
|
isInTrash: boolean;
|
104
112
|
movedToTrashDate: Date | null;
|
113
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
105
114
|
}>;
|
106
115
|
backendTokens: z.ZodObject<{
|
107
116
|
accessToken: z.ZodString;
|
@@ -120,6 +129,7 @@ export declare const loginMiExpoResponseSchema: z.ZodObject<{
|
|
120
129
|
user: {
|
121
130
|
id: string;
|
122
131
|
username: string | null;
|
132
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
123
133
|
phoneNumber: string;
|
124
134
|
secondaryPhoneNumber: string | null;
|
125
135
|
fullName: string;
|
@@ -170,6 +180,7 @@ export declare const loginMiExpoResponseSchema: z.ZodObject<{
|
|
170
180
|
residenceLocationId: string | null;
|
171
181
|
isInTrash: boolean;
|
172
182
|
movedToTrashDate: Date | null;
|
183
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
173
184
|
};
|
174
185
|
backendTokens: {
|
175
186
|
accessToken: string;
|
@@ -181,6 +192,12 @@ declare const LoginMiExpoResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
181
192
|
user: z.ZodObject<{
|
182
193
|
id: z.ZodString;
|
183
194
|
username: z.ZodNullable<z.ZodString>;
|
195
|
+
role: z.ZodDefault<z.ZodNativeEnum<{
|
196
|
+
USER: "USER";
|
197
|
+
ADMIN: "ADMIN";
|
198
|
+
FORM: "FORM";
|
199
|
+
MI_EXPO: "MI_EXPO";
|
200
|
+
}>>;
|
184
201
|
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
185
202
|
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
186
203
|
fullName: z.ZodString;
|
@@ -204,6 +221,7 @@ declare const LoginMiExpoResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
204
221
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
205
222
|
id: string;
|
206
223
|
username: string | null;
|
224
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
207
225
|
phoneNumber: string;
|
208
226
|
secondaryPhoneNumber: string | null;
|
209
227
|
fullName: string;
|
@@ -247,6 +265,7 @@ declare const LoginMiExpoResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
247
265
|
residenceLocationId: string | null;
|
248
266
|
isInTrash: boolean;
|
249
267
|
movedToTrashDate: string | null;
|
268
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
250
269
|
}>;
|
251
270
|
backendTokens: z.ZodObject<{
|
252
271
|
accessToken: z.ZodString;
|
@@ -265,6 +284,7 @@ declare const LoginMiExpoResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
265
284
|
user: {
|
266
285
|
id: string;
|
267
286
|
username: string | null;
|
287
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
268
288
|
phoneNumber: string;
|
269
289
|
secondaryPhoneNumber: string | null;
|
270
290
|
fullName: string;
|
@@ -315,6 +335,7 @@ declare const LoginMiExpoResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
315
335
|
residenceLocationId: string | null;
|
316
336
|
isInTrash: boolean;
|
317
337
|
movedToTrashDate: string | null;
|
338
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
318
339
|
};
|
319
340
|
backendTokens: {
|
320
341
|
accessToken: string;
|
@@ -209,6 +209,12 @@ export declare class UpdateMiExpoMeDto extends UpdateMiExpoMeDto_base {
|
|
209
209
|
export declare const updateMiExpoMeResponseSchema: import("zod").ZodObject<Omit<{
|
210
210
|
id: import("zod").ZodString;
|
211
211
|
shortId: import("zod").ZodNumber;
|
212
|
+
role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
|
213
|
+
USER: "USER";
|
214
|
+
ADMIN: "ADMIN";
|
215
|
+
FORM: "FORM";
|
216
|
+
MI_EXPO: "MI_EXPO";
|
217
|
+
}>>;
|
212
218
|
firstTimeMiExpo: import("zod").ZodBoolean;
|
213
219
|
username: import("zod").ZodNullable<import("zod").ZodString>;
|
214
220
|
password: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -233,6 +239,7 @@ export declare const updateMiExpoMeResponseSchema: import("zod").ZodObject<Omit<
|
|
233
239
|
}, "password">, "strip", import("zod").ZodTypeAny, {
|
234
240
|
id: string;
|
235
241
|
username: string | null;
|
242
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
236
243
|
phoneNumber: string;
|
237
244
|
secondaryPhoneNumber: string | null;
|
238
245
|
fullName: string;
|
@@ -276,10 +283,17 @@ export declare const updateMiExpoMeResponseSchema: import("zod").ZodObject<Omit<
|
|
276
283
|
residenceLocationId: string | null;
|
277
284
|
isInTrash: boolean;
|
278
285
|
movedToTrashDate: Date | null;
|
286
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
279
287
|
}>;
|
280
288
|
declare const UpdateMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
281
289
|
id: import("zod").ZodString;
|
282
290
|
username: import("zod").ZodNullable<import("zod").ZodString>;
|
291
|
+
role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
|
292
|
+
USER: "USER";
|
293
|
+
ADMIN: "ADMIN";
|
294
|
+
FORM: "FORM";
|
295
|
+
MI_EXPO: "MI_EXPO";
|
296
|
+
}>>;
|
283
297
|
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
284
298
|
secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
285
299
|
fullName: import("zod").ZodString;
|
@@ -303,6 +317,7 @@ declare const UpdateMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
303
317
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
304
318
|
id: string;
|
305
319
|
username: string | null;
|
320
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
306
321
|
phoneNumber: string;
|
307
322
|
secondaryPhoneNumber: string | null;
|
308
323
|
fullName: string;
|
@@ -346,6 +361,7 @@ declare const UpdateMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
346
361
|
residenceLocationId: string | null;
|
347
362
|
isInTrash: boolean;
|
348
363
|
movedToTrashDate: string | null;
|
364
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
349
365
|
}>>;
|
350
366
|
export declare class UpdateMiExpoMeResponseDto extends UpdateMiExpoMeResponseDto_base {
|
351
367
|
}
|
@@ -14,6 +14,7 @@ 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/emit-ticket.dto"), exports);
|
17
18
|
__exportStar(require("./dto/get-invitations.dto"), exports);
|
18
19
|
__exportStar(require("./dto/get-me.dto"), exports);
|
19
20
|
__exportStar(require("./dto/login-with-phone.dto"), exports);
|