@syncular/transport-http 0.0.2-137 → 0.0.2-139
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.
- package/dist/generated/api.d.ts +465 -4
- package/dist/generated/api.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/generated/api.ts +465 -4
package/dist/generated/api.d.ts
CHANGED
|
@@ -94,6 +94,23 @@ export interface paths {
|
|
|
94
94
|
patch?: never;
|
|
95
95
|
trace?: never;
|
|
96
96
|
};
|
|
97
|
+
"/console/timeline": {
|
|
98
|
+
parameters: {
|
|
99
|
+
query?: never;
|
|
100
|
+
header?: never;
|
|
101
|
+
path?: never;
|
|
102
|
+
cookie?: never;
|
|
103
|
+
};
|
|
104
|
+
/** List timeline items */
|
|
105
|
+
get: operations["getConsoleTimeline"];
|
|
106
|
+
put?: never;
|
|
107
|
+
post?: never;
|
|
108
|
+
delete?: never;
|
|
109
|
+
options?: never;
|
|
110
|
+
head?: never;
|
|
111
|
+
patch?: never;
|
|
112
|
+
trace?: never;
|
|
113
|
+
};
|
|
97
114
|
"/console/commits": {
|
|
98
115
|
parameters: {
|
|
99
116
|
query?: never;
|
|
@@ -162,6 +179,23 @@ export interface paths {
|
|
|
162
179
|
patch?: never;
|
|
163
180
|
trace?: never;
|
|
164
181
|
};
|
|
182
|
+
"/console/operations": {
|
|
183
|
+
parameters: {
|
|
184
|
+
query?: never;
|
|
185
|
+
header?: never;
|
|
186
|
+
path?: never;
|
|
187
|
+
cookie?: never;
|
|
188
|
+
};
|
|
189
|
+
/** List operation audit events */
|
|
190
|
+
get: operations["getConsoleOperations"];
|
|
191
|
+
put?: never;
|
|
192
|
+
post?: never;
|
|
193
|
+
delete?: never;
|
|
194
|
+
options?: never;
|
|
195
|
+
head?: never;
|
|
196
|
+
patch?: never;
|
|
197
|
+
trace?: never;
|
|
198
|
+
};
|
|
165
199
|
"/console/prune/preview": {
|
|
166
200
|
parameters: {
|
|
167
201
|
query?: never;
|
|
@@ -285,6 +319,23 @@ export interface paths {
|
|
|
285
319
|
patch?: never;
|
|
286
320
|
trace?: never;
|
|
287
321
|
};
|
|
322
|
+
"/console/events/{id}/payload": {
|
|
323
|
+
parameters: {
|
|
324
|
+
query?: never;
|
|
325
|
+
header?: never;
|
|
326
|
+
path?: never;
|
|
327
|
+
cookie?: never;
|
|
328
|
+
};
|
|
329
|
+
/** Get event payload snapshot */
|
|
330
|
+
get: operations["getConsoleEventsByIdPayload"];
|
|
331
|
+
put?: never;
|
|
332
|
+
post?: never;
|
|
333
|
+
delete?: never;
|
|
334
|
+
options?: never;
|
|
335
|
+
head?: never;
|
|
336
|
+
patch?: never;
|
|
337
|
+
trace?: never;
|
|
338
|
+
};
|
|
288
339
|
"/console/events/prune": {
|
|
289
340
|
parameters: {
|
|
290
341
|
query?: never;
|
|
@@ -338,6 +389,40 @@ export interface paths {
|
|
|
338
389
|
patch?: never;
|
|
339
390
|
trace?: never;
|
|
340
391
|
};
|
|
392
|
+
"/console/api-keys/bulk-revoke": {
|
|
393
|
+
parameters: {
|
|
394
|
+
query?: never;
|
|
395
|
+
header?: never;
|
|
396
|
+
path?: never;
|
|
397
|
+
cookie?: never;
|
|
398
|
+
};
|
|
399
|
+
get?: never;
|
|
400
|
+
put?: never;
|
|
401
|
+
/** Bulk revoke API keys */
|
|
402
|
+
post: operations["postConsoleApiKeysBulkRevoke"];
|
|
403
|
+
delete?: never;
|
|
404
|
+
options?: never;
|
|
405
|
+
head?: never;
|
|
406
|
+
patch?: never;
|
|
407
|
+
trace?: never;
|
|
408
|
+
};
|
|
409
|
+
"/console/api-keys/{id}/rotate/stage": {
|
|
410
|
+
parameters: {
|
|
411
|
+
query?: never;
|
|
412
|
+
header?: never;
|
|
413
|
+
path?: never;
|
|
414
|
+
cookie?: never;
|
|
415
|
+
};
|
|
416
|
+
get?: never;
|
|
417
|
+
put?: never;
|
|
418
|
+
/** Stage rotate API key */
|
|
419
|
+
post: operations["postConsoleApiKeysByIdRotateStage"];
|
|
420
|
+
delete?: never;
|
|
421
|
+
options?: never;
|
|
422
|
+
head?: never;
|
|
423
|
+
patch?: never;
|
|
424
|
+
trace?: never;
|
|
425
|
+
};
|
|
341
426
|
"/console/api-keys/{id}/rotate": {
|
|
342
427
|
parameters: {
|
|
343
428
|
query?: never;
|
|
@@ -666,7 +751,9 @@ export interface operations {
|
|
|
666
751
|
};
|
|
667
752
|
getConsoleStats: {
|
|
668
753
|
parameters: {
|
|
669
|
-
query?:
|
|
754
|
+
query?: {
|
|
755
|
+
partitionId?: string;
|
|
756
|
+
};
|
|
670
757
|
header?: never;
|
|
671
758
|
path?: never;
|
|
672
759
|
cookie?: never;
|
|
@@ -710,6 +797,7 @@ export interface operations {
|
|
|
710
797
|
query?: {
|
|
711
798
|
interval?: "minute" | "hour" | "day";
|
|
712
799
|
range?: "1h" | "6h" | "24h" | "7d" | "30d";
|
|
800
|
+
partitionId?: string;
|
|
713
801
|
};
|
|
714
802
|
header?: never;
|
|
715
803
|
path?: never;
|
|
@@ -756,6 +844,7 @@ export interface operations {
|
|
|
756
844
|
parameters: {
|
|
757
845
|
query?: {
|
|
758
846
|
range?: "1h" | "6h" | "24h" | "7d" | "30d";
|
|
847
|
+
partitionId?: string;
|
|
759
848
|
};
|
|
760
849
|
header?: never;
|
|
761
850
|
path?: never;
|
|
@@ -799,11 +888,108 @@ export interface operations {
|
|
|
799
888
|
};
|
|
800
889
|
};
|
|
801
890
|
};
|
|
891
|
+
getConsoleTimeline: {
|
|
892
|
+
parameters: {
|
|
893
|
+
query?: {
|
|
894
|
+
limit?: number;
|
|
895
|
+
offset?: number;
|
|
896
|
+
partitionId?: string;
|
|
897
|
+
view?: "all" | "commits" | "events";
|
|
898
|
+
eventType?: "push" | "pull";
|
|
899
|
+
actorId?: string;
|
|
900
|
+
clientId?: string;
|
|
901
|
+
requestId?: string;
|
|
902
|
+
traceId?: string;
|
|
903
|
+
table?: string;
|
|
904
|
+
outcome?: string;
|
|
905
|
+
search?: string;
|
|
906
|
+
from?: string;
|
|
907
|
+
to?: string;
|
|
908
|
+
};
|
|
909
|
+
header?: never;
|
|
910
|
+
path?: never;
|
|
911
|
+
cookie?: never;
|
|
912
|
+
};
|
|
913
|
+
requestBody?: never;
|
|
914
|
+
responses: {
|
|
915
|
+
/** @description Paginated merged timeline */
|
|
916
|
+
200: {
|
|
917
|
+
headers: {
|
|
918
|
+
[name: string]: unknown;
|
|
919
|
+
};
|
|
920
|
+
content: {
|
|
921
|
+
"application/json": {
|
|
922
|
+
items: {
|
|
923
|
+
/** @enum {string} */
|
|
924
|
+
type: "commit" | "event";
|
|
925
|
+
timestamp: string;
|
|
926
|
+
commit: {
|
|
927
|
+
commitSeq: number;
|
|
928
|
+
actorId: string;
|
|
929
|
+
clientId: string;
|
|
930
|
+
clientCommitId: string;
|
|
931
|
+
createdAt: string;
|
|
932
|
+
changeCount: number;
|
|
933
|
+
affectedTables: string[];
|
|
934
|
+
} | null;
|
|
935
|
+
event: {
|
|
936
|
+
eventId: number;
|
|
937
|
+
partitionId: string;
|
|
938
|
+
requestId: string;
|
|
939
|
+
traceId: string | null;
|
|
940
|
+
spanId: string | null;
|
|
941
|
+
/** @enum {string} */
|
|
942
|
+
eventType: "push" | "pull";
|
|
943
|
+
/** @enum {string} */
|
|
944
|
+
syncPath: "http-combined" | "ws-push";
|
|
945
|
+
/** @enum {string} */
|
|
946
|
+
transportPath: "direct" | "relay";
|
|
947
|
+
actorId: string;
|
|
948
|
+
clientId: string;
|
|
949
|
+
statusCode: number;
|
|
950
|
+
outcome: string;
|
|
951
|
+
responseStatus: string;
|
|
952
|
+
errorCode: string | null;
|
|
953
|
+
durationMs: number;
|
|
954
|
+
commitSeq: number | null;
|
|
955
|
+
operationCount: number | null;
|
|
956
|
+
rowCount: number | null;
|
|
957
|
+
subscriptionCount: number | null;
|
|
958
|
+
scopesSummary: {
|
|
959
|
+
[key: string]: string | string[];
|
|
960
|
+
} | null;
|
|
961
|
+
tables: string[];
|
|
962
|
+
errorMessage: string | null;
|
|
963
|
+
payloadRef: string | null;
|
|
964
|
+
createdAt: string;
|
|
965
|
+
} | null;
|
|
966
|
+
}[];
|
|
967
|
+
total: number;
|
|
968
|
+
offset: number;
|
|
969
|
+
limit: number;
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
/** @description Unauthenticated */
|
|
974
|
+
401: {
|
|
975
|
+
headers: {
|
|
976
|
+
[name: string]: unknown;
|
|
977
|
+
};
|
|
978
|
+
content: {
|
|
979
|
+
"application/json": {
|
|
980
|
+
error: string;
|
|
981
|
+
message?: string;
|
|
982
|
+
};
|
|
983
|
+
};
|
|
984
|
+
};
|
|
985
|
+
};
|
|
986
|
+
};
|
|
802
987
|
getConsoleCommits: {
|
|
803
988
|
parameters: {
|
|
804
989
|
query?: {
|
|
805
990
|
limit?: number;
|
|
806
991
|
offset?: number;
|
|
992
|
+
partitionId?: string;
|
|
807
993
|
};
|
|
808
994
|
header?: never;
|
|
809
995
|
path?: never;
|
|
@@ -849,7 +1035,9 @@ export interface operations {
|
|
|
849
1035
|
};
|
|
850
1036
|
getConsoleCommitsBySeq: {
|
|
851
1037
|
parameters: {
|
|
852
|
-
query?:
|
|
1038
|
+
query?: {
|
|
1039
|
+
partitionId?: string;
|
|
1040
|
+
};
|
|
853
1041
|
header?: never;
|
|
854
1042
|
path: {
|
|
855
1043
|
seq: number;
|
|
@@ -930,6 +1118,7 @@ export interface operations {
|
|
|
930
1118
|
query?: {
|
|
931
1119
|
limit?: number;
|
|
932
1120
|
offset?: number;
|
|
1121
|
+
partitionId?: string;
|
|
933
1122
|
};
|
|
934
1123
|
header?: never;
|
|
935
1124
|
path?: never;
|
|
@@ -1023,6 +1212,58 @@ export interface operations {
|
|
|
1023
1212
|
};
|
|
1024
1213
|
};
|
|
1025
1214
|
};
|
|
1215
|
+
getConsoleOperations: {
|
|
1216
|
+
parameters: {
|
|
1217
|
+
query?: {
|
|
1218
|
+
limit?: number;
|
|
1219
|
+
offset?: number;
|
|
1220
|
+
partitionId?: string;
|
|
1221
|
+
operationType?: "prune" | "compact" | "notify_data_change" | "evict_client";
|
|
1222
|
+
};
|
|
1223
|
+
header?: never;
|
|
1224
|
+
path?: never;
|
|
1225
|
+
cookie?: never;
|
|
1226
|
+
};
|
|
1227
|
+
requestBody?: never;
|
|
1228
|
+
responses: {
|
|
1229
|
+
/** @description Paginated operation events */
|
|
1230
|
+
200: {
|
|
1231
|
+
headers: {
|
|
1232
|
+
[name: string]: unknown;
|
|
1233
|
+
};
|
|
1234
|
+
content: {
|
|
1235
|
+
"application/json": {
|
|
1236
|
+
items: {
|
|
1237
|
+
operationId: number;
|
|
1238
|
+
/** @enum {string} */
|
|
1239
|
+
operationType: "prune" | "compact" | "notify_data_change" | "evict_client";
|
|
1240
|
+
consoleUserId: string | null;
|
|
1241
|
+
partitionId: string | null;
|
|
1242
|
+
targetClientId: string | null;
|
|
1243
|
+
requestPayload: unknown | null;
|
|
1244
|
+
resultPayload: unknown | null;
|
|
1245
|
+
createdAt: string;
|
|
1246
|
+
}[];
|
|
1247
|
+
total: number;
|
|
1248
|
+
offset: number;
|
|
1249
|
+
limit: number;
|
|
1250
|
+
};
|
|
1251
|
+
};
|
|
1252
|
+
};
|
|
1253
|
+
/** @description Unauthenticated */
|
|
1254
|
+
401: {
|
|
1255
|
+
headers: {
|
|
1256
|
+
[name: string]: unknown;
|
|
1257
|
+
};
|
|
1258
|
+
content: {
|
|
1259
|
+
"application/json": {
|
|
1260
|
+
error: string;
|
|
1261
|
+
message?: string;
|
|
1262
|
+
};
|
|
1263
|
+
};
|
|
1264
|
+
};
|
|
1265
|
+
};
|
|
1266
|
+
};
|
|
1026
1267
|
postConsolePrunePreview: {
|
|
1027
1268
|
parameters: {
|
|
1028
1269
|
query?: never;
|
|
@@ -1183,7 +1424,9 @@ export interface operations {
|
|
|
1183
1424
|
};
|
|
1184
1425
|
deleteConsoleClientsById: {
|
|
1185
1426
|
parameters: {
|
|
1186
|
-
query?:
|
|
1427
|
+
query?: {
|
|
1428
|
+
partitionId?: string;
|
|
1429
|
+
};
|
|
1187
1430
|
header?: never;
|
|
1188
1431
|
path: {
|
|
1189
1432
|
id: string;
|
|
@@ -1234,9 +1477,12 @@ export interface operations {
|
|
|
1234
1477
|
query?: {
|
|
1235
1478
|
limit?: number;
|
|
1236
1479
|
offset?: number;
|
|
1480
|
+
partitionId?: string;
|
|
1237
1481
|
eventType?: "push" | "pull";
|
|
1238
1482
|
actorId?: string;
|
|
1239
1483
|
clientId?: string;
|
|
1484
|
+
requestId?: string;
|
|
1485
|
+
traceId?: string;
|
|
1240
1486
|
outcome?: string;
|
|
1241
1487
|
};
|
|
1242
1488
|
header?: never;
|
|
@@ -1254,20 +1500,33 @@ export interface operations {
|
|
|
1254
1500
|
"application/json": {
|
|
1255
1501
|
items: {
|
|
1256
1502
|
eventId: number;
|
|
1503
|
+
partitionId: string;
|
|
1504
|
+
requestId: string;
|
|
1505
|
+
traceId: string | null;
|
|
1506
|
+
spanId: string | null;
|
|
1257
1507
|
/** @enum {string} */
|
|
1258
1508
|
eventType: "push" | "pull";
|
|
1259
1509
|
/** @enum {string} */
|
|
1510
|
+
syncPath: "http-combined" | "ws-push";
|
|
1511
|
+
/** @enum {string} */
|
|
1260
1512
|
transportPath: "direct" | "relay";
|
|
1261
1513
|
actorId: string;
|
|
1262
1514
|
clientId: string;
|
|
1263
1515
|
statusCode: number;
|
|
1264
1516
|
outcome: string;
|
|
1517
|
+
responseStatus: string;
|
|
1518
|
+
errorCode: string | null;
|
|
1265
1519
|
durationMs: number;
|
|
1266
1520
|
commitSeq: number | null;
|
|
1267
1521
|
operationCount: number | null;
|
|
1268
1522
|
rowCount: number | null;
|
|
1523
|
+
subscriptionCount: number | null;
|
|
1524
|
+
scopesSummary: {
|
|
1525
|
+
[key: string]: string | string[];
|
|
1526
|
+
} | null;
|
|
1269
1527
|
tables: string[];
|
|
1270
1528
|
errorMessage: string | null;
|
|
1529
|
+
payloadRef: string | null;
|
|
1271
1530
|
createdAt: string;
|
|
1272
1531
|
}[];
|
|
1273
1532
|
total: number;
|
|
@@ -1326,7 +1585,9 @@ export interface operations {
|
|
|
1326
1585
|
};
|
|
1327
1586
|
getConsoleEventsById: {
|
|
1328
1587
|
parameters: {
|
|
1329
|
-
query?:
|
|
1588
|
+
query?: {
|
|
1589
|
+
partitionId?: string;
|
|
1590
|
+
};
|
|
1330
1591
|
header?: never;
|
|
1331
1592
|
path: {
|
|
1332
1593
|
id: number;
|
|
@@ -1343,20 +1604,99 @@ export interface operations {
|
|
|
1343
1604
|
content: {
|
|
1344
1605
|
"application/json": {
|
|
1345
1606
|
eventId: number;
|
|
1607
|
+
partitionId: string;
|
|
1608
|
+
requestId: string;
|
|
1609
|
+
traceId: string | null;
|
|
1610
|
+
spanId: string | null;
|
|
1346
1611
|
/** @enum {string} */
|
|
1347
1612
|
eventType: "push" | "pull";
|
|
1348
1613
|
/** @enum {string} */
|
|
1614
|
+
syncPath: "http-combined" | "ws-push";
|
|
1615
|
+
/** @enum {string} */
|
|
1349
1616
|
transportPath: "direct" | "relay";
|
|
1350
1617
|
actorId: string;
|
|
1351
1618
|
clientId: string;
|
|
1352
1619
|
statusCode: number;
|
|
1353
1620
|
outcome: string;
|
|
1621
|
+
responseStatus: string;
|
|
1622
|
+
errorCode: string | null;
|
|
1354
1623
|
durationMs: number;
|
|
1355
1624
|
commitSeq: number | null;
|
|
1356
1625
|
operationCount: number | null;
|
|
1357
1626
|
rowCount: number | null;
|
|
1627
|
+
subscriptionCount: number | null;
|
|
1628
|
+
scopesSummary: {
|
|
1629
|
+
[key: string]: string | string[];
|
|
1630
|
+
} | null;
|
|
1358
1631
|
tables: string[];
|
|
1359
1632
|
errorMessage: string | null;
|
|
1633
|
+
payloadRef: string | null;
|
|
1634
|
+
createdAt: string;
|
|
1635
|
+
};
|
|
1636
|
+
};
|
|
1637
|
+
};
|
|
1638
|
+
/** @description Invalid request */
|
|
1639
|
+
400: {
|
|
1640
|
+
headers: {
|
|
1641
|
+
[name: string]: unknown;
|
|
1642
|
+
};
|
|
1643
|
+
content: {
|
|
1644
|
+
"application/json": {
|
|
1645
|
+
error: string;
|
|
1646
|
+
message?: string;
|
|
1647
|
+
};
|
|
1648
|
+
};
|
|
1649
|
+
};
|
|
1650
|
+
/** @description Unauthenticated */
|
|
1651
|
+
401: {
|
|
1652
|
+
headers: {
|
|
1653
|
+
[name: string]: unknown;
|
|
1654
|
+
};
|
|
1655
|
+
content: {
|
|
1656
|
+
"application/json": {
|
|
1657
|
+
error: string;
|
|
1658
|
+
message?: string;
|
|
1659
|
+
};
|
|
1660
|
+
};
|
|
1661
|
+
};
|
|
1662
|
+
/** @description Not found */
|
|
1663
|
+
404: {
|
|
1664
|
+
headers: {
|
|
1665
|
+
[name: string]: unknown;
|
|
1666
|
+
};
|
|
1667
|
+
content: {
|
|
1668
|
+
"application/json": {
|
|
1669
|
+
error: string;
|
|
1670
|
+
message?: string;
|
|
1671
|
+
};
|
|
1672
|
+
};
|
|
1673
|
+
};
|
|
1674
|
+
};
|
|
1675
|
+
};
|
|
1676
|
+
getConsoleEventsByIdPayload: {
|
|
1677
|
+
parameters: {
|
|
1678
|
+
query?: {
|
|
1679
|
+
partitionId?: string;
|
|
1680
|
+
};
|
|
1681
|
+
header?: never;
|
|
1682
|
+
path: {
|
|
1683
|
+
id: number;
|
|
1684
|
+
};
|
|
1685
|
+
cookie?: never;
|
|
1686
|
+
};
|
|
1687
|
+
requestBody?: never;
|
|
1688
|
+
responses: {
|
|
1689
|
+
/** @description Payload snapshot details */
|
|
1690
|
+
200: {
|
|
1691
|
+
headers: {
|
|
1692
|
+
[name: string]: unknown;
|
|
1693
|
+
};
|
|
1694
|
+
content: {
|
|
1695
|
+
"application/json": {
|
|
1696
|
+
payloadRef: string;
|
|
1697
|
+
partitionId: string;
|
|
1698
|
+
requestPayload: unknown;
|
|
1699
|
+
responsePayload: unknown | null;
|
|
1360
1700
|
createdAt: string;
|
|
1361
1701
|
};
|
|
1362
1702
|
};
|
|
@@ -1439,6 +1779,8 @@ export interface operations {
|
|
|
1439
1779
|
limit?: number;
|
|
1440
1780
|
offset?: number;
|
|
1441
1781
|
type?: "relay" | "proxy" | "admin";
|
|
1782
|
+
status?: "active" | "revoked" | "expiring";
|
|
1783
|
+
expiresWithinDays?: number;
|
|
1442
1784
|
};
|
|
1443
1785
|
header?: never;
|
|
1444
1786
|
path?: never;
|
|
@@ -1650,6 +1992,125 @@ export interface operations {
|
|
|
1650
1992
|
};
|
|
1651
1993
|
};
|
|
1652
1994
|
};
|
|
1995
|
+
postConsoleApiKeysBulkRevoke: {
|
|
1996
|
+
parameters: {
|
|
1997
|
+
query?: never;
|
|
1998
|
+
header?: never;
|
|
1999
|
+
path?: never;
|
|
2000
|
+
cookie?: never;
|
|
2001
|
+
};
|
|
2002
|
+
requestBody?: {
|
|
2003
|
+
content: {
|
|
2004
|
+
"application/json": {
|
|
2005
|
+
keyIds: string[];
|
|
2006
|
+
};
|
|
2007
|
+
};
|
|
2008
|
+
};
|
|
2009
|
+
responses: {
|
|
2010
|
+
/** @description Bulk revoke result */
|
|
2011
|
+
200: {
|
|
2012
|
+
headers: {
|
|
2013
|
+
[name: string]: unknown;
|
|
2014
|
+
};
|
|
2015
|
+
content: {
|
|
2016
|
+
"application/json": {
|
|
2017
|
+
requestedCount: number;
|
|
2018
|
+
revokedCount: number;
|
|
2019
|
+
alreadyRevokedCount: number;
|
|
2020
|
+
notFoundCount: number;
|
|
2021
|
+
revokedKeyIds: string[];
|
|
2022
|
+
alreadyRevokedKeyIds: string[];
|
|
2023
|
+
notFoundKeyIds: string[];
|
|
2024
|
+
};
|
|
2025
|
+
};
|
|
2026
|
+
};
|
|
2027
|
+
/** @description Invalid request */
|
|
2028
|
+
400: {
|
|
2029
|
+
headers: {
|
|
2030
|
+
[name: string]: unknown;
|
|
2031
|
+
};
|
|
2032
|
+
content: {
|
|
2033
|
+
"application/json": {
|
|
2034
|
+
error: string;
|
|
2035
|
+
message?: string;
|
|
2036
|
+
};
|
|
2037
|
+
};
|
|
2038
|
+
};
|
|
2039
|
+
/** @description Unauthenticated */
|
|
2040
|
+
401: {
|
|
2041
|
+
headers: {
|
|
2042
|
+
[name: string]: unknown;
|
|
2043
|
+
};
|
|
2044
|
+
content: {
|
|
2045
|
+
"application/json": {
|
|
2046
|
+
error: string;
|
|
2047
|
+
message?: string;
|
|
2048
|
+
};
|
|
2049
|
+
};
|
|
2050
|
+
};
|
|
2051
|
+
};
|
|
2052
|
+
};
|
|
2053
|
+
postConsoleApiKeysByIdRotateStage: {
|
|
2054
|
+
parameters: {
|
|
2055
|
+
query?: never;
|
|
2056
|
+
header?: never;
|
|
2057
|
+
path: {
|
|
2058
|
+
id: string;
|
|
2059
|
+
};
|
|
2060
|
+
cookie?: never;
|
|
2061
|
+
};
|
|
2062
|
+
requestBody?: never;
|
|
2063
|
+
responses: {
|
|
2064
|
+
/** @description Staged API key replacement */
|
|
2065
|
+
200: {
|
|
2066
|
+
headers: {
|
|
2067
|
+
[name: string]: unknown;
|
|
2068
|
+
};
|
|
2069
|
+
content: {
|
|
2070
|
+
"application/json": {
|
|
2071
|
+
key: {
|
|
2072
|
+
keyId: string;
|
|
2073
|
+
keyPrefix: string;
|
|
2074
|
+
name: string;
|
|
2075
|
+
/** @enum {string} */
|
|
2076
|
+
keyType: "relay" | "proxy" | "admin";
|
|
2077
|
+
scopeKeys: string[];
|
|
2078
|
+
actorId: string | null;
|
|
2079
|
+
createdAt: string;
|
|
2080
|
+
expiresAt: string | null;
|
|
2081
|
+
lastUsedAt: string | null;
|
|
2082
|
+
revokedAt: string | null;
|
|
2083
|
+
};
|
|
2084
|
+
secretKey: string;
|
|
2085
|
+
};
|
|
2086
|
+
};
|
|
2087
|
+
};
|
|
2088
|
+
/** @description Unauthenticated */
|
|
2089
|
+
401: {
|
|
2090
|
+
headers: {
|
|
2091
|
+
[name: string]: unknown;
|
|
2092
|
+
};
|
|
2093
|
+
content: {
|
|
2094
|
+
"application/json": {
|
|
2095
|
+
error: string;
|
|
2096
|
+
message?: string;
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2099
|
+
};
|
|
2100
|
+
/** @description Not found */
|
|
2101
|
+
404: {
|
|
2102
|
+
headers: {
|
|
2103
|
+
[name: string]: unknown;
|
|
2104
|
+
};
|
|
2105
|
+
content: {
|
|
2106
|
+
"application/json": {
|
|
2107
|
+
error: string;
|
|
2108
|
+
message?: string;
|
|
2109
|
+
};
|
|
2110
|
+
};
|
|
2111
|
+
};
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
1653
2114
|
postConsoleApiKeysByIdRotate: {
|
|
1654
2115
|
parameters: {
|
|
1655
2116
|
query?: never;
|