expo-backend-types 0.57.0 → 0.58.0-EXPO-404-Etapa-4-Paquete-02.5.1

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 (43) hide show
  1. package/dist/src/dynamic-form/dto/create-dynamic-form.dto.d.ts +10 -0
  2. package/dist/src/dynamic-form/dto/dynamic-form.dto.d.ts +27 -0
  3. package/dist/src/dynamic-form/dto/dynamic-form.dto.js +8 -1
  4. package/dist/src/dynamic-form/dto/find-all-dynamic-form.dto.d.ts +14 -0
  5. package/dist/src/dynamic-form/dto/find-by-id-dynamic-question.dto.d.ts +266 -0
  6. package/dist/src/dynamic-form/dto/find-by-id-dynamic-question.dto.js +19 -0
  7. package/dist/src/dynamic-form/dto/find-by-type-dynamic-form.dto.d.ts +266 -0
  8. package/dist/src/dynamic-form/dto/find-by-type-dynamic-form.dto.js +18 -0
  9. package/dist/src/dynamic-form/dto/submit-dynamic-form.dto.d.ts +350 -0
  10. package/dist/src/dynamic-form/dto/submit-dynamic-form.dto.js +23 -0
  11. package/dist/src/dynamic-form/dto/update-dynamic-form.dto.d.ts +19 -0
  12. package/dist/src/dynamic-form/exports.d.ts +2 -0
  13. package/dist/src/dynamic-form/exports.js +2 -0
  14. package/dist/src/i18n/es.d.ts +21 -0
  15. package/dist/src/i18n/es.js +21 -0
  16. package/dist/src/i18n/es.js.map +1 -1
  17. package/dist/src/mi-expo/dto/get-me.dto.d.ts +20 -0
  18. package/dist/src/mi-expo/dto/update-me-first-time.dto.d.ts +382 -0
  19. package/dist/src/mi-expo/dto/update-me-first-time.dto.js +35 -0
  20. package/dist/src/mi-expo/exports.d.ts +1 -0
  21. package/dist/src/mi-expo/exports.js +1 -0
  22. package/dist/src/production/dto/create-production.dto.d.ts +8 -1
  23. package/dist/src/production/dto/create-production.dto.js +1 -0
  24. package/dist/src/production/dto/delete-production.dto.d.ts +6 -0
  25. package/dist/src/production/dto/get-all-production.dto.d.ts +10 -0
  26. package/dist/src/production/dto/production.dto.d.ts +3 -0
  27. package/dist/src/production/dto/production.dto.js +3 -0
  28. package/dist/src/production/dto/update-production.dto.d.ts +12 -0
  29. package/dist/src/production/dto/update-production.dto.js +1 -0
  30. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +14 -0
  31. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +10 -0
  32. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +141 -2
  33. package/dist/src/profile/dto/find-by-phone-number.dto.js +21 -1
  34. package/dist/src/schema/profile.schema.js +16 -2
  35. package/dist/types/prisma-schema/edge.js +11 -3
  36. package/dist/types/prisma-schema/index-browser.js +8 -0
  37. package/dist/types/prisma-schema/index.d.ts +150 -2
  38. package/dist/types/prisma-schema/index.js +11 -3
  39. package/dist/types/prisma-schema/package.json +1 -1
  40. package/dist/types/prisma-schema/schema.prisma +11 -3
  41. package/dist/types/prisma-schema/wasm.js +8 -0
  42. package/dist/types/schema.d.ts +274 -0
  43. package/package.json +1 -1
