@devopness/sdk-js 1.101.0 → 1.103.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 (49) hide show
  1. package/README.md +2 -10
  2. package/dist/DevopnessApiClient.d.ts +0 -2
  3. package/dist/DevopnessApiClient.js +0 -2
  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/{deployment-create.js → action-trigger-type.d.ts} +9 -3
  17. package/dist/api/generated/models/action-trigger-type.js +25 -0
  18. package/dist/api/generated/models/action-triggered-from.d.ts +73 -0
  19. package/dist/api/generated/models/{deployment-create-application.js → action-triggered-from.js} +0 -0
  20. package/dist/api/generated/models/action.d.ts +8 -1
  21. package/dist/api/generated/models/{deployment-create.d.ts → application-deployment.d.ts} +6 -6
  22. package/dist/api/generated/models/{deployment-create-server.js → application-deployment.js} +0 -0
  23. package/dist/api/generated/models/application-last-deployments.d.ts +5 -5
  24. package/dist/api/generated/models/cloud-service.d.ts +2 -2
  25. package/dist/api/generated/models/cloud-service.js +2 -2
  26. package/dist/api/generated/models/index.d.ts +3 -6
  27. package/dist/api/generated/models/index.js +3 -6
  28. package/dist/api/generated/models/resource.d.ts +2 -3
  29. package/dist/api/generated/models/script.d.ts +11 -4
  30. package/dist/api/generated/models/server-cloud-service-name.d.ts +2 -2
  31. package/dist/api/generated/models/server-cloud-service-name.js +2 -2
  32. package/dist/services/ActionService.d.ts +2 -0
  33. package/dist/services/ActionService.js +5 -0
  34. package/dist/services/ProjectService.d.ts +0 -2
  35. package/dist/services/ProjectService.js +0 -2
  36. package/package.json +3 -3
  37. package/LICENSE +0 -21
  38. package/dist/api/generated/apis/deployments-api.d.ts +0 -25
  39. package/dist/api/generated/apis/deployments-api.js +0 -49
  40. package/dist/api/generated/models/deployment-create-application.d.ts +0 -42
  41. package/dist/api/generated/models/deployment-create-server.d.ts +0 -30
  42. package/dist/api/generated/models/deployment-relation.d.ts +0 -103
  43. package/dist/api/generated/models/deployment-relation.js +0 -14
  44. package/dist/api/generated/models/deployment-step.d.ts +0 -61
  45. package/dist/api/generated/models/deployment-step.js +0 -14
  46. package/dist/api/generated/models/deployment.d.ts +0 -110
  47. package/dist/api/generated/models/deployment.js +0 -14
  48. package/dist/services/DeploymentService.d.ts +0 -3
  49. package/dist/services/DeploymentService.js +0 -7
