expo-backend-types 0.59.0 → 0.60.0-feat-desfile-12-octubre.2

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 (99) 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/create-event.dto.d.ts +46 -0
  11. package/dist/src/event/dto/create-event.dto.js +1 -0
  12. package/dist/src/event/dto/event.dto.d.ts +13 -0
  13. package/dist/src/event/dto/event.dto.js +10 -1
  14. package/dist/src/event/dto/get-all-event.dto.d.ts +32 -28
  15. package/dist/src/event/dto/get-all-statistics.dto.d.ts +15 -0
  16. package/dist/src/event/dto/get-by-id-event.dto.d.ts +80 -40
  17. package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +15 -0
  18. package/dist/src/event/dto/update-event.dto.d.ts +56 -8
  19. package/dist/src/event/dto/update-event.dto.js +1 -0
  20. package/dist/src/exports.d.ts +1 -0
  21. package/dist/src/exports.js +1 -0
  22. package/dist/src/i18n/es.d.ts +43 -0
  23. package/dist/src/i18n/es.js +43 -0
  24. package/dist/src/i18n/es.js.map +1 -1
  25. package/dist/src/mi-expo/dto/get-me.dto.d.ts +4 -4
  26. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +6 -6
  27. package/dist/src/mi-expo/dto/login.dto.d.ts +6 -6
  28. package/dist/src/mi-expo/dto/update-me-first-time.dto.d.ts +4 -4
  29. package/dist/src/mi-expo/dto/update-me.dto.d.ts +4 -4
  30. package/dist/src/otp/dto/verify-otp.dto.d.ts +4 -4
  31. package/dist/src/production/dto/create-role.dto.d.ts +7 -4
  32. package/dist/src/production/dto/get-all-production.dto.d.ts +6 -6
  33. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +6 -6
  34. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +4 -4
  35. package/dist/src/profile/dto/delete-profile.dto.d.ts +2 -2
  36. package/dist/src/profile/dto/find-all-profile.dto.d.ts +18 -16
  37. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +30 -26
  38. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +14 -12
  39. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +2 -2
  40. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +18 -16
  41. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +18 -16
  42. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +18 -16
  43. package/dist/src/profile/dto/profile.dto.d.ts +1 -1
  44. package/dist/src/profile/dto/update-profile.dto.d.ts +2 -2
  45. package/dist/src/role/dto/allocate-participant-role.dto.d.ts +191 -0
  46. package/dist/src/role/dto/allocate-participant-role.dto.js +24 -0
  47. package/dist/src/role/dto/allocate-production-role.dto.d.ts +185 -0
  48. package/dist/src/role/dto/allocate-production-role.dto.js +22 -0
  49. package/dist/src/role/dto/create-role.dto.d.ts +92 -0
  50. package/dist/src/role/dto/create-role.dto.js +16 -0
  51. package/dist/src/role/dto/deallocate-all-role.dto.d.ts +185 -0
  52. package/dist/src/role/dto/deallocate-all-role.dto.js +22 -0
  53. package/dist/src/role/dto/delete-role.dto.d.ts +63 -0
  54. package/dist/src/role/dto/delete-role.dto.js +10 -0
  55. package/dist/src/role/dto/find-all-role.dto.d.ts +63 -0
  56. package/dist/src/role/dto/find-all-role.dto.js +10 -0
  57. package/dist/src/role/dto/update-role.dto.d.ts +92 -0
  58. package/dist/src/role/dto/update-role.dto.js +16 -0
  59. package/dist/src/role/exports.d.ts +7 -0
  60. package/dist/src/role/exports.js +24 -0
  61. package/dist/src/schema/profile.schema.d.ts +1 -1
  62. package/dist/src/tag/dto/create-tag.dto.d.ts +13 -8
  63. package/dist/src/tag/dto/delete-tag.dto.d.ts +6 -4
  64. package/dist/src/tag/dto/find-all-tag.dto.d.ts +10 -8
  65. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +10 -8
  66. package/dist/src/tag/dto/find-one-tag.dto.d.ts +6 -4
  67. package/dist/src/tag/dto/massive-allocation.dto.d.ts +4 -4
  68. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +4 -4
  69. package/dist/src/tag/dto/tag.dto.d.ts +6 -4
  70. package/dist/src/tag/dto/update-tag.dto.d.ts +7 -4
  71. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +14 -12
  72. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +14 -12
  73. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +10 -8
  74. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +49 -1
  75. package/dist/src/ticket/dto/create-many-ticket.dto.js +3 -0
  76. package/dist/src/ticket/dto/create-ticket.dto.d.ts +37 -1
  77. package/dist/src/ticket/dto/create-ticket.dto.js +3 -0
  78. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +18 -0
  79. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +30 -0
  80. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +36 -6
  81. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +36 -6
  82. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +36 -6
  83. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +30 -0
  84. package/dist/src/ticket/dto/find-ticket.dto.d.ts +18 -0
  85. package/dist/src/ticket/dto/get-pdfs-by-group-ticket.dto.d.ts +15 -0
  86. package/dist/src/ticket/dto/scan-ticket.dto.d.ts +18 -0
  87. package/dist/src/ticket/dto/ticket.dto.d.ts +18 -0
  88. package/dist/src/ticket/dto/ticket.dto.js +4 -0
  89. package/dist/src/ticket/dto/update-ticket.dto.d.ts +18 -0
  90. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +30 -0
  91. package/dist/types/prisma-schema/edge.js +20 -5
  92. package/dist/types/prisma-schema/index-browser.js +17 -2
  93. package/dist/types/prisma-schema/index.d.ts +1871 -4
  94. package/dist/types/prisma-schema/index.js +20 -5
  95. package/dist/types/prisma-schema/package.json +1 -1
  96. package/dist/types/prisma-schema/schema.prisma +30 -0
  97. package/dist/types/prisma-schema/wasm.js +17 -2
  98. package/dist/types/schema.d.ts +515 -27
  99. package/package.json +1 -1
