expo-backend-types 0.56.0-EXPO-379-EB-Rutas-necesarias.3 → 0.56.0-EXPO-376-Bugfixing-01.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 (51) hide show
  1. package/dist/src/account/dto/get-global-filter.dto.d.ts +10 -8
  2. package/dist/src/account/dto/get-me.dto.d.ts +20 -16
  3. package/dist/src/account/dto/update-global-filter.dto.d.ts +10 -8
  4. package/dist/src/dynamic-form/dto/create-dynamic-form.dto.d.ts +301 -0
  5. package/dist/src/dynamic-form/dto/create-dynamic-form.dto.js +61 -0
  6. package/dist/src/dynamic-form/dto/delete-dynamic-form.dto.d.ts +18 -0
  7. package/dist/src/dynamic-form/dto/delete-dynamic-form.dto.js +12 -0
  8. package/dist/src/dynamic-form/dto/dynamic-form.dto.d.ts +146 -0
  9. package/dist/src/dynamic-form/dto/dynamic-form.dto.js +64 -0
  10. package/dist/src/dynamic-form/dto/find-all-dynamic-form.dto.d.ts +515 -0
  11. package/dist/src/dynamic-form/dto/find-all-dynamic-form.dto.js +23 -0
  12. package/dist/src/dynamic-form/dto/update-dynamic-form.dto.d.ts +402 -0
  13. package/dist/src/dynamic-form/dto/update-dynamic-form.dto.js +45 -0
  14. package/dist/src/dynamic-form/exports.d.ts +5 -0
  15. package/dist/src/dynamic-form/exports.js +22 -0
  16. package/dist/src/event/dto/get-all-event.dto.d.ts +32 -28
  17. package/dist/src/event/dto/get-by-id-event.dto.d.ts +50 -40
  18. package/dist/src/event/dto/update-event.dto.d.ts +10 -8
  19. package/dist/src/exports.d.ts +1 -0
  20. package/dist/src/exports.js +1 -0
  21. package/dist/src/i18n/es.d.ts +54 -0
  22. package/dist/src/i18n/es.js +48 -0
  23. package/dist/src/i18n/es.js.map +1 -1
  24. package/dist/src/production/dto/create-role.dto.d.ts +7 -4
  25. package/dist/src/profile/dto/find-all-profile.dto.d.ts +14 -12
  26. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +24 -20
  27. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +10 -8
  28. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +2 -141
  29. package/dist/src/profile/dto/find-by-phone-number.dto.js +1 -21
  30. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +14 -12
  31. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +14 -12
  32. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +14 -12
  33. package/dist/src/tag/dto/create-tag.dto.d.ts +13 -8
  34. package/dist/src/tag/dto/delete-tag.dto.d.ts +6 -4
  35. package/dist/src/tag/dto/find-all-tag.dto.d.ts +10 -8
  36. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +10 -8
  37. package/dist/src/tag/dto/find-one-tag.dto.d.ts +6 -4
  38. package/dist/src/tag/dto/tag.dto.d.ts +6 -4
  39. package/dist/src/tag/dto/update-tag.dto.d.ts +7 -4
  40. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +14 -12
  41. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +14 -12
  42. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +10 -8
  43. package/dist/types/prisma-schema/edge.js +37 -5
  44. package/dist/types/prisma-schema/index-browser.js +34 -2
  45. package/dist/types/prisma-schema/index.d.ts +5216 -143
  46. package/dist/types/prisma-schema/index.js +37 -5
  47. package/dist/types/prisma-schema/package.json +1 -1
  48. package/dist/types/prisma-schema/schema.prisma +55 -2
  49. package/dist/types/prisma-schema/wasm.js +34 -2
  50. package/dist/types/schema.d.ts +322 -40
  51. package/package.json +2 -2
