@devopness/sdk-js 2.154.0 → 2.155.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.
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { EnvironmentType } from './environment-type';
13
13
  import { ProjectRelation } from './project-relation';
14
+ import { TeamMembershipRelation } from './team-membership-relation';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -77,4 +78,10 @@ export interface ArchivedEnvironmentRelation {
77
78
  * @memberof ArchivedEnvironmentRelation
78
79
  */
79
80
  project: ProjectRelation | null;
81
+ /**
82
+ *
83
+ * @type {Array<TeamMembershipRelation>}
84
+ * @memberof ArchivedEnvironmentRelation
85
+ */
86
+ team_memberships?: Array<TeamMembershipRelation>;
80
87
  }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { EnvironmentType } from './environment-type';
13
13
  import { ProjectRelation } from './project-relation';
14
+ import { TeamMembershipRelation } from './team-membership-relation';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -77,4 +78,10 @@ export interface EnvironmentRelation {
77
78
  * @memberof EnvironmentRelation
78
79
  */
79
80
  project: ProjectRelation | null;
81
+ /**
82
+ *
83
+ * @type {Array<TeamMembershipRelation>}
84
+ * @memberof EnvironmentRelation
85
+ */
86
+ team_memberships?: Array<TeamMembershipRelation>;
80
87
  }
@@ -71,12 +71,6 @@ export interface PipelineRelation {
71
71
  * @memberof PipelineRelation
72
72
  */
73
73
  operation_human_readable: string;
74
- /**
75
- * Indicates if the pipeline was auto_generated by `Devopness` itself
76
- * @type {boolean}
77
- * @memberof PipelineRelation
78
- */
79
- is_auto_generated: boolean;
80
74
  /**
81
75
  * Maximum number of actions that can run in parallel for this pipeline. `0` means no limit of simultaneous actions. `1` means just a single action will be started at a time to run this pipeline.
82
76
  * @type {number}
@@ -24,11 +24,11 @@ export interface PipelineSettings {
24
24
  */
25
25
  max_pipelines_per_resource?: number;
26
26
  /**
27
- *
27
+ * Indicates whether the user has permission to manage the pipeline for the resource operation
28
28
  * @type {boolean}
29
29
  * @memberof PipelineSettings
30
30
  */
31
- allow_custom_steps?: boolean;
31
+ is_user_managed?: boolean;
32
32
  /**
33
33
  * The list of pipeline setting stage
34
34
  * @type {Array<PipelineSettingsStage>}
@@ -73,12 +73,6 @@ export interface Pipeline {
73
73
  * @memberof Pipeline
74
74
  */
75
75
  operation_human_readable: string;
76
- /**
77
- * Indicates if the pipeline was auto_generated by `Devopness` itself
78
- * @type {boolean}
79
- * @memberof Pipeline
80
- */
81
- is_auto_generated: boolean;
82
76
  /**
83
77
  * Maximum number of actions that can run in parallel for this pipeline. `0` means no limit of simultaneous actions. `1` means just a single action will be started at a time to run this pipeline.
84
78
  * @type {number}
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { ActionRelation } from './action-relation';
13
13
  import { ActionStatus } from './action-status';
14
- import { Credential } from './credential';
14
+ import { CredentialRelation } from './credential-relation';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -56,10 +56,10 @@ export interface ServerRelation {
56
56
  provider_name_human_readable: string;
57
57
  /**
58
58
  *
59
- * @type {Credential}
59
+ * @type {CredentialRelation}
60
60
  * @memberof ServerRelation
61
61
  */
62
- credential?: Credential;
62
+ credential: CredentialRelation | null;
63
63
  /**
64
64
  * The region in which the server is located
65
65
  * @type {string}
@@ -15,12 +15,6 @@
15
15
  * @interface ServiceGetStatus
16
16
  */
17
17
  export interface ServiceGetStatus {
18
- /**
19
- * The ID of the environment this service is running in.
20
- * @type {number}
21
- * @memberof ServiceGetStatus
22
- */
23
- environment_id: number;
24
18
  /**
25
19
  * List of valid resource IDs
26
20
  * @type {Array<number>}
@@ -15,12 +15,6 @@
15
15
  * @interface ServiceReload
16
16
  */
17
17
  export interface ServiceReload {
18
- /**
19
- * The ID of the environment this service is running in.
20
- * @type {number}
21
- * @memberof ServiceReload
22
- */
23
- environment_id: number;
24
18
  /**
25
19
  * List of valid resource IDs
26
20
  * @type {Array<number>}
@@ -15,12 +15,6 @@
15
15
  * @interface ServiceRestart
16
16
  */
17
17
  export interface ServiceRestart {
18
- /**
19
- * The ID of the environment this service is running in.
20
- * @type {number}
21
- * @memberof ServiceRestart
22
- */
23
- environment_id: number;
24
18
  /**
25
19
  * List of valid resource IDs
26
20
  * @type {Array<number>}
@@ -15,12 +15,6 @@
15
15
  * @interface ServiceStart
16
16
  */
17
17
  export interface ServiceStart {
18
- /**
19
- * The ID of the environment this service is running in.
20
- * @type {number}
21
- * @memberof ServiceStart
22
- */
23
- environment_id: number;
24
18
  /**
25
19
  * List of valid resource IDs
26
20
  * @type {Array<number>}
@@ -15,12 +15,6 @@
15
15
  * @interface ServiceStop
16
16
  */
17
17
  export interface ServiceStop {
18
- /**
19
- * The ID of the environment this service is running in.
20
- * @type {number}
21
- * @memberof ServiceStop
22
- */
23
- environment_id: number;
24
18
  /**
25
19
  * List of valid resource IDs
26
20
  * @type {Array<number>}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@devopness/sdk-js",
4
- "version": "2.154.0",
4
+ "version": "2.155.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -54,7 +54,7 @@
54
54
  "@eslint/js": "^9.19.0",
55
55
  "@openapitools/openapi-generator-cli": "^2.16.3",
56
56
  "@types/jest": "^29.5.12",
57
- "@typescript-eslint/parser": "^8.21.0",
57
+ "@typescript-eslint/parser": "^8.23.0",
58
58
  "axios-mock-adapter": "^2.1.0",
59
59
  "eslint": "^9.19.0",
60
60
  "eslint-import-resolver-typescript": "^3.7.0",
@@ -66,7 +66,7 @@
66
66
  "ts-jest": "^29.2.3",
67
67
  "typedoc": "^0.27.6",
68
68
  "typescript": "^5.7.3",
69
- "typescript-eslint": "^8.22.0"
69
+ "typescript-eslint": "^8.23.0"
70
70
  },
71
71
  "dependencies": {
72
72
  "@types/parse-link-header": "^2.0.3",