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

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