@devopness/sdk-js 2.14.0 → 2.15.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/DevopnessApiClient.d.ts +0 -2
- package/dist/DevopnessApiClient.js +0 -2
- package/dist/api/generated/apis/environments-applications-api.d.ts +9 -0
- package/dist/api/generated/apis/environments-applications-api.js +20 -0
- package/dist/api/generated/apis/environments-servers-api.d.ts +9 -9
- package/dist/api/generated/apis/environments-servers-api.js +20 -25
- package/dist/api/generated/apis/environments-services-api.d.ts +2 -2
- package/dist/api/generated/apis/environments-services-api.js +2 -2
- package/dist/api/generated/apis/environments-sshkeys-api.d.ts +11 -2
- package/dist/api/generated/apis/environments-sshkeys-api.js +22 -2
- package/dist/api/generated/apis/projects-servers-api.d.ts +4 -4
- package/dist/api/generated/apis/projects-servers-api.js +6 -6
- package/dist/api/generated/apis/projects-services-api.d.ts +5 -5
- package/dist/api/generated/apis/projects-services-api.js +7 -7
- package/dist/api/generated/apis/projects-sshkeys-api.d.ts +1 -1
- package/dist/api/generated/apis/projects-sshkeys-api.js +1 -1
- package/dist/api/generated/apis/servers-api.d.ts +3 -4
- package/dist/api/generated/apis/servers-api.js +7 -7
- package/dist/api/generated/apis/services-api.d.ts +17 -17
- package/dist/api/generated/apis/services-api.js +20 -20
- package/dist/api/generated/models/application-environment-create.d.ts +138 -0
- package/dist/api/generated/models/{service-status-update.js → application-environment-create.js} +0 -0
- package/dist/api/generated/models/index.d.ts +3 -2
- package/dist/api/generated/models/index.js +3 -2
- package/dist/api/generated/models/server-relation.d.ts +22 -22
- package/dist/api/generated/models/server.d.ts +34 -28
- package/dist/api/generated/models/service-create.d.ts +11 -11
- package/dist/api/generated/models/service-relation.d.ts +14 -8
- package/dist/api/generated/models/service-reload.d.ts +1 -1
- package/dist/api/generated/models/service-restart.d.ts +1 -1
- package/dist/api/generated/models/service-start.d.ts +1 -1
- package/dist/api/generated/models/service-stop.d.ts +1 -1
- package/dist/api/generated/models/{service-status-update.d.ts → service-update-status.d.ts} +4 -4
- package/dist/api/generated/models/service-update-status.js +14 -0
- package/dist/api/generated/models/service-update.d.ts +2 -2
- package/dist/api/generated/models/service.d.ts +4 -4
- package/dist/api/generated/models/ssh-key-create.d.ts +5 -12
- package/dist/api/generated/models/ssh-key-project-create.d.ts +37 -0
- package/dist/api/generated/models/ssh-key-project-create.js +14 -0
- package/dist/api/generated/models/ssh-key-relation.d.ts +13 -7
- package/dist/api/generated/models/ssh-key-update.d.ts +2 -2
- package/dist/api/generated/models/ssh-key.d.ts +13 -7
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/services/ApiBaseService.js +2 -4
- package/dist/services/index.d.ts +27 -0
- package/dist/services/index.js +43 -0
- package/package.json +15 -8
- package/dist/api/generated/apis/invitations-api.d.ts +0 -24
- package/dist/api/generated/apis/invitations-api.js +0 -49
- package/dist/api/generated/models/service-action.d.ts +0 -27
- package/dist/api/generated/models/service-action.js +0 -32
- package/dist/services/InvitationService.d.ts +0 -3
- package/dist/services/InvitationService.js +0 -7
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface ServiceUpdateStatus
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface ServiceUpdateStatus {
|
|
18
18
|
/**
|
|
19
|
-
* The
|
|
19
|
+
* The ID of the environment this service is running in.
|
|
20
20
|
* @type {number}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof ServiceUpdateStatus
|
|
22
22
|
*/
|
|
23
23
|
environment_id: number;
|
|
24
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 });
|
|
@@ -17,7 +17,7 @@ import { EnvironmentLinkItem } from './environment-link-item';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ServiceUpdate {
|
|
19
19
|
/**
|
|
20
|
-
* The unique
|
|
20
|
+
* The unique ID of the service.
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof ServiceUpdate
|
|
23
23
|
*/
|
|
@@ -27,5 +27,5 @@ export interface ServiceUpdate {
|
|
|
27
27
|
* @type {Array<EnvironmentLinkItem>}
|
|
28
28
|
* @memberof ServiceUpdate
|
|
29
29
|
*/
|
|
30
|
-
environments
|
|
30
|
+
environments?: Array<EnvironmentLinkItem>;
|
|
31
31
|
}
|
|
@@ -22,7 +22,7 @@ import { UserRelation } from './user-relation';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface Service {
|
|
24
24
|
/**
|
|
25
|
-
* The unique
|
|
25
|
+
* The unique ID of the given service
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof Service
|
|
28
28
|
*/
|
|
@@ -50,7 +50,7 @@ export interface Service {
|
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof Service
|
|
52
52
|
*/
|
|
53
|
-
version
|
|
53
|
+
version: string | null;
|
|
54
54
|
/**
|
|
55
55
|
* Indicates if the service was auto_generated by `devopness` itself
|
|
56
56
|
* @type {boolean}
|
|
@@ -58,7 +58,7 @@ export interface Service {
|
|
|
58
58
|
*/
|
|
59
59
|
auto_generated: boolean;
|
|
60
60
|
/**
|
|
61
|
-
* Indicates if the service
|
|
61
|
+
* Indicates if the service will start automatically on operating system boot
|
|
62
62
|
* @type {boolean}
|
|
63
63
|
* @memberof Service
|
|
64
64
|
*/
|
|
@@ -74,7 +74,7 @@ export interface Service {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof Service
|
|
76
76
|
*/
|
|
77
|
-
description
|
|
77
|
+
description: string | null;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {Array<EnvironmentRelation>}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { EnvironmentLinkItem } from './environment-link-item';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -17,27 +16,21 @@ import { EnvironmentLinkItem } from './environment-link-item';
|
|
|
17
16
|
*/
|
|
18
17
|
export interface SshKeyCreate {
|
|
19
18
|
/**
|
|
20
|
-
* The
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof SshKeyCreate
|
|
23
|
-
*/
|
|
24
|
-
id?: number;
|
|
25
|
-
/**
|
|
26
|
-
* The name entered by the user to uniquely identify the public SSH key
|
|
19
|
+
* The ssh key\'s name. Must not be greater than 60 characters.
|
|
27
20
|
* @type {string}
|
|
28
21
|
* @memberof SshKeyCreate
|
|
29
22
|
*/
|
|
30
23
|
name: string;
|
|
31
24
|
/**
|
|
32
|
-
* The public
|
|
25
|
+
* The public key of the ssh key.
|
|
33
26
|
* @type {string}
|
|
34
27
|
* @memberof SshKeyCreate
|
|
35
28
|
*/
|
|
36
29
|
public_key: string;
|
|
37
30
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Array<
|
|
31
|
+
* List of valid resource IDs
|
|
32
|
+
* @type {Array<number>}
|
|
40
33
|
* @memberof SshKeyCreate
|
|
41
34
|
*/
|
|
42
|
-
|
|
35
|
+
servers?: Array<number>;
|
|
43
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 { EnvironmentLinkItem } from './environment-link-item';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SshKeyProjectCreate
|
|
17
|
+
*/
|
|
18
|
+
export interface SshKeyProjectCreate {
|
|
19
|
+
/**
|
|
20
|
+
* The ssh key\'s name. Must not be greater than 60 characters.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SshKeyProjectCreate
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* The public key of the ssh key.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SshKeyProjectCreate
|
|
29
|
+
*/
|
|
30
|
+
public_key: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<EnvironmentLinkItem>}
|
|
34
|
+
* @memberof SshKeyProjectCreate
|
|
35
|
+
*/
|
|
36
|
+
environments?: Array<EnvironmentLinkItem>;
|
|
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 });
|
|
@@ -23,23 +23,29 @@ export interface SshKeyRelation {
|
|
|
23
23
|
*/
|
|
24
24
|
id: number;
|
|
25
25
|
/**
|
|
26
|
-
* The
|
|
26
|
+
* The Id of the user to which the SSH key belongs to
|
|
27
27
|
* @type {number}
|
|
28
28
|
* @memberof SshKeyRelation
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
created_by?: number;
|
|
31
31
|
/**
|
|
32
|
-
* The
|
|
33
|
-
* @type {
|
|
32
|
+
* The project id to which the SSH public key belongs to
|
|
33
|
+
* @type {number}
|
|
34
34
|
* @memberof SshKeyRelation
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
project_id?: number;
|
|
37
37
|
/**
|
|
38
|
-
* The
|
|
38
|
+
* The environment id to which the SSH public key belongs to
|
|
39
39
|
* @type {number}
|
|
40
40
|
* @memberof SshKeyRelation
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
environment_id: number;
|
|
43
|
+
/**
|
|
44
|
+
* The name entered by the user to uniquely identify the public SSH key
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SshKeyRelation
|
|
47
|
+
*/
|
|
48
|
+
name: string;
|
|
43
49
|
/**
|
|
44
50
|
* The hashed fingerprint of the public key
|
|
45
51
|
* @type {string}
|
|
@@ -17,13 +17,13 @@ import { EnvironmentLinkItem } from './environment-link-item';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface SshKeyUpdate {
|
|
19
19
|
/**
|
|
20
|
-
* The
|
|
20
|
+
* The ssh key\'s ID.
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof SshKeyUpdate
|
|
23
23
|
*/
|
|
24
24
|
id: number;
|
|
25
25
|
/**
|
|
26
|
-
* The
|
|
26
|
+
* The ssh key\'s name. Must not be greater than 60 characters.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof SshKeyUpdate
|
|
29
29
|
*/
|
|
@@ -26,23 +26,29 @@ export interface SshKey {
|
|
|
26
26
|
*/
|
|
27
27
|
id: number;
|
|
28
28
|
/**
|
|
29
|
-
* The
|
|
29
|
+
* The id of the user to which the SSH key belongs to
|
|
30
30
|
* @type {number}
|
|
31
31
|
* @memberof SshKey
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
created_by?: number;
|
|
34
34
|
/**
|
|
35
|
-
* The
|
|
36
|
-
* @type {
|
|
35
|
+
* The project id to which the SSH public key belongs to
|
|
36
|
+
* @type {number}
|
|
37
37
|
* @memberof SshKey
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
project_id?: number;
|
|
40
40
|
/**
|
|
41
|
-
* The
|
|
41
|
+
* The environment id to which the SSH public key belongs to
|
|
42
42
|
* @type {number}
|
|
43
43
|
* @memberof SshKey
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
environment_id: number;
|
|
46
|
+
/**
|
|
47
|
+
* The name entered by the user to uniquely identify the public SSH key
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof SshKey
|
|
50
|
+
*/
|
|
51
|
+
name: string;
|
|
46
52
|
/**
|
|
47
53
|
* The hashed fingerprint of the public key
|
|
48
54
|
* @type {string}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.SdkModels = exports.SdkExceptions = void 0;
|
|
29
|
+
exports.SdkServices = exports.SdkModels = exports.SdkExceptions = void 0;
|
|
30
30
|
__exportStar(require("./DevopnessApiClient"), exports);
|
|
31
31
|
__exportStar(require("./common/ApiResponse"), exports);
|
|
32
32
|
exports.SdkExceptions = __importStar(require("./common/Exceptions"));
|
|
33
33
|
exports.SdkModels = __importStar(require("./api/generated/models"));
|
|
34
|
+
exports.SdkServices = __importStar(require("./services"));
|
|
@@ -29,10 +29,8 @@ class ApiBaseService {
|
|
|
29
29
|
timeout: 30000,
|
|
30
30
|
responseType: 'json',
|
|
31
31
|
headers: {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
'Content-Type': "application/json",
|
|
35
|
-
},
|
|
32
|
+
Accept: "application/json",
|
|
33
|
+
'Content-Type': "application/json"
|
|
36
34
|
},
|
|
37
35
|
withCredentials: false
|
|
38
36
|
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from './ActionService';
|
|
2
|
+
export * from './ApiBaseService';
|
|
3
|
+
export * from './ApplicationService';
|
|
4
|
+
export * from './CloudProviderCredentialService';
|
|
5
|
+
export * from './CronJobService';
|
|
6
|
+
export * from './DaemonService';
|
|
7
|
+
export * from './EnvironmentService';
|
|
8
|
+
export * from './HookIncomingService';
|
|
9
|
+
export * from './HookOutgoingService';
|
|
10
|
+
export * from './HookRequestService';
|
|
11
|
+
export * from './LogService';
|
|
12
|
+
export * from './NetworkRuleService';
|
|
13
|
+
export * from './PipelineService';
|
|
14
|
+
export * from './ProjectService';
|
|
15
|
+
export * from './ResourceEventService';
|
|
16
|
+
export * from './RoleService';
|
|
17
|
+
export * from './ServerService';
|
|
18
|
+
export * from './ServiceService';
|
|
19
|
+
export * from './SocialAccountService';
|
|
20
|
+
export * from './SourceProviderService';
|
|
21
|
+
export * from './SshKeyService';
|
|
22
|
+
export * from './SslCertificateService';
|
|
23
|
+
export * from './StaticService';
|
|
24
|
+
export * from './TeamInvitationService';
|
|
25
|
+
export * from './TeamService';
|
|
26
|
+
export * from './UserService';
|
|
27
|
+
export * from './VariableService';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ActionService"), exports);
|
|
18
|
+
__exportStar(require("./ApiBaseService"), exports);
|
|
19
|
+
__exportStar(require("./ApplicationService"), exports);
|
|
20
|
+
__exportStar(require("./CloudProviderCredentialService"), exports);
|
|
21
|
+
__exportStar(require("./CronJobService"), exports);
|
|
22
|
+
__exportStar(require("./DaemonService"), exports);
|
|
23
|
+
__exportStar(require("./EnvironmentService"), exports);
|
|
24
|
+
__exportStar(require("./HookIncomingService"), exports);
|
|
25
|
+
__exportStar(require("./HookOutgoingService"), exports);
|
|
26
|
+
__exportStar(require("./HookRequestService"), exports);
|
|
27
|
+
__exportStar(require("./LogService"), exports);
|
|
28
|
+
__exportStar(require("./NetworkRuleService"), exports);
|
|
29
|
+
__exportStar(require("./PipelineService"), exports);
|
|
30
|
+
__exportStar(require("./ProjectService"), exports);
|
|
31
|
+
__exportStar(require("./ResourceEventService"), exports);
|
|
32
|
+
__exportStar(require("./RoleService"), exports);
|
|
33
|
+
__exportStar(require("./ServerService"), exports);
|
|
34
|
+
__exportStar(require("./ServiceService"), exports);
|
|
35
|
+
__exportStar(require("./SocialAccountService"), exports);
|
|
36
|
+
__exportStar(require("./SourceProviderService"), exports);
|
|
37
|
+
__exportStar(require("./SshKeyService"), exports);
|
|
38
|
+
__exportStar(require("./SslCertificateService"), exports);
|
|
39
|
+
__exportStar(require("./StaticService"), exports);
|
|
40
|
+
__exportStar(require("./TeamInvitationService"), exports);
|
|
41
|
+
__exportStar(require("./TeamService"), exports);
|
|
42
|
+
__exportStar(require("./UserService"), exports);
|
|
43
|
+
__exportStar(require("./VariableService"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devopness/sdk-js",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "rm -Rf ./dist && npm run lint && tsc",
|
|
15
15
|
"build-api-models": "rm -Rf ./src/api/generated && JAVA_OPTS=\"${JAVA_OPTS} -Dlog.level=warn\" openapi-generator-cli generate && npm run build",
|
|
16
|
-
"docs": "
|
|
16
|
+
"docs-remove-service-index": "rm -f src/services/index.ts",
|
|
17
|
+
"docs-export-service-index": "find src/services/ ! -name 'index.ts' -name '*.ts' -type f | sort -k3 -t'/' | xargs -I'{}' bash -c 'echo \"export * from $(echo -e \"\\x27\")./$(basename $0 .ts)$(echo -e \"\\x27\")\" >> src/services/index.ts' {} \\;",
|
|
18
|
+
"docs-update-service-index": "npm run docs-remove-service-index && npm run docs-export-service-index",
|
|
19
|
+
"docs": "npm run docs-update-service-index && typedoc",
|
|
17
20
|
"lint": "eslint . --ext .ts",
|
|
18
21
|
"prepublishOnly": "npm test",
|
|
19
22
|
"prepare": "npm run build",
|
|
@@ -22,16 +25,20 @@
|
|
|
22
25
|
},
|
|
23
26
|
"repository": {
|
|
24
27
|
"type": "git",
|
|
25
|
-
"url": "git+https://github.com/devopness/devopness
|
|
28
|
+
"url": "git+https://github.com/devopness/devopness.git"
|
|
26
29
|
},
|
|
27
30
|
"keywords": [
|
|
31
|
+
"Cloud Engineering",
|
|
32
|
+
"Cloud Infrastructure Management",
|
|
33
|
+
"Cloud Platform Engineering",
|
|
34
|
+
"Configuration Management",
|
|
28
35
|
"DevOps",
|
|
29
36
|
"Devopness",
|
|
30
37
|
"Deploy",
|
|
31
38
|
"Deployment",
|
|
39
|
+
"Platform Engineering",
|
|
32
40
|
"Zero Downtime Deploy",
|
|
33
|
-
"Server Management"
|
|
34
|
-
"Configuration Management"
|
|
41
|
+
"Server Management"
|
|
35
42
|
],
|
|
36
43
|
"author": "Devopness (https://www.devopness.com)",
|
|
37
44
|
"license": "MIT",
|
|
@@ -41,9 +48,9 @@
|
|
|
41
48
|
]
|
|
42
49
|
},
|
|
43
50
|
"bugs": {
|
|
44
|
-
"url": "https://github.com/devopness/devopness
|
|
51
|
+
"url": "https://github.com/devopness/devopness/issues"
|
|
45
52
|
},
|
|
46
|
-
"homepage": "https://github.com/devopness/devopness
|
|
53
|
+
"homepage": "https://github.com/devopness/devopness#readme",
|
|
47
54
|
"devDependencies": {
|
|
48
55
|
"@openapitools/openapi-generator-cli": "^2.0.2",
|
|
49
56
|
"@types/jest": "^27.0.1",
|
|
@@ -61,7 +68,7 @@
|
|
|
61
68
|
},
|
|
62
69
|
"dependencies": {
|
|
63
70
|
"@types/parse-link-header": "^2.0.0",
|
|
64
|
-
"axios": "^0.
|
|
71
|
+
"axios": "^0.27.2",
|
|
65
72
|
"parse-link-header": "^2.0.0"
|
|
66
73
|
}
|
|
67
74
|
}
|
|
@@ -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
|
-
import { ApiBaseService } from "../../../services/ApiBaseService";
|
|
13
|
-
import { ApiResponse } from "../../../common/ApiResponse";
|
|
14
|
-
/**
|
|
15
|
-
* InvitationsApiService - Auto-generated
|
|
16
|
-
*/
|
|
17
|
-
export declare class InvitationsApiService extends ApiBaseService {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @summary Accept a pending invitation
|
|
21
|
-
* @param {string} invitationId UUID of the invitation to be accepted
|
|
22
|
-
*/
|
|
23
|
-
acceptInvitation(invitationId: string): Promise<ApiResponse<void>>;
|
|
24
|
-
}
|
|
@@ -1,49 +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
|
-
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.InvitationsApiService = void 0;
|
|
25
|
-
const ApiBaseService_1 = require("../../../services/ApiBaseService");
|
|
26
|
-
const ApiResponse_1 = require("../../../common/ApiResponse");
|
|
27
|
-
const Exceptions_1 = require("../../../common/Exceptions");
|
|
28
|
-
/**
|
|
29
|
-
* InvitationsApiService - Auto-generated
|
|
30
|
-
*/
|
|
31
|
-
class InvitationsApiService extends ApiBaseService_1.ApiBaseService {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @summary Accept a pending invitation
|
|
35
|
-
* @param {string} invitationId UUID of the invitation to be accepted
|
|
36
|
-
*/
|
|
37
|
-
acceptInvitation(invitationId) {
|
|
38
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
-
if (invitationId === null || invitationId === undefined) {
|
|
40
|
-
throw new Exceptions_1.ArgumentNullException('invitationId', 'acceptInvitation');
|
|
41
|
-
}
|
|
42
|
-
let queryString = '';
|
|
43
|
-
const requestUrl = '/invitations/{invitation_id}/accept' + (queryString ? `?${queryString}` : '');
|
|
44
|
-
const response = yield this.post(requestUrl.replace(`{${"invitation_id"}}`, encodeURIComponent(String(invitationId))));
|
|
45
|
-
return new ApiResponse_1.ApiResponse(response);
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
exports.InvitationsApiService = InvitationsApiService;
|
|
@@ -1,27 +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 action to be executed for the given service
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare enum ServiceAction {
|
|
18
|
-
Status = "status",
|
|
19
|
-
Start = "start",
|
|
20
|
-
Stop = "stop",
|
|
21
|
-
Reload = "reload",
|
|
22
|
-
Restart = "restart",
|
|
23
|
-
Enable = "enable",
|
|
24
|
-
Disable = "disable",
|
|
25
|
-
Install = "install",
|
|
26
|
-
Uninstall = "uninstall"
|
|
27
|
-
}
|
|
@@ -1,32 +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.ServiceAction = void 0;
|
|
16
|
-
/**
|
|
17
|
-
* The action to be executed for the given service
|
|
18
|
-
* @export
|
|
19
|
-
* @enum {string}
|
|
20
|
-
*/
|
|
21
|
-
var ServiceAction;
|
|
22
|
-
(function (ServiceAction) {
|
|
23
|
-
ServiceAction["Status"] = "status";
|
|
24
|
-
ServiceAction["Start"] = "start";
|
|
25
|
-
ServiceAction["Stop"] = "stop";
|
|
26
|
-
ServiceAction["Reload"] = "reload";
|
|
27
|
-
ServiceAction["Restart"] = "restart";
|
|
28
|
-
ServiceAction["Enable"] = "enable";
|
|
29
|
-
ServiceAction["Disable"] = "disable";
|
|
30
|
-
ServiceAction["Install"] = "install";
|
|
31
|
-
ServiceAction["Uninstall"] = "uninstall";
|
|
32
|
-
})(ServiceAction = exports.ServiceAction || (exports.ServiceAction = {}));
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvitationService = void 0;
|
|
4
|
-
const invitations_api_1 = require("../api/generated/apis/invitations-api");
|
|
5
|
-
class InvitationService extends invitations_api_1.InvitationsApiService {
|
|
6
|
-
}
|
|
7
|
-
exports.InvitationService = InvitationService;
|