@sealant/api-contracts-next 0.40.0-next.784 → 0.40.0-next.786
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core-api/budgets.d.ts +23 -0
- package/dist/core-api/budgets.js +10 -0
- package/dist/core-api/control-plane.d.ts +94 -93
- package/dist/core-api/control-plane.js +2 -0
- package/dist/core-api/workspace-forward.d.ts +16 -1
- package/dist/core-api/workspace-forward.js +14 -1
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { HttpApi } from "effect/http-api";
|
|
2
|
+
import { RequestBudget } from "./budgets.js";
|
|
2
3
|
import { RequestRefusal } from "./request-refusal.js";
|
|
3
4
|
export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi", import("effect/http-api/HttpApiGroup").HttpApiGroup<"accessTokens", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createAccessToken", "POST", "/v1/access-tokens/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
4
5
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -16,7 +17,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
16
17
|
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17
18
|
readonly createdAt: import("effect/Schema").String;
|
|
18
19
|
readonly token: import("effect/Schema").String;
|
|
19
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listAccessTokens", "GET", "/v1/access-tokens/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
20
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listAccessTokens", "GET", "/v1/access-tokens/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
20
21
|
readonly ownerUserId: import("effect/Schema").String;
|
|
21
22
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
22
23
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -29,7 +30,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
29
30
|
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
30
31
|
readonly createdAt: import("effect/Schema").String;
|
|
31
32
|
}>>;
|
|
32
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"revokeAccessToken", "POST", "/v1/access-tokens/:tokenId/revoke", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
33
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"revokeAccessToken", "POST", "/v1/access-tokens/:tokenId/revoke", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
33
34
|
readonly tokenId: import("effect/Schema").String;
|
|
34
35
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
35
36
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -42,7 +43,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
42
43
|
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
43
44
|
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
44
45
|
readonly createdAt: import("effect/Schema").String;
|
|
45
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"connectedAccounts", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"archiveConnectedAccount", "DELETE", "/v1/connected-accounts/:connectedAccountId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
46
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"connectedAccounts", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"archiveConnectedAccount", "DELETE", "/v1/connected-accounts/:connectedAccountId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
46
47
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
47
48
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
48
49
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -72,7 +73,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
72
73
|
readonly kind: import("effect/Schema").Literal<"api-key">;
|
|
73
74
|
readonly suffix: import("effect/Schema").String;
|
|
74
75
|
}>]>>;
|
|
75
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createConnectedAccount", "POST", "/v1/connected-accounts/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
76
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createConnectedAccount", "POST", "/v1/connected-accounts/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
76
77
|
readonly ownerUserId: import("effect/Schema").String;
|
|
77
78
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
78
79
|
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -106,7 +107,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
106
107
|
readonly kind: import("effect/Schema").Literal<"api-key">;
|
|
107
108
|
readonly suffix: import("effect/Schema").String;
|
|
108
109
|
}>]>>;
|
|
109
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountBadRequestError | typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountServiceUnavailableError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listConnectedAccounts", "GET", "/v1/connected-accounts/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
110
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountBadRequestError | typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountServiceUnavailableError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listConnectedAccounts", "GET", "/v1/connected-accounts/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
110
111
|
readonly ownerUserId: import("effect/Schema").String;
|
|
111
112
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
112
113
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -137,7 +138,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
137
138
|
}>]>>;
|
|
138
139
|
}>>;
|
|
139
140
|
readonly hasApiKeyHistory: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
140
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"markConnectedAccountInvalid", "POST", "/v1/connected-accounts/:connectedAccountId/mark-invalid", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
141
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"markConnectedAccountInvalid", "POST", "/v1/connected-accounts/:connectedAccountId/mark-invalid", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
141
142
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
142
143
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
143
144
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -169,7 +170,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
169
170
|
readonly suffix: import("effect/Schema").String;
|
|
170
171
|
}>]>>;
|
|
171
172
|
readonly outcome: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["marked", "superseded"]>>;
|
|
172
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"setConnectedAccountDefault", "PUT", "/v1/connected-accounts/defaults/:provider", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
173
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"setConnectedAccountDefault", "PUT", "/v1/connected-accounts/defaults/:provider", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
173
174
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
174
175
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
175
176
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -200,14 +201,14 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
200
201
|
readonly kind: import("effect/Schema").Literal<"api-key">;
|
|
201
202
|
readonly suffix: import("effect/Schema").String;
|
|
202
203
|
}>]>>;
|
|
203
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"github", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"handleWebhook", "POST", "/v1/github/webhooks", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").String>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
204
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"github", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"handleWebhook", "POST", "/v1/github/webhooks", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").String>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
204
205
|
readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
205
206
|
readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
206
207
|
readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
207
208
|
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
208
209
|
readonly deliveryId: import("effect/Schema").String;
|
|
209
210
|
readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
|
|
210
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubBadRequestError | typeof import("./github.js").GitHubUnauthorizedError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"importInstallation", "POST", "/v1/github/installations/import", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
211
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubBadRequestError | typeof import("./github.js").GitHubUnauthorizedError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"importInstallation", "POST", "/v1/github/installations/import", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
211
212
|
readonly userId: import("effect/Schema").String;
|
|
212
213
|
readonly externalInstallationId: import("effect/Schema").String;
|
|
213
214
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -222,7 +223,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
222
223
|
}>;
|
|
223
224
|
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
224
225
|
readonly syncedAt: import("effect/Schema").String;
|
|
225
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listInstallationRepositories", "GET", "/v1/github/installations/:installationId/repositories", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
226
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listInstallationRepositories", "GET", "/v1/github/installations/:installationId/repositories", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
226
227
|
readonly installationId: import("effect/Schema").String;
|
|
227
228
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
228
229
|
readonly userId: import("effect/Schema").String;
|
|
@@ -241,7 +242,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
241
242
|
readonly isArchived: import("effect/Schema").Boolean;
|
|
242
243
|
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
243
244
|
}>>;
|
|
244
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listInstallations", "GET", "/v1/github/installations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
245
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listInstallations", "GET", "/v1/github/installations", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
245
246
|
readonly userId: import("effect/Schema").String;
|
|
246
247
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
247
248
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -253,7 +254,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
253
254
|
readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
|
|
254
255
|
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
255
256
|
}>>;
|
|
256
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"syncInstallation", "POST", "/v1/github/installations/:installationId/sync", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
257
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"syncInstallation", "POST", "/v1/github/installations/:installationId/sync", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
257
258
|
readonly installationId: import("effect/Schema").String;
|
|
258
259
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
259
260
|
readonly userId: import("effect/Schema").String;
|
|
@@ -261,7 +262,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
261
262
|
readonly installationId: import("effect/Schema").String;
|
|
262
263
|
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
263
264
|
readonly syncedAt: import("effect/Schema").String;
|
|
264
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"inference", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"respond", "POST", "/v1/inference/respond", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
265
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"inference", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"respond", "POST", "/v1/inference/respond", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
265
266
|
readonly ownerUserId: import("effect/Schema").String;
|
|
266
267
|
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
267
268
|
readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -305,7 +306,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
305
306
|
readonly inputTokens: import("effect/Schema").Number;
|
|
306
307
|
readonly outputTokens: import("effect/Schema").Number;
|
|
307
308
|
}>>;
|
|
308
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.
|
|
309
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.js").BudgetExceededError | typeof import("./inference.js").InferenceBadRequestError | typeof import("./inference.js").InferenceNotFoundError | typeof import("./inference.js").InferenceConflictError | typeof import("./inference.js").InferenceUnavailableError | typeof import("./inference.js").InferenceInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"packages", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"resolvePackage", "GET", "/v1/packages/resolve", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
309
310
|
readonly query: import("effect/Schema").String;
|
|
310
311
|
readonly targetOs: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["arch", "fedora", "nix", "ubuntu"]>>;
|
|
311
312
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -354,7 +355,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
354
355
|
}>>;
|
|
355
356
|
readonly fetchedAt: import("effect/Schema").String;
|
|
356
357
|
readonly expiresAt: import("effect/Schema").String;
|
|
357
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"profiles", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
358
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"profiles", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
358
359
|
readonly profileId: import("effect/Schema").String;
|
|
359
360
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
360
361
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -391,7 +392,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
391
392
|
}>]>>;
|
|
392
393
|
}>;
|
|
393
394
|
}>>;
|
|
394
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listProfiles", "GET", "/v1/profiles/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
395
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listProfiles", "GET", "/v1/profiles/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
395
396
|
readonly ownerUserId: import("effect/Schema").String;
|
|
396
397
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
397
398
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -405,7 +406,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
405
406
|
readonly createdAt: import("effect/Schema").String;
|
|
406
407
|
readonly updatedAt: import("effect/Schema").String;
|
|
407
408
|
}>>;
|
|
408
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
409
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./profiles.js").ProfileInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
409
410
|
readonly profileId: import("effect/Schema").String;
|
|
410
411
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
411
412
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -444,14 +445,14 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
444
445
|
}>]>>;
|
|
445
446
|
}>;
|
|
446
447
|
}>>;
|
|
447
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./profiles.js").ProfileBadRequestError | typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileConflictError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"registries", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRegistry", "GET", "/v1/registries/:registryId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
448
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./profiles.js").ProfileBadRequestError | typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileConflictError | typeof import("./profiles.js").ProfileInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"registries", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRegistry", "GET", "/v1/registries/:registryId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
448
449
|
readonly registryId: import("effect/Schema").String;
|
|
449
450
|
}>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
450
451
|
readonly name: import("effect/Schema").String;
|
|
451
452
|
readonly baseUrl: import("effect/Schema").String;
|
|
452
453
|
readonly pushRegistry: import("effect/Schema").String;
|
|
453
454
|
readonly hasBasicAuth: import("effect/Schema").Boolean;
|
|
454
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./registries.js").RegistriesNotFoundError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRegistryManifest", "GET", "/v1/registries/:registryId/manifest", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
455
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./registries.js").RegistriesNotFoundError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRegistryManifest", "GET", "/v1/registries/:registryId/manifest", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
455
456
|
readonly registryId: import("effect/Schema").String;
|
|
456
457
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
457
458
|
readonly repository: import("effect/Schema").String;
|
|
@@ -462,7 +463,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
462
463
|
readonly digest: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
463
464
|
readonly contentType: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Null]>;
|
|
464
465
|
readonly manifest: import("effect/Schema").Unknown;
|
|
465
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listRegistryExtensions", "GET", "/v1/registries/:registryId/extensions", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
466
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listRegistryExtensions", "GET", "/v1/registries/:registryId/extensions", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
466
467
|
readonly registryId: import("effect/Schema").String;
|
|
467
468
|
}>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
468
469
|
readonly extensions: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -471,19 +472,19 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
471
472
|
readonly description: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
472
473
|
readonly endpoints: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
473
474
|
}>>;
|
|
474
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listRegistryTags", "GET", "/v1/registries/:registryId/tags", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
475
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listRegistryTags", "GET", "/v1/registries/:registryId/tags", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
475
476
|
readonly registryId: import("effect/Schema").String;
|
|
476
477
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
477
478
|
readonly repository: import("effect/Schema").String;
|
|
478
479
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
479
480
|
readonly repository: import("effect/Schema").String;
|
|
480
481
|
readonly tags: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
481
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"pingRegistry", "GET", "/v1/registries/:registryId/ping", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
482
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"pingRegistry", "GET", "/v1/registries/:registryId/ping", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
482
483
|
readonly registryId: import("effect/Schema").String;
|
|
483
484
|
}>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
484
485
|
readonly name: import("effect/Schema").String;
|
|
485
486
|
readonly reachable: import("effect/Schema").Literal<true>;
|
|
486
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"resourceDomains", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"ensureResourceDomain", "POST", "/v1/resource-domains/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
487
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"resourceDomains", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"ensureResourceDomain", "POST", "/v1/resource-domains/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
487
488
|
readonly key: import("effect/Schema").String;
|
|
488
489
|
readonly budget: import("effect/Schema").optional<import("effect/Schema").Struct<Record<"cpuMillicores" | "memoryBytes" | "storageBytes", import("effect/Schema").Int>>>;
|
|
489
490
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -491,13 +492,13 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
491
492
|
readonly key: import("effect/Schema").String;
|
|
492
493
|
readonly createdAt: import("effect/Schema").String;
|
|
493
494
|
readonly created: import("effect/Schema").Boolean;
|
|
494
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainBudgetDiffersError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getResourceDomain", "GET", "/v1/resource-domains/:resourceDomainId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
495
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainBudgetDiffersError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getResourceDomain", "GET", "/v1/resource-domains/:resourceDomainId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
495
496
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
496
497
|
}>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
497
498
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
498
499
|
readonly key: import("effect/Schema").String;
|
|
499
500
|
readonly createdAt: import("effect/Schema").String;
|
|
500
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getResourceDomainBudget", "GET", "/v1/resource-domains/:resourceDomainId/budget", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
501
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getResourceDomainBudget", "GET", "/v1/resource-domains/:resourceDomainId/budget", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
501
502
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
502
503
|
}>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
503
504
|
readonly revision: import("effect/Schema").Int;
|
|
@@ -521,7 +522,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
521
522
|
readonly reserved: import("effect/Schema").Int;
|
|
522
523
|
readonly warning: import("effect/Schema").Literals<readonly ["none", "80-percent", "95-percent", "full"]>;
|
|
523
524
|
}>;
|
|
524
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getResourceDomainMember", "GET", "/v1/resource-domains/:resourceDomainId/members/:userId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
525
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getResourceDomainMember", "GET", "/v1/resource-domains/:resourceDomainId/members/:userId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
525
526
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
526
527
|
readonly userId: import("effect/Schema").String;
|
|
527
528
|
}>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -529,7 +530,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
529
530
|
readonly state: import("effect/Schema").Literals<readonly ["member", "revoked"]>;
|
|
530
531
|
readonly version: import("effect/Schema").Int;
|
|
531
532
|
readonly updatedAt: import("effect/Schema").String;
|
|
532
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainPersonNotFoundError | typeof import("./resource-domains.js").ResourceDomainMemberNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"grantResourceDomainMember", "POST", "/v1/resource-domains/:resourceDomainId/members/:userId/grant", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
533
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainPersonNotFoundError | typeof import("./resource-domains.js").ResourceDomainMemberNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"grantResourceDomainMember", "POST", "/v1/resource-domains/:resourceDomainId/members/:userId/grant", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
533
534
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
534
535
|
readonly userId: import("effect/Schema").String;
|
|
535
536
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -539,7 +540,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
539
540
|
readonly state: import("effect/Schema").Literals<readonly ["member", "revoked"]>;
|
|
540
541
|
readonly version: import("effect/Schema").Int;
|
|
541
542
|
readonly updatedAt: import("effect/Schema").String;
|
|
542
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainPersonNotFoundError | typeof import("./resource-domains.js").ResourceDomainMemberVersionConflictError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listResourceDomainMembers", "GET", "/v1/resource-domains/:resourceDomainId/members", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
543
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainPersonNotFoundError | typeof import("./resource-domains.js").ResourceDomainMemberVersionConflictError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listResourceDomainMembers", "GET", "/v1/resource-domains/:resourceDomainId/members", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
543
544
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
544
545
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
545
546
|
readonly limit: import("effect/Schema").optional<import("effect/Schema").FiniteFromString>;
|
|
@@ -552,7 +553,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
552
553
|
readonly updatedAt: import("effect/Schema").String;
|
|
553
554
|
}>>;
|
|
554
555
|
readonly nextCursor: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
555
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"revokeResourceDomainMember", "POST", "/v1/resource-domains/:resourceDomainId/members/:userId/revoke", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
556
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"revokeResourceDomainMember", "POST", "/v1/resource-domains/:resourceDomainId/members/:userId/revoke", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
556
557
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
557
558
|
readonly userId: import("effect/Schema").String;
|
|
558
559
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -562,7 +563,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
562
563
|
readonly state: import("effect/Schema").Literals<readonly ["member", "revoked"]>;
|
|
563
564
|
readonly version: import("effect/Schema").Int;
|
|
564
565
|
readonly updatedAt: import("effect/Schema").String;
|
|
565
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainPersonNotFoundError | typeof import("./resource-domains.js").ResourceDomainMemberVersionConflictError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"setResourceDomainBudget", "PUT", "/v1/resource-domains/:resourceDomainId/budget", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
566
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainPersonNotFoundError | typeof import("./resource-domains.js").ResourceDomainMemberVersionConflictError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"setResourceDomainBudget", "PUT", "/v1/resource-domains/:resourceDomainId/budget", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
566
567
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
567
568
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
568
569
|
readonly revision: import("effect/Schema").Int;
|
|
@@ -591,7 +592,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
591
592
|
readonly reserved: import("effect/Schema").Int;
|
|
592
593
|
readonly warning: import("effect/Schema").Literals<readonly ["none", "80-percent", "95-percent", "full"]>;
|
|
593
594
|
}>;
|
|
594
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainBudgetRevisionConflictError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"resourceInstances", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"archiveResourceDomain", "POST", "/v1/resource-domains/:resourceDomainId/archive", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
595
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainBudgetRevisionConflictError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"resourceInstances", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"archiveResourceDomain", "POST", "/v1/resource-domains/:resourceDomainId/archive", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
595
596
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
596
597
|
}>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
597
598
|
readonly volumes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -600,7 +601,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
600
601
|
readonly dockerName: import("effect/Schema").String;
|
|
601
602
|
readonly bytes: import("effect/Schema").NullOr<import("effect/Schema").Int>;
|
|
602
603
|
}>>;
|
|
603
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceRuntimeUnsupportedError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"archiveResourceInstance", "POST", "/v1/resource-domains/:resourceDomainId/instances/:key/archive", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
604
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceRuntimeUnsupportedError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"archiveResourceInstance", "POST", "/v1/resource-domains/:resourceDomainId/instances/:key/archive", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
604
605
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
605
606
|
readonly key: import("effect/Schema").brand<import("effect/Schema").String, "ResourceInstanceKey">;
|
|
606
607
|
}>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -660,7 +661,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
660
661
|
readonly dockerName: import("effect/Schema").String;
|
|
661
662
|
readonly bytes: import("effect/Schema").NullOr<import("effect/Schema").Int>;
|
|
662
663
|
}>>;
|
|
663
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceInstanceNotFoundError | typeof import("./resource-instances.js").ResourceRuntimeUnsupportedError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getResourceInstance", "GET", "/v1/resource-domains/:resourceDomainId/instances/:key", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
664
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceInstanceNotFoundError | typeof import("./resource-instances.js").ResourceRuntimeUnsupportedError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getResourceInstance", "GET", "/v1/resource-domains/:resourceDomainId/instances/:key", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
664
665
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
665
666
|
readonly key: import("effect/Schema").brand<import("effect/Schema").String, "ResourceInstanceKey">;
|
|
666
667
|
}>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -712,7 +713,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
712
713
|
readonly name: import("effect/Schema").String;
|
|
713
714
|
readonly dockerName: import("effect/Schema").String;
|
|
714
715
|
}>>;
|
|
715
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceInstanceNotFoundError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"linkResourceWorkspace", "PUT", "/v1/resource-domains/:resourceDomainId/workspace-links/:workspaceId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
716
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceInstanceNotFoundError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"linkResourceWorkspace", "PUT", "/v1/resource-domains/:resourceDomainId/workspace-links/:workspaceId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
716
717
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
717
718
|
readonly workspaceId: import("effect/Schema").String;
|
|
718
719
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -723,7 +724,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
723
724
|
readonly worktreeKey: import("effect/Schema").brand<import("effect/Schema").String, "ResourceWorktreeKey">;
|
|
724
725
|
readonly aliases: import("effect/Schema").NullOr<import("effect/Schema").$Record<import("effect/Schema").brand<import("effect/Schema").String, "ResourceInstanceAlias">, import("effect/Schema").Literals<readonly ["project", "worktree"]>>>;
|
|
725
726
|
readonly attachedExecutors: import("effect/Schema").Int;
|
|
726
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceRuntimeUnsupportedError | typeof import("./resource-instances.js").ResourceDomainNotActiveError | typeof import("./resource-instances.js").ResourceWorkspaceNotFoundError | typeof import("./resource-instances.js").ResourceWorkspaceLinkedElsewhereError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listResourceInstances", "GET", "/v1/resource-domains/:resourceDomainId/instances", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
727
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceRuntimeUnsupportedError | typeof import("./resource-instances.js").ResourceDomainNotActiveError | typeof import("./resource-instances.js").ResourceWorkspaceNotFoundError | typeof import("./resource-instances.js").ResourceWorkspaceLinkedElsewhereError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listResourceInstances", "GET", "/v1/resource-domains/:resourceDomainId/instances", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
727
728
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
728
729
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
729
730
|
readonly archived: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["true", "false"]>>;
|
|
@@ -778,7 +779,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
778
779
|
readonly dockerName: import("effect/Schema").String;
|
|
779
780
|
}>>;
|
|
780
781
|
}>>;
|
|
781
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"stopResourceInstance", "POST", "/v1/resource-domains/:resourceDomainId/instances/:key/stop", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
782
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"stopResourceInstance", "POST", "/v1/resource-domains/:resourceDomainId/instances/:key/stop", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
782
783
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
783
784
|
readonly key: import("effect/Schema").brand<import("effect/Schema").String, "ResourceInstanceKey">;
|
|
784
785
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -832,7 +833,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
832
833
|
readonly name: import("effect/Schema").String;
|
|
833
834
|
readonly dockerName: import("effect/Schema").String;
|
|
834
835
|
}>>;
|
|
835
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceInstanceNotFoundError | typeof import("./resource-instances.js").ResourceRuntimeUnsupportedError | typeof import("./resource-instances.js").ResourceInstanceArchivedError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"upResourceInstance", "POST", "/v1/resource-domains/:resourceDomainId/instances/:key/up", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
836
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceInstanceNotFoundError | typeof import("./resource-instances.js").ResourceRuntimeUnsupportedError | typeof import("./resource-instances.js").ResourceInstanceArchivedError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"upResourceInstance", "POST", "/v1/resource-domains/:resourceDomainId/instances/:key/up", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
836
837
|
readonly resourceDomainId: import("effect/Schema").String;
|
|
837
838
|
readonly key: import("effect/Schema").brand<import("effect/Schema").String, "ResourceInstanceKey">;
|
|
838
839
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -887,7 +888,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
887
888
|
readonly name: import("effect/Schema").String;
|
|
888
889
|
readonly dockerName: import("effect/Schema").String;
|
|
889
890
|
}>>;
|
|
890
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceInstanceSpecRefusedError | typeof import("./resource-instances.js").ResourceRuntimeUnsupportedError | typeof import("./resource-instances.js").ResourceInstanceArchivedError | typeof import("./resource-instances.js").ResourceInstanceAliasTakenError | typeof import("./resource-instances.js").ResourceDomainNotActiveError>, RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"runs", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createRun", "POST", "/v1/runs/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
891
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceInstanceSpecRefusedError | typeof import("./resource-instances.js").ResourceRuntimeUnsupportedError | typeof import("./resource-instances.js").ResourceInstanceArchivedError | typeof import("./resource-instances.js").ResourceInstanceAliasTakenError | typeof import("./resource-instances.js").ResourceDomainNotActiveError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"runs", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createRun", "POST", "/v1/runs/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
891
892
|
readonly workspaceId: import("effect/Schema").String;
|
|
892
893
|
readonly harnessId: import("effect/Schema").String;
|
|
893
894
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -925,7 +926,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
925
926
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
926
927
|
readonly createdAt: import("effect/Schema").String;
|
|
927
928
|
readonly updatedAt: import("effect/Schema").String;
|
|
928
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.
|
|
929
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.js").BudgetExceededError | typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRun", "GET", "/v1/runs/:runId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
929
930
|
readonly runId: import("effect/Schema").String;
|
|
930
931
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
931
932
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -954,7 +955,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
954
955
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
955
956
|
readonly createdAt: import("effect/Schema").String;
|
|
956
957
|
readonly updatedAt: import("effect/Schema").String;
|
|
957
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.
|
|
958
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.js").BudgetExceededError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRunChanges", "GET", "/v1/runs/:runId/changes", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
958
959
|
readonly runId: import("effect/Schema").String;
|
|
959
960
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
960
961
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -967,7 +968,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
967
968
|
readonly diff: import("effect/Schema").String;
|
|
968
969
|
readonly available: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
969
970
|
readonly unavailableReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
970
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRunEvent", "GET", "/v1/runs/:runId/events/:sequence", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
971
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRunEvent", "GET", "/v1/runs/:runId/events/:sequence", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
971
972
|
readonly runId: import("effect/Schema").String;
|
|
972
973
|
readonly sequence: import("effect/Schema").String;
|
|
973
974
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
@@ -989,7 +990,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
989
990
|
readonly payloadCase: import("effect/Schema").String;
|
|
990
991
|
readonly payload: import("effect/Schema").Unknown;
|
|
991
992
|
readonly ingestedAt: import("effect/Schema").String;
|
|
992
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRunLoss", "GET", "/v1/runs/:runId/loss", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
993
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRunLoss", "GET", "/v1/runs/:runId/loss", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
993
994
|
readonly runId: import("effect/Schema").String;
|
|
994
995
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
995
996
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1007,7 +1008,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1007
1008
|
readonly detectedVia: import("effect/Schema").Literals<readonly ["marker", "gap"]>;
|
|
1008
1009
|
readonly reason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1009
1010
|
}>>;
|
|
1010
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRunScrollback", "GET", "/v1/runs/:runId/scrollback", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1011
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRunScrollback", "GET", "/v1/runs/:runId/scrollback", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1011
1012
|
readonly runId: import("effect/Schema").String;
|
|
1012
1013
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1013
1014
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1021,7 +1022,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1021
1022
|
readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
|
|
1022
1023
|
readonly byteCount: import("effect/Schema").Number;
|
|
1023
1024
|
readonly contentBase64: import("effect/Schema").String;
|
|
1024
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRunTimeline", "GET", "/v1/runs/:runId/timeline", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1025
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRunTimeline", "GET", "/v1/runs/:runId/timeline", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1025
1026
|
readonly runId: import("effect/Schema").String;
|
|
1026
1027
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1027
1028
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1041,7 +1042,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1041
1042
|
readonly captureMethod: import("effect/Schema").Number;
|
|
1042
1043
|
readonly confidence: import("effect/Schema").Number;
|
|
1043
1044
|
}>>;
|
|
1044
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listRuns", "GET", "/v1/runs/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1045
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listRuns", "GET", "/v1/runs/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1045
1046
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1046
1047
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1047
1048
|
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
|
|
@@ -1073,7 +1074,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1073
1074
|
readonly createdAt: import("effect/Schema").String;
|
|
1074
1075
|
readonly updatedAt: import("effect/Schema").String;
|
|
1075
1076
|
}>>;
|
|
1076
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"updateRun", "PATCH", "/v1/runs/:runId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1077
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"updateRun", "PATCH", "/v1/runs/:runId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1077
1078
|
readonly runId: import("effect/Schema").String;
|
|
1078
1079
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1079
1080
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1112,7 +1113,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1112
1113
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1113
1114
|
readonly createdAt: import("effect/Schema").String;
|
|
1114
1115
|
readonly updatedAt: import("effect/Schema").String;
|
|
1115
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"sessions", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"closeSession", "POST", "/v1/sessions/:sessionId/close", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1116
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"sessions", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"closeSession", "POST", "/v1/sessions/:sessionId/close", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1116
1117
|
readonly sessionId: import("effect/Schema").String;
|
|
1117
1118
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1118
1119
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1138,7 +1139,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1138
1139
|
readonly outputHighWater: import("effect/Schema").String;
|
|
1139
1140
|
readonly createdAt: import("effect/Schema").String;
|
|
1140
1141
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1141
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createSession", "POST", "/v1/sessions/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1142
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createSession", "POST", "/v1/sessions/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1142
1143
|
readonly workspaceId: import("effect/Schema").String;
|
|
1143
1144
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1144
1145
|
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
@@ -1172,7 +1173,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1172
1173
|
readonly outputHighWater: import("effect/Schema").String;
|
|
1173
1174
|
readonly createdAt: import("effect/Schema").String;
|
|
1174
1175
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1175
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createSessionAsUser", "POST", "/v1/sessions/as-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1176
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createSessionAsUser", "POST", "/v1/sessions/as-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1176
1177
|
readonly workspaceId: import("effect/Schema").String;
|
|
1177
1178
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1178
1179
|
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
@@ -1206,7 +1207,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1206
1207
|
readonly outputHighWater: import("effect/Schema").String;
|
|
1207
1208
|
readonly createdAt: import("effect/Schema").String;
|
|
1208
1209
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1209
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/v1/sessions/:sessionId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1210
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/v1/sessions/:sessionId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1210
1211
|
readonly sessionId: import("effect/Schema").String;
|
|
1211
1212
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1212
1213
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1232,7 +1233,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1232
1233
|
readonly outputHighWater: import("effect/Schema").String;
|
|
1233
1234
|
readonly createdAt: import("effect/Schema").String;
|
|
1234
1235
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1235
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getSessionOutput", "GET", "/v1/sessions/:sessionId/output", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1236
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getSessionOutput", "GET", "/v1/sessions/:sessionId/output", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1236
1237
|
readonly sessionId: import("effect/Schema").String;
|
|
1237
1238
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1238
1239
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1248,7 +1249,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1248
1249
|
}>>;
|
|
1249
1250
|
readonly nextFrom: import("effect/Schema").String;
|
|
1250
1251
|
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
1251
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listSessions", "GET", "/v1/sessions/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1252
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listSessions", "GET", "/v1/sessions/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1252
1253
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1253
1254
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1254
1255
|
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>>;
|
|
@@ -1277,7 +1278,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1277
1278
|
readonly createdAt: import("effect/Schema").String;
|
|
1278
1279
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1279
1280
|
}>>;
|
|
1280
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"resizeSession", "POST", "/v1/sessions/:sessionId/resize", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1281
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"resizeSession", "POST", "/v1/sessions/:sessionId/resize", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1281
1282
|
readonly sessionId: import("effect/Schema").String;
|
|
1282
1283
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1283
1284
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1287,7 +1288,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1287
1288
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1288
1289
|
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1289
1290
|
readonly ok: import("effect/Schema").Boolean;
|
|
1290
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"sendSessionInput", "POST", "/v1/sessions/:sessionId/input", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1291
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"sendSessionInput", "POST", "/v1/sessions/:sessionId/input", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1291
1292
|
readonly sessionId: import("effect/Schema").String;
|
|
1292
1293
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1293
1294
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1296,7 +1297,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1296
1297
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1297
1298
|
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1298
1299
|
readonly ok: import("effect/Schema").Boolean;
|
|
1299
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"signalSession", "POST", "/v1/sessions/:sessionId/signal", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1300
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"signalSession", "POST", "/v1/sessions/:sessionId/signal", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1300
1301
|
readonly sessionId: import("effect/Schema").String;
|
|
1301
1302
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1302
1303
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1305,7 +1306,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1305
1306
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1306
1307
|
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1307
1308
|
readonly ok: import("effect/Schema").Boolean;
|
|
1308
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"sshKeys", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1309
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"sshKeys", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1309
1310
|
readonly sshKeyId: import("effect/Schema").String;
|
|
1310
1311
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1311
1312
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1316,7 +1317,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1316
1317
|
readonly algorithm: import("effect/Schema").String;
|
|
1317
1318
|
readonly fingerprint: import("effect/Schema").String;
|
|
1318
1319
|
readonly createdAt: import("effect/Schema").String;
|
|
1319
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createSshKey", "POST", "/v1/ssh-keys/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1320
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createSshKey", "POST", "/v1/ssh-keys/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1320
1321
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1321
1322
|
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1322
1323
|
readonly publicKey: import("effect/Schema").String;
|
|
@@ -1327,7 +1328,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1327
1328
|
readonly algorithm: import("effect/Schema").String;
|
|
1328
1329
|
readonly fingerprint: import("effect/Schema").String;
|
|
1329
1330
|
readonly createdAt: import("effect/Schema").String;
|
|
1330
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./ssh-keys.js").SshKeyBadRequestError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyConflictError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listSshKeys", "GET", "/v1/ssh-keys/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1331
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./ssh-keys.js").SshKeyBadRequestError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyConflictError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listSshKeys", "GET", "/v1/ssh-keys/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1331
1332
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1332
1333
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1333
1334
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -1338,7 +1339,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1338
1339
|
readonly fingerprint: import("effect/Schema").String;
|
|
1339
1340
|
readonly createdAt: import("effect/Schema").String;
|
|
1340
1341
|
}>>;
|
|
1341
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"resolveSshPrincipal", "POST", "/v1/ssh-keys/resolve-principal", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1342
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"resolveSshPrincipal", "POST", "/v1/ssh-keys/resolve-principal", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1342
1343
|
readonly algo: import("effect/Schema").String;
|
|
1343
1344
|
readonly publicKeyBase64: import("effect/Schema").String;
|
|
1344
1345
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
@@ -1347,7 +1348,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1347
1348
|
readonly principalId: import("effect/Schema").String;
|
|
1348
1349
|
readonly sshKeyId: import("effect/Schema").String;
|
|
1349
1350
|
readonly fingerprint: import("effect/Schema").String;
|
|
1350
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./ssh-keys.js").SshKeyUnauthorizedError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyServiceUnavailableError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"system", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getIndex", "GET", "/", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1351
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./ssh-keys.js").SshKeyUnauthorizedError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyServiceUnavailableError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"system", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getIndex", "GET", "/", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1351
1352
|
readonly name: import("effect/Schema").String;
|
|
1352
1353
|
readonly version: import("effect/Schema").String;
|
|
1353
1354
|
readonly docsPath: import("effect/Schema").String;
|
|
@@ -1368,18 +1369,18 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1368
1369
|
readonly credentialPlacements: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1369
1370
|
readonly connectedAccountApiKeys: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1370
1371
|
}>>;
|
|
1371
|
-
}>>, never, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getSetupState", "GET", "/v1/system/setup-state", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1372
|
+
}>>, never, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getSetupState", "GET", "/v1/system/setup-state", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1372
1373
|
readonly needsSetup: import("effect/Schema").Boolean;
|
|
1373
1374
|
readonly sshGateway: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
1374
1375
|
readonly host: import("effect/Schema").String;
|
|
1375
1376
|
readonly port: import("effect/Schema").Number;
|
|
1376
1377
|
readonly usernamePrefix: import("effect/Schema").String;
|
|
1377
1378
|
}>>;
|
|
1378
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./system.js").SystemInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"health", "GET", "/healthz", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1379
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./system.js").SystemInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"health", "GET", "/healthz", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1379
1380
|
readonly status: import("effect/Schema").Literal<"ok">;
|
|
1380
|
-
}>>, never, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"ready", "GET", "/readyz", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1381
|
+
}>>, never, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"ready", "GET", "/readyz", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1381
1382
|
readonly status: import("effect/Schema").Literal<"ok">;
|
|
1382
|
-
}>>, never, RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"users", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"bindUserPerson", "POST", "/v1/users/:userId/person", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1383
|
+
}>>, never, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"users", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"bindUserPerson", "POST", "/v1/users/:userId/person", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1383
1384
|
readonly userId: import("effect/Schema").String;
|
|
1384
1385
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1385
1386
|
readonly id: import("effect/Schema").String;
|
|
@@ -1393,7 +1394,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1393
1394
|
readonly home: import("effect/Schema").String;
|
|
1394
1395
|
}>;
|
|
1395
1396
|
readonly created: import("effect/Schema").Boolean;
|
|
1396
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"ensureUser", "POST", "/v1/users/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1397
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"ensureUser", "POST", "/v1/users/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1397
1398
|
readonly email: import("effect/Schema").String;
|
|
1398
1399
|
readonly name: import("effect/Schema").String;
|
|
1399
1400
|
readonly userId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1403,14 +1404,14 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1403
1404
|
readonly name: import("effect/Schema").String;
|
|
1404
1405
|
readonly createdAt: import("effect/Schema").String;
|
|
1405
1406
|
readonly created: import("effect/Schema").Boolean;
|
|
1406
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/v1/users/:userId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1407
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/v1/users/:userId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1407
1408
|
readonly userId: import("effect/Schema").String;
|
|
1408
1409
|
}>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1409
1410
|
readonly userId: import("effect/Schema").String;
|
|
1410
1411
|
readonly email: import("effect/Schema").String;
|
|
1411
1412
|
readonly name: import("effect/Schema").String;
|
|
1412
1413
|
readonly createdAt: import("effect/Schema").String;
|
|
1413
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"workspaces", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"applyWorkspaceDotfiles", "POST", "/v1/workspaces/:workspaceId/dotfiles", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1414
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"workspaces", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"applyWorkspaceDotfiles", "POST", "/v1/workspaces/:workspaceId/dotfiles", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1414
1415
|
readonly workspaceId: import("effect/Schema").String;
|
|
1415
1416
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1416
1417
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1456,7 +1457,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1456
1457
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1457
1458
|
readonly createdAt: import("effect/Schema").String;
|
|
1458
1459
|
readonly updatedAt: import("effect/Schema").String;
|
|
1459
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1460
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1460
1461
|
readonly workspaceId: import("effect/Schema").String;
|
|
1461
1462
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1462
1463
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1467,7 +1468,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1467
1468
|
readonly mountPath: import("effect/Schema").String;
|
|
1468
1469
|
readonly subpath: import("effect/Schema").String;
|
|
1469
1470
|
}>>;
|
|
1470
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"cancelWorkspaceCreate", "POST", "/v1/workspaces/idempotency-keys/:idempotencyKey/cancel", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1471
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"cancelWorkspaceCreate", "POST", "/v1/workspaces/idempotency-keys/:idempotencyKey/cancel", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1471
1472
|
readonly idempotencyKey: import("effect/Schema").String;
|
|
1472
1473
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1473
1474
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1477,14 +1478,14 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1477
1478
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1478
1479
|
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1479
1480
|
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1480
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"clearWorkspaceSshUser", "DELETE", "/v1/workspaces/:workspaceId/ssh-user", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1481
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"clearWorkspaceSshUser", "DELETE", "/v1/workspaces/:workspaceId/ssh-user", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1481
1482
|
readonly workspaceId: import("effect/Schema").String;
|
|
1482
1483
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1483
1484
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1484
1485
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1485
1486
|
readonly workspaceId: import("effect/Schema").String;
|
|
1486
1487
|
readonly sshUser: import("effect/Schema").Null;
|
|
1487
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createWorkspace", "POST", "/v1/workspaces/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1488
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createWorkspace", "POST", "/v1/workspaces/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1488
1489
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1489
1490
|
readonly registryId: import("effect/Schema").String;
|
|
1490
1491
|
readonly repository: import("effect/Schema").String;
|
|
@@ -1537,7 +1538,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1537
1538
|
}>>;
|
|
1538
1539
|
readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1539
1540
|
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1540
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.
|
|
1541
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.js").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"execWorkspace", "POST", "/v1/workspaces/:workspaceId/exec", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1541
1542
|
readonly workspaceId: import("effect/Schema").String;
|
|
1542
1543
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1543
1544
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1572,7 +1573,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1572
1573
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1573
1574
|
readonly createdAt: import("effect/Schema").String;
|
|
1574
1575
|
readonly updatedAt: import("effect/Schema").String;
|
|
1575
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"execWorkspaceAsUser", "POST", "/v1/workspaces/:workspaceId/exec-as-user", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1576
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"execWorkspaceAsUser", "POST", "/v1/workspaces/:workspaceId/exec-as-user", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1576
1577
|
readonly workspaceId: import("effect/Schema").String;
|
|
1577
1578
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1578
1579
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1607,7 +1608,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1607
1608
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1608
1609
|
readonly createdAt: import("effect/Schema").String;
|
|
1609
1610
|
readonly updatedAt: import("effect/Schema").String;
|
|
1610
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"expireWorkspace", "POST", "/v1/workspaces/:workspaceId/expire", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1611
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"expireWorkspace", "POST", "/v1/workspaces/:workspaceId/expire", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1611
1612
|
readonly workspaceId: import("effect/Schema").String;
|
|
1612
1613
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1613
1614
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1615,7 +1616,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1615
1616
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1616
1617
|
readonly workspaceId: import("effect/Schema").String;
|
|
1617
1618
|
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1618
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"flushWorkspaceCapture", "POST", "/v1/workspaces/:workspaceId/capture/flush", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1619
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"flushWorkspaceCapture", "POST", "/v1/workspaces/:workspaceId/capture/flush", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1619
1620
|
readonly workspaceId: import("effect/Schema").String;
|
|
1620
1621
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1621
1622
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1672,7 +1673,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1672
1673
|
readonly boundMs: import("effect/Schema").Number;
|
|
1673
1674
|
}>>;
|
|
1674
1675
|
readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1675
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getWorkspace", "GET", "/v1/workspaces/:workspaceId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1676
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getWorkspace", "GET", "/v1/workspaces/:workspaceId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1676
1677
|
readonly workspaceId: import("effect/Schema").String;
|
|
1677
1678
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1678
1679
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1769,7 +1770,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1769
1770
|
}>>;
|
|
1770
1771
|
}>>;
|
|
1771
1772
|
}>>;
|
|
1772
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1773
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1773
1774
|
readonly workspaceId: import("effect/Schema").String;
|
|
1774
1775
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1775
1776
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1823,7 +1824,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1823
1824
|
readonly boundMs: import("effect/Schema").Number;
|
|
1824
1825
|
}>>;
|
|
1825
1826
|
readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1826
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCreate", "GET", "/v1/workspaces/idempotency-keys/:idempotencyKey", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1827
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCreate", "GET", "/v1/workspaces/idempotency-keys/:idempotencyKey", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1827
1828
|
readonly idempotencyKey: import("effect/Schema").String;
|
|
1828
1829
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1829
1830
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1833,7 +1834,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1833
1834
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1834
1835
|
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1835
1836
|
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1836
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1837
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1837
1838
|
readonly workspaceId: import("effect/Schema").String;
|
|
1838
1839
|
}>>, never, never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1839
1840
|
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1852,7 +1853,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1852
1853
|
}>;
|
|
1853
1854
|
readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1854
1855
|
readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1855
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceUnauthorizedError | typeof import("./workspaces.js").WorkspaceSshKeyNoLongerRegisteredError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"inspectWorkspaceImage", "POST", "/v1/workspaces/image", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1856
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceUnauthorizedError | typeof import("./workspaces.js").WorkspaceSshKeyNoLongerRegisteredError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"inspectWorkspaceImage", "POST", "/v1/workspaces/image", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1856
1857
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1857
1858
|
readonly registryId: import("effect/Schema").String;
|
|
1858
1859
|
readonly spec: import("effect/Schema").Unknown;
|
|
@@ -1877,7 +1878,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1877
1878
|
readonly runtime: import("effect/Schema").String;
|
|
1878
1879
|
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1879
1880
|
}>;
|
|
1880
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceAttempts", "GET", "/v1/workspaces/:workspaceId/attempts", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1881
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceAttempts", "GET", "/v1/workspaces/:workspaceId/attempts", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1881
1882
|
readonly workspaceId: import("effect/Schema").String;
|
|
1882
1883
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1883
1884
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1924,7 +1925,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1924
1925
|
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1925
1926
|
readonly durationMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1926
1927
|
}>>;
|
|
1927
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceCredentials", "GET", "/v1/workspaces/:workspaceId/credentials", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1928
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceCredentials", "GET", "/v1/workspaces/:workspaceId/credentials", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1928
1929
|
readonly workspaceId: import("effect/Schema").String;
|
|
1929
1930
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1930
1931
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1971,7 +1972,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1971
1972
|
}>>;
|
|
1972
1973
|
}>;
|
|
1973
1974
|
}>>;
|
|
1974
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceEvents", "GET", "/v1/workspaces/:workspaceId/events", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1975
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceEvents", "GET", "/v1/workspaces/:workspaceId/events", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1975
1976
|
readonly workspaceId: import("effect/Schema").String;
|
|
1976
1977
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1977
1978
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1986,7 +1987,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1986
1987
|
readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1987
1988
|
readonly data: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1988
1989
|
}>>;
|
|
1989
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaces", "GET", "/v1/workspaces/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1990
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaces", "GET", "/v1/workspaces/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
1990
1991
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1991
1992
|
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>>;
|
|
1992
1993
|
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -2044,7 +2045,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2044
2045
|
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2045
2046
|
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2046
2047
|
}>>;
|
|
2047
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"pruneWorkspaceCredentials", "POST", "/v1/workspaces/:workspaceId/credentials/prune", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2048
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"pruneWorkspaceCredentials", "POST", "/v1/workspaces/:workspaceId/credentials/prune", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2048
2049
|
readonly workspaceId: import("effect/Schema").String;
|
|
2049
2050
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2050
2051
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -2093,7 +2094,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2093
2094
|
}>>;
|
|
2094
2095
|
}>;
|
|
2095
2096
|
}>>;
|
|
2096
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"putWorkspaceCredentials", "POST", "/v1/workspaces/:workspaceId/credentials", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2097
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"putWorkspaceCredentials", "POST", "/v1/workspaces/:workspaceId/credentials", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2097
2098
|
readonly workspaceId: import("effect/Schema").String;
|
|
2098
2099
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2099
2100
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -2156,7 +2157,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2156
2157
|
readonly code: import("effect/Schema").Literals<readonly ["connected-account-missing", "connected-account-invalid", "connected-account-unsupported", "login-file-unusable"]>;
|
|
2157
2158
|
readonly message: import("effect/Schema").String;
|
|
2158
2159
|
}>>>;
|
|
2159
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"recoverWorkspace", "POST", "/v1/workspaces/:workspaceId/recover", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2160
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"recoverWorkspace", "POST", "/v1/workspaces/:workspaceId/recover", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2160
2161
|
readonly workspaceId: import("effect/Schema").String;
|
|
2161
2162
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2162
2163
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -2164,7 +2165,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2164
2165
|
readonly workspaceId: import("effect/Schema").String;
|
|
2165
2166
|
readonly state: import("effect/Schema").Literals<readonly ["requested", "not-retained"]>;
|
|
2166
2167
|
readonly recoverable: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
2167
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"releaseWorkspaceCredentials", "DELETE", "/v1/workspaces/:workspaceId/credentials", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2168
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"releaseWorkspaceCredentials", "DELETE", "/v1/workspaces/:workspaceId/credentials", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2168
2169
|
readonly workspaceId: import("effect/Schema").String;
|
|
2169
2170
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2170
2171
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -2174,7 +2175,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2174
2175
|
readonly runId: import("effect/Schema").String;
|
|
2175
2176
|
readonly home: import("effect/Schema").String;
|
|
2176
2177
|
readonly released: import("effect/Schema").Boolean;
|
|
2177
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"renameWorkspace", "PATCH", "/v1/workspaces/:workspaceId/name", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2178
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"renameWorkspace", "PATCH", "/v1/workspaces/:workspaceId/name", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2178
2179
|
readonly workspaceId: import("effect/Schema").String;
|
|
2179
2180
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2180
2181
|
readonly name: import("effect/Schema").String;
|
|
@@ -2183,7 +2184,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2183
2184
|
readonly workspaceId: import("effect/Schema").String;
|
|
2184
2185
|
readonly name: import("effect/Schema").String;
|
|
2185
2186
|
readonly updatedAt: import("effect/Schema").String;
|
|
2186
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"replanWorkspaceCapture", "POST", "/v1/workspaces/:workspaceId/capture/replan", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2187
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"replanWorkspaceCapture", "POST", "/v1/workspaces/:workspaceId/capture/replan", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2187
2188
|
readonly workspaceId: import("effect/Schema").String;
|
|
2188
2189
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2189
2190
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -2206,7 +2207,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2206
2207
|
readonly bytesSkipped: import("effect/Schema").Number;
|
|
2207
2208
|
readonly removed: import("effect/Schema").Number;
|
|
2208
2209
|
readonly unchanged: import("effect/Schema").Boolean;
|
|
2209
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"restartWorkspace", "POST", "/v1/workspaces/:workspaceId/restart", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2210
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"restartWorkspace", "POST", "/v1/workspaces/:workspaceId/restart", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2210
2211
|
readonly workspaceId: import("effect/Schema").String;
|
|
2211
2212
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2212
2213
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -2214,7 +2215,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2214
2215
|
readonly workspaceId: import("effect/Schema").String;
|
|
2215
2216
|
readonly runId: import("effect/Schema").String;
|
|
2216
2217
|
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
2217
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.
|
|
2218
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.js").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"stopWorkspace", "POST", "/v1/workspaces/:workspaceId/stop", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2218
2219
|
readonly workspaceId: import("effect/Schema").String;
|
|
2219
2220
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2220
2221
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -2241,4 +2242,4 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2241
2242
|
readonly outcome: import("effect/Schema").Literals<readonly ["accepted", "ignored"]>;
|
|
2242
2243
|
readonly detail: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2243
2244
|
}>>;
|
|
2244
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never>, false>>;
|
|
2245
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestBudget | RequestRefusal, never>, false>>;
|