expo-backend-types 0.39.0 → 0.40.0-EXPO-330-ExpoBackend-MercadoPago.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.
Files changed (39) hide show
  1. package/dist/src/csv/dto/download-all-tables.dto.d.ts +0 -1
  2. package/dist/src/event/dto/get-by-id-event.dto.d.ts +20 -0
  3. package/dist/src/i18n/es.d.ts +8 -0
  4. package/dist/src/i18n/es.js +54 -143
  5. package/dist/src/i18n/es.js.map +1 -1
  6. package/dist/src/i18n/translate.js +2 -2
  7. package/dist/src/i18n/translate.js.map +1 -1
  8. package/dist/src/image/dto/update-image.dto.d.ts +0 -1
  9. package/dist/src/schema/profile.schema.js +17 -7
  10. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +1 -2
  11. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -1
  12. package/dist/src/ticket/constants.js +1 -2
  13. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +28 -0
  14. package/dist/src/ticket/dto/create-ticket.dto.d.ts +14 -0
  15. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +12 -0
  16. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +20 -0
  17. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +20 -0
  18. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +20 -0
  19. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +20 -0
  20. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +20 -0
  21. package/dist/src/ticket/dto/find-ticket.dto.d.ts +12 -0
  22. package/dist/src/ticket/dto/generate-pdf.dto.d.ts +0 -1
  23. package/dist/src/ticket/dto/scan-ticket.dto.d.ts +34 -0
  24. package/dist/src/ticket/dto/scan-ticket.dto.js +21 -0
  25. package/dist/src/ticket/dto/ticket.dto.d.ts +12 -0
  26. package/dist/src/ticket/dto/ticket.dto.js +2 -0
  27. package/dist/src/ticket/dto/update-ticket.dto.d.ts +12 -0
  28. package/dist/src/ticket/exports.d.ts +1 -0
  29. package/dist/src/ticket/exports.js +1 -0
  30. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +20 -0
  31. package/dist/types/prisma-schema/edge.js +5 -3
  32. package/dist/types/prisma-schema/index-browser.js +2 -0
  33. package/dist/types/prisma-schema/index.d.ts +97 -1
  34. package/dist/types/prisma-schema/index.js +5 -3
  35. package/dist/types/prisma-schema/package.json +1 -1
  36. package/dist/types/prisma-schema/schema.prisma +3 -1
  37. package/dist/types/prisma-schema/wasm.js +2 -0
  38. package/dist/types/schema.d.ts +85 -0
  39. package/package.json +14 -15
@@ -10,6 +10,8 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
10
10
  mail: import("zod").ZodString;
11
11
  dni: import("zod").ZodString;
12
12
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
13
+ scanned: import("zod").ZodBoolean;
14
+ scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13
15
  ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
14
16
  created_at: import("zod").ZodDate;
15
17
  updated_at: import("zod").ZodDate;
@@ -23,6 +25,8 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
23
25
  seat: number | null;
24
26
  created_at: Date;
25
27
  updated_at: Date;
28
+ scanned: boolean;
29
+ scannedAt: Date | null;
26
30
  ticketGroupId: string | null;
27
31
  }, {
28
32
  id: string;
@@ -34,6 +38,8 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
34
38
  seat: number | null;
35
39
  created_at: Date;
36
40
  updated_at: Date;
41
+ scanned: boolean;
42
+ scannedAt: Date | null;
37
43
  ticketGroupId: string | null;
38
44
  }>;
39
45
  declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
@@ -48,6 +54,8 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
48
54
  mail: import("zod").ZodString;
49
55
  dni: import("zod").ZodString;
50
56
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
57
+ scanned: import("zod").ZodBoolean;
58
+ scannedAt: import("zod").ZodNullable<import("zod").ZodString>;
51
59
  ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
52
60
  created_at: import("zod").ZodString;
53
61
  updated_at: import("zod").ZodString;
@@ -61,6 +69,8 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
61
69
  seat: number | null;
62
70
  created_at: string;
63
71
  updated_at: string;
72
+ scanned: boolean;
73
+ scannedAt: string | null;
64
74
  ticketGroupId: string | null;
