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