expo-backend-types 0.43.0 → 0.44.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.
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/i18n/es.d.ts +23 -2
- package/dist/src/i18n/es.js +23 -2
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mercadopago/dto/create-preference-mercadopago.dto.d.ts +112 -0
- package/dist/src/mercadopago/dto/create-preference-mercadopago.dto.js +34 -0
- package/dist/src/mercadopago/dto/webhook-mercadopago.dto.d.ts +102 -0
- package/dist/src/mercadopago/dto/webhook-mercadopago.dto.js +31 -0
- package/dist/src/mercadopago/exports.d.ts +2 -0
- package/dist/src/mercadopago/exports.js +19 -0
- package/dist/src/ticket/constants.js +4 -4
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +99 -377
- package/dist/src/ticket/dto/create-many-ticket.dto.js +3 -10
- package/dist/src/ticket/dto/get-pdfs-by-group-ticket.dto.d.ts +124 -0
- package/dist/src/ticket/dto/get-pdfs-by-group-ticket.dto.js +22 -0
- package/dist/src/ticket/dto/scan-ticket.dto.d.ts +12 -92
- package/dist/src/ticket/dto/scan-ticket.dto.js +4 -4
- package/dist/src/ticket-group/dto/find-group-ticket-group.dto.d.ts +55 -0
- package/dist/src/ticket-group/dto/find-group-ticket-group.dto.js +10 -0
- package/dist/src/ticket-group/exports.d.ts +1 -0
- package/dist/src/ticket-group/exports.js +1 -0
- package/dist/types/schema.d.ts +275 -42
- package/package.json +2 -4
@@ -1,113 +1,33 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const scanTicketSchema: z.ZodObject<{
|
3
|
-
|
4
|
-
value: z.ZodString;
|
3
|
+
ticketBarcode: z.ZodString;
|
5
4
|
}, "strip", z.ZodTypeAny, {
|
6
|
-
|
7
|
-
value: string;
|
5
|
+
ticketBarcode: string;
|
8
6
|
}, {
|
9
|
-
|
10
|
-
value: string;
|
7
|
+
ticketBarcode: string;
|
11
8
|
}>;
|
12
9
|
declare const ScanTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
13
|
-
|
14
|
-
value: z.ZodString;
|
10
|
+
ticketBarcode: z.ZodString;
|
15
11
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
16
|
-
|
17
|
-
value: string;
|
12
|
+
ticketBarcode: string;
|
18
13
|
}, {
|
19
|
-
|
20
|
-
value: string;
|
14
|
+
ticketBarcode: string;
|
21
15
|
}>>;
|
22
16
|
export declare class ScanTicketDto extends ScanTicketDto_base {
|
23
17
|
}
|
24
18
|
export declare const scanTicketResponseSchema: z.ZodObject<{
|
25
|
-
|
26
|
-
eventId: z.ZodString;
|
27
|
-
type: z.ZodNativeEnum<{
|
28
|
-
PARTICIPANT: "PARTICIPANT";
|
29
|
-
STAFF: "STAFF";
|
30
|
-
SPECTATOR: "SPECTATOR";
|
31
|
-
}>;
|
32
|
-
fullName: z.ZodString;
|
33
|
-
mail: z.ZodString;
|
34
|
-
dni: z.ZodString;
|
35
|
-
seat: z.ZodNullable<z.ZodNumber>;
|
36
|
-
scanned: z.ZodBoolean;
|
37
|
-
scannedAt: z.ZodNullable<z.ZodDate>;
|
38
|
-
ticketGroupId: z.ZodNullable<z.ZodString>;
|
39
|
-
created_at: z.ZodDate;
|
40
|
-
updated_at: z.ZodDate;
|
19
|
+
success: z.ZodBoolean;
|
41
20
|
}, "strip", z.ZodTypeAny, {
|
42
|
-
|
43
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
44
|
-
fullName: string;
|
45
|
-
mail: string;
|
46
|
-
eventId: string;
|
47
|
-
dni: string;
|
48
|
-
seat: number | null;
|
49
|
-
created_at: Date;
|
50
|
-
updated_at: Date;
|
51
|
-
scanned: boolean;
|
52
|
-
scannedAt: Date | null;
|
53
|
-
ticketGroupId: string | null;
|
21
|
+
success: boolean;
|
54
22
|
}, {
|
55
|
-
|
56
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
57
|
-
fullName: string;
|
58
|
-
mail: string;
|
59
|
-
eventId: string;
|
60
|
-
dni: string;
|
61
|
-
seat: number | null;
|
62
|
-
created_at: Date;
|
63
|
-
updated_at: Date;
|
64
|
-
scanned: boolean;
|
65
|
-
scannedAt: Date | null;
|
66
|
-
ticketGroupId: string | null;
|
23
|
+
success: boolean;
|
67
24
|
}>;
|
68
25
|
declare const ScanTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
69
|
-
|
70
|
-
eventId: z.ZodString;
|
71
|
-
type: z.ZodNativeEnum<{
|
72
|
-
PARTICIPANT: "PARTICIPANT";
|
73
|
-
STAFF: "STAFF";
|
74
|
-
SPECTATOR: "SPECTATOR";
|
75
|
-
}>;
|
76
|
-
fullName: z.ZodString;
|
77
|
-
mail: z.ZodString;
|
78
|
-
dni: z.ZodString;
|
79
|
-
seat: z.ZodNullable<z.ZodNumber>;
|
80
|
-
scanned: z.ZodBoolean;
|
81
|
-
scannedAt: z.ZodNullable<z.ZodString>;
|
82
|
-
ticketGroupId: z.ZodNullable<z.ZodString>;
|
83
|
-
created_at: z.ZodString;
|
84
|
-
updated_at: z.ZodString;
|
26
|
+
success: z.ZodBoolean;
|
85
27
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
86
|
-
|
87
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
88
|
-
fullName: string;
|
89
|
-
mail: string;
|
90
|
-
eventId: string;
|
91
|
-
dni: string;
|
92
|
-
seat: number | null;
|
93
|
-
created_at: string;
|
94
|
-
updated_at: string;
|
95
|
-
scanned: boolean;
|
96
|
-
scannedAt: string | null;
|
97
|
-
ticketGroupId: string | null;
|
28
|
+
success: boolean;
|
98
29
|
}, {
|
99
|
-
|
100
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
101
|
-
fullName: string;
|
102
|
-
mail: string;
|
103
|
-
eventId: string;
|
104
|
-
dni: string;
|
105
|
-
seat: number | null;
|
106
|
-
created_at: string;
|
107
|
-
updated_at: string;
|
108
|
-
scanned: boolean;
|
109
|
-
scannedAt: string | null;
|
110
|
-
ticketGroupId: string | null;
|
30
|
+
success: boolean;
|
111
31
|
}>>;
|
112
32
|
export declare class ScanTicketResponseDto extends ScanTicketResponseDto_base {
|
113
33
|
}
|
@@ -5,16 +5,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.ScanTicketResponseDto = exports.scanTicketResponseSchema = exports.ScanTicketDto = exports.scanTicketSchema = void 0;
|
7
7
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
|
-
const ticket_dto_1 = require("./ticket.dto");
|
9
8
|
const zod_1 = __importDefault(require("zod"));
|
10
9
|
exports.scanTicketSchema = zod_1.default.object({
|
11
|
-
|
12
|
-
value: zod_1.default.string(),
|
10
|
+
ticketBarcode: zod_1.default.string(),
|
13
11
|
});
|
14
12
|
class ScanTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.scanTicketSchema) {
|
15
13
|
}
|
16
14
|
exports.ScanTicketDto = ScanTicketDto;
|
17
|
-
exports.scanTicketResponseSchema =
|
15
|
+
exports.scanTicketResponseSchema = zod_1.default.object({
|
16
|
+
success: zod_1.default.boolean(),
|
17
|
+
});
|
18
18
|
class ScanTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.scanTicketResponseSchema) {
|
19
19
|
}
|
20
20
|
exports.ScanTicketResponseDto = ScanTicketResponseDto;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
export declare const findGroupResponseSchema: import("zod").ZodObject<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
amountTickets: import("zod").ZodNumber;
|
4
|
+
status: import("zod").ZodNativeEnum<{
|
5
|
+
BOOKED: "BOOKED";
|
6
|
+
PAID: "PAID";
|
7
|
+
FREE: "FREE";
|
8
|
+
}>;
|
9
|
+
eventId: import("zod").ZodString;
|
10
|
+
created_at: import("zod").ZodDate;
|
11
|
+
updated_at: import("zod").ZodDate;
|
12
|
+
}, "strip", import("zod").ZodTypeAny, {
|
13
|
+
id: string;
|
14
|
+
eventId: string;
|
15
|
+
status: "BOOKED" | "PAID" | "FREE";
|
16
|
+
amountTickets: number;
|
17
|
+
created_at: Date;
|
18
|
+
updated_at: Date;
|
19
|
+
}, {
|
20
|
+
id: string;
|
21
|
+
eventId: string;
|
22
|
+
status: "BOOKED" | "PAID" | "FREE";
|
23
|
+
amountTickets: number;
|
24
|
+
created_at: Date;
|
25
|
+
updated_at: Date;
|
26
|
+
}>;
|
27
|
+
declare const FindGroupTicketGroupDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
28
|
+
id: import("zod").ZodString;
|
29
|
+
amountTickets: import("zod").ZodNumber;
|
30
|
+
status: import("zod").ZodNativeEnum<{
|
31
|
+
BOOKED: "BOOKED";
|
32
|
+
PAID: "PAID";
|
33
|
+
FREE: "FREE";
|
34
|
+
}>;
|
35
|
+
eventId: import("zod").ZodString;
|
36
|
+
created_at: import("zod").ZodString;
|
37
|
+
updated_at: import("zod").ZodString;
|
38
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
39
|
+
id: string;
|
40
|
+
eventId: string;
|
41
|
+
status: "BOOKED" | "PAID" | "FREE";
|
42
|
+
amountTickets: number;
|
43
|
+
created_at: string;
|
44
|
+
updated_at: string;
|
45
|
+
}, {
|
46
|
+
id: string;
|
47
|
+
eventId: string;
|
48
|
+
status: "BOOKED" | "PAID" | "FREE";
|
49
|
+
amountTickets: number;
|
50
|
+
created_at: string;
|
51
|
+
updated_at: string;
|
52
|
+
}>>;
|
53
|
+
export declare class FindGroupTicketGroupDto extends FindGroupTicketGroupDto_base {
|
54
|
+
}
|
55
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FindGroupTicketGroupDto = exports.findGroupResponseSchema = void 0;
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
+
const ticket_group_dto_1 = require("./ticket-group.dto");
|
6
|
+
exports.findGroupResponseSchema = ticket_group_dto_1.ticketGroupSchema;
|
7
|
+
class FindGroupTicketGroupDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findGroupResponseSchema) {
|
8
|
+
}
|
9
|
+
exports.FindGroupTicketGroupDto = FindGroupTicketGroupDto;
|
10
|
+
//# sourceMappingURL=find-group-ticket-group.dto.js.map
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export * from './dto/create-ticket-group.dto';
|
2
2
|
export * from './dto/delete-ticket-group.dto';
|
3
|
+
export * from './dto/find-group-ticket-group.dto';
|
3
4
|
export * from './dto/find-tickets-by-event.dto';
|
4
5
|
export * from './dto/ticket-group.dto';
|
5
6
|
export * from './dto/update-ticket-group.dto';
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./dto/create-ticket-group.dto"), exports);
|
18
18
|
__exportStar(require("./dto/delete-ticket-group.dto"), exports);
|
19
|
+
__exportStar(require("./dto/find-group-ticket-group.dto"), exports);
|
19
20
|
__exportStar(require("./dto/find-tickets-by-event.dto"), exports);
|
20
21
|
__exportStar(require("./dto/ticket-group.dto"), exports);
|
21
22
|
__exportStar(require("./dto/update-ticket-group.dto"), exports);
|
package/dist/types/schema.d.ts
CHANGED
@@ -991,6 +991,22 @@ export interface paths {
|
|
991
991
|
patch?: never;
|
992
992
|
trace?: never;
|
993
993
|
};
|
994
|
+
"/ticket/get-pdfs-by-ticket-group/{ticketGroupId}": {
|
995
|
+
parameters: {
|
996
|
+
query?: never;
|
997
|
+
header?: never;
|
998
|
+
path?: never;
|
999
|
+
cookie?: never;
|
1000
|
+
};
|
1001
|
+
get: operations["TicketController_getPdfsByTicketGroup"];
|
1002
|
+
put?: never;
|
1003
|
+
post?: never;
|
1004
|
+
delete?: never;
|
1005
|
+
options?: never;
|
1006
|
+
head?: never;
|
1007
|
+
patch?: never;
|
1008
|
+
trace?: never;
|
1009
|
+
};
|
994
1010
|
"/ticket/all": {
|
995
1011
|
parameters: {
|
996
1012
|
query?: never;
|
@@ -1199,6 +1215,22 @@ export interface paths {
|
|
1199
1215
|
patch?: never;
|
1200
1216
|
trace?: never;
|
1201
1217
|
};
|
1218
|
+
"/ticket-group/find-group/{id}": {
|
1219
|
+
parameters: {
|
1220
|
+
query?: never;
|
1221
|
+
header?: never;
|
1222
|
+
path?: never;
|
1223
|
+
cookie?: never;
|
1224
|
+
};
|
1225
|
+
get: operations["TicketGroupController_findGroup"];
|
1226
|
+
put?: never;
|
1227
|
+
post?: never;
|
1228
|
+
delete?: never;
|
1229
|
+
options?: never;
|
1230
|
+
head?: never;
|
1231
|
+
patch?: never;
|
1232
|
+
trace?: never;
|
1233
|
+
};
|
1202
1234
|
"/ticket-group/update/{id}": {
|
1203
1235
|
parameters: {
|
1204
1236
|
query?: never;
|
@@ -1359,6 +1391,38 @@ export interface paths {
|
|
1359
1391
|
patch?: never;
|
1360
1392
|
trace?: never;
|
1361
1393
|
};
|
1394
|
+
"/mercadopago/create-preference": {
|
1395
|
+
parameters: {
|
1396
|
+
query?: never;
|
1397
|
+
header?: never;
|
1398
|
+
path?: never;
|
1399
|
+
cookie?: never;
|
1400
|
+
};
|
1401
|
+
get?: never;
|
1402
|
+
put?: never;
|
1403
|
+
post: operations["MercadoPagoController_createPreference"];
|
1404
|
+
delete?: never;
|
1405
|
+
options?: never;
|
1406
|
+
head?: never;
|
1407
|
+
patch?: never;
|
1408
|
+
trace?: never;
|
1409
|
+
};
|
1410
|
+
"/mercadopago/webhook": {
|
1411
|
+
parameters: {
|
1412
|
+
query?: never;
|
1413
|
+
header?: never;
|
1414
|
+
path?: never;
|
1415
|
+
cookie?: never;
|
1416
|
+
};
|
1417
|
+
get?: never;
|
1418
|
+
put?: never;
|
1419
|
+
post: operations["MercadoPagoController_webhook"];
|
1420
|
+
delete?: never;
|
1421
|
+
options?: never;
|
1422
|
+
head?: never;
|
1423
|
+
patch?: never;
|
1424
|
+
trace?: never;
|
1425
|
+
};
|
1362
1426
|
}
|
1363
1427
|
export type webhooks = Record<string, never>;
|
1364
1428
|
export interface components {
|
@@ -2869,36 +2933,36 @@ export interface components {
|
|
2869
2933
|
profileId?: string;
|
2870
2934
|
}[];
|
2871
2935
|
};
|
2872
|
-
|
2873
|
-
|
2936
|
+
CreateManyTicketResponseDto: {
|
2937
|
+
id: string;
|
2938
|
+
eventId: string;
|
2939
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2940
|
+
fullName: string;
|
2941
|
+
mail: string;
|
2942
|
+
dni: string;
|
2943
|
+
seat: number | null;
|
2944
|
+
scanned: boolean;
|
2945
|
+
scannedAt: string | null;
|
2946
|
+
ticketGroupId: string | null;
|
2947
|
+
created_at: string;
|
2948
|
+
updated_at: string;
|
2949
|
+
event: {
|
2874
2950
|
id: string;
|
2875
|
-
|
2876
|
-
|
2877
|
-
|
2878
|
-
|
2879
|
-
|
2880
|
-
|
2881
|
-
|
2882
|
-
|
2883
|
-
|
2951
|
+
name: string;
|
2952
|
+
date: string;
|
2953
|
+
startingDate: string;
|
2954
|
+
endingDate: string;
|
2955
|
+
location: string;
|
2956
|
+
folderId: string | null;
|
2957
|
+
tagAssistedId: string;
|
2958
|
+
tagConfirmedId: string;
|
2959
|
+
active: boolean;
|
2960
|
+
supraEventId: string | null;
|
2884
2961
|
created_at: string;
|
2885
2962
|
updated_at: string;
|
2886
|
-
|
2887
|
-
|
2888
|
-
|
2889
|
-
date: string;
|
2890
|
-
startingDate: string;
|
2891
|
-
endingDate: string;
|
2892
|
-
location: string;
|
2893
|
-
folderId: string | null;
|
2894
|
-
tagAssistedId: string;
|
2895
|
-
tagConfirmedId: string;
|
2896
|
-
active: boolean;
|
2897
|
-
supraEventId: string | null;
|
2898
|
-
created_at: string;
|
2899
|
-
updated_at: string;
|
2900
|
-
};
|
2901
|
-
}[];
|
2963
|
+
};
|
2964
|
+
}[];
|
2965
|
+
GetPdfsByTicketGroupResponseDto: {
|
2902
2966
|
pdfs: {
|
2903
2967
|
ticketId: string;
|
2904
2968
|
pdfBase64: string;
|
@@ -3158,22 +3222,10 @@ export interface components {
|
|
3158
3222
|
updated_at: string;
|
3159
3223
|
};
|
3160
3224
|
ScanTicketDto: {
|
3161
|
-
|
3162
|
-
value: string;
|
3225
|
+
ticketBarcode: string;
|
3163
3226
|
};
|
3164
3227
|
ScanTicketResponseDto: {
|
3165
|
-
|
3166
|
-
eventId: string;
|
3167
|
-
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
3168
|
-
fullName: string;
|
3169
|
-
mail: string;
|
3170
|
-
dni: string;
|
3171
|
-
seat: number | null;
|
3172
|
-
scanned: boolean;
|
3173
|
-
scannedAt: string | null;
|
3174
|
-
ticketGroupId: string | null;
|
3175
|
-
created_at: string;
|
3176
|
-
updated_at: string;
|
3228
|
+
success: boolean;
|
3177
3229
|
};
|
3178
3230
|
SendEmailResponseDto: {
|
3179
3231
|
mailId: string;
|
@@ -3223,6 +3275,14 @@ export interface components {
|
|
3223
3275
|
FindTicketsByEventDto: {
|
3224
3276
|
tickets: number;
|
3225
3277
|
};
|
3278
|
+
FindGroupTicketGroupDto: {
|
3279
|
+
id: string;
|
3280
|
+
amountTickets: number;
|
3281
|
+
status: "BOOKED" | "PAID" | "FREE";
|
3282
|
+
eventId: string;
|
3283
|
+
created_at: string;
|
3284
|
+
updated_at: string;
|
3285
|
+
};
|
3226
3286
|
UpdateTicketGroupDto: {
|
3227
3287
|
status?: "BOOKED" | "PAID" | "FREE";
|
3228
3288
|
};
|
@@ -3455,6 +3515,32 @@ export interface components {
|
|
3455
3515
|
expiresIn: number;
|
3456
3516
|
};
|
3457
3517
|
};
|
3518
|
+
CreatePreferenceDto: {
|
3519
|
+
items: {
|
3520
|
+
id: string;
|
3521
|
+
title: string;
|
3522
|
+
quantity: number;
|
3523
|
+
unit_price: number;
|
3524
|
+
}[];
|
3525
|
+
ticket_group_id: string;
|
3526
|
+
};
|
3527
|
+
CreatePreferenceResponseDto: {
|
3528
|
+
id: string;
|
3529
|
+
init_point: string;
|
3530
|
+
};
|
3531
|
+
WebhookDto: {
|
3532
|
+
data: {
|
3533
|
+
id: string;
|
3534
|
+
};
|
3535
|
+
action: string;
|
3536
|
+
api_version: string;
|
3537
|
+
date_created: string;
|
3538
|
+
id: string;
|
3539
|
+
live_mode: boolean;
|
3540
|
+
type: string;
|
3541
|
+
user_id: number;
|
3542
|
+
};
|
3543
|
+
Response: Record<string, never>;
|
3458
3544
|
};
|
3459
3545
|
responses: never;
|
3460
3546
|
parameters: never;
|
@@ -5438,7 +5524,44 @@ export interface operations {
|
|
5438
5524
|
[name: string]: unknown;
|
5439
5525
|
};
|
5440
5526
|
content: {
|
5441
|
-
"application/json": components["schemas"]["
|
5527
|
+
"application/json": components["schemas"]["CreateManyTicketResponseDto"];
|
5528
|
+
};
|
5529
|
+
};
|
5530
|
+
404: {
|
5531
|
+
headers: {
|
5532
|
+
[name: string]: unknown;
|
5533
|
+
};
|
5534
|
+
content: {
|
5535
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5536
|
+
};
|
5537
|
+
};
|
5538
|
+
409: {
|
5539
|
+
headers: {
|
5540
|
+
[name: string]: unknown;
|
5541
|
+
};
|
5542
|
+
content: {
|
5543
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5544
|
+
};
|
5545
|
+
};
|
5546
|
+
};
|
5547
|
+
};
|
5548
|
+
TicketController_getPdfsByTicketGroup: {
|
5549
|
+
parameters: {
|
5550
|
+
query?: never;
|
5551
|
+
header?: never;
|
5552
|
+
path: {
|
5553
|
+
ticketGroupId: string;
|
5554
|
+
};
|
5555
|
+
cookie?: never;
|
5556
|
+
};
|
5557
|
+
requestBody?: never;
|
5558
|
+
responses: {
|
5559
|
+
200: {
|
5560
|
+
headers: {
|
5561
|
+
[name: string]: unknown;
|
5562
|
+
};
|
5563
|
+
content: {
|
5564
|
+
"application/json": components["schemas"]["GetPdfsByTicketGroupResponseDto"];
|
5442
5565
|
};
|
5443
5566
|
};
|
5444
5567
|
404: {
|
@@ -5866,6 +5989,43 @@ export interface operations {
|
|
5866
5989
|
};
|
5867
5990
|
};
|
5868
5991
|
};
|
5992
|
+
TicketGroupController_findGroup: {
|
5993
|
+
parameters: {
|
5994
|
+
query?: never;
|
5995
|
+
header?: never;
|
5996
|
+
path: {
|
5997
|
+
id: string;
|
5998
|
+
};
|
5999
|
+
cookie?: never;
|
6000
|
+
};
|
6001
|
+
requestBody?: never;
|
6002
|
+
responses: {
|
6003
|
+
200: {
|
6004
|
+
headers: {
|
6005
|
+
[name: string]: unknown;
|
6006
|
+
};
|
6007
|
+
content: {
|
6008
|
+
"application/json": components["schemas"]["FindGroupTicketGroupDto"];
|
6009
|
+
};
|
6010
|
+
};
|
6011
|
+
404: {
|
6012
|
+
headers: {
|
6013
|
+
[name: string]: unknown;
|
6014
|
+
};
|
6015
|
+
content: {
|
6016
|
+
"application/json": components["schemas"]["ErrorDto"];
|
6017
|
+
};
|
6018
|
+
};
|
6019
|
+
409: {
|
6020
|
+
headers: {
|
6021
|
+
[name: string]: unknown;
|
6022
|
+
};
|
6023
|
+
content: {
|
6024
|
+
"application/json": components["schemas"]["ErrorDto"];
|
6025
|
+
};
|
6026
|
+
};
|
6027
|
+
};
|
6028
|
+
};
|
5869
6029
|
TicketGroupController_update: {
|
5870
6030
|
parameters: {
|
5871
6031
|
query?: never;
|
@@ -6202,4 +6362,77 @@ export interface operations {
|
|
6202
6362
|
};
|
6203
6363
|
};
|
6204
6364
|
};
|
6365
|
+
MercadoPagoController_createPreference: {
|
6366
|
+
parameters: {
|
6367
|
+
query?: never;
|
6368
|
+
header?: never;
|
6369
|
+
path?: never;
|
6370
|
+
cookie?: never;
|
6371
|
+
};
|
6372
|
+
requestBody: {
|
6373
|
+
content: {
|
6374
|
+
"application/json": components["schemas"]["CreatePreferenceDto"];
|
6375
|
+
};
|
6376
|
+
};
|
6377
|
+
responses: {
|
6378
|
+
200: {
|
6379
|
+
headers: {
|
6380
|
+
[name: string]: unknown;
|
6381
|
+
};
|
6382
|
+
content: {
|
6383
|
+
"application/json": components["schemas"]["CreatePreferenceResponseDto"];
|
6384
|
+
};
|
6385
|
+
};
|
6386
|
+
404: {
|
6387
|
+
headers: {
|
6388
|
+
[name: string]: unknown;
|
6389
|
+
};
|
6390
|
+
content: {
|
6391
|
+
"application/json": components["schemas"]["ErrorDto"];
|
6392
|
+
};
|
6393
|
+
};
|
6394
|
+
409: {
|
6395
|
+
headers: {
|
6396
|
+
[name: string]: unknown;
|
6397
|
+
};
|
6398
|
+
content: {
|
6399
|
+
"application/json": components["schemas"]["ErrorDto"];
|
6400
|
+
};
|
6401
|
+
};
|
6402
|
+
};
|
6403
|
+
};
|
6404
|
+
MercadoPagoController_webhook: {
|
6405
|
+
parameters: {
|
6406
|
+
query?: never;
|
6407
|
+
header: {
|
6408
|
+
"x-signature": string;
|
6409
|
+
"x-request-id": string;
|
6410
|
+
};
|
6411
|
+
path?: never;
|
6412
|
+
cookie?: never;
|
6413
|
+
};
|
6414
|
+
requestBody: {
|
6415
|
+
content: {
|
6416
|
+
"application/json": components["schemas"]["WebhookDto"];
|
6417
|
+
};
|
6418
|
+
};
|
6419
|
+
responses: {
|
6420
|
+
200: {
|
6421
|
+
headers: {
|
6422
|
+
[name: string]: unknown;
|
6423
|
+
};
|
6424
|
+
content: {
|
6425
|
+
"application/json": components["schemas"]["Response"];
|
6426
|
+
};
|
6427
|
+
};
|
6428
|
+
409: {
|
6429
|
+
headers: {
|
6430
|
+
[name: string]: unknown;
|
6431
|
+
};
|
6432
|
+
content: {
|
6433
|
+
"application/json": components["schemas"]["ErrorDto"];
|
6434
|
+
};
|
6435
|
+
};
|
6436
|
+
};
|
6437
|
+
};
|
6205
6438
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.44.0-EXPO-330-ExpoBackend-MercadoPago.1",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -37,6 +37,7 @@
|
|
37
37
|
"@anatine/zod-openapi": "^2.2.6",
|
38
38
|
"i18n-js": "^4.4.3",
|
39
39
|
"libphonenumber-js": "^1.12.6",
|
40
|
+
"mercadopago": "^2.4.0",
|
40
41
|
"patch-package": "^8.0.0",
|
41
42
|
"zod": "^3.23.8"
|
42
43
|
},
|
@@ -101,9 +102,6 @@
|
|
101
102
|
"tsconfig-paths": "^4.2.0",
|
102
103
|
"typescript": "^5.4.5"
|
103
104
|
},
|
104
|
-
"engines": {
|
105
|
-
"node": ">=20.0.0"
|
106
|
-
},
|
107
105
|
"main": "./dist/types/index.ts",
|
108
106
|
"exports": {
|
109
107
|
".": {
|