@@ -0,0 +1,266 @@
1
+ import z from 'zod';
2
+ export declare const findByTypeDynamicFormsResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
3
+ id: z.ZodString;
4
+ name: z.ZodString;
5
+ type: z.ZodNativeEnum<{
6
+ PERSONAL_INFO: "PERSONAL_INFO";
7
+ PRODUCTION: "PRODUCTION";
8
+ PARTICIPANT: "PARTICIPANT";
9
+ }>;
10
+ created_at: z.ZodDate;
11
+ updated_at: z.ZodDate;
12
+ }, {
13
+ questions: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
14
+ id: z.ZodString;
15
+ formId: z.ZodString;
16
+ text: z.ZodString;
17
+ disabled: z.ZodDefault<z.ZodBoolean>;
18
+ required: z.ZodDefault<z.ZodBoolean>;
19
+ multipleChoice: z.ZodDefault<z.ZodBoolean>;
20
+ tagGroupId: z.ZodString;
21
+ created_at: z.ZodDate;
22
+ updated_at: z.ZodDate;
23
+ }, {
24
+ options: z.ZodArray<z.ZodObject<{
25
+ id: z.ZodString;
26
+ text: z.ZodString;
27
+ tagId: z.ZodString;
28
+ questionId: z.ZodString;
29
+ created_at: z.ZodDate;
30
+ updated_at: z.ZodDate;
31
+ }, "strip", z.ZodTypeAny, {
32
+ id: string;
33
+ text: string;
34
+ created_at: Date;
35
+ updated_at: Date;
36
+ tagId: string;
37
+ questionId: string;
38
+ }, {
39
+ id: string;
40
+ text: string;
41
+ created_at: Date;
42
+ updated_at: Date;
43
+ tagId: string;
44
+ questionId: string;
45
+ }>, "many">;
46
+ }>, "strip", z.ZodTypeAny, {
47
+ id: string;
48
+ required: boolean;
49
+ text: string;
50
+ options: {
51
+ id: string;
52
+ text: string;
53
+ created_at: Date;
54
+ updated_at: Date;
55
+ tagId: string;
56
+ questionId: string;
57
+ }[];
58
+ created_at: Date;
59
+ updated_at: Date;
60
+ formId: string;
61
+ disabled: boolean;
62
+ multipleChoice: boolean;
63
+ tagGroupId: string;
64
+ }, {
65
+ id: string;
66
+ text: string;
67
+ options: {
68
+ id: string;
69
+ text: string;
70
+ created_at: Date;
71
+ updated_at: Date;
72
+ tagId: string;
73
+ questionId: string;
74
+ }[];
75
+ created_at: Date;
76
+ updated_at: Date;
77
+ formId: string;
78
+ tagGroupId: string;
79
+ required?: boolean | undefined;
80
+ disabled?: boolean | undefined;
81
+ multipleChoice?: boolean | undefined;
82
+ }>, "many">;
83
+ }>, "strip", z.ZodTypeAny, {
84
+ id: string;
85
+ name: string;
86
+ type: "PARTICIPANT" | "PERSONAL_INFO" | "PRODUCTION";
87
+ questions: {
88
+ id: string;
89
+ required: boolean;
90
+ text: string;
91
+ options: {
92
+ id: string;
93
+ text: string;
94
+ created_at: Date;
95
+ updated_at: Date;
96
+ tagId: string;
97
+ questionId: string;
98
+ }[];
99
+ created_at: Date;
100
+ updated_at: Date;
101
+ formId: string;
102
+ disabled: boolean;
103
+ multipleChoice: boolean;
104
+ tagGroupId: string;
105
+ }[];
106
+ created_at: Date;
107
+ updated_at: Date;
108
+ }, {
109
+ id: string;
110
+ name: string;
111
+ type: "PARTICIPANT" | "PERSONAL_INFO" | "PRODUCTION";
112
+ questions: {
113
+ id: string;
114
+ text: string;
115
+ options: {
116
+ id: string;
117
+ text: string;
118
+ created_at: Date;
119
+ updated_at: Date;
120
+ tagId: string;
121
+ questionId: string;
122
+ }[];
123
+ created_at: Date;
124
+ updated_at: Date;
125
+ formId: string;
126
+ tagGroupId: string;
127
+ required?: boolean | undefined;
128
+ disabled?: boolean | undefined;
129
+ multipleChoice?: boolean | undefined;
130
+ }[];
131
+ created_at: Date;
132
+ updated_at: Date;
133
+ }>;
134
+ declare const FindByTypeDynamicFormsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
135
+ id: z.ZodString;
136
+ name: z.ZodString;
137
+ type: z.ZodNativeEnum<{
138
+ PERSONAL_INFO: "PERSONAL_INFO";
139
+ PRODUCTION: "PRODUCTION";
140
+ PARTICIPANT: "PARTICIPANT";
141
+ }>;
142
+ created_at: z.ZodString;
143
+ updated_at: z.ZodString;
144
+ questions: z.ZodArray<z.ZodObject<{
145
+ id: z.ZodString;
146
+ formId: z.ZodString;
147
+ text: z.ZodString;
148
+ disabled: z.ZodDefault<z.ZodBoolean>;
149
+ required: z.ZodDefault<z.ZodBoolean>;
150
+ multipleChoice: z.ZodDefault<z.ZodBoolean>;
151
+ tagGroupId: z.ZodString;
152
+ created_at: z.ZodString;
153
+ updated_at: z.ZodString;
154
+ options: z.ZodArray<z.ZodObject<{
155
+ id: z.ZodString;
156
+ text: z.ZodString;
157
+ tagId: z.ZodString;
158
+ questionId: z.ZodString;
159
+ created_at: z.ZodString;
160
+ updated_at: z.ZodString;
161
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
162
+ id: string;
163
+ text: string;
164
+ created_at: string;
165
+ updated_at: string;
166
+ tagId: string;
167
+ questionId: string;
168
+ }, {
169
+ id: string;
170
+ text: string;
171
+ created_at: string;
172
+ updated_at: string;
173
+ tagId: string;
174
+ questionId: string;
175
+ }>, "many">;
176
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
177
+ id: string;
178
+ required: boolean;
179
+ text: string;
180
+ options: {
181
+ id: string;
182
+ text: string;
183
+ created_at: string;
184
+ updated_at: string;
185
+ tagId: string;
186
+ questionId: string;
187
+ }[];
188
+ created_at: string;
189
+ updated_at: string;
190
+ formId: string;
191
+ disabled: boolean;
192
+ multipleChoice: boolean;
193
+ tagGroupId: string;
194
+ }, {
195
+ id: string;
196
+ text: string;
197
+ options: {
198
+ id: string;
199
+ text: string;
200
+ created_at: string;
201
+ updated_at: string;
202
+ tagId: string;
203
+ questionId: string;
204
+ }[];
205
+ created_at: string;
206
+ updated_at: string;
207
+ formId: string;
208
+ tagGroupId: string;
209
+ required?: boolean | undefined;
210
+ disabled?: boolean | undefined;
211
+ multipleChoice?: boolean | undefined;
212
+ }>, "many">;
213
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
214
+ id: string;
215
+ name: string;
216
+ type: "PARTICIPANT" | "PERSONAL_INFO" | "PRODUCTION";
217
+ questions: {
218
+ id: string;
219
+ required: boolean;
220
+ text: string;
221
+ options: {
222
+ id: string;
223
+ text: string;
224
+ created_at: string;
225
+ updated_at: string;
226
+ tagId: string;
227
+ questionId: string;
228
+ }[];
229
+ created_at: string;
230
+ updated_at: string;
231
+ formId: string;
232
+ disabled: boolean;
233
+ multipleChoice: boolean;
234
+ tagGroupId: string;
235
+ }[];
236
+ created_at: string;
237
+ updated_at: string;
238
+ }, {
239
+ id: string;
240
+ name: string;
241
+ type: "PARTICIPANT" | "PERSONAL_INFO" | "PRODUCTION";
242
+ questions: {
243
+ id: string;
244
+ text: string;
245
+ options: {
246
+ id: string;
247
+ text: string;
248
+ created_at: string;
249
+ updated_at: string;
250
+ tagId: string;
251
+ questionId: string;
252
+ }[];
253
+ created_at: string;
254
+ updated_at: string;
255
+ formId: string;
256
+ tagGroupId: string;
257
+ required?: boolean | undefined;
258
+ disabled?: boolean | undefined;
259
+ multipleChoice?: boolean | undefined;
260
+ }[];
261
+ created_at: string;
262
+ updated_at: string;
263
+ }>>;
264
+ export declare class FindByTypeDynamicFormsResponseDto extends FindByTypeDynamicFormsResponseDto_base {
265
+ }
266
+ export {};
@@ -0,0 +1,18 @@
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.FindByTypeDynamicFormsResponseDto = exports.findByTypeDynamicFormsResponseSchema = void 0;
7
+ const dynamic_form_dto_1 = require("./dynamic-form.dto");
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.findByTypeDynamicFormsResponseSchema = dynamic_form_dto_1.dynamicFormSchema.extend({
11
+ questions: zod_1.default.array(dynamic_form_dto_1.dynamicQuestionSchema.extend({
12
+ options: zod_1.default.array(dynamic_form_dto_1.dynamicOptionSchema),
13
+ })),
14
+ });
15
+ class FindByTypeDynamicFormsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByTypeDynamicFormsResponseSchema) {
16
+ }
17
+ exports.FindByTypeDynamicFormsResponseDto = FindByTypeDynamicFormsResponseDto;
18
+ //# sourceMappingURL=find-by-type-dynamic-form.dto.js.map
@@ -0,0 +1,350 @@
1
+ export declare const submitDynamicFormsSchema: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<Omit<{
2
+ id: import("zod").ZodString;
3
+ formId: import("zod").ZodString;
4
+ text: import("zod").ZodString;
5
+ disabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
6
+ required: import("zod").ZodDefault<import("zod").ZodBoolean>;
7
+ multipleChoice: import("zod").ZodDefault<import("zod").ZodBoolean>;
8
+ tagGroupId: import("zod").ZodString;
9
+ created_at: import("zod").ZodDate;
10
+ updated_at: import("zod").ZodDate;
11
+ }, "created_at" | "updated_at">, {
12
+ answers: import("zod").ZodArray<import("zod").ZodString, "many">;
13
+ }>, "strip", import("zod").ZodTypeAny, {
14
+ id: string;
15
+ required: boolean;
16
+ text: string;
17
+ formId: string;
18
+ disabled: boolean;
19
+ multipleChoice: boolean;
20
+ tagGroupId: string;
21
+ answers: string[];
22
+ }, {
23
+ id: string;
24
+ text: string;
25
+ formId: string;
26
+ tagGroupId: string;
27
+ answers: string[];
28
+ required?: boolean | undefined;
29
+ disabled?: boolean | undefined;
30
+ multipleChoice?: boolean | undefined;
31
+ }>, "many">;
32
+ declare const SubmitDynamicFormsDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodArray<import("zod").ZodObject<{
33
+ id: import("zod").ZodString;
34
+ required: import("zod").ZodDefault<import("zod").ZodBoolean>;
35
+ text: import("zod").ZodString;
36
+ formId: import("zod").ZodString;
37
+ disabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
38
+ multipleChoice: import("zod").ZodDefault<import("zod").ZodBoolean>;
39
+ tagGroupId: import("zod").ZodString;
40
+ answers: import("zod").ZodArray<import("zod").ZodString, "many">;
41
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
42
+ id: string;
43
+ required: boolean;
44
+ text: string;
45
+ formId: string;
46
+ disabled: boolean;
47
+ multipleChoice: boolean;
48
+ tagGroupId: string;
49
+ answers: string[];
50
+ }, {
51
+ id: string;
52
+ text: string;
53
+ formId: string;
54
+ tagGroupId: string;
55
+ answers: string[];
56
+ required?: boolean | undefined;
57
+ disabled?: boolean | undefined;
58
+ multipleChoice?: boolean | undefined;
59
+ }>, "many">>;
60
+ export declare class SubmitDynamicFormsDto extends SubmitDynamicFormsDto_base {
61
+ }
62
+ export declare const submitDynamicFormsResponseSchema: import("zod").ZodObject<{
63
+ profiles: import("zod").ZodArray<import("zod").ZodObject<{
64
+ id: import("zod").ZodString;
65
+ shortId: import("zod").ZodNumber;
66
+ role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
67
+ USER: "USER";
68
+ ADMIN: "ADMIN";
69
+ FORM: "FORM";
70
+ TICKETS: "TICKETS";
71
+ MI_EXPO: "MI_EXPO";
72
+ }>>;
73
+ firstTimeMiExpo: import("zod").ZodBoolean;
74
+ username: import("zod").ZodNullable<import("zod").ZodString>;
75
+ password: import("zod").ZodNullable<import("zod").ZodString>;
76
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
77
+ isPhoneVerified: import("zod").ZodBoolean;
78
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
79
+ fullName: import("zod").ZodString;
80
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
81
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
82
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
83
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
84
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
85
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
86
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
87
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
88
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
89
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
90
+ isInTrash: import("zod").ZodBoolean;
91
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
92
+ created_at: import("zod").ZodDate;
93
+ updated_at: import("zod").ZodDate;
94
+ referralCode: import("zod").ZodString;
95
+ }, "strip", import("zod").ZodTypeAny, {
96
+ id: string;
97
+ username: string | null;
98
+ password: string | null;
99
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
100
+ phoneNumber: string;
101
+ secondaryPhoneNumber: string | null;
102
+ fullName: string;
103
+ profilePictureUrl: string | null;
104
+ mail: string | null;
105
+ dni: string | null;
106
+ created_at: Date;
107
+ updated_at: Date;
108
+ referralCode: string;
109
+ shortId: number;
110
+ firstTimeMiExpo: boolean;
111
+ isPhoneVerified: boolean;
112
+ firstName: string | null;
113
+ gender: string | null;
114
+ birthDate: Date | null;
115
+ instagram: string | null;
116
+ alternativeNames: string[];
117
+ birthLocationId: string | null;
118
+ residenceLocationId: string | null;
119
+ isInTrash: boolean;
120
+ movedToTrashDate: Date | null;
121
+ }, {
122
+ id: string;
123
+ username: string | null;
124
+ password: string | null;
125
+ phoneNumber: string;
126
+ secondaryPhoneNumber: string | null;
127
+ fullName: string;
128
+ profilePictureUrl: string | null;
129
+ mail: string | null;
130
+ dni: string | null;
131
+ created_at: Date;
132
+ updated_at: Date;
133
+ referralCode: string;
134
+ shortId: number;
135
+ firstTimeMiExpo: boolean;
136
+ isPhoneVerified: boolean;
137
+ firstName: string | null;
138
+ gender: string | null;
139
+ birthDate: string | null;
140
+ instagram: string | null;
141
+ alternativeNames: string[];
142
+ birthLocationId: string | null;
143
+ residenceLocationId: string | null;
144
+ isInTrash: boolean;
145
+ movedToTrashDate: Date | null;
146
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
147
+ }>, "many">;
148
+ }, "strip", import("zod").ZodTypeAny, {
149
+ profiles: {
150
+ id: string;
151
+ username: string | null;
152
+ password: string | null;
153
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
154
+ phoneNumber: string;
155
+ secondaryPhoneNumber: string | null;
156
+ fullName: string;
157
+ profilePictureUrl: string | null;
158
+ mail: string | null;
159
+ dni: string | null;
160
+ created_at: Date;
161
+ updated_at: Date;
162
+ referralCode: string;
163
+ shortId: number;
164
+ firstTimeMiExpo: boolean;
165
+ isPhoneVerified: boolean;
166
+ firstName: string | null;
167
+ gender: string | null;
168
+ birthDate: Date | null;
169
+ instagram: string | null;
170
+ alternativeNames: string[];
171
+ birthLocationId: string | null;
172
+ residenceLocationId: string | null;
173
+ isInTrash: boolean;
174
+ movedToTrashDate: Date | null;
175
+ }[];
176
+ }, {
177
+ profiles: {
178
+ id: string;
179
+ username: string | null;
180
+ password: string | null;
181
+ phoneNumber: string;
182
+ secondaryPhoneNumber: string | null;
183
+ fullName: string;
184
+ profilePictureUrl: string | null;
185
+ mail: string | null;
186
+ dni: string | null;
187
+ created_at: Date;
188
+ updated_at: Date;
189
+ referralCode: string;
190
+ shortId: number;
191
+ firstTimeMiExpo: boolean;
192
+ isPhoneVerified: boolean;
193
+ firstName: string | null;
194
+ gender: string | null;
195
+ birthDate: string | null;
196
+ instagram: string | null;
197
+ alternativeNames: string[];
198
+ birthLocationId: string | null;
199
+ residenceLocationId: string | null;
200
+ isInTrash: boolean;
201
+ movedToTrashDate: Date | null;
202
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
203
+ }[];
204
+ }>;
205
+ declare const SubmitDynamicFormsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
206
+ profiles: import("zod").ZodArray<import("zod").ZodObject<{
207
+ id: import("zod").ZodString;
208
+ shortId: import("zod").ZodNumber;
209
+ role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
210
+ USER: "USER";
211
+ ADMIN: "ADMIN";
212
+ FORM: "FORM";
213
+ TICKETS: "TICKETS";
214
+ MI_EXPO: "MI_EXPO";
215
+ }>>;
216
+ firstTimeMiExpo: import("zod").ZodBoolean;
217
+ username: import("zod").ZodNullable<import("zod").ZodString>;
218
+ password: import("zod").ZodNullable<import("zod").ZodString>;
219
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
220
+ isPhoneVerified: import("zod").ZodBoolean;
221
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
222
+ fullName: import("zod").ZodString;
223
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
224
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
225
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
226
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
227
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
228
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
229
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
230
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
231
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
232
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
233
+ isInTrash: import("zod").ZodBoolean;
234
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
235
+ created_at: import("zod").ZodString;
236
+ updated_at: import("zod").ZodString;
237
+ referralCode: import("zod").ZodString;
238
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
239
+ id: string;
240
+ username: string | null;
241
+ password: string | null;
242
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
243
+ phoneNumber: string;
244
+ secondaryPhoneNumber: string | null;
245
+ fullName: string;
246
+ profilePictureUrl: string | null;
247
+ mail: string | null;
248
+ dni: string | null;
249
+ created_at: string;
250
+ updated_at: string;
251
+ referralCode: string;
252
+ shortId: number;
253
+ firstTimeMiExpo: boolean;
254
+ isPhoneVerified: boolean;
255
+ firstName: string | null;
256
+ gender: string | null;
257
+ birthDate: string | null;
258
+ instagram: string | null;
259
+ alternativeNames: string[];
260
+ birthLocationId: string | null;
261
+ residenceLocationId: string | null;
262
+ isInTrash: boolean;
263
+ movedToTrashDate: string | null;
264
+ }, {
265
+ id: string;
266
+ username: string | null;
267
+ password: string | null;
268
+ phoneNumber: string;
269
+ secondaryPhoneNumber: string | null;
270
+ fullName: string;
271
+ profilePictureUrl: string | null;
272
+ mail: string | null;
273
+ dni: string | null;
274
+ created_at: string;
275
+ updated_at: string;
276
+ referralCode: string;
277
+ shortId: number;
278
+ firstTimeMiExpo: boolean;
279
+ isPhoneVerified: boolean;
280
+ firstName: string | null;
281
+ gender: string | null;
282
+ birthDate: string | null;
283
+ instagram: string | null;
284
+ alternativeNames: string[];
285
+ birthLocationId: string | null;
286
+ residenceLocationId: string | null;
287
+ isInTrash: boolean;
288
+ movedToTrashDate: string | null;
289
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
290
+ }>, "many">;
291
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
292
+ profiles: {
293
+ id: string;
294
+ username: string | null;
295
+ password: string | null;
296
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
297
+ phoneNumber: string;
298
+ secondaryPhoneNumber: string | null;
299
+ fullName: string;
300
+ profilePictureUrl: string | null;
301
+ mail: string | null;
302
+ dni: string | null;
303
+ created_at: string;
304
+ updated_at: string;
305
+ referralCode: string;
306
+ shortId: number;
307
+ firstTimeMiExpo: boolean;
308
+ isPhoneVerified: boolean;
309
+ firstName: string | null;
310
+ gender: string | null;
311
+ birthDate: string | null;
312
+ instagram: string | null;
313
+ alternativeNames: string[];
314
+ birthLocationId: string | null;
315
+ residenceLocationId: string | null;
316
+ isInTrash: boolean;
317
+ movedToTrashDate: string | null;
318
+ }[];
319
+ }, {
320
+ profiles: {
321
+ id: string;
322
+ username: string | null;
323
+ password: string | null;
324
+ phoneNumber: string;
325
+ secondaryPhoneNumber: string | null;
326
+ fullName: string;
327
+ profilePictureUrl: string | null;
328
+ mail: string | null;
329
+ dni: string | null;
330
+ created_at: string;
331
+ updated_at: string;
332
+ referralCode: string;
333
+ shortId: number;
334
+ firstTimeMiExpo: boolean;
335
+ isPhoneVerified: boolean;
336
+ firstName: string | null;
337
+ gender: string | null;
338
+ birthDate: string | null;
339
+ instagram: string | null;
340
+ alternativeNames: string[];
341
+ birthLocationId: string | null;
342
+ residenceLocationId: string | null;
343
+ isInTrash: boolean;
344
+ movedToTrashDate: string | null;
345
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
346
+ }[];
347
+ }>>;
348
+ export declare class SubmitDynamicFormsResponseDto extends SubmitDynamicFormsResponseDto_base {
349
+ }
350
+ export {};
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubmitDynamicFormsResponseDto = exports.submitDynamicFormsResponseSchema = exports.SubmitDynamicFormsDto = exports.submitDynamicFormsSchema = void 0;
4
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
+ const massive_allocation_dto_1 = require("../../tag/dto/massive-allocation.dto");
6
+ const dynamic_form_dto_1 = require("./dynamic-form.dto");
7
+ exports.submitDynamicFormsSchema = dynamic_form_dto_1.dynamicQuestionSchema
8
+ .omit({
9
+ created_at: true,
10
+ updated_at: true,
11
+ })
12
+ .extend({
13
+ answers: dynamic_form_dto_1.dynamicOptionSchema.shape.id.array(),
14
+ })
15
+ .array();
16
+ class SubmitDynamicFormsDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.submitDynamicFormsSchema) {
17
+ }
18
+ exports.SubmitDynamicFormsDto = SubmitDynamicFormsDto;
19
+ exports.submitDynamicFormsResponseSchema = massive_allocation_dto_1.massiveAllocationResponseSchema;
20
+ class SubmitDynamicFormsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.submitDynamicFormsResponseSchema) {
21
+ }
22
+ exports.SubmitDynamicFormsResponseDto = SubmitDynamicFormsResponseDto;
23
+ //# sourceMappingURL=submit-dynamic-form.dto.js.map