Skip to content
File

Blob: src/client/lib/openapi-types.ts

typescript2893 lines
1/**
2 * This file was auto-generated by openapi-typescript.
3 * Do not make direct changes to the file.
4 */
5 
6export interface paths {
7 "/api/v1/auth/oidc/login": {
8 parameters: {
9 query?: never;
10 header?: never;
11 path?: never;
12 cookie?: never;
13 };
14 /** Start tessera OIDC login */
15 get: operations["getApiV1AuthOidcLogin"];
16 put?: never;
17 post?: never;
18 delete?: never;
19 options?: never;
20 head?: never;
21 patch?: never;
22 trace?: never;
23 };
24 "/api/v1/auth/oidc/callback": {
25 parameters: {
26 query?: never;
27 header?: never;
28 path?: never;
29 cookie?: never;
30 };
31 /** Complete tessera OIDC login */
32 get: operations["getApiV1AuthOidcCallback"];
33 put?: never;
34 post?: never;
35 delete?: never;
36 options?: never;
37 head?: never;
38 patch?: never;
39 trace?: never;
40 };
41 "/api/v1/auth/logout": {
42 parameters: {
43 query?: never;
44 header?: never;
45 path?: never;
46 cookie?: never;
47 };
48 get?: never;
49 put?: never;
50 /** Log out API session */
51 post: operations["postApiV1AuthLogout"];
52 delete?: never;
53 options?: never;
54 head?: never;
55 patch?: never;
56 trace?: never;
57 };
58 "/api/v1/me": {
59 parameters: {
60 query?: never;
61 header?: never;
62 path?: never;
63 cookie?: never;
64 };
65 /** Get current subject metadata */
66 get: operations["getApiV1Me"];
67 put?: never;
68 post?: never;
69 delete?: never;
70 options?: never;
71 head?: never;
72 patch?: never;
73 trace?: never;
74 };
75 "/api/v1/pats": {
76 parameters: {
77 query?: never;
78 header?: never;
79 path?: never;
80 cookie?: never;
81 };
82 /** List Personal Access Tokens */
83 get: operations["getApiV1Pats"];
84 put?: never;
85 /** Create Personal Access Token */
86 post: operations["postApiV1Pats"];
87 delete?: never;
88 options?: never;
89 head?: never;
90 patch?: never;
91 trace?: never;
92 };
93 "/api/v1/pats/{pat_id}": {
94 parameters: {
95 query?: never;
96 header?: never;
97 path?: never;
98 cookie?: never;
99 };
100 /** Get Personal Access Token */
101 get: operations["getApiV1PatsByPatId"];
102 put?: never;
103 post?: never;
104 /** Revoke Personal Access Token */
105 delete: operations["deleteApiV1PatsByPatId"];
106 options?: never;
107 head?: never;
108 /** Update Personal Access Token */
109 patch: operations["patchApiV1PatsByPatId"];
110 trace?: never;
111 };
112 "/api/v1/calendars": {
113 parameters: {
114 query?: never;
115 header?: never;
116 path?: never;
117 cookie?: never;
118 };
119 /** List calendars */
120 get: operations["getApiV1Calendars"];
121 put?: never;
122 /** Create calendar */
123 post: operations["postApiV1Calendars"];
124 delete?: never;
125 options?: never;
126 head?: never;
127 patch?: never;
128 trace?: never;
129 };
130 "/api/v1/calendars/{calendar_id}": {
131 parameters: {
132 query?: never;
133 header?: never;
134 path?: never;
135 cookie?: never;
136 };
137 /** Get calendar */
138 get: operations["getApiV1CalendarsByCalendarId"];
139 put?: never;
140 post?: never;
141 /** Delete calendar */
142 delete: operations["deleteApiV1CalendarsByCalendarId"];
143 options?: never;
144 head?: never;
145 /** Update calendar */
146 patch: operations["patchApiV1CalendarsByCalendarId"];
147 trace?: never;
148 };
149 "/api/v1/addressbooks": {
150 parameters: {
151 query?: never;
152 header?: never;
153 path?: never;
154 cookie?: never;
155 };
156 /** List address books */
157 get: operations["getApiV1Addressbooks"];
158 put?: never;
159 /** Create address book */
160 post: operations["postApiV1Addressbooks"];
161 delete?: never;
162 options?: never;
163 head?: never;
164 patch?: never;
165 trace?: never;
166 };
167 "/api/v1/addressbooks/{addressbook_id}": {
168 parameters: {
169 query?: never;
170 header?: never;
171 path?: never;
172 cookie?: never;
173 };
174 /** Get address book */
175 get: operations["getApiV1AddressbooksByAddressbookId"];
176 put?: never;
177 post?: never;
178 /** Delete address book */
179 delete: operations["deleteApiV1AddressbooksByAddressbookId"];
180 options?: never;
181 head?: never;
182 /** Update address book */
183 patch: operations["patchApiV1AddressbooksByAddressbookId"];
184 trace?: never;
185 };
186 "/api/v1/files/metadata": {
187 parameters: {
188 query?: never;
189 header?: never;
190 path?: never;
191 cookie?: never;
192 };
193 /** Get file metadata */
194 get: operations["getApiV1FilesMetadata"];
195 put?: never;
196 post?: never;
197 delete?: never;
198 options?: never;
199 head?: never;
200 patch?: never;
201 trace?: never;
202 };
203 "/api/v1/files/list": {
204 parameters: {
205 query?: never;
206 header?: never;
207 path?: never;
208 cookie?: never;
209 };
210 /** List files */
211 get: operations["getApiV1FilesList"];
212 put?: never;
213 post?: never;
214 delete?: never;
215 options?: never;
216 head?: never;
217 patch?: never;
218 trace?: never;
219 };
220 "/api/v1/files/mkdir": {
221 parameters: {
222 query?: never;
223 header?: never;
224 path?: never;
225 cookie?: never;
226 };
227 get?: never;
228 put?: never;
229 /** Create file collection */
230 post: operations["postApiV1FilesMkdir"];
231 delete?: never;
232 options?: never;
233 head?: never;
234 patch?: never;
235 trace?: never;
236 };
237 "/api/v1/files/rename": {
238 parameters: {
239 query?: never;
240 header?: never;
241 path?: never;
242 cookie?: never;
243 };
244 get?: never;
245 put?: never;
246 /** Rename file path */
247 post: operations["postApiV1FilesRename"];
248 delete?: never;
249 options?: never;
250 head?: never;
251 patch?: never;
252 trace?: never;
253 };
254 "/api/v1/files/delete": {
255 parameters: {
256 query?: never;
257 header?: never;
258 path?: never;
259 cookie?: never;
260 };
261 get?: never;
262 put?: never;
263 post?: never;
264 /** Delete file path */
265 delete: operations["deleteApiV1FilesDelete"];
266 options?: never;
267 head?: never;
268 patch?: never;
269 trace?: never;
270 };
271}
272export type webhooks = Record<string, never>;
273export interface components {
274 schemas: never;
275 responses: never;
276 parameters: never;
277 requestBodies: never;
278 headers: never;
279 pathItems: never;
280}
281export type $defs = Record<string, never>;
282export interface operations {
283 getApiV1AuthOidcLogin: {
284 parameters: {
285 query?: never;
286 header?: never;
287 path?: never;
288 cookie?: never;
289 };
290 requestBody?: never;
291 responses: {
292 /** @description Redirect to tessera authorization endpoint */
293 302: {
294 headers: {
295 [name: string]: unknown;
296 };
297 content?: never;
298 };
299 /** @description JSON error response */
300 400: {
301 headers: {
302 [name: string]: unknown;
303 };
304 content: {
305 "application/json": {
306 error: {
307 code: string;
308 message: string;
309 };
310 };
311 };
312 };
313 /** @description JSON error response */
314 500: {
315 headers: {
316 [name: string]: unknown;
317 };
318 content: {
319 "application/json": {
320 error: {
321 code: string;
322 message: string;
323 };
324 };
325 };
326 };
327 };
328 };
329 getApiV1AuthOidcCallback: {
330 parameters: {
331 query?: never;
332 header?: never;
333 path?: never;
334 cookie?: never;
335 };
336 requestBody?: never;
337 responses: {
338 /** @description JSON login response */
339 200: {
340 headers: {
341 [name: string]: unknown;
342 };
343 content: {
344 "application/json": {
345 subject_id: string;
346 host_label: string;
347 control_plane_host: string;
348 dav_host: string;
349 urls: {
350 /** Format: uri */
351 api: string;
352 /** Format: uri */
353 root: string;
354 /** Format: uri */
355 files: string;
356 /** Format: uri */
357 caldav: string;
358 /** Format: uri */
359 carddav: string;
360 };
361 };
362 };
363 };
364 /** @description Redirect after successful login */
365 302: {
366 headers: {
367 [name: string]: unknown;
368 };
369 content?: never;
370 };
371 /** @description JSON error response */
372 400: {
373 headers: {
374 [name: string]: unknown;
375 };
376 content: {
377 "application/json": {
378 error: {
379 code: string;
380 message: string;
381 };
382 };
383 };
384 };
385 /** @description JSON error response */
386 500: {
387 headers: {
388 [name: string]: unknown;
389 };
390 content: {
391 "application/json": {
392 error: {
393 code: string;
394 message: string;
395 };
396 };
397 };
398 };
399 };
400 };
401 postApiV1AuthLogout: {
402 parameters: {
403 query?: never;
404 header?: never;
405 path?: never;
406 cookie?: never;
407 };
408 requestBody?: never;
409 responses: {
410 /** @description Log out API session */
411 200: {
412 headers: {
413 [name: string]: unknown;
414 };
415 content: {
416 "application/json": {
417 /** @constant */
418 ok: true;
419 };
420 };
421 };
422 /** @description JSON error response */
423 400: {
424 headers: {
425 [name: string]: unknown;
426 };
427 content: {
428 "application/json": {
429 error: {
430 code: string;
431 message: string;
432 };
433 };
434 };
435 };
436 /** @description JSON error response */
437 401: {
438 headers: {
439 [name: string]: unknown;
440 };
441 content: {
442 "application/json": {
443 error: {
444 code: string;
445 message: string;
446 };
447 };
448 };
449 };
450 /** @description JSON error response */
451 403: {
452 headers: {
453 [name: string]: unknown;
454 };
455 content: {
456 "application/json": {
457 error: {
458 code: string;
459 message: string;
460 };
461 };
462 };
463 };
464 /** @description JSON error response */
465 500: {
466 headers: {
467 [name: string]: unknown;
468 };
469 content: {
470 "application/json": {
471 error: {
472 code: string;
473 message: string;
474 };
475 };
476 };
477 };
478 };
479 };
480 getApiV1Me: {
481 parameters: {
482 query?: never;
483 header?: never;
484 path?: never;
485 cookie?: never;
486 };
487 requestBody?: never;
488 responses: {
489 /** @description Get current subject metadata */
490 200: {
491 headers: {
492 [name: string]: unknown;
493 };
494 content: {
495 "application/json": {
496 subject_id: string;
497 host_label: string;
498 control_plane_host: string;
499 dav_host: string;
500 urls: {
501 /** Format: uri */
502 api: string;
503 /** Format: uri */
504 root: string;
505 /** Format: uri */
506 files: string;
507 /** Format: uri */
508 caldav: string;
509 /** Format: uri */
510 carddav: string;
511 };
512 };
513 };
514 };
515 /** @description JSON error response */
516 400: {
517 headers: {
518 [name: string]: unknown;
519 };
520 content: {
521 "application/json": {
522 error: {
523 code: string;
524 message: string;
525 };
526 };
527 };
528 };
529 /** @description JSON error response */
530 401: {
531 headers: {
532 [name: string]: unknown;
533 };
534 content: {
535 "application/json": {
536 error: {
537 code: string;
538 message: string;
539 };
540 };
541 };
542 };
543 /** @description JSON error response */
544 403: {
545 headers: {
546 [name: string]: unknown;
547 };
548 content: {
549 "application/json": {
550 error: {
551 code: string;
552 message: string;
553 };
554 };
555 };
556 };
557 /** @description JSON error response */
558 500: {
559 headers: {
560 [name: string]: unknown;
561 };
562 content: {
563 "application/json": {
564 error: {
565 code: string;
566 message: string;
567 };
568 };
569 };
570 };
571 };
572 };
573 getApiV1Pats: {
574 parameters: {
575 query?: never;
576 header?: never;
577 path?: never;
578 cookie?: never;
579 };
580 requestBody?: never;
581 responses: {
582 /** @description List Personal Access Tokens */
583 200: {
584 headers: {
585 [name: string]: unknown;
586 };
587 content: {
588 "application/json": {
589 id: string;
590 name: string;
591 scopes: (
592 | "dav:files:read"
593 | "dav:files:write"
594 | "dav:caldav:read"
595 | "dav:caldav:write"
596 | "dav:carddav:read"
597 | "dav:carddav:write"
598 )[];
599 /** Format: date-time */
600 created_at: string;
601 expires_at: string | null;
602 revoked_at?: string | null;
603 last_used_at?: string | null;
604 }[];
605 };
606 };
607 /** @description JSON error response */
608 400: {
609 headers: {
610 [name: string]: unknown;
611 };
612 content: {
613 "application/json": {
614 error: {
615 code: string;
616 message: string;
617 };
618 };
619 };
620 };
621 /** @description JSON error response */
622 401: {
623 headers: {
624 [name: string]: unknown;
625 };
626 content: {
627 "application/json": {
628 error: {
629 code: string;
630 message: string;
631 };
632 };
633 };
634 };
635 /** @description JSON error response */
636 403: {
637 headers: {
638 [name: string]: unknown;
639 };
640 content: {
641 "application/json": {
642 error: {
643 code: string;
644 message: string;
645 };
646 };
647 };
648 };
649 /** @description JSON error response */
650 500: {
651 headers: {
652 [name: string]: unknown;
653 };
654 content: {
655 "application/json": {
656 error: {
657 code: string;
658 message: string;
659 };
660 };
661 };
662 };
663 };
664 };
665 postApiV1Pats: {
666 parameters: {
667 query?: never;
668 header?: never;
669 path?: never;
670 cookie?: never;
671 };
672 requestBody: {
673 content: {
674 "application/json": {
675 name: string;
676 scopes: string[];
677 /** Format: date-time */
678 expires_at?: string;
679 };
680 };
681 };
682 responses: {
683 /** @description Create Personal Access Token */
684 201: {
685 headers: {
686 [name: string]: unknown;
687 };
688 content: {
689 "application/json": {
690 id: string;
691 name: string;
692 scopes: (
693 | "dav:files:read"
694 | "dav:files:write"
695 | "dav:caldav:read"
696 | "dav:caldav:write"
697 | "dav:carddav:read"
698 | "dav:carddav:write"
699 )[];
700 /** Format: date-time */
701 created_at: string;
702 expires_at: string | null;
703 revoked_at?: string | null;
704 last_used_at?: string | null;
705 token: string;
706 };
707 };
708 };
709 /** @description JSON error response */
710 400: {
711 headers: {
712 [name: string]: unknown;
713 };
714 content: {
715 "application/json": {
716 error: {
717 code: string;
718 message: string;
719 };
720 };
721 };
722 };
723 /** @description JSON error response */
724 401: {
725 headers: {
726 [name: string]: unknown;
727 };
728 content: {
729 "application/json": {
730 error: {
731 code: string;
732 message: string;
733 };
734 };
735 };
736 };
737 /** @description JSON error response */
738 403: {
739 headers: {
740 [name: string]: unknown;
741 };
742 content: {
743 "application/json": {
744 error: {
745 code: string;
746 message: string;
747 };
748 };
749 };
750 };
751 /** @description JSON error response */
752 500: {
753 headers: {
754 [name: string]: unknown;
755 };
756 content: {
757 "application/json": {
758 error: {
759 code: string;
760 message: string;
761 };
762 };
763 };
764 };
765 };
766 };
767 getApiV1PatsByPatId: {
768 parameters: {
769 query?: never;
770 header?: never;
771 path: {
772 pat_id: string;
773 };
774 cookie?: never;
775 };
776 requestBody?: never;
777 responses: {
778 /** @description Get Personal Access Token */
779 200: {
780 headers: {
781 [name: string]: unknown;
782 };
783 content: {
784 "application/json": {
785 id: string;
786 name: string;
787 scopes: (
788 | "dav:files:read"
789 | "dav:files:write"
790 | "dav:caldav:read"
791 | "dav:caldav:write"
792 | "dav:carddav:read"
793 | "dav:carddav:write"
794 )[];
795 /** Format: date-time */
796 created_at: string;
797 expires_at: string | null;
798 revoked_at?: string | null;
799 last_used_at?: string | null;
800 };
801 };
802 };
803 /** @description JSON error response */
804 400: {
805 headers: {
806 [name: string]: unknown;
807 };
808 content: {
809 "application/json": {
810 error: {
811 code: string;
812 message: string;
813 };
814 };
815 };
816 };
817 /** @description JSON error response */
818 401: {
819 headers: {
820 [name: string]: unknown;
821 };
822 content: {
823 "application/json": {
824 error: {
825 code: string;
826 message: string;
827 };
828 };
829 };
830 };
831 /** @description JSON error response */
832 403: {
833 headers: {
834 [name: string]: unknown;
835 };
836 content: {
837 "application/json": {
838 error: {
839 code: string;
840 message: string;
841 };
842 };
843 };
844 };
845 /** @description JSON error response */
846 500: {
847 headers: {
848 [name: string]: unknown;
849 };
850 content: {
851 "application/json": {
852 error: {
853 code: string;
854 message: string;
855 };
856 };
857 };
858 };
859 };
860 };
861 deleteApiV1PatsByPatId: {
862 parameters: {
863 query?: never;
864 header?: never;
865 path: {
866 pat_id: string;
867 };
868 cookie?: never;
869 };
870 requestBody?: never;
871 responses: {
872 /** @description PAT revoked */
873 204: {
874 headers: {
875 [name: string]: unknown;
876 };
877 content?: never;
878 };
879 /** @description JSON error response */
880 404: {
881 headers: {
882 [name: string]: unknown;
883 };
884 content: {
885 "application/json": {
886 error: {
887 code: string;
888 message: string;
889 };
890 };
891 };
892 };
893 };
894 };
895 patchApiV1PatsByPatId: {
896 parameters: {
897 query?: never;
898 header?: never;
899 path: {
900 pat_id: string;
901 };
902 cookie?: never;
903 };
904 requestBody: {
905 content: {
906 "application/json": {
907 name?: string;
908 expires_at?: string | null;
909 };
910 };
911 };
912 responses: {
913 /** @description Update Personal Access Token */
914 200: {
915 headers: {
916 [name: string]: unknown;
917 };
918 content: {
919 "application/json": {
920 id: string;
921 name: string;
922 scopes: (
923 | "dav:files:read"
924 | "dav:files:write"
925 | "dav:caldav:read"
926 | "dav:caldav:write"
927 | "dav:carddav:read"
928 | "dav:carddav:write"
929 )[];
930 /** Format: date-time */
931 created_at: string;
932 expires_at: string | null;
933 revoked_at?: string | null;
934 last_used_at?: string | null;
935 };
936 };
937 };
938 /** @description JSON error response */
939 400: {
940 headers: {
941 [name: string]: unknown;
942 };
943 content: {
944 "application/json": {
945 error: {
946 code: string;
947 message: string;
948 };
949 };
950 };
951 };
952 /** @description JSON error response */
953 401: {
954 headers: {
955 [name: string]: unknown;
956 };
957 content: {
958 "application/json": {
959 error: {
960 code: string;
961 message: string;
962 };
963 };
964 };
965 };
966 /** @description JSON error response */
967 403: {
968 headers: {
969 [name: string]: unknown;
970 };
971 content: {
972 "application/json": {
973 error: {
974 code: string;
975 message: string;
976 };
977 };
978 };
979 };
980 /** @description JSON error response */
981 500: {
982 headers: {
983 [name: string]: unknown;
984 };
985 content: {
986 "application/json": {
987 error: {
988 code: string;
989 message: string;
990 };
991 };
992 };
993 };
994 };
995 };
996 getApiV1Calendars: {
997 parameters: {
998 query?: never;
999 header?: never;
1000 path?: never;
1001 cookie?: never;
1002 };
1003 requestBody?: never;
1004 responses: {
1005 /** @description List calendars */
1006 200: {
1007 headers: {
1008 [name: string]: unknown;
1009 };
1010 content: {
1011 "application/json": {
1012 id: string;
1013 name: string;
1014 display_name: string;
1015 description: string | null;
1016 href: string;
1017 color: string | null;
1018 order_index: number;
1019 timezone_ical: string | null;
1020 /** Format: date-time */
1021 created_at: string;
1022 /** Format: date-time */
1023 modified_at: string;
1024 sync_token: string;
1025 }[];
1026 };
1027 };
1028 /** @description JSON error response */
1029 400: {
1030 headers: {
1031 [name: string]: unknown;
1032 };
1033 content: {
1034 "application/json": {
1035 error: {
1036 code: string;
1037 message: string;
1038 };
1039 };
1040 };
1041 };
1042 /** @description JSON error response */
1043 401: {
1044 headers: {
1045 [name: string]: unknown;
1046 };
1047 content: {
1048 "application/json": {
1049 error: {
1050 code: string;
1051 message: string;
1052 };
1053 };
1054 };
1055 };
1056 /** @description JSON error response */
1057 403: {
1058 headers: {
1059 [name: string]: unknown;
1060 };
1061 content: {
1062 "application/json": {
1063 error: {
1064 code: string;
1065 message: string;
1066 };
1067 };
1068 };
1069 };
1070 /** @description JSON error response */
1071 404: {
1072 headers: {
1073 [name: string]: unknown;
1074 };
1075 content: {
1076 "application/json": {
1077 error: {
1078 code: string;
1079 message: string;
1080 };
1081 };
1082 };
1083 };
1084 /** @description JSON error response */
1085 409: {
1086 headers: {
1087 [name: string]: unknown;
1088 };
1089 content: {
1090 "application/json": {
1091 error: {
1092 code: string;
1093 message: string;
1094 };
1095 };
1096 };
1097 };
1098 /** @description JSON error response */
1099 500: {
1100 headers: {
1101 [name: string]: unknown;
1102 };
1103 content: {
1104 "application/json": {
1105 error: {
1106 code: string;
1107 message: string;
1108 };
1109 };
1110 };
1111 };
1112 };
1113 };
1114 postApiV1Calendars: {
1115 parameters: {
1116 query?: never;
1117 header?: never;
1118 path?: never;
1119 cookie?: never;
1120 };
1121 requestBody: {
1122 content: {
1123 "application/json": {
1124 name: string;
1125 display_name?: string;
1126 description?: string | null;
1127 color?: string | null;
1128 order_index?: number;
1129 timezone_ical?: string | null;
1130 };
1131 };
1132 };
1133 responses: {
1134 /** @description Create calendar */
1135 201: {
1136 headers: {
1137 [name: string]: unknown;
1138 };
1139 content: {
1140 "application/json": {
1141 id: string;
1142 name: string;
1143 display_name: string;
1144 description: string | null;
1145 href: string;
1146 color: string | null;
1147 order_index: number;
1148 timezone_ical: string | null;
1149 /** Format: date-time */
1150 created_at: string;
1151 /** Format: date-time */
1152 modified_at: string;
1153 sync_token: string;
1154 };
1155 };
1156 };
1157 /** @description JSON error response */
1158 400: {
1159 headers: {
1160 [name: string]: unknown;
1161 };
1162 content: {
1163 "application/json": {
1164 error: {
1165 code: string;
1166 message: string;
1167 };
1168 };
1169 };
1170 };
1171 /** @description JSON error response */
1172 401: {
1173 headers: {
1174 [name: string]: unknown;
1175 };
1176 content: {
1177 "application/json": {
1178 error: {
1179 code: string;
1180 message: string;
1181 };
1182 };
1183 };
1184 };
1185 /** @description JSON error response */
1186 403: {
1187 headers: {
1188 [name: string]: unknown;
1189 };
1190 content: {
1191 "application/json": {
1192 error: {
1193 code: string;
1194 message: string;
1195 };
1196 };
1197 };
1198 };
1199 /** @description JSON error response */
1200 404: {
1201 headers: {
1202 [name: string]: unknown;
1203 };
1204 content: {
1205 "application/json": {
1206 error: {
1207 code: string;
1208 message: string;
1209 };
1210 };
1211 };
1212 };
1213 /** @description JSON error response */
1214 409: {
1215 headers: {
1216 [name: string]: unknown;
1217 };
1218 content: {
1219 "application/json": {
1220 error: {
1221 code: string;
1222 message: string;
1223 };
1224 };
1225 };
1226 };
1227 /** @description JSON error response */
1228 500: {
1229 headers: {
1230 [name: string]: unknown;
1231 };
1232 content: {
1233 "application/json": {
1234 error: {
1235 code: string;
1236 message: string;
1237 };
1238 };
1239 };
1240 };
1241 };
1242 };
1243 getApiV1CalendarsByCalendarId: {
1244 parameters: {
1245 query?: never;
1246 header?: never;
1247 path: {
1248 calendar_id: string;
1249 };
1250 cookie?: never;
1251 };
1252 requestBody?: never;
1253 responses: {
1254 /** @description Get calendar */
1255 200: {
1256 headers: {
1257 [name: string]: unknown;
1258 };
1259 content: {
1260 "application/json": {
1261 id: string;
1262 name: string;
1263 display_name: string;
1264 description: string | null;
1265 href: string;
1266 color: string | null;
1267 order_index: number;
1268 timezone_ical: string | null;
1269 /** Format: date-time */
1270 created_at: string;
1271 /** Format: date-time */
1272 modified_at: string;
1273 sync_token: string;
1274 };
1275 };
1276 };
1277 /** @description JSON error response */
1278 400: {
1279 headers: {
1280 [name: string]: unknown;
1281 };
1282 content: {
1283 "application/json": {
1284 error: {
1285 code: string;
1286 message: string;
1287 };
1288 };
1289 };
1290 };
1291 /** @description JSON error response */
1292 401: {
1293 headers: {
1294 [name: string]: unknown;
1295 };
1296 content: {
1297 "application/json": {
1298 error: {
1299 code: string;
1300 message: string;
1301 };
1302 };
1303 };
1304 };
1305 /** @description JSON error response */
1306 403: {
1307 headers: {
1308 [name: string]: unknown;
1309 };
1310 content: {
1311 "application/json": {
1312 error: {
1313 code: string;
1314 message: string;
1315 };
1316 };
1317 };
1318 };
1319 /** @description JSON error response */
1320 404: {
1321 headers: {
1322 [name: string]: unknown;
1323 };
1324 content: {
1325 "application/json": {
1326 error: {
1327 code: string;
1328 message: string;
1329 };
1330 };
1331 };
1332 };
1333 /** @description JSON error response */
1334 409: {
1335 headers: {
1336 [name: string]: unknown;
1337 };
1338 content: {
1339 "application/json": {
1340 error: {
1341 code: string;
1342 message: string;
1343 };
1344 };
1345 };
1346 };
1347 /** @description JSON error response */
1348 500: {
1349 headers: {
1350 [name: string]: unknown;
1351 };
1352 content: {
1353 "application/json": {
1354 error: {
1355 code: string;
1356 message: string;
1357 };
1358 };
1359 };
1360 };
1361 };
1362 };
1363 deleteApiV1CalendarsByCalendarId: {
1364 parameters: {
1365 query?: never;
1366 header?: never;
1367 path: {
1368 calendar_id: string;
1369 };
1370 cookie?: never;
1371 };
1372 requestBody?: never;
1373 responses: {
1374 /** @description Calendar deleted */
1375 204: {
1376 headers: {
1377 [name: string]: unknown;
1378 };
1379 content?: never;
1380 };
1381 /** @description JSON error response */
1382 400: {
1383 headers: {
1384 [name: string]: unknown;
1385 };
1386 content: {
1387 "application/json": {
1388 error: {
1389 code: string;
1390 message: string;
1391 };
1392 };
1393 };
1394 };
1395 /** @description JSON error response */
1396 401: {
1397 headers: {
1398 [name: string]: unknown;
1399 };
1400 content: {
1401 "application/json": {
1402 error: {
1403 code: string;
1404 message: string;
1405 };
1406 };
1407 };
1408 };
1409 /** @description JSON error response */
1410 403: {
1411 headers: {
1412 [name: string]: unknown;
1413 };
1414 content: {
1415 "application/json": {
1416 error: {
1417 code: string;
1418 message: string;
1419 };
1420 };
1421 };
1422 };
1423 /** @description JSON error response */
1424 404: {
1425 headers: {
1426 [name: string]: unknown;
1427 };
1428 content: {
1429 "application/json": {
1430 error: {
1431 code: string;
1432 message: string;
1433 };
1434 };
1435 };
1436 };
1437 /** @description JSON error response */
1438 500: {
1439 headers: {
1440 [name: string]: unknown;
1441 };
1442 content: {
1443 "application/json": {
1444 error: {
1445 code: string;
1446 message: string;
1447 };
1448 };
1449 };
1450 };
1451 };
1452 };
1453 patchApiV1CalendarsByCalendarId: {
1454 parameters: {
1455 query?: never;
1456 header?: never;
1457 path: {
1458 calendar_id: string;
1459 };
1460 cookie?: never;
1461 };
1462 requestBody: {
1463 content: {
1464 "application/json": {
1465 display_name?: string;
1466 description?: string | null;
1467 color?: string | null;
1468 order_index?: number;
1469 timezone_ical?: string | null;
1470 };
1471 };
1472 };
1473 responses: {
1474 /** @description Update calendar */
1475 200: {
1476 headers: {
1477 [name: string]: unknown;
1478 };
1479 content: {
1480 "application/json": {
1481 id: string;
1482 name: string;
1483 display_name: string;
1484 description: string | null;
1485 href: string;
1486 color: string | null;
1487 order_index: number;
1488 timezone_ical: string | null;
1489 /** Format: date-time */
1490 created_at: string;
1491 /** Format: date-time */
1492 modified_at: string;
1493 sync_token: string;
1494 };
1495 };
1496 };
1497 /** @description JSON error response */
1498 400: {
1499 headers: {
1500 [name: string]: unknown;
1501 };
1502 content: {
1503 "application/json": {
1504 error: {
1505 code: string;
1506 message: string;
1507 };
1508 };
1509 };
1510 };
1511 /** @description JSON error response */
1512 401: {
1513 headers: {
1514 [name: string]: unknown;
1515 };
1516 content: {
1517 "application/json": {
1518 error: {
1519 code: string;
1520 message: string;
1521 };
1522 };
1523 };
1524 };
1525 /** @description JSON error response */
1526 403: {
1527 headers: {
1528 [name: string]: unknown;
1529 };
1530 content: {
1531 "application/json": {
1532 error: {
1533 code: string;
1534 message: string;
1535 };
1536 };
1537 };
1538 };
1539 /** @description JSON error response */
1540 404: {
1541 headers: {
1542 [name: string]: unknown;
1543 };
1544 content: {
1545 "application/json": {
1546 error: {
1547 code: string;
1548 message: string;
1549 };
1550 };
1551 };
1552 };
1553 /** @description JSON error response */
1554 409: {
1555 headers: {
1556 [name: string]: unknown;
1557 };
1558 content: {
1559 "application/json": {
1560 error: {
1561 code: string;
1562 message: string;
1563 };
1564 };
1565 };
1566 };
1567 /** @description JSON error response */
1568 500: {
1569 headers: {
1570 [name: string]: unknown;
1571 };
1572 content: {
1573 "application/json": {
1574 error: {
1575 code: string;
1576 message: string;
1577 };
1578 };
1579 };
1580 };
1581 };
1582 };
1583 getApiV1Addressbooks: {
1584 parameters: {
1585 query?: never;
1586 header?: never;
1587 path?: never;
1588 cookie?: never;
1589 };
1590 requestBody?: never;
1591 responses: {
1592 /** @description List address books */
1593 200: {
1594 headers: {
1595 [name: string]: unknown;
1596 };
1597 content: {
1598 "application/json": {
1599 id: string;
1600 name: string;
1601 display_name: string;
1602 description: string | null;
1603 href: string;
1604 /** Format: date-time */
1605 created_at: string;
1606 /** Format: date-time */
1607 modified_at: string;
1608 sync_token: string;
1609 }[];
1610 };
1611 };
1612 /** @description JSON error response */
1613 400: {
1614 headers: {
1615 [name: string]: unknown;
1616 };
1617 content: {
1618 "application/json": {
1619 error: {
1620 code: string;
1621 message: string;
1622 };
1623 };
1624 };
1625 };
1626 /** @description JSON error response */
1627 401: {
1628 headers: {
1629 [name: string]: unknown;
1630 };
1631 content: {
1632 "application/json": {
1633 error: {
1634 code: string;
1635 message: string;
1636 };
1637 };
1638 };
1639 };
1640 /** @description JSON error response */
1641 403: {
1642 headers: {
1643 [name: string]: unknown;
1644 };
1645 content: {
1646 "application/json": {
1647 error: {
1648 code: string;
1649 message: string;
1650 };
1651 };
1652 };
1653 };
1654 /** @description JSON error response */
1655 404: {
1656 headers: {
1657 [name: string]: unknown;
1658 };
1659 content: {
1660 "application/json": {
1661 error: {
1662 code: string;
1663 message: string;
1664 };
1665 };
1666 };
1667 };
1668 /** @description JSON error response */
1669 409: {
1670 headers: {
1671 [name: string]: unknown;
1672 };
1673 content: {
1674 "application/json": {
1675 error: {
1676 code: string;
1677 message: string;
1678 };
1679 };
1680 };
1681 };
1682 /** @description JSON error response */
1683 500: {
1684 headers: {
1685 [name: string]: unknown;
1686 };
1687 content: {
1688 "application/json": {
1689 error: {
1690 code: string;
1691 message: string;
1692 };
1693 };
1694 };
1695 };
1696 };
1697 };
1698 postApiV1Addressbooks: {
1699 parameters: {
1700 query?: never;
1701 header?: never;
1702 path?: never;
1703 cookie?: never;
1704 };
1705 requestBody: {
1706 content: {
1707 "application/json": {
1708 name: string;
1709 display_name?: string;
1710 description?: string | null;
1711 };
1712 };
1713 };
1714 responses: {
1715 /** @description Create address book */
1716 201: {
1717 headers: {
1718 [name: string]: unknown;
1719 };
1720 content: {
1721 "application/json": {
1722 id: string;
1723 name: string;
1724 display_name: string;
1725 description: string | null;
1726 href: string;
1727 /** Format: date-time */
1728 created_at: string;
1729 /** Format: date-time */
1730 modified_at: string;
1731 sync_token: string;
1732 };
1733 };
1734 };
1735 /** @description JSON error response */
1736 400: {
1737 headers: {
1738 [name: string]: unknown;
1739 };
1740 content: {
1741 "application/json": {
1742 error: {
1743 code: string;
1744 message: string;
1745 };
1746 };
1747 };
1748 };
1749 /** @description JSON error response */
1750 401: {
1751 headers: {
1752 [name: string]: unknown;
1753 };
1754 content: {
1755 "application/json": {
1756 error: {
1757 code: string;
1758 message: string;
1759 };
1760 };
1761 };
1762 };
1763 /** @description JSON error response */
1764 403: {
1765 headers: {
1766 [name: string]: unknown;
1767 };
1768 content: {
1769 "application/json": {
1770 error: {
1771 code: string;
1772 message: string;
1773 };
1774 };
1775 };
1776 };
1777 /** @description JSON error response */
1778 404: {
1779 headers: {
1780 [name: string]: unknown;
1781 };
1782 content: {
1783 "application/json": {
1784 error: {
1785 code: string;
1786 message: string;
1787 };
1788 };
1789 };
1790 };
1791 /** @description JSON error response */
1792 409: {
1793 headers: {
1794 [name: string]: unknown;
1795 };
1796 content: {
1797 "application/json": {
1798 error: {
1799 code: string;
1800 message: string;
1801 };
1802 };
1803 };
1804 };
1805 /** @description JSON error response */
1806 500: {
1807 headers: {
1808 [name: string]: unknown;
1809 };
1810 content: {
1811 "application/json": {
1812 error: {
1813 code: string;
1814 message: string;
1815 };
1816 };
1817 };
1818 };
1819 };
1820 };
1821 getApiV1AddressbooksByAddressbookId: {
1822 parameters: {
1823 query?: never;
1824 header?: never;
1825 path: {
1826 addressbook_id: string;
1827 };
1828 cookie?: never;
1829 };
1830 requestBody?: never;
1831 responses: {
1832 /** @description Get address book */
1833 200: {
1834 headers: {
1835 [name: string]: unknown;
1836 };
1837 content: {
1838 "application/json": {
1839 id: string;
1840 name: string;
1841 display_name: string;
1842 description: string | null;
1843 href: string;
1844 /** Format: date-time */
1845 created_at: string;
1846 /** Format: date-time */
1847 modified_at: string;
1848 sync_token: string;
1849 };
1850 };
1851 };
1852 /** @description JSON error response */
1853 400: {
1854 headers: {
1855 [name: string]: unknown;
1856 };
1857 content: {
1858 "application/json": {
1859 error: {
1860 code: string;
1861 message: string;
1862 };
1863 };
1864 };
1865 };
1866 /** @description JSON error response */
1867 401: {
1868 headers: {
1869 [name: string]: unknown;
1870 };
1871 content: {
1872 "application/json": {
1873 error: {
1874 code: string;
1875 message: string;
1876 };
1877 };
1878 };
1879 };
1880 /** @description JSON error response */
1881 403: {
1882 headers: {
1883 [name: string]: unknown;
1884 };
1885 content: {
1886 "application/json": {
1887 error: {
1888 code: string;
1889 message: string;
1890 };
1891 };
1892 };
1893 };
1894 /** @description JSON error response */
1895 404: {
1896 headers: {
1897 [name: string]: unknown;
1898 };
1899 content: {
1900 "application/json": {
1901 error: {
1902 code: string;
1903 message: string;
1904 };
1905 };
1906 };
1907 };
1908 /** @description JSON error response */
1909 409: {
1910 headers: {
1911 [name: string]: unknown;
1912 };
1913 content: {
1914 "application/json": {
1915 error: {
1916 code: string;
1917 message: string;
1918 };
1919 };
1920 };
1921 };
1922 /** @description JSON error response */
1923 500: {
1924 headers: {
1925 [name: string]: unknown;
1926 };
1927 content: {
1928 "application/json": {
1929 error: {
1930 code: string;
1931 message: string;
1932 };
1933 };
1934 };
1935 };
1936 };
1937 };
1938 deleteApiV1AddressbooksByAddressbookId: {
1939 parameters: {
1940 query?: never;
1941 header?: never;
1942 path: {
1943 addressbook_id: string;
1944 };
1945 cookie?: never;
1946 };
1947 requestBody?: never;
1948 responses: {
1949 /** @description Address book deleted */
1950 204: {
1951 headers: {
1952 [name: string]: unknown;
1953 };
1954 content?: never;
1955 };
1956 /** @description JSON error response */
1957 400: {
1958 headers: {
1959 [name: string]: unknown;
1960 };
1961 content: {
1962 "application/json": {
1963 error: {
1964 code: string;
1965 message: string;
1966 };
1967 };
1968 };
1969 };
1970 /** @description JSON error response */
1971 401: {
1972 headers: {
1973 [name: string]: unknown;
1974 };
1975 content: {
1976 "application/json": {
1977 error: {
1978 code: string;
1979 message: string;
1980 };
1981 };
1982 };
1983 };
1984 /** @description JSON error response */
1985 403: {
1986 headers: {
1987 [name: string]: unknown;
1988 };
1989 content: {
1990 "application/json": {
1991 error: {
1992 code: string;
1993 message: string;
1994 };
1995 };
1996 };
1997 };
1998 /** @description JSON error response */
1999 404: {
2000 headers: {
2001 [name: string]: unknown;
2002 };
2003 content: {
2004 "application/json": {
2005 error: {
2006 code: string;
2007 message: string;
2008 };
2009 };
2010 };
2011 };
2012 /** @description JSON error response */
2013 500: {
2014 headers: {
2015 [name: string]: unknown;
2016 };
2017 content: {
2018 "application/json": {
2019 error: {
2020 code: string;
2021 message: string;
2022 };
2023 };
2024 };
2025 };
2026 };
2027 };
2028 patchApiV1AddressbooksByAddressbookId: {
2029 parameters: {
2030 query?: never;
2031 header?: never;
2032 path: {
2033 addressbook_id: string;
2034 };
2035 cookie?: never;
2036 };
2037 requestBody: {
2038 content: {
2039 "application/json": {
2040 display_name?: string;
2041 description?: string | null;
2042 };
2043 };
2044 };
2045 responses: {
2046 /** @description Update address book */
2047 200: {
2048 headers: {
2049 [name: string]: unknown;
2050 };
2051 content: {
2052 "application/json": {
2053 id: string;
2054 name: string;
2055 display_name: string;
2056 description: string | null;
2057 href: string;
2058 /** Format: date-time */
2059 created_at: string;
2060 /** Format: date-time */
2061 modified_at: string;
2062 sync_token: string;
2063 };
2064 };
2065 };
2066 /** @description JSON error response */
2067 400: {
2068 headers: {
2069 [name: string]: unknown;
2070 };
2071 content: {
2072 "application/json": {
2073 error: {
2074 code: string;
2075 message: string;
2076 };
2077 };
2078 };
2079 };
2080 /** @description JSON error response */
2081 401: {
2082 headers: {
2083 [name: string]: unknown;
2084 };
2085 content: {
2086 "application/json": {
2087 error: {
2088 code: string;
2089 message: string;
2090 };
2091 };
2092 };
2093 };
2094 /** @description JSON error response */
2095 403: {
2096 headers: {
2097 [name: string]: unknown;
2098 };
2099 content: {
2100 "application/json": {
2101 error: {
2102 code: string;
2103 message: string;
2104 };
2105 };
2106 };
2107 };
2108 /** @description JSON error response */
2109 404: {
2110 headers: {
2111 [name: string]: unknown;
2112 };
2113 content: {
2114 "application/json": {
2115 error: {
2116 code: string;
2117 message: string;
2118 };
2119 };
2120 };
2121 };
2122 /** @description JSON error response */
2123 409: {
2124 headers: {
2125 [name: string]: unknown;
2126 };
2127 content: {
2128 "application/json": {
2129 error: {
2130 code: string;
2131 message: string;
2132 };
2133 };
2134 };
2135 };
2136 /** @description JSON error response */
2137 500: {
2138 headers: {
2139 [name: string]: unknown;
2140 };
2141 content: {
2142 "application/json": {
2143 error: {
2144 code: string;
2145 message: string;
2146 };
2147 };
2148 };
2149 };
2150 };
2151 };
2152 getApiV1FilesMetadata: {
2153 parameters: {
2154 query?: {
2155 path?: string;
2156 };
2157 header?: never;
2158 path?: never;
2159 cookie?: never;
2160 };
2161 requestBody?: never;
2162 responses: {
2163 /** @description Get file metadata */
2164 200: {
2165 headers: {
2166 [name: string]: unknown;
2167 };
2168 content: {
2169 "application/json": {
2170 href: string;
2171 path: string;
2172 name: string;
2173 /** @enum {string} */
2174 kind: "collection" | "file";
2175 size: number;
2176 content_type: string | null;
2177 content_language: string | null;
2178 etag: string | null;
2179 /** Format: date-time */
2180 created_at: string;
2181 /** Format: date-time */
2182 modified_at: string;
2183 };
2184 };
2185 };
2186 /** @description JSON error response */
2187 400: {
2188 headers: {
2189 [name: string]: unknown;
2190 };
2191 content: {
2192 "application/json": {
2193 error: {
2194 code: string;
2195 message: string;
2196 };
2197 };
2198 };
2199 };
2200 /** @description JSON error response */
2201 401: {
2202 headers: {
2203 [name: string]: unknown;
2204 };
2205 content: {
2206 "application/json": {
2207 error: {
2208 code: string;
2209 message: string;
2210 };
2211 };
2212 };
2213 };
2214 /** @description JSON error response */
2215 403: {
2216 headers: {
2217 [name: string]: unknown;
2218 };
2219 content: {
2220 "application/json": {
2221 error: {
2222 code: string;
2223 message: string;
2224 };
2225 };
2226 };
2227 };
2228 /** @description JSON error response */
2229 404: {
2230 headers: {
2231 [name: string]: unknown;
2232 };
2233 content: {
2234 "application/json": {
2235 error: {
2236 code: string;
2237 message: string;
2238 };
2239 };
2240 };
2241 };
2242 /** @description JSON error response */
2243 405: {
2244 headers: {
2245 [name: string]: unknown;
2246 };
2247 content: {
2248 "application/json": {
2249 error: {
2250 code: string;
2251 message: string;
2252 };
2253 };
2254 };
2255 };
2256 /** @description JSON error response */
2257 409: {
2258 headers: {
2259 [name: string]: unknown;
2260 };
2261 content: {
2262 "application/json": {
2263 error: {
2264 code: string;
2265 message: string;
2266 };
2267 };
2268 };
2269 };
2270 /** @description JSON error response */
2271 423: {
2272 headers: {
2273 [name: string]: unknown;
2274 };
2275 content: {
2276 "application/json": {
2277 error: {
2278 code: string;
2279 message: string;
2280 };
2281 };
2282 };
2283 };
2284 /** @description JSON error response */
2285 500: {
2286 headers: {
2287 [name: string]: unknown;
2288 };
2289 content: {
2290 "application/json": {
2291 error: {
2292 code: string;
2293 message: string;
2294 };
2295 };
2296 };
2297 };
2298 };
2299 };
2300 getApiV1FilesList: {
2301 parameters: {
2302 query?: {
2303 path?: string;
2304 };
2305 header?: never;
2306 path?: never;
2307 cookie?: never;
2308 };
2309 requestBody?: never;
2310 responses: {
2311 /** @description List files */
2312 200: {
2313 headers: {
2314 [name: string]: unknown;
2315 };
2316 content: {
2317 "application/json": {
2318 directory: {
2319 href: string;
2320 path: string;
2321 name: string;
2322 /** @enum {string} */
2323 kind: "collection" | "file";
2324 size: number;
2325 content_type: string | null;
2326 content_language: string | null;
2327 etag: string | null;
2328 /** Format: date-time */
2329 created_at: string;
2330 /** Format: date-time */
2331 modified_at: string;
2332 };
2333 entries: {
2334 href: string;
2335 path: string;
2336 name: string;
2337 /** @enum {string} */
2338 kind: "collection" | "file";
2339 size: number;
2340 content_type: string | null;
2341 content_language: string | null;
2342 etag: string | null;
2343 /** Format: date-time */
2344 created_at: string;
2345 /** Format: date-time */
2346 modified_at: string;
2347 }[];
2348 };
2349 };
2350 };
2351 /** @description JSON error response */
2352 400: {
2353 headers: {
2354 [name: string]: unknown;
2355 };
2356 content: {
2357 "application/json": {
2358 error: {
2359 code: string;
2360 message: string;
2361 };
2362 };
2363 };
2364 };
2365 /** @description JSON error response */
2366 401: {
2367 headers: {
2368 [name: string]: unknown;
2369 };
2370 content: {
2371 "application/json": {
2372 error: {
2373 code: string;
2374 message: string;
2375 };
2376 };
2377 };
2378 };
2379 /** @description JSON error response */
2380 403: {
2381 headers: {
2382 [name: string]: unknown;
2383 };
2384 content: {
2385 "application/json": {
2386 error: {
2387 code: string;
2388 message: string;
2389 };
2390 };
2391 };
2392 };
2393 /** @description JSON error response */
2394 404: {
2395 headers: {
2396 [name: string]: unknown;
2397 };
2398 content: {
2399 "application/json": {
2400 error: {
2401 code: string;
2402 message: string;
2403 };
2404 };
2405 };
2406 };
2407 /** @description JSON error response */
2408 405: {
2409 headers: {
2410 [name: string]: unknown;
2411 };
2412 content: {
2413 "application/json": {
2414 error: {
2415 code: string;
2416 message: string;
2417 };
2418 };
2419 };
2420 };
2421 /** @description JSON error response */
2422 409: {
2423 headers: {
2424 [name: string]: unknown;
2425 };
2426 content: {
2427 "application/json": {
2428 error: {
2429 code: string;
2430 message: string;
2431 };
2432 };
2433 };
2434 };
2435 /** @description JSON error response */
2436 423: {
2437 headers: {
2438 [name: string]: unknown;
2439 };
2440 content: {
2441 "application/json": {
2442 error: {
2443 code: string;
2444 message: string;
2445 };
2446 };
2447 };
2448 };
2449 /** @description JSON error response */
2450 500: {
2451 headers: {
2452 [name: string]: unknown;
2453 };
2454 content: {
2455 "application/json": {
2456 error: {
2457 code: string;
2458 message: string;
2459 };
2460 };
2461 };
2462 };
2463 };
2464 };
2465 postApiV1FilesMkdir: {
2466 parameters: {
2467 query?: never;
2468 header?: never;
2469 path?: never;
2470 cookie?: never;
2471 };
2472 requestBody: {
2473 content: {
2474 "application/json": {
2475 path: string;
2476 };
2477 };
2478 };
2479 responses: {
2480 /** @description Create file collection */
2481 201: {
2482 headers: {
2483 [name: string]: unknown;
2484 };
2485 content: {
2486 "application/json": {
2487 href: string;
2488 path: string;
2489 name: string;
2490 /** @enum {string} */
2491 kind: "collection" | "file";
2492 size: number;
2493 content_type: string | null;
2494 content_language: string | null;
2495 etag: string | null;
2496 /** Format: date-time */
2497 created_at: string;
2498 /** Format: date-time */
2499 modified_at: string;
2500 };
2501 };
2502 };
2503 /** @description JSON error response */
2504 400: {
2505 headers: {
2506 [name: string]: unknown;
2507 };
2508 content: {
2509 "application/json": {
2510 error: {
2511 code: string;
2512 message: string;
2513 };
2514 };
2515 };
2516 };
2517 /** @description JSON error response */
2518 401: {
2519 headers: {
2520 [name: string]: unknown;
2521 };
2522 content: {
2523 "application/json": {
2524 error: {
2525 code: string;
2526 message: string;
2527 };
2528 };
2529 };
2530 };
2531 /** @description JSON error response */
2532 403: {
2533 headers: {
2534 [name: string]: unknown;
2535 };
2536 content: {
2537 "application/json": {
2538 error: {
2539 code: string;
2540 message: string;
2541 };
2542 };
2543 };
2544 };
2545 /** @description JSON error response */
2546 404: {
2547 headers: {
2548 [name: string]: unknown;
2549 };
2550 content: {
2551 "application/json": {
2552 error: {
2553 code: string;
2554 message: string;
2555 };
2556 };
2557 };
2558 };
2559 /** @description JSON error response */
2560 405: {
2561 headers: {
2562 [name: string]: unknown;
2563 };
2564 content: {
2565 "application/json": {
2566 error: {
2567 code: string;
2568 message: string;
2569 };
2570 };
2571 };
2572 };
2573 /** @description JSON error response */
2574 409: {
2575 headers: {
2576 [name: string]: unknown;
2577 };
2578 content: {
2579 "application/json": {
2580 error: {
2581 code: string;
2582 message: string;
2583 };
2584 };
2585 };
2586 };
2587 /** @description JSON error response */
2588 423: {
2589 headers: {
2590 [name: string]: unknown;
2591 };
2592 content: {
2593 "application/json": {
2594 error: {
2595 code: string;
2596 message: string;
2597 };
2598 };
2599 };
2600 };
2601 /** @description JSON error response */
2602 500: {
2603 headers: {
2604 [name: string]: unknown;
2605 };
2606 content: {
2607 "application/json": {
2608 error: {
2609 code: string;
2610 message: string;
2611 };
2612 };
2613 };
2614 };
2615 };
2616 };
2617 postApiV1FilesRename: {
2618 parameters: {
2619 query?: never;
2620 header?: never;
2621 path?: never;
2622 cookie?: never;
2623 };
2624 requestBody: {
2625 content: {
2626 "application/json": {
2627 from: string;
2628 to: string;
2629 };
2630 };
2631 };
2632 responses: {
2633 /** @description Rename file path */
2634 200: {
2635 headers: {
2636 [name: string]: unknown;
2637 };
2638 content: {
2639 "application/json": {
2640 href: string;
2641 path: string;
2642 name: string;
2643 /** @enum {string} */
2644 kind: "collection" | "file";
2645 size: number;
2646 content_type: string | null;
2647 content_language: string | null;
2648 etag: string | null;
2649 /** Format: date-time */
2650 created_at: string;
2651 /** Format: date-time */
2652 modified_at: string;
2653 };
2654 };
2655 };
2656 /** @description JSON error response */
2657 400: {
2658 headers: {
2659 [name: string]: unknown;
2660 };
2661 content: {
2662 "application/json": {
2663 error: {
2664 code: string;
2665 message: string;
2666 };
2667 };
2668 };
2669 };
2670 /** @description JSON error response */
2671 401: {
2672 headers: {
2673 [name: string]: unknown;
2674 };
2675 content: {
2676 "application/json": {
2677 error: {
2678 code: string;
2679 message: string;
2680 };
2681 };
2682 };
2683 };
2684 /** @description JSON error response */
2685 403: {
2686 headers: {
2687 [name: string]: unknown;
2688 };
2689 content: {
2690 "application/json": {
2691 error: {
2692 code: string;
2693 message: string;
2694 };
2695 };
2696 };
2697 };
2698 /** @description JSON error response */
2699 404: {
2700 headers: {
2701 [name: string]: unknown;
2702 };
2703 content: {
2704 "application/json": {
2705 error: {
2706 code: string;
2707 message: string;
2708 };
2709 };
2710 };
2711 };
2712 /** @description JSON error response */
2713 405: {
2714 headers: {
2715 [name: string]: unknown;
2716 };
2717 content: {
2718 "application/json": {
2719 error: {
2720 code: string;
2721 message: string;
2722 };
2723 };
2724 };
2725 };
2726 /** @description JSON error response */
2727 409: {
2728 headers: {
2729 [name: string]: unknown;
2730 };
2731 content: {
2732 "application/json": {
2733 error: {
2734 code: string;
2735 message: string;
2736 };
2737 };
2738 };
2739 };
2740 /** @description JSON error response */
2741 423: {
2742 headers: {
2743 [name: string]: unknown;
2744 };
2745 content: {
2746 "application/json": {
2747 error: {
2748 code: string;
2749 message: string;
2750 };
2751 };
2752 };
2753 };
2754 /** @description JSON error response */
2755 500: {
2756 headers: {
2757 [name: string]: unknown;
2758 };
2759 content: {
2760 "application/json": {
2761 error: {
2762 code: string;
2763 message: string;
2764 };
2765 };
2766 };
2767 };
2768 };
2769 };
2770 deleteApiV1FilesDelete: {
2771 parameters: {
2772 query?: never;
2773 header?: never;
2774 path?: never;
2775 cookie?: never;
2776 };
2777 requestBody: {
2778 content: {
2779 "application/json": {
2780 path: string;
2781 };
2782 };
2783 };
2784 responses: {
2785 /** @description File resource deleted */
2786 204: {
2787 headers: {
2788 [name: string]: unknown;
2789 };
2790 content?: never;
2791 };
2792 /** @description JSON error response */
2793 400: {
2794 headers: {
2795 [name: string]: unknown;
2796 };
2797 content: {
2798 "application/json": {
2799 error: {
2800 code: string;
2801 message: string;
2802 };
2803 };
2804 };
2805 };
2806 /** @description JSON error response */
2807 401: {
2808 headers: {
2809 [name: string]: unknown;
2810 };
2811 content: {
2812 "application/json": {
2813 error: {
2814 code: string;
2815 message: string;
2816 };
2817 };
2818 };
2819 };
2820 /** @description JSON error response */
2821 403: {
2822 headers: {
2823 [name: string]: unknown;
2824 };
2825 content: {
2826 "application/json": {
2827 error: {
2828 code: string;
2829 message: string;
2830 };
2831 };
2832 };
2833 };
2834 /** @description JSON error response */
2835 404: {
2836 headers: {
2837 [name: string]: unknown;
2838 };
2839 content: {
2840 "application/json": {
2841 error: {
2842 code: string;
2843 message: string;
2844 };
2845 };
2846 };
2847 };
2848 /** @description JSON error response */
2849 405: {
2850 headers: {
2851 [name: string]: unknown;
2852 };
2853 content: {
2854 "application/json": {
2855 error: {
2856 code: string;
2857 message: string;
2858 };
2859 };
2860 };
2861 };
2862 /** @description JSON error response */
2863 423: {
2864 headers: {
2865 [name: string]: unknown;
2866 };
2867 content: {
2868 "application/json": {
2869 error: {
2870 code: string;
2871 message: string;
2872 };
2873 };
2874 };
2875 };
2876 /** @description JSON error response */
2877 500: {
2878 headers: {
2879 [name: string]: unknown;
2880 };
2881 content: {
2882 "application/json": {
2883 error: {
2884 code: string;
2885 message: string;
2886 };
2887 };
2888 };
2889 };
2890 };
2891 };
2892}