expo-backend-types 0.59.0 → 0.60.0

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 (78) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +4 -4
  2. package/dist/src/account/dto/create-account.dto.d.ts +13 -13
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +10 -8
  4. package/dist/src/account/dto/get-me.dto.d.ts +26 -22
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +14 -12
  6. package/dist/src/auth/dto/login.dto.d.ts +10 -10
  7. package/dist/src/dynamic-form/dto/find-all-dynamic-form.dto.d.ts +18 -16
  8. package/dist/src/dynamic-form/dto/find-by-id-dynamic-question.dto.d.ts +14 -12
  9. package/dist/src/dynamic-form/dto/submit-dynamic-form.dto.d.ts +4 -4
  10. package/dist/src/event/dto/get-all-event.dto.d.ts +32 -28
  11. package/dist/src/event/dto/get-by-id-event.dto.d.ts +50 -40
  12. package/dist/src/event/dto/update-event.dto.d.ts +10 -8
  13. package/dist/src/exports.d.ts +1 -0
  14. package/dist/src/exports.js +1 -0
  15. package/dist/src/i18n/es.d.ts +34 -0
  16. package/dist/src/i18n/es.js +34 -0
  17. package/dist/src/i18n/es.js.map +1 -1
  18. package/dist/src/mi-expo/dto/get-me.dto.d.ts +4 -4
  19. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +6 -6
  20. package/dist/src/mi-expo/dto/login.dto.d.ts +6 -6
  21. package/dist/src/mi-expo/dto/update-me-first-time.dto.d.ts +4 -4
  22. package/dist/src/mi-expo/dto/update-me.dto.d.ts +4 -4
  23. package/dist/src/otp/dto/verify-otp.dto.d.ts +4 -4
  24. package/dist/src/production/dto/create-role.dto.d.ts +7 -4
  25. package/dist/src/production/dto/get-all-production.dto.d.ts +6 -6
  26. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +6 -6
  27. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +4 -4
  28. package/dist/src/profile/dto/delete-profile.dto.d.ts +2 -2
  29. package/dist/src/profile/dto/find-all-profile.dto.d.ts +18 -16
  30. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +30 -26
  31. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +14 -12
  32. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +2 -2
  33. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +18 -16
  34. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +18 -16
  35. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +18 -16
  36. package/dist/src/profile/dto/profile.dto.d.ts +1 -1
  37. package/dist/src/profile/dto/update-profile.dto.d.ts +2 -2
  38. package/dist/src/role/dto/allocate-participant-role.dto.d.ts +191 -0
  39. package/dist/src/role/dto/allocate-participant-role.dto.js +24 -0
  40. package/dist/src/role/dto/allocate-production-role.dto.d.ts +185 -0
  41. package/dist/src/role/dto/allocate-production-role.dto.js +22 -0
  42. package/dist/src/role/dto/create-role.dto.d.ts +92 -0
  43. package/dist/src/role/dto/create-role.dto.js +16 -0
  44. package/dist/src/role/dto/deallocate-all-role.dto.d.ts +185 -0
  45. package/dist/src/role/dto/deallocate-all-role.dto.js +22 -0
  46. package/dist/src/role/dto/delete-role.dto.d.ts +63 -0
  47. package/dist/src/role/dto/delete-role.dto.js +10 -0
  48. package/dist/src/role/dto/find-all-role.dto.d.ts +63 -0
  49. package/dist/src/role/dto/find-all-role.dto.js +10 -0
  50. package/dist/src/role/dto/update-role.dto.d.ts +92 -0
  51. package/dist/src/role/dto/update-role.dto.js +16 -0
  52. package/dist/src/role/exports.d.ts +7 -0
  53. package/dist/src/role/exports.js +24 -0
  54. package/dist/src/schema/profile.schema.d.ts +1 -1
  55. package/dist/src/tag/dto/create-tag.dto.d.ts +13 -8
  56. package/dist/src/tag/dto/delete-tag.dto.d.ts +6 -4
  57. package/dist/src/tag/dto/find-all-tag.dto.d.ts +10 -8
  58. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +10 -8
  59. package/dist/src/tag/dto/find-one-tag.dto.d.ts +6 -4
  60. package/dist/src/tag/dto/massive-allocation.dto.d.ts +4 -4
  61. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +4 -4
  62. package/dist/src/tag/dto/tag.dto.d.ts +6 -4
  63. package/dist/src/tag/dto/update-tag.dto.d.ts +7 -4
  64. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +14 -12
  65. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +14 -12
  66. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +10 -8
  67. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +6 -6
  68. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +6 -6
  69. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +6 -6
  70. package/dist/types/prisma-schema/edge.js +5 -4
  71. package/dist/types/prisma-schema/index-browser.js +2 -1
  72. package/dist/types/prisma-schema/index.d.ts +2 -1
  73. package/dist/types/prisma-schema/index.js +5 -4
  74. package/dist/types/prisma-schema/package.json +1 -1
  75. package/dist/types/prisma-schema/schema.prisma +1 -0
  76. package/dist/types/prisma-schema/wasm.js +2 -1
  77. package/dist/types/schema.d.ts +460 -27
  78. package/package.json +1 -1
