@devopness/sdk-js 2.55.0 → 2.57.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 (31) hide show
  1. package/dist/api/generated/apis/static-data-resource-types-api.d.ts +26 -0
  2. package/dist/api/generated/apis/static-data-resource-types-api.js +53 -0
  3. package/dist/api/generated/apis/users-api.d.ts +7 -0
  4. package/dist/api/generated/apis/users-api.js +16 -0
  5. package/dist/api/generated/models/index.d.ts +11 -0
  6. package/dist/api/generated/models/index.js +11 -0
  7. package/dist/api/generated/models/pipeline-settings-stage.d.ts +36 -0
  8. package/dist/api/generated/models/pipeline-settings-stage.js +14 -0
  9. package/dist/api/generated/models/pipeline-settings-variable.d.ts +48 -0
  10. package/dist/api/generated/models/pipeline-settings-variable.js +14 -0
  11. package/dist/api/generated/models/pipeline-settings.d.ts +32 -0
  12. package/dist/api/generated/models/pipeline-settings.js +14 -0
  13. package/dist/api/generated/models/resource-type-relation.d.ts +42 -0
  14. package/dist/api/generated/models/resource-type-relation.js +14 -0
  15. package/dist/api/generated/models/triggered-action-stats.d.ts +49 -0
  16. package/dist/api/generated/models/triggered-action-stats.js +14 -0
  17. package/dist/api/generated/models/triggered-action-summary.d.ts +54 -0
  18. package/dist/api/generated/models/triggered-action-summary.js +14 -0
  19. package/dist/api/generated/models/triggered-actions.d.ts +32 -0
  20. package/dist/api/generated/models/triggered-actions.js +14 -0
  21. package/dist/api/generated/models/user-activity.d.ts +46 -0
  22. package/dist/api/generated/models/user-activity.js +14 -0
  23. package/dist/api/generated/models/user-environment-stats.d.ts +30 -0
  24. package/dist/api/generated/models/user-environment-stats.js +14 -0
  25. package/dist/api/generated/models/user-project-stats.d.ts +30 -0
  26. package/dist/api/generated/models/user-project-stats.js +14 -0
  27. package/dist/api/generated/models/user-team-stats.d.ts +30 -0
  28. package/dist/api/generated/models/user-team-stats.js +14 -0
  29. package/dist/services/StaticService.d.ts +2 -0
  30. package/dist/services/StaticService.js +2 -0
  31. package/package.json +1 -1
@@ -0,0 +1,26 @@
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 { ResourceTypeRelation } from '../../generated/models';
15
+ /**
16
+ * StaticDataResourceTypesApiService - Auto-generated
17
+ */
18
+ export declare class StaticDataResourceTypesApiService extends ApiBaseService {
19
+ /**
20
+ *
21
+ * @summary List available resource types
22
+ * @param {number} [page] Number of the page to be retrieved
23
+ * @param {number} [perPage] Number of items returned per page
24
+ */
25
+ listStaticResourceTypes(page?: number, perPage?: number): Promise<ApiResponse<Array<ResourceTypeRelation>>>;
26
+ }
@@ -0,0 +1,53 @@
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.StaticDataResourceTypesApiService = void 0;
25
+ const ApiBaseService_1 = require("../../../services/ApiBaseService");
26
+ const ApiResponse_1 = require("../../../common/ApiResponse");
27
+ /**
28
+ * StaticDataResourceTypesApiService - Auto-generated
29
+ */
30
+ class StaticDataResourceTypesApiService extends ApiBaseService_1.ApiBaseService {
31
+ /**
32
+ *
33
+ * @summary List available resource types
34
+ * @param {number} [page] Number of the page to be retrieved
35
+ * @param {number} [perPage] Number of items returned per page
36
+ */
37
+ listStaticResourceTypes(page, perPage) {
38
+ return __awaiter(this, void 0, void 0, function* () {
39
+ let queryString = '';
40
+ const queryParams = { page: page, per_page: perPage, };
41
+ for (const key in queryParams) {
42
+ if (queryParams[key] === undefined || queryParams[key] === null) {
43
+ continue;
44
+ }
45
+ queryString += (queryString ? '&' : '') + `${key}=${encodeURI(queryParams[key])}`;
46
+ }
47
+ const requestUrl = '/static/resource-types' + (queryString ? `?${queryString}` : '');
48
+ const response = yield this.get(requestUrl);
49
+ return new ApiResponse_1.ApiResponse(response);
50
+ });
51
+ }
52
+ }
53
+ exports.StaticDataResourceTypesApiService = StaticDataResourceTypesApiService;
@@ -12,6 +12,7 @@
12
12
  import { ApiBaseService } from "../../../services/ApiBaseService";
13
13
  import { ApiResponse } from "../../../common/ApiResponse";
14
14
  import { User } from '../../generated/models';
15
+ import { UserActivity } from '../../generated/models';
15
16
  import { UserBilling } from '../../generated/models';
16
17
  import { UserCreate } from '../../generated/models';
17
18
  import { UserLogin } from '../../generated/models';
@@ -39,6 +40,12 @@ export declare class UsersApiService extends ApiBaseService {
39
40
  * @param {number} userId The ID of the user.
40
41
  */
41
42
  getUser(userId: number): Promise<ApiResponse<User>>;
43
+ /**
44
+ *
45
+ * @summary Get current user\'s activity info
46
+ * @param {number} userId The ID of the user.
47
+ */
48
+ getUserActivity(userId: number): Promise<ApiResponse<UserActivity>>;
42
49
  /**
43
50
  *
44
51
  * @summary Get current user\'s billing info for active subscription
@@ -61,6 +61,22 @@ class UsersApiService extends ApiBaseService_1.ApiBaseService {
61
61
  return new ApiResponse_1.ApiResponse(response);
62
62
  });
63
63
  }
64
+ /**
65
+ *
66
+ * @summary Get current user\'s activity info
67
+ * @param {number} userId The ID of the user.
68
+ */
69
+ getUserActivity(userId) {
70
+ return __awaiter(this, void 0, void 0, function* () {
71
+ if (userId === null || userId === undefined) {
72
+ throw new Exceptions_1.ArgumentNullException('userId', 'getUserActivity');
73
+ }
74
+ let queryString = '';
75
+ const requestUrl = '/users/{user_id}/activity' + (queryString ? `?${queryString}` : '');
76
+ const response = yield this.get(requestUrl.replace(`{${"user_id"}}`, encodeURIComponent(String(userId))));
77
+ return new ApiResponse_1.ApiResponse(response);
78
+ });
79
+ }
64
80
  /**
65
81
  *
66
82
  * @summary Get current user\'s billing info for active subscription
@@ -114,6 +114,9 @@ export * from './permission-relation';
114
114
  export * from './pipeline';
115
115
  export * from './pipeline-create';
116
116
  export * from './pipeline-relation';
117
+ export * from './pipeline-settings';
118
+ export * from './pipeline-settings-stage';
119
+ export * from './pipeline-settings-variable';
117
120
  export * from './pipeline-step-runner-name';
118
121
  export * from './pipeline-update';
119
122
  export * from './project';
@@ -129,6 +132,7 @@ export * from './resource-event';
129
132
  export * from './resource-event-relation';
130
133
  export * from './resource-link-relation';
131
134
  export * from './resource-type';
135
+ export * from './resource-type-relation';
132
136
  export * from './role';
133
137
  export * from './role-project-create';
134
138
  export * from './role-relation';
@@ -201,17 +205,24 @@ export * from './team-project-create';
201
205
  export * from './team-relation';
202
206
  export * from './team-update';
203
207
  export * from './trigger-event';
208
+ export * from './triggered-action-stats';
209
+ export * from './triggered-action-summary';
210
+ export * from './triggered-actions';
204
211
  export * from './user';
212
+ export * from './user-activity';
205
213
  export * from './user-billing';
206
214
  export * from './user-create';
215
+ export * from './user-environment-stats';
207
216
  export * from './user-login';
208
217
  export * from './user-login-response';
209
218
  export * from './user-me';
210
219
  export * from './user-profile-options';
220
+ export * from './user-project-stats';
211
221
  export * from './user-refresh-token';
212
222
  export * from './user-refresh-token-response';
213
223
  export * from './user-relation';
214
224
  export * from './user-resend-verification';
225
+ export * from './user-team-stats';
215
226
  export * from './user-update';
216
227
  export * from './user-url';
217
228
  export * from './user-verify';
@@ -130,6 +130,9 @@ __exportStar(require("./permission-relation"), exports);
130
130
  __exportStar(require("./pipeline"), exports);
131
131
  __exportStar(require("./pipeline-create"), exports);
132
132
  __exportStar(require("./pipeline-relation"), exports);
133
+ __exportStar(require("./pipeline-settings"), exports);
134
+ __exportStar(require("./pipeline-settings-stage"), exports);
135
+ __exportStar(require("./pipeline-settings-variable"), exports);
133
136
  __exportStar(require("./pipeline-step-runner-name"), exports);
134
137
  __exportStar(require("./pipeline-update"), exports);
135
138
  __exportStar(require("./project"), exports);
@@ -145,6 +148,7 @@ __exportStar(require("./resource-event"), exports);
145
148
  __exportStar(require("./resource-event-relation"), exports);
146
149
  __exportStar(require("./resource-link-relation"), exports);
147
150
  __exportStar(require("./resource-type"), exports);
151
+ __exportStar(require("./resource-type-relation"), exports);
148
152
  __exportStar(require("./role"), exports);
149
153
  __exportStar(require("./role-project-create"), exports);
150
154
  __exportStar(require("./role-relation"), exports);
@@ -217,17 +221,24 @@ __exportStar(require("./team-project-create"), exports);
217
221
  __exportStar(require("./team-relation"), exports);
218
222
  __exportStar(require("./team-update"), exports);
219
223
  __exportStar(require("./trigger-event"), exports);
224
+ __exportStar(require("./triggered-action-stats"), exports);
225
+ __exportStar(require("./triggered-action-summary"), exports);
226
+ __exportStar(require("./triggered-actions"), exports);
220
227
  __exportStar(require("./user"), exports);
228
+ __exportStar(require("./user-activity"), exports);
221
229
  __exportStar(require("./user-billing"), exports);
222
230
  __exportStar(require("./user-create"), exports);
231
+ __exportStar(require("./user-environment-stats"), exports);
223
232
  __exportStar(require("./user-login"), exports);
224
233
  __exportStar(require("./user-login-response"), exports);
225
234
  __exportStar(require("./user-me"), exports);
226
235
  __exportStar(require("./user-profile-options"), exports);
236
+ __exportStar(require("./user-project-stats"), exports);
227
237
  __exportStar(require("./user-refresh-token"), exports);
228
238
  __exportStar(require("./user-refresh-token-response"), exports);
229
239
  __exportStar(require("./user-relation"), exports);
230
240
  __exportStar(require("./user-resend-verification"), exports);
241
+ __exportStar(require("./user-team-stats"), exports);
231
242
  __exportStar(require("./user-update"), exports);
232
243
  __exportStar(require("./user-url"), exports);
233
244
  __exportStar(require("./user-verify"), exports);
@@ -0,0 +1,36 @@
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
+ * Step to be performed in the pipeline
14
+ * @export
15
+ * @interface PipelineSettingsStage
16
+ */
17
+ export interface PipelineSettingsStage {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PipelineSettingsStage
22
+ */
23
+ value?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PipelineSettingsStage
28
+ */
29
+ human_readable?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PipelineSettingsStage
34
+ */
35
+ hint?: string;
36
+ }
@@ -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 });
@@ -0,0 +1,48 @@
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
+ * Variables used in pipeline
14
+ * @export
15
+ * @interface PipelineSettingsVariable
16
+ */
17
+ export interface PipelineSettingsVariable {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PipelineSettingsVariable
22
+ */
23
+ name?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PipelineSettingsVariable
28
+ */
29
+ human_readable?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PipelineSettingsVariable
34
+ */
35
+ hint?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PipelineSettingsVariable
40
+ */
41
+ type?: string;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof PipelineSettingsVariable
46
+ */
47
+ required?: boolean;
48
+ }
@@ -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 });
@@ -0,0 +1,32 @@
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 { PipelineSettingsStage } from './pipeline-settings-stage';
13
+ import { PipelineSettingsVariable } from './pipeline-settings-variable';
14
+ /**
15
+ * Settings that can be customized for a pipeline
16
+ * @export
17
+ * @interface PipelineSettings
18
+ */
19
+ export interface PipelineSettings {
20
+ /**
21
+ * The list of pipeline setting stage
22
+ * @type {Array<PipelineSettingsStage>}
23
+ * @memberof PipelineSettings
24
+ */
25
+ stages?: Array<PipelineSettingsStage>;
26
+ /**
27
+ * The list of pipeline setting variable
28
+ * @type {Array<PipelineSettingsVariable>}
29
+ * @memberof PipelineSettings
30
+ */
31
+ variables?: Array<PipelineSettingsVariable>;
32
+ }
@@ -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 });
@@ -0,0 +1,42 @@
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 ResourceTypeRelation
16
+ */
17
+ export interface ResourceTypeRelation {
18
+ /**
19
+ * The type of resource this resourceType affects
20
+ * @type {string}
21
+ * @memberof ResourceTypeRelation
22
+ */
23
+ resource_type: string;
24
+ /**
25
+ * Human readable resource name
26
+ * @type {string}
27
+ * @memberof ResourceTypeRelation
28
+ */
29
+ resource_type_human_readable: string;
30
+ /**
31
+ * Human readable plural resource name
32
+ * @type {string}
33
+ * @memberof ResourceTypeRelation
34
+ */
35
+ resource_type_human_readable_plural: string;
36
+ /**
37
+ * An operation supported by this resource type and can have pipelines associated to it.
38
+ * @type {object}
39
+ * @memberof ResourceTypeRelation
40
+ */
41
+ supported_operations: object | null;
42
+ }
@@ -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 });
@@ -0,0 +1,49 @@
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 { TriggeredActionSummary } from './triggered-action-summary';
13
+ /**
14
+ * Information about the action that was triggered
15
+ * @export
16
+ * @interface TriggeredActionStats
17
+ */
18
+ export interface TriggeredActionStats {
19
+ /**
20
+ * Type of resource used in the action
21
+ * @type {string}
22
+ * @memberof TriggeredActionStats
23
+ */
24
+ resource_type?: string;
25
+ /**
26
+ * Type of action
27
+ * @type {string}
28
+ * @memberof TriggeredActionStats
29
+ */
30
+ action_type?: string;
31
+ /**
32
+ * Type of resource used in action human readable
33
+ * @type {string}
34
+ * @memberof TriggeredActionStats
35
+ */
36
+ resource_type_human_readable?: string;
37
+ /**
38
+ * Type of action human readable
39
+ * @type {string}
40
+ * @memberof TriggeredActionStats
41
+ */
42
+ action_type_human_readable?: string;
43
+ /**
44
+ *
45
+ * @type {TriggeredActionSummary}
46
+ * @memberof TriggeredActionStats
47
+ */
48
+ summary?: TriggeredActionSummary;
49
+ }
@@ -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 });
@@ -0,0 +1,54 @@
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
+ * Summary of actions that were triggered by the user
14
+ * @export
15
+ * @interface TriggeredActionSummary
16
+ */
17
+ export interface TriggeredActionSummary {
18
+ /**
19
+ * Total of actions that were triggered by the user
20
+ * @type {number}
21
+ * @memberof TriggeredActionSummary
22
+ */
23
+ count?: number;
24
+ /**
25
+ * Total of actions that were triggered by the user with status queued
26
+ * @type {number}
27
+ * @memberof TriggeredActionSummary
28
+ */
29
+ queued?: number;
30
+ /**
31
+ * Total of actions that were triggered by the user with status pending
32
+ * @type {number}
33
+ * @memberof TriggeredActionSummary
34
+ */
35
+ pending?: number;
36
+ /**
37
+ * Total of actions that were triggered by the user with status in_progress
38
+ * @type {number}
39
+ * @memberof TriggeredActionSummary
40
+ */
41
+ in_progress?: number;
42
+ /**
43
+ * Total of actions that were triggered by the user with status completed
44
+ * @type {number}
45
+ * @memberof TriggeredActionSummary
46
+ */
47
+ completed?: number;
48
+ /**
49
+ * Total of actions that were triggered by the user with status failed
50
+ * @type {number}
51
+ * @memberof TriggeredActionSummary
52
+ */
53
+ failed?: number;
54
+ }
@@ -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 });
@@ -0,0 +1,32 @@
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 { TriggeredActionStats } from './triggered-action-stats';
13
+ import { TriggeredActionSummary } from './triggered-action-summary';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface TriggeredActions
18
+ */
19
+ export interface TriggeredActions {
20
+ /**
21
+ *
22
+ * @type {TriggeredActionSummary}
23
+ * @memberof TriggeredActions
24
+ */
25
+ summary?: TriggeredActionSummary;
26
+ /**
27
+ *
28
+ * @type {Array<TriggeredActionStats>}
29
+ * @memberof TriggeredActions
30
+ */
31
+ operations?: Array<TriggeredActionStats>;
32
+ }
@@ -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 });
@@ -0,0 +1,46 @@
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 { TriggeredActions } from './triggered-actions';
13
+ import { UserEnvironmentStats } from './user-environment-stats';
14
+ import { UserProjectStats } from './user-project-stats';
15
+ import { UserTeamStats } from './user-team-stats';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UserActivity
20
+ */
21
+ export interface UserActivity {
22
+ /**
23
+ *
24
+ * @type {UserProjectStats}
25
+ * @memberof UserActivity
26
+ */
27
+ projects: UserProjectStats;
28
+ /**
29
+ *
30
+ * @type {UserEnvironmentStats}
31
+ * @memberof UserActivity
32
+ */
33
+ environments: UserEnvironmentStats;
34
+ /**
35
+ *
36
+ * @type {UserTeamStats}
37
+ * @memberof UserActivity
38
+ */
39
+ teams: UserTeamStats;
40
+ /**
41
+ *
42
+ * @type {TriggeredActions}
43
+ * @memberof UserActivity
44
+ */
45
+ triggered_actions: TriggeredActions;
46
+ }
@@ -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 });
@@ -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
+ * Total number of environments that user has access to, as owner or team member.
14
+ * @export
15
+ * @interface UserEnvironmentStats
16
+ */
17
+ export interface UserEnvironmentStats {
18
+ /**
19
+ * Total number of environments that user has access to, as owner.
20
+ * @type {number}
21
+ * @memberof UserEnvironmentStats
22
+ */
23
+ owner_of?: number;
24
+ /**
25
+ * Total number of environments that user has access to, as team member.
26
+ * @type {number}
27
+ * @memberof UserEnvironmentStats
28
+ */
29
+ member_of?: number;
30
+ }
@@ -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 });
@@ -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
+ * Total number of projects that user has access to, as owner or team member.
14
+ * @export
15
+ * @interface UserProjectStats
16
+ */
17
+ export interface UserProjectStats {
18
+ /**
19
+ * Total number of projects that user has access to, as owner.
20
+ * @type {number}
21
+ * @memberof UserProjectStats
22
+ */
23
+ owner_of?: number;
24
+ /**
25
+ * Total number of projects that user has access to, as team member.
26
+ * @type {number}
27
+ * @memberof UserProjectStats
28
+ */
29
+ member_of?: number;
30
+ }
@@ -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 });
@@ -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
+ * Total number of teams that user has access to, as owner or team member.
14
+ * @export
15
+ * @interface UserTeamStats
16
+ */
17
+ export interface UserTeamStats {
18
+ /**
19
+ * Total number of teams that user has access to, as owner.
20
+ * @type {number}
21
+ * @memberof UserTeamStats
22
+ */
23
+ owner_of?: number;
24
+ /**
25
+ * Total number of teams that user has access to, as team member.
26
+ * @type {number}
27
+ * @memberof UserTeamStats
28
+ */
29
+ member_of?: number;
30
+ }
@@ -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 });
@@ -5,6 +5,7 @@ import { StaticDataCloudProviderServicesApiService } from "../api/generated/apis
5
5
  import { StaticDataCronJobOptionsApiService } from "../api/generated/apis/static-data-cron-job-options-api";
