@devopness/sdk-js 2.42.0 → 2.43.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/users-api.d.ts +6 -0
- package/dist/api/generated/apis/users-api.js +12 -0
- package/dist/api/generated/models/action-triggered-from.d.ts +0 -6
- package/dist/api/generated/models/deployment-application-create.d.ts +0 -6
- package/dist/api/generated/models/index.d.ts +2 -1
- package/dist/api/generated/models/index.js +2 -1
- package/dist/api/generated/models/{billing.d.ts → static-billing-info.d.ts} +4 -10
- package/dist/api/generated/models/{billing.js → static-billing-info.js} +0 -0
- package/dist/api/generated/models/user-profile-options.d.ts +3 -3
- package/dist/api/generated/models/user-url.d.ts +24 -0
- package/dist/api/generated/models/user-url.js +14 -0
- package/package.json +1 -1
|
@@ -20,6 +20,7 @@ import { UserRefreshToken } from '../../generated/models';
|
|
|
20
20
|
import { UserRefreshTokenResponse } from '../../generated/models';
|
|
21
21
|
import { UserResendVerification } from '../../generated/models';
|
|
22
22
|
import { UserUpdate } from '../../generated/models';
|
|
23
|
+
import { UserUrl } from '../../generated/models';
|
|
23
24
|
import { UserVerify } from '../../generated/models';
|
|
24
25
|
/**
|
|
25
26
|
* UsersApiService - Auto-generated
|
|
@@ -47,6 +48,11 @@ export declare class UsersApiService extends ApiBaseService {
|
|
|
47
48
|
* @summary Get details of the current user
|
|
48
49
|
*/
|
|
49
50
|
getUserMe(): Promise<ApiResponse<UserMe>>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @summary Get the authenticated user\'s URLs
|
|
54
|
+
*/
|
|
55
|
+
getUserUrls(): Promise<ApiResponse<UserUrl>>;
|
|
50
56
|
/**
|
|
51
57
|
*
|
|
52
58
|
* @summary Login/create a new token for the given credentials
|
|
@@ -85,6 +85,18 @@ class UsersApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
85
85
|
return new ApiResponse_1.ApiResponse(response);
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @summary Get the authenticated user\'s URLs
|
|
91
|
+
*/
|
|
92
|
+
getUserUrls() {
|
|
93
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
94
|
+
let queryString = '';
|
|
95
|
+
const requestUrl = '/users/urls' + (queryString ? `?${queryString}` : '');
|
|
96
|
+
const response = yield this.get(requestUrl);
|
|
97
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
88
100
|
/**
|
|
89
101
|
*
|
|
90
102
|
* @summary Login/create a new token for the given credentials
|
|
@@ -64,10 +64,4 @@ export interface ActionTriggeredFrom {
|
|
|
64
64
|
* @memberof ActionTriggeredFrom
|
|
65
65
|
*/
|
|
66
66
|
hook_request_id: number | null;
|
|
67
|
-
/**
|
|
68
|
-
* The value defined has pull request ID on triggering a deployment.
|
|
69
|
-
* @type {number}
|
|
70
|
-
* @memberof ActionTriggeredFrom
|
|
71
|
-
*/
|
|
72
|
-
pull_request_id: number | null;
|
|
73
67
|
}
|
|
@@ -46,12 +46,6 @@ export interface DeploymentApplicationCreate {
|
|
|
46
46
|
* @memberof DeploymentApplicationCreate
|
|
47
47
|
*/
|
|
48
48
|
pipeline_id?: number;
|
|
49
|
-
/**
|
|
50
|
-
* The pull request\'s ID to use for deployment.
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof DeploymentApplicationCreate
|
|
53
|
-
*/
|
|
54
|
-
pull_request_id?: number;
|
|
55
49
|
/**
|
|
56
50
|
* List of valid resource IDs
|
|
57
51
|
* @type {Array<number>}
|
|
@@ -24,7 +24,6 @@ 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';
|
|
28
27
|
export * from './blueprint-service';
|
|
29
28
|
export * from './cloud-aws-ec2-settings';
|
|
30
29
|
export * from './cloud-digital-ocean-droplet-settings';
|
|
@@ -175,6 +174,7 @@ export * from './ssl-certificate-issuer';
|
|
|
175
174
|
export * from './ssl-certificate-relation';
|
|
176
175
|
export * from './ssl-certificate-type';
|
|
177
176
|
export * from './ssl-certificate-validation-level';
|
|
177
|
+
export * from './static-billing-info';
|
|
178
178
|
export * from './static-cloud-provider-code';
|
|
179
179
|
export * from './static-cron-job-frequency';
|
|
180
180
|
export * from './static-environment-type';
|
|
@@ -205,6 +205,7 @@ export * from './user-refresh-token-response';
|
|
|
205
205
|
export * from './user-relation';
|
|
206
206
|
export * from './user-resend-verification';
|
|
207
207
|
export * from './user-update';
|
|
208
|
+
export * from './user-url';
|
|
208
209
|
export * from './user-verify';
|
|
209
210
|
export * from './variable';
|
|
210
211
|
export * from './variable-application-create';
|
|
@@ -40,7 +40,6 @@ __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);
|
|
44
43
|
__exportStar(require("./blueprint-service"), exports);
|
|
45
44
|
__exportStar(require("./cloud-aws-ec2-settings"), exports);
|
|
46
45
|
__exportStar(require("./cloud-digital-ocean-droplet-settings"), exports);
|
|
@@ -191,6 +190,7 @@ __exportStar(require("./ssl-certificate-issuer"), exports);
|
|
|
191
190
|
__exportStar(require("./ssl-certificate-relation"), exports);
|
|
192
191
|
__exportStar(require("./ssl-certificate-type"), exports);
|
|
193
192
|
__exportStar(require("./ssl-certificate-validation-level"), exports);
|
|
193
|
+
__exportStar(require("./static-billing-info"), exports);
|
|
194
194
|
__exportStar(require("./static-cloud-provider-code"), exports);
|
|
195
195
|
__exportStar(require("./static-cron-job-frequency"), exports);
|
|
196
196
|
__exportStar(require("./static-environment-type"), exports);
|
|
@@ -221,6 +221,7 @@ __exportStar(require("./user-refresh-token-response"), exports);
|
|
|
221
221
|
__exportStar(require("./user-relation"), exports);
|
|
222
222
|
__exportStar(require("./user-resend-verification"), exports);
|
|
223
223
|
__exportStar(require("./user-update"), exports);
|
|
224
|
+
__exportStar(require("./user-url"), exports);
|
|
224
225
|
__exportStar(require("./user-verify"), exports);
|
|
225
226
|
__exportStar(require("./variable"), exports);
|
|
226
227
|
__exportStar(require("./variable-application-create"), exports);
|
|
@@ -11,21 +11,15 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { SubscriptionPlan } from './subscription-plan';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Information about billing, such as subscription plans.
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface StaticBillingInfo
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
19
|
-
/**
|
|
20
|
-
* Billing management URL
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof Billing
|
|
23
|
-
*/
|
|
24
|
-
management_url?: string;
|
|
18
|
+
export interface StaticBillingInfo {
|
|
25
19
|
/**
|
|
26
20
|
* The list of subscription plans
|
|
27
21
|
* @type {Array<SubscriptionPlan>}
|
|
28
|
-
* @memberof
|
|
22
|
+
* @memberof StaticBillingInfo
|
|
29
23
|
*/
|
|
30
24
|
subscription_plans?: Array<SubscriptionPlan>;
|
|
31
25
|
}
|
|
File without changes
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { StaticBillingInfo } from './static-billing-info';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,10 +18,10 @@ import { Billing } from './billing';
|
|
|
18
18
|
export interface UserProfileOptions {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {StaticBillingInfo}
|
|
22
22
|
* @memberof UserProfileOptions
|
|
23
23
|
*/
|
|
24
|
-
billing:
|
|
24
|
+
billing: StaticBillingInfo;
|
|
25
25
|
/**
|
|
26
26
|
* Supported languages
|
|
27
27
|
* @type {Array<string>}
|
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserUrl
|
|
16
|
+
*/
|
|
17
|
+
export interface UserUrl {
|
|
18
|
+
/**
|
|
19
|
+
* The URL leading to a billing management page
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UserUrl
|
|
22
|
+
*/
|
|
23
|
+
billing_management_url: string;
|
|
24
|
+
}
|
|
@@ -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 });
|