@devopness/sdk-js 2.110.0 → 2.112.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.
@@ -20,6 +20,7 @@ import { VariableRelation } from '../../generated/models';
20
20
  export declare class ApplicationsVariablesApiService extends ApiBaseService {
21
21
  /**
22
22
  *
23
+ * @deprecated
23
24
  * @summary Create a new variable linked to an application
24
25
  * @param {number} applicationId The ID of the application.
25
26
  * @param {VariableApplicationCreate} variableApplicationCreate A JSON object containing the resource data
@@ -27,6 +28,7 @@ export declare class ApplicationsVariablesApiService extends ApiBaseService {
27
28
  addApplicationVariable(applicationId: number, variableApplicationCreate: VariableApplicationCreate): Promise<ApiResponse<Variable>>;
28
29
  /**
29
30
  *
31
+ * @deprecated
30
32
  * @summary Return a list of variables belonging to an application
31
33
  * @param {number} applicationId The ID of the application.
32
34
  * @param {number} [page] Number of the page to be retrieved
@@ -31,6 +31,7 @@ const Exceptions_1 = require("../../../common/Exceptions");
31
31
  class ApplicationsVariablesApiService extends ApiBaseService_1.ApiBaseService {
32
32
  /**
33
33
  *
34
+ * @deprecated
34
35
  * @summary Create a new variable linked to an application
35
36
  * @param {number} applicationId The ID of the application.
36
37
  * @param {VariableApplicationCreate} variableApplicationCreate A JSON object containing the resource data
@@ -51,6 +52,7 @@ class ApplicationsVariablesApiService extends ApiBaseService_1.ApiBaseService {
51
52
  }
52
53
  /**
53
54
  *
55
+ * @deprecated
54
56
  * @summary Return a list of variables belonging to an application
55
57
  * @param {number} applicationId The ID of the application.
56
58
  * @param {number} [page] Number of the page to be retrieved
@@ -20,6 +20,7 @@ import { VariableServiceCreate } from '../../generated/models';
20
20
  export declare class ServicesVariablesApiService extends ApiBaseService {
21
21
  /**
22
22
  *
23
+ * @deprecated
23
24
  * @summary Create a new variable linked to a service
24
25
  * @param {number} serviceId The ID of the service.
25
26
  * @param {VariableServiceCreate} variableServiceCreate A JSON object containing the resource data
@@ -27,6 +28,7 @@ export declare class ServicesVariablesApiService extends ApiBaseService {
27
28
  addServiceVariable(serviceId: number, variableServiceCreate: VariableServiceCreate): Promise<ApiResponse<Variable>>;
28
29
  /**
29
30
  *
31
+ * @deprecated
30
32
  * @summary Return a list of variables belonging to a service
31
33
  * @param {number} serviceId The ID of the service.
32
34
  * @param {number} [page] Number of the page to be retrieved
@@ -31,6 +31,7 @@ const Exceptions_1 = require("../../../common/Exceptions");
31
31
  class ServicesVariablesApiService extends ApiBaseService_1.ApiBaseService {
32
32
  /**
33
33
  *
34
+ * @deprecated
34
35
  * @summary Create a new variable linked to a service
35
36
  * @param {number} serviceId The ID of the service.
36
37
  * @param {VariableServiceCreate} variableServiceCreate A JSON object containing the resource data
@@ -51,6 +52,7 @@ class ServicesVariablesApiService extends ApiBaseService_1.ApiBaseService {
51
52
  }
52
53
  /**
53
54
  *
55
+ * @deprecated
54
56
  * @summary Return a list of variables belonging to a service
55
57
  * @param {number} serviceId The ID of the service.
56
58
  * @param {number} [page] Number of the page to be retrieved
@@ -22,9 +22,15 @@ export interface ActionPipelineCreate {
22
22
  */
23
23
  servers?: Array<number>;
24
24
  /**
25
- * The name of the branch from which the application source code will be retrieved and deployed. Must not be greater than 200 characters.
25
+ * The \'source type\' from which the application source code will be retrieved and deployed. It can be one of `branch`, `tag` or `commit`. If not provided, the application\'s default branch will be used. Must be one of <code>branch</code>, <code>tag</code>, or <code>commit</code>.
26
26
  * @type {string}
27
27
  * @memberof ActionPipelineCreate
28
28
  */
29
- branch?: string;
29
+ source_type?: string;
30
+ /**
31
+ * A git reference pointing to a commit in a source provider repository from which the application source code will be retrieved and deployed. It can be a branch name, tag name or a specific commit hash. Must not be greater than 200 characters.
32
+ * @type {string}
33
+ * @memberof ActionPipelineCreate
34
+ */
35
+ source_ref?: string;
30
36
  }
@@ -29,17 +29,17 @@ export interface DeploymentApplicationCreate {
29
29
  */
30
30
  type: DeploymentType;
31
31
  /**
32
- * The name of the branch from which the application source code will be retrieved and deployed.This field is required when <code>hash</code> is not present. Must not be greater than 200 characters.
32
+ * The \'source type\' from which the application source code will be retrieved and deployed. It can be one of `branch`, `tag` or `commit`. If not provided, the application\'s default branch will be used. This field is required when <code>source_ref</code> is present. Must be one of <code>branch</code>, <code>tag</code>, or <code>commit</code>.
33
33
  * @type {string}
34
34
  * @memberof DeploymentApplicationCreate
35
35
  */
36
- branch?: string;
36
+ source_type?: string;
37
37
  /**
38
- * The commit hash from which the application source code will be retrieved and deployed.This field is required when <code>branch</code> is not present. Must contain only letters and numbers. Must be at least 7 characters. Must not be greater than 40 characters.
38
+ * A git reference pointing to a commit in a source provider repository from which the application source code will be retrieved and deployed. It can be a branch name, tag name or a specific commit hash. This field is required when <code>source_type</code> is present. Must not be greater than 200 characters.
39
39
  * @type {string}
40
40
  * @memberof DeploymentApplicationCreate
41
41
  */
42
- hash?: string;
42
+ source_ref?: string;
43
43
  /**
44
44
  * The pipeline\'s ID to use for deployment.
45
45
  * @type {number}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.110.0",
3
+ "version": "2.112.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "homepage": "https://github.com/devopness/devopness#readme",
54
54
  "devDependencies": {
55
- "@openapitools/openapi-generator-cli": "^2.0.2",
55
+ "@openapitools/openapi-generator-cli": "^2.7.0",
56
56
  "@types/jest": "^27.0.1",
57
57
  "@typescript-eslint/eslint-plugin": "^5.31.0",
58
58
  "axios-mock-adapter": "^1.18.1",