@distilled.cloud/fly-io 1.0.0-rc.13 → 1.0.0-rc.14
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/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +37 -52
- package/lib/protocol.js.map +1 -1
- package/lib/protocol.test.js +5 -4
- package/lib/protocol.test.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/addons.d.ts +58 -8
- package/lib/services/addons.d.ts.map +1 -1
- package/lib/services/addons.js +40 -85
- package/lib/services/addons.js.map +1 -1
- package/lib/services/machines.d.ts +14 -3
- package/lib/services/machines.d.ts.map +1 -1
- package/lib/services/machines.js +179 -679
- package/lib/services/machines.js.map +1 -1
- package/lib/services/mpg.d.ts +2 -2
- package/lib/services/mpg.d.ts.map +1 -1
- package/lib/services/mpg.js +37 -153
- package/lib/services/mpg.js.map +1 -1
- package/lib/services/sprites.d.ts +687 -144
- package/lib/services/sprites.d.ts.map +1 -1
- package/lib/services/sprites.js +667 -183
- package/lib/services/sprites.js.map +1 -1
- package/lib/sprites-mint.test.js +3 -4
- package/lib/sprites-mint.test.js.map +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +8 -12
- package/src/errors.ts +6 -10
- package/src/protocol.test.ts +12 -32
- package/src/protocol.ts +80 -125
- package/src/retry.ts +2 -8
- package/src/services/addons.ts +135 -154
- package/src/services/machines.ts +338 -1189
- package/src/services/mpg.ts +59 -217
- package/src/services/sprites.ts +1573 -354
- package/src/sprites-mint.test.ts +23 -65
- package/src/traits.ts +5 -12
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -32
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -46
package/lib/services/machines.js
CHANGED
|
@@ -1,28 +1,19 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
1
2
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs. Do not edit.
|
|
2
3
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
-
import * as API from "@distilled.cloud/core/api";
|
|
4
|
-
import * as T from "../traits.js";
|
|
5
|
-
import { FlyIoProtocol, } from "../protocol.js";
|
|
6
4
|
import { BadRequest, Conflict, Forbidden, GatewayTimeout, NotFound, UnprocessableEntity, } from "../errors.js";
|
|
5
|
+
import { FlyIoProtocol } from "../protocol.js";
|
|
7
6
|
import * as Retry from "../retry.js";
|
|
7
|
+
import * as T from "../traits.js";
|
|
8
8
|
export class MachineReplacing extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
9
9
|
/*@__PURE__*/ S.TaggedError()("MachineReplacing", {
|
|
10
10
|
message: S.String,
|
|
11
|
-
}), [
|
|
12
|
-
{
|
|
13
|
-
status: 412,
|
|
14
|
-
message: "failed_precondition: machine getting replaced, refusing to start",
|
|
15
|
-
},
|
|
16
|
-
]) {
|
|
11
|
+
}), [{ status: 412, message: "failed_precondition: machine getting replaced, refusing to start" }]) {
|
|
17
12
|
}
|
|
18
13
|
export class MachineStartFromCreatedState extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
19
14
|
/*@__PURE__*/ S.TaggedError()("MachineStartFromCreatedState", {
|
|
20
15
|
message: S.String,
|
|
21
|
-
}), [
|
|
22
|
-
{
|
|
23
|
-
message: "failed_precondition: unable to start machine from current state: 'created'",
|
|
24
|
-
},
|
|
25
|
-
]) {
|
|
16
|
+
}), [{ message: "failed_precondition: unable to start machine from current state: 'created'" }]) {
|
|
26
17
|
}
|
|
27
18
|
export class MachineWaitTimeout extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
28
19
|
/*@__PURE__*/ S.TaggedError()("MachineWaitTimeout", {
|
|
@@ -43,25 +34,15 @@ export class NetworkNotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMat
|
|
|
43
34
|
export class VolumeAttached extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
44
35
|
/*@__PURE__*/ S.TaggedError()("VolumeAttached", {
|
|
45
36
|
message: S.String,
|
|
46
|
-
}), [
|
|
47
|
-
{
|
|
48
|
-
message: {
|
|
49
|
-
includes: "failed_precondition: volume is currently bound to machine:",
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
]) {
|
|
37
|
+
}), [{ message: { includes: "failed_precondition: volume is currently bound to machine:" } }]) {
|
|
53
38
|
}
|
|
54
39
|
export const AuthenticateTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
55
40
|
header: S.optional(S.String),
|
|
56
|
-
}).pipe(T.Http({ method: "POST", uri: "/v1/tokens/authenticate", code: 200 }))).annotate({
|
|
57
|
-
identifier: "AuthenticateTokenRequest",
|
|
58
|
-
});
|
|
41
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/tokens/authenticate", code: 200 }))).annotate({ identifier: "AuthenticateTokenRequest" });
|
|
59
42
|
export const MacaroonCaveatSetCaveatsList = /*@__PURE__*/ S.Array(S.Unknown);
|
|
60
43
|
export const MacaroonCaveatSet = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
61
44
|
caveats: S.optional(MacaroonCaveatSetCaveatsList),
|
|
62
|
-
})).annotate({
|
|
63
|
-
identifier: "MacaroonCaveatSet",
|
|
64
|
-
});
|
|
45
|
+
})).annotate({ identifier: "MacaroonCaveatSet" });
|
|
65
46
|
export const MacaroonNonceKidList = /*@__PURE__*/ S.Array(S.Number);
|
|
66
47
|
export const MacaroonNonceRndList = /*@__PURE__*/ S.Array(S.Number);
|
|
67
48
|
export const MacaroonNonce = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -75,9 +56,7 @@ export const RootVerifiedToken = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
75
56
|
header: S.optional(S.String),
|
|
76
57
|
nonce: S.optional(MacaroonNonce),
|
|
77
58
|
permission_token: S.optional(RootVerifiedTokenPermissionTokenList),
|
|
78
|
-
})).annotate({
|
|
79
|
-
identifier: "RootVerifiedToken",
|
|
80
|
-
});
|
|
59
|
+
})).annotate({ identifier: "RootVerifiedToken" });
|
|
81
60
|
export const AuthenticateTokenResponseBodyList = /*@__PURE__*/ S.Array(RootVerifiedToken);
|
|
82
61
|
export const AuthenticateTokenResponse = /*@__PURE__*/ S.suspend(() => AuthenticateTokenResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
83
62
|
identifier: "AuthenticateTokenResponse",
|
|
@@ -97,15 +76,11 @@ export const MainTokenAccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
97
76
|
source_machine: S.optional(S.String),
|
|
98
77
|
storage_object: S.optional(S.String),
|
|
99
78
|
volume_id: S.optional(S.String),
|
|
100
|
-
})).annotate({
|
|
101
|
-
identifier: "MainTokenAccess",
|
|
102
|
-
});
|
|
79
|
+
})).annotate({ identifier: "MainTokenAccess" });
|
|
103
80
|
export const AuthorizeTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
104
81
|
access: S.optional(MainTokenAccess),
|
|
105
82
|
header: S.optional(S.String),
|
|
106
|
-
}).pipe(T.Http({ method: "POST", uri: "/v1/tokens/authorize", code: 200 }))).annotate({
|
|
107
|
-
identifier: "AuthorizeTokenRequest",
|
|
108
|
-
});
|
|
83
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/tokens/authorize", code: 200 }))).annotate({ identifier: "AuthorizeTokenRequest" });
|
|
109
84
|
export const FlyioAccessCommandList = /*@__PURE__*/ S.Array(S.String);
|
|
110
85
|
export const FlyioAccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
111
86
|
action: S.optional(RessetAction),
|
|
@@ -127,17 +102,11 @@ export const FlyioAccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
127
102
|
export const AuthorizeResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
128
103
|
access: S.optional(FlyioAccess),
|
|
129
104
|
verified_token: S.optional(RootVerifiedToken),
|
|
130
|
-
})).annotate({
|
|
131
|
-
identifier: "AuthorizeResponse",
|
|
132
|
-
});
|
|
105
|
+
})).annotate({ identifier: "AuthorizeResponse" });
|
|
133
106
|
export const CheckAppCertificateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
134
107
|
app_name: S.String.pipe(T.Label()),
|
|
135
108
|
hostname: S.String.pipe(T.Label()),
|
|
136
|
-
}).pipe(T.Http({
|
|
137
|
-
method: "POST",
|
|
138
|
-
uri: "/v1/apps/{app_name}/certificates/{hostname}/check",
|
|
139
|
-
code: 200,
|
|
140
|
-
}))).annotate({
|
|
109
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/certificates/{hostname}/check", code: 200 }))).annotate({
|
|
141
110
|
identifier: "CheckAppCertificateRequest",
|
|
142
111
|
});
|
|
143
112
|
export const IssuedCertificateType = S.String;
|
|
@@ -145,9 +114,7 @@ export const IssuedCertificate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
145
114
|
certificate_authority: S.optional(S.String),
|
|
146
115
|
expires_at: S.optional(S.String),
|
|
147
116
|
type: S.optional(IssuedCertificateType),
|
|
148
|
-
})).annotate({
|
|
149
|
-
identifier: "IssuedCertificate",
|
|
150
|
-
});
|
|
117
|
+
})).annotate({ identifier: "IssuedCertificate" });
|
|
151
118
|
export const CertificateEntryIssuedList = /*@__PURE__*/ S.Array(IssuedCertificate);
|
|
152
119
|
export const CertificateEntrySource = S.String;
|
|
153
120
|
export const CertificateEntryStatus = S.String;
|
|
@@ -158,9 +125,7 @@ export const CertificateEntry = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
158
125
|
issuer: S.optional(S.String),
|
|
159
126
|
source: S.optional(CertificateEntrySource),
|
|
160
127
|
status: S.optional(CertificateEntryStatus),
|
|
161
|
-
})).annotate({
|
|
162
|
-
identifier: "CertificateEntry",
|
|
163
|
-
});
|
|
128
|
+
})).annotate({ identifier: "CertificateEntry" });
|
|
164
129
|
export const CertificateCheckResponseCertificatesList = /*@__PURE__*/ S.Array(CertificateEntry);
|
|
165
130
|
export const DNSRecordsAList = /*@__PURE__*/ S.Array(S.String);
|
|
166
131
|
export const DNSRecordsAaaaList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -185,26 +150,20 @@ export const OwnershipVerification = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
185
150
|
app_value: S.optional(S.String),
|
|
186
151
|
name: S.optional(S.String),
|
|
187
152
|
org_value: S.optional(S.String),
|
|
188
|
-
})).annotate({
|
|
189
|
-
identifier: "OwnershipVerification",
|
|
190
|
-
});
|
|
153
|
+
})).annotate({ identifier: "OwnershipVerification" });
|
|
191
154
|
export const DNSRequirements = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
192
155
|
a: S.optional(DNSRequirementsAList),
|
|
193
156
|
aaaa: S.optional(DNSRequirementsAaaaList),
|
|
194
157
|
acme_challenge: S.optional(AcmeChallenge),
|
|
195
158
|
cname: S.optional(S.String),
|
|
196
159
|
ownership: S.optional(OwnershipVerification),
|
|
197
|
-
})).annotate({
|
|
198
|
-
identifier: "DNSRequirements",
|
|
199
|
-
});
|
|
160
|
+
})).annotate({ identifier: "DNSRequirements" });
|
|
200
161
|
export const CertificateValidation = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
201
162
|
alpn_configured: S.optional(S.Boolean),
|
|
202
163
|
dns_configured: S.optional(S.Boolean),
|
|
203
164
|
http_configured: S.optional(S.Boolean),
|
|
204
165
|
ownership_txt_configured: S.optional(S.Boolean),
|
|
205
|
-
})).annotate({
|
|
206
|
-
identifier: "CertificateValidation",
|
|
207
|
-
});
|
|
166
|
+
})).annotate({ identifier: "CertificateValidation" });
|
|
208
167
|
export const CertificateValidationError = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
209
168
|
code: S.optional(S.String),
|
|
210
169
|
message: S.optional(S.String),
|
|
@@ -213,8 +172,7 @@ export const CertificateValidationError = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
213
172
|
})).annotate({
|
|
214
173
|
identifier: "CertificateValidationError",
|
|
215
174
|
});
|
|
216
|
-
export const CertificateCheckResponseValidationErrorsList =
|
|
217
|
-
/*@__PURE__*/ S.Array(CertificateValidationError);
|
|
175
|
+
export const CertificateCheckResponseValidationErrorsList = /*@__PURE__*/ S.Array(CertificateValidationError);
|
|
218
176
|
export const CertificateCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
219
177
|
acme_requested: S.optional(S.Boolean),
|
|
220
178
|
certificates: S.optional(CertificateCheckResponseCertificatesList),
|
|
@@ -227,20 +185,12 @@ export const CertificateCheckResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
227
185
|
status: S.optional(S.String),
|
|
228
186
|
validation: S.optional(CertificateValidation),
|
|
229
187
|
validation_errors: S.optional(CertificateCheckResponseValidationErrorsList),
|
|
230
|
-
})).annotate({
|
|
231
|
-
identifier: "CertificateCheckResponse",
|
|
232
|
-
});
|
|
188
|
+
})).annotate({ identifier: "CertificateCheckResponse" });
|
|
233
189
|
export const CordonMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
234
190
|
app_name: S.String.pipe(T.Label()),
|
|
235
191
|
machine_id: S.String.pipe(T.Label()),
|
|
236
192
|
lease_nonce: S.optional(S.String.pipe(T.Header("fly-machine-lease-nonce"))),
|
|
237
|
-
}).pipe(T.Http({
|
|
238
|
-
method: "POST",
|
|
239
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/cordon",
|
|
240
|
-
code: 200,
|
|
241
|
-
}))).annotate({
|
|
242
|
-
identifier: "CordonMachineRequest",
|
|
243
|
-
});
|
|
193
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/machines/{machine_id}/cordon", code: 200 }))).annotate({ identifier: "CordonMachineRequest" });
|
|
244
194
|
export const CordonMachineResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
245
195
|
identifier: "CordonMachineResponse",
|
|
246
196
|
});
|
|
@@ -250,23 +200,15 @@ export const CreateAppRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
250
200
|
name: S.optional(S.String),
|
|
251
201
|
network: S.optional(S.String),
|
|
252
202
|
org_slug: S.optional(S.String),
|
|
253
|
-
}).pipe(T.Http({ method: "POST", uri: "/v1/apps", code: 200 }))).annotate({
|
|
254
|
-
identifier: "CreateAppRequest",
|
|
255
|
-
});
|
|
203
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps", code: 200 }))).annotate({ identifier: "CreateAppRequest" });
|
|
256
204
|
export const CreateAppResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
257
205
|
created_at: S.optional(S.Number),
|
|
258
206
|
id: S.optional(S.String),
|
|
259
|
-
})).annotate({
|
|
260
|
-
identifier: "CreateAppResponse",
|
|
261
|
-
});
|
|
207
|
+
})).annotate({ identifier: "CreateAppResponse" });
|
|
262
208
|
export const CreateAppAcmeCertificateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
263
209
|
app_name: S.String.pipe(T.Label()),
|
|
264
210
|
hostname: S.optional(S.String),
|
|
265
|
-
}).pipe(T.Http({
|
|
266
|
-
method: "POST",
|
|
267
|
-
uri: "/v1/apps/{app_name}/certificates/acme",
|
|
268
|
-
code: 200,
|
|
269
|
-
}))).annotate({
|
|
211
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/certificates/acme", code: 200 }))).annotate({
|
|
270
212
|
identifier: "CreateAppAcmeCertificateRequest",
|
|
271
213
|
});
|
|
272
214
|
export const CertificateDetailCertificatesList = /*@__PURE__*/ S.Array(CertificateEntry);
|
|
@@ -282,29 +224,19 @@ export const CertificateDetail = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
282
224
|
status: S.optional(S.String),
|
|
283
225
|
validation: S.optional(CertificateValidation),
|
|
284
226
|
validation_errors: S.optional(CertificateDetailValidationErrorsList),
|
|
285
|
-
})).annotate({
|
|
286
|
-
identifier: "CertificateDetail",
|
|
287
|
-
});
|
|
227
|
+
})).annotate({ identifier: "CertificateDetail" });
|
|
288
228
|
export const CreateAppCustomCertificateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
289
229
|
app_name: S.String.pipe(T.Label()),
|
|
290
230
|
fullchain: S.optional(S.String),
|
|
291
231
|
hostname: S.optional(S.String),
|
|
292
232
|
private_key: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
293
|
-
}).pipe(T.Http({
|
|
294
|
-
method: "POST",
|
|
295
|
-
uri: "/v1/apps/{app_name}/certificates/custom",
|
|
296
|
-
code: 200,
|
|
297
|
-
}))).annotate({
|
|
233
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/certificates/custom", code: 200 }))).annotate({
|
|
298
234
|
identifier: "CreateAppCustomCertificateRequest",
|
|
299
235
|
});
|
|
300
236
|
export const CreateAppDeployTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
301
237
|
app_name: S.String.pipe(T.Label()),
|
|
302
238
|
expiry: S.optional(S.String),
|
|
303
|
-
}).pipe(T.Http({
|
|
304
|
-
method: "POST",
|
|
305
|
-
uri: "/v1/apps/{app_name}/deploy_token",
|
|
306
|
-
code: 200,
|
|
307
|
-
}))).annotate({
|
|
239
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/deploy_token", code: 200 }))).annotate({
|
|
308
240
|
identifier: "CreateAppDeployTokenRequest",
|
|
309
241
|
});
|
|
310
242
|
export const CreateAppDeployTokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -320,11 +252,7 @@ export const CreateAppIPAssignmentRequest = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
320
252
|
region: S.optional(S.String),
|
|
321
253
|
service_name: S.optional(S.String),
|
|
322
254
|
type: S.optional(IPAssignmentType),
|
|
323
|
-
}).pipe(T.Http({
|
|
324
|
-
method: "POST",
|
|
325
|
-
uri: "/v1/apps/{app_name}/ip_assignments",
|
|
326
|
-
code: 200,
|
|
327
|
-
}))).annotate({
|
|
255
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/ip_assignments", code: 200 }))).annotate({
|
|
328
256
|
identifier: "CreateAppIPAssignmentRequest",
|
|
329
257
|
});
|
|
330
258
|
export const IPPair = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -334,9 +262,7 @@ export const IPPair = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
334
262
|
export const IPAssignmentNetwork = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
335
263
|
name: S.optional(S.String),
|
|
336
264
|
org_slug: S.optional(S.String),
|
|
337
|
-
})).annotate({
|
|
338
|
-
identifier: "IPAssignmentNetwork",
|
|
339
|
-
});
|
|
265
|
+
})).annotate({ identifier: "IPAssignmentNetwork" });
|
|
340
266
|
export const AssignIPResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
341
267
|
created_at: S.optional(S.String),
|
|
342
268
|
egress: S.optional(S.Boolean),
|
|
@@ -346,21 +272,15 @@ export const AssignIPResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
346
272
|
region: S.optional(S.String),
|
|
347
273
|
service_name: S.optional(S.String),
|
|
348
274
|
shared: S.optional(S.Boolean),
|
|
349
|
-
})).annotate({
|
|
350
|
-
identifier: "AssignIPResponse",
|
|
351
|
-
});
|
|
275
|
+
})).annotate({ identifier: "AssignIPResponse" });
|
|
352
276
|
export const FlyMachineCacheDrive = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
353
277
|
size_mb: S.optional(S.Number),
|
|
354
|
-
})).annotate({
|
|
355
|
-
identifier: "FlyMachineCacheDrive",
|
|
356
|
-
});
|
|
278
|
+
})).annotate({ identifier: "FlyMachineCacheDrive" });
|
|
357
279
|
export const FlyMachineHTTPHeaderValuesList = /*@__PURE__*/ S.Array(S.String);
|
|
358
280
|
export const FlyMachineHTTPHeader = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
359
281
|
name: S.optional(S.String),
|
|
360
282
|
values: S.optional(FlyMachineHTTPHeaderValuesList),
|
|
361
|
-
})).annotate({
|
|
362
|
-
identifier: "FlyMachineHTTPHeader",
|
|
363
|
-
});
|
|
283
|
+
})).annotate({ identifier: "FlyMachineHTTPHeader" });
|
|
364
284
|
export const FlyMachineCheckHeadersList = /*@__PURE__*/ S.Array(FlyMachineHTTPHeader);
|
|
365
285
|
export const FlyMachineCheckKind = S.String;
|
|
366
286
|
export const FlyMachineCheck = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -376,18 +296,14 @@ export const FlyMachineCheck = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
376
296
|
tls_server_name: S.optional(S.String),
|
|
377
297
|
tls_skip_verify: S.optional(S.Boolean),
|
|
378
298
|
type: S.optional(S.String),
|
|
379
|
-
})).annotate({
|
|
380
|
-
identifier: "FlyMachineCheck",
|
|
381
|
-
});
|
|
299
|
+
})).annotate({ identifier: "FlyMachineCheck" });
|
|
382
300
|
export const FlyMachineConfigChecksMap = /*@__PURE__*/ S.Record(S.String, FlyMachineCheck);
|
|
383
301
|
export const FlyContainerConfigCmdList = /*@__PURE__*/ S.Array(S.String);
|
|
384
302
|
export const FlyContainerDependencyCondition = S.String;
|
|
385
303
|
export const FlyContainerDependency = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
386
304
|
condition: S.optional(FlyContainerDependencyCondition),
|
|
387
305
|
name: S.optional(S.String),
|
|
388
|
-
})).annotate({
|
|
389
|
-
identifier: "FlyContainerDependency",
|
|
390
|
-
});
|
|
306
|
+
})).annotate({ identifier: "FlyContainerDependency" });
|
|
391
307
|
export const FlyContainerConfigDependsOnList = /*@__PURE__*/ S.Array(FlyContainerDependency);
|
|
392
308
|
export const FlyContainerConfigEntrypointList = /*@__PURE__*/ S.Array(S.String);
|
|
393
309
|
export const FlyContainerConfigEnvMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
@@ -409,9 +325,7 @@ export const FlyContainerConfigFilesList = /*@__PURE__*/ S.Array(FlyFile);
|
|
|
409
325
|
export const FlyExecHealthcheckCommandList = /*@__PURE__*/ S.Array(S.String);
|
|
410
326
|
export const FlyExecHealthcheck = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
411
327
|
command: S.optional(FlyExecHealthcheckCommandList),
|
|
412
|
-
})).annotate({
|
|
413
|
-
identifier: "FlyExecHealthcheck",
|
|
414
|
-
});
|
|
328
|
+
})).annotate({ identifier: "FlyExecHealthcheck" });
|
|
415
329
|
export const FlyHTTPHealthcheckHeadersList = /*@__PURE__*/ S.Array(FlyMachineHTTPHeader);
|
|
416
330
|
export const FlyContainerHealthcheckScheme = S.String;
|
|
417
331
|
export const FlyHTTPHealthcheck = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -422,15 +336,11 @@ export const FlyHTTPHealthcheck = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
422
336
|
scheme: S.optional(FlyContainerHealthcheckScheme),
|
|
423
337
|
tls_server_name: S.optional(S.String),
|
|
424
338
|
tls_skip_verify: S.optional(S.Boolean),
|
|
425
|
-
})).annotate({
|
|
426
|
-
identifier: "FlyHTTPHealthcheck",
|
|
427
|
-
});
|
|
339
|
+
})).annotate({ identifier: "FlyHTTPHealthcheck" });
|
|
428
340
|
export const FlyContainerHealthcheckKind = S.String;
|
|
429
341
|
export const FlyTCPHealthcheck = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
430
342
|
port: S.optional(S.Number),
|
|
431
|
-
})).annotate({
|
|
432
|
-
identifier: "FlyTCPHealthcheck",
|
|
433
|
-
});
|
|
343
|
+
})).annotate({ identifier: "FlyTCPHealthcheck" });
|
|
434
344
|
export const FlyUnhealthyPolicy = S.String;
|
|
435
345
|
export const FlyContainerHealthcheck = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
436
346
|
exec: S.optional(FlyExecHealthcheck),
|
|
@@ -444,23 +354,17 @@ export const FlyContainerHealthcheck = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
444
354
|
tcp: S.optional(FlyTCPHealthcheck),
|
|
445
355
|
timeout: S.optional(S.Number),
|
|
446
356
|
unhealthy: S.optional(FlyUnhealthyPolicy),
|
|
447
|
-
})).annotate({
|
|
448
|
-
identifier: "FlyContainerHealthcheck",
|
|
449
|
-
});
|
|
357
|
+
})).annotate({ identifier: "FlyContainerHealthcheck" });
|
|
450
358
|
export const FlyContainerConfigHealthchecksList = /*@__PURE__*/ S.Array(FlyContainerHealthcheck);
|
|
451
359
|
export const FlyMachineRestartPolicy = S.String;
|
|
452
360
|
export const FlyMachineRestart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
453
361
|
max_retries: S.optional(S.Number),
|
|
454
362
|
policy: S.optional(FlyMachineRestartPolicy),
|
|
455
|
-
})).annotate({
|
|
456
|
-
identifier: "FlyMachineRestart",
|
|
457
|
-
});
|
|
363
|
+
})).annotate({ identifier: "FlyMachineRestart" });
|
|
458
364
|
export const FlyMachineSecret = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
459
365
|
env_var: S.optional(S.String),
|
|
460
366
|
name: S.optional(S.String),
|
|
461
|
-
})).annotate({
|
|
462
|
-
identifier: "FlyMachineSecret",
|
|
463
|
-
});
|
|
367
|
+
})).annotate({ identifier: "FlyMachineSecret" });
|
|
464
368
|
export const FlyContainerConfigSecretsList = /*@__PURE__*/ S.Array(FlyMachineSecret);
|
|
465
369
|
export const FlyStopConfigSignal = S.String;
|
|
466
370
|
export const FlyStopConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -482,16 +386,12 @@ export const FlyContainerConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
482
386
|
secrets: S.optional(FlyContainerConfigSecretsList),
|
|
483
387
|
stop: S.optional(FlyStopConfig),
|
|
484
388
|
user: S.optional(S.String),
|
|
485
|
-
})).annotate({
|
|
486
|
-
identifier: "FlyContainerConfig",
|
|
487
|
-
});
|
|
389
|
+
})).annotate({ identifier: "FlyContainerConfig" });
|
|
488
390
|
export const FlyMachineConfigContainersList = /*@__PURE__*/ S.Array(FlyContainerConfig);
|
|
489
391
|
export const FlyDnsForwardRule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
490
392
|
addr: S.optional(S.String),
|
|
491
393
|
basename: S.optional(S.String),
|
|
492
|
-
})).annotate({
|
|
493
|
-
identifier: "FlyDnsForwardRule",
|
|
494
|
-
});
|
|
394
|
+
})).annotate({ identifier: "FlyDnsForwardRule" });
|
|
495
395
|
export const FlyDNSConfigDnsForwardRulesList = /*@__PURE__*/ S.Array(FlyDnsForwardRule);
|
|
496
396
|
export const FlyDNSConfigNameserversList = /*@__PURE__*/ S.Array(S.String);
|
|
497
397
|
export const FlyDnsOption = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -525,9 +425,7 @@ export const FlyMachineGuest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
525
425
|
memory_mb: S.optional(S.Number),
|
|
526
426
|
persist_rootfs: S.optional(FlyMachineGuestPersistRootfs),
|
|
527
427
|
required_host_features: S.optional(FlyMachineGuestRequiredHostFeaturesList),
|
|
528
|
-
})).annotate({
|
|
529
|
-
identifier: "FlyMachineGuest",
|
|
530
|
-
});
|
|
428
|
+
})).annotate({ identifier: "FlyMachineGuest" });
|
|
531
429
|
export const FlyMachineInitCmdList = /*@__PURE__*/ S.Array(S.String);
|
|
532
430
|
export const FlyMachineInitEntrypointList = /*@__PURE__*/ S.Array(S.String);
|
|
533
431
|
export const FlyMachineInitExecList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -545,9 +443,7 @@ export const FlyMachineMetrics = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
545
443
|
https: S.optional(S.Boolean),
|
|
546
444
|
path: S.optional(S.String),
|
|
547
445
|
port: S.optional(S.Number),
|
|
548
|
-
})).annotate({
|
|
549
|
-
identifier: "FlyMachineMetrics",
|
|
550
|
-
});
|
|
446
|
+
})).annotate({ identifier: "FlyMachineMetrics" });
|
|
551
447
|
export const FlyMachineMount = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
552
448
|
add_size_gb: S.optional(S.Number),
|
|
553
449
|
add_size_percent: S.optional(S.Number),
|
|
@@ -559,9 +455,7 @@ export const FlyMachineMount = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
559
455
|
size_gb: S.optional(S.Number),
|
|
560
456
|
size_gb_limit: S.optional(S.Number),
|
|
561
457
|
volume: S.optional(S.String),
|
|
562
|
-
})).annotate({
|
|
563
|
-
identifier: "FlyMachineMount",
|
|
564
|
-
});
|
|
458
|
+
})).annotate({ identifier: "FlyMachineMount" });
|
|
565
459
|
export const FlyMachineConfigMountsList = /*@__PURE__*/ S.Array(FlyMachineMount);
|
|
566
460
|
export const FlyMachineProcessCmdList = /*@__PURE__*/ S.Array(S.String);
|
|
567
461
|
export const FlyMachineProcessEntrypointList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -578,20 +472,18 @@ export const FlyMachineProcess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
578
472
|
ignore_app_secrets: S.optional(S.Boolean),
|
|
579
473
|
secrets: S.optional(FlyMachineProcessSecretsList),
|
|
580
474
|
user: S.optional(S.String),
|
|
581
|
-
})).annotate({
|
|
582
|
-
identifier: "FlyMachineProcess",
|
|
583
|
-
});
|
|
475
|
+
})).annotate({ identifier: "FlyMachineProcess" });
|
|
584
476
|
export const FlyMachineConfigProcessesList = /*@__PURE__*/ S.Array(FlyMachineProcess);
|
|
585
477
|
export const FlyMachineRootfsPersist = S.String;
|
|
586
478
|
export const FlyMachineRootfs = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
587
479
|
persist: S.optional(FlyMachineRootfsPersist),
|
|
588
480
|
size_gb: S.optional(S.Number),
|
|
589
|
-
})).annotate({
|
|
590
|
-
identifier: "FlyMachineRootfs",
|
|
591
|
-
});
|
|
481
|
+
})).annotate({ identifier: "FlyMachineRootfs" });
|
|
592
482
|
export const FlyMachineServiceAutostopMode = S.String;
|
|
593
|
-
export const FlyMachineServiceAutostop =
|
|
594
|
-
|
|
483
|
+
export const FlyMachineServiceAutostop = /*@__PURE__*/ S.Union([
|
|
484
|
+
FlyMachineServiceAutostopMode,
|
|
485
|
+
S.Boolean,
|
|
486
|
+
]);
|
|
595
487
|
export const FlyMachineServiceCheckHeadersList = /*@__PURE__*/ S.Array(FlyMachineHTTPHeader);
|
|
596
488
|
export const FlyMachineServiceCheck = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
597
489
|
grace_period: S.optional(S.String),
|
|
@@ -605,9 +497,7 @@ export const FlyMachineServiceCheck = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
605
497
|
tls_server_name: S.optional(S.String),
|
|
606
498
|
tls_skip_verify: S.optional(S.Boolean),
|
|
607
499
|
type: S.optional(S.String),
|
|
608
|
-
})).annotate({
|
|
609
|
-
identifier: "FlyMachineServiceCheck",
|
|
610
|
-
});
|
|
500
|
+
})).annotate({ identifier: "FlyMachineServiceCheck" });
|
|
611
501
|
export const FlyMachineServiceChecksList = /*@__PURE__*/ S.Array(FlyMachineServiceCheck);
|
|
612
502
|
export const FlyMachineServiceConcurrency = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
613
503
|
hard_limit: S.optional(S.Number),
|
|
@@ -630,9 +520,7 @@ export const FlyHTTPResponseOptionsHeadersMap = /*@__PURE__*/ S.Record(S.String,
|
|
|
630
520
|
export const FlyHTTPResponseOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
631
521
|
headers: S.optional(FlyHTTPResponseOptionsHeadersMap),
|
|
632
522
|
pristine: S.optional(S.Boolean),
|
|
633
|
-
})).annotate({
|
|
634
|
-
identifier: "FlyHTTPResponseOptions",
|
|
635
|
-
});
|
|
523
|
+
})).annotate({ identifier: "FlyHTTPResponseOptions" });
|
|
636
524
|
export const FlyHTTPOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
637
525
|
compress: S.optional(S.Boolean),
|
|
638
526
|
h2_backend: S.optional(S.Boolean),
|
|
@@ -643,9 +531,7 @@ export const FlyHTTPOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
643
531
|
})).annotate({ identifier: "FlyHTTPOptions" });
|
|
644
532
|
export const FlyProxyProtoOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
645
533
|
version: S.optional(S.String),
|
|
646
|
-
})).annotate({
|
|
647
|
-
identifier: "FlyProxyProtoOptions",
|
|
648
|
-
});
|
|
534
|
+
})).annotate({ identifier: "FlyProxyProtoOptions" });
|
|
649
535
|
export const FlyTLSOptionsAlpnList = /*@__PURE__*/ S.Array(S.String);
|
|
650
536
|
export const FlyTLSOptionsVersionsList = /*@__PURE__*/ S.Array(S.String);
|
|
651
537
|
export const FlyTLSOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -675,9 +561,7 @@ export const FlyMachineService = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
675
561
|
min_machines_running: S.optional(S.Number),
|
|
676
562
|
ports: S.optional(FlyMachineServicePortsList),
|
|
677
563
|
protocol: S.optional(S.String),
|
|
678
|
-
})).annotate({
|
|
679
|
-
identifier: "FlyMachineService",
|
|
680
|
-
});
|
|
564
|
+
})).annotate({ identifier: "FlyMachineService" });
|
|
681
565
|
export const FlyMachineConfigServicesList = /*@__PURE__*/ S.Array(FlyMachineService);
|
|
682
566
|
export const FlyMachineSpot = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
683
567
|
max_price_fraction: S.optional(S.Number),
|
|
@@ -715,9 +599,7 @@ export const FlyMachineConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
715
599
|
standbys: S.optional(FlyMachineConfigStandbysList),
|
|
716
600
|
statics: S.optional(FlyMachineConfigStaticsList),
|
|
717
601
|
stop_config: S.optional(FlyStopConfig),
|
|
718
|
-
})).annotate({
|
|
719
|
-
identifier: "FlyMachineConfig",
|
|
720
|
-
});
|
|
602
|
+
})).annotate({ identifier: "FlyMachineConfig" });
|
|
721
603
|
export const CreateMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
722
604
|
app_name: S.String.pipe(T.Label()),
|
|
723
605
|
config: S.optional(FlyMachineConfig),
|
|
@@ -728,9 +610,7 @@ export const CreateMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
728
610
|
skip_launch: S.optional(S.Boolean),
|
|
729
611
|
skip_secrets: S.optional(S.Boolean),
|
|
730
612
|
skip_service_registration: S.optional(S.Boolean),
|
|
731
|
-
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/machines", code: 200 }))).annotate({
|
|
732
|
-
identifier: "CreateMachineRequest",
|
|
733
|
-
});
|
|
613
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/machines", code: 200 }))).annotate({ identifier: "CreateMachineRequest" });
|
|
734
614
|
export const CheckStatus = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
735
615
|
name: S.optional(S.String),
|
|
736
616
|
output: S.optional(S.String),
|
|
@@ -789,11 +669,7 @@ export const CreateMachineLeaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct(
|
|
|
789
669
|
description: S.optional(S.String),
|
|
790
670
|
ttl: S.optional(S.Number.pipe(T.Query())),
|
|
791
671
|
lease_nonce: S.optional(S.String.pipe(T.Header("fly-machine-lease-nonce"))),
|
|
792
|
-
}).pipe(T.Http({
|
|
793
|
-
method: "POST",
|
|
794
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/lease",
|
|
795
|
-
code: 200,
|
|
796
|
-
}))).annotate({
|
|
672
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/machines/{machine_id}/lease", code: 200 }))).annotate({
|
|
797
673
|
identifier: "CreateMachineLeaseRequest",
|
|
798
674
|
});
|
|
799
675
|
export const Lease = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -819,39 +695,27 @@ export const CreatePostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
819
695
|
pool_mode: S.optional(CreatePostgresRequestPoolMode),
|
|
820
696
|
postgis_enabled: S.optional(S.Boolean),
|
|
821
697
|
region: S.String,
|
|
822
|
-
}).pipe(T.Http({ method: "POST", uri: "/v1/postgres", code: 200 }))).annotate({
|
|
823
|
-
identifier: "CreatePostgresRequest",
|
|
824
|
-
});
|
|
698
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/postgres", code: 200 }))).annotate({ identifier: "CreatePostgresRequest" });
|
|
825
699
|
export const PostgresAttachedApp = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
826
700
|
name: S.optional(S.String),
|
|
827
|
-
})).annotate({
|
|
828
|
-
identifier: "PostgresAttachedApp",
|
|
829
|
-
});
|
|
701
|
+
})).annotate({ identifier: "PostgresAttachedApp" });
|
|
830
702
|
export const PostgresClusterAttachedAppsList = /*@__PURE__*/ S.Array(PostgresAttachedApp);
|
|
831
703
|
export const PostgresClusterCpuKind = S.String;
|
|
832
704
|
export const PostgresEndpoint = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
833
705
|
host: S.optional(S.String),
|
|
834
706
|
port: S.optional(S.Number),
|
|
835
|
-
})).annotate({
|
|
836
|
-
identifier: "PostgresEndpoint",
|
|
837
|
-
});
|
|
707
|
+
})).annotate({ identifier: "PostgresEndpoint" });
|
|
838
708
|
export const PostgresNodeEndpoints = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
839
709
|
direct: S.optional(PostgresEndpoint),
|
|
840
710
|
pooler: S.optional(PostgresEndpoint),
|
|
841
|
-
})).annotate({
|
|
842
|
-
identifier: "PostgresNodeEndpoints",
|
|
843
|
-
});
|
|
711
|
+
})).annotate({ identifier: "PostgresNodeEndpoints" });
|
|
844
712
|
export const PostgresClusterEndpoints = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
845
713
|
primary: S.optional(PostgresNodeEndpoints),
|
|
846
|
-
})).annotate({
|
|
847
|
-
identifier: "PostgresClusterEndpoints",
|
|
848
|
-
});
|
|
714
|
+
})).annotate({ identifier: "PostgresClusterEndpoints" });
|
|
849
715
|
export const OrganizationRef = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
850
716
|
name: S.optional(S.String),
|
|
851
717
|
slug: S.optional(S.String),
|
|
852
|
-
})).annotate({
|
|
853
|
-
identifier: "OrganizationRef",
|
|
854
|
-
});
|
|
718
|
+
})).annotate({ identifier: "OrganizationRef" });
|
|
855
719
|
export const PostgresClusterPgMajorVersion = S.String;
|
|
856
720
|
export const PostgresClusterPlan = S.String;
|
|
857
721
|
export const PostgresClusterStatus = S.String;
|
|
@@ -874,9 +738,7 @@ export const PostgresCluster = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
874
738
|
status: S.optional(PostgresClusterStatus),
|
|
875
739
|
storage_provisioned_bytes: S.optional(S.NullOr(S.Number)),
|
|
876
740
|
storage_used_bytes: S.optional(S.NullOr(S.Number)),
|
|
877
|
-
})).annotate({
|
|
878
|
-
identifier: "PostgresCluster",
|
|
879
|
-
});
|
|
741
|
+
})).annotate({ identifier: "PostgresCluster" });
|
|
880
742
|
export const ShowPostgresClusterResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
881
743
|
data: S.optional(PostgresCluster),
|
|
882
744
|
})).annotate({
|
|
@@ -885,20 +747,14 @@ export const ShowPostgresClusterResponse = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
885
747
|
export const CreatePostgresAttachmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
886
748
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
887
749
|
app_name: S.String,
|
|
888
|
-
}).pipe(T.Http({
|
|
889
|
-
method: "POST",
|
|
890
|
-
uri: "/v1/postgres/{postgres_cluster_id}/attachments",
|
|
891
|
-
code: 200,
|
|
892
|
-
}))).annotate({
|
|
750
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/postgres/{postgres_cluster_id}/attachments", code: 200 }))).annotate({
|
|
893
751
|
identifier: "CreatePostgresAttachmentRequest",
|
|
894
752
|
});
|
|
895
753
|
export const PostgresAttachment = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
896
754
|
app_name: S.optional(S.String),
|
|
897
755
|
attached_at: S.optional(S.String),
|
|
898
756
|
postgres_cluster_id: S.optional(S.String),
|
|
899
|
-
})).annotate({
|
|
900
|
-
identifier: "PostgresAttachment",
|
|
901
|
-
});
|
|
757
|
+
})).annotate({ identifier: "PostgresAttachment" });
|
|
902
758
|
export const CreatePostgresAttachmentResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
903
759
|
data: S.optional(PostgresAttachment),
|
|
904
760
|
})).annotate({
|
|
@@ -908,11 +764,7 @@ export const CreatePostgresBackupRequestType = S.String;
|
|
|
908
764
|
export const CreatePostgresBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
909
765
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
910
766
|
type: CreatePostgresBackupRequestType,
|
|
911
|
-
}).pipe(T.Http({
|
|
912
|
-
method: "POST",
|
|
913
|
-
uri: "/v1/postgres/{postgres_cluster_id}/backups",
|
|
914
|
-
code: 200,
|
|
915
|
-
}))).annotate({
|
|
767
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/postgres/{postgres_cluster_id}/backups", code: 200 }))).annotate({
|
|
916
768
|
identifier: "CreatePostgresBackupRequest",
|
|
917
769
|
});
|
|
918
770
|
export const CreatePostgresBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
@@ -921,33 +773,21 @@ export const CreatePostgresBackupResponse = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
921
773
|
export const CreatePostgresDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
922
774
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
923
775
|
name: S.String,
|
|
924
|
-
}).pipe(T.Http({
|
|
925
|
-
method: "POST",
|
|
926
|
-
uri: "/v1/postgres/{postgres_cluster_id}/databases",
|
|
927
|
-
code: 200,
|
|
928
|
-
}))).annotate({
|
|
776
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/postgres/{postgres_cluster_id}/databases", code: 200 }))).annotate({
|
|
929
777
|
identifier: "CreatePostgresDatabaseRequest",
|
|
930
778
|
});
|
|
931
779
|
export const PostgresDatabase = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
932
780
|
name: S.optional(S.String),
|
|
933
|
-
})).annotate({
|
|
934
|
-
identifier: "PostgresDatabase",
|
|
935
|
-
});
|
|
781
|
+
})).annotate({ identifier: "PostgresDatabase" });
|
|
936
782
|
export const PostgresDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
937
783
|
data: S.optional(PostgresDatabase),
|
|
938
|
-
})).annotate({
|
|
939
|
-
identifier: "PostgresDatabaseResponse",
|
|
940
|
-
});
|
|
784
|
+
})).annotate({ identifier: "PostgresDatabaseResponse" });
|
|
941
785
|
export const CreatePostgresUserRequestRole = S.String;
|
|
942
786
|
export const CreatePostgresUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
943
787
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
944
788
|
role: CreatePostgresUserRequestRole,
|
|
945
789
|
username: S.String,
|
|
946
|
-
}).pipe(T.Http({
|
|
947
|
-
method: "POST",
|
|
948
|
-
uri: "/v1/postgres/{postgres_cluster_id}/users",
|
|
949
|
-
code: 200,
|
|
950
|
-
}))).annotate({
|
|
790
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/postgres/{postgres_cluster_id}/users", code: 200 }))).annotate({
|
|
951
791
|
identifier: "CreatePostgresUserRequest",
|
|
952
792
|
});
|
|
953
793
|
export const PostgresUserRole = S.String;
|
|
@@ -964,13 +804,7 @@ export const CreateSecretRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
964
804
|
app_name: S.String.pipe(T.Label()),
|
|
965
805
|
secret_name: S.String.pipe(T.Label()),
|
|
966
806
|
value: S.optional(S.String),
|
|
967
|
-
}).pipe(T.Http({
|
|
968
|
-
method: "POST",
|
|
969
|
-
uri: "/v1/apps/{app_name}/secrets/{secret_name}",
|
|
970
|
-
code: 200,
|
|
971
|
-
}))).annotate({
|
|
972
|
-
identifier: "CreateSecretRequest",
|
|
973
|
-
});
|
|
807
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/secrets/{secret_name}", code: 200 }))).annotate({ identifier: "CreateSecretRequest" });
|
|
974
808
|
export const SetAppSecretResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
975
809
|
Version: S.optional(S.Number),
|
|
976
810
|
created_at: S.optional(S.String),
|
|
@@ -979,9 +813,7 @@ export const SetAppSecretResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
979
813
|
updated_at: S.optional(S.String),
|
|
980
814
|
value: S.optional(S.String),
|
|
981
815
|
version: S.optional(S.Number),
|
|
982
|
-
})).annotate({
|
|
983
|
-
identifier: "SetAppSecretResponse",
|
|
984
|
-
});
|
|
816
|
+
})).annotate({ identifier: "SetAppSecretResponse" });
|
|
985
817
|
export const CreateVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
986
818
|
app_name: S.String.pipe(T.Label()),
|
|
987
819
|
auto_backup_enabled: S.optional(S.Boolean),
|
|
@@ -997,9 +829,7 @@ export const CreateVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
997
829
|
snapshot_retention: S.optional(S.Number),
|
|
998
830
|
source_volume_id: S.optional(S.String),
|
|
999
831
|
unique_zone_app_wide: S.optional(S.Boolean),
|
|
1000
|
-
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/volumes", code: 200 }))).annotate({
|
|
1001
|
-
identifier: "CreateVolumeRequest",
|
|
1002
|
-
});
|
|
832
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/volumes", code: 200 }))).annotate({ identifier: "CreateVolumeRequest" });
|
|
1003
833
|
export const VolumeHostFeaturesList = /*@__PURE__*/ S.Array(S.String);
|
|
1004
834
|
export const VolumeHostStatus = S.String;
|
|
1005
835
|
export const VolumeRequiredHostFeaturesList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -1032,11 +862,7 @@ export const Volume = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1032
862
|
export const CreateVolumeSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1033
863
|
app_name: S.String.pipe(T.Label()),
|
|
1034
864
|
volume_id: S.String.pipe(T.Label()),
|
|
1035
|
-
}).pipe(T.Http({
|
|
1036
|
-
method: "POST",
|
|
1037
|
-
uri: "/v1/apps/{app_name}/volumes/{volume_id}/snapshots",
|
|
1038
|
-
code: 200,
|
|
1039
|
-
}))).annotate({
|
|
865
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/volumes/{volume_id}/snapshots", code: 200 }))).annotate({
|
|
1040
866
|
identifier: "CreateVolumeSnapshotRequest",
|
|
1041
867
|
});
|
|
1042
868
|
export const CreateVolumeSnapshotResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
@@ -1052,19 +878,13 @@ export const DecryptSecretKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1052
878
|
method: "POST",
|
|
1053
879
|
uri: "/v1/apps/{app_name}/secretkeys/{secret_name}/decrypt",
|
|
1054
880
|
code: 200,
|
|
1055
|
-
}))).annotate({
|
|
1056
|
-
identifier: "DecryptSecretKeyRequest",
|
|
1057
|
-
});
|
|
881
|
+
}))).annotate({ identifier: "DecryptSecretKeyRequest" });
|
|
1058
882
|
export const DecryptSecretkeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1059
883
|
plaintext: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
1060
|
-
})).annotate({
|
|
1061
|
-
identifier: "DecryptSecretkeyResponse",
|
|
1062
|
-
});
|
|
884
|
+
})).annotate({ identifier: "DecryptSecretkeyResponse" });
|
|
1063
885
|
export const DeleteAppRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1064
886
|
app_name: S.String.pipe(T.Label()),
|
|
1065
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/v1/apps/{app_name}", code: 200 }))).annotate({
|
|
1066
|
-
identifier: "DeleteAppRequest",
|
|
1067
|
-
});
|
|
887
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v1/apps/{app_name}", code: 200 }))).annotate({ identifier: "DeleteAppRequest" });
|
|
1068
888
|
export const DeleteAppResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1069
889
|
identifier: "DeleteAppResponse",
|
|
1070
890
|
});
|
|
@@ -1081,11 +901,7 @@ export const DeleteAppAcmeCertificateRequest = /*@__PURE__*/ S.suspend(() => S.S
|
|
|
1081
901
|
export const DeleteAppCertificateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1082
902
|
app_name: S.String.pipe(T.Label()),
|
|
1083
903
|
hostname: S.String.pipe(T.Label()),
|
|
1084
|
-
}).pipe(T.Http({
|
|
1085
|
-
method: "DELETE",
|
|
1086
|
-
uri: "/v1/apps/{app_name}/certificates/{hostname}",
|
|
1087
|
-
code: 200,
|
|
1088
|
-
}))).annotate({
|
|
904
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v1/apps/{app_name}/certificates/{hostname}", code: 200 }))).annotate({
|
|
1089
905
|
identifier: "DeleteAppCertificateRequest",
|
|
1090
906
|
});
|
|
1091
907
|
export const DeleteAppCertificateResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
@@ -1101,10 +917,8 @@ export const DeleteAppCustomCertificateRequest = /*@__PURE__*/ S.suspend(() => S
|
|
|
1101
917
|
}))).annotate({
|
|
1102
918
|
identifier: "DeleteAppCustomCertificateRequest",
|
|
1103
919
|
});
|
|
1104
|
-
export const DestroyCustomCertificateResponseCertificatesList =
|
|
1105
|
-
/*@__PURE__*/ S.Array(
|
|
1106
|
-
export const DestroyCustomCertificateResponseValidationErrorsList =
|
|
1107
|
-
/*@__PURE__*/ S.Array(CertificateValidationError);
|
|
920
|
+
export const DestroyCustomCertificateResponseCertificatesList = /*@__PURE__*/ S.Array(CertificateEntry);
|
|
921
|
+
export const DestroyCustomCertificateResponseValidationErrorsList = /*@__PURE__*/ S.Array(CertificateValidationError);
|
|
1108
922
|
export const DestroyCustomCertificateResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1109
923
|
acme_requested: S.optional(S.Boolean),
|
|
1110
924
|
certificates: S.optional(DestroyCustomCertificateResponseCertificatesList),
|
|
@@ -1123,11 +937,7 @@ export const DestroyCustomCertificateResponse = /*@__PURE__*/ S.suspend(() => S.
|
|
|
1123
937
|
export const DeleteAppIPAssignmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1124
938
|
app_name: S.String.pipe(T.Label()),
|
|
1125
939
|
ip: S.String.pipe(T.Label()),
|
|
1126
|
-
}).pipe(T.Http({
|
|
1127
|
-
method: "DELETE",
|
|
1128
|
-
uri: "/v1/apps/{app_name}/ip_assignments/{ip}",
|
|
1129
|
-
code: 200,
|
|
1130
|
-
}))).annotate({
|
|
940
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v1/apps/{app_name}/ip_assignments/{ip}", code: 200 }))).annotate({
|
|
1131
941
|
identifier: "DeleteAppIPAssignmentRequest",
|
|
1132
942
|
});
|
|
1133
943
|
export const DeleteAppIPAssignmentResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
@@ -1138,13 +948,7 @@ export const DeleteMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1138
948
|
machine_id: S.String.pipe(T.Label()),
|
|
1139
949
|
force: S.optional(S.Boolean.pipe(T.Query())),
|
|
1140
950
|
lease_nonce: S.optional(S.String.pipe(T.Header("fly-machine-lease-nonce"))),
|
|
1141
|
-
}).pipe(T.Http({
|
|
1142
|
-
method: "DELETE",
|
|
1143
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}",
|
|
1144
|
-
code: 200,
|
|
1145
|
-
}))).annotate({
|
|
1146
|
-
identifier: "DeleteMachineRequest",
|
|
1147
|
-
});
|
|
951
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v1/apps/{app_name}/machines/{machine_id}", code: 200 }))).annotate({ identifier: "DeleteMachineRequest" });
|
|
1148
952
|
export const DeleteMachineResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1149
953
|
identifier: "DeleteMachineResponse",
|
|
1150
954
|
});
|
|
@@ -1164,13 +968,7 @@ export const DeleteMachineMetadataResponse = /*@__PURE__*/ S.suspend(() => S.Str
|
|
|
1164
968
|
});
|
|
1165
969
|
export const DeletePostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1166
970
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
1167
|
-
}).pipe(T.Http({
|
|
1168
|
-
method: "DELETE",
|
|
1169
|
-
uri: "/v1/postgres/{postgres_cluster_id}",
|
|
1170
|
-
code: 200,
|
|
1171
|
-
}))).annotate({
|
|
1172
|
-
identifier: "DeletePostgresRequest",
|
|
1173
|
-
});
|
|
971
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v1/postgres/{postgres_cluster_id}", code: 200 }))).annotate({ identifier: "DeletePostgresRequest" });
|
|
1174
972
|
export const DeletePostgresResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1175
973
|
identifier: "DeletePostgresResponse",
|
|
1176
974
|
});
|
|
@@ -1213,45 +1011,23 @@ export const DeletePostgresUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
1213
1011
|
export const DeleteSecretRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1214
1012
|
app_name: S.String.pipe(T.Label()),
|
|
1215
1013
|
secret_name: S.String.pipe(T.Label()),
|
|
1216
|
-
}).pipe(T.Http({
|
|
1217
|
-
method: "DELETE",
|
|
1218
|
-
uri: "/v1/apps/{app_name}/secrets/{secret_name}",
|
|
1219
|
-
code: 200,
|
|
1220
|
-
}))).annotate({
|
|
1221
|
-
identifier: "DeleteSecretRequest",
|
|
1222
|
-
});
|
|
1014
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v1/apps/{app_name}/secrets/{secret_name}", code: 200 }))).annotate({ identifier: "DeleteSecretRequest" });
|
|
1223
1015
|
export const DeleteAppSecretResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1224
1016
|
Version: S.optional(S.Number),
|
|
1225
1017
|
version: S.optional(S.Number),
|
|
1226
|
-
})).annotate({
|
|
1227
|
-
identifier: "DeleteAppSecretResponse",
|
|
1228
|
-
});
|
|
1018
|
+
})).annotate({ identifier: "DeleteAppSecretResponse" });
|
|
1229
1019
|
export const DeleteSecretKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1230
1020
|
app_name: S.String.pipe(T.Label()),
|
|
1231
1021
|
secret_name: S.String.pipe(T.Label()),
|
|
1232
|
-
}).pipe(T.Http({
|
|
1233
|
-
method: "DELETE",
|
|
1234
|
-
uri: "/v1/apps/{app_name}/secretkeys/{secret_name}",
|
|
1235
|
-
code: 200,
|
|
1236
|
-
}))).annotate({
|
|
1237
|
-
identifier: "DeleteSecretKeyRequest",
|
|
1238
|
-
});
|
|
1022
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v1/apps/{app_name}/secretkeys/{secret_name}", code: 200 }))).annotate({ identifier: "DeleteSecretKeyRequest" });
|
|
1239
1023
|
export const DeleteSecretkeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1240
1024
|
Version: S.optional(S.Number),
|
|
1241
1025
|
version: S.optional(S.Number),
|
|
1242
|
-
})).annotate({
|
|
1243
|
-
identifier: "DeleteSecretkeyResponse",
|
|
1244
|
-
});
|
|
1026
|
+
})).annotate({ identifier: "DeleteSecretkeyResponse" });
|
|
1245
1027
|
export const DeleteVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1246
1028
|
app_name: S.String.pipe(T.Label()),
|
|
1247
1029
|
volume_id: S.String.pipe(T.Label()),
|
|
1248
|
-
}).pipe(T.Http({
|
|
1249
|
-
method: "DELETE",
|
|
1250
|
-
uri: "/v1/apps/{app_name}/volumes/{volume_id}",
|
|
1251
|
-
code: 200,
|
|
1252
|
-
}))).annotate({
|
|
1253
|
-
identifier: "DeleteVolumeRequest",
|
|
1254
|
-
});
|
|
1030
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v1/apps/{app_name}/volumes/{volume_id}", code: 200 }))).annotate({ identifier: "DeleteVolumeRequest" });
|
|
1255
1031
|
export const DisablePostgresExtensionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1256
1032
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
1257
1033
|
database_name: S.String.pipe(T.Label()),
|
|
@@ -1280,9 +1056,7 @@ export const EnablePostgresExtensionRequest = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
1280
1056
|
}))).annotate({
|
|
1281
1057
|
identifier: "EnablePostgresExtensionRequest",
|
|
1282
1058
|
});
|
|
1283
|
-
export const EnablePostgresExtensionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1284
|
-
identifier: "EnablePostgresExtensionResponse",
|
|
1285
|
-
});
|
|
1059
|
+
export const EnablePostgresExtensionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "EnablePostgresExtensionResponse" });
|
|
1286
1060
|
export const EncryptSecretKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1287
1061
|
app_name: S.String.pipe(T.Label()),
|
|
1288
1062
|
secret_name: S.String.pipe(T.Label()),
|
|
@@ -1293,14 +1067,10 @@ export const EncryptSecretKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1293
1067
|
method: "POST",
|
|
1294
1068
|
uri: "/v1/apps/{app_name}/secretkeys/{secret_name}/encrypt",
|
|
1295
1069
|
code: 200,
|
|
1296
|
-
}))).annotate({
|
|
1297
|
-
identifier: "EncryptSecretKeyRequest",
|
|
1298
|
-
});
|
|
1070
|
+
}))).annotate({ identifier: "EncryptSecretKeyRequest" });
|
|
1299
1071
|
export const EncryptSecretkeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1300
1072
|
ciphertext: S.optional(S.String),
|
|
1301
|
-
})).annotate({
|
|
1302
|
-
identifier: "EncryptSecretkeyResponse",
|
|
1303
|
-
});
|
|
1073
|
+
})).annotate({ identifier: "EncryptSecretkeyResponse" });
|
|
1304
1074
|
export const ExecMachineRequestCommandList = /*@__PURE__*/ S.Array(S.String);
|
|
1305
1075
|
export const ExecMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1306
1076
|
app_name: S.String.pipe(T.Label()),
|
|
@@ -1311,48 +1081,26 @@ export const ExecMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1311
1081
|
machine: S.optional(S.Boolean),
|
|
1312
1082
|
stdin: S.optional(S.String),
|
|
1313
1083
|
timeout: S.optional(S.Number),
|
|
1314
|
-
}).pipe(T.Http({
|
|
1315
|
-
method: "POST",
|
|
1316
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/exec",
|
|
1317
|
-
code: 200,
|
|
1318
|
-
}))).annotate({
|
|
1319
|
-
identifier: "ExecMachineRequest",
|
|
1320
|
-
});
|
|
1084
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/machines/{machine_id}/exec", code: 200 }))).annotate({ identifier: "ExecMachineRequest" });
|
|
1321
1085
|
export const Flydv1ExecResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1322
1086
|
exit_code: S.optional(S.Number),
|
|
1323
1087
|
exit_signal: S.optional(S.Number),
|
|
1324
1088
|
stderr: S.optional(S.String),
|
|
1325
1089
|
stdout: S.optional(S.String),
|
|
1326
|
-
})).annotate({
|
|
1327
|
-
identifier: "Flydv1ExecResponse",
|
|
1328
|
-
});
|
|
1090
|
+
})).annotate({ identifier: "Flydv1ExecResponse" });
|
|
1329
1091
|
export const ExtendVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1330
1092
|
app_name: S.String.pipe(T.Label()),
|
|
1331
1093
|
volume_id: S.String.pipe(T.Label()),
|
|
1332
1094
|
size_gb: S.optional(S.Number),
|
|
1333
|
-
}).pipe(T.Http({
|
|
1334
|
-
method: "PUT",
|
|
1335
|
-
uri: "/v1/apps/{app_name}/volumes/{volume_id}/extend",
|
|
1336
|
-
code: 200,
|
|
1337
|
-
}))).annotate({
|
|
1338
|
-
identifier: "ExtendVolumeRequest",
|
|
1339
|
-
});
|
|
1095
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v1/apps/{app_name}/volumes/{volume_id}/extend", code: 200 }))).annotate({ identifier: "ExtendVolumeRequest" });
|
|
1340
1096
|
export const ExtendVolumeResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1341
1097
|
needs_restart: S.optional(S.Boolean),
|
|
1342
1098
|
volume: S.optional(Volume),
|
|
1343
|
-
})).annotate({
|
|
1344
|
-
identifier: "ExtendVolumeResponse",
|
|
1345
|
-
});
|
|
1099
|
+
})).annotate({ identifier: "ExtendVolumeResponse" });
|
|
1346
1100
|
export const ForkPostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1347
1101
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
1348
1102
|
name: S.optional(S.String),
|
|
1349
|
-
}).pipe(T.Http({
|
|
1350
|
-
method: "POST",
|
|
1351
|
-
uri: "/v1/postgres/{postgres_cluster_id}/fork",
|
|
1352
|
-
code: 200,
|
|
1353
|
-
}))).annotate({
|
|
1354
|
-
identifier: "ForkPostgresRequest",
|
|
1355
|
-
});
|
|
1103
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/postgres/{postgres_cluster_id}/fork", code: 200 }))).annotate({ identifier: "ForkPostgresRequest" });
|
|
1356
1104
|
export const GenerateSecretKeyRequestValueList = /*@__PURE__*/ S.Array(S.Number);
|
|
1357
1105
|
export const GenerateSecretKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1358
1106
|
app_name: S.String.pipe(T.Label()),
|
|
@@ -1363,9 +1111,7 @@ export const GenerateSecretKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1363
1111
|
method: "POST",
|
|
1364
1112
|
uri: "/v1/apps/{app_name}/secretkeys/{secret_name}/generate",
|
|
1365
1113
|
code: 200,
|
|
1366
|
-
}))).annotate({
|
|
1367
|
-
identifier: "GenerateSecretKeyRequest",
|
|
1368
|
-
});
|
|
1114
|
+
}))).annotate({ identifier: "GenerateSecretKeyRequest" });
|
|
1369
1115
|
export const SetSecretkeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1370
1116
|
Version: S.optional(S.Number),
|
|
1371
1117
|
created_at: S.optional(S.String),
|
|
@@ -1374,9 +1120,7 @@ export const SetSecretkeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1374
1120
|
type: S.optional(S.String),
|
|
1375
1121
|
updated_at: S.optional(S.String),
|
|
1376
1122
|
version: S.optional(S.Number),
|
|
1377
|
-
})).annotate({
|
|
1378
|
-
identifier: "SetSecretkeyResponse",
|
|
1379
|
-
});
|
|
1123
|
+
})).annotate({ identifier: "SetSecretkeyResponse" });
|
|
1380
1124
|
export const GetAppRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1381
1125
|
app_name: S.String.pipe(T.Label()),
|
|
1382
1126
|
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}", code: 200 }))).annotate({ identifier: "GetAppRequest" });
|
|
@@ -1384,9 +1128,7 @@ export const AppOrganizationInfo = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1384
1128
|
internal_numeric_id: S.optional(S.Number),
|
|
1385
1129
|
name: S.optional(S.String),
|
|
1386
1130
|
slug: S.optional(S.String),
|
|
1387
|
-
})).annotate({
|
|
1388
|
-
identifier: "AppOrganizationInfo",
|
|
1389
|
-
});
|
|
1131
|
+
})).annotate({ identifier: "AppOrganizationInfo" });
|
|
1390
1132
|
export const App = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1391
1133
|
id: S.optional(S.String),
|
|
1392
1134
|
internal_numeric_id: S.optional(S.Number),
|
|
@@ -1401,16 +1143,8 @@ export const App = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1401
1143
|
export const GetAppCertificateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1402
1144
|
app_name: S.String.pipe(T.Label()),
|
|
1403
1145
|
hostname: S.String.pipe(T.Label()),
|
|
1404
|
-
}).pipe(T.Http({
|
|
1405
|
-
|
|
1406
|
-
uri: "/v1/apps/{app_name}/certificates/{hostname}",
|
|
1407
|
-
code: 200,
|
|
1408
|
-
}))).annotate({
|
|
1409
|
-
identifier: "GetAppCertificateRequest",
|
|
1410
|
-
});
|
|
1411
|
-
export const GetCurrentTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v1/tokens/current", code: 200 }))).annotate({
|
|
1412
|
-
identifier: "GetCurrentTokenRequest",
|
|
1413
|
-
});
|
|
1146
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/certificates/{hostname}", code: 200 }))).annotate({ identifier: "GetAppCertificateRequest" });
|
|
1147
|
+
export const GetCurrentTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v1/tokens/current", code: 200 }))).annotate({ identifier: "GetCurrentTokenRequest" });
|
|
1414
1148
|
export const MainTokenInfoAppsList = /*@__PURE__*/ S.Array(S.String);
|
|
1415
1149
|
export const MainTokenInfo = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1416
1150
|
apps: S.optional(MainTokenInfoAppsList),
|
|
@@ -1424,55 +1158,29 @@ export const MainTokenInfo = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1424
1158
|
export const CurrentTokenResponseTokensList = /*@__PURE__*/ S.Array(MainTokenInfo);
|
|
1425
1159
|
export const CurrentTokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1426
1160
|
tokens: S.optional(CurrentTokenResponseTokensList),
|
|
1427
|
-
})).annotate({
|
|
1428
|
-
identifier: "CurrentTokenResponse",
|
|
1429
|
-
});
|
|
1161
|
+
})).annotate({ identifier: "CurrentTokenResponse" });
|
|
1430
1162
|
export const GetMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1431
1163
|
app_name: S.String.pipe(T.Label()),
|
|
1432
1164
|
machine_id: S.String.pipe(T.Label()),
|
|
1433
1165
|
version: S.optional(S.String.pipe(T.Query())),
|
|
1434
1166
|
include_leases: S.optional(S.Boolean.pipe(T.Query())),
|
|
1435
|
-
}).pipe(T.Http({
|
|
1436
|
-
method: "GET",
|
|
1437
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}",
|
|
1438
|
-
code: 200,
|
|
1439
|
-
}))).annotate({
|
|
1440
|
-
identifier: "GetMachineRequest",
|
|
1441
|
-
});
|
|
1167
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/machines/{machine_id}", code: 200 }))).annotate({ identifier: "GetMachineRequest" });
|
|
1442
1168
|
export const GetMachineLeaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1443
1169
|
app_name: S.String.pipe(T.Label()),
|
|
1444
1170
|
machine_id: S.String.pipe(T.Label()),
|
|
1445
|
-
}).pipe(T.Http({
|
|
1446
|
-
method: "GET",
|
|
1447
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/lease",
|
|
1448
|
-
code: 200,
|
|
1449
|
-
}))).annotate({
|
|
1450
|
-
identifier: "GetMachineLeaseRequest",
|
|
1451
|
-
});
|
|
1171
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/machines/{machine_id}/lease", code: 200 }))).annotate({ identifier: "GetMachineLeaseRequest" });
|
|
1452
1172
|
export const GetMachineMemoryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1453
1173
|
app_name: S.String.pipe(T.Label()),
|
|
1454
1174
|
machine_id: S.String.pipe(T.Label()),
|
|
1455
|
-
}).pipe(T.Http({
|
|
1456
|
-
method: "GET",
|
|
1457
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/memory",
|
|
1458
|
-
code: 200,
|
|
1459
|
-
}))).annotate({
|
|
1460
|
-
identifier: "GetMachineMemoryRequest",
|
|
1461
|
-
});
|
|
1175
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/machines/{machine_id}/memory", code: 200 }))).annotate({ identifier: "GetMachineMemoryRequest" });
|
|
1462
1176
|
export const MainMemoryResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1463
1177
|
available_mb: S.optional(S.Number),
|
|
1464
1178
|
limit_mb: S.optional(S.Number),
|
|
1465
|
-
})).annotate({
|
|
1466
|
-
identifier: "MainMemoryResponse",
|
|
1467
|
-
});
|
|
1179
|
+
})).annotate({ identifier: "MainMemoryResponse" });
|
|
1468
1180
|
export const GetMachineMetadataRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1469
1181
|
app_name: S.String.pipe(T.Label()),
|
|
1470
1182
|
machine_id: S.String.pipe(T.Label()),
|
|
1471
|
-
}).pipe(T.Http({
|
|
1472
|
-
method: "GET",
|
|
1473
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/metadata",
|
|
1474
|
-
code: 200,
|
|
1475
|
-
}))).annotate({
|
|
1183
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/machines/{machine_id}/metadata", code: 200 }))).annotate({
|
|
1476
1184
|
identifier: "GetMachineMetadataRequest",
|
|
1477
1185
|
});
|
|
1478
1186
|
export const GetMachineMetadataResponseBodyMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
@@ -1492,9 +1200,7 @@ export const GetMachineMetadataKeyRequest = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
1492
1200
|
});
|
|
1493
1201
|
export const MetadataValueResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1494
1202
|
value: S.optional(S.String),
|
|
1495
|
-
})).annotate({
|
|
1496
|
-
identifier: "MetadataValueResponse",
|
|
1497
|
-
});
|
|
1203
|
+
})).annotate({ identifier: "MetadataValueResponse" });
|
|
1498
1204
|
export const PlacementWeights = /*@__PURE__*/ S.Record(S.String, S.Number);
|
|
1499
1205
|
export const GetPlacementsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1500
1206
|
compute: S.optional(FlyMachineGuest),
|
|
@@ -1504,16 +1210,12 @@ export const GetPlacementsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1504
1210
|
volume_name: S.optional(S.String),
|
|
1505
1211
|
volume_size_bytes: S.optional(S.Number),
|
|
1506
1212
|
weights: S.optional(PlacementWeights),
|
|
1507
|
-
}).pipe(T.Http({ method: "POST", uri: "/v1/platform/placements", code: 200 }))).annotate({
|
|
1508
|
-
identifier: "GetPlacementsRequest",
|
|
1509
|
-
});
|
|
1213
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/platform/placements", code: 200 }))).annotate({ identifier: "GetPlacementsRequest" });
|
|
1510
1214
|
export const PlacementRegionPlacement = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1511
1215
|
concurrency: S.optional(S.Number),
|
|
1512
1216
|
count: S.optional(S.Number),
|
|
1513
1217
|
region: S.optional(S.String),
|
|
1514
|
-
})).annotate({
|
|
1515
|
-
identifier: "PlacementRegionPlacement",
|
|
1516
|
-
});
|
|
1218
|
+
})).annotate({ identifier: "PlacementRegionPlacement" });
|
|
1517
1219
|
export const MainGetPlacementsResponseRegionsList = /*@__PURE__*/ S.Array(PlacementRegionPlacement);
|
|
1518
1220
|
export const MainGetPlacementsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1519
1221
|
regions: S.optional(MainGetPlacementsResponseRegionsList),
|
|
@@ -1522,16 +1224,8 @@ export const MainGetPlacementsResponse = /*@__PURE__*/ S.suspend(() => S.Struct(
|
|
|
1522
1224
|
});
|
|
1523
1225
|
export const GetPostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1524
1226
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
1525
|
-
}).pipe(T.Http({
|
|
1526
|
-
|
|
1527
|
-
uri: "/v1/postgres/{postgres_cluster_id}",
|
|
1528
|
-
code: 200,
|
|
1529
|
-
}))).annotate({
|
|
1530
|
-
identifier: "GetPostgresRequest",
|
|
1531
|
-
});
|
|
1532
|
-
export const GetRegionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v1/platform/regions", code: 200 }))).annotate({
|
|
1533
|
-
identifier: "GetRegionsRequest",
|
|
1534
|
-
});
|
|
1227
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/postgres/{postgres_cluster_id}", code: 200 }))).annotate({ identifier: "GetPostgresRequest" });
|
|
1228
|
+
export const GetRegionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v1/platform/regions", code: 200 }))).annotate({ identifier: "GetRegionsRequest" });
|
|
1535
1229
|
export const MainRegionRow = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1536
1230
|
code: S.optional(S.String),
|
|
1537
1231
|
deprecated: S.optional(S.Boolean),
|
|
@@ -1547,21 +1241,13 @@ export const MainRegionResponseRegionsList = /*@__PURE__*/ S.Array(MainRegionRow
|
|
|
1547
1241
|
export const MainRegionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1548
1242
|
nearest: S.optional(S.String),
|
|
1549
1243
|
regions: S.optional(MainRegionResponseRegionsList),
|
|
1550
|
-
})).annotate({
|
|
1551
|
-
identifier: "MainRegionResponse",
|
|
1552
|
-
});
|
|
1244
|
+
})).annotate({ identifier: "MainRegionResponse" });
|
|
1553
1245
|
export const GetSecretRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1554
1246
|
app_name: S.String.pipe(T.Label()),
|
|
1555
1247
|
secret_name: S.String.pipe(T.Label()),
|
|
1556
1248
|
min_version: S.optional(S.String.pipe(T.Query())),
|
|
1557
1249
|
show_secrets: S.optional(S.Boolean.pipe(T.Query())),
|
|
1558
|
-
}).pipe(T.Http({
|
|
1559
|
-
method: "GET",
|
|
1560
|
-
uri: "/v1/apps/{app_name}/secrets/{secret_name}",
|
|
1561
|
-
code: 200,
|
|
1562
|
-
}))).annotate({
|
|
1563
|
-
identifier: "GetSecretRequest",
|
|
1564
|
-
});
|
|
1250
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/secrets/{secret_name}", code: 200 }))).annotate({ identifier: "GetSecretRequest" });
|
|
1565
1251
|
export const AppSecret = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1566
1252
|
created_at: S.optional(S.String),
|
|
1567
1253
|
digest: S.optional(S.String),
|
|
@@ -1573,13 +1259,7 @@ export const GetSecretKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1573
1259
|
app_name: S.String.pipe(T.Label()),
|
|
1574
1260
|
secret_name: S.String.pipe(T.Label()),
|
|
1575
1261
|
min_version: S.optional(S.String.pipe(T.Query())),
|
|
1576
|
-
}).pipe(T.Http({
|
|
1577
|
-
method: "GET",
|
|
1578
|
-
uri: "/v1/apps/{app_name}/secretkeys/{secret_name}",
|
|
1579
|
-
code: 200,
|
|
1580
|
-
}))).annotate({
|
|
1581
|
-
identifier: "GetSecretKeyRequest",
|
|
1582
|
-
});
|
|
1262
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/secretkeys/{secret_name}", code: 200 }))).annotate({ identifier: "GetSecretKeyRequest" });
|
|
1583
1263
|
export const SecretKey = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1584
1264
|
created_at: S.optional(S.String),
|
|
1585
1265
|
name: S.optional(S.String),
|
|
@@ -1590,23 +1270,13 @@ export const SecretKey = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1590
1270
|
export const GetVolumeByIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1591
1271
|
app_name: S.String.pipe(T.Label()),
|
|
1592
1272
|
volume_id: S.String.pipe(T.Label()),
|
|
1593
|
-
}).pipe(T.Http({
|
|
1594
|
-
method: "GET",
|
|
1595
|
-
uri: "/v1/apps/{app_name}/volumes/{volume_id}",
|
|
1596
|
-
code: 200,
|
|
1597
|
-
}))).annotate({
|
|
1598
|
-
identifier: "GetVolumeByIdRequest",
|
|
1599
|
-
});
|
|
1273
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/volumes/{volume_id}", code: 200 }))).annotate({ identifier: "GetVolumeByIdRequest" });
|
|
1600
1274
|
export const ListAppCertificatesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1601
1275
|
app_name: S.String.pipe(T.Label()),
|
|
1602
1276
|
filter: S.optional(S.String.pipe(T.Query())),
|
|
1603
1277
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1604
1278
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1605
|
-
}).pipe(T.Http({
|
|
1606
|
-
method: "GET",
|
|
1607
|
-
uri: "/v1/apps/{app_name}/certificates",
|
|
1608
|
-
code: 200,
|
|
1609
|
-
}))).annotate({
|
|
1279
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/certificates", code: 200 }))).annotate({
|
|
1610
1280
|
identifier: "ListAppCertificatesRequest",
|
|
1611
1281
|
});
|
|
1612
1282
|
export const CertificateSummary = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1623,24 +1293,16 @@ export const CertificateSummary = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1623
1293
|
ownership_txt_configured: S.optional(S.Boolean),
|
|
1624
1294
|
status: S.optional(S.String),
|
|
1625
1295
|
updated_at: S.optional(S.String),
|
|
1626
|
-
})).annotate({
|
|
1627
|
-
identifier: "CertificateSummary",
|
|
1628
|
-
});
|
|
1296
|
+
})).annotate({ identifier: "CertificateSummary" });
|
|
1629
1297
|
export const ListCertificatesResponseCertificatesList = /*@__PURE__*/ S.Array(CertificateSummary);
|
|
1630
1298
|
export const ListCertificatesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1631
1299
|
certificates: S.optional(ListCertificatesResponseCertificatesList),
|
|
1632
1300
|
next_cursor: S.optional(S.String),
|
|
1633
1301
|
total_count: S.optional(S.Number),
|
|
1634
|
-
})).annotate({
|
|
1635
|
-
identifier: "ListCertificatesResponse",
|
|
1636
|
-
});
|
|
1302
|
+
})).annotate({ identifier: "ListCertificatesResponse" });
|
|
1637
1303
|
export const ListAppIPAssignmentsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1638
1304
|
app_name: S.String.pipe(T.Label()),
|
|
1639
|
-
}).pipe(T.Http({
|
|
1640
|
-
method: "GET",
|
|
1641
|
-
uri: "/v1/apps/{app_name}/ip_assignments",
|
|
1642
|
-
code: 200,
|
|
1643
|
-
}))).annotate({
|
|
1305
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/ip_assignments", code: 200 }))).annotate({
|
|
1644
1306
|
identifier: "ListAppIPAssignmentsRequest",
|
|
1645
1307
|
});
|
|
1646
1308
|
export const IPAssignment = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1662,27 +1324,20 @@ export const ListIPAssignmentsResponse = /*@__PURE__*/ S.suspend(() => S.Struct(
|
|
|
1662
1324
|
export const ListAppsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1663
1325
|
org_slug: S.String.pipe(T.Query()),
|
|
1664
1326
|
app_role: S.optional(S.String.pipe(T.Query())),
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
});
|
|
1327
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1328
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1329
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps", code: 200 }))).annotate({ identifier: "ListAppsRequest" });
|
|
1668
1330
|
export const ListAppsResponseAppsList = /*@__PURE__*/ S.Array(App);
|
|
1669
1331
|
export const ListAppsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1670
1332
|
apps: S.optional(ListAppsResponseAppsList),
|
|
1333
|
+
next_cursor: S.optional(S.String),
|
|
1671
1334
|
total_apps: S.optional(S.Number),
|
|
1672
|
-
})).annotate({
|
|
1673
|
-
identifier: "ListAppsResponse",
|
|
1674
|
-
});
|
|
1335
|
+
})).annotate({ identifier: "ListAppsResponse" });
|
|
1675
1336
|
export const ListMachineEventsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1676
1337
|
app_name: S.String.pipe(T.Label()),
|
|
1677
1338
|
machine_id: S.String.pipe(T.Label()),
|
|
1678
1339
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1679
|
-
}).pipe(T.Http({
|
|
1680
|
-
method: "GET",
|
|
1681
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/events",
|
|
1682
|
-
code: 200,
|
|
1683
|
-
}))).annotate({
|
|
1684
|
-
identifier: "ListMachineEventsRequest",
|
|
1685
|
-
});
|
|
1340
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/machines/{machine_id}/events", code: 200 }))).annotate({ identifier: "ListMachineEventsRequest" });
|
|
1686
1341
|
export const ListMachineEventsResponseBodyList = /*@__PURE__*/ S.Array(MachineEvent);
|
|
1687
1342
|
export const ListMachineEventsResponse = /*@__PURE__*/ S.suspend(() => ListMachineEventsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1688
1343
|
identifier: "ListMachineEventsResponse",
|
|
@@ -1692,11 +1347,7 @@ export const ListMachineProcessesRequest = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
1692
1347
|
machine_id: S.String.pipe(T.Label()),
|
|
1693
1348
|
sort_by: S.optional(S.String.pipe(T.Query())),
|
|
1694
1349
|
order: S.optional(S.String.pipe(T.Query())),
|
|
1695
|
-
}).pipe(T.Http({
|
|
1696
|
-
method: "GET",
|
|
1697
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/ps",
|
|
1698
|
-
code: 200,
|
|
1699
|
-
}))).annotate({
|
|
1350
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/machines/{machine_id}/ps", code: 200 }))).annotate({
|
|
1700
1351
|
identifier: "ListMachineProcessesRequest",
|
|
1701
1352
|
});
|
|
1702
1353
|
export const ListenSocket = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1728,13 +1379,9 @@ export const ListMachinesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1728
1379
|
metadata__key_: S.optional(S.String.pipe(T.Query("metadata.{key}"))),
|
|
1729
1380
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1730
1381
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1731
|
-
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/machines", code: 200 }))).annotate({
|
|
1732
|
-
identifier: "ListMachinesRequest",
|
|
1733
|
-
});
|
|
1382
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/machines", code: 200 }))).annotate({ identifier: "ListMachinesRequest" });
|
|
1734
1383
|
export const ListMachinesResponseBodyList = /*@__PURE__*/ S.Array(Machine);
|
|
1735
|
-
export const ListMachinesResponse = /*@__PURE__*/ S.suspend(() => ListMachinesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1736
|
-
identifier: "ListMachinesResponse",
|
|
1737
|
-
});
|
|
1384
|
+
export const ListMachinesResponse = /*@__PURE__*/ S.suspend(() => ListMachinesResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListMachinesResponse" });
|
|
1738
1385
|
export const ListMachinesOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1739
1386
|
org_slug: S.String.pipe(T.Label()),
|
|
1740
1387
|
include_deleted: S.optional(S.Boolean.pipe(T.Query())),
|
|
@@ -1744,18 +1391,14 @@ export const ListMachinesOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1744
1391
|
updated_after: S.optional(S.String.pipe(T.Query())),
|
|
1745
1392
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1746
1393
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1747
|
-
}).pipe(T.Http({ method: "GET", uri: "/v1/orgs/{org_slug}/machines", code: 200 }))).annotate({
|
|
1748
|
-
identifier: "ListMachinesOrgRequest",
|
|
1749
|
-
});
|
|
1394
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/orgs/{org_slug}/machines", code: 200 }))).annotate({ identifier: "ListMachinesOrgRequest" });
|
|
1750
1395
|
export const OrgMachinesResponseErrorRegionsList = /*@__PURE__*/ S.Array(S.String);
|
|
1751
1396
|
export const MachineOverviewConfigMetadataMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1752
1397
|
export const MachineOverviewConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1753
1398
|
guest: S.optional(FlyMachineGuest),
|
|
1754
1399
|
image: S.optional(S.String),
|
|
1755
1400
|
metadata: S.optional(MachineOverviewConfigMetadataMap),
|
|
1756
|
-
})).annotate({
|
|
1757
|
-
identifier: "MachineOverviewConfig",
|
|
1758
|
-
});
|
|
1401
|
+
})).annotate({ identifier: "MachineOverviewConfig" });
|
|
1759
1402
|
export const OrgMachine = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1760
1403
|
app_name: S.optional(S.String),
|
|
1761
1404
|
config: S.optional(MachineOverviewConfig),
|
|
@@ -1775,17 +1418,11 @@ export const OrgMachinesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1775
1418
|
last_updated_at: S.optional(S.String),
|
|
1776
1419
|
machines: S.optional(OrgMachinesResponseMachinesList),
|
|
1777
1420
|
next_cursor: S.optional(S.String),
|
|
1778
|
-
})).annotate({
|
|
1779
|
-
identifier: "OrgMachinesResponse",
|
|
1780
|
-
});
|
|
1421
|
+
})).annotate({ identifier: "OrgMachinesResponse" });
|
|
1781
1422
|
export const ListMachineVersionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1782
1423
|
app_name: S.String.pipe(T.Label()),
|
|
1783
1424
|
machine_id: S.String.pipe(T.Label()),
|
|
1784
|
-
}).pipe(T.Http({
|
|
1785
|
-
method: "GET",
|
|
1786
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/versions",
|
|
1787
|
-
code: 200,
|
|
1788
|
-
}))).annotate({
|
|
1425
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/machines/{machine_id}/versions", code: 200 }))).annotate({
|
|
1789
1426
|
identifier: "ListMachineVersionsRequest",
|
|
1790
1427
|
});
|
|
1791
1428
|
export const MachineVersion = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1799,9 +1436,7 @@ export const ListMachineVersionsResponse = /*@__PURE__*/ S.suspend(() => ListMac
|
|
|
1799
1436
|
export const ListPostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1800
1437
|
org_slug: S.String.pipe(T.Query()),
|
|
1801
1438
|
include_deleted: S.optional(S.Boolean.pipe(T.Query())),
|
|
1802
|
-
}).pipe(T.Http({ method: "GET", uri: "/v1/postgres", code: 200 }))).annotate({
|
|
1803
|
-
identifier: "ListPostgresRequest",
|
|
1804
|
-
});
|
|
1439
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/postgres", code: 200 }))).annotate({ identifier: "ListPostgresRequest" });
|
|
1805
1440
|
export const PostgresClusterSummaryAttachedAppsList = /*@__PURE__*/ S.Array(PostgresAttachedApp);
|
|
1806
1441
|
export const PostgresClusterSummaryPlan = S.String;
|
|
1807
1442
|
export const PostgresClusterSummaryStatus = S.String;
|
|
@@ -1814,9 +1449,7 @@ export const PostgresClusterSummary = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1814
1449
|
plan: S.optional(PostgresClusterSummaryPlan),
|
|
1815
1450
|
region: S.optional(S.String),
|
|
1816
1451
|
status: S.optional(PostgresClusterSummaryStatus),
|
|
1817
|
-
})).annotate({
|
|
1818
|
-
identifier: "PostgresClusterSummary",
|
|
1819
|
-
});
|
|
1452
|
+
})).annotate({ identifier: "PostgresClusterSummary" });
|
|
1820
1453
|
export const ListPostgresClustersResponseDataList = /*@__PURE__*/ S.Array(PostgresClusterSummary);
|
|
1821
1454
|
export const ListPostgresClustersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1822
1455
|
data: S.optional(ListPostgresClustersResponseDataList),
|
|
@@ -1825,11 +1458,7 @@ export const ListPostgresClustersResponse = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
1825
1458
|
});
|
|
1826
1459
|
export const ListPostgresBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1827
1460
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
1828
|
-
}).pipe(T.Http({
|
|
1829
|
-
method: "GET",
|
|
1830
|
-
uri: "/v1/postgres/{postgres_cluster_id}/backups",
|
|
1831
|
-
code: 200,
|
|
1832
|
-
}))).annotate({
|
|
1461
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/postgres/{postgres_cluster_id}/backups", code: 200 }))).annotate({
|
|
1833
1462
|
identifier: "ListPostgresBackupsRequest",
|
|
1834
1463
|
});
|
|
1835
1464
|
export const PostgresBackupType = S.String;
|
|
@@ -1849,11 +1478,7 @@ export const ListPostgresBackupsResponse = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
1849
1478
|
});
|
|
1850
1479
|
export const ListPostgresDatabasesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1851
1480
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
1852
|
-
}).pipe(T.Http({
|
|
1853
|
-
method: "GET",
|
|
1854
|
-
uri: "/v1/postgres/{postgres_cluster_id}/databases",
|
|
1855
|
-
code: 200,
|
|
1856
|
-
}))).annotate({
|
|
1481
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/postgres/{postgres_cluster_id}/databases", code: 200 }))).annotate({
|
|
1857
1482
|
identifier: "ListPostgresDatabasesRequest",
|
|
1858
1483
|
});
|
|
1859
1484
|
export const ListPostgresDatabasesResponseDataList = /*@__PURE__*/ S.Array(PostgresDatabase);
|
|
@@ -1884,9 +1509,7 @@ export const PostgresExtension = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1884
1509
|
installed: S.optional(S.NullOr(PostgresExtensionInstalled)),
|
|
1885
1510
|
name: S.optional(S.String),
|
|
1886
1511
|
system: S.optional(S.Boolean),
|
|
1887
|
-
})).annotate({
|
|
1888
|
-
identifier: "PostgresExtension",
|
|
1889
|
-
});
|
|
1512
|
+
})).annotate({ identifier: "PostgresExtension" });
|
|
1890
1513
|
export const ListPostgresExtensionsResponseDataList = /*@__PURE__*/ S.Array(PostgresExtension);
|
|
1891
1514
|
export const ListPostgresExtensionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1892
1515
|
data: S.optional(ListPostgresExtensionsResponseDataList),
|
|
@@ -1895,13 +1518,7 @@ export const ListPostgresExtensionsResponse = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
1895
1518
|
});
|
|
1896
1519
|
export const ListPostgresUsersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1897
1520
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
1898
|
-
}).pipe(T.Http({
|
|
1899
|
-
method: "GET",
|
|
1900
|
-
uri: "/v1/postgres/{postgres_cluster_id}/users",
|
|
1901
|
-
code: 200,
|
|
1902
|
-
}))).annotate({
|
|
1903
|
-
identifier: "ListPostgresUsersRequest",
|
|
1904
|
-
});
|
|
1521
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/postgres/{postgres_cluster_id}/users", code: 200 }))).annotate({ identifier: "ListPostgresUsersRequest" });
|
|
1905
1522
|
export const ListPostgresUsersResponseDataList = /*@__PURE__*/ S.Array(PostgresUser);
|
|
1906
1523
|
export const ListPostgresUsersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1907
1524
|
data: S.optional(ListPostgresUsersResponseDataList),
|
|
@@ -1912,9 +1529,7 @@ export const ListSecretKeysRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1912
1529
|
app_name: S.String.pipe(T.Label()),
|
|
1913
1530
|
min_version: S.optional(S.String.pipe(T.Query())),
|
|
1914
1531
|
types: S.optional(S.String.pipe(T.Query())),
|
|
1915
|
-
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/secretkeys", code: 200 }))).annotate({
|
|
1916
|
-
identifier: "ListSecretKeysRequest",
|
|
1917
|
-
});
|
|
1532
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/secretkeys", code: 200 }))).annotate({ identifier: "ListSecretKeysRequest" });
|
|
1918
1533
|
export const SecretKeysSecretKeysList = /*@__PURE__*/ S.Array(SecretKey);
|
|
1919
1534
|
export const SecretKeys = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1920
1535
|
secret_keys: S.optional(SecretKeysSecretKeysList),
|
|
@@ -1923,9 +1538,7 @@ export const ListSecretsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1923
1538
|
app_name: S.String.pipe(T.Label()),
|
|
1924
1539
|
min_version: S.optional(S.String.pipe(T.Query())),
|
|
1925
1540
|
show_secrets: S.optional(S.Boolean.pipe(T.Query())),
|
|
1926
|
-
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/secrets", code: 200 }))).annotate({
|
|
1927
|
-
identifier: "ListSecretsRequest",
|
|
1928
|
-
});
|
|
1541
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/secrets", code: 200 }))).annotate({ identifier: "ListSecretsRequest" });
|
|
1929
1542
|
export const AppSecretsSecretsList = /*@__PURE__*/ S.Array(AppSecret);
|
|
1930
1543
|
export const AppSecrets = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1931
1544
|
secrets: S.optional(AppSecretsSecretsList),
|
|
@@ -1933,21 +1546,15 @@ export const AppSecrets = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1933
1546
|
export const ListVolumesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1934
1547
|
app_name: S.String.pipe(T.Label()),
|
|
1935
1548
|
summary: S.optional(S.Boolean.pipe(T.Query())),
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
});
|
|
1549
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1550
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1551
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/volumes", code: 200 }))).annotate({ identifier: "ListVolumesRequest" });
|
|
1939
1552
|
export const ListVolumesResponseBodyList = /*@__PURE__*/ S.Array(Volume);
|
|
1940
|
-
export const ListVolumesResponse = /*@__PURE__*/ S.suspend(() => ListVolumesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1941
|
-
identifier: "ListVolumesResponse",
|
|
1942
|
-
});
|
|
1553
|
+
export const ListVolumesResponse = /*@__PURE__*/ S.suspend(() => ListVolumesResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListVolumesResponse" });
|
|
1943
1554
|
export const ListVolumeSnapshotsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1944
1555
|
app_name: S.String.pipe(T.Label()),
|
|
1945
1556
|
volume_id: S.String.pipe(T.Label()),
|
|
1946
|
-
}).pipe(T.Http({
|
|
1947
|
-
method: "GET",
|
|
1948
|
-
uri: "/v1/apps/{app_name}/volumes/{volume_id}/snapshots",
|
|
1949
|
-
code: 200,
|
|
1950
|
-
}))).annotate({
|
|
1557
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/volumes/{volume_id}/snapshots", code: 200 }))).annotate({
|
|
1951
1558
|
identifier: "ListVolumeSnapshotsRequest",
|
|
1952
1559
|
});
|
|
1953
1560
|
export const VolumeSnapshot = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1972,9 +1579,7 @@ export const ListVolumesOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1972
1579
|
updated_after: S.optional(S.String.pipe(T.Query())),
|
|
1973
1580
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1974
1581
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1975
|
-
}).pipe(T.Http({ method: "GET", uri: "/v1/orgs/{org_slug}/volumes", code: 200 }))).annotate({
|
|
1976
|
-
identifier: "ListVolumesOrgRequest",
|
|
1977
|
-
});
|
|
1582
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/orgs/{org_slug}/volumes", code: 200 }))).annotate({ identifier: "ListVolumesOrgRequest" });
|
|
1978
1583
|
export const OrgVolumeHostFeaturesList = /*@__PURE__*/ S.Array(S.String);
|
|
1979
1584
|
export const OrgVolumeHostStatus = S.String;
|
|
1980
1585
|
export const OrgVolumeRequiredHostFeaturesList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -2012,18 +1617,12 @@ export const OrgVolumesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2012
1617
|
last_volume_id: S.optional(S.String),
|
|
2013
1618
|
next_cursor: S.optional(S.String),
|
|
2014
1619
|
volumes: S.optional(OrgVolumesResponseVolumesList),
|
|
2015
|
-
})).annotate({
|
|
2016
|
-
identifier: "OrgVolumesResponse",
|
|
2017
|
-
});
|
|
1620
|
+
})).annotate({ identifier: "OrgVolumesResponse" });
|
|
2018
1621
|
export const MachinesReleaseLeaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2019
1622
|
app_name: S.String.pipe(T.Label()),
|
|
2020
1623
|
machine_id: S.String.pipe(T.Label()),
|
|
2021
1624
|
lease_nonce: S.String.pipe(T.Header("fly-machine-lease-nonce")),
|
|
2022
|
-
}).pipe(T.Http({
|
|
2023
|
-
method: "DELETE",
|
|
2024
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/lease",
|
|
2025
|
-
code: 200,
|
|
2026
|
-
}))).annotate({
|
|
1625
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v1/apps/{app_name}/machines/{machine_id}/lease", code: 200 }))).annotate({
|
|
2027
1626
|
identifier: "MachinesReleaseLeaseRequest",
|
|
2028
1627
|
});
|
|
2029
1628
|
export const MachinesReleaseLeaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
@@ -2049,11 +1648,7 @@ export const PatchMachineMetadataResponse = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
2049
1648
|
export const PostgresQueriesActiveRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2050
1649
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
2051
1650
|
database: S.String.pipe(T.Query()),
|
|
2052
|
-
}).pipe(T.Http({
|
|
2053
|
-
method: "GET",
|
|
2054
|
-
uri: "/v1/postgres/{postgres_cluster_id}/queries/active",
|
|
2055
|
-
code: 200,
|
|
2056
|
-
}))).annotate({
|
|
1651
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/postgres/{postgres_cluster_id}/queries/active", code: 200 }))).annotate({
|
|
2057
1652
|
identifier: "PostgresQueriesActiveRequest",
|
|
2058
1653
|
});
|
|
2059
1654
|
export const PostgresActiveQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -2068,9 +1663,7 @@ export const PostgresActiveQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2068
1663
|
user: S.optional(S.String),
|
|
2069
1664
|
wait_event: S.optional(S.String),
|
|
2070
1665
|
wait_event_type: S.optional(S.String),
|
|
2071
|
-
})).annotate({
|
|
2072
|
-
identifier: "PostgresActiveQuery",
|
|
2073
|
-
});
|
|
1666
|
+
})).annotate({ identifier: "PostgresActiveQuery" });
|
|
2074
1667
|
export const ListPostgresActiveQueriesResponseDataList = /*@__PURE__*/ S.Array(PostgresActiveQuery);
|
|
2075
1668
|
export const ListPostgresActiveQueriesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2076
1669
|
data: S.optional(ListPostgresActiveQueriesResponseDataList),
|
|
@@ -2080,11 +1673,7 @@ export const ListPostgresActiveQueriesResponse = /*@__PURE__*/ S.suspend(() => S
|
|
|
2080
1673
|
export const PostgresQueriesSlowRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2081
1674
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
2082
1675
|
range: S.optional(S.Number.pipe(T.Query())),
|
|
2083
|
-
}).pipe(T.Http({
|
|
2084
|
-
method: "GET",
|
|
2085
|
-
uri: "/v1/postgres/{postgres_cluster_id}/queries/slow",
|
|
2086
|
-
code: 200,
|
|
2087
|
-
}))).annotate({
|
|
1676
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/postgres/{postgres_cluster_id}/queries/slow", code: 200 }))).annotate({
|
|
2088
1677
|
identifier: "PostgresQueriesSlowRequest",
|
|
2089
1678
|
});
|
|
2090
1679
|
export const PostgresSlowQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -2096,9 +1685,7 @@ export const PostgresSlowQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2096
1685
|
query_id: S.optional(S.String),
|
|
2097
1686
|
total_exec_time_seconds: S.optional(S.Number),
|
|
2098
1687
|
user: S.optional(S.String),
|
|
2099
|
-
})).annotate({
|
|
2100
|
-
identifier: "PostgresSlowQuery",
|
|
2101
|
-
});
|
|
1688
|
+
})).annotate({ identifier: "PostgresSlowQuery" });
|
|
2102
1689
|
export const ListPostgresSlowQueriesResponseDataList = /*@__PURE__*/ S.Array(PostgresSlowQuery);
|
|
2103
1690
|
export const ListPostgresSlowQueriesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2104
1691
|
data: S.optional(ListPostgresSlowQueriesResponseDataList),
|
|
@@ -2118,9 +1705,7 @@ export const PostgresUsersCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.S
|
|
|
2118
1705
|
export const PostgresUserCredentials = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2119
1706
|
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
2120
1707
|
username: S.optional(S.String),
|
|
2121
|
-
})).annotate({
|
|
2122
|
-
identifier: "PostgresUserCredentials",
|
|
2123
|
-
});
|
|
1708
|
+
})).annotate({ identifier: "PostgresUserCredentials" });
|
|
2124
1709
|
export const GetPostgresUserCredentialsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2125
1710
|
data: S.optional(PostgresUserCredentials),
|
|
2126
1711
|
})).annotate({
|
|
@@ -2142,18 +1727,14 @@ export const MainReclaimMemoryResponse = /*@__PURE__*/ S.suspend(() => S.Struct(
|
|
|
2142
1727
|
})).annotate({
|
|
2143
1728
|
identifier: "MainReclaimMemoryResponse",
|
|
2144
1729
|
});
|
|
2145
|
-
export const RequestKmsTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "POST", uri: "/v1/tokens/kms", code: 200 }))).annotate({
|
|
2146
|
-
identifier: "RequestKmsTokenRequest",
|
|
2147
|
-
});
|
|
1730
|
+
export const RequestKmsTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "POST", uri: "/v1/tokens/kms", code: 200 }))).annotate({ identifier: "RequestKmsTokenRequest" });
|
|
2148
1731
|
export const RequestKmsTokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2149
1732
|
identifier: "RequestKmsTokenResponse",
|
|
2150
1733
|
});
|
|
2151
1734
|
export const RequestOidcTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2152
1735
|
aud: S.optional(S.String),
|
|
2153
1736
|
aws_principal_tags: S.optional(S.Boolean),
|
|
2154
|
-
}).pipe(T.Http({ method: "POST", uri: "/v1/tokens/oidc", code: 200 }))).annotate({
|
|
2155
|
-
identifier: "RequestOidcTokenRequest",
|
|
2156
|
-
});
|
|
1737
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/tokens/oidc", code: 200 }))).annotate({ identifier: "RequestOidcTokenRequest" });
|
|
2157
1738
|
export const RequestOidcTokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2158
1739
|
identifier: "RequestOidcTokenResponse",
|
|
2159
1740
|
});
|
|
@@ -2164,13 +1745,7 @@ export const RestartMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2164
1745
|
timeout: S.optional(S.String.pipe(T.Query())),
|
|
2165
1746
|
signal: S.optional(RestartMachineRequestSignal.pipe(T.Query())),
|
|
2166
1747
|
lease_nonce: S.optional(S.String.pipe(T.Header("fly-machine-lease-nonce"))),
|
|
2167
|
-
}).pipe(T.Http({
|
|
2168
|
-
method: "POST",
|
|
2169
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/restart",
|
|
2170
|
-
code: 200,
|
|
2171
|
-
}))).annotate({
|
|
2172
|
-
identifier: "RestartMachineRequest",
|
|
2173
|
-
});
|
|
1748
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/machines/{machine_id}/restart", code: 200 }))).annotate({ identifier: "RestartMachineRequest" });
|
|
2174
1749
|
export const RestartMachineResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2175
1750
|
identifier: "RestartMachineResponse",
|
|
2176
1751
|
});
|
|
@@ -2179,13 +1754,7 @@ export const RestorePostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2179
1754
|
backup_id: S.optional(S.String),
|
|
2180
1755
|
name: S.optional(S.String),
|
|
2181
1756
|
pitr_time: S.optional(S.String),
|
|
2182
|
-
}).pipe(T.Http({
|
|
2183
|
-
method: "POST",
|
|
2184
|
-
uri: "/v1/postgres/{postgres_cluster_id}/restore",
|
|
2185
|
-
code: 200,
|
|
2186
|
-
}))).annotate({
|
|
2187
|
-
identifier: "RestorePostgresRequest",
|
|
2188
|
-
});
|
|
1757
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/postgres/{postgres_cluster_id}/restore", code: 200 }))).annotate({ identifier: "RestorePostgresRequest" });
|
|
2189
1758
|
export const RotatePostgresUserPasswordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2190
1759
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
2191
1760
|
username: S.String.pipe(T.Label()),
|
|
@@ -2206,11 +1775,7 @@ export const SetMachineMemoryLimitRequest = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
2206
1775
|
app_name: S.String.pipe(T.Label()),
|
|
2207
1776
|
machine_id: S.String.pipe(T.Label()),
|
|
2208
1777
|
limit_mb: S.optional(S.Number),
|
|
2209
|
-
}).pipe(T.Http({
|
|
2210
|
-
method: "PUT",
|
|
2211
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/memory",
|
|
2212
|
-
code: 200,
|
|
2213
|
-
}))).annotate({
|
|
1778
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v1/apps/{app_name}/machines/{machine_id}/memory", code: 200 }))).annotate({
|
|
2214
1779
|
identifier: "SetMachineMemoryLimitRequest",
|
|
2215
1780
|
});
|
|
2216
1781
|
export const SetSecretKeyRequestValueList = /*@__PURE__*/ S.Array(S.Number);
|
|
@@ -2219,25 +1784,13 @@ export const SetSecretKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2219
1784
|
secret_name: S.String.pipe(T.Label()),
|
|
2220
1785
|
type: S.optional(S.String),
|
|
2221
1786
|
value: S.optional(SetSecretKeyRequestValueList),
|
|
2222
|
-
}).pipe(T.Http({
|
|
2223
|
-
method: "POST",
|
|
2224
|
-
uri: "/v1/apps/{app_name}/secretkeys/{secret_name}",
|
|
2225
|
-
code: 200,
|
|
2226
|
-
}))).annotate({
|
|
2227
|
-
identifier: "SetSecretKeyRequest",
|
|
2228
|
-
});
|
|
1787
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/secretkeys/{secret_name}", code: 200 }))).annotate({ identifier: "SetSecretKeyRequest" });
|
|
2229
1788
|
export const SignalMachineRequestSignal = S.String;
|
|
2230
1789
|
export const SignalMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2231
1790
|
app_name: S.String.pipe(T.Label()),
|
|
2232
1791
|
machine_id: S.String.pipe(T.Label()),
|
|
2233
1792
|
signal: S.optional(SignalMachineRequestSignal),
|
|
2234
|
-
}).pipe(T.Http({
|
|
2235
|
-
method: "POST",
|
|
2236
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/signal",
|
|
2237
|
-
code: 200,
|
|
2238
|
-
}))).annotate({
|
|
2239
|
-
identifier: "SignalMachineRequest",
|
|
2240
|
-
});
|
|
1793
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/machines/{machine_id}/signal", code: 200 }))).annotate({ identifier: "SignalMachineRequest" });
|
|
2241
1794
|
export const SignalMachineResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2242
1795
|
identifier: "SignalMachineResponse",
|
|
2243
1796
|
});
|
|
@@ -2246,29 +1799,15 @@ export const SignSecretKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2246
1799
|
secret_name: S.String.pipe(T.Label()),
|
|
2247
1800
|
min_version: S.optional(S.String.pipe(T.Query())),
|
|
2248
1801
|
plaintext: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
2249
|
-
}).pipe(T.Http({
|
|
2250
|
-
method: "POST",
|
|
2251
|
-
uri: "/v1/apps/{app_name}/secretkeys/{secret_name}/sign",
|
|
2252
|
-
code: 200,
|
|
2253
|
-
}))).annotate({
|
|
2254
|
-
identifier: "SignSecretKeyRequest",
|
|
2255
|
-
});
|
|
1802
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/secretkeys/{secret_name}/sign", code: 200 }))).annotate({ identifier: "SignSecretKeyRequest" });
|
|
2256
1803
|
export const SignSecretkeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2257
1804
|
signature: S.optional(S.String),
|
|
2258
|
-
})).annotate({
|
|
2259
|
-
identifier: "SignSecretkeyResponse",
|
|
2260
|
-
});
|
|
1805
|
+
})).annotate({ identifier: "SignSecretkeyResponse" });
|
|
2261
1806
|
export const StartMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2262
1807
|
app_name: S.String.pipe(T.Label()),
|
|
2263
1808
|
machine_id: S.String.pipe(T.Label()),
|
|
2264
1809
|
lease_nonce: S.optional(S.String.pipe(T.Header("fly-machine-lease-nonce"))),
|
|
2265
|
-
}).pipe(T.Http({
|
|
2266
|
-
method: "POST",
|
|
2267
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/start",
|
|
2268
|
-
code: 200,
|
|
2269
|
-
}))).annotate({
|
|
2270
|
-
identifier: "StartMachineRequest",
|
|
2271
|
-
});
|
|
1810
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/machines/{machine_id}/start", code: 200 }))).annotate({ identifier: "StartMachineRequest" });
|
|
2272
1811
|
export const StartMachineResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2273
1812
|
identifier: "StartMachineResponse",
|
|
2274
1813
|
});
|
|
@@ -2279,13 +1818,7 @@ export const StopMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2279
1818
|
signal: S.optional(StopMachineRequestSignal),
|
|
2280
1819
|
timeout: S.optional(S.String),
|
|
2281
1820
|
lease_nonce: S.optional(S.String.pipe(T.Header("fly-machine-lease-nonce"))),
|
|
2282
|
-
}).pipe(T.Http({
|
|
2283
|
-
method: "POST",
|
|
2284
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/stop",
|
|
2285
|
-
code: 200,
|
|
2286
|
-
}))).annotate({
|
|
2287
|
-
identifier: "StopMachineRequest",
|
|
2288
|
-
});
|
|
1821
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/machines/{machine_id}/stop", code: 200 }))).annotate({ identifier: "StopMachineRequest" });
|
|
2289
1822
|
export const StopMachineResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2290
1823
|
identifier: "StopMachineResponse",
|
|
2291
1824
|
});
|
|
@@ -2293,13 +1826,7 @@ export const SuspendMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2293
1826
|
app_name: S.String.pipe(T.Label()),
|
|
2294
1827
|
machine_id: S.String.pipe(T.Label()),
|
|
2295
1828
|
lease_nonce: S.optional(S.String.pipe(T.Header("fly-machine-lease-nonce"))),
|
|
2296
|
-
}).pipe(T.Http({
|
|
2297
|
-
method: "POST",
|
|
2298
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/suspend",
|
|
2299
|
-
code: 200,
|
|
2300
|
-
}))).annotate({
|
|
2301
|
-
identifier: "SuspendMachineRequest",
|
|
2302
|
-
});
|
|
1829
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/machines/{machine_id}/suspend", code: 200 }))).annotate({ identifier: "SuspendMachineRequest" });
|
|
2303
1830
|
export const SuspendMachineResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2304
1831
|
identifier: "SuspendMachineResponse",
|
|
2305
1832
|
});
|
|
@@ -2311,9 +1838,7 @@ export const UncordonMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2311
1838
|
method: "POST",
|
|
2312
1839
|
uri: "/v1/apps/{app_name}/machines/{machine_id}/uncordon",
|
|
2313
1840
|
code: 200,
|
|
2314
|
-
}))).annotate({
|
|
2315
|
-
identifier: "UncordonMachineRequest",
|
|
2316
|
-
});
|
|
1841
|
+
}))).annotate({ identifier: "UncordonMachineRequest" });
|
|
2317
1842
|
export const UncordonMachineResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2318
1843
|
identifier: "UncordonMachineResponse",
|
|
2319
1844
|
});
|
|
@@ -2330,13 +1855,7 @@ export const UpdateMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2330
1855
|
skip_secrets: S.optional(S.Boolean),
|
|
2331
1856
|
skip_service_registration: S.optional(S.Boolean),
|
|
2332
1857
|
lease_nonce: S.optional(S.String.pipe(T.Header("fly-machine-lease-nonce"))),
|
|
2333
|
-
}).pipe(T.Http({
|
|
2334
|
-
method: "POST",
|
|
2335
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}",
|
|
2336
|
-
code: 200,
|
|
2337
|
-
}))).annotate({
|
|
2338
|
-
identifier: "UpdateMachineRequest",
|
|
2339
|
-
});
|
|
1858
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/machines/{machine_id}", code: 200 }))).annotate({ identifier: "UpdateMachineRequest" });
|
|
2340
1859
|
export const UpdatePostgresUserRoleRequestRole = S.String;
|
|
2341
1860
|
export const UpdatePostgresUserRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2342
1861
|
postgres_cluster_id: S.String.pipe(T.Label()),
|
|
@@ -2356,29 +1875,19 @@ export const UpdateSecretsRequestValuesMap = /*@__PURE__*/ S.Record(S.String, S.
|
|
|
2356
1875
|
export const UpdateSecretsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2357
1876
|
app_name: S.String.pipe(T.Label()),
|
|
2358
1877
|
values: S.optional(UpdateSecretsRequestValuesMap),
|
|
2359
|
-
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/secrets", code: 200 }))).annotate({
|
|
2360
|
-
identifier: "UpdateSecretsRequest",
|
|
2361
|
-
});
|
|
1878
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1/apps/{app_name}/secrets", code: 200 }))).annotate({ identifier: "UpdateSecretsRequest" });
|
|
2362
1879
|
export const AppSecretsUpdateRespSecretsList = /*@__PURE__*/ S.Array(AppSecret);
|
|
2363
1880
|
export const AppSecretsUpdateResp = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2364
1881
|
Version: S.optional(S.Number),
|
|
2365
1882
|
secrets: S.optional(AppSecretsUpdateRespSecretsList),
|
|
2366
1883
|
version: S.optional(S.Number),
|
|
2367
|
-
})).annotate({
|
|
2368
|
-
identifier: "AppSecretsUpdateResp",
|
|
2369
|
-
});
|
|
1884
|
+
})).annotate({ identifier: "AppSecretsUpdateResp" });
|
|
2370
1885
|
export const UpdateVolumeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2371
1886
|
app_name: S.String.pipe(T.Label()),
|
|
2372
1887
|
volume_id: S.String.pipe(T.Label()),
|
|
2373
1888
|
auto_backup_enabled: S.optional(S.Boolean),
|
|
2374
1889
|
snapshot_retention: S.optional(S.Number),
|
|
2375
|
-
}).pipe(T.Http({
|
|
2376
|
-
method: "PUT",
|
|
2377
|
-
uri: "/v1/apps/{app_name}/volumes/{volume_id}",
|
|
2378
|
-
code: 200,
|
|
2379
|
-
}))).annotate({
|
|
2380
|
-
identifier: "UpdateVolumeRequest",
|
|
2381
|
-
});
|
|
1890
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v1/apps/{app_name}/volumes/{volume_id}", code: 200 }))).annotate({ identifier: "UpdateVolumeRequest" });
|
|
2382
1891
|
export const UpsertMachineMetadataRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2383
1892
|
app_name: S.String.pipe(T.Label()),
|
|
2384
1893
|
machine_id: S.String.pipe(T.Label()),
|
|
@@ -2405,9 +1914,7 @@ export const VerifySecretKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2405
1914
|
method: "POST",
|
|
2406
1915
|
uri: "/v1/apps/{app_name}/secretkeys/{secret_name}/verify",
|
|
2407
1916
|
code: 200,
|
|
2408
|
-
}))).annotate({
|
|
2409
|
-
identifier: "VerifySecretKeyRequest",
|
|
2410
|
-
});
|
|
1917
|
+
}))).annotate({ identifier: "VerifySecretKeyRequest" });
|
|
2411
1918
|
export const VerifySecretKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2412
1919
|
identifier: "VerifySecretKeyResponse",
|
|
2413
1920
|
});
|
|
@@ -2420,21 +1927,13 @@ export const WaitMachineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2420
1927
|
from_event_id: S.optional(S.String.pipe(T.Query())),
|
|
2421
1928
|
timeout: S.optional(S.Number.pipe(T.Query())),
|
|
2422
1929
|
state: S.optional(WaitMachineRequestState.pipe(T.Query())),
|
|
2423
|
-
}).pipe(T.Http({
|
|
2424
|
-
method: "GET",
|
|
2425
|
-
uri: "/v1/apps/{app_name}/machines/{machine_id}/wait",
|
|
2426
|
-
code: 200,
|
|
2427
|
-
}))).annotate({
|
|
2428
|
-
identifier: "WaitMachineRequest",
|
|
2429
|
-
});
|
|
1930
|
+
}).pipe(T.Http({ method: "GET", uri: "/v1/apps/{app_name}/machines/{machine_id}/wait", code: 200 }))).annotate({ identifier: "WaitMachineRequest" });
|
|
2430
1931
|
export const WaitMachineResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2431
1932
|
event_id: S.optional(S.String),
|
|
2432
1933
|
ok: S.optional(S.Boolean),
|
|
2433
1934
|
state: S.optional(S.String),
|
|
2434
1935
|
version: S.optional(S.String),
|
|
2435
|
-
})).annotate({
|
|
2436
|
-
identifier: "WaitMachineResponse",
|
|
2437
|
-
});
|
|
1936
|
+
})).annotate({ identifier: "WaitMachineResponse" });
|
|
2438
1937
|
/** Authenticate token header Verify a token header without checking resource access. */
|
|
2439
1938
|
export const authenticateToken = /*@__PURE__*/ API.make(() => ({
|
|
2440
1939
|
input: AuthenticateTokenRequest,
|
|
@@ -2764,7 +2263,8 @@ export const generateSecretKey = /*@__PURE__*/ API.make(() => ({
|
|
|
2764
2263
|
retry: Retry.Retry,
|
|
2765
2264
|
}));
|
|
2766
2265
|
/** Get App Retrieve details about a specific app by its name. */
|
|
2767
|
-
export const getApp =
|
|
2266
|
+
export const getApp =
|
|
2267
|
+
/*@__PURE__*/ API.make(() => ({
|
|
2768
2268
|
input: GetAppRequest,
|
|
2769
2269
|
output: App,
|
|
2770
2270
|
errors: [Forbidden, NotFound],
|
|
@@ -3067,7 +2567,7 @@ export const reclaimMachineMemory = /*@__PURE__*/ API.make(() => ({
|
|
|
3067
2567
|
protocol: FlyIoProtocol,
|
|
3068
2568
|
retry: Retry.Retry,
|
|
3069
2569
|
}));
|
|
3070
|
-
/** Request a Petsem token for accessing KMS
|
|
2570
|
+
/** Request a Petsem token for accessing KMS */
|
|
3071
2571
|
export const requestKmsToken = /*@__PURE__*/ API.make(() => ({
|
|
3072
2572
|
input: RequestKmsTokenRequest,
|
|
3073
2573
|
output: RequestKmsTokenResponse,
|