@devopness/sdk-js 2.41.0 → 2.42.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-user-profile-options-api.d.ts +24 -0
- package/dist/api/generated/apis/static-data-user-profile-options-api.js +44 -0
- package/dist/api/generated/models/billing.d.ts +31 -0
- package/dist/api/generated/models/billing.js +14 -0
- package/dist/api/generated/models/index.d.ts +2 -0
- package/dist/api/generated/models/index.js +2 -0
- package/dist/api/generated/models/subscription-plan.d.ts +10 -4
- package/dist/api/generated/models/user-profile-options.d.ts +37 -0
- package/dist/api/generated/models/user-profile-options.js +14 -0
- package/dist/api/generated/models/variable-target.d.ts +1 -1
- package/dist/api/generated/models/variable-target.js +1 -1
- 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 { UserProfileOptions } from '../../generated/models';
|
|
15
|
+
/**
|
|
16
|
+
* StaticDataUserProfileOptionsApiService - Auto-generated
|
|
17
|
+
*/
|
|
18
|
+
export declare class StaticDataUserProfileOptionsApiService extends ApiBaseService {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @summary List `User profile` options
|
|
22
|
+
*/
|
|
23
|
+
getStaticUserProfileOptions(): Promise<ApiResponse<UserProfileOptions>>;
|
|
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.StaticDataUserProfileOptionsApiService = void 0;
|
|
25
|
+
const ApiBaseService_1 = require("../../../services/ApiBaseService");
|
|
26
|
+
const ApiResponse_1 = require("../../../common/ApiResponse");
|
|
27
|
+
/**
|
|
28
|
+
* StaticDataUserProfileOptionsApiService - Auto-generated
|
|
29
|
+
*/
|
|
30
|
+
class StaticDataUserProfileOptionsApiService extends ApiBaseService_1.ApiBaseService {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary List `User profile` options
|
|
34
|
+
*/
|
|
35
|
+
getStaticUserProfileOptions() {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
let queryString = '';
|
|
38
|
+
const requestUrl = '/static/user-profile-options' + (queryString ? `?${queryString}` : '');
|
|
39
|
+
const response = yield this.get(requestUrl);
|
|
40
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.StaticDataUserProfileOptionsApiService = StaticDataUserProfileOptionsApiService;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { SubscriptionPlan } from './subscription-plan';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Billing
|
|
17
|
+
*/
|
|
18
|
+
export interface Billing {
|
|
19
|
+
/**
|
|
20
|
+
* Billing management URL
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Billing
|
|
23
|
+
*/
|
|
24
|
+
management_url?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The list of subscription plans
|
|
27
|
+
* @type {Array<SubscriptionPlan>}
|
|
28
|
+
* @memberof Billing
|
|
29
|
+
*/
|
|
30
|
+
subscription_plans?: Array<SubscriptionPlan>;
|
|
31
|
+
}
|
|
@@ -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 });
|
|
@@ -24,6 +24,7 @@ export * from './application-pipeline';
|
|
|
24
24
|
export * from './application-relation';
|
|
25
25
|
export * from './application-type';
|
|
26
26
|
export * from './application-update';
|
|
27
|
+
export * from './billing';
|
|
27
28
|
export * from './blueprint-service';
|
|
28
29
|
export * from './cloud-aws-ec2-settings';
|
|
29
30
|
export * from './cloud-digital-ocean-droplet-settings';
|
|
@@ -198,6 +199,7 @@ export * from './user-create';
|
|
|
198
199
|
export * from './user-login';
|
|
199
200
|
export * from './user-login-response';
|
|
200
201
|
export * from './user-me';
|
|
202
|
+
export * from './user-profile-options';
|
|
201
203
|
export * from './user-refresh-token';
|
|
202
204
|
export * from './user-refresh-token-response';
|
|
203
205
|
export * from './user-relation';
|
|
@@ -40,6 +40,7 @@ __exportStar(require("./application-pipeline"), exports);
|
|
|
40
40
|
__exportStar(require("./application-relation"), exports);
|
|
41
41
|
__exportStar(require("./application-type"), exports);
|
|
42
42
|
__exportStar(require("./application-update"), exports);
|
|
43
|
+
__exportStar(require("./billing"), exports);
|
|
43
44
|
__exportStar(require("./blueprint-service"), exports);
|
|
44
45
|
__exportStar(require("./cloud-aws-ec2-settings"), exports);
|
|
45
46
|
__exportStar(require("./cloud-digital-ocean-droplet-settings"), exports);
|
|
@@ -214,6 +215,7 @@ __exportStar(require("./user-create"), exports);
|
|
|
214
215
|
__exportStar(require("./user-login"), exports);
|
|
215
216
|
__exportStar(require("./user-login-response"), exports);
|
|
216
217
|
__exportStar(require("./user-me"), exports);
|
|
218
|
+
__exportStar(require("./user-profile-options"), exports);
|
|
217
219
|
__exportStar(require("./user-refresh-token"), exports);
|
|
218
220
|
__exportStar(require("./user-refresh-token-response"), exports);
|
|
219
221
|
__exportStar(require("./user-relation"), exports);
|
|
@@ -16,15 +16,21 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface SubscriptionPlan {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
*
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof SubscriptionPlan
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
provider_plan_id?: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof SubscriptionPlan
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
human_readable?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof SubscriptionPlan
|
|
34
|
+
*/
|
|
35
|
+
allow_subscriptions?: boolean;
|
|
30
36
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { Billing } from './billing';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserProfileOptions
|
|
17
|
+
*/
|
|
18
|
+
export interface UserProfileOptions {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Billing}
|
|
22
|
+
* @memberof UserProfileOptions
|
|
23
|
+
*/
|
|
24
|
+
billing: Billing;
|
|
25
|
+
/**
|
|
26
|
+
* Supported languages
|
|
27
|
+
* @type {Array<string>}
|
|
28
|
+
* @memberof UserProfileOptions
|
|
29
|
+
*/
|
|
30
|
+
languages: Array<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Supported time zones
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof UserProfileOptions
|
|
35
|
+
*/
|
|
36
|
+
timezones: Array<string>;
|
|
37
|
+
}
|
|
@@ -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 });
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
export declare enum VariableTarget {
|
|
18
18
|
ResourceConfigFile = "resource-config-file",
|
|
19
19
|
MyCnf = "my-cnf",
|
|
20
|
-
|
|
20
|
+
NewrelicInfraYml = "newrelic-infra-yml",
|
|
21
21
|
NginxConf = "nginx-conf",
|
|
22
22
|
OsEnvVar = "os-env-var",
|
|
23
23
|
PhpCliPhpIni = "php-cli_php-ini",
|
|
@@ -22,7 +22,7 @@ var VariableTarget;
|
|
|
22
22
|
(function (VariableTarget) {
|
|
23
23
|
VariableTarget["ResourceConfigFile"] = "resource-config-file";
|
|
24
24
|
VariableTarget["MyCnf"] = "my-cnf";
|
|
25
|
-
VariableTarget["
|
|
25
|
+
VariableTarget["NewrelicInfraYml"] = "newrelic-infra-yml";
|
|
26
26
|
VariableTarget["NginxConf"] = "nginx-conf";
|
|
27
27
|
VariableTarget["OsEnvVar"] = "os-env-var";
|
|
28
28
|
VariableTarget["PhpCliPhpIni"] = "php-cli_php-ini";
|