@cirrobio/api-client 0.10.0 → 0.10.1
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/README.md +1 -1
- package/dist/esm/models/Discussion.d.ts +7 -0
- package/dist/esm/models/Discussion.js +4 -0
- package/dist/esm/models/DiscussionInput.d.ts +7 -0
- package/dist/esm/models/DiscussionInput.js +4 -0
- package/dist/esm/models/DiscussionType.d.ts +23 -0
- package/dist/esm/models/DiscussionType.js +32 -0
- package/dist/esm/models/EntityType.d.ts +1 -0
- package/dist/esm/models/EntityType.js +1 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/Discussion.d.ts +7 -0
- package/dist/models/Discussion.js +4 -0
- package/dist/models/DiscussionInput.d.ts +7 -0
- package/dist/models/DiscussionInput.js +4 -0
- package/dist/models/DiscussionType.d.ts +23 -0
- package/dist/models/DiscussionType.js +38 -0
- package/dist/models/EntityType.d.ts +1 -0
- package/dist/models/EntityType.js +1 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { DiscussionType } from './DiscussionType';
|
|
12
13
|
import type { Entity } from './Entity';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -40,6 +41,12 @@ export interface Discussion {
|
|
|
40
41
|
* @memberof Discussion
|
|
41
42
|
*/
|
|
42
43
|
entity: Entity;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {DiscussionType}
|
|
47
|
+
* @memberof Discussion
|
|
48
|
+
*/
|
|
49
|
+
type: DiscussionType;
|
|
43
50
|
/**
|
|
44
51
|
*
|
|
45
52
|
* @type {string}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { DiscussionTypeFromJSON, DiscussionTypeToJSON, } from './DiscussionType';
|
|
14
15
|
import { EntityFromJSON, EntityToJSON, } from './Entity';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the Discussion interface.
|
|
@@ -21,6 +22,7 @@ export function instanceOfDiscussion(value) {
|
|
|
21
22
|
isInstance = isInstance && "name" in value;
|
|
22
23
|
isInstance = isInstance && "description" in value;
|
|
23
24
|
isInstance = isInstance && "entity" in value;
|
|
25
|
+
isInstance = isInstance && "type" in value;
|
|
24
26
|
isInstance = isInstance && "projectId" in value;
|
|
25
27
|
isInstance = isInstance && "createdBy" in value;
|
|
26
28
|
isInstance = isInstance && "lastMessageTime" in value;
|
|
@@ -40,6 +42,7 @@ export function DiscussionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
42
|
'name': json['name'],
|
|
41
43
|
'description': json['description'],
|
|
42
44
|
'entity': EntityFromJSON(json['entity']),
|
|
45
|
+
'type': DiscussionTypeFromJSON(json['type']),
|
|
43
46
|
'projectId': json['projectId'],
|
|
44
47
|
'createdBy': json['createdBy'],
|
|
45
48
|
'lastMessageTime': (new Date(json['lastMessageTime'])),
|
|
@@ -59,6 +62,7 @@ export function DiscussionToJSON(value) {
|
|
|
59
62
|
'name': value.name,
|
|
60
63
|
'description': value.description,
|
|
61
64
|
'entity': EntityToJSON(value.entity),
|
|
65
|
+
'type': DiscussionTypeToJSON(value.type),
|
|
62
66
|
'projectId': value.projectId,
|
|
63
67
|
'createdBy': value.createdBy,
|
|
64
68
|
'lastMessageTime': (value.lastMessageTime.toISOString()),
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { DiscussionType } from './DiscussionType';
|
|
12
13
|
import type { Entity } from './Entity';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -34,6 +35,12 @@ export interface DiscussionInput {
|
|
|
34
35
|
* @memberof DiscussionInput
|
|
35
36
|
*/
|
|
36
37
|
entity: Entity;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {DiscussionType}
|
|
41
|
+
* @memberof DiscussionInput
|
|
42
|
+
*/
|
|
43
|
+
type: DiscussionType;
|
|
37
44
|
/**
|
|
38
45
|
*
|
|
39
46
|
* @type {string}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { DiscussionTypeFromJSON, DiscussionTypeToJSON, } from './DiscussionType';
|
|
14
15
|
import { EntityFromJSON, EntityToJSON, } from './Entity';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the DiscussionInput interface.
|
|
@@ -20,6 +21,7 @@ export function instanceOfDiscussionInput(value) {
|
|
|
20
21
|
isInstance = isInstance && "name" in value;
|
|
21
22
|
isInstance = isInstance && "description" in value;
|
|
22
23
|
isInstance = isInstance && "entity" in value;
|
|
24
|
+
isInstance = isInstance && "type" in value;
|
|
23
25
|
isInstance = isInstance && "projectId" in value;
|
|
24
26
|
return isInstance;
|
|
25
27
|
}
|
|
@@ -34,6 +36,7 @@ export function DiscussionInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
36
|
'name': json['name'],
|
|
35
37
|
'description': json['description'],
|
|
36
38
|
'entity': EntityFromJSON(json['entity']),
|
|
39
|
+
'type': DiscussionTypeFromJSON(json['type']),
|
|
37
40
|
'projectId': json['projectId'],
|
|
38
41
|
};
|
|
39
42
|
}
|
|
@@ -48,6 +51,7 @@ export function DiscussionInputToJSON(value) {
|
|
|
48
51
|
'name': value.name,
|
|
49
52
|
'description': value.description,
|
|
50
53
|
'entity': EntityToJSON(value.entity),
|
|
54
|
+
'type': DiscussionTypeToJSON(value.type),
|
|
51
55
|
'projectId': value.projectId,
|
|
52
56
|
};
|
|
53
57
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum DiscussionType {
|
|
18
|
+
Discussion = "DISCUSSION",
|
|
19
|
+
Notes = "NOTES"
|
|
20
|
+
}
|
|
21
|
+
export declare function DiscussionTypeFromJSON(json: any): DiscussionType;
|
|
22
|
+
export declare function DiscussionTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DiscussionType;
|
|
23
|
+
export declare function DiscussionTypeToJSON(value?: DiscussionType | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export var DiscussionType;
|
|
20
|
+
(function (DiscussionType) {
|
|
21
|
+
DiscussionType["Discussion"] = "DISCUSSION";
|
|
22
|
+
DiscussionType["Notes"] = "NOTES";
|
|
23
|
+
})(DiscussionType || (DiscussionType = {}));
|
|
24
|
+
export function DiscussionTypeFromJSON(json) {
|
|
25
|
+
return DiscussionTypeFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function DiscussionTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
export function DiscussionTypeToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
@@ -27,6 +27,7 @@ export var EntityType;
|
|
|
27
27
|
EntityType["Notebook"] = "NOTEBOOK";
|
|
28
28
|
EntityType["Sample"] = "SAMPLE";
|
|
29
29
|
EntityType["Share"] = "SHARE";
|
|
30
|
+
EntityType["Tag"] = "TAG";
|
|
30
31
|
EntityType["Unknown"] = "UNKNOWN";
|
|
31
32
|
})(EntityType || (EntityType = {}));
|
|
32
33
|
export function EntityTypeFromJSON(json) {
|
|
@@ -40,6 +40,7 @@ export * from './DatasetDetail';
|
|
|
40
40
|
export * from './DatasetViz';
|
|
41
41
|
export * from './Discussion';
|
|
42
42
|
export * from './DiscussionInput';
|
|
43
|
+
export * from './DiscussionType';
|
|
43
44
|
export * from './Entity';
|
|
44
45
|
export * from './EntityType';
|
|
45
46
|
export * from './EnvironmentType';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -42,6 +42,7 @@ export * from './DatasetDetail';
|
|
|
42
42
|
export * from './DatasetViz';
|
|
43
43
|
export * from './Discussion';
|
|
44
44
|
export * from './DiscussionInput';
|
|
45
|
+
export * from './DiscussionType';
|
|
45
46
|
export * from './Entity';
|
|
46
47
|
export * from './EntityType';
|
|
47
48
|
export * from './EnvironmentType';
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { DiscussionType } from './DiscussionType';
|
|
12
13
|
import type { Entity } from './Entity';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -40,6 +41,12 @@ export interface Discussion {
|
|
|
40
41
|
* @memberof Discussion
|
|
41
42
|
*/
|
|
42
43
|
entity: Entity;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {DiscussionType}
|
|
47
|
+
* @memberof Discussion
|
|
48
|
+
*/
|
|
49
|
+
type: DiscussionType;
|
|
43
50
|
/**
|
|
44
51
|
*
|
|
45
52
|
* @type {string}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DiscussionToJSON = exports.DiscussionFromJSONTyped = exports.DiscussionFromJSON = exports.instanceOfDiscussion = void 0;
|
|
17
|
+
const DiscussionType_1 = require("./DiscussionType");
|
|
17
18
|
const Entity_1 = require("./Entity");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the Discussion interface.
|
|
@@ -24,6 +25,7 @@ function instanceOfDiscussion(value) {
|
|
|
24
25
|
isInstance = isInstance && "name" in value;
|
|
25
26
|
isInstance = isInstance && "description" in value;
|
|
26
27
|
isInstance = isInstance && "entity" in value;
|
|
28
|
+
isInstance = isInstance && "type" in value;
|
|
27
29
|
isInstance = isInstance && "projectId" in value;
|
|
28
30
|
isInstance = isInstance && "createdBy" in value;
|
|
29
31
|
isInstance = isInstance && "lastMessageTime" in value;
|
|
@@ -45,6 +47,7 @@ function DiscussionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
47
|
'name': json['name'],
|
|
46
48
|
'description': json['description'],
|
|
47
49
|
'entity': (0, Entity_1.EntityFromJSON)(json['entity']),
|
|
50
|
+
'type': (0, DiscussionType_1.DiscussionTypeFromJSON)(json['type']),
|
|
48
51
|
'projectId': json['projectId'],
|
|
49
52
|
'createdBy': json['createdBy'],
|
|
50
53
|
'lastMessageTime': (new Date(json['lastMessageTime'])),
|
|
@@ -65,6 +68,7 @@ function DiscussionToJSON(value) {
|
|
|
65
68
|
'name': value.name,
|
|
66
69
|
'description': value.description,
|
|
67
70
|
'entity': (0, Entity_1.EntityToJSON)(value.entity),
|
|
71
|
+
'type': (0, DiscussionType_1.DiscussionTypeToJSON)(value.type),
|
|
68
72
|
'projectId': value.projectId,
|
|
69
73
|
'createdBy': value.createdBy,
|
|
70
74
|
'lastMessageTime': (value.lastMessageTime.toISOString()),
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { DiscussionType } from './DiscussionType';
|
|
12
13
|
import type { Entity } from './Entity';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -34,6 +35,12 @@ export interface DiscussionInput {
|
|
|
34
35
|
* @memberof DiscussionInput
|
|
35
36
|
*/
|
|
36
37
|
entity: Entity;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {DiscussionType}
|
|
41
|
+
* @memberof DiscussionInput
|
|
42
|
+
*/
|
|
43
|
+
type: DiscussionType;
|
|
37
44
|
/**
|
|
38
45
|
*
|
|
39
46
|
* @type {string}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DiscussionInputToJSON = exports.DiscussionInputFromJSONTyped = exports.DiscussionInputFromJSON = exports.instanceOfDiscussionInput = void 0;
|
|
17
|
+
const DiscussionType_1 = require("./DiscussionType");
|
|
17
18
|
const Entity_1 = require("./Entity");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the DiscussionInput interface.
|
|
@@ -23,6 +24,7 @@ function instanceOfDiscussionInput(value) {
|
|
|
23
24
|
isInstance = isInstance && "name" in value;
|
|
24
25
|
isInstance = isInstance && "description" in value;
|
|
25
26
|
isInstance = isInstance && "entity" in value;
|
|
27
|
+
isInstance = isInstance && "type" in value;
|
|
26
28
|
isInstance = isInstance && "projectId" in value;
|
|
27
29
|
return isInstance;
|
|
28
30
|
}
|
|
@@ -39,6 +41,7 @@ function DiscussionInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
41
|
'name': json['name'],
|
|
40
42
|
'description': json['description'],
|
|
41
43
|
'entity': (0, Entity_1.EntityFromJSON)(json['entity']),
|
|
44
|
+
'type': (0, DiscussionType_1.DiscussionTypeFromJSON)(json['type']),
|
|
42
45
|
'projectId': json['projectId'],
|
|
43
46
|
};
|
|
44
47
|
}
|
|
@@ -54,6 +57,7 @@ function DiscussionInputToJSON(value) {
|
|
|
54
57
|
'name': value.name,
|
|
55
58
|
'description': value.description,
|
|
56
59
|
'entity': (0, Entity_1.EntityToJSON)(value.entity),
|
|
60
|
+
'type': (0, DiscussionType_1.DiscussionTypeToJSON)(value.type),
|
|
57
61
|
'projectId': value.projectId,
|
|
58
62
|
};
|
|
59
63
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum DiscussionType {
|
|
18
|
+
Discussion = "DISCUSSION",
|
|
19
|
+
Notes = "NOTES"
|
|
20
|
+
}
|
|
21
|
+
export declare function DiscussionTypeFromJSON(json: any): DiscussionType;
|
|
22
|
+
export declare function DiscussionTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DiscussionType;
|
|
23
|
+
export declare function DiscussionTypeToJSON(value?: DiscussionType | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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.DiscussionTypeToJSON = exports.DiscussionTypeFromJSONTyped = exports.DiscussionTypeFromJSON = exports.DiscussionType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var DiscussionType;
|
|
23
|
+
(function (DiscussionType) {
|
|
24
|
+
DiscussionType["Discussion"] = "DISCUSSION";
|
|
25
|
+
DiscussionType["Notes"] = "NOTES";
|
|
26
|
+
})(DiscussionType = exports.DiscussionType || (exports.DiscussionType = {}));
|
|
27
|
+
function DiscussionTypeFromJSON(json) {
|
|
28
|
+
return DiscussionTypeFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.DiscussionTypeFromJSON = DiscussionTypeFromJSON;
|
|
31
|
+
function DiscussionTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
exports.DiscussionTypeFromJSONTyped = DiscussionTypeFromJSONTyped;
|
|
35
|
+
function DiscussionTypeToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
exports.DiscussionTypeToJSON = DiscussionTypeToJSON;
|
|
@@ -30,6 +30,7 @@ var EntityType;
|
|
|
30
30
|
EntityType["Notebook"] = "NOTEBOOK";
|
|
31
31
|
EntityType["Sample"] = "SAMPLE";
|
|
32
32
|
EntityType["Share"] = "SHARE";
|
|
33
|
+
EntityType["Tag"] = "TAG";
|
|
33
34
|
EntityType["Unknown"] = "UNKNOWN";
|
|
34
35
|
})(EntityType = exports.EntityType || (exports.EntityType = {}));
|
|
35
36
|
function EntityTypeFromJSON(json) {
|
package/dist/models/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export * from './DatasetDetail';
|
|
|
40
40
|
export * from './DatasetViz';
|
|
41
41
|
export * from './Discussion';
|
|
42
42
|
export * from './DiscussionInput';
|
|
43
|
+
export * from './DiscussionType';
|
|
43
44
|
export * from './Entity';
|
|
44
45
|
export * from './EntityType';
|
|
45
46
|
export * from './EnvironmentType';
|
package/dist/models/index.js
CHANGED
|
@@ -58,6 +58,7 @@ __exportStar(require("./DatasetDetail"), exports);
|
|
|
58
58
|
__exportStar(require("./DatasetViz"), exports);
|
|
59
59
|
__exportStar(require("./Discussion"), exports);
|
|
60
60
|
__exportStar(require("./DiscussionInput"), exports);
|
|
61
|
+
__exportStar(require("./DiscussionType"), exports);
|
|
61
62
|
__exportStar(require("./Entity"), exports);
|
|
62
63
|
__exportStar(require("./EntityType"), exports);
|
|
63
64
|
__exportStar(require("./EnvironmentType"), exports);
|