@northflank/js-client 0.6.0 → 0.6.1

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.
@@ -1239,14 +1239,14 @@ declare class ImportAddonBackupEndpoint extends PostApiEndpoint<ImportAddonBacku
1239
1239
 
1240
1240
  declare type GetAddonContainersResult = {
1241
1241
  /** An array of containers. */
1242
- 'pods': {
1243
- /** The timestamp the pod was created. Example: 1611241087 */
1242
+ 'containers': {
1243
+ /** The name of the container. Example: "example-service-78b4d4459d-sbtn8" */
1244
+ 'name': string;
1245
+ /** The timestamp the container was created. Example: 1611241087 */
1244
1246
  'createdAt': number;
1245
- /** The name of the pod. Example: "example-service-78b4d4459d-sbtn8" */
1246
- 'podName': string;
1247
- /** The current status of the pod. Example: "TASK_RUNNING" */
1247
+ /** The current status of the container. Example: "TASK_RUNNING" */
1248
1248
  'status': 'TASK_RUNNING' | 'TASK_STARTING' | 'TASK_STAGING' | 'TASK_KILLING' | 'TASK_KILLED' | 'TASK_FAILED' | 'TASK_FINISHED';
1249
- /** The timestamp the pod was last updated. Example: 1611241087 */
1249
+ /** The timestamp the container was last updated. Example: 1611241087 */
1250
1250
  'updatedAt': number;
1251
1251
  }[];
1252
1252
  };
@@ -2010,6 +2010,8 @@ declare type GetJobRunsResult = {
2010
2010
  'succeeded': number;
2011
2011
  /** The timestamp when the job run started. Example: "2020-12-08T11:47:08Z" */
2012
2012
  'startedAt': string;
2013
+ /** The timestamp when the job run concluded. Example: "2020-12-08T11:52:08Z" */
2014
+ 'concludedAt': string;
2013
2015
  }[];
2014
2016
  };
2015
2017
  declare type GetJobRunsCall = (opts: GetJobRunsRequest) => Promise<ApiCallResponse<GetJobRunsResult>>;
@@ -2057,6 +2059,10 @@ declare type StartJobRunParameters = {
2057
2059
  declare type StartJobRunData = {
2058
2060
  /** An object containing the environment variables overrides to use when running the job. Keys must only contain letters and numbers separated with underscores, may not start with a number Example: {"VARIABLE_1":"abcdef","VARIABLE_2":"12345"} */
2059
2061
  'runtimeEnvironment'?: any;
2062
+ 'billing'?: {
2063
+ /** The ID of the deployment plan override to use. Example: "nf-compute-20" */
2064
+ 'deploymentPlan'?: string;
2065
+ };
2060
2066
  'deployment'?: {
2061
2067
  /** The CMD override to use when running the job. Example: "nginx -g" */
2062
2068
  'cmdOverride'?: string;
@@ -2124,6 +2130,8 @@ declare type GetJobRunResult = {
2124
2130
  'succeeded': number;
2125
2131
  /** The timestamp when the job run started. Example: "2020-12-08T11:47:08Z" */
2126
2132
  'startedAt': string;
2133
+ /** The timestamp when the job run concluded. Example: "2020-12-08T11:52:08Z" */
2134
+ 'concludedAt': string;
2127
2135
  };
2128
2136
  declare type GetJobRunCall = (opts: GetJobRunRequest) => Promise<ApiCallResponse<GetJobRunResult>>;
2129
2137
  declare type GetJobRunRequest = {
@@ -2883,14 +2891,14 @@ declare class UpdateJobDeploymentEndpoint extends PostApiEndpoint<UpdateJobDeplo
2883
2891
 
2884
2892
  declare type GetJobContainersResult = {
2885
2893
  /** An array of containers. */
2886
- 'pods': {
2887
- /** The timestamp the pod was created. Example: 1611241087 */
2894
+ 'containers': {
2895
+ /** The name of the container. Example: "example-service-78b4d4459d-sbtn8" */
2896
+ 'name': string;
2897
+ /** The timestamp the container was created. Example: 1611241087 */
2888
2898
  'createdAt': number;
2889
- /** The name of the pod. Example: "example-service-78b4d4459d-sbtn8" */
2890
- 'podName': string;
2891
- /** The current status of the pod. Example: "TASK_RUNNING" */
2899
+ /** The current status of the container. Example: "TASK_RUNNING" */
2892
2900
  'status': 'TASK_RUNNING' | 'TASK_STARTING' | 'TASK_STAGING' | 'TASK_KILLING' | 'TASK_KILLED' | 'TASK_FAILED' | 'TASK_FINISHED';
2893
- /** The timestamp the pod was last updated. Example: 1611241087 */
2901
+ /** The timestamp the container was last updated. Example: 1611241087 */
2894
2902
  'updatedAt': number;
2895
2903
  }[];
2896
2904
  };
@@ -5372,14 +5380,14 @@ declare class AbortServiceBuildEndpoint extends DeleteApiEndpoint<AbortServiceBu
5372
5380
 
5373
5381
  declare type GetServiceContainersResult = {
5374
5382
  /** An array of containers. */
5375
- 'pods': {
5376
- /** The timestamp the pod was created. Example: 1611241087 */
5383
+ 'containers': {
5384
+ /** The name of the container. Example: "example-service-78b4d4459d-sbtn8" */
5385
+ 'name': string;
5386
+ /** The timestamp the container was created. Example: 1611241087 */
5377
5387
  'createdAt': number;
5378
- /** The name of the pod. Example: "example-service-78b4d4459d-sbtn8" */
5379
- 'podName': string;
5380
- /** The current status of the pod. Example: "TASK_RUNNING" */
5388
+ /** The current status of the container. Example: "TASK_RUNNING" */
5381
5389
  'status': 'TASK_RUNNING' | 'TASK_STARTING' | 'TASK_STAGING' | 'TASK_KILLING' | 'TASK_KILLED' | 'TASK_FAILED' | 'TASK_FINISHED';
5382
- /** The timestamp the pod was last updated. Example: 1611241087 */
5390
+ /** The timestamp the container was last updated. Example: 1611241087 */
5383
5391
  'updatedAt': number;
5384
5392
  }[];
5385
5393
  };