@devopness/sdk-js 2.31.0 → 2.32.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.
Files changed (33) hide show
  1. package/dist/api/generated/models/index.d.ts +0 -7
  2. package/dist/api/generated/models/index.js +0 -7
  3. package/dist/services/ProjectService.d.ts +0 -14
  4. package/dist/services/ProjectService.js +0 -14
  5. package/package.json +1 -1
  6. package/dist/api/generated/apis/projects-applications-api.d.ts +0 -36
  7. package/dist/api/generated/apis/projects-applications-api.js +0 -78
  8. package/dist/api/generated/apis/projects-cron-jobs-api.d.ts +0 -36
  9. package/dist/api/generated/apis/projects-cron-jobs-api.js +0 -78
  10. package/dist/api/generated/apis/projects-daemons-api.d.ts +0 -36
  11. package/dist/api/generated/apis/projects-daemons-api.js +0 -78
  12. package/dist/api/generated/apis/projects-network-rules-api.d.ts +0 -27
  13. package/dist/api/generated/apis/projects-network-rules-api.js +0 -58
  14. package/dist/api/generated/apis/projects-servers-api.d.ts +0 -36
  15. package/dist/api/generated/apis/projects-servers-api.js +0 -78
  16. package/dist/api/generated/apis/projects-services-api.d.ts +0 -27
  17. package/dist/api/generated/apis/projects-services-api.js +0 -58
  18. package/dist/api/generated/apis/projects-sshkeys-api.d.ts +0 -36
  19. package/dist/api/generated/apis/projects-sshkeys-api.js +0 -78
  20. package/dist/api/generated/models/application-project-create.d.ts +0 -140
  21. package/dist/api/generated/models/application-project-create.js +0 -14
  22. package/dist/api/generated/models/cron-job-project-create.d.ts +0 -61
  23. package/dist/api/generated/models/cron-job-project-create.js +0 -14
  24. package/dist/api/generated/models/daemon-project-create.d.ts +0 -61
  25. package/dist/api/generated/models/daemon-project-create.js +0 -14
  26. package/dist/api/generated/models/network-rule-project-create.d.ts +0 -69
  27. package/dist/api/generated/models/network-rule-project-create.js +0 -14
  28. package/dist/api/generated/models/server-project-create.d.ts +0 -50
  29. package/dist/api/generated/models/server-project-create.js +0 -14
  30. package/dist/api/generated/models/service-project-create.d.ts +0 -51
  31. package/dist/api/generated/models/service-project-create.js +0 -14
  32. package/dist/api/generated/models/ssh-key-project-create.d.ts +0 -37
  33. package/dist/api/generated/models/ssh-key-project-create.js +0 -14
@@ -1,78 +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.ProjectsServersApiService = 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
- * ProjectsServersApiService - Auto-generated
30
- */
31
- class ProjectsServersApiService extends ApiBaseService_1.ApiBaseService {
32
- /**
33
- *
34
- * @summary Creates a server and link it to the given project
35
- * @param {number} projectId The ID of the project.
36
- * @param {ServerProjectCreate} serverProjectCreate A JSON object containing the resource data
37
- */
38
- addProjectServer(projectId, serverProjectCreate) {
39
- return __awaiter(this, void 0, void 0, function* () {
40
- if (projectId === null || projectId === undefined) {
41
- throw new Exceptions_1.ArgumentNullException('projectId', 'addProjectServer');
42
- }
43
- if (serverProjectCreate === null || serverProjectCreate === undefined) {
44
- throw new Exceptions_1.ArgumentNullException('serverProjectCreate', 'addProjectServer');
45
- }
46
- let queryString = '';
47
- const requestUrl = '/projects/{project_id}/servers' + (queryString ? `?${queryString}` : '');
48
- const response = yield this.post(requestUrl.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId))), serverProjectCreate);
49
- return new ApiResponse_1.ApiResponse(response);
50
- });
51
- }
52
- /**
53
- *
54
- * @summary List all servers linked to a project
55
- * @param {number} projectId The ID of the project.
56
- * @param {number} [page] Number of the page to be retrieved
57
- * @param {number} [perPage] Number of items returned per page
58
- */
59
- listProjectServers(projectId, page, perPage) {
60
- return __awaiter(this, void 0, void 0, function* () {
61
- if (projectId === null || projectId === undefined) {
62
- throw new Exceptions_1.ArgumentNullException('projectId', 'listProjectServers');
63
- }
64
- let queryString = '';
65
- const queryParams = { page: page, per_page: perPage, };
66
- for (const key in queryParams) {
67
- if (queryParams[key] === undefined || queryParams[key] === null) {
68
- continue;
69
- }
70
- queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
71
- }
72
- const requestUrl = '/projects/{project_id}/servers' + (queryString ? `?${queryString}` : '');
73
- const response = yield this.get(requestUrl.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId))));
74
- return new ApiResponse_1.ApiResponse(response);
75
- });
76
- }
77
- }
78
- exports.ProjectsServersApiService = ProjectsServersApiService;
@@ -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
- import { ApiBaseService } from "../../../services/ApiBaseService";
13
- import { ApiResponse } from "../../../common/ApiResponse";
14
- import { ServiceRelation } from '../../generated/models';
15
- /**
16
- * ProjectsServicesApiService - Auto-generated
17
- */
18
- export declare class ProjectsServicesApiService extends ApiBaseService {
19
- /**
20
- *
21
- * @summary List all services in a project
22
- * @param {number} projectId The ID of the project.
23
- * @param {number} [page] Number of the page to be retrieved
24
- * @param {number} [perPage] Number of items returned per page
25
- */
26
- listProjectServices(projectId: number, page?: number, perPage?: number): Promise<ApiResponse<Array<ServiceRelation>>>;
27
- }
@@ -1,58 +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.ProjectsServicesApiService = 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
- * ProjectsServicesApiService - Auto-generated
30
- */
31
- class ProjectsServicesApiService extends ApiBaseService_1.ApiBaseService {
32
- /**
33
- *
34
- * @summary List all services in a project
35
- * @param {number} projectId The ID of the project.
36
- * @param {number} [page] Number of the page to be retrieved
37
- * @param {number} [perPage] Number of items returned per page
38
- */
39
- listProjectServices(projectId, page, perPage) {
40
- return __awaiter(this, void 0, void 0, function* () {
41
- if (projectId === null || projectId === undefined) {
42
- throw new Exceptions_1.ArgumentNullException('projectId', 'listProjectServices');
43
- }
44
- let queryString = '';
45
- const queryParams = { page: page, per_page: perPage, };
46
- for (const key in queryParams) {
47
- if (queryParams[key] === undefined || queryParams[key] === null) {
48
- continue;
49
- }
50
- queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
51
- }
52
- const requestUrl = '/projects/{project_id}/services' + (queryString ? `?${queryString}` : '');
53
- const response = yield this.get(requestUrl.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId))));
54
- return new ApiResponse_1.ApiResponse(response);
55
- });
56
- }
57
- }
58
- exports.ProjectsServicesApiService = ProjectsServicesApiService;
@@ -1,36 +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
- import { SshKey } from '../../generated/models';
15
- import { SshKeyProjectCreate } from '../../generated/models';
16
- import { SshKeyRelation } from '../../generated/models';
17
- /**
18
- * ProjectsSSHKeysApiService - Auto-generated
19
- */
20
- export declare class ProjectsSSHKeysApiService extends ApiBaseService {
21
- /**
22
- *
23
- * @summary Create an SSH key and link it to the given project
24
- * @param {number} projectId The ID of the project.
25
- * @param {SshKeyProjectCreate} sshKeyProjectCreate A JSON object containing the resource data
26
- */
27
- addProjectSshKey(projectId: number, sshKeyProjectCreate: SshKeyProjectCreate): Promise<ApiResponse<SshKey>>;
28
- /**
29
- *
30
- * @summary Return a list of all SSH keys added to a project
31
- * @param {number} projectId The ID of the project.
32
- * @param {number} [page] Number of the page to be retrieved
33
- * @param {number} [perPage] Number of items returned per page
34
- */
35
- listProjectSshKeys(projectId: number, page?: number, perPage?: number): Promise<ApiResponse<Array<SshKeyRelation>>>;
36
- }
@@ -1,78 +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.ProjectsSSHKeysApiService = 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
- * ProjectsSSHKeysApiService - Auto-generated
30
- */
31
- class ProjectsSSHKeysApiService extends ApiBaseService_1.ApiBaseService {
32
- /**
33
- *
34
- * @summary Create an SSH key and link it to the given project
35
- * @param {number} projectId The ID of the project.
36
- * @param {SshKeyProjectCreate} sshKeyProjectCreate A JSON object containing the resource data
37
- */
38
- addProjectSshKey(projectId, sshKeyProjectCreate) {
39
- return __awaiter(this, void 0, void 0, function* () {
40
- if (projectId === null || projectId === undefined) {
41
- throw new Exceptions_1.ArgumentNullException('projectId', 'addProjectSshKey');
42
- }
43
- if (sshKeyProjectCreate === null || sshKeyProjectCreate === undefined) {
44
- throw new Exceptions_1.ArgumentNullException('sshKeyProjectCreate', 'addProjectSshKey');
45
- }
46
- let queryString = '';
47
- const requestUrl = '/projects/{project_id}/ssh-keys' + (queryString ? `?${queryString}` : '');
48
- const response = yield this.post(requestUrl.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId))), sshKeyProjectCreate);
49
- return new ApiResponse_1.ApiResponse(response);
50
- });
51
- }
52
- /**
53
- *
54
- * @summary Return a list of all SSH keys added to a project
55
- * @param {number} projectId The ID of the project.
56
- * @param {number} [page] Number of the page to be retrieved
57
- * @param {number} [perPage] Number of items returned per page
58
- */
59
- listProjectSshKeys(projectId, page, perPage) {
60
- return __awaiter(this, void 0, void 0, function* () {
61
- if (projectId === null || projectId === undefined) {
62
- throw new Exceptions_1.ArgumentNullException('projectId', 'listProjectSshKeys');
63
- }
64
- let queryString = '';
65
- const queryParams = { page: page, per_page: perPage, };
66
- for (const key in queryParams) {
67
- if (queryParams[key] === undefined || queryParams[key] === null) {
68
- continue;
69
- }
70
- queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
71
- }
72
- const requestUrl = '/projects/{project_id}/ssh-keys' + (queryString ? `?${queryString}` : '');
73
- const response = yield this.get(requestUrl.replace(`{${"project_id"}}`, encodeURIComponent(String(projectId))));
74
- return new ApiResponse_1.ApiResponse(response);
75
- });
76
- }
77
- }
78
- exports.ProjectsSSHKeysApiService = ProjectsSSHKeysApiService;
@@ -1,140 +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 { ApplicationType } from './application-type';
13
- import { EnvironmentLinkItem } from './environment-link-item';
14
- /**
15
- *
16
- * @export
17
- * @interface ApplicationProjectCreate
18
- */
19
- export interface ApplicationProjectCreate {
20
- /**
21
- * The application\'s unique name. Must not be greater than 60 characters.
22
- * @type {string}
23
- * @memberof ApplicationProjectCreate
24
- */
25
- name: string;
26
- /**
27
- *
28
- * @type {ApplicationType}
29
- * @memberof ApplicationProjectCreate
30
- */
31
- type: ApplicationType;
32
- /**
33
- * The domain or sub-domain through which the application deployed with these settings will be accessible. It can be a naked domain or any subdomain. If app has domain names `testing.my-app.com`, `staging.my-app.com` and `www.my-app.com` a possible good candidate for the application name would be the \"naked\" domain `my-app.com`. Must not be greater than 60 characters.
34
- * @type {string}
35
- * @memberof ApplicationProjectCreate
36
- */
37
- domain_name?: string;
38
- /**
39
- * The optional command that should be executed once during deployment to build the source code and get the application in a ready state. Must be at least 10 characters. Must not be greater than 300 characters.
40
- * @type {string}
41
- * @memberof ApplicationProjectCreate
42
- */
43
- build_command?: string;
44
- /**
45
- * The language runtime engine version to be used to execute this application on the deployed servers. This field is required unless <code>programming_language</code> is in <code>html</code>. Must be one of <code></code> Must be at least 1 characters. Must not be greater than 10 characters.
46
- * @type {string}
47
- * @memberof ApplicationProjectCreate
48
- */
49
- engine_version?: string;
50
- /**
51
- * The base framework on top of which the application has been implemented - it might have impact on the steps to be performed during application deployment. Must not be greater than 30 characters.
52
- * @type {string}
53
- * @memberof ApplicationProjectCreate
54
- */
55
- framework: string;
56
- /**
57
- * The programming language runtime environment to be used to serve the application. E.g.: if a front-end web app is developed using Node.js, but should be served statically (a SPA application, for instance) then this field value should be `html`. Must be one of <code>docker</code>, <code>dotnetcore</code>, <code>html</code>, <code>nodejs</code>, <code>php</code>, or <code>python</code> Must not be greater than 30 characters.
58
- * @type {string}
59
- * @memberof ApplicationProjectCreate
60
- */
61
- programming_language: string;
62
- /**
63
- * Required for CGI|FastCGI|SCGI|WSGI based applications or `docker` containerized applications. It tells `devopness` the private address at which the application listens to external calls.The address has `http` or `https` protocol, an domain name or IP address, optional port and optional path. Or you can specify a UNIX-socket using `unix:` prefix after protocol.
64
- * @type {string}
65
- * @memberof ApplicationProjectCreate
66
- */
67
- listening_address?: string;
68
- /**
69
- * The full name of a repository (`repository_owner/repository_name`) containing the application source code. Required when the `source_provider_id` field is informed. Must not be greater than 60 characters.
70
- * @type {string}
71
- * @memberof ApplicationProjectCreate
72
- */
73
- repository: string;
74
- /**
75
- * Numeric ID of the source provider account where the repository is hosted. Required when the `repository` field is informed.
76
- * @type {number}
77
- * @memberof ApplicationProjectCreate
78
- */
79
- source_provider_id: number;
80
- /**
81
- * The relative directory where package manager\'s manifest files (`package.json`, `composer.json`, `yarn.lock`, etc) are located. It needs to be set for applications where the actual source code is not located in the top level directory of the repository. Must start with one of <code>/</code>.
82
- * @type {string}
83
- * @memberof ApplicationProjectCreate
84
- */
85
- root_directory?: string;
86
- /**
87
- * The relative web directory where publicly accessible assets are located and the web content should be served from. Must start with one of <code>/</code>.
88
- * @type {string}
89
- * @memberof ApplicationProjectCreate
90
- */
91
- public_directory: string;
92
- /**
93
- * The version control branch that, by default, will be used when a deployment is triggered and no other branch name is informed. Must not be greater than 100 characters.
94
- * @type {string}
95
- * @memberof ApplicationProjectCreate
96
- */
97
- default_branch: string;
98
- /**
99
- * The number of deployment history, logs and artifacts to keep stored in both devopness servers and user\'s servers. OR The number of deployment artifacts to be retained in the user\'s servers, making it easier and faster to rollback to previous versions. Must be at least 1. Must not be greater than 10.
100
- * @type {number}
101
- * @memberof ApplicationProjectCreate
102
- */
103
- deployments_keep?: number;
104
- /**
105
- * The entrypoint tells devopness how an application should be started and has basically two forms: 1) `File`: if it\'s a simple file name/path a web app will be served using the entrypoint value as its index file. Example: `index.html` 2) `Command`: if a command line instruction is provided as the entrypoint value, it will be handled as the start up command that initializes the application. It will be assumed that the user is an advanced user that knows what she/he is doing, therefore the command specified here will be run - as is - every time the application needs to be started. Must not be greater than 120 characters.
106
- * @type {string}
107
- * @memberof ApplicationProjectCreate
108
- */
109
- entrypoint: string;
110
- /**
111
- * Indicates if at deployment time Devopness should execute package manager commands to install dependencies used in development mode.
112
- * @type {boolean}
113
- * @memberof ApplicationProjectCreate
114
- */
115
- install_dependencies_dev: boolean;
116
- /**
117
- * Indicates if at deployment time Devopness should execute package manager commands to install dependencies used in production mode.
118
- * @type {boolean}
119
- * @memberof ApplicationProjectCreate
120
- */
121
- install_dependencies_prod: boolean;
122
- /**
123
- * Indicates if push to deploy webhooks are enabled for this application. If enabled an app deployment will be automatically triggered when new changes are committed to the `default_branch`.
124
- * @type {boolean}
125
- * @memberof ApplicationProjectCreate
126
- */
127
- push_to_deploy?: boolean;
128
- /**
129
- * Indicates if the application requires a daemon to keep it alive.
130
- * @type {boolean}
131
- * @memberof ApplicationProjectCreate
132
- */
133
- requires_daemon: boolean;
134
- /**
135
- *
136
- * @type {Array<EnvironmentLinkItem>}
137
- * @memberof ApplicationProjectCreate
138
- */
139
- environments: Array<EnvironmentLinkItem>;
140
- }
@@ -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,61 +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 { EnvironmentLinkItem } from './environment-link-item';
13
- /**
14
- *
15
- * @export
16
- * @interface CronJobProjectCreate
17
- */
18
- export interface CronJobProjectCreate {
19
- /**
20
- * A cron expression consisting of Minute, Hour, Day of Month, Month and Day of Week subexpressions.
21
- * @type {string}
22
- * @memberof CronJobProjectCreate
23
- */
24
- pattern: string;
25
- /**
26
- * The name of the cron job. Must not be greater than 60 characters.
27
- * @type {string}
28
- * @memberof CronJobProjectCreate
29
- */
30
- name: string;
31
- /**
32
- * The command line to be executed when running the cron job. Must be at least 5 characters. Must not be greater than 255 characters.
33
- * @type {string}
34
- * @memberof CronJobProjectCreate
35
- */
36
- command: string;
37
- /**
38
- * The name of the system user on behalf of which the cron job will be executed. Must not be greater than 60 characters.
39
- * @type {string}
40
- * @memberof CronJobProjectCreate
41
- */
42
- run_as_user: string;
43
- /**
44
- * Numeric ID of the application to which the cron job belongs to.
45
- * @type {number}
46
- * @memberof CronJobProjectCreate
47
- */
48
- application_id?: number;
49
- /**
50
- * Numeric ID of the project to which the cron job belongs to.
51
- * @type {number}
52
- * @memberof CronJobProjectCreate
53
- */
54
- project_id: number;
55
- /**
56
- *
57
- * @type {Array<EnvironmentLinkItem>}
58
- * @memberof CronJobProjectCreate
59
- */
60
- environments?: Array<EnvironmentLinkItem>;
61
- }
@@ -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,61 +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 { EnvironmentLinkItem } from './environment-link-item';
13
- /**
14
- *
15
- * @export
16
- * @interface DaemonProjectCreate
17
- */
18
- export interface DaemonProjectCreate {
19
- /**
20
- * The command line to be executed to start the daemon. Must not be greater than 255 characters.
21
- * @type {string}
22
- * @memberof DaemonProjectCreate
23
- */
24
- command: string;
25
- /**
26
- * The number of daemon process instances of the program to run simultaneously. Must be at least 1. Must not be greater than 99.
27
- * @type {number}
28
- * @memberof DaemonProjectCreate
29
- */
30
- process_count: number;
31
- /**
32
- * The working directory where the daemon will be relative to when performing disk i/o. Must start with one of <code>/</code>.
33
- * @type {string}
34
- * @memberof DaemonProjectCreate
35
- */
36
- working_directory: string;
37
- /**
38
- * The name of the Unix user on behalf of which the daemon will run. Must not be greater than 60 characters.
39
- * @type {string}
40
- * @memberof DaemonProjectCreate
41
- */
42
- run_as_user: string;
43
- /**
44
- * The name entered by the user (or auto-generated by `devopness`) to uniquely identify the daemon. Must contain only letters, numbers, dashes and underscores. Must not be greater than 60 characters.
45
- * @type {string}
46
- * @memberof DaemonProjectCreate
47
- */
48
- name: string;
49
- /**
50
- * Numeric ID of the project to which the cron job belongs to.
51
- * @type {number}
52
- * @memberof DaemonProjectCreate
53
- */
54
- project_id: number;
55
- /**
56
- *
57
- * @type {Array<EnvironmentLinkItem>}
58
- * @memberof DaemonProjectCreate
59
- */
60
- environments?: Array<EnvironmentLinkItem>;
61
- }
@@ -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,69 +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 { EnvironmentLinkItem } from './environment-link-item';
13
- import { NetworkRuleProtocol } from './network-rule-protocol';
14
- import { NetworkRuleType } from './network-rule-type';
15
- /**
16
- *
17
- * @export
18
- * @interface NetworkRuleProjectCreate
19
- */
20
- export interface NetworkRuleProjectCreate {
21
- /**
22
- * The rule\'s name/description/reminder. Must be at least 3 characters. Must not be greater than 60 characters.
23
- * @type {string}
24
- * @memberof NetworkRuleProjectCreate
25
- */
26
- name: string;
27
- /**
28
- *
29
- * @type {NetworkRuleType}
30
- * @memberof NetworkRuleProjectCreate
31
- */
32
- type: NetworkRuleType;
33
- /**
34
- *
35
- * @type {NetworkRuleProtocol}
36
- * @memberof NetworkRuleProjectCreate
37
- */
38
- protocol?: NetworkRuleProtocol;
39
- /**
40
- * Starting range of the public ipv4 or ipv6 addresses that can access this rule. Must be a valid IP address.
41
- * @type {string}
42
- * @memberof NetworkRuleProjectCreate
43
- */
44
- ip_address_from?: string;
45
- /**
46
- * Ending range of the public ipv4 or ipv6 addresses that can access this rule. Must be a valid IP address.
47
- * @type {string}
48
- * @memberof NetworkRuleProjectCreate
49
- */
50
- ip_address_to?: string;
51
- /**
52
- * Starting range of network ports to be considered by this rule. Must be at least 1. Must not be greater than 65535.
53
- * @type {number}
54
- * @memberof NetworkRuleProjectCreate
55
- */
56
- port_from: number;
57
- /**
58
- * Ending range of network ports to be considered by this rule. Must be at least 1. Must not be greater than 65535.
59
- * @type {number}
60
- * @memberof NetworkRuleProjectCreate
61
- */
62
- port_to: number;
63
- /**
64
- *
65
- * @type {Array<EnvironmentLinkItem>}
66
- * @memberof NetworkRuleProjectCreate
67
- */
68
- environments?: Array<EnvironmentLinkItem>;
69
- }
@@ -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 });