@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.
- package/dist/api/generated/apis/applications-variables-api.d.ts +2 -0
- package/dist/api/generated/apis/applications-variables-api.js +2 -0
- package/dist/api/generated/apis/services-variables-api.d.ts +2 -0
- package/dist/api/generated/apis/services-variables-api.js +2 -0
- package/dist/api/generated/models/action-pipeline-create.d.ts +8 -2
- package/dist/api/generated/models/deployment-application-create.d.ts +4 -4
- package/package.json +2 -2
|
@@ -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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
36
|
+
source_type?: string;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
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
|
-
|
|
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.
|
|
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
|
|
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",
|