@distilled.cloud/render 1.0.0-rc.12 → 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/README.md +34 -0
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +3 -3
- 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/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js +3 -7
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +5 -5
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +4 -7
- package/lib/protocol.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/render.d.ts +622 -128
- package/lib/services/render.d.ts.map +1 -1
- package/lib/services/render.js +921 -1177
- package/lib/services/render.js.map +1 -1
- package/package.json +13 -11
- package/src/credentials.ts +7 -8
- package/src/errors.ts +5 -8
- package/src/index.ts +2 -11
- package/src/pagination.ts +7 -19
- package/src/protocol.ts +29 -33
- package/src/retry.ts +2 -8
- package/src/services/render.ts +2493 -2815
package/lib/services/render.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as C from "@distilled.cloud/core/category";
|
|
1
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-render). Do not edit.
|
|
2
4
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
5
|
import * as Redacted from "effect/Redacted";
|
|
4
|
-
import * as API from "@distilled.cloud/core/api";
|
|
5
|
-
import * as C from "@distilled.cloud/core/category";
|
|
6
|
-
import * as T from "../traits.js";
|
|
7
|
-
import { RenderProtocol, } from "../protocol.js";
|
|
8
6
|
import { UnknownRenderError } from "../errors.js";
|
|
7
|
+
import { RenderProtocol } from "../protocol.js";
|
|
9
8
|
import * as Retry from "../retry.js";
|
|
9
|
+
import * as T from "../traits.js";
|
|
10
10
|
export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
11
11
|
/*@__PURE__*/ S.TaggedError()("BadRequest", {
|
|
12
12
|
code: S.Number,
|
|
@@ -45,17 +45,13 @@ export const AddDiskResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
45
45
|
serviceId: S.optional(S.String),
|
|
46
46
|
createdAt: S.String,
|
|
47
47
|
updatedAt: S.String,
|
|
48
|
-
})).annotate({
|
|
49
|
-
identifier: "AddDiskResponse",
|
|
50
|
-
});
|
|
48
|
+
})).annotate({ identifier: "AddDiskResponse" });
|
|
51
49
|
export const AddHeadersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
52
50
|
serviceId: S.String.pipe(T.Label()),
|
|
53
51
|
path: S.String,
|
|
54
52
|
name: S.String,
|
|
55
53
|
value: S.String,
|
|
56
|
-
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/headers", code: 200 }))).annotate({
|
|
57
|
-
identifier: "AddHeadersRequest",
|
|
58
|
-
});
|
|
54
|
+
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/headers", code: 200 }))).annotate({ identifier: "AddHeadersRequest" });
|
|
59
55
|
export const Header = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
60
56
|
id: S.String,
|
|
61
57
|
path: S.String,
|
|
@@ -64,43 +60,41 @@ export const Header = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
64
60
|
})).annotate({ identifier: "Header" });
|
|
65
61
|
export const AddHeadersResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
66
62
|
headers: S.optional(Header),
|
|
67
|
-
})).annotate({
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
export const AddOrUpdateSecretFileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
71
|
-
serviceId: S.String.pipe(T.Label()),
|
|
63
|
+
})).annotate({ identifier: "AddHeadersResponse" });
|
|
64
|
+
export const AddOrUpdateBuildSourceSecretFileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
65
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
72
66
|
envVarKey: S.String.pipe(T.Label()),
|
|
73
67
|
content: S.optional(S.String),
|
|
74
68
|
}).pipe(T.Http({
|
|
75
69
|
method: "PUT",
|
|
76
|
-
uri: "/
|
|
70
|
+
uri: "/build-sources/{buildSourceId}/secret-files/{envVarKey}",
|
|
77
71
|
code: 200,
|
|
78
72
|
}))).annotate({
|
|
79
|
-
identifier: "
|
|
73
|
+
identifier: "AddOrUpdateBuildSourceSecretFileRequest",
|
|
80
74
|
});
|
|
81
75
|
export const SecretFile = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
82
76
|
name: S.String,
|
|
83
77
|
content: S.String,
|
|
84
78
|
})).annotate({ identifier: "SecretFile" });
|
|
85
|
-
export const
|
|
86
|
-
|
|
79
|
+
export const AddOrUpdateSecretFileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
80
|
+
serviceId: S.String.pipe(T.Label()),
|
|
81
|
+
envVarKey: S.String.pipe(T.Label()),
|
|
82
|
+
content: S.optional(S.String),
|
|
83
|
+
}).pipe(T.Http({ method: "PUT", uri: "/services/{serviceId}/secret-files/{envVarKey}", code: 200 }))).annotate({
|
|
84
|
+
identifier: "AddOrUpdateSecretFileRequest",
|
|
85
|
+
});
|
|
86
|
+
export const AddResourcesToEnvironmentRequestResourceIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
87
87
|
export const AddResourcesToEnvironmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
88
88
|
environmentId: S.String.pipe(T.Label()),
|
|
89
89
|
resourceIds: AddResourcesToEnvironmentRequestResourceIdsList,
|
|
90
|
-
}).pipe(T.Http({
|
|
91
|
-
method: "POST",
|
|
92
|
-
uri: "/environments/{environmentId}/resources",
|
|
93
|
-
code: 200,
|
|
94
|
-
}))).annotate({
|
|
90
|
+
}).pipe(T.Http({ method: "POST", uri: "/environments/{environmentId}/resources", code: 200 }))).annotate({
|
|
95
91
|
identifier: "AddResourcesToEnvironmentRequest",
|
|
96
92
|
});
|
|
97
93
|
export const EnvironmentDatabasesIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
98
94
|
export const CidrBlockAndDescription = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
99
95
|
cidrBlock: S.String,
|
|
100
96
|
description: S.String,
|
|
101
|
-
})).annotate({
|
|
102
|
-
identifier: "CidrBlockAndDescription",
|
|
103
|
-
});
|
|
97
|
+
})).annotate({ identifier: "CidrBlockAndDescription" });
|
|
104
98
|
export const EnvironmentIpAllowListList = /*@__PURE__*/ S.Array(CidrBlockAndDescription);
|
|
105
99
|
export const EnvironmentRedisIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
106
100
|
export const EnvironmentServiceIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -125,9 +119,7 @@ export const AddRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
125
119
|
source: S.String,
|
|
126
120
|
destination: S.String,
|
|
127
121
|
priority: S.optional(S.Number),
|
|
128
|
-
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/routes", code: 200 }))).annotate({
|
|
129
|
-
identifier: "AddRouteRequest",
|
|
130
|
-
});
|
|
122
|
+
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/routes", code: 200 }))).annotate({ identifier: "AddRouteRequest" });
|
|
131
123
|
export const Route = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
132
124
|
id: S.String,
|
|
133
125
|
type: RouteType,
|
|
@@ -154,13 +146,7 @@ export const AutoscaleServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
154
146
|
min: S.Number,
|
|
155
147
|
max: S.Number,
|
|
156
148
|
criteria: AutoscaleServiceRequestCriteria,
|
|
157
|
-
}).pipe(T.Http({
|
|
158
|
-
method: "PUT",
|
|
159
|
-
uri: "/services/{serviceId}/autoscaling",
|
|
160
|
-
code: 200,
|
|
161
|
-
}))).annotate({
|
|
162
|
-
identifier: "AutoscaleServiceRequest",
|
|
163
|
-
});
|
|
149
|
+
}).pipe(T.Http({ method: "PUT", uri: "/services/{serviceId}/autoscaling", code: 200 }))).annotate({ identifier: "AutoscaleServiceRequest" });
|
|
164
150
|
export const SchemaCriteriaCpu = AutoscaleServiceRequestCriteriaCpu;
|
|
165
151
|
export const SchemaCriteria = AutoscaleServiceRequestCriteria;
|
|
166
152
|
export const Schema5 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -171,22 +157,14 @@ export const Schema5 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
171
157
|
})).annotate({ identifier: "Schema5" });
|
|
172
158
|
export const CancelCronJobRunRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
173
159
|
cronJobId: S.String.pipe(T.Label()),
|
|
174
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/cron-jobs/{cronJobId}/runs", code: 200 }))).annotate({
|
|
175
|
-
identifier: "CancelCronJobRunRequest",
|
|
176
|
-
});
|
|
160
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/cron-jobs/{cronJobId}/runs", code: 200 }))).annotate({ identifier: "CancelCronJobRunRequest" });
|
|
177
161
|
export const CancelCronJobRunResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
178
162
|
identifier: "CancelCronJobRunResponse",
|
|
179
163
|
});
|
|
180
164
|
export const CancelDeployRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
181
165
|
serviceId: S.String.pipe(T.Label()),
|
|
182
166
|
deployId: S.String.pipe(T.Label()),
|
|
183
|
-
}).pipe(T.Http({
|
|
184
|
-
method: "POST",
|
|
185
|
-
uri: "/services/{serviceId}/deploys/{deployId}/cancel",
|
|
186
|
-
code: 200,
|
|
187
|
-
}))).annotate({
|
|
188
|
-
identifier: "CancelDeployRequest",
|
|
189
|
-
});
|
|
167
|
+
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/deploys/{deployId}/cancel", code: 200 }))).annotate({ identifier: "CancelDeployRequest" });
|
|
190
168
|
export const DeployCommit = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
191
169
|
id: S.optional(S.String),
|
|
192
170
|
message: S.optional(S.String),
|
|
@@ -213,13 +191,7 @@ export const Deploy = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
213
191
|
export const CancelJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
214
192
|
serviceId: S.String.pipe(T.Label()),
|
|
215
193
|
jobId: S.String.pipe(T.Label()),
|
|
216
|
-
}).pipe(T.Http({
|
|
217
|
-
method: "POST",
|
|
218
|
-
uri: "/services/{serviceId}/jobs/{jobId}/cancel",
|
|
219
|
-
code: 200,
|
|
220
|
-
}))).annotate({
|
|
221
|
-
identifier: "CancelJobRequest",
|
|
222
|
-
});
|
|
194
|
+
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/jobs/{jobId}/cancel", code: 200 }))).annotate({ identifier: "CancelJobRequest" });
|
|
223
195
|
export const Items2 = S.String;
|
|
224
196
|
export const Schema7 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
225
197
|
id: S.String,
|
|
@@ -233,20 +205,106 @@ export const Schema7 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
233
205
|
})).annotate({ identifier: "Schema7" });
|
|
234
206
|
export const CancelTaskRunRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
235
207
|
taskRunId: S.String.pipe(T.Label()),
|
|
236
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/task-runs/{taskRunId}", code: 200 }))).annotate({
|
|
237
|
-
identifier: "CancelTaskRunRequest",
|
|
238
|
-
});
|
|
208
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/task-runs/{taskRunId}", code: 200 }))).annotate({ identifier: "CancelTaskRunRequest" });
|
|
239
209
|
export const CancelTaskRunResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
240
210
|
identifier: "CancelTaskRunResponse",
|
|
241
211
|
});
|
|
212
|
+
export const BuildFilterPathsList2 = /*@__PURE__*/ S.Array(S.String);
|
|
213
|
+
export const BuildFilterIgnoredPathsList2 = /*@__PURE__*/ S.Array(S.String);
|
|
214
|
+
export const BuildFilter2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
215
|
+
paths: BuildFilterPathsList2,
|
|
216
|
+
ignoredPaths: BuildFilterIgnoredPathsList2,
|
|
217
|
+
})).annotate({ identifier: "BuildFilter2" });
|
|
218
|
+
export const CreateBuildSourceRequestGitRuntime = S.String;
|
|
219
|
+
export const CreateBuildSourceRequestGitRegion = S.String;
|
|
220
|
+
export const CreateBuildSourceRequestGit = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
221
|
+
baseDir: S.optional(S.String),
|
|
222
|
+
branch: S.optional(S.String),
|
|
223
|
+
buildCommand: S.optional(S.String),
|
|
224
|
+
buildFilter: S.optional(BuildFilter2),
|
|
225
|
+
dockerfilePath: S.optional(S.String),
|
|
226
|
+
runtime: CreateBuildSourceRequestGitRuntime,
|
|
227
|
+
registryCredentialId: S.optional(S.String),
|
|
228
|
+
region: S.optional(CreateBuildSourceRequestGitRegion),
|
|
229
|
+
repoUrl: S.optional(S.String),
|
|
230
|
+
rootDir: S.optional(S.String),
|
|
231
|
+
})).annotate({
|
|
232
|
+
identifier: "CreateBuildSourceRequestGit",
|
|
233
|
+
});
|
|
234
|
+
export const CreateBuildSourceRequestImage = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
235
|
+
ownerId: S.String,
|
|
236
|
+
registryCredentialId: S.optional(S.String),
|
|
237
|
+
imageUrl: S.String,
|
|
238
|
+
})).annotate({
|
|
239
|
+
identifier: "CreateBuildSourceRequestImage",
|
|
240
|
+
});
|
|
241
|
+
export const CreateBuildSourceRequestServiceIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
242
|
+
export const SchemaItemCase0 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
243
|
+
key: S.String,
|
|
244
|
+
value: S.String,
|
|
245
|
+
})).annotate({ identifier: "SchemaItemCase0" });
|
|
246
|
+
export const SchemaItemCase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
247
|
+
key: S.String,
|
|
248
|
+
generateValue: S.Boolean,
|
|
249
|
+
})).annotate({ identifier: "SchemaItemCase1" });
|
|
250
|
+
export const SchemaItem = S.Unknown;
|
|
251
|
+
export const Schema6 = /*@__PURE__*/ S.Array(SchemaItem);
|
|
252
|
+
export const Items = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
253
|
+
name: S.String,
|
|
254
|
+
content: S.String,
|
|
255
|
+
})).annotate({ identifier: "Items" });
|
|
256
|
+
export const CreateBuildSourceRequestSecretFilesList = /*@__PURE__*/ S.Array(Items);
|
|
257
|
+
export const CreateBuildSourceRequestEnvGroupIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
258
|
+
export const CreateBuildSourceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
259
|
+
ownerId: S.String,
|
|
260
|
+
name: S.String,
|
|
261
|
+
projectId: S.optional(S.String),
|
|
262
|
+
git: S.optional(CreateBuildSourceRequestGit),
|
|
263
|
+
image: S.optional(CreateBuildSourceRequestImage),
|
|
264
|
+
serviceIds: S.optional(CreateBuildSourceRequestServiceIdsList),
|
|
265
|
+
envVars: S.optional(Schema6),
|
|
266
|
+
secretFiles: S.optional(CreateBuildSourceRequestSecretFilesList),
|
|
267
|
+
envGroupIds: S.optional(CreateBuildSourceRequestEnvGroupIdsList),
|
|
268
|
+
}).pipe(T.Http({ method: "POST", uri: "/build-sources", code: 200 }))).annotate({ identifier: "CreateBuildSourceRequest" });
|
|
269
|
+
export const GitRuntime = S.String;
|
|
270
|
+
export const GitRegion = S.String;
|
|
271
|
+
export const Git = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
272
|
+
baseDir: S.optional(S.String),
|
|
273
|
+
branch: S.optional(S.String),
|
|
274
|
+
buildCommand: S.optional(S.String),
|
|
275
|
+
buildFilter: S.optional(BuildFilter2),
|
|
276
|
+
dockerfilePath: S.optional(S.String),
|
|
277
|
+
runtime: GitRuntime,
|
|
278
|
+
registryCredentialId: S.optional(S.String),
|
|
279
|
+
region: S.optional(GitRegion),
|
|
280
|
+
repoUrl: S.optional(S.String),
|
|
281
|
+
rootDir: S.optional(S.String),
|
|
282
|
+
})).annotate({ identifier: "Git" });
|
|
283
|
+
export const Image2 = CreateBuildSourceRequestImage;
|
|
284
|
+
export const CreateBuildSourceResponseServiceLinksItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
285
|
+
id: S.String,
|
|
286
|
+
name: S.String,
|
|
287
|
+
})).annotate({
|
|
288
|
+
identifier: "CreateBuildSourceResponseServiceLinksItem",
|
|
289
|
+
});
|
|
290
|
+
export const CreateBuildSourceResponseServiceLinksList = /*@__PURE__*/ S.Array(CreateBuildSourceResponseServiceLinksItem);
|
|
291
|
+
export const CreateBuildSourceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
292
|
+
id: S.String,
|
|
293
|
+
name: S.String,
|
|
294
|
+
ownerId: S.String,
|
|
295
|
+
projectId: S.optional(S.String),
|
|
296
|
+
git: S.optional(Git),
|
|
297
|
+
image: S.optional(CreateBuildSourceRequestImage),
|
|
298
|
+
createdAt: S.String,
|
|
299
|
+
updatedAt: S.String,
|
|
300
|
+
serviceLinks: CreateBuildSourceResponseServiceLinksList,
|
|
301
|
+
})).annotate({
|
|
302
|
+
identifier: "CreateBuildSourceResponse",
|
|
303
|
+
});
|
|
242
304
|
export const CreateCustomDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
243
305
|
serviceId: S.String.pipe(T.Label()),
|
|
244
306
|
name: S.String,
|
|
245
|
-
}).pipe(T.Http({
|
|
246
|
-
method: "POST",
|
|
247
|
-
uri: "/services/{serviceId}/custom-domains",
|
|
248
|
-
code: 200,
|
|
249
|
-
}))).annotate({
|
|
307
|
+
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/custom-domains", code: 200 }))).annotate({
|
|
250
308
|
identifier: "CreateCustomDomainRequest",
|
|
251
309
|
});
|
|
252
310
|
export const CustomDomainDomainType = S.String;
|
|
@@ -254,9 +312,7 @@ export const CustomDomainVerificationStatus = S.String;
|
|
|
254
312
|
export const CustomDomainServer = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
255
313
|
id: S.optional(S.String),
|
|
256
314
|
name: S.optional(S.String),
|
|
257
|
-
})).annotate({
|
|
258
|
-
identifier: "CustomDomainServer",
|
|
259
|
-
});
|
|
315
|
+
})).annotate({ identifier: "CustomDomainServer" });
|
|
260
316
|
export const CustomDomain = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
261
317
|
id: S.String,
|
|
262
318
|
name: S.String,
|
|
@@ -279,9 +335,7 @@ export const CreateDedicatedIpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
279
335
|
ownerId: S.String,
|
|
280
336
|
region: Region,
|
|
281
337
|
environmentIds: S.optional(CreateDedicatedIpRequestEnvironmentIdsList),
|
|
282
|
-
}).pipe(T.Http({ method: "POST", uri: "/dedicated-ips", code: 200 }))).annotate({
|
|
283
|
-
identifier: "CreateDedicatedIpRequest",
|
|
284
|
-
});
|
|
338
|
+
}).pipe(T.Http({ method: "POST", uri: "/dedicated-ips", code: 200 }))).annotate({ identifier: "CreateDedicatedIpRequest" });
|
|
285
339
|
export const DedicatedIPEnvironmentIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
286
340
|
export const DedicatedIPIpsList = /*@__PURE__*/ S.Array(S.String);
|
|
287
341
|
export const DedicatedIPStatus = S.String;
|
|
@@ -301,31 +355,12 @@ export const CreateDeployRequestClearCache = S.String;
|
|
|
301
355
|
export const DeployMode = S.String;
|
|
302
356
|
export const CreateDeployRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
303
357
|
serviceId: S.String.pipe(T.Label()),
|
|
358
|
+
buildId: S.optional(S.String),
|
|
304
359
|
clearCache: S.optional(CreateDeployRequestClearCache),
|
|
305
360
|
commitId: S.optional(S.String),
|
|
306
361
|
imageUrl: S.optional(S.String),
|
|
307
362
|
deployMode: S.optional(DeployMode),
|
|
308
|
-
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/deploys", code: 200 }))).annotate({
|
|
309
|
-
identifier: "CreateDeployRequest",
|
|
310
|
-
});
|
|
311
|
-
export const SchemaItemCase0 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
312
|
-
key: S.String,
|
|
313
|
-
value: S.String,
|
|
314
|
-
})).annotate({
|
|
315
|
-
identifier: "SchemaItemCase0",
|
|
316
|
-
});
|
|
317
|
-
export const SchemaItemCase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
318
|
-
key: S.String,
|
|
319
|
-
generateValue: S.Boolean,
|
|
320
|
-
})).annotate({
|
|
321
|
-
identifier: "SchemaItemCase1",
|
|
322
|
-
});
|
|
323
|
-
export const SchemaItem = S.Unknown;
|
|
324
|
-
export const Schema6 = /*@__PURE__*/ S.Array(SchemaItem);
|
|
325
|
-
export const Items = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
326
|
-
name: S.String,
|
|
327
|
-
content: S.String,
|
|
328
|
-
})).annotate({ identifier: "Items" });
|
|
363
|
+
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/deploys", code: 200 }))).annotate({ identifier: "CreateDeployRequest" });
|
|
329
364
|
export const CreateEnvGroupRequestSecretFilesList = /*@__PURE__*/ S.Array(Items);
|
|
330
365
|
export const CreateEnvGroupRequestServiceIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
331
366
|
export const CreateEnvGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -335,9 +370,7 @@ export const CreateEnvGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
335
370
|
secretFiles: S.optional(CreateEnvGroupRequestSecretFilesList),
|
|
336
371
|
serviceIds: S.optional(CreateEnvGroupRequestServiceIdsList),
|
|
337
372
|
environmentId: S.optional(S.String),
|
|
338
|
-
}).pipe(T.Http({ method: "POST", uri: "/env-groups", code: 200 }))).annotate({
|
|
339
|
-
identifier: "CreateEnvGroupRequest",
|
|
340
|
-
});
|
|
373
|
+
}).pipe(T.Http({ method: "POST", uri: "/env-groups", code: 200 }))).annotate({ identifier: "CreateEnvGroupRequest" });
|
|
341
374
|
export const ServiceTypeShort = S.String;
|
|
342
375
|
export const EnvGroupLink = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
343
376
|
id: S.String,
|
|
@@ -361,9 +394,7 @@ export const CreateEnvGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
361
394
|
environmentId: S.optional(S.String),
|
|
362
395
|
envVars: CreateEnvGroupResponseEnvVarsList,
|
|
363
396
|
secretFiles: CreateEnvGroupResponseSecretFilesList,
|
|
364
|
-
})).annotate({
|
|
365
|
-
identifier: "CreateEnvGroupResponse",
|
|
366
|
-
});
|
|
397
|
+
})).annotate({ identifier: "CreateEnvGroupResponse" });
|
|
367
398
|
export const CreateEnvironmentRequestIpAllowListList = /*@__PURE__*/ S.Array(CidrBlockAndDescription);
|
|
368
399
|
export const CreateEnvironmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
369
400
|
name: S.String,
|
|
@@ -371,9 +402,7 @@ export const CreateEnvironmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
371
402
|
protectedStatus: S.optional(ProtectedStatus),
|
|
372
403
|
networkIsolationEnabled: S.optional(S.Boolean),
|
|
373
404
|
ipAllowList: S.optional(CreateEnvironmentRequestIpAllowListList),
|
|
374
|
-
}).pipe(T.Http({ method: "POST", uri: "/environments", code: 200 }))).annotate({
|
|
375
|
-
identifier: "CreateEnvironmentRequest",
|
|
376
|
-
});
|
|
405
|
+
}).pipe(T.Http({ method: "POST", uri: "/environments", code: 200 }))).annotate({ identifier: "CreateEnvironmentRequest" });
|
|
377
406
|
export const KeyValuePlan = S.String;
|
|
378
407
|
export const MaxmemoryPolicy = S.String;
|
|
379
408
|
export const PersistenceMode = S.String;
|
|
@@ -387,9 +416,7 @@ export const CreateKeyValueRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
387
416
|
maxmemoryPolicy: S.optional(MaxmemoryPolicy),
|
|
388
417
|
persistenceMode: S.optional(PersistenceMode),
|
|
389
418
|
ipAllowList: S.optional(CreateKeyValueRequestIpAllowListList),
|
|
390
|
-
}).pipe(T.Http({ method: "POST", uri: "/key-value", code: 200 }))).annotate({
|
|
391
|
-
identifier: "CreateKeyValueRequest",
|
|
392
|
-
});
|
|
419
|
+
}).pipe(T.Http({ method: "POST", uri: "/key-value", code: 200 }))).annotate({ identifier: "CreateKeyValueRequest" });
|
|
393
420
|
export const DatabaseStatus = S.String;
|
|
394
421
|
export const OwnerIpAllowListList = /*@__PURE__*/ S.Array(CidrBlockAndDescription);
|
|
395
422
|
export const OwnerType = S.String;
|
|
@@ -404,9 +431,7 @@ export const Owner = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
404
431
|
export const KeyValueOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
405
432
|
maxmemoryPolicy: S.optional(S.String),
|
|
406
433
|
persistenceMode: S.optional(PersistenceMode),
|
|
407
|
-
})).annotate({
|
|
408
|
-
identifier: "KeyValueOptions",
|
|
409
|
-
});
|
|
434
|
+
})).annotate({ identifier: "KeyValueOptions" });
|
|
410
435
|
export const KeyValueDetailIpAllowListList = /*@__PURE__*/ S.Array(CidrBlockAndDescription);
|
|
411
436
|
export const Items4 = S.String;
|
|
412
437
|
export const Maintenance = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -433,13 +458,9 @@ export const KeyValueDetail = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
433
458
|
})).annotate({ identifier: "KeyValueDetail" });
|
|
434
459
|
export const CreatePostgresRequestPlan = S.String;
|
|
435
460
|
export const CreatePostgresRequestIpAllowListList = /*@__PURE__*/ S.Array(CidrBlockAndDescription);
|
|
436
|
-
export const PostgresParameterOverrides = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
437
461
|
export const ReadReplicaInput = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
438
462
|
name: S.String,
|
|
439
|
-
|
|
440
|
-
})).annotate({
|
|
441
|
-
identifier: "ReadReplicaInput",
|
|
442
|
-
});
|
|
463
|
+
})).annotate({ identifier: "ReadReplicaInput" });
|
|
443
464
|
export const ReadReplicasInput = /*@__PURE__*/ S.Array(ReadReplicaInput);
|
|
444
465
|
export const PostgresVersion = S.String;
|
|
445
466
|
export const CreatePostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -457,18 +478,14 @@ export const CreatePostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
457
478
|
connectionPool: S.optional(S.String),
|
|
458
479
|
region: S.optional(Region),
|
|
459
480
|
ipAllowList: S.optional(CreatePostgresRequestIpAllowListList),
|
|
460
|
-
parameterOverrides: S.optional(PostgresParameterOverrides),
|
|
461
481
|
readReplicas: S.optional(ReadReplicasInput),
|
|
462
482
|
version: PostgresVersion,
|
|
463
|
-
}).pipe(T.Http({ method: "POST", uri: "/postgres", code: 200 }))).annotate({
|
|
464
|
-
identifier: "CreatePostgresRequest",
|
|
465
|
-
});
|
|
483
|
+
}).pipe(T.Http({ method: "POST", uri: "/postgres", code: 200 }))).annotate({ identifier: "CreatePostgresRequest" });
|
|
466
484
|
export const PostgresDetailIpAllowListList = /*@__PURE__*/ S.Array(CidrBlockAndDescription);
|
|
467
485
|
export const Plan2 = S.String;
|
|
468
486
|
export const ReadReplica = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
469
487
|
id: S.String,
|
|
470
488
|
name: S.String,
|
|
471
|
-
parameterOverrides: S.optional(PostgresParameterOverrides),
|
|
472
489
|
})).annotate({ identifier: "ReadReplica" });
|
|
473
490
|
export const ReadReplicas = /*@__PURE__*/ S.Array(ReadReplica);
|
|
474
491
|
export const DatabaseRole = S.String;
|
|
@@ -491,7 +508,6 @@ export const PostgresDetail = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
491
508
|
owner: Owner,
|
|
492
509
|
plan: Plan2,
|
|
493
510
|
diskSizeGB: S.optional(S.Number),
|
|
494
|
-
parameterOverrides: S.optional(PostgresParameterOverrides),
|
|
495
511
|
primaryPostgresID: S.optional(S.String),
|
|
496
512
|
region: Region,
|
|
497
513
|
readReplicas: ReadReplicas,
|
|
@@ -514,11 +530,7 @@ export const CreatePostgresExportResponse = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
514
530
|
export const CreatePostgresUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
515
531
|
postgresId: S.String.pipe(T.Label()),
|
|
516
532
|
username: S.String,
|
|
517
|
-
}).pipe(T.Http({
|
|
518
|
-
method: "POST",
|
|
519
|
-
uri: "/postgres/{postgresId}/credentials",
|
|
520
|
-
code: 200,
|
|
521
|
-
}))).annotate({
|
|
533
|
+
}).pipe(T.Http({ method: "POST", uri: "/postgres/{postgresId}/credentials", code: 200 }))).annotate({
|
|
522
534
|
identifier: "CreatePostgresUserRequest",
|
|
523
535
|
});
|
|
524
536
|
export const CreatePostgresUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
@@ -538,9 +550,7 @@ export const CreateProjectRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
538
550
|
name: S.String,
|
|
539
551
|
ownerId: S.String,
|
|
540
552
|
environments: CreateProjectRequestEnvironmentsList,
|
|
541
|
-
}).pipe(T.Http({ method: "POST", uri: "/projects", code: 200 }))).annotate({
|
|
542
|
-
identifier: "CreateProjectRequest",
|
|
543
|
-
});
|
|
553
|
+
}).pipe(T.Http({ method: "POST", uri: "/projects", code: 200 }))).annotate({ identifier: "CreateProjectRequest" });
|
|
544
554
|
export const ProjectEnvironmentIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
545
555
|
export const Project = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
546
556
|
id: S.String,
|
|
@@ -566,11 +576,10 @@ export const RegistryCredential = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
566
576
|
registry: RegistryCredentialRegistry,
|
|
567
577
|
username: S.String,
|
|
568
578
|
updatedAt: S.String,
|
|
569
|
-
})).annotate({
|
|
570
|
-
identifier: "RegistryCredential",
|
|
571
|
-
});
|
|
579
|
+
})).annotate({ identifier: "RegistryCredential" });
|
|
572
580
|
export const ServiceType = S.String;
|
|
573
581
|
export const AutoDeploy = S.String;
|
|
582
|
+
export const CreateServiceRequestAutoDeployTrigger = S.String;
|
|
574
583
|
export const Image = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
575
584
|
ownerId: S.String,
|
|
576
585
|
registryCredentialId: S.optional(S.String),
|
|
@@ -612,9 +621,7 @@ export const StaticSiteDetailsPOST = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
612
621
|
routes: S.optional(StaticSiteDetailsPOSTRoutesList),
|
|
613
622
|
renderSubdomainPolicy: S.optional(RenderSubdomainPolicy),
|
|
614
623
|
ipAllowList: S.optional(StaticSiteDetailsPOSTIpAllowListList),
|
|
615
|
-
})).annotate({
|
|
616
|
-
identifier: "StaticSiteDetailsPOST",
|
|
617
|
-
});
|
|
624
|
+
})).annotate({ identifier: "StaticSiteDetailsPOST" });
|
|
618
625
|
export const ServiceDisk = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
619
626
|
name: S.String,
|
|
620
627
|
mountPath: S.String,
|
|
@@ -627,9 +634,7 @@ export const DockerDetailsPOST = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
627
634
|
dockerContext: S.optional(S.String),
|
|
628
635
|
dockerfilePath: S.optional(S.String),
|
|
629
636
|
registryCredentialId: S.optional(S.String),
|
|
630
|
-
})).annotate({
|
|
631
|
-
identifier: "DockerDetailsPOST",
|
|
632
|
-
});
|
|
637
|
+
})).annotate({ identifier: "DockerDetailsPOST" });
|
|
633
638
|
export const NativeEnvironmentDetailsPOST = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
634
639
|
buildCommand: S.String,
|
|
635
640
|
startCommand: S.String,
|
|
@@ -640,12 +645,11 @@ export const EnvSpecificDetailsPOST = S.Unknown;
|
|
|
640
645
|
export const MaintenanceMode = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
641
646
|
enabled: S.Boolean,
|
|
642
647
|
uri: S.String,
|
|
643
|
-
})).annotate({
|
|
644
|
-
identifier: "MaintenanceMode",
|
|
645
|
-
});
|
|
648
|
+
})).annotate({ identifier: "MaintenanceMode" });
|
|
646
649
|
export const Plan = S.String;
|
|
647
650
|
export const WebServiceDetailsPOSTIpAllowListList = /*@__PURE__*/ S.Array(CidrBlockAndDescription);
|
|
648
651
|
export const WebServiceDetailsPOST = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
652
|
+
buildSourceId: S.optional(S.String),
|
|
649
653
|
autoscaling: S.optional(Schema5),
|
|
650
654
|
disk: S.optional(ServiceDisk),
|
|
651
655
|
env: S.optional(ServiceEnv),
|
|
@@ -662,11 +666,10 @@ export const WebServiceDetailsPOST = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
662
666
|
maxShutdownDelaySeconds: S.optional(S.Number),
|
|
663
667
|
renderSubdomainPolicy: S.optional(RenderSubdomainPolicy),
|
|
664
668
|
ipAllowList: S.optional(WebServiceDetailsPOSTIpAllowListList),
|
|
665
|
-
})).annotate({
|
|
666
|
-
identifier: "WebServiceDetailsPOST",
|
|
667
|
-
});
|
|
669
|
+
})).annotate({ identifier: "WebServiceDetailsPOST" });
|
|
668
670
|
export const PaidPlan = S.String;
|
|
669
671
|
export const PrivateServiceDetailsPOST = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
672
|
+
buildSourceId: S.optional(S.String),
|
|
670
673
|
autoscaling: S.optional(Schema5),
|
|
671
674
|
disk: S.optional(ServiceDisk),
|
|
672
675
|
env: S.optional(ServiceEnv),
|
|
@@ -694,20 +697,17 @@ export const NativeEnvironmentDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
694
697
|
buildCommand: S.String,
|
|
695
698
|
startCommand: S.String,
|
|
696
699
|
preDeployCommand: S.optional(S.String),
|
|
697
|
-
})).annotate({
|
|
698
|
-
identifier: "NativeEnvironmentDetails",
|
|
699
|
-
});
|
|
700
|
+
})).annotate({ identifier: "NativeEnvironmentDetails" });
|
|
700
701
|
export const EnvSpecificDetails = S.Unknown;
|
|
701
702
|
export const CronJobDetailsPOST = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
703
|
+
buildSourceId: S.optional(S.String),
|
|
702
704
|
env: S.optional(ServiceEnv),
|
|
703
705
|
runtime: ServiceRuntime,
|
|
704
706
|
envSpecificDetails: S.optional(EnvSpecificDetails),
|
|
705
707
|
plan: S.optional(PaidPlan),
|
|
706
708
|
region: S.optional(Region),
|
|
707
709
|
schedule: S.String,
|
|
708
|
-
})).annotate({
|
|
709
|
-
identifier: "CronJobDetailsPOST",
|
|
710
|
-
});
|
|
710
|
+
})).annotate({ identifier: "CronJobDetailsPOST" });
|
|
711
711
|
export const CreateServiceRequestServiceDetails = S.Unknown;
|
|
712
712
|
export const CreateServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
713
713
|
type: ServiceType,
|
|
@@ -715,6 +715,7 @@ export const CreateServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
715
715
|
ownerId: S.String,
|
|
716
716
|
repo: S.optional(S.String),
|
|
717
717
|
autoDeploy: S.optional(AutoDeploy),
|
|
718
|
+
autoDeployTrigger: S.optional(CreateServiceRequestAutoDeployTrigger),
|
|
718
719
|
branch: S.optional(S.String),
|
|
719
720
|
image: S.optional(Image),
|
|
720
721
|
buildFilter: S.optional(BuildFilter),
|
|
@@ -723,34 +724,26 @@ export const CreateServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
723
724
|
secretFiles: S.optional(CreateServiceRequestSecretFilesList),
|
|
724
725
|
environmentId: S.optional(S.String),
|
|
725
726
|
serviceDetails: S.optional(CreateServiceRequestServiceDetails),
|
|
726
|
-
}).pipe(T.Http({ method: "POST", uri: "/services", code: 200 }))).annotate({
|
|
727
|
-
|
|
728
|
-
});
|
|
727
|
+
}).pipe(T.Http({ method: "POST", uri: "/services", code: 200 }))).annotate({ identifier: "CreateServiceRequest" });
|
|
728
|
+
export const AutoDeployTrigger = S.String;
|
|
729
729
|
export const NotifySetting = S.String;
|
|
730
|
-
export const RegistryCredentialSummary =
|
|
731
|
-
id: S.String,
|
|
732
|
-
name: S.String,
|
|
733
|
-
})).annotate({
|
|
734
|
-
identifier: "RegistryCredentialSummary",
|
|
735
|
-
});
|
|
730
|
+
export const RegistryCredentialSummary = CreateBuildSourceResponseServiceLinksItem;
|
|
736
731
|
export const ServiceSuspended = S.String;
|
|
737
732
|
export const ServiceSuspendersList = /*@__PURE__*/ S.Array(SuspenderType);
|
|
738
733
|
export const StaticSiteDetailsIpAllowListList = /*@__PURE__*/ S.Array(CidrBlockAndDescription);
|
|
739
|
-
export const Resource =
|
|
734
|
+
export const Resource = CreateBuildSourceResponseServiceLinksItem;
|
|
740
735
|
export const BuildPlan = S.String;
|
|
741
736
|
export const StaticSiteDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
742
737
|
buildCommand: S.String,
|
|
743
738
|
ipAllowList: S.optional(StaticSiteDetailsIpAllowListList),
|
|
744
|
-
parentServer: S.optional(
|
|
739
|
+
parentServer: S.optional(CreateBuildSourceResponseServiceLinksItem),
|
|
745
740
|
publishPath: S.String,
|
|
746
741
|
pullRequestPreviewsEnabled: S.optional(PullRequestPreviewsEnabled),
|
|
747
742
|
previews: S.optional(Previews),
|
|
748
743
|
url: S.String,
|
|
749
744
|
buildPlan: BuildPlan,
|
|
750
745
|
renderSubdomainPolicy: S.optional(RenderSubdomainPolicy),
|
|
751
|
-
})).annotate({
|
|
752
|
-
identifier: "StaticSiteDetails",
|
|
753
|
-
});
|
|
746
|
+
})).annotate({ identifier: "StaticSiteDetails" });
|
|
754
747
|
export const CacheProfile = S.String;
|
|
755
748
|
export const Cache = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
756
749
|
profile: CacheProfile,
|
|
@@ -760,9 +753,7 @@ export const WebServiceDetailsDisk = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
760
753
|
name: S.String,
|
|
761
754
|
sizeGB: S.Number,
|
|
762
755
|
mountPath: S.String,
|
|
763
|
-
})).annotate({
|
|
764
|
-
identifier: "WebServiceDetailsDisk",
|
|
765
|
-
});
|
|
756
|
+
})).annotate({ identifier: "WebServiceDetailsDisk" });
|
|
766
757
|
export const WebServiceDetailsIpAllowListList = /*@__PURE__*/ S.Array(CidrBlockAndDescription);
|
|
767
758
|
export const ServerPortProtocol = S.String;
|
|
768
759
|
export const ServerPort = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -781,7 +772,7 @@ export const WebServiceDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
781
772
|
maintenanceMode: S.optional(MaintenanceMode),
|
|
782
773
|
numInstances: S.Number,
|
|
783
774
|
openPorts: WebServiceDetailsOpenPortsList,
|
|
784
|
-
parentServer: S.optional(
|
|
775
|
+
parentServer: S.optional(CreateBuildSourceResponseServiceLinksItem),
|
|
785
776
|
plan: Plan,
|
|
786
777
|
pullRequestPreviewsEnabled: S.optional(PullRequestPreviewsEnabled),
|
|
787
778
|
previews: S.optional(Previews),
|
|
@@ -792,9 +783,7 @@ export const WebServiceDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
792
783
|
buildPlan: BuildPlan,
|
|
793
784
|
maxShutdownDelaySeconds: S.optional(S.Number),
|
|
794
785
|
renderSubdomainPolicy: S.optional(RenderSubdomainPolicy),
|
|
795
|
-
})).annotate({
|
|
796
|
-
identifier: "WebServiceDetails",
|
|
797
|
-
});
|
|
786
|
+
})).annotate({ identifier: "WebServiceDetails" });
|
|
798
787
|
export const Disk = WebServiceDetailsDisk;
|
|
799
788
|
export const PrivateServiceDetailsOpenPortsList = /*@__PURE__*/ S.Array(ServerPort);
|
|
800
789
|
export const PrivateServiceDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -804,7 +793,7 @@ export const PrivateServiceDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
804
793
|
envSpecificDetails: EnvSpecificDetails,
|
|
805
794
|
numInstances: S.Number,
|
|
806
795
|
openPorts: PrivateServiceDetailsOpenPortsList,
|
|
807
|
-
parentServer: S.optional(
|
|
796
|
+
parentServer: S.optional(CreateBuildSourceResponseServiceLinksItem),
|
|
808
797
|
plan: Plan,
|
|
809
798
|
pullRequestPreviewsEnabled: S.optional(PullRequestPreviewsEnabled),
|
|
810
799
|
previews: S.optional(Previews),
|
|
@@ -814,16 +803,14 @@ export const PrivateServiceDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
814
803
|
url: S.String,
|
|
815
804
|
buildPlan: BuildPlan,
|
|
816
805
|
maxShutdownDelaySeconds: S.optional(S.Number),
|
|
817
|
-
})).annotate({
|
|
818
|
-
identifier: "PrivateServiceDetails",
|
|
819
|
-
});
|
|
806
|
+
})).annotate({ identifier: "PrivateServiceDetails" });
|
|
820
807
|
export const BackgroundWorkerDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
821
808
|
autoscaling: S.optional(Schema5),
|
|
822
809
|
disk: S.optional(WebServiceDetailsDisk),
|
|
823
810
|
env: ServiceEnv,
|
|
824
811
|
envSpecificDetails: EnvSpecificDetails,
|
|
825
812
|
numInstances: S.Number,
|
|
826
|
-
parentServer: S.optional(
|
|
813
|
+
parentServer: S.optional(CreateBuildSourceResponseServiceLinksItem),
|
|
827
814
|
plan: Plan,
|
|
828
815
|
pullRequestPreviewsEnabled: S.optional(PullRequestPreviewsEnabled),
|
|
829
816
|
previews: S.optional(Previews),
|
|
@@ -832,9 +819,7 @@ export const BackgroundWorkerDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
832
819
|
sshAddress: S.optional(S.String),
|
|
833
820
|
buildPlan: BuildPlan,
|
|
834
821
|
maxShutdownDelaySeconds: S.optional(S.Number),
|
|
835
|
-
})).annotate({
|
|
836
|
-
identifier: "BackgroundWorkerDetails",
|
|
837
|
-
});
|
|
822
|
+
})).annotate({ identifier: "BackgroundWorkerDetails" });
|
|
838
823
|
export const CronJobDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
839
824
|
env: ServiceEnv,
|
|
840
825
|
envSpecificDetails: EnvSpecificDetails,
|
|
@@ -848,7 +833,9 @@ export const CronJobDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
848
833
|
export const ServiceServiceDetails = S.Unknown;
|
|
849
834
|
export const Service = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
850
835
|
id: S.String,
|
|
836
|
+
buildSourceId: S.optional(S.String),
|
|
851
837
|
autoDeploy: AutoDeploy,
|
|
838
|
+
autoDeployTrigger: S.optional(AutoDeployTrigger),
|
|
852
839
|
branch: S.optional(S.String),
|
|
853
840
|
buildFilter: S.optional(BuildFilter),
|
|
854
841
|
createdAt: S.String,
|
|
@@ -858,7 +845,7 @@ export const Service = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
858
845
|
name: S.String,
|
|
859
846
|
notifyOnFail: NotifySetting,
|
|
860
847
|
ownerId: S.String,
|
|
861
|
-
registryCredential: S.optional(
|
|
848
|
+
registryCredential: S.optional(CreateBuildSourceResponseServiceLinksItem),
|
|
862
849
|
repo: S.optional(S.String),
|
|
863
850
|
rootDir: S.String,
|
|
864
851
|
slug: S.String,
|
|
@@ -871,18 +858,15 @@ export const Service = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
871
858
|
export const ServiceAndDeploy = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
872
859
|
service: S.optional(Service),
|
|
873
860
|
deployId: S.optional(S.String),
|
|
874
|
-
})).annotate({
|
|
875
|
-
identifier: "ServiceAndDeploy",
|
|
876
|
-
});
|
|
861
|
+
})).annotate({ identifier: "ServiceAndDeploy" });
|
|
877
862
|
export const CreateTaskRequestInputCase0List = /*@__PURE__*/ S.Array(S.Unknown);
|
|
878
863
|
export const CreateTaskRequestInputCase1Map = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
879
864
|
export const CreateTaskRequestInput = S.Unknown;
|
|
880
865
|
export const CreateTaskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
881
866
|
task: S.String,
|
|
882
867
|
input: CreateTaskRequestInput,
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
});
|
|
868
|
+
idempotencyKey: S.optional(S.String),
|
|
869
|
+
}).pipe(T.Http({ method: "POST", uri: "/task-runs", code: 200 }))).annotate({ identifier: "CreateTaskRequest" });
|
|
886
870
|
export const Status2 = S.String;
|
|
887
871
|
export const CreateTaskResponseAttemptsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
888
872
|
taskRunId: S.optional(S.String),
|
|
@@ -906,9 +890,7 @@ export const CreateTaskResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
906
890
|
rootTaskRunId: S.String,
|
|
907
891
|
retries: S.Number,
|
|
908
892
|
attempts: CreateTaskResponseAttemptsList,
|
|
909
|
-
})).annotate({
|
|
910
|
-
identifier: "CreateTaskResponse",
|
|
911
|
-
});
|
|
893
|
+
})).annotate({ identifier: "CreateTaskResponse" });
|
|
912
894
|
export const Type = S.String;
|
|
913
895
|
export const CreateWebhookRequestEventFilterList = /*@__PURE__*/ S.Array(Type);
|
|
914
896
|
export const CreateWebhookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -917,9 +899,7 @@ export const CreateWebhookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
917
899
|
name: S.String,
|
|
918
900
|
enabled: S.Boolean,
|
|
919
901
|
eventFilter: CreateWebhookRequestEventFilterList,
|
|
920
|
-
}).pipe(T.Http({ method: "POST", uri: "/webhooks", code: 200 }))).annotate({
|
|
921
|
-
identifier: "CreateWebhookRequest",
|
|
922
|
-
});
|
|
902
|
+
}).pipe(T.Http({ method: "POST", uri: "/webhooks", code: 200 }))).annotate({ identifier: "CreateWebhookRequest" });
|
|
923
903
|
export const EventFilter = /*@__PURE__*/ S.Array(Type);
|
|
924
904
|
export const CreateWebhookResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
925
905
|
id: S.String,
|
|
@@ -928,9 +908,7 @@ export const CreateWebhookResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
928
908
|
secret: S.String.pipe(T.SensitiveValue({})),
|
|
929
909
|
enabled: S.Boolean,
|
|
930
910
|
eventFilter: EventFilter,
|
|
931
|
-
})).annotate({
|
|
932
|
-
identifier: "CreateWebhookResponse",
|
|
933
|
-
});
|
|
911
|
+
})).annotate({ identifier: "CreateWebhookResponse" });
|
|
934
912
|
export const Runtime = S.String;
|
|
935
913
|
export const CreateWorkflowRequestBuildConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
936
914
|
branch: S.optional(S.String),
|
|
@@ -951,9 +929,7 @@ export const CreateWorkflowRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
951
929
|
region: CreateWorkflowRequestRegion,
|
|
952
930
|
autoDeployTrigger: S.optional(CreateWorkflowRequestAutoDeployTrigger),
|
|
953
931
|
envVars: S.optional(Schema6),
|
|
954
|
-
}).pipe(T.Http({ method: "POST", uri: "/workflows", code: 200 }))).annotate({
|
|
955
|
-
identifier: "CreateWorkflowRequest",
|
|
956
|
-
});
|
|
932
|
+
}).pipe(T.Http({ method: "POST", uri: "/workflows", code: 200 }))).annotate({ identifier: "CreateWorkflowRequest" });
|
|
957
933
|
export const BuildConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
958
934
|
branch: S.optional(S.String),
|
|
959
935
|
buildCommand: S.String,
|
|
@@ -962,7 +938,7 @@ export const BuildConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
962
938
|
runtime: Runtime,
|
|
963
939
|
})).annotate({ identifier: "BuildConfig" });
|
|
964
940
|
export const Region2 = S.String;
|
|
965
|
-
export const
|
|
941
|
+
export const AutoDeployTrigger2 = S.String;
|
|
966
942
|
export const CreateWorkflowResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
967
943
|
id: S.String,
|
|
968
944
|
name: S.String,
|
|
@@ -974,10 +950,8 @@ export const CreateWorkflowResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
974
950
|
region: Region2,
|
|
975
951
|
environmentId: S.optional(S.String),
|
|
976
952
|
slug: S.optional(S.String),
|
|
977
|
-
autoDeployTrigger: S.optional(
|
|
978
|
-
})).annotate({
|
|
979
|
-
identifier: "CreateWorkflowResponse",
|
|
980
|
-
});
|
|
953
|
+
autoDeployTrigger: S.optional(AutoDeployTrigger2),
|
|
954
|
+
})).annotate({ identifier: "CreateWorkflowResponse" });
|
|
981
955
|
export const CreateWorkflowVersionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
982
956
|
workflowId: S.String,
|
|
983
957
|
commit: S.optional(S.String),
|
|
@@ -989,15 +963,39 @@ export const CreateWorkflowVersionResponse = /*@__PURE__*/ S.suspend(() => S.Str
|
|
|
989
963
|
});
|
|
990
964
|
export const DeleteAutoscalingConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
991
965
|
serviceId: S.String.pipe(T.Label()),
|
|
966
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/services/{serviceId}/autoscaling", code: 200 }))).annotate({
|
|
967
|
+
identifier: "DeleteAutoscalingConfigRequest",
|
|
968
|
+
});
|
|
969
|
+
export const DeleteAutoscalingConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteAutoscalingConfigResponse" });
|
|
970
|
+
export const DeleteBuildSourceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
971
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
972
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/build-sources/{buildSourceId}", code: 200 }))).annotate({ identifier: "DeleteBuildSourceRequest" });
|
|
973
|
+
export const DeleteBuildSourceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
974
|
+
identifier: "DeleteBuildSourceResponse",
|
|
975
|
+
});
|
|
976
|
+
export const DeleteBuildSourceEnvVarRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
977
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
978
|
+
envVarKey: S.String.pipe(T.Label()),
|
|
992
979
|
}).pipe(T.Http({
|
|
993
980
|
method: "DELETE",
|
|
994
|
-
uri: "/
|
|
981
|
+
uri: "/build-sources/{buildSourceId}/env-vars/{envVarKey}",
|
|
995
982
|
code: 200,
|
|
996
983
|
}))).annotate({
|
|
997
|
-
identifier: "
|
|
984
|
+
identifier: "DeleteBuildSourceEnvVarRequest",
|
|
998
985
|
});
|
|
999
|
-
export const
|
|
1000
|
-
|
|
986
|
+
export const DeleteBuildSourceEnvVarResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteBuildSourceEnvVarResponse" });
|
|
987
|
+
export const DeleteBuildSourceSecretFileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
988
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
989
|
+
envVarKey: S.String.pipe(T.Label()),
|
|
990
|
+
}).pipe(T.Http({
|
|
991
|
+
method: "DELETE",
|
|
992
|
+
uri: "/build-sources/{buildSourceId}/secret-files/{envVarKey}",
|
|
993
|
+
code: 200,
|
|
994
|
+
}))).annotate({
|
|
995
|
+
identifier: "DeleteBuildSourceSecretFileRequest",
|
|
996
|
+
});
|
|
997
|
+
export const DeleteBuildSourceSecretFileResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
998
|
+
identifier: "DeleteBuildSourceSecretFileResponse",
|
|
1001
999
|
});
|
|
1002
1000
|
export const DeleteCustomDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1003
1001
|
serviceId: S.String.pipe(T.Label()),
|
|
@@ -1014,40 +1012,26 @@ export const DeleteCustomDomainResponse = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
1014
1012
|
});
|
|
1015
1013
|
export const DeleteDedicatedIpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1016
1014
|
dedicatedIpId: S.String.pipe(T.Label()),
|
|
1017
|
-
}).pipe(T.Http({
|
|
1018
|
-
method: "DELETE",
|
|
1019
|
-
uri: "/dedicated-ips/{dedicatedIpId}",
|
|
1020
|
-
code: 200,
|
|
1021
|
-
}))).annotate({
|
|
1022
|
-
identifier: "DeleteDedicatedIpRequest",
|
|
1023
|
-
});
|
|
1015
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/dedicated-ips/{dedicatedIpId}", code: 200 }))).annotate({ identifier: "DeleteDedicatedIpRequest" });
|
|
1024
1016
|
export const DeleteDedicatedIpResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1025
1017
|
identifier: "DeleteDedicatedIpResponse",
|
|
1026
1018
|
});
|
|
1027
1019
|
export const DeleteDiskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1028
1020
|
diskId: S.String.pipe(T.Label()),
|
|
1029
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/disks/{diskId}", code: 200 }))).annotate({
|
|
1030
|
-
identifier: "DeleteDiskRequest",
|
|
1031
|
-
});
|
|
1021
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/disks/{diskId}", code: 200 }))).annotate({ identifier: "DeleteDiskRequest" });
|
|
1032
1022
|
export const DeleteDiskResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1033
1023
|
identifier: "DeleteDiskResponse",
|
|
1034
1024
|
});
|
|
1035
1025
|
export const DeleteEnvGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1036
1026
|
envGroupId: S.String.pipe(T.Label()),
|
|
1037
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/env-groups/{envGroupId}", code: 200 }))).annotate({
|
|
1038
|
-
identifier: "DeleteEnvGroupRequest",
|
|
1039
|
-
});
|
|
1027
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/env-groups/{envGroupId}", code: 200 }))).annotate({ identifier: "DeleteEnvGroupRequest" });
|
|
1040
1028
|
export const DeleteEnvGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1041
1029
|
identifier: "DeleteEnvGroupResponse",
|
|
1042
1030
|
});
|
|
1043
1031
|
export const DeleteEnvGroupEnvVarRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1044
1032
|
envGroupId: S.String.pipe(T.Label()),
|
|
1045
1033
|
envVarKey: S.String.pipe(T.Label()),
|
|
1046
|
-
}).pipe(T.Http({
|
|
1047
|
-
method: "DELETE",
|
|
1048
|
-
uri: "/env-groups/{envGroupId}/env-vars/{envVarKey}",
|
|
1049
|
-
code: 200,
|
|
1050
|
-
}))).annotate({
|
|
1034
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/env-groups/{envGroupId}/env-vars/{envVarKey}", code: 200 }))).annotate({
|
|
1051
1035
|
identifier: "DeleteEnvGroupEnvVarRequest",
|
|
1052
1036
|
});
|
|
1053
1037
|
export const DeleteEnvGroupEnvVarResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
@@ -1068,57 +1052,33 @@ export const DeleteEnvGroupSecretFileResponse = /*@__PURE__*/ S.suspend(() => S.
|
|
|
1068
1052
|
});
|
|
1069
1053
|
export const DeleteEnvironmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1070
1054
|
environmentId: S.String.pipe(T.Label()),
|
|
1071
|
-
}).pipe(T.Http({
|
|
1072
|
-
method: "DELETE",
|
|
1073
|
-
uri: "/environments/{environmentId}",
|
|
1074
|
-
code: 200,
|
|
1075
|
-
}))).annotate({
|
|
1076
|
-
identifier: "DeleteEnvironmentRequest",
|
|
1077
|
-
});
|
|
1055
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/environments/{environmentId}", code: 200 }))).annotate({ identifier: "DeleteEnvironmentRequest" });
|
|
1078
1056
|
export const DeleteEnvironmentResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1079
1057
|
identifier: "DeleteEnvironmentResponse",
|
|
1080
1058
|
});
|
|
1081
1059
|
export const DeleteEnvVarRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1082
1060
|
serviceId: S.String.pipe(T.Label()),
|
|
1083
1061
|
envVarKey: S.String.pipe(T.Label()),
|
|
1084
|
-
}).pipe(T.Http({
|
|
1085
|
-
method: "DELETE",
|
|
1086
|
-
uri: "/services/{serviceId}/env-vars/{envVarKey}",
|
|
1087
|
-
code: 200,
|
|
1088
|
-
}))).annotate({
|
|
1089
|
-
identifier: "DeleteEnvVarRequest",
|
|
1090
|
-
});
|
|
1062
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/services/{serviceId}/env-vars/{envVarKey}", code: 200 }))).annotate({ identifier: "DeleteEnvVarRequest" });
|
|
1091
1063
|
export const DeleteEnvVarResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1092
1064
|
identifier: "DeleteEnvVarResponse",
|
|
1093
1065
|
});
|
|
1094
1066
|
export const DeleteHeaderRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1095
1067
|
serviceId: S.String.pipe(T.Label()),
|
|
1096
1068
|
headerId: S.String.pipe(T.Label()),
|
|
1097
|
-
}).pipe(T.Http({
|
|
1098
|
-
method: "DELETE",
|
|
1099
|
-
uri: "/services/{serviceId}/headers/{headerId}",
|
|
1100
|
-
code: 200,
|
|
1101
|
-
}))).annotate({
|
|
1102
|
-
identifier: "DeleteHeaderRequest",
|
|
1103
|
-
});
|
|
1069
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/services/{serviceId}/headers/{headerId}", code: 200 }))).annotate({ identifier: "DeleteHeaderRequest" });
|
|
1104
1070
|
export const DeleteHeaderResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1105
1071
|
identifier: "DeleteHeaderResponse",
|
|
1106
1072
|
});
|
|
1107
1073
|
export const DeleteKeyValueRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1108
1074
|
redisId: S.String.pipe(T.Label()),
|
|
1109
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/key-value/{redisId}", code: 200 }))).annotate({
|
|
1110
|
-
identifier: "DeleteKeyValueRequest",
|
|
1111
|
-
});
|
|
1075
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/key-value/{redisId}", code: 200 }))).annotate({ identifier: "DeleteKeyValueRequest" });
|
|
1112
1076
|
export const DeleteKeyValueResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1113
1077
|
identifier: "DeleteKeyValueResponse",
|
|
1114
1078
|
});
|
|
1115
1079
|
export const DeleteOwnerLogStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1116
1080
|
ownerId: S.String.pipe(T.Label()),
|
|
1117
|
-
}).pipe(T.Http({
|
|
1118
|
-
method: "DELETE",
|
|
1119
|
-
uri: "/logs/streams/owner/{ownerId}",
|
|
1120
|
-
code: 200,
|
|
1121
|
-
}))).annotate({
|
|
1081
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/logs/streams/owner/{ownerId}", code: 200 }))).annotate({
|
|
1122
1082
|
identifier: "DeleteOwnerLogStreamRequest",
|
|
1123
1083
|
});
|
|
1124
1084
|
export const DeleteOwnerLogStreamResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
@@ -1134,20 +1094,14 @@ export const DeleteOwnerMetricsStreamResponse = /*@__PURE__*/ S.suspend(() => S.
|
|
|
1134
1094
|
});
|
|
1135
1095
|
export const DeletePostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1136
1096
|
postgresId: S.String.pipe(T.Label()),
|
|
1137
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/postgres/{postgresId}", code: 200 }))).annotate({
|
|
1138
|
-
identifier: "DeletePostgresRequest",
|
|
1139
|
-
});
|
|
1097
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/postgres/{postgresId}", code: 200 }))).annotate({ identifier: "DeletePostgresRequest" });
|
|
1140
1098
|
export const DeletePostgresResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1141
1099
|
identifier: "DeletePostgresResponse",
|
|
1142
1100
|
});
|
|
1143
1101
|
export const DeletePostgresUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1144
1102
|
postgresId: S.String.pipe(T.Label()),
|
|
1145
1103
|
username: S.String.pipe(T.Label()),
|
|
1146
|
-
}).pipe(T.Http({
|
|
1147
|
-
method: "DELETE",
|
|
1148
|
-
uri: "/postgres/{postgresId}/credentials/{username}",
|
|
1149
|
-
code: 200,
|
|
1150
|
-
}))).annotate({
|
|
1104
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/postgres/{postgresId}/credentials/{username}", code: 200 }))).annotate({
|
|
1151
1105
|
identifier: "DeletePostgresUserRequest",
|
|
1152
1106
|
});
|
|
1153
1107
|
export const DeletePostgresUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
@@ -1155,19 +1109,13 @@ export const DeletePostgresUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
1155
1109
|
});
|
|
1156
1110
|
export const DeleteProjectRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1157
1111
|
projectId: S.String.pipe(T.Label()),
|
|
1158
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/projects/{projectId}", code: 200 }))).annotate({
|
|
1159
|
-
identifier: "DeleteProjectRequest",
|
|
1160
|
-
});
|
|
1112
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/projects/{projectId}", code: 200 }))).annotate({ identifier: "DeleteProjectRequest" });
|
|
1161
1113
|
export const DeleteProjectResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1162
1114
|
identifier: "DeleteProjectResponse",
|
|
1163
1115
|
});
|
|
1164
1116
|
export const DeleteRegistryCredentialRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1165
1117
|
registryCredentialId: S.String.pipe(T.Label()),
|
|
1166
|
-
}).pipe(T.Http({
|
|
1167
|
-
method: "DELETE",
|
|
1168
|
-
uri: "/registrycredentials/{registryCredentialId}",
|
|
1169
|
-
code: 200,
|
|
1170
|
-
}))).annotate({
|
|
1118
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/registrycredentials/{registryCredentialId}", code: 200 }))).annotate({
|
|
1171
1119
|
identifier: "DeleteRegistryCredentialRequest",
|
|
1172
1120
|
});
|
|
1173
1121
|
export const DeleteRegistryCredentialResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
@@ -1175,76 +1123,46 @@ export const DeleteRegistryCredentialResponse = /*@__PURE__*/ S.suspend(() => S.
|
|
|
1175
1123
|
});
|
|
1176
1124
|
export const DeleteResourceLogStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1177
1125
|
resourceId: S.String.pipe(T.Label()),
|
|
1178
|
-
}).pipe(T.Http({
|
|
1179
|
-
method: "DELETE",
|
|
1180
|
-
uri: "/logs/streams/resource/{resourceId}",
|
|
1181
|
-
code: 200,
|
|
1182
|
-
}))).annotate({
|
|
1126
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/logs/streams/resource/{resourceId}", code: 200 }))).annotate({
|
|
1183
1127
|
identifier: "DeleteResourceLogStreamRequest",
|
|
1184
1128
|
});
|
|
1185
|
-
export const DeleteResourceLogStreamResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1186
|
-
identifier: "DeleteResourceLogStreamResponse",
|
|
1187
|
-
});
|
|
1129
|
+
export const DeleteResourceLogStreamResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteResourceLogStreamResponse" });
|
|
1188
1130
|
export const DeleteRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1189
1131
|
serviceId: S.String.pipe(T.Label()),
|
|
1190
1132
|
routeId: S.String.pipe(T.Label()),
|
|
1191
|
-
}).pipe(T.Http({
|
|
1192
|
-
method: "DELETE",
|
|
1193
|
-
uri: "/services/{serviceId}/routes/{routeId}",
|
|
1194
|
-
code: 200,
|
|
1195
|
-
}))).annotate({
|
|
1196
|
-
identifier: "DeleteRouteRequest",
|
|
1197
|
-
});
|
|
1133
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/services/{serviceId}/routes/{routeId}", code: 200 }))).annotate({ identifier: "DeleteRouteRequest" });
|
|
1198
1134
|
export const DeleteRouteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1199
1135
|
identifier: "DeleteRouteResponse",
|
|
1200
1136
|
});
|
|
1201
1137
|
export const DeleteSecretFileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1202
1138
|
serviceId: S.String.pipe(T.Label()),
|
|
1203
1139
|
envVarKey: S.String.pipe(T.Label()),
|
|
1204
|
-
}).pipe(T.Http({
|
|
1205
|
-
method: "DELETE",
|
|
1206
|
-
uri: "/services/{serviceId}/secret-files/{envVarKey}",
|
|
1207
|
-
code: 200,
|
|
1208
|
-
}))).annotate({
|
|
1209
|
-
identifier: "DeleteSecretFileRequest",
|
|
1210
|
-
});
|
|
1140
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/services/{serviceId}/secret-files/{envVarKey}", code: 200 }))).annotate({ identifier: "DeleteSecretFileRequest" });
|
|
1211
1141
|
export const DeleteSecretFileResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1212
1142
|
identifier: "DeleteSecretFileResponse",
|
|
1213
1143
|
});
|
|
1214
1144
|
export const DeleteServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1215
1145
|
serviceId: S.String.pipe(T.Label()),
|
|
1216
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/services/{serviceId}", code: 200 }))).annotate({
|
|
1217
|
-
identifier: "DeleteServiceRequest",
|
|
1218
|
-
});
|
|
1146
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/services/{serviceId}", code: 200 }))).annotate({ identifier: "DeleteServiceRequest" });
|
|
1219
1147
|
export const DeleteServiceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1220
1148
|
identifier: "DeleteServiceResponse",
|
|
1221
1149
|
});
|
|
1222
1150
|
export const DeleteWebhookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1223
1151
|
webhookId: S.String.pipe(T.Label()),
|
|
1224
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/webhooks/{webhookId}", code: 200 }))).annotate({
|
|
1225
|
-
identifier: "DeleteWebhookRequest",
|
|
1226
|
-
});
|
|
1152
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/webhooks/{webhookId}", code: 200 }))).annotate({ identifier: "DeleteWebhookRequest" });
|
|
1227
1153
|
export const DeleteWebhookResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1228
1154
|
identifier: "DeleteWebhookResponse",
|
|
1229
1155
|
});
|
|
1230
1156
|
export const DeleteWorkflowRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1231
1157
|
workflowId: S.String.pipe(T.Label()),
|
|
1232
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/workflows/{workflowId}", code: 200 }))).annotate({
|
|
1233
|
-
identifier: "DeleteWorkflowRequest",
|
|
1234
|
-
});
|
|
1158
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/workflows/{workflowId}", code: 200 }))).annotate({ identifier: "DeleteWorkflowRequest" });
|
|
1235
1159
|
export const DeleteWorkflowResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1236
1160
|
identifier: "DeleteWorkflowResponse",
|
|
1237
1161
|
});
|
|
1238
1162
|
export const DeployRollbackRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1239
1163
|
serviceId: S.String.pipe(T.Label()),
|
|
1240
1164
|
deployId: S.String,
|
|
1241
|
-
}).pipe(T.Http({
|
|
1242
|
-
method: "POST",
|
|
1243
|
-
uri: "/services/{serviceId}/rollback",
|
|
1244
|
-
code: 200,
|
|
1245
|
-
}))).annotate({
|
|
1246
|
-
identifier: "DeployRollbackRequest",
|
|
1247
|
-
});
|
|
1165
|
+
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/rollback", code: 200 }))).annotate({ identifier: "DeployRollbackRequest" });
|
|
1248
1166
|
export const DisconnectBlueprintRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1249
1167
|
blueprintId: S.String.pipe(T.Label()),
|
|
1250
1168
|
}).pipe(T.Http({ method: "DELETE", uri: "/blueprints/{blueprintId}", code: 200 }))).annotate({
|
|
@@ -1255,13 +1173,7 @@ export const DisconnectBlueprintResponse = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
1255
1173
|
});
|
|
1256
1174
|
export const FailoverPostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1257
1175
|
postgresId: S.String.pipe(T.Label()),
|
|
1258
|
-
}).pipe(T.Http({
|
|
1259
|
-
method: "POST",
|
|
1260
|
-
uri: "/postgres/{postgresId}/failover",
|
|
1261
|
-
code: 200,
|
|
1262
|
-
}))).annotate({
|
|
1263
|
-
identifier: "FailoverPostgresRequest",
|
|
1264
|
-
});
|
|
1176
|
+
}).pipe(T.Http({ method: "POST", uri: "/postgres/{postgresId}/failover", code: 200 }))).annotate({ identifier: "FailoverPostgresRequest" });
|
|
1265
1177
|
export const FailoverPostgresResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1266
1178
|
identifier: "FailoverPostgresResponse",
|
|
1267
1179
|
});
|
|
@@ -1273,24 +1185,20 @@ export const GetActiveConnectionsRequest = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
1273
1185
|
}).pipe(T.Http({ method: "GET", uri: "/metrics/active-connections", code: 200 }))).annotate({
|
|
1274
1186
|
identifier: "GetActiveConnectionsRequest",
|
|
1275
1187
|
});
|
|
1276
|
-
export const GetActiveConnectionsResponseBodyItemLabelsItem =
|
|
1277
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1188
|
+
export const GetActiveConnectionsResponseBodyItemLabelsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1278
1189
|
field: S.String,
|
|
1279
1190
|
value: S.String,
|
|
1280
1191
|
})).annotate({
|
|
1281
1192
|
identifier: "GetActiveConnectionsResponseBodyItemLabelsItem",
|
|
1282
1193
|
});
|
|
1283
|
-
export const GetActiveConnectionsResponseBodyItemLabelsList =
|
|
1284
|
-
/*@__PURE__*/ S.
|
|
1285
|
-
export const GetActiveConnectionsResponseBodyItemValuesItem =
|
|
1286
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1194
|
+
export const GetActiveConnectionsResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
1195
|
+
export const GetActiveConnectionsResponseBodyItemValuesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1287
1196
|
timestamp: S.String,
|
|
1288
1197
|
value: S.Number,
|
|
1289
1198
|
})).annotate({
|
|
1290
1199
|
identifier: "GetActiveConnectionsResponseBodyItemValuesItem",
|
|
1291
1200
|
});
|
|
1292
|
-
export const GetActiveConnectionsResponseBodyItemValuesList =
|
|
1293
|
-
/*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemValuesItem);
|
|
1201
|
+
export const GetActiveConnectionsResponseBodyItemValuesList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemValuesItem);
|
|
1294
1202
|
export const GetActiveConnectionsResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1295
1203
|
labels: GetActiveConnectionsResponseBodyItemLabelsList,
|
|
1296
1204
|
values: GetActiveConnectionsResponseBodyItemValuesList,
|
|
@@ -1307,9 +1215,7 @@ export const GetBandwidthRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1307
1215
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
1308
1216
|
resource: S.optional(S.String.pipe(T.Query())),
|
|
1309
1217
|
service: S.optional(S.String.pipe(T.Query())),
|
|
1310
|
-
}).pipe(T.Http({ method: "GET", uri: "/metrics/bandwidth", code: 200 }))).annotate({
|
|
1311
|
-
identifier: "GetBandwidthRequest",
|
|
1312
|
-
});
|
|
1218
|
+
}).pipe(T.Http({ method: "GET", uri: "/metrics/bandwidth", code: 200 }))).annotate({ identifier: "GetBandwidthRequest" });
|
|
1313
1219
|
export const GetBandwidthResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
1314
1220
|
export const GetBandwidthResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
1315
1221
|
export const GetBandwidthResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
@@ -1322,9 +1228,7 @@ export const GetBandwidthResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
1322
1228
|
identifier: "GetBandwidthResponseBodyItem",
|
|
1323
1229
|
});
|
|
1324
1230
|
export const GetBandwidthResponseBodyList = /*@__PURE__*/ S.Array(GetBandwidthResponseBodyItem);
|
|
1325
|
-
export const GetBandwidthResponse = /*@__PURE__*/ S.suspend(() => GetBandwidthResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1326
|
-
identifier: "GetBandwidthResponse",
|
|
1327
|
-
});
|
|
1231
|
+
export const GetBandwidthResponse = /*@__PURE__*/ S.suspend(() => GetBandwidthResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetBandwidthResponse" });
|
|
1328
1232
|
export const GetBandwidthSourcesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1329
1233
|
startTime: S.optional(S.String.pipe(T.Query())),
|
|
1330
1234
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
@@ -1334,22 +1238,19 @@ export const GetBandwidthSourcesRequest = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
1334
1238
|
identifier: "GetBandwidthSourcesRequest",
|
|
1335
1239
|
});
|
|
1336
1240
|
export const GetBandwidthSourcesResponseDataItemLabelsTrafficSource = S.String;
|
|
1337
|
-
export const GetBandwidthSourcesResponseDataItemLabels =
|
|
1338
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1241
|
+
export const GetBandwidthSourcesResponseDataItemLabels = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1339
1242
|
resource: S.optional(S.String),
|
|
1340
1243
|
trafficSource: S.optional(GetBandwidthSourcesResponseDataItemLabelsTrafficSource),
|
|
1341
1244
|
})).annotate({
|
|
1342
1245
|
identifier: "GetBandwidthSourcesResponseDataItemLabels",
|
|
1343
1246
|
});
|
|
1344
|
-
export const GetBandwidthSourcesResponseDataItemValuesItem =
|
|
1345
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1247
|
+
export const GetBandwidthSourcesResponseDataItemValuesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1346
1248
|
timestamp: S.optional(S.Number),
|
|
1347
1249
|
value: S.optional(S.Number),
|
|
1348
1250
|
})).annotate({
|
|
1349
1251
|
identifier: "GetBandwidthSourcesResponseDataItemValuesItem",
|
|
1350
1252
|
});
|
|
1351
|
-
export const GetBandwidthSourcesResponseDataItemValuesList =
|
|
1352
|
-
/*@__PURE__*/ S.Array(GetBandwidthSourcesResponseDataItemValuesItem);
|
|
1253
|
+
export const GetBandwidthSourcesResponseDataItemValuesList = /*@__PURE__*/ S.Array(GetBandwidthSourcesResponseDataItemValuesItem);
|
|
1353
1254
|
export const GetBandwidthSourcesResponseDataItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1354
1255
|
labels: S.optional(GetBandwidthSourcesResponseDataItemLabels),
|
|
1355
1256
|
values: S.optional(GetBandwidthSourcesResponseDataItemValuesList),
|
|
@@ -1364,9 +1265,7 @@ export const GetBandwidthSourcesResponse = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
1364
1265
|
});
|
|
1365
1266
|
export const GetBlueprintRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1366
1267
|
blueprintId: S.String.pipe(T.Label()),
|
|
1367
|
-
}).pipe(T.Http({ method: "GET", uri: "/blueprints/{blueprintId}", code: 200 }))).annotate({
|
|
1368
|
-
identifier: "GetBlueprintRequest",
|
|
1369
|
-
});
|
|
1268
|
+
}).pipe(T.Http({ method: "GET", uri: "/blueprints/{blueprintId}", code: 200 }))).annotate({ identifier: "GetBlueprintRequest" });
|
|
1370
1269
|
export const GetBlueprintResponseStatus = S.String;
|
|
1371
1270
|
export const GetBlueprintResponseResourcesItemType = S.String;
|
|
1372
1271
|
export const GetBlueprintResponseResourcesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1387,8 +1286,42 @@ export const GetBlueprintResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1387
1286
|
path: S.String,
|
|
1388
1287
|
lastSync: S.optional(S.String),
|
|
1389
1288
|
resources: GetBlueprintResponseResourcesList,
|
|
1390
|
-
})).annotate({
|
|
1391
|
-
|
|
1289
|
+
})).annotate({ identifier: "GetBlueprintResponse" });
|
|
1290
|
+
export const GetBuildSourceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1291
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
1292
|
+
}).pipe(T.Http({ method: "GET", uri: "/build-sources/{buildSourceId}", code: 200 }))).annotate({ identifier: "GetBuildSourceRequest" });
|
|
1293
|
+
export const SchemaServiceLinksItem = CreateBuildSourceResponseServiceLinksItem;
|
|
1294
|
+
export const SchemaServiceLinksList = /*@__PURE__*/ S.Array(CreateBuildSourceResponseServiceLinksItem);
|
|
1295
|
+
export const Schema12 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1296
|
+
id: S.String,
|
|
1297
|
+
name: S.String,
|
|
1298
|
+
ownerId: S.String,
|
|
1299
|
+
projectId: S.optional(S.String),
|
|
1300
|
+
git: S.optional(Git),
|
|
1301
|
+
image: S.optional(CreateBuildSourceRequestImage),
|
|
1302
|
+
createdAt: S.String,
|
|
1303
|
+
updatedAt: S.String,
|
|
1304
|
+
serviceLinks: SchemaServiceLinksList,
|
|
1305
|
+
})).annotate({ identifier: "Schema12" });
|
|
1306
|
+
export const GetBuildSourceEnvVarRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1307
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
1308
|
+
envVarKey: S.String.pipe(T.Label()),
|
|
1309
|
+
}).pipe(T.Http({
|
|
1310
|
+
method: "GET",
|
|
1311
|
+
uri: "/build-sources/{buildSourceId}/env-vars/{envVarKey}",
|
|
1312
|
+
code: 200,
|
|
1313
|
+
}))).annotate({
|
|
1314
|
+
identifier: "GetBuildSourceEnvVarRequest",
|
|
1315
|
+
});
|
|
1316
|
+
export const GetBuildSourceSecretFileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1317
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
1318
|
+
envVarKey: S.String.pipe(T.Label()),
|
|
1319
|
+
}).pipe(T.Http({
|
|
1320
|
+
method: "GET",
|
|
1321
|
+
uri: "/build-sources/{buildSourceId}/secret-files/{envVarKey}",
|
|
1322
|
+
code: 200,
|
|
1323
|
+
}))).annotate({
|
|
1324
|
+
identifier: "GetBuildSourceSecretFileRequest",
|
|
1392
1325
|
});
|
|
1393
1326
|
export const GetCpuRequestAggregationMethod = S.String;
|
|
1394
1327
|
export const GetCpuRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1408,9 +1341,7 @@ export const GetCpuResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1408
1341
|
labels: GetCpuResponseBodyItemLabelsList,
|
|
1409
1342
|
values: GetCpuResponseBodyItemValuesList,
|
|
1410
1343
|
unit: S.String,
|
|
1411
|
-
})).annotate({
|
|
1412
|
-
identifier: "GetCpuResponseBodyItem",
|
|
1413
|
-
});
|
|
1344
|
+
})).annotate({ identifier: "GetCpuResponseBodyItem" });
|
|
1414
1345
|
export const GetCpuResponseBodyList = /*@__PURE__*/ S.Array(GetCpuResponseBodyItem);
|
|
1415
1346
|
export const GetCpuResponse = /*@__PURE__*/ S.suspend(() => GetCpuResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetCpuResponse" });
|
|
1416
1347
|
export const GetCpuLimitRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1420,9 +1351,7 @@ export const GetCpuLimitRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1420
1351
|
resource: S.optional(S.String.pipe(T.Query())),
|
|
1421
1352
|
service: S.optional(S.String.pipe(T.Query())),
|
|
1422
1353
|
instance: S.optional(S.String.pipe(T.Query())),
|
|
1423
|
-
}).pipe(T.Http({ method: "GET", uri: "/metrics/cpu-limit", code: 200 }))).annotate({
|
|
1424
|
-
identifier: "GetCpuLimitRequest",
|
|
1425
|
-
});
|
|
1354
|
+
}).pipe(T.Http({ method: "GET", uri: "/metrics/cpu-limit", code: 200 }))).annotate({ identifier: "GetCpuLimitRequest" });
|
|
1426
1355
|
export const GetCpuLimitResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
1427
1356
|
export const GetCpuLimitResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
1428
1357
|
export const GetCpuLimitResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
@@ -1435,9 +1364,7 @@ export const GetCpuLimitResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
1435
1364
|
identifier: "GetCpuLimitResponseBodyItem",
|
|
1436
1365
|
});
|
|
1437
1366
|
export const GetCpuLimitResponseBodyList = /*@__PURE__*/ S.Array(GetCpuLimitResponseBodyItem);
|
|
1438
|
-
export const GetCpuLimitResponse = /*@__PURE__*/ S.suspend(() => GetCpuLimitResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1439
|
-
identifier: "GetCpuLimitResponse",
|
|
1440
|
-
});
|
|
1367
|
+
export const GetCpuLimitResponse = /*@__PURE__*/ S.suspend(() => GetCpuLimitResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetCpuLimitResponse" });
|
|
1441
1368
|
export const GetCpuTargetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1442
1369
|
startTime: S.optional(S.String.pipe(T.Query())),
|
|
1443
1370
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
@@ -1445,9 +1372,7 @@ export const GetCpuTargetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1445
1372
|
resource: S.optional(S.String.pipe(T.Query())),
|
|
1446
1373
|
service: S.optional(S.String.pipe(T.Query())),
|
|
1447
1374
|
instance: S.optional(S.String.pipe(T.Query())),
|
|
1448
|
-
}).pipe(T.Http({ method: "GET", uri: "/metrics/cpu-target", code: 200 }))).annotate({
|
|
1449
|
-
identifier: "GetCpuTargetRequest",
|
|
1450
|
-
});
|
|
1375
|
+
}).pipe(T.Http({ method: "GET", uri: "/metrics/cpu-target", code: 200 }))).annotate({ identifier: "GetCpuTargetRequest" });
|
|
1451
1376
|
export const GetCpuTargetResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
1452
1377
|
export const GetCpuTargetResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
1453
1378
|
export const GetCpuTargetResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
@@ -1460,9 +1385,7 @@ export const GetCpuTargetResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
1460
1385
|
identifier: "GetCpuTargetResponseBodyItem",
|
|
1461
1386
|
});
|
|
1462
1387
|
export const GetCpuTargetResponseBodyList = /*@__PURE__*/ S.Array(GetCpuTargetResponseBodyItem);
|
|
1463
|
-
export const GetCpuTargetResponse = /*@__PURE__*/ S.suspend(() => GetCpuTargetResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1464
|
-
identifier: "GetCpuTargetResponse",
|
|
1465
|
-
});
|
|
1388
|
+
export const GetCpuTargetResponse = /*@__PURE__*/ S.suspend(() => GetCpuTargetResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetCpuTargetResponse" });
|
|
1466
1389
|
export const GetCustomDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1467
1390
|
serviceId: S.String.pipe(T.Label()),
|
|
1468
1391
|
customDomainNameOrID: S.String.pipe(T.Label()),
|
|
@@ -1470,24 +1393,14 @@ export const GetCustomDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1470
1393
|
method: "GET",
|
|
1471
1394
|
uri: "/services/{serviceId}/custom-domains/{customDomainNameOrID}",
|
|
1472
1395
|
code: 200,
|
|
1473
|
-
}))).annotate({
|
|
1474
|
-
identifier: "GetCustomDomainRequest",
|
|
1475
|
-
});
|
|
1396
|
+
}))).annotate({ identifier: "GetCustomDomainRequest" });
|
|
1476
1397
|
export const GetDedicatedIpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1477
1398
|
dedicatedIpId: S.String.pipe(T.Label()),
|
|
1478
|
-
}).pipe(T.Http({ method: "GET", uri: "/dedicated-ips/{dedicatedIpId}", code: 200 }))).annotate({
|
|
1479
|
-
identifier: "GetDedicatedIpRequest",
|
|
1480
|
-
});
|
|
1399
|
+
}).pipe(T.Http({ method: "GET", uri: "/dedicated-ips/{dedicatedIpId}", code: 200 }))).annotate({ identifier: "GetDedicatedIpRequest" });
|
|
1481
1400
|
export const GetDeployRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1482
1401
|
serviceId: S.String.pipe(T.Label()),
|
|
1483
1402
|
deployId: S.String.pipe(T.Label()),
|
|
1484
|
-
}).pipe(T.Http({
|
|
1485
|
-
method: "GET",
|
|
1486
|
-
uri: "/services/{serviceId}/deploys/{deployId}",
|
|
1487
|
-
code: 200,
|
|
1488
|
-
}))).annotate({
|
|
1489
|
-
identifier: "GetDeployRequest",
|
|
1490
|
-
});
|
|
1403
|
+
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/deploys/{deployId}", code: 200 }))).annotate({ identifier: "GetDeployRequest" });
|
|
1491
1404
|
export const GetDiskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1492
1405
|
diskId: S.String.pipe(T.Label()),
|
|
1493
1406
|
}).pipe(T.Http({ method: "GET", uri: "/disks/{diskId}", code: 200 }))).annotate({ identifier: "GetDiskRequest" });
|
|
@@ -1506,9 +1419,7 @@ export const GetDiskCapacityRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1506
1419
|
resolutionSeconds: S.optional(S.Number.pipe(T.Query())),
|
|
1507
1420
|
resource: S.optional(S.String.pipe(T.Query())),
|
|
1508
1421
|
service: S.optional(S.String.pipe(T.Query())),
|
|
1509
|
-
}).pipe(T.Http({ method: "GET", uri: "/metrics/disk-capacity", code: 200 }))).annotate({
|
|
1510
|
-
identifier: "GetDiskCapacityRequest",
|
|
1511
|
-
});
|
|
1422
|
+
}).pipe(T.Http({ method: "GET", uri: "/metrics/disk-capacity", code: 200 }))).annotate({ identifier: "GetDiskCapacityRequest" });
|
|
1512
1423
|
export const GetDiskCapacityResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
1513
1424
|
export const GetDiskCapacityResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
1514
1425
|
export const GetDiskCapacityResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
@@ -1521,18 +1432,14 @@ export const GetDiskCapacityResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.S
|
|
|
1521
1432
|
identifier: "GetDiskCapacityResponseBodyItem",
|
|
1522
1433
|
});
|
|
1523
1434
|
export const GetDiskCapacityResponseBodyList = /*@__PURE__*/ S.Array(GetDiskCapacityResponseBodyItem);
|
|
1524
|
-
export const GetDiskCapacityResponse = /*@__PURE__*/ S.suspend(() => GetDiskCapacityResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1525
|
-
identifier: "GetDiskCapacityResponse",
|
|
1526
|
-
});
|
|
1435
|
+
export const GetDiskCapacityResponse = /*@__PURE__*/ S.suspend(() => GetDiskCapacityResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetDiskCapacityResponse" });
|
|
1527
1436
|
export const GetDiskUsageRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1528
1437
|
startTime: S.optional(S.String.pipe(T.Query())),
|
|
1529
1438
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
1530
1439
|
resolutionSeconds: S.optional(S.Number.pipe(T.Query())),
|
|
1531
1440
|
resource: S.optional(S.String.pipe(T.Query())),
|
|
1532
1441
|
service: S.optional(S.String.pipe(T.Query())),
|
|
1533
|
-
}).pipe(T.Http({ method: "GET", uri: "/metrics/disk-usage", code: 200 }))).annotate({
|
|
1534
|
-
identifier: "GetDiskUsageRequest",
|
|
1535
|
-
});
|
|
1442
|
+
}).pipe(T.Http({ method: "GET", uri: "/metrics/disk-usage", code: 200 }))).annotate({ identifier: "GetDiskUsageRequest" });
|
|
1536
1443
|
export const GetDiskUsageResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
1537
1444
|
export const GetDiskUsageResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
1538
1445
|
export const GetDiskUsageResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
@@ -1545,14 +1452,10 @@ export const GetDiskUsageResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
1545
1452
|
identifier: "GetDiskUsageResponseBodyItem",
|
|
1546
1453
|
});
|
|
1547
1454
|
export const GetDiskUsageResponseBodyList = /*@__PURE__*/ S.Array(GetDiskUsageResponseBodyItem);
|
|
1548
|
-
export const GetDiskUsageResponse = /*@__PURE__*/ S.suspend(() => GetDiskUsageResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1549
|
-
identifier: "GetDiskUsageResponse",
|
|
1550
|
-
});
|
|
1455
|
+
export const GetDiskUsageResponse = /*@__PURE__*/ S.suspend(() => GetDiskUsageResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetDiskUsageResponse" });
|
|
1551
1456
|
export const GetEnvGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1552
1457
|
envGroupId: S.String.pipe(T.Label()),
|
|
1553
|
-
}).pipe(T.Http({ method: "GET", uri: "/env-groups/{envGroupId}", code: 200 }))).annotate({
|
|
1554
|
-
identifier: "GetEnvGroupRequest",
|
|
1555
|
-
});
|
|
1458
|
+
}).pipe(T.Http({ method: "GET", uri: "/env-groups/{envGroupId}", code: 200 }))).annotate({ identifier: "GetEnvGroupRequest" });
|
|
1556
1459
|
export const GetEnvGroupResponseServiceLinksList = /*@__PURE__*/ S.Array(EnvGroupLink);
|
|
1557
1460
|
export const GetEnvGroupResponseEnvVarsList = /*@__PURE__*/ S.Array(EnvVar);
|
|
1558
1461
|
export const GetEnvGroupResponseSecretFilesList = /*@__PURE__*/ S.Array(SecretFile);
|
|
@@ -1566,43 +1469,38 @@ export const GetEnvGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1566
1469
|
environmentId: S.optional(S.String),
|
|
1567
1470
|
envVars: GetEnvGroupResponseEnvVarsList,
|
|
1568
1471
|
secretFiles: GetEnvGroupResponseSecretFilesList,
|
|
1569
|
-
})).annotate({
|
|
1570
|
-
identifier: "GetEnvGroupResponse",
|
|
1571
|
-
});
|
|
1472
|
+
})).annotate({ identifier: "GetEnvGroupResponse" });
|
|
1572
1473
|
export const GetEnvGroupEnvVarRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1573
1474
|
envGroupId: S.String.pipe(T.Label()),
|
|
1574
1475
|
envVarKey: S.String.pipe(T.Label()),
|
|
1575
|
-
}).pipe(T.Http({
|
|
1576
|
-
method: "GET",
|
|
1577
|
-
uri: "/env-groups/{envGroupId}/env-vars/{envVarKey}",
|
|
1578
|
-
code: 200,
|
|
1579
|
-
}))).annotate({
|
|
1580
|
-
identifier: "GetEnvGroupEnvVarRequest",
|
|
1581
|
-
});
|
|
1476
|
+
}).pipe(T.Http({ method: "GET", uri: "/env-groups/{envGroupId}/env-vars/{envVarKey}", code: 200 }))).annotate({ identifier: "GetEnvGroupEnvVarRequest" });
|
|
1582
1477
|
export const GetEnvGroupSecretFileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1583
1478
|
envGroupId: S.String.pipe(T.Label()),
|
|
1584
1479
|
envVarKey: S.String.pipe(T.Label()),
|
|
1585
|
-
}).pipe(T.Http({
|
|
1586
|
-
method: "GET",
|
|
1587
|
-
uri: "/env-groups/{envGroupId}/secret-files/{envVarKey}",
|
|
1588
|
-
code: 200,
|
|
1589
|
-
}))).annotate({
|
|
1480
|
+
}).pipe(T.Http({ method: "GET", uri: "/env-groups/{envGroupId}/secret-files/{envVarKey}", code: 200 }))).annotate({
|
|
1590
1481
|
identifier: "GetEnvGroupSecretFileRequest",
|
|
1591
1482
|
});
|
|
1592
1483
|
export const GetEnvironmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1593
1484
|
environmentId: S.String.pipe(T.Label()),
|
|
1594
|
-
}).pipe(T.Http({ method: "GET", uri: "/environments/{environmentId}", code: 200 }))).annotate({
|
|
1595
|
-
identifier: "GetEnvironmentRequest",
|
|
1596
|
-
});
|
|
1485
|
+
}).pipe(T.Http({ method: "GET", uri: "/environments/{environmentId}", code: 200 }))).annotate({ identifier: "GetEnvironmentRequest" });
|
|
1597
1486
|
export const GetEnvVarRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1598
1487
|
serviceId: S.String.pipe(T.Label()),
|
|
1599
1488
|
envVarKey: S.String.pipe(T.Label()),
|
|
1600
|
-
}).pipe(T.Http({
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1489
|
+
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/env-vars/{envVarKey}", code: 200 }))).annotate({ identifier: "GetEnvVarRequest" });
|
|
1490
|
+
export const GetEnvVarsForBuildSourceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1491
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
1492
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
1493
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1494
|
+
}).pipe(T.Http({ method: "GET", uri: "/build-sources/{buildSourceId}/env-vars", code: 200 }))).annotate({
|
|
1495
|
+
identifier: "GetEnvVarsForBuildSourceRequest",
|
|
1496
|
+
});
|
|
1497
|
+
export const EnvVarWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1498
|
+
envVar: EnvVar,
|
|
1499
|
+
cursor: S.String,
|
|
1500
|
+
})).annotate({ identifier: "EnvVarWithCursor" });
|
|
1501
|
+
export const GetEnvVarsForBuildSourceResponseBodyList = /*@__PURE__*/ S.Array(EnvVarWithCursor);
|
|
1502
|
+
export const GetEnvVarsForBuildSourceResponse = /*@__PURE__*/ S.suspend(() => GetEnvVarsForBuildSourceResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1503
|
+
identifier: "GetEnvVarsForBuildSourceResponse",
|
|
1606
1504
|
});
|
|
1607
1505
|
export const GetEnvVarsForServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1608
1506
|
serviceId: S.String.pipe(T.Label()),
|
|
@@ -1611,31 +1509,23 @@ export const GetEnvVarsForServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
1611
1509
|
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/env-vars", code: 200 }))).annotate({
|
|
1612
1510
|
identifier: "GetEnvVarsForServiceRequest",
|
|
1613
1511
|
});
|
|
1614
|
-
export const EnvVarWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1615
|
-
envVar: EnvVar,
|
|
1616
|
-
cursor: S.String,
|
|
1617
|
-
})).annotate({
|
|
1618
|
-
identifier: "EnvVarWithCursor",
|
|
1619
|
-
});
|
|
1620
1512
|
export const GetEnvVarsForServiceResponseBodyList = /*@__PURE__*/ S.Array(EnvVarWithCursor);
|
|
1621
1513
|
export const GetEnvVarsForServiceResponse = /*@__PURE__*/ S.suspend(() => GetEnvVarsForServiceResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1622
1514
|
identifier: "GetEnvVarsForServiceResponse",
|
|
1623
1515
|
});
|
|
1624
1516
|
export const GetEventRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1625
1517
|
eventId: S.String.pipe(T.Label()),
|
|
1626
|
-
}).pipe(T.Http({ method: "GET", uri: "/events/{eventId}", code: 200 }))).annotate({
|
|
1627
|
-
identifier: "GetEventRequest",
|
|
1628
|
-
});
|
|
1518
|
+
}).pipe(T.Http({ method: "GET", uri: "/events/{eventId}", code: 200 }))).annotate({ identifier: "GetEventRequest" });
|
|
1629
1519
|
export const GetEventResponseType = S.String;
|
|
1630
1520
|
export const GetEventResponseDetailsCase0Case0 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1631
|
-
|
|
1521
|
+
buildId: S.String,
|
|
1632
1522
|
message: S.String,
|
|
1633
1523
|
})).annotate({
|
|
1634
1524
|
identifier: "GetEventResponseDetailsCase0Case0",
|
|
1635
1525
|
});
|
|
1636
1526
|
export const GetEventResponseDetailsCase0Case1 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1637
|
-
|
|
1638
|
-
|
|
1527
|
+
fromBuildSourceId: S.optional(S.String),
|
|
1528
|
+
toBuildSourceId: S.optional(S.String),
|
|
1639
1529
|
})).annotate({
|
|
1640
1530
|
identifier: "GetEventResponseDetailsCase0Case1",
|
|
1641
1531
|
});
|
|
@@ -1674,9 +1564,7 @@ export const NewBuild = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1674
1564
|
export const GetEventResponseDetailsCase0Case6ReasonNewBuild = NewBuild;
|
|
1675
1565
|
export const ReasonOomKilled = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1676
1566
|
memoryLimit: S.String,
|
|
1677
|
-
})).annotate({
|
|
1678
|
-
identifier: "ReasonOomKilled",
|
|
1679
|
-
});
|
|
1567
|
+
})).annotate({ identifier: "ReasonOomKilled" });
|
|
1680
1568
|
export const Reason = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1681
1569
|
evicted: S.Boolean,
|
|
1682
1570
|
evictionReason: S.optional(S.String),
|
|
@@ -1758,7 +1646,7 @@ export const GetEventResponseDetailsCase0Case11 = /*@__PURE__*/ S.suspend(() =>
|
|
|
1758
1646
|
reason: GetEventResponseDetailsCase0Case6Reason,
|
|
1759
1647
|
deployStatus: BuildStatus,
|
|
1760
1648
|
status: S.Number,
|
|
1761
|
-
|
|
1649
|
+
buildId: S.optional(S.String),
|
|
1762
1650
|
})).annotate({
|
|
1763
1651
|
identifier: "GetEventResponseDetailsCase0Case11",
|
|
1764
1652
|
});
|
|
@@ -1766,7 +1654,7 @@ export const Trigger = GetEventResponseDetailsCase0Case7Trigger;
|
|
|
1766
1654
|
export const GetEventResponseDetailsCase0Case12 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1767
1655
|
deployId: S.String,
|
|
1768
1656
|
trigger: GetEventResponseDetailsCase0Case7Trigger,
|
|
1769
|
-
|
|
1657
|
+
buildId: S.optional(S.String),
|
|
1770
1658
|
})).annotate({
|
|
1771
1659
|
identifier: "GetEventResponseDetailsCase0Case12",
|
|
1772
1660
|
});
|
|
@@ -1829,8 +1717,7 @@ export const GetEventResponseDetailsCase0Case24 = /*@__PURE__*/ S.suspend(() =>
|
|
|
1829
1717
|
})).annotate({
|
|
1830
1718
|
identifier: "GetEventResponseDetailsCase0Case24",
|
|
1831
1719
|
});
|
|
1832
|
-
export const GetEventResponseDetailsCase0Case26Trigger =
|
|
1833
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1720
|
+
export const GetEventResponseDetailsCase0Case26Trigger = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1834
1721
|
user: S.optional(User2),
|
|
1835
1722
|
manual: S.Boolean,
|
|
1836
1723
|
startedByRender: S.Boolean,
|
|
@@ -1892,8 +1779,7 @@ export const GetEventResponseDetailsCase0Case40 = /*@__PURE__*/ S.suspend(() =>
|
|
|
1892
1779
|
})).annotate({
|
|
1893
1780
|
identifier: "GetEventResponseDetailsCase0Case40",
|
|
1894
1781
|
});
|
|
1895
|
-
export const GetEventResponseDetailsCase0Case41Trigger =
|
|
1896
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1782
|
+
export const GetEventResponseDetailsCase0Case41Trigger = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1897
1783
|
manual: S.Boolean,
|
|
1898
1784
|
user: S.optional(User2),
|
|
1899
1785
|
system: S.Boolean,
|
|
@@ -1908,16 +1794,14 @@ export const GetEventResponseDetailsCase0Case41 = /*@__PURE__*/ S.suspend(() =>
|
|
|
1908
1794
|
export const Trigger2 = GetEventResponseDetailsCase0Case41Trigger;
|
|
1909
1795
|
export const GetEventResponseDetailsCase0Case42 = GetEventResponseDetailsCase0Case41;
|
|
1910
1796
|
export const GetEventResponseDetailsCase0Case43 = GetEventResponseDetailsCase0Case41;
|
|
1911
|
-
export const NewTrigger = S.String;
|
|
1912
1797
|
export const GetEventResponseDetailsCase0Case44 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1913
1798
|
reason: S.String,
|
|
1914
|
-
fromTrigger: S.optional(
|
|
1799
|
+
fromTrigger: S.optional(AutoDeployTrigger),
|
|
1915
1800
|
})).annotate({
|
|
1916
1801
|
identifier: "GetEventResponseDetailsCase0Case44",
|
|
1917
1802
|
});
|
|
1918
|
-
export const GetEventResponseDetailsCase0Case45NewTrigger = S.String;
|
|
1919
1803
|
export const GetEventResponseDetailsCase0Case45 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1920
|
-
newTrigger: S.optional(
|
|
1804
|
+
newTrigger: S.optional(AutoDeployTrigger),
|
|
1921
1805
|
})).annotate({
|
|
1922
1806
|
identifier: "GetEventResponseDetailsCase0Case45",
|
|
1923
1807
|
});
|
|
@@ -1994,9 +1878,7 @@ export const GetEventResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1994
1878
|
serviceId: S.String,
|
|
1995
1879
|
type: GetEventResponseType,
|
|
1996
1880
|
details: GetEventResponseDetails,
|
|
1997
|
-
})).annotate({
|
|
1998
|
-
identifier: "GetEventResponse",
|
|
1999
|
-
});
|
|
1881
|
+
})).annotate({ identifier: "GetEventResponse" });
|
|
2000
1882
|
export const GetHttpLatencyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2001
1883
|
startTime: S.optional(S.String.pipe(T.Query())),
|
|
2002
1884
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
@@ -2006,9 +1888,7 @@ export const GetHttpLatencyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2006
1888
|
host: S.optional(S.String.pipe(T.Query())),
|
|
2007
1889
|
path: S.optional(S.String.pipe(T.Query())),
|
|
2008
1890
|
quantile: S.optional(S.Number.pipe(T.Query())),
|
|
2009
|
-
}).pipe(T.Http({ method: "GET", uri: "/metrics/http-latency", code: 200 }))).annotate({
|
|
2010
|
-
identifier: "GetHttpLatencyRequest",
|
|
2011
|
-
});
|
|
1891
|
+
}).pipe(T.Http({ method: "GET", uri: "/metrics/http-latency", code: 200 }))).annotate({ identifier: "GetHttpLatencyRequest" });
|
|
2012
1892
|
export const GetHttpLatencyResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
2013
1893
|
export const GetHttpLatencyResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
2014
1894
|
export const GetHttpLatencyResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
@@ -2021,9 +1901,7 @@ export const GetHttpLatencyResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
2021
1901
|
identifier: "GetHttpLatencyResponseBodyItem",
|
|
2022
1902
|
});
|
|
2023
1903
|
export const GetHttpLatencyResponseBodyList = /*@__PURE__*/ S.Array(GetHttpLatencyResponseBodyItem);
|
|
2024
|
-
export const GetHttpLatencyResponse = /*@__PURE__*/ S.suspend(() => GetHttpLatencyResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2025
|
-
identifier: "GetHttpLatencyResponse",
|
|
2026
|
-
});
|
|
1904
|
+
export const GetHttpLatencyResponse = /*@__PURE__*/ S.suspend(() => GetHttpLatencyResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetHttpLatencyResponse" });
|
|
2027
1905
|
export const GetHttpRequestsRequestAggregateBy = S.String;
|
|
2028
1906
|
export const GetHttpRequestsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2029
1907
|
startTime: S.optional(S.String.pipe(T.Query())),
|
|
@@ -2034,9 +1912,7 @@ export const GetHttpRequestsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2034
1912
|
host: S.optional(S.String.pipe(T.Query())),
|
|
2035
1913
|
path: S.optional(S.String.pipe(T.Query())),
|
|
2036
1914
|
aggregateBy: S.optional(GetHttpRequestsRequestAggregateBy.pipe(T.Query())),
|
|
2037
|
-
}).pipe(T.Http({ method: "GET", uri: "/metrics/http-requests", code: 200 }))).annotate({
|
|
2038
|
-
identifier: "GetHttpRequestsRequest",
|
|
2039
|
-
});
|
|
1915
|
+
}).pipe(T.Http({ method: "GET", uri: "/metrics/http-requests", code: 200 }))).annotate({ identifier: "GetHttpRequestsRequest" });
|
|
2040
1916
|
export const GetHttpRequestsResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
2041
1917
|
export const GetHttpRequestsResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
2042
1918
|
export const GetHttpRequestsResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
@@ -2049,18 +1925,14 @@ export const GetHttpRequestsResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.S
|
|
|
2049
1925
|
identifier: "GetHttpRequestsResponseBodyItem",
|
|
2050
1926
|
});
|
|
2051
1927
|
export const GetHttpRequestsResponseBodyList = /*@__PURE__*/ S.Array(GetHttpRequestsResponseBodyItem);
|
|
2052
|
-
export const GetHttpRequestsResponse = /*@__PURE__*/ S.suspend(() => GetHttpRequestsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2053
|
-
identifier: "GetHttpRequestsResponse",
|
|
2054
|
-
});
|
|
1928
|
+
export const GetHttpRequestsResponse = /*@__PURE__*/ S.suspend(() => GetHttpRequestsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetHttpRequestsResponse" });
|
|
2055
1929
|
export const GetInstanceCountRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2056
1930
|
startTime: S.optional(S.String.pipe(T.Query())),
|
|
2057
1931
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
2058
1932
|
resolutionSeconds: S.optional(S.Number.pipe(T.Query())),
|
|
2059
1933
|
resource: S.optional(S.String.pipe(T.Query())),
|
|
2060
1934
|
service: S.optional(S.String.pipe(T.Query())),
|
|
2061
|
-
}).pipe(T.Http({ method: "GET", uri: "/metrics/instance-count", code: 200 }))).annotate({
|
|
2062
|
-
identifier: "GetInstanceCountRequest",
|
|
2063
|
-
});
|
|
1935
|
+
}).pipe(T.Http({ method: "GET", uri: "/metrics/instance-count", code: 200 }))).annotate({ identifier: "GetInstanceCountRequest" });
|
|
2064
1936
|
export const GetInstanceCountResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
2065
1937
|
export const GetInstanceCountResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
2066
1938
|
export const GetInstanceCountResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
@@ -2073,47 +1945,27 @@ export const GetInstanceCountResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.
|
|
|
2073
1945
|
identifier: "GetInstanceCountResponseBodyItem",
|
|
2074
1946
|
});
|
|
2075
1947
|
export const GetInstanceCountResponseBodyList = /*@__PURE__*/ S.Array(GetInstanceCountResponseBodyItem);
|
|
2076
|
-
export const GetInstanceCountResponse = /*@__PURE__*/ S.suspend(() => GetInstanceCountResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2077
|
-
identifier: "GetInstanceCountResponse",
|
|
2078
|
-
});
|
|
1948
|
+
export const GetInstanceCountResponse = /*@__PURE__*/ S.suspend(() => GetInstanceCountResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetInstanceCountResponse" });
|
|
2079
1949
|
export const GetJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2080
1950
|
serviceId: S.String.pipe(T.Label()),
|
|
2081
1951
|
jobId: S.String.pipe(T.Label()),
|
|
2082
|
-
}).pipe(T.Http({
|
|
2083
|
-
method: "GET",
|
|
2084
|
-
uri: "/services/{serviceId}/jobs/{jobId}",
|
|
2085
|
-
code: 200,
|
|
2086
|
-
}))).annotate({ identifier: "GetJobRequest" });
|
|
1952
|
+
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/jobs/{jobId}", code: 200 }))).annotate({ identifier: "GetJobRequest" });
|
|
2087
1953
|
export const GetKeyValueRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2088
1954
|
redisId: S.String.pipe(T.Label()),
|
|
2089
|
-
}).pipe(T.Http({ method: "GET", uri: "/key-value/{redisId}", code: 200 }))).annotate({
|
|
2090
|
-
identifier: "GetKeyValueRequest",
|
|
2091
|
-
});
|
|
1955
|
+
}).pipe(T.Http({ method: "GET", uri: "/key-value/{redisId}", code: 200 }))).annotate({ identifier: "GetKeyValueRequest" });
|
|
2092
1956
|
export const GetKeyValueConnectionInfoRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2093
1957
|
redisId: S.String.pipe(T.Label()),
|
|
2094
|
-
}).pipe(T.Http({
|
|
2095
|
-
method: "GET",
|
|
2096
|
-
uri: "/key-value/{redisId}/connection-info",
|
|
2097
|
-
code: 200,
|
|
2098
|
-
}))).annotate({
|
|
1958
|
+
}).pipe(T.Http({ method: "GET", uri: "/key-value/{redisId}/connection-info", code: 200 }))).annotate({
|
|
2099
1959
|
identifier: "GetKeyValueConnectionInfoRequest",
|
|
2100
1960
|
});
|
|
2101
1961
|
export const KeyValueConnectionInfo = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2102
1962
|
internalConnectionString: S.String,
|
|
2103
1963
|
externalConnectionString: S.String,
|
|
2104
1964
|
cliCommand: S.String,
|
|
2105
|
-
})).annotate({
|
|
2106
|
-
identifier: "KeyValueConnectionInfo",
|
|
2107
|
-
});
|
|
1965
|
+
})).annotate({ identifier: "KeyValueConnectionInfo" });
|
|
2108
1966
|
export const GetMaintenanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2109
1967
|
maintenanceRunID: S.String.pipe(T.Label()),
|
|
2110
|
-
}).pipe(T.Http({
|
|
2111
|
-
method: "GET",
|
|
2112
|
-
uri: "/maintenance/{maintenanceRunID}",
|
|
2113
|
-
code: 200,
|
|
2114
|
-
}))).annotate({
|
|
2115
|
-
identifier: "GetMaintenanceRequest",
|
|
2116
|
-
});
|
|
1968
|
+
}).pipe(T.Http({ method: "GET", uri: "/maintenance/{maintenanceRunID}", code: 200 }))).annotate({ identifier: "GetMaintenanceRequest" });
|
|
2117
1969
|
export const GetMaintenanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2118
1970
|
id: S.String,
|
|
2119
1971
|
type: S.String,
|
|
@@ -2121,9 +1973,7 @@ export const GetMaintenanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2121
1973
|
pendingMaintenanceBy: S.optional(S.String),
|
|
2122
1974
|
state: Items4,
|
|
2123
1975
|
resourceId: S.String,
|
|
2124
|
-
})).annotate({
|
|
2125
|
-
identifier: "GetMaintenanceResponse",
|
|
2126
|
-
});
|
|
1976
|
+
})).annotate({ identifier: "GetMaintenanceResponse" });
|
|
2127
1977
|
export const GetMemoryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2128
1978
|
startTime: S.optional(S.String.pipe(T.Query())),
|
|
2129
1979
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
@@ -2131,9 +1981,7 @@ export const GetMemoryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2131
1981
|
resource: S.optional(S.String.pipe(T.Query())),
|
|
2132
1982
|
service: S.optional(S.String.pipe(T.Query())),
|
|
2133
1983
|
instance: S.optional(S.String.pipe(T.Query())),
|
|
2134
|
-
}).pipe(T.Http({ method: "GET", uri: "/metrics/memory", code: 200 }))).annotate({
|
|
2135
|
-
identifier: "GetMemoryRequest",
|
|
2136
|
-
});
|
|
1984
|
+
}).pipe(T.Http({ method: "GET", uri: "/metrics/memory", code: 200 }))).annotate({ identifier: "GetMemoryRequest" });
|
|
2137
1985
|
export const GetMemoryResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
2138
1986
|
export const GetMemoryResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
2139
1987
|
export const GetMemoryResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
@@ -2146,9 +1994,7 @@ export const GetMemoryResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct(
|
|
|
2146
1994
|
identifier: "GetMemoryResponseBodyItem",
|
|
2147
1995
|
});
|
|
2148
1996
|
export const GetMemoryResponseBodyList = /*@__PURE__*/ S.Array(GetMemoryResponseBodyItem);
|
|
2149
|
-
export const GetMemoryResponse = /*@__PURE__*/ S.suspend(() => GetMemoryResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2150
|
-
identifier: "GetMemoryResponse",
|
|
2151
|
-
});
|
|
1997
|
+
export const GetMemoryResponse = /*@__PURE__*/ S.suspend(() => GetMemoryResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetMemoryResponse" });
|
|
2152
1998
|
export const GetMemoryLimitRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2153
1999
|
startTime: S.optional(S.String.pipe(T.Query())),
|
|
2154
2000
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
@@ -2156,9 +2002,7 @@ export const GetMemoryLimitRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2156
2002
|
resource: S.optional(S.String.pipe(T.Query())),
|
|
2157
2003
|
service: S.optional(S.String.pipe(T.Query())),
|
|
2158
2004
|
instance: S.optional(S.String.pipe(T.Query())),
|
|
2159
|
-
}).pipe(T.Http({ method: "GET", uri: "/metrics/memory-limit", code: 200 }))).annotate({
|
|
2160
|
-
identifier: "GetMemoryLimitRequest",
|
|
2161
|
-
});
|
|
2005
|
+
}).pipe(T.Http({ method: "GET", uri: "/metrics/memory-limit", code: 200 }))).annotate({ identifier: "GetMemoryLimitRequest" });
|
|
2162
2006
|
export const GetMemoryLimitResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
2163
2007
|
export const GetMemoryLimitResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
2164
2008
|
export const GetMemoryLimitResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
@@ -2171,9 +2015,7 @@ export const GetMemoryLimitResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
2171
2015
|
identifier: "GetMemoryLimitResponseBodyItem",
|
|
2172
2016
|
});
|
|
2173
2017
|
export const GetMemoryLimitResponseBodyList = /*@__PURE__*/ S.Array(GetMemoryLimitResponseBodyItem);
|
|
2174
|
-
export const GetMemoryLimitResponse = /*@__PURE__*/ S.suspend(() => GetMemoryLimitResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2175
|
-
identifier: "GetMemoryLimitResponse",
|
|
2176
|
-
});
|
|
2018
|
+
export const GetMemoryLimitResponse = /*@__PURE__*/ S.suspend(() => GetMemoryLimitResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetMemoryLimitResponse" });
|
|
2177
2019
|
export const GetMemoryTargetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2178
2020
|
startTime: S.optional(S.String.pipe(T.Query())),
|
|
2179
2021
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
@@ -2181,9 +2023,7 @@ export const GetMemoryTargetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2181
2023
|
resource: S.optional(S.String.pipe(T.Query())),
|
|
2182
2024
|
service: S.optional(S.String.pipe(T.Query())),
|
|
2183
2025
|
instance: S.optional(S.String.pipe(T.Query())),
|
|
2184
|
-
}).pipe(T.Http({ method: "GET", uri: "/metrics/memory-target", code: 200 }))).annotate({
|
|
2185
|
-
identifier: "GetMemoryTargetRequest",
|
|
2186
|
-
});
|
|
2026
|
+
}).pipe(T.Http({ method: "GET", uri: "/metrics/memory-target", code: 200 }))).annotate({ identifier: "GetMemoryTargetRequest" });
|
|
2187
2027
|
export const GetMemoryTargetResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
2188
2028
|
export const GetMemoryTargetResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
2189
2029
|
export const GetMemoryTargetResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
@@ -2196,19 +2036,13 @@ export const GetMemoryTargetResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.S
|
|
|
2196
2036
|
identifier: "GetMemoryTargetResponseBodyItem",
|
|
2197
2037
|
});
|
|
2198
2038
|
export const GetMemoryTargetResponseBodyList = /*@__PURE__*/ S.Array(GetMemoryTargetResponseBodyItem);
|
|
2199
|
-
export const GetMemoryTargetResponse = /*@__PURE__*/ S.suspend(() => GetMemoryTargetResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2200
|
-
identifier: "GetMemoryTargetResponse",
|
|
2201
|
-
});
|
|
2039
|
+
export const GetMemoryTargetResponse = /*@__PURE__*/ S.suspend(() => GetMemoryTargetResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetMemoryTargetResponse" });
|
|
2202
2040
|
export const GetOwnerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2203
2041
|
ownerId: S.String.pipe(T.Label()),
|
|
2204
|
-
}).pipe(T.Http({ method: "GET", uri: "/owners/{ownerId}", code: 200 }))).annotate({
|
|
2205
|
-
identifier: "GetOwnerRequest",
|
|
2206
|
-
});
|
|
2042
|
+
}).pipe(T.Http({ method: "GET", uri: "/owners/{ownerId}", code: 200 }))).annotate({ identifier: "GetOwnerRequest" });
|
|
2207
2043
|
export const GetOwnerLogStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2208
2044
|
ownerId: S.String.pipe(T.Label()),
|
|
2209
|
-
}).pipe(T.Http({ method: "GET", uri: "/logs/streams/owner/{ownerId}", code: 200 }))).annotate({
|
|
2210
|
-
identifier: "GetOwnerLogStreamRequest",
|
|
2211
|
-
});
|
|
2045
|
+
}).pipe(T.Http({ method: "GET", uri: "/logs/streams/owner/{ownerId}", code: 200 }))).annotate({ identifier: "GetOwnerLogStreamRequest" });
|
|
2212
2046
|
export const Preview = S.String;
|
|
2213
2047
|
export const GetOwnerLogStreamResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2214
2048
|
ownerId: S.optional(S.String),
|
|
@@ -2219,9 +2053,7 @@ export const GetOwnerLogStreamResponse = /*@__PURE__*/ S.suspend(() => S.Struct(
|
|
|
2219
2053
|
});
|
|
2220
2054
|
export const GetOwnerMembersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2221
2055
|
ownerId: S.String.pipe(T.Label()),
|
|
2222
|
-
}).pipe(T.Http({ method: "GET", uri: "/owners/{ownerId}/members", code: 200 }))).annotate({
|
|
2223
|
-
identifier: "GetOwnerMembersRequest",
|
|
2224
|
-
});
|
|
2056
|
+
}).pipe(T.Http({ method: "GET", uri: "/owners/{ownerId}/members", code: 200 }))).annotate({ identifier: "GetOwnerMembersRequest" });
|
|
2225
2057
|
export const TeamMemberStatus = S.String;
|
|
2226
2058
|
export const TeamMemberRole = S.String;
|
|
2227
2059
|
export const TeamMember = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -2233,9 +2065,7 @@ export const TeamMember = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2233
2065
|
mfaEnabled: S.Boolean,
|
|
2234
2066
|
})).annotate({ identifier: "TeamMember" });
|
|
2235
2067
|
export const TeamMembers = /*@__PURE__*/ S.Array(TeamMember);
|
|
2236
|
-
export const GetOwnerMembersResponse = /*@__PURE__*/ S.suspend(() => TeamMembers.pipe(T.RawResponseRoot())).annotate({
|
|
2237
|
-
identifier: "GetOwnerMembersResponse",
|
|
2238
|
-
});
|
|
2068
|
+
export const GetOwnerMembersResponse = /*@__PURE__*/ S.suspend(() => TeamMembers.pipe(T.RawResponseRoot())).annotate({ identifier: "GetOwnerMembersResponse" });
|
|
2239
2069
|
export const GetOwnerMetricsStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2240
2070
|
ownerId: S.String.pipe(T.Label()),
|
|
2241
2071
|
}).pipe(T.Http({ method: "GET", uri: "/metrics-stream/{ownerId}", code: 200 }))).annotate({
|
|
@@ -2249,11 +2079,7 @@ export const Schema10 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2249
2079
|
})).annotate({ identifier: "Schema10" });
|
|
2250
2080
|
export const GetOwnerNotificationSettingsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2251
2081
|
ownerId: S.String.pipe(T.Label()),
|
|
2252
|
-
}).pipe(T.Http({
|
|
2253
|
-
method: "GET",
|
|
2254
|
-
uri: "/notification-settings/owners/{ownerId}",
|
|
2255
|
-
code: 200,
|
|
2256
|
-
}))).annotate({
|
|
2082
|
+
}).pipe(T.Http({ method: "GET", uri: "/notification-settings/owners/{ownerId}", code: 200 }))).annotate({
|
|
2257
2083
|
identifier: "GetOwnerNotificationSettingsRequest",
|
|
2258
2084
|
});
|
|
2259
2085
|
export const NotificationsToSend = S.String;
|
|
@@ -2268,16 +2094,10 @@ export const GetOwnerNotificationSettingsResponse = /*@__PURE__*/ S.suspend(() =
|
|
|
2268
2094
|
});
|
|
2269
2095
|
export const GetPostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2270
2096
|
postgresId: S.String.pipe(T.Label()),
|
|
2271
|
-
}).pipe(T.Http({ method: "GET", uri: "/postgres/{postgresId}", code: 200 }))).annotate({
|
|
2272
|
-
identifier: "GetPostgresRequest",
|
|
2273
|
-
});
|
|
2097
|
+
}).pipe(T.Http({ method: "GET", uri: "/postgres/{postgresId}", code: 200 }))).annotate({ identifier: "GetPostgresRequest" });
|
|
2274
2098
|
export const GetPostgresConnectionInfoRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2275
2099
|
postgresId: S.String.pipe(T.Label()),
|
|
2276
|
-
}).pipe(T.Http({
|
|
2277
|
-
method: "GET",
|
|
2278
|
-
uri: "/postgres/{postgresId}/connection-info",
|
|
2279
|
-
code: 200,
|
|
2280
|
-
}))).annotate({
|
|
2100
|
+
}).pipe(T.Http({ method: "GET", uri: "/postgres/{postgresId}/connection-info", code: 200 }))).annotate({
|
|
2281
2101
|
identifier: "GetPostgresConnectionInfoRequest",
|
|
2282
2102
|
});
|
|
2283
2103
|
export const PostgresConnectionInfo = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -2286,17 +2106,11 @@ export const PostgresConnectionInfo = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2286
2106
|
externalConnectionString: S.String,
|
|
2287
2107
|
internalConnectionPoolString: S.optional(S.String),
|
|
2288
2108
|
externalConnectionPoolString: S.optional(S.String),
|
|
2289
|
-
psqlCommand: S.String,
|
|
2290
|
-
})).annotate({
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
postgresId: S.String.pipe(T.Label()),
|
|
2295
|
-
}).pipe(T.Http({
|
|
2296
|
-
method: "GET",
|
|
2297
|
-
uri: "/postgres/{postgresId}/recovery",
|
|
2298
|
-
code: 200,
|
|
2299
|
-
}))).annotate({
|
|
2109
|
+
psqlCommand: S.String,
|
|
2110
|
+
})).annotate({ identifier: "PostgresConnectionInfo" });
|
|
2111
|
+
export const GetPostgresRecoveryInfoRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2112
|
+
postgresId: S.String.pipe(T.Label()),
|
|
2113
|
+
}).pipe(T.Http({ method: "GET", uri: "/postgres/{postgresId}/recovery", code: 200 }))).annotate({
|
|
2300
2114
|
identifier: "GetPostgresRecoveryInfoRequest",
|
|
2301
2115
|
});
|
|
2302
2116
|
export const GetPostgresRecoveryInfoResponseRecoveryStatus = S.String;
|
|
@@ -2308,16 +2122,10 @@ export const GetPostgresRecoveryInfoResponse = /*@__PURE__*/ S.suspend(() => S.S
|
|
|
2308
2122
|
});
|
|
2309
2123
|
export const GetProjectRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2310
2124
|
projectId: S.String.pipe(T.Label()),
|
|
2311
|
-
}).pipe(T.Http({ method: "GET", uri: "/projects/{projectId}", code: 200 }))).annotate({
|
|
2312
|
-
identifier: "GetProjectRequest",
|
|
2313
|
-
});
|
|
2125
|
+
}).pipe(T.Http({ method: "GET", uri: "/projects/{projectId}", code: 200 }))).annotate({ identifier: "GetProjectRequest" });
|
|
2314
2126
|
export const GetRegistryCredentialRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2315
2127
|
registryCredentialId: S.String.pipe(T.Label()),
|
|
2316
|
-
}).pipe(T.Http({
|
|
2317
|
-
method: "GET",
|
|
2318
|
-
uri: "/registrycredentials/{registryCredentialId}",
|
|
2319
|
-
code: 200,
|
|
2320
|
-
}))).annotate({
|
|
2128
|
+
}).pipe(T.Http({ method: "GET", uri: "/registrycredentials/{registryCredentialId}", code: 200 }))).annotate({
|
|
2321
2129
|
identifier: "GetRegistryCredentialRequest",
|
|
2322
2130
|
});
|
|
2323
2131
|
export const GetReplicationLagRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -2325,15 +2133,11 @@ export const GetReplicationLagRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2325
2133
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
2326
2134
|
resolutionSeconds: S.optional(S.Number.pipe(T.Query())),
|
|
2327
2135
|
resource: S.optional(S.String.pipe(T.Query())),
|
|
2328
|
-
}).pipe(T.Http({ method: "GET", uri: "/metrics/replication-lag", code: 200 }))).annotate({
|
|
2329
|
-
identifier: "GetReplicationLagRequest",
|
|
2330
|
-
});
|
|
2136
|
+
}).pipe(T.Http({ method: "GET", uri: "/metrics/replication-lag", code: 200 }))).annotate({ identifier: "GetReplicationLagRequest" });
|
|
2331
2137
|
export const GetReplicationLagResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
2332
|
-
export const GetReplicationLagResponseBodyItemLabelsList =
|
|
2333
|
-
/*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
2138
|
+
export const GetReplicationLagResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
2334
2139
|
export const GetReplicationLagResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
2335
|
-
export const GetReplicationLagResponseBodyItemValuesList =
|
|
2336
|
-
/*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemValuesItem);
|
|
2140
|
+
export const GetReplicationLagResponseBodyItemValuesList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemValuesItem);
|
|
2337
2141
|
export const GetReplicationLagResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2338
2142
|
labels: GetReplicationLagResponseBodyItemLabelsList,
|
|
2339
2143
|
values: GetReplicationLagResponseBodyItemValuesList,
|
|
@@ -2347,11 +2151,7 @@ export const GetReplicationLagResponse = /*@__PURE__*/ S.suspend(() => GetReplic
|
|
|
2347
2151
|
});
|
|
2348
2152
|
export const GetResourceLogStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2349
2153
|
resourceId: S.String.pipe(T.Label()),
|
|
2350
|
-
}).pipe(T.Http({
|
|
2351
|
-
method: "GET",
|
|
2352
|
-
uri: "/logs/streams/resource/{resourceId}",
|
|
2353
|
-
code: 200,
|
|
2354
|
-
}))).annotate({
|
|
2154
|
+
}).pipe(T.Http({ method: "GET", uri: "/logs/streams/resource/{resourceId}", code: 200 }))).annotate({
|
|
2355
2155
|
identifier: "GetResourceLogStreamRequest",
|
|
2356
2156
|
});
|
|
2357
2157
|
export const Items3 = S.String;
|
|
@@ -2365,18 +2165,10 @@ export const GetResourceLogStreamResponse = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
2365
2165
|
export const GetSecretFileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2366
2166
|
serviceId: S.String.pipe(T.Label()),
|
|
2367
2167
|
envVarKey: S.String.pipe(T.Label()),
|
|
2368
|
-
}).pipe(T.Http({
|
|
2369
|
-
method: "GET",
|
|
2370
|
-
uri: "/services/{serviceId}/secret-files/{envVarKey}",
|
|
2371
|
-
code: 200,
|
|
2372
|
-
}))).annotate({
|
|
2373
|
-
identifier: "GetSecretFileRequest",
|
|
2374
|
-
});
|
|
2168
|
+
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/secret-files/{envVarKey}", code: 200 }))).annotate({ identifier: "GetSecretFileRequest" });
|
|
2375
2169
|
export const GetServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2376
2170
|
serviceId: S.String.pipe(T.Label()),
|
|
2377
|
-
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}", code: 200 }))).annotate({
|
|
2378
|
-
identifier: "GetServiceRequest",
|
|
2379
|
-
});
|
|
2171
|
+
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}", code: 200 }))).annotate({ identifier: "GetServiceRequest" });
|
|
2380
2172
|
export const GetServiceNotificationOverridesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2381
2173
|
serviceId: S.String.pipe(T.Label()),
|
|
2382
2174
|
}).pipe(T.Http({
|
|
@@ -2397,11 +2189,7 @@ export const GetServiceNotificationOverridesResponse = /*@__PURE__*/ S.suspend((
|
|
|
2397
2189
|
});
|
|
2398
2190
|
export const GetServiceOutboundIpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2399
2191
|
serviceId: S.String.pipe(T.Label()),
|
|
2400
|
-
}).pipe(T.Http({
|
|
2401
|
-
method: "GET",
|
|
2402
|
-
uri: "/services/{serviceId}/outbound-ips",
|
|
2403
|
-
code: 200,
|
|
2404
|
-
}))).annotate({
|
|
2192
|
+
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/outbound-ips", code: 200 }))).annotate({
|
|
2405
2193
|
identifier: "GetServiceOutboundIpsRequest",
|
|
2406
2194
|
});
|
|
2407
2195
|
export const OutboundIpsType = S.String;
|
|
@@ -2420,14 +2208,10 @@ export const GetTaskResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2420
2208
|
createdAt: S.String,
|
|
2421
2209
|
workflowId: S.optional(S.String),
|
|
2422
2210
|
workflowVersionId: S.optional(S.String),
|
|
2423
|
-
})).annotate({
|
|
2424
|
-
identifier: "GetTaskResponse",
|
|
2425
|
-
});
|
|
2211
|
+
})).annotate({ identifier: "GetTaskResponse" });
|
|
2426
2212
|
export const GetTaskRunRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2427
2213
|
taskRunId: S.String.pipe(T.Label()),
|
|
2428
|
-
}).pipe(T.Http({ method: "GET", uri: "/task-runs/{taskRunId}", code: 200 }))).annotate({
|
|
2429
|
-
identifier: "GetTaskRunRequest",
|
|
2430
|
-
});
|
|
2214
|
+
}).pipe(T.Http({ method: "GET", uri: "/task-runs/{taskRunId}", code: 200 }))).annotate({ identifier: "GetTaskRunRequest" });
|
|
2431
2215
|
export const GetTaskRunResponseStatus = S.String;
|
|
2432
2216
|
export const GetTaskRunResponseResultsList = /*@__PURE__*/ S.Array(S.Unknown);
|
|
2433
2217
|
export const InputCase0List = /*@__PURE__*/ S.Array(S.Unknown);
|
|
@@ -2461,9 +2245,7 @@ export const GetTaskRunResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2461
2245
|
rootTaskRunId: S.String,
|
|
2462
2246
|
retries: S.Number,
|
|
2463
2247
|
attempts: GetTaskRunResponseAttemptsList,
|
|
2464
|
-
})).annotate({
|
|
2465
|
-
identifier: "GetTaskRunResponse",
|
|
2466
|
-
});
|
|
2248
|
+
})).annotate({ identifier: "GetTaskRunResponse" });
|
|
2467
2249
|
export const GetTaskRunsCompletedRequestState = S.String;
|
|
2468
2250
|
export const GetTaskRunsCompletedRequestAggregateBy = S.String;
|
|
2469
2251
|
export const GetTaskRunsCompletedRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -2477,11 +2259,9 @@ export const GetTaskRunsCompletedRequest = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
2477
2259
|
identifier: "GetTaskRunsCompletedRequest",
|
|
2478
2260
|
});
|
|
2479
2261
|
export const GetTaskRunsCompletedResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
2480
|
-
export const GetTaskRunsCompletedResponseBodyItemLabelsList =
|
|
2481
|
-
/*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
2262
|
+
export const GetTaskRunsCompletedResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
2482
2263
|
export const GetTaskRunsCompletedResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
2483
|
-
export const GetTaskRunsCompletedResponseBodyItemValuesList =
|
|
2484
|
-
/*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemValuesItem);
|
|
2264
|
+
export const GetTaskRunsCompletedResponseBodyItemValuesList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemValuesItem);
|
|
2485
2265
|
export const GetTaskRunsCompletedResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2486
2266
|
labels: GetTaskRunsCompletedResponseBodyItemLabelsList,
|
|
2487
2267
|
values: GetTaskRunsCompletedResponseBodyItemValuesList,
|
|
@@ -2498,15 +2278,11 @@ export const GetTaskRunsQueuedRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2498
2278
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
2499
2279
|
resolutionSeconds: S.optional(S.Number.pipe(T.Query())),
|
|
2500
2280
|
resource: S.optional(S.String.pipe(T.Query())),
|
|
2501
|
-
}).pipe(T.Http({ method: "GET", uri: "/metrics/task-runs-queued", code: 200 }))).annotate({
|
|
2502
|
-
identifier: "GetTaskRunsQueuedRequest",
|
|
2503
|
-
});
|
|
2281
|
+
}).pipe(T.Http({ method: "GET", uri: "/metrics/task-runs-queued", code: 200 }))).annotate({ identifier: "GetTaskRunsQueuedRequest" });
|
|
2504
2282
|
export const GetTaskRunsQueuedResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
|
|
2505
|
-
export const GetTaskRunsQueuedResponseBodyItemLabelsList =
|
|
2506
|
-
/*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
2283
|
+
export const GetTaskRunsQueuedResponseBodyItemLabelsList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemLabelsItem);
|
|
2507
2284
|
export const GetTaskRunsQueuedResponseBodyItemValuesItem = GetActiveConnectionsResponseBodyItemValuesItem;
|
|
2508
|
-
export const GetTaskRunsQueuedResponseBodyItemValuesList =
|
|
2509
|
-
/*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemValuesItem);
|
|
2285
|
+
export const GetTaskRunsQueuedResponseBodyItemValuesList = /*@__PURE__*/ S.Array(GetActiveConnectionsResponseBodyItemValuesItem);
|
|
2510
2286
|
export const GetTaskRunsQueuedResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2511
2287
|
labels: GetTaskRunsQueuedResponseBodyItemLabelsList,
|
|
2512
2288
|
values: GetTaskRunsQueuedResponseBodyItemValuesList,
|
|
@@ -2520,28 +2296,25 @@ export const GetTaskRunsQueuedResponse = /*@__PURE__*/ S.suspend(() => GetTaskRu
|
|
|
2520
2296
|
});
|
|
2521
2297
|
export const GetUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/users", code: 200 }))).annotate({ identifier: "GetUserRequest" });
|
|
2522
2298
|
export const User = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2299
|
+
id: S.String,
|
|
2523
2300
|
email: S.String,
|
|
2524
2301
|
name: S.String,
|
|
2525
2302
|
})).annotate({ identifier: "User" });
|
|
2526
2303
|
export const GetWebhookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2527
2304
|
webhookId: S.String.pipe(T.Label()),
|
|
2528
|
-
}).pipe(T.Http({ method: "GET", uri: "/webhooks/{webhookId}", code: 200 }))).annotate({
|
|
2529
|
-
|
|
2530
|
-
});
|
|
2531
|
-
export const Schema12 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2305
|
+
}).pipe(T.Http({ method: "GET", uri: "/webhooks/{webhookId}", code: 200 }))).annotate({ identifier: "GetWebhookRequest" });
|
|
2306
|
+
export const Schema14 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2532
2307
|
id: S.String,
|
|
2533
2308
|
url: S.String,
|
|
2534
2309
|
name: S.String,
|
|
2535
2310
|
secret: S.String.pipe(T.SensitiveValue({})),
|
|
2536
2311
|
enabled: S.Boolean,
|
|
2537
2312
|
eventFilter: EventFilter,
|
|
2538
|
-
})).annotate({ identifier: "
|
|
2313
|
+
})).annotate({ identifier: "Schema14" });
|
|
2539
2314
|
export const GetWorkflowRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2540
2315
|
workflowId: S.String.pipe(T.Label()),
|
|
2541
|
-
}).pipe(T.Http({ method: "GET", uri: "/workflows/{workflowId}", code: 200 }))).annotate({
|
|
2542
|
-
|
|
2543
|
-
});
|
|
2544
|
-
export const Schema13 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2316
|
+
}).pipe(T.Http({ method: "GET", uri: "/workflows/{workflowId}", code: 200 }))).annotate({ identifier: "GetWorkflowRequest" });
|
|
2317
|
+
export const Schema15 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2545
2318
|
id: S.String,
|
|
2546
2319
|
name: S.String,
|
|
2547
2320
|
ownerId: S.String,
|
|
@@ -2552,15 +2325,11 @@ export const Schema13 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2552
2325
|
region: Region2,
|
|
2553
2326
|
environmentId: S.optional(S.String),
|
|
2554
2327
|
slug: S.optional(S.String),
|
|
2555
|
-
autoDeployTrigger: S.optional(
|
|
2556
|
-
})).annotate({ identifier: "
|
|
2328
|
+
autoDeployTrigger: S.optional(AutoDeployTrigger2),
|
|
2329
|
+
})).annotate({ identifier: "Schema15" });
|
|
2557
2330
|
export const GetWorkflowVersionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2558
2331
|
workflowVersionId: S.String.pipe(T.Label()),
|
|
2559
|
-
}).pipe(T.Http({
|
|
2560
|
-
method: "GET",
|
|
2561
|
-
uri: "/workflowversions/{workflowVersionId}",
|
|
2562
|
-
code: 200,
|
|
2563
|
-
}))).annotate({
|
|
2332
|
+
}).pipe(T.Http({ method: "GET", uri: "/workflowversions/{workflowVersionId}", code: 200 }))).annotate({
|
|
2564
2333
|
identifier: "GetWorkflowVersionRequest",
|
|
2565
2334
|
});
|
|
2566
2335
|
export const GetWorkflowVersionResponseStatus = S.String;
|
|
@@ -2573,21 +2342,41 @@ export const GetWorkflowVersionResponse = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
2573
2342
|
})).annotate({
|
|
2574
2343
|
identifier: "GetWorkflowVersionResponse",
|
|
2575
2344
|
});
|
|
2576
|
-
export const
|
|
2345
|
+
export const LinkEnvGroupToBuildSourceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2346
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
2577
2347
|
envGroupId: S.String.pipe(T.Label()),
|
|
2578
|
-
serviceId: S.String.pipe(T.Label()),
|
|
2579
2348
|
}).pipe(T.Http({
|
|
2580
2349
|
method: "POST",
|
|
2581
|
-
uri: "/
|
|
2350
|
+
uri: "/build-sources/{buildSourceId}/env-groups/{envGroupId}",
|
|
2582
2351
|
code: 200,
|
|
2583
2352
|
}))).annotate({
|
|
2353
|
+
identifier: "LinkEnvGroupToBuildSourceRequest",
|
|
2354
|
+
});
|
|
2355
|
+
export const LinkEnvGroupToBuildSourceResponseServiceLinksList = /*@__PURE__*/ S.Array(EnvGroupLink);
|
|
2356
|
+
export const LinkEnvGroupToBuildSourceResponseEnvVarsList = /*@__PURE__*/ S.Array(EnvVar);
|
|
2357
|
+
export const LinkEnvGroupToBuildSourceResponseSecretFilesList = /*@__PURE__*/ S.Array(SecretFile);
|
|
2358
|
+
export const LinkEnvGroupToBuildSourceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2359
|
+
id: S.String,
|
|
2360
|
+
name: S.String,
|
|
2361
|
+
ownerId: S.String,
|
|
2362
|
+
createdAt: S.String,
|
|
2363
|
+
updatedAt: S.String,
|
|
2364
|
+
serviceLinks: LinkEnvGroupToBuildSourceResponseServiceLinksList,
|
|
2365
|
+
environmentId: S.optional(S.String),
|
|
2366
|
+
envVars: LinkEnvGroupToBuildSourceResponseEnvVarsList,
|
|
2367
|
+
secretFiles: LinkEnvGroupToBuildSourceResponseSecretFilesList,
|
|
2368
|
+
})).annotate({
|
|
2369
|
+
identifier: "LinkEnvGroupToBuildSourceResponse",
|
|
2370
|
+
});
|
|
2371
|
+
export const LinkServiceToEnvGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2372
|
+
envGroupId: S.String.pipe(T.Label()),
|
|
2373
|
+
serviceId: S.String.pipe(T.Label()),
|
|
2374
|
+
}).pipe(T.Http({ method: "POST", uri: "/env-groups/{envGroupId}/services/{serviceId}", code: 200 }))).annotate({
|
|
2584
2375
|
identifier: "LinkServiceToEnvGroupRequest",
|
|
2585
2376
|
});
|
|
2586
|
-
export const LinkServiceToEnvGroupResponseServiceLinksList =
|
|
2587
|
-
/*@__PURE__*/ S.Array(EnvGroupLink);
|
|
2377
|
+
export const LinkServiceToEnvGroupResponseServiceLinksList = /*@__PURE__*/ S.Array(EnvGroupLink);
|
|
2588
2378
|
export const LinkServiceToEnvGroupResponseEnvVarsList = /*@__PURE__*/ S.Array(EnvVar);
|
|
2589
|
-
export const LinkServiceToEnvGroupResponseSecretFilesList =
|
|
2590
|
-
/*@__PURE__*/ S.Array(SecretFile);
|
|
2379
|
+
export const LinkServiceToEnvGroupResponseSecretFilesList = /*@__PURE__*/ S.Array(SecretFile);
|
|
2591
2380
|
export const LinkServiceToEnvGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2592
2381
|
id: S.String,
|
|
2593
2382
|
name: S.String,
|
|
@@ -2611,17 +2400,14 @@ export const ListApplicationFilterValuesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
|
2611
2400
|
identifier: "ListApplicationFilterValuesRequest",
|
|
2612
2401
|
});
|
|
2613
2402
|
export const ListApplicationFilterValuesResponseBodyItemFilter = S.String;
|
|
2614
|
-
export const ListApplicationFilterValuesResponseBodyItemValuesList =
|
|
2615
|
-
/*@__PURE__*/ S.
|
|
2616
|
-
export const ListApplicationFilterValuesResponseBodyItem =
|
|
2617
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2403
|
+
export const ListApplicationFilterValuesResponseBodyItemValuesList = /*@__PURE__*/ S.Array(S.String);
|
|
2404
|
+
export const ListApplicationFilterValuesResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2618
2405
|
filter: S.optional(ListApplicationFilterValuesResponseBodyItemFilter),
|
|
2619
2406
|
values: S.optional(ListApplicationFilterValuesResponseBodyItemValuesList),
|
|
2620
2407
|
})).annotate({
|
|
2621
2408
|
identifier: "ListApplicationFilterValuesResponseBodyItem",
|
|
2622
2409
|
});
|
|
2623
|
-
export const ListApplicationFilterValuesResponseBodyList =
|
|
2624
|
-
/*@__PURE__*/ S.Array(ListApplicationFilterValuesResponseBodyItem);
|
|
2410
|
+
export const ListApplicationFilterValuesResponseBodyList = /*@__PURE__*/ S.Array(ListApplicationFilterValuesResponseBodyItem);
|
|
2625
2411
|
export const ListApplicationFilterValuesResponse = /*@__PURE__*/ S.suspend(() => ListApplicationFilterValuesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2626
2412
|
identifier: "ListApplicationFilterValuesResponse",
|
|
2627
2413
|
});
|
|
@@ -2630,9 +2416,7 @@ export const ListBlueprintsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2630
2416
|
ownerId: S.optional(ListBlueprintsRequestOwnerIdList.pipe(T.Query())),
|
|
2631
2417
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
2632
2418
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
2633
|
-
}).pipe(T.Http({ method: "GET", uri: "/blueprints", code: 200 }))).annotate({
|
|
2634
|
-
identifier: "ListBlueprintsRequest",
|
|
2635
|
-
});
|
|
2419
|
+
}).pipe(T.Http({ method: "GET", uri: "/blueprints", code: 200 }))).annotate({ identifier: "ListBlueprintsRequest" });
|
|
2636
2420
|
export const Status = S.String;
|
|
2637
2421
|
export const Schema = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2638
2422
|
id: S.String,
|
|
@@ -2647,22 +2431,14 @@ export const Schema = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2647
2431
|
export const BlueprintWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2648
2432
|
blueprint: Schema,
|
|
2649
2433
|
cursor: S.String,
|
|
2650
|
-
})).annotate({
|
|
2651
|
-
identifier: "BlueprintWithCursor",
|
|
2652
|
-
});
|
|
2434
|
+
})).annotate({ identifier: "BlueprintWithCursor" });
|
|
2653
2435
|
export const ListBlueprintsResponseBodyList = /*@__PURE__*/ S.Array(BlueprintWithCursor);
|
|
2654
|
-
export const ListBlueprintsResponse = /*@__PURE__*/ S.suspend(() => ListBlueprintsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2655
|
-
identifier: "ListBlueprintsResponse",
|
|
2656
|
-
});
|
|
2436
|
+
export const ListBlueprintsResponse = /*@__PURE__*/ S.suspend(() => ListBlueprintsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListBlueprintsResponse" });
|
|
2657
2437
|
export const ListBlueprintSyncsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2658
2438
|
blueprintId: S.String.pipe(T.Label()),
|
|
2659
2439
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
2660
2440
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
2661
|
-
}).pipe(T.Http({
|
|
2662
|
-
method: "GET",
|
|
2663
|
-
uri: "/blueprints/{blueprintId}/syncs",
|
|
2664
|
-
code: 200,
|
|
2665
|
-
}))).annotate({
|
|
2441
|
+
}).pipe(T.Http({ method: "GET", uri: "/blueprints/{blueprintId}/syncs", code: 200 }))).annotate({
|
|
2666
2442
|
identifier: "ListBlueprintSyncsRequest",
|
|
2667
2443
|
});
|
|
2668
2444
|
export const SyncWithCursorSyncCommit = NewBuild;
|
|
@@ -2673,9 +2449,7 @@ export const SyncWithCursorSync = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2673
2449
|
startedAt: S.optional(S.String),
|
|
2674
2450
|
completedAt: S.optional(S.String),
|
|
2675
2451
|
state: SyncWithCursorSyncState,
|
|
2676
|
-
})).annotate({
|
|
2677
|
-
identifier: "SyncWithCursorSync",
|
|
2678
|
-
});
|
|
2452
|
+
})).annotate({ identifier: "SyncWithCursorSync" });
|
|
2679
2453
|
export const SyncWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2680
2454
|
sync: SyncWithCursorSync,
|
|
2681
2455
|
cursor: S.String,
|
|
@@ -2684,6 +2458,66 @@ export const ListBlueprintSyncsResponseBodyList = /*@__PURE__*/ S.Array(SyncWith
|
|
|
2684
2458
|
export const ListBlueprintSyncsResponse = /*@__PURE__*/ S.suspend(() => ListBlueprintSyncsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2685
2459
|
identifier: "ListBlueprintSyncsResponse",
|
|
2686
2460
|
});
|
|
2461
|
+
export const ListBuildsInBuildSourceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2462
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
2463
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
2464
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
2465
|
+
}).pipe(T.Http({ method: "GET", uri: "/build-sources/{buildSourceId}/builds", code: 200 }))).annotate({
|
|
2466
|
+
identifier: "ListBuildsInBuildSourceRequest",
|
|
2467
|
+
});
|
|
2468
|
+
export const SchemaBuildRunStatus = S.String;
|
|
2469
|
+
export const SchemaBuildRunRuntime = S.String;
|
|
2470
|
+
export const SchemaBuildRun = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2471
|
+
id: S.String,
|
|
2472
|
+
status: S.optional(SchemaBuildRunStatus),
|
|
2473
|
+
buildStartedAt: S.optional(S.String),
|
|
2474
|
+
buildFinishedAt: S.optional(S.String),
|
|
2475
|
+
runtime: S.optional(SchemaBuildRunRuntime),
|
|
2476
|
+
commitId: S.optional(S.String),
|
|
2477
|
+
commitUrl: S.optional(S.String),
|
|
2478
|
+
})).annotate({ identifier: "SchemaBuildRun" });
|
|
2479
|
+
export const SchemaImage = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2480
|
+
imageVersionId: S.optional(S.String),
|
|
2481
|
+
SHA: S.optional(S.String),
|
|
2482
|
+
ref: S.optional(S.String),
|
|
2483
|
+
imageUrl: S.optional(S.String),
|
|
2484
|
+
registryCredentialId: S.optional(S.String),
|
|
2485
|
+
})).annotate({ identifier: "SchemaImage" });
|
|
2486
|
+
export const Schema13 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2487
|
+
id: S.String,
|
|
2488
|
+
buildSourceId: S.String,
|
|
2489
|
+
buildRun: S.optional(SchemaBuildRun),
|
|
2490
|
+
image: S.optional(SchemaImage),
|
|
2491
|
+
createdAt: S.String,
|
|
2492
|
+
updatedAt: S.String,
|
|
2493
|
+
assetsDeletedAt: S.optional(S.String),
|
|
2494
|
+
})).annotate({ identifier: "Schema13" });
|
|
2495
|
+
export const ListBuildsInBuildSourceResponseBodyList = /*@__PURE__*/ S.Array(Schema13);
|
|
2496
|
+
export const ListBuildsInBuildSourceResponse = /*@__PURE__*/ S.suspend(() => ListBuildsInBuildSourceResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2497
|
+
identifier: "ListBuildsInBuildSourceResponse",
|
|
2498
|
+
});
|
|
2499
|
+
export const ListBuildSourcesRequestNameList = /*@__PURE__*/ S.Array(S.String);
|
|
2500
|
+
export const ListBuildSourcesRequestOwnerIdList = /*@__PURE__*/ S.Array(S.String);
|
|
2501
|
+
export const ListBuildSourcesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2502
|
+
name: S.optional(ListBuildSourcesRequestNameList.pipe(T.Query())),
|
|
2503
|
+
ownerId: S.optional(ListBuildSourcesRequestOwnerIdList.pipe(T.Query())),
|
|
2504
|
+
projectId: S.optional(S.String.pipe(T.Query())),
|
|
2505
|
+
includePreviews: S.optional(S.Boolean.pipe(T.Query())),
|
|
2506
|
+
createdBefore: S.optional(S.String.pipe(T.Query())),
|
|
2507
|
+
createdAfter: S.optional(S.String.pipe(T.Query())),
|
|
2508
|
+
updatedBefore: S.optional(S.String.pipe(T.Query())),
|
|
2509
|
+
updatedAfter: S.optional(S.String.pipe(T.Query())),
|
|
2510
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
2511
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
2512
|
+
}).pipe(T.Http({ method: "GET", uri: "/build-sources", code: 200 }))).annotate({ identifier: "ListBuildSourcesRequest" });
|
|
2513
|
+
export const ListBuildSourcesResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2514
|
+
buildSource: Schema12,
|
|
2515
|
+
cursor: S.String,
|
|
2516
|
+
})).annotate({
|
|
2517
|
+
identifier: "ListBuildSourcesResponseBodyItem",
|
|
2518
|
+
});
|
|
2519
|
+
export const ListBuildSourcesResponseBodyList = /*@__PURE__*/ S.Array(ListBuildSourcesResponseBodyItem);
|
|
2520
|
+
export const ListBuildSourcesResponse = /*@__PURE__*/ S.suspend(() => ListBuildSourcesResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListBuildSourcesResponse" });
|
|
2687
2521
|
export const ListCustomDomainsRequestNameList = /*@__PURE__*/ S.Array(S.String);
|
|
2688
2522
|
export const ListCustomDomainsRequestDomainType = S.String;
|
|
2689
2523
|
export const ListCustomDomainsRequestVerificationStatus = S.String;
|
|
@@ -2696,19 +2530,11 @@ export const ListCustomDomainsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2696
2530
|
verificationStatus: S.optional(ListCustomDomainsRequestVerificationStatus.pipe(T.Query())),
|
|
2697
2531
|
createdBefore: S.optional(S.String.pipe(T.Query())),
|
|
2698
2532
|
createdAfter: S.optional(S.String.pipe(T.Query())),
|
|
2699
|
-
}).pipe(T.Http({
|
|
2700
|
-
method: "GET",
|
|
2701
|
-
uri: "/services/{serviceId}/custom-domains",
|
|
2702
|
-
code: 200,
|
|
2703
|
-
}))).annotate({
|
|
2704
|
-
identifier: "ListCustomDomainsRequest",
|
|
2705
|
-
});
|
|
2533
|
+
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/custom-domains", code: 200 }))).annotate({ identifier: "ListCustomDomainsRequest" });
|
|
2706
2534
|
export const CustomDomainWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2707
2535
|
customDomain: CustomDomain,
|
|
2708
2536
|
cursor: S.String,
|
|
2709
|
-
})).annotate({
|
|
2710
|
-
identifier: "CustomDomainWithCursor",
|
|
2711
|
-
});
|
|
2537
|
+
})).annotate({ identifier: "CustomDomainWithCursor" });
|
|
2712
2538
|
export const ListCustomDomainsResponseBodyList = /*@__PURE__*/ S.Array(CustomDomainWithCursor);
|
|
2713
2539
|
export const ListCustomDomainsResponse = /*@__PURE__*/ S.suspend(() => ListCustomDomainsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2714
2540
|
identifier: "ListCustomDomainsResponse",
|
|
@@ -2716,13 +2542,9 @@ export const ListCustomDomainsResponse = /*@__PURE__*/ S.suspend(() => ListCusto
|
|
|
2716
2542
|
export const ListDedicatedIpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2717
2543
|
ownerId: S.String.pipe(T.Query()),
|
|
2718
2544
|
environmentId: S.optional(S.String.pipe(T.Query())),
|
|
2719
|
-
}).pipe(T.Http({ method: "GET", uri: "/dedicated-ips", code: 200 }))).annotate({
|
|
2720
|
-
identifier: "ListDedicatedIpsRequest",
|
|
2721
|
-
});
|
|
2545
|
+
}).pipe(T.Http({ method: "GET", uri: "/dedicated-ips", code: 200 }))).annotate({ identifier: "ListDedicatedIpsRequest" });
|
|
2722
2546
|
export const ListDedicatedIpsResponseBodyList = /*@__PURE__*/ S.Array(DedicatedIP);
|
|
2723
|
-
export const ListDedicatedIpsResponse = /*@__PURE__*/ S.suspend(() => ListDedicatedIpsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2724
|
-
identifier: "ListDedicatedIpsResponse",
|
|
2725
|
-
});
|
|
2547
|
+
export const ListDedicatedIpsResponse = /*@__PURE__*/ S.suspend(() => ListDedicatedIpsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListDedicatedIpsResponse" });
|
|
2726
2548
|
export const ListDeploysRequestStatusList = /*@__PURE__*/ S.Array(DeployStatus);
|
|
2727
2549
|
export const ListDeploysRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2728
2550
|
serviceId: S.String.pipe(T.Label()),
|
|
@@ -2735,19 +2557,13 @@ export const ListDeploysRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2735
2557
|
finishedAfter: S.optional(S.String.pipe(T.Query())),
|
|
2736
2558
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
2737
2559
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
2738
|
-
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/deploys", code: 200 }))).annotate({
|
|
2739
|
-
identifier: "ListDeploysRequest",
|
|
2740
|
-
});
|
|
2560
|
+
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/deploys", code: 200 }))).annotate({ identifier: "ListDeploysRequest" });
|
|
2741
2561
|
export const DeployWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2742
2562
|
deploy: S.optional(Deploy),
|
|
2743
2563
|
cursor: S.optional(S.String),
|
|
2744
|
-
})).annotate({
|
|
2745
|
-
identifier: "DeployWithCursor",
|
|
2746
|
-
});
|
|
2564
|
+
})).annotate({ identifier: "DeployWithCursor" });
|
|
2747
2565
|
export const DeployList = /*@__PURE__*/ S.Array(DeployWithCursor);
|
|
2748
|
-
export const ListDeploysResponse = /*@__PURE__*/ S.suspend(() => DeployList.pipe(T.RawResponseRoot())).annotate({
|
|
2749
|
-
identifier: "ListDeploysResponse",
|
|
2750
|
-
});
|
|
2566
|
+
export const ListDeploysResponse = /*@__PURE__*/ S.suspend(() => DeployList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListDeploysResponse" });
|
|
2751
2567
|
export const ListDisksRequestOwnerIdList = /*@__PURE__*/ S.Array(S.String);
|
|
2752
2568
|
export const ListDisksRequestDiskIdList = /*@__PURE__*/ S.Array(S.String);
|
|
2753
2569
|
export const ListDisksRequestNameList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -2763,17 +2579,13 @@ export const ListDisksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2763
2579
|
serviceId: S.optional(ListDisksRequestServiceIdList.pipe(T.Query())),
|
|
2764
2580
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
2765
2581
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
2766
|
-
}).pipe(T.Http({ method: "GET", uri: "/disks", code: 200 }))).annotate({
|
|
2767
|
-
identifier: "ListDisksRequest",
|
|
2768
|
-
});
|
|
2582
|
+
}).pipe(T.Http({ method: "GET", uri: "/disks", code: 200 }))).annotate({ identifier: "ListDisksRequest" });
|
|
2769
2583
|
export const DiskWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2770
2584
|
disk: Schema2,
|
|
2771
2585
|
cursor: S.String,
|
|
2772
2586
|
})).annotate({ identifier: "DiskWithCursor" });
|
|
2773
2587
|
export const ListDisksResponseBodyList = /*@__PURE__*/ S.Array(DiskWithCursor);
|
|
2774
|
-
export const ListDisksResponse = /*@__PURE__*/ S.suspend(() => ListDisksResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2775
|
-
identifier: "ListDisksResponse",
|
|
2776
|
-
});
|
|
2588
|
+
export const ListDisksResponse = /*@__PURE__*/ S.suspend(() => ListDisksResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListDisksResponse" });
|
|
2777
2589
|
export const ListEnvGroupsRequestNameList = /*@__PURE__*/ S.Array(S.String);
|
|
2778
2590
|
export const ListEnvGroupsRequestOwnerIdList = /*@__PURE__*/ S.Array(S.String);
|
|
2779
2591
|
export const ListEnvGroupsRequestEnvironmentIdList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -2787,9 +2599,7 @@ export const ListEnvGroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2787
2599
|
environmentId: S.optional(ListEnvGroupsRequestEnvironmentIdList.pipe(T.Query())),
|
|
2788
2600
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
2789
2601
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
2790
|
-
}).pipe(T.Http({ method: "GET", uri: "/env-groups", code: 200 }))).annotate({
|
|
2791
|
-
identifier: "ListEnvGroupsRequest",
|
|
2792
|
-
});
|
|
2602
|
+
}).pipe(T.Http({ method: "GET", uri: "/env-groups", code: 200 }))).annotate({ identifier: "ListEnvGroupsRequest" });
|
|
2793
2603
|
export const EnvGroupMetaServiceLinksList = /*@__PURE__*/ S.Array(EnvGroupLink);
|
|
2794
2604
|
export const EnvGroupMeta = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2795
2605
|
id: S.String,
|
|
@@ -2801,9 +2611,7 @@ export const EnvGroupMeta = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2801
2611
|
environmentId: S.optional(S.String),
|
|
2802
2612
|
})).annotate({ identifier: "EnvGroupMeta" });
|
|
2803
2613
|
export const ListEnvGroupsResponseBodyList = /*@__PURE__*/ S.Array(EnvGroupMeta);
|
|
2804
|
-
export const ListEnvGroupsResponse = /*@__PURE__*/ S.suspend(() => ListEnvGroupsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2805
|
-
identifier: "ListEnvGroupsResponse",
|
|
2806
|
-
});
|
|
2614
|
+
export const ListEnvGroupsResponse = /*@__PURE__*/ S.suspend(() => ListEnvGroupsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListEnvGroupsResponse" });
|
|
2807
2615
|
export const ListEnvironmentsRequestNameList = /*@__PURE__*/ S.Array(S.String);
|
|
2808
2616
|
export const ListEnvironmentsRequestProjectIdList = /*@__PURE__*/ S.Array(S.String);
|
|
2809
2617
|
export const ListEnvironmentsRequestOwnerIdList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -2819,19 +2627,13 @@ export const ListEnvironmentsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2819
2627
|
environmentId: S.optional(ListEnvironmentsRequestEnvironmentIdList.pipe(T.Query())),
|
|
2820
2628
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
2821
2629
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
2822
|
-
}).pipe(T.Http({ method: "GET", uri: "/environments", code: 200 }))).annotate({
|
|
2823
|
-
identifier: "ListEnvironmentsRequest",
|
|
2824
|
-
});
|
|
2630
|
+
}).pipe(T.Http({ method: "GET", uri: "/environments", code: 200 }))).annotate({ identifier: "ListEnvironmentsRequest" });
|
|
2825
2631
|
export const EnvironmentWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2826
2632
|
environment: Environment,
|
|
2827
2633
|
cursor: S.String,
|
|
2828
|
-
})).annotate({
|
|
2829
|
-
identifier: "EnvironmentWithCursor",
|
|
2830
|
-
});
|
|
2634
|
+
})).annotate({ identifier: "EnvironmentWithCursor" });
|
|
2831
2635
|
export const ListEnvironmentsResponseBodyList = /*@__PURE__*/ S.Array(EnvironmentWithCursor);
|
|
2832
|
-
export const ListEnvironmentsResponse = /*@__PURE__*/ S.suspend(() => ListEnvironmentsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2833
|
-
identifier: "ListEnvironmentsResponse",
|
|
2834
|
-
});
|
|
2636
|
+
export const ListEnvironmentsResponse = /*@__PURE__*/ S.suspend(() => ListEnvironmentsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListEnvironmentsResponse" });
|
|
2835
2637
|
export const ListEventsRequestType = S.String;
|
|
2836
2638
|
export const ListEventsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2837
2639
|
serviceId: S.String.pipe(T.Label()),
|
|
@@ -2840,9 +2642,7 @@ export const ListEventsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2840
2642
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
2841
2643
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
2842
2644
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
2843
|
-
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/events", code: 200 }))).annotate({
|
|
2844
|
-
identifier: "ListEventsRequest",
|
|
2845
|
-
});
|
|
2645
|
+
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/events", code: 200 }))).annotate({ identifier: "ListEventsRequest" });
|
|
2846
2646
|
export const _0 = S.String;
|
|
2847
2647
|
export const _0Case0 = GetEventResponseDetailsCase0Case0;
|
|
2848
2648
|
export const _0Case1 = GetEventResponseDetailsCase0Case1;
|
|
@@ -2903,10 +2703,7 @@ export const _0Case41 = GetEventResponseDetailsCase0Case41;
|
|
|
2903
2703
|
export const _0Case42 = GetEventResponseDetailsCase0Case41;
|
|
2904
2704
|
export const _0Case43 = GetEventResponseDetailsCase0Case41;
|
|
2905
2705
|
export const _0Case44 = GetEventResponseDetailsCase0Case44;
|
|
2906
|
-
export const
|
|
2907
|
-
export const _0Case45 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2908
|
-
newTrigger: S.optional(_0Case45NewTrigger),
|
|
2909
|
-
})).annotate({ identifier: "_0Case45" });
|
|
2706
|
+
export const _0Case45 = GetEventResponseDetailsCase0Case45;
|
|
2910
2707
|
export const _02 = S.Unknown;
|
|
2911
2708
|
export const ServiceEventWithCursorEvent = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2912
2709
|
id: S.String,
|
|
@@ -2919,13 +2716,10 @@ export const ServiceEventWithCursorEvent = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
2919
2716
|
});
|
|
2920
2717
|
export const ServiceEventWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2921
2718
|
event: ServiceEventWithCursorEvent,
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
});
|
|
2719
|
+
cursor: S.String,
|
|
2720
|
+
})).annotate({ identifier: "ServiceEventWithCursor" });
|
|
2925
2721
|
export const ListEventsResponseBodyList = /*@__PURE__*/ S.Array(ServiceEventWithCursor);
|
|
2926
|
-
export const ListEventsResponse = /*@__PURE__*/ S.suspend(() => ListEventsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2927
|
-
identifier: "ListEventsResponse",
|
|
2928
|
-
});
|
|
2722
|
+
export const ListEventsResponse = /*@__PURE__*/ S.suspend(() => ListEventsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListEventsResponse" });
|
|
2929
2723
|
export const ListHeadersRequestPathList = /*@__PURE__*/ S.Array(S.String);
|
|
2930
2724
|
export const ListHeadersRequestNameList = /*@__PURE__*/ S.Array(S.String);
|
|
2931
2725
|
export const ListHeadersRequestValueList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -2936,19 +2730,13 @@ export const ListHeadersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
2936
2730
|
value: S.optional(ListHeadersRequestValueList.pipe(T.Query())),
|
|
2937
2731
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
2938
2732
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
2939
|
-
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/headers", code: 200 }))).annotate({
|
|
2940
|
-
identifier: "ListHeadersRequest",
|
|
2941
|
-
});
|
|
2733
|
+
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/headers", code: 200 }))).annotate({ identifier: "ListHeadersRequest" });
|
|
2942
2734
|
export const HeaderWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2943
2735
|
header: Header,
|
|
2944
2736
|
cursor: S.String,
|
|
2945
|
-
})).annotate({
|
|
2946
|
-
identifier: "HeaderWithCursor",
|
|
2947
|
-
});
|
|
2737
|
+
})).annotate({ identifier: "HeaderWithCursor" });
|
|
2948
2738
|
export const ListHeadersResponseBodyList = /*@__PURE__*/ S.Array(HeaderWithCursor);
|
|
2949
|
-
export const ListHeadersResponse = /*@__PURE__*/ S.suspend(() => ListHeadersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2950
|
-
identifier: "ListHeadersResponse",
|
|
2951
|
-
});
|
|
2739
|
+
export const ListHeadersResponse = /*@__PURE__*/ S.suspend(() => ListHeadersResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListHeadersResponse" });
|
|
2952
2740
|
export const ListHttpFilterValuesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2953
2741
|
startTime: S.optional(S.String.pipe(T.Query())),
|
|
2954
2742
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
@@ -2961,8 +2749,7 @@ export const ListHttpFilterValuesRequest = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
2961
2749
|
identifier: "ListHttpFilterValuesRequest",
|
|
2962
2750
|
});
|
|
2963
2751
|
export const ListHttpFilterValuesResponseBodyItemFilter = S.String;
|
|
2964
|
-
export const ListHttpFilterValuesResponseBodyItemValuesList =
|
|
2965
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
2752
|
+
export const ListHttpFilterValuesResponseBodyItemValuesList = /*@__PURE__*/ S.Array(S.String);
|
|
2966
2753
|
export const ListHttpFilterValuesResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2967
2754
|
filter: S.optional(ListHttpFilterValuesResponseBodyItemFilter),
|
|
2968
2755
|
values: S.optional(ListHttpFilterValuesResponseBodyItemValuesList),
|
|
@@ -2975,23 +2762,13 @@ export const ListHttpFilterValuesResponse = /*@__PURE__*/ S.suspend(() => ListHt
|
|
|
2975
2762
|
});
|
|
2976
2763
|
export const ListInstancesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2977
2764
|
serviceId: S.String.pipe(T.Label()),
|
|
2978
|
-
}).pipe(T.Http({
|
|
2979
|
-
method: "GET",
|
|
2980
|
-
uri: "/services/{serviceId}/instances",
|
|
2981
|
-
code: 200,
|
|
2982
|
-
}))).annotate({
|
|
2983
|
-
identifier: "ListInstancesRequest",
|
|
2984
|
-
});
|
|
2765
|
+
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/instances", code: 200 }))).annotate({ identifier: "ListInstancesRequest" });
|
|
2985
2766
|
export const ServiceInstance = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2986
2767
|
id: S.String,
|
|
2987
2768
|
createdAt: S.String,
|
|
2988
|
-
})).annotate({
|
|
2989
|
-
identifier: "ServiceInstance",
|
|
2990
|
-
});
|
|
2769
|
+
})).annotate({ identifier: "ServiceInstance" });
|
|
2991
2770
|
export const ListInstancesResponseBodyList = /*@__PURE__*/ S.Array(ServiceInstance);
|
|
2992
|
-
export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() => ListInstancesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2993
|
-
identifier: "ListInstancesResponse",
|
|
2994
|
-
});
|
|
2771
|
+
export const ListInstancesResponse = /*@__PURE__*/ S.suspend(() => ListInstancesResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListInstancesResponse" });
|
|
2995
2772
|
export const ListJobRequestStatusItem = S.String;
|
|
2996
2773
|
export const ListJobRequestStatusList = /*@__PURE__*/ S.Array(ListJobRequestStatusItem);
|
|
2997
2774
|
export const ListJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -3011,9 +2788,7 @@ export const JobWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3011
2788
|
cursor: S.String,
|
|
3012
2789
|
})).annotate({ identifier: "JobWithCursor" });
|
|
3013
2790
|
export const ListJobResponseBodyList = /*@__PURE__*/ S.Array(JobWithCursor);
|
|
3014
|
-
export const ListJobResponse = /*@__PURE__*/ S.suspend(() => ListJobResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3015
|
-
identifier: "ListJobResponse",
|
|
3016
|
-
});
|
|
2791
|
+
export const ListJobResponse = /*@__PURE__*/ S.suspend(() => ListJobResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListJobResponse" });
|
|
3017
2792
|
export const ListKeyValueRequestNameList = /*@__PURE__*/ S.Array(S.String);
|
|
3018
2793
|
export const ListKeyValueRequestRegionList = /*@__PURE__*/ S.Array(Region);
|
|
3019
2794
|
export const ListKeyValueRequestOwnerIdList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -3029,9 +2804,7 @@ export const ListKeyValueRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3029
2804
|
environmentId: S.optional(ListKeyValueRequestEnvironmentIdList.pipe(T.Query())),
|
|
3030
2805
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3031
2806
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3032
|
-
}).pipe(T.Http({ method: "GET", uri: "/key-value", code: 200 }))).annotate({
|
|
3033
|
-
identifier: "ListKeyValueRequest",
|
|
3034
|
-
});
|
|
2807
|
+
}).pipe(T.Http({ method: "GET", uri: "/key-value", code: 200 }))).annotate({ identifier: "ListKeyValueRequest" });
|
|
3035
2808
|
export const KeyValueIpAllowListList = /*@__PURE__*/ S.Array(CidrBlockAndDescription);
|
|
3036
2809
|
export const KeyValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3037
2810
|
id: S.String,
|
|
@@ -3051,13 +2824,9 @@ export const KeyValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3051
2824
|
export const KeyValueWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3052
2825
|
keyValue: KeyValue,
|
|
3053
2826
|
cursor: S.String,
|
|
3054
|
-
})).annotate({
|
|
3055
|
-
identifier: "KeyValueWithCursor",
|
|
3056
|
-
});
|
|
2827
|
+
})).annotate({ identifier: "KeyValueWithCursor" });
|
|
3057
2828
|
export const ListKeyValueResponseBodyList = /*@__PURE__*/ S.Array(KeyValueWithCursor);
|
|
3058
|
-
export const ListKeyValueResponse = /*@__PURE__*/ S.suspend(() => ListKeyValueResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3059
|
-
identifier: "ListKeyValueResponse",
|
|
3060
|
-
});
|
|
2829
|
+
export const ListKeyValueResponse = /*@__PURE__*/ S.suspend(() => ListKeyValueResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListKeyValueResponse" });
|
|
3061
2830
|
export const ListLogsRequestDirection = S.String;
|
|
3062
2831
|
export const ListLogsRequestResourceList = /*@__PURE__*/ S.Array(S.String);
|
|
3063
2832
|
export const ListLogsRequestInstanceList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -3089,16 +2858,12 @@ export const ListLogsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3089
2858
|
text: S.optional(ListLogsRequestTextList.pipe(T.Query())),
|
|
3090
2859
|
path: S.optional(ListLogsRequestPathList.pipe(T.Query())),
|
|
3091
2860
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3092
|
-
}).pipe(T.Http({ method: "GET", uri: "/logs", code: 200 }))).annotate({
|
|
3093
|
-
identifier: "ListLogsRequest",
|
|
3094
|
-
});
|
|
2861
|
+
}).pipe(T.Http({ method: "GET", uri: "/logs", code: 200 }))).annotate({ identifier: "ListLogsRequest" });
|
|
3095
2862
|
export const SchemaLabelsItemName = S.String;
|
|
3096
2863
|
export const SchemaLabelsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3097
2864
|
name: SchemaLabelsItemName,
|
|
3098
2865
|
value: S.String,
|
|
3099
|
-
})).annotate({
|
|
3100
|
-
identifier: "SchemaLabelsItem",
|
|
3101
|
-
});
|
|
2866
|
+
})).annotate({ identifier: "SchemaLabelsItem" });
|
|
3102
2867
|
export const SchemaLabelsList = /*@__PURE__*/ S.Array(SchemaLabelsItem);
|
|
3103
2868
|
export const Schema8 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3104
2869
|
id: S.String,
|
|
@@ -3112,9 +2877,7 @@ export const ListLogsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3112
2877
|
nextStartTime: S.String,
|
|
3113
2878
|
nextEndTime: S.String,
|
|
3114
2879
|
logs: ListLogsResponseLogsList,
|
|
3115
|
-
})).annotate({
|
|
3116
|
-
identifier: "ListLogsResponse",
|
|
3117
|
-
});
|
|
2880
|
+
})).annotate({ identifier: "ListLogsResponse" });
|
|
3118
2881
|
export const ListLogsValuesRequestLabel = S.String;
|
|
3119
2882
|
export const ListLogsValuesRequestDirection = S.String;
|
|
3120
2883
|
export const ListLogsValuesRequestResourceList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -3148,13 +2911,9 @@ export const ListLogsValuesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3148
2911
|
text: S.optional(ListLogsValuesRequestTextList.pipe(T.Query())),
|
|
3149
2912
|
path: S.optional(ListLogsValuesRequestPathList.pipe(T.Query())),
|
|
3150
2913
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3151
|
-
}).pipe(T.Http({ method: "GET", uri: "/logs/values", code: 200 }))).annotate({
|
|
3152
|
-
identifier: "ListLogsValuesRequest",
|
|
3153
|
-
});
|
|
2914
|
+
}).pipe(T.Http({ method: "GET", uri: "/logs/values", code: 200 }))).annotate({ identifier: "ListLogsValuesRequest" });
|
|
3154
2915
|
export const ListLogsValuesResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
3155
|
-
export const ListLogsValuesResponse = /*@__PURE__*/ S.suspend(() => ListLogsValuesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3156
|
-
identifier: "ListLogsValuesResponse",
|
|
3157
|
-
});
|
|
2916
|
+
export const ListLogsValuesResponse = /*@__PURE__*/ S.suspend(() => ListLogsValuesResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListLogsValuesResponse" });
|
|
3158
2917
|
export const ListMaintenanceRequestResourceIdList = /*@__PURE__*/ S.Array(S.String);
|
|
3159
2918
|
export const ListMaintenanceRequestOwnerIdList = /*@__PURE__*/ S.Array(S.String);
|
|
3160
2919
|
export const ListMaintenanceRequestStateItem = S.String;
|
|
@@ -3163,9 +2922,7 @@ export const ListMaintenanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3163
2922
|
resourceId: S.optional(ListMaintenanceRequestResourceIdList.pipe(T.Query())),
|
|
3164
2923
|
ownerId: S.optional(ListMaintenanceRequestOwnerIdList.pipe(T.Query())),
|
|
3165
2924
|
state: S.optional(ListMaintenanceRequestStateList.pipe(T.Query())),
|
|
3166
|
-
}).pipe(T.Http({ method: "GET", uri: "/maintenance", code: 200 }))).annotate({
|
|
3167
|
-
identifier: "ListMaintenanceRequest",
|
|
3168
|
-
});
|
|
2925
|
+
}).pipe(T.Http({ method: "GET", uri: "/maintenance", code: 200 }))).annotate({ identifier: "ListMaintenanceRequest" });
|
|
3169
2926
|
export const Schema11 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3170
2927
|
id: S.String,
|
|
3171
2928
|
type: S.String,
|
|
@@ -3175,23 +2932,15 @@ export const Schema11 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3175
2932
|
resourceId: S.String,
|
|
3176
2933
|
})).annotate({ identifier: "Schema11" });
|
|
3177
2934
|
export const ListMaintenanceResponseBodyList = /*@__PURE__*/ S.Array(Schema11);
|
|
3178
|
-
export const ListMaintenanceResponse = /*@__PURE__*/ S.suspend(() => ListMaintenanceResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
export const ListNotificationOverridesRequestOwnerIdList =
|
|
3182
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
3183
|
-
export const ListNotificationOverridesRequestServiceIdList =
|
|
3184
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
2935
|
+
export const ListMaintenanceResponse = /*@__PURE__*/ S.suspend(() => ListMaintenanceResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListMaintenanceResponse" });
|
|
2936
|
+
export const ListNotificationOverridesRequestOwnerIdList = /*@__PURE__*/ S.Array(S.String);
|
|
2937
|
+
export const ListNotificationOverridesRequestServiceIdList = /*@__PURE__*/ S.Array(S.String);
|
|
3185
2938
|
export const ListNotificationOverridesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3186
2939
|
ownerId: S.optional(ListNotificationOverridesRequestOwnerIdList.pipe(T.Query())),
|
|
3187
2940
|
serviceId: S.optional(ListNotificationOverridesRequestServiceIdList.pipe(T.Query())),
|
|
3188
2941
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3189
2942
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3190
|
-
}).pipe(T.Http({
|
|
3191
|
-
method: "GET",
|
|
3192
|
-
uri: "/notification-settings/overrides",
|
|
3193
|
-
code: 200,
|
|
3194
|
-
}))).annotate({
|
|
2943
|
+
}).pipe(T.Http({ method: "GET", uri: "/notification-settings/overrides", code: 200 }))).annotate({
|
|
3195
2944
|
identifier: "ListNotificationOverridesRequest",
|
|
3196
2945
|
});
|
|
3197
2946
|
export const NotificationOverrideWithCursorOverride = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -3219,11 +2968,7 @@ export const ListOrganizationAuditLogsRequest = /*@__PURE__*/ S.suspend(() => S.
|
|
|
3219
2968
|
direction: S.optional(ListOrganizationAuditLogsRequestDirection.pipe(T.Query())),
|
|
3220
2969
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3221
2970
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3222
|
-
}).pipe(T.Http({
|
|
3223
|
-
method: "GET",
|
|
3224
|
-
uri: "/organizations/{orgId}/audit-logs",
|
|
3225
|
-
code: 200,
|
|
3226
|
-
}))).annotate({
|
|
2971
|
+
}).pipe(T.Http({ method: "GET", uri: "/organizations/{orgId}/audit-logs", code: 200 }))).annotate({
|
|
3227
2972
|
identifier: "ListOrganizationAuditLogsRequest",
|
|
3228
2973
|
});
|
|
3229
2974
|
export const AuditLogEvent = S.String;
|
|
@@ -3246,9 +2991,7 @@ export const AuditLog = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3246
2991
|
export const AuditLogWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3247
2992
|
cursor: S.String,
|
|
3248
2993
|
auditLog: AuditLog,
|
|
3249
|
-
})).annotate({
|
|
3250
|
-
identifier: "AuditLogWithCursor",
|
|
3251
|
-
});
|
|
2994
|
+
})).annotate({ identifier: "AuditLogWithCursor" });
|
|
3252
2995
|
export const ListOrganizationAuditLogsResponseBodyList = /*@__PURE__*/ S.Array(AuditLogWithCursor);
|
|
3253
2996
|
export const ListOrganizationAuditLogsResponse = /*@__PURE__*/ S.suspend(() => ListOrganizationAuditLogsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3254
2997
|
identifier: "ListOrganizationAuditLogsResponse",
|
|
@@ -3275,19 +3018,13 @@ export const ListOwnersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3275
3018
|
email: S.optional(ListOwnersRequestEmailList.pipe(T.Query())),
|
|
3276
3019
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3277
3020
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3278
|
-
}).pipe(T.Http({ method: "GET", uri: "/owners", code: 200 }))).annotate({
|
|
3279
|
-
identifier: "ListOwnersRequest",
|
|
3280
|
-
});
|
|
3021
|
+
}).pipe(T.Http({ method: "GET", uri: "/owners", code: 200 }))).annotate({ identifier: "ListOwnersRequest" });
|
|
3281
3022
|
export const OwnerWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3282
3023
|
owner: S.optional(Owner),
|
|
3283
3024
|
cursor: S.optional(S.String),
|
|
3284
|
-
})).annotate({
|
|
3285
|
-
identifier: "OwnerWithCursor",
|
|
3286
|
-
});
|
|
3025
|
+
})).annotate({ identifier: "OwnerWithCursor" });
|
|
3287
3026
|
export const ListOwnersResponseBodyList = /*@__PURE__*/ S.Array(OwnerWithCursor);
|
|
3288
|
-
export const ListOwnersResponse = /*@__PURE__*/ S.suspend(() => ListOwnersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3289
|
-
identifier: "ListOwnersResponse",
|
|
3290
|
-
});
|
|
3027
|
+
export const ListOwnersResponse = /*@__PURE__*/ S.suspend(() => ListOwnersResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListOwnersResponse" });
|
|
3291
3028
|
export const ListPathFilterValuesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3292
3029
|
startTime: S.optional(S.String.pipe(T.Query())),
|
|
3293
3030
|
endTime: S.optional(S.String.pipe(T.Query())),
|
|
@@ -3323,9 +3060,7 @@ export const ListPostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3323
3060
|
includeReplicas: S.optional(S.Boolean.pipe(T.Query())),
|
|
3324
3061
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3325
3062
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3326
|
-
}).pipe(T.Http({ method: "GET", uri: "/postgres", code: 200 }))).annotate({
|
|
3327
|
-
identifier: "ListPostgresRequest",
|
|
3328
|
-
});
|
|
3063
|
+
}).pipe(T.Http({ method: "GET", uri: "/postgres", code: 200 }))).annotate({ identifier: "ListPostgresRequest" });
|
|
3329
3064
|
export const PostgresIpAllowListList = /*@__PURE__*/ S.Array(CidrBlockAndDescription);
|
|
3330
3065
|
export const PostgresSuspended = S.String;
|
|
3331
3066
|
export const PostgresSuspendersList = /*@__PURE__*/ S.Array(SuspenderType);
|
|
@@ -3358,13 +3093,9 @@ export const Postgres = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3358
3093
|
export const PostgresWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3359
3094
|
postgres: Postgres,
|
|
3360
3095
|
cursor: S.String,
|
|
3361
|
-
})).annotate({
|
|
3362
|
-
identifier: "PostgresWithCursor",
|
|
3363
|
-
});
|
|
3096
|
+
})).annotate({ identifier: "PostgresWithCursor" });
|
|
3364
3097
|
export const ListPostgresResponseBodyList = /*@__PURE__*/ S.Array(PostgresWithCursor);
|
|
3365
|
-
export const ListPostgresResponse = /*@__PURE__*/ S.suspend(() => ListPostgresResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3366
|
-
identifier: "ListPostgresResponse",
|
|
3367
|
-
});
|
|
3098
|
+
export const ListPostgresResponse = /*@__PURE__*/ S.suspend(() => ListPostgresResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListPostgresResponse" });
|
|
3368
3099
|
export const ListPostgresExportRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3369
3100
|
postgresId: S.String.pipe(T.Label()),
|
|
3370
3101
|
}).pipe(T.Http({ method: "GET", uri: "/postgres/{postgresId}/export", code: 200 }))).annotate({
|
|
@@ -3383,15 +3114,10 @@ export const ListPostgresExportResponse = /*@__PURE__*/ S.suspend(() => ListPost
|
|
|
3383
3114
|
});
|
|
3384
3115
|
export const ListPostgresProcessesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3385
3116
|
postgresId: S.String.pipe(T.Label()),
|
|
3386
|
-
}).pipe(T.Http({
|
|
3387
|
-
method: "GET",
|
|
3388
|
-
uri: "/postgres/{postgresId}/query/processes",
|
|
3389
|
-
code: 200,
|
|
3390
|
-
}))).annotate({
|
|
3117
|
+
}).pipe(T.Http({ method: "GET", uri: "/postgres/{postgresId}/query/processes", code: 200 }))).annotate({
|
|
3391
3118
|
identifier: "ListPostgresProcessesRequest",
|
|
3392
3119
|
});
|
|
3393
|
-
export const ListPostgresProcessesResponseProcessesItem =
|
|
3394
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3120
|
+
export const ListPostgresProcessesResponseProcessesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3395
3121
|
pid: S.optional(S.Number),
|
|
3396
3122
|
databaseName: S.optional(S.String),
|
|
3397
3123
|
username: S.optional(S.String),
|
|
@@ -3416,13 +3142,7 @@ export const ListPostgresProcessesResponse = /*@__PURE__*/ S.suspend(() => S.Str
|
|
|
3416
3142
|
});
|
|
3417
3143
|
export const ListPostgresSizesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3418
3144
|
postgresId: S.String.pipe(T.Label()),
|
|
3419
|
-
}).pipe(T.Http({
|
|
3420
|
-
method: "GET",
|
|
3421
|
-
uri: "/postgres/{postgresId}/query/sizes",
|
|
3422
|
-
code: 200,
|
|
3423
|
-
}))).annotate({
|
|
3424
|
-
identifier: "ListPostgresSizesRequest",
|
|
3425
|
-
});
|
|
3145
|
+
}).pipe(T.Http({ method: "GET", uri: "/postgres/{postgresId}/query/sizes", code: 200 }))).annotate({ identifier: "ListPostgresSizesRequest" });
|
|
3426
3146
|
export const ListPostgresSizesResponseSizesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3427
3147
|
Database: S.optional(S.String),
|
|
3428
3148
|
Schema: S.optional(S.String),
|
|
@@ -3440,15 +3160,10 @@ export const ListPostgresSizesResponse = /*@__PURE__*/ S.suspend(() => S.Struct(
|
|
|
3440
3160
|
});
|
|
3441
3161
|
export const ListPostgresTableScansRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3442
3162
|
postgresId: S.String.pipe(T.Label()),
|
|
3443
|
-
}).pipe(T.Http({
|
|
3444
|
-
method: "GET",
|
|
3445
|
-
uri: "/postgres/{postgresId}/query/table-scans",
|
|
3446
|
-
code: 200,
|
|
3447
|
-
}))).annotate({
|
|
3163
|
+
}).pipe(T.Http({ method: "GET", uri: "/postgres/{postgresId}/query/table-scans", code: 200 }))).annotate({
|
|
3448
3164
|
identifier: "ListPostgresTableScansRequest",
|
|
3449
3165
|
});
|
|
3450
|
-
export const ListPostgresTableScansResponseTableScansItem =
|
|
3451
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3166
|
+
export const ListPostgresTableScansResponseTableScansItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3452
3167
|
Database: S.optional(S.String),
|
|
3453
3168
|
Schema: S.optional(S.String),
|
|
3454
3169
|
Table: S.optional(S.String),
|
|
@@ -3456,8 +3171,7 @@ export const ListPostgresTableScansResponseTableScansItem =
|
|
|
3456
3171
|
})).annotate({
|
|
3457
3172
|
identifier: "ListPostgresTableScansResponseTableScansItem",
|
|
3458
3173
|
});
|
|
3459
|
-
export const ListPostgresTableScansResponseTableScansList =
|
|
3460
|
-
/*@__PURE__*/ S.Array(ListPostgresTableScansResponseTableScansItem);
|
|
3174
|
+
export const ListPostgresTableScansResponseTableScansList = /*@__PURE__*/ S.Array(ListPostgresTableScansResponseTableScansItem);
|
|
3461
3175
|
export const ListPostgresTableScansResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3462
3176
|
tableScans: ListPostgresTableScansResponseTableScansList,
|
|
3463
3177
|
})).annotate({
|
|
@@ -3465,15 +3179,10 @@ export const ListPostgresTableScansResponse = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
3465
3179
|
});
|
|
3466
3180
|
export const ListPostgresTopQueriesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3467
3181
|
postgresId: S.String.pipe(T.Label()),
|
|
3468
|
-
}).pipe(T.Http({
|
|
3469
|
-
method: "GET",
|
|
3470
|
-
uri: "/postgres/{postgresId}/query/top-queries",
|
|
3471
|
-
code: 200,
|
|
3472
|
-
}))).annotate({
|
|
3182
|
+
}).pipe(T.Http({ method: "GET", uri: "/postgres/{postgresId}/query/top-queries", code: 200 }))).annotate({
|
|
3473
3183
|
identifier: "ListPostgresTopQueriesRequest",
|
|
3474
3184
|
});
|
|
3475
|
-
export const ListPostgresTopQueriesResponseTopQueriesItem =
|
|
3476
|
-
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3185
|
+
export const ListPostgresTopQueriesResponseTopQueriesItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3477
3186
|
queryId: S.optional(S.String),
|
|
3478
3187
|
query: S.optional(S.String),
|
|
3479
3188
|
calls: S.optional(S.Number),
|
|
@@ -3496,8 +3205,7 @@ export const ListPostgresTopQueriesResponseTopQueriesItem =
|
|
|
3496
3205
|
})).annotate({
|
|
3497
3206
|
identifier: "ListPostgresTopQueriesResponseTopQueriesItem",
|
|
3498
3207
|
});
|
|
3499
|
-
export const ListPostgresTopQueriesResponseTopQueriesList =
|
|
3500
|
-
/*@__PURE__*/ S.Array(ListPostgresTopQueriesResponseTopQueriesItem);
|
|
3208
|
+
export const ListPostgresTopQueriesResponseTopQueriesList = /*@__PURE__*/ S.Array(ListPostgresTopQueriesResponseTopQueriesItem);
|
|
3501
3209
|
export const ListPostgresTopQueriesResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3502
3210
|
topQueries: ListPostgresTopQueriesResponseTopQueriesList,
|
|
3503
3211
|
})).annotate({
|
|
@@ -3505,13 +3213,7 @@ export const ListPostgresTopQueriesResponse = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
3505
3213
|
});
|
|
3506
3214
|
export const ListPostgresUsersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3507
3215
|
postgresId: S.String.pipe(T.Label()),
|
|
3508
|
-
}).pipe(T.Http({
|
|
3509
|
-
method: "GET",
|
|
3510
|
-
uri: "/postgres/{postgresId}/credentials",
|
|
3511
|
-
code: 200,
|
|
3512
|
-
}))).annotate({
|
|
3513
|
-
identifier: "ListPostgresUsersRequest",
|
|
3514
|
-
});
|
|
3216
|
+
}).pipe(T.Http({ method: "GET", uri: "/postgres/{postgresId}/credentials", code: 200 }))).annotate({ identifier: "ListPostgresUsersRequest" });
|
|
3515
3217
|
export const ListPostgresUsersResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3516
3218
|
username: S.optional(S.String),
|
|
3517
3219
|
default: S.optional(S.Boolean),
|
|
@@ -3535,19 +3237,13 @@ export const ListProjectsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3535
3237
|
ownerId: S.optional(ListProjectsRequestOwnerIdList.pipe(T.Query())),
|
|
3536
3238
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3537
3239
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3538
|
-
}).pipe(T.Http({ method: "GET", uri: "/projects", code: 200 }))).annotate({
|
|
3539
|
-
identifier: "ListProjectsRequest",
|
|
3540
|
-
});
|
|
3240
|
+
}).pipe(T.Http({ method: "GET", uri: "/projects", code: 200 }))).annotate({ identifier: "ListProjectsRequest" });
|
|
3541
3241
|
export const ProjectWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3542
3242
|
project: Project,
|
|
3543
3243
|
cursor: S.String,
|
|
3544
|
-
})).annotate({
|
|
3545
|
-
identifier: "ProjectWithCursor",
|
|
3546
|
-
});
|
|
3244
|
+
})).annotate({ identifier: "ProjectWithCursor" });
|
|
3547
3245
|
export const ListProjectsResponseBodyList = /*@__PURE__*/ S.Array(ProjectWithCursor);
|
|
3548
|
-
export const ListProjectsResponse = /*@__PURE__*/ S.suspend(() => ListProjectsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3549
|
-
identifier: "ListProjectsResponse",
|
|
3550
|
-
});
|
|
3246
|
+
export const ListProjectsResponse = /*@__PURE__*/ S.suspend(() => ListProjectsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListProjectsResponse" });
|
|
3551
3247
|
export const ListRegistryCredentialsRequestNameList = /*@__PURE__*/ S.Array(S.String);
|
|
3552
3248
|
export const ListRegistryCredentialsRequestUsernameList = /*@__PURE__*/ S.Array(S.String);
|
|
3553
3249
|
export const ListRegistryCredentialsRequestTypeList = /*@__PURE__*/ S.Array(RegistryCredentialRegistry);
|
|
@@ -3571,10 +3267,8 @@ export const ListRegistryCredentialsResponse = /*@__PURE__*/ S.suspend(() => Lis
|
|
|
3571
3267
|
identifier: "ListRegistryCredentialsResponse",
|
|
3572
3268
|
});
|
|
3573
3269
|
export const ListResourceLogStreamsRequestOwnerIdList = /*@__PURE__*/ S.Array(S.String);
|
|
3574
|
-
export const ListResourceLogStreamsRequestLogStreamIdList =
|
|
3575
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
3576
|
-
export const ListResourceLogStreamsRequestResourceIdList =
|
|
3577
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
3270
|
+
export const ListResourceLogStreamsRequestLogStreamIdList = /*@__PURE__*/ S.Array(S.String);
|
|
3271
|
+
export const ListResourceLogStreamsRequestResourceIdList = /*@__PURE__*/ S.Array(S.String);
|
|
3578
3272
|
export const ListResourceLogStreamsRequestSettingItem = S.String;
|
|
3579
3273
|
export const ListResourceLogStreamsRequestSettingList = /*@__PURE__*/ S.Array(ListResourceLogStreamsRequestSettingItem);
|
|
3580
3274
|
export const ListResourceLogStreamsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -3607,35 +3301,34 @@ export const ListRoutesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3607
3301
|
destination: S.optional(ListRoutesRequestDestinationList.pipe(T.Query())),
|
|
3608
3302
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3609
3303
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3610
|
-
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/routes", code: 200 }))).annotate({
|
|
3611
|
-
identifier: "ListRoutesRequest",
|
|
3612
|
-
});
|
|
3304
|
+
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/routes", code: 200 }))).annotate({ identifier: "ListRoutesRequest" });
|
|
3613
3305
|
export const RouteWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3614
3306
|
route: Route,
|
|
3615
3307
|
cursor: S.String,
|
|
3616
|
-
})).annotate({
|
|
3617
|
-
identifier: "RouteWithCursor",
|
|
3618
|
-
});
|
|
3308
|
+
})).annotate({ identifier: "RouteWithCursor" });
|
|
3619
3309
|
export const ListRoutesResponseBodyList = /*@__PURE__*/ S.Array(RouteWithCursor);
|
|
3620
|
-
export const ListRoutesResponse = /*@__PURE__*/ S.suspend(() => ListRoutesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
export const ListSecretFilesForServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3624
|
-
serviceId: S.String.pipe(T.Label()),
|
|
3310
|
+
export const ListRoutesResponse = /*@__PURE__*/ S.suspend(() => ListRoutesResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListRoutesResponse" });
|
|
3311
|
+
export const ListSecretFilesForBuildSourceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3312
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
3625
3313
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3626
3314
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3627
|
-
}).pipe(T.Http({
|
|
3628
|
-
|
|
3629
|
-
uri: "/services/{serviceId}/secret-files",
|
|
3630
|
-
code: 200,
|
|
3631
|
-
}))).annotate({
|
|
3632
|
-
identifier: "ListSecretFilesForServiceRequest",
|
|
3315
|
+
}).pipe(T.Http({ method: "GET", uri: "/build-sources/{buildSourceId}/secret-files", code: 200 }))).annotate({
|
|
3316
|
+
identifier: "ListSecretFilesForBuildSourceRequest",
|
|
3633
3317
|
});
|
|
3634
3318
|
export const SecretFileWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3635
3319
|
secretFile: SecretFile,
|
|
3636
3320
|
cursor: S.String,
|
|
3637
|
-
})).annotate({
|
|
3638
|
-
|
|
3321
|
+
})).annotate({ identifier: "SecretFileWithCursor" });
|
|
3322
|
+
export const ListSecretFilesForBuildSourceResponseBodyList = /*@__PURE__*/ S.Array(SecretFileWithCursor);
|
|
3323
|
+
export const ListSecretFilesForBuildSourceResponse = /*@__PURE__*/ S.suspend(() => ListSecretFilesForBuildSourceResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3324
|
+
identifier: "ListSecretFilesForBuildSourceResponse",
|
|
3325
|
+
});
|
|
3326
|
+
export const ListSecretFilesForServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3327
|
+
serviceId: S.String.pipe(T.Label()),
|
|
3328
|
+
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3329
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3330
|
+
}).pipe(T.Http({ method: "GET", uri: "/services/{serviceId}/secret-files", code: 200 }))).annotate({
|
|
3331
|
+
identifier: "ListSecretFilesForServiceRequest",
|
|
3639
3332
|
});
|
|
3640
3333
|
export const ListSecretFilesForServiceResponseBodyList = /*@__PURE__*/ S.Array(SecretFileWithCursor);
|
|
3641
3334
|
export const ListSecretFilesForServiceResponse = /*@__PURE__*/ S.suspend(() => ListSecretFilesForServiceResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
@@ -3664,33 +3357,23 @@ export const ListServicesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3664
3357
|
includePreviews: S.optional(S.Boolean.pipe(T.Query())),
|
|
3665
3358
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3666
3359
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3667
|
-
}).pipe(T.Http({ method: "GET", uri: "/services", code: 200 }))).annotate({
|
|
3668
|
-
identifier: "ListServicesRequest",
|
|
3669
|
-
});
|
|
3360
|
+
}).pipe(T.Http({ method: "GET", uri: "/services", code: 200 }))).annotate({ identifier: "ListServicesRequest" });
|
|
3670
3361
|
export const ServiceWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3671
3362
|
service: Service,
|
|
3672
3363
|
cursor: S.String,
|
|
3673
|
-
})).annotate({
|
|
3674
|
-
identifier: "ServiceWithCursor",
|
|
3675
|
-
});
|
|
3364
|
+
})).annotate({ identifier: "ServiceWithCursor" });
|
|
3676
3365
|
export const ServiceList = /*@__PURE__*/ S.Array(ServiceWithCursor);
|
|
3677
|
-
export const ListServicesResponse = /*@__PURE__*/ S.suspend(() => ServiceList.pipe(T.RawResponseRoot())).annotate({
|
|
3678
|
-
identifier: "ListServicesResponse",
|
|
3679
|
-
});
|
|
3366
|
+
export const ListServicesResponse = /*@__PURE__*/ S.suspend(() => ServiceList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListServicesResponse" });
|
|
3680
3367
|
export const ListSnapshotsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3681
3368
|
diskId: S.String.pipe(T.Label()),
|
|
3682
|
-
}).pipe(T.Http({ method: "GET", uri: "/disks/{diskId}/snapshots", code: 200 }))).annotate({
|
|
3683
|
-
identifier: "ListSnapshotsRequest",
|
|
3684
|
-
});
|
|
3369
|
+
}).pipe(T.Http({ method: "GET", uri: "/disks/{diskId}/snapshots", code: 200 }))).annotate({ identifier: "ListSnapshotsRequest" });
|
|
3685
3370
|
export const DiskSnapshot = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3686
3371
|
createdAt: S.optional(S.String),
|
|
3687
3372
|
snapshotKey: S.optional(S.String),
|
|
3688
3373
|
instanceId: S.optional(S.String),
|
|
3689
3374
|
})).annotate({ identifier: "DiskSnapshot" });
|
|
3690
3375
|
export const ListSnapshotsResponseBodyList = /*@__PURE__*/ S.Array(DiskSnapshot);
|
|
3691
|
-
export const ListSnapshotsResponse = /*@__PURE__*/ S.suspend(() => ListSnapshotsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3692
|
-
identifier: "ListSnapshotsResponse",
|
|
3693
|
-
});
|
|
3376
|
+
export const ListSnapshotsResponse = /*@__PURE__*/ S.suspend(() => ListSnapshotsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListSnapshotsResponse" });
|
|
3694
3377
|
export const ListTaskRunsRequestTaskSlugList = /*@__PURE__*/ S.Array(S.String);
|
|
3695
3378
|
export const ListTaskRunsRequestRootTaskRunIdList = /*@__PURE__*/ S.Array(S.String);
|
|
3696
3379
|
export const ListTaskRunsRequestOwnerIdList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -3704,12 +3387,10 @@ export const ListTaskRunsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3704
3387
|
ownerId: S.optional(ListTaskRunsRequestOwnerIdList.pipe(T.Query())),
|
|
3705
3388
|
workflowVersionId: S.optional(ListTaskRunsRequestWorkflowVersionIdList.pipe(T.Query())),
|
|
3706
3389
|
workflowId: S.optional(ListTaskRunsRequestWorkflowIdList.pipe(T.Query())),
|
|
3707
|
-
}).pipe(T.Http({ method: "GET", uri: "/task-runs", code: 200 }))).annotate({
|
|
3708
|
-
identifier: "ListTaskRunsRequest",
|
|
3709
|
-
});
|
|
3390
|
+
}).pipe(T.Http({ method: "GET", uri: "/task-runs", code: 200 }))).annotate({ identifier: "ListTaskRunsRequest" });
|
|
3710
3391
|
export const SchemaAttemptsItem = CreateTaskResponseAttemptsItem;
|
|
3711
3392
|
export const SchemaAttemptsList = /*@__PURE__*/ S.Array(CreateTaskResponseAttemptsItem);
|
|
3712
|
-
export const
|
|
3393
|
+
export const Schema18 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3713
3394
|
id: S.String,
|
|
3714
3395
|
taskId: S.String,
|
|
3715
3396
|
status: Status2,
|
|
@@ -3720,17 +3401,13 @@ export const Schema16 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3720
3401
|
rootTaskRunId: S.String,
|
|
3721
3402
|
retries: S.Number,
|
|
3722
3403
|
attempts: SchemaAttemptsList,
|
|
3723
|
-
})).annotate({ identifier: "
|
|
3404
|
+
})).annotate({ identifier: "Schema18" });
|
|
3724
3405
|
export const TaskRunWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3725
|
-
taskRun:
|
|
3406
|
+
taskRun: Schema18,
|
|
3726
3407
|
cursor: S.String,
|
|
3727
|
-
})).annotate({
|
|
3728
|
-
identifier: "TaskRunWithCursor",
|
|
3729
|
-
});
|
|
3408
|
+
})).annotate({ identifier: "TaskRunWithCursor" });
|
|
3730
3409
|
export const ListTaskRunsResponseBodyList = /*@__PURE__*/ S.Array(TaskRunWithCursor);
|
|
3731
|
-
export const ListTaskRunsResponse = /*@__PURE__*/ S.suspend(() => ListTaskRunsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3732
|
-
identifier: "ListTaskRunsResponse",
|
|
3733
|
-
});
|
|
3410
|
+
export const ListTaskRunsResponse = /*@__PURE__*/ S.suspend(() => ListTaskRunsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListTaskRunsResponse" });
|
|
3734
3411
|
export const ListTasksRequestOwnerIdList = /*@__PURE__*/ S.Array(S.String);
|
|
3735
3412
|
export const ListTasksRequestTaskSlugList = /*@__PURE__*/ S.Array(S.String);
|
|
3736
3413
|
export const ListTasksRequestWorkflowVersionIdList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -3742,33 +3419,27 @@ export const ListTasksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3742
3419
|
workflowId: S.optional(ListTasksRequestWorkflowIdList.pipe(T.Query())),
|
|
3743
3420
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3744
3421
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3745
|
-
}).pipe(T.Http({ method: "GET", uri: "/tasks", code: 200 }))).annotate({
|
|
3746
|
-
|
|
3747
|
-
});
|
|
3748
|
-
export const Schema15 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3422
|
+
}).pipe(T.Http({ method: "GET", uri: "/tasks", code: 200 }))).annotate({ identifier: "ListTasksRequest" });
|
|
3423
|
+
export const Schema17 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3749
3424
|
id: S.String,
|
|
3750
3425
|
name: S.String,
|
|
3751
3426
|
createdAt: S.String,
|
|
3752
3427
|
workflowId: S.optional(S.String),
|
|
3753
3428
|
workflowVersionId: S.optional(S.String),
|
|
3754
|
-
})).annotate({ identifier: "
|
|
3429
|
+
})).annotate({ identifier: "Schema17" });
|
|
3755
3430
|
export const TaskWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3756
|
-
task:
|
|
3431
|
+
task: Schema17,
|
|
3757
3432
|
cursor: S.String,
|
|
3758
3433
|
})).annotate({ identifier: "TaskWithCursor" });
|
|
3759
3434
|
export const ListTasksResponseBodyList = /*@__PURE__*/ S.Array(TaskWithCursor);
|
|
3760
|
-
export const ListTasksResponse = /*@__PURE__*/ S.suspend(() => ListTasksResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3761
|
-
identifier: "ListTasksResponse",
|
|
3762
|
-
});
|
|
3435
|
+
export const ListTasksResponse = /*@__PURE__*/ S.suspend(() => ListTasksResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListTasksResponse" });
|
|
3763
3436
|
export const ListWebhookEventsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3764
3437
|
webhookId: S.String.pipe(T.Label()),
|
|
3765
3438
|
sentBefore: S.optional(S.String.pipe(T.Query())),
|
|
3766
3439
|
sentAfter: S.optional(S.String.pipe(T.Query())),
|
|
3767
3440
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3768
3441
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3769
|
-
}).pipe(T.Http({ method: "GET", uri: "/webhooks/{webhookId}/events", code: 200 }))).annotate({
|
|
3770
|
-
identifier: "ListWebhookEventsRequest",
|
|
3771
|
-
});
|
|
3442
|
+
}).pipe(T.Http({ method: "GET", uri: "/webhooks/{webhookId}/events", code: 200 }))).annotate({ identifier: "ListWebhookEventsRequest" });
|
|
3772
3443
|
export const WebhookEventWithCursorWebhookEvent = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3773
3444
|
id: S.String,
|
|
3774
3445
|
eventId: S.String,
|
|
@@ -3783,9 +3454,7 @@ export const WebhookEventWithCursorWebhookEvent = /*@__PURE__*/ S.suspend(() =>
|
|
|
3783
3454
|
export const WebhookEventWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3784
3455
|
webhookEvent: WebhookEventWithCursorWebhookEvent,
|
|
3785
3456
|
cursor: S.String,
|
|
3786
|
-
})).annotate({
|
|
3787
|
-
identifier: "WebhookEventWithCursor",
|
|
3788
|
-
});
|
|
3457
|
+
})).annotate({ identifier: "WebhookEventWithCursor" });
|
|
3789
3458
|
export const ListWebhookEventsResponseBodyList = /*@__PURE__*/ S.Array(WebhookEventWithCursor);
|
|
3790
3459
|
export const ListWebhookEventsResponse = /*@__PURE__*/ S.suspend(() => ListWebhookEventsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3791
3460
|
identifier: "ListWebhookEventsResponse",
|
|
@@ -3795,19 +3464,13 @@ export const ListWebhooksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3795
3464
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3796
3465
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3797
3466
|
ownerId: S.optional(ListWebhooksRequestOwnerIdList.pipe(T.Query())),
|
|
3798
|
-
}).pipe(T.Http({ method: "GET", uri: "/webhooks", code: 200 }))).annotate({
|
|
3799
|
-
identifier: "ListWebhooksRequest",
|
|
3800
|
-
});
|
|
3467
|
+
}).pipe(T.Http({ method: "GET", uri: "/webhooks", code: 200 }))).annotate({ identifier: "ListWebhooksRequest" });
|
|
3801
3468
|
export const WebhookWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3802
|
-
webhook:
|
|
3469
|
+
webhook: Schema14,
|
|
3803
3470
|
cursor: S.String,
|
|
3804
|
-
})).annotate({
|
|
3805
|
-
identifier: "WebhookWithCursor",
|
|
3806
|
-
});
|
|
3471
|
+
})).annotate({ identifier: "WebhookWithCursor" });
|
|
3807
3472
|
export const ListWebhooksResponseBodyList = /*@__PURE__*/ S.Array(WebhookWithCursor);
|
|
3808
|
-
export const ListWebhooksResponse = /*@__PURE__*/ S.suspend(() => ListWebhooksResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3809
|
-
identifier: "ListWebhooksResponse",
|
|
3810
|
-
});
|
|
3473
|
+
export const ListWebhooksResponse = /*@__PURE__*/ S.suspend(() => ListWebhooksResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListWebhooksResponse" });
|
|
3811
3474
|
export const ListWorkflowsRequestNameList = /*@__PURE__*/ S.Array(S.String);
|
|
3812
3475
|
export const ListWorkflowsRequestOwnerIdList = /*@__PURE__*/ S.Array(S.String);
|
|
3813
3476
|
export const ListWorkflowsRequestWorkflowIDList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -3819,23 +3482,16 @@ export const ListWorkflowsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3819
3482
|
environmentId: S.optional(ListWorkflowsRequestEnvironmentIdList.pipe(T.Query())),
|
|
3820
3483
|
cursor: S.optional(S.String.pipe(T.Query())),
|
|
3821
3484
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
3822
|
-
}).pipe(T.Http({ method: "GET", uri: "/workflows", code: 200 }))).annotate({
|
|
3823
|
-
identifier: "ListWorkflowsRequest",
|
|
3824
|
-
});
|
|
3485
|
+
}).pipe(T.Http({ method: "GET", uri: "/workflows", code: 200 }))).annotate({ identifier: "ListWorkflowsRequest" });
|
|
3825
3486
|
export const WorkflowWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3826
|
-
workflow:
|
|
3487
|
+
workflow: Schema15,
|
|
3827
3488
|
cursor: S.String,
|
|
3828
|
-
})).annotate({
|
|
3829
|
-
identifier: "WorkflowWithCursor",
|
|
3830
|
-
});
|
|
3489
|
+
})).annotate({ identifier: "WorkflowWithCursor" });
|
|
3831
3490
|
export const ListWorkflowsResponseBodyList = /*@__PURE__*/ S.Array(WorkflowWithCursor);
|
|
3832
|
-
export const ListWorkflowsResponse = /*@__PURE__*/ S.suspend(() => ListWorkflowsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3833
|
-
identifier: "ListWorkflowsResponse",
|
|
3834
|
-
});
|
|
3491
|
+
export const ListWorkflowsResponse = /*@__PURE__*/ S.suspend(() => ListWorkflowsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListWorkflowsResponse" });
|
|
3835
3492
|
export const ListWorkflowVersionsRequestOwnerIdList = /*@__PURE__*/ S.Array(S.String);
|
|
3836
3493
|
export const ListWorkflowVersionsRequestWorkflowIDList = /*@__PURE__*/ S.Array(S.String);
|
|
3837
|
-
export const ListWorkflowVersionsRequestWorkflowVersionIdList =
|
|
3838
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
3494
|
+
export const ListWorkflowVersionsRequestWorkflowVersionIdList = /*@__PURE__*/ S.Array(S.String);
|
|
3839
3495
|
export const ListWorkflowVersionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3840
3496
|
ownerId: S.optional(ListWorkflowVersionsRequestOwnerIdList.pipe(T.Query())),
|
|
3841
3497
|
workflowID: S.optional(ListWorkflowVersionsRequestWorkflowIDList.pipe(T.Query())),
|
|
@@ -3846,15 +3502,15 @@ export const ListWorkflowVersionsRequest = /*@__PURE__*/ S.suspend(() => S.Struc
|
|
|
3846
3502
|
identifier: "ListWorkflowVersionsRequest",
|
|
3847
3503
|
});
|
|
3848
3504
|
export const SchemaStatus = S.String;
|
|
3849
|
-
export const
|
|
3505
|
+
export const Schema16 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3850
3506
|
id: S.String,
|
|
3851
3507
|
workflowId: S.String,
|
|
3852
3508
|
name: S.String,
|
|
3853
3509
|
createdAt: S.String,
|
|
3854
3510
|
status: SchemaStatus,
|
|
3855
|
-
})).annotate({ identifier: "
|
|
3511
|
+
})).annotate({ identifier: "Schema16" });
|
|
3856
3512
|
export const WorkflowVersionWithCursor = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3857
|
-
workflowVersion:
|
|
3513
|
+
workflowVersion: Schema16,
|
|
3858
3514
|
cursor: S.String,
|
|
3859
3515
|
})).annotate({
|
|
3860
3516
|
identifier: "WorkflowVersionWithCursor",
|
|
@@ -3869,11 +3525,7 @@ export const PatchOwnerNotificationSettingsRequest = /*@__PURE__*/ S.suspend(()
|
|
|
3869
3525
|
emailEnabled: S.optional(S.Boolean),
|
|
3870
3526
|
previewNotificationsEnabled: S.optional(S.Boolean),
|
|
3871
3527
|
notificationsToSend: S.optional(PatchOwnerNotificationSettingsRequestNotificationsToSend),
|
|
3872
|
-
}).pipe(T.Http({
|
|
3873
|
-
method: "PATCH",
|
|
3874
|
-
uri: "/notification-settings/owners/{ownerId}",
|
|
3875
|
-
code: 200,
|
|
3876
|
-
}))).annotate({
|
|
3528
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/notification-settings/owners/{ownerId}", code: 200 }))).annotate({
|
|
3877
3529
|
identifier: "PatchOwnerNotificationSettingsRequest",
|
|
3878
3530
|
});
|
|
3879
3531
|
export const Schema3 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -3887,18 +3539,10 @@ export const PatchRouteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3887
3539
|
serviceId: S.String.pipe(T.Label()),
|
|
3888
3540
|
routeId: S.String.pipe(T.Label()),
|
|
3889
3541
|
priority: S.Number,
|
|
3890
|
-
}).pipe(T.Http({
|
|
3891
|
-
method: "PATCH",
|
|
3892
|
-
uri: "/services/{serviceId}/routes/{routeId}",
|
|
3893
|
-
code: 200,
|
|
3894
|
-
}))).annotate({
|
|
3895
|
-
identifier: "PatchRouteRequest",
|
|
3896
|
-
});
|
|
3542
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/services/{serviceId}/routes/{routeId}", code: 200 }))).annotate({ identifier: "PatchRouteRequest" });
|
|
3897
3543
|
export const PatchRouteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3898
3544
|
headers: S.optional(Route),
|
|
3899
|
-
})).annotate({
|
|
3900
|
-
identifier: "PatchRouteResponse",
|
|
3901
|
-
});
|
|
3545
|
+
})).annotate({ identifier: "PatchRouteResponse" });
|
|
3902
3546
|
export const PatchServiceNotificationOverridesRequestPreviewNotificationsEnabled = S.String;
|
|
3903
3547
|
export const PatchServiceNotificationOverridesRequestNotificationsToSend = S.String;
|
|
3904
3548
|
export const PatchServiceNotificationOverridesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -3931,26 +3575,16 @@ export const PostJobResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
3931
3575
|
createdAt: S.String,
|
|
3932
3576
|
startedAt: S.optional(S.String),
|
|
3933
3577
|
finishedAt: S.optional(S.String),
|
|
3934
|
-
})).annotate({
|
|
3935
|
-
identifier: "PostJobResponse",
|
|
3936
|
-
});
|
|
3578
|
+
})).annotate({ identifier: "PostJobResponse" });
|
|
3937
3579
|
export const PreviewServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3938
3580
|
serviceId: S.String.pipe(T.Label()),
|
|
3939
3581
|
imagePath: S.String,
|
|
3940
3582
|
name: S.optional(S.String),
|
|
3941
3583
|
plan: S.optional(Plan),
|
|
3942
|
-
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/preview", code: 200 }))).annotate({
|
|
3943
|
-
identifier: "PreviewServiceRequest",
|
|
3944
|
-
});
|
|
3584
|
+
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/preview", code: 200 }))).annotate({ identifier: "PreviewServiceRequest" });
|
|
3945
3585
|
export const PurgeCacheRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3946
3586
|
serviceId: S.String.pipe(T.Label()),
|
|
3947
|
-
}).pipe(T.Http({
|
|
3948
|
-
method: "POST",
|
|
3949
|
-
uri: "/services/{serviceId}/cache/purge",
|
|
3950
|
-
code: 200,
|
|
3951
|
-
}))).annotate({
|
|
3952
|
-
identifier: "PurgeCacheRequest",
|
|
3953
|
-
});
|
|
3587
|
+
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/cache/purge", code: 200 }))).annotate({ identifier: "PurgeCacheRequest" });
|
|
3954
3588
|
export const PurgeCacheResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
3955
3589
|
identifier: "PurgeCacheResponse",
|
|
3956
3590
|
});
|
|
@@ -3963,28 +3597,18 @@ export const PutRoutesRequestBodyList = /*@__PURE__*/ S.Array(RoutePut);
|
|
|
3963
3597
|
export const PutRoutesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3964
3598
|
serviceId: S.String.pipe(T.Label()),
|
|
3965
3599
|
body: PutRoutesRequestBodyList.pipe(T.HttpBody()),
|
|
3966
|
-
}).pipe(T.Http({ method: "PUT", uri: "/services/{serviceId}/routes", code: 200 }))).annotate({
|
|
3967
|
-
identifier: "PutRoutesRequest",
|
|
3968
|
-
});
|
|
3600
|
+
}).pipe(T.Http({ method: "PUT", uri: "/services/{serviceId}/routes", code: 200 }))).annotate({ identifier: "PutRoutesRequest" });
|
|
3969
3601
|
export const PutRoutesResponseBodyList = /*@__PURE__*/ S.Array(Route);
|
|
3970
|
-
export const PutRoutesResponse = /*@__PURE__*/ S.suspend(() => PutRoutesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3971
|
-
identifier: "PutRoutesResponse",
|
|
3972
|
-
});
|
|
3602
|
+
export const PutRoutesResponse = /*@__PURE__*/ S.suspend(() => PutRoutesResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "PutRoutesResponse" });
|
|
3973
3603
|
export const RecoverPostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3974
3604
|
postgresId: S.String.pipe(T.Label()),
|
|
3975
3605
|
restoreName: S.optional(S.String),
|
|
3976
|
-
restoreTime: S.String,
|
|
3606
|
+
restoreTime: S.optional(S.String),
|
|
3977
3607
|
datadogApiKey: S.optional(S.String),
|
|
3978
3608
|
datadogSite: S.optional(S.String),
|
|
3979
3609
|
plan: S.optional(S.String),
|
|
3980
3610
|
environmentId: S.optional(S.String),
|
|
3981
|
-
}).pipe(T.Http({
|
|
3982
|
-
method: "POST",
|
|
3983
|
-
uri: "/postgres/{postgresId}/recovery",
|
|
3984
|
-
code: 200,
|
|
3985
|
-
}))).annotate({
|
|
3986
|
-
identifier: "RecoverPostgresRequest",
|
|
3987
|
-
});
|
|
3611
|
+
}).pipe(T.Http({ method: "POST", uri: "/postgres/{postgresId}/recovery", code: 200 }))).annotate({ identifier: "RecoverPostgresRequest" });
|
|
3988
3612
|
export const RefreshCustomDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3989
3613
|
serviceId: S.String.pipe(T.Label()),
|
|
3990
3614
|
customDomainNameOrID: S.String.pipe(T.Label()),
|
|
@@ -3998,16 +3622,11 @@ export const RefreshCustomDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
3998
3622
|
export const RefreshCustomDomainResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
3999
3623
|
identifier: "RefreshCustomDomainResponse",
|
|
4000
3624
|
});
|
|
4001
|
-
export const RemoveResourcesFromEnvironmentRequestResourceIdsList =
|
|
4002
|
-
/*@__PURE__*/ S.Array(S.String);
|
|
3625
|
+
export const RemoveResourcesFromEnvironmentRequestResourceIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
4003
3626
|
export const RemoveResourcesFromEnvironmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4004
3627
|
environmentId: S.String.pipe(T.Label()),
|
|
4005
3628
|
resourceIds: RemoveResourcesFromEnvironmentRequestResourceIdsList.pipe(T.Query()),
|
|
4006
|
-
}).pipe(T.Http({
|
|
4007
|
-
method: "DELETE",
|
|
4008
|
-
uri: "/environments/{environmentId}/resources",
|
|
4009
|
-
code: 200,
|
|
4010
|
-
}))).annotate({
|
|
3629
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/environments/{environmentId}/resources", code: 200 }))).annotate({
|
|
4011
3630
|
identifier: "RemoveResourcesFromEnvironmentRequest",
|
|
4012
3631
|
});
|
|
4013
3632
|
export const RemoveResourcesFromEnvironmentResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
@@ -4016,11 +3635,7 @@ export const RemoveResourcesFromEnvironmentResponse = /*@__PURE__*/ S.suspend(()
|
|
|
4016
3635
|
export const RemoveWorkspaceMemberRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4017
3636
|
ownerId: S.String.pipe(T.Label()),
|
|
4018
3637
|
userId: S.String.pipe(T.Label()),
|
|
4019
|
-
}).pipe(T.Http({
|
|
4020
|
-
method: "DELETE",
|
|
4021
|
-
uri: "/owners/{ownerId}/members/{userId}",
|
|
4022
|
-
code: 200,
|
|
4023
|
-
}))).annotate({
|
|
3638
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/owners/{ownerId}/members/{userId}", code: 200 }))).annotate({
|
|
4024
3639
|
identifier: "RemoveWorkspaceMemberRequest",
|
|
4025
3640
|
});
|
|
4026
3641
|
export const RemoveWorkspaceMemberResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
@@ -4028,21 +3643,13 @@ export const RemoveWorkspaceMemberResponse = /*@__PURE__*/ S.suspend(() => S.Str
|
|
|
4028
3643
|
});
|
|
4029
3644
|
export const RestartPostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4030
3645
|
postgresId: S.String.pipe(T.Label()),
|
|
4031
|
-
}).pipe(T.Http({
|
|
4032
|
-
method: "POST",
|
|
4033
|
-
uri: "/postgres/{postgresId}/restart",
|
|
4034
|
-
code: 200,
|
|
4035
|
-
}))).annotate({
|
|
4036
|
-
identifier: "RestartPostgresRequest",
|
|
4037
|
-
});
|
|
3646
|
+
}).pipe(T.Http({ method: "POST", uri: "/postgres/{postgresId}/restart", code: 200 }))).annotate({ identifier: "RestartPostgresRequest" });
|
|
4038
3647
|
export const RestartPostgresResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
4039
3648
|
identifier: "RestartPostgresResponse",
|
|
4040
3649
|
});
|
|
4041
3650
|
export const RestartServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4042
3651
|
serviceId: S.String.pipe(T.Label()),
|
|
4043
|
-
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/restart", code: 200 }))).annotate({
|
|
4044
|
-
identifier: "RestartServiceRequest",
|
|
4045
|
-
});
|
|
3652
|
+
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/restart", code: 200 }))).annotate({ identifier: "RestartServiceRequest" });
|
|
4046
3653
|
export const RestartServiceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
4047
3654
|
identifier: "RestartServiceResponse",
|
|
4048
3655
|
});
|
|
@@ -4050,42 +3657,28 @@ export const RestoreSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4050
3657
|
diskId: S.String.pipe(T.Label()),
|
|
4051
3658
|
snapshotKey: S.String,
|
|
4052
3659
|
instanceId: S.optional(S.String),
|
|
4053
|
-
}).pipe(T.Http({
|
|
4054
|
-
method: "POST",
|
|
4055
|
-
uri: "/disks/{diskId}/snapshots/restore",
|
|
4056
|
-
code: 200,
|
|
4057
|
-
}))).annotate({
|
|
4058
|
-
identifier: "RestoreSnapshotRequest",
|
|
4059
|
-
});
|
|
3660
|
+
}).pipe(T.Http({ method: "POST", uri: "/disks/{diskId}/snapshots/restore", code: 200 }))).annotate({ identifier: "RestoreSnapshotRequest" });
|
|
4060
3661
|
export const ResumeKeyValueRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4061
3662
|
redisId: S.String.pipe(T.Label()),
|
|
4062
|
-
}).pipe(T.Http({ method: "POST", uri: "/key-value/{redisId}/resume", code: 200 }))).annotate({
|
|
4063
|
-
identifier: "ResumeKeyValueRequest",
|
|
4064
|
-
});
|
|
3663
|
+
}).pipe(T.Http({ method: "POST", uri: "/key-value/{redisId}/resume", code: 200 }))).annotate({ identifier: "ResumeKeyValueRequest" });
|
|
4065
3664
|
export const ResumeKeyValueResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
4066
3665
|
identifier: "ResumeKeyValueResponse",
|
|
4067
3666
|
});
|
|
4068
3667
|
export const ResumePostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4069
3668
|
postgresId: S.String.pipe(T.Label()),
|
|
4070
|
-
}).pipe(T.Http({ method: "POST", uri: "/postgres/{postgresId}/resume", code: 200 }))).annotate({
|
|
4071
|
-
identifier: "ResumePostgresRequest",
|
|
4072
|
-
});
|
|
3669
|
+
}).pipe(T.Http({ method: "POST", uri: "/postgres/{postgresId}/resume", code: 200 }))).annotate({ identifier: "ResumePostgresRequest" });
|
|
4073
3670
|
export const ResumePostgresResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
4074
3671
|
identifier: "ResumePostgresResponse",
|
|
4075
3672
|
});
|
|
4076
3673
|
export const ResumeServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4077
3674
|
serviceId: S.String.pipe(T.Label()),
|
|
4078
|
-
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/resume", code: 200 }))).annotate({
|
|
4079
|
-
identifier: "ResumeServiceRequest",
|
|
4080
|
-
});
|
|
3675
|
+
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/resume", code: 200 }))).annotate({ identifier: "ResumeServiceRequest" });
|
|
4081
3676
|
export const ResumeServiceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
4082
3677
|
identifier: "ResumeServiceResponse",
|
|
4083
3678
|
});
|
|
4084
3679
|
export const RunCronJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4085
3680
|
cronJobId: S.String.pipe(T.Label()),
|
|
4086
|
-
}).pipe(T.Http({ method: "POST", uri: "/cron-jobs/{cronJobId}/runs", code: 200 }))).annotate({
|
|
4087
|
-
identifier: "RunCronJobRequest",
|
|
4088
|
-
});
|
|
3681
|
+
}).pipe(T.Http({ method: "POST", uri: "/cron-jobs/{cronJobId}/runs", code: 200 }))).annotate({ identifier: "RunCronJobRequest" });
|
|
4089
3682
|
export const CronJobRunStatus = S.String;
|
|
4090
3683
|
export const CronJobRun = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4091
3684
|
id: S.String,
|
|
@@ -4098,9 +3691,7 @@ export const CronJobRun = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4098
3691
|
export const ScaleServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4099
3692
|
serviceId: S.String.pipe(T.Label()),
|
|
4100
3693
|
numInstances: S.Number,
|
|
4101
|
-
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/scale", code: 200 }))).annotate({
|
|
4102
|
-
identifier: "ScaleServiceRequest",
|
|
4103
|
-
});
|
|
3694
|
+
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/scale", code: 200 }))).annotate({ identifier: "ScaleServiceRequest" });
|
|
4104
3695
|
export const ScaleServiceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
4105
3696
|
identifier: "ScaleServiceResponse",
|
|
4106
3697
|
});
|
|
@@ -4144,60 +3735,83 @@ export const SubscribeLogsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4144
3735
|
text: S.optional(SubscribeLogsRequestTextList.pipe(T.Query())),
|
|
4145
3736
|
path: S.optional(SubscribeLogsRequestPathList.pipe(T.Query())),
|
|
4146
3737
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
4147
|
-
}).pipe(T.Http({ method: "GET", uri: "/logs/subscribe", code: 200 }))).annotate({
|
|
4148
|
-
identifier: "SubscribeLogsRequest",
|
|
4149
|
-
});
|
|
3738
|
+
}).pipe(T.Http({ method: "GET", uri: "/logs/subscribe", code: 200 }))).annotate({ identifier: "SubscribeLogsRequest" });
|
|
4150
3739
|
export const SubscribeLogsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
4151
3740
|
identifier: "SubscribeLogsResponse",
|
|
4152
3741
|
});
|
|
4153
3742
|
export const SuspendKeyValueRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4154
3743
|
redisId: S.String.pipe(T.Label()),
|
|
4155
|
-
}).pipe(T.Http({ method: "POST", uri: "/key-value/{redisId}/suspend", code: 200 }))).annotate({
|
|
4156
|
-
identifier: "SuspendKeyValueRequest",
|
|
4157
|
-
});
|
|
3744
|
+
}).pipe(T.Http({ method: "POST", uri: "/key-value/{redisId}/suspend", code: 200 }))).annotate({ identifier: "SuspendKeyValueRequest" });
|
|
4158
3745
|
export const SuspendKeyValueResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
4159
3746
|
identifier: "SuspendKeyValueResponse",
|
|
4160
3747
|
});
|
|
4161
3748
|
export const SuspendPostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4162
3749
|
postgresId: S.String.pipe(T.Label()),
|
|
4163
|
-
}).pipe(T.Http({
|
|
4164
|
-
method: "POST",
|
|
4165
|
-
uri: "/postgres/{postgresId}/suspend",
|
|
4166
|
-
code: 200,
|
|
4167
|
-
}))).annotate({
|
|
4168
|
-
identifier: "SuspendPostgresRequest",
|
|
4169
|
-
});
|
|
3750
|
+
}).pipe(T.Http({ method: "POST", uri: "/postgres/{postgresId}/suspend", code: 200 }))).annotate({ identifier: "SuspendPostgresRequest" });
|
|
4170
3751
|
export const SuspendPostgresResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
4171
3752
|
identifier: "SuspendPostgresResponse",
|
|
4172
3753
|
});
|
|
4173
3754
|
export const SuspendServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4174
3755
|
serviceId: S.String.pipe(T.Label()),
|
|
4175
|
-
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/suspend", code: 200 }))).annotate({
|
|
4176
|
-
identifier: "SuspendServiceRequest",
|
|
4177
|
-
});
|
|
3756
|
+
}).pipe(T.Http({ method: "POST", uri: "/services/{serviceId}/suspend", code: 200 }))).annotate({ identifier: "SuspendServiceRequest" });
|
|
4178
3757
|
export const SuspendServiceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
4179
3758
|
identifier: "SuspendServiceResponse",
|
|
4180
3759
|
});
|
|
3760
|
+
export const TriggerBuildSourceBuildRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3761
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
3762
|
+
}).pipe(T.Http({ method: "POST", uri: "/build-sources/{buildSourceId}/builds", code: 200 }))).annotate({
|
|
3763
|
+
identifier: "TriggerBuildSourceBuildRequest",
|
|
3764
|
+
});
|
|
3765
|
+
export const TriggerBuildSourceBuildResponseBuildRunStatus = S.String;
|
|
3766
|
+
export const TriggerBuildSourceBuildResponseBuildRunRuntime = S.String;
|
|
3767
|
+
export const TriggerBuildSourceBuildResponseBuildRun = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3768
|
+
id: S.String,
|
|
3769
|
+
status: S.optional(TriggerBuildSourceBuildResponseBuildRunStatus),
|
|
3770
|
+
buildStartedAt: S.optional(S.String),
|
|
3771
|
+
buildFinishedAt: S.optional(S.String),
|
|
3772
|
+
runtime: S.optional(TriggerBuildSourceBuildResponseBuildRunRuntime),
|
|
3773
|
+
commitId: S.optional(S.String),
|
|
3774
|
+
commitUrl: S.optional(S.String),
|
|
3775
|
+
})).annotate({
|
|
3776
|
+
identifier: "TriggerBuildSourceBuildResponseBuildRun",
|
|
3777
|
+
});
|
|
3778
|
+
export const TriggerBuildSourceBuildResponseImage = SchemaImage;
|
|
3779
|
+
export const TriggerBuildSourceBuildResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3780
|
+
id: S.String,
|
|
3781
|
+
buildSourceId: S.String,
|
|
3782
|
+
buildRun: S.optional(TriggerBuildSourceBuildResponseBuildRun),
|
|
3783
|
+
image: S.optional(SchemaImage),
|
|
3784
|
+
createdAt: S.String,
|
|
3785
|
+
updatedAt: S.String,
|
|
3786
|
+
assetsDeletedAt: S.optional(S.String),
|
|
3787
|
+
})).annotate({
|
|
3788
|
+
identifier: "TriggerBuildSourceBuildResponse",
|
|
3789
|
+
});
|
|
4181
3790
|
export const TriggerMaintenanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4182
3791
|
maintenanceRunID: S.String.pipe(T.Label()),
|
|
4183
|
-
}).pipe(T.Http({
|
|
4184
|
-
method: "POST",
|
|
4185
|
-
uri: "/maintenance/{maintenanceRunID}/trigger",
|
|
4186
|
-
code: 200,
|
|
4187
|
-
}))).annotate({
|
|
3792
|
+
}).pipe(T.Http({ method: "POST", uri: "/maintenance/{maintenanceRunID}/trigger", code: 200 }))).annotate({
|
|
4188
3793
|
identifier: "TriggerMaintenanceRequest",
|
|
4189
3794
|
});
|
|
4190
3795
|
export const TriggerMaintenanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
4191
3796
|
identifier: "TriggerMaintenanceResponse",
|
|
4192
3797
|
});
|
|
4193
|
-
export const
|
|
3798
|
+
export const UnlinkEnvGroupFromBuildSourceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3799
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
4194
3800
|
envGroupId: S.String.pipe(T.Label()),
|
|
4195
|
-
serviceId: S.String.pipe(T.Label()),
|
|
4196
3801
|
}).pipe(T.Http({
|
|
4197
3802
|
method: "DELETE",
|
|
4198
|
-
uri: "/
|
|
3803
|
+
uri: "/build-sources/{buildSourceId}/env-groups/{envGroupId}",
|
|
4199
3804
|
code: 200,
|
|
4200
3805
|
}))).annotate({
|
|
3806
|
+
identifier: "UnlinkEnvGroupFromBuildSourceRequest",
|
|
3807
|
+
});
|
|
3808
|
+
export const UnlinkEnvGroupFromBuildSourceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
3809
|
+
identifier: "UnlinkEnvGroupFromBuildSourceResponse",
|
|
3810
|
+
});
|
|
3811
|
+
export const UnlinkServiceFromEnvGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3812
|
+
envGroupId: S.String.pipe(T.Label()),
|
|
3813
|
+
serviceId: S.String.pipe(T.Label()),
|
|
3814
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/env-groups/{envGroupId}/services/{serviceId}", code: 200 }))).annotate({
|
|
4201
3815
|
identifier: "UnlinkServiceFromEnvGroupRequest",
|
|
4202
3816
|
});
|
|
4203
3817
|
export const UnlinkServiceFromEnvGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
@@ -4208,9 +3822,7 @@ export const UpdateBlueprintRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4208
3822
|
name: S.optional(S.String),
|
|
4209
3823
|
autoSync: S.optional(S.Boolean),
|
|
4210
3824
|
path: S.optional(S.String),
|
|
4211
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/blueprints/{blueprintId}", code: 200 }))).annotate({
|
|
4212
|
-
identifier: "UpdateBlueprintRequest",
|
|
4213
|
-
});
|
|
3825
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/blueprints/{blueprintId}", code: 200 }))).annotate({ identifier: "UpdateBlueprintRequest" });
|
|
4214
3826
|
export const UpdateBlueprintResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4215
3827
|
id: S.String,
|
|
4216
3828
|
name: S.String,
|
|
@@ -4220,8 +3832,60 @@ export const UpdateBlueprintResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4220
3832
|
branch: S.String,
|
|
4221
3833
|
path: S.String,
|
|
4222
3834
|
lastSync: S.optional(S.String),
|
|
3835
|
+
})).annotate({ identifier: "UpdateBlueprintResponse" });
|
|
3836
|
+
export const UpdateBuildSourceRequestGitBuildFilterPathsList = /*@__PURE__*/ S.Array(S.String);
|
|
3837
|
+
export const UpdateBuildSourceRequestGitBuildFilterIgnoredPathsList = /*@__PURE__*/ S.Array(S.String);
|
|
3838
|
+
export const UpdateBuildSourceRequestGitBuildFilter = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3839
|
+
paths: UpdateBuildSourceRequestGitBuildFilterPathsList,
|
|
3840
|
+
ignoredPaths: UpdateBuildSourceRequestGitBuildFilterIgnoredPathsList,
|
|
3841
|
+
})).annotate({
|
|
3842
|
+
identifier: "UpdateBuildSourceRequestGitBuildFilter",
|
|
3843
|
+
});
|
|
3844
|
+
export const UpdateBuildSourceRequestGitRuntime = S.String;
|
|
3845
|
+
export const UpdateBuildSourceRequestGitRegion = S.String;
|
|
3846
|
+
export const UpdateBuildSourceRequestGit = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3847
|
+
baseDir: S.optional(S.String),
|
|
3848
|
+
branch: S.optional(S.String),
|
|
3849
|
+
buildCommand: S.optional(S.String),
|
|
3850
|
+
buildFilter: S.optional(UpdateBuildSourceRequestGitBuildFilter),
|
|
3851
|
+
dockerfilePath: S.optional(S.String),
|
|
3852
|
+
runtime: S.optional(UpdateBuildSourceRequestGitRuntime),
|
|
3853
|
+
registryCredentialId: S.optional(S.String),
|
|
3854
|
+
region: S.optional(UpdateBuildSourceRequestGitRegion),
|
|
3855
|
+
repoUrl: S.optional(S.String),
|
|
3856
|
+
rootDir: S.optional(S.String),
|
|
3857
|
+
})).annotate({
|
|
3858
|
+
identifier: "UpdateBuildSourceRequestGit",
|
|
3859
|
+
});
|
|
3860
|
+
export const UpdateBuildSourceRequestImage = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3861
|
+
imageUrl: S.optional(S.String),
|
|
3862
|
+
registryCredentialId: S.optional(S.String),
|
|
4223
3863
|
})).annotate({
|
|
4224
|
-
identifier: "
|
|
3864
|
+
identifier: "UpdateBuildSourceRequestImage",
|
|
3865
|
+
});
|
|
3866
|
+
export const UpdateBuildSourceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3867
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
3868
|
+
name: S.optional(S.String),
|
|
3869
|
+
git: S.optional(UpdateBuildSourceRequestGit),
|
|
3870
|
+
image: S.optional(UpdateBuildSourceRequestImage),
|
|
3871
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/build-sources/{buildSourceId}", code: 200 }))).annotate({ identifier: "UpdateBuildSourceRequest" });
|
|
3872
|
+
export const EnvVarValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3873
|
+
value: S.String,
|
|
3874
|
+
})).annotate({ identifier: "EnvVarValue" });
|
|
3875
|
+
export const EnvVarGenerateValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3876
|
+
generateValue: S.Boolean,
|
|
3877
|
+
})).annotate({ identifier: "EnvVarGenerateValue" });
|
|
3878
|
+
export const AddUpdateEnvVarInput = S.Unknown;
|
|
3879
|
+
export const UpdateBuildSourceEnvVarRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3880
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
3881
|
+
envVarKey: S.String.pipe(T.Label()),
|
|
3882
|
+
body: AddUpdateEnvVarInput.pipe(T.HttpBody()),
|
|
3883
|
+
}).pipe(T.Http({
|
|
3884
|
+
method: "PUT",
|
|
3885
|
+
uri: "/build-sources/{buildSourceId}/env-vars/{envVarKey}",
|
|
3886
|
+
code: 200,
|
|
3887
|
+
}))).annotate({
|
|
3888
|
+
identifier: "UpdateBuildSourceEnvVarRequest",
|
|
4225
3889
|
});
|
|
4226
3890
|
export const UpdateDedicatedIpRequestEnvironmentIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
4227
3891
|
export const UpdateDedicatedIpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -4229,27 +3893,17 @@ export const UpdateDedicatedIpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4229
3893
|
name: S.optional(S.String),
|
|
4230
3894
|
description: S.optional(S.String),
|
|
4231
3895
|
environmentIds: S.optional(UpdateDedicatedIpRequestEnvironmentIdsList),
|
|
4232
|
-
}).pipe(T.Http({
|
|
4233
|
-
method: "PATCH",
|
|
4234
|
-
uri: "/dedicated-ips/{dedicatedIpId}",
|
|
4235
|
-
code: 200,
|
|
4236
|
-
}))).annotate({
|
|
4237
|
-
identifier: "UpdateDedicatedIpRequest",
|
|
4238
|
-
});
|
|
3896
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/dedicated-ips/{dedicatedIpId}", code: 200 }))).annotate({ identifier: "UpdateDedicatedIpRequest" });
|
|
4239
3897
|
export const UpdateDiskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4240
3898
|
diskId: S.String.pipe(T.Label()),
|
|
4241
3899
|
name: S.optional(S.String),
|
|
4242
3900
|
sizeGB: S.optional(S.Number),
|
|
4243
3901
|
mountPath: S.optional(S.String),
|
|
4244
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/disks/{diskId}", code: 200 }))).annotate({
|
|
4245
|
-
identifier: "UpdateDiskRequest",
|
|
4246
|
-
});
|
|
3902
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/disks/{diskId}", code: 200 }))).annotate({ identifier: "UpdateDiskRequest" });
|
|
4247
3903
|
export const UpdateEnvGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4248
3904
|
envGroupId: S.String.pipe(T.Label()),
|
|
4249
3905
|
name: S.String,
|
|
4250
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/env-groups/{envGroupId}", code: 200 }))).annotate({
|
|
4251
|
-
identifier: "UpdateEnvGroupRequest",
|
|
4252
|
-
});
|
|
3906
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/env-groups/{envGroupId}", code: 200 }))).annotate({ identifier: "UpdateEnvGroupRequest" });
|
|
4253
3907
|
export const UpdateEnvGroupResponseServiceLinksList = /*@__PURE__*/ S.Array(EnvGroupLink);
|
|
4254
3908
|
export const UpdateEnvGroupResponseEnvVarsList = /*@__PURE__*/ S.Array(EnvVar);
|
|
4255
3909
|
export const UpdateEnvGroupResponseSecretFilesList = /*@__PURE__*/ S.Array(SecretFile);
|
|
@@ -4263,34 +3917,17 @@ export const UpdateEnvGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4263
3917
|
environmentId: S.optional(S.String),
|
|
4264
3918
|
envVars: UpdateEnvGroupResponseEnvVarsList,
|
|
4265
3919
|
secretFiles: UpdateEnvGroupResponseSecretFilesList,
|
|
4266
|
-
})).annotate({
|
|
4267
|
-
identifier: "UpdateEnvGroupResponse",
|
|
4268
|
-
});
|
|
4269
|
-
export const EnvVarValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4270
|
-
value: S.String,
|
|
4271
|
-
})).annotate({ identifier: "EnvVarValue" });
|
|
4272
|
-
export const EnvVarGenerateValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4273
|
-
generateValue: S.Boolean,
|
|
4274
|
-
})).annotate({
|
|
4275
|
-
identifier: "EnvVarGenerateValue",
|
|
4276
|
-
});
|
|
4277
|
-
export const AddUpdateEnvVarInput = S.Unknown;
|
|
3920
|
+
})).annotate({ identifier: "UpdateEnvGroupResponse" });
|
|
4278
3921
|
export const UpdateEnvGroupEnvVarRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4279
3922
|
envGroupId: S.String.pipe(T.Label()),
|
|
4280
3923
|
envVarKey: S.String.pipe(T.Label()),
|
|
4281
3924
|
body: AddUpdateEnvVarInput.pipe(T.HttpBody()),
|
|
4282
|
-
}).pipe(T.Http({
|
|
4283
|
-
method: "PUT",
|
|
4284
|
-
uri: "/env-groups/{envGroupId}/env-vars/{envVarKey}",
|
|
4285
|
-
code: 200,
|
|
4286
|
-
}))).annotate({
|
|
3925
|
+
}).pipe(T.Http({ method: "PUT", uri: "/env-groups/{envGroupId}/env-vars/{envVarKey}", code: 200 }))).annotate({
|
|
4287
3926
|
identifier: "UpdateEnvGroupEnvVarRequest",
|
|
4288
3927
|
});
|
|
4289
|
-
export const UpdateEnvGroupEnvVarResponseServiceLinksList =
|
|
4290
|
-
/*@__PURE__*/ S.Array(EnvGroupLink);
|
|
3928
|
+
export const UpdateEnvGroupEnvVarResponseServiceLinksList = /*@__PURE__*/ S.Array(EnvGroupLink);
|
|
4291
3929
|
export const UpdateEnvGroupEnvVarResponseEnvVarsList = /*@__PURE__*/ S.Array(EnvVar);
|
|
4292
|
-
export const UpdateEnvGroupEnvVarResponseSecretFilesList =
|
|
4293
|
-
/*@__PURE__*/ S.Array(SecretFile);
|
|
3930
|
+
export const UpdateEnvGroupEnvVarResponseSecretFilesList = /*@__PURE__*/ S.Array(SecretFile);
|
|
4294
3931
|
export const UpdateEnvGroupEnvVarResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4295
3932
|
id: S.String,
|
|
4296
3933
|
name: S.String,
|
|
@@ -4308,19 +3945,12 @@ export const UpdateEnvGroupSecretFileRequest = /*@__PURE__*/ S.suspend(() => S.S
|
|
|
4308
3945
|
envGroupId: S.String.pipe(T.Label()),
|
|
4309
3946
|
envVarKey: S.String.pipe(T.Label()),
|
|
4310
3947
|
content: S.optional(S.String),
|
|
4311
|
-
}).pipe(T.Http({
|
|
4312
|
-
method: "PUT",
|
|
4313
|
-
uri: "/env-groups/{envGroupId}/secret-files/{envVarKey}",
|
|
4314
|
-
code: 200,
|
|
4315
|
-
}))).annotate({
|
|
3948
|
+
}).pipe(T.Http({ method: "PUT", uri: "/env-groups/{envGroupId}/secret-files/{envVarKey}", code: 200 }))).annotate({
|
|
4316
3949
|
identifier: "UpdateEnvGroupSecretFileRequest",
|
|
4317
3950
|
});
|
|
4318
|
-
export const UpdateEnvGroupSecretFileResponseServiceLinksList =
|
|
4319
|
-
/*@__PURE__*/ S.Array(
|
|
4320
|
-
export const
|
|
4321
|
-
/*@__PURE__*/ S.Array(EnvVar);
|
|
4322
|
-
export const UpdateEnvGroupSecretFileResponseSecretFilesList =
|
|
4323
|
-
/*@__PURE__*/ S.Array(SecretFile);
|
|
3951
|
+
export const UpdateEnvGroupSecretFileResponseServiceLinksList = /*@__PURE__*/ S.Array(EnvGroupLink);
|
|
3952
|
+
export const UpdateEnvGroupSecretFileResponseEnvVarsList = /*@__PURE__*/ S.Array(EnvVar);
|
|
3953
|
+
export const UpdateEnvGroupSecretFileResponseSecretFilesList = /*@__PURE__*/ S.Array(SecretFile);
|
|
4324
3954
|
export const UpdateEnvGroupSecretFileResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4325
3955
|
id: S.String,
|
|
4326
3956
|
name: S.String,
|
|
@@ -4341,23 +3971,21 @@ export const UpdateEnvironmentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4341
3971
|
networkIsolationEnabled: S.optional(S.Boolean),
|
|
4342
3972
|
protectedStatus: S.optional(ProtectedStatus),
|
|
4343
3973
|
ipAllowList: S.optional(UpdateEnvironmentRequestIpAllowListList),
|
|
4344
|
-
}).pipe(T.Http({
|
|
4345
|
-
method: "PATCH",
|
|
4346
|
-
uri: "/environments/{environmentId}",
|
|
4347
|
-
code: 200,
|
|
4348
|
-
}))).annotate({
|
|
4349
|
-
identifier: "UpdateEnvironmentRequest",
|
|
4350
|
-
});
|
|
3974
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/environments/{environmentId}", code: 200 }))).annotate({ identifier: "UpdateEnvironmentRequest" });
|
|
4351
3975
|
export const UpdateEnvVarRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4352
3976
|
serviceId: S.String.pipe(T.Label()),
|
|
4353
3977
|
envVarKey: S.String.pipe(T.Label()),
|
|
4354
3978
|
body: AddUpdateEnvVarInput.pipe(T.HttpBody()),
|
|
4355
|
-
}).pipe(T.Http({
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
}))).annotate({
|
|
4360
|
-
identifier: "
|
|
3979
|
+
}).pipe(T.Http({ method: "PUT", uri: "/services/{serviceId}/env-vars/{envVarKey}", code: 200 }))).annotate({ identifier: "UpdateEnvVarRequest" });
|
|
3980
|
+
export const UpdateEnvVarsForBuildSourceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3981
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
3982
|
+
body: Schema6.pipe(T.HttpBody()),
|
|
3983
|
+
}).pipe(T.Http({ method: "PUT", uri: "/build-sources/{buildSourceId}/env-vars", code: 200 }))).annotate({
|
|
3984
|
+
identifier: "UpdateEnvVarsForBuildSourceRequest",
|
|
3985
|
+
});
|
|
3986
|
+
export const UpdateEnvVarsForBuildSourceResponseBodyList = /*@__PURE__*/ S.Array(EnvVarWithCursor);
|
|
3987
|
+
export const UpdateEnvVarsForBuildSourceResponse = /*@__PURE__*/ S.suspend(() => UpdateEnvVarsForBuildSourceResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
3988
|
+
identifier: "UpdateEnvVarsForBuildSourceResponse",
|
|
4361
3989
|
});
|
|
4362
3990
|
export const UpdateEnvVarsForServiceRequestBodyItemCase0 = SchemaItemCase0;
|
|
4363
3991
|
export const UpdateEnvVarsForServiceRequestBodyItemCase1 = SchemaItemCase1;
|
|
@@ -4377,13 +4005,9 @@ export const UpdateHeadersRequestBodyList = /*@__PURE__*/ S.Array(HeaderInput);
|
|
|
4377
4005
|
export const UpdateHeadersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4378
4006
|
serviceId: S.String.pipe(T.Label()),
|
|
4379
4007
|
body: UpdateHeadersRequestBodyList.pipe(T.HttpBody()),
|
|
4380
|
-
}).pipe(T.Http({ method: "PUT", uri: "/services/{serviceId}/headers", code: 200 }))).annotate({
|
|
4381
|
-
identifier: "UpdateHeadersRequest",
|
|
4382
|
-
});
|
|
4008
|
+
}).pipe(T.Http({ method: "PUT", uri: "/services/{serviceId}/headers", code: 200 }))).annotate({ identifier: "UpdateHeadersRequest" });
|
|
4383
4009
|
export const UpdateHeadersResponseBodyList = /*@__PURE__*/ S.Array(Header);
|
|
4384
|
-
export const UpdateHeadersResponse = /*@__PURE__*/ S.suspend(() => UpdateHeadersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
4385
|
-
identifier: "UpdateHeadersResponse",
|
|
4386
|
-
});
|
|
4010
|
+
export const UpdateHeadersResponse = /*@__PURE__*/ S.suspend(() => UpdateHeadersResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "UpdateHeadersResponse" });
|
|
4387
4011
|
export const UpdateKeyValueRequestIpAllowListList = /*@__PURE__*/ S.Array(CidrBlockAndDescription);
|
|
4388
4012
|
export const UpdateKeyValueRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4389
4013
|
redisId: S.String.pipe(T.Label()),
|
|
@@ -4392,19 +4016,11 @@ export const UpdateKeyValueRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4392
4016
|
maxmemoryPolicy: S.optional(MaxmemoryPolicy),
|
|
4393
4017
|
persistenceMode: S.optional(PersistenceMode),
|
|
4394
4018
|
ipAllowList: S.optional(UpdateKeyValueRequestIpAllowListList),
|
|
4395
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/key-value/{redisId}", code: 200 }))).annotate({
|
|
4396
|
-
identifier: "UpdateKeyValueRequest",
|
|
4397
|
-
});
|
|
4019
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/key-value/{redisId}", code: 200 }))).annotate({ identifier: "UpdateKeyValueRequest" });
|
|
4398
4020
|
export const UpdateMaintenanceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4399
4021
|
maintenanceRunID: S.String.pipe(T.Label()),
|
|
4400
4022
|
scheduledAt: S.optional(S.String),
|
|
4401
|
-
}).pipe(T.Http({
|
|
4402
|
-
method: "PATCH",
|
|
4403
|
-
uri: "/maintenance/{maintenanceRunID}",
|
|
4404
|
-
code: 200,
|
|
4405
|
-
}))).annotate({
|
|
4406
|
-
identifier: "UpdateMaintenanceRequest",
|
|
4407
|
-
});
|
|
4023
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/maintenance/{maintenanceRunID}", code: 200 }))).annotate({ identifier: "UpdateMaintenanceRequest" });
|
|
4408
4024
|
export const UpdateMaintenanceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
4409
4025
|
identifier: "UpdateMaintenanceResponse",
|
|
4410
4026
|
});
|
|
@@ -4436,28 +4052,19 @@ export const UpdatePostgresRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4436
4052
|
datadogAPIKey: S.optional(S.String),
|
|
4437
4053
|
datadogSite: S.optional(S.String),
|
|
4438
4054
|
ipAllowList: S.optional(UpdatePostgresRequestIpAllowListList),
|
|
4439
|
-
parameterOverrides: S.optional(PostgresParameterOverrides),
|
|
4440
4055
|
readReplicas: S.optional(ReadReplicasInput),
|
|
4441
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/postgres/{postgresId}", code: 200 }))).annotate({
|
|
4442
|
-
identifier: "UpdatePostgresRequest",
|
|
4443
|
-
});
|
|
4056
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/postgres/{postgresId}", code: 200 }))).annotate({ identifier: "UpdatePostgresRequest" });
|
|
4444
4057
|
export const UpdateProjectRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4445
4058
|
projectId: S.String.pipe(T.Label()),
|
|
4446
4059
|
name: S.optional(S.String),
|
|
4447
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/projects/{projectId}", code: 200 }))).annotate({
|
|
4448
|
-
identifier: "UpdateProjectRequest",
|
|
4449
|
-
});
|
|
4060
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/projects/{projectId}", code: 200 }))).annotate({ identifier: "UpdateProjectRequest" });
|
|
4450
4061
|
export const UpdateRegistryCredentialRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4451
4062
|
registryCredentialId: S.String.pipe(T.Label()),
|
|
4452
4063
|
registry: RegistryCredentialRegistry,
|
|
4453
4064
|
name: S.String,
|
|
4454
4065
|
username: S.String,
|
|
4455
4066
|
authToken: S.String,
|
|
4456
|
-
}).pipe(T.Http({
|
|
4457
|
-
method: "PATCH",
|
|
4458
|
-
uri: "/registrycredentials/{registryCredentialId}",
|
|
4459
|
-
code: 200,
|
|
4460
|
-
}))).annotate({
|
|
4067
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/registrycredentials/{registryCredentialId}", code: 200 }))).annotate({
|
|
4461
4068
|
identifier: "UpdateRegistryCredentialRequest",
|
|
4462
4069
|
});
|
|
4463
4070
|
export const UpdateResourceLogStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -4465,11 +4072,7 @@ export const UpdateResourceLogStreamRequest = /*@__PURE__*/ S.suspend(() => S.St
|
|
|
4465
4072
|
endpoint: S.optional(S.String),
|
|
4466
4073
|
token: S.optional(S.String),
|
|
4467
4074
|
setting: Items3,
|
|
4468
|
-
}).pipe(T.Http({
|
|
4469
|
-
method: "PUT",
|
|
4470
|
-
uri: "/logs/streams/resource/{resourceId}",
|
|
4471
|
-
code: 200,
|
|
4472
|
-
}))).annotate({
|
|
4075
|
+
}).pipe(T.Http({ method: "PUT", uri: "/logs/streams/resource/{resourceId}", code: 200 }))).annotate({
|
|
4473
4076
|
identifier: "UpdateResourceLogStreamRequest",
|
|
4474
4077
|
});
|
|
4475
4078
|
export const UpdateResourceLogStreamResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -4479,20 +4082,26 @@ export const UpdateResourceLogStreamResponse = /*@__PURE__*/ S.suspend(() => S.S
|
|
|
4479
4082
|
})).annotate({
|
|
4480
4083
|
identifier: "UpdateResourceLogStreamResponse",
|
|
4481
4084
|
});
|
|
4085
|
+
export const UpdateSecretFilesForBuildSourceRequestBodyList = /*@__PURE__*/ S.Array(Items);
|
|
4086
|
+
export const UpdateSecretFilesForBuildSourceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4087
|
+
buildSourceId: S.String.pipe(T.Label()),
|
|
4088
|
+
body: UpdateSecretFilesForBuildSourceRequestBodyList.pipe(T.HttpBody()),
|
|
4089
|
+
}).pipe(T.Http({ method: "PUT", uri: "/build-sources/{buildSourceId}/secret-files", code: 200 }))).annotate({
|
|
4090
|
+
identifier: "UpdateSecretFilesForBuildSourceRequest",
|
|
4091
|
+
});
|
|
4092
|
+
export const UpdateSecretFilesForBuildSourceResponseBodyList = /*@__PURE__*/ S.Array(SecretFileWithCursor);
|
|
4093
|
+
export const UpdateSecretFilesForBuildSourceResponse = /*@__PURE__*/ S.suspend(() => UpdateSecretFilesForBuildSourceResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
4094
|
+
identifier: "UpdateSecretFilesForBuildSourceResponse",
|
|
4095
|
+
});
|
|
4482
4096
|
export const UpdateSecretFilesForServiceRequestBodyItem = Items;
|
|
4483
4097
|
export const UpdateSecretFilesForServiceRequestBodyList = /*@__PURE__*/ S.Array(Items);
|
|
4484
4098
|
export const UpdateSecretFilesForServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4485
4099
|
serviceId: S.String.pipe(T.Label()),
|
|
4486
4100
|
body: UpdateSecretFilesForServiceRequestBodyList.pipe(T.HttpBody()),
|
|
4487
|
-
}).pipe(T.Http({
|
|
4488
|
-
method: "PUT",
|
|
4489
|
-
uri: "/services/{serviceId}/secret-files",
|
|
4490
|
-
code: 200,
|
|
4491
|
-
}))).annotate({
|
|
4101
|
+
}).pipe(T.Http({ method: "PUT", uri: "/services/{serviceId}/secret-files", code: 200 }))).annotate({
|
|
4492
4102
|
identifier: "UpdateSecretFilesForServiceRequest",
|
|
4493
4103
|
});
|
|
4494
|
-
export const UpdateSecretFilesForServiceResponseBodyList =
|
|
4495
|
-
/*@__PURE__*/ S.Array(SecretFileWithCursor);
|
|
4104
|
+
export const UpdateSecretFilesForServiceResponseBodyList = /*@__PURE__*/ S.Array(SecretFileWithCursor);
|
|
4496
4105
|
export const UpdateSecretFilesForServiceResponse = /*@__PURE__*/ S.suspend(() => UpdateSecretFilesForServiceResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
4497
4106
|
identifier: "UpdateSecretFilesForServiceResponse",
|
|
4498
4107
|
});
|
|
@@ -4504,17 +4113,13 @@ export const StaticSiteDetailsPATCH = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4504
4113
|
previews: S.optional(Previews),
|
|
4505
4114
|
renderSubdomainPolicy: S.optional(RenderSubdomainPolicy),
|
|
4506
4115
|
ipAllowList: S.optional(StaticSiteDetailsPATCHIpAllowListList),
|
|
4507
|
-
})).annotate({
|
|
4508
|
-
identifier: "StaticSiteDetailsPATCH",
|
|
4509
|
-
});
|
|
4116
|
+
})).annotate({ identifier: "StaticSiteDetailsPATCH" });
|
|
4510
4117
|
export const DockerDetailsPATCH = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4511
4118
|
dockerCommand: S.optional(S.String),
|
|
4512
4119
|
dockerContext: S.optional(S.String),
|
|
4513
4120
|
dockerfilePath: S.optional(S.String),
|
|
4514
4121
|
registryCredentialId: S.optional(S.String),
|
|
4515
|
-
})).annotate({
|
|
4516
|
-
identifier: "DockerDetailsPATCH",
|
|
4517
|
-
});
|
|
4122
|
+
})).annotate({ identifier: "DockerDetailsPATCH" });
|
|
4518
4123
|
export const NativeEnvironmentDetailsPATCH = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4519
4124
|
buildCommand: S.optional(S.String),
|
|
4520
4125
|
startCommand: S.optional(S.String),
|
|
@@ -4536,9 +4141,7 @@ export const WebServiceDetailsPATCH = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4536
4141
|
renderSubdomainPolicy: S.optional(RenderSubdomainPolicy),
|
|
4537
4142
|
ipAllowList: S.optional(WebServiceDetailsPATCHIpAllowListList),
|
|
4538
4143
|
cache: S.optional(Cache),
|
|
4539
|
-
})).annotate({
|
|
4540
|
-
identifier: "WebServiceDetailsPATCH",
|
|
4541
|
-
});
|
|
4144
|
+
})).annotate({ identifier: "WebServiceDetailsPATCH" });
|
|
4542
4145
|
export const PrivateServiceDetailsPATCH = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4543
4146
|
envSpecificDetails: S.optional(EnvSpecificDetailsPATCH),
|
|
4544
4147
|
plan: S.optional(PaidPlan),
|
|
@@ -4556,13 +4159,14 @@ export const CronJobDetailsPATCH = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4556
4159
|
plan: S.optional(PaidPlan),
|
|
4557
4160
|
schedule: S.optional(S.String),
|
|
4558
4161
|
runtime: S.optional(ServiceRuntime),
|
|
4559
|
-
})).annotate({
|
|
4560
|
-
identifier: "CronJobDetailsPATCH",
|
|
4561
|
-
});
|
|
4162
|
+
})).annotate({ identifier: "CronJobDetailsPATCH" });
|
|
4562
4163
|
export const UpdateServiceRequestServiceDetails = S.Unknown;
|
|
4563
4164
|
export const UpdateServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4564
4165
|
serviceId: S.String.pipe(T.Label()),
|
|
4166
|
+
buildSourceId: S.optional(S.String),
|
|
4167
|
+
buildId: S.optional(S.String),
|
|
4565
4168
|
autoDeploy: S.optional(AutoDeploy),
|
|
4169
|
+
autoDeployTrigger: S.optional(AutoDeployTrigger),
|
|
4566
4170
|
repo: S.optional(S.String),
|
|
4567
4171
|
branch: S.optional(S.String),
|
|
4568
4172
|
image: S.optional(Image),
|
|
@@ -4570,18 +4174,14 @@ export const UpdateServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4570
4174
|
buildFilter: S.optional(BuildFilter),
|
|
4571
4175
|
rootDir: S.optional(S.String),
|
|
4572
4176
|
serviceDetails: S.optional(UpdateServiceRequestServiceDetails),
|
|
4573
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/services/{serviceId}", code: 200 }))).annotate({
|
|
4574
|
-
identifier: "UpdateServiceRequest",
|
|
4575
|
-
});
|
|
4177
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/services/{serviceId}", code: 200 }))).annotate({ identifier: "UpdateServiceRequest" });
|
|
4576
4178
|
export const UpdateWebhookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4577
4179
|
webhookId: S.String.pipe(T.Label()),
|
|
4578
4180
|
name: S.optional(S.String),
|
|
4579
4181
|
url: S.optional(S.String),
|
|
4580
4182
|
enabled: S.optional(S.Boolean),
|
|
4581
4183
|
eventFilter: S.optional(EventFilter),
|
|
4582
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/webhooks/{webhookId}", code: 200 }))).annotate({
|
|
4583
|
-
identifier: "UpdateWebhookRequest",
|
|
4584
|
-
});
|
|
4184
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/webhooks/{webhookId}", code: 200 }))).annotate({ identifier: "UpdateWebhookRequest" });
|
|
4585
4185
|
export const UpdateWorkflowRequestBuildConfigRuntime = S.String;
|
|
4586
4186
|
export const UpdateWorkflowRequestBuildConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4587
4187
|
branch: S.optional(S.String),
|
|
@@ -4597,19 +4197,13 @@ export const UpdateWorkflowRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
4597
4197
|
name: S.optional(S.String),
|
|
4598
4198
|
buildConfig: S.optional(UpdateWorkflowRequestBuildConfig),
|
|
4599
4199
|
runCommand: S.optional(S.String),
|
|
4600
|
-
autoDeployTrigger: S.optional(
|
|
4601
|
-
}).pipe(T.Http({ method: "PATCH", uri: "/workflows/{workflowId}", code: 200 }))).annotate({
|
|
4602
|
-
identifier: "UpdateWorkflowRequest",
|
|
4603
|
-
});
|
|
4200
|
+
autoDeployTrigger: S.optional(AutoDeployTrigger2),
|
|
4201
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/workflows/{workflowId}", code: 200 }))).annotate({ identifier: "UpdateWorkflowRequest" });
|
|
4604
4202
|
export const UpdateWorkspaceMemberRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4605
4203
|
ownerId: S.String.pipe(T.Label()),
|
|
4606
4204
|
userId: S.String.pipe(T.Label()),
|
|
4607
4205
|
role: TeamMemberRole,
|
|
4608
|
-
}).pipe(T.Http({
|
|
4609
|
-
method: "PATCH",
|
|
4610
|
-
uri: "/owners/{ownerId}/members/{userId}",
|
|
4611
|
-
code: 200,
|
|
4612
|
-
}))).annotate({
|
|
4206
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/owners/{ownerId}/members/{userId}", code: 200 }))).annotate({
|
|
4613
4207
|
identifier: "UpdateWorkspaceMemberRequest",
|
|
4614
4208
|
});
|
|
4615
4209
|
export const UpsertOwnerMetricsStreamRequestProvider = S.String;
|
|
@@ -4631,14 +4225,7 @@ export const UpsertOwnerMetricsStreamResponse = /*@__PURE__*/ S.suspend(() => S.
|
|
|
4631
4225
|
export const ValidateBlueprintRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4632
4226
|
ownerId: S.String,
|
|
4633
4227
|
file: S.String,
|
|
4634
|
-
}).pipe(T.Http({
|
|
4635
|
-
method: "POST",
|
|
4636
|
-
uri: "/blueprints/validate",
|
|
4637
|
-
code: 200,
|
|
4638
|
-
contentType: "multipart",
|
|
4639
|
-
}))).annotate({
|
|
4640
|
-
identifier: "ValidateBlueprintRequest",
|
|
4641
|
-
});
|
|
4228
|
+
}).pipe(T.Http({ method: "POST", uri: "/blueprints/validate", code: 200, contentType: "multipart" }))).annotate({ identifier: "ValidateBlueprintRequest" });
|
|
4642
4229
|
export const ValidateBlueprintResponseErrorsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
4643
4230
|
path: S.optional(S.String),
|
|
4644
4231
|
error: S.String,
|
|
@@ -4686,6 +4273,14 @@ export const addHeaders = /*@__PURE__*/ API.make(() => ({
|
|
|
4686
4273
|
protocol: RenderProtocol,
|
|
4687
4274
|
retry: Retry.Retry,
|
|
4688
4275
|
}));
|
|
4276
|
+
/** Add or update secret file Add or update a particular secret file for a particular build source. This only applies to secret files set directly on the build source, not to secret files in a linked environment group. */
|
|
4277
|
+
export const addOrUpdateBuildSourceSecretFile = /*@__PURE__*/ API.make(() => ({
|
|
4278
|
+
input: AddOrUpdateBuildSourceSecretFileRequest,
|
|
4279
|
+
output: SecretFile,
|
|
4280
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownRenderError],
|
|
4281
|
+
protocol: RenderProtocol,
|
|
4282
|
+
retry: Retry.Retry,
|
|
4283
|
+
}));
|
|
4689
4284
|
/** Add or update secret file Add or update a particular secret file for a particular service. This only applies to secret files set directly on the service, not to secret files in a linked environment group. */
|
|
4690
4285
|
export const addOrUpdateSecretFile = /*@__PURE__*/ API.make(() => ({
|
|
4691
4286
|
input: AddOrUpdateSecretFileRequest,
|
|
@@ -4703,7 +4298,8 @@ export const addResourcesToEnvironment = /*@__PURE__*/ API.make(() => ({
|
|
|
4703
4298
|
retry: Retry.Retry,
|
|
4704
4299
|
}));
|
|
4705
4300
|
/** Add redirect/rewrite rules Add redirect/rewrite rules to the service with the provided ID. */
|
|
4706
|
-
export const addRoute =
|
|
4301
|
+
export const addRoute =
|
|
4302
|
+
/*@__PURE__*/ API.make(() => ({
|
|
4707
4303
|
input: AddRouteRequest,
|
|
4708
4304
|
output: Route,
|
|
4709
4305
|
errors: [BadRequest, Forbidden, NotFound, UnknownRenderError],
|
|
@@ -4746,7 +4342,15 @@ export const cancelJob = /*@__PURE__*/ API.make(() => ({
|
|
|
4746
4342
|
export const cancelTaskRun = /*@__PURE__*/ API.make(() => ({
|
|
4747
4343
|
input: CancelTaskRunRequest,
|
|
4748
4344
|
output: CancelTaskRunResponse,
|
|
4749
|
-
errors: [Forbidden, NotFound, UnknownRenderError],
|
|
4345
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownRenderError],
|
|
4346
|
+
protocol: RenderProtocol,
|
|
4347
|
+
retry: Retry.Retry,
|
|
4348
|
+
}));
|
|
4349
|
+
/** Create a build source Create a build source that can be linked to one or more services in the same workspace. Exactly one of `git` or `image` must be set: - `git`: the build source is git-backed. The code is built in the requested `region` (defaults to `oregon`). - `image`: the build source is image-backed. It points at an existing image in an external registry; no build is performed. `envVars`, `secretFiles`, and `envGroupIds` set the build-time environment and are only valid for `git` sources; the request fails if any are provided with `image`. */
|
|
4350
|
+
export const createBuildSource = /*@__PURE__*/ API.make(() => ({
|
|
4351
|
+
input: CreateBuildSourceRequest,
|
|
4352
|
+
output: CreateBuildSourceResponse,
|
|
4353
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownRenderError],
|
|
4750
4354
|
protocol: RenderProtocol,
|
|
4751
4355
|
retry: Retry.Retry,
|
|
4752
4356
|
}));
|
|
@@ -4886,6 +4490,30 @@ export const deleteAutoscalingConfig = /*@__PURE__*/ API.make(() => ({
|
|
|
4886
4490
|
protocol: RenderProtocol,
|
|
4887
4491
|
retry: Retry.Retry,
|
|
4888
4492
|
}));
|
|
4493
|
+
/** Delete a build source Delete the build source with the provided ID. */
|
|
4494
|
+
export const deleteBuildSource = /*@__PURE__*/ API.make(() => ({
|
|
4495
|
+
input: DeleteBuildSourceRequest,
|
|
4496
|
+
output: DeleteBuildSourceResponse,
|
|
4497
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownRenderError],
|
|
4498
|
+
protocol: RenderProtocol,
|
|
4499
|
+
retry: Retry.Retry,
|
|
4500
|
+
}));
|
|
4501
|
+
/** Delete environment variable Delete a particular environment variable from a particular build source. This only applies to environment variables set directly on the build source, not to environment variables in a linked environment group. */
|
|
4502
|
+
export const deleteBuildSourceEnvVar = /*@__PURE__*/ API.make(() => ({
|
|
4503
|
+
input: DeleteBuildSourceEnvVarRequest,
|
|
4504
|
+
output: DeleteBuildSourceEnvVarResponse,
|
|
4505
|
+
errors: [Forbidden, NotFound, UnknownRenderError],
|
|
4506
|
+
protocol: RenderProtocol,
|
|
4507
|
+
retry: Retry.Retry,
|
|
4508
|
+
}));
|
|
4509
|
+
/** Delete secret file Delete a particular secret file from a particular build source. This only applies to secret files set directly on the build source, not to secret files in a linked environment group. */
|
|
4510
|
+
export const deleteBuildSourceSecretFile = /*@__PURE__*/ API.make(() => ({
|
|
4511
|
+
input: DeleteBuildSourceSecretFileRequest,
|
|
4512
|
+
output: DeleteBuildSourceSecretFileResponse,
|
|
4513
|
+
errors: [Forbidden, NotFound, UnknownRenderError],
|
|
4514
|
+
protocol: RenderProtocol,
|
|
4515
|
+
retry: Retry.Retry,
|
|
4516
|
+
}));
|
|
4889
4517
|
/** Delete custom domain Delete a custom domain for a service given the service id and custom domain id or name. */
|
|
4890
4518
|
export const deleteCustomDomain = /*@__PURE__*/ API.make(() => ({
|
|
4891
4519
|
input: DeleteCustomDomainRequest,
|
|
@@ -5118,6 +4746,30 @@ export const getBlueprint = /*@__PURE__*/ API.make(() => ({
|
|
|
5118
4746
|
protocol: RenderProtocol,
|
|
5119
4747
|
retry: Retry.Retry,
|
|
5120
4748
|
}));
|
|
4749
|
+
/** Retrieve a build source Retrieve a shared build source by ID */
|
|
4750
|
+
export const getBuildSource = /*@__PURE__*/ API.make(() => ({
|
|
4751
|
+
input: GetBuildSourceRequest,
|
|
4752
|
+
output: Schema12,
|
|
4753
|
+
errors: [BadRequest, NotFound, UnknownRenderError],
|
|
4754
|
+
protocol: RenderProtocol,
|
|
4755
|
+
retry: Retry.Retry,
|
|
4756
|
+
}));
|
|
4757
|
+
/** Retrieve environment variable Retrieve a particular environment variable for a particular build source. This only applies to environment variables set directly on the build source, not to environment variables in a linked environment group. */
|
|
4758
|
+
export const getBuildSourceEnvVar = /*@__PURE__*/ API.make(() => ({
|
|
4759
|
+
input: GetBuildSourceEnvVarRequest,
|
|
4760
|
+
output: EnvVar,
|
|
4761
|
+
errors: [Forbidden, NotFound, UnknownRenderError],
|
|
4762
|
+
protocol: RenderProtocol,
|
|
4763
|
+
retry: Retry.Retry,
|
|
4764
|
+
}));
|
|
4765
|
+
/** Retrieve secret file Retrieve a particular secret file for a particular build source. This only applies to secret files set directly on the build source, not to secret files in a linked environment group. */
|
|
4766
|
+
export const getBuildSourceSecretFile = /*@__PURE__*/ API.make(() => ({
|
|
4767
|
+
input: GetBuildSourceSecretFileRequest,
|
|
4768
|
+
output: SecretFile,
|
|
4769
|
+
errors: [Forbidden, NotFound, UnknownRenderError],
|
|
4770
|
+
protocol: RenderProtocol,
|
|
4771
|
+
retry: Retry.Retry,
|
|
4772
|
+
}));
|
|
5121
4773
|
/** Get CPU usage Get CPU usage for one or more resources. */
|
|
5122
4774
|
export const getCpu = /*@__PURE__*/ API.make(() => ({
|
|
5123
4775
|
input: GetCpuRequest,
|
|
@@ -5167,7 +4819,8 @@ export const getDeploy = /*@__PURE__*/ API.make(() => ({
|
|
|
5167
4819
|
retry: Retry.Retry,
|
|
5168
4820
|
}));
|
|
5169
4821
|
/** Retrieve disk Retrieve the persistent disk with the provided ID. */
|
|
5170
|
-
export const getDisk =
|
|
4822
|
+
export const getDisk =
|
|
4823
|
+
/*@__PURE__*/ API.make(() => ({
|
|
5171
4824
|
input: GetDiskRequest,
|
|
5172
4825
|
output: Schema2,
|
|
5173
4826
|
errors: [Forbidden, NotFound, UnknownRenderError],
|
|
@@ -5230,6 +4883,14 @@ export const getEnvVar = /*@__PURE__*/ API.make(() => ({
|
|
|
5230
4883
|
protocol: RenderProtocol,
|
|
5231
4884
|
retry: Retry.Retry,
|
|
5232
4885
|
}));
|
|
4886
|
+
/** List environment variables List all environment variables for the build source with the provided ID. */
|
|
4887
|
+
export const getEnvVarsForBuildSource = /*@__PURE__*/ API.make(() => ({
|
|
4888
|
+
input: GetEnvVarsForBuildSourceRequest,
|
|
4889
|
+
output: GetEnvVarsForBuildSourceResponse,
|
|
4890
|
+
errors: [Forbidden, NotFound, UnknownRenderError],
|
|
4891
|
+
protocol: RenderProtocol,
|
|
4892
|
+
retry: Retry.Retry,
|
|
4893
|
+
}));
|
|
5233
4894
|
/** List environment variables List all environment variables for the service with the provided ID. */
|
|
5234
4895
|
export const getEnvVarsForService = /*@__PURE__*/ API.make(() => ({
|
|
5235
4896
|
input: GetEnvVarsForServiceRequest,
|
|
@@ -5271,7 +4932,8 @@ export const getInstanceCount = /*@__PURE__*/ API.make(() => ({
|
|
|
5271
4932
|
retry: Retry.Retry,
|
|
5272
4933
|
}));
|
|
5273
4934
|
/** Retrieve job Retrieve the details of a particular one-off job for a particular service. */
|
|
5274
|
-
export const getJob =
|
|
4935
|
+
export const getJob =
|
|
4936
|
+
/*@__PURE__*/ API.make(() => ({
|
|
5275
4937
|
input: GetJobRequest,
|
|
5276
4938
|
output: Schema7,
|
|
5277
4939
|
errors: [BadRequest, NotFound, UnknownRenderError],
|
|
@@ -5327,7 +4989,8 @@ export const getMemoryTarget = /*@__PURE__*/ API.make(() => ({
|
|
|
5327
4989
|
retry: Retry.Retry,
|
|
5328
4990
|
}));
|
|
5329
4991
|
/** Retrieve workspace Retrieve the workspace with the provided ID. Workspace IDs start with `tea-`. If you provide a user ID (starts with `own-`), this endpoint returns the user's default workspace. */
|
|
5330
|
-
export const getOwner =
|
|
4992
|
+
export const getOwner =
|
|
4993
|
+
/*@__PURE__*/ API.make(() => ({
|
|
5331
4994
|
input: GetOwnerRequest,
|
|
5332
4995
|
output: Owner,
|
|
5333
4996
|
errors: [NotFound, UnknownRenderError],
|
|
@@ -5466,7 +5129,7 @@ export const getTask = /*@__PURE__*/ API.make(() => ({
|
|
|
5466
5129
|
export const getTaskRun = /*@__PURE__*/ API.make(() => ({
|
|
5467
5130
|
input: GetTaskRunRequest,
|
|
5468
5131
|
output: GetTaskRunResponse,
|
|
5469
|
-
errors: [Forbidden, NotFound, UnknownRenderError],
|
|
5132
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownRenderError],
|
|
5470
5133
|
protocol: RenderProtocol,
|
|
5471
5134
|
retry: Retry.Retry,
|
|
5472
5135
|
}));
|
|
@@ -5487,7 +5150,8 @@ export const getTaskRunsQueued = /*@__PURE__*/ API.make(() => ({
|
|
|
5487
5150
|
retry: Retry.Retry,
|
|
5488
5151
|
}));
|
|
5489
5152
|
/** Get the authenticated user Retrieve the user associated with the provided API key. */
|
|
5490
|
-
export const getUser =
|
|
5153
|
+
export const getUser =
|
|
5154
|
+
/*@__PURE__*/ API.make(() => ({
|
|
5491
5155
|
input: GetUserRequest,
|
|
5492
5156
|
output: User,
|
|
5493
5157
|
errors: [UnknownRenderError],
|
|
@@ -5497,7 +5161,7 @@ export const getUser = /*@__PURE__*/ API.make(() => ({
|
|
|
5497
5161
|
/** Retrieve a webhook Retrieve the webhook with the provided ID */
|
|
5498
5162
|
export const getWebhook = /*@__PURE__*/ API.make(() => ({
|
|
5499
5163
|
input: GetWebhookRequest,
|
|
5500
|
-
output:
|
|
5164
|
+
output: Schema14,
|
|
5501
5165
|
errors: [NotFound, UnknownRenderError],
|
|
5502
5166
|
protocol: RenderProtocol,
|
|
5503
5167
|
retry: Retry.Retry,
|
|
@@ -5505,7 +5169,7 @@ export const getWebhook = /*@__PURE__*/ API.make(() => ({
|
|
|
5505
5169
|
/** Retrieve workflow Retrieve the workflow service with the provided ID. */
|
|
5506
5170
|
export const getWorkflow = /*@__PURE__*/ API.make(() => ({
|
|
5507
5171
|
input: GetWorkflowRequest,
|
|
5508
|
-
output:
|
|
5172
|
+
output: Schema15,
|
|
5509
5173
|
errors: [Forbidden, NotFound, UnknownRenderError],
|
|
5510
5174
|
protocol: RenderProtocol,
|
|
5511
5175
|
retry: Retry.Retry,
|
|
@@ -5518,6 +5182,14 @@ export const getWorkflowVersion = /*@__PURE__*/ API.make(() => ({
|
|
|
5518
5182
|
protocol: RenderProtocol,
|
|
5519
5183
|
retry: Retry.Retry,
|
|
5520
5184
|
}));
|
|
5185
|
+
/** Link environment group Link a particular environment group to a particular build source. The build source will have access to the environment variables and secret files in the group at build time. */
|
|
5186
|
+
export const linkEnvGroupToBuildSource = /*@__PURE__*/ API.make(() => ({
|
|
5187
|
+
input: LinkEnvGroupToBuildSourceRequest,
|
|
5188
|
+
output: LinkEnvGroupToBuildSourceResponse,
|
|
5189
|
+
errors: [BadRequest, NotFound, UnknownRenderError],
|
|
5190
|
+
protocol: RenderProtocol,
|
|
5191
|
+
retry: Retry.Retry,
|
|
5192
|
+
}));
|
|
5521
5193
|
/** Link service Link a particular service to a particular environment group. The linked service will have access to the environment variables and secret files in the group. */
|
|
5522
5194
|
export const linkServiceToEnvGroup = /*@__PURE__*/ API.make(() => ({
|
|
5523
5195
|
input: LinkServiceToEnvGroupRequest,
|
|
@@ -5550,6 +5222,22 @@ export const listBlueprintSyncs = /*@__PURE__*/ API.make(() => ({
|
|
|
5550
5222
|
protocol: RenderProtocol,
|
|
5551
5223
|
retry: Retry.Retry,
|
|
5552
5224
|
}));
|
|
5225
|
+
/** List builds in a build source List builds in a build source. */
|
|
5226
|
+
export const listBuildsInBuildSource = /*@__PURE__*/ API.make(() => ({
|
|
5227
|
+
input: ListBuildsInBuildSourceRequest,
|
|
5228
|
+
output: ListBuildsInBuildSourceResponse,
|
|
5229
|
+
errors: [Forbidden, NotFound, UnknownRenderError],
|
|
5230
|
+
protocol: RenderProtocol,
|
|
5231
|
+
retry: Retry.Retry,
|
|
5232
|
+
}));
|
|
5233
|
+
/** List build sources List build sources matching the provided filters. If `ownerId` is omitted, returns build sources across every workspace you can view. */
|
|
5234
|
+
export const listBuildSources = /*@__PURE__*/ API.make(() => ({
|
|
5235
|
+
input: ListBuildSourcesRequest,
|
|
5236
|
+
output: ListBuildSourcesResponse,
|
|
5237
|
+
errors: [BadRequest, UnknownRenderError],
|
|
5238
|
+
protocol: RenderProtocol,
|
|
5239
|
+
retry: Retry.Retry,
|
|
5240
|
+
}));
|
|
5553
5241
|
/** List custom domains List a particular service's custom domains that match the provided filters. If no filters are provided, all custom domains for the service are returned. */
|
|
5554
5242
|
export const listCustomDomains = /*@__PURE__*/ API.make(() => ({
|
|
5555
5243
|
input: ListCustomDomainsRequest,
|
|
@@ -5798,6 +5486,14 @@ export const listRoutes = /*@__PURE__*/ API.make(() => ({
|
|
|
5798
5486
|
protocol: RenderProtocol,
|
|
5799
5487
|
retry: Retry.Retry,
|
|
5800
5488
|
}));
|
|
5489
|
+
/** List secret files List all secret files for the build source with the provided ID. */
|
|
5490
|
+
export const listSecretFilesForBuildSource = /*@__PURE__*/ API.make(() => ({
|
|
5491
|
+
input: ListSecretFilesForBuildSourceRequest,
|
|
5492
|
+
output: ListSecretFilesForBuildSourceResponse,
|
|
5493
|
+
errors: [Forbidden, NotFound, UnknownRenderError],
|
|
5494
|
+
protocol: RenderProtocol,
|
|
5495
|
+
retry: Retry.Retry,
|
|
5496
|
+
}));
|
|
5801
5497
|
/** List secret files List all secret files for the service with the provided ID. */
|
|
5802
5498
|
export const listSecretFilesForService = /*@__PURE__*/ API.make(() => ({
|
|
5803
5499
|
input: ListSecretFilesForServiceRequest,
|
|
@@ -5826,7 +5522,7 @@ export const listSnapshots = /*@__PURE__*/ API.make(() => ({
|
|
|
5826
5522
|
export const listTaskRuns = /*@__PURE__*/ API.make(() => ({
|
|
5827
5523
|
input: ListTaskRunsRequest,
|
|
5828
5524
|
output: ListTaskRunsResponse,
|
|
5829
|
-
errors: [Forbidden, NotFound, UnknownRenderError],
|
|
5525
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownRenderError],
|
|
5830
5526
|
protocol: RenderProtocol,
|
|
5831
5527
|
retry: Retry.Retry,
|
|
5832
5528
|
}));
|
|
@@ -6022,7 +5718,7 @@ export const scaleService = /*@__PURE__*/ API.make(() => ({
|
|
|
6022
5718
|
protocol: RenderProtocol,
|
|
6023
5719
|
retry: Retry.Retry,
|
|
6024
5720
|
}));
|
|
6025
|
-
/** Stream realtime events (SSE) Establishes a unidirectional event stream. The server sends events as lines formatted per the SSE spec. Clients
|
|
5721
|
+
/** Stream realtime events (SSE) Establishes a unidirectional event stream. The server sends events as lines formatted per the SSE spec. Clients should set `Accept: text/event-stream` and keep the connection open. The server sends a `task.completed` event whenever a requested task run reaches any terminal state (`completed`, `failed`, or `canceled`). The `status` field of the payload indicates which state was reached. The server automatically closes the stream in the following cases: - All requested task runs have reached a terminal state. - The stream has not sent any events for 30 minutes. For tasks with a timeout higher than 30 minutes, waiting clients should fall back to polling with the [Retrieve task run](https://api-docs.render.com/reference/gettaskrun) endpoint. */
|
|
6026
5722
|
export const streamTaskRunsEvents = /*@__PURE__*/ API.make(() => ({
|
|
6027
5723
|
input: StreamTaskRunsEventsRequest,
|
|
6028
5724
|
output: StreamTaskRunsEventsResponse,
|
|
@@ -6062,6 +5758,14 @@ export const suspendService = /*@__PURE__*/ API.make(() => ({
|
|
|
6062
5758
|
protocol: RenderProtocol,
|
|
6063
5759
|
retry: Retry.Retry,
|
|
6064
5760
|
}));
|
|
5761
|
+
/** Trigger a build Start a new build of the build source at the current HEAD of its branch, even if an up-to-date build already exists. Services linked to the build source with autodeploy enabled are deployed with the result. Updating a build source or its build-time environment (env vars, secret files, env groups) with the REST API does not build it. Call this endpoint after those changes to build them. Only `git` build sources can be built. */
|
|
5762
|
+
export const triggerBuildSourceBuild = /*@__PURE__*/ API.make(() => ({
|
|
5763
|
+
input: TriggerBuildSourceBuildRequest,
|
|
5764
|
+
output: TriggerBuildSourceBuildResponse,
|
|
5765
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownRenderError],
|
|
5766
|
+
protocol: RenderProtocol,
|
|
5767
|
+
retry: Retry.Retry,
|
|
5768
|
+
}));
|
|
6065
5769
|
/** Trigger maintenance run Trigger the scheduled maintenance run with the provided ID. Triggering maintenance is asynchronous. To check whether maintenance has started, use the [Retrieve maintenance run](https://api-docs.render.com/reference/retrieve-maintenance) endpoint. As maintenance progresses, the run's `state` will change from `scheduled` to other values, such as `in_progress` and `succeeded`. */
|
|
6066
5770
|
export const triggerMaintenance = /*@__PURE__*/ API.make(() => ({
|
|
6067
5771
|
input: TriggerMaintenanceRequest,
|
|
@@ -6070,6 +5774,14 @@ export const triggerMaintenance = /*@__PURE__*/ API.make(() => ({
|
|
|
6070
5774
|
protocol: RenderProtocol,
|
|
6071
5775
|
retry: Retry.Retry,
|
|
6072
5776
|
}));
|
|
5777
|
+
/** Unlink environment group Unlink a particular environment group from a particular build source. The build source will lose access to the environment variables and secret files in the group. */
|
|
5778
|
+
export const unlinkEnvGroupFromBuildSource = /*@__PURE__*/ API.make(() => ({
|
|
5779
|
+
input: UnlinkEnvGroupFromBuildSourceRequest,
|
|
5780
|
+
output: UnlinkEnvGroupFromBuildSourceResponse,
|
|
5781
|
+
errors: [BadRequest, NotFound, UnknownRenderError],
|
|
5782
|
+
protocol: RenderProtocol,
|
|
5783
|
+
retry: Retry.Retry,
|
|
5784
|
+
}));
|
|
6073
5785
|
/** Unlink service Unlink a particular service from a particular environment group. The service will lose access to the environment variables and secret files in the group. */
|
|
6074
5786
|
export const unlinkServiceFromEnvGroup = /*@__PURE__*/ API.make(() => ({
|
|
6075
5787
|
input: UnlinkServiceFromEnvGroupRequest,
|
|
@@ -6086,6 +5798,22 @@ export const updateBlueprint = /*@__PURE__*/ API.make(() => ({
|
|
|
6086
5798
|
protocol: RenderProtocol,
|
|
6087
5799
|
retry: Retry.Retry,
|
|
6088
5800
|
}));
|
|
5801
|
+
/** Update a build source Update a shared build source. Each top-level field is a true patch, unset fields are left unchanged. Supplying `git` or `image` can change the build source's underlying identity: - `image` on a git-backed build source switches it to image-backed - `git` on an image-backed build source switches it to git-backed - `git` on a build source that's already git-backed is a pure patch onto the existing config */
|
|
5802
|
+
export const updateBuildSource = /*@__PURE__*/ API.make(() => ({
|
|
5803
|
+
input: UpdateBuildSourceRequest,
|
|
5804
|
+
output: Schema12,
|
|
5805
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownRenderError],
|
|
5806
|
+
protocol: RenderProtocol,
|
|
5807
|
+
retry: Retry.Retry,
|
|
5808
|
+
}));
|
|
5809
|
+
/** Add or update environment variable Add or update a particular environment variable for a particular build source. This only applies to environment variables set directly on the build source, not to environment variables in a linked environment group. */
|
|
5810
|
+
export const updateBuildSourceEnvVar = /*@__PURE__*/ API.make(() => ({
|
|
5811
|
+
input: UpdateBuildSourceEnvVarRequest,
|
|
5812
|
+
output: EnvVar,
|
|
5813
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownRenderError],
|
|
5814
|
+
protocol: RenderProtocol,
|
|
5815
|
+
retry: Retry.Retry,
|
|
5816
|
+
}));
|
|
6089
5817
|
/** Update dedicated IP set Update the dedicated IP set with the provided ID. All fields are optional. Omitted fields are left unchanged. To switch from environment-scoped to workspace-scoped, provide `environmentIds: []`. */
|
|
6090
5818
|
export const updateDedicatedIp = /*@__PURE__*/ API.make(() => ({
|
|
6091
5819
|
input: UpdateDedicatedIpRequest,
|
|
@@ -6142,6 +5870,14 @@ export const updateEnvVar = /*@__PURE__*/ API.make(() => ({
|
|
|
6142
5870
|
protocol: RenderProtocol,
|
|
6143
5871
|
retry: Retry.Retry,
|
|
6144
5872
|
}));
|
|
5873
|
+
/** Update environment variables Replace all environment variables for a build source with the provided list of environment variables. */
|
|
5874
|
+
export const updateEnvVarsForBuildSource = /*@__PURE__*/ API.make(() => ({
|
|
5875
|
+
input: UpdateEnvVarsForBuildSourceRequest,
|
|
5876
|
+
output: UpdateEnvVarsForBuildSourceResponse,
|
|
5877
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownRenderError],
|
|
5878
|
+
protocol: RenderProtocol,
|
|
5879
|
+
retry: Retry.Retry,
|
|
5880
|
+
}));
|
|
6145
5881
|
/** Update environment variables Replace all environment variables for a service with the provided list of environment variables. */
|
|
6146
5882
|
export const updateEnvVarsForService = /*@__PURE__*/ API.make(() => ({
|
|
6147
5883
|
input: UpdateEnvVarsForServiceRequest,
|
|
@@ -6214,6 +5950,14 @@ export const updateResourceLogStream = /*@__PURE__*/ API.make(() => ({
|
|
|
6214
5950
|
protocol: RenderProtocol,
|
|
6215
5951
|
retry: Retry.Retry,
|
|
6216
5952
|
}));
|
|
5953
|
+
/** Update secret files Replace all secret files for a build source with the provided list of secret files. **Any of the build source's existing secret files not included in this request will be deleted.** This only applies to secret files set directly on the build source, not to secret files in a linked environment group. */
|
|
5954
|
+
export const updateSecretFilesForBuildSource = /*@__PURE__*/ API.make(() => ({
|
|
5955
|
+
input: UpdateSecretFilesForBuildSourceRequest,
|
|
5956
|
+
output: UpdateSecretFilesForBuildSourceResponse,
|
|
5957
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownRenderError],
|
|
5958
|
+
protocol: RenderProtocol,
|
|
5959
|
+
retry: Retry.Retry,
|
|
5960
|
+
}));
|
|
6217
5961
|
/** Update secret files Replace all secret files for a service with the provided list of secret files. **Any of the service's existing secret files not included in this request will be deleted.** This only applies to secret files set directly on the service, not to secret files in a linked environment group. */
|
|
6218
5962
|
export const updateSecretFilesForService = /*@__PURE__*/ API.make(() => ({
|
|
6219
5963
|
input: UpdateSecretFilesForServiceRequest,
|
|
@@ -6233,7 +5977,7 @@ export const updateService = /*@__PURE__*/ API.make(() => ({
|
|
|
6233
5977
|
/** Update a webhook Update the webhook with the provided ID. */
|
|
6234
5978
|
export const updateWebhook = /*@__PURE__*/ API.make(() => ({
|
|
6235
5979
|
input: UpdateWebhookRequest,
|
|
6236
|
-
output:
|
|
5980
|
+
output: Schema14,
|
|
6237
5981
|
errors: [BadRequest, NotFound, UnknownRenderError],
|
|
6238
5982
|
protocol: RenderProtocol,
|
|
6239
5983
|
retry: Retry.Retry,
|
|
@@ -6241,7 +5985,7 @@ export const updateWebhook = /*@__PURE__*/ API.make(() => ({
|
|
|
6241
5985
|
/** Update workflow Update the workflow service with the provided ID. */
|
|
6242
5986
|
export const updateWorkflow = /*@__PURE__*/ API.make(() => ({
|
|
6243
5987
|
input: UpdateWorkflowRequest,
|
|
6244
|
-
output:
|
|
5988
|
+
output: Schema15,
|
|
6245
5989
|
errors: [Forbidden, NotFound, UnknownRenderError],
|
|
6246
5990
|
protocol: RenderProtocol,
|
|
6247
5991
|
retry: Retry.Retry,
|