@devopness/sdk-js 1.101.1 → 1.104.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 (50) hide show
  1. package/README.md +2 -10
  2. package/dist/DevopnessApiClient.d.ts +2 -4
  3. package/dist/DevopnessApiClient.js +2 -4
  4. package/dist/api/generated/apis/actions-api.d.ts +6 -0
  5. package/dist/api/generated/apis/actions-api.js +16 -0
  6. package/dist/api/generated/apis/actions-resources-api.d.ts +39 -0
  7. package/dist/api/generated/apis/actions-resources-api.js +95 -0
  8. package/dist/api/generated/apis/applications-deployments-api.d.ts +3 -13
  9. package/dist/api/generated/apis/applications-deployments-api.js +3 -28
  10. package/dist/api/generated/apis/{projects-deployments-api.d.ts → environments-actions-api.d.ts} +7 -6
  11. package/dist/api/generated/apis/{projects-deployments-api.js → environments-actions-api.js} +15 -11
  12. package/dist/api/generated/apis/logs-api.d.ts +0 -7
  13. package/dist/api/generated/apis/logs-api.js +0 -20
  14. package/dist/api/generated/apis/projects-actions-api.d.ts +39 -0
  15. package/dist/api/generated/apis/projects-actions-api.js +95 -0
  16. package/dist/api/generated/models/action-data.d.ts +18 -0
  17. package/dist/api/generated/models/{deployment-create-application.js → action-data.js} +0 -0
  18. package/dist/api/generated/models/action-deployment-commit.d.ts +90 -0
  19. package/dist/api/generated/models/{deployment-create-server.js → action-deployment-commit.js} +0 -0
  20. package/dist/api/generated/models/action-deployment-content.d.ts +55 -0
  21. package/dist/api/generated/models/{deployment-create.js → action-deployment-content.js} +0 -0
  22. package/dist/api/generated/models/action-deployment-data.d.ts +38 -0
  23. package/dist/api/generated/models/{deployment-relation.js → action-deployment-data.js} +0 -0
  24. package/dist/api/generated/models/action-trigger-type.d.ts +20 -0
  25. package/dist/api/generated/models/action-trigger-type.js +25 -0
  26. package/dist/api/generated/models/action-triggered-from.d.ts +73 -0
  27. package/dist/api/generated/models/{deployment-step.js → action-triggered-from.js} +0 -0
  28. package/dist/api/generated/models/action.d.ts +15 -1
  29. package/dist/api/generated/models/{deployment-create.d.ts → application-deployment.d.ts} +6 -6
  30. package/dist/api/generated/models/{deployment.js → application-deployment.js} +0 -0
  31. package/dist/api/generated/models/application-last-deployments.d.ts +5 -5
  32. package/dist/api/generated/models/index.d.ts +7 -6
  33. package/dist/api/generated/models/index.js +7 -6
  34. package/dist/api/generated/models/resource.d.ts +2 -3
  35. package/dist/api/generated/models/script.d.ts +11 -4
  36. package/dist/services/ActionService.d.ts +2 -0
  37. package/dist/services/ActionService.js +5 -0
  38. package/dist/services/ProjectService.d.ts +0 -2
  39. package/dist/services/ProjectService.js +0 -2
  40. package/package.json +3 -3
  41. package/LICENSE +0 -21
  42. package/dist/api/generated/apis/deployments-api.d.ts +0 -25
  43. package/dist/api/generated/apis/deployments-api.js +0 -49
  44. package/dist/api/generated/models/deployment-create-application.d.ts +0 -42
  45. package/dist/api/generated/models/deployment-create-server.d.ts +0 -30
  46. package/dist/api/generated/models/deployment-relation.d.ts +0 -103
  47. package/dist/api/generated/models/deployment-step.d.ts +0 -61
  48. package/dist/api/generated/models/deployment.d.ts +0 -110
  49. package/dist/services/DeploymentService.d.ts +0 -3
  50. package/dist/services/DeploymentService.js +0 -7
