expo-backend-types 0.44.0-EXPO-330-ExpoBackend-MercadoPago.6 → 0.44.0-EXPO-330-ExpoBackend-MercadoPago.8
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.
@@ -46,24 +46,98 @@ export declare const typePreferenceError: z.ZodObject<{
|
|
46
46
|
cause: string;
|
47
47
|
}>;
|
48
48
|
export declare const createPreferenceResponseSchema: z.ZodObject<{
|
49
|
-
|
50
|
-
|
49
|
+
response: z.ZodUnion<[z.ZodObject<{
|
50
|
+
id: z.ZodString;
|
51
|
+
init_point: z.ZodString;
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
53
|
+
id: string;
|
54
|
+
init_point: string;
|
55
|
+
}, {
|
56
|
+
id: string;
|
57
|
+
init_point: string;
|
58
|
+
}>, z.ZodObject<{
|
59
|
+
message: z.ZodString;
|
60
|
+
error: z.ZodString;
|
61
|
+
status: z.ZodString;
|
62
|
+
cause: z.ZodString;
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
64
|
+
message: string;
|
65
|
+
status: string;
|
66
|
+
error: string;
|
67
|
+
cause: string;
|
68
|
+
}, {
|
69
|
+
message: string;
|
70
|
+
status: string;
|
71
|
+
error: string;
|
72
|
+
cause: string;
|
73
|
+
}>]>;
|
51
74
|
}, "strip", z.ZodTypeAny, {
|
52
|
-
|
53
|
-
|
75
|
+
response: {
|
76
|
+
message: string;
|
77
|
+
status: string;
|
78
|
+
error: string;
|
79
|
+
cause: string;
|
80
|
+
} | {
|
81
|
+
id: string;
|
82
|
+
init_point: string;
|
83
|
+
};
|
54
84
|
}, {
|
55
|
-
|
56
|
-
|
85
|
+
response: {
|
86
|
+
message: string;
|
87
|
+
status: string;
|
88
|
+
error: string;
|
89
|
+
cause: string;
|
90
|
+
} | {
|
91
|
+
id: string;
|
92
|
+
init_point: string;
|
93
|
+
};
|
57
94
|
}>;
|
58
95
|
declare const CreatePreferenceResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
59
|
-
|
60
|
-
|
96
|
+
response: z.ZodUnion<[z.ZodObject<{
|
97
|
+
id: z.ZodString;
|
98
|
+
init_point: z.ZodString;
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
100
|
+
id: string;
|
101
|
+
init_point: string;
|
102
|
+
}, {
|
103
|
+
id: string;
|
104
|
+
init_point: string;
|
105
|
+
}>, z.ZodObject<{
|
106
|
+
message: z.ZodString;
|
107
|
+
error: z.ZodString;
|
108
|
+
status: z.ZodString;
|
109
|
+
cause: z.ZodString;
|
110
|
+
}, "strip", z.ZodTypeAny, {
|
111
|
+
message: string;
|
112
|
+
status: string;
|
113
|
+
error: string;
|
114
|
+
cause: string;
|
115
|
+
}, {
|
116
|
+
message: string;
|
117
|
+
status: string;
|
118
|
+
error: string;
|
119
|
+
cause: string;
|
120
|
+
}>]>;
|
61
121
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
62
|
-
|
63
|
-
|
122
|
+
response: {
|
123
|
+
message: string;
|
124
|
+
status: string;
|
125
|
+
error: string;
|
126
|
+
cause: string;
|
127
|
+
} | {
|
128
|
+
id: string;
|
129
|
+
init_point: string;
|
130
|
+
};
|
64
131
|
}, {
|
65
|
-
|
66
|
-
|
132
|
+
response: {
|
133
|
+
message: string;
|
134
|
+
status: string;
|
135
|
+
error: string;
|
136
|
+
cause: string;
|
137
|
+
} | {
|
138
|
+
id: string;
|
139
|
+
init_point: string;
|
140
|
+
};
|
67
141
|
}>>;
|
68
142
|
export declare class CreatePreferenceResponseDto extends CreatePreferenceResponseDto_base {
|
69
143
|
}
|
@@ -21,9 +21,13 @@ exports.typePreferenceError = zod_1.default.object({
|
|
21
21
|
cause: zod_1.default.string(),
|
22
22
|
});
|
23
23
|
exports.createPreferenceResponseSchema = zod_1.default.object({
|
24
|
-
|
25
|
-
|
26
|
-
|
24
|
+
response: zod_1.default
|
25
|
+
.object({
|
26
|
+
id: zod_1.default.string(),
|
27
|
+
init_point: zod_1.default.string(),
|
28
|
+
})
|
29
|
+
.or(exports.typePreferenceError),
|
30
|
+
});
|
27
31
|
class CreatePreferenceResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createPreferenceResponseSchema) {
|
28
32
|
}
|
29
33
|
exports.CreatePreferenceResponseDto = CreatePreferenceResponseDto;
|
package/dist/types/schema.d.ts
CHANGED
@@ -3519,8 +3519,15 @@ export interface components {
|
|
3519
3519
|
ticket_type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
3520
3520
|
};
|
3521
3521
|
CreatePreferenceResponseDto: {
|
3522
|
-
|
3523
|
-
|
3522
|
+
response: {
|
3523
|
+
id: string;
|
3524
|
+
init_point: string;
|
3525
|
+
} | {
|
3526
|
+
message: string;
|
3527
|
+
error: string;
|
3528
|
+
status: string;
|
3529
|
+
cause: string;
|
3530
|
+
};
|
3524
3531
|
};
|
3525
3532
|
WebhookDto: {
|
3526
3533
|
data: {
|