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,266 +0,0 @@
1
- import z from 'zod';
2
- export declare const findByIdDynamicQuestionResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- id: z.ZodString;
4
- formId: z.ZodString;
5
- text: z.ZodString;
6
- disabled: z.ZodDefault<z.ZodBoolean>;
7
- required: z.ZodDefault<z.ZodBoolean>;
8
- multipleChoice: z.ZodDefault<z.ZodBoolean>;
9
- tagGroupId: z.ZodString;
10
- created_at: z.ZodDate;
11
- updated_at: z.ZodDate;
12
- }, {
13
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
14
- id: z.ZodString;
15
- text: z.ZodString;
16
- tagId: z.ZodString;
17
- questionId: z.ZodString;
18
- created_at: z.ZodDate;
19
- updated_at: z.ZodDate;
20
- }, {
21
- tag: z.ZodObject<{
22
- id: z.ZodString;
23
- name: z.ZodString;
24
- groupId: z.ZodString;
25
- type: z.ZodNativeEnum<{
26
- PROFILE: "PROFILE";
27
- EVENT: "EVENT";
28
- PARTICIPANT: "PARTICIPANT";
29
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
30
- PRODUCTION_ROLE: "PRODUCTION_ROLE";
31
- FORM_OPTION: "FORM_OPTION";
32
- }>;
33
- created_at: z.ZodDate;
34
- updated_at: z.ZodDate;
35
- }, "strip", z.ZodTypeAny, {
36
- id: string;
37
- name: string;
38
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION";
39
- created_at: Date;
40
- updated_at: Date;
41
- groupId: string;
42
- }, {
43
- id: string;
44
- name: string;
45
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION";
46
- created_at: Date;
47
- updated_at: Date;
48
- groupId: string;
49
- }>;
50
- }>, "strip", z.ZodTypeAny, {
51
- tag: {
52
- id: string;
53
- name: string;
54
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION";
55
- created_at: Date;
56
- updated_at: Date;
57
- groupId: string;
58
- };
59
- id: string;
60
- text: string;
61
- created_at: Date;
62
- updated_at: Date;
63
- tagId: string;
64
- questionId: string;
65
- }, {
66
- tag: {
67
- id: string;
68
- name: string;
69
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION";
70
- created_at: Date;
71
- updated_at: Date;
72
- groupId: string;
73
- };
74
- id: string;
75
- text: string;
76
- created_at: Date;
77
- updated_at: Date;
78
- tagId: string;
79
- questionId: string;
80
- }>, "many">;
81
- }>, "strip", z.ZodTypeAny, {
82
- id: string;
83
- required: boolean;
84
- text: string;
85
- options: {
86
- tag: {
87
- id: string;
88
- name: string;
89
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION";
90
- created_at: Date;
91
- updated_at: Date;
92
- groupId: string;
93
- };
94
- id: string;
95
- text: string;
96
- created_at: Date;
97
- updated_at: Date;
98
- tagId: string;
99
- questionId: string;
100
- }[];
101
- created_at: Date;
102
- updated_at: Date;
103
- formId: string;
104
- disabled: boolean;
105
- multipleChoice: boolean;
106
- tagGroupId: string;
107
- }, {
108
- id: string;
109
- text: string;
110
- options: {
111
- tag: {
112
- id: string;
113
- name: string;
114
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION";
115
- created_at: Date;
116
- updated_at: Date;
117
- groupId: string;
118
- };
119
- id: string;
120
- text: string;
121
- created_at: Date;
122
- updated_at: Date;
123
- tagId: string;
124
- questionId: string;
125
- }[];
126
- created_at: Date;
127
- updated_at: Date;
128
- formId: string;
129
- tagGroupId: string;
130
- required?: boolean | undefined;
131
- disabled?: boolean | undefined;
132
- multipleChoice?: boolean | undefined;
133
- }>;
134
- declare const FindByNameDynamicFormsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
135
- id: z.ZodString;
136
- formId: z.ZodString;
137
- text: z.ZodString;
138
- disabled: z.ZodDefault<z.ZodBoolean>;
139
- required: z.ZodDefault<z.ZodBoolean>;
140
- multipleChoice: z.ZodDefault<z.ZodBoolean>;
141
- tagGroupId: z.ZodString;
142
- created_at: z.ZodString;
143
- updated_at: z.ZodString;
144
- options: z.ZodArray<z.ZodObject<{
145
- id: z.ZodString;
146
- text: z.ZodString;
147
- tagId: z.ZodString;
148
- questionId: z.ZodString;
149
- created_at: z.ZodString;
150
- updated_at: z.ZodString;
151
- tag: z.ZodObject<{
152
- id: z.ZodString;
153
- name: z.ZodString;
154
- groupId: z.ZodString;
155
- type: z.ZodNativeEnum<{
156
- PROFILE: "PROFILE";
157
- EVENT: "EVENT";
158
- PARTICIPANT: "PARTICIPANT";
159
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
160
- PRODUCTION_ROLE: "PRODUCTION_ROLE";
161
- FORM_OPTION: "FORM_OPTION";
162
- }>;
163
- created_at: z.ZodString;
164
- updated_at: z.ZodString;
165
- }, z.UnknownKeysParam, z.ZodTypeAny, {
166
- id: string;
167
- name: string;
168
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION";
169
- created_at: string;
170
- updated_at: string;
171
- groupId: string;
172
- }, {
173
- id: string;
174
- name: string;
175
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION";
176
- created_at: string;
177
- updated_at: string;
178
- groupId: string;
179
- }>;
180
- }, z.UnknownKeysParam, z.ZodTypeAny, {
181
- tag: {
182
- id: string;
183
- name: string;
184
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION";
185
- created_at: string;
186
- updated_at: string;
187
- groupId: string;
188
- };
189
- id: string;
190
- text: string;
191
- created_at: string;
192
- updated_at: string;
193
- tagId: string;
194
- questionId: string;
195
- }, {
196
- tag: {
197
- id: string;
198
- name: string;
199
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION";
200
- created_at: string;
201
- updated_at: string;
202
- groupId: string;
203
- };
204
- id: string;
205
- text: string;
206
- created_at: string;
207
- updated_at: string;
208
- tagId: string;
209
- questionId: string;
210
- }>, "many">;
211
- }, z.UnknownKeysParam, z.ZodTypeAny, {
212
- id: string;
213
- required: boolean;
214
- text: string;
215
- options: {
216
- tag: {
217
- id: string;
218
- name: string;
219
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION";
220
- created_at: string;
221
- updated_at: string;
222
- groupId: string;
223
- };
224
- id: string;
225
- text: string;
226
- created_at: string;
227
- updated_at: string;
228
- tagId: string;
229
- questionId: string;
230
- }[];
231
- created_at: string;
232
- updated_at: string;
233
- formId: string;
234
- disabled: boolean;
235
- multipleChoice: boolean;
236
- tagGroupId: string;
237
- }, {
238
- id: string;
239
- text: string;
240
- options: {
241
- tag: {
242
- id: string;
243
- name: string;
244
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE" | "FORM_OPTION";
245
- created_at: string;
246
- updated_at: string;
247
- groupId: string;
248
- };
249
- id: string;
250
- text: string;
251
- created_at: string;
252
- updated_at: string;
253
- tagId: string;
254
- questionId: string;
255
- }[];
256
- created_at: string;
257
- updated_at: string;
258
- formId: string;
259
- tagGroupId: string;
260
- required?: boolean | undefined;
261
- disabled?: boolean | undefined;
262
- multipleChoice?: boolean | undefined;
263
- }>>;
264
- export declare class FindByNameDynamicFormsResponseDto extends FindByNameDynamicFormsResponseDto_base {
265
- }
266
- export {};
@@ -1,19 +0,0 @@
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.FindByNameDynamicFormsResponseDto = exports.findByIdDynamicQuestionResponseSchema = 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 tag_dto_1 = require("../../tag/dto/tag.dto");
10
- const zod_1 = __importDefault(require("zod"));
11
- exports.findByIdDynamicQuestionResponseSchema = dynamic_form_dto_1.dynamicQuestionSchema.extend({
12
- options: zod_1.default.array(dynamic_form_dto_1.dynamicOptionSchema.extend({
13
- tag: tag_dto_1.tagSchema,
14
- })),
15
- });
16
- class FindByNameDynamicFormsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByIdDynamicQuestionResponseSchema) {
17
- }
18
- exports.FindByNameDynamicFormsResponseDto = FindByNameDynamicFormsResponseDto;
19
- //# sourceMappingURL=find-by-id-dynamic-question.dto.js.map
@@ -1,266 +0,0 @@
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 {};
@@ -1,18 +0,0 @@
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