@@ -1,103 +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 { ActionRelation } from './action-relation';
13
- import { ActionStatus } from './action-status';
14
- import { Commit } from './commit';
15
- import { DeploymentSource } from './deployment-source';
16
- import { DeploymentStep } from './deployment-step';
17
- import { DeploymentType } from './deployment-type';
18
- import { UserRelation } from './user-relation';
19
- /**
20
- *
21
- * @export
22
- * @interface DeploymentRelation
23
- */
24
- export interface DeploymentRelation {
25
- /**
26
- * The unique id of the given record
27
- * @type {number}
28
- * @memberof DeploymentRelation
29
- */
30
- id: number;
31
- /**
32
- * The application\'s name that the deployment belongs to
33
- * @type {string}
34
- * @memberof DeploymentRelation
35
- */
36
- name: string;
37
- /**
38
- *
39
- * @type {ActionStatus}
40
- * @memberof DeploymentRelation
41
- */
42
- status: ActionStatus;
43
- /**
44
- *
45
- * @type {DeploymentType}
46
- * @memberof DeploymentRelation
47
- */
48
- type: DeploymentType;
49
- /**
50
- *
51
- * @type {DeploymentSource}
52
- * @memberof DeploymentRelation
53
- */
54
- source: DeploymentSource;
55
- /**
56
- *
57
- * @type {Commit}
58
- * @memberof DeploymentRelation
59
- */
60
- commit: Commit;
61
- /**
62
- * The steps that were meant to be executed when the deployment was triggered
63
- * @type {Array<DeploymentStep>}
64
- * @memberof DeploymentRelation
65
- */
66
- steps: Array<DeploymentStep>;
67
- /**
68
- *
69
- * @type {UserRelation}
70
- * @memberof DeploymentRelation
71
- */
72
- triggered_by_user?: UserRelation;
73
- /**
74
- *
75
- * @type {ActionRelation}
76
- * @memberof DeploymentRelation
77
- */
78
- last_action?: ActionRelation | null;
79
- /**
80
- * The date and time when the action started execution (i.e., left the `pending/queued` status)
81
- * @type {string}
82
- * @memberof DeploymentRelation
83
- */
84
- started_at?: string | null;
85
- /**
86
- * The date and time when the action has finished execution
87
- * @type {string}
88
- * @memberof DeploymentRelation
89
- */
90
- completed_at?: string | null;
91
- /**
92
- * The date and time when the record was created
93
- * @type {string}
94
- * @memberof DeploymentRelation
95
- */
96
- created_at?: string | null;
97
- /**
98
- * The date and time when the record was last updated
99
- * @type {string}
100
- * @memberof DeploymentRelation
101
- */
102
- updated_at?: string | null;
103
- }
@@ -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 { ActionStatus } from './action-status';
13
- /**
14
- *
15
- * @export
16
- * @interface DeploymentStep
17
- */
18
- export interface DeploymentStep {
19
- /**
20
- * The execution order of the given step
21
- * @type {number}
22
- * @memberof DeploymentStep
23
- */
24
- order: number;
25
- /**
26
- * The step name
27
- * @type {string}
28
- * @memberof DeploymentStep
29
- */
30
- name: string;
31
- /**
32
- * The name of the script linked to this step
33
- * @type {string}
34
- * @memberof DeploymentStep
35
- */
36
- script_name?: string | null;
37
- /**
38
- * The source code of the script linked to this step
39
- * @type {string}
40
- * @memberof DeploymentStep
41
- */
42
- script_code?: string | null;
43
- /**
44
- *
45
- * @type {ActionStatus}
46
- * @memberof DeploymentStep
47
- */
48
- status: ActionStatus;
49
- /**
50
- * The date and time when the step started execution (i.e., left the `pending/queued` status)
51
- * @type {string}
52
- * @memberof DeploymentStep
53
- */
54
- started_at?: string | null;
55
- /**
56
- * The date and time when the step has finished execution
57
- * @type {string}
58
- * @memberof DeploymentStep
59
- */
60
- completed_at?: string | null;
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,110 +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 { ActionRelation } from './action-relation';
13
- import { ActionStatus } from './action-status';
14
- import { ApplicationRelation } from './application-relation';
15
- import { Commit } from './commit';
16
- import { DeploymentSource } from './deployment-source';
17
- import { DeploymentStep } from './deployment-step';
18
- import { DeploymentType } from './deployment-type';
19
- import { UserRelation } from './user-relation';
20
- /**
21
- *
22
- * @export
23
- * @interface Deployment
24
- */
25
- export interface Deployment {
26
- /**
27
- * The unique id of the given record
28
- * @type {number}
29
- * @memberof Deployment
30
- */
31
- id: number;
32
- /**
33
- * The application\'s name that the deployment belongs to
34
- * @type {string}
35
- * @memberof Deployment
36
- */
37
- name: string;
38
- /**
39
- *
40
- * @type {ActionStatus}
41
- * @memberof Deployment
42
- */
43
- status: ActionStatus;
44
- /**
45
- *
46
- * @type {DeploymentType}
47
- * @memberof Deployment
48
- */
49
- type: DeploymentType;
50
- /**
51
- *
52
- * @type {DeploymentSource}
53
- * @memberof Deployment
54
- */
55
- source: DeploymentSource;
56
- /**
57
- *
58
- * @type {ApplicationRelation}
59
- * @memberof Deployment
60
- */
61
- application: ApplicationRelation | null;
62
- /**
63
- *
64
- * @type {Commit}
65
- * @memberof Deployment
66
- */
67
- commit: Commit;
68
- /**
69
- * The steps that were meant to be executed when the deployment was triggered
70
- * @type {Array<DeploymentStep>}
71
- * @memberof Deployment
72
- */
73
- steps: Array<DeploymentStep>;
74
- /**
75
- *
76
- * @type {UserRelation}
77
- * @memberof Deployment
78
- */
79
- triggered_by_user: UserRelation;
80
- /**
81
- *
82
- * @type {ActionRelation}
83
- * @memberof Deployment
84
- */
85
- last_action: ActionRelation | null;
86
- /**
87
- * The date and time when the action started execution (i.e., left the `pending/queued` status)
88
- * @type {string}
89
- * @memberof Deployment
90
- */
91
- started_at?: string | null;
92
- /**
93
- * The date and time when the action has finished execution
94
- * @type {string}
95
- * @memberof Deployment
96
- */
97
- completed_at?: string | null;
98
- /**
99
- * The date and time when the record was created
100
- * @type {string}
101
- * @memberof Deployment
102
- */
103
- created_at?: string | null;
104
- /**
105
- * The date and time when the record was last updated
106
- * @type {string}
107
- * @memberof Deployment
108
- */
109
- updated_at?: string | null;
110
- }
@@ -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,3 +0,0 @@
1
- import { DeploymentsApiService } from '../api/generated/apis/deployments-api';
2
- export declare class DeploymentService extends DeploymentsApiService {
3
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeploymentService = void 0;
4
- const deployments_api_1 = require("../api/generated/apis/deployments-api");
5
- class DeploymentService extends deployments_api_1.DeploymentsApiService {
6
- }
7
- exports.DeploymentService = DeploymentService;