@distr-sh/distr-sdk 4.2.0 → 4.3.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,3 +1,4 @@
1
+ import { ApplicationVersion, VersioningStrategy } from './application';
1
2
  import { DeploymentType } from './deployment';
2
3
  export type AdvisoryStatus = 'triage' | 'draft' | 'published' | 'resolved' | 'canceled';
3
4
  export type AdvisorySeverity = 'none' | 'low' | 'medium' | 'high' | 'critical';
@@ -41,8 +42,8 @@ export interface AdvisoryApplicationVersion {
41
42
  applicationName: string;
42
43
  applicationType: DeploymentType;
43
44
  applicationImageUrl?: string;
44
- applicationVersionId: string;
45
- applicationVersionName: string;
45
+ applicationVersioningStrategy: VersioningStrategy;
46
+ applicationVersion: ApplicationVersion;
46
47
  relation: AdvisoryVersionRelation;
47
48
  }
48
49
  export interface AdvisoryArtifactVersion {
@@ -1,5 +1,5 @@
1
1
  import { BaseModel } from './base';
2
- export type CustomerOrganizationFeature = 'deployment_targets' | 'artifacts' | 'alerts' | 'support_bundles' | 'oidc_providers';
2
+ export type CustomerOrganizationFeature = 'deployment_targets' | 'artifacts' | 'alerts' | 'update_notifications' | 'support_bundles' | 'oidc_providers';
3
3
  export interface CustomerOrganization extends Required<BaseModel> {
4
4
  name: string;
5
5
  imageId?: string;
@@ -11,6 +11,7 @@ export interface DeploymentTarget extends BaseModel, Named {
11
11
  deployments: DeploymentWithLatestRevision[];
12
12
  agentVersion?: AgentVersion;
13
13
  reportedAgentVersionId?: string;
14
+ reconnectPending?: boolean;
14
15
  metricsEnabled: boolean;
15
16
  imageCleanupEnabled: boolean;
16
17
  deploymentLogsEnabled: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distr-sh/distr-sdk",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Distr SDK",
@@ -28,7 +28,7 @@
28
28
  "rimraf": "^6.0.1",
29
29
  "typedoc": "^0.28.0",
30
30
  "typedoc-plugin-markdown": "^4.5.0",
31
- "typescript": "^5.7.3"
31
+ "typescript": "~6.0.3"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "rimraf dist && tsc",