@devopness/sdk-js 2.22.1 → 2.24.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/DevopnessApiClient.d.ts +2 -4
- package/dist/DevopnessApiClient.js +2 -4
- package/dist/api/generated/apis/actions-api.d.ts +16 -5
- package/dist/api/generated/apis/actions-api.js +35 -2
- package/dist/api/generated/apis/actions-resources-api.d.ts +0 -11
- package/dist/api/generated/apis/actions-resources-api.js +0 -33
- package/dist/api/generated/apis/applications-api.d.ts +4 -4
- package/dist/api/generated/apis/applications-api.js +4 -4
- package/dist/api/generated/apis/applications-hooks-api.d.ts +5 -3
- package/dist/api/generated/apis/applications-hooks-api.js +12 -3
- package/dist/api/generated/apis/environments-api.d.ts +4 -4
- package/dist/api/generated/apis/environments-api.js +4 -4
- package/dist/api/generated/apis/environments-teams-api.d.ts +34 -0
- package/dist/api/generated/apis/environments-teams-api.js +77 -0
- package/dist/api/generated/apis/hook-requests-api.d.ts +25 -0
- package/dist/api/generated/apis/hook-requests-api.js +49 -0
- package/dist/api/generated/apis/hooks-api.d.ts +56 -0
- package/dist/api/generated/apis/hooks-api.js +133 -0
- package/dist/api/generated/apis/hooks-requests-api.d.ts +7 -17
- package/dist/api/generated/apis/hooks-requests-api.js +18 -37
- package/dist/api/generated/apis/pipelines-api.d.ts +10 -0
- package/dist/api/generated/apis/pipelines-api.js +29 -0
- package/dist/api/generated/apis/projects-api.d.ts +8 -8
- package/dist/api/generated/apis/projects-api.js +8 -8
- package/dist/api/generated/apis/roles-api.d.ts +6 -6
- package/dist/api/generated/apis/roles-api.js +6 -6
- package/dist/api/generated/apis/servers-api.d.ts +6 -6
- package/dist/api/generated/apis/servers-api.js +4 -4
- package/dist/api/generated/apis/services-variables-api.d.ts +36 -0
- package/dist/api/generated/apis/{pipelines-resources-api.js → services-variables-api.js} +31 -15
- package/dist/api/generated/apis/teams-api.d.ts +4 -20
- package/dist/api/generated/apis/teams-api.js +4 -48
- package/dist/api/generated/apis/teams-members-api.d.ts +8 -8
- package/dist/api/generated/apis/teams-members-api.js +16 -16
- package/dist/api/generated/apis/users-api.d.ts +1 -1
- package/dist/api/generated/apis/users-api.js +2 -2
- package/dist/api/generated/models/action-relation.d.ts +31 -4
- package/dist/api/generated/models/action-retry-response.d.ts +7 -1
- package/dist/api/generated/models/action-step-log.d.ts +1 -1
- package/dist/api/generated/models/action.d.ts +28 -22
- package/dist/api/generated/models/application-environment-create.d.ts +4 -3
- package/dist/api/generated/models/application-last-deployments.d.ts +5 -5
- package/dist/api/generated/models/application-project-create.d.ts +4 -3
- package/dist/api/generated/models/application-relation.d.ts +40 -41
- package/dist/api/generated/models/application-update.d.ts +50 -45
- package/dist/api/generated/models/application.d.ts +53 -48
- package/dist/api/generated/models/cron-job.d.ts +1 -1
- package/dist/api/generated/models/daemon.d.ts +1 -1
- package/dist/api/generated/models/environment.d.ts +3 -3
- package/dist/api/generated/models/hook-create.d.ts +84 -0
- package/dist/api/generated/models/{application-last-deployment.js → hook-create.js} +0 -0
- package/dist/api/generated/models/{hook-incoming-setting.d.ts → hook-incoming-settings.d.ts} +3 -3
- package/dist/api/generated/models/{hook-incoming-create.js → hook-incoming-settings.js} +0 -0
- package/dist/api/generated/models/hook-incoming-trigger-when-condition-type.d.ts +1 -1
- package/dist/api/generated/models/hook-incoming-trigger-when-condition-type.js +1 -1
- package/dist/api/generated/models/{hook-outgoing-setting.d.ts → hook-outgoing-settings.d.ts} +4 -4
- package/dist/api/generated/models/{hook-incoming-params.js → hook-outgoing-settings.js} +0 -0
- package/dist/api/generated/models/hook-outgoing-trigger-when-condition-type.d.ts +1 -1
- package/dist/api/generated/models/hook-outgoing-trigger-when-condition-type.js +1 -1
- package/dist/api/generated/models/hook-outgoing-trigger-when-condition.d.ts +1 -1
- package/dist/api/generated/models/hook-relation.d.ts +42 -35
- package/dist/api/generated/models/hook-request.d.ts +10 -10
- package/dist/api/generated/models/hook-update.d.ts +84 -0
- package/dist/api/generated/models/{hook-incoming-setting.js → hook-update.js} +0 -0
- package/dist/api/generated/models/hook-variable.d.ts +3 -3
- package/dist/api/generated/models/hook.d.ts +68 -22
- package/dist/api/generated/models/index.d.ts +9 -12
- package/dist/api/generated/models/index.js +9 -12
- package/dist/api/generated/models/invitation-relation.d.ts +2 -2
- package/dist/api/generated/models/invitation.d.ts +1 -1
- package/dist/api/generated/models/member-relation.d.ts +5 -11
- package/dist/api/generated/models/member.d.ts +13 -7
- package/dist/api/generated/models/request-relation.d.ts +60 -0
- package/dist/api/generated/models/{hook-incoming-update.js → request-relation.js} +0 -0
- package/dist/api/generated/models/{hook-incoming.d.ts → server-command.d.ts} +10 -4
- package/dist/api/generated/models/{hook-incoming.js → server-command.js} +0 -0
- package/dist/api/generated/models/server.d.ts +1 -1
- package/dist/api/generated/models/service.d.ts +1 -1
- package/dist/api/generated/models/subscription-plan.d.ts +30 -0
- package/dist/api/generated/models/{hook-outgoing-create.js → subscription-plan.js} +0 -0
- package/dist/api/generated/models/team-invitation-relation.d.ts +2 -2
- package/dist/api/generated/models/team-invitation.d.ts +2 -2
- package/dist/api/generated/models/team-membership-relation.d.ts +1 -1
- package/dist/api/generated/models/team.d.ts +1 -1
- package/dist/api/generated/models/{user-current.d.ts → user-me.d.ts} +18 -11
- package/dist/api/generated/models/{hook-outgoing-params.js → user-me.js} +0 -0
- package/dist/api/generated/models/user-update.d.ts +6 -0
- package/dist/api/generated/models/user.d.ts +7 -0
- package/dist/api/generated/models/variable-application-create.d.ts +0 -12
- package/dist/api/generated/models/variable-relation.d.ts +0 -6
- package/dist/api/generated/models/variable-service-create.d.ts +56 -0
- package/dist/api/generated/models/{hook-outgoing-setting.js → variable-service-create.js} +0 -0
- package/dist/api/generated/models/variable.d.ts +0 -6
- package/dist/services/EnvironmentService.d.ts +2 -0
- package/dist/services/EnvironmentService.js +2 -0
- package/dist/services/HookRequestService.d.ts +2 -2
- package/dist/services/HookRequestService.js +2 -2
- package/dist/services/HookService.d.ts +5 -0
- package/dist/services/HookService.js +12 -0
- package/dist/services/PipelineService.d.ts +0 -2
- package/dist/services/PipelineService.js +0 -2
- package/dist/services/ServiceService.d.ts +2 -0
- package/dist/services/ServiceService.js +5 -0
- package/dist/services/index.d.ts +1 -2
- package/dist/services/index.js +1 -2
- package/package.json +3 -3
- package/dist/api/generated/apis/hooks-incoming-api.d.ts +0 -53
- package/dist/api/generated/apis/hooks-incoming-api.js +0 -118
- package/dist/api/generated/apis/hooks-outgoing-api.d.ts +0 -46
- package/dist/api/generated/apis/hooks-outgoing-api.js +0 -101
- package/dist/api/generated/apis/pipelines-resources-api.d.ts +0 -28
- package/dist/api/generated/models/application-last-deployment.d.ts +0 -130
- package/dist/api/generated/models/hook-incoming-create.d.ts +0 -82
- package/dist/api/generated/models/hook-incoming-params.d.ts +0 -38
- package/dist/api/generated/models/hook-incoming-update.d.ts +0 -68
- package/dist/api/generated/models/hook-outgoing-create.d.ts +0 -70
- package/dist/api/generated/models/hook-outgoing-params.d.ts +0 -38
- package/dist/api/generated/models/hook-outgoing-update.d.ts +0 -76
- package/dist/api/generated/models/hook-outgoing-update.js +0 -14
- package/dist/api/generated/models/hook-outgoing.d.ts +0 -18
- package/dist/api/generated/models/hook-outgoing.js +0 -14
- package/dist/api/generated/models/user-current.js +0 -14
- package/dist/services/HookIncomingService.d.ts +0 -3
- package/dist/services/HookIncomingService.js +0 -7
- package/dist/services/HookOutgoingService.d.ts +0 -3
- package/dist/services/HookOutgoingService.js +0 -7
|
@@ -10,8 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ActionType } from './action-type';
|
|
13
|
+
import { HookIncomingSettings } from './hook-incoming-settings';
|
|
14
|
+
import { HookIncomingTriggerWhenCondition } from './hook-incoming-trigger-when-condition';
|
|
15
|
+
import { HookOutgoingSettings } from './hook-outgoing-settings';
|
|
16
|
+
import { HookOutgoingTriggerWhenCondition } from './hook-outgoing-trigger-when-condition';
|
|
13
17
|
import { HookType } from './hook-type';
|
|
14
|
-
import {
|
|
18
|
+
import { ResourceType } from './resource-type';
|
|
15
19
|
import { UserRelation } from './user-relation';
|
|
16
20
|
/**
|
|
17
21
|
*
|
|
@@ -20,7 +24,7 @@ import { UserRelation } from './user-relation';
|
|
|
20
24
|
*/
|
|
21
25
|
export interface Hook {
|
|
22
26
|
/**
|
|
23
|
-
* The
|
|
27
|
+
* The UUID of the given hook
|
|
24
28
|
* @type {string}
|
|
25
29
|
* @memberof Hook
|
|
26
30
|
*/
|
|
@@ -38,29 +42,35 @@ export interface Hook {
|
|
|
38
42
|
*/
|
|
39
43
|
type: HookType;
|
|
40
44
|
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {
|
|
45
|
+
*
|
|
46
|
+
* @type {ActionType}
|
|
43
47
|
* @memberof Hook
|
|
44
48
|
*/
|
|
45
|
-
|
|
49
|
+
action_type: ActionType;
|
|
46
50
|
/**
|
|
47
|
-
*
|
|
51
|
+
* URL that triggers incoming hooks
|
|
48
52
|
* @type {string}
|
|
49
53
|
* @memberof Hook
|
|
50
54
|
*/
|
|
51
|
-
|
|
55
|
+
url: string | null;
|
|
52
56
|
/**
|
|
53
|
-
*
|
|
57
|
+
* URL that outgoing hooks make a request to
|
|
54
58
|
* @type {string}
|
|
55
59
|
* @memberof Hook
|
|
56
60
|
*/
|
|
57
|
-
|
|
61
|
+
target_url: string | null;
|
|
58
62
|
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {
|
|
63
|
+
* Indicates if the record was auto_generated by `devopness` itself
|
|
64
|
+
* @type {boolean}
|
|
61
65
|
* @memberof Hook
|
|
62
66
|
*/
|
|
63
|
-
|
|
67
|
+
auto_generated: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Tells if requests to this hook must only be accepted when a HTTP header is sent with a message authentication code ([HMAC](https://en.wikipedia.org/wiki/HMAC)) generated based on the secret provided by Devopness and shared by user with external sources
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof Hook
|
|
72
|
+
*/
|
|
73
|
+
requires_secret: boolean;
|
|
64
74
|
/**
|
|
65
75
|
* Indicates if the Devopness must be verify the SSL certificate of the request
|
|
66
76
|
* @type {boolean}
|
|
@@ -68,35 +78,71 @@ export interface Hook {
|
|
|
68
78
|
*/
|
|
69
79
|
verify_ssl: boolean;
|
|
70
80
|
/**
|
|
71
|
-
*
|
|
81
|
+
* Determines if the hook is currently active
|
|
72
82
|
* @type {boolean}
|
|
73
83
|
* @memberof Hook
|
|
74
84
|
*/
|
|
75
|
-
|
|
85
|
+
active: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* The ID of the project
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof Hook
|
|
90
|
+
*/
|
|
91
|
+
project_id: number;
|
|
92
|
+
/**
|
|
93
|
+
* The ID of the environment
|
|
94
|
+
* @type {number}
|
|
95
|
+
* @memberof Hook
|
|
96
|
+
*/
|
|
97
|
+
environment_id: number;
|
|
76
98
|
/**
|
|
77
99
|
*
|
|
78
|
-
* @type {
|
|
100
|
+
* @type {ResourceType}
|
|
79
101
|
* @memberof Hook
|
|
80
102
|
*/
|
|
81
|
-
|
|
103
|
+
resource_type: ResourceType;
|
|
82
104
|
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {
|
|
105
|
+
* The hooks\' resource ID
|
|
106
|
+
* @type {number}
|
|
85
107
|
* @memberof Hook
|
|
86
108
|
*/
|
|
87
|
-
|
|
109
|
+
resource_id: number;
|
|
88
110
|
/**
|
|
89
111
|
*
|
|
90
|
-
* @type {
|
|
112
|
+
* @type {HookIncomingSettings | HookOutgoingSettings}
|
|
113
|
+
* @memberof Hook
|
|
114
|
+
*/
|
|
115
|
+
settings: HookIncomingSettings | HookOutgoingSettings | null;
|
|
116
|
+
/**
|
|
117
|
+
* Conditions that must be met to trigger the hook
|
|
118
|
+
* @type {Array<HookIncomingTriggerWhenCondition | HookOutgoingTriggerWhenCondition>}
|
|
119
|
+
* @memberof Hook
|
|
120
|
+
*/
|
|
121
|
+
trigger_when: Array<HookIncomingTriggerWhenCondition | HookOutgoingTriggerWhenCondition>;
|
|
122
|
+
/**
|
|
123
|
+
* The secret generated by Devopness to be used to digitally sign incoming requests. This value is returned only once after a hook is created and cannot be retrieved again after that.
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof Hook
|
|
126
|
+
*/
|
|
127
|
+
secret: string;
|
|
128
|
+
/**
|
|
129
|
+
* The cryptographic hash function to be used by Devopness when validating digitally signed incoming requests for hooks that require secret validation
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof Hook
|
|
132
|
+
*/
|
|
133
|
+
secret_algorithm: string | null;
|
|
134
|
+
/**
|
|
135
|
+
* The name of the HTTP request header from which the request digital signature should be extracted
|
|
136
|
+
* @type {string}
|
|
91
137
|
* @memberof Hook
|
|
92
138
|
*/
|
|
93
|
-
|
|
139
|
+
secret_header_name: string | null;
|
|
94
140
|
/**
|
|
95
141
|
*
|
|
96
142
|
* @type {UserRelation}
|
|
97
143
|
* @memberof Hook
|
|
98
144
|
*/
|
|
99
|
-
created_by_user
|
|
145
|
+
created_by_user: UserRelation;
|
|
100
146
|
/**
|
|
101
147
|
* The date and time when the record was created
|
|
102
148
|
* @type {string}
|
|
@@ -23,7 +23,6 @@ export * from './api-error-errors-field-name';
|
|
|
23
23
|
export * from './application';
|
|
24
24
|
export * from './application-deployment';
|
|
25
25
|
export * from './application-environment-create';
|
|
26
|
-
export * from './application-last-deployment';
|
|
27
26
|
export * from './application-last-deployments';
|
|
28
27
|
export * from './application-options';
|
|
29
28
|
export * from './application-pipeline';
|
|
@@ -83,26 +82,20 @@ export * from './environment-team-link';
|
|
|
83
82
|
export * from './environment-type';
|
|
84
83
|
export * from './environment-update';
|
|
85
84
|
export * from './hook';
|
|
86
|
-
export * from './hook-
|
|
87
|
-
export * from './hook-incoming-
|
|
88
|
-
export * from './hook-incoming-params';
|
|
89
|
-
export * from './hook-incoming-setting';
|
|
85
|
+
export * from './hook-create';
|
|
86
|
+
export * from './hook-incoming-settings';
|
|
90
87
|
export * from './hook-incoming-trigger-when-condition';
|
|
91
88
|
export * from './hook-incoming-trigger-when-condition-type';
|
|
92
|
-
export * from './hook-incoming-update';
|
|
93
|
-
export * from './hook-outgoing';
|
|
94
|
-
export * from './hook-outgoing-create';
|
|
95
|
-
export * from './hook-outgoing-params';
|
|
96
89
|
export * from './hook-outgoing-request-header';
|
|
97
|
-
export * from './hook-outgoing-
|
|
90
|
+
export * from './hook-outgoing-settings';
|
|
98
91
|
export * from './hook-outgoing-trigger-when-action-status';
|
|
99
92
|
export * from './hook-outgoing-trigger-when-condition';
|
|
100
93
|
export * from './hook-outgoing-trigger-when-condition-type';
|
|
101
|
-
export * from './hook-outgoing-update';
|
|
102
94
|
export * from './hook-relation';
|
|
103
95
|
export * from './hook-request';
|
|
104
96
|
export * from './hook-request-relation';
|
|
105
97
|
export * from './hook-type';
|
|
98
|
+
export * from './hook-update';
|
|
106
99
|
export * from './hook-variable';
|
|
107
100
|
export * from './hook-variable-type';
|
|
108
101
|
export * from './invitation';
|
|
@@ -140,6 +133,7 @@ export * from './project-relation';
|
|
|
140
133
|
export * from './project-update';
|
|
141
134
|
export * from './repository';
|
|
142
135
|
export * from './repository-branch';
|
|
136
|
+
export * from './request-relation';
|
|
143
137
|
export * from './resource';
|
|
144
138
|
export * from './resource-event';
|
|
145
139
|
export * from './resource-type';
|
|
@@ -155,6 +149,7 @@ export * from './server-action-log-step';
|
|
|
155
149
|
export * from './server-blueprint';
|
|
156
150
|
export * from './server-cloud-service';
|
|
157
151
|
export * from './server-cloud-service-name';
|
|
152
|
+
export * from './server-command';
|
|
158
153
|
export * from './server-commands';
|
|
159
154
|
export * from './server-connect';
|
|
160
155
|
export * from './server-environment-create';
|
|
@@ -200,6 +195,7 @@ export * from './ssl-certificate-validation-level';
|
|
|
200
195
|
export * from './step';
|
|
201
196
|
export * from './step-pipeline-create';
|
|
202
197
|
export * from './step-pipeline-update';
|
|
198
|
+
export * from './subscription-plan';
|
|
203
199
|
export * from './team';
|
|
204
200
|
export * from './team-environment-create';
|
|
205
201
|
export * from './team-invitation';
|
|
@@ -214,9 +210,9 @@ export * from './trigger-event';
|
|
|
214
210
|
export * from './trigger-type';
|
|
215
211
|
export * from './user';
|
|
216
212
|
export * from './user-create';
|
|
217
|
-
export * from './user-current';
|
|
218
213
|
export * from './user-login';
|
|
219
214
|
export * from './user-login-response';
|
|
215
|
+
export * from './user-me';
|
|
220
216
|
export * from './user-refresh-token';
|
|
221
217
|
export * from './user-refresh-token-response';
|
|
222
218
|
export * from './user-relation';
|
|
@@ -227,6 +223,7 @@ export * from './user-verify';
|
|
|
227
223
|
export * from './variable';
|
|
228
224
|
export * from './variable-application-create';
|
|
229
225
|
export * from './variable-relation';
|
|
226
|
+
export * from './variable-service-create';
|
|
230
227
|
export * from './variable-target';
|
|
231
228
|
export * from './variable-type';
|
|
232
229
|
export * from './variable-update';
|
|
@@ -39,7 +39,6 @@ __exportStar(require("./api-error-errors-field-name"), exports);
|
|
|
39
39
|
__exportStar(require("./application"), exports);
|
|
40
40
|
__exportStar(require("./application-deployment"), exports);
|
|
41
41
|
__exportStar(require("./application-environment-create"), exports);
|
|
42
|
-
__exportStar(require("./application-last-deployment"), exports);
|
|
43
42
|
__exportStar(require("./application-last-deployments"), exports);
|
|
44
43
|
__exportStar(require("./application-options"), exports);
|
|
45
44
|
__exportStar(require("./application-pipeline"), exports);
|
|
@@ -99,26 +98,20 @@ __exportStar(require("./environment-team-link"), exports);
|
|
|
99
98
|
__exportStar(require("./environment-type"), exports);
|
|
100
99
|
__exportStar(require("./environment-update"), exports);
|
|
101
100
|
__exportStar(require("./hook"), exports);
|
|
102
|
-
__exportStar(require("./hook-
|
|
103
|
-
__exportStar(require("./hook-incoming-
|
|
104
|
-
__exportStar(require("./hook-incoming-params"), exports);
|
|
105
|
-
__exportStar(require("./hook-incoming-setting"), exports);
|
|
101
|
+
__exportStar(require("./hook-create"), exports);
|
|
102
|
+
__exportStar(require("./hook-incoming-settings"), exports);
|
|
106
103
|
__exportStar(require("./hook-incoming-trigger-when-condition"), exports);
|
|
107
104
|
__exportStar(require("./hook-incoming-trigger-when-condition-type"), exports);
|
|
108
|
-
__exportStar(require("./hook-incoming-update"), exports);
|
|
109
|
-
__exportStar(require("./hook-outgoing"), exports);
|
|
110
|
-
__exportStar(require("./hook-outgoing-create"), exports);
|
|
111
|
-
__exportStar(require("./hook-outgoing-params"), exports);
|
|
112
105
|
__exportStar(require("./hook-outgoing-request-header"), exports);
|
|
113
|
-
__exportStar(require("./hook-outgoing-
|
|
106
|
+
__exportStar(require("./hook-outgoing-settings"), exports);
|
|
114
107
|
__exportStar(require("./hook-outgoing-trigger-when-action-status"), exports);
|
|
115
108
|
__exportStar(require("./hook-outgoing-trigger-when-condition"), exports);
|
|
116
109
|
__exportStar(require("./hook-outgoing-trigger-when-condition-type"), exports);
|
|
117
|
-
__exportStar(require("./hook-outgoing-update"), exports);
|
|
118
110
|
__exportStar(require("./hook-relation"), exports);
|
|
119
111
|
__exportStar(require("./hook-request"), exports);
|
|
120
112
|
__exportStar(require("./hook-request-relation"), exports);
|
|
121
113
|
__exportStar(require("./hook-type"), exports);
|
|
114
|
+
__exportStar(require("./hook-update"), exports);
|
|
122
115
|
__exportStar(require("./hook-variable"), exports);
|
|
123
116
|
__exportStar(require("./hook-variable-type"), exports);
|
|
124
117
|
__exportStar(require("./invitation"), exports);
|
|
@@ -156,6 +149,7 @@ __exportStar(require("./project-relation"), exports);
|
|
|
156
149
|
__exportStar(require("./project-update"), exports);
|
|
157
150
|
__exportStar(require("./repository"), exports);
|
|
158
151
|
__exportStar(require("./repository-branch"), exports);
|
|
152
|
+
__exportStar(require("./request-relation"), exports);
|
|
159
153
|
__exportStar(require("./resource"), exports);
|
|
160
154
|
__exportStar(require("./resource-event"), exports);
|
|
161
155
|
__exportStar(require("./resource-type"), exports);
|
|
@@ -171,6 +165,7 @@ __exportStar(require("./server-action-log-step"), exports);
|
|
|
171
165
|
__exportStar(require("./server-blueprint"), exports);
|
|
172
166
|
__exportStar(require("./server-cloud-service"), exports);
|
|
173
167
|
__exportStar(require("./server-cloud-service-name"), exports);
|
|
168
|
+
__exportStar(require("./server-command"), exports);
|
|
174
169
|
__exportStar(require("./server-commands"), exports);
|
|
175
170
|
__exportStar(require("./server-connect"), exports);
|
|
176
171
|
__exportStar(require("./server-environment-create"), exports);
|
|
@@ -216,6 +211,7 @@ __exportStar(require("./ssl-certificate-validation-level"), exports);
|
|
|
216
211
|
__exportStar(require("./step"), exports);
|
|
217
212
|
__exportStar(require("./step-pipeline-create"), exports);
|
|
218
213
|
__exportStar(require("./step-pipeline-update"), exports);
|
|
214
|
+
__exportStar(require("./subscription-plan"), exports);
|
|
219
215
|
__exportStar(require("./team"), exports);
|
|
220
216
|
__exportStar(require("./team-environment-create"), exports);
|
|
221
217
|
__exportStar(require("./team-invitation"), exports);
|
|
@@ -230,9 +226,9 @@ __exportStar(require("./trigger-event"), exports);
|
|
|
230
226
|
__exportStar(require("./trigger-type"), exports);
|
|
231
227
|
__exportStar(require("./user"), exports);
|
|
232
228
|
__exportStar(require("./user-create"), exports);
|
|
233
|
-
__exportStar(require("./user-current"), exports);
|
|
234
229
|
__exportStar(require("./user-login"), exports);
|
|
235
230
|
__exportStar(require("./user-login-response"), exports);
|
|
231
|
+
__exportStar(require("./user-me"), exports);
|
|
236
232
|
__exportStar(require("./user-refresh-token"), exports);
|
|
237
233
|
__exportStar(require("./user-refresh-token-response"), exports);
|
|
238
234
|
__exportStar(require("./user-relation"), exports);
|
|
@@ -243,6 +239,7 @@ __exportStar(require("./user-verify"), exports);
|
|
|
243
239
|
__exportStar(require("./variable"), exports);
|
|
244
240
|
__exportStar(require("./variable-application-create"), exports);
|
|
245
241
|
__exportStar(require("./variable-relation"), exports);
|
|
242
|
+
__exportStar(require("./variable-service-create"), exports);
|
|
246
243
|
__exportStar(require("./variable-target"), exports);
|
|
247
244
|
__exportStar(require("./variable-type"), exports);
|
|
248
245
|
__exportStar(require("./variable-update"), exports);
|
|
@@ -66,13 +66,13 @@ export interface InvitationRelation {
|
|
|
66
66
|
* @type {TeamRelation}
|
|
67
67
|
* @memberof InvitationRelation
|
|
68
68
|
*/
|
|
69
|
-
team: TeamRelation;
|
|
69
|
+
team: TeamRelation | null;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @type {ProjectRelation}
|
|
73
73
|
* @memberof InvitationRelation
|
|
74
74
|
*/
|
|
75
|
-
project: ProjectRelation;
|
|
75
|
+
project: ProjectRelation | null;
|
|
76
76
|
/**
|
|
77
77
|
* The date and time when the invitation was accepted
|
|
78
78
|
* @type {string}
|
|
@@ -17,27 +17,21 @@ import { UserRelation } from './user-relation';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface MemberRelation {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {
|
|
20
|
+
*
|
|
21
|
+
* @type {UserRelation}
|
|
22
22
|
* @memberof MemberRelation
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
user: UserRelation;
|
|
25
25
|
/**
|
|
26
26
|
* The date and time when the record was created
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof MemberRelation
|
|
29
29
|
*/
|
|
30
|
-
created_at
|
|
30
|
+
created_at: string;
|
|
31
31
|
/**
|
|
32
32
|
* The date and time when the record was last updated
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof MemberRelation
|
|
35
35
|
*/
|
|
36
|
-
updated_at
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {UserRelation}
|
|
40
|
-
* @memberof MemberRelation
|
|
41
|
-
*/
|
|
42
|
-
user: UserRelation;
|
|
36
|
+
updated_at: string;
|
|
43
37
|
}
|
|
@@ -18,21 +18,27 @@ import { UserRelation } from './user-relation';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface Member {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {
|
|
21
|
+
*
|
|
22
|
+
* @type {UserRelation}
|
|
23
23
|
* @memberof Member
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
user: UserRelation;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {TeamRelation}
|
|
29
29
|
* @memberof Member
|
|
30
30
|
*/
|
|
31
|
-
team: TeamRelation;
|
|
31
|
+
team: TeamRelation | null;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {
|
|
33
|
+
* The date and time when the record was created
|
|
34
|
+
* @type {string}
|
|
35
35
|
* @memberof Member
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
created_at: string;
|
|
38
|
+
/**
|
|
39
|
+
* The date and time when the record was last updated
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof Member
|
|
42
|
+
*/
|
|
43
|
+
updated_at: string;
|
|
38
44
|
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RequestRelation
|
|
16
|
+
*/
|
|
17
|
+
export interface RequestRelation {
|
|
18
|
+
/**
|
|
19
|
+
* The unique UUID of the hook request
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RequestRelation
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The UUID of the hook that the request belongs to
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RequestRelation
|
|
28
|
+
*/
|
|
29
|
+
hook_id: string;
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the action that the request belongs to
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof RequestRelation
|
|
34
|
+
*/
|
|
35
|
+
action_id: number | null;
|
|
36
|
+
/**
|
|
37
|
+
* The UUID of the request that this request is a retry of
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RequestRelation
|
|
40
|
+
*/
|
|
41
|
+
retry_of: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The IP address of the source that triggered the hook
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof RequestRelation
|
|
46
|
+
*/
|
|
47
|
+
ip_address: string;
|
|
48
|
+
/**
|
|
49
|
+
* The date and time when the record was created
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RequestRelation
|
|
52
|
+
*/
|
|
53
|
+
created_at: string;
|
|
54
|
+
/**
|
|
55
|
+
* The date and time when the record was last updated
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof RequestRelation
|
|
58
|
+
*/
|
|
59
|
+
updated_at: string;
|
|
60
|
+
}
|
|
File without changes
|
|
@@ -9,10 +9,16 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Hook } from './hook';
|
|
13
|
-
import { HookIncomingParams } from './hook-incoming-params';
|
|
14
12
|
/**
|
|
15
|
-
*
|
|
13
|
+
*
|
|
16
14
|
* @export
|
|
15
|
+
* @interface ServerCommand
|
|
17
16
|
*/
|
|
18
|
-
export
|
|
17
|
+
export interface ServerCommand {
|
|
18
|
+
/**
|
|
19
|
+
* The Shell Script command to be executed in an existing Linux server in order to connect it to the `devopness`
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ServerCommand
|
|
22
|
+
*/
|
|
23
|
+
connect_command: string;
|
|
24
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
* A subscription plan
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SubscriptionPlan
|
|
16
|
+
*/
|
|
17
|
+
export interface SubscriptionPlan {
|
|
18
|
+
/**
|
|
19
|
+
* The subscription plan\'s code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SubscriptionPlan
|
|
22
|
+
*/
|
|
23
|
+
plan: string;
|
|
24
|
+
/**
|
|
25
|
+
* The subscription plan\'s name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SubscriptionPlan
|
|
28
|
+
*/
|
|
29
|
+
plan_human_readable: string;
|
|
30
|
+
}
|
|
File without changes
|
|
@@ -66,13 +66,13 @@ export interface TeamInvitationRelation {
|
|
|
66
66
|
* @type {TeamRelation}
|
|
67
67
|
* @memberof TeamInvitationRelation
|
|
68
68
|
*/
|
|
69
|
-
team: TeamRelation;
|
|
69
|
+
team: TeamRelation | null;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @type {ProjectRelation}
|
|
73
73
|
* @memberof TeamInvitationRelation
|
|
74
74
|
*/
|
|
75
|
-
project: ProjectRelation;
|
|
75
|
+
project: ProjectRelation | null;
|
|
76
76
|
/**
|
|
77
77
|
* The date and time when the invitation was accepted
|
|
78
78
|
* @type {string}
|
|
@@ -66,13 +66,13 @@ export interface TeamInvitation {
|
|
|
66
66
|
* @type {TeamRelation}
|
|
67
67
|
* @memberof TeamInvitation
|
|
68
68
|
*/
|
|
69
|
-
team: TeamRelation;
|
|
69
|
+
team: TeamRelation | null;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @type {ProjectRelation}
|
|
73
73
|
* @memberof TeamInvitation
|
|
74
74
|
*/
|
|
75
|
-
project?: ProjectRelation;
|
|
75
|
+
project?: ProjectRelation | null;
|
|
76
76
|
/**
|
|
77
77
|
* The date and time when the invitation will expire
|
|
78
78
|
* @type {string}
|