@dev-crew-berlin/enter-js-utils 0.3.8 → 0.4.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 (62) hide show
  1. package/dist/api-client/api-base.d.ts +30 -0
  2. package/dist/api-client/api-base.js +292 -0
  3. package/dist/api-client/api-base.js.map +1 -0
  4. package/dist/api-client/index.d.ts +75 -0
  5. package/dist/api-client/index.js +200 -0
  6. package/dist/api-client/index.js.map +1 -0
  7. package/dist/lib/api-result.d.ts +25 -0
  8. package/dist/lib/api-result.js +16 -0
  9. package/dist/lib/api-result.js.map +1 -0
  10. package/dist/lib/index.d.ts +2 -0
  11. package/dist/lib/index.js +2 -0
  12. package/dist/lib/index.js.map +1 -1
  13. package/dist/lib/not-undefined.d.ts +1 -0
  14. package/dist/lib/not-undefined.js +4 -0
  15. package/dist/lib/not-undefined.js.map +1 -0
  16. package/dist/models/_helpers.d.ts +23 -0
  17. package/dist/models/_helpers.js +90 -0
  18. package/dist/models/_helpers.js.map +1 -0
  19. package/dist/models/access-token.d.ts +11 -0
  20. package/dist/models/access-token.js +8 -0
  21. package/dist/models/access-token.js.map +1 -0
  22. package/dist/models/attendee.d.ts +90 -0
  23. package/dist/models/attendee.js +105 -0
  24. package/dist/models/attendee.js.map +1 -0
  25. package/dist/models/checkin-counts.d.ts +10 -0
  26. package/dist/models/checkin-counts.js +6 -0
  27. package/dist/models/checkin-counts.js.map +1 -0
  28. package/dist/models/checkins.d.ts +40 -0
  29. package/dist/models/checkins.js +71 -0
  30. package/dist/models/checkins.js.map +1 -0
  31. package/dist/models/event.d.ts +40 -0
  32. package/dist/models/event.js +2 -0
  33. package/dist/models/event.js.map +1 -0
  34. package/dist/models/field-group.d.ts +804 -0
  35. package/dist/models/field-group.js +51 -0
  36. package/dist/models/field-group.js.map +1 -0
  37. package/dist/models/field-value.d.ts +2 -0
  38. package/dist/models/field-value.js +4 -0
  39. package/dist/models/field-value.js.map +1 -0
  40. package/dist/models/field.d.ts +553 -0
  41. package/dist/models/field.js +44 -0
  42. package/dist/models/field.js.map +1 -0
  43. package/dist/models/index.d.ts +14 -0
  44. package/dist/models/index.js +4 -0
  45. package/dist/models/index.js.map +1 -0
  46. package/dist/models/instance.d.ts +78 -0
  47. package/dist/models/instance.js +104 -0
  48. package/dist/models/instance.js.map +1 -0
  49. package/dist/models/invite.d.ts +33 -0
  50. package/dist/models/invite.js +18 -0
  51. package/dist/models/invite.js.map +1 -0
  52. package/dist/models/meta-field.d.ts +7 -0
  53. package/dist/models/meta-field.js +8 -0
  54. package/dist/models/meta-field.js.map +1 -0
  55. package/dist/models/user.d.ts +18 -0
  56. package/dist/models/user.js +11 -0
  57. package/dist/models/user.js.map +1 -0
  58. package/dist/models/variable.d.ts +27 -0
  59. package/dist/models/variable.js +15 -0
  60. package/dist/models/variable.js.map +1 -0
  61. package/dist/ui/checkin-count-indicator.stories.d.ts +10 -10
  62. package/package.json +15 -1
