@devopness/sdk-js 2.5.0 → 2.6.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.
@@ -0,0 +1,130 @@
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 { ActionData } from './action-data';
13
+ import { ActionHookRequest } from './action-hook-request';
14
+ import { ActionStatus } from './action-status';
15
+ import { ActionSummary } from './action-summary';
16
+ import { ActionTriggeredFrom } from './action-triggered-from';
17
+ import { ActionType } from './action-type';
18
+ import { EnvironmentRelation } from './environment-relation';
19
+ import { ProjectRelation } from './project-relation';
20
+ import { ServerAction } from './server-action';
21
+ import { UserRelation } from './user-relation';
22
+ /**
23
+ *
24
+ * @export
25
+ * @interface ApplicationLastDeployment
26
+ */
27
+ export interface ApplicationLastDeployment {
28
+ /**
29
+ * The Id of the given action
30
+ * @type {number}
31
+ * @memberof ApplicationLastDeployment
32
+ */
33
+ id: number;
34
+ /**
35
+ *
36
+ * @type {ActionStatus}
37
+ * @memberof ApplicationLastDeployment
38
+ */
39
+ status: ActionStatus;
40
+ /**
41
+ *
42
+ * @type {ActionType}
43
+ * @memberof ApplicationLastDeployment
44
+ */
45
+ type: ActionType;
46
+ /**
47
+ * Human readable version of the action type
48
+ * @type {string}
49
+ * @memberof ApplicationLastDeployment
50
+ */
51
+ type_human_readable: string;
52
+ /**
53
+ *
54
+ * @type {ActionSummary}
55
+ * @memberof ApplicationLastDeployment
56
+ */
57
+ summary?: ActionSummary;
58
+ /**
59
+ * The permalink URL to the action details on Devopness web app
60
+ * @type {string}
61
+ * @memberof ApplicationLastDeployment
62
+ */
63
+ url_web_permalink: string;
64
+ /**
65
+ *
66
+ * @type {ActionData}
67
+ * @memberof ApplicationLastDeployment
68
+ */
69
+ action_data: ActionData | null;
70
+ /**
71
+ * List of actions dispatched to servers
72
+ * @type {Array<ServerAction>}
73
+ * @memberof ApplicationLastDeployment
74
+ */
75
+ servers?: Array<ServerAction>;
76
+ /**
77
+ *
78
+ * @type {EnvironmentRelation}
79
+ * @memberof ApplicationLastDeployment
80
+ */
81
+ environment?: EnvironmentRelation;
82
+ /**
83
+ *
84
+ * @type {ActionTriggeredFrom}
85
+ * @memberof ApplicationLastDeployment
86
+ */
87
+ triggered_from: ActionTriggeredFrom;
88
+ /**
89
+ *
90
+ * @type {UserRelation}
91
+ * @memberof ApplicationLastDeployment
92
+ */
93
+ triggered_by_user?: UserRelation;
94
+ /**
95
+ *
96
+ * @type {ProjectRelation}
97
+ * @memberof ApplicationLastDeployment
98
+ */
99
+ project?: ProjectRelation;
100
+ /**
101
+ *
102
+ * @type {ActionHookRequest}
103
+ * @memberof ApplicationLastDeployment
104
+ */
105
+ hook_requests?: ActionHookRequest;
106
+ /**
107
+ * The date and time when the action started execution (i.e., left the `pending/queued` status)
108
+ * @type {string}
109
+ * @memberof ApplicationLastDeployment
110
+ */
111
+ started_at?: string | null;
112
+ /**
113
+ * The date and time when the action has finished execution
114
+ * @type {string}
115
+ * @memberof ApplicationLastDeployment
116
+ */
117
+ completed_at?: string | null;
118
+ /**
119
+ * The date and time when the record was created
120
+ * @type {string}
121
+ * @memberof ApplicationLastDeployment
122
+ */
123
+ created_at?: string;
124
+ /**
125
+ * The date and time when the record was last updated
126
+ * @type {string}
127
+ * @memberof ApplicationLastDeployment
128
+ */
129
+ updated_at?: string;
130
+ }
@@ -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,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { Action } from './action';
12
+ import { ApplicationLastDeployment } from './application-last-deployment';
13
13
  /**
14
14
  * Latest deployment created to application and the more recent completed deployment
15
15
  * @export
@@ -18,14 +18,14 @@ import { Action } from './action';
18
18
  export interface ApplicationLastDeployments {
19
19
  /**
20
20
  *
21
- * @type {Action}
21
+ * @type {ApplicationLastDeployment}
22
22
  * @memberof ApplicationLastDeployments
23
23
  */
24
- latest?: Action | null;
24
+ latest?: ApplicationLastDeployment | null;
25
25
  /**
26
26
  *
27
- * @type {Action}
27
+ * @type {ApplicationLastDeployment}
28
28
  * @memberof ApplicationLastDeployments
29
29
  */
30
- live?: Action | null;
30
+ live?: ApplicationLastDeployment | null;
31
31
  }
@@ -22,6 +22,7 @@ export * from './api-error-errors-field-name';
22
22
  export * from './application';
23
23
  export * from './application-create';
24
24
  export * from './application-deployment';
25
+ export * from './application-last-deployment';
25
26
  export * from './application-last-deployments';
26
27
  export * from './application-options';
27
28
  export * from './application-pipeline';
@@ -38,6 +38,7 @@ __exportStar(require("./api-error-errors-field-name"), exports);
38
38
  __exportStar(require("./application"), exports);
39
39
  __exportStar(require("./application-create"), exports);
40
40
  __exportStar(require("./application-deployment"), exports);
41
+ __exportStar(require("./application-last-deployment"), exports);
41
42
  __exportStar(require("./application-last-deployments"), exports);
42
43
  __exportStar(require("./application-options"), exports);
43
44
  __exportStar(require("./application-pipeline"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },