@cirrobio/api-client 0.0.34-alpha → 0.0.36-alpha
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/.openapi-generator/FILES +1 -0
- package/README.md +1 -1
- package/dist/apis/SystemApi.d.ts +0 -8
- package/dist/apis/SystemApi.js +16 -48
- package/dist/models/ResourcesInfo.d.ts +49 -0
- package/dist/models/ResourcesInfo.js +59 -0
- package/dist/models/SystemInfoResponse.d.ts +7 -0
- package/dist/models/SystemInfoResponse.js +4 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/apis/SystemApi.ts +8 -26
- package/src/models/ResourcesInfo.ts +93 -0
- package/src/models/SystemInfoResponse.ts +16 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @cirrobio/api-client@0.0.
|
|
39
|
+
npm install @cirrobio/api-client@0.0.36-alpha --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/dist/apis/SystemApi.d.ts
CHANGED
|
@@ -33,12 +33,4 @@ export declare class SystemApi extends runtime.BaseAPI {
|
|
|
33
33
|
* Get system info
|
|
34
34
|
*/
|
|
35
35
|
info(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfoResponse>;
|
|
36
|
-
/**
|
|
37
|
-
* Get system info
|
|
38
|
-
*/
|
|
39
|
-
info1Raw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfoResponse>>;
|
|
40
|
-
/**
|
|
41
|
-
* Get system info
|
|
42
|
-
*/
|
|
43
|
-
info1(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfoResponse>;
|
|
44
36
|
}
|
package/dist/apis/SystemApi.js
CHANGED
|
@@ -132,19 +132,28 @@ var SystemApi = /** @class */ (function (_super) {
|
|
|
132
132
|
*/
|
|
133
133
|
SystemApi.prototype.infoRaw = function (initOverrides) {
|
|
134
134
|
return __awaiter(this, void 0, void 0, function () {
|
|
135
|
-
var queryParameters, headerParameters, response;
|
|
135
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
136
136
|
return __generator(this, function (_a) {
|
|
137
137
|
switch (_a.label) {
|
|
138
138
|
case 0:
|
|
139
139
|
queryParameters = {};
|
|
140
140
|
headerParameters = {};
|
|
141
|
-
return [
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
headers: headerParameters,
|
|
145
|
-
query: queryParameters,
|
|
146
|
-
}, initOverrides)];
|
|
141
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
142
|
+
token = this.configuration.accessToken;
|
|
143
|
+
return [4 /*yield*/, token("accessToken", [])];
|
|
147
144
|
case 1:
|
|
145
|
+
tokenString = _a.sent();
|
|
146
|
+
if (tokenString) {
|
|
147
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
148
|
+
}
|
|
149
|
+
_a.label = 2;
|
|
150
|
+
case 2: return [4 /*yield*/, this.request({
|
|
151
|
+
path: "/info",
|
|
152
|
+
method: 'GET',
|
|
153
|
+
headers: headerParameters,
|
|
154
|
+
query: queryParameters,
|
|
155
|
+
}, initOverrides)];
|
|
156
|
+
case 3:
|
|
148
157
|
response = _a.sent();
|
|
149
158
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.SystemInfoResponseFromJSON)(jsonValue); })];
|
|
150
159
|
}
|
|
@@ -168,47 +177,6 @@ var SystemApi = /** @class */ (function (_super) {
|
|
|
168
177
|
});
|
|
169
178
|
});
|
|
170
179
|
};
|
|
171
|
-
/**
|
|
172
|
-
* Get system info
|
|
173
|
-
*/
|
|
174
|
-
SystemApi.prototype.info1Raw = function (initOverrides) {
|
|
175
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
176
|
-
var queryParameters, headerParameters, response;
|
|
177
|
-
return __generator(this, function (_a) {
|
|
178
|
-
switch (_a.label) {
|
|
179
|
-
case 0:
|
|
180
|
-
queryParameters = {};
|
|
181
|
-
headerParameters = {};
|
|
182
|
-
return [4 /*yield*/, this.request({
|
|
183
|
-
path: "/info/system",
|
|
184
|
-
method: 'GET',
|
|
185
|
-
headers: headerParameters,
|
|
186
|
-
query: queryParameters,
|
|
187
|
-
}, initOverrides)];
|
|
188
|
-
case 1:
|
|
189
|
-
response = _a.sent();
|
|
190
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.SystemInfoResponseFromJSON)(jsonValue); })];
|
|
191
|
-
}
|
|
192
|
-
});
|
|
193
|
-
});
|
|
194
|
-
};
|
|
195
|
-
/**
|
|
196
|
-
* Get system info
|
|
197
|
-
*/
|
|
198
|
-
SystemApi.prototype.info1 = function (initOverrides) {
|
|
199
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
200
|
-
var response;
|
|
201
|
-
return __generator(this, function (_a) {
|
|
202
|
-
switch (_a.label) {
|
|
203
|
-
case 0: return [4 /*yield*/, this.info1Raw(initOverrides)];
|
|
204
|
-
case 1:
|
|
205
|
-
response = _a.sent();
|
|
206
|
-
return [4 /*yield*/, response.value()];
|
|
207
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
208
|
-
}
|
|
209
|
-
});
|
|
210
|
-
});
|
|
211
|
-
};
|
|
212
180
|
return SystemApi;
|
|
213
181
|
}(runtime.BaseAPI));
|
|
214
182
|
exports.SystemApi = SystemApi;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
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 ResourcesInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface ResourcesInfo {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ResourcesInfo
|
|
22
|
+
*/
|
|
23
|
+
commit: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof ResourcesInfo
|
|
28
|
+
*/
|
|
29
|
+
date: Date;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ResourcesInfo
|
|
34
|
+
*/
|
|
35
|
+
repository: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ResourcesInfo
|
|
40
|
+
*/
|
|
41
|
+
sourceVersion: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ResourcesInfo interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfResourcesInfo(value: object): boolean;
|
|
47
|
+
export declare function ResourcesInfoFromJSON(json: any): ResourcesInfo;
|
|
48
|
+
export declare function ResourcesInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourcesInfo;
|
|
49
|
+
export declare function ResourcesInfoToJSON(value?: ResourcesInfo | null): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ResourcesInfoToJSON = exports.ResourcesInfoFromJSONTyped = exports.ResourcesInfoFromJSON = exports.instanceOfResourcesInfo = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ResourcesInfo interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfResourcesInfo(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "commit" in value;
|
|
23
|
+
isInstance = isInstance && "date" in value;
|
|
24
|
+
isInstance = isInstance && "repository" in value;
|
|
25
|
+
isInstance = isInstance && "sourceVersion" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfResourcesInfo = instanceOfResourcesInfo;
|
|
29
|
+
function ResourcesInfoFromJSON(json) {
|
|
30
|
+
return ResourcesInfoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.ResourcesInfoFromJSON = ResourcesInfoFromJSON;
|
|
33
|
+
function ResourcesInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'commit': json['commit'],
|
|
39
|
+
'date': (new Date(json['date'])),
|
|
40
|
+
'repository': json['repository'],
|
|
41
|
+
'sourceVersion': json['sourceVersion'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.ResourcesInfoFromJSONTyped = ResourcesInfoFromJSONTyped;
|
|
45
|
+
function ResourcesInfoToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'commit': value.commit,
|
|
54
|
+
'date': (value.date.toISOString()),
|
|
55
|
+
'repository': value.repository,
|
|
56
|
+
'sourceVersion': value.sourceVersion,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.ResourcesInfoToJSON = ResourcesInfoToJSON;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ResourcesInfo } from './ResourcesInfo';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -57,6 +58,12 @@ export interface SystemInfoResponse {
|
|
|
57
58
|
* @memberof SystemInfoResponse
|
|
58
59
|
*/
|
|
59
60
|
version: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {ResourcesInfo}
|
|
64
|
+
* @memberof SystemInfoResponse
|
|
65
|
+
*/
|
|
66
|
+
resourcesInfo: ResourcesInfo;
|
|
60
67
|
}
|
|
61
68
|
/**
|
|
62
69
|
* Check if a given object implements the SystemInfoResponse interface.
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.SystemInfoResponseToJSON = exports.SystemInfoResponseFromJSONTyped = exports.SystemInfoResponseFromJSON = exports.instanceOfSystemInfoResponse = void 0;
|
|
17
|
+
var ResourcesInfo_1 = require("./ResourcesInfo");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the SystemInfoResponse interface.
|
|
19
20
|
*/
|
|
@@ -26,6 +27,7 @@ function instanceOfSystemInfoResponse(value) {
|
|
|
26
27
|
isInstance = isInstance && "systemMessage" in value;
|
|
27
28
|
isInstance = isInstance && "commitHash" in value;
|
|
28
29
|
isInstance = isInstance && "version" in value;
|
|
30
|
+
isInstance = isInstance && "resourcesInfo" in value;
|
|
29
31
|
return isInstance;
|
|
30
32
|
}
|
|
31
33
|
exports.instanceOfSystemInfoResponse = instanceOfSystemInfoResponse;
|
|
@@ -45,6 +47,7 @@ function SystemInfoResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
47
|
'systemMessage': json['systemMessage'],
|
|
46
48
|
'commitHash': json['commitHash'],
|
|
47
49
|
'version': json['version'],
|
|
50
|
+
'resourcesInfo': (0, ResourcesInfo_1.ResourcesInfoFromJSON)(json['resourcesInfo']),
|
|
48
51
|
};
|
|
49
52
|
}
|
|
50
53
|
exports.SystemInfoResponseFromJSONTyped = SystemInfoResponseFromJSONTyped;
|
|
@@ -63,6 +66,7 @@ function SystemInfoResponseToJSON(value) {
|
|
|
63
66
|
'systemMessage': value.systemMessage,
|
|
64
67
|
'commitHash': value.commitHash,
|
|
65
68
|
'version': value.version,
|
|
69
|
+
'resourcesInfo': (0, ResourcesInfo_1.ResourcesInfoToJSON)(value.resourcesInfo),
|
|
66
70
|
};
|
|
67
71
|
}
|
|
68
72
|
exports.SystemInfoResponseToJSON = SystemInfoResponseToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export * from './ProjectUser';
|
|
|
48
48
|
export * from './Reference';
|
|
49
49
|
export * from './ReferenceType';
|
|
50
50
|
export * from './RepositoryType';
|
|
51
|
+
export * from './ResourcesInfo';
|
|
51
52
|
export * from './RunAnalysisRequest';
|
|
52
53
|
export * from './S3Credentials';
|
|
53
54
|
export * from './Sample';
|
package/dist/models/index.js
CHANGED
|
@@ -66,6 +66,7 @@ __exportStar(require("./ProjectUser"), exports);
|
|
|
66
66
|
__exportStar(require("./Reference"), exports);
|
|
67
67
|
__exportStar(require("./ReferenceType"), exports);
|
|
68
68
|
__exportStar(require("./RepositoryType"), exports);
|
|
69
|
+
__exportStar(require("./ResourcesInfo"), exports);
|
|
69
70
|
__exportStar(require("./RunAnalysisRequest"), exports);
|
|
70
71
|
__exportStar(require("./S3Credentials"), exports);
|
|
71
72
|
__exportStar(require("./Sample"), exports);
|
package/package.json
CHANGED
package/src/apis/SystemApi.ts
CHANGED
|
@@ -74,6 +74,14 @@ export class SystemApi extends runtime.BaseAPI {
|
|
|
74
74
|
|
|
75
75
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
76
76
|
|
|
77
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
78
|
+
const token = this.configuration.accessToken;
|
|
79
|
+
const tokenString = await token("accessToken", []);
|
|
80
|
+
|
|
81
|
+
if (tokenString) {
|
|
82
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
77
85
|
const response = await this.request({
|
|
78
86
|
path: `/info`,
|
|
79
87
|
method: 'GET',
|
|
@@ -92,30 +100,4 @@ export class SystemApi extends runtime.BaseAPI {
|
|
|
92
100
|
return await response.value();
|
|
93
101
|
}
|
|
94
102
|
|
|
95
|
-
/**
|
|
96
|
-
* Get system info
|
|
97
|
-
*/
|
|
98
|
-
async info1Raw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfoResponse>> {
|
|
99
|
-
const queryParameters: any = {};
|
|
100
|
-
|
|
101
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
102
|
-
|
|
103
|
-
const response = await this.request({
|
|
104
|
-
path: `/info/system`,
|
|
105
|
-
method: 'GET',
|
|
106
|
-
headers: headerParameters,
|
|
107
|
-
query: queryParameters,
|
|
108
|
-
}, initOverrides);
|
|
109
|
-
|
|
110
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => SystemInfoResponseFromJSON(jsonValue));
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Get system info
|
|
115
|
-
*/
|
|
116
|
-
async info1(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfoResponse> {
|
|
117
|
-
const response = await this.info1Raw(initOverrides);
|
|
118
|
-
return await response.value();
|
|
119
|
-
}
|
|
120
|
-
|
|
121
103
|
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cirro Data
|
|
5
|
+
* Cirro Data Platform service API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
* Contact: support@cirro.bio
|
|
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
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ResourcesInfo
|
|
20
|
+
*/
|
|
21
|
+
export interface ResourcesInfo {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ResourcesInfo
|
|
26
|
+
*/
|
|
27
|
+
commit: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof ResourcesInfo
|
|
32
|
+
*/
|
|
33
|
+
date: Date;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ResourcesInfo
|
|
38
|
+
*/
|
|
39
|
+
repository: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ResourcesInfo
|
|
44
|
+
*/
|
|
45
|
+
sourceVersion: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ResourcesInfo interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfResourcesInfo(value: object): boolean {
|
|
52
|
+
let isInstance = true;
|
|
53
|
+
isInstance = isInstance && "commit" in value;
|
|
54
|
+
isInstance = isInstance && "date" in value;
|
|
55
|
+
isInstance = isInstance && "repository" in value;
|
|
56
|
+
isInstance = isInstance && "sourceVersion" in value;
|
|
57
|
+
|
|
58
|
+
return isInstance;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function ResourcesInfoFromJSON(json: any): ResourcesInfo {
|
|
62
|
+
return ResourcesInfoFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function ResourcesInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourcesInfo {
|
|
66
|
+
if ((json === undefined) || (json === null)) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'commit': json['commit'],
|
|
72
|
+
'date': (new Date(json['date'])),
|
|
73
|
+
'repository': json['repository'],
|
|
74
|
+
'sourceVersion': json['sourceVersion'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function ResourcesInfoToJSON(value?: ResourcesInfo | null): any {
|
|
79
|
+
if (value === undefined) {
|
|
80
|
+
return undefined;
|
|
81
|
+
}
|
|
82
|
+
if (value === null) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'commit': value.commit,
|
|
88
|
+
'date': (value.date.toISOString()),
|
|
89
|
+
'repository': value.repository,
|
|
90
|
+
'sourceVersion': value.sourceVersion,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { ResourcesInfo } from './ResourcesInfo';
|
|
17
|
+
import {
|
|
18
|
+
ResourcesInfoFromJSON,
|
|
19
|
+
ResourcesInfoFromJSONTyped,
|
|
20
|
+
ResourcesInfoToJSON,
|
|
21
|
+
} from './ResourcesInfo';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
*
|
|
18
25
|
* @export
|
|
@@ -61,6 +68,12 @@ export interface SystemInfoResponse {
|
|
|
61
68
|
* @memberof SystemInfoResponse
|
|
62
69
|
*/
|
|
63
70
|
version: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {ResourcesInfo}
|
|
74
|
+
* @memberof SystemInfoResponse
|
|
75
|
+
*/
|
|
76
|
+
resourcesInfo: ResourcesInfo;
|
|
64
77
|
}
|
|
65
78
|
|
|
66
79
|
/**
|
|
@@ -75,6 +88,7 @@ export function instanceOfSystemInfoResponse(value: object): boolean {
|
|
|
75
88
|
isInstance = isInstance && "systemMessage" in value;
|
|
76
89
|
isInstance = isInstance && "commitHash" in value;
|
|
77
90
|
isInstance = isInstance && "version" in value;
|
|
91
|
+
isInstance = isInstance && "resourcesInfo" in value;
|
|
78
92
|
|
|
79
93
|
return isInstance;
|
|
80
94
|
}
|
|
@@ -96,6 +110,7 @@ export function SystemInfoResponseFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
96
110
|
'systemMessage': json['systemMessage'],
|
|
97
111
|
'commitHash': json['commitHash'],
|
|
98
112
|
'version': json['version'],
|
|
113
|
+
'resourcesInfo': ResourcesInfoFromJSON(json['resourcesInfo']),
|
|
99
114
|
};
|
|
100
115
|
}
|
|
101
116
|
|
|
@@ -115,6 +130,7 @@ export function SystemInfoResponseToJSON(value?: SystemInfoResponse | null): any
|
|
|
115
130
|
'systemMessage': value.systemMessage,
|
|
116
131
|
'commitHash': value.commitHash,
|
|
117
132
|
'version': value.version,
|
|
133
|
+
'resourcesInfo': ResourcesInfoToJSON(value.resourcesInfo),
|
|
118
134
|
};
|
|
119
135
|
}
|
|
120
136
|
|
package/src/models/index.ts
CHANGED
|
@@ -50,6 +50,7 @@ export * from './ProjectUser';
|
|
|
50
50
|
export * from './Reference';
|
|
51
51
|
export * from './ReferenceType';
|
|
52
52
|
export * from './RepositoryType';
|
|
53
|
+
export * from './ResourcesInfo';
|
|
53
54
|
export * from './RunAnalysisRequest';
|
|
54
55
|
export * from './S3Credentials';
|
|
55
56
|
export * from './Sample';
|