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