@cirrobio/api-client 0.0.34-alpha → 0.0.35-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.
@@ -67,6 +67,7 @@ src/models/ProjectUser.ts
67
67
  src/models/Reference.ts
68
68
  src/models/ReferenceType.ts
69
69
  src/models/RepositoryType.ts
70
+ src/models/ResourcesInfo.ts
70
71
  src/models/RunAnalysisRequest.ts
71
72
  src/models/S3Credentials.ts
72
73
  src/models/Sample.ts
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.34-alpha --save
39
+ npm install @cirrobio/api-client@0.0.35-alpha --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -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;
@@ -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';
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.0.34-alpha",
3
+ "version": "0.0.35-alpha",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -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
 
@@ -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';