@@ -0,0 +1,804 @@
1
+ import { ValidatorReturnType } from 'fefe';
2
+ import { APIResult } from '../lib';
3
+ import { Dictionary } from './_helpers';
4
+ declare type FieldTitle = string | Dictionary<string>;
5
+ export declare type FieldLabels = Record<string, FieldTitle | undefined>;
6
+ export declare class FieldGroups {
7
+ groups: FieldGroup[];
8
+ constructor(rawFieldGroupList: RawFieldGroupList);
9
+ toJSON(): FieldGroup[];
10
+ getFieldLabels(): FieldLabels;
11
+ getLabelForField(fieldKey: string, language: string): string;
12
+ }
13
+ export declare const fieldGroup: import("fefe").Validator<import("fefe").ObjectResult<{
14
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
15
+ optional: true;
16
+ };
17
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
18
+ optional: true;
19
+ };
20
+ questions: import("fefe").Validator<(import("fefe").ObjectResult<{
21
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
22
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
23
+ optional: true;
24
+ };
25
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
26
+ optional: true;
27
+ };
28
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
29
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
30
+ optional: true;
31
+ };
32
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
33
+ optional: true;
34
+ };
35
+ type: import("fefe").Validator<"static", import("fefe").LeafError>;
36
+ }> | import("fefe").ObjectResult<{
37
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
38
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
39
+ optional: true;
40
+ };
41
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
42
+ optional: true;
43
+ };
44
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
45
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
46
+ optional: true;
47
+ };
48
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
49
+ optional: true;
50
+ };
51
+ type: import("fefe").Validator<"text", import("fefe").LeafError>;
52
+ }> | import("fefe").ObjectResult<{
53
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
54
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
55
+ optional: true;
56
+ };
57
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
58
+ optional: true;
59
+ };
60
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
61
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
62
+ optional: true;
63
+ };
64
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
65
+ optional: true;
66
+ };
67
+ type: import("fefe").Validator<"longtext", import("fefe").LeafError>;
68
+ }> | import("fefe").ObjectResult<{
69
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
70
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
71
+ optional: true;
72
+ };
73
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
74
+ optional: true;
75
+ };
76
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
77
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
78
+ optional: true;
79
+ };
80
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
81
+ optional: true;
82
+ };
83
+ type: import("fefe").Validator<"email", import("fefe").LeafError>;
84
+ }> | import("fefe").ObjectResult<{
85
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
86
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
87
+ optional: true;
88
+ };
89
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
90
+ optional: true;
91
+ };
92
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
93
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
94
+ optional: true;
95
+ };
96
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
97
+ optional: true;
98
+ };
99
+ type: import("fefe").Validator<"number", import("fefe").LeafError>;
100
+ }> | import("fefe").ObjectResult<{
101
+ items: import("fefe").Validator<import("fefe").ObjectResult<{
102
+ name: import("fefe").Validator<string | Dictionary<string>, import("fefe").LeafError>;
103
+ value: import("fefe").Validator<string, import("fefe").FefeError> & {
104
+ optional: true;
105
+ };
106
+ }>[], import("fefe").FefeError>;
107
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
108
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
109
+ optional: true;
110
+ };
111
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
112
+ optional: true;
113
+ };
114
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
115
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
116
+ optional: true;
117
+ };
118
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
119
+ optional: true;
120
+ };
121
+ type: import("fefe").Validator<"check", import("fefe").LeafError>;
122
+ }> | import("fefe").ObjectResult<{
123
+ value: import("fefe").Validator<number, import("fefe").FefeError>;
124
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
125
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
126
+ optional: true;
127
+ };
128
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
129
+ optional: true;
130
+ };
131
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
132
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
133
+ optional: true;
134
+ };
135
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
136
+ optional: true;
137
+ };
138
+ type: import("fefe").Validator<"checkbox", import("fefe").LeafError>;
139
+ }> | import("fefe").ObjectResult<{
140
+ items: import("fefe").Validator<import("fefe").ObjectResult<{
141
+ name: import("fefe").Validator<string | Dictionary<string>, import("fefe").LeafError>;
142
+ value: import("fefe").Validator<string, import("fefe").FefeError> & {
143
+ optional: true;
144
+ };
145
+ }>[], import("fefe").FefeError>;
146
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
147
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
148
+ optional: true;
149
+ };
150
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
151
+ optional: true;
152
+ };
153
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
154
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
155
+ optional: true;
156
+ };
157
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
158
+ optional: true;
159
+ };
160
+ type: import("fefe").Validator<"radio", import("fefe").LeafError>;
161
+ }> | import("fefe").ObjectResult<{
162
+ itemval: import("fefe").Validator<string, import("fefe").FefeError> & {
163
+ optional: true;
164
+ };
165
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
166
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
167
+ optional: true;
168
+ };
169
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
170
+ optional: true;
171
+ };
172
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
173
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
174
+ optional: true;
175
+ };
176
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
177
+ optional: true;
178
+ };
179
+ type: import("fefe").Validator<"radiobutton", import("fefe").LeafError>;
180
+ }> | import("fefe").ObjectResult<{
181
+ items: import("fefe").Validator<import("fefe").ObjectResult<{
182
+ name: import("fefe").Validator<string | Dictionary<string>, import("fefe").LeafError>;
183
+ value: import("fefe").Validator<string, import("fefe").FefeError> & {
184
+ optional: true;
185
+ };
186
+ }>[], import("fefe").FefeError>;
187
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
188
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
189
+ optional: true;
190
+ };
191
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
192
+ optional: true;
193
+ };
194
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
195
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
196
+ optional: true;
197
+ };
198
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
199
+ optional: true;
200
+ };
201
+ type: import("fefe").Validator<"dropdown", import("fefe").LeafError>;
202
+ }>)[], import("fefe").FefeError>;
203
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
204
+ optional: true;
205
+ };
206
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
207
+ optional: true;
208
+ };
209
+ }>, import("fefe").FefeError>;
210
+ declare const rawFieldGroupList: import("fefe").Validator<import("fefe").ObjectResult<{
211
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
212
+ optional: true;
213
+ };
214
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
215
+ optional: true;
216
+ };
217
+ questions: import("fefe").Validator<(import("fefe").ObjectResult<{
218
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
219
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
220
+ optional: true;
221
+ };
222
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
223
+ optional: true;
224
+ };
225
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
226
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
227
+ optional: true;
228
+ };
229
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
230
+ optional: true;
231
+ };
232
+ type: import("fefe").Validator<"static", import("fefe").LeafError>;
233
+ }> | import("fefe").ObjectResult<{
234
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
235
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
236
+ optional: true;
237
+ };
238
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
239
+ optional: true;
240
+ };
241
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
242
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
243
+ optional: true;
244
+ };
245
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
246
+ optional: true;
247
+ };
248
+ type: import("fefe").Validator<"text", import("fefe").LeafError>;
249
+ }> | import("fefe").ObjectResult<{
250
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
251
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
252
+ optional: true;
253
+ };
254
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
255
+ optional: true;
256
+ };
257
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
258
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
259
+ optional: true;
260
+ };
261
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
262
+ optional: true;
263
+ };
264
+ type: import("fefe").Validator<"longtext", import("fefe").LeafError>;
265
+ }> | import("fefe").ObjectResult<{
266
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
267
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
268
+ optional: true;
269
+ };
270
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
271
+ optional: true;
272
+ };
273
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
274
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
275
+ optional: true;
276
+ };
277
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
278
+ optional: true;
279
+ };
280
+ type: import("fefe").Validator<"email", import("fefe").LeafError>;
281
+ }> | import("fefe").ObjectResult<{
282
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
283
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
284
+ optional: true;
285
+ };
286
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
287
+ optional: true;
288
+ };
289
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
290
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
291
+ optional: true;
292
+ };
293
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
294
+ optional: true;
295
+ };
296
+ type: import("fefe").Validator<"number", import("fefe").LeafError>;
297
+ }> | import("fefe").ObjectResult<{
298
+ items: import("fefe").Validator<import("fefe").ObjectResult<{
299
+ name: import("fefe").Validator<string | Dictionary<string>, import("fefe").LeafError>;
300
+ value: import("fefe").Validator<string, import("fefe").FefeError> & {
301
+ optional: true;
302
+ };
303
+ }>[], import("fefe").FefeError>;
304
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
305
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
306
+ optional: true;
307
+ };
308
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
309
+ optional: true;
310
+ };
311
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
312
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
313
+ optional: true;
314
+ };
315
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
316
+ optional: true;
317
+ };
318
+ type: import("fefe").Validator<"check", import("fefe").LeafError>;
319
+ }> | import("fefe").ObjectResult<{
320
+ value: import("fefe").Validator<number, import("fefe").FefeError>;
321
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
322
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
323
+ optional: true;
324
+ };
325
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
326
+ optional: true;
327
+ };
328
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
329
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
330
+ optional: true;
331
+ };
332
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
333
+ optional: true;
334
+ };
335
+ type: import("fefe").Validator<"checkbox", import("fefe").LeafError>;
336
+ }> | import("fefe").ObjectResult<{
337
+ items: import("fefe").Validator<import("fefe").ObjectResult<{
338
+ name: import("fefe").Validator<string | Dictionary<string>, import("fefe").LeafError>;
339
+ value: import("fefe").Validator<string, import("fefe").FefeError> & {
340
+ optional: true;
341
+ };
342
+ }>[], import("fefe").FefeError>;
343
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
344
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
345
+ optional: true;
346
+ };
347
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
348
+ optional: true;
349
+ };
350
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
351
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
352
+ optional: true;
353
+ };
354
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
355
+ optional: true;
356
+ };
357
+ type: import("fefe").Validator<"radio", import("fefe").LeafError>;
358
+ }> | import("fefe").ObjectResult<{
359
+ itemval: import("fefe").Validator<string, import("fefe").FefeError> & {
360
+ optional: true;
361
+ };
362
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
363
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
364
+ optional: true;
365
+ };
366
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
367
+ optional: true;
368
+ };
369
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
370
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
371
+ optional: true;
372
+ };
373
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
374
+ optional: true;
375
+ };
376
+ type: import("fefe").Validator<"radiobutton", import("fefe").LeafError>;
377
+ }> | import("fefe").ObjectResult<{
378
+ items: import("fefe").Validator<import("fefe").ObjectResult<{
379
+ name: import("fefe").Validator<string | Dictionary<string>, import("fefe").LeafError>;
380
+ value: import("fefe").Validator<string, import("fefe").FefeError> & {
381
+ optional: true;
382
+ };
383
+ }>[], import("fefe").FefeError>;
384
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
385
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
386
+ optional: true;
387
+ };
388
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
389
+ optional: true;
390
+ };
391
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
392
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
393
+ optional: true;
394
+ };
395
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
396
+ optional: true;
397
+ };
398
+ type: import("fefe").Validator<"dropdown", import("fefe").LeafError>;
399
+ }>)[], import("fefe").FefeError>;
400
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
401
+ optional: true;
402
+ };
403
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
404
+ optional: true;
405
+ };
406
+ }>[], import("fefe").FefeError>;
407
+ export declare const parseFieldGroup: import("../lib").APIValidator<import("fefe").ObjectResult<{
408
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
409
+ optional: true;
410
+ };
411
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
412
+ optional: true;
413
+ };
414
+ questions: import("fefe").Validator<(import("fefe").ObjectResult<{
415
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
416
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
417
+ optional: true;
418
+ };
419
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
420
+ optional: true;
421
+ };
422
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
423
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
424
+ optional: true;
425
+ };
426
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
427
+ optional: true;
428
+ };
429
+ type: import("fefe").Validator<"static", import("fefe").LeafError>;
430
+ }> | import("fefe").ObjectResult<{
431
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
432
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
433
+ optional: true;
434
+ };
435
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
436
+ optional: true;
437
+ };
438
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
439
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
440
+ optional: true;
441
+ };
442
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
443
+ optional: true;
444
+ };
445
+ type: import("fefe").Validator<"text", import("fefe").LeafError>;
446
+ }> | import("fefe").ObjectResult<{
447
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
448
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
449
+ optional: true;
450
+ };
451
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
452
+ optional: true;
453
+ };
454
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
455
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
456
+ optional: true;
457
+ };
458
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
459
+ optional: true;
460
+ };
461
+ type: import("fefe").Validator<"longtext", import("fefe").LeafError>;
462
+ }> | import("fefe").ObjectResult<{
463
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
464
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
465
+ optional: true;
466
+ };
467
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
468
+ optional: true;
469
+ };
470
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
471
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
472
+ optional: true;
473
+ };
474
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
475
+ optional: true;
476
+ };
477
+ type: import("fefe").Validator<"email", import("fefe").LeafError>;
478
+ }> | import("fefe").ObjectResult<{
479
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
480
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
481
+ optional: true;
482
+ };
483
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
484
+ optional: true;
485
+ };
486
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
487
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
488
+ optional: true;
489
+ };
490
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
491
+ optional: true;
492
+ };
493
+ type: import("fefe").Validator<"number", import("fefe").LeafError>;
494
+ }> | import("fefe").ObjectResult<{
495
+ items: import("fefe").Validator<import("fefe").ObjectResult<{
496
+ name: import("fefe").Validator<string | Dictionary<string>, import("fefe").LeafError>;
497
+ value: import("fefe").Validator<string, import("fefe").FefeError> & {
498
+ optional: true;
499
+ };
500
+ }>[], import("fefe").FefeError>;
501
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
502
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
503
+ optional: true;
504
+ };
505
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
506
+ optional: true;
507
+ };
508
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
509
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
510
+ optional: true;
511
+ };
512
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
513
+ optional: true;
514
+ };
515
+ type: import("fefe").Validator<"check", import("fefe").LeafError>;
516
+ }> | import("fefe").ObjectResult<{
517
+ value: import("fefe").Validator<number, import("fefe").FefeError>;
518
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
519
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
520
+ optional: true;
521
+ };
522
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
523
+ optional: true;
524
+ };
525
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
526
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
527
+ optional: true;
528
+ };
529
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
530
+ optional: true;
531
+ };
532
+ type: import("fefe").Validator<"checkbox", import("fefe").LeafError>;
533
+ }> | import("fefe").ObjectResult<{
534
+ items: import("fefe").Validator<import("fefe").ObjectResult<{
535
+ name: import("fefe").Validator<string | Dictionary<string>, import("fefe").LeafError>;
536
+ value: import("fefe").Validator<string, import("fefe").FefeError> & {
537
+ optional: true;
538
+ };
539
+ }>[], import("fefe").FefeError>;
540
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
541
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
542
+ optional: true;
543
+ };
544
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
545
+ optional: true;
546
+ };
547
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
548
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
549
+ optional: true;
550
+ };
551
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
552
+ optional: true;
553
+ };
554
+ type: import("fefe").Validator<"radio", import("fefe").LeafError>;
555
+ }> | import("fefe").ObjectResult<{
556
+ itemval: import("fefe").Validator<string, import("fefe").FefeError> & {
557
+ optional: true;
558
+ };
559
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
560
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
561
+ optional: true;
562
+ };
563
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
564
+ optional: true;
565
+ };
566
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
567
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
568
+ optional: true;
569
+ };
570
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
571
+ optional: true;
572
+ };
573
+ type: import("fefe").Validator<"radiobutton", import("fefe").LeafError>;
574
+ }> | import("fefe").ObjectResult<{
575
+ items: import("fefe").Validator<import("fefe").ObjectResult<{
576
+ name: import("fefe").Validator<string | Dictionary<string>, import("fefe").LeafError>;
577
+ value: import("fefe").Validator<string, import("fefe").FefeError> & {
578
+ optional: true;
579
+ };
580
+ }>[], import("fefe").FefeError>;
581
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
582
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
583
+ optional: true;
584
+ };
585
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
586
+ optional: true;
587
+ };
588
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
589
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
590
+ optional: true;
591
+ };
592
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
593
+ optional: true;
594
+ };
595
+ type: import("fefe").Validator<"dropdown", import("fefe").LeafError>;
596
+ }>)[], import("fefe").FefeError>;
597
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
598
+ optional: true;
599
+ };
600
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
601
+ optional: true;
602
+ };
603
+ }>>;
604
+ export declare const parseRawFieldGroupList: import("../lib").APIValidator<import("fefe").ObjectResult<{
605
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
606
+ optional: true;
607
+ };
608
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
609
+ optional: true;
610
+ };
611
+ questions: import("fefe").Validator<(import("fefe").ObjectResult<{
612
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
613
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
614
+ optional: true;
615
+ };
616
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
617
+ optional: true;
618
+ };
619
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
620
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
621
+ optional: true;
622
+ };
623
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
624
+ optional: true;
625
+ };
626
+ type: import("fefe").Validator<"static", import("fefe").LeafError>;
627
+ }> | import("fefe").ObjectResult<{
628
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
629
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
630
+ optional: true;
631
+ };
632
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
633
+ optional: true;
634
+ };
635
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
636
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
637
+ optional: true;
638
+ };
639
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
640
+ optional: true;
641
+ };
642
+ type: import("fefe").Validator<"text", import("fefe").LeafError>;
643
+ }> | import("fefe").ObjectResult<{
644
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
645
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
646
+ optional: true;
647
+ };
648
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
649
+ optional: true;
650
+ };
651
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
652
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
653
+ optional: true;
654
+ };
655
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
656
+ optional: true;
657
+ };
658
+ type: import("fefe").Validator<"longtext", import("fefe").LeafError>;
659
+ }> | import("fefe").ObjectResult<{
660
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
661
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
662
+ optional: true;
663
+ };
664
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
665
+ optional: true;
666
+ };
667
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
668
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
669
+ optional: true;
670
+ };
671
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
672
+ optional: true;
673
+ };
674
+ type: import("fefe").Validator<"email", import("fefe").LeafError>;
675
+ }> | import("fefe").ObjectResult<{
676
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
677
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
678
+ optional: true;
679
+ };
680
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
681
+ optional: true;
682
+ };
683
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
684
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
685
+ optional: true;
686
+ };
687
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
688
+ optional: true;
689
+ };
690
+ type: import("fefe").Validator<"number", import("fefe").LeafError>;
691
+ }> | import("fefe").ObjectResult<{
692
+ items: import("fefe").Validator<import("fefe").ObjectResult<{
693
+ name: import("fefe").Validator<string | Dictionary<string>, import("fefe").LeafError>;
694
+ value: import("fefe").Validator<string, import("fefe").FefeError> & {
695
+ optional: true;
696
+ };
697
+ }>[], import("fefe").FefeError>;
698
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
699
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
700
+ optional: true;
701
+ };
702
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
703
+ optional: true;
704
+ };
705
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
706
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
707
+ optional: true;
708
+ };
709
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
710
+ optional: true;
711
+ };
712
+ type: import("fefe").Validator<"check", import("fefe").LeafError>;
713
+ }> | import("fefe").ObjectResult<{
714
+ value: import("fefe").Validator<number, import("fefe").FefeError>;
715
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
716
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
717
+ optional: true;
718
+ };
719
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
720
+ optional: true;
721
+ };
722
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
723
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
724
+ optional: true;
725
+ };
726
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
727
+ optional: true;
728
+ };
729
+ type: import("fefe").Validator<"checkbox", import("fefe").LeafError>;
730
+ }> | import("fefe").ObjectResult<{
731
+ items: import("fefe").Validator<import("fefe").ObjectResult<{
732
+ name: import("fefe").Validator<string | Dictionary<string>, import("fefe").LeafError>;
733
+ value: import("fefe").Validator<string, import("fefe").FefeError> & {
734
+ optional: true;
735
+ };
736
+ }>[], import("fefe").FefeError>;
737
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
738
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
739
+ optional: true;
740
+ };
741
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
742
+ optional: true;
743
+ };
744
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
745
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
746
+ optional: true;
747
+ };
748
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
749
+ optional: true;
750
+ };
751
+ type: import("fefe").Validator<"radio", import("fefe").LeafError>;
752
+ }> | import("fefe").ObjectResult<{
753
+ itemval: import("fefe").Validator<string, import("fefe").FefeError> & {
754
+ optional: true;
755
+ };
756
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
757
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
758
+ optional: true;
759
+ };
760
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
761
+ optional: true;
762
+ };
763
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
764
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
765
+ optional: true;
766
+ };
767
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
768
+ optional: true;
769
+ };
770
+ type: import("fefe").Validator<"radiobutton", import("fefe").LeafError>;
771
+ }> | import("fefe").ObjectResult<{
772
+ items: import("fefe").Validator<import("fefe").ObjectResult<{
773
+ name: import("fefe").Validator<string | Dictionary<string>, import("fefe").LeafError>;
774
+ value: import("fefe").Validator<string, import("fefe").FefeError> & {
775
+ optional: true;
776
+ };
777
+ }>[], import("fefe").FefeError>;
778
+ name: import("fefe").Validator<string, import("fefe").LeafError>;
779
+ title: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
780
+ optional: true;
781
+ };
782
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
783
+ optional: true;
784
+ };
785
+ required: import("fefe").Validator<boolean, import("fefe").FefeError>;
786
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
787
+ optional: true;
788
+ };
789
+ class: import("fefe").Validator<string, import("fefe").FefeError> & {
790
+ optional: true;
791
+ };
792
+ type: import("fefe").Validator<"dropdown", import("fefe").LeafError>;
793
+ }>)[], import("fefe").FefeError>;
794
+ info: import("fefe").Validator<string | Dictionary<string>, import("fefe").FefeError> & {
795
+ optional: true;
796
+ };
797
+ if: import("fefe").Validator<string, import("fefe").FefeError> & {
798
+ optional: true;
799
+ };
800
+ }>[]>;
801
+ export declare type RawFieldGroupList = ValidatorReturnType<typeof rawFieldGroupList>;
802
+ export declare type FieldGroup = ValidatorReturnType<typeof fieldGroup>;
803
+ export declare const parseFieldGroups: (value: unknown) => APIResult<FieldGroups>;
804
+ export {};