@devopness/sdk-js 1.103.0 → 1.104.2
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/README.md +5 -5
- package/dist/DevopnessApiClient.d.ts +2 -2
- package/dist/DevopnessApiClient.js +2 -2
- package/dist/api/generated/models/action-data.d.ts +18 -0
- package/dist/api/generated/models/action-data.js +14 -0
- package/dist/api/generated/models/action-deployment-commit.d.ts +90 -0
- package/dist/api/generated/models/action-deployment-commit.js +14 -0
- package/dist/api/generated/models/action-deployment-content.d.ts +55 -0
- package/dist/api/generated/models/action-deployment-content.js +14 -0
- package/dist/api/generated/models/action-deployment-data.d.ts +38 -0
- package/dist/api/generated/models/action-deployment-data.js +14 -0
- package/dist/api/generated/models/action.d.ts +7 -0
- package/dist/api/generated/models/index.d.ts +4 -0
- package/dist/api/generated/models/index.js +4 -0
- package/dist/services/EnvironmentService.d.ts +2 -0
- package/dist/services/EnvironmentService.js +2 -0
- package/dist/services/ProjectService.d.ts +2 -0
- package/dist/services/ProjectService.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ yarn add @devopness/sdk-js
|
|
|
20
20
|
|
|
21
21
|
### Initializing
|
|
22
22
|
|
|
23
|
-
To initialize the usage of Devopness SDK just import it and create a new instance of `DevopnessApiClient` class.
|
|
23
|
+
To initialize the usage of Devopness SDK, just import it and create a new instance of `DevopnessApiClient` class.
|
|
24
24
|
|
|
25
25
|
Here is a generic simple example that can be used from `Node.js`, `TypeScript` or `Javascript` applications:
|
|
26
26
|
|
|
@@ -30,8 +30,8 @@ const devopnessApi = new DevopnessApiClient();
|
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
The instance of `DevopnessApiClient` has properties to all services provided by the API.
|
|
33
|
-
The name of the methods at services is the same as operation name in the documentation of the
|
|
34
|
-
Devopness API. You can consult the URL of
|
|
33
|
+
The name of the methods at services is the same as the operation name in the documentation of the
|
|
34
|
+
Devopness API. You can consult the URL of an endpoint to see the operation name. For instance,
|
|
35
35
|
the URL to endpoint `POST /users/login` in the documentation is: `/#operation/login`
|
|
36
36
|
|
|
37
37
|
### Authenticating
|
|
@@ -49,7 +49,7 @@ async function authenticate(email, pass) {
|
|
|
49
49
|
authenticate('user@email.com', 'secret-password');
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
In the example above, `userTokens` is
|
|
52
|
+
In the example above, `userTokens` is an instance of `ApiResponse` and the `data` property has the data requested from the API. See [ApiResponse.ts](https://github.com/devopness/devopness/blob/master/src/common/ApiResponse.ts) for reference.
|
|
53
53
|
|
|
54
54
|
### Invoking authentication protected endpoints
|
|
55
55
|
Once an authentication token is set, any protected endpoint can be invoked.
|
|
@@ -74,7 +74,7 @@ getUserProfile();
|
|
|
74
74
|
This package includes TypeScript declarations for every method.
|
|
75
75
|
TypeScript versions `>= 3.8` are supported.
|
|
76
76
|
|
|
77
|
-
Some methods in `Devopness SDK JavaScript` accept and return objects from the Devopness API. The type declarations for these objects will always track the latest version of the API. Therefore, if you'e using the latest version of this package you can rely on the Devopness API documentation for checking the input and return types of each API endpoint.
|
|
77
|
+
Some methods in `Devopness SDK JavaScript` accept and return objects from the Devopness API. The type declarations for these objects will always track the latest version of the API. Therefore, if you'e using the latest version of this package, you can rely on the Devopness API documentation for checking the input and return types of each API endpoint.
|
|
78
78
|
|
|
79
79
|
## Building and testing
|
|
80
80
|
To build and test the SDK locally, follow these steps:
|
|
@@ -13,7 +13,6 @@ import { SslCertificateService } from './services/SslCertificateService';
|
|
|
13
13
|
import { UserService } from './services/UserService';
|
|
14
14
|
import { CronJobService } from './services/CronJobService';
|
|
15
15
|
import { StaticService } from './services/StaticService';
|
|
16
|
-
import { ActionsApiService } from './api/generated/apis/actions-api';
|
|
17
16
|
import { SocialAccountService } from './services/SocialAccountService';
|
|
18
17
|
import { LogService } from './services/LogService';
|
|
19
18
|
import { VariableService } from './services/VariableService';
|
|
@@ -24,8 +23,9 @@ import { CloudProviderService } from './services/CloudProviderService';
|
|
|
24
23
|
import { InvitationService } from './services/InvitationService';
|
|
25
24
|
import { TeamService } from './services/TeamService';
|
|
26
25
|
import { ResourceEventService } from './services/ResourceEventService';
|
|
26
|
+
import { ActionService } from './services/ActionService';
|
|
27
27
|
export declare class DevopnessApiClient {
|
|
28
|
-
actions:
|
|
28
|
+
actions: ActionService;
|
|
29
29
|
applications: ApplicationService;
|
|
30
30
|
cloudProviders: CloudProviderService;
|
|
31
31
|
cronjobs: CronJobService;
|
|
@@ -16,7 +16,6 @@ const SslCertificateService_1 = require("./services/SslCertificateService");
|
|
|
16
16
|
const UserService_1 = require("./services/UserService");
|
|
17
17
|
const CronJobService_1 = require("./services/CronJobService");
|
|
18
18
|
const StaticService_1 = require("./services/StaticService");
|
|
19
|
-
const actions_api_1 = require("./api/generated/apis/actions-api");
|
|
20
19
|
const SocialAccountService_1 = require("./services/SocialAccountService");
|
|
21
20
|
const LogService_1 = require("./services/LogService");
|
|
22
21
|
const VariableService_1 = require("./services/VariableService");
|
|
@@ -27,13 +26,14 @@ const CloudProviderService_1 = require("./services/CloudProviderService");
|
|
|
27
26
|
const InvitationService_1 = require("./services/InvitationService");
|
|
28
27
|
const TeamService_1 = require("./services/TeamService");
|
|
29
28
|
const ResourceEventService_1 = require("./services/ResourceEventService");
|
|
29
|
+
const ActionService_1 = require("./services/ActionService");
|
|
30
30
|
class DevopnessApiClient {
|
|
31
31
|
constructor(options) {
|
|
32
32
|
ApiBaseService_1.ApiBaseService.configuration = new ApiBaseService_1.Configuration(options || {});
|
|
33
33
|
// we initialize the services explicitly, instead of auto initialize them on property declaration in the beginning of the class,
|
|
34
34
|
// cause some (or all) of them depend on `ApiBaseService.configuration` property be set. Furthermore, we ensure all assertions
|
|
35
35
|
// for non provided required parameters are quickly returned to the end user before spending time loading extra resources
|
|
36
|
-
this.actions = new
|
|
36
|
+
this.actions = new ActionService_1.ActionService();
|
|
37
37
|
this.applications = new ApplicationService_1.ApplicationService();
|
|
38
38
|
this.cloudProviders = new CloudProviderService_1.CloudProviderService();
|
|
39
39
|
this.cronjobs = new CronJobService_1.CronJobService();
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { ActionDeploymentData } from './action-deployment-data';
|
|
13
|
+
/**
|
|
14
|
+
* @type ActionData
|
|
15
|
+
* Data related to action resource.
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export declare type ActionData = ActionDeploymentData;
|
|
@@ -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,90 @@
|
|
|
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
|
+
* Informations about the commit used on this deployment
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ActionDeploymentCommit
|
|
16
|
+
*/
|
|
17
|
+
export interface ActionDeploymentCommit {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the source provider
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ActionDeploymentCommit
|
|
22
|
+
*/
|
|
23
|
+
source_provider_id: number;
|
|
24
|
+
/**
|
|
25
|
+
* The source provider\'s name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ActionDeploymentCommit
|
|
28
|
+
*/
|
|
29
|
+
provider: string;
|
|
30
|
+
/**
|
|
31
|
+
* The repository of the deployed application
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ActionDeploymentCommit
|
|
34
|
+
*/
|
|
35
|
+
repository: string;
|
|
36
|
+
/**
|
|
37
|
+
* The branch used on deployment
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ActionDeploymentCommit
|
|
40
|
+
*/
|
|
41
|
+
branch: string;
|
|
42
|
+
/**
|
|
43
|
+
* The commit hash used on deployment
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ActionDeploymentCommit
|
|
46
|
+
*/
|
|
47
|
+
hash: string;
|
|
48
|
+
/**
|
|
49
|
+
* The commit message
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ActionDeploymentCommit
|
|
52
|
+
*/
|
|
53
|
+
message: string;
|
|
54
|
+
/**
|
|
55
|
+
* The author of the commit
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ActionDeploymentCommit
|
|
58
|
+
*/
|
|
59
|
+
author_name: string;
|
|
60
|
+
/**
|
|
61
|
+
* The commit author\'s email
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ActionDeploymentCommit
|
|
64
|
+
*/
|
|
65
|
+
author_email: string;
|
|
66
|
+
/**
|
|
67
|
+
* The date and time when the commit was created
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ActionDeploymentCommit
|
|
70
|
+
*/
|
|
71
|
+
committed_at: string;
|
|
72
|
+
/**
|
|
73
|
+
* The commit URL on the source provider
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ActionDeploymentCommit
|
|
76
|
+
*/
|
|
77
|
+
url: string;
|
|
78
|
+
/**
|
|
79
|
+
* The URL to clone the repository on the specific commit
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ActionDeploymentCommit
|
|
82
|
+
*/
|
|
83
|
+
clone_url: string;
|
|
84
|
+
/**
|
|
85
|
+
* The URL to download the commit source code
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ActionDeploymentCommit
|
|
88
|
+
*/
|
|
89
|
+
download_url: string;
|
|
90
|
+
}
|
|
@@ -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,55 @@
|
|
|
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 { DeploymentType } from './deployment-type';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ActionDeploymentContent
|
|
17
|
+
*/
|
|
18
|
+
export interface ActionDeploymentContent {
|
|
19
|
+
/**
|
|
20
|
+
* The ID of the source provider
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ActionDeploymentContent
|
|
23
|
+
*/
|
|
24
|
+
provider_id: number;
|
|
25
|
+
/**
|
|
26
|
+
* The source provider\'s name
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ActionDeploymentContent
|
|
29
|
+
*/
|
|
30
|
+
provider_name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {DeploymentType}
|
|
34
|
+
* @memberof ActionDeploymentContent
|
|
35
|
+
*/
|
|
36
|
+
type: DeploymentType;
|
|
37
|
+
/**
|
|
38
|
+
* The repository of the deployed application
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ActionDeploymentContent
|
|
41
|
+
*/
|
|
42
|
+
repository: string;
|
|
43
|
+
/**
|
|
44
|
+
* The branch used on deployment
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ActionDeploymentContent
|
|
47
|
+
*/
|
|
48
|
+
branch: string;
|
|
49
|
+
/**
|
|
50
|
+
* The commit hash defined to be used on deployment
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ActionDeploymentContent
|
|
53
|
+
*/
|
|
54
|
+
hash: string | null;
|
|
55
|
+
}
|
|
@@ -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,38 @@
|
|
|
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 { ActionDeploymentCommit } from './action-deployment-commit';
|
|
13
|
+
import { ActionDeploymentContent } from './action-deployment-content';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ActionDeploymentData
|
|
18
|
+
*/
|
|
19
|
+
export interface ActionDeploymentData {
|
|
20
|
+
/**
|
|
21
|
+
* The name generated to release created by this deployment
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ActionDeploymentData
|
|
24
|
+
*/
|
|
25
|
+
release_name: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ActionDeploymentCommit}
|
|
29
|
+
* @memberof ActionDeploymentData
|
|
30
|
+
*/
|
|
31
|
+
commit: ActionDeploymentCommit;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ActionDeploymentContent}
|
|
35
|
+
* @memberof ActionDeploymentData
|
|
36
|
+
*/
|
|
37
|
+
deployment: ActionDeploymentContent;
|
|
38
|
+
}
|
|
@@ -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 });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ActionData } from './action-data';
|
|
12
13
|
import { ActionHookRequest } from './action-hook-request';
|
|
13
14
|
import { ActionStatus } from './action-status';
|
|
14
15
|
import { ActionSummary } from './action-summary';
|
|
@@ -61,6 +62,12 @@ export interface Action {
|
|
|
61
62
|
* @memberof Action
|
|
62
63
|
*/
|
|
63
64
|
url_web_permalink: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {ActionData}
|
|
68
|
+
* @memberof Action
|
|
69
|
+
*/
|
|
70
|
+
action_data: ActionData | null;
|
|
64
71
|
/**
|
|
65
72
|
* List of actions dispatched to servers
|
|
66
73
|
* @type {Array<ServerAction>}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export * from './accepted-response-message';
|
|
2
2
|
export * from './action';
|
|
3
|
+
export * from './action-data';
|
|
4
|
+
export * from './action-deployment-commit';
|
|
5
|
+
export * from './action-deployment-content';
|
|
6
|
+
export * from './action-deployment-data';
|
|
3
7
|
export * from './action-hook-request';
|
|
4
8
|
export * from './action-list-item';
|
|
5
9
|
export * from './action-list-item-params';
|
|
@@ -16,6 +16,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./accepted-response-message"), exports);
|
|
18
18
|
__exportStar(require("./action"), exports);
|
|
19
|
+
__exportStar(require("./action-data"), exports);
|
|
20
|
+
__exportStar(require("./action-deployment-commit"), exports);
|
|
21
|
+
__exportStar(require("./action-deployment-content"), exports);
|
|
22
|
+
__exportStar(require("./action-deployment-data"), exports);
|
|
19
23
|
__exportStar(require("./action-hook-request"), exports);
|
|
20
24
|
__exportStar(require("./action-list-item"), exports);
|
|
21
25
|
__exportStar(require("./action-list-item-params"), exports);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EnvironmentsApiService } from '../api/generated/apis/environments-api';
|
|
2
|
+
import { EnvironmentsActionsApiService } from '../api/generated/apis/environments-actions-api';
|
|
2
3
|
import { EnvironmentsApplicationsApiService } from '../api/generated/apis/environments-applications-api';
|
|
3
4
|
import { EnvironmentsCronJobsApiService } from '../api/generated/apis/environments-cron-jobs-api';
|
|
4
5
|
import { EnvironmentsDaemonsApiService } from '../api/generated/apis/environments-daemons-api';
|
|
@@ -9,6 +10,7 @@ import { EnvironmentsServicesApiService } from '../api/generated/apis/environmen
|
|
|
9
10
|
import { EnvironmentsSSHKeysApiService } from '../api/generated/apis/environments-sshkeys-api';
|
|
10
11
|
import { EnvironmentsTeamsApiService } from '../api/generated/apis/environments-teams-api';
|
|
11
12
|
export declare class EnvironmentService extends EnvironmentsApiService {
|
|
13
|
+
actions: EnvironmentsActionsApiService;
|
|
12
14
|
applications: EnvironmentsApplicationsApiService;
|
|
13
15
|
cronjobs: EnvironmentsCronJobsApiService;
|
|
14
16
|
daemons: EnvironmentsDaemonsApiService;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EnvironmentService = void 0;
|
|
4
4
|
const environments_api_1 = require("../api/generated/apis/environments-api");
|
|
5
|
+
const environments_actions_api_1 = require("../api/generated/apis/environments-actions-api");
|
|
5
6
|
const environments_applications_api_1 = require("../api/generated/apis/environments-applications-api");
|
|
6
7
|
const environments_cron_jobs_api_1 = require("../api/generated/apis/environments-cron-jobs-api");
|
|
7
8
|
const environments_daemons_api_1 = require("../api/generated/apis/environments-daemons-api");
|
|
@@ -14,6 +15,7 @@ const environments_teams_api_1 = require("../api/generated/apis/environments-tea
|
|
|
14
15
|
class EnvironmentService extends environments_api_1.EnvironmentsApiService {
|
|
15
16
|
constructor() {
|
|
16
17
|
super(...arguments);
|
|
18
|
+
this.actions = new environments_actions_api_1.EnvironmentsActionsApiService();
|
|
17
19
|
this.applications = new environments_applications_api_1.EnvironmentsApplicationsApiService();
|
|
18
20
|
this.cronjobs = new environments_cron_jobs_api_1.EnvironmentsCronJobsApiService();
|
|
19
21
|
this.daemons = new environments_daemons_api_1.EnvironmentsDaemonsApiService();
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ProjectsApiService } from '../api/generated/apis/projects-api';
|
|
2
|
+
import { ProjectsActionsApiService } from '../api/generated/apis/projects-actions-api';
|
|
2
3
|
import { ProjectsApplicationsApiService } from '../api/generated/apis/projects-applications-api';
|
|
3
4
|
import { ProjectsCronJobsApiService } from '../api/generated/apis/projects-cron-jobs-api';
|
|
4
5
|
import { ProjectsEnvironmentsApiService } from '../api/generated/apis/projects-environments-api';
|
|
@@ -8,6 +9,7 @@ import { ProjectsServicesApiService } from '../api/generated/apis/projects-servi
|
|
|
8
9
|
import { ProjectsSSHKeysApiService } from '../api/generated/apis/projects-sshkeys-api';
|
|
9
10
|
import { ProjectsDaemonsApiService } from '../api/generated/apis/projects-daemons-api';
|
|
10
11
|
export declare class ProjectService extends ProjectsApiService {
|
|
12
|
+
actions: ProjectsActionsApiService;
|
|
11
13
|
applications: ProjectsApplicationsApiService;
|
|
12
14
|
cronjobs: ProjectsCronJobsApiService;
|
|
13
15
|
daemons: ProjectsDaemonsApiService;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ProjectService = void 0;
|
|
4
4
|
const projects_api_1 = require("../api/generated/apis/projects-api");
|
|
5
|
+
const projects_actions_api_1 = require("../api/generated/apis/projects-actions-api");
|
|
5
6
|
const projects_applications_api_1 = require("../api/generated/apis/projects-applications-api");
|
|
6
7
|
const projects_cron_jobs_api_1 = require("../api/generated/apis/projects-cron-jobs-api");
|
|
7
8
|
const projects_environments_api_1 = require("../api/generated/apis/projects-environments-api");
|
|
@@ -13,6 +14,7 @@ const projects_daemons_api_1 = require("../api/generated/apis/projects-daemons-a
|
|
|
13
14
|
class ProjectService extends projects_api_1.ProjectsApiService {
|
|
14
15
|
constructor() {
|
|
15
16
|
super(...arguments);
|
|
17
|
+
this.actions = new projects_actions_api_1.ProjectsActionsApiService();
|
|
16
18
|
this.applications = new projects_applications_api_1.ProjectsApplicationsApiService();
|
|
17
19
|
this.cronjobs = new projects_cron_jobs_api_1.ProjectsCronJobsApiService();
|
|
18
20
|
this.daemons = new projects_daemons_api_1.ProjectsDaemonsApiService();
|