@@ -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,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,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,20 @@
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
+ * * `hook`: the action have been triggered by an `incoming hook`. * `manual`: the action have been manually triggered.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum ActionTriggerType {
18
+ Hook = "hook",
19
+ Manual = "manual"
20
+ }
@@ -0,0 +1,25 @@
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.ActionTriggerType = void 0;
16
+ /**
17
+ * * `hook`: the action have been triggered by an `incoming hook`. * `manual`: the action have been manually triggered.
18
+ * @export
19
+ * @enum {string}
20
+ */
21
+ var ActionTriggerType;
22
+ (function (ActionTriggerType) {
23
+ ActionTriggerType["Hook"] = "hook";
24
+ ActionTriggerType["Manual"] = "manual";
25
+ })(ActionTriggerType = exports.ActionTriggerType || (exports.ActionTriggerType = {}));
@@ -0,0 +1,73 @@
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 { ActionTriggerType } from './action-trigger-type';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ActionTriggeredFrom
17
+ */
18
+ export interface ActionTriggeredFrom {
19
+ /**
20
+ * The HTTP origin of the request that have been dispatched the action.
21
+ * @type {string}
22
+ * @memberof ActionTriggeredFrom
23
+ */
24
+ origin: string | null;
25
+ /**
26
+ *
27
+ * @type {ActionTriggerType}
28
+ * @memberof ActionTriggeredFrom
29
+ */
30
+ trigger_type: ActionTriggerType;
31
+ /**
32
+ * The hook or user name that have been triggered the action.
33
+ * @type {string}
34
+ * @memberof ActionTriggeredFrom
35
+ */
36
+ name: string;
37
+ /**
38
+ * The user\'s email if the action have been manually triggered.
39
+ * @type {string}
40
+ * @memberof ActionTriggeredFrom
41
+ */
42
+ email: string | null;
43
+ /**
44
+ * The IP address of the request origin.
45
+ * @type {string}
46
+ * @memberof ActionTriggeredFrom
47
+ */
48
+ ip_address: string;
49
+ /**
50
+ * The user\'s ID if the action have been manually triggered.
51
+ * @type {number}
52
+ * @memberof ActionTriggeredFrom
53
+ */
54
+ user_id: number | null;
55
+ /**
56
+ * The hook\'s ID if the action have been triggered by a hook.
57
+ * @type {number}
58
+ * @memberof ActionTriggeredFrom
59
+ */
60
+ hook_id: number | null;
61
+ /**
62
+ * The hook request\'s ID if the action have been triggered by a hook.
63
+ * @type {number}
64
+ * @memberof ActionTriggeredFrom
65
+ */
66
+ hook_request_id: number | null;
67
+ /**
68
+ * The value defined has pull request ID on triggering a deployment.
69
+ * @type {number}
70
+ * @memberof ActionTriggeredFrom
71
+ */
72
+ pull_request_id: number | null;
73
+ }
@@ -9,9 +9,11 @@
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';
16
+ import { ActionTriggeredFrom } from './action-triggered-from';
15
17
  import { ActionType } from './action-type';
16
18
  import { EnvironmentRelation } from './environment-relation';
17
19
  import { ProjectRelation } from './project-relation';
@@ -60,6 +62,12 @@ export interface Action {
60
62
  * @memberof Action
61
63
  */
62
64
  url_web_permalink: string;
65
+ /**
66
+ *
67
+ * @type {ActionData}
68
+ * @memberof Action
69
+ */
70
+ action_data: ActionData | null;
63
71
  /**
64
72
  * List of actions dispatched to servers
65
73
  * @type {Array<ServerAction>}
@@ -78,12 +86,18 @@ export interface Action {
78
86
  * @memberof Action
79
87
  */
80
88
  environment?: EnvironmentRelation;
89
+ /**
90
+ *
91
+ * @type {ActionTriggeredFrom}
92
+ * @memberof Action
93
+ */
94
+ triggered_from: ActionTriggeredFrom;
81
95
  /**
82
96
  *
83
97
  * @type {UserRelation}
84
98
  * @memberof Action
85
99
  */
86
- triggered_by_user: UserRelation;
100
+ triggered_by_user?: UserRelation;
87
101
  /**
88
102
  *
89
103
  * @type {ProjectRelation}
@@ -13,31 +13,31 @@ import { DeploymentType } from './deployment-type';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface DeploymentCreate
16
+ * @interface ApplicationDeployment
17
17
  */
18
- export interface DeploymentCreate {
18
+ export interface ApplicationDeployment {
19
19
  /**
20
20
  *
21
21
  * @type {DeploymentType}
22
- * @memberof DeploymentCreate
22
+ * @memberof ApplicationDeployment
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
- * @memberof DeploymentCreate
28
+ * @memberof ApplicationDeployment
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
- * @memberof DeploymentCreate
34
+ * @memberof ApplicationDeployment
35
35
  */
36
36
  hash?: string;
37
37
  /**
38
38
  * List of servers ids that the deploy will be triggered to
39
39
  * @type {Array<number>}
40
- * @memberof DeploymentCreate
40
+ * @memberof ApplicationDeployment
41
41
  */
42
42
  servers?: Array<number>;
43
43
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { DeploymentRelation } from './deployment-relation';
12
+ import { Action } from './action';
13
13
  /**
14
14
  * Latest deployment created to application and the more recent completed deployment
15
15
  * @export
@@ -18,14 +18,14 @@ import { DeploymentRelation } from './deployment-relation';
18
18
  export interface ApplicationLastDeployments {
19
19
  /**
20
20
  *
21
- * @type {DeploymentRelation}
21
+ * @type {Action}
22
22
  * @memberof ApplicationLastDeployments
23
23
  */
24
- latest?: DeploymentRelation | null;
24
+ latest?: Action | null;
25
25
  /**
26
26
  *
27
- * @type {DeploymentRelation}
27
+ * @type {Action}
28
28
  * @memberof ApplicationLastDeployments
29
29
  */
30
- live?: DeploymentRelation | null;
30
+ live?: Action | null;
31
31
  }
@@ -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';
@@ -9,12 +13,15 @@ export * from './action-step';
9
13
  export * from './action-step-log';
10
14
  export * from './action-summary';
11
15
  export * from './action-summary-server';
16
+ export * from './action-trigger-type';
17
+ export * from './action-triggered-from';
12
18
  export * from './action-type';
13
19
  export * from './api-error';
14
20
  export * from './api-error-errors';
15
21
  export * from './api-error-errors-field-name';
16
22
  export * from './application';
17
23
  export * from './application-create';
24
+ export * from './application-deployment';
18
25
  export * from './application-last-deployments';
19
26
  export * from './application-options';
20
27
  export * from './application-relation';
@@ -50,15 +57,9 @@ export * from './daemon-create';
50
57
  export * from './daemon-relation';
51
58
  export * from './daemon-restart';
52
59
  export * from './daemon-update';
53
- export * from './deployment';
54
- export * from './deployment-create';
55
- export * from './deployment-create-application';
56
- export * from './deployment-create-server';
57
60
  export * from './deployment-default-step';
58
61
  export * from './deployment-origin';
59
- export * from './deployment-relation';
60
62
  export * from './deployment-source';
61
- export * from './deployment-step';
62
63
  export * from './deployment-type';
63
64
  export * from './environment';
64
65
  export * from './environment-create';
@@ -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);
@@ -25,12 +29,15 @@ __exportStar(require("./action-step"), exports);
25
29
  __exportStar(require("./action-step-log"), exports);
26
30
  __exportStar(require("./action-summary"), exports);
27
31
  __exportStar(require("./action-summary-server"), exports);
32
+ __exportStar(require("./action-trigger-type"), exports);
33
+ __exportStar(require("./action-triggered-from"), exports);
28
34
  __exportStar(require("./action-type"), exports);
29
35
  __exportStar(require("./api-error"), exports);
30
36
  __exportStar(require("./api-error-errors"), exports);
31
37
  __exportStar(require("./api-error-errors-field-name"), exports);
32
38
  __exportStar(require("./application"), exports);
33
39
  __exportStar(require("./application-create"), exports);
40
+ __exportStar(require("./application-deployment"), exports);
34
41
  __exportStar(require("./application-last-deployments"), exports);
35
42
  __exportStar(require("./application-options"), exports);
36
43
  __exportStar(require("./application-relation"), exports);
@@ -66,15 +73,9 @@ __exportStar(require("./daemon-create"), exports);
66
73
  __exportStar(require("./daemon-relation"), exports);
67
74
  __exportStar(require("./daemon-restart"), exports);
68
75
  __exportStar(require("./daemon-update"), exports);
69
- __exportStar(require("./deployment"), exports);
70
- __exportStar(require("./deployment-create"), exports);
71
- __exportStar(require("./deployment-create-application"), exports);
72
- __exportStar(require("./deployment-create-server"), exports);
73
76
  __exportStar(require("./deployment-default-step"), exports);
74
77
  __exportStar(require("./deployment-origin"), exports);
75
- __exportStar(require("./deployment-relation"), exports);
76
78
  __exportStar(require("./deployment-source"), exports);
77
- __exportStar(require("./deployment-step"), exports);
78
79
  __exportStar(require("./deployment-type"), exports);
79
80
  __exportStar(require("./environment"), exports);
80
81
  __exportStar(require("./environment-create"), exports);
@@ -12,7 +12,6 @@
12
12
  import { ApplicationRelation } from './application-relation';
13
13
  import { CronJobRelation } from './cron-job-relation';
14
14
  import { DaemonRelation } from './daemon-relation';
15
- import { DeploymentRelation } from './deployment-relation';
16
15
  import { NetworkRuleRelation } from './network-rule-relation';
17
16
  import { ResourceType } from './resource-type';
18
17
  import { ServerRelation } from './server-relation';
@@ -45,8 +44,8 @@ export interface Resource {
45
44
  type_human_readable: string;
46
45
  /**
47
46
  * The resource data of type specified on `resource.type`
48
- * @type {ApplicationRelation | CronJobRelation | DaemonRelation | DeploymentRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation}
47
+ * @type {ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation}
49
48
  * @memberof Resource
50
49
  */
51
- data?: ApplicationRelation | CronJobRelation | DaemonRelation | DeploymentRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | null;
50
+ data?: ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | null;
52
51
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ResourceType } from './resource-type';
12
13
  import { TriggerEvent } from './trigger-event';
13
14
  import { TriggerType } from './trigger-type';
14
15
  /**
@@ -24,17 +25,23 @@ export interface Script {
24
25
  */
25
26
  id: number;
26
27
  /**
27
- * The id of the application to be linked
28
+ *
29
+ * @type {ResourceType}
30
+ * @memberof Script
31
+ */
32
+ resource_type: ResourceType;
33
+ /**
34
+ * The id of the linked resource
28
35
  * @type {number}
29
36
  * @memberof Script
30
37
  */
31
- application_id: number;
38
+ resource_id: number;
32
39
  /**
33
40
  * The id of the user that own the script
34
41
  * @type {number}
35
42
  * @memberof Script
36
43
  */
37
- user_id: number;
44
+ created_by: number;
38
45
  /**
39
46
  * Name/short description of the script
40
47
  * @type {string}
@@ -46,7 +53,7 @@ export interface Script {
46
53
  * @type {string}
47
54
  * @memberof Script
48
55
  */
49
- source_code: string;
56
+ command: string;
50
57
  /**
51
58
  * The name of the Unix user on behalf of which the script will be executed
52
59
  * @type {string}
@@ -1,3 +1,5 @@
1
1
  import { ActionsApiService } from "../api/generated/apis/actions-api";
2
+ import { ActionsResourcesApiService } from "../api/generated/apis/actions-resources-api";
2
3
  export declare class ActionService extends ActionsApiService {
4
+ resources: ActionsResourcesApiService;
3
5
  }
@@ -2,6 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ActionService = void 0;
4
4
  const actions_api_1 = require("../api/generated/apis/actions-api");
5
+ const actions_resources_api_1 = require("../api/generated/apis/actions-resources-api");
5
6
  class ActionService extends actions_api_1.ActionsApiService {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.resources = new actions_resources_api_1.ActionsResourcesApiService();
10
+ }
6
11
  }
7
12
  exports.ActionService = ActionService;
@@ -1,7 +1,6 @@
1
1
  import { ProjectsApiService } from '../api/generated/apis/projects-api';
2
2
  import { ProjectsApplicationsApiService } from '../api/generated/apis/projects-applications-api';
3
3
  import { ProjectsCronJobsApiService } from '../api/generated/apis/projects-cron-jobs-api';
4
- import { ProjectsDeploymentsApiService } from '../api/generated/apis/projects-deployments-api';
5
4
  import { ProjectsEnvironmentsApiService } from '../api/generated/apis/projects-environments-api';
6
5
  import { ProjectsNetworkRulesApiService } from '../api/generated/apis/projects-network-rules-api';
7
6
  import { ProjectsServersApiService } from '../api/generated/apis/projects-servers-api';
@@ -12,7 +11,6 @@ export declare class ProjectService extends ProjectsApiService {
12
11
  applications: ProjectsApplicationsApiService;
13
12
  cronjobs: ProjectsCronJobsApiService;
14
13
  daemons: ProjectsDaemonsApiService;
15
- deployments: ProjectsDeploymentsApiService;
16
14
  environments: ProjectsEnvironmentsApiService;
17
15
  networkRules: ProjectsNetworkRulesApiService;
18
16
  servers: ProjectsServersApiService;
@@ -4,7 +4,6 @@ exports.ProjectService = void 0;
4
4
  const projects_api_1 = require("../api/generated/apis/projects-api");
5
5
  const projects_applications_api_1 = require("../api/generated/apis/projects-applications-api");
6
6
  const projects_cron_jobs_api_1 = require("../api/generated/apis/projects-cron-jobs-api");
7
- const projects_deployments_api_1 = require("../api/generated/apis/projects-deployments-api");
8
7
  const projects_environments_api_1 = require("../api/generated/apis/projects-environments-api");
9
8
  const projects_network_rules_api_1 = require("../api/generated/apis/projects-network-rules-api");
10
9
  const projects_servers_api_1 = require("../api/generated/apis/projects-servers-api");
@@ -17,7 +16,6 @@ class ProjectService extends projects_api_1.ProjectsApiService {
17
16
  this.applications = new projects_applications_api_1.ProjectsApplicationsApiService();
18
17
  this.cronjobs = new projects_cron_jobs_api_1.ProjectsCronJobsApiService();
19
18
  this.daemons = new projects_daemons_api_1.ProjectsDaemonsApiService();
20
- this.deployments = new projects_deployments_api_1.ProjectsDeploymentsApiService();
21
19
  this.environments = new projects_environments_api_1.ProjectsEnvironmentsApiService();
22
20
  this.networkRules = new projects_network_rules_api_1.ProjectsNetworkRulesApiService();
23
21
  this.servers = new projects_servers_api_1.ProjectsServersApiService();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "1.101.1",
3
+ "version": "1.104.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,7 +37,7 @@
37
37
  "license": "MIT",
38
38
  "release": {
39
39
  "branches": [
40
- "master"
40
+ "main"
41
41
  ]
42
42
  },
43
43
  "bugs": {
@@ -59,7 +59,7 @@
59
59
  "husky": "^8.0.1",
60
60
  "jest": "^27.0.6",
61
61
  "ts-jest": "^27.0.3",
62
- "typedoc": "^0.22.3",
62
+ "typedoc": "^0.23.1",
63
63
  "typescript": "^4.4.0"
64
64
  },
65
65
  "dependencies": {