expo-backend-types 0.57.0-EXPO-377-Etapa-4-Paquete-02.6 → 0.57.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 (43) hide show
  1. package/dist/src/dynamic-form/dto/create-dynamic-form.dto.d.ts +0 -10
  2. package/dist/src/dynamic-form/dto/dynamic-form.dto.d.ts +0 -14
  3. package/dist/src/dynamic-form/dto/dynamic-form.dto.js +0 -2
  4. package/dist/src/dynamic-form/dto/find-all-dynamic-form.dto.d.ts +0 -14
  5. package/dist/src/dynamic-form/dto/update-dynamic-form.dto.d.ts +0 -19
  6. package/dist/src/dynamic-form/exports.d.ts +0 -2
  7. package/dist/src/dynamic-form/exports.js +0 -2
  8. package/dist/src/i18n/es.d.ts +0 -21
  9. package/dist/src/i18n/es.js +0 -21
  10. package/dist/src/i18n/es.js.map +1 -1
  11. package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -20
  12. package/dist/src/mi-expo/exports.d.ts +0 -1
  13. package/dist/src/mi-expo/exports.js +0 -1
  14. package/dist/src/production/dto/create-production.dto.d.ts +1 -8
  15. package/dist/src/production/dto/create-production.dto.js +0 -1
  16. package/dist/src/production/dto/delete-production.dto.d.ts +0 -6
  17. package/dist/src/production/dto/get-all-production.dto.d.ts +0 -10
  18. package/dist/src/production/dto/production.dto.d.ts +0 -3
  19. package/dist/src/production/dto/production.dto.js +0 -3
  20. package/dist/src/production/dto/update-production.dto.d.ts +0 -12
  21. package/dist/src/production/dto/update-production.dto.js +0 -1
  22. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +0 -14
  23. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +0 -10
  24. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +2 -141
  25. package/dist/src/profile/dto/find-by-phone-number.dto.js +1 -21
  26. package/dist/src/schema/profile.schema.js +2 -16
  27. package/dist/types/prisma-schema/edge.js +3 -11
  28. package/dist/types/prisma-schema/index-browser.js +0 -8
  29. package/dist/types/prisma-schema/index.d.ts +2 -150
  30. package/dist/types/prisma-schema/index.js +3 -11
  31. package/dist/types/prisma-schema/package.json +1 -1
  32. package/dist/types/prisma-schema/schema.prisma +3 -11
  33. package/dist/types/prisma-schema/wasm.js +0 -8
  34. package/dist/types/schema.d.ts +0 -272
  35. package/package.json +1 -1
  36. package/dist/src/dynamic-form/dto/find-by-id-dynamic-question.dto.d.ts +0 -266
  37. package/dist/src/dynamic-form/dto/find-by-id-dynamic-question.dto.js +0 -19
  38. package/dist/src/dynamic-form/dto/find-by-type-dynamic-form.dto.d.ts +0 -266
  39. package/dist/src/dynamic-form/dto/find-by-type-dynamic-form.dto.js +0 -18
  40. package/dist/src/dynamic-form/dto/submit-dynamic-form.dto.d.ts +0 -350
  41. package/dist/src/dynamic-form/dto/submit-dynamic-form.dto.js +0 -23
  42. package/dist/src/mi-expo/dto/update-me-first-time.dto.d.ts +0 -382
  43. package/dist/src/mi-expo/dto/update-me-first-time.dto.js +0 -35
@@ -1,350 +0,0 @@
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 {};
@@ -1,23 +0,0 @@
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