@distr-sh/distr-sdk 2.6.0 → 2.7.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.
@@ -1,8 +1,10 @@
1
1
  import { BaseModel } from './base';
2
+ export type CustomerOrganizationFeature = 'deployment_targets' | 'artifacts';
2
3
  export interface CustomerOrganization extends Required<BaseModel> {
3
4
  name: string;
4
5
  imageId?: string;
5
6
  imageUrl?: string;
7
+ features: CustomerOrganizationFeature[];
6
8
  }
7
9
  export interface CustomerOrganizationWithUsage extends CustomerOrganization {
8
10
  userCount: number;
@@ -11,4 +13,5 @@ export interface CustomerOrganizationWithUsage extends CustomerOrganization {
11
13
  export interface CreateUpdateCustomerOrganizationRequest {
12
14
  name: string;
13
15
  imageId?: string;
16
+ features?: CustomerOrganizationFeature[];
14
17
  }
@@ -41,5 +41,5 @@ export interface DeploymentRevisionStatus extends BaseModel {
41
41
  export type DeploymentType = 'docker' | 'kubernetes';
42
42
  export type HelmChartType = 'repository' | 'oci';
43
43
  export type DockerType = 'compose' | 'swarm';
44
- export type DeploymentStatusType = 'ok' | 'progressing' | 'error';
44
+ export type DeploymentStatusType = 'healthy' | 'running' | 'progressing' | 'error';
45
45
  export type DeploymentTargetScope = 'cluster' | 'namespace';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distr-sh/distr-sdk",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Distr SDK",