@sealant/api-contracts-next 0.39.0-next.693 → 0.39.0-next.695

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.
@@ -462,7 +462,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
462
462
  readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
463
463
  readonly createdAt: import("effect/Schema").String;
464
464
  readonly updatedAt: import("effect/Schema").String;
465
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunChanges", "GET", "/v1/runs/:runId/changes", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
465
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunChanges", "GET", "/v1/runs/:runId/changes", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
466
466
  readonly runId: import("effect/Schema").String;
467
467
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
468
468
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -380,7 +380,7 @@ export declare const RunsGroup: HttpApiGroup.HttpApiGroup<"runs", HttpApiEndpoin
380
380
  readonly recordDeletedAt: Schema.optional<Schema.String>;
381
381
  readonly createdAt: Schema.String;
382
382
  readonly updatedAt: Schema.String;
383
- }>>, HttpApiEndpoint.Json<typeof RunNotFoundError | typeof RunInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getRunChanges", "GET", "/:runId/changes", HttpApiEndpoint.StringTree<Schema.Struct<{
383
+ }>>, HttpApiEndpoint.Json<typeof BudgetExceededError | typeof RunNotFoundError | typeof RunInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getRunChanges", "GET", "/:runId/changes", HttpApiEndpoint.StringTree<Schema.Struct<{
384
384
  readonly runId: Schema.String;
385
385
  }>>, HttpApiEndpoint.StringTree<Schema.Struct<{
386
386
  readonly ownerUserId: Schema.optional<Schema.String>;
@@ -258,7 +258,8 @@ export const RunsGroup = HttpApiGroup.make("runs")
258
258
  params: runIdParams,
259
259
  query: runOwnerQuerySchema,
260
260
  success: runSchema,
261
- error: [RunNotFoundError, RunInternalServerError],
261
+ // The per-credential request budget answers 429 before any handler runs.
262
+ error: [BudgetExceededError, RunNotFoundError, RunInternalServerError],
262
263
  }))
263
264
  .add(HttpApiEndpoint.patch("updateRun", "/:runId", {
264
265
  params: runIdParams,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sealant/api-contracts-next",
3
- "version": "0.39.0-next.693",
3
+ "version": "0.39.0-next.695",
4
4
  "description": "Contract-first HTTP API definitions for Sealant services",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "peerDependencies": {
29
29
  "effect": ">=4.0.0-beta.85 <5"
30
30
  },
31
- "gitHead": "58bba78e17aa1040d344fb58fd519764f74fa760",
31
+ "gitHead": "597db621e15babf1e340030bfe19d5786b43d626",
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  }