@dev-crew-berlin/enter-js-utils 0.23.0 → 0.30.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 (46) hide show
  1. package/README.md +2 -7
  2. package/dist/api-client/api-base.d.ts +22 -7
  3. package/dist/api-client/api-base.js +30 -32
  4. package/dist/api-client/index.d.ts +27 -45
  5. package/dist/api-client/index.js +58 -46
  6. package/dist/generated/api-schema.d.ts +1665 -0
  7. package/dist/generated/api-schema.js +1 -0
  8. package/dist/lib/api-result.d.ts +1 -8
  9. package/dist/lib/api-result.js +1 -12
  10. package/dist/models/access-token.d.ts +2 -11
  11. package/dist/models/access-token.js +1 -11
  12. package/dist/models/attendee.d.ts +13 -60
  13. package/dist/models/attendee.js +41 -87
  14. package/dist/models/checkin-counts.d.ts +4 -10
  15. package/dist/models/checkin-counts.js +1 -10
  16. package/dist/models/checkin.d.ts +9 -0
  17. package/dist/models/checkin.js +16 -0
  18. package/dist/models/checkins.d.ts +4 -32
  19. package/dist/models/checkins.js +14 -42
  20. package/dist/models/event.d.ts +2 -40
  21. package/dist/models/field-group.d.ts +5 -448
  22. package/dist/models/field-group.js +4 -31
  23. package/dist/models/field-value.d.ts +0 -1
  24. package/dist/models/field-value.js +1 -3
  25. package/dist/models/field.d.ts +11 -297
  26. package/dist/models/field.js +1 -89
  27. package/dist/models/index.d.ts +2 -3
  28. package/dist/models/instance.d.ts +10 -53
  29. package/dist/models/instance.js +23 -65
  30. package/dist/models/user.d.ts +2 -20
  31. package/dist/models/user.js +1 -13
  32. package/dist/models/variable.d.ts +2 -27
  33. package/dist/models/variable.js +1 -16
  34. package/dist/ui/companion-info.stories.js +1 -3
  35. package/dist/ui/guest-card.stories.js +2 -6
  36. package/dist/ui/icons/caret.d.ts +7 -0
  37. package/dist/ui/icons/caret.js +20 -0
  38. package/dist/ui/icons/caret.stories.d.ts +15 -0
  39. package/dist/ui/icons/caret.stories.js +20 -0
  40. package/package.json +10 -8
  41. package/dist/models/_helpers.d.ts +0 -23
  42. package/dist/models/_helpers.js +0 -89
  43. package/dist/models/invite.d.ts +0 -33
  44. package/dist/models/invite.js +0 -21
  45. package/dist/models/meta-field.d.ts +0 -7
  46. package/dist/models/meta-field.js +0 -9
@@ -0,0 +1,1665 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export declare type paths = {
6
+ "/authenticate": {
7
+ post: operations["login_authenticate_post"];
8
+ };
9
+ "/authenticate/refresh": {
10
+ post: operations["refresh_token_authenticate_refresh_post"];
11
+ };
12
+ "/instances/{instance_name}/checkin_counts": {
13
+ get: operations["checkin_counts_instances__instance_name__checkin_counts_get"];
14
+ };
15
+ "/events": {
16
+ /** Send a list of events to be applied to the current state. Events are executed in order. */
17
+ post: operations["create_events_events_post"];
18
+ };
19
+ "/instances/{instance_name}/fields": {
20
+ get: operations["fields_instances__instance_name__fields_get"];
21
+ };
22
+ "/users/me": {
23
+ get: operations["current_user_users_me_get"];
24
+ /**
25
+ * This method allows to update the `userdata` associated with the current user
26
+ *
27
+ * The `userdata` keys at the root level are megred.
28
+ * This means only provided keys will be updated, others are left unchanged.
29
+ *
30
+ * To delete a key set its value to `null`.
31
+ */
32
+ patch: operations["update_current_user_users_me_patch"];
33
+ };
34
+ "/instances": {
35
+ get: operations["instance_list_instances_get"];
36
+ };
37
+ "/instances/{instance_name}": {
38
+ get: operations["single_instance_instances__instance_name__get"];
39
+ };
40
+ "/instances/{instance_name}/attendees": {
41
+ get: operations["attendee_list_instances__instance_name__attendees_get"];
42
+ };
43
+ "/instances/{instance_name}/attendees/{attendee_id}": {
44
+ get: operations["single_attende_instances__instance_name__attendees__attendee_id__get"];
45
+ };
46
+ "/instances/{instance_name}/attendees/{attendee_id}/emails/{email_name}/send": {
47
+ post: operations["send_email_instances__instance_name__attendees__attendee_id__emails__email_name__send_post"];
48
+ };
49
+ "/instances/{instance_name}/variables": {
50
+ get: operations["variable_list_instances__instance_name__variables_get"];
51
+ post: operations["create_variable_instances__instance_name__variables_post"];
52
+ };
53
+ "/instances/{instance_name}/variables/{variable_name}": {
54
+ get: operations["single_variable_instances__instance_name__variables__variable_name__get"];
55
+ put: operations["update_variable_instances__instance_name__variables__variable_name__put"];
56
+ delete: operations["delete_variable_instances__instance_name__variables__variable_name__delete"];
57
+ };
58
+ };
59
+ export declare type components = {
60
+ schemas: {
61
+ /**
62
+ * AttendeeCreatedEvent
63
+ * @description New attendee was created
64
+ */
65
+ AttendeeCreatedEvent: {
66
+ /**
67
+ * Event
68
+ * @default attendee-created
69
+ * @enum {string}
70
+ */
71
+ event: "attendee-created";
72
+ /**
73
+ * Id
74
+ * Format: uuid
75
+ */
76
+ id: string;
77
+ attendee: components["schemas"]["PublicAttendee"];
78
+ /** Instancename */
79
+ instanceName: string;
80
+ };
81
+ /**
82
+ * AttendeeDeletedEvent
83
+ * @description Attendee was deleted
84
+ */
85
+ AttendeeDeletedEvent: {
86
+ /**
87
+ * Event
88
+ * @default attendee-deleted
89
+ * @enum {string}
90
+ */
91
+ event: "attendee-deleted";
92
+ /**
93
+ * Id
94
+ * Format: uuid
95
+ */
96
+ id: string;
97
+ /** Attendeeid */
98
+ attendeeId: string;
99
+ /** Instancename */
100
+ instanceName: string;
101
+ /** Final */
102
+ final: boolean;
103
+ };
104
+ /**
105
+ * AttendeeRespondedEvent
106
+ * @description Attendee response status was changed. Meaning the rsvp value was updated.
107
+ *
108
+ * This triggers mails that are atomatically sent on response.
109
+ * Alternatively you can set `is_edit` to trigger email that are sent on edit instead.
110
+ */
111
+ AttendeeRespondedEvent: {
112
+ /**
113
+ * Event
114
+ * @default attendee-responded
115
+ * @enum {string}
116
+ */
117
+ event: "attendee-responded";
118
+ /**
119
+ * Id
120
+ * Format: uuid
121
+ */
122
+ id: string;
123
+ /** Instancename */
124
+ instanceName: string;
125
+ /** Attendeeid */
126
+ attendeeId: string;
127
+ /** Rsvp */
128
+ rsvp: {
129
+ [key: string]: number;
130
+ };
131
+ /** Isedit */
132
+ isEdit: boolean;
133
+ };
134
+ /** AttendeeUpdate */
135
+ AttendeeUpdate: {
136
+ /** Userdata */
137
+ userdata?: {
138
+ [key: string]: unknown;
139
+ };
140
+ /** Metadata */
141
+ metadata?: {
142
+ [key: string]: unknown;
143
+ };
144
+ /** Tags */
145
+ tags?: string[];
146
+ /** Language */
147
+ language?: string;
148
+ /**
149
+ * Time
150
+ * Format: date-time
151
+ */
152
+ time?: string;
153
+ /** Rsvp */
154
+ rsvp?: {
155
+ [key: string]: number;
156
+ };
157
+ /** Companions */
158
+ companions?: components["schemas"]["MainGuestJSON"] | components["schemas"]["CompanionJSON"];
159
+ payment?: components["schemas"]["Payment"];
160
+ };
161
+ /**
162
+ * AttendeeUpdatedEvent
163
+ * @description Attendee was updated. This includes `userdata` but also other data such as `payment`, `rsvp` or `tags`
164
+ */
165
+ AttendeeUpdatedEvent: {
166
+ /**
167
+ * Event
168
+ * @default attendee-updated
169
+ * @enum {string}
170
+ */
171
+ event: "attendee-updated";
172
+ /**
173
+ * Id
174
+ * Format: uuid
175
+ */
176
+ id: string;
177
+ /** Instancename */
178
+ instanceName: string;
179
+ /** Attendeeid */
180
+ attendeeId: string;
181
+ updates: components["schemas"]["AttendeeUpdate"];
182
+ };
183
+ /** AuthField */
184
+ AuthField: {
185
+ /**
186
+ * Type
187
+ * @default auth
188
+ * @enum {string}
189
+ */
190
+ type: "auth";
191
+ /**
192
+ * Name
193
+ * @default new_field
194
+ */
195
+ name: string;
196
+ /** Title */
197
+ title?: string | {
198
+ [key: string]: string;
199
+ };
200
+ /** Info */
201
+ info?: string | {
202
+ [key: string]: string;
203
+ };
204
+ /**
205
+ * Class
206
+ * @default
207
+ */
208
+ class: string;
209
+ /**
210
+ * Ismetafield
211
+ * @default false
212
+ */
213
+ isMetaField: boolean;
214
+ /**
215
+ * Required
216
+ * @default false
217
+ */
218
+ required: boolean;
219
+ /**
220
+ * Hidden
221
+ * @default false
222
+ */
223
+ hidden: boolean;
224
+ /**
225
+ * Attendeesonly
226
+ * @default false
227
+ */
228
+ attendeesOnly: boolean;
229
+ /** Value */
230
+ value?: string;
231
+ /** If */
232
+ if?: string;
233
+ };
234
+ /** AuthResponse */
235
+ AuthResponse: {
236
+ /**
237
+ * Token Type
238
+ * @enum {string}
239
+ */
240
+ token_type: "bearer";
241
+ /** Access Token */
242
+ access_token: string;
243
+ /**
244
+ * Expires
245
+ * Format: date-time
246
+ */
247
+ expires: string;
248
+ };
249
+ /** Body_login_authenticate_post */
250
+ Body_login_authenticate_post: {
251
+ /** Grant Type */
252
+ grant_type?: string;
253
+ /** Username */
254
+ username: string;
255
+ /** Password */
256
+ password: string;
257
+ /**
258
+ * Scope
259
+ * @default
260
+ */
261
+ scope: string;
262
+ /** Client Id */
263
+ client_id?: string;
264
+ /** Client Secret */
265
+ client_secret?: string;
266
+ };
267
+ /** CheckboxField */
268
+ CheckboxField: {
269
+ /**
270
+ * Type
271
+ * @default checkbox
272
+ * @enum {string}
273
+ */
274
+ type: "checkbox";
275
+ /**
276
+ * Name
277
+ * @default new_field
278
+ */
279
+ name: string;
280
+ /** Title */
281
+ title?: string | {
282
+ [key: string]: string;
283
+ };
284
+ /** Info */
285
+ info?: string | {
286
+ [key: string]: string;
287
+ };
288
+ /**
289
+ * Class
290
+ * @default
291
+ */
292
+ class: string;
293
+ /**
294
+ * Ismetafield
295
+ * @default false
296
+ */
297
+ isMetaField: boolean;
298
+ /**
299
+ * Required
300
+ * @default false
301
+ */
302
+ required: boolean;
303
+ /**
304
+ * Hidden
305
+ * @default false
306
+ */
307
+ hidden: boolean;
308
+ /**
309
+ * Attendeesonly
310
+ * @default false
311
+ */
312
+ attendeesOnly: boolean;
313
+ /** Value */
314
+ value?: string;
315
+ /** If */
316
+ if?: string;
317
+ };
318
+ /** CheckboxGroupField */
319
+ CheckboxGroupField: {
320
+ /**
321
+ * Type
322
+ * @default check
323
+ * @enum {string}
324
+ */
325
+ type: "check";
326
+ /**
327
+ * Name
328
+ * @default new_field
329
+ */
330
+ name: string;
331
+ /** Title */
332
+ title?: string | {
333
+ [key: string]: string;
334
+ };
335
+ /** Info */
336
+ info?: string | {
337
+ [key: string]: string;
338
+ };
339
+ /**
340
+ * Class
341
+ * @default
342
+ */
343
+ class: string;
344
+ /**
345
+ * Ismetafield
346
+ * @default false
347
+ */
348
+ isMetaField: boolean;
349
+ /**
350
+ * Required
351
+ * @default false
352
+ */
353
+ required: boolean;
354
+ /**
355
+ * Hidden
356
+ * @default false
357
+ */
358
+ hidden: boolean;
359
+ /**
360
+ * Attendeesonly
361
+ * @default false
362
+ */
363
+ attendeesOnly: boolean;
364
+ /** Value */
365
+ value?: string[];
366
+ /** If */
367
+ if?: string;
368
+ /**
369
+ * Items
370
+ * @default []
371
+ */
372
+ items: components["schemas"]["ItemOption"][];
373
+ };
374
+ /**
375
+ * Checkin
376
+ * @description The unique event with the time when someone passed a checkpoint
377
+ */
378
+ Checkin: {
379
+ /**
380
+ * Id
381
+ * Format: uuid
382
+ */
383
+ id: string;
384
+ /**
385
+ * Time
386
+ * Format: date-time
387
+ */
388
+ time: string;
389
+ /** Main */
390
+ main: boolean;
391
+ };
392
+ /** CheckinCount */
393
+ CheckinCount: {
394
+ /**
395
+ * Rsvp
396
+ * @default 0
397
+ */
398
+ rsvp: number;
399
+ /**
400
+ * Checkins
401
+ * @default 0
402
+ */
403
+ checkins: number;
404
+ };
405
+ /**
406
+ * CheckinCreatedEvent
407
+ * @description A new checkin was created
408
+ */
409
+ CheckinCreatedEvent: {
410
+ /**
411
+ * Event
412
+ * @default checkin-created
413
+ * @enum {string}
414
+ */
415
+ event: "checkin-created";
416
+ /**
417
+ * Id
418
+ * Format: uuid
419
+ */
420
+ id: string;
421
+ /** Instancename */
422
+ instanceName: string;
423
+ /** Attendeeid */
424
+ attendeeId: string;
425
+ /** Checkintag */
426
+ checkinTag: string;
427
+ checkin: components["schemas"]["Checkin"];
428
+ };
429
+ /**
430
+ * CheckinDeletedEvent
431
+ * @description An existing checkin was deleted
432
+ */
433
+ CheckinDeletedEvent: {
434
+ /**
435
+ * Event
436
+ * @default checkin-deleted
437
+ * @enum {string}
438
+ */
439
+ event: "checkin-deleted";
440
+ /**
441
+ * Id
442
+ * Format: uuid
443
+ */
444
+ id: string;
445
+ /** Instancename */
446
+ instanceName: string;
447
+ /** Attendeeid */
448
+ attendeeId: string;
449
+ /**
450
+ * Checkinid
451
+ * Format: uuid
452
+ */
453
+ checkinId: string;
454
+ /** Checkintag */
455
+ checkinTag: string;
456
+ };
457
+ /**
458
+ * Checkins
459
+ * @description A list of checkins
460
+ */
461
+ Checkins: {
462
+ /**
463
+ * Checkins
464
+ * @default []
465
+ */
466
+ checkins: components["schemas"]["Checkin"][];
467
+ /**
468
+ * Deleted
469
+ * @default []
470
+ */
471
+ deleted: string[];
472
+ };
473
+ /** CompanionJSON */
474
+ CompanionJSON: {
475
+ /**
476
+ * Iscompanion
477
+ * @enum {boolean}
478
+ */
479
+ isCompanion: true;
480
+ /** Mainguestid */
481
+ mainGuestId: string;
482
+ };
483
+ /** DropdownField */
484
+ DropdownField: {
485
+ /**
486
+ * Type
487
+ * @default dropdown
488
+ * @enum {string}
489
+ */
490
+ type: "dropdown";
491
+ /**
492
+ * Name
493
+ * @default new_field
494
+ */
495
+ name: string;
496
+ /** Title */
497
+ title?: string | {
498
+ [key: string]: string;
499
+ };
500
+ /** Info */
501
+ info?: string | {
502
+ [key: string]: string;
503
+ };
504
+ /**
505
+ * Class
506
+ * @default
507
+ */
508
+ class: string;
509
+ /**
510
+ * Ismetafield
511
+ * @default false
512
+ */
513
+ isMetaField: boolean;
514
+ /**
515
+ * Required
516
+ * @default false
517
+ */
518
+ required: boolean;
519
+ /**
520
+ * Hidden
521
+ * @default false
522
+ */
523
+ hidden: boolean;
524
+ /**
525
+ * Attendeesonly
526
+ * @default false
527
+ */
528
+ attendeesOnly: boolean;
529
+ /** Value */
530
+ value?: string;
531
+ /** If */
532
+ if?: string;
533
+ /**
534
+ * Items
535
+ * @default []
536
+ */
537
+ items: components["schemas"]["ItemOption"][];
538
+ };
539
+ /** EmailField */
540
+ EmailField: {
541
+ /**
542
+ * Type
543
+ * @default email
544
+ * @enum {string}
545
+ */
546
+ type: "email";
547
+ /**
548
+ * Name
549
+ * @default new_field
550
+ */
551
+ name: string;
552
+ /** Title */
553
+ title?: string | {
554
+ [key: string]: string;
555
+ };
556
+ /** Info */
557
+ info?: string | {
558
+ [key: string]: string;
559
+ };
560
+ /**
561
+ * Class
562
+ * @default
563
+ */
564
+ class: string;
565
+ /**
566
+ * Ismetafield
567
+ * @default false
568
+ */
569
+ isMetaField: boolean;
570
+ /**
571
+ * Required
572
+ * @default false
573
+ */
574
+ required: boolean;
575
+ /**
576
+ * Hidden
577
+ * @default false
578
+ */
579
+ hidden: boolean;
580
+ /**
581
+ * Attendeesonly
582
+ * @default false
583
+ */
584
+ attendeesOnly: boolean;
585
+ /** Value */
586
+ value?: string;
587
+ /** If */
588
+ if?: string;
589
+ /** Min */
590
+ min?: number;
591
+ /** Max */
592
+ max?: number;
593
+ };
594
+ /** EventList */
595
+ EventList: (components["schemas"]["AttendeeCreatedEvent"] | components["schemas"]["AttendeeUpdatedEvent"] | components["schemas"]["AttendeeRespondedEvent"] | components["schemas"]["AttendeeDeletedEvent"] | components["schemas"]["CheckinCreatedEvent"] | components["schemas"]["CheckinDeletedEvent"] | components["schemas"]["PaymentPaidEvent"])[];
596
+ /** FieldGroup */
597
+ FieldGroup: {
598
+ /** Questions */
599
+ questions: (components["schemas"]["TextField"] | components["schemas"]["StaticField"] | components["schemas"]["ImageUploadField"] | components["schemas"]["FileUploadField"] | components["schemas"]["LongtextField"] | components["schemas"]["RadioButtonField"] | components["schemas"]["RadioButtonGroupField"] | components["schemas"]["DropdownField"] | components["schemas"]["EmailField"] | components["schemas"]["AuthField"] | components["schemas"]["NumberField"] | components["schemas"]["CheckboxField"] | components["schemas"]["CheckboxGroupField"])[];
600
+ /** Info */
601
+ info?: string | {
602
+ [key: string]: string;
603
+ };
604
+ /** Title */
605
+ title?: string | {
606
+ [key: string]: string;
607
+ };
608
+ /** Class */
609
+ class?: string;
610
+ /** If */
611
+ if?: string;
612
+ /**
613
+ * Ismetagroup
614
+ * @default false
615
+ */
616
+ isMetaGroup: boolean;
617
+ };
618
+ /** FileUploadField */
619
+ FileUploadField: {
620
+ /**
621
+ * Type
622
+ * @default upload
623
+ * @enum {string}
624
+ */
625
+ type: "upload";
626
+ /**
627
+ * Name
628
+ * @default new_field
629
+ */
630
+ name: string;
631
+ /** Title */
632
+ title?: string | {
633
+ [key: string]: string;
634
+ };
635
+ /** Info */
636
+ info?: string | {
637
+ [key: string]: string;
638
+ };
639
+ /**
640
+ * Class
641
+ * @default
642
+ */
643
+ class: string;
644
+ /**
645
+ * Ismetafield
646
+ * @default false
647
+ */
648
+ isMetaField: boolean;
649
+ /**
650
+ * Required
651
+ * @default false
652
+ */
653
+ required: boolean;
654
+ /**
655
+ * Hidden
656
+ * @default false
657
+ */
658
+ hidden: boolean;
659
+ /**
660
+ * Attendeesonly
661
+ * @default false
662
+ */
663
+ attendeesOnly: boolean;
664
+ /** Value */
665
+ value?: string;
666
+ /** If */
667
+ if?: string;
668
+ /** Min */
669
+ min?: number;
670
+ /** Max */
671
+ max?: number;
672
+ /** Ext */
673
+ ext?: string[];
674
+ };
675
+ /** HTTPValidationError */
676
+ HTTPValidationError: {
677
+ /** Detail */
678
+ detail?: components["schemas"]["ValidationError"][];
679
+ };
680
+ /** ImageUploadField */
681
+ ImageUploadField: {
682
+ /**
683
+ * Type
684
+ * @default image
685
+ * @enum {string}
686
+ */
687
+ type: "image";
688
+ /**
689
+ * Name
690
+ * @default new_field
691
+ */
692
+ name: string;
693
+ /** Title */
694
+ title?: string | {
695
+ [key: string]: string;
696
+ };
697
+ /** Info */
698
+ info?: string | {
699
+ [key: string]: string;
700
+ };
701
+ /**
702
+ * Class
703
+ * @default
704
+ */
705
+ class: string;
706
+ /**
707
+ * Ismetafield
708
+ * @default false
709
+ */
710
+ isMetaField: boolean;
711
+ /**
712
+ * Required
713
+ * @default false
714
+ */
715
+ required: boolean;
716
+ /**
717
+ * Hidden
718
+ * @default false
719
+ */
720
+ hidden: boolean;
721
+ /**
722
+ * Attendeesonly
723
+ * @default false
724
+ */
725
+ attendeesOnly: boolean;
726
+ /** Value */
727
+ value?: string;
728
+ /** If */
729
+ if?: string;
730
+ /** Min */
731
+ min?: number;
732
+ /** Max */
733
+ max?: number;
734
+ /** Minheight */
735
+ minheight?: number;
736
+ /** Maxheight */
737
+ maxheight?: number;
738
+ /** Minwidth */
739
+ minwidth?: number;
740
+ /** Maxwidth */
741
+ maxwidth?: number;
742
+ /** Ext */
743
+ ext?: string[];
744
+ };
745
+ /** ItemOption */
746
+ ItemOption: {
747
+ /**
748
+ * Name
749
+ * @default
750
+ */
751
+ name: string | {
752
+ [key: string]: string;
753
+ };
754
+ /** Value */
755
+ value?: string;
756
+ };
757
+ /** LongtextField */
758
+ LongtextField: {
759
+ /**
760
+ * Type
761
+ * @default longtext
762
+ * @enum {string}
763
+ */
764
+ type: "longtext";
765
+ /**
766
+ * Name
767
+ * @default new_field
768
+ */
769
+ name: string;
770
+ /** Title */
771
+ title?: string | {
772
+ [key: string]: string;
773
+ };
774
+ /** Info */
775
+ info?: string | {
776
+ [key: string]: string;
777
+ };
778
+ /**
779
+ * Class
780
+ * @default
781
+ */
782
+ class: string;
783
+ /**
784
+ * Ismetafield
785
+ * @default false
786
+ */
787
+ isMetaField: boolean;
788
+ /**
789
+ * Required
790
+ * @default false
791
+ */
792
+ required: boolean;
793
+ /**
794
+ * Hidden
795
+ * @default false
796
+ */
797
+ hidden: boolean;
798
+ /**
799
+ * Attendeesonly
800
+ * @default false
801
+ */
802
+ attendeesOnly: boolean;
803
+ /** Value */
804
+ value?: string;
805
+ /** If */
806
+ if?: string;
807
+ /** Min */
808
+ min?: number;
809
+ /** Max */
810
+ max?: number;
811
+ };
812
+ /** MainGuestJSON */
813
+ MainGuestJSON: {
814
+ /**
815
+ * Iscompanion
816
+ * @enum {boolean}
817
+ */
818
+ isCompanion: false;
819
+ };
820
+ /** MetaField */
821
+ MetaField: {
822
+ /** Type */
823
+ type: "list" | "checkbox" | "text" | "textfield";
824
+ /** Values */
825
+ values?: string[];
826
+ /** Default */
827
+ default?: string;
828
+ };
829
+ /** NumberField */
830
+ NumberField: {
831
+ /**
832
+ * Type
833
+ * @default number
834
+ * @enum {string}
835
+ */
836
+ type: "number";
837
+ /**
838
+ * Name
839
+ * @default new_field
840
+ */
841
+ name: string;
842
+ /** Title */
843
+ title?: string | {
844
+ [key: string]: string;
845
+ };
846
+ /** Info */
847
+ info?: string | {
848
+ [key: string]: string;
849
+ };
850
+ /**
851
+ * Class
852
+ * @default
853
+ */
854
+ class: string;
855
+ /**
856
+ * Ismetafield
857
+ * @default false
858
+ */
859
+ isMetaField: boolean;
860
+ /**
861
+ * Required
862
+ * @default false
863
+ */
864
+ required: boolean;
865
+ /**
866
+ * Hidden
867
+ * @default false
868
+ */
869
+ hidden: boolean;
870
+ /**
871
+ * Attendeesonly
872
+ * @default false
873
+ */
874
+ attendeesOnly: boolean;
875
+ /** Value */
876
+ value?: string;
877
+ /** If */
878
+ if?: string;
879
+ /** Min */
880
+ min?: number;
881
+ /** Max */
882
+ max?: number;
883
+ };
884
+ /** Payment */
885
+ Payment: {
886
+ /** Paid */
887
+ paid: boolean;
888
+ /**
889
+ * Provider
890
+ * @enum {string}
891
+ */
892
+ provider: "manual" | "sepa" | "sofort" | "credit" | "prepay" | "call2pay" | "handypay" | "paypal";
893
+ /** Amount */
894
+ amount: number;
895
+ /** Testmode */
896
+ testmode: boolean;
897
+ };
898
+ /**
899
+ * PaymentPaidEvent
900
+ * @description The payment status for a attende was set to payed.
901
+ *
902
+ * This triggers mails that are atomatically sent on payment
903
+ */
904
+ PaymentPaidEvent: {
905
+ /**
906
+ * Event
907
+ * @default payment-paid
908
+ * @enum {string}
909
+ */
910
+ event: "payment-paid";
911
+ /**
912
+ * Id
913
+ * Format: uuid
914
+ */
915
+ id: string;
916
+ /** Attendeeid */
917
+ attendeeId: string;
918
+ /** Instancename */
919
+ instanceName: string;
920
+ };
921
+ /** PublicAttendee */
922
+ PublicAttendee: {
923
+ /** Id */
924
+ id: string;
925
+ /** Auth */
926
+ auth?: string;
927
+ /**
928
+ * Userdata
929
+ * @default {}
930
+ */
931
+ userdata: {
932
+ [key: string]: unknown;
933
+ };
934
+ /**
935
+ * Tags
936
+ * @default []
937
+ */
938
+ tags: string[];
939
+ /** Language */
940
+ language?: string;
941
+ /**
942
+ * Time
943
+ * Format: date-time
944
+ */
945
+ time?: string;
946
+ /**
947
+ * Rsvp
948
+ * @default {}
949
+ */
950
+ rsvp: {
951
+ [key: string]: number;
952
+ };
953
+ /**
954
+ * Checkin
955
+ * @default {}
956
+ */
957
+ checkin: {
958
+ [key: string]: components["schemas"]["Checkins"];
959
+ };
960
+ /**
961
+ * Companions
962
+ * @default {
963
+ * "isCompanion": false
964
+ * }
965
+ */
966
+ companions: components["schemas"]["MainGuestJSON"] | components["schemas"]["CompanionJSON"];
967
+ payment?: components["schemas"]["Payment"];
968
+ /**
969
+ * Deleted
970
+ * @default false
971
+ */
972
+ deleted: boolean;
973
+ };
974
+ /** PublicInstance */
975
+ PublicInstance: {
976
+ /** Name */
977
+ name: string;
978
+ /** Title */
979
+ title: string;
980
+ /** Checkins */
981
+ checkins: string[];
982
+ /** Description */
983
+ description: string;
984
+ /** Thumbnail */
985
+ thumbnail: boolean;
986
+ url: components["schemas"]["URLInfoJSON"];
987
+ registration: components["schemas"]["RegistrationInfo"];
988
+ /** Guestnamefields */
989
+ guestNameFields: string[];
990
+ /** Metafields */
991
+ metaFields: {
992
+ [key: string]: components["schemas"]["MetaField"];
993
+ };
994
+ };
995
+ /**
996
+ * PublicUser
997
+ * @description User that is retunred from the api
998
+ */
999
+ PublicUser: {
1000
+ /** Isadmin */
1001
+ isAdmin: boolean;
1002
+ /** Username */
1003
+ username: string;
1004
+ /** Email */
1005
+ email: string;
1006
+ /** Userdata */
1007
+ userdata: {
1008
+ [key: string]: unknown;
1009
+ };
1010
+ /** Permissions */
1011
+ permissions: {
1012
+ [key: string]: ("attendees" | "add" | "email" | "invites" | "generate" | "edit" | "filter" | "export" | "export-pdf" | "delete" | "delete-final" | "payment" | "checkin" | "api" | "changes" | "private" | "files" | "import" | "bulk" | "email-bulk" | "questions" | "pages" | "templates" | "emails" | "pdfs" | "regflow" | "reg-scripts" | "export-custom" | "regdata" | "setup" | "read-stats" | "write-stats" | "backup" | "read-variables" | "write-variables" | "webhooks")[];
1013
+ };
1014
+ };
1015
+ /** RadioButtonField */
1016
+ RadioButtonField: {
1017
+ /**
1018
+ * Type
1019
+ * @default radiobutton
1020
+ * @enum {string}
1021
+ */
1022
+ type: "radiobutton";
1023
+ /**
1024
+ * Name
1025
+ * @default new_field
1026
+ */
1027
+ name: string;
1028
+ /** Title */
1029
+ title?: string | {
1030
+ [key: string]: string;
1031
+ };
1032
+ /** Info */
1033
+ info?: string | {
1034
+ [key: string]: string;
1035
+ };
1036
+ /**
1037
+ * Class
1038
+ * @default
1039
+ */
1040
+ class: string;
1041
+ /**
1042
+ * Ismetafield
1043
+ * @default false
1044
+ */
1045
+ isMetaField: boolean;
1046
+ /**
1047
+ * Required
1048
+ * @default false
1049
+ */
1050
+ required: boolean;
1051
+ /**
1052
+ * Hidden
1053
+ * @default false
1054
+ */
1055
+ hidden: boolean;
1056
+ /**
1057
+ * Attendeesonly
1058
+ * @default false
1059
+ */
1060
+ attendeesOnly: boolean;
1061
+ /** Value */
1062
+ value?: string;
1063
+ /** If */
1064
+ if?: string;
1065
+ /** Itemval */
1066
+ itemval?: string;
1067
+ };
1068
+ /** RadioButtonGroupField */
1069
+ RadioButtonGroupField: {
1070
+ /**
1071
+ * Type
1072
+ * @default radio
1073
+ * @enum {string}
1074
+ */
1075
+ type: "radio";
1076
+ /**
1077
+ * Name
1078
+ * @default new_field
1079
+ */
1080
+ name: string;
1081
+ /** Title */
1082
+ title?: string | {
1083
+ [key: string]: string;
1084
+ };
1085
+ /** Info */
1086
+ info?: string | {
1087
+ [key: string]: string;
1088
+ };
1089
+ /**
1090
+ * Class
1091
+ * @default
1092
+ */
1093
+ class: string;
1094
+ /**
1095
+ * Ismetafield
1096
+ * @default false
1097
+ */
1098
+ isMetaField: boolean;
1099
+ /**
1100
+ * Required
1101
+ * @default false
1102
+ */
1103
+ required: boolean;
1104
+ /**
1105
+ * Hidden
1106
+ * @default false
1107
+ */
1108
+ hidden: boolean;
1109
+ /**
1110
+ * Attendeesonly
1111
+ * @default false
1112
+ */
1113
+ attendeesOnly: boolean;
1114
+ /** Value */
1115
+ value?: string;
1116
+ /** If */
1117
+ if?: string;
1118
+ /**
1119
+ * Items
1120
+ * @default []
1121
+ */
1122
+ items: components["schemas"]["ItemOption"][];
1123
+ };
1124
+ /** RegistrationInfo */
1125
+ RegistrationInfo: {
1126
+ /**
1127
+ * Closed
1128
+ * @default false
1129
+ */
1130
+ closed: boolean;
1131
+ /**
1132
+ * Start
1133
+ * Format: date-time
1134
+ */
1135
+ start?: string;
1136
+ /**
1137
+ * End
1138
+ * Format: date-time
1139
+ */
1140
+ end?: string;
1141
+ /**
1142
+ * Canedit
1143
+ * @default false
1144
+ */
1145
+ canEdit: boolean;
1146
+ /**
1147
+ * Editend
1148
+ * Format: date-time
1149
+ */
1150
+ editEnd?: string;
1151
+ };
1152
+ /** StaticField */
1153
+ StaticField: {
1154
+ /**
1155
+ * Type
1156
+ * @default static
1157
+ * @enum {string}
1158
+ */
1159
+ type: "static";
1160
+ /**
1161
+ * Name
1162
+ * @default new_field
1163
+ */
1164
+ name: string;
1165
+ /** Title */
1166
+ title?: string | {
1167
+ [key: string]: string;
1168
+ };
1169
+ /** Info */
1170
+ info?: string | {
1171
+ [key: string]: string;
1172
+ };
1173
+ /**
1174
+ * Class
1175
+ * @default
1176
+ */
1177
+ class: string;
1178
+ /**
1179
+ * Ismetafield
1180
+ * @default false
1181
+ */
1182
+ isMetaField: boolean;
1183
+ /**
1184
+ * Required
1185
+ * @default false
1186
+ */
1187
+ required: boolean;
1188
+ /**
1189
+ * Hidden
1190
+ * @default false
1191
+ */
1192
+ hidden: boolean;
1193
+ /**
1194
+ * Attendeesonly
1195
+ * @default false
1196
+ */
1197
+ attendeesOnly: boolean;
1198
+ /** Value */
1199
+ value?: string;
1200
+ /** If */
1201
+ if?: string;
1202
+ };
1203
+ /** TextField */
1204
+ TextField: {
1205
+ /**
1206
+ * Type
1207
+ * @default text
1208
+ * @enum {string}
1209
+ */
1210
+ type: "text";
1211
+ /**
1212
+ * Name
1213
+ * @default new_field
1214
+ */
1215
+ name: string;
1216
+ /** Title */
1217
+ title?: string | {
1218
+ [key: string]: string;
1219
+ };
1220
+ /** Info */
1221
+ info?: string | {
1222
+ [key: string]: string;
1223
+ };
1224
+ /**
1225
+ * Class
1226
+ * @default
1227
+ */
1228
+ class: string;
1229
+ /**
1230
+ * Ismetafield
1231
+ * @default false
1232
+ */
1233
+ isMetaField: boolean;
1234
+ /**
1235
+ * Required
1236
+ * @default false
1237
+ */
1238
+ required: boolean;
1239
+ /**
1240
+ * Hidden
1241
+ * @default false
1242
+ */
1243
+ hidden: boolean;
1244
+ /**
1245
+ * Attendeesonly
1246
+ * @default false
1247
+ */
1248
+ attendeesOnly: boolean;
1249
+ /** Value */
1250
+ value?: string;
1251
+ /** If */
1252
+ if?: string;
1253
+ /** Min */
1254
+ min?: number;
1255
+ /** Max */
1256
+ max?: number;
1257
+ };
1258
+ /** URLInfoJSON */
1259
+ URLInfoJSON: {
1260
+ /** Domain */
1261
+ domain: string;
1262
+ /** Rootpath */
1263
+ rootPath: string;
1264
+ };
1265
+ /** UserUpdate */
1266
+ UserUpdate: {
1267
+ /** Userdata */
1268
+ userdata: {
1269
+ [key: string]: unknown;
1270
+ };
1271
+ };
1272
+ /** ValidationError */
1273
+ ValidationError: {
1274
+ /** Location */
1275
+ loc: (string | number)[];
1276
+ /** Message */
1277
+ msg: string;
1278
+ /** Error Type */
1279
+ type: string;
1280
+ };
1281
+ /**
1282
+ * Variable
1283
+ * @description Variables store values which can be used on a global per instance basis,
1284
+ * for example in multiple E-Mails.
1285
+ */
1286
+ Variable: {
1287
+ /** Name */
1288
+ name: string;
1289
+ /** Title */
1290
+ title: string;
1291
+ /**
1292
+ * Variabletype
1293
+ * @enum {string}
1294
+ */
1295
+ variableType: "text";
1296
+ /**
1297
+ * Value
1298
+ * @default
1299
+ */
1300
+ value: string;
1301
+ /**
1302
+ * Isprivate
1303
+ * @default false
1304
+ */
1305
+ isPrivate: boolean;
1306
+ };
1307
+ /** VariableUpdate */
1308
+ VariableUpdate: {
1309
+ /** Value */
1310
+ value?: string;
1311
+ /** Title */
1312
+ title?: string;
1313
+ /**
1314
+ * Isprivate
1315
+ * @default false
1316
+ */
1317
+ isPrivate: boolean;
1318
+ };
1319
+ };
1320
+ };
1321
+ export declare type operations = {
1322
+ login_authenticate_post: {
1323
+ responses: {
1324
+ /** Successful Response */
1325
+ 200: {
1326
+ content: {
1327
+ "application/json": components["schemas"]["AuthResponse"];
1328
+ };
1329
+ };
1330
+ /** Validation Error */
1331
+ 422: {
1332
+ content: {
1333
+ "application/json": components["schemas"]["HTTPValidationError"];
1334
+ };
1335
+ };
1336
+ };
1337
+ requestBody: {
1338
+ content: {
1339
+ "application/x-www-form-urlencoded": components["schemas"]["Body_login_authenticate_post"];
1340
+ };
1341
+ };
1342
+ };
1343
+ refresh_token_authenticate_refresh_post: {
1344
+ responses: {
1345
+ /** Successful Response */
1346
+ 200: {
1347
+ content: {
1348
+ "application/json": components["schemas"]["AuthResponse"];
1349
+ };
1350
+ };
1351
+ };
1352
+ };
1353
+ checkin_counts_instances__instance_name__checkin_counts_get: {
1354
+ parameters: {
1355
+ path: {
1356
+ instance_name: string;
1357
+ };
1358
+ };
1359
+ responses: {
1360
+ /** Successful Response */
1361
+ 200: {
1362
+ content: {
1363
+ "application/json": {
1364
+ [key: string]: components["schemas"]["CheckinCount"];
1365
+ };
1366
+ };
1367
+ };
1368
+ /** Validation Error */
1369
+ 422: {
1370
+ content: {
1371
+ "application/json": components["schemas"]["HTTPValidationError"];
1372
+ };
1373
+ };
1374
+ };
1375
+ };
1376
+ /** Send a list of events to be applied to the current state. Events are executed in order. */
1377
+ create_events_events_post: {
1378
+ responses: {
1379
+ /** Successful Response */
1380
+ 204: never;
1381
+ /** Validation Error */
1382
+ 422: {
1383
+ content: {
1384
+ "application/json": components["schemas"]["HTTPValidationError"];
1385
+ };
1386
+ };
1387
+ };
1388
+ requestBody: {
1389
+ content: {
1390
+ "application/json": components["schemas"]["EventList"];
1391
+ };
1392
+ };
1393
+ };
1394
+ fields_instances__instance_name__fields_get: {
1395
+ parameters: {
1396
+ path: {
1397
+ instance_name: string;
1398
+ };
1399
+ };
1400
+ responses: {
1401
+ /** Successful Response */
1402
+ 200: {
1403
+ content: {
1404
+ "application/json": components["schemas"]["FieldGroup"][];
1405
+ };
1406
+ };
1407
+ /** Validation Error */
1408
+ 422: {
1409
+ content: {
1410
+ "application/json": components["schemas"]["HTTPValidationError"];
1411
+ };
1412
+ };
1413
+ };
1414
+ };
1415
+ current_user_users_me_get: {
1416
+ responses: {
1417
+ /** Successful Response */
1418
+ 200: {
1419
+ content: {
1420
+ "application/json": components["schemas"]["PublicUser"];
1421
+ };
1422
+ };
1423
+ };
1424
+ };
1425
+ /**
1426
+ * This method allows to update the `userdata` associated with the current user
1427
+ *
1428
+ * The `userdata` keys at the root level are megred.
1429
+ * This means only provided keys will be updated, others are left unchanged.
1430
+ *
1431
+ * To delete a key set its value to `null`.
1432
+ */
1433
+ update_current_user_users_me_patch: {
1434
+ responses: {
1435
+ /** Successful Response */
1436
+ 200: {
1437
+ content: {
1438
+ "application/json": components["schemas"]["PublicUser"];
1439
+ };
1440
+ };
1441
+ /** Validation Error */
1442
+ 422: {
1443
+ content: {
1444
+ "application/json": components["schemas"]["HTTPValidationError"];
1445
+ };
1446
+ };
1447
+ };
1448
+ requestBody: {
1449
+ content: {
1450
+ "application/json": components["schemas"]["UserUpdate"];
1451
+ };
1452
+ };
1453
+ };
1454
+ instance_list_instances_get: {
1455
+ responses: {
1456
+ /** Successful Response */
1457
+ 200: {
1458
+ content: {
1459
+ "application/json": components["schemas"]["PublicInstance"][];
1460
+ };
1461
+ };
1462
+ };
1463
+ };
1464
+ single_instance_instances__instance_name__get: {
1465
+ parameters: {
1466
+ path: {
1467
+ instance_name: string;
1468
+ };
1469
+ };
1470
+ responses: {
1471
+ /** Successful Response */
1472
+ 200: {
1473
+ content: {
1474
+ "application/json": components["schemas"]["PublicInstance"];
1475
+ };
1476
+ };
1477
+ /** Validation Error */
1478
+ 422: {
1479
+ content: {
1480
+ "application/json": components["schemas"]["HTTPValidationError"];
1481
+ };
1482
+ };
1483
+ };
1484
+ };
1485
+ attendee_list_instances__instance_name__attendees_get: {
1486
+ parameters: {
1487
+ path: {
1488
+ instance_name: string;
1489
+ };
1490
+ query: {
1491
+ include_deleted?: boolean;
1492
+ };
1493
+ };
1494
+ responses: {
1495
+ /** Successful Response */
1496
+ 200: {
1497
+ content: {
1498
+ "application/json": components["schemas"]["PublicAttendee"][];
1499
+ };
1500
+ };
1501
+ /** Validation Error */
1502
+ 422: {
1503
+ content: {
1504
+ "application/json": components["schemas"]["HTTPValidationError"];
1505
+ };
1506
+ };
1507
+ };
1508
+ };
1509
+ single_attende_instances__instance_name__attendees__attendee_id__get: {
1510
+ parameters: {
1511
+ path: {
1512
+ instance_name: string;
1513
+ attendee_id: string;
1514
+ };
1515
+ };
1516
+ responses: {
1517
+ /** Successful Response */
1518
+ 200: {
1519
+ content: {
1520
+ "application/json": components["schemas"]["PublicAttendee"];
1521
+ };
1522
+ };
1523
+ /** Validation Error */
1524
+ 422: {
1525
+ content: {
1526
+ "application/json": components["schemas"]["HTTPValidationError"];
1527
+ };
1528
+ };
1529
+ };
1530
+ };
1531
+ send_email_instances__instance_name__attendees__attendee_id__emails__email_name__send_post: {
1532
+ parameters: {
1533
+ path: {
1534
+ instance_name: string;
1535
+ attendee_id: string;
1536
+ email_name: string;
1537
+ };
1538
+ };
1539
+ responses: {
1540
+ /** Successful Response */
1541
+ 204: never;
1542
+ /** Validation Error */
1543
+ 422: {
1544
+ content: {
1545
+ "application/json": components["schemas"]["HTTPValidationError"];
1546
+ };
1547
+ };
1548
+ };
1549
+ };
1550
+ variable_list_instances__instance_name__variables_get: {
1551
+ parameters: {
1552
+ path: {
1553
+ instance_name: string;
1554
+ };
1555
+ };
1556
+ responses: {
1557
+ /** Successful Response */
1558
+ 200: {
1559
+ content: {
1560
+ "application/json": components["schemas"]["Variable"][];
1561
+ };
1562
+ };
1563
+ /** Validation Error */
1564
+ 422: {
1565
+ content: {
1566
+ "application/json": components["schemas"]["HTTPValidationError"];
1567
+ };
1568
+ };
1569
+ };
1570
+ };
1571
+ create_variable_instances__instance_name__variables_post: {
1572
+ parameters: {
1573
+ path: {
1574
+ instance_name: string;
1575
+ };
1576
+ };
1577
+ responses: {
1578
+ /** Successful Response */
1579
+ 200: {
1580
+ content: {
1581
+ "application/json": components["schemas"]["Variable"];
1582
+ };
1583
+ };
1584
+ /** Validation Error */
1585
+ 422: {
1586
+ content: {
1587
+ "application/json": components["schemas"]["HTTPValidationError"];
1588
+ };
1589
+ };
1590
+ };
1591
+ requestBody: {
1592
+ content: {
1593
+ "application/json": components["schemas"]["Variable"];
1594
+ };
1595
+ };
1596
+ };
1597
+ single_variable_instances__instance_name__variables__variable_name__get: {
1598
+ parameters: {
1599
+ path: {
1600
+ instance_name: string;
1601
+ variable_name: string;
1602
+ };
1603
+ };
1604
+ responses: {
1605
+ /** Successful Response */
1606
+ 200: {
1607
+ content: {
1608
+ "application/json": components["schemas"]["Variable"];
1609
+ };
1610
+ };
1611
+ /** Validation Error */
1612
+ 422: {
1613
+ content: {
1614
+ "application/json": components["schemas"]["HTTPValidationError"];
1615
+ };
1616
+ };
1617
+ };
1618
+ };
1619
+ update_variable_instances__instance_name__variables__variable_name__put: {
1620
+ parameters: {
1621
+ path: {
1622
+ instance_name: string;
1623
+ variable_name: string;
1624
+ };
1625
+ };
1626
+ responses: {
1627
+ /** Successful Response */
1628
+ 200: {
1629
+ content: {
1630
+ "application/json": components["schemas"]["Variable"];
1631
+ };
1632
+ };
1633
+ /** Validation Error */
1634
+ 422: {
1635
+ content: {
1636
+ "application/json": components["schemas"]["HTTPValidationError"];
1637
+ };
1638
+ };
1639
+ };
1640
+ requestBody: {
1641
+ content: {
1642
+ "application/json": components["schemas"]["VariableUpdate"];
1643
+ };
1644
+ };
1645
+ };
1646
+ delete_variable_instances__instance_name__variables__variable_name__delete: {
1647
+ parameters: {
1648
+ path: {
1649
+ instance_name: string;
1650
+ variable_name: string;
1651
+ };
1652
+ };
1653
+ responses: {
1654
+ /** Successful Response */
1655
+ 204: never;
1656
+ /** Validation Error */
1657
+ 422: {
1658
+ content: {
1659
+ "application/json": components["schemas"]["HTTPValidationError"];
1660
+ };
1661
+ };
1662
+ };
1663
+ };
1664
+ };
1665
+ export declare type external = {};