@cirrobio/api-client 0.9.3 → 0.10.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/README.md +1 -1
- package/dist/apis/FeedApi.d.ts +148 -0
- package/dist/apis/FeedApi.js +414 -0
- package/dist/apis/MetadataApi.d.ts +14 -0
- package/dist/apis/MetadataApi.js +40 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/FeedApi.d.ts +148 -0
- package/dist/esm/apis/FeedApi.js +410 -0
- package/dist/esm/apis/MetadataApi.d.ts +14 -0
- package/dist/esm/apis/MetadataApi.js +40 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/Discussion.d.ts +80 -0
- package/dist/esm/models/Discussion.js +68 -0
- package/dist/esm/models/DiscussionInput.d.ts +50 -0
- package/dist/esm/models/DiscussionInput.js +53 -0
- package/dist/esm/models/Entity.d.ts +38 -0
- package/dist/esm/models/Entity.js +47 -0
- package/dist/esm/models/EntityType.d.ts +31 -0
- package/dist/esm/models/EntityType.js +40 -0
- package/dist/esm/models/Message.d.ts +81 -0
- package/dist/esm/models/Message.js +69 -0
- package/dist/esm/models/MessageInput.d.ts +37 -0
- package/dist/esm/models/MessageInput.js +46 -0
- package/dist/esm/models/MessageType.d.ts +23 -0
- package/dist/esm/models/MessageType.js +32 -0
- package/dist/esm/models/PaginatedResponseDiscussion.d.ts +38 -0
- package/dist/esm/models/PaginatedResponseDiscussion.js +47 -0
- package/dist/esm/models/PaginatedResponseMessage.d.ts +38 -0
- package/dist/esm/models/PaginatedResponseMessage.js +47 -0
- package/dist/esm/models/ProjectDetail.d.ts +1 -1
- package/dist/esm/models/ProjectDetail.js +2 -2
- package/dist/esm/models/ProjectRequirement.d.ts +12 -0
- package/dist/esm/models/ProjectRequirement.js +6 -0
- package/dist/esm/models/SortOrder.d.ts +23 -0
- package/dist/esm/models/SortOrder.js +32 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/esm/runtime.js +1 -1
- package/dist/models/Discussion.d.ts +80 -0
- package/dist/models/Discussion.js +75 -0
- package/dist/models/DiscussionInput.d.ts +50 -0
- package/dist/models/DiscussionInput.js +60 -0
- package/dist/models/Entity.d.ts +38 -0
- package/dist/models/Entity.js +54 -0
- package/dist/models/EntityType.d.ts +31 -0
- package/dist/models/EntityType.js +46 -0
- package/dist/models/Message.d.ts +81 -0
- package/dist/models/Message.js +76 -0
- package/dist/models/MessageInput.d.ts +37 -0
- package/dist/models/MessageInput.js +53 -0
- package/dist/models/MessageType.d.ts +23 -0
- package/dist/models/MessageType.js +38 -0
- package/dist/models/PaginatedResponseDiscussion.d.ts +38 -0
- package/dist/models/PaginatedResponseDiscussion.js +54 -0
- package/dist/models/PaginatedResponseMessage.d.ts +38 -0
- package/dist/models/PaginatedResponseMessage.js +54 -0
- package/dist/models/ProjectDetail.d.ts +1 -1
- package/dist/models/ProjectDetail.js +2 -2
- package/dist/models/ProjectRequirement.d.ts +12 -0
- package/dist/models/ProjectRequirement.js +6 -0
- package/dist/models/SortOrder.d.ts +23 -0
- package/dist/models/SortOrder.js +38 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
|
@@ -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 MessageType;
|
|
20
|
+
(function (MessageType) {
|
|
21
|
+
MessageType["System"] = "SYSTEM";
|
|
22
|
+
MessageType["User"] = "USER";
|
|
23
|
+
})(MessageType || (MessageType = {}));
|
|
24
|
+
export function MessageTypeFromJSON(json) {
|
|
25
|
+
return MessageTypeFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function MessageTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
export function MessageTypeToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
import type { Discussion } from './Discussion';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedResponseDiscussion
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedResponseDiscussion {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Discussion>}
|
|
22
|
+
* @memberof PaginatedResponseDiscussion
|
|
23
|
+
*/
|
|
24
|
+
data: Array<Discussion>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaginatedResponseDiscussion
|
|
29
|
+
*/
|
|
30
|
+
nextToken: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PaginatedResponseDiscussion interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfPaginatedResponseDiscussion(value: object): boolean;
|
|
36
|
+
export declare function PaginatedResponseDiscussionFromJSON(json: any): PaginatedResponseDiscussion;
|
|
37
|
+
export declare function PaginatedResponseDiscussionFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedResponseDiscussion;
|
|
38
|
+
export declare function PaginatedResponseDiscussionToJSON(value?: PaginatedResponseDiscussion | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
import { DiscussionFromJSON, DiscussionToJSON, } from './Discussion';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PaginatedResponseDiscussion interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPaginatedResponseDiscussion(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "data" in value;
|
|
21
|
+
isInstance = isInstance && "nextToken" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function PaginatedResponseDiscussionFromJSON(json) {
|
|
25
|
+
return PaginatedResponseDiscussionFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PaginatedResponseDiscussionFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'data': (json['data'].map(DiscussionFromJSON)),
|
|
33
|
+
'nextToken': json['nextToken'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function PaginatedResponseDiscussionToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (value.data.map(DiscussionToJSON)),
|
|
45
|
+
'nextToken': value.nextToken,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
import type { Message } from './Message';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedResponseMessage
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedResponseMessage {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Message>}
|
|
22
|
+
* @memberof PaginatedResponseMessage
|
|
23
|
+
*/
|
|
24
|
+
data: Array<Message>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaginatedResponseMessage
|
|
29
|
+
*/
|
|
30
|
+
nextToken: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the PaginatedResponseMessage interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfPaginatedResponseMessage(value: object): boolean;
|
|
36
|
+
export declare function PaginatedResponseMessageFromJSON(json: any): PaginatedResponseMessage;
|
|
37
|
+
export declare function PaginatedResponseMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedResponseMessage;
|
|
38
|
+
export declare function PaginatedResponseMessageToJSON(value?: PaginatedResponseMessage | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
import { MessageFromJSON, MessageToJSON, } from './Message';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PaginatedResponseMessage interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPaginatedResponseMessage(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "data" in value;
|
|
21
|
+
isInstance = isInstance && "nextToken" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function PaginatedResponseMessageFromJSON(json) {
|
|
25
|
+
return PaginatedResponseMessageFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PaginatedResponseMessageFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'data': (json['data'].map(MessageFromJSON)),
|
|
33
|
+
'nextToken': json['nextToken'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function PaginatedResponseMessageToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (value.data.map(MessageToJSON)),
|
|
45
|
+
'nextToken': value.nextToken,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
14
|
import { CloudAccountFromJSON, CloudAccountToJSON, } from './CloudAccount';
|
|
16
15
|
import { ContactFromJSON, ContactToJSON, } from './Contact';
|
|
17
16
|
import { ProjectSettingsFromJSON, ProjectSettingsToJSON, } from './ProjectSettings';
|
|
@@ -30,6 +29,7 @@ export function instanceOfProjectDetail(value) {
|
|
|
30
29
|
isInstance = isInstance && "organization" in value;
|
|
31
30
|
isInstance = isInstance && "status" in value;
|
|
32
31
|
isInstance = isInstance && "settings" in value;
|
|
32
|
+
isInstance = isInstance && "account" in value;
|
|
33
33
|
isInstance = isInstance && "statusMessage" in value;
|
|
34
34
|
isInstance = isInstance && "tags" in value;
|
|
35
35
|
isInstance = isInstance && "classificationIds" in value;
|
|
@@ -54,7 +54,7 @@ export function ProjectDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
'organization': json['organization'],
|
|
55
55
|
'status': StatusFromJSON(json['status']),
|
|
56
56
|
'settings': ProjectSettingsFromJSON(json['settings']),
|
|
57
|
-
'account':
|
|
57
|
+
'account': CloudAccountFromJSON(json['account']),
|
|
58
58
|
'statusMessage': json['statusMessage'],
|
|
59
59
|
'tags': (json['tags'].map(TagFromJSON)),
|
|
60
60
|
'classificationIds': json['classificationIds'],
|
|
@@ -99,6 +99,12 @@ export interface ProjectRequirement {
|
|
|
99
99
|
* @memberof ProjectRequirement
|
|
100
100
|
*/
|
|
101
101
|
expirationDate?: Date | null;
|
|
102
|
+
/**
|
|
103
|
+
* Whether the requirement is past the enactment date
|
|
104
|
+
* @type {boolean}
|
|
105
|
+
* @memberof ProjectRequirement
|
|
106
|
+
*/
|
|
107
|
+
isEnacted: boolean;
|
|
102
108
|
/**
|
|
103
109
|
* Optional files with extra information, e.g. templates for documents, links, etc
|
|
104
110
|
* @type {Array<GovernanceFile>}
|
|
@@ -117,6 +123,12 @@ export interface ProjectRequirement {
|
|
|
117
123
|
* @memberof ProjectRequirement
|
|
118
124
|
*/
|
|
119
125
|
authorship?: GovernanceScope | null;
|
|
126
|
+
/**
|
|
127
|
+
* A requirement is project configured if it was created by the tenant but needs a file uploaded by the project
|
|
128
|
+
* @type {boolean}
|
|
129
|
+
* @memberof ProjectRequirement
|
|
130
|
+
*/
|
|
131
|
+
isProjectConfigured: boolean;
|
|
120
132
|
/**
|
|
121
133
|
*
|
|
122
134
|
* @type {GovernanceTrainingVerification}
|
|
@@ -31,6 +31,8 @@ export function instanceOfProjectRequirement(value) {
|
|
|
31
31
|
isInstance = isInstance && "supplementalPath" in value;
|
|
32
32
|
isInstance = isInstance && "scope" in value;
|
|
33
33
|
isInstance = isInstance && "contacts" in value;
|
|
34
|
+
isInstance = isInstance && "isEnacted" in value;
|
|
35
|
+
isInstance = isInstance && "isProjectConfigured" in value;
|
|
34
36
|
isInstance = isInstance && "isFulfilled" in value;
|
|
35
37
|
return isInstance;
|
|
36
38
|
}
|
|
@@ -55,9 +57,11 @@ export function ProjectRequirementFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
57
|
'expirationType': !exists(json, 'expirationType') ? undefined : GovernanceExpiryTypeFromJSON(json['expirationType']),
|
|
56
58
|
'expirationDaysAfterCompletion': !exists(json, 'expirationDaysAfterCompletion') ? undefined : json['expirationDaysAfterCompletion'],
|
|
57
59
|
'expirationDate': !exists(json, 'expirationDate') ? undefined : (json['expirationDate'] === null ? null : new Date(json['expirationDate'])),
|
|
60
|
+
'isEnacted': json['isEnacted'],
|
|
58
61
|
'supplementalDocs': !exists(json, 'supplementalDocs') ? undefined : (json['supplementalDocs'] === null ? null : json['supplementalDocs'].map(GovernanceFileFromJSON)),
|
|
59
62
|
'file': !exists(json, 'file') ? undefined : GovernanceFileFromJSON(json['file']),
|
|
60
63
|
'authorship': !exists(json, 'authorship') ? undefined : GovernanceScopeFromJSON(json['authorship']),
|
|
64
|
+
'isProjectConfigured': json['isProjectConfigured'],
|
|
61
65
|
'verificationMethod': !exists(json, 'verificationMethod') ? undefined : GovernanceTrainingVerificationFromJSON(json['verificationMethod']),
|
|
62
66
|
'isFulfilled': json['isFulfilled'],
|
|
63
67
|
'fulfillmentId': !exists(json, 'fulfillmentId') ? undefined : json['fulfillmentId'],
|
|
@@ -87,9 +91,11 @@ export function ProjectRequirementToJSON(value) {
|
|
|
87
91
|
'expirationType': GovernanceExpiryTypeToJSON(value.expirationType),
|
|
88
92
|
'expirationDaysAfterCompletion': value.expirationDaysAfterCompletion,
|
|
89
93
|
'expirationDate': value.expirationDate === undefined ? undefined : (value.expirationDate === null ? null : value.expirationDate.toISOString()),
|
|
94
|
+
'isEnacted': value.isEnacted,
|
|
90
95
|
'supplementalDocs': value.supplementalDocs === undefined ? undefined : (value.supplementalDocs === null ? null : value.supplementalDocs.map(GovernanceFileToJSON)),
|
|
91
96
|
'file': GovernanceFileToJSON(value.file),
|
|
92
97
|
'authorship': GovernanceScopeToJSON(value.authorship),
|
|
98
|
+
'isProjectConfigured': value.isProjectConfigured,
|
|
93
99
|
'verificationMethod': GovernanceTrainingVerificationToJSON(value.verificationMethod),
|
|
94
100
|
'isFulfilled': value.isFulfilled,
|
|
95
101
|
'fulfillmentId': value.fulfillmentId,
|
|
@@ -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 SortOrder {
|
|
18
|
+
Ascending = "ASCENDING",
|
|
19
|
+
Descending = "DESCENDING"
|
|
20
|
+
}
|
|
21
|
+
export declare function SortOrderFromJSON(json: any): SortOrder;
|
|
22
|
+
export declare function SortOrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): SortOrder;
|
|
23
|
+
export declare function SortOrderToJSON(value?: SortOrder | 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 SortOrder;
|
|
20
|
+
(function (SortOrder) {
|
|
21
|
+
SortOrder["Ascending"] = "ASCENDING";
|
|
22
|
+
SortOrder["Descending"] = "DESCENDING";
|
|
23
|
+
})(SortOrder || (SortOrder = {}));
|
|
24
|
+
export function SortOrderFromJSON(json) {
|
|
25
|
+
return SortOrderFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function SortOrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
export function SortOrderToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
@@ -38,6 +38,10 @@ export * from './DatasetCondition';
|
|
|
38
38
|
export * from './DatasetConditionField';
|
|
39
39
|
export * from './DatasetDetail';
|
|
40
40
|
export * from './DatasetViz';
|
|
41
|
+
export * from './Discussion';
|
|
42
|
+
export * from './DiscussionInput';
|
|
43
|
+
export * from './Entity';
|
|
44
|
+
export * from './EntityType';
|
|
41
45
|
export * from './EnvironmentType';
|
|
42
46
|
export * from './ErrorMessage';
|
|
43
47
|
export * from './Executor';
|
|
@@ -68,6 +72,9 @@ export * from './InviteUserRequest';
|
|
|
68
72
|
export * from './InviteUserResponse';
|
|
69
73
|
export * from './LogEntry';
|
|
70
74
|
export * from './LoginProvider';
|
|
75
|
+
export * from './Message';
|
|
76
|
+
export * from './MessageInput';
|
|
77
|
+
export * from './MessageType';
|
|
71
78
|
export * from './MetricRecord';
|
|
72
79
|
export * from './MoveDatasetInput';
|
|
73
80
|
export * from './MoveDatasetResponse';
|
|
@@ -76,6 +83,8 @@ export * from './NotebookInstance';
|
|
|
76
83
|
export * from './NotebookInstanceStatusResponse';
|
|
77
84
|
export * from './OpenNotebookInstanceResponse';
|
|
78
85
|
export * from './PaginatedResponseDatasetListDto';
|
|
86
|
+
export * from './PaginatedResponseDiscussion';
|
|
87
|
+
export * from './PaginatedResponseMessage';
|
|
79
88
|
export * from './PaginatedResponseSampleDto';
|
|
80
89
|
export * from './PaginatedResponseUserDto';
|
|
81
90
|
export * from './PipelineCode';
|
|
@@ -113,6 +122,7 @@ export * from './Share';
|
|
|
113
122
|
export * from './ShareDetail';
|
|
114
123
|
export * from './ShareInput';
|
|
115
124
|
export * from './ShareType';
|
|
125
|
+
export * from './SortOrder';
|
|
116
126
|
export * from './Status';
|
|
117
127
|
export * from './StopExecutionResponse';
|
|
118
128
|
export * from './SyncStatus';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -40,6 +40,10 @@ export * from './DatasetCondition';
|
|
|
40
40
|
export * from './DatasetConditionField';
|
|
41
41
|
export * from './DatasetDetail';
|
|
42
42
|
export * from './DatasetViz';
|
|
43
|
+
export * from './Discussion';
|
|
44
|
+
export * from './DiscussionInput';
|
|
45
|
+
export * from './Entity';
|
|
46
|
+
export * from './EntityType';
|
|
43
47
|
export * from './EnvironmentType';
|
|
44
48
|
export * from './ErrorMessage';
|
|
45
49
|
export * from './Executor';
|
|
@@ -70,6 +74,9 @@ export * from './InviteUserRequest';
|
|
|
70
74
|
export * from './InviteUserResponse';
|
|
71
75
|
export * from './LogEntry';
|
|
72
76
|
export * from './LoginProvider';
|
|
77
|
+
export * from './Message';
|
|
78
|
+
export * from './MessageInput';
|
|
79
|
+
export * from './MessageType';
|
|
73
80
|
export * from './MetricRecord';
|
|
74
81
|
export * from './MoveDatasetInput';
|
|
75
82
|
export * from './MoveDatasetResponse';
|
|
@@ -78,6 +85,8 @@ export * from './NotebookInstance';
|
|
|
78
85
|
export * from './NotebookInstanceStatusResponse';
|
|
79
86
|
export * from './OpenNotebookInstanceResponse';
|
|
80
87
|
export * from './PaginatedResponseDatasetListDto';
|
|
88
|
+
export * from './PaginatedResponseDiscussion';
|
|
89
|
+
export * from './PaginatedResponseMessage';
|
|
81
90
|
export * from './PaginatedResponseSampleDto';
|
|
82
91
|
export * from './PaginatedResponseUserDto';
|
|
83
92
|
export * from './PipelineCode';
|
|
@@ -115,6 +124,7 @@ export * from './Share';
|
|
|
115
124
|
export * from './ShareDetail';
|
|
116
125
|
export * from './ShareInput';
|
|
117
126
|
export * from './ShareType';
|
|
127
|
+
export * from './SortOrder';
|
|
118
128
|
export * from './Status';
|
|
119
129
|
export * from './StopExecutionResponse';
|
|
120
130
|
export * from './SyncStatus';
|
package/dist/esm/runtime.js
CHANGED
|
@@ -20,7 +20,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
|
-
export const BASE_PATH = "
|
|
23
|
+
export const BASE_PATH = "http://localhost:8080/api".replace(/\/+$/, "");
|
|
24
24
|
export class Configuration {
|
|
25
25
|
constructor(configuration = {}) {
|
|
26
26
|
this.configuration = configuration;
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
import type { Entity } from './Entity';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Discussion
|
|
17
|
+
*/
|
|
18
|
+
export interface Discussion {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Discussion
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Discussion
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Discussion
|
|
35
|
+
*/
|
|
36
|
+
description: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Entity}
|
|
40
|
+
* @memberof Discussion
|
|
41
|
+
*/
|
|
42
|
+
entity: Entity;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Discussion
|
|
47
|
+
*/
|
|
48
|
+
projectId: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof Discussion
|
|
53
|
+
*/
|
|
54
|
+
createdBy: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof Discussion
|
|
59
|
+
*/
|
|
60
|
+
lastMessageTime: Date;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Date}
|
|
64
|
+
* @memberof Discussion
|
|
65
|
+
*/
|
|
66
|
+
createdAt: Date;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Date}
|
|
70
|
+
* @memberof Discussion
|
|
71
|
+
*/
|
|
72
|
+
updatedAt: Date;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the Discussion interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfDiscussion(value: object): boolean;
|
|
78
|
+
export declare function DiscussionFromJSON(json: any): Discussion;
|
|
79
|
+
export declare function DiscussionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Discussion;
|
|
80
|
+
export declare function DiscussionToJSON(value?: Discussion | null): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
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.DiscussionToJSON = exports.DiscussionFromJSONTyped = exports.DiscussionFromJSON = exports.instanceOfDiscussion = void 0;
|
|
17
|
+
const Entity_1 = require("./Entity");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the Discussion interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfDiscussion(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "id" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
isInstance = isInstance && "description" in value;
|
|
26
|
+
isInstance = isInstance && "entity" in value;
|
|
27
|
+
isInstance = isInstance && "projectId" in value;
|
|
28
|
+
isInstance = isInstance && "createdBy" in value;
|
|
29
|
+
isInstance = isInstance && "lastMessageTime" in value;
|
|
30
|
+
isInstance = isInstance && "createdAt" in value;
|
|
31
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
32
|
+
return isInstance;
|
|
33
|
+
}
|
|
34
|
+
exports.instanceOfDiscussion = instanceOfDiscussion;
|
|
35
|
+
function DiscussionFromJSON(json) {
|
|
36
|
+
return DiscussionFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
exports.DiscussionFromJSON = DiscussionFromJSON;
|
|
39
|
+
function DiscussionFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if ((json === undefined) || (json === null)) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'name': json['name'],
|
|
46
|
+
'description': json['description'],
|
|
47
|
+
'entity': (0, Entity_1.EntityFromJSON)(json['entity']),
|
|
48
|
+
'projectId': json['projectId'],
|
|
49
|
+
'createdBy': json['createdBy'],
|
|
50
|
+
'lastMessageTime': (new Date(json['lastMessageTime'])),
|
|
51
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
52
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.DiscussionFromJSONTyped = DiscussionFromJSONTyped;
|
|
56
|
+
function DiscussionToJSON(value) {
|
|
57
|
+
if (value === undefined) {
|
|
58
|
+
return undefined;
|
|
59
|
+
}
|
|
60
|
+
if (value === null) {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': value.id,
|
|
65
|
+
'name': value.name,
|
|
66
|
+
'description': value.description,
|
|
67
|
+
'entity': (0, Entity_1.EntityToJSON)(value.entity),
|
|
68
|
+
'projectId': value.projectId,
|
|
69
|
+
'createdBy': value.createdBy,
|
|
70
|
+
'lastMessageTime': (value.lastMessageTime.toISOString()),
|
|
71
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
72
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
exports.DiscussionToJSON = DiscussionToJSON;
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
import type { Entity } from './Entity';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DiscussionInput
|
|
17
|
+
*/
|
|
18
|
+
export interface DiscussionInput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof DiscussionInput
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof DiscussionInput
|
|
29
|
+
*/
|
|
30
|
+
description: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Entity}
|
|
34
|
+
* @memberof DiscussionInput
|
|
35
|
+
*/
|
|
36
|
+
entity: Entity;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof DiscussionInput
|
|
41
|
+
*/
|
|
42
|
+
projectId: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the DiscussionInput interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfDiscussionInput(value: object): boolean;
|
|
48
|
+
export declare function DiscussionInputFromJSON(json: any): DiscussionInput;
|
|
49
|
+
export declare function DiscussionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DiscussionInput;
|
|
50
|
+
export declare function DiscussionInputToJSON(value?: DiscussionInput | null): any;
|