@@ -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
@@ -0,0 +1,185 @@
1
+ import z from 'zod';
2
+ export declare const deallocateAllRoleSchema: z.ZodObject<{
3
+ profileId: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ profileId: string;
6
+ }, {
7
+ profileId: string;
8
+ }>;
9
+ declare const DeallocateAllRoleDto_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 DeallocateAllRoleDto extends DeallocateAllRoleDto_base {
17
+ }
18
+ export declare const deallocateAllRoleResponseSchema: 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 DeallocateAllRoleResponseDto_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 DeallocateAllRoleResponseDto extends DeallocateAllRoleResponseDto_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.DeallocateAllRoleResponseDto = exports.deallocateAllRoleResponseSchema = exports.DeallocateAllRoleDto = exports.deallocateAllRoleSchema = 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.deallocateAllRoleSchema = zod_1.default.object({
11
+ profileId: profile_schema_1.profileSchema.shape.id,
12
+ });
13
+ class DeallocateAllRoleDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deallocateAllRoleSchema) {
14
+ }
15
+ exports.DeallocateAllRoleDto = DeallocateAllRoleDto;
16
+ exports.deallocateAllRoleResponseSchema = profile_schema_1.profileSchema.omit({
17
+ password: true,
18
+ });
19
+ class DeallocateAllRoleResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deallocateAllRoleResponseSchema) {
20
+ }
21
+ exports.DeallocateAllRoleResponseDto = DeallocateAllRoleResponseDto;
22
+ //# sourceMappingURL=deallocate-all-role.dto.js.map
@@ -0,0 +1,63 @@
1
+ export declare const deleteRoleResponseSchema: import("zod").ZodObject<{
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
+ }, "strip", import("zod").ZodTypeAny, {
17
+ id: string;
18
+ name: string;
19
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION" | "PARTICIPANT_ROLE";
20
+ created_at: Date;
21
+ updated_at: Date;
22
+ groupId: string;
23
+ }, {
24
+ id: string;
25
+ name: string;
26
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION" | "PARTICIPANT_ROLE";
27
+ created_at: Date;
28
+ updated_at: Date;
29
+ groupId: string;
30
+ }>;
31
+ declare const DeleteRoleResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
32
+ id: import("zod").ZodString;
33
+ name: import("zod").ZodString;
34
+ groupId: import("zod").ZodString;
35
+ type: import("zod").ZodNativeEnum<{
36
+ PROFILE: "PROFILE";
37
+ EVENT: "EVENT";
38
+ PARTICIPANT: "PARTICIPANT";
39
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
40
+ PRODUCTION_ROLE: "PRODUCTION_ROLE";
41
+ FORM_OPTION: "FORM_OPTION";
42
+ PARTICIPANT_ROLE: "PARTICIPANT_ROLE";
43
+ }>;
44
+ created_at: import("zod").ZodString;
45
+ updated_at: import("zod").ZodString;
46
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
47
+ id: string;
48
+ name: string;
49
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION" | "PARTICIPANT_ROLE";
50
+ created_at: string;
51
+ updated_at: string;
52
+ groupId: string;
53
+ }, {
54
+ id: string;
55
+ name: string;
56
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION" | "PARTICIPANT_ROLE";
57
+ created_at: string;
58
+ updated_at: string;
59
+ groupId: string;
60
+ }>>;
61
+ export declare class DeleteRoleResponseDto extends DeleteRoleResponseDto_base {
62
+ }
63
+ export {};
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteRoleResponseDto = exports.deleteRoleResponseSchema = 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.deleteRoleResponseSchema = tag_dto_1.tagSchema;
7
+ class DeleteRoleResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteRoleResponseSchema) {
8
+ }
9
+ exports.DeleteRoleResponseDto = DeleteRoleResponseDto;
10
+ //# sourceMappingURL=delete-role.dto.js.map
@@ -0,0 +1,63 @@
1
+ export declare const findAllRoleResponseSchema: import("zod").ZodArray<import("zod").ZodObject<{
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
+ }, "strip", import("zod").ZodTypeAny, {
17
+ id: string;
18
+ name: string;
19
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION" | "PARTICIPANT_ROLE";
20
+ created_at: Date;
21
+ updated_at: Date;
22
+ groupId: string;
23
+ }, {
24
+ id: string;
25
+ name: string;
26
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION" | "PARTICIPANT_ROLE";
27
+ created_at: Date;
28
+ updated_at: Date;
29
+ groupId: string;
30
+ }>, "many">;
31
+ declare const FindAllRoleResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodArray<import("zod").ZodObject<{
32
+ id: import("zod").ZodString;
33
+ name: import("zod").ZodString;
34
+ groupId: import("zod").ZodString;
35
+ type: import("zod").ZodNativeEnum<{
36
+ PROFILE: "PROFILE";
37
+ EVENT: "EVENT";
38
+ PARTICIPANT: "PARTICIPANT";
39
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
40
+ PRODUCTION_ROLE: "PRODUCTION_ROLE";
41
+ FORM_OPTION: "FORM_OPTION";
42
+ PARTICIPANT_ROLE: "PARTICIPANT_ROLE";
43
+ }>;
44
+ created_at: import("zod").ZodString;
45
+ updated_at: import("zod").ZodString;
46
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
47
+ id: string;
48
+ name: string;
49
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION" | "PARTICIPANT_ROLE";
50
+ created_at: string;
51
+ updated_at: string;
52
+ groupId: string;
53
+ }, {
54
+ id: string;
55
+ name: string;
56
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION" | "PARTICIPANT_ROLE";
57
+ created_at: string;
58
+ updated_at: string;
59
+ groupId: string;
60
+ }>, "many">>;
61
+ export declare class FindAllRoleResponseDto extends FindAllRoleResponseDto_base {
62
+ }
63
+ export {};
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FindAllRoleResponseDto = exports.findAllRoleResponseSchema = 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.findAllRoleResponseSchema = tag_dto_1.tagSchema.array();
7
+ class FindAllRoleResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllRoleResponseSchema) {
8
+ }
9
+ exports.FindAllRoleResponseDto = FindAllRoleResponseDto;
10
+ //# sourceMappingURL=find-all-role.dto.js.map