@assemblis/contracts 0.0.4 → 0.0.7

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.
@@ -0,0 +1,1735 @@
1
+ export declare const UserSchema: {
2
+ payload: import("zod").ZodUndefined;
3
+ response: import("zod").ZodObject<{
4
+ id: import("zod").ZodString;
5
+ created_at: import("zod").ZodDate;
6
+ updated_at: import("zod").ZodDate;
7
+ sub: import("zod").ZodString;
8
+ is_mutirao: import("zod").ZodBoolean;
9
+ }, "strip", import("zod").ZodTypeAny, {
10
+ id: string;
11
+ created_at: Date;
12
+ updated_at: Date;
13
+ sub: string;
14
+ is_mutirao: boolean;
15
+ }, {
16
+ id: string;
17
+ created_at: Date;
18
+ updated_at: Date;
19
+ sub: string;
20
+ is_mutirao: boolean;
21
+ }>;
22
+ };
23
+ export declare const SurveySchema: {
24
+ payload: import("zod").ZodUndefined;
25
+ response: import("zod").ZodObject<{
26
+ id: import("zod").ZodString;
27
+ created_at: import("zod").ZodDate;
28
+ updated_at: import("zod").ZodDate;
29
+ name: import("zod").ZodString;
30
+ sections: import("zod").ZodArray<import("zod").ZodObject<{
31
+ primary: import("zod").ZodObject<{
32
+ id: import("zod").ZodString;
33
+ text: import("zod").ZodString;
34
+ }, "strip", import("zod").ZodTypeAny, {
35
+ id: string;
36
+ text: string;
37
+ }, {
38
+ id: string;
39
+ text: string;
40
+ }>;
41
+ secondary: import("zod").ZodArray<import("zod").ZodObject<{
42
+ id: import("zod").ZodString;
43
+ text: import("zod").ZodString;
44
+ }, "strip", import("zod").ZodTypeAny, {
45
+ id: string;
46
+ text: string;
47
+ }, {
48
+ id: string;
49
+ text: string;
50
+ }>, "many">;
51
+ options: import("zod").ZodArray<import("zod").ZodObject<{
52
+ label: import("zod").ZodString;
53
+ value: import("zod").ZodNumber;
54
+ }, "strip", import("zod").ZodTypeAny, {
55
+ label: string;
56
+ value: number;
57
+ }, {
58
+ label: string;
59
+ value: number;
60
+ }>, "many">;
61
+ }, "strip", import("zod").ZodTypeAny, {
62
+ options: {
63
+ label: string;
64
+ value: number;
65
+ }[];
66
+ primary: {
67
+ id: string;
68
+ text: string;
69
+ };
70
+ secondary: {
71
+ id: string;
72
+ text: string;
73
+ }[];
74
+ }, {
75
+ options: {
76
+ label: string;
77
+ value: number;
78
+ }[];
79
+ primary: {
80
+ id: string;
81
+ text: string;
82
+ };
83
+ secondary: {
84
+ id: string;
85
+ text: string;
86
+ }[];
87
+ }>, "many">;
88
+ }, "strip", import("zod").ZodTypeAny, {
89
+ id: string;
90
+ created_at: Date;
91
+ updated_at: Date;
92
+ name: string;
93
+ sections: {
94
+ options: {
95
+ label: string;
96
+ value: number;
97
+ }[];
98
+ primary: {
99
+ id: string;
100
+ text: string;
101
+ };
102
+ secondary: {
103
+ id: string;
104
+ text: string;
105
+ }[];
106
+ }[];
107
+ }, {
108
+ id: string;
109
+ created_at: Date;
110
+ updated_at: Date;
111
+ name: string;
112
+ sections: {
113
+ options: {
114
+ label: string;
115
+ value: number;
116
+ }[];
117
+ primary: {
118
+ id: string;
119
+ text: string;
120
+ };
121
+ secondary: {
122
+ id: string;
123
+ text: string;
124
+ }[];
125
+ }[];
126
+ }>;
127
+ };
128
+ export declare const SurveyResponseSchema: {
129
+ payload: import("zod").ZodObject<{
130
+ answers: import("zod").ZodArray<import("zod").ZodObject<{
131
+ question_id: import("zod").ZodString;
132
+ answer_value: import("zod").ZodNumber;
133
+ }, "strip", import("zod").ZodTypeAny, {
134
+ question_id: string;
135
+ answer_value: number;
136
+ }, {
137
+ question_id: string;
138
+ answer_value: number;
139
+ }>, "many">;
140
+ }, "strip", import("zod").ZodTypeAny, {
141
+ answers: {
142
+ question_id: string;
143
+ answer_value: number;
144
+ }[];
145
+ }, {
146
+ answers: {
147
+ question_id: string;
148
+ answer_value: number;
149
+ }[];
150
+ }>;
151
+ response: import("zod").ZodObject<{
152
+ total: import("zod").ZodNumber;
153
+ }, "strip", import("zod").ZodTypeAny, {
154
+ total: number;
155
+ }, {
156
+ total: number;
157
+ }>;
158
+ };
159
+ export declare const AssemblyOverviewSchema: {
160
+ payload: import("zod").ZodObject<{
161
+ published_at: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
162
+ name: import("zod").ZodString;
163
+ about: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
164
+ topics: import("zod").ZodArray<import("zod").ZodString, "many">;
165
+ country: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
166
+ hide: import("zod").ZodDefault<import("zod").ZodBoolean>;
167
+ }, "strip", import("zod").ZodTypeAny, {
168
+ name: string;
169
+ published_at: Date | null;
170
+ about: string | null;
171
+ topics: string[];
172
+ country: string | null;
173
+ hide: boolean;
174
+ }, {
175
+ name: string;
176
+ topics: string[];
177
+ published_at?: Date | null | undefined;
178
+ about?: string | null | undefined;
179
+ country?: string | null | undefined;
180
+ hide?: boolean | undefined;
181
+ }>;
182
+ response: import("zod").ZodObject<{
183
+ published_at: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
184
+ name: import("zod").ZodString;
185
+ about: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
186
+ topics: import("zod").ZodArray<import("zod").ZodString, "many">;
187
+ country: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
188
+ hide: import("zod").ZodDefault<import("zod").ZodBoolean>;
189
+ } & {
190
+ id: import("zod").ZodString;
191
+ created_at: import("zod").ZodDate;
192
+ updated_at: import("zod").ZodDate;
193
+ has_image: import("zod").ZodBoolean;
194
+ image_src: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
195
+ }, "strip", import("zod").ZodTypeAny, {
196
+ id: string;
197
+ created_at: Date;
198
+ updated_at: Date;
199
+ name: string;
200
+ published_at: Date | null;
201
+ about: string | null;
202
+ topics: string[];
203
+ country: string | null;
204
+ hide: boolean;
205
+ has_image: boolean;
206
+ image_src: string | null;
207
+ }, {
208
+ id: string;
209
+ created_at: Date;
210
+ updated_at: Date;
211
+ name: string;
212
+ topics: string[];
213
+ has_image: boolean;
214
+ published_at?: Date | null | undefined;
215
+ about?: string | null | undefined;
216
+ country?: string | null | undefined;
217
+ hide?: boolean | undefined;
218
+ image_src?: string | null | undefined;
219
+ }>;
220
+ };
221
+ export declare const AssembliesListSchema: {
222
+ payload: import("zod").ZodUndefined;
223
+ response: import("zod").ZodObject<{
224
+ assemblies: import("zod").ZodArray<import("zod").ZodObject<{
225
+ published_at: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
226
+ name: import("zod").ZodString;
227
+ about: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
228
+ topics: import("zod").ZodArray<import("zod").ZodString, "many">;
229
+ country: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
230
+ hide: import("zod").ZodDefault<import("zod").ZodBoolean>;
231
+ } & {
232
+ id: import("zod").ZodString;
233
+ created_at: import("zod").ZodDate;
234
+ updated_at: import("zod").ZodDate;
235
+ has_image: import("zod").ZodBoolean;
236
+ image_src: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
237
+ }, "strip", import("zod").ZodTypeAny, {
238
+ id: string;
239
+ created_at: Date;
240
+ updated_at: Date;
241
+ name: string;
242
+ published_at: Date | null;
243
+ about: string | null;
244
+ topics: string[];
245
+ country: string | null;
246
+ hide: boolean;
247
+ has_image: boolean;
248
+ image_src: string | null;
249
+ }, {
250
+ id: string;
251
+ created_at: Date;
252
+ updated_at: Date;
253
+ name: string;
254
+ topics: string[];
255
+ has_image: boolean;
256
+ published_at?: Date | null | undefined;
257
+ about?: string | null | undefined;
258
+ country?: string | null | undefined;
259
+ hide?: boolean | undefined;
260
+ image_src?: string | null | undefined;
261
+ }>, "many">;
262
+ }, "strip", import("zod").ZodTypeAny, {
263
+ assemblies: {
264
+ id: string;
265
+ created_at: Date;
266
+ updated_at: Date;
267
+ name: string;
268
+ published_at: Date | null;
269
+ about: string | null;
270
+ topics: string[];
271
+ country: string | null;
272
+ hide: boolean;
273
+ has_image: boolean;
274
+ image_src: string | null;
275
+ }[];
276
+ }, {
277
+ assemblies: {
278
+ id: string;
279
+ created_at: Date;
280
+ updated_at: Date;
281
+ name: string;
282
+ topics: string[];
283
+ has_image: boolean;
284
+ published_at?: Date | null | undefined;
285
+ about?: string | null | undefined;
286
+ country?: string | null | undefined;
287
+ hide?: boolean | undefined;
288
+ image_src?: string | null | undefined;
289
+ }[];
290
+ }>;
291
+ };
292
+ export declare const AssemblyDetailSchema: {
293
+ payload: import("zod").ZodObject<{
294
+ published_at: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
295
+ name: import("zod").ZodString;
296
+ about: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
297
+ topics: import("zod").ZodArray<import("zod").ZodString, "many">;
298
+ country: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
299
+ hide: import("zod").ZodDefault<import("zod").ZodBoolean>;
300
+ } & {
301
+ organisation: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
302
+ visible_on_profile: import("zod").ZodBoolean;
303
+ name: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
304
+ description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
305
+ type: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
306
+ } & {
307
+ id: import("zod").ZodOptional<import("zod").ZodString>;
308
+ }, "strip", import("zod").ZodTypeAny, {
309
+ type: string | null;
310
+ name: string | null;
311
+ visible_on_profile: boolean;
312
+ description: string | null;
313
+ id?: string | undefined;
314
+ }, {
315
+ visible_on_profile: boolean;
316
+ type?: string | null | undefined;
317
+ id?: string | undefined;
318
+ name?: string | null | undefined;
319
+ description?: string | null | undefined;
320
+ }>>>, {
321
+ type: string | null;
322
+ name: string | null;
323
+ visible_on_profile: boolean;
324
+ description: string | null;
325
+ id?: string | undefined;
326
+ } | null, {
327
+ visible_on_profile: boolean;
328
+ type?: string | null | undefined;
329
+ id?: string | undefined;
330
+ name?: string | null | undefined;
331
+ description?: string | null | undefined;
332
+ } | null | undefined>;
333
+ event_details: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
334
+ visible_on_profile: import("zod").ZodBoolean;
335
+ registration_link: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
336
+ start_date: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
337
+ }, "strip", import("zod").ZodTypeAny, {
338
+ visible_on_profile: boolean;
339
+ registration_link: string | null;
340
+ start_date: Date | null;
341
+ }, {
342
+ visible_on_profile: boolean;
343
+ registration_link?: string | null | undefined;
344
+ start_date?: Date | null | undefined;
345
+ }>>>, {
346
+ visible_on_profile: boolean;
347
+ registration_link: string | null;
348
+ start_date: Date | null;
349
+ } | null, {
350
+ visible_on_profile: boolean;
351
+ registration_link?: string | null | undefined;
352
+ start_date?: Date | null | undefined;
353
+ } | null | undefined>;
354
+ story: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
355
+ visible_on_profile: import("zod").ZodBoolean;
356
+ background: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
357
+ }, "strip", import("zod").ZodTypeAny, {
358
+ visible_on_profile: boolean;
359
+ background: string | null;
360
+ }, {
361
+ visible_on_profile: boolean;
362
+ background?: string | null | undefined;
363
+ }>>>, {
364
+ visible_on_profile: boolean;
365
+ background: string | null;
366
+ } | null, {
367
+ visible_on_profile: boolean;
368
+ background?: string | null | undefined;
369
+ } | null | undefined>;
370
+ supporters: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
371
+ visible_on_profile: import("zod").ZodBoolean;
372
+ organisation_types: import("zod").ZodArray<import("zod").ZodString, "many">;
373
+ description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
374
+ }, "strip", import("zod").ZodTypeAny, {
375
+ visible_on_profile: boolean;
376
+ description: string | null;
377
+ organisation_types: string[];
378
+ }, {
379
+ visible_on_profile: boolean;
380
+ organisation_types: string[];
381
+ description?: string | null | undefined;
382
+ }>>>, {
383
+ visible_on_profile: boolean;
384
+ description: string | null;
385
+ organisation_types: string[];
386
+ } | null, {
387
+ visible_on_profile: boolean;
388
+ organisation_types: string[];
389
+ description?: string | null | undefined;
390
+ } | null | undefined>;
391
+ funders: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
392
+ visible_on_profile: import("zod").ZodBoolean;
393
+ organisation_types: import("zod").ZodArray<import("zod").ZodString, "many">;
394
+ description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
395
+ }, "strip", import("zod").ZodTypeAny, {
396
+ visible_on_profile: boolean;
397
+ description: string | null;
398
+ organisation_types: string[];
399
+ }, {
400
+ visible_on_profile: boolean;
401
+ organisation_types: string[];
402
+ description?: string | null | undefined;
403
+ }>>>, {
404
+ visible_on_profile: boolean;
405
+ description: string | null;
406
+ organisation_types: string[];
407
+ } | null, {
408
+ visible_on_profile: boolean;
409
+ organisation_types: string[];
410
+ description?: string | null | undefined;
411
+ } | null | undefined>;
412
+ facilitation: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
413
+ visible_on_profile: import("zod").ZodBoolean;
414
+ decision_method: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
415
+ }, "strip", import("zod").ZodTypeAny, {
416
+ visible_on_profile: boolean;
417
+ decision_method: string | null;
418
+ }, {
419
+ visible_on_profile: boolean;
420
+ decision_method?: string | null | undefined;
421
+ }>>>, {
422
+ visible_on_profile: boolean;
423
+ decision_method: string | null;
424
+ } | null, {
425
+ visible_on_profile: boolean;
426
+ decision_method?: string | null | undefined;
427
+ } | null | undefined>;
428
+ participants: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
429
+ visible_on_profile: import("zod").ZodBoolean;
430
+ recruitment_method: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
431
+ community: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
432
+ }, "strip", import("zod").ZodTypeAny, {
433
+ visible_on_profile: boolean;
434
+ recruitment_method: string | null;
435
+ community: string | null;
436
+ }, {
437
+ visible_on_profile: boolean;
438
+ recruitment_method?: string | null | undefined;
439
+ community?: string | null | undefined;
440
+ }>>>, {
441
+ visible_on_profile: boolean;
442
+ recruitment_method: string | null;
443
+ community: string | null;
444
+ } | null, {
445
+ visible_on_profile: boolean;
446
+ recruitment_method?: string | null | undefined;
447
+ community?: string | null | undefined;
448
+ } | null | undefined>;
449
+ support: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
450
+ visible_on_profile: import("zod").ZodBoolean;
451
+ support_options: import("zod").ZodArray<import("zod").ZodString, "many">;
452
+ }, "strip", import("zod").ZodTypeAny, {
453
+ visible_on_profile: boolean;
454
+ support_options: string[];
455
+ }, {
456
+ visible_on_profile: boolean;
457
+ support_options: string[];
458
+ }>>>, {
459
+ visible_on_profile: boolean;
460
+ support_options: string[];
461
+ } | null, {
462
+ visible_on_profile: boolean;
463
+ support_options: string[];
464
+ } | null | undefined>;
465
+ action_plan: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
466
+ visible_on_profile: import("zod").ZodBoolean;
467
+ description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
468
+ } & {
469
+ actions: import("zod").ZodArray<import("zod").ZodObject<Omit<{
470
+ text: import("zod").ZodString;
471
+ agreed: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | null, number | null | undefined>;
472
+ against: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | null, number | null | undefined>;
473
+ abstained: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | null, number | null | undefined>;
474
+ include_in_action_plan: import("zod").ZodDefault<import("zod").ZodBoolean>;
475
+ assembly_id: import("zod").ZodString;
476
+ }, "assembly_id"> & {
477
+ id: import("zod").ZodOptional<import("zod").ZodString>;
478
+ tasks: import("zod").ZodArray<import("zod").ZodObject<Omit<{
479
+ text: import("zod").ZodString;
480
+ complete: import("zod").ZodDefault<import("zod").ZodBoolean>;
481
+ action_id: import("zod").ZodString;
482
+ assembly_id: import("zod").ZodString;
483
+ }, "assembly_id" | "action_id"> & {
484
+ id: import("zod").ZodOptional<import("zod").ZodString>;
485
+ }, "strip", import("zod").ZodTypeAny, {
486
+ text: string;
487
+ complete: boolean;
488
+ id?: string | undefined;
489
+ }, {
490
+ text: string;
491
+ id?: string | undefined;
492
+ complete?: boolean | undefined;
493
+ }>, "many">;
494
+ updates: import("zod").ZodArray<import("zod").ZodUnknown, "many">;
495
+ }, "strip", import("zod").ZodTypeAny, {
496
+ text: string;
497
+ agreed: number | null;
498
+ against: number | null;
499
+ abstained: number | null;
500
+ include_in_action_plan: boolean;
501
+ tasks: {
502
+ text: string;
503
+ complete: boolean;
504
+ id?: string | undefined;
505
+ }[];
506
+ updates: unknown[];
507
+ id?: string | undefined;
508
+ }, {
509
+ text: string;
510
+ tasks: {
511
+ text: string;
512
+ id?: string | undefined;
513
+ complete?: boolean | undefined;
514
+ }[];
515
+ updates: unknown[];
516
+ id?: string | undefined;
517
+ agreed?: number | null | undefined;
518
+ against?: number | null | undefined;
519
+ abstained?: number | null | undefined;
520
+ include_in_action_plan?: boolean | undefined;
521
+ }>, "many">;
522
+ updates: import("zod").ZodArray<import("zod").ZodUnknown, "many">;
523
+ }, "strip", import("zod").ZodTypeAny, {
524
+ visible_on_profile: boolean;
525
+ description: string | null;
526
+ updates: unknown[];
527
+ actions: {
528
+ text: string;
529
+ agreed: number | null;
530
+ against: number | null;
531
+ abstained: number | null;
532
+ include_in_action_plan: boolean;
533
+ tasks: {
534
+ text: string;
535
+ complete: boolean;
536
+ id?: string | undefined;
537
+ }[];
538
+ updates: unknown[];
539
+ id?: string | undefined;
540
+ }[];
541
+ }, {
542
+ visible_on_profile: boolean;
543
+ updates: unknown[];
544
+ actions: {
545
+ text: string;
546
+ tasks: {
547
+ text: string;
548
+ id?: string | undefined;
549
+ complete?: boolean | undefined;
550
+ }[];
551
+ updates: unknown[];
552
+ id?: string | undefined;
553
+ agreed?: number | null | undefined;
554
+ against?: number | null | undefined;
555
+ abstained?: number | null | undefined;
556
+ include_in_action_plan?: boolean | undefined;
557
+ }[];
558
+ description?: string | null | undefined;
559
+ }>>>, {
560
+ visible_on_profile: boolean;
561
+ description: string | null;
562
+ updates: unknown[];
563
+ actions: {
564
+ text: string;
565
+ agreed: number | null;
566
+ against: number | null;
567
+ abstained: number | null;
568
+ include_in_action_plan: boolean;
569
+ tasks: {
570
+ text: string;
571
+ complete: boolean;
572
+ id?: string | undefined;
573
+ }[];
574
+ updates: unknown[];
575
+ id?: string | undefined;
576
+ }[];
577
+ } | null, {
578
+ visible_on_profile: boolean;
579
+ updates: unknown[];
580
+ actions: {
581
+ text: string;
582
+ tasks: {
583
+ text: string;
584
+ id?: string | undefined;
585
+ complete?: boolean | undefined;
586
+ }[];
587
+ updates: unknown[];
588
+ id?: string | undefined;
589
+ agreed?: number | null | undefined;
590
+ against?: number | null | undefined;
591
+ abstained?: number | null | undefined;
592
+ include_in_action_plan?: boolean | undefined;
593
+ }[];
594
+ description?: string | null | undefined;
595
+ } | null | undefined>;
596
+ surveys: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
597
+ visible_on_profile: import("zod").ZodBoolean;
598
+ }, "strip", import("zod").ZodTypeAny, {
599
+ visible_on_profile: boolean;
600
+ }, {
601
+ visible_on_profile: boolean;
602
+ }>>>, {
603
+ visible_on_profile: boolean;
604
+ } | null, {
605
+ visible_on_profile: boolean;
606
+ } | null | undefined>;
607
+ }, "strip", import("zod").ZodTypeAny, {
608
+ name: string;
609
+ published_at: Date | null;
610
+ about: string | null;
611
+ topics: string[];
612
+ country: string | null;
613
+ hide: boolean;
614
+ organisation: {
615
+ type: string | null;
616
+ name: string | null;
617
+ visible_on_profile: boolean;
618
+ description: string | null;
619
+ id?: string | undefined;
620
+ } | null;
621
+ event_details: {
622
+ visible_on_profile: boolean;
623
+ registration_link: string | null;
624
+ start_date: Date | null;
625
+ } | null;
626
+ story: {
627
+ visible_on_profile: boolean;
628
+ background: string | null;
629
+ } | null;
630
+ supporters: {
631
+ visible_on_profile: boolean;
632
+ description: string | null;
633
+ organisation_types: string[];
634
+ } | null;
635
+ funders: {
636
+ visible_on_profile: boolean;
637
+ description: string | null;
638
+ organisation_types: string[];
639
+ } | null;
640
+ facilitation: {
641
+ visible_on_profile: boolean;
642
+ decision_method: string | null;
643
+ } | null;
644
+ participants: {
645
+ visible_on_profile: boolean;
646
+ recruitment_method: string | null;
647
+ community: string | null;
648
+ } | null;
649
+ support: {
650
+ visible_on_profile: boolean;
651
+ support_options: string[];
652
+ } | null;
653
+ action_plan: {
654
+ visible_on_profile: boolean;
655
+ description: string | null;
656
+ updates: unknown[];
657
+ actions: {
658
+ text: string;
659
+ agreed: number | null;
660
+ against: number | null;
661
+ abstained: number | null;
662
+ include_in_action_plan: boolean;
663
+ tasks: {
664
+ text: string;
665
+ complete: boolean;
666
+ id?: string | undefined;
667
+ }[];
668
+ updates: unknown[];
669
+ id?: string | undefined;
670
+ }[];
671
+ } | null;
672
+ surveys: {
673
+ visible_on_profile: boolean;
674
+ } | null;
675
+ }, {
676
+ name: string;
677
+ topics: string[];
678
+ published_at?: Date | null | undefined;
679
+ about?: string | null | undefined;
680
+ country?: string | null | undefined;
681
+ hide?: boolean | undefined;
682
+ organisation?: {
683
+ visible_on_profile: boolean;
684
+ type?: string | null | undefined;
685
+ id?: string | undefined;
686
+ name?: string | null | undefined;
687
+ description?: string | null | undefined;
688
+ } | null | undefined;
689
+ event_details?: {
690
+ visible_on_profile: boolean;
691
+ registration_link?: string | null | undefined;
692
+ start_date?: Date | null | undefined;
693
+ } | null | undefined;
694
+ story?: {
695
+ visible_on_profile: boolean;
696
+ background?: string | null | undefined;
697
+ } | null | undefined;
698
+ supporters?: {
699
+ visible_on_profile: boolean;
700
+ organisation_types: string[];
701
+ description?: string | null | undefined;
702
+ } | null | undefined;
703
+ funders?: {
704
+ visible_on_profile: boolean;
705
+ organisation_types: string[];
706
+ description?: string | null | undefined;
707
+ } | null | undefined;
708
+ facilitation?: {
709
+ visible_on_profile: boolean;
710
+ decision_method?: string | null | undefined;
711
+ } | null | undefined;
712
+ participants?: {
713
+ visible_on_profile: boolean;
714
+ recruitment_method?: string | null | undefined;
715
+ community?: string | null | undefined;
716
+ } | null | undefined;
717
+ support?: {
718
+ visible_on_profile: boolean;
719
+ support_options: string[];
720
+ } | null | undefined;
721
+ action_plan?: {
722
+ visible_on_profile: boolean;
723
+ updates: unknown[];
724
+ actions: {
725
+ text: string;
726
+ tasks: {
727
+ text: string;
728
+ id?: string | undefined;
729
+ complete?: boolean | undefined;
730
+ }[];
731
+ updates: unknown[];
732
+ id?: string | undefined;
733
+ agreed?: number | null | undefined;
734
+ against?: number | null | undefined;
735
+ abstained?: number | null | undefined;
736
+ include_in_action_plan?: boolean | undefined;
737
+ }[];
738
+ description?: string | null | undefined;
739
+ } | null | undefined;
740
+ surveys?: {
741
+ visible_on_profile: boolean;
742
+ } | null | undefined;
743
+ }>;
744
+ response: import("zod").ZodObject<{
745
+ published_at: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
746
+ name: import("zod").ZodString;
747
+ about: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
748
+ topics: import("zod").ZodArray<import("zod").ZodString, "many">;
749
+ country: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
750
+ hide: import("zod").ZodDefault<import("zod").ZodBoolean>;
751
+ } & {
752
+ id: import("zod").ZodString;
753
+ created_at: import("zod").ZodDate;
754
+ updated_at: import("zod").ZodDate;
755
+ has_image: import("zod").ZodBoolean;
756
+ image_src: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
757
+ } & {
758
+ is_own: import("zod").ZodBoolean;
759
+ organisation: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
760
+ visible_on_profile: import("zod").ZodBoolean;
761
+ name: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
762
+ description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
763
+ type: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
764
+ } & {
765
+ id: import("zod").ZodString;
766
+ created_at: import("zod").ZodDate;
767
+ updated_at: import("zod").ZodDate;
768
+ }, "strip", import("zod").ZodTypeAny, {
769
+ type: string | null;
770
+ id: string;
771
+ created_at: Date;
772
+ updated_at: Date;
773
+ name: string | null;
774
+ visible_on_profile: boolean;
775
+ description: string | null;
776
+ }, {
777
+ id: string;
778
+ created_at: Date;
779
+ updated_at: Date;
780
+ visible_on_profile: boolean;
781
+ type?: string | null | undefined;
782
+ name?: string | null | undefined;
783
+ description?: string | null | undefined;
784
+ }>>>, {
785
+ type: string | null;
786
+ id: string;
787
+ created_at: Date;
788
+ updated_at: Date;
789
+ name: string | null;
790
+ visible_on_profile: boolean;
791
+ description: string | null;
792
+ } | null, {
793
+ id: string;
794
+ created_at: Date;
795
+ updated_at: Date;
796
+ visible_on_profile: boolean;
797
+ type?: string | null | undefined;
798
+ name?: string | null | undefined;
799
+ description?: string | null | undefined;
800
+ } | null | undefined>;
801
+ event_details: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
802
+ visible_on_profile: import("zod").ZodBoolean;
803
+ registration_link: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
804
+ start_date: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
805
+ } & {
806
+ created_at: import("zod").ZodDate;
807
+ updated_at: import("zod").ZodDate;
808
+ }, "strip", import("zod").ZodTypeAny, {
809
+ created_at: Date;
810
+ updated_at: Date;
811
+ visible_on_profile: boolean;
812
+ registration_link: string | null;
813
+ start_date: Date | null;
814
+ }, {
815
+ created_at: Date;
816
+ updated_at: Date;
817
+ visible_on_profile: boolean;
818
+ registration_link?: string | null | undefined;
819
+ start_date?: Date | null | undefined;
820
+ }>>>, {
821
+ created_at: Date;
822
+ updated_at: Date;
823
+ visible_on_profile: boolean;
824
+ registration_link: string | null;
825
+ start_date: Date | null;
826
+ } | null, {
827
+ created_at: Date;
828
+ updated_at: Date;
829
+ visible_on_profile: boolean;
830
+ registration_link?: string | null | undefined;
831
+ start_date?: Date | null | undefined;
832
+ } | null | undefined>;
833
+ story: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
834
+ visible_on_profile: import("zod").ZodBoolean;
835
+ background: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
836
+ } & {
837
+ created_at: import("zod").ZodDate;
838
+ updated_at: import("zod").ZodDate;
839
+ }, "strip", import("zod").ZodTypeAny, {
840
+ created_at: Date;
841
+ updated_at: Date;
842
+ visible_on_profile: boolean;
843
+ background: string | null;
844
+ }, {
845
+ created_at: Date;
846
+ updated_at: Date;
847
+ visible_on_profile: boolean;
848
+ background?: string | null | undefined;
849
+ }>>>, {
850
+ created_at: Date;
851
+ updated_at: Date;
852
+ visible_on_profile: boolean;
853
+ background: string | null;
854
+ } | null, {
855
+ created_at: Date;
856
+ updated_at: Date;
857
+ visible_on_profile: boolean;
858
+ background?: string | null | undefined;
859
+ } | null | undefined>;
860
+ supporters: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
861
+ visible_on_profile: import("zod").ZodBoolean;
862
+ organisation_types: import("zod").ZodArray<import("zod").ZodString, "many">;
863
+ description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
864
+ } & {
865
+ created_at: import("zod").ZodDate;
866
+ updated_at: import("zod").ZodDate;
867
+ }, "strip", import("zod").ZodTypeAny, {
868
+ created_at: Date;
869
+ updated_at: Date;
870
+ visible_on_profile: boolean;
871
+ description: string | null;
872
+ organisation_types: string[];
873
+ }, {
874
+ created_at: Date;
875
+ updated_at: Date;
876
+ visible_on_profile: boolean;
877
+ organisation_types: string[];
878
+ description?: string | null | undefined;
879
+ }>>>, {
880
+ created_at: Date;
881
+ updated_at: Date;
882
+ visible_on_profile: boolean;
883
+ description: string | null;
884
+ organisation_types: string[];
885
+ } | null, {
886
+ created_at: Date;
887
+ updated_at: Date;
888
+ visible_on_profile: boolean;
889
+ organisation_types: string[];
890
+ description?: string | null | undefined;
891
+ } | null | undefined>;
892
+ funders: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
893
+ visible_on_profile: import("zod").ZodBoolean;
894
+ organisation_types: import("zod").ZodArray<import("zod").ZodString, "many">;
895
+ description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
896
+ } & {
897
+ created_at: import("zod").ZodDate;
898
+ updated_at: import("zod").ZodDate;
899
+ }, "strip", import("zod").ZodTypeAny, {
900
+ created_at: Date;
901
+ updated_at: Date;
902
+ visible_on_profile: boolean;
903
+ description: string | null;
904
+ organisation_types: string[];
905
+ }, {
906
+ created_at: Date;
907
+ updated_at: Date;
908
+ visible_on_profile: boolean;
909
+ organisation_types: string[];
910
+ description?: string | null | undefined;
911
+ }>>>, {
912
+ created_at: Date;
913
+ updated_at: Date;
914
+ visible_on_profile: boolean;
915
+ description: string | null;
916
+ organisation_types: string[];
917
+ } | null, {
918
+ created_at: Date;
919
+ updated_at: Date;
920
+ visible_on_profile: boolean;
921
+ organisation_types: string[];
922
+ description?: string | null | undefined;
923
+ } | null | undefined>;
924
+ facilitation: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
925
+ visible_on_profile: import("zod").ZodBoolean;
926
+ decision_method: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
927
+ } & {
928
+ created_at: import("zod").ZodDate;
929
+ updated_at: import("zod").ZodDate;
930
+ }, "strip", import("zod").ZodTypeAny, {
931
+ created_at: Date;
932
+ updated_at: Date;
933
+ visible_on_profile: boolean;
934
+ decision_method: string | null;
935
+ }, {
936
+ created_at: Date;
937
+ updated_at: Date;
938
+ visible_on_profile: boolean;
939
+ decision_method?: string | null | undefined;
940
+ }>>>, {
941
+ created_at: Date;
942
+ updated_at: Date;
943
+ visible_on_profile: boolean;
944
+ decision_method: string | null;
945
+ } | null, {
946
+ created_at: Date;
947
+ updated_at: Date;
948
+ visible_on_profile: boolean;
949
+ decision_method?: string | null | undefined;
950
+ } | null | undefined>;
951
+ participants: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
952
+ visible_on_profile: import("zod").ZodBoolean;
953
+ recruitment_method: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
954
+ community: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
955
+ } & {
956
+ created_at: import("zod").ZodDate;
957
+ updated_at: import("zod").ZodDate;
958
+ }, "strip", import("zod").ZodTypeAny, {
959
+ created_at: Date;
960
+ updated_at: Date;
961
+ visible_on_profile: boolean;
962
+ recruitment_method: string | null;
963
+ community: string | null;
964
+ }, {
965
+ created_at: Date;
966
+ updated_at: Date;
967
+ visible_on_profile: boolean;
968
+ recruitment_method?: string | null | undefined;
969
+ community?: string | null | undefined;
970
+ }>>>, {
971
+ created_at: Date;
972
+ updated_at: Date;
973
+ visible_on_profile: boolean;
974
+ recruitment_method: string | null;
975
+ community: string | null;
976
+ } | null, {
977
+ created_at: Date;
978
+ updated_at: Date;
979
+ visible_on_profile: boolean;
980
+ recruitment_method?: string | null | undefined;
981
+ community?: string | null | undefined;
982
+ } | null | undefined>;
983
+ support: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
984
+ visible_on_profile: import("zod").ZodBoolean;
985
+ support_options: import("zod").ZodArray<import("zod").ZodString, "many">;
986
+ } & {
987
+ created_at: import("zod").ZodDate;
988
+ updated_at: import("zod").ZodDate;
989
+ }, "strip", import("zod").ZodTypeAny, {
990
+ created_at: Date;
991
+ updated_at: Date;
992
+ visible_on_profile: boolean;
993
+ support_options: string[];
994
+ }, {
995
+ created_at: Date;
996
+ updated_at: Date;
997
+ visible_on_profile: boolean;
998
+ support_options: string[];
999
+ }>>>, {
1000
+ created_at: Date;
1001
+ updated_at: Date;
1002
+ visible_on_profile: boolean;
1003
+ support_options: string[];
1004
+ } | null, {
1005
+ created_at: Date;
1006
+ updated_at: Date;
1007
+ visible_on_profile: boolean;
1008
+ support_options: string[];
1009
+ } | null | undefined>;
1010
+ action_plan: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodIntersection<import("zod").ZodObject<{
1011
+ visible_on_profile: import("zod").ZodBoolean;
1012
+ description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1013
+ } & {
1014
+ actions: import("zod").ZodArray<import("zod").ZodObject<{
1015
+ text: import("zod").ZodString;
1016
+ agreed: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | null, number | null | undefined>;
1017
+ against: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | null, number | null | undefined>;
1018
+ abstained: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | null, number | null | undefined>;
1019
+ include_in_action_plan: import("zod").ZodDefault<import("zod").ZodBoolean>;
1020
+ id: import("zod").ZodString;
1021
+ tasks: import("zod").ZodArray<import("zod").ZodObject<Omit<{
1022
+ text: import("zod").ZodString;
1023
+ complete: import("zod").ZodDefault<import("zod").ZodBoolean>;
1024
+ action_id: import("zod").ZodString;
1025
+ assembly_id: import("zod").ZodString;
1026
+ }, "assembly_id" | "action_id"> & {
1027
+ id: import("zod").ZodString;
1028
+ created_at: import("zod").ZodDate;
1029
+ updated_at: import("zod").ZodDate;
1030
+ }, "strip", import("zod").ZodTypeAny, {
1031
+ id: string;
1032
+ created_at: Date;
1033
+ updated_at: Date;
1034
+ text: string;
1035
+ complete: boolean;
1036
+ }, {
1037
+ id: string;
1038
+ created_at: Date;
1039
+ updated_at: Date;
1040
+ text: string;
1041
+ complete?: boolean | undefined;
1042
+ }>, "many">;
1043
+ updates: import("zod").ZodArray<import("zod").ZodUnknown, "many">;
1044
+ } & {
1045
+ created_at: import("zod").ZodDate;
1046
+ updated_at: import("zod").ZodDate;
1047
+ }, "strip", import("zod").ZodTypeAny, {
1048
+ id: string;
1049
+ created_at: Date;
1050
+ updated_at: Date;
1051
+ text: string;
1052
+ agreed: number | null;
1053
+ against: number | null;
1054
+ abstained: number | null;
1055
+ include_in_action_plan: boolean;
1056
+ tasks: {
1057
+ id: string;
1058
+ created_at: Date;
1059
+ updated_at: Date;
1060
+ text: string;
1061
+ complete: boolean;
1062
+ }[];
1063
+ updates: unknown[];
1064
+ }, {
1065
+ id: string;
1066
+ created_at: Date;
1067
+ updated_at: Date;
1068
+ text: string;
1069
+ tasks: {
1070
+ id: string;
1071
+ created_at: Date;
1072
+ updated_at: Date;
1073
+ text: string;
1074
+ complete?: boolean | undefined;
1075
+ }[];
1076
+ updates: unknown[];
1077
+ agreed?: number | null | undefined;
1078
+ against?: number | null | undefined;
1079
+ abstained?: number | null | undefined;
1080
+ include_in_action_plan?: boolean | undefined;
1081
+ }>, "many">;
1082
+ updates: import("zod").ZodArray<import("zod").ZodUnknown, "many">;
1083
+ }, "strip", import("zod").ZodTypeAny, {
1084
+ visible_on_profile: boolean;
1085
+ description: string | null;
1086
+ updates: unknown[];
1087
+ actions: {
1088
+ id: string;
1089
+ created_at: Date;
1090
+ updated_at: Date;
1091
+ text: string;
1092
+ agreed: number | null;
1093
+ against: number | null;
1094
+ abstained: number | null;
1095
+ include_in_action_plan: boolean;
1096
+ tasks: {
1097
+ id: string;
1098
+ created_at: Date;
1099
+ updated_at: Date;
1100
+ text: string;
1101
+ complete: boolean;
1102
+ }[];
1103
+ updates: unknown[];
1104
+ }[];
1105
+ }, {
1106
+ visible_on_profile: boolean;
1107
+ updates: unknown[];
1108
+ actions: {
1109
+ id: string;
1110
+ created_at: Date;
1111
+ updated_at: Date;
1112
+ text: string;
1113
+ tasks: {
1114
+ id: string;
1115
+ created_at: Date;
1116
+ updated_at: Date;
1117
+ text: string;
1118
+ complete?: boolean | undefined;
1119
+ }[];
1120
+ updates: unknown[];
1121
+ agreed?: number | null | undefined;
1122
+ against?: number | null | undefined;
1123
+ abstained?: number | null | undefined;
1124
+ include_in_action_plan?: boolean | undefined;
1125
+ }[];
1126
+ description?: string | null | undefined;
1127
+ }>, import("zod").ZodObject<{
1128
+ created_at: import("zod").ZodDate;
1129
+ updated_at: import("zod").ZodDate;
1130
+ }, "strip", import("zod").ZodTypeAny, {
1131
+ created_at: Date;
1132
+ updated_at: Date;
1133
+ }, {
1134
+ created_at: Date;
1135
+ updated_at: Date;
1136
+ }>>>>, NonNullable<{
1137
+ visible_on_profile: boolean;
1138
+ description: string | null;
1139
+ updates: unknown[];
1140
+ actions: {
1141
+ id: string;
1142
+ created_at: Date;
1143
+ updated_at: Date;
1144
+ text: string;
1145
+ agreed: number | null;
1146
+ against: number | null;
1147
+ abstained: number | null;
1148
+ include_in_action_plan: boolean;
1149
+ tasks: {
1150
+ id: string;
1151
+ created_at: Date;
1152
+ updated_at: Date;
1153
+ text: string;
1154
+ complete: boolean;
1155
+ }[];
1156
+ updates: unknown[];
1157
+ }[];
1158
+ } & {
1159
+ created_at: Date;
1160
+ updated_at: Date;
1161
+ }> | null, ({
1162
+ visible_on_profile: boolean;
1163
+ updates: unknown[];
1164
+ actions: {
1165
+ id: string;
1166
+ created_at: Date;
1167
+ updated_at: Date;
1168
+ text: string;
1169
+ tasks: {
1170
+ id: string;
1171
+ created_at: Date;
1172
+ updated_at: Date;
1173
+ text: string;
1174
+ complete?: boolean | undefined;
1175
+ }[];
1176
+ updates: unknown[];
1177
+ agreed?: number | null | undefined;
1178
+ against?: number | null | undefined;
1179
+ abstained?: number | null | undefined;
1180
+ include_in_action_plan?: boolean | undefined;
1181
+ }[];
1182
+ description?: string | null | undefined;
1183
+ } & {
1184
+ created_at: Date;
1185
+ updated_at: Date;
1186
+ }) | null | undefined>;
1187
+ surveys: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
1188
+ visible_on_profile: import("zod").ZodBoolean;
1189
+ } & {
1190
+ created_at: import("zod").ZodDate;
1191
+ updated_at: import("zod").ZodDate;
1192
+ } & {
1193
+ data: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1194
+ total: import("zod").ZodNumber;
1195
+ responses: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodObject<{
1196
+ label: import("zod").ZodString;
1197
+ value: import("zod").ZodNumber;
1198
+ }, "strip", import("zod").ZodTypeAny, {
1199
+ label: string;
1200
+ value: number;
1201
+ }, {
1202
+ label: string;
1203
+ value: number;
1204
+ }>, "many">>;
1205
+ }, "strip", import("zod").ZodTypeAny, {
1206
+ total: number;
1207
+ responses: Record<string, {
1208
+ label: string;
1209
+ value: number;
1210
+ }[]>;
1211
+ }, {
1212
+ total: number;
1213
+ responses: Record<string, {
1214
+ label: string;
1215
+ value: number;
1216
+ }[]>;
1217
+ }>>;
1218
+ }, "strip", import("zod").ZodTypeAny, {
1219
+ created_at: Date;
1220
+ updated_at: Date;
1221
+ visible_on_profile: boolean;
1222
+ data: Record<string, {
1223
+ total: number;
1224
+ responses: Record<string, {
1225
+ label: string;
1226
+ value: number;
1227
+ }[]>;
1228
+ }>;
1229
+ }, {
1230
+ created_at: Date;
1231
+ updated_at: Date;
1232
+ visible_on_profile: boolean;
1233
+ data: Record<string, {
1234
+ total: number;
1235
+ responses: Record<string, {
1236
+ label: string;
1237
+ value: number;
1238
+ }[]>;
1239
+ }>;
1240
+ }>>>, {
1241
+ created_at: Date;
1242
+ updated_at: Date;
1243
+ visible_on_profile: boolean;
1244
+ data: Record<string, {
1245
+ total: number;
1246
+ responses: Record<string, {
1247
+ label: string;
1248
+ value: number;
1249
+ }[]>;
1250
+ }>;
1251
+ } | null, {
1252
+ created_at: Date;
1253
+ updated_at: Date;
1254
+ visible_on_profile: boolean;
1255
+ data: Record<string, {
1256
+ total: number;
1257
+ responses: Record<string, {
1258
+ label: string;
1259
+ value: number;
1260
+ }[]>;
1261
+ }>;
1262
+ } | null | undefined>;
1263
+ }, "strip", import("zod").ZodTypeAny, {
1264
+ id: string;
1265
+ created_at: Date;
1266
+ updated_at: Date;
1267
+ name: string;
1268
+ published_at: Date | null;
1269
+ about: string | null;
1270
+ topics: string[];
1271
+ country: string | null;
1272
+ hide: boolean;
1273
+ has_image: boolean;
1274
+ image_src: string | null;
1275
+ organisation: {
1276
+ type: string | null;
1277
+ id: string;
1278
+ created_at: Date;
1279
+ updated_at: Date;
1280
+ name: string | null;
1281
+ visible_on_profile: boolean;
1282
+ description: string | null;
1283
+ } | null;
1284
+ event_details: {
1285
+ created_at: Date;
1286
+ updated_at: Date;
1287
+ visible_on_profile: boolean;
1288
+ registration_link: string | null;
1289
+ start_date: Date | null;
1290
+ } | null;
1291
+ story: {
1292
+ created_at: Date;
1293
+ updated_at: Date;
1294
+ visible_on_profile: boolean;
1295
+ background: string | null;
1296
+ } | null;
1297
+ supporters: {
1298
+ created_at: Date;
1299
+ updated_at: Date;
1300
+ visible_on_profile: boolean;
1301
+ description: string | null;
1302
+ organisation_types: string[];
1303
+ } | null;
1304
+ funders: {
1305
+ created_at: Date;
1306
+ updated_at: Date;
1307
+ visible_on_profile: boolean;
1308
+ description: string | null;
1309
+ organisation_types: string[];
1310
+ } | null;
1311
+ facilitation: {
1312
+ created_at: Date;
1313
+ updated_at: Date;
1314
+ visible_on_profile: boolean;
1315
+ decision_method: string | null;
1316
+ } | null;
1317
+ participants: {
1318
+ created_at: Date;
1319
+ updated_at: Date;
1320
+ visible_on_profile: boolean;
1321
+ recruitment_method: string | null;
1322
+ community: string | null;
1323
+ } | null;
1324
+ support: {
1325
+ created_at: Date;
1326
+ updated_at: Date;
1327
+ visible_on_profile: boolean;
1328
+ support_options: string[];
1329
+ } | null;
1330
+ action_plan: NonNullable<{
1331
+ visible_on_profile: boolean;
1332
+ description: string | null;
1333
+ updates: unknown[];
1334
+ actions: {
1335
+ id: string;
1336
+ created_at: Date;
1337
+ updated_at: Date;
1338
+ text: string;
1339
+ agreed: number | null;
1340
+ against: number | null;
1341
+ abstained: number | null;
1342
+ include_in_action_plan: boolean;
1343
+ tasks: {
1344
+ id: string;
1345
+ created_at: Date;
1346
+ updated_at: Date;
1347
+ text: string;
1348
+ complete: boolean;
1349
+ }[];
1350
+ updates: unknown[];
1351
+ }[];
1352
+ } & {
1353
+ created_at: Date;
1354
+ updated_at: Date;
1355
+ }> | null;
1356
+ surveys: {
1357
+ created_at: Date;
1358
+ updated_at: Date;
1359
+ visible_on_profile: boolean;
1360
+ data: Record<string, {
1361
+ total: number;
1362
+ responses: Record<string, {
1363
+ label: string;
1364
+ value: number;
1365
+ }[]>;
1366
+ }>;
1367
+ } | null;
1368
+ is_own: boolean;
1369
+ }, {
1370
+ id: string;
1371
+ created_at: Date;
1372
+ updated_at: Date;
1373
+ name: string;
1374
+ topics: string[];
1375
+ has_image: boolean;
1376
+ is_own: boolean;
1377
+ published_at?: Date | null | undefined;
1378
+ about?: string | null | undefined;
1379
+ country?: string | null | undefined;
1380
+ hide?: boolean | undefined;
1381
+ image_src?: string | null | undefined;
1382
+ organisation?: {
1383
+ id: string;
1384
+ created_at: Date;
1385
+ updated_at: Date;
1386
+ visible_on_profile: boolean;
1387
+ type?: string | null | undefined;
1388
+ name?: string | null | undefined;
1389
+ description?: string | null | undefined;
1390
+ } | null | undefined;
1391
+ event_details?: {
1392
+ created_at: Date;
1393
+ updated_at: Date;
1394
+ visible_on_profile: boolean;
1395
+ registration_link?: string | null | undefined;
1396
+ start_date?: Date | null | undefined;
1397
+ } | null | undefined;
1398
+ story?: {
1399
+ created_at: Date;
1400
+ updated_at: Date;
1401
+ visible_on_profile: boolean;
1402
+ background?: string | null | undefined;
1403
+ } | null | undefined;
1404
+ supporters?: {
1405
+ created_at: Date;
1406
+ updated_at: Date;
1407
+ visible_on_profile: boolean;
1408
+ organisation_types: string[];
1409
+ description?: string | null | undefined;
1410
+ } | null | undefined;
1411
+ funders?: {
1412
+ created_at: Date;
1413
+ updated_at: Date;
1414
+ visible_on_profile: boolean;
1415
+ organisation_types: string[];
1416
+ description?: string | null | undefined;
1417
+ } | null | undefined;
1418
+ facilitation?: {
1419
+ created_at: Date;
1420
+ updated_at: Date;
1421
+ visible_on_profile: boolean;
1422
+ decision_method?: string | null | undefined;
1423
+ } | null | undefined;
1424
+ participants?: {
1425
+ created_at: Date;
1426
+ updated_at: Date;
1427
+ visible_on_profile: boolean;
1428
+ recruitment_method?: string | null | undefined;
1429
+ community?: string | null | undefined;
1430
+ } | null | undefined;
1431
+ support?: {
1432
+ created_at: Date;
1433
+ updated_at: Date;
1434
+ visible_on_profile: boolean;
1435
+ support_options: string[];
1436
+ } | null | undefined;
1437
+ action_plan?: ({
1438
+ visible_on_profile: boolean;
1439
+ updates: unknown[];
1440
+ actions: {
1441
+ id: string;
1442
+ created_at: Date;
1443
+ updated_at: Date;
1444
+ text: string;
1445
+ tasks: {
1446
+ id: string;
1447
+ created_at: Date;
1448
+ updated_at: Date;
1449
+ text: string;
1450
+ complete?: boolean | undefined;
1451
+ }[];
1452
+ updates: unknown[];
1453
+ agreed?: number | null | undefined;
1454
+ against?: number | null | undefined;
1455
+ abstained?: number | null | undefined;
1456
+ include_in_action_plan?: boolean | undefined;
1457
+ }[];
1458
+ description?: string | null | undefined;
1459
+ } & {
1460
+ created_at: Date;
1461
+ updated_at: Date;
1462
+ }) | null | undefined;
1463
+ surveys?: {
1464
+ created_at: Date;
1465
+ updated_at: Date;
1466
+ visible_on_profile: boolean;
1467
+ data: Record<string, {
1468
+ total: number;
1469
+ responses: Record<string, {
1470
+ label: string;
1471
+ value: number;
1472
+ }[]>;
1473
+ }>;
1474
+ } | null | undefined;
1475
+ }>;
1476
+ };
1477
+ export declare const FeedbackSchema: {
1478
+ payload: import("zod").ZodObject<{
1479
+ route: import("zod").ZodString;
1480
+ text: import("zod").ZodString;
1481
+ metadata: import("zod").ZodUnknown;
1482
+ }, "strip", import("zod").ZodTypeAny, {
1483
+ text: string;
1484
+ route: string;
1485
+ metadata?: unknown;
1486
+ }, {
1487
+ text: string;
1488
+ route: string;
1489
+ metadata?: unknown;
1490
+ }>;
1491
+ response: import("zod").ZodString;
1492
+ };
1493
+ export declare const LogSchema: {
1494
+ payload: import("zod").ZodObject<{
1495
+ message: import("zod").ZodOptional<import("zod").ZodString>;
1496
+ data: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>;
1497
+ metadata: import("zod").ZodObject<{
1498
+ origin: import("zod").ZodString;
1499
+ route: import("zod").ZodString;
1500
+ status: import("zod").ZodNumber;
1501
+ }, "strip", import("zod").ZodTypeAny, {
1502
+ status: number;
1503
+ route: string;
1504
+ origin: string;
1505
+ }, {
1506
+ status: number;
1507
+ route: string;
1508
+ origin: string;
1509
+ }>;
1510
+ }, "strip", import("zod").ZodTypeAny, {
1511
+ metadata: {
1512
+ status: number;
1513
+ route: string;
1514
+ origin: string;
1515
+ };
1516
+ message?: string | undefined;
1517
+ data?: Record<string, string | undefined> | undefined;
1518
+ }, {
1519
+ metadata: {
1520
+ status: number;
1521
+ route: string;
1522
+ origin: string;
1523
+ };
1524
+ message?: string | undefined;
1525
+ data?: Record<string, string | undefined> | undefined;
1526
+ }>;
1527
+ response: import("zod").ZodString;
1528
+ };
1529
+ export declare const RegisterSchema: {
1530
+ payload: import("zod").ZodObject<{
1531
+ type: import("zod").ZodLiteral<"user.created">;
1532
+ object: import("zod").ZodLiteral<"event">;
1533
+ data: import("zod").ZodObject<{
1534
+ id: import("zod").ZodString;
1535
+ email_addresses: import("zod").ZodArray<import("zod").ZodObject<{
1536
+ email_address: import("zod").ZodString;
1537
+ }, "strip", import("zod").ZodTypeAny, {
1538
+ email_address: string;
1539
+ }, {
1540
+ email_address: string;
1541
+ }>, "many">;
1542
+ }, "strip", import("zod").ZodTypeAny, {
1543
+ id: string;
1544
+ email_addresses: {
1545
+ email_address: string;
1546
+ }[];
1547
+ }, {
1548
+ id: string;
1549
+ email_addresses: {
1550
+ email_address: string;
1551
+ }[];
1552
+ }>;
1553
+ }, "strip", import("zod").ZodTypeAny, {
1554
+ object: "event";
1555
+ type: "user.created";
1556
+ data: {
1557
+ id: string;
1558
+ email_addresses: {
1559
+ email_address: string;
1560
+ }[];
1561
+ };
1562
+ }, {
1563
+ object: "event";
1564
+ type: "user.created";
1565
+ data: {
1566
+ id: string;
1567
+ email_addresses: {
1568
+ email_address: string;
1569
+ }[];
1570
+ };
1571
+ }>;
1572
+ response: import("zod").ZodString;
1573
+ };
1574
+ export declare const PinSchema: {
1575
+ payload: import("zod").ZodObject<{
1576
+ country: import("zod").ZodString;
1577
+ email: import("zod").ZodString;
1578
+ text: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1579
+ }, "strip", import("zod").ZodTypeAny, {
1580
+ text: string | null;
1581
+ country: string;
1582
+ email: string;
1583
+ }, {
1584
+ country: string;
1585
+ email: string;
1586
+ text?: string | null | undefined;
1587
+ }>;
1588
+ response: import("zod").ZodObject<{
1589
+ id: import("zod").ZodString;
1590
+ created_at: import("zod").ZodDate;
1591
+ updated_at: import("zod").ZodDate;
1592
+ country: import("zod").ZodString;
1593
+ text: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1594
+ hide: import("zod").ZodBoolean;
1595
+ has_image: import("zod").ZodBoolean;
1596
+ image_src: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1597
+ }, "strip", import("zod").ZodTypeAny, {
1598
+ id: string;
1599
+ created_at: Date;
1600
+ updated_at: Date;
1601
+ text: string | null;
1602
+ country: string;
1603
+ hide: boolean;
1604
+ has_image: boolean;
1605
+ image_src: string | null;
1606
+ }, {
1607
+ id: string;
1608
+ created_at: Date;
1609
+ updated_at: Date;
1610
+ country: string;
1611
+ hide: boolean;
1612
+ has_image: boolean;
1613
+ text?: string | null | undefined;
1614
+ image_src?: string | null | undefined;
1615
+ }>;
1616
+ };
1617
+ export declare const PinListSchema: {
1618
+ payload: import("zod").ZodUndefined;
1619
+ response: import("zod").ZodObject<{
1620
+ assemblies: import("zod").ZodArray<import("zod").ZodObject<{
1621
+ published_at: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
1622
+ name: import("zod").ZodString;
1623
+ about: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1624
+ topics: import("zod").ZodArray<import("zod").ZodString, "many">;
1625
+ country: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1626
+ hide: import("zod").ZodDefault<import("zod").ZodBoolean>;
1627
+ } & {
1628
+ id: import("zod").ZodString;
1629
+ created_at: import("zod").ZodDate;
1630
+ updated_at: import("zod").ZodDate;
1631
+ has_image: import("zod").ZodBoolean;
1632
+ image_src: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1633
+ }, "strip", import("zod").ZodTypeAny, {
1634
+ id: string;
1635
+ created_at: Date;
1636
+ updated_at: Date;
1637
+ name: string;
1638
+ published_at: Date | null;
1639
+ about: string | null;
1640
+ topics: string[];
1641
+ country: string | null;
1642
+ hide: boolean;
1643
+ has_image: boolean;
1644
+ image_src: string | null;
1645
+ }, {
1646
+ id: string;
1647
+ created_at: Date;
1648
+ updated_at: Date;
1649
+ name: string;
1650
+ topics: string[];
1651
+ has_image: boolean;
1652
+ published_at?: Date | null | undefined;
1653
+ about?: string | null | undefined;
1654
+ country?: string | null | undefined;
1655
+ hide?: boolean | undefined;
1656
+ image_src?: string | null | undefined;
1657
+ }>, "many">;
1658
+ pins: import("zod").ZodArray<import("zod").ZodObject<{
1659
+ id: import("zod").ZodString;
1660
+ created_at: import("zod").ZodDate;
1661
+ updated_at: import("zod").ZodDate;
1662
+ country: import("zod").ZodString;
1663
+ text: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1664
+ hide: import("zod").ZodBoolean;
1665
+ has_image: import("zod").ZodBoolean;
1666
+ image_src: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1667
+ }, "strip", import("zod").ZodTypeAny, {
1668
+ id: string;
1669
+ created_at: Date;
1670
+ updated_at: Date;
1671
+ text: string | null;
1672
+ country: string;
1673
+ hide: boolean;
1674
+ has_image: boolean;
1675
+ image_src: string | null;
1676
+ }, {
1677
+ id: string;
1678
+ created_at: Date;
1679
+ updated_at: Date;
1680
+ country: string;
1681
+ hide: boolean;
1682
+ has_image: boolean;
1683
+ text?: string | null | undefined;
1684
+ image_src?: string | null | undefined;
1685
+ }>, "many">;
1686
+ }, "strip", import("zod").ZodTypeAny, {
1687
+ assemblies: {
1688
+ id: string;
1689
+ created_at: Date;
1690
+ updated_at: Date;
1691
+ name: string;
1692
+ published_at: Date | null;
1693
+ about: string | null;
1694
+ topics: string[];
1695
+ country: string | null;
1696
+ hide: boolean;
1697
+ has_image: boolean;
1698
+ image_src: string | null;
1699
+ }[];
1700
+ pins: {
1701
+ id: string;
1702
+ created_at: Date;
1703
+ updated_at: Date;
1704
+ text: string | null;
1705
+ country: string;
1706
+ hide: boolean;
1707
+ has_image: boolean;
1708
+ image_src: string | null;
1709
+ }[];
1710
+ }, {
1711
+ assemblies: {
1712
+ id: string;
1713
+ created_at: Date;
1714
+ updated_at: Date;
1715
+ name: string;
1716
+ topics: string[];
1717
+ has_image: boolean;
1718
+ published_at?: Date | null | undefined;
1719
+ about?: string | null | undefined;
1720
+ country?: string | null | undefined;
1721
+ hide?: boolean | undefined;
1722
+ image_src?: string | null | undefined;
1723
+ }[];
1724
+ pins: {
1725
+ id: string;
1726
+ created_at: Date;
1727
+ updated_at: Date;
1728
+ country: string;
1729
+ hide: boolean;
1730
+ has_image: boolean;
1731
+ text?: string | null | undefined;
1732
+ image_src?: string | null | undefined;
1733
+ }[];
1734
+ }>;
1735
+ };