6
6
  import { StaticDataEnvironmentOptionsApiService } from "../api/generated/apis/static-data-environment-options-api";
7
7
  import { StaticDataPermissionsApiService } from "../api/generated/apis/static-data-permissions-api";
8
+ import { StaticDataResourceTypesApiService } from "../api/generated/apis/static-data-resource-types-api";
8
9
  import { StaticDataServiceOptionsApiService } from "../api/generated/apis/static-data-service-options-api";
9
10
  import { StaticDataUserProfileOptionsApiService } from "../api/generated/apis/static-data-user-profile-options-api";
10
11
  export declare class StaticService {
@@ -15,6 +16,7 @@ export declare class StaticService {
15
16
  cronJobOptions: StaticDataCronJobOptionsApiService;
16
17
  environmentOptions: StaticDataEnvironmentOptionsApiService;
17
18
  permissions: StaticDataPermissionsApiService;
19
+ resourceTypes: StaticDataResourceTypesApiService;
18
20
  serviceOptions: StaticDataServiceOptionsApiService;
19
21
  userProfileOptions: StaticDataUserProfileOptionsApiService;
20
22
  }
@@ -8,6 +8,7 @@ const static_data_cloud_provider_services_api_1 = require("../api/generated/apis
8
8
  const static_data_cron_job_options_api_1 = require("../api/generated/apis/static-data-cron-job-options-api");
9
9
  const static_data_environment_options_api_1 = require("../api/generated/apis/static-data-environment-options-api");
10
10
  const static_data_permissions_api_1 = require("../api/generated/apis/static-data-permissions-api");
11
+ const static_data_resource_types_api_1 = require("../api/generated/apis/static-data-resource-types-api");
11
12
  const static_data_service_options_api_1 = require("../api/generated/apis/static-data-service-options-api");
12
13
  const static_data_user_profile_options_api_1 = require("../api/generated/apis/static-data-user-profile-options-api");
13
14
  class StaticService {
@@ -19,6 +20,7 @@ class StaticService {
19
20
  this.cronJobOptions = new static_data_cron_job_options_api_1.StaticDataCronJobOptionsApiService();
20
21
  this.environmentOptions = new static_data_environment_options_api_1.StaticDataEnvironmentOptionsApiService();
21
22
  this.permissions = new static_data_permissions_api_1.StaticDataPermissionsApiService();
23
+ this.resourceTypes = new static_data_resource_types_api_1.StaticDataResourceTypesApiService();
22
24
  this.serviceOptions = new static_data_service_options_api_1.StaticDataServiceOptionsApiService();
23
25
  this.userProfileOptions = new static_data_user_profile_options_api_1.StaticDataUserProfileOptionsApiService();
24
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.55.0",
3
+ "version": "2.57.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },