@devopness/sdk-js 1.93.2 → 1.94.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/projects-api.d.ts +1 -1
- package/dist/api/generated/apis/projects-api.js +1 -1
- package/dist/api/generated/models/application.d.ts +1 -1
- package/dist/api/generated/models/deployment-create.d.ts +2 -2
- package/dist/api/generated/models/project-relation.d.ts +7 -0
- package/dist/api/generated/models/project.d.ts +7 -0
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@ export declare class ProjectsApiService extends ApiBaseService {
|
|
|
33
33
|
getProject(projectId: number): Promise<ApiResponse<Project>>;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @summary Returns a list of all projects
|
|
36
|
+
* @summary Returns a list of all projects the current user has access to
|
|
37
37
|
* @param {number} [page] Number of the page to be retrieved
|
|
38
38
|
* @param {number} [perPage] Number of items returned per page
|
|
39
39
|
*/
|
|
@@ -63,7 +63,7 @@ class ProjectsApiService extends ApiBaseService_1.ApiBaseService {
|
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
|
-
* @summary Returns a list of all projects
|
|
66
|
+
* @summary Returns a list of all projects the current user has access to
|
|
67
67
|
* @param {number} [page] Number of the page to be retrieved
|
|
68
68
|
* @param {number} [perPage] Number of items returned per page
|
|
69
69
|
*/
|
|
@@ -23,13 +23,13 @@ export interface DeploymentCreate {
|
|
|
23
23
|
*/
|
|
24
24
|
type: DeploymentType;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* The name of the branch from which the application source code will be retrieved and deployed. This parameter is ignored when `hash` is provided.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof DeploymentCreate
|
|
29
29
|
*/
|
|
30
30
|
branch: string;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* The commit hash from which the application source code will be retrieved and deployed. When provided `branch` parameter is ignored
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof DeploymentCreate
|
|
35
35
|
*/
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { UserRelation } from './user-relation';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -51,4 +52,10 @@ export interface ProjectRelation {
|
|
|
51
52
|
* @memberof ProjectRelation
|
|
52
53
|
*/
|
|
53
54
|
os_users?: Array<object>;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {UserRelation}
|
|
58
|
+
* @memberof ProjectRelation
|
|
59
|
+
*/
|
|
60
|
+
created_by_user?: UserRelation;
|
|
54
61
|
}
|
|
@@ -17,6 +17,7 @@ import { NetworkRuleRelation } from './network-rule-relation';
|
|
|
17
17
|
import { ServerRelation } from './server-relation';
|
|
18
18
|
import { ServiceRelation } from './service-relation';
|
|
19
19
|
import { SshKeyRelation } from './ssh-key-relation';
|
|
20
|
+
import { UserRelation } from './user-relation';
|
|
20
21
|
/**
|
|
21
22
|
*
|
|
22
23
|
* @export
|
|
@@ -71,6 +72,12 @@ export interface Project {
|
|
|
71
72
|
* @memberof Project
|
|
72
73
|
*/
|
|
73
74
|
applications: Array<ApplicationRelation>;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {UserRelation}
|
|
78
|
+
* @memberof Project
|
|
79
|
+
*/
|
|
80
|
+
created_by_user?: UserRelation;
|
|
74
81
|
/**
|
|
75
82
|
*
|
|
76
83
|
* @type {Array<CronJobRelation>}
|