@townco/fly 0.1.58 → 0.1.60
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/api/client/client.gen.d.ts +1 -1
- package/dist/api/client/client.gen.js +46 -46
- package/dist/api/client/index.d.ts +8 -8
- package/dist/api/client/index.js +5 -5
- package/dist/api/client/types.gen.d.ts +18 -18
- package/dist/api/client/utils.gen.d.ts +3 -3
- package/dist/api/client/utils.gen.js +34 -34
- package/dist/api/client.gen.d.ts +2 -2
- package/dist/api/client.gen.js +3 -3
- package/dist/api/core/auth.gen.d.ts +3 -3
- package/dist/api/core/auth.gen.js +3 -3
- package/dist/api/core/bodySerializer.gen.d.ts +1 -1
- package/dist/api/core/bodySerializer.gen.js +3 -3
- package/dist/api/core/params.gen.d.ts +3 -3
- package/dist/api/core/params.gen.js +9 -9
- package/dist/api/core/pathSerializer.gen.d.ts +3 -3
- package/dist/api/core/pathSerializer.gen.js +36 -36
- package/dist/api/core/queryKeySerializer.gen.js +11 -11
- package/dist/api/core/serverSentEvents.gen.d.ts +3 -3
- package/dist/api/core/serverSentEvents.gen.js +19 -19
- package/dist/api/core/types.gen.d.ts +4 -4
- package/dist/api/core/utils.gen.d.ts +1 -1
- package/dist/api/core/utils.gen.js +17 -17
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.js +1 -1
- package/dist/api/sdk.gen.d.ts +2 -2
- package/dist/api/sdk.gen.js +160 -130
- package/dist/api/types.gen.d.ts +79 -79
- package/dist/hey-api.js +18 -2
- package/package.json +6 -5
package/dist/api/types.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
|
-
baseUrl:
|
|
2
|
+
baseUrl: "https://api.machines.dev/v1" | (string & {});
|
|
3
3
|
};
|
|
4
4
|
export type App = {
|
|
5
5
|
id?: string;
|
|
@@ -214,7 +214,7 @@ export type Machine = {
|
|
|
214
214
|
config?: FlyMachineConfig;
|
|
215
215
|
created_at?: string;
|
|
216
216
|
events?: Array<MachineEvent>;
|
|
217
|
-
host_status?:
|
|
217
|
+
host_status?: "ok" | "unknown" | "unreachable";
|
|
218
218
|
id?: string;
|
|
219
219
|
image_ref?: ImageRef;
|
|
220
220
|
incomplete_config?: FlyMachineConfig;
|
|
@@ -317,7 +317,7 @@ export type SignSecretkeyResponse = {
|
|
|
317
317
|
signature?: Array<number>;
|
|
318
318
|
};
|
|
319
319
|
export type SignalRequest = {
|
|
320
|
-
signal?:
|
|
320
|
+
signal?: "SIGABRT" | "SIGALRM" | "SIGFPE" | "SIGHUP" | "SIGILL" | "SIGINT" | "SIGKILL" | "SIGPIPE" | "SIGQUIT" | "SIGSEGV" | "SIGTERM" | "SIGTRAP" | "SIGUSR1";
|
|
321
321
|
};
|
|
322
322
|
export type StopRequest = {
|
|
323
323
|
signal?: string;
|
|
@@ -365,7 +365,7 @@ export type Volume = {
|
|
|
365
365
|
created_at?: string;
|
|
366
366
|
encrypted?: boolean;
|
|
367
367
|
fstype?: string;
|
|
368
|
-
host_status?:
|
|
368
|
+
host_status?: "ok" | "unknown" | "unreachable";
|
|
369
369
|
id?: string;
|
|
370
370
|
name?: string;
|
|
371
371
|
region?: string;
|
|
@@ -459,7 +459,7 @@ export type FlyContainerDependency = {
|
|
|
459
459
|
condition?: FlyContainerDependencyCondition;
|
|
460
460
|
name?: string;
|
|
461
461
|
};
|
|
462
|
-
export type FlyContainerDependencyCondition =
|
|
462
|
+
export type FlyContainerDependencyCondition = "exited_successfully" | "healthy" | "started";
|
|
463
463
|
export type FlyContainerHealthcheck = {
|
|
464
464
|
exec?: FlyExecHealthcheck;
|
|
465
465
|
/**
|
|
@@ -497,8 +497,8 @@ export type FlyContainerHealthcheck = {
|
|
|
497
497
|
*/
|
|
498
498
|
unhealthy?: FlyUnhealthyPolicy;
|
|
499
499
|
};
|
|
500
|
-
export type FlyContainerHealthcheckKind =
|
|
501
|
-
export type FlyContainerHealthcheckScheme =
|
|
500
|
+
export type FlyContainerHealthcheckKind = "readiness" | "liveness";
|
|
501
|
+
export type FlyContainerHealthcheckScheme = "http" | "https";
|
|
502
502
|
export type FlyDnsConfig = {
|
|
503
503
|
dns_forward_rules?: Array<FlyDnsForwardRule>;
|
|
504
504
|
hostname?: string;
|
|
@@ -509,7 +509,7 @@ export type FlyDnsConfig = {
|
|
|
509
509
|
skip_registration?: boolean;
|
|
510
510
|
};
|
|
511
511
|
export type FlyDuration = {
|
|
512
|
-
|
|
512
|
+
"time.Duration"?: number;
|
|
513
513
|
};
|
|
514
514
|
/**
|
|
515
515
|
* EnvVar defines an environment variable to be populated from a machine field, env_var
|
|
@@ -523,7 +523,7 @@ export type FlyEnvFrom = {
|
|
|
523
523
|
/**
|
|
524
524
|
* FieldRef selects a field of the Machine: supports id, version, app_name, private_ip, region, image.
|
|
525
525
|
*/
|
|
526
|
-
field_ref?:
|
|
526
|
+
field_ref?: "id" | "version" | "app_name" | "private_ip" | "region" | "image";
|
|
527
527
|
};
|
|
528
528
|
export type FlyExecHealthcheck = {
|
|
529
529
|
/**
|
|
@@ -616,7 +616,7 @@ export type FlyMachineCheck = {
|
|
|
616
616
|
/**
|
|
617
617
|
* Kind of the check (informational, readiness)
|
|
618
618
|
*/
|
|
619
|
-
kind?:
|
|
619
|
+
kind?: "informational" | "readiness";
|
|
620
620
|
/**
|
|
621
621
|
* For http checks, the HTTP method to use to when making the request
|
|
622
622
|
*/
|
|
@@ -713,7 +713,7 @@ export type FlyMachineGuest = {
|
|
|
713
713
|
host_dedication_id?: string;
|
|
714
714
|
kernel_args?: Array<string>;
|
|
715
715
|
memory_mb?: number;
|
|
716
|
-
persist_rootfs?:
|
|
716
|
+
persist_rootfs?: "never" | "always" | "restart";
|
|
717
717
|
};
|
|
718
718
|
/**
|
|
719
719
|
* For http checks, an array of objects with string field Name and array of strings field Values. The key/value pairs specify header and header values that will get passed with the check call.
|
|
@@ -803,7 +803,7 @@ export type FlyMachineRestart = {
|
|
|
803
803
|
* * on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules.
|
|
804
804
|
* * spot-price - Starts the Machine only when there is capacity and the spot price is less than or equal to the bid price.
|
|
805
805
|
*/
|
|
806
|
-
policy?:
|
|
806
|
+
policy?: "no" | "always" | "on-failure" | "spot-price";
|
|
807
807
|
};
|
|
808
808
|
/**
|
|
809
809
|
* A Secret needing to be set in the environment of the Machine. env_var is required
|
|
@@ -828,7 +828,7 @@ export type FlyMachineService = {
|
|
|
828
828
|
* * "stop" or true - Automatically stop the Machine.
|
|
829
829
|
* * "suspend" - Automatically suspend the Machine, falling back to a full stop if this is not possible.
|
|
830
830
|
*/
|
|
831
|
-
autostop?:
|
|
831
|
+
autostop?: "off" | "stop" | "suspend";
|
|
832
832
|
/**
|
|
833
833
|
* An optional list of service checks
|
|
834
834
|
*/
|
|
@@ -903,7 +903,7 @@ export type FlyReplayCache = {
|
|
|
903
903
|
/**
|
|
904
904
|
* Currently either "cookie" or "header"
|
|
905
905
|
*/
|
|
906
|
-
type?:
|
|
906
|
+
type?: "cookie" | "header";
|
|
907
907
|
};
|
|
908
908
|
export type FlyStatic = {
|
|
909
909
|
guest_path: string;
|
|
@@ -926,7 +926,7 @@ export type FlyTlsOptions = {
|
|
|
926
926
|
default_self_signed?: boolean;
|
|
927
927
|
versions?: Array<string>;
|
|
928
928
|
};
|
|
929
|
-
export type FlyUnhealthyPolicy =
|
|
929
|
+
export type FlyUnhealthyPolicy = "stop";
|
|
930
930
|
export type FlyDnsForwardRule = {
|
|
931
931
|
addr?: string;
|
|
932
932
|
basename?: string;
|
|
@@ -980,7 +980,7 @@ export type MainRegionResponse = {
|
|
|
980
980
|
nearest?: string;
|
|
981
981
|
regions?: Array<ReadsGetCapacityPerRegionRow>;
|
|
982
982
|
};
|
|
983
|
-
export type MainStatusCode =
|
|
983
|
+
export type MainStatusCode = "unknown" | "insufficient_capacity";
|
|
984
984
|
export type MainTokenInfo = {
|
|
985
985
|
apps?: Array<string>;
|
|
986
986
|
org_slug?: string;
|
|
@@ -1035,7 +1035,7 @@ export type AppsListData = {
|
|
|
1035
1035
|
*/
|
|
1036
1036
|
app_role?: string;
|
|
1037
1037
|
};
|
|
1038
|
-
url:
|
|
1038
|
+
url: "/apps";
|
|
1039
1039
|
};
|
|
1040
1040
|
export type AppsListResponses = {
|
|
1041
1041
|
/**
|
|
@@ -1051,7 +1051,7 @@ export type AppsCreateData = {
|
|
|
1051
1051
|
body: CreateAppRequest;
|
|
1052
1052
|
path?: never;
|
|
1053
1053
|
query?: never;
|
|
1054
|
-
url:
|
|
1054
|
+
url: "/apps";
|
|
1055
1055
|
};
|
|
1056
1056
|
export type AppsCreateErrors = {
|
|
1057
1057
|
/**
|
|
@@ -1075,7 +1075,7 @@ export type AppsDeleteData = {
|
|
|
1075
1075
|
app_name: string;
|
|
1076
1076
|
};
|
|
1077
1077
|
query?: never;
|
|
1078
|
-
url:
|
|
1078
|
+
url: "/apps/{app_name}";
|
|
1079
1079
|
};
|
|
1080
1080
|
export type AppsDeleteResponses = {
|
|
1081
1081
|
/**
|
|
@@ -1092,7 +1092,7 @@ export type AppsShowData = {
|
|
|
1092
1092
|
app_name: string;
|
|
1093
1093
|
};
|
|
1094
1094
|
query?: never;
|
|
1095
|
-
url:
|
|
1095
|
+
url: "/apps/{app_name}";
|
|
1096
1096
|
};
|
|
1097
1097
|
export type AppsShowResponses = {
|
|
1098
1098
|
/**
|
|
@@ -1113,7 +1113,7 @@ export type AppCreateDeployTokenData = {
|
|
|
1113
1113
|
app_name: string;
|
|
1114
1114
|
};
|
|
1115
1115
|
query?: never;
|
|
1116
|
-
url:
|
|
1116
|
+
url: "/apps/{app_name}/deploy_token";
|
|
1117
1117
|
};
|
|
1118
1118
|
export type AppCreateDeployTokenResponses = {
|
|
1119
1119
|
/**
|
|
@@ -1128,7 +1128,7 @@ export type AppIpAssignmentsListData = {
|
|
|
1128
1128
|
app_name: string;
|
|
1129
1129
|
};
|
|
1130
1130
|
query?: never;
|
|
1131
|
-
url:
|
|
1131
|
+
url: "/apps/{app_name}/ip_assignments";
|
|
1132
1132
|
};
|
|
1133
1133
|
export type AppIpAssignmentsListResponses = {
|
|
1134
1134
|
/**
|
|
@@ -1146,7 +1146,7 @@ export type AppIpAssignmentsCreateData = {
|
|
|
1146
1146
|
app_name: string;
|
|
1147
1147
|
};
|
|
1148
1148
|
query?: never;
|
|
1149
|
-
url:
|
|
1149
|
+
url: "/apps/{app_name}/ip_assignments";
|
|
1150
1150
|
};
|
|
1151
1151
|
export type AppIpAssignmentsCreateResponses = {
|
|
1152
1152
|
/**
|
|
@@ -1162,7 +1162,7 @@ export type AppIpAssignmentsDeleteData = {
|
|
|
1162
1162
|
ip: string;
|
|
1163
1163
|
};
|
|
1164
1164
|
query?: never;
|
|
1165
|
-
url:
|
|
1165
|
+
url: "/apps/{app_name}/ip_assignments/{ip}";
|
|
1166
1166
|
};
|
|
1167
1167
|
export type AppIpAssignmentsDeleteResponses = {
|
|
1168
1168
|
/**
|
|
@@ -1197,7 +1197,7 @@ export type MachinesListData = {
|
|
|
1197
1197
|
*/
|
|
1198
1198
|
summary?: boolean;
|
|
1199
1199
|
};
|
|
1200
|
-
url:
|
|
1200
|
+
url: "/apps/{app_name}/machines";
|
|
1201
1201
|
};
|
|
1202
1202
|
export type MachinesListResponses = {
|
|
1203
1203
|
/**
|
|
@@ -1218,7 +1218,7 @@ export type MachinesCreateData = {
|
|
|
1218
1218
|
app_name: string;
|
|
1219
1219
|
};
|
|
1220
1220
|
query?: never;
|
|
1221
|
-
url:
|
|
1221
|
+
url: "/apps/{app_name}/machines";
|
|
1222
1222
|
};
|
|
1223
1223
|
export type MachinesCreateResponses = {
|
|
1224
1224
|
/**
|
|
@@ -1245,7 +1245,7 @@ export type MachinesDeleteData = {
|
|
|
1245
1245
|
*/
|
|
1246
1246
|
force?: boolean;
|
|
1247
1247
|
};
|
|
1248
|
-
url:
|
|
1248
|
+
url: "/apps/{app_name}/machines/{machine_id}";
|
|
1249
1249
|
};
|
|
1250
1250
|
export type MachinesDeleteResponses = {
|
|
1251
1251
|
/**
|
|
@@ -1266,7 +1266,7 @@ export type MachinesShowData = {
|
|
|
1266
1266
|
machine_id: string;
|
|
1267
1267
|
};
|
|
1268
1268
|
query?: never;
|
|
1269
|
-
url:
|
|
1269
|
+
url: "/apps/{app_name}/machines/{machine_id}";
|
|
1270
1270
|
};
|
|
1271
1271
|
export type MachinesShowResponses = {
|
|
1272
1272
|
/**
|
|
@@ -1291,7 +1291,7 @@ export type MachinesUpdateData = {
|
|
|
1291
1291
|
machine_id: string;
|
|
1292
1292
|
};
|
|
1293
1293
|
query?: never;
|
|
1294
|
-
url:
|
|
1294
|
+
url: "/apps/{app_name}/machines/{machine_id}";
|
|
1295
1295
|
};
|
|
1296
1296
|
export type MachinesUpdateErrors = {
|
|
1297
1297
|
/**
|
|
@@ -1320,7 +1320,7 @@ export type MachinesCordonData = {
|
|
|
1320
1320
|
machine_id: string;
|
|
1321
1321
|
};
|
|
1322
1322
|
query?: never;
|
|
1323
|
-
url:
|
|
1323
|
+
url: "/apps/{app_name}/machines/{machine_id}/cordon";
|
|
1324
1324
|
};
|
|
1325
1325
|
export type MachinesCordonResponses = {
|
|
1326
1326
|
/**
|
|
@@ -1346,7 +1346,7 @@ export type MachinesListEventsData = {
|
|
|
1346
1346
|
*/
|
|
1347
1347
|
limit?: number;
|
|
1348
1348
|
};
|
|
1349
|
-
url:
|
|
1349
|
+
url: "/apps/{app_name}/machines/{machine_id}/events";
|
|
1350
1350
|
};
|
|
1351
1351
|
export type MachinesListEventsResponses = {
|
|
1352
1352
|
/**
|
|
@@ -1371,7 +1371,7 @@ export type MachinesExecData = {
|
|
|
1371
1371
|
machine_id: string;
|
|
1372
1372
|
};
|
|
1373
1373
|
query?: never;
|
|
1374
|
-
url:
|
|
1374
|
+
url: "/apps/{app_name}/machines/{machine_id}/exec";
|
|
1375
1375
|
};
|
|
1376
1376
|
export type MachinesExecErrors = {
|
|
1377
1377
|
/**
|
|
@@ -1393,7 +1393,7 @@ export type MachinesReleaseLeaseData = {
|
|
|
1393
1393
|
/**
|
|
1394
1394
|
* Existing lease nonce
|
|
1395
1395
|
*/
|
|
1396
|
-
|
|
1396
|
+
"fly-machine-lease-nonce": string;
|
|
1397
1397
|
};
|
|
1398
1398
|
path: {
|
|
1399
1399
|
/**
|
|
@@ -1406,7 +1406,7 @@ export type MachinesReleaseLeaseData = {
|
|
|
1406
1406
|
machine_id: string;
|
|
1407
1407
|
};
|
|
1408
1408
|
query?: never;
|
|
1409
|
-
url:
|
|
1409
|
+
url: "/apps/{app_name}/machines/{machine_id}/lease";
|
|
1410
1410
|
};
|
|
1411
1411
|
export type MachinesReleaseLeaseResponses = {
|
|
1412
1412
|
/**
|
|
@@ -1427,7 +1427,7 @@ export type MachinesShowLeaseData = {
|
|
|
1427
1427
|
machine_id: string;
|
|
1428
1428
|
};
|
|
1429
1429
|
query?: never;
|
|
1430
|
-
url:
|
|
1430
|
+
url: "/apps/{app_name}/machines/{machine_id}/lease";
|
|
1431
1431
|
};
|
|
1432
1432
|
export type MachinesShowLeaseResponses = {
|
|
1433
1433
|
/**
|
|
@@ -1445,7 +1445,7 @@ export type MachinesCreateLeaseData = {
|
|
|
1445
1445
|
/**
|
|
1446
1446
|
* Existing lease nonce to refresh by ttl, empty or non-existent to create a new lease
|
|
1447
1447
|
*/
|
|
1448
|
-
|
|
1448
|
+
"fly-machine-lease-nonce"?: string;
|
|
1449
1449
|
};
|
|
1450
1450
|
path: {
|
|
1451
1451
|
/**
|
|
@@ -1458,7 +1458,7 @@ export type MachinesCreateLeaseData = {
|
|
|
1458
1458
|
machine_id: string;
|
|
1459
1459
|
};
|
|
1460
1460
|
query?: never;
|
|
1461
|
-
url:
|
|
1461
|
+
url: "/apps/{app_name}/machines/{machine_id}/lease";
|
|
1462
1462
|
};
|
|
1463
1463
|
export type MachinesCreateLeaseResponses = {
|
|
1464
1464
|
/**
|
|
@@ -1483,7 +1483,7 @@ export type MachinesReclaimMemoryData = {
|
|
|
1483
1483
|
machine_id: string;
|
|
1484
1484
|
};
|
|
1485
1485
|
query?: never;
|
|
1486
|
-
url:
|
|
1486
|
+
url: "/apps/{app_name}/machines/{machine_id}/memory/reclaim";
|
|
1487
1487
|
};
|
|
1488
1488
|
export type MachinesReclaimMemoryResponses = {
|
|
1489
1489
|
/**
|
|
@@ -1505,7 +1505,7 @@ export type MachinesShowMetadataData = {
|
|
|
1505
1505
|
machine_id: string;
|
|
1506
1506
|
};
|
|
1507
1507
|
query?: never;
|
|
1508
|
-
url:
|
|
1508
|
+
url: "/apps/{app_name}/machines/{machine_id}/metadata";
|
|
1509
1509
|
};
|
|
1510
1510
|
export type MachinesShowMetadataResponses = {
|
|
1511
1511
|
/**
|
|
@@ -1529,7 +1529,7 @@ export type MachinesPatchMetadataData = {
|
|
|
1529
1529
|
machine_id: string;
|
|
1530
1530
|
};
|
|
1531
1531
|
query?: never;
|
|
1532
|
-
url:
|
|
1532
|
+
url: "/apps/{app_name}/machines/{machine_id}/metadata";
|
|
1533
1533
|
};
|
|
1534
1534
|
export type MachinesPatchMetadataErrors = {
|
|
1535
1535
|
/**
|
|
@@ -1566,7 +1566,7 @@ export type MachinesDeleteMetadataData = {
|
|
|
1566
1566
|
key: string;
|
|
1567
1567
|
};
|
|
1568
1568
|
query?: never;
|
|
1569
|
-
url:
|
|
1569
|
+
url: "/apps/{app_name}/machines/{machine_id}/metadata/{key}";
|
|
1570
1570
|
};
|
|
1571
1571
|
export type MachinesDeleteMetadataResponses = {
|
|
1572
1572
|
/**
|
|
@@ -1592,7 +1592,7 @@ export type MachinesUpdateMetadataData = {
|
|
|
1592
1592
|
key: string;
|
|
1593
1593
|
};
|
|
1594
1594
|
query?: never;
|
|
1595
|
-
url:
|
|
1595
|
+
url: "/apps/{app_name}/machines/{machine_id}/metadata/{key}";
|
|
1596
1596
|
};
|
|
1597
1597
|
export type MachinesUpdateMetadataErrors = {
|
|
1598
1598
|
/**
|
|
@@ -1630,7 +1630,7 @@ export type MachinesListProcessesData = {
|
|
|
1630
1630
|
*/
|
|
1631
1631
|
order?: string;
|
|
1632
1632
|
};
|
|
1633
|
-
url:
|
|
1633
|
+
url: "/apps/{app_name}/machines/{machine_id}/ps";
|
|
1634
1634
|
};
|
|
1635
1635
|
export type MachinesListProcessesErrors = {
|
|
1636
1636
|
/**
|
|
@@ -1668,7 +1668,7 @@ export type MachinesRestartData = {
|
|
|
1668
1668
|
*/
|
|
1669
1669
|
signal?: string;
|
|
1670
1670
|
};
|
|
1671
|
-
url:
|
|
1671
|
+
url: "/apps/{app_name}/machines/{machine_id}/restart";
|
|
1672
1672
|
};
|
|
1673
1673
|
export type MachinesRestartErrors = {
|
|
1674
1674
|
/**
|
|
@@ -1699,7 +1699,7 @@ export type MachinesSignalData = {
|
|
|
1699
1699
|
machine_id: string;
|
|
1700
1700
|
};
|
|
1701
1701
|
query?: never;
|
|
1702
|
-
url:
|
|
1702
|
+
url: "/apps/{app_name}/machines/{machine_id}/signal";
|
|
1703
1703
|
};
|
|
1704
1704
|
export type MachinesSignalErrors = {
|
|
1705
1705
|
/**
|
|
@@ -1727,7 +1727,7 @@ export type MachinesStartData = {
|
|
|
1727
1727
|
machine_id: string;
|
|
1728
1728
|
};
|
|
1729
1729
|
query?: never;
|
|
1730
|
-
url:
|
|
1730
|
+
url: "/apps/{app_name}/machines/{machine_id}/start";
|
|
1731
1731
|
};
|
|
1732
1732
|
export type MachinesStartResponses = {
|
|
1733
1733
|
/**
|
|
@@ -1751,7 +1751,7 @@ export type MachinesStopData = {
|
|
|
1751
1751
|
machine_id: string;
|
|
1752
1752
|
};
|
|
1753
1753
|
query?: never;
|
|
1754
|
-
url:
|
|
1754
|
+
url: "/apps/{app_name}/machines/{machine_id}/stop";
|
|
1755
1755
|
};
|
|
1756
1756
|
export type MachinesStopErrors = {
|
|
1757
1757
|
/**
|
|
@@ -1779,7 +1779,7 @@ export type MachinesSuspendData = {
|
|
|
1779
1779
|
machine_id: string;
|
|
1780
1780
|
};
|
|
1781
1781
|
query?: never;
|
|
1782
|
-
url:
|
|
1782
|
+
url: "/apps/{app_name}/machines/{machine_id}/suspend";
|
|
1783
1783
|
};
|
|
1784
1784
|
export type MachinesSuspendResponses = {
|
|
1785
1785
|
/**
|
|
@@ -1800,7 +1800,7 @@ export type MachinesUncordonData = {
|
|
|
1800
1800
|
machine_id: string;
|
|
1801
1801
|
};
|
|
1802
1802
|
query?: never;
|
|
1803
|
-
url:
|
|
1803
|
+
url: "/apps/{app_name}/machines/{machine_id}/uncordon";
|
|
1804
1804
|
};
|
|
1805
1805
|
export type MachinesUncordonResponses = {
|
|
1806
1806
|
/**
|
|
@@ -1821,7 +1821,7 @@ export type MachinesListVersionsData = {
|
|
|
1821
1821
|
machine_id: string;
|
|
1822
1822
|
};
|
|
1823
1823
|
query?: never;
|
|
1824
|
-
url:
|
|
1824
|
+
url: "/apps/{app_name}/machines/{machine_id}/versions";
|
|
1825
1825
|
};
|
|
1826
1826
|
export type MachinesListVersionsResponses = {
|
|
1827
1827
|
/**
|
|
@@ -1854,9 +1854,9 @@ export type MachinesWaitData = {
|
|
|
1854
1854
|
/**
|
|
1855
1855
|
* desired state
|
|
1856
1856
|
*/
|
|
1857
|
-
state?:
|
|
1857
|
+
state?: "started" | "stopped" | "suspended" | "destroyed";
|
|
1858
1858
|
};
|
|
1859
|
-
url:
|
|
1859
|
+
url: "/apps/{app_name}/machines/{machine_id}/wait";
|
|
1860
1860
|
};
|
|
1861
1861
|
export type MachinesWaitErrors = {
|
|
1862
1862
|
/**
|
|
@@ -1889,7 +1889,7 @@ export type SecretkeysListData = {
|
|
|
1889
1889
|
*/
|
|
1890
1890
|
types?: string;
|
|
1891
1891
|
};
|
|
1892
|
-
url:
|
|
1892
|
+
url: "/apps/{app_name}/secretkeys";
|
|
1893
1893
|
};
|
|
1894
1894
|
export type SecretkeysListResponses = {
|
|
1895
1895
|
/**
|
|
@@ -1911,7 +1911,7 @@ export type SecretkeyDeleteData = {
|
|
|
1911
1911
|
secret_name: string;
|
|
1912
1912
|
};
|
|
1913
1913
|
query?: never;
|
|
1914
|
-
url:
|
|
1914
|
+
url: "/apps/{app_name}/secretkeys/{secret_name}";
|
|
1915
1915
|
};
|
|
1916
1916
|
export type SecretkeyDeleteResponses = {
|
|
1917
1917
|
/**
|
|
@@ -1938,7 +1938,7 @@ export type SecretkeyGetData = {
|
|
|
1938
1938
|
*/
|
|
1939
1939
|
min_version?: string;
|
|
1940
1940
|
};
|
|
1941
|
-
url:
|
|
1941
|
+
url: "/apps/{app_name}/secretkeys/{secret_name}";
|
|
1942
1942
|
};
|
|
1943
1943
|
export type SecretkeyGetResponses = {
|
|
1944
1944
|
/**
|
|
@@ -1963,7 +1963,7 @@ export type SecretkeySetData = {
|
|
|
1963
1963
|
secret_name: string;
|
|
1964
1964
|
};
|
|
1965
1965
|
query?: never;
|
|
1966
|
-
url:
|
|
1966
|
+
url: "/apps/{app_name}/secretkeys/{secret_name}";
|
|
1967
1967
|
};
|
|
1968
1968
|
export type SecretkeySetErrors = {
|
|
1969
1969
|
/**
|
|
@@ -2000,7 +2000,7 @@ export type SecretkeyDecryptData = {
|
|
|
2000
2000
|
*/
|
|
2001
2001
|
min_version?: string;
|
|
2002
2002
|
};
|
|
2003
|
-
url:
|
|
2003
|
+
url: "/apps/{app_name}/secretkeys/{secret_name}/decrypt";
|
|
2004
2004
|
};
|
|
2005
2005
|
export type SecretkeyDecryptErrors = {
|
|
2006
2006
|
/**
|
|
@@ -2037,7 +2037,7 @@ export type SecretkeyEncryptData = {
|
|
|
2037
2037
|
*/
|
|
2038
2038
|
min_version?: string;
|
|
2039
2039
|
};
|
|
2040
|
-
url:
|
|
2040
|
+
url: "/apps/{app_name}/secretkeys/{secret_name}/encrypt";
|
|
2041
2041
|
};
|
|
2042
2042
|
export type SecretkeyEncryptErrors = {
|
|
2043
2043
|
/**
|
|
@@ -2069,7 +2069,7 @@ export type SecretkeyGenerateData = {
|
|
|
2069
2069
|
secret_name: string;
|
|
2070
2070
|
};
|
|
2071
2071
|
query?: never;
|
|
2072
|
-
url:
|
|
2072
|
+
url: "/apps/{app_name}/secretkeys/{secret_name}/generate";
|
|
2073
2073
|
};
|
|
2074
2074
|
export type SecretkeyGenerateErrors = {
|
|
2075
2075
|
/**
|
|
@@ -2106,7 +2106,7 @@ export type SecretkeySignData = {
|
|
|
2106
2106
|
*/
|
|
2107
2107
|
min_version?: string;
|
|
2108
2108
|
};
|
|
2109
|
-
url:
|
|
2109
|
+
url: "/apps/{app_name}/secretkeys/{secret_name}/sign";
|
|
2110
2110
|
};
|
|
2111
2111
|
export type SecretkeySignErrors = {
|
|
2112
2112
|
/**
|
|
@@ -2143,7 +2143,7 @@ export type SecretkeyVerifyData = {
|
|
|
2143
2143
|
*/
|
|
2144
2144
|
min_version?: string;
|
|
2145
2145
|
};
|
|
2146
|
-
url:
|
|
2146
|
+
url: "/apps/{app_name}/secretkeys/{secret_name}/verify";
|
|
2147
2147
|
};
|
|
2148
2148
|
export type SecretkeyVerifyErrors = {
|
|
2149
2149
|
/**
|
|
@@ -2177,7 +2177,7 @@ export type SecretsListData = {
|
|
|
2177
2177
|
*/
|
|
2178
2178
|
show_secrets?: boolean;
|
|
2179
2179
|
};
|
|
2180
|
-
url:
|
|
2180
|
+
url: "/apps/{app_name}/secrets";
|
|
2181
2181
|
};
|
|
2182
2182
|
export type SecretsListResponses = {
|
|
2183
2183
|
/**
|
|
@@ -2198,7 +2198,7 @@ export type SecretsUpdateData = {
|
|
|
2198
2198
|
app_name: string;
|
|
2199
2199
|
};
|
|
2200
2200
|
query?: never;
|
|
2201
|
-
url:
|
|
2201
|
+
url: "/apps/{app_name}/secrets";
|
|
2202
2202
|
};
|
|
2203
2203
|
export type SecretsUpdateErrors = {
|
|
2204
2204
|
/**
|
|
@@ -2227,7 +2227,7 @@ export type SecretDeleteData = {
|
|
|
2227
2227
|
secret_name: string;
|
|
2228
2228
|
};
|
|
2229
2229
|
query?: never;
|
|
2230
|
-
url:
|
|
2230
|
+
url: "/apps/{app_name}/secrets/{secret_name}";
|
|
2231
2231
|
};
|
|
2232
2232
|
export type SecretDeleteResponses = {
|
|
2233
2233
|
/**
|
|
@@ -2258,7 +2258,7 @@ export type SecretGetData = {
|
|
|
2258
2258
|
*/
|
|
2259
2259
|
show_secrets?: boolean;
|
|
2260
2260
|
};
|
|
2261
|
-
url:
|
|
2261
|
+
url: "/apps/{app_name}/secrets/{secret_name}";
|
|
2262
2262
|
};
|
|
2263
2263
|
export type SecretGetResponses = {
|
|
2264
2264
|
/**
|
|
@@ -2283,7 +2283,7 @@ export type SecretCreateData = {
|
|
|
2283
2283
|
secret_name: string;
|
|
2284
2284
|
};
|
|
2285
2285
|
query?: never;
|
|
2286
|
-
url:
|
|
2286
|
+
url: "/apps/{app_name}/secrets/{secret_name}";
|
|
2287
2287
|
};
|
|
2288
2288
|
export type SecretCreateErrors = {
|
|
2289
2289
|
/**
|
|
@@ -2313,7 +2313,7 @@ export type VolumesListData = {
|
|
|
2313
2313
|
*/
|
|
2314
2314
|
summary?: boolean;
|
|
2315
2315
|
};
|
|
2316
|
-
url:
|
|
2316
|
+
url: "/apps/{app_name}/volumes";
|
|
2317
2317
|
};
|
|
2318
2318
|
export type VolumesListResponses = {
|
|
2319
2319
|
/**
|
|
@@ -2334,7 +2334,7 @@ export type VolumesCreateData = {
|
|
|
2334
2334
|
app_name: string;
|
|
2335
2335
|
};
|
|
2336
2336
|
query?: never;
|
|
2337
|
-
url:
|
|
2337
|
+
url: "/apps/{app_name}/volumes";
|
|
2338
2338
|
};
|
|
2339
2339
|
export type VolumesCreateResponses = {
|
|
2340
2340
|
/**
|
|
@@ -2356,7 +2356,7 @@ export type VolumeDeleteData = {
|
|
|
2356
2356
|
volume_id: string;
|
|
2357
2357
|
};
|
|
2358
2358
|
query?: never;
|
|
2359
|
-
url:
|
|
2359
|
+
url: "/apps/{app_name}/volumes/{volume_id}";
|
|
2360
2360
|
};
|
|
2361
2361
|
export type VolumeDeleteResponses = {
|
|
2362
2362
|
/**
|
|
@@ -2378,7 +2378,7 @@ export type VolumesGetByIdData = {
|
|
|
2378
2378
|
volume_id: string;
|
|
2379
2379
|
};
|
|
2380
2380
|
query?: never;
|
|
2381
|
-
url:
|
|
2381
|
+
url: "/apps/{app_name}/volumes/{volume_id}";
|
|
2382
2382
|
};
|
|
2383
2383
|
export type VolumesGetByIdResponses = {
|
|
2384
2384
|
/**
|
|
@@ -2403,7 +2403,7 @@ export type VolumesUpdateData = {
|
|
|
2403
2403
|
volume_id: string;
|
|
2404
2404
|
};
|
|
2405
2405
|
query?: never;
|
|
2406
|
-
url:
|
|
2406
|
+
url: "/apps/{app_name}/volumes/{volume_id}";
|
|
2407
2407
|
};
|
|
2408
2408
|
export type VolumesUpdateErrors = {
|
|
2409
2409
|
/**
|
|
@@ -2435,7 +2435,7 @@ export type VolumesExtendData = {
|
|
|
2435
2435
|
volume_id: string;
|
|
2436
2436
|
};
|
|
2437
2437
|
query?: never;
|
|
2438
|
-
url:
|
|
2438
|
+
url: "/apps/{app_name}/volumes/{volume_id}/extend";
|
|
2439
2439
|
};
|
|
2440
2440
|
export type VolumesExtendResponses = {
|
|
2441
2441
|
/**
|
|
@@ -2457,7 +2457,7 @@ export type VolumesListSnapshotsData = {
|
|
|
2457
2457
|
volume_id: string;
|
|
2458
2458
|
};
|
|
2459
2459
|
query?: never;
|
|
2460
|
-
url:
|
|
2460
|
+
url: "/apps/{app_name}/volumes/{volume_id}/snapshots";
|
|
2461
2461
|
};
|
|
2462
2462
|
export type VolumesListSnapshotsResponses = {
|
|
2463
2463
|
/**
|
|
@@ -2479,7 +2479,7 @@ export type CreateVolumeSnapshotData = {
|
|
|
2479
2479
|
volume_id: string;
|
|
2480
2480
|
};
|
|
2481
2481
|
query?: never;
|
|
2482
|
-
url:
|
|
2482
|
+
url: "/apps/{app_name}/volumes/{volume_id}/snapshots";
|
|
2483
2483
|
};
|
|
2484
2484
|
export type CreateVolumeSnapshotResponses = {
|
|
2485
2485
|
/**
|
|
@@ -2494,7 +2494,7 @@ export type PlatformPlacementsPostData = {
|
|
|
2494
2494
|
body: MainGetPlacementsRequest;
|
|
2495
2495
|
path?: never;
|
|
2496
2496
|
query?: never;
|
|
2497
|
-
url:
|
|
2497
|
+
url: "/platform/placements";
|
|
2498
2498
|
};
|
|
2499
2499
|
export type PlatformPlacementsPostResponses = {
|
|
2500
2500
|
/**
|
|
@@ -2532,7 +2532,7 @@ export type PlatformRegionsGetData = {
|
|
|
2532
2532
|
*/
|
|
2533
2533
|
gpu_kind?: string;
|
|
2534
2534
|
};
|
|
2535
|
-
url:
|
|
2535
|
+
url: "/platform/regions";
|
|
2536
2536
|
};
|
|
2537
2537
|
export type PlatformRegionsGetResponses = {
|
|
2538
2538
|
/**
|
|
@@ -2545,7 +2545,7 @@ export type TokensRequestKmsData = {
|
|
|
2545
2545
|
body?: never;
|
|
2546
2546
|
path?: never;
|
|
2547
2547
|
query?: never;
|
|
2548
|
-
url:
|
|
2548
|
+
url: "/tokens/kms";
|
|
2549
2549
|
};
|
|
2550
2550
|
export type TokensRequestKmsResponses = {
|
|
2551
2551
|
/**
|
|
@@ -2561,7 +2561,7 @@ export type TokensRequestOidcData = {
|
|
|
2561
2561
|
body: CreateOidcTokenRequest;
|
|
2562
2562
|
path?: never;
|
|
2563
2563
|
query?: never;
|
|
2564
|
-
url:
|
|
2564
|
+
url: "/tokens/oidc";
|
|
2565
2565
|
};
|
|
2566
2566
|
export type TokensRequestOidcErrors = {
|
|
2567
2567
|
/**
|
|
@@ -2581,7 +2581,7 @@ export type CurrentTokenShowData = {
|
|
|
2581
2581
|
body?: never;
|
|
2582
2582
|
path?: never;
|
|
2583
2583
|
query?: never;
|
|
2584
|
-
url:
|
|
2584
|
+
url: "/v1/tokens/current";
|
|
2585
2585
|
};
|
|
2586
2586
|
export type CurrentTokenShowErrors = {
|
|
2587
2587
|
/**
|