expo-backend-types 0.38.0 → 0.39.0-EXPO-326-Oscar-Ruggeri.1
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/csv/dto/download-all-tables.dto.d.ts +2 -3
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +46 -18
- package/dist/src/exports.d.ts +0 -1
- package/dist/src/exports.js +0 -1
- package/dist/src/i18n/es.d.ts +8 -37
- package/dist/src/i18n/es.js +61 -205
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/i18n/translate.js +2 -2
- package/dist/src/i18n/translate.js.map +1 -1
- package/dist/src/image/dto/update-image.dto.d.ts +0 -1
- package/dist/src/schema/profile.schema.js +17 -7
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +1 -2
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -1
- package/dist/src/ticket/constants.js +1 -2
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +47 -18
- package/dist/src/ticket/dto/create-ticket.dto.js +1 -2
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +30 -10
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +46 -18
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +46 -18
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +49 -161
- package/dist/src/ticket/dto/find-by-id-ticket.dto.js +5 -2
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +46 -18
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +46 -18
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +30 -10
- package/dist/src/ticket/dto/generate-pdf.dto.d.ts +2 -3
- package/dist/src/ticket/dto/scan-ticket.dto.d.ts +34 -0
- package/dist/src/ticket/dto/scan-ticket.dto.js +21 -0
- package/dist/src/ticket/dto/ticket.dto.d.ts +30 -10
- package/dist/src/ticket/dto/ticket.dto.js +5 -2
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +44 -22
- package/dist/src/ticket/dto/update-ticket.dto.js +1 -2
- package/dist/src/ticket/exports.d.ts +1 -0
- package/dist/src/ticket/exports.js +1 -0
- package/dist/types/prisma-schema/edge.js +13 -21
- package/dist/types/prisma-schema/index-browser.js +8 -16
- package/dist/types/prisma-schema/index.d.ts +483 -2407
- package/dist/types/prisma-schema/index.js +13 -21
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +2 -2
- package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
- package/dist/types/prisma-schema/runtime/edge.js +18 -18
- package/dist/types/prisma-schema/runtime/index-browser.d.ts +2 -2
- package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
- package/dist/types/prisma-schema/runtime/library.d.ts +123 -105
- package/dist/types/prisma-schema/runtime/library.js +56 -56
- package/dist/types/prisma-schema/runtime/react-native.js +25 -25
- package/dist/types/prisma-schema/runtime/wasm.js +19 -19
- package/dist/types/prisma-schema/schema.prisma +6 -23
- package/dist/types/prisma-schema/wasm.js +8 -16
- package/dist/types/schema.d.ts +49 -335
- package/package.json +13 -15
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +0 -610
- package/dist/src/ticket/dto/create-many-ticket.dto.js +0 -50
- package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +0 -366
- package/dist/src/ticket-group/dto/create-ticket-group.dto.js +0 -27
- package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +0 -55
- package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +0 -10
- package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +0 -32
- package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +0 -20
- package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +0 -56
- package/dist/src/ticket-group/dto/ticket-group.dto.js +0 -27
- package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +0 -79
- package/dist/src/ticket-group/dto/update-ticket-group.dto.js +0 -18
- package/dist/src/ticket-group/exports.d.ts +0 -5
- package/dist/src/ticket-group/exports.js +0 -22
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="node" />
|
2
1
|
import { z } from 'zod';
|
3
2
|
export declare const downloadAllTablesSchema: z.ZodObject<{
|
4
3
|
password: z.ZodString;
|
@@ -16,8 +15,8 @@ declare const DownloadAllTablesDto_base: import("@anatine/zod-nestjs").ZodDtoSta
|
|
16
15
|
}>>;
|
17
16
|
export declare class DownloadAllTablesDto extends DownloadAllTablesDto_base {
|
18
17
|
}
|
19
|
-
export declare const downloadAllTablesResponseSchema: z.ZodType<Buffer
|
20
|
-
declare const DownloadAllTablesResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodType<Buffer
|
18
|
+
export declare const downloadAllTablesResponseSchema: z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>;
|
19
|
+
declare const DownloadAllTablesResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>>;
|
21
20
|
export declare class DownloadAllTablesResponseDto extends DownloadAllTablesResponseDto_base {
|
22
21
|
}
|
23
22
|
export {};
|
@@ -194,11 +194,17 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
194
194
|
STAFF: "STAFF";
|
195
195
|
SPECTATOR: "SPECTATOR";
|
196
196
|
}>;
|
197
|
+
status: z.ZodNativeEnum<{
|
198
|
+
BOOKED: "BOOKED";
|
199
|
+
PAID: "PAID";
|
200
|
+
FREE: "FREE";
|
201
|
+
}>;
|
197
202
|
fullName: z.ZodString;
|
198
203
|
mail: z.ZodString;
|
199
204
|
dni: z.ZodString;
|
200
205
|
seat: z.ZodNullable<z.ZodNumber>;
|
201
|
-
|
206
|
+
scanned: z.ZodBoolean;
|
207
|
+
scannedAt: z.ZodNullable<z.ZodDate>;
|
202
208
|
created_at: z.ZodDate;
|
203
209
|
updated_at: z.ZodDate;
|
204
210
|
}, "strip", z.ZodTypeAny, {
|
@@ -207,22 +213,26 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
207
213
|
fullName: string;
|
208
214
|
mail: string;
|
209
215
|
eventId: string;
|
210
|
-
|
216
|
+
status: "BOOKED" | "PAID" | "FREE";
|
211
217
|
seat: number | null;
|
218
|
+
dni: string;
|
212
219
|
created_at: Date;
|
213
220
|
updated_at: Date;
|
214
|
-
|
221
|
+
scanned: boolean;
|
222
|
+
scannedAt: Date | null;
|
215
223
|
}, {
|
216
224
|
id: string;
|
217
225
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
218
226
|
fullName: string;
|
219
227
|
mail: string;
|
220
228
|
eventId: string;
|
221
|
-
|
229
|
+
status: "BOOKED" | "PAID" | "FREE";
|
222
230
|
seat: number | null;
|
231
|
+
dni: string;
|
223
232
|
created_at: Date;
|
224
233
|
updated_at: Date;
|
225
|
-
|
234
|
+
scanned: boolean;
|
235
|
+
scannedAt: Date | null;
|
226
236
|
}>, "many">;
|
227
237
|
}>, "strip", z.ZodTypeAny, {
|
228
238
|
location: string;
|
@@ -296,11 +306,13 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
296
306
|
fullName: string;
|
297
307
|
mail: string;
|
298
308
|
eventId: string;
|
299
|
-
|
309
|
+
status: "BOOKED" | "PAID" | "FREE";
|
300
310
|
seat: number | null;
|
311
|
+
dni: string;
|
301
312
|
created_at: Date;
|
302
313
|
updated_at: Date;
|
303
|
-
|
314
|
+
scanned: boolean;
|
315
|
+
scannedAt: Date | null;
|
304
316
|
}[];
|
305
317
|
}, {
|
306
318
|
location: string;
|
@@ -374,11 +386,13 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
374
386
|
fullName: string;
|
375
387
|
mail: string;
|
376
388
|
eventId: string;
|
377
|
-
|
389
|
+
status: "BOOKED" | "PAID" | "FREE";
|
378
390
|
seat: number | null;
|
391
|
+
dni: string;
|
379
392
|
created_at: Date;
|
380
393
|
updated_at: Date;
|
381
|
-
|
394
|
+
scanned: boolean;
|
395
|
+
scannedAt: Date | null;
|
382
396
|
}[];
|
383
397
|
}>;
|
384
398
|
declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
@@ -574,11 +588,17 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
574
588
|
STAFF: "STAFF";
|
575
589
|
SPECTATOR: "SPECTATOR";
|
576
590
|
}>;
|
591
|
+
status: z.ZodNativeEnum<{
|
592
|
+
BOOKED: "BOOKED";
|
593
|
+
PAID: "PAID";
|
594
|
+
FREE: "FREE";
|
595
|
+
}>;
|
577
596
|
fullName: z.ZodString;
|
578
597
|
mail: z.ZodString;
|
579
598
|
dni: z.ZodString;
|
580
599
|
seat: z.ZodNullable<z.ZodNumber>;
|
581
|
-
|
600
|
+
scanned: z.ZodBoolean;
|
601
|
+
scannedAt: z.ZodNullable<z.ZodString>;
|
582
602
|
created_at: z.ZodString;
|
583
603
|
updated_at: z.ZodString;
|
584
604
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
@@ -587,22 +607,26 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
587
607
|
fullName: string;
|
588
608
|
mail: string;
|
589
609
|
eventId: string;
|
590
|
-
|
610
|
+
status: "BOOKED" | "PAID" | "FREE";
|
591
611
|
seat: number | null;
|
612
|
+
dni: string;
|
592
613
|
created_at: string;
|
593
614
|
updated_at: string;
|
594
|
-
|
615
|
+
scanned: boolean;
|
616
|
+
scannedAt: string | null;
|
595
617
|
}, {
|
596
618
|
id: string;
|
597
619
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
598
620
|
fullName: string;
|
599
621
|
mail: string;
|
600
622
|
eventId: string;
|
601
|
-
|
623
|
+
status: "BOOKED" | "PAID" | "FREE";
|
602
624
|
seat: number | null;
|
625
|
+
dni: string;
|
603
626
|
created_at: string;
|
604
627
|
updated_at: string;
|
605
|
-
|
628
|
+
scanned: boolean;
|
629
|
+
scannedAt: string | null;
|
606
630
|
}>, "many">;
|
607
631
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
608
632
|
location: string;
|
@@ -676,11 +700,13 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
676
700
|
fullName: string;
|
677
701
|
mail: string;
|
678
702
|
eventId: string;
|
679
|
-
|
703
|
+
status: "BOOKED" | "PAID" | "FREE";
|
680
704
|
seat: number | null;
|
705
|
+
dni: string;
|
681
706
|
created_at: string;
|
682
707
|
updated_at: string;
|
683
|
-
|
708
|
+
scanned: boolean;
|
709
|
+
scannedAt: string | null;
|
684
710
|
}[];
|
685
711
|
}, {
|
686
712
|
location: string;
|
@@ -754,11 +780,13 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
754
780
|
fullName: string;
|
755
781
|
mail: string;
|
756
782
|
eventId: string;
|
757
|
-
|
783
|
+
status: "BOOKED" | "PAID" | "FREE";
|
758
784
|
seat: number | null;
|
785
|
+
dni: string;
|
759
786
|
created_at: string;
|
760
787
|
updated_at: string;
|
761
|
-
|
788
|
+
scanned: boolean;
|
789
|
+
scannedAt: string | null;
|
762
790
|
}[];
|
763
791
|
}>>;
|
764
792
|
export declare class GetByIdEventResponseDto extends GetByIdEventResponseDto_base {
|
package/dist/src/exports.d.ts
CHANGED
package/dist/src/exports.js
CHANGED
@@ -30,6 +30,5 @@ __exportStar(require("./schema/exports"), exports);
|
|
30
30
|
__exportStar(require("./shared/dto-modification/zod-without-dates"), exports);
|
31
31
|
__exportStar(require("./tag-group/exports"), exports);
|
32
32
|
__exportStar(require("./tag/exports"), exports);
|
33
|
-
__exportStar(require("./ticket-group/exports"), exports);
|
34
33
|
__exportStar(require("./ticket/exports"), exports);
|
35
34
|
//# sourceMappingURL=exports.js.map
|
package/dist/src/i18n/es.d.ts
CHANGED
@@ -14,7 +14,6 @@ declare const _default: {
|
|
14
14
|
readonly otp: "OTP";
|
15
15
|
readonly ticket: "Ticket";
|
16
16
|
readonly eventTicket: "Tickets del evento";
|
17
|
-
readonly ticketGroup: "Grupo de tickets";
|
18
17
|
};
|
19
18
|
readonly tag: {
|
20
19
|
readonly assisted: "Asistió";
|
@@ -216,20 +215,11 @@ declare const _default: {
|
|
216
215
|
readonly status: {
|
217
216
|
readonly invalid: "El estado del ticket es inválido";
|
218
217
|
};
|
219
|
-
readonly dni: {
|
220
|
-
readonly required: "El DNI es requerido";
|
221
|
-
};
|
222
218
|
readonly seat: {
|
223
219
|
readonly required: "El asiento es requerido";
|
224
220
|
};
|
225
|
-
|
226
|
-
|
227
|
-
readonly id: {
|
228
|
-
readonly uuid: "El ID debe ser un UUID";
|
229
|
-
};
|
230
|
-
readonly amountTickets: "La cantidad de tickets debe ser mayor a 0";
|
231
|
-
readonly status: {
|
232
|
-
readonly invalid: "El estado del grupo de tickets es inválido";
|
221
|
+
readonly dni: {
|
222
|
+
readonly required: "El DNI es requerido";
|
233
223
|
};
|
234
224
|
};
|
235
225
|
readonly eventTicket: {
|
@@ -581,14 +571,6 @@ declare const _default: {
|
|
581
571
|
readonly 'max-tickets-reached': "No se pueden emitir más tickets para este evento";
|
582
572
|
readonly 'profile-id-required': "El ID del perfil es requerido en el ticket de participante";
|
583
573
|
};
|
584
|
-
readonly 'create-many': {
|
585
|
-
readonly success: "Tickets creados con éxito";
|
586
|
-
readonly 'event-not-found': "Evento no encontrado";
|
587
|
-
readonly error: "Error en la creación de los tickets";
|
588
|
-
readonly 'max-tickets-reached': "No se pueden emitir más tickets para este evento";
|
589
|
-
readonly 'type-not-found': "Tipo de ticket no encontrado";
|
590
|
-
readonly 'max-tickets-not-found': "Cantidad máxima de tickets no encontrada";
|
591
|
-
};
|
592
574
|
readonly 'find-all': {
|
593
575
|
readonly success: "Tickets obtenidos";
|
594
576
|
};
|
@@ -612,6 +594,7 @@ declare const _default: {
|
|
612
594
|
readonly delete: {
|
613
595
|
readonly success: "Ticket eliminado";
|
614
596
|
readonly 'not-found': "Ticket no encontrado";
|
597
|
+
readonly 'participant-not-found': "Participante no encontrado";
|
615
598
|
};
|
616
599
|
readonly 'send-email': {
|
617
600
|
readonly success: "Email enviado";
|
@@ -623,24 +606,12 @@ declare const _default: {
|
|
623
606
|
readonly text: "Te esperamos el {{eventDate}} a las {{eventTime}} en {{eventLocation}}. ¡No te lo pierdas!";
|
624
607
|
};
|
625
608
|
};
|
626
|
-
|
627
|
-
|
628
|
-
readonly create: {
|
629
|
-
readonly success: "Grupo de tickets creado";
|
609
|
+
readonly scan: {
|
610
|
+
readonly 'not-found': "Ticket no encontrado";
|
630
611
|
readonly 'event-not-found': "Evento no encontrado";
|
631
|
-
readonly
|
632
|
-
|
633
|
-
|
634
|
-
readonly success: "Tickets por evento obtenidos";
|
635
|
-
readonly 'not-found': "Tickets por evento no encontrados";
|
636
|
-
};
|
637
|
-
readonly update: {
|
638
|
-
readonly success: "Grupo de tickets actualizado";
|
639
|
-
readonly 'not-found': "Grupo de tickets no encontrado";
|
640
|
-
};
|
641
|
-
readonly delete: {
|
642
|
-
readonly success: "Grupo de tickets eliminado";
|
643
|
-
readonly 'not-found': "Grupo de tickets no encontrado";
|
612
|
+
readonly success: "Ticket escaneado con éxito";
|
613
|
+
readonly 'already-scanned': "El ticket ya fue escaneado";
|
614
|
+
readonly 'participant-not-found': "Participante no encontrado";
|
644
615
|
};
|
645
616
|
};
|
646
617
|
readonly webhook: {
|