@townco/fly 0.1.30 → 0.1.32
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 +2 -2
- package/dist/api/client/client.gen.js +46 -45
- 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 +7 -7
- package/dist/api/client/utils.gen.js +34 -33
- 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 +3 -3
- package/dist/api/core/bodySerializer.gen.js +3 -3
- package/dist/api/core/params.gen.d.ts +4 -4
- package/dist/api/core/params.gen.js +9 -9
- package/dist/api/core/pathSerializer.gen.d.ts +8 -8
- 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 +4 -4
- package/dist/api/core/serverSentEvents.gen.js +18 -18
- package/dist/api/core/types.gen.d.ts +4 -4
- package/dist/api/core/utils.gen.d.ts +4 -4
- 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 +5 -5
- package/dist/api/sdk.gen.js +130 -160
- package/dist/api/types.gen.d.ts +84 -84
- package/package.json +7 -7
- package/dist/client/client.gen.d.ts +0 -2
- package/dist/client/client.gen.js +0 -228
- package/dist/client/index.d.ts +0 -8
- package/dist/client/index.js +0 -6
- package/dist/client/types.gen.d.ts +0 -117
- package/dist/client/types.gen.js +0 -2
- package/dist/client/utils.gen.d.ts +0 -33
- package/dist/client/utils.gen.js +0 -231
- package/dist/client.gen.d.ts +0 -12
- package/dist/client.gen.js +0 -3
- package/dist/core/auth.gen.d.ts +0 -18
- package/dist/core/auth.gen.js +0 -14
- package/dist/core/bodySerializer.gen.d.ts +0 -25
- package/dist/core/bodySerializer.gen.js +0 -57
- package/dist/core/params.gen.d.ts +0 -43
- package/dist/core/params.gen.js +0 -100
- package/dist/core/pathSerializer.gen.d.ts +0 -33
- package/dist/core/pathSerializer.gen.js +0 -114
- package/dist/core/queryKeySerializer.gen.d.ts +0 -18
- package/dist/core/queryKeySerializer.gen.js +0 -99
- package/dist/core/serverSentEvents.gen.d.ts +0 -71
- package/dist/core/serverSentEvents.gen.js +0 -135
- package/dist/core/types.gen.d.ts +0 -78
- package/dist/core/types.gen.js +0 -2
- package/dist/core/utils.gen.d.ts +0 -19
- package/dist/core/utils.gen.js +0 -87
- package/dist/sdk.gen.d.ts +0 -379
- package/dist/sdk.gen.js +0 -557
- package/dist/types.gen.d.ts +0 -2592
- package/dist/types.gen.js +0 -2
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,13 +1162,13 @@ 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
|
/**
|
|
1169
1169
|
* No Content
|
|
1170
1170
|
*/
|
|
1171
|
-
204:
|
|
1171
|
+
204: void;
|
|
1172
1172
|
};
|
|
1173
1173
|
export type AppIpAssignmentsDeleteResponse = AppIpAssignmentsDeleteResponses[keyof AppIpAssignmentsDeleteResponses];
|
|
1174
1174
|
export type MachinesListData = {
|
|
@@ -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
|
/**
|
|
@@ -1542,7 +1542,7 @@ export type MachinesPatchMetadataResponses = {
|
|
|
1542
1542
|
/**
|
|
1543
1543
|
* No Content
|
|
1544
1544
|
*/
|
|
1545
|
-
204:
|
|
1545
|
+
204: void;
|
|
1546
1546
|
};
|
|
1547
1547
|
export type MachinesPatchMetadataResponse = MachinesPatchMetadataResponses[keyof MachinesPatchMetadataResponses];
|
|
1548
1548
|
export type MachinesDeleteMetadataData = {
|
|
@@ -1562,13 +1562,13 @@ export type MachinesDeleteMetadataData = {
|
|
|
1562
1562
|
key: string;
|
|
1563
1563
|
};
|
|
1564
1564
|
query?: never;
|
|
1565
|
-
url:
|
|
1565
|
+
url: '/apps/{app_name}/machines/{machine_id}/metadata/{key}';
|
|
1566
1566
|
};
|
|
1567
1567
|
export type MachinesDeleteMetadataResponses = {
|
|
1568
1568
|
/**
|
|
1569
1569
|
* No Content
|
|
1570
1570
|
*/
|
|
1571
|
-
204:
|
|
1571
|
+
204: void;
|
|
1572
1572
|
};
|
|
1573
1573
|
export type MachinesDeleteMetadataResponse = MachinesDeleteMetadataResponses[keyof MachinesDeleteMetadataResponses];
|
|
1574
1574
|
export type MachinesUpdateMetadataData = {
|
|
@@ -1588,7 +1588,7 @@ export type MachinesUpdateMetadataData = {
|
|
|
1588
1588
|
key: string;
|
|
1589
1589
|
};
|
|
1590
1590
|
query?: never;
|
|
1591
|
-
url:
|
|
1591
|
+
url: '/apps/{app_name}/machines/{machine_id}/metadata/{key}';
|
|
1592
1592
|
};
|
|
1593
1593
|
export type MachinesUpdateMetadataErrors = {
|
|
1594
1594
|
/**
|
|
@@ -1601,7 +1601,7 @@ export type MachinesUpdateMetadataResponses = {
|
|
|
1601
1601
|
/**
|
|
1602
1602
|
* No Content
|
|
1603
1603
|
*/
|
|
1604
|
-
204:
|
|
1604
|
+
204: void;
|
|
1605
1605
|
};
|
|
1606
1606
|
export type MachinesUpdateMetadataResponse = MachinesUpdateMetadataResponses[keyof MachinesUpdateMetadataResponses];
|
|
1607
1607
|
export type MachinesListProcessesData = {
|
|
@@ -1626,7 +1626,7 @@ export type MachinesListProcessesData = {
|
|
|
1626
1626
|
*/
|
|
1627
1627
|
order?: string;
|
|
1628
1628
|
};
|
|
1629
|
-
url:
|
|
1629
|
+
url: '/apps/{app_name}/machines/{machine_id}/ps';
|
|
1630
1630
|
};
|
|
1631
1631
|
export type MachinesListProcessesErrors = {
|
|
1632
1632
|
/**
|
|
@@ -1664,7 +1664,7 @@ export type MachinesRestartData = {
|
|
|
1664
1664
|
*/
|
|
1665
1665
|
signal?: string;
|
|
1666
1666
|
};
|
|
1667
|
-
url:
|
|
1667
|
+
url: '/apps/{app_name}/machines/{machine_id}/restart';
|
|
1668
1668
|
};
|
|
1669
1669
|
export type MachinesRestartErrors = {
|
|
1670
1670
|
/**
|
|
@@ -1695,7 +1695,7 @@ export type MachinesSignalData = {
|
|
|
1695
1695
|
machine_id: string;
|
|
1696
1696
|
};
|
|
1697
1697
|
query?: never;
|
|
1698
|
-
url:
|
|
1698
|
+
url: '/apps/{app_name}/machines/{machine_id}/signal';
|
|
1699
1699
|
};
|
|
1700
1700
|
export type MachinesSignalErrors = {
|
|
1701
1701
|
/**
|
|
@@ -1723,7 +1723,7 @@ export type MachinesStartData = {
|
|
|
1723
1723
|
machine_id: string;
|
|
1724
1724
|
};
|
|
1725
1725
|
query?: never;
|
|
1726
|
-
url:
|
|
1726
|
+
url: '/apps/{app_name}/machines/{machine_id}/start';
|
|
1727
1727
|
};
|
|
1728
1728
|
export type MachinesStartResponses = {
|
|
1729
1729
|
/**
|
|
@@ -1747,7 +1747,7 @@ export type MachinesStopData = {
|
|
|
1747
1747
|
machine_id: string;
|
|
1748
1748
|
};
|
|
1749
1749
|
query?: never;
|
|
1750
|
-
url:
|
|
1750
|
+
url: '/apps/{app_name}/machines/{machine_id}/stop';
|
|
1751
1751
|
};
|
|
1752
1752
|
export type MachinesStopErrors = {
|
|
1753
1753
|
/**
|
|
@@ -1775,7 +1775,7 @@ export type MachinesSuspendData = {
|
|
|
1775
1775
|
machine_id: string;
|
|
1776
1776
|
};
|
|
1777
1777
|
query?: never;
|
|
1778
|
-
url:
|
|
1778
|
+
url: '/apps/{app_name}/machines/{machine_id}/suspend';
|
|
1779
1779
|
};
|
|
1780
1780
|
export type MachinesSuspendResponses = {
|
|
1781
1781
|
/**
|
|
@@ -1796,7 +1796,7 @@ export type MachinesUncordonData = {
|
|
|
1796
1796
|
machine_id: string;
|
|
1797
1797
|
};
|
|
1798
1798
|
query?: never;
|
|
1799
|
-
url:
|
|
1799
|
+
url: '/apps/{app_name}/machines/{machine_id}/uncordon';
|
|
1800
1800
|
};
|
|
1801
1801
|
export type MachinesUncordonResponses = {
|
|
1802
1802
|
/**
|
|
@@ -1817,7 +1817,7 @@ export type MachinesListVersionsData = {
|
|
|
1817
1817
|
machine_id: string;
|
|
1818
1818
|
};
|
|
1819
1819
|
query?: never;
|
|
1820
|
-
url:
|
|
1820
|
+
url: '/apps/{app_name}/machines/{machine_id}/versions';
|
|
1821
1821
|
};
|
|
1822
1822
|
export type MachinesListVersionsResponses = {
|
|
1823
1823
|
/**
|
|
@@ -1850,9 +1850,9 @@ export type MachinesWaitData = {
|
|
|
1850
1850
|
/**
|
|
1851
1851
|
* desired state
|
|
1852
1852
|
*/
|
|
1853
|
-
state?:
|
|
1853
|
+
state?: 'started' | 'stopped' | 'suspended' | 'destroyed';
|
|
1854
1854
|
};
|
|
1855
|
-
url:
|
|
1855
|
+
url: '/apps/{app_name}/machines/{machine_id}/wait';
|
|
1856
1856
|
};
|
|
1857
1857
|
export type MachinesWaitErrors = {
|
|
1858
1858
|
/**
|
|
@@ -1885,7 +1885,7 @@ export type SecretkeysListData = {
|
|
|
1885
1885
|
*/
|
|
1886
1886
|
types?: string;
|
|
1887
1887
|
};
|
|
1888
|
-
url:
|
|
1888
|
+
url: '/apps/{app_name}/secretkeys';
|
|
1889
1889
|
};
|
|
1890
1890
|
export type SecretkeysListResponses = {
|
|
1891
1891
|
/**
|
|
@@ -1907,7 +1907,7 @@ export type SecretkeyDeleteData = {
|
|
|
1907
1907
|
secret_name: string;
|
|
1908
1908
|
};
|
|
1909
1909
|
query?: never;
|
|
1910
|
-
url:
|
|
1910
|
+
url: '/apps/{app_name}/secretkeys/{secret_name}';
|
|
1911
1911
|
};
|
|
1912
1912
|
export type SecretkeyDeleteResponses = {
|
|
1913
1913
|
/**
|
|
@@ -1934,7 +1934,7 @@ export type SecretkeyGetData = {
|
|
|
1934
1934
|
*/
|
|
1935
1935
|
min_version?: string;
|
|
1936
1936
|
};
|
|
1937
|
-
url:
|
|
1937
|
+
url: '/apps/{app_name}/secretkeys/{secret_name}';
|
|
1938
1938
|
};
|
|
1939
1939
|
export type SecretkeyGetResponses = {
|
|
1940
1940
|
/**
|
|
@@ -1959,7 +1959,7 @@ export type SecretkeySetData = {
|
|
|
1959
1959
|
secret_name: string;
|
|
1960
1960
|
};
|
|
1961
1961
|
query?: never;
|
|
1962
|
-
url:
|
|
1962
|
+
url: '/apps/{app_name}/secretkeys/{secret_name}';
|
|
1963
1963
|
};
|
|
1964
1964
|
export type SecretkeySetErrors = {
|
|
1965
1965
|
/**
|
|
@@ -1996,7 +1996,7 @@ export type SecretkeyDecryptData = {
|
|
|
1996
1996
|
*/
|
|
1997
1997
|
min_version?: string;
|
|
1998
1998
|
};
|
|
1999
|
-
url:
|
|
1999
|
+
url: '/apps/{app_name}/secretkeys/{secret_name}/decrypt';
|
|
2000
2000
|
};
|
|
2001
2001
|
export type SecretkeyDecryptErrors = {
|
|
2002
2002
|
/**
|
|
@@ -2033,7 +2033,7 @@ export type SecretkeyEncryptData = {
|
|
|
2033
2033
|
*/
|
|
2034
2034
|
min_version?: string;
|
|
2035
2035
|
};
|
|
2036
|
-
url:
|
|
2036
|
+
url: '/apps/{app_name}/secretkeys/{secret_name}/encrypt';
|
|
2037
2037
|
};
|
|
2038
2038
|
export type SecretkeyEncryptErrors = {
|
|
2039
2039
|
/**
|
|
@@ -2065,7 +2065,7 @@ export type SecretkeyGenerateData = {
|
|
|
2065
2065
|
secret_name: string;
|
|
2066
2066
|
};
|
|
2067
2067
|
query?: never;
|
|
2068
|
-
url:
|
|
2068
|
+
url: '/apps/{app_name}/secretkeys/{secret_name}/generate';
|
|
2069
2069
|
};
|
|
2070
2070
|
export type SecretkeyGenerateErrors = {
|
|
2071
2071
|
/**
|
|
@@ -2102,7 +2102,7 @@ export type SecretkeySignData = {
|
|
|
2102
2102
|
*/
|
|
2103
2103
|
min_version?: string;
|
|
2104
2104
|
};
|
|
2105
|
-
url:
|
|
2105
|
+
url: '/apps/{app_name}/secretkeys/{secret_name}/sign';
|
|
2106
2106
|
};
|
|
2107
2107
|
export type SecretkeySignErrors = {
|
|
2108
2108
|
/**
|
|
@@ -2139,7 +2139,7 @@ export type SecretkeyVerifyData = {
|
|
|
2139
2139
|
*/
|
|
2140
2140
|
min_version?: string;
|
|
2141
2141
|
};
|
|
2142
|
-
url:
|
|
2142
|
+
url: '/apps/{app_name}/secretkeys/{secret_name}/verify';
|
|
2143
2143
|
};
|
|
2144
2144
|
export type SecretkeyVerifyErrors = {
|
|
2145
2145
|
/**
|
|
@@ -2152,7 +2152,7 @@ export type SecretkeyVerifyResponses = {
|
|
|
2152
2152
|
/**
|
|
2153
2153
|
* No Content
|
|
2154
2154
|
*/
|
|
2155
|
-
204:
|
|
2155
|
+
204: void;
|
|
2156
2156
|
};
|
|
2157
2157
|
export type SecretkeyVerifyResponse = SecretkeyVerifyResponses[keyof SecretkeyVerifyResponses];
|
|
2158
2158
|
export type SecretsListData = {
|
|
@@ -2173,7 +2173,7 @@ export type SecretsListData = {
|
|
|
2173
2173
|
*/
|
|
2174
2174
|
show_secrets?: boolean;
|
|
2175
2175
|
};
|
|
2176
|
-
url:
|
|
2176
|
+
url: '/apps/{app_name}/secrets';
|
|
2177
2177
|
};
|
|
2178
2178
|
export type SecretsListResponses = {
|
|
2179
2179
|
/**
|
|
@@ -2194,7 +2194,7 @@ export type SecretsUpdateData = {
|
|
|
2194
2194
|
app_name: string;
|
|
2195
2195
|
};
|
|
2196
2196
|
query?: never;
|
|
2197
|
-
url:
|
|
2197
|
+
url: '/apps/{app_name}/secrets';
|
|
2198
2198
|
};
|
|
2199
2199
|
export type SecretsUpdateErrors = {
|
|
2200
2200
|
/**
|
|
@@ -2223,7 +2223,7 @@ export type SecretDeleteData = {
|
|
|
2223
2223
|
secret_name: string;
|
|
2224
2224
|
};
|
|
2225
2225
|
query?: never;
|
|
2226
|
-
url:
|
|
2226
|
+
url: '/apps/{app_name}/secrets/{secret_name}';
|
|
2227
2227
|
};
|
|
2228
2228
|
export type SecretDeleteResponses = {
|
|
2229
2229
|
/**
|
|
@@ -2254,7 +2254,7 @@ export type SecretGetData = {
|
|
|
2254
2254
|
*/
|
|
2255
2255
|
show_secrets?: boolean;
|
|
2256
2256
|
};
|
|
2257
|
-
url:
|
|
2257
|
+
url: '/apps/{app_name}/secrets/{secret_name}';
|
|
2258
2258
|
};
|
|
2259
2259
|
export type SecretGetResponses = {
|
|
2260
2260
|
/**
|
|
@@ -2279,7 +2279,7 @@ export type SecretCreateData = {
|
|
|
2279
2279
|
secret_name: string;
|
|
2280
2280
|
};
|
|
2281
2281
|
query?: never;
|
|
2282
|
-
url:
|
|
2282
|
+
url: '/apps/{app_name}/secrets/{secret_name}';
|
|
2283
2283
|
};
|
|
2284
2284
|
export type SecretCreateErrors = {
|
|
2285
2285
|
/**
|
|
@@ -2309,7 +2309,7 @@ export type VolumesListData = {
|
|
|
2309
2309
|
*/
|
|
2310
2310
|
summary?: boolean;
|
|
2311
2311
|
};
|
|
2312
|
-
url:
|
|
2312
|
+
url: '/apps/{app_name}/volumes';
|
|
2313
2313
|
};
|
|
2314
2314
|
export type VolumesListResponses = {
|
|
2315
2315
|
/**
|
|
@@ -2330,7 +2330,7 @@ export type VolumesCreateData = {
|
|
|
2330
2330
|
app_name: string;
|
|
2331
2331
|
};
|
|
2332
2332
|
query?: never;
|
|
2333
|
-
url:
|
|
2333
|
+
url: '/apps/{app_name}/volumes';
|
|
2334
2334
|
};
|
|
2335
2335
|
export type VolumesCreateResponses = {
|
|
2336
2336
|
/**
|
|
@@ -2352,7 +2352,7 @@ export type VolumeDeleteData = {
|
|
|
2352
2352
|
volume_id: string;
|
|
2353
2353
|
};
|
|
2354
2354
|
query?: never;
|
|
2355
|
-
url:
|
|
2355
|
+
url: '/apps/{app_name}/volumes/{volume_id}';
|
|
2356
2356
|
};
|
|
2357
2357
|
export type VolumeDeleteResponses = {
|
|
2358
2358
|
/**
|
|
@@ -2374,7 +2374,7 @@ export type VolumesGetByIdData = {
|
|
|
2374
2374
|
volume_id: string;
|
|
2375
2375
|
};
|
|
2376
2376
|
query?: never;
|
|
2377
|
-
url:
|
|
2377
|
+
url: '/apps/{app_name}/volumes/{volume_id}';
|
|
2378
2378
|
};
|
|
2379
2379
|
export type VolumesGetByIdResponses = {
|
|
2380
2380
|
/**
|
|
@@ -2399,7 +2399,7 @@ export type VolumesUpdateData = {
|
|
|
2399
2399
|
volume_id: string;
|
|
2400
2400
|
};
|
|
2401
2401
|
query?: never;
|
|
2402
|
-
url:
|
|
2402
|
+
url: '/apps/{app_name}/volumes/{volume_id}';
|
|
2403
2403
|
};
|
|
2404
2404
|
export type VolumesUpdateErrors = {
|
|
2405
2405
|
/**
|
|
@@ -2431,7 +2431,7 @@ export type VolumesExtendData = {
|
|
|
2431
2431
|
volume_id: string;
|
|
2432
2432
|
};
|
|
2433
2433
|
query?: never;
|
|
2434
|
-
url:
|
|
2434
|
+
url: '/apps/{app_name}/volumes/{volume_id}/extend';
|
|
2435
2435
|
};
|
|
2436
2436
|
export type VolumesExtendResponses = {
|
|
2437
2437
|
/**
|
|
@@ -2453,7 +2453,7 @@ export type VolumesListSnapshotsData = {
|
|
|
2453
2453
|
volume_id: string;
|
|
2454
2454
|
};
|
|
2455
2455
|
query?: never;
|
|
2456
|
-
url:
|
|
2456
|
+
url: '/apps/{app_name}/volumes/{volume_id}/snapshots';
|
|
2457
2457
|
};
|
|
2458
2458
|
export type VolumesListSnapshotsResponses = {
|
|
2459
2459
|
/**
|
|
@@ -2475,7 +2475,7 @@ export type CreateVolumeSnapshotData = {
|
|
|
2475
2475
|
volume_id: string;
|
|
2476
2476
|
};
|
|
2477
2477
|
query?: never;
|
|
2478
|
-
url:
|
|
2478
|
+
url: '/apps/{app_name}/volumes/{volume_id}/snapshots';
|
|
2479
2479
|
};
|
|
2480
2480
|
export type CreateVolumeSnapshotResponses = {
|
|
2481
2481
|
/**
|
|
@@ -2490,7 +2490,7 @@ export type PlatformPlacementsPostData = {
|
|
|
2490
2490
|
body: MainGetPlacementsRequest;
|
|
2491
2491
|
path?: never;
|
|
2492
2492
|
query?: never;
|
|
2493
|
-
url:
|
|
2493
|
+
url: '/platform/placements';
|
|
2494
2494
|
};
|
|
2495
2495
|
export type PlatformPlacementsPostResponses = {
|
|
2496
2496
|
/**
|
|
@@ -2528,7 +2528,7 @@ export type PlatformRegionsGetData = {
|
|
|
2528
2528
|
*/
|
|
2529
2529
|
gpu_kind?: string;
|
|
2530
2530
|
};
|
|
2531
|
-
url:
|
|
2531
|
+
url: '/platform/regions';
|
|
2532
2532
|
};
|
|
2533
2533
|
export type PlatformRegionsGetResponses = {
|
|
2534
2534
|
/**
|
|
@@ -2541,7 +2541,7 @@ export type TokensRequestKmsData = {
|
|
|
2541
2541
|
body?: never;
|
|
2542
2542
|
path?: never;
|
|
2543
2543
|
query?: never;
|
|
2544
|
-
url:
|
|
2544
|
+
url: '/tokens/kms';
|
|
2545
2545
|
};
|
|
2546
2546
|
export type TokensRequestKmsResponses = {
|
|
2547
2547
|
/**
|
|
@@ -2557,7 +2557,7 @@ export type TokensRequestOidcData = {
|
|
|
2557
2557
|
body: CreateOidcTokenRequest;
|
|
2558
2558
|
path?: never;
|
|
2559
2559
|
query?: never;
|
|
2560
|
-
url:
|
|
2560
|
+
url: '/tokens/oidc';
|
|
2561
2561
|
};
|
|
2562
2562
|
export type TokensRequestOidcErrors = {
|
|
2563
2563
|
/**
|
|
@@ -2577,7 +2577,7 @@ export type CurrentTokenShowData = {
|
|
|
2577
2577
|
body?: never;
|
|
2578
2578
|
path?: never;
|
|
2579
2579
|
query?: never;
|
|
2580
|
-
url:
|
|
2580
|
+
url: '/v1/tokens/current';
|
|
2581
2581
|
};
|
|
2582
2582
|
export type CurrentTokenShowErrors = {
|
|
2583
2583
|
/**
|