expo-backend-types 0.53.0-EXPO-366-EB-Schema-codigo-referido.7 → 0.53.0-EXPO-366-EB-Schema-codigo-referido.9
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.
@@ -19,6 +19,7 @@ export declare const createManyTicketSchema: z.ZodObject<{
|
|
19
19
|
updated_at: z.ZodDate;
|
20
20
|
}, "type" | "fullName" | "mail" | "eventId" | "dni" | "ticketGroupId">, {
|
21
21
|
profileId: z.ZodOptional<z.ZodString>;
|
22
|
+
referralCode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
22
23
|
}>, "strip", z.ZodTypeAny, {
|
23
24
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
24
25
|
fullName: string;
|
@@ -27,6 +28,7 @@ export declare const createManyTicketSchema: z.ZodObject<{
|
|
27
28
|
dni: string;
|
28
29
|
ticketGroupId: string | null;
|
29
30
|
profileId?: string | undefined;
|
31
|
+
referralCode?: string | null | undefined;
|
30
32
|
}, {
|
31
33
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
32
34
|
fullName: string;
|
@@ -35,6 +37,7 @@ export declare const createManyTicketSchema: z.ZodObject<{
|
|
35
37
|
dni: string;
|
36
38
|
ticketGroupId: string | null;
|
37
39
|
profileId?: string | undefined;
|
40
|
+
referralCode?: string | null | undefined;
|
38
41
|
}>, "many">;
|
39
42
|
}, "strip", z.ZodTypeAny, {
|
40
43
|
tickets: {
|
@@ -45,6 +48,7 @@ export declare const createManyTicketSchema: z.ZodObject<{
|
|
45
48
|
dni: string;
|
46
49
|
ticketGroupId: string | null;
|
47
50
|
profileId?: string | undefined;
|
51
|
+
referralCode?: string | null | undefined;
|
48
52
|
}[];
|
49
53
|
}, {
|
50
54
|
tickets: {
|
@@ -55,6 +59,7 @@ export declare const createManyTicketSchema: z.ZodObject<{
|
|
55
59
|
dni: string;
|
56
60
|
ticketGroupId: string | null;
|
57
61
|
profileId?: string | undefined;
|
62
|
+
referralCode?: string | null | undefined;
|
58
63
|
}[];
|
59
64
|
}>;
|
60
65
|
declare const CreateManyTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
@@ -70,6 +75,7 @@ declare const CreateManyTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStat
|
|
70
75
|
dni: z.ZodString;
|
71
76
|
ticketGroupId: z.ZodNullable<z.ZodString>;
|
72
77
|
profileId: z.ZodOptional<z.ZodString>;
|
78
|
+
referralCode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
73
79
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
74
80
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
75
81
|
fullName: string;
|
@@ -78,6 +84,7 @@ declare const CreateManyTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStat
|
|
78
84
|
dni: string;
|
79
85
|
ticketGroupId: string | null;
|
80
86
|
profileId?: string | undefined;
|
87
|
+
referralCode?: string | null | undefined;
|
81
88
|
}, {
|
82
89
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
83
90
|
fullName: string;
|
@@ -86,6 +93,7 @@ declare const CreateManyTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStat
|
|
86
93
|
dni: string;
|
87
94
|
ticketGroupId: string | null;
|
88
95
|
profileId?: string | undefined;
|
96
|
+
referralCode?: string | null | undefined;
|
89
97
|
}>, "many">;
|
90
98
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
91
99
|
tickets: {
|
@@ -96,6 +104,7 @@ declare const CreateManyTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStat
|
|
96
104
|
dni: string;
|
97
105
|
ticketGroupId: string | null;
|
98
106
|
profileId?: string | undefined;
|
107
|
+
referralCode?: string | null | undefined;
|
99
108
|
}[];
|
100
109
|
}, {
|
101
110
|
tickets: {
|
@@ -106,6 +115,7 @@ declare const CreateManyTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStat
|
|
106
115
|
dni: string;
|
107
116
|
ticketGroupId: string | null;
|
108
117
|
profileId?: string | undefined;
|
118
|
+
referralCode?: string | null | undefined;
|
109
119
|
}[];
|
110
120
|
}>>;
|
111
121
|
export declare class CreateManyTicketDto extends CreateManyTicketDto_base {
|
@@ -7,6 +7,7 @@ exports.CreateManyTicketResponseDto = exports.createManyTicketResponseSchema = e
|
|
7
7
|
const event_dto_1 = require("../../event/dto/event.dto");
|
8
8
|
const profile_schema_1 = require("../../schema/profile.schema");
|
9
9
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
|
+
const ticket_group_dto_1 = require("../../ticket-group/dto/ticket-group.dto");
|
10
11
|
const zod_1 = __importDefault(require("zod"));
|
11
12
|
const ticket_dto_1 = require("./ticket.dto");
|
12
13
|
exports.createManyTicketSchema = zod_1.default.object({
|
@@ -21,6 +22,7 @@ exports.createManyTicketSchema = zod_1.default.object({
|
|
21
22
|
})
|
22
23
|
.extend({
|
23
24
|
profileId: profile_schema_1.profileSchema.shape.id.optional(),
|
25
|
+
referralCode: ticket_group_dto_1.ticketGroupSchema.shape.referralCode.optional(),
|
24
26
|
})),
|
25
27
|
});
|
26
28
|
class CreateManyTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketSchema) {
|
@@ -18,6 +18,7 @@ export declare const createTicketSchema: import("zod").ZodObject<import("zod").o
|
|
18
18
|
}, "type" | "fullName" | "mail" | "eventId" | "dni">, {
|
19
19
|
profileId: import("zod").ZodOptional<import("zod").ZodString>;
|
20
20
|
ticketGroupId: import("zod").ZodOptional<import("zod").ZodString>;
|
21
|
+
referralCode: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
21
22
|
}>, "strip", import("zod").ZodTypeAny, {
|
22
23
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
23
24
|
fullName: string;
|
@@ -25,6 +26,7 @@ export declare const createTicketSchema: import("zod").ZodObject<import("zod").o
|
|
25
26
|
eventId: string;
|
26
27
|
dni: string;
|
27
28
|
profileId?: string | undefined;
|
29
|
+
referralCode?: string | null | undefined;
|
28
30
|
ticketGroupId?: string | undefined;
|
29
31
|
}, {
|
30
32
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
@@ -33,6 +35,7 @@ export declare const createTicketSchema: import("zod").ZodObject<import("zod").o
|
|
33
35
|
eventId: string;
|
34
36
|
dni: string;
|
35
37
|
profileId?: string | undefined;
|
38
|
+
referralCode?: string | null | undefined;
|
36
39
|
ticketGroupId?: string | undefined;
|
37
40
|
}>;
|
38
41
|
declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
@@ -47,6 +50,7 @@ declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
|
|
47
50
|
dni: import("zod").ZodString;
|
48
51
|
profileId: import("zod").ZodOptional<import("zod").ZodString>;
|
49
52
|
ticketGroupId: import("zod").ZodOptional<import("zod").ZodString>;
|
53
|
+
referralCode: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
50
54
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
51
55
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
52
56
|
fullName: string;
|
@@ -54,6 +58,7 @@ declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
|
|
54
58
|
eventId: string;
|
55
59
|
dni: string;
|
56
60
|
profileId?: string | undefined;
|
61
|
+
referralCode?: string | null | undefined;
|
57
62
|
ticketGroupId?: string | undefined;
|
58
63
|
}, {
|
59
64
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
@@ -62,6 +67,7 @@ declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
|
|
62
67
|
eventId: string;
|
63
68
|
dni: string;
|
64
69
|
profileId?: string | undefined;
|
70
|
+
referralCode?: string | null | undefined;
|
65
71
|
ticketGroupId?: string | undefined;
|
66
72
|
}>>;
|
67
73
|
export declare class CreateTicketDto extends CreateTicketDto_base {
|
@@ -17,6 +17,7 @@ exports.createTicketSchema = ticket_dto_1.ticketSchema
|
|
17
17
|
.extend({
|
18
18
|
profileId: profile_schema_1.profileSchema.shape.id.optional(),
|
19
19
|
ticketGroupId: ticket_group_dto_1.ticketGroupSchema.shape.id.optional(),
|
20
|
+
referralCode: ticket_group_dto_1.ticketGroupSchema.shape.referralCode.optional(),
|
20
21
|
});
|
21
22
|
class CreateTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTicketSchema) {
|
22
23
|
}
|
package/dist/types/schema.d.ts
CHANGED
@@ -3296,6 +3296,7 @@ export interface components {
|
|
3296
3296
|
dni: string;
|
3297
3297
|
profileId?: string;
|
3298
3298
|
ticketGroupId?: string;
|
3299
|
+
referralCode?: string | null;
|
3299
3300
|
};
|
3300
3301
|
CreateTicketResponseDto: {
|
3301
3302
|
id: string;
|
@@ -3338,6 +3339,7 @@ export interface components {
|
|
3338
3339
|
dni: string;
|
3339
3340
|
ticketGroupId: string | null;
|
3340
3341
|
profileId?: string;
|
3342
|
+
referralCode?: string | null;
|
3341
3343
|
}[];
|
3342
3344
|
};
|
3343
3345
|
CreateManyTicketResponseDto: {
|