@syncular/transport-http 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1897 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {
7
+ "/sync/pull": {
8
+ parameters: {
9
+ query?: never;
10
+ header?: never;
11
+ path?: never;
12
+ cookie?: never;
13
+ };
14
+ get?: never;
15
+ put?: never;
16
+ /**
17
+ * Pull commits and snapshots
18
+ * @description Pull commits and optional bootstrap snapshots for subscriptions
19
+ */
20
+ post: operations["postSyncPull"];
21
+ delete?: never;
22
+ options?: never;
23
+ head?: never;
24
+ patch?: never;
25
+ trace?: never;
26
+ };
27
+ "/sync/snapshot-chunks/{chunkId}": {
28
+ parameters: {
29
+ query?: never;
30
+ header?: never;
31
+ path?: never;
32
+ cookie?: never;
33
+ };
34
+ /**
35
+ * Download snapshot chunk
36
+ * @description Download an encoded bootstrap snapshot chunk
37
+ */
38
+ get: operations["getSyncSnapshotChunksByChunkId"];
39
+ put?: never;
40
+ post?: never;
41
+ delete?: never;
42
+ options?: never;
43
+ head?: never;
44
+ patch?: never;
45
+ trace?: never;
46
+ };
47
+ "/sync/push": {
48
+ parameters: {
49
+ query?: never;
50
+ header?: never;
51
+ path?: never;
52
+ cookie?: never;
53
+ };
54
+ get?: never;
55
+ put?: never;
56
+ /**
57
+ * Push a commit
58
+ * @description Push a client commit with operations to the server
59
+ */
60
+ post: operations["postSyncPush"];
61
+ delete?: never;
62
+ options?: never;
63
+ head?: never;
64
+ patch?: never;
65
+ trace?: never;
66
+ };
67
+ "/console/stats": {
68
+ parameters: {
69
+ query?: never;
70
+ header?: never;
71
+ path?: never;
72
+ cookie?: never;
73
+ };
74
+ /** Get sync statistics */
75
+ get: operations["getConsoleStats"];
76
+ put?: never;
77
+ post?: never;
78
+ delete?: never;
79
+ options?: never;
80
+ head?: never;
81
+ patch?: never;
82
+ trace?: never;
83
+ };
84
+ "/console/stats/timeseries": {
85
+ parameters: {
86
+ query?: never;
87
+ header?: never;
88
+ path?: never;
89
+ cookie?: never;
90
+ };
91
+ /** Get time-series statistics */
92
+ get: operations["getConsoleStatsTimeseries"];
93
+ put?: never;
94
+ post?: never;
95
+ delete?: never;
96
+ options?: never;
97
+ head?: never;
98
+ patch?: never;
99
+ trace?: never;
100
+ };
101
+ "/console/stats/latency": {
102
+ parameters: {
103
+ query?: never;
104
+ header?: never;
105
+ path?: never;
106
+ cookie?: never;
107
+ };
108
+ /** Get latency percentiles */
109
+ get: operations["getConsoleStatsLatency"];
110
+ put?: never;
111
+ post?: never;
112
+ delete?: never;
113
+ options?: never;
114
+ head?: never;
115
+ patch?: never;
116
+ trace?: never;
117
+ };
118
+ "/console/commits": {
119
+ parameters: {
120
+ query?: never;
121
+ header?: never;
122
+ path?: never;
123
+ cookie?: never;
124
+ };
125
+ /** List commits */
126
+ get: operations["getConsoleCommits"];
127
+ put?: never;
128
+ post?: never;
129
+ delete?: never;
130
+ options?: never;
131
+ head?: never;
132
+ patch?: never;
133
+ trace?: never;
134
+ };
135
+ "/console/commits/{seq}": {
136
+ parameters: {
137
+ query?: never;
138
+ header?: never;
139
+ path?: never;
140
+ cookie?: never;
141
+ };
142
+ /** Get commit details */
143
+ get: operations["getConsoleCommitsBySeq"];
144
+ put?: never;
145
+ post?: never;
146
+ delete?: never;
147
+ options?: never;
148
+ head?: never;
149
+ patch?: never;
150
+ trace?: never;
151
+ };
152
+ "/console/clients": {
153
+ parameters: {
154
+ query?: never;
155
+ header?: never;
156
+ path?: never;
157
+ cookie?: never;
158
+ };
159
+ /** List clients */
160
+ get: operations["getConsoleClients"];
161
+ put?: never;
162
+ post?: never;
163
+ delete?: never;
164
+ options?: never;
165
+ head?: never;
166
+ patch?: never;
167
+ trace?: never;
168
+ };
169
+ "/console/handlers": {
170
+ parameters: {
171
+ query?: never;
172
+ header?: never;
173
+ path?: never;
174
+ cookie?: never;
175
+ };
176
+ /** List registered handlers */
177
+ get: operations["getConsoleHandlers"];
178
+ put?: never;
179
+ post?: never;
180
+ delete?: never;
181
+ options?: never;
182
+ head?: never;
183
+ patch?: never;
184
+ trace?: never;
185
+ };
186
+ "/console/prune/preview": {
187
+ parameters: {
188
+ query?: never;
189
+ header?: never;
190
+ path?: never;
191
+ cookie?: never;
192
+ };
193
+ get?: never;
194
+ put?: never;
195
+ /** Preview pruning */
196
+ post: operations["postConsolePrunePreview"];
197
+ delete?: never;
198
+ options?: never;
199
+ head?: never;
200
+ patch?: never;
201
+ trace?: never;
202
+ };
203
+ "/console/prune": {
204
+ parameters: {
205
+ query?: never;
206
+ header?: never;
207
+ path?: never;
208
+ cookie?: never;
209
+ };
210
+ get?: never;
211
+ put?: never;
212
+ /** Trigger pruning */
213
+ post: operations["postConsolePrune"];
214
+ delete?: never;
215
+ options?: never;
216
+ head?: never;
217
+ patch?: never;
218
+ trace?: never;
219
+ };
220
+ "/console/compact": {
221
+ parameters: {
222
+ query?: never;
223
+ header?: never;
224
+ path?: never;
225
+ cookie?: never;
226
+ };
227
+ get?: never;
228
+ put?: never;
229
+ /** Trigger compaction */
230
+ post: operations["postConsoleCompact"];
231
+ delete?: never;
232
+ options?: never;
233
+ head?: never;
234
+ patch?: never;
235
+ trace?: never;
236
+ };
237
+ "/console/clients/{id}": {
238
+ parameters: {
239
+ query?: never;
240
+ header?: never;
241
+ path?: never;
242
+ cookie?: never;
243
+ };
244
+ get?: never;
245
+ put?: never;
246
+ post?: never;
247
+ /** Evict client */
248
+ delete: operations["deleteConsoleClientsById"];
249
+ options?: never;
250
+ head?: never;
251
+ patch?: never;
252
+ trace?: never;
253
+ };
254
+ "/console/events": {
255
+ parameters: {
256
+ query?: never;
257
+ header?: never;
258
+ path?: never;
259
+ cookie?: never;
260
+ };
261
+ /** List request events */
262
+ get: operations["getConsoleEvents"];
263
+ put?: never;
264
+ post?: never;
265
+ /** Clear all events */
266
+ delete: operations["deleteConsoleEvents"];
267
+ options?: never;
268
+ head?: never;
269
+ patch?: never;
270
+ trace?: never;
271
+ };
272
+ "/console/events/{id}": {
273
+ parameters: {
274
+ query?: never;
275
+ header?: never;
276
+ path?: never;
277
+ cookie?: never;
278
+ };
279
+ /** Get event details */
280
+ get: operations["getConsoleEventsById"];
281
+ put?: never;
282
+ post?: never;
283
+ delete?: never;
284
+ options?: never;
285
+ head?: never;
286
+ patch?: never;
287
+ trace?: never;
288
+ };
289
+ "/console/events/prune": {
290
+ parameters: {
291
+ query?: never;
292
+ header?: never;
293
+ path?: never;
294
+ cookie?: never;
295
+ };
296
+ get?: never;
297
+ put?: never;
298
+ /** Prune old events */
299
+ post: operations["postConsoleEventsPrune"];
300
+ delete?: never;
301
+ options?: never;
302
+ head?: never;
303
+ patch?: never;
304
+ trace?: never;
305
+ };
306
+ "/console/api-keys": {
307
+ parameters: {
308
+ query?: never;
309
+ header?: never;
310
+ path?: never;
311
+ cookie?: never;
312
+ };
313
+ /** List API keys */
314
+ get: operations["getConsoleApiKeys"];
315
+ put?: never;
316
+ /** Create API key */
317
+ post: operations["postConsoleApiKeys"];
318
+ delete?: never;
319
+ options?: never;
320
+ head?: never;
321
+ patch?: never;
322
+ trace?: never;
323
+ };
324
+ "/console/api-keys/{id}": {
325
+ parameters: {
326
+ query?: never;
327
+ header?: never;
328
+ path?: never;
329
+ cookie?: never;
330
+ };
331
+ /** Get API key */
332
+ get: operations["getConsoleApiKeysById"];
333
+ put?: never;
334
+ post?: never;
335
+ /** Revoke API key */
336
+ delete: operations["deleteConsoleApiKeysById"];
337
+ options?: never;
338
+ head?: never;
339
+ patch?: never;
340
+ trace?: never;
341
+ };
342
+ "/console/api-keys/{id}/rotate": {
343
+ parameters: {
344
+ query?: never;
345
+ header?: never;
346
+ path?: never;
347
+ cookie?: never;
348
+ };
349
+ get?: never;
350
+ put?: never;
351
+ /** Rotate API key */
352
+ post: operations["postConsoleApiKeysByIdRotate"];
353
+ delete?: never;
354
+ options?: never;
355
+ head?: never;
356
+ patch?: never;
357
+ trace?: never;
358
+ };
359
+ "/sync/blobs/upload": {
360
+ parameters: {
361
+ query?: never;
362
+ header?: never;
363
+ path?: never;
364
+ cookie?: never;
365
+ };
366
+ get?: never;
367
+ put?: never;
368
+ /**
369
+ * Initiate blob upload
370
+ * @description Initiates a blob upload and returns a presigned URL for uploading
371
+ */
372
+ post: operations["postSyncBlobsUpload"];
373
+ delete?: never;
374
+ options?: never;
375
+ head?: never;
376
+ patch?: never;
377
+ trace?: never;
378
+ };
379
+ "/sync/blobs/{hash}/complete": {
380
+ parameters: {
381
+ query?: never;
382
+ header?: never;
383
+ path?: never;
384
+ cookie?: never;
385
+ };
386
+ get?: never;
387
+ put?: never;
388
+ /**
389
+ * Complete blob upload
390
+ * @description Marks a blob upload as complete after the client has uploaded to the presigned URL
391
+ */
392
+ post: operations["postSyncBlobsByHashComplete"];
393
+ delete?: never;
394
+ options?: never;
395
+ head?: never;
396
+ patch?: never;
397
+ trace?: never;
398
+ };
399
+ "/sync/blobs/{hash}/url": {
400
+ parameters: {
401
+ query?: never;
402
+ header?: never;
403
+ path?: never;
404
+ cookie?: never;
405
+ };
406
+ /**
407
+ * Get blob download URL
408
+ * @description Returns a presigned URL for downloading a blob
409
+ */
410
+ get: operations["getSyncBlobsByHashUrl"];
411
+ put?: never;
412
+ post?: never;
413
+ delete?: never;
414
+ options?: never;
415
+ head?: never;
416
+ patch?: never;
417
+ trace?: never;
418
+ };
419
+ }
420
+ export type webhooks = Record<string, never>;
421
+ export interface components {
422
+ schemas: never;
423
+ responses: never;
424
+ parameters: never;
425
+ requestBodies: never;
426
+ headers: never;
427
+ pathItems: never;
428
+ }
429
+ export type $defs = Record<string, never>;
430
+ export interface operations {
431
+ postSyncPull: {
432
+ parameters: {
433
+ query?: never;
434
+ header?: never;
435
+ path?: never;
436
+ cookie?: never;
437
+ };
438
+ requestBody?: {
439
+ content: {
440
+ "application/json": {
441
+ clientId: string;
442
+ limitCommits: number;
443
+ limitSnapshotRows?: number;
444
+ maxSnapshotPages?: number;
445
+ dedupeRows?: boolean;
446
+ subscriptions: {
447
+ id: string;
448
+ shape: string;
449
+ scopes: {
450
+ [key: string]: string | string[];
451
+ };
452
+ params?: {
453
+ [key: string]: unknown;
454
+ };
455
+ cursor: number;
456
+ bootstrapState?: {
457
+ asOfCommitSeq: number;
458
+ tables: string[];
459
+ tableIndex: number;
460
+ rowCursor: string | null;
461
+ } | null;
462
+ }[];
463
+ };
464
+ };
465
+ };
466
+ responses: {
467
+ /** @description Successful pull response */
468
+ 200: {
469
+ headers: {
470
+ [name: string]: unknown;
471
+ };
472
+ content: {
473
+ "application/json": {
474
+ /** @constant */
475
+ ok: true;
476
+ subscriptions: {
477
+ id: string;
478
+ /** @enum {string} */
479
+ status: "active" | "revoked";
480
+ scopes: {
481
+ [key: string]: string | string[];
482
+ };
483
+ bootstrap: boolean;
484
+ bootstrapState?: {
485
+ asOfCommitSeq: number;
486
+ tables: string[];
487
+ tableIndex: number;
488
+ rowCursor: string | null;
489
+ } | null;
490
+ nextCursor: number;
491
+ commits: {
492
+ commitSeq: number;
493
+ createdAt: string;
494
+ actorId: string;
495
+ changes: {
496
+ table: string;
497
+ row_id: string;
498
+ /** @enum {string} */
499
+ op: "upsert" | "delete";
500
+ row_json: unknown | null;
501
+ row_version: number | null;
502
+ scopes: {
503
+ [key: string]: string;
504
+ };
505
+ }[];
506
+ }[];
507
+ snapshots?: {
508
+ table: string;
509
+ rows: unknown[];
510
+ chunks?: {
511
+ id: string;
512
+ byteLength: number;
513
+ sha256: string;
514
+ /** @constant */
515
+ encoding: "ndjson";
516
+ /** @constant */
517
+ compression: "gzip";
518
+ }[];
519
+ isFirstPage: boolean;
520
+ isLastPage: boolean;
521
+ }[];
522
+ }[];
523
+ };
524
+ };
525
+ };
526
+ /** @description Invalid request */
527
+ 400: {
528
+ headers: {
529
+ [name: string]: unknown;
530
+ };
531
+ content: {
532
+ "application/json": {
533
+ error: string;
534
+ message?: string;
535
+ code?: string;
536
+ };
537
+ };
538
+ };
539
+ /** @description Unauthenticated */
540
+ 401: {
541
+ headers: {
542
+ [name: string]: unknown;
543
+ };
544
+ content: {
545
+ "application/json": {
546
+ error: string;
547
+ message?: string;
548
+ code?: string;
549
+ };
550
+ };
551
+ };
552
+ };
553
+ };
554
+ getSyncSnapshotChunksByChunkId: {
555
+ parameters: {
556
+ query?: never;
557
+ header?: never;
558
+ path: {
559
+ chunkId: string;
560
+ };
561
+ cookie?: never;
562
+ };
563
+ requestBody?: never;
564
+ responses: {
565
+ /** @description Snapshot chunk data (gzip-compressed NDJSON) */
566
+ 200: {
567
+ headers: {
568
+ [name: string]: unknown;
569
+ };
570
+ content?: never;
571
+ };
572
+ /** @description Not modified (cached) */
573
+ 304: {
574
+ headers: {
575
+ [name: string]: unknown;
576
+ };
577
+ content?: never;
578
+ };
579
+ /** @description Unauthenticated */
580
+ 401: {
581
+ headers: {
582
+ [name: string]: unknown;
583
+ };
584
+ content: {
585
+ "application/json": {
586
+ error: string;
587
+ message?: string;
588
+ code?: string;
589
+ };
590
+ };
591
+ };
592
+ /** @description Forbidden */
593
+ 403: {
594
+ headers: {
595
+ [name: string]: unknown;
596
+ };
597
+ content: {
598
+ "application/json": {
599
+ error: string;
600
+ message?: string;
601
+ code?: string;
602
+ };
603
+ };
604
+ };
605
+ /** @description Not found */
606
+ 404: {
607
+ headers: {
608
+ [name: string]: unknown;
609
+ };
610
+ content: {
611
+ "application/json": {
612
+ error: string;
613
+ message?: string;
614
+ code?: string;
615
+ };
616
+ };
617
+ };
618
+ };
619
+ };
620
+ postSyncPush: {
621
+ parameters: {
622
+ query?: never;
623
+ header?: never;
624
+ path?: never;
625
+ cookie?: never;
626
+ };
627
+ requestBody?: {
628
+ content: {
629
+ "application/json": {
630
+ clientId: string;
631
+ clientCommitId: string;
632
+ operations: {
633
+ table: string;
634
+ row_id: string;
635
+ /** @enum {string} */
636
+ op: "upsert" | "delete";
637
+ payload: {
638
+ [key: string]: unknown;
639
+ } | null;
640
+ base_version?: number | null;
641
+ }[];
642
+ schemaVersion: number;
643
+ };
644
+ };
645
+ };
646
+ responses: {
647
+ /** @description Successful push response */
648
+ 200: {
649
+ headers: {
650
+ [name: string]: unknown;
651
+ };
652
+ content: {
653
+ "application/json": {
654
+ /** @constant */
655
+ ok: true;
656
+ /** @enum {string} */
657
+ status: "applied" | "cached" | "rejected";
658
+ commitSeq?: number;
659
+ results: ({
660
+ opIndex: number;
661
+ /** @constant */
662
+ status: "applied";
663
+ } | {
664
+ opIndex: number;
665
+ /** @constant */
666
+ status: "conflict";
667
+ message: string;
668
+ server_version: number;
669
+ server_row: unknown;
670
+ } | {
671
+ opIndex: number;
672
+ /** @constant */
673
+ status: "error";
674
+ error: string;
675
+ code?: string;
676
+ retriable?: boolean;
677
+ })[];
678
+ };
679
+ };
680
+ };
681
+ /** @description Invalid request */
682
+ 400: {
683
+ headers: {
684
+ [name: string]: unknown;
685
+ };
686
+ content: {
687
+ "application/json": {
688
+ error: string;
689
+ message?: string;
690
+ code?: string;
691
+ };
692
+ };
693
+ };
694
+ /** @description Unauthenticated */
695
+ 401: {
696
+ headers: {
697
+ [name: string]: unknown;
698
+ };
699
+ content: {
700
+ "application/json": {
701
+ error: string;
702
+ message?: string;
703
+ code?: string;
704
+ };
705
+ };
706
+ };
707
+ };
708
+ };
709
+ getConsoleStats: {
710
+ parameters: {
711
+ query?: never;
712
+ header?: never;
713
+ path?: never;
714
+ cookie?: never;
715
+ };
716
+ requestBody?: never;
717
+ responses: {
718
+ /** @description Sync statistics */
719
+ 200: {
720
+ headers: {
721
+ [name: string]: unknown;
722
+ };
723
+ content: {
724
+ "application/json": {
725
+ commitCount: number;
726
+ changeCount: number;
727
+ minCommitSeq: number;
728
+ maxCommitSeq: number;
729
+ clientCount: number;
730
+ activeClientCount: number;
731
+ minActiveClientCursor: number | null;
732
+ maxActiveClientCursor: number | null;
733
+ };
734
+ };
735
+ };
736
+ /** @description Unauthenticated */
737
+ 401: {
738
+ headers: {
739
+ [name: string]: unknown;
740
+ };
741
+ content: {
742
+ "application/json": {
743
+ error: string;
744
+ message?: string;
745
+ };
746
+ };
747
+ };
748
+ };
749
+ };
750
+ getConsoleStatsTimeseries: {
751
+ parameters: {
752
+ query?: {
753
+ interval?: "minute" | "hour" | "day";
754
+ range?: "1h" | "6h" | "24h" | "7d" | "30d";
755
+ };
756
+ header?: never;
757
+ path?: never;
758
+ cookie?: never;
759
+ };
760
+ requestBody?: never;
761
+ responses: {
762
+ /** @description Time-series statistics */
763
+ 200: {
764
+ headers: {
765
+ [name: string]: unknown;
766
+ };
767
+ content: {
768
+ "application/json": {
769
+ buckets: {
770
+ timestamp: string;
771
+ pushCount: number;
772
+ pullCount: number;
773
+ errorCount: number;
774
+ avgLatencyMs: number;
775
+ }[];
776
+ /** @enum {string} */
777
+ interval: "minute" | "hour" | "day";
778
+ /** @enum {string} */
779
+ range: "1h" | "6h" | "24h" | "7d" | "30d";
780
+ };
781
+ };
782
+ };
783
+ /** @description Unauthenticated */
784
+ 401: {
785
+ headers: {
786
+ [name: string]: unknown;
787
+ };
788
+ content: {
789
+ "application/json": {
790
+ error: string;
791
+ message?: string;
792
+ };
793
+ };
794
+ };
795
+ };
796
+ };
797
+ getConsoleStatsLatency: {
798
+ parameters: {
799
+ query?: {
800
+ range?: "1h" | "6h" | "24h" | "7d" | "30d";
801
+ };
802
+ header?: never;
803
+ path?: never;
804
+ cookie?: never;
805
+ };
806
+ requestBody?: never;
807
+ responses: {
808
+ /** @description Latency percentiles */
809
+ 200: {
810
+ headers: {
811
+ [name: string]: unknown;
812
+ };
813
+ content: {
814
+ "application/json": {
815
+ push: {
816
+ p50: number;
817
+ p90: number;
818
+ p99: number;
819
+ };
820
+ pull: {
821
+ p50: number;
822
+ p90: number;
823
+ p99: number;
824
+ };
825
+ /** @enum {string} */
826
+ range: "1h" | "6h" | "24h" | "7d" | "30d";
827
+ };
828
+ };
829
+ };
830
+ /** @description Unauthenticated */
831
+ 401: {
832
+ headers: {
833
+ [name: string]: unknown;
834
+ };
835
+ content: {
836
+ "application/json": {
837
+ error: string;
838
+ message?: string;
839
+ };
840
+ };
841
+ };
842
+ };
843
+ };
844
+ getConsoleCommits: {
845
+ parameters: {
846
+ query?: {
847
+ limit?: number;
848
+ offset?: number;
849
+ };
850
+ header?: never;
851
+ path?: never;
852
+ cookie?: never;
853
+ };
854
+ requestBody?: never;
855
+ responses: {
856
+ /** @description Paginated commit list */
857
+ 200: {
858
+ headers: {
859
+ [name: string]: unknown;
860
+ };
861
+ content: {
862
+ "application/json": {
863
+ items: {
864
+ commitSeq: number;
865
+ actorId: string;
866
+ clientId: string;
867
+ clientCommitId: string;
868
+ createdAt: string;
869
+ changeCount: number;
870
+ affectedTables: string[];
871
+ }[];
872
+ total: number;
873
+ offset: number;
874
+ limit: number;
875
+ };
876
+ };
877
+ };
878
+ /** @description Unauthenticated */
879
+ 401: {
880
+ headers: {
881
+ [name: string]: unknown;
882
+ };
883
+ content: {
884
+ "application/json": {
885
+ error: string;
886
+ message?: string;
887
+ };
888
+ };
889
+ };
890
+ };
891
+ };
892
+ getConsoleCommitsBySeq: {
893
+ parameters: {
894
+ query?: never;
895
+ header?: never;
896
+ path: {
897
+ seq: number;
898
+ };
899
+ cookie?: never;
900
+ };
901
+ requestBody?: never;
902
+ responses: {
903
+ /** @description Commit with changes */
904
+ 200: {
905
+ headers: {
906
+ [name: string]: unknown;
907
+ };
908
+ content: {
909
+ "application/json": {
910
+ commitSeq: number;
911
+ actorId: string;
912
+ clientId: string;
913
+ clientCommitId: string;
914
+ createdAt: string;
915
+ changeCount: number;
916
+ affectedTables: string[];
917
+ changes: {
918
+ changeId: number;
919
+ table: string;
920
+ rowId: string;
921
+ /** @enum {string} */
922
+ op: "upsert" | "delete";
923
+ rowJson?: null;
924
+ rowVersion: number | null;
925
+ scopes: {
926
+ [key: string]: unknown;
927
+ };
928
+ }[];
929
+ };
930
+ };
931
+ };
932
+ /** @description Invalid request */
933
+ 400: {
934
+ headers: {
935
+ [name: string]: unknown;
936
+ };
937
+ content: {
938
+ "application/json": {
939
+ error: string;
940
+ message?: string;
941
+ };
942
+ };
943
+ };
944
+ /** @description Unauthenticated */
945
+ 401: {
946
+ headers: {
947
+ [name: string]: unknown;
948
+ };
949
+ content: {
950
+ "application/json": {
951
+ error: string;
952
+ message?: string;
953
+ };
954
+ };
955
+ };
956
+ /** @description Not found */
957
+ 404: {
958
+ headers: {
959
+ [name: string]: unknown;
960
+ };
961
+ content: {
962
+ "application/json": {
963
+ error: string;
964
+ message?: string;
965
+ };
966
+ };
967
+ };
968
+ };
969
+ };
970
+ getConsoleClients: {
971
+ parameters: {
972
+ query?: {
973
+ limit?: number;
974
+ offset?: number;
975
+ };
976
+ header?: never;
977
+ path?: never;
978
+ cookie?: never;
979
+ };
980
+ requestBody?: never;
981
+ responses: {
982
+ /** @description Paginated client list */
983
+ 200: {
984
+ headers: {
985
+ [name: string]: unknown;
986
+ };
987
+ content: {
988
+ "application/json": {
989
+ items: {
990
+ clientId: string;
991
+ actorId: string;
992
+ cursor: number;
993
+ lagCommitCount: number;
994
+ /** @enum {string} */
995
+ connectionPath: "direct" | "relay";
996
+ /** @enum {string} */
997
+ connectionMode: "polling" | "realtime";
998
+ realtimeConnectionCount: number;
999
+ isRealtimeConnected: boolean;
1000
+ /** @enum {string} */
1001
+ activityState: "active" | "idle" | "stale";
1002
+ lastRequestAt: string | null;
1003
+ /** @enum {string|null} */
1004
+ lastRequestType: "push" | "pull" | null;
1005
+ lastRequestOutcome: string | null;
1006
+ effectiveScopes: {
1007
+ [key: string]: unknown;
1008
+ };
1009
+ updatedAt: string;
1010
+ }[];
1011
+ total: number;
1012
+ offset: number;
1013
+ limit: number;
1014
+ };
1015
+ };
1016
+ };
1017
+ /** @description Unauthenticated */
1018
+ 401: {
1019
+ headers: {
1020
+ [name: string]: unknown;
1021
+ };
1022
+ content: {
1023
+ "application/json": {
1024
+ error: string;
1025
+ message?: string;
1026
+ };
1027
+ };
1028
+ };
1029
+ };
1030
+ };
1031
+ getConsoleHandlers: {
1032
+ parameters: {
1033
+ query?: never;
1034
+ header?: never;
1035
+ path?: never;
1036
+ cookie?: never;
1037
+ };
1038
+ requestBody?: never;
1039
+ responses: {
1040
+ /** @description Handler list */
1041
+ 200: {
1042
+ headers: {
1043
+ [name: string]: unknown;
1044
+ };
1045
+ content: {
1046
+ "application/json": {
1047
+ items: {
1048
+ table: string;
1049
+ dependsOn?: string[];
1050
+ snapshotChunkTtlMs?: number;
1051
+ }[];
1052
+ };
1053
+ };
1054
+ };
1055
+ /** @description Unauthenticated */
1056
+ 401: {
1057
+ headers: {
1058
+ [name: string]: unknown;
1059
+ };
1060
+ content: {
1061
+ "application/json": {
1062
+ error: string;
1063
+ message?: string;
1064
+ };
1065
+ };
1066
+ };
1067
+ };
1068
+ };
1069
+ postConsolePrunePreview: {
1070
+ parameters: {
1071
+ query?: never;
1072
+ header?: never;
1073
+ path?: never;
1074
+ cookie?: never;
1075
+ };
1076
+ requestBody?: never;
1077
+ responses: {
1078
+ /** @description Prune preview */
1079
+ 200: {
1080
+ headers: {
1081
+ [name: string]: unknown;
1082
+ };
1083
+ content: {
1084
+ "application/json": {
1085
+ watermarkCommitSeq: number;
1086
+ commitsToDelete: number;
1087
+ };
1088
+ };
1089
+ };
1090
+ /** @description Unauthenticated */
1091
+ 401: {
1092
+ headers: {
1093
+ [name: string]: unknown;
1094
+ };
1095
+ content: {
1096
+ "application/json": {
1097
+ error: string;
1098
+ message?: string;
1099
+ };
1100
+ };
1101
+ };
1102
+ };
1103
+ };
1104
+ postConsolePrune: {
1105
+ parameters: {
1106
+ query?: never;
1107
+ header?: never;
1108
+ path?: never;
1109
+ cookie?: never;
1110
+ };
1111
+ requestBody?: never;
1112
+ responses: {
1113
+ /** @description Prune result */
1114
+ 200: {
1115
+ headers: {
1116
+ [name: string]: unknown;
1117
+ };
1118
+ content: {
1119
+ "application/json": {
1120
+ deletedCommits: number;
1121
+ };
1122
+ };
1123
+ };
1124
+ /** @description Unauthenticated */
1125
+ 401: {
1126
+ headers: {
1127
+ [name: string]: unknown;
1128
+ };
1129
+ content: {
1130
+ "application/json": {
1131
+ error: string;
1132
+ message?: string;
1133
+ };
1134
+ };
1135
+ };
1136
+ };
1137
+ };
1138
+ postConsoleCompact: {
1139
+ parameters: {
1140
+ query?: never;
1141
+ header?: never;
1142
+ path?: never;
1143
+ cookie?: never;
1144
+ };
1145
+ requestBody?: never;
1146
+ responses: {
1147
+ /** @description Compact result */
1148
+ 200: {
1149
+ headers: {
1150
+ [name: string]: unknown;
1151
+ };
1152
+ content: {
1153
+ "application/json": {
1154
+ deletedChanges: number;
1155
+ };
1156
+ };
1157
+ };
1158
+ /** @description Unauthenticated */
1159
+ 401: {
1160
+ headers: {
1161
+ [name: string]: unknown;
1162
+ };
1163
+ content: {
1164
+ "application/json": {
1165
+ error: string;
1166
+ message?: string;
1167
+ };
1168
+ };
1169
+ };
1170
+ };
1171
+ };
1172
+ deleteConsoleClientsById: {
1173
+ parameters: {
1174
+ query?: never;
1175
+ header?: never;
1176
+ path: {
1177
+ id: string;
1178
+ };
1179
+ cookie?: never;
1180
+ };
1181
+ requestBody?: never;
1182
+ responses: {
1183
+ /** @description Evict result */
1184
+ 200: {
1185
+ headers: {
1186
+ [name: string]: unknown;
1187
+ };
1188
+ content: {
1189
+ "application/json": {
1190
+ evicted: boolean;
1191
+ };
1192
+ };
1193
+ };
1194
+ /** @description Invalid request */
1195
+ 400: {
1196
+ headers: {
1197
+ [name: string]: unknown;
1198
+ };
1199
+ content: {
1200
+ "application/json": {
1201
+ error: string;
1202
+ message?: string;
1203
+ };
1204
+ };
1205
+ };
1206
+ /** @description Unauthenticated */
1207
+ 401: {
1208
+ headers: {
1209
+ [name: string]: unknown;
1210
+ };
1211
+ content: {
1212
+ "application/json": {
1213
+ error: string;
1214
+ message?: string;
1215
+ };
1216
+ };
1217
+ };
1218
+ };
1219
+ };
1220
+ getConsoleEvents: {
1221
+ parameters: {
1222
+ query?: {
1223
+ limit?: number;
1224
+ offset?: number;
1225
+ eventType?: "push" | "pull";
1226
+ actorId?: string;
1227
+ clientId?: string;
1228
+ outcome?: string;
1229
+ };
1230
+ header?: never;
1231
+ path?: never;
1232
+ cookie?: never;
1233
+ };
1234
+ requestBody?: never;
1235
+ responses: {
1236
+ /** @description Paginated event list */
1237
+ 200: {
1238
+ headers: {
1239
+ [name: string]: unknown;
1240
+ };
1241
+ content: {
1242
+ "application/json": {
1243
+ items: {
1244
+ eventId: number;
1245
+ /** @enum {string} */
1246
+ eventType: "push" | "pull";
1247
+ /** @enum {string} */
1248
+ transportPath: "direct" | "relay";
1249
+ actorId: string;
1250
+ clientId: string;
1251
+ statusCode: number;
1252
+ outcome: string;
1253
+ durationMs: number;
1254
+ commitSeq: number | null;
1255
+ operationCount: number | null;
1256
+ rowCount: number | null;
1257
+ tables: string[];
1258
+ errorMessage: string | null;
1259
+ createdAt: string;
1260
+ }[];
1261
+ total: number;
1262
+ offset: number;
1263
+ limit: number;
1264
+ };
1265
+ };
1266
+ };
1267
+ /** @description Unauthenticated */
1268
+ 401: {
1269
+ headers: {
1270
+ [name: string]: unknown;
1271
+ };
1272
+ content: {
1273
+ "application/json": {
1274
+ error: string;
1275
+ message?: string;
1276
+ };
1277
+ };
1278
+ };
1279
+ };
1280
+ };
1281
+ deleteConsoleEvents: {
1282
+ parameters: {
1283
+ query?: never;
1284
+ header?: never;
1285
+ path?: never;
1286
+ cookie?: never;
1287
+ };
1288
+ requestBody?: never;
1289
+ responses: {
1290
+ /** @description Clear result */
1291
+ 200: {
1292
+ headers: {
1293
+ [name: string]: unknown;
1294
+ };
1295
+ content: {
1296
+ "application/json": {
1297
+ deletedCount: number;
1298
+ };
1299
+ };
1300
+ };
1301
+ /** @description Unauthenticated */
1302
+ 401: {
1303
+ headers: {
1304
+ [name: string]: unknown;
1305
+ };
1306
+ content: {
1307
+ "application/json": {
1308
+ error: string;
1309
+ message?: string;
1310
+ };
1311
+ };
1312
+ };
1313
+ };
1314
+ };
1315
+ getConsoleEventsById: {
1316
+ parameters: {
1317
+ query?: never;
1318
+ header?: never;
1319
+ path: {
1320
+ id: number;
1321
+ };
1322
+ cookie?: never;
1323
+ };
1324
+ requestBody?: never;
1325
+ responses: {
1326
+ /** @description Event details */
1327
+ 200: {
1328
+ headers: {
1329
+ [name: string]: unknown;
1330
+ };
1331
+ content: {
1332
+ "application/json": {
1333
+ eventId: number;
1334
+ /** @enum {string} */
1335
+ eventType: "push" | "pull";
1336
+ /** @enum {string} */
1337
+ transportPath: "direct" | "relay";
1338
+ actorId: string;
1339
+ clientId: string;
1340
+ statusCode: number;
1341
+ outcome: string;
1342
+ durationMs: number;
1343
+ commitSeq: number | null;
1344
+ operationCount: number | null;
1345
+ rowCount: number | null;
1346
+ tables: string[];
1347
+ errorMessage: string | null;
1348
+ createdAt: string;
1349
+ };
1350
+ };
1351
+ };
1352
+ /** @description Invalid request */
1353
+ 400: {
1354
+ headers: {
1355
+ [name: string]: unknown;
1356
+ };
1357
+ content: {
1358
+ "application/json": {
1359
+ error: string;
1360
+ message?: string;
1361
+ };
1362
+ };
1363
+ };
1364
+ /** @description Unauthenticated */
1365
+ 401: {
1366
+ headers: {
1367
+ [name: string]: unknown;
1368
+ };
1369
+ content: {
1370
+ "application/json": {
1371
+ error: string;
1372
+ message?: string;
1373
+ };
1374
+ };
1375
+ };
1376
+ /** @description Not found */
1377
+ 404: {
1378
+ headers: {
1379
+ [name: string]: unknown;
1380
+ };
1381
+ content: {
1382
+ "application/json": {
1383
+ error: string;
1384
+ message?: string;
1385
+ };
1386
+ };
1387
+ };
1388
+ };
1389
+ };
1390
+ postConsoleEventsPrune: {
1391
+ parameters: {
1392
+ query?: never;
1393
+ header?: never;
1394
+ path?: never;
1395
+ cookie?: never;
1396
+ };
1397
+ requestBody?: never;
1398
+ responses: {
1399
+ /** @description Prune result */
1400
+ 200: {
1401
+ headers: {
1402
+ [name: string]: unknown;
1403
+ };
1404
+ content: {
1405
+ "application/json": {
1406
+ deletedCount: number;
1407
+ };
1408
+ };
1409
+ };
1410
+ /** @description Unauthenticated */
1411
+ 401: {
1412
+ headers: {
1413
+ [name: string]: unknown;
1414
+ };
1415
+ content: {
1416
+ "application/json": {
1417
+ error: string;
1418
+ message?: string;
1419
+ };
1420
+ };
1421
+ };
1422
+ };
1423
+ };
1424
+ getConsoleApiKeys: {
1425
+ parameters: {
1426
+ query?: {
1427
+ limit?: number;
1428
+ offset?: number;
1429
+ type?: "relay" | "proxy" | "admin";
1430
+ };
1431
+ header?: never;
1432
+ path?: never;
1433
+ cookie?: never;
1434
+ };
1435
+ requestBody?: never;
1436
+ responses: {
1437
+ /** @description Paginated API key list */
1438
+ 200: {
1439
+ headers: {
1440
+ [name: string]: unknown;
1441
+ };
1442
+ content: {
1443
+ "application/json": {
1444
+ items: {
1445
+ keyId: string;
1446
+ keyPrefix: string;
1447
+ name: string;
1448
+ /** @enum {string} */
1449
+ keyType: "relay" | "proxy" | "admin";
1450
+ scopeKeys: string[];
1451
+ actorId: string | null;
1452
+ createdAt: string;
1453
+ expiresAt: string | null;
1454
+ lastUsedAt: string | null;
1455
+ revokedAt: string | null;
1456
+ }[];
1457
+ total: number;
1458
+ offset: number;
1459
+ limit: number;
1460
+ };
1461
+ };
1462
+ };
1463
+ /** @description Unauthenticated */
1464
+ 401: {
1465
+ headers: {
1466
+ [name: string]: unknown;
1467
+ };
1468
+ content: {
1469
+ "application/json": {
1470
+ error: string;
1471
+ message?: string;
1472
+ };
1473
+ };
1474
+ };
1475
+ };
1476
+ };
1477
+ postConsoleApiKeys: {
1478
+ parameters: {
1479
+ query?: never;
1480
+ header?: never;
1481
+ path?: never;
1482
+ cookie?: never;
1483
+ };
1484
+ requestBody?: {
1485
+ content: {
1486
+ "application/json": {
1487
+ name: string;
1488
+ /** @enum {string} */
1489
+ keyType: "relay" | "proxy" | "admin";
1490
+ scopeKeys?: string[];
1491
+ actorId?: string;
1492
+ expiresInDays?: number;
1493
+ };
1494
+ };
1495
+ };
1496
+ responses: {
1497
+ /** @description Created API key */
1498
+ 201: {
1499
+ headers: {
1500
+ [name: string]: unknown;
1501
+ };
1502
+ content: {
1503
+ "application/json": {
1504
+ key: {
1505
+ keyId: string;
1506
+ keyPrefix: string;
1507
+ name: string;
1508
+ /** @enum {string} */
1509
+ keyType: "relay" | "proxy" | "admin";
1510
+ scopeKeys: string[];
1511
+ actorId: string | null;
1512
+ createdAt: string;
1513
+ expiresAt: string | null;
1514
+ lastUsedAt: string | null;
1515
+ revokedAt: string | null;
1516
+ };
1517
+ secretKey: string;
1518
+ };
1519
+ };
1520
+ };
1521
+ /** @description Invalid request */
1522
+ 400: {
1523
+ headers: {
1524
+ [name: string]: unknown;
1525
+ };
1526
+ content: {
1527
+ "application/json": {
1528
+ error: string;
1529
+ message?: string;
1530
+ };
1531
+ };
1532
+ };
1533
+ /** @description Unauthenticated */
1534
+ 401: {
1535
+ headers: {
1536
+ [name: string]: unknown;
1537
+ };
1538
+ content: {
1539
+ "application/json": {
1540
+ error: string;
1541
+ message?: string;
1542
+ };
1543
+ };
1544
+ };
1545
+ };
1546
+ };
1547
+ getConsoleApiKeysById: {
1548
+ parameters: {
1549
+ query?: never;
1550
+ header?: never;
1551
+ path: {
1552
+ id: string;
1553
+ };
1554
+ cookie?: never;
1555
+ };
1556
+ requestBody?: never;
1557
+ responses: {
1558
+ /** @description API key details */
1559
+ 200: {
1560
+ headers: {
1561
+ [name: string]: unknown;
1562
+ };
1563
+ content: {
1564
+ "application/json": {
1565
+ keyId: string;
1566
+ keyPrefix: string;
1567
+ name: string;
1568
+ /** @enum {string} */
1569
+ keyType: "relay" | "proxy" | "admin";
1570
+ scopeKeys: string[];
1571
+ actorId: string | null;
1572
+ createdAt: string;
1573
+ expiresAt: string | null;
1574
+ lastUsedAt: string | null;
1575
+ revokedAt: string | null;
1576
+ };
1577
+ };
1578
+ };
1579
+ /** @description Unauthenticated */
1580
+ 401: {
1581
+ headers: {
1582
+ [name: string]: unknown;
1583
+ };
1584
+ content: {
1585
+ "application/json": {
1586
+ error: string;
1587
+ message?: string;
1588
+ };
1589
+ };
1590
+ };
1591
+ /** @description Not found */
1592
+ 404: {
1593
+ headers: {
1594
+ [name: string]: unknown;
1595
+ };
1596
+ content: {
1597
+ "application/json": {
1598
+ error: string;
1599
+ message?: string;
1600
+ };
1601
+ };
1602
+ };
1603
+ };
1604
+ };
1605
+ deleteConsoleApiKeysById: {
1606
+ parameters: {
1607
+ query?: never;
1608
+ header?: never;
1609
+ path: {
1610
+ id: string;
1611
+ };
1612
+ cookie?: never;
1613
+ };
1614
+ requestBody?: never;
1615
+ responses: {
1616
+ /** @description Revoke result */
1617
+ 200: {
1618
+ headers: {
1619
+ [name: string]: unknown;
1620
+ };
1621
+ content: {
1622
+ "application/json": {
1623
+ revoked: boolean;
1624
+ };
1625
+ };
1626
+ };
1627
+ /** @description Unauthenticated */
1628
+ 401: {
1629
+ headers: {
1630
+ [name: string]: unknown;
1631
+ };
1632
+ content: {
1633
+ "application/json": {
1634
+ error: string;
1635
+ message?: string;
1636
+ };
1637
+ };
1638
+ };
1639
+ };
1640
+ };
1641
+ postConsoleApiKeysByIdRotate: {
1642
+ parameters: {
1643
+ query?: never;
1644
+ header?: never;
1645
+ path: {
1646
+ id: string;
1647
+ };
1648
+ cookie?: never;
1649
+ };
1650
+ requestBody?: never;
1651
+ responses: {
1652
+ /** @description Rotated API key */
1653
+ 200: {
1654
+ headers: {
1655
+ [name: string]: unknown;
1656
+ };
1657
+ content: {
1658
+ "application/json": {
1659
+ key: {
1660
+ keyId: string;
1661
+ keyPrefix: string;
1662
+ name: string;
1663
+ /** @enum {string} */
1664
+ keyType: "relay" | "proxy" | "admin";
1665
+ scopeKeys: string[];
1666
+ actorId: string | null;
1667
+ createdAt: string;
1668
+ expiresAt: string | null;
1669
+ lastUsedAt: string | null;
1670
+ revokedAt: string | null;
1671
+ };
1672
+ secretKey: string;
1673
+ };
1674
+ };
1675
+ };
1676
+ /** @description Unauthenticated */
1677
+ 401: {
1678
+ headers: {
1679
+ [name: string]: unknown;
1680
+ };
1681
+ content: {
1682
+ "application/json": {
1683
+ error: string;
1684
+ message?: string;
1685
+ };
1686
+ };
1687
+ };
1688
+ /** @description Not found */
1689
+ 404: {
1690
+ headers: {
1691
+ [name: string]: unknown;
1692
+ };
1693
+ content: {
1694
+ "application/json": {
1695
+ error: string;
1696
+ message?: string;
1697
+ };
1698
+ };
1699
+ };
1700
+ };
1701
+ };
1702
+ postSyncBlobsUpload: {
1703
+ parameters: {
1704
+ query?: never;
1705
+ header?: never;
1706
+ path?: never;
1707
+ cookie?: never;
1708
+ };
1709
+ requestBody?: {
1710
+ content: {
1711
+ "application/json": {
1712
+ hash: string;
1713
+ size: number;
1714
+ mimeType: string;
1715
+ };
1716
+ };
1717
+ };
1718
+ responses: {
1719
+ /** @description Upload initiated (or blob already exists) */
1720
+ 200: {
1721
+ headers: {
1722
+ [name: string]: unknown;
1723
+ };
1724
+ content: {
1725
+ "application/json": {
1726
+ exists: boolean;
1727
+ uploadId?: string;
1728
+ uploadUrl?: string;
1729
+ /** @enum {string} */
1730
+ uploadMethod?: "PUT" | "POST";
1731
+ uploadHeaders?: {
1732
+ [key: string]: string;
1733
+ };
1734
+ chunkSize?: number;
1735
+ };
1736
+ };
1737
+ };
1738
+ /** @description Invalid request */
1739
+ 400: {
1740
+ headers: {
1741
+ [name: string]: unknown;
1742
+ };
1743
+ content: {
1744
+ "application/json": {
1745
+ error: string;
1746
+ message?: string;
1747
+ code?: string;
1748
+ };
1749
+ };
1750
+ };
1751
+ /** @description Unauthenticated */
1752
+ 401: {
1753
+ headers: {
1754
+ [name: string]: unknown;
1755
+ };
1756
+ content: {
1757
+ "application/json": {
1758
+ error: string;
1759
+ message?: string;
1760
+ code?: string;
1761
+ };
1762
+ };
1763
+ };
1764
+ };
1765
+ };
1766
+ postSyncBlobsByHashComplete: {
1767
+ parameters: {
1768
+ query?: never;
1769
+ header?: never;
1770
+ path: {
1771
+ hash: string;
1772
+ };
1773
+ cookie?: never;
1774
+ };
1775
+ requestBody?: never;
1776
+ responses: {
1777
+ /** @description Upload completed */
1778
+ 200: {
1779
+ headers: {
1780
+ [name: string]: unknown;
1781
+ };
1782
+ content: {
1783
+ "application/json": {
1784
+ ok: boolean;
1785
+ metadata?: {
1786
+ hash: string;
1787
+ size: number;
1788
+ mimeType: string;
1789
+ createdAt: string;
1790
+ expiresAt?: string;
1791
+ uploadComplete: boolean;
1792
+ };
1793
+ error?: string;
1794
+ };
1795
+ };
1796
+ };
1797
+ /** @description Invalid request or upload failed */
1798
+ 400: {
1799
+ headers: {
1800
+ [name: string]: unknown;
1801
+ };
1802
+ content: {
1803
+ "application/json": {
1804
+ error: string;
1805
+ message?: string;
1806
+ code?: string;
1807
+ };
1808
+ };
1809
+ };
1810
+ /** @description Unauthenticated */
1811
+ 401: {
1812
+ headers: {
1813
+ [name: string]: unknown;
1814
+ };
1815
+ content: {
1816
+ "application/json": {
1817
+ error: string;
1818
+ message?: string;
1819
+ code?: string;
1820
+ };
1821
+ };
1822
+ };
1823
+ };
1824
+ };
1825
+ getSyncBlobsByHashUrl: {
1826
+ parameters: {
1827
+ query?: never;
1828
+ header?: never;
1829
+ path: {
1830
+ hash: string;
1831
+ };
1832
+ cookie?: never;
1833
+ };
1834
+ requestBody?: never;
1835
+ responses: {
1836
+ /** @description Download URL */
1837
+ 200: {
1838
+ headers: {
1839
+ [name: string]: unknown;
1840
+ };
1841
+ content: {
1842
+ "application/json": {
1843
+ /** Format: uri */
1844
+ url: string;
1845
+ expiresAt: string;
1846
+ metadata: {
1847
+ hash: string;
1848
+ size: number;
1849
+ mimeType: string;
1850
+ createdAt: string;
1851
+ uploadComplete: boolean;
1852
+ };
1853
+ };
1854
+ };
1855
+ };
1856
+ /** @description Unauthenticated */
1857
+ 401: {
1858
+ headers: {
1859
+ [name: string]: unknown;
1860
+ };
1861
+ content: {
1862
+ "application/json": {
1863
+ error: string;
1864
+ message?: string;
1865
+ code?: string;
1866
+ };
1867
+ };
1868
+ };
1869
+ /** @description Forbidden */
1870
+ 403: {
1871
+ headers: {
1872
+ [name: string]: unknown;
1873
+ };
1874
+ content: {
1875
+ "application/json": {
1876
+ error: string;
1877
+ message?: string;
1878
+ code?: string;
1879
+ };
1880
+ };
1881
+ };
1882
+ /** @description Not found */
1883
+ 404: {
1884
+ headers: {
1885
+ [name: string]: unknown;
1886
+ };
1887
+ content: {
1888
+ "application/json": {
1889
+ error: string;
1890
+ message?: string;
1891
+ code?: string;
1892
+ };
1893
+ };
1894
+ };
1895
+ };
1896
+ };
1897
+ }