@devopness/sdk-js 2.113.1 → 2.115.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/static-data-server-options-api.d.ts +24 -0
- package/dist/api/generated/apis/static-data-server-options-api.js +44 -0
- package/dist/api/generated/models/action-deployment-content.d.ts +4 -3
- package/dist/api/generated/models/action-pipeline-create.d.ts +4 -3
- package/dist/api/generated/models/index.d.ts +2 -0
- package/dist/api/generated/models/index.js +2 -0
- package/dist/api/generated/models/server-options.d.ts +25 -0
- package/dist/api/generated/models/server-options.js +14 -0
- package/dist/api/generated/models/source-type.d.ts +21 -0
- package/dist/api/generated/models/source-type.js +26 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ApiBaseService } from "../../../services/ApiBaseService";
|
|
13
|
+
import { ApiResponse } from "../../../common/ApiResponse";
|
|
14
|
+
import { ServerOptions } from '../../generated/models';
|
|
15
|
+
/**
|
|
16
|
+
* StaticDataServerOptionsApiService - Auto-generated
|
|
17
|
+
*/
|
|
18
|
+
export declare class StaticDataServerOptionsApiService extends ApiBaseService {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @summary List `Server` options
|
|
22
|
+
*/
|
|
23
|
+
getStaticServerOptions(): Promise<ApiResponse<ServerOptions>>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.StaticDataServerOptionsApiService = void 0;
|
|
25
|
+
const ApiBaseService_1 = require("../../../services/ApiBaseService");
|
|
26
|
+
const ApiResponse_1 = require("../../../common/ApiResponse");
|
|
27
|
+
/**
|
|
28
|
+
* StaticDataServerOptionsApiService - Auto-generated
|
|
29
|
+
*/
|
|
30
|
+
class StaticDataServerOptionsApiService extends ApiBaseService_1.ApiBaseService {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary List `Server` options
|
|
34
|
+
*/
|
|
35
|
+
getStaticServerOptions() {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
let queryString = '';
|
|
38
|
+
const requestUrl = '/static/server-options' + (queryString ? `?${queryString}` : '');
|
|
39
|
+
const response = yield this.get(requestUrl);
|
|
40
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.StaticDataServerOptionsApiService = StaticDataServerOptionsApiService;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { DeploymentType } from './deployment-type';
|
|
13
|
+
import { SourceType } from './source-type';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -23,11 +24,11 @@ export interface ActionDeploymentContent {
|
|
|
23
24
|
*/
|
|
24
25
|
type: DeploymentType;
|
|
25
26
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
27
|
+
*
|
|
28
|
+
* @type {SourceType}
|
|
28
29
|
* @memberof ActionDeploymentContent
|
|
29
30
|
*/
|
|
30
|
-
source_type:
|
|
31
|
+
source_type: SourceType;
|
|
31
32
|
/**
|
|
32
33
|
* 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.
|
|
33
34
|
* @type {string}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { SourceType } from './source-type';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -22,11 +23,11 @@ export interface ActionPipelineCreate {
|
|
|
22
23
|
*/
|
|
23
24
|
servers?: Array<number>;
|
|
24
25
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {
|
|
26
|
+
*
|
|
27
|
+
* @type {SourceType}
|
|
27
28
|
* @memberof ActionPipelineCreate
|
|
28
29
|
*/
|
|
29
|
-
source_type?:
|
|
30
|
+
source_type?: SourceType;
|
|
30
31
|
/**
|
|
31
32
|
* 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
33
|
* @type {string}
|
|
@@ -173,6 +173,7 @@ export * from './server-blueprint-spec';
|
|
|
173
173
|
export * from './server-cloud-service-code';
|
|
174
174
|
export * from './server-command';
|
|
175
175
|
export * from './server-environment-create';
|
|
176
|
+
export * from './server-options';
|
|
176
177
|
export * from './server-provision-input';
|
|
177
178
|
export * from './server-relation';
|
|
178
179
|
export * from './server-update';
|
|
@@ -199,6 +200,7 @@ export * from './source-provider-create';
|
|
|
199
200
|
export * from './source-provider-displayable-name';
|
|
200
201
|
export * from './source-provider-name';
|
|
201
202
|
export * from './source-provider-relation';
|
|
203
|
+
export * from './source-type';
|
|
202
204
|
export * from './ssh-key';
|
|
203
205
|
export * from './ssh-key-environment-create';
|
|
204
206
|
export * from './ssh-key-relation';
|
|
@@ -189,6 +189,7 @@ __exportStar(require("./server-blueprint-spec"), exports);
|
|
|
189
189
|
__exportStar(require("./server-cloud-service-code"), exports);
|
|
190
190
|
__exportStar(require("./server-command"), exports);
|
|
191
191
|
__exportStar(require("./server-environment-create"), exports);
|
|
192
|
+
__exportStar(require("./server-options"), exports);
|
|
192
193
|
__exportStar(require("./server-provision-input"), exports);
|
|
193
194
|
__exportStar(require("./server-relation"), exports);
|
|
194
195
|
__exportStar(require("./server-update"), exports);
|
|
@@ -215,6 +216,7 @@ __exportStar(require("./source-provider-create"), exports);
|
|
|
215
216
|
__exportStar(require("./source-provider-displayable-name"), exports);
|
|
216
217
|
__exportStar(require("./source-provider-name"), exports);
|
|
217
218
|
__exportStar(require("./source-provider-relation"), exports);
|
|
219
|
+
__exportStar(require("./source-type"), exports);
|
|
218
220
|
__exportStar(require("./ssh-key"), exports);
|
|
219
221
|
__exportStar(require("./ssh-key-environment-create"), exports);
|
|
220
222
|
__exportStar(require("./ssh-key-relation"), exports);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { VariableTargets } from './variable-targets';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ServerOptions
|
|
17
|
+
*/
|
|
18
|
+
export interface ServerOptions {
|
|
19
|
+
/**
|
|
20
|
+
* The list of VariableTarget
|
|
21
|
+
* @type {Array<VariableTargets>}
|
|
22
|
+
* @memberof ServerOptions
|
|
23
|
+
*/
|
|
24
|
+
variables_targets: Array<VariableTargets>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 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.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum SourceType {
|
|
18
|
+
Branch = "branch",
|
|
19
|
+
Commit = "commit",
|
|
20
|
+
Tag = "tag"
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.SourceType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* 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.
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var SourceType;
|
|
22
|
+
(function (SourceType) {
|
|
23
|
+
SourceType["Branch"] = "branch";
|
|
24
|
+
SourceType["Commit"] = "commit";
|
|
25
|
+
SourceType["Tag"] = "tag";
|
|
26
|
+
})(SourceType = exports.SourceType || (exports.SourceType = {}));
|