@northflank/js-client 0.7.10 → 0.7.11

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.
@@ -4412,8 +4412,7 @@ declare class RetainAddonBackupEndpoint extends PostApiEndpoint<RetainAddonBacku
4412
4412
  }
4413
4413
 
4414
4414
  type GetAddonContainersResult = {
4415
- /** An array of containers. */
4416
- 'containers': {
4415
+ 'containers'?: {
4417
4416
  /** The name of the container. Example: "example-service-78b4d4459d-sbtn8" */
4418
4417
  'name': string;
4419
4418
  /** The timestamp the container was created. Example: 1611241087 */
@@ -7659,8 +7658,7 @@ declare class AbortJobBuildEndpoint extends DeleteApiEndpoint<AbortJobBuildReque
7659
7658
  }
7660
7659
 
7661
7660
  type GetJobContainersResult = {
7662
- /** An array of containers. */
7663
- 'containers': {
7661
+ 'containers'?: {
7664
7662
  /** The name of the container. Example: "example-service-78b4d4459d-sbtn8" */
7665
7663
  'name': string;
7666
7664
  /** The timestamp the container was created. Example: 1611241087 */
@@ -7670,6 +7668,8 @@ type GetJobContainersResult = {
7670
7668
  /** The timestamp the container was last updated. Example: 1611241087 */
7671
7669
  'updatedAt': number;
7672
7670
  }[];
7671
+ /** The id of the associated job run. Example: "00000676-9be8-41dd-b0f7-ba7df935cf27" */
7672
+ 'runId': string;
7673
7673
  };
7674
7674
  type GetJobContainersCall = (opts: GetJobContainersRequest) => Promise<ApiCallResponse<GetJobContainersResult>>;
7675
7675
  type GetJobContainersRequest = {
@@ -7688,6 +7688,8 @@ type GetJobContainersOptions = {
7688
7688
  'page'?: number;
7689
7689
  /** The cursor returned from the previous page of results, used to request the next page. */
7690
7690
  'cursor'?: string;
7691
+ /** If provided, only returns containers for this specific job run. */
7692
+ 'runId'?: string;
7691
7693
  };
7692
7694
  /** Gets a list of containers for the given job. */
7693
7695
  declare class GetJobContainersEndpoint extends GetApiEndpoint<GetJobContainersRequest, GetJobContainersResult> {
@@ -13654,8 +13656,7 @@ declare class AbortServiceBuildEndpoint extends DeleteApiEndpoint<AbortServiceBu
13654
13656
  }
13655
13657
 
13656
13658
  type GetServiceContainersResult = {
13657
- /** An array of containers. */
13658
- 'containers': {
13659
+ 'containers'?: {
13659
13660
  /** The name of the container. Example: "example-service-78b4d4459d-sbtn8" */
13660
13661
  'name': string;
13661
13662
  /** The timestamp the container was created. Example: 1611241087 */
@@ -4412,8 +4412,7 @@ declare class RetainAddonBackupEndpoint extends PostApiEndpoint<RetainAddonBacku
4412
4412
  }
4413
4413
 
4414
4414
  type GetAddonContainersResult = {
4415
- /** An array of containers. */
4416
- 'containers': {
4415
+ 'containers'?: {
4417
4416
  /** The name of the container. Example: "example-service-78b4d4459d-sbtn8" */
4418
4417
  'name': string;
4419
4418
  /** The timestamp the container was created. Example: 1611241087 */
@@ -7659,8 +7658,7 @@ declare class AbortJobBuildEndpoint extends DeleteApiEndpoint<AbortJobBuildReque
7659
7658
  }
7660
7659
 
7661
7660
  type GetJobContainersResult = {
7662
- /** An array of containers. */
7663
- 'containers': {
7661
+ 'containers'?: {
7664
7662
  /** The name of the container. Example: "example-service-78b4d4459d-sbtn8" */
7665
7663
  'name': string;
7666
7664
  /** The timestamp the container was created. Example: 1611241087 */
@@ -7670,6 +7668,8 @@ type GetJobContainersResult = {
7670
7668
  /** The timestamp the container was last updated. Example: 1611241087 */
7671
7669
  'updatedAt': number;
7672
7670
  }[];
7671
+ /** The id of the associated job run. Example: "00000676-9be8-41dd-b0f7-ba7df935cf27" */
7672
+ 'runId': string;
7673
7673
  };
7674
7674
  type GetJobContainersCall = (opts: GetJobContainersRequest) => Promise<ApiCallResponse<GetJobContainersResult>>;
7675
7675
  type GetJobContainersRequest = {
@@ -7688,6 +7688,8 @@ type GetJobContainersOptions = {
7688
7688
  'page'?: number;
7689
7689
  /** The cursor returned from the previous page of results, used to request the next page. */
7690
7690
  'cursor'?: string;
7691
+ /** If provided, only returns containers for this specific job run. */
7692
+ 'runId'?: string;
7691
7693
  };
7692
7694
  /** Gets a list of containers for the given job. */
7693
7695
  declare class GetJobContainersEndpoint extends GetApiEndpoint<GetJobContainersRequest, GetJobContainersResult> {
@@ -13654,8 +13656,7 @@ declare class AbortServiceBuildEndpoint extends DeleteApiEndpoint<AbortServiceBu
13654
13656
  }
13655
13657
 
13656
13658
  type GetServiceContainersResult = {
13657
- /** An array of containers. */
13658
- 'containers': {
13659
+ 'containers'?: {
13659
13660
  /** The name of the container. Example: "example-service-78b4d4459d-sbtn8" */
13660
13661
  'name': string;
13661
13662
  /** The timestamp the container was created. Example: 1611241087 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@northflank/js-client",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "license": "MIT",
5
5
  "author": "Marco Suter",
6
6
  "main": "dist/cjs/api-client.js",