@devopness/sdk-js 2.38.0 → 2.39.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/environments-teams-api.d.ts +4 -4
- package/dist/api/generated/apis/environments-teams-api.js +12 -12
- package/dist/api/generated/models/action-status.d.ts +1 -0
- package/dist/api/generated/models/action-status.js +1 -0
- package/dist/api/generated/models/index.d.ts +1 -9
- package/dist/api/generated/models/index.js +1 -9
- package/dist/api/generated/models/pipeline-create.d.ts +1 -1
- package/dist/api/generated/models/server-update.d.ts +5 -5
- package/dist/api/generated/models/{team-environment-create.d.ts → team-environment-link.d.ts} +3 -3
- package/dist/api/generated/models/{login-credentials.js → team-environment-link.js} +0 -0
- package/dist/api/generated/models/user-me.d.ts +3 -3
- package/dist/api/generated/models/user.d.ts +3 -3
- package/package.json +1 -1
- package/dist/api/generated/models/login-credentials.d.ts +0 -30
- package/dist/api/generated/models/server-commands.d.ts +0 -24
- package/dist/api/generated/models/server-commands.js +0 -14
- package/dist/api/generated/models/server-connect.d.ts +0 -24
- package/dist/api/generated/models/server-connect.js +0 -14
- package/dist/api/generated/models/server-provider.d.ts +0 -21
- package/dist/api/generated/models/server-provider.js +0 -26
- package/dist/api/generated/models/team-environment-create.js +0 -14
- package/dist/api/generated/models/team-invitation-create.d.ts +0 -24
- package/dist/api/generated/models/team-invitation-create.js +0 -14
- package/dist/api/generated/models/team-invitation.d.ts +0 -100
- package/dist/api/generated/models/team-invitation.js +0 -14
- package/dist/api/generated/models/trigger-type.d.ts +0 -20
- package/dist/api/generated/models/trigger-type.js +0 -25
- package/dist/api/generated/models/user-tokens.d.ts +0 -42
- package/dist/api/generated/models/user-tokens.js +0 -14
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ApiBaseService } from "../../../services/ApiBaseService";
|
|
13
13
|
import { ApiResponse } from "../../../common/ApiResponse";
|
|
14
|
-
import {
|
|
14
|
+
import { TeamEnvironmentLink } from '../../generated/models';
|
|
15
15
|
/**
|
|
16
16
|
* EnvironmentsTeamsApiService - Auto-generated
|
|
17
17
|
*/
|
|
@@ -21,14 +21,14 @@ export declare class EnvironmentsTeamsApiService extends ApiBaseService {
|
|
|
21
21
|
* @summary Link team to a given environment
|
|
22
22
|
* @param {number} environmentId The ID of the environment.
|
|
23
23
|
* @param {number} teamId The ID of the team.
|
|
24
|
-
* @param {
|
|
24
|
+
* @param {TeamEnvironmentLink} teamEnvironmentLink A JSON object containing the resource data
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
linkTeamToEnvironment(environmentId: number, teamId: number, teamEnvironmentLink: TeamEnvironmentLink): Promise<ApiResponse<void>>;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @summary Unlink team from the environment
|
|
30
30
|
* @param {number} environmentId The ID of the environment.
|
|
31
31
|
* @param {number} teamId The ID of the team.
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
unlinkTeamFromEnvironment(environmentId: number, teamId: number): Promise<ApiResponse<void>>;
|
|
34
34
|
}
|
|
@@ -34,22 +34,22 @@ class EnvironmentsTeamsApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
34
34
|
* @summary Link team to a given environment
|
|
35
35
|
* @param {number} environmentId The ID of the environment.
|
|
36
36
|
* @param {number} teamId The ID of the team.
|
|
37
|
-
* @param {
|
|
37
|
+
* @param {TeamEnvironmentLink} teamEnvironmentLink A JSON object containing the resource data
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
linkTeamToEnvironment(environmentId, teamId, teamEnvironmentLink) {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
41
41
|
if (environmentId === null || environmentId === undefined) {
|
|
42
|
-
throw new Exceptions_1.ArgumentNullException('environmentId', '
|
|
42
|
+
throw new Exceptions_1.ArgumentNullException('environmentId', 'linkTeamToEnvironment');
|
|
43
43
|
}
|
|
44
44
|
if (teamId === null || teamId === undefined) {
|
|
45
|
-
throw new Exceptions_1.ArgumentNullException('teamId', '
|
|
45
|
+
throw new Exceptions_1.ArgumentNullException('teamId', 'linkTeamToEnvironment');
|
|
46
46
|
}
|
|
47
|
-
if (
|
|
48
|
-
throw new Exceptions_1.ArgumentNullException('
|
|
47
|
+
if (teamEnvironmentLink === null || teamEnvironmentLink === undefined) {
|
|
48
|
+
throw new Exceptions_1.ArgumentNullException('teamEnvironmentLink', 'linkTeamToEnvironment');
|
|
49
49
|
}
|
|
50
50
|
let queryString = '';
|
|
51
|
-
const requestUrl = '/environments/{environment_id}/teams/{team_id}' + (queryString ? `?${queryString}` : '');
|
|
52
|
-
const response = yield this.post(requestUrl.replace(`{${"environment_id"}}`, encodeURIComponent(String(environmentId))).replace(`{${"team_id"}}`, encodeURIComponent(String(teamId))),
|
|
51
|
+
const requestUrl = '/environments/{environment_id}/teams/{team_id}/link' + (queryString ? `?${queryString}` : '');
|
|
52
|
+
const response = yield this.post(requestUrl.replace(`{${"environment_id"}}`, encodeURIComponent(String(environmentId))).replace(`{${"team_id"}}`, encodeURIComponent(String(teamId))), teamEnvironmentLink);
|
|
53
53
|
return new ApiResponse_1.ApiResponse(response);
|
|
54
54
|
});
|
|
55
55
|
}
|
|
@@ -59,16 +59,16 @@ class EnvironmentsTeamsApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
59
59
|
* @param {number} environmentId The ID of the environment.
|
|
60
60
|
* @param {number} teamId The ID of the team.
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
unlinkTeamFromEnvironment(environmentId, teamId) {
|
|
63
63
|
return __awaiter(this, void 0, void 0, function* () {
|
|
64
64
|
if (environmentId === null || environmentId === undefined) {
|
|
65
|
-
throw new Exceptions_1.ArgumentNullException('environmentId', '
|
|
65
|
+
throw new Exceptions_1.ArgumentNullException('environmentId', 'unlinkTeamFromEnvironment');
|
|
66
66
|
}
|
|
67
67
|
if (teamId === null || teamId === undefined) {
|
|
68
|
-
throw new Exceptions_1.ArgumentNullException('teamId', '
|
|
68
|
+
throw new Exceptions_1.ArgumentNullException('teamId', 'unlinkTeamFromEnvironment');
|
|
69
69
|
}
|
|
70
70
|
let queryString = '';
|
|
71
|
-
const requestUrl = '/environments/{environment_id}/teams/{team_id}' + (queryString ? `?${queryString}` : '');
|
|
71
|
+
const requestUrl = '/environments/{environment_id}/teams/{team_id}/unlink' + (queryString ? `?${queryString}` : '');
|
|
72
72
|
const response = yield this.delete(requestUrl.replace(`{${"environment_id"}}`, encodeURIComponent(String(environmentId))).replace(`{${"team_id"}}`, encodeURIComponent(String(teamId))));
|
|
73
73
|
return new ApiResponse_1.ApiResponse(response);
|
|
74
74
|
});
|
|
@@ -21,6 +21,7 @@ exports.ActionStatus = void 0;
|
|
|
21
21
|
var ActionStatus;
|
|
22
22
|
(function (ActionStatus) {
|
|
23
23
|
ActionStatus["Pending"] = "pending";
|
|
24
|
+
ActionStatus["Queued"] = "queued";
|
|
24
25
|
ActionStatus["InProgress"] = "in-progress";
|
|
25
26
|
ActionStatus["Completed"] = "completed";
|
|
26
27
|
ActionStatus["Failed"] = "failed";
|
|
@@ -95,7 +95,6 @@ export * from './language-runtime-engine-versions';
|
|
|
95
95
|
export * from './language-runtime-framework';
|
|
96
96
|
export * from './language-runtime-framework-defaults';
|
|
97
97
|
export * from './log';
|
|
98
|
-
export * from './login-credentials';
|
|
99
98
|
export * from './member';
|
|
100
99
|
export * from './member-relation';
|
|
101
100
|
export * from './network-rule';
|
|
@@ -139,10 +138,7 @@ export * from './server-blueprint';
|
|
|
139
138
|
export * from './server-cloud-service';
|
|
140
139
|
export * from './server-cloud-service-name';
|
|
141
140
|
export * from './server-command';
|
|
142
|
-
export * from './server-commands';
|
|
143
|
-
export * from './server-connect';
|
|
144
141
|
export * from './server-environment-create';
|
|
145
|
-
export * from './server-provider';
|
|
146
142
|
export * from './server-provision-settings';
|
|
147
143
|
export * from './server-relation';
|
|
148
144
|
export * from './server-update';
|
|
@@ -190,9 +186,7 @@ export * from './step-pipeline-create';
|
|
|
190
186
|
export * from './step-pipeline-update';
|
|
191
187
|
export * from './subscription-plan';
|
|
192
188
|
export * from './team';
|
|
193
|
-
export * from './team-environment-
|
|
194
|
-
export * from './team-invitation';
|
|
195
|
-
export * from './team-invitation-create';
|
|
189
|
+
export * from './team-environment-link';
|
|
196
190
|
export * from './team-invitation-relation';
|
|
197
191
|
export * from './team-invitation-status';
|
|
198
192
|
export * from './team-membership-relation';
|
|
@@ -200,7 +194,6 @@ export * from './team-project-create';
|
|
|
200
194
|
export * from './team-relation';
|
|
201
195
|
export * from './team-update';
|
|
202
196
|
export * from './trigger-event';
|
|
203
|
-
export * from './trigger-type';
|
|
204
197
|
export * from './user';
|
|
205
198
|
export * from './user-create';
|
|
206
199
|
export * from './user-login';
|
|
@@ -210,7 +203,6 @@ export * from './user-refresh-token';
|
|
|
210
203
|
export * from './user-refresh-token-response';
|
|
211
204
|
export * from './user-relation';
|
|
212
205
|
export * from './user-resend-verification';
|
|
213
|
-
export * from './user-tokens';
|
|
214
206
|
export * from './user-update';
|
|
215
207
|
export * from './user-verify';
|
|
216
208
|
export * from './variable';
|
|
@@ -111,7 +111,6 @@ __exportStar(require("./language-runtime-engine-versions"), exports);
|
|
|
111
111
|
__exportStar(require("./language-runtime-framework"), exports);
|
|
112
112
|
__exportStar(require("./language-runtime-framework-defaults"), exports);
|
|
113
113
|
__exportStar(require("./log"), exports);
|
|
114
|
-
__exportStar(require("./login-credentials"), exports);
|
|
115
114
|
__exportStar(require("./member"), exports);
|
|
116
115
|
__exportStar(require("./member-relation"), exports);
|
|
117
116
|
__exportStar(require("./network-rule"), exports);
|
|
@@ -155,10 +154,7 @@ __exportStar(require("./server-blueprint"), exports);
|
|
|
155
154
|
__exportStar(require("./server-cloud-service"), exports);
|
|
156
155
|
__exportStar(require("./server-cloud-service-name"), exports);
|
|
157
156
|
__exportStar(require("./server-command"), exports);
|
|
158
|
-
__exportStar(require("./server-commands"), exports);
|
|
159
|
-
__exportStar(require("./server-connect"), exports);
|
|
160
157
|
__exportStar(require("./server-environment-create"), exports);
|
|
161
|
-
__exportStar(require("./server-provider"), exports);
|
|
162
158
|
__exportStar(require("./server-provision-settings"), exports);
|
|
163
159
|
__exportStar(require("./server-relation"), exports);
|
|
164
160
|
__exportStar(require("./server-update"), exports);
|
|
@@ -206,9 +202,7 @@ __exportStar(require("./step-pipeline-create"), exports);
|
|
|
206
202
|
__exportStar(require("./step-pipeline-update"), exports);
|
|
207
203
|
__exportStar(require("./subscription-plan"), exports);
|
|
208
204
|
__exportStar(require("./team"), exports);
|
|
209
|
-
__exportStar(require("./team-environment-
|
|
210
|
-
__exportStar(require("./team-invitation"), exports);
|
|
211
|
-
__exportStar(require("./team-invitation-create"), exports);
|
|
205
|
+
__exportStar(require("./team-environment-link"), exports);
|
|
212
206
|
__exportStar(require("./team-invitation-relation"), exports);
|
|
213
207
|
__exportStar(require("./team-invitation-status"), exports);
|
|
214
208
|
__exportStar(require("./team-membership-relation"), exports);
|
|
@@ -216,7 +210,6 @@ __exportStar(require("./team-project-create"), exports);
|
|
|
216
210
|
__exportStar(require("./team-relation"), exports);
|
|
217
211
|
__exportStar(require("./team-update"), exports);
|
|
218
212
|
__exportStar(require("./trigger-event"), exports);
|
|
219
|
-
__exportStar(require("./trigger-type"), exports);
|
|
220
213
|
__exportStar(require("./user"), exports);
|
|
221
214
|
__exportStar(require("./user-create"), exports);
|
|
222
215
|
__exportStar(require("./user-login"), exports);
|
|
@@ -226,7 +219,6 @@ __exportStar(require("./user-refresh-token"), exports);
|
|
|
226
219
|
__exportStar(require("./user-refresh-token-response"), exports);
|
|
227
220
|
__exportStar(require("./user-relation"), exports);
|
|
228
221
|
__exportStar(require("./user-resend-verification"), exports);
|
|
229
|
-
__exportStar(require("./user-tokens"), exports);
|
|
230
222
|
__exportStar(require("./user-update"), exports);
|
|
231
223
|
__exportStar(require("./user-verify"), exports);
|
|
232
224
|
__exportStar(require("./variable"), exports);
|
|
@@ -16,21 +16,21 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ServerUpdate {
|
|
18
18
|
/**
|
|
19
|
-
* The unique
|
|
19
|
+
* The unique ID of the given server.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof ServerUpdate
|
|
22
22
|
*/
|
|
23
23
|
id: number;
|
|
24
24
|
/**
|
|
25
|
-
* Public ipv4 address for server access
|
|
25
|
+
* Public ipv4 address for server access. This field is required when <code>provision_settings.self_hosted</code> is <code>true</code>.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ServerUpdate
|
|
28
28
|
*/
|
|
29
|
-
ip_address
|
|
29
|
+
ip_address?: string;
|
|
30
30
|
/**
|
|
31
|
-
* The network port to which the SSH daemon is listening to SSH connections on the server
|
|
31
|
+
* The network port to which the SSH daemon is listening to SSH connections on the server. This field is required when <code>provision_settings.self_hosted</code> is <code>true</code>.
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof ServerUpdate
|
|
34
34
|
*/
|
|
35
|
-
ssh_port
|
|
35
|
+
ssh_port?: number;
|
|
36
36
|
}
|
package/dist/api/generated/models/{team-environment-create.d.ts → team-environment-link.d.ts}
RENAMED
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface TeamEnvironmentLink
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface TeamEnvironmentLink {
|
|
18
18
|
/**
|
|
19
19
|
* The role\'s ID to use for this team on environment.
|
|
20
20
|
* @type {number}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof TeamEnvironmentLink
|
|
22
22
|
*/
|
|
23
23
|
role_id: number;
|
|
24
24
|
}
|
|
File without changes
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { Language } from './language';
|
|
13
|
-
import {
|
|
13
|
+
import { SocialAccountRelation } from './social-account-relation';
|
|
14
14
|
import { SubscriptionPlan } from './subscription-plan';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -50,10 +50,10 @@ export interface UserMe {
|
|
|
50
50
|
active: boolean;
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
|
-
* @type {Array<
|
|
53
|
+
* @type {Array<SocialAccountRelation>}
|
|
54
54
|
* @memberof UserMe
|
|
55
55
|
*/
|
|
56
|
-
social_accounts: Array<
|
|
56
|
+
social_accounts: Array<SocialAccountRelation>;
|
|
57
57
|
/**
|
|
58
58
|
* The code of current billing plan
|
|
59
59
|
* @type {string}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { Language } from './language';
|
|
13
|
-
import {
|
|
13
|
+
import { SocialAccountRelation } from './social-account-relation';
|
|
14
14
|
import { SubscriptionPlan } from './subscription-plan';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -50,10 +50,10 @@ export interface User {
|
|
|
50
50
|
active: boolean;
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
|
-
* @type {Array<
|
|
53
|
+
* @type {Array<SocialAccountRelation>}
|
|
54
54
|
* @memberof User
|
|
55
55
|
*/
|
|
56
|
-
social_accounts: Array<
|
|
56
|
+
social_accounts: Array<SocialAccountRelation>;
|
|
57
57
|
/**
|
|
58
58
|
* The code of current billing plan
|
|
59
59
|
* @type {string}
|
package/package.json
CHANGED
|
@@ -1,30 +0,0 @@
|
|
|
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 LoginCredentials
|
|
16
|
-
*/
|
|
17
|
-
export interface LoginCredentials {
|
|
18
|
-
/**
|
|
19
|
-
* The user\'s registered e-mail address
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof LoginCredentials
|
|
22
|
-
*/
|
|
23
|
-
email: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof LoginCredentials
|
|
28
|
-
*/
|
|
29
|
-
password: string;
|
|
30
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
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 ServerCommands
|
|
16
|
-
*/
|
|
17
|
-
export interface ServerCommands {
|
|
18
|
-
/**
|
|
19
|
-
* The Shell Script command to be executed in an existing Linux server in order to connect it to the `devopness`
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ServerCommands
|
|
22
|
-
*/
|
|
23
|
-
connect_command: string;
|
|
24
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 });
|
|
@@ -1,24 +0,0 @@
|
|
|
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 ServerConnect
|
|
16
|
-
*/
|
|
17
|
-
export interface ServerConnect {
|
|
18
|
-
/**
|
|
19
|
-
* Output message indicating success or failure
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ServerConnect
|
|
22
|
-
*/
|
|
23
|
-
message: string;
|
|
24
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 });
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
* `self-hosted` if connecting to an existing server instance. May also be a list of cloud providers to which the server spec will be used to launch instances.
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare enum ServerProvider {
|
|
18
|
-
SelfHosted = "self-hosted",
|
|
19
|
-
Aws = "aws",
|
|
20
|
-
DigitalOcean = "digital-ocean"
|
|
21
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
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.ServerProvider = void 0;
|
|
16
|
-
/**
|
|
17
|
-
* `self-hosted` if connecting to an existing server instance. May also be a list of cloud providers to which the server spec will be used to launch instances.
|
|
18
|
-
* @export
|
|
19
|
-
* @enum {string}
|
|
20
|
-
*/
|
|
21
|
-
var ServerProvider;
|
|
22
|
-
(function (ServerProvider) {
|
|
23
|
-
ServerProvider["SelfHosted"] = "self-hosted";
|
|
24
|
-
ServerProvider["Aws"] = "aws";
|
|
25
|
-
ServerProvider["DigitalOcean"] = "digital-ocean";
|
|
26
|
-
})(ServerProvider = exports.ServerProvider || (exports.ServerProvider = {}));
|
|
@@ -1,14 +0,0 @@
|
|
|
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 });
|
|
@@ -1,24 +0,0 @@
|
|
|
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 TeamInvitationCreate
|
|
16
|
-
*/
|
|
17
|
-
export interface TeamInvitationCreate {
|
|
18
|
-
/**
|
|
19
|
-
* The user email to send the invitation
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof TeamInvitationCreate
|
|
22
|
-
*/
|
|
23
|
-
email: string;
|
|
24
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 });
|
|
@@ -1,100 +0,0 @@
|
|
|
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 { ProjectRelation } from './project-relation';
|
|
13
|
-
import { TeamInvitationStatus } from './team-invitation-status';
|
|
14
|
-
import { TeamRelation } from './team-relation';
|
|
15
|
-
import { UserRelation } from './user-relation';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface TeamInvitation
|
|
20
|
-
*/
|
|
21
|
-
export interface TeamInvitation {
|
|
22
|
-
/**
|
|
23
|
-
* The unique UUID of the given invitation
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof TeamInvitation
|
|
26
|
-
*/
|
|
27
|
-
id: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {TeamInvitationStatus}
|
|
31
|
-
* @memberof TeamInvitation
|
|
32
|
-
*/
|
|
33
|
-
status: TeamInvitationStatus;
|
|
34
|
-
/**
|
|
35
|
-
* Human readable version of the invitation status
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof TeamInvitation
|
|
38
|
-
*/
|
|
39
|
-
status_human_readable?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The email of the user that has been invited to team
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof TeamInvitation
|
|
44
|
-
*/
|
|
45
|
-
email: string;
|
|
46
|
-
/**
|
|
47
|
-
* The IP of the user who accepted the invitation
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof TeamInvitation
|
|
50
|
-
*/
|
|
51
|
-
accepted_from_ip?: string | null;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {UserRelation}
|
|
55
|
-
* @memberof TeamInvitation
|
|
56
|
-
*/
|
|
57
|
-
created_by_user: UserRelation;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {UserRelation}
|
|
61
|
-
* @memberof TeamInvitation
|
|
62
|
-
*/
|
|
63
|
-
user: UserRelation;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {TeamRelation}
|
|
67
|
-
* @memberof TeamInvitation
|
|
68
|
-
*/
|
|
69
|
-
team: TeamRelation | null;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {ProjectRelation}
|
|
73
|
-
* @memberof TeamInvitation
|
|
74
|
-
*/
|
|
75
|
-
project?: ProjectRelation | null;
|
|
76
|
-
/**
|
|
77
|
-
* The date and time when the invitation will expire
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof TeamInvitation
|
|
80
|
-
*/
|
|
81
|
-
expires_at?: string;
|
|
82
|
-
/**
|
|
83
|
-
* The date and time when the invitation was accepted
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof TeamInvitation
|
|
86
|
-
*/
|
|
87
|
-
accepted_at?: string | null;
|
|
88
|
-
/**
|
|
89
|
-
* The date and time when the record was created
|
|
90
|
-
* @type {string}
|
|
91
|
-
* @memberof TeamInvitation
|
|
92
|
-
*/
|
|
93
|
-
created_at?: string;
|
|
94
|
-
/**
|
|
95
|
-
* The date and time when the record was last updated
|
|
96
|
-
* @type {string}
|
|
97
|
-
* @memberof TeamInvitation
|
|
98
|
-
*/
|
|
99
|
-
updated_at?: string;
|
|
100
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 });
|
|
@@ -1,20 +0,0 @@
|
|
|
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 type of event that will trigger it
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare enum TriggerType {
|
|
18
|
-
Before = "before",
|
|
19
|
-
After = "after"
|
|
20
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
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.TriggerType = void 0;
|
|
16
|
-
/**
|
|
17
|
-
* The type of event that will trigger it
|
|
18
|
-
* @export
|
|
19
|
-
* @enum {string}
|
|
20
|
-
*/
|
|
21
|
-
var TriggerType;
|
|
22
|
-
(function (TriggerType) {
|
|
23
|
-
TriggerType["Before"] = "before";
|
|
24
|
-
TriggerType["After"] = "after";
|
|
25
|
-
})(TriggerType = exports.TriggerType || (exports.TriggerType = {}));
|
|
@@ -1,42 +0,0 @@
|
|
|
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 UserTokens
|
|
16
|
-
*/
|
|
17
|
-
export interface UserTokens {
|
|
18
|
-
/**
|
|
19
|
-
* The type of the authorization token being issued
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UserTokens
|
|
22
|
-
*/
|
|
23
|
-
token_type?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The number of seconds remaining to the token expiration time, to be counted since the token issue date and time
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof UserTokens
|
|
28
|
-
*/
|
|
29
|
-
expires_in?: number;
|
|
30
|
-
/**
|
|
31
|
-
* The issued JWT access token
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UserTokens
|
|
34
|
-
*/
|
|
35
|
-
access_token: string;
|
|
36
|
-
/**
|
|
37
|
-
* A token to be used after the original access token has expired, to issue a new token without requiring a new request to the `/users/login` endpoint
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof UserTokens
|
|
40
|
-
*/
|
|
41
|
-
refresh_token: string;
|
|
42
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 });
|