@@ -0,0 +1,191 @@
1
+ import z from 'zod';
2
+ export declare const allocateParticipantRoleSchema: z.ZodObject<{
3
+ roleIds: z.ZodArray<z.ZodString, "many">;
4
+ profileId: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ profileId: string;
7
+ roleIds: string[];
8
+ }, {
9
+ profileId: string;
10
+ roleIds: string[];
11
+ }>;
12
+ declare const AllocateParticipantRoleDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
13
+ roleIds: z.ZodArray<z.ZodString, "many">;
14
+ profileId: z.ZodString;
15
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
16
+ profileId: string;
17
+ roleIds: string[];
18
+ }, {
19
+ profileId: string;
20
+ roleIds: string[];
21
+ }>>;
22
+ export declare class AllocateParticipantRoleDto extends AllocateParticipantRoleDto_base {
23
+ }
24
+ export declare const allocateParticipantRoleResponseSchema: z.ZodObject<Omit<{
25
+ id: z.ZodString;
26
+ shortId: z.ZodNumber;
27
+ role: z.ZodDefault<z.ZodNativeEnum<{
28
+ USER: "USER";
29
+ ADMIN: "ADMIN";
30
+ FORM: "FORM";
31
+ TICKETS: "TICKETS";
32
+ MI_EXPO: "MI_EXPO";
33
+ }>>;
34
+ firstTimeMiExpo: z.ZodBoolean;
35
+ username: z.ZodNullable<z.ZodString>;
36
+ password: z.ZodNullable<z.ZodString>;
37
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
38
+ isPhoneVerified: z.ZodBoolean;
39
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
40
+ fullName: z.ZodString;
41
+ firstName: z.ZodNullable<z.ZodString>;
42
+ gender: z.ZodNullable<z.ZodString>;
43
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
44
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
45
+ instagram: z.ZodNullable<z.ZodString>;
46
+ mail: z.ZodNullable<z.ZodString>;
47
+ dni: z.ZodNullable<z.ZodString>;
48
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
49
+ birthLocationId: z.ZodNullable<z.ZodString>;
50
+ residenceLocationId: z.ZodNullable<z.ZodString>;
51
+ isInTrash: z.ZodBoolean;
52
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
53
+ created_at: z.ZodDate;
54
+ updated_at: z.ZodDate;
55
+ referralCode: z.ZodString;
56
+ }, "password">, "strip", z.ZodTypeAny, {
57
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
58
+ id: string;
59
+ username: string | null;
60
+ phoneNumber: string;
61
+ secondaryPhoneNumber: string | null;
62
+ fullName: string;
63
+ profilePictureUrl: string | null;
64
+ mail: string | null;
65
+ dni: string | null;
66
+ created_at: Date;
67
+ updated_at: Date;
68
+ referralCode: string;
69
+ shortId: number;
70
+ firstTimeMiExpo: boolean;
71
+ isPhoneVerified: boolean;
72
+ firstName: string | null;
73
+ gender: string | null;
74
+ birthDate: Date | null;
75
+ instagram: string | null;
76
+ alternativeNames: string[];
77
+ birthLocationId: string | null;
78
+ residenceLocationId: string | null;
79
+ isInTrash: boolean;
80
+ movedToTrashDate: Date | null;
81
+ }, {
82
+ id: string;
83
+ username: string | null;
84
+ phoneNumber: string;
85
+ secondaryPhoneNumber: string | null;
86
+ fullName: string;
87
+ profilePictureUrl: string | null;
88
+ mail: string | null;
89
+ dni: string | null;
90
+ created_at: Date;
91
+ updated_at: Date;
92
+ referralCode: string;
93
+ shortId: number;
94
+ firstTimeMiExpo: boolean;
95
+ isPhoneVerified: boolean;
96
+ firstName: string | null;
97
+ gender: string | null;
98
+ birthDate: string | null;
99
+ instagram: string | null;
100
+ alternativeNames: string[];
101
+ birthLocationId: string | null;
102
+ residenceLocationId: string | null;
103
+ isInTrash: boolean;
104
+ movedToTrashDate: Date | null;
105
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
106
+ }>;
107
+ declare const AllocateParticipantRoleResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
108
+ role: z.ZodDefault<z.ZodNativeEnum<{
109
+ USER: "USER";
110
+ ADMIN: "ADMIN";
111
+ FORM: "FORM";
112
+ TICKETS: "TICKETS";
113
+ MI_EXPO: "MI_EXPO";
114
+ }>>;
115
+ id: z.ZodString;
116
+ username: z.ZodNullable<z.ZodString>;
117
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
118
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
119
+ fullName: z.ZodString;
120
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
121
+ mail: z.ZodNullable<z.ZodString>;
122
+ dni: z.ZodNullable<z.ZodString>;
123
+ created_at: z.ZodString;
124
+ updated_at: z.ZodString;
125
+ referralCode: z.ZodString;
126
+ shortId: z.ZodNumber;
127
+ firstTimeMiExpo: z.ZodBoolean;
128
+ isPhoneVerified: z.ZodBoolean;
129
+ firstName: z.ZodNullable<z.ZodString>;
130
+ gender: z.ZodNullable<z.ZodString>;
131
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
132
+ instagram: z.ZodNullable<z.ZodString>;
133
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
134
+ birthLocationId: z.ZodNullable<z.ZodString>;
135
+ residenceLocationId: z.ZodNullable<z.ZodString>;
136
+ isInTrash: z.ZodBoolean;
137
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
138
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
139
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
140
+ id: string;
141
+ username: string | null;
142
+ phoneNumber: string;
143
+ secondaryPhoneNumber: string | null;
144
+ fullName: string;
145
+ profilePictureUrl: string | null;
146
+ mail: string | null;
147
+ dni: string | null;
148
+ created_at: string;
149
+ updated_at: string;
150
+ referralCode: string;
151
+ shortId: number;
152
+ firstTimeMiExpo: boolean;
153
+ isPhoneVerified: boolean;
154
+ firstName: string | null;
155
+ gender: string | null;
156
+ birthDate: string | null;
157
+ instagram: string | null;
158
+ alternativeNames: string[];
159
+ birthLocationId: string | null;
160
+ residenceLocationId: string | null;
161
+ isInTrash: boolean;
162
+ movedToTrashDate: string | null;
163
+ }, {
164
+ id: string;
165
+ username: string | null;
166
+ phoneNumber: string;
167
+ secondaryPhoneNumber: string | null;
168
+ fullName: string;
169
+ profilePictureUrl: string | null;
170
+ mail: string | null;
171
+ dni: string | null;
172
+ created_at: string;
173
+ updated_at: string;
174
+ referralCode: string;
175
+ shortId: number;
176
+ firstTimeMiExpo: boolean;
177
+ isPhoneVerified: boolean;
178
+ firstName: string | null;
179
+ gender: string | null;
180
+ birthDate: string | null;
181
+ instagram: string | null;
182
+ alternativeNames: string[];
183
+ birthLocationId: string | null;
184
+ residenceLocationId: string | null;
185
+ isInTrash: boolean;
186
+ movedToTrashDate: string | null;
187
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
188
+ }>>;
189
+ export declare class AllocateParticipantRoleResponseDto extends AllocateParticipantRoleResponseDto_base {
190
+ }
191
+ export {};
@@ -0,0 +1,24 @@
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.AllocateParticipantRoleResponseDto = exports.allocateParticipantRoleResponseSchema = exports.AllocateParticipantRoleDto = exports.allocateParticipantRoleSchema = void 0;
7
+ const profile_schema_1 = require("../../schema/profile.schema");
8
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
10
+ const zod_1 = __importDefault(require("zod"));
11
+ exports.allocateParticipantRoleSchema = zod_1.default.object({
12
+ roleIds: tag_dto_1.tagSchema.shape.id.array(),
13
+ profileId: profile_schema_1.profileSchema.shape.id,
14
+ });
15
+ class AllocateParticipantRoleDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.allocateParticipantRoleSchema) {
16
+ }
17
+ exports.AllocateParticipantRoleDto = AllocateParticipantRoleDto;
18
+ exports.allocateParticipantRoleResponseSchema = profile_schema_1.profileSchema.omit({
19
+ password: true,
20
+ });
21
+ class AllocateParticipantRoleResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.allocateParticipantRoleResponseSchema) {
22
+ }
23
+ exports.AllocateParticipantRoleResponseDto = AllocateParticipantRoleResponseDto;
24
+ //# sourceMappingURL=allocate-participant-role.dto.js.map
@@ -0,0 +1,185 @@
1
+ import z from 'zod';
2
+ export declare const allocateProductionRoleSchema: z.ZodObject<{
3
+ profileId: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ profileId: string;
6
+ }, {
7
+ profileId: string;
8
+ }>;
9
+ declare const AllocateProductionRoleDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
10
+ profileId: z.ZodString;
11
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
12
+ profileId: string;
13
+ }, {
14
+ profileId: string;
15
+ }>>;
16
+ export declare class AllocateProductionRoleDto extends AllocateProductionRoleDto_base {
17
+ }
18
+ export declare const allocateProductionRoleResponseSchema: z.ZodObject<Omit<{
19
+ id: z.ZodString;
20
+ shortId: z.ZodNumber;
21
+ role: z.ZodDefault<z.ZodNativeEnum<{
22
+ USER: "USER";
23
+ ADMIN: "ADMIN";
24
+ FORM: "FORM";
25
+ TICKETS: "TICKETS";
26
+ MI_EXPO: "MI_EXPO";
27
+ }>>;
28
+ firstTimeMiExpo: z.ZodBoolean;
29
+ username: z.ZodNullable<z.ZodString>;
30
+ password: z.ZodNullable<z.ZodString>;
31
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
32
+ isPhoneVerified: z.ZodBoolean;
33
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
34
+ fullName: z.ZodString;
35
+ firstName: z.ZodNullable<z.ZodString>;
36
+ gender: z.ZodNullable<z.ZodString>;
37
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
38
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
39
+ instagram: z.ZodNullable<z.ZodString>;
40
+ mail: z.ZodNullable<z.ZodString>;
41
+ dni: z.ZodNullable<z.ZodString>;
42
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
43
+ birthLocationId: z.ZodNullable<z.ZodString>;
44
+ residenceLocationId: z.ZodNullable<z.ZodString>;
45
+ isInTrash: z.ZodBoolean;
46
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
47
+ created_at: z.ZodDate;
48
+ updated_at: z.ZodDate;
49
+ referralCode: z.ZodString;
50
+ }, "password">, "strip", z.ZodTypeAny, {
51
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
52
+ id: string;
53
+ username: string | null;
54
+ phoneNumber: string;
55
+ secondaryPhoneNumber: string | null;
56
+ fullName: string;
57
+ profilePictureUrl: string | null;
58
+ mail: string | null;
59
+ dni: string | null;
60
+ created_at: Date;
61
+ updated_at: Date;
62
+ referralCode: string;
63
+ shortId: number;
64
+ firstTimeMiExpo: boolean;
65
+ isPhoneVerified: boolean;
66
+ firstName: string | null;
67
+ gender: string | null;
68
+ birthDate: Date | null;
69
+ instagram: string | null;
70
+ alternativeNames: string[];
71
+ birthLocationId: string | null;
72
+ residenceLocationId: string | null;
73
+ isInTrash: boolean;
74
+ movedToTrashDate: Date | null;
75
+ }, {
76
+ id: string;
77
+ username: string | null;
78
+ phoneNumber: string;
79
+ secondaryPhoneNumber: string | null;
80
+ fullName: string;
81
+ profilePictureUrl: string | null;
82
+ mail: string | null;
83
+ dni: string | null;
84
+ created_at: Date;
85
+ updated_at: Date;
86
+ referralCode: string;
87
+ shortId: number;
88
+ firstTimeMiExpo: boolean;
89
+ isPhoneVerified: boolean;
90
+ firstName: string | null;
91
+ gender: string | null;
92
+ birthDate: string | null;
93
+ instagram: string | null;
94
+ alternativeNames: string[];
95
+ birthLocationId: string | null;
96
+ residenceLocationId: string | null;
97
+ isInTrash: boolean;
98
+ movedToTrashDate: Date | null;
99
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
100
+ }>;
101
+ declare const AllocateProductionRoleResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
102
+ role: z.ZodDefault<z.ZodNativeEnum<{
103
+ USER: "USER";
104
+ ADMIN: "ADMIN";
105
+ FORM: "FORM";
106
+ TICKETS: "TICKETS";
107
+ MI_EXPO: "MI_EXPO";
108
+ }>>;
109
+ id: z.ZodString;
110
+ username: z.ZodNullable<z.ZodString>;
111
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
112
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
113
+ fullName: z.ZodString;
114
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
115
+ mail: z.ZodNullable<z.ZodString>;
116
+ dni: z.ZodNullable<z.ZodString>;
117
+ created_at: z.ZodString;
118
+ updated_at: z.ZodString;
119
+ referralCode: z.ZodString;
120
+ shortId: z.ZodNumber;
121
+ firstTimeMiExpo: z.ZodBoolean;
122
+ isPhoneVerified: z.ZodBoolean;
123
+ firstName: z.ZodNullable<z.ZodString>;
124
+ gender: z.ZodNullable<z.ZodString>;
125
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
126
+ instagram: z.ZodNullable<z.ZodString>;
127
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
128
+ birthLocationId: z.ZodNullable<z.ZodString>;
129
+ residenceLocationId: z.ZodNullable<z.ZodString>;
130
+ isInTrash: z.ZodBoolean;
131
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
132
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
133
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
134
+ id: string;
135
+ username: string | null;
136
+ phoneNumber: string;
137
+ secondaryPhoneNumber: string | null;
138
+ fullName: string;
139
+ profilePictureUrl: string | null;
140
+ mail: string | null;
141
+ dni: string | null;
142
+ created_at: string;
143
+ updated_at: string;
144
+ referralCode: string;
145
+ shortId: number;
146
+ firstTimeMiExpo: boolean;
147
+ isPhoneVerified: boolean;
148
+ firstName: string | null;
149
+ gender: string | null;
150
+ birthDate: string | null;
151
+ instagram: string | null;
152
+ alternativeNames: string[];
153
+ birthLocationId: string | null;
154
+ residenceLocationId: string | null;
155
+ isInTrash: boolean;
156
+ movedToTrashDate: string | null;
157
+ }, {
158
+ id: string;
159
+ username: string | null;
160
+ phoneNumber: string;
161
+ secondaryPhoneNumber: string | null;
162
+ fullName: string;
163
+ profilePictureUrl: string | null;
164
+ mail: string | null;
165
+ dni: string | null;
166
+ created_at: string;
167
+ updated_at: string;
168
+ referralCode: string;
169
+ shortId: number;
170
+ firstTimeMiExpo: boolean;
171
+ isPhoneVerified: boolean;
172
+ firstName: string | null;
173
+ gender: string | null;
174
+ birthDate: string | null;
175
+ instagram: string | null;
176
+ alternativeNames: string[];
177
+ birthLocationId: string | null;
178
+ residenceLocationId: string | null;
179
+ isInTrash: boolean;
180
+ movedToTrashDate: string | null;
181
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
182
+ }>>;
183
+ export declare class AllocateProductionRoleResponseDto extends AllocateProductionRoleResponseDto_base {
184
+ }
185
+ export {};
@@ -0,0 +1,22 @@
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.AllocateProductionRoleResponseDto = exports.allocateProductionRoleResponseSchema = exports.AllocateProductionRoleDto = exports.allocateProductionRoleSchema = void 0;
7
+ const profile_schema_1 = require("../../schema/profile.schema");
8
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
+ const zod_1 = __importDefault(require("zod"));
10
+ exports.allocateProductionRoleSchema = zod_1.default.object({
11
+ profileId: profile_schema_1.profileSchema.shape.id,
12
+ });
13
+ class AllocateProductionRoleDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.allocateProductionRoleSchema) {
14
+ }
15
+ exports.AllocateProductionRoleDto = AllocateProductionRoleDto;
16
+ exports.allocateProductionRoleResponseSchema = profile_schema_1.profileSchema.omit({
17
+ password: true,
18
+ });
19
+ class AllocateProductionRoleResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.allocateProductionRoleResponseSchema) {
20
+ }
21
+ exports.AllocateProductionRoleResponseDto = AllocateProductionRoleResponseDto;
22
+ //# sourceMappingURL=allocate-production-role.dto.js.map
@@ -0,0 +1,92 @@
1
+ export declare const createRoleSchema: import("zod").ZodObject<Pick<{
2
+ id: import("zod").ZodString;
3
+ name: import("zod").ZodString;
4
+ groupId: import("zod").ZodString;
5
+ type: import("zod").ZodNativeEnum<{
6
+ PROFILE: "PROFILE";
7
+ EVENT: "EVENT";
8
+ PARTICIPANT: "PARTICIPANT";
9
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
10
+ PRODUCTION_ROLE: "PRODUCTION_ROLE";
11
+ FORM_OPTION: "FORM_OPTION";
12
+ PARTICIPANT_ROLE: "PARTICIPANT_ROLE";
13
+ }>;
14
+ created_at: import("zod").ZodDate;
15
+ updated_at: import("zod").ZodDate;
16
+ }, "name">, "strip", import("zod").ZodTypeAny, {
17
+ name: string;
18
+ }, {
19
+ name: string;
20
+ }>;
21
+ declare const CreateRoleDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
22
+ name: import("zod").ZodString;
23
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
24
+ name: string;
25
+ }, {
26
+ name: string;
27
+ }>>;
28
+ export declare class CreateRoleDto extends CreateRoleDto_base {
29
+ }
30
+ export declare const createRoleResponseSchema: import("zod").ZodObject<{
31
+ id: import("zod").ZodString;
32
+ name: import("zod").ZodString;
33
+ groupId: import("zod").ZodString;
34
+ type: import("zod").ZodNativeEnum<{
35
+ PROFILE: "PROFILE";
36
+ EVENT: "EVENT";
37
+ PARTICIPANT: "PARTICIPANT";
38
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
39
+ PRODUCTION_ROLE: "PRODUCTION_ROLE";
40
+ FORM_OPTION: "FORM_OPTION";
41
+ PARTICIPANT_ROLE: "PARTICIPANT_ROLE";
42
+ }>;
43
+ created_at: import("zod").ZodDate;
44
+ updated_at: import("zod").ZodDate;
45
+ }, "strip", import("zod").ZodTypeAny, {
46
+ id: string;
47
+ name: string;
48
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION" | "PARTICIPANT_ROLE";
49
+ created_at: Date;
50
+ updated_at: Date;
51
+ groupId: string;
52
+ }, {
53
+ id: string;
54
+ name: string;
55
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION" | "PARTICIPANT_ROLE";
56
+ created_at: Date;
57
+ updated_at: Date;
58
+ groupId: string;
59
+ }>;
60
+ declare const CreateRoleResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
61
+ id: import("zod").ZodString;
62
+ name: import("zod").ZodString;
63
+ groupId: import("zod").ZodString;
64
+ type: import("zod").ZodNativeEnum<{
65
+ PROFILE: "PROFILE";
66
+ EVENT: "EVENT";
67
+ PARTICIPANT: "PARTICIPANT";
68
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
69
+ PRODUCTION_ROLE: "PRODUCTION_ROLE";
70
+ FORM_OPTION: "FORM_OPTION";
71
+ PARTICIPANT_ROLE: "PARTICIPANT_ROLE";
72
+ }>;
73
+ created_at: import("zod").ZodString;
74
+ updated_at: import("zod").ZodString;
75
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
76
+ id: string;
77
+ name: string;
78
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION" | "PARTICIPANT_ROLE";
79
+ created_at: string;
80
+ updated_at: string;
81
+ groupId: string;
82
+ }, {
83
+ id: string;
84
+ name: string;
85
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION" | "PARTICIPANT_ROLE";
86
+ created_at: string;
87
+ updated_at: string;
88
+ groupId: string;
89
+ }>>;
90
+ export declare class CreateRoleResponseDto extends CreateRoleResponseDto_base {
91
+ }
92
+ export {};
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateRoleResponseDto = exports.createRoleResponseSchema = exports.CreateRoleDto = exports.createRoleSchema = void 0;
4
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
6
+ exports.createRoleSchema = tag_dto_1.tagSchema.pick({
7
+ name: true,
8
+ });
9
+ class CreateRoleDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createRoleSchema) {
10
+ }
11
+ exports.CreateRoleDto = CreateRoleDto;
12
+ exports.createRoleResponseSchema = tag_dto_1.tagSchema;
13
+ class CreateRoleResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createRoleResponseSchema) {
14
+ }
15
+ exports.CreateRoleResponseDto = CreateRoleResponseDto;
16
+ //# sourceMappingURL=create-role.dto.js.map