65
75
  }, {
66
76
  id: string;
@@ -72,6 +82,8 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
72
82
  seat: number | null;
73
83
  created_at: string;
74
84
  updated_at: string;
85
+ scanned: boolean;
86
+ scannedAt: string | null;
75
87
  ticketGroupId: string | null;
76
88
  }>>;
77
89
  export declare class FindTicketResponseDto extends FindTicketResponseDto_base {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import z from 'zod';
3
2
  export declare const generatePdfResponseSchema: z.ZodType<Buffer, z.ZodTypeDef, Buffer>;
4
3
  declare const GeneratePdfResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodType<Buffer, z.ZodTypeDef, Buffer>>;
@@ -0,0 +1,34 @@
1
+ import z from 'zod';
2
+ export declare const scanTicketSchema: z.ZodObject<{
3
+ ticketBarcode: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ ticketBarcode: string;
6
+ }, {
7
+ ticketBarcode: string;
8
+ }>;
9
+ declare const ScanTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
10
+ ticketBarcode: z.ZodString;
11
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
12
+ ticketBarcode: string;
13
+ }, {
14
+ ticketBarcode: string;
15
+ }>>;
16
+ export declare class ScanTicketDto extends ScanTicketDto_base {
17
+ }
18
+ export declare const scanTicketResponseSchema: z.ZodObject<{
19
+ success: z.ZodBoolean;
20
+ }, "strip", z.ZodTypeAny, {
21
+ success: boolean;
22
+ }, {
23
+ success: boolean;
24
+ }>;
25
+ declare const ScanTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
26
+ success: z.ZodBoolean;
27
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
28
+ success: boolean;
29
+ }, {
30
+ success: boolean;
31
+ }>>;
32
+ export declare class ScanTicketResponseDto extends ScanTicketResponseDto_base {
33
+ }
34
+ export {};
@@ -0,0 +1,21 @@
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.ScanTicketResponseDto = exports.scanTicketResponseSchema = exports.ScanTicketDto = exports.scanTicketSchema = 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.scanTicketSchema = zod_1.default.object({
10
+ ticketBarcode: zod_1.default.string(),
11
+ });
12
+ class ScanTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.scanTicketSchema) {
13
+ }
14
+ exports.ScanTicketDto = ScanTicketDto;
15
+ exports.scanTicketResponseSchema = zod_1.default.object({
16
+ success: zod_1.default.boolean(),
17
+ });
18
+ class ScanTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.scanTicketResponseSchema) {
19
+ }
20
+ exports.ScanTicketResponseDto = ScanTicketResponseDto;
21
+ //# sourceMappingURL=scan-ticket.dto.js.map
@@ -11,6 +11,8 @@ export declare const ticketSchema: z.ZodObject<{
11
11
  mail: z.ZodString;
12
12
  dni: z.ZodString;
13
13
  seat: z.ZodNullable<z.ZodNumber>;
14
+ scanned: z.ZodBoolean;
15
+ scannedAt: z.ZodNullable<z.ZodDate>;
14
16
  ticketGroupId: z.ZodNullable<z.ZodString>;
15
17
  created_at: z.ZodDate;
16
18
  updated_at: z.ZodDate;
@@ -24,6 +26,8 @@ export declare const ticketSchema: z.ZodObject<{
24
26
  seat: number | null;
25
27
  created_at: Date;
26
28
  updated_at: Date;
29
+ scanned: boolean;
30
+ scannedAt: Date | null;
27
31
  ticketGroupId: string | null;
28
32
  }, {
29
33
  id: string;
@@ -35,6 +39,8 @@ export declare const ticketSchema: z.ZodObject<{
35
39
  seat: number | null;
36
40
  created_at: Date;
37
41
  updated_at: Date;
42
+ scanned: boolean;
43
+ scannedAt: Date | null;
38
44
  ticketGroupId: string | null;
39
45
  }>;
40
46
  declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
@@ -49,6 +55,8 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
49
55
  mail: z.ZodString;
50
56
  dni: z.ZodString;
51
57
  seat: z.ZodNullable<z.ZodNumber>;
58
+ scanned: z.ZodBoolean;
59
+ scannedAt: z.ZodNullable<z.ZodString>;
52
60
  ticketGroupId: z.ZodNullable<z.ZodString>;
53
61
  created_at: z.ZodString;
54
62
  updated_at: z.ZodString;
@@ -62,6 +70,8 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
62
70
  seat: number | null;
63
71
  created_at: string;
64
72
  updated_at: string;
73
+ scanned: boolean;
74
+ scannedAt: string | null;
65
75
  ticketGroupId: string | null;
66
76
  }, {
67
77
  id: string;
@@ -73,6 +83,8 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
73
83
  seat: number | null;
74
84
  created_at: string;
75
85
  updated_at: string;
86
+ scanned: boolean;
87
+ scannedAt: string | null;
76
88
  ticketGroupId: string | null;
77
89
  }>>;
78
90
  export declare class TicketDto extends TicketDto_base {
@@ -20,6 +20,8 @@ exports.ticketSchema = zod_1.default.object({
20
20
  mail: zod_1.default.string().email((0, translate_1.translate)('model.ticket.mail.email')),
21
21
  dni: zod_1.default.string().min(1, (0, translate_1.translate)('model.ticket.dni.required')),
22
22
  seat: zod_1.default.number().min(1, (0, translate_1.translate)('model.ticket.seat.required')).nullable(),
23
+ scanned: zod_1.default.boolean(),
24
+ scannedAt: zod_1.default.date().nullable(),
23
25
  ticketGroupId: ticket_group_dto_1.ticketGroupSchema.shape.id.nullable(),
24
26
  created_at: zod_1.default.date(),
25
27
  updated_at: zod_1.default.date(),
@@ -58,6 +58,8 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
58
58
  mail: import("zod").ZodString;
59
59
  dni: import("zod").ZodString;
60
60
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
61
+ scanned: import("zod").ZodBoolean;
62
+ scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
61
63
  ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
62
64
  created_at: import("zod").ZodDate;
63
65
  updated_at: import("zod").ZodDate;
@@ -71,6 +73,8 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
71
73
  seat: number | null;
72
74
  created_at: Date;
73
75
  updated_at: Date;
76
+ scanned: boolean;
77
+ scannedAt: Date | null;
74
78
  ticketGroupId: string | null;
75
79
  }, {
76
80
  id: string;
@@ -82,6 +86,8 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
82
86
  seat: number | null;
83
87
  created_at: Date;
84
88
  updated_at: Date;
89
+ scanned: boolean;
90
+ scannedAt: Date | null;
85
91
  ticketGroupId: string | null;
86
92
  }>;
87
93
  declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
@@ -96,6 +102,8 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
96
102
  mail: import("zod").ZodString;
97
103
  dni: import("zod").ZodString;
98
104
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
105
+ scanned: import("zod").ZodBoolean;
106
+ scannedAt: import("zod").ZodNullable<import("zod").ZodString>;
99
107
  ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
100
108
  created_at: import("zod").ZodString;
101
109
  updated_at: import("zod").ZodString;
@@ -109,6 +117,8 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
109
117
  seat: number | null;
110
118
  created_at: string;
111
119
  updated_at: string;
120
+ scanned: boolean;
121
+ scannedAt: string | null;
112
122
  ticketGroupId: string | null;
113
123
  }, {
114
124
  id: string;
@@ -120,6 +130,8 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
120
130
  seat: number | null;
121
131
  created_at: string;
122
132
  updated_at: string;
133
+ scanned: boolean;
134
+ scannedAt: string | null;
123
135
  ticketGroupId: string | null;
124
136
  }>>;
125
137
  export declare class UpdateTicketResponseDto extends UpdateTicketResponseDto_base {
@@ -7,5 +7,6 @@ export * from './dto/find-by-mail-ticket.dto';
7
7
  export * from './dto/find-by-profile-id-ticket.dto';
8
8
  export * from './dto/find-ticket.dto';
9
9
  export * from './dto/generate-pdf.dto';
10
+ export * from './dto/scan-ticket.dto';
10
11
  export * from './dto/ticket.dto';
11
12
  export * from './dto/update-ticket.dto';
@@ -23,6 +23,7 @@ __exportStar(require("./dto/find-by-mail-ticket.dto"), exports);
23
23
  __exportStar(require("./dto/find-by-profile-id-ticket.dto"), exports);
24
24
  __exportStar(require("./dto/find-ticket.dto"), exports);
25
25
  __exportStar(require("./dto/generate-pdf.dto"), exports);
26
+ __exportStar(require("./dto/scan-ticket.dto"), exports);
26
27
  __exportStar(require("./dto/ticket.dto"), exports);
27
28
  __exportStar(require("./dto/update-ticket.dto"), exports);
28
29
  //# sourceMappingURL=exports.js.map
@@ -62,6 +62,8 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
62
62
  mail: z.ZodString;
63
63
  dni: z.ZodString;
64
64
  seat: z.ZodNullable<z.ZodNumber>;
65
+ scanned: z.ZodBoolean;
66
+ scannedAt: z.ZodNullable<z.ZodDate>;
65
67
  ticketGroupId: z.ZodNullable<z.ZodString>;
66
68
  created_at: z.ZodDate;
67
69
  updated_at: z.ZodDate;
@@ -75,6 +77,8 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
75
77
  seat: number | null;
76
78
  created_at: Date;
77
79
  updated_at: Date;
80
+ scanned: boolean;
81
+ scannedAt: Date | null;
78
82
  ticketGroupId: string | null;
79
83
  }, {
80
84
  id: string;
@@ -86,6 +90,8 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
86
90
  seat: number | null;
87
91
  created_at: Date;
88
92
  updated_at: Date;
93
+ scanned: boolean;
94
+ scannedAt: Date | null;
89
95
  ticketGroupId: string | null;
90
96
  }>, "many">;
91
97
  event: z.ZodObject<{
@@ -163,6 +169,8 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
163
169
  seat: number | null;
164
170
  created_at: Date;
165
171
  updated_at: Date;
172
+ scanned: boolean;
173
+ scannedAt: Date | null;
166
174
  ticketGroupId: string | null;
167
175
  }[];
168
176
  }, {
@@ -197,6 +205,8 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
197
205
  seat: number | null;
198
206
  created_at: Date;
199
207
  updated_at: Date;
208
+ scanned: boolean;
209
+ scannedAt: Date | null;
200
210
  ticketGroupId: string | null;
201
211
  }[];
202
212
  }>;
