@cube-dev/platform-client 0.21.0 → 0.22.0

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/CHANGELOG.md CHANGED
@@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  <!-- Curate public-facing entries here before the next release. -->
11
11
 
12
+ ## [0.22.0] - 2026-10-20
13
+ ### Added
14
+
15
+ - `template` on `CreateDeploymentInput` (`POST /build/api/v1/deployments`) sets the deployment type at creation: `single` (Shared, the default), `simpleCluster` (Dedicated) or `multiCluster`, so a Dedicated deployment is created in one call. `simpleCluster` needs a paid plan. New schema: `CreateDeploymentInputTemplate`.
16
+
12
17
  ## [0.21.0] - 2026-10-17
13
18
  ### Added
14
19
 
package/dist/schema.d.ts CHANGED
@@ -855,7 +855,11 @@ export interface paths {
855
855
  path?: never;
856
856
  cookie?: never;
857
857
  };
858
- get?: never;
858
+ /**
859
+ * List evaluation runs
860
+ * @description Returns the eval runs of the deployment, newest first. Use a run id with GET /evaluations/{evaluationId} and /results. This capability is currently in preview — reach out to the Cube support team to activate it for your account.
861
+ */
862
+ get: operations["EvaluationsPublicController.listEvaluations"];
859
863
  put?: never;
860
864
  /**
861
865
  * Start an evaluation run
@@ -4456,6 +4460,8 @@ export interface components {
4456
4460
  name: string;
4457
4461
  region: string;
4458
4462
  targetPlatform: string;
4463
+ /** @description Deployment type: `single` (Shared, the default), `simpleCluster` (Dedicated) or `multiCluster`. `simpleCluster` needs a paid plan. */
4464
+ template?: components["schemas"]["CreateDeploymentInputTemplate"] | null;
4459
4465
  };
4460
4466
  /** @enum {string} */
4461
4467
  CreateDeploymentInputCloudProvider: "cubecloud" | "aws" | "gcp";
@@ -4463,6 +4469,8 @@ export interface components {
4463
4469
  CreateDeploymentInputCreationMethod: "upload" | "cubecloud" | "github" | "ssh";
4464
4470
  /** @enum {string} */
4465
4471
  CreateDeploymentInputDeployMode: "git" | "cli";
4472
+ /** @enum {string} */
4473
+ CreateDeploymentInputTemplate: "single" | "simpleCluster" | "multiCluster";
4466
4474
  CreateDeploymentTokenInput: {
4467
4475
  /** @description Token lifetime in seconds, between 60 and 86400. Omit to keep the historical default of 24 hours (86400). Callers that hold the token outside a browser session — scripts, BI tools, scheduled jobs — should request a short lifetime and re-issue tokens instead. */
4468
4476
  expiresIn?: number | null;
@@ -5781,6 +5789,10 @@ export interface components {
5781
5789
  status: string;
5782
5790
  updatedAt: string;
5783
5791
  };
5792
+ EvaluationRunsListResponse: {
5793
+ items: components["schemas"]["EvaluationRunResponse"][];
5794
+ pageInfo: components["schemas"]["PageInfo"];
5795
+ };
5784
5796
  ExportSubjectInput: {
5785
5797
  /** @description Main user email (for type=USER; provide this OR userId). For type=EMBED_USER it is the email recorded on the provisioned embed user, and the externalId is used when it is omitted. */
5786
5798
  email?: string | null;
@@ -9342,6 +9354,30 @@ export interface operations {
9342
9354
  };
9343
9355
  };
9344
9356
  };
9357
+ "EvaluationsPublicController.listEvaluations": {
9358
+ parameters: {
9359
+ query?: {
9360
+ after?: string | null;
9361
+ first?: number | null;
9362
+ };
9363
+ header?: never;
9364
+ path: {
9365
+ deploymentId: number;
9366
+ };
9367
+ cookie?: never;
9368
+ };
9369
+ requestBody?: never;
9370
+ responses: {
9371
+ 200: {
9372
+ headers: {
9373
+ [name: string]: any;
9374
+ };
9375
+ content: {
9376
+ "application/json": components["schemas"]["EvaluationRunsListResponse"];
9377
+ };
9378
+ };
9379
+ };
9380
+ };
9345
9381
  "EvaluationsPublicController.startEvaluation": {
9346
9382
  parameters: {
9347
9383
  query?: never;