expo-backend-types 0.53.0-EXPO-366-EB-Schema-codigo-referido.7 → 0.53.0-EXPO-366-EB-Schema-codigo-referido.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.
@@ -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) {
@@ -3338,6 +3338,7 @@ export interface components {
3338
3338
  dni: string;
3339
3339
  ticketGroupId: string | null;
3340
3340
  profileId?: string;
3341
+ referralCode?: string | null;
3341
3342
  }[];
3342
3343
  };
3343
3344
  CreateManyTicketResponseDto: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.53.0-EXPO-366-EB-Schema-codigo-referido.7",
3
+ "version": "0.53.0-EXPO-366-EB-Schema-codigo-referido.8",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,