@@ -223,6 +233,8 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
223
233
  mail: z.ZodString;
224
234
  dni: z.ZodString;
225
235
  seat: z.ZodNullable<z.ZodNumber>;
236
+ scanned: z.ZodBoolean;
237
+ scannedAt: z.ZodNullable<z.ZodString>;
226
238
  ticketGroupId: z.ZodNullable<z.ZodString>;
227
239
  created_at: z.ZodString;
228
240
  updated_at: z.ZodString;
@@ -236,6 +248,8 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
236
248
  seat: number | null;
237
249
  created_at: string;
238
250
  updated_at: string;
251
+ scanned: boolean;
252
+ scannedAt: string | null;
239
253
  ticketGroupId: string | null;
240
254
  }, {
241
255
  id: string;
@@ -247,6 +261,8 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
247
261
  seat: number | null;
248
262
  created_at: string;
249
263
  updated_at: string;
264
+ scanned: boolean;
265
+ scannedAt: string | null;
250
266
  ticketGroupId: string | null;
251
267
  }>, "many">;
252
268
  event: z.ZodObject<{
@@ -324,6 +340,8 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
324
340
  seat: number | null;
325
341
  created_at: string;
326
342
  updated_at: string;
343
+ scanned: boolean;
344
+ scannedAt: string | null;
327
345
  ticketGroupId: string | null;
328
346
  }[];
329
347
  }, {
@@ -358,6 +376,8 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
358
376
  seat: number | null;
359
377
  created_at: string;
360
378
  updated_at: string;
379
+ scanned: boolean;
380
+ scannedAt: string | null;
361
381
  ticketGroupId: string | null;
362
382
  }[];
363
383
  }>>;