@@ -0,0 +1,402 @@
1
+ import { z } from 'zod';
2
+ export declare const updateDynamicFormSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
3
+ id: z.ZodString;
4
+ name: z.ZodString;
5
+ created_at: z.ZodDate;
6
+ updated_at: z.ZodDate;
7
+ }, "name">, {
8
+ questions: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
9
+ id: z.ZodString;
10
+ formId: z.ZodString;
11
+ text: z.ZodString;
12
+ disabled: z.ZodDefault<z.ZodBoolean>;
13
+ required: z.ZodDefault<z.ZodBoolean>;
14
+ multipleChoice: z.ZodDefault<z.ZodBoolean>;
15
+ tagGroupId: z.ZodString;
16
+ created_at: z.ZodDate;
17
+ updated_at: z.ZodDate;
18
+ }, "required" | "text" | "disabled" | "multipleChoice">, {
19
+ id: z.ZodNullable<z.ZodString>;
20
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
21
+ id: z.ZodString;
22
+ text: z.ZodString;
23
+ tagId: z.ZodString;
24
+ questionId: z.ZodString;
25
+ created_at: z.ZodDate;
26
+ updated_at: z.ZodDate;
27
+ }, "text">, {
28
+ id: z.ZodNullable<z.ZodString>;
29
+ }>, "strip", z.ZodTypeAny, {
30
+ id: string | null;
31
+ text: string;
32
+ }, {
33
+ id: string | null;
34
+ text: string;
35
+ }>, "many">;
36
+ }>, "strip", z.ZodTypeAny, {
37
+ id: string | null;
38
+ required: boolean;
39
+ text: string;
40
+ options: {
41
+ id: string | null;
42
+ text: string;
43
+ }[];
44
+ disabled: boolean;
45
+ multipleChoice: boolean;
46
+ }, {
47
+ id: string | null;
48
+ text: string;
49
+ options: {
50
+ id: string | null;
51
+ text: string;
52
+ }[];
53
+ required?: boolean | undefined;
54
+ disabled?: boolean | undefined;
55
+ multipleChoice?: boolean | undefined;
56
+ }>, "many">;
57
+ }>, "strip", z.ZodTypeAny, {
58
+ name: string;
59
+ questions: {
60
+ id: string | null;
61
+ required: boolean;
62
+ text: string;
63
+ options: {
64
+ id: string | null;
65
+ text: string;
66
+ }[];
67
+ disabled: boolean;
68
+ multipleChoice: boolean;
69
+ }[];
70
+ }, {
71
+ name: string;
72
+ questions: {
73
+ id: string | null;
74
+ text: string;
75
+ options: {
76
+ id: string | null;
77
+ text: string;
78
+ }[];
79
+ required?: boolean | undefined;
80
+ disabled?: boolean | undefined;
81
+ multipleChoice?: boolean | undefined;
82
+ }[];
83
+ }>;
84
+ declare const UpdateDynamicFormDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
85
+ name: z.ZodString;
86
+ questions: z.ZodArray<z.ZodObject<{
87
+ required: z.ZodDefault<z.ZodBoolean>;
88
+ text: z.ZodString;
89
+ disabled: z.ZodDefault<z.ZodBoolean>;
90
+ multipleChoice: z.ZodDefault<z.ZodBoolean>;
91
+ id: z.ZodNullable<z.ZodString>;
92
+ options: z.ZodArray<z.ZodObject<{
93
+ text: z.ZodString;
94
+ id: z.ZodNullable<z.ZodString>;
95
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
96
+ id: string | null;
97
+ text: string;
98
+ }, {
99
+ id: string | null;
100
+ text: string;
101
+ }>, "many">;
102
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
103
+ id: string | null;
104
+ required: boolean;
105
+ text: string;
106
+ options: {
107
+ id: string | null;
108
+ text: string;
109
+ }[];
110
+ disabled: boolean;
111
+ multipleChoice: boolean;
112
+ }, {
113
+ id: string | null;
114
+ text: string;
115
+ options: {
116
+ id: string | null;
117
+ text: string;
118
+ }[];
119
+ required?: boolean | undefined;
120
+ disabled?: boolean | undefined;
121
+ multipleChoice?: boolean | undefined;
122
+ }>, "many">;
123
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
124
+ name: string;
125
+ questions: {
126
+ id: string | null;
127
+ required: boolean;
128
+ text: string;
129
+ options: {
130
+ id: string | null;
131
+ text: string;
132
+ }[];
133
+ disabled: boolean;
134
+ multipleChoice: boolean;
135
+ }[];
136
+ }, {
137
+ name: string;
138
+ questions: {
139
+ id: string | null;
140
+ text: string;
141
+ options: {
142
+ id: string | null;
143
+ text: string;
144
+ }[];
145
+ required?: boolean | undefined;
146
+ disabled?: boolean | undefined;
147
+ multipleChoice?: boolean | undefined;
148
+ }[];
149
+ }>>;
150
+ export declare class UpdateDynamicFormDto extends UpdateDynamicFormDto_base {
151
+ }
152
+ export declare const updateDynamicFormResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
153
+ id: z.ZodString;
154
+ name: z.ZodString;
155
+ created_at: z.ZodDate;
156
+ updated_at: z.ZodDate;
157
+ }, {
158
+ questions: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
159
+ id: z.ZodString;
160
+ formId: z.ZodString;
161
+ text: z.ZodString;
162
+ disabled: z.ZodDefault<z.ZodBoolean>;
163
+ required: z.ZodDefault<z.ZodBoolean>;
164
+ multipleChoice: z.ZodDefault<z.ZodBoolean>;
165
+ tagGroupId: z.ZodString;
166
+ created_at: z.ZodDate;
167
+ updated_at: z.ZodDate;
168
+ }, {
169
+ options: z.ZodArray<z.ZodObject<{
170
+ id: z.ZodString;
171
+ text: z.ZodString;
172
+ tagId: z.ZodString;
173
+ questionId: z.ZodString;
174
+ created_at: z.ZodDate;
175
+ updated_at: z.ZodDate;
176
+ }, "strip", z.ZodTypeAny, {
177
+ id: string;
178
+ text: string;
179
+ created_at: Date;
180
+ updated_at: Date;
181
+ tagId: string;
182
+ questionId: string;
183
+ }, {
184
+ id: string;
185
+ text: string;
186
+ created_at: Date;
187
+ updated_at: Date;
188
+ tagId: string;
189
+ questionId: string;
190
+ }>, "many">;
191
+ }>, "strip", z.ZodTypeAny, {
192
+ id: string;
193
+ required: boolean;
194
+ text: string;
195
+ options: {
196
+ id: string;
197
+ text: string;
198
+ created_at: Date;
199
+ updated_at: Date;
200
+ tagId: string;
201
+ questionId: string;
202
+ }[];
203
+ created_at: Date;
204
+ updated_at: Date;
205
+ formId: string;
206
+ disabled: boolean;
207
+ multipleChoice: boolean;
208
+ tagGroupId: string;
209
+ }, {
210
+ id: string;
211
+ text: string;
212
+ options: {
213
+ id: string;
214
+ text: string;
215
+ created_at: Date;
216
+ updated_at: Date;
217
+ tagId: string;
218
+ questionId: string;
219
+ }[];
220
+ created_at: Date;
221
+ updated_at: Date;
222
+ formId: string;
223
+ tagGroupId: string;
224
+ required?: boolean | undefined;
225
+ disabled?: boolean | undefined;
226
+ multipleChoice?: boolean | undefined;
227
+ }>, "many">;
228
+ }>, "strip", z.ZodTypeAny, {
229
+ id: string;
230
+ name: string;
231
+ questions: {
232
+ id: string;
233
+ required: boolean;
234
+ text: string;
235
+ options: {
236
+ id: string;
237
+ text: string;
238
+ created_at: Date;
239
+ updated_at: Date;
240
+ tagId: string;
241
+ questionId: string;
242
+ }[];
243
+ created_at: Date;
244
+ updated_at: Date;
245
+ formId: string;
246
+ disabled: boolean;
247
+ multipleChoice: boolean;
248
+ tagGroupId: string;
249
+ }[];
250
+ created_at: Date;
251
+ updated_at: Date;
252
+ }, {
253
+ id: string;
254
+ name: string;
255
+ questions: {
256
+ id: string;
257
+ text: string;
258
+ options: {
259
+ id: string;
260
+ text: string;
261
+ created_at: Date;
262
+ updated_at: Date;
263
+ tagId: string;
264
+ questionId: string;
265
+ }[];
266
+ created_at: Date;
267
+ updated_at: Date;
268
+ formId: string;
269
+ tagGroupId: string;
270
+ required?: boolean | undefined;
271
+ disabled?: boolean | undefined;
272
+ multipleChoice?: boolean | undefined;
273
+ }[];
274
+ created_at: Date;
275
+ updated_at: Date;
276
+ }>;
277
+ declare const UpdateDynamicFormResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
278
+ id: z.ZodString;
279
+ name: z.ZodString;
280
+ created_at: z.ZodString;
281
+ updated_at: z.ZodString;
282
+ questions: z.ZodArray<z.ZodObject<{
283
+ id: z.ZodString;
284
+ formId: z.ZodString;
285
+ text: z.ZodString;
286
+ disabled: z.ZodDefault<z.ZodBoolean>;
287
+ required: z.ZodDefault<z.ZodBoolean>;
288
+ multipleChoice: z.ZodDefault<z.ZodBoolean>;
289
+ tagGroupId: z.ZodString;
290
+ created_at: z.ZodString;
291
+ updated_at: z.ZodString;
292
+ options: z.ZodArray<z.ZodObject<{
293
+ id: z.ZodString;
294
+ text: z.ZodString;
295
+ tagId: z.ZodString;
296
+ questionId: z.ZodString;
297
+ created_at: z.ZodString;
298
+ updated_at: z.ZodString;
299
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
300
+ id: string;
301
+ text: string;
302
+ created_at: string;
303
+ updated_at: string;
304
+ tagId: string;
305
+ questionId: string;
306
+ }, {
307
+ id: string;
308
+ text: string;
309
+ created_at: string;
310
+ updated_at: string;
311
+ tagId: string;
312
+ questionId: string;
313
+ }>, "many">;
314
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
315
+ id: string;
316
+ required: boolean;
317
+ text: string;
318
+ options: {
319
+ id: string;
320
+ text: string;
321
+ created_at: string;
322
+ updated_at: string;
323
+ tagId: string;
324
+ questionId: string;
325
+ }[];
326
+ created_at: string;
327
+ updated_at: string;
328
+ formId: string;
329
+ disabled: boolean;
330
+ multipleChoice: boolean;
331
+ tagGroupId: string;
332
+ }, {
333
+ id: string;
334
+ text: string;
335
+ options: {
336
+ id: string;
337
+ text: string;
338
+ created_at: string;
339
+ updated_at: string;
340
+ tagId: string;
341
+ questionId: string;
342
+ }[];
343
+ created_at: string;
344
+ updated_at: string;
345
+ formId: string;
346
+ tagGroupId: string;
347
+ required?: boolean | undefined;
348
+ disabled?: boolean | undefined;
349
+ multipleChoice?: boolean | undefined;
350
+ }>, "many">;
351
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
352
+ id: string;
353
+ name: string;
354
+ questions: {
355
+ id: string;
356
+ required: boolean;
357
+ text: string;
358
+ options: {
359
+ id: string;
360
+ text: string;
361
+ created_at: string;
362
+ updated_at: string;
363
+ tagId: string;
364
+ questionId: string;
365
+ }[];
366
+ created_at: string;
367
+ updated_at: string;
368
+ formId: string;
369
+ disabled: boolean;
370
+ multipleChoice: boolean;
371
+ tagGroupId: string;
372
+ }[];
373
+ created_at: string;
374
+ updated_at: string;
375
+ }, {
376
+ id: string;
377
+ name: string;
378
+ questions: {
379
+ id: string;
380
+ text: string;
381
+ options: {
382
+ id: string;
383
+ text: string;
384
+ created_at: string;
385
+ updated_at: string;
386
+ tagId: string;
387
+ questionId: string;
388
+ }[];
389
+ created_at: string;
390
+ updated_at: string;
391
+ formId: string;
392
+ tagGroupId: string;
393
+ required?: boolean | undefined;
394
+ disabled?: boolean | undefined;
395
+ multipleChoice?: boolean | undefined;
396
+ }[];
397
+ created_at: string;
398
+ updated_at: string;
399
+ }>>;
400
+ export declare class UpdateDynamicFormResponseDto extends UpdateDynamicFormResponseDto_base {
401
+ }
402
+ export {};
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateDynamicFormResponseDto = exports.updateDynamicFormResponseSchema = exports.UpdateDynamicFormDto = exports.updateDynamicFormSchema = void 0;
4
+ const dynamic_form_dto_1 = require("./dynamic-form.dto");
5
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
+ const zod_1 = require("zod");
7
+ exports.updateDynamicFormSchema = dynamic_form_dto_1.dynamicFormSchema
8
+ .pick({
9
+ name: true,
10
+ })
11
+ .merge(zod_1.z.object({
12
+ questions: dynamic_form_dto_1.dynamicQuestionSchema
13
+ .pick({
14
+ text: true,
15
+ disabled: true,
16
+ required: true,
17
+ multipleChoice: true,
18
+ })
19
+ .extend({
20
+ id: dynamic_form_dto_1.dynamicQuestionSchema.shape.id.nullable(),
21
+ options: dynamic_form_dto_1.dynamicOptionSchema
22
+ .pick({
23
+ text: true,
24
+ })
25
+ .extend({
26
+ id: dynamic_form_dto_1.dynamicOptionSchema.shape.id.nullable(),
27
+ })
28
+ .array(),
29
+ })
30
+ .array(),
31
+ }));
32
+ class UpdateDynamicFormDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateDynamicFormSchema) {
33
+ }
34
+ exports.UpdateDynamicFormDto = UpdateDynamicFormDto;
35
+ exports.updateDynamicFormResponseSchema = dynamic_form_dto_1.dynamicFormSchema.extend({
36
+ questions: dynamic_form_dto_1.dynamicQuestionSchema
37
+ .extend({
38
+ options: dynamic_form_dto_1.dynamicOptionSchema.array(),
39
+ })
40
+ .array(),
41
+ });
42
+ class UpdateDynamicFormResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateDynamicFormResponseSchema) {
43
+ }
44
+ exports.UpdateDynamicFormResponseDto = UpdateDynamicFormResponseDto;
45
+ //# sourceMappingURL=update-dynamic-form.dto.js.map
@@ -0,0 +1,5 @@
1
+ export * from './dto/create-dynamic-form.dto';
2
+ export * from './dto/delete-dynamic-form.dto';
3
+ export * from './dto/dynamic-form.dto';
4
+ export * from './dto/find-all-dynamic-form.dto';
5
+ export * from './dto/update-dynamic-form.dto';
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto/create-dynamic-form.dto"), exports);
18
+ __exportStar(require("./dto/delete-dynamic-form.dto"), exports);
19
+ __exportStar(require("./dto/dynamic-form.dto"), exports);
20
+ __exportStar(require("./dto/find-all-dynamic-form.dto"), exports);
21
+ __exportStar(require("./dto/update-dynamic-form.dto"), exports);
22
+ //# sourceMappingURL=exports.js.map