@cirrobio/api-client 0.0.9-alpha → 0.0.11-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 +6 -2
- package/README.md +1 -1
- package/dist/apis/BillingApi.d.ts +15 -2
- package/dist/apis/BillingApi.js +57 -3
- package/dist/apis/DashboardsApi.d.ts +88 -0
- package/dist/apis/DashboardsApi.js +374 -0
- package/dist/apis/DatasetsApi.d.ts +19 -5
- package/dist/apis/DatasetsApi.js +64 -4
- package/dist/apis/MetadataApi.d.ts +12 -0
- package/dist/apis/MetadataApi.js +59 -1
- package/dist/apis/ProjectsApi.d.ts +13 -1
- package/dist/apis/ProjectsApi.js +54 -4
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/BillingAccount.d.ts +6 -0
- package/dist/models/BillingAccount.js +3 -0
- package/dist/models/BudgetPeriod.d.ts +1 -1
- package/dist/models/BudgetPeriod.js +1 -1
- package/dist/models/CloudAccount.d.ts +3 -10
- package/dist/models/CloudAccount.js +0 -3
- package/dist/models/Contact.d.ts +4 -4
- package/dist/models/Contact.js +8 -5
- package/dist/models/CreateDashboardRequest.d.ts +31 -0
- package/dist/models/CreateDashboardRequest.js +50 -0
- package/dist/models/CustomPipelineSettings.d.ts +6 -6
- package/dist/models/CustomPipelineSettings.js +13 -8
- package/dist/models/CustomerType.d.ts +2 -4
- package/dist/models/CustomerType.js +2 -4
- package/dist/models/Dashboard.d.ts +69 -0
- package/dist/models/Dashboard.js +68 -0
- package/dist/models/Dataset.d.ts +8 -7
- package/dist/models/Dataset.js +10 -9
- package/dist/models/DatasetDetail.d.ts +11 -10
- package/dist/models/DatasetDetail.js +13 -12
- package/dist/models/PaginatedResponseDatasetListDto.d.ts +38 -0
- package/dist/models/PaginatedResponseDatasetListDto.js +54 -0
- package/dist/models/Project.d.ts +9 -2
- package/dist/models/Project.js +6 -2
- package/dist/models/ProjectDetail.d.ts +7 -6
- package/dist/models/ProjectDetail.js +7 -6
- package/dist/models/ProjectSettings.d.ts +26 -26
- package/dist/models/ProjectSettings.js +14 -26
- package/dist/models/RegisterDatasetRequest.d.ts +20 -2
- package/dist/models/RegisterDatasetRequest.js +11 -2
- package/dist/models/RegisterPublicDataRequest.d.ts +43 -0
- package/dist/models/RegisterPublicDataRequest.js +56 -0
- package/dist/models/Sample.d.ts +12 -0
- package/dist/models/Sample.js +6 -0
- package/dist/models/SetUserProjectRoleRequest.d.ts +15 -2
- package/dist/models/SetUserProjectRoleRequest.js +9 -2
- package/dist/models/Status.d.ts +29 -0
- package/dist/models/Status.js +44 -0
- package/dist/models/index.d.ts +5 -2
- package/dist/models/index.js +5 -2
- package/package.json +1 -1
- package/src/apis/BillingApi.ts +46 -3
- package/src/apis/DashboardsApi.ts +287 -0
- package/src/apis/DatasetsApi.ts +64 -9
- package/src/apis/MetadataApi.ts +51 -1
- package/src/apis/ProjectsApi.ts +44 -6
- package/src/apis/index.ts +1 -0
- package/src/models/BillingAccount.ts +9 -0
- package/src/models/BudgetPeriod.ts +1 -1
- package/src/models/CloudAccount.ts +3 -18
- package/src/models/Contact.ts +12 -8
- package/src/models/CreateDashboardRequest.ts +65 -0
- package/src/models/CustomPipelineSettings.ts +19 -13
- package/src/models/CustomerType.ts +2 -4
- package/src/models/Dashboard.ts +120 -0
- package/src/models/Dataset.ts +22 -16
- package/src/models/DatasetDetail.ts +28 -22
- package/src/models/PaginatedResponseDatasetListDto.ts +82 -0
- package/src/models/Project.ts +19 -4
- package/src/models/ProjectDetail.ts +18 -12
- package/src/models/ProjectSettings.ts +39 -52
- package/src/models/RegisterDatasetRequest.ts +31 -4
- package/src/models/RegisterPublicDataRequest.ts +83 -0
- package/src/models/Sample.ts +18 -0
- package/src/models/SetUserProjectRoleRequest.ts +29 -4
- package/src/models/Status.ts +43 -0
- package/src/models/index.ts +5 -2
package/src/models/Sample.ts
CHANGED
|
@@ -31,6 +31,18 @@ export interface Sample {
|
|
|
31
31
|
* @memberof Sample
|
|
32
32
|
*/
|
|
33
33
|
metadata: { [key: string]: any; };
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Date}
|
|
37
|
+
* @memberof Sample
|
|
38
|
+
*/
|
|
39
|
+
createdAt: Date;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof Sample
|
|
44
|
+
*/
|
|
45
|
+
updatedAt: Date;
|
|
34
46
|
}
|
|
35
47
|
|
|
36
48
|
/**
|
|
@@ -40,6 +52,8 @@ export function instanceOfSample(value: object): boolean {
|
|
|
40
52
|
let isInstance = true;
|
|
41
53
|
isInstance = isInstance && "name" in value;
|
|
42
54
|
isInstance = isInstance && "metadata" in value;
|
|
55
|
+
isInstance = isInstance && "createdAt" in value;
|
|
56
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
43
57
|
|
|
44
58
|
return isInstance;
|
|
45
59
|
}
|
|
@@ -56,6 +70,8 @@ export function SampleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Sa
|
|
|
56
70
|
|
|
57
71
|
'name': json['name'],
|
|
58
72
|
'metadata': json['metadata'],
|
|
73
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
74
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
59
75
|
};
|
|
60
76
|
}
|
|
61
77
|
|
|
@@ -70,6 +86,8 @@ export function SampleToJSON(value?: Sample | null): any {
|
|
|
70
86
|
|
|
71
87
|
'name': value.name,
|
|
72
88
|
'metadata': value.metadata,
|
|
89
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
90
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
73
91
|
};
|
|
74
92
|
}
|
|
75
93
|
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { ProjectRole } from './ProjectRole';
|
|
17
|
+
import {
|
|
18
|
+
ProjectRoleFromJSON,
|
|
19
|
+
ProjectRoleFromJSONTyped,
|
|
20
|
+
ProjectRoleToJSON,
|
|
21
|
+
} from './ProjectRole';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
*
|
|
18
25
|
* @export
|
|
@@ -21,10 +28,22 @@ import { exists, mapValues } from '../runtime';
|
|
|
21
28
|
export interface SetUserProjectRoleRequest {
|
|
22
29
|
/**
|
|
23
30
|
*
|
|
24
|
-
* @type {
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SetUserProjectRoleRequest
|
|
33
|
+
*/
|
|
34
|
+
username: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {ProjectRole}
|
|
38
|
+
* @memberof SetUserProjectRoleRequest
|
|
39
|
+
*/
|
|
40
|
+
role: ProjectRole;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {boolean}
|
|
25
44
|
* @memberof SetUserProjectRoleRequest
|
|
26
45
|
*/
|
|
27
|
-
|
|
46
|
+
supressNotification?: boolean;
|
|
28
47
|
}
|
|
29
48
|
|
|
30
49
|
/**
|
|
@@ -32,6 +51,8 @@ export interface SetUserProjectRoleRequest {
|
|
|
32
51
|
*/
|
|
33
52
|
export function instanceOfSetUserProjectRoleRequest(value: object): boolean {
|
|
34
53
|
let isInstance = true;
|
|
54
|
+
isInstance = isInstance && "username" in value;
|
|
55
|
+
isInstance = isInstance && "role" in value;
|
|
35
56
|
|
|
36
57
|
return isInstance;
|
|
37
58
|
}
|
|
@@ -46,7 +67,9 @@ export function SetUserProjectRoleRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
46
67
|
}
|
|
47
68
|
return {
|
|
48
69
|
|
|
49
|
-
'
|
|
70
|
+
'username': json['username'],
|
|
71
|
+
'role': ProjectRoleFromJSON(json['role']),
|
|
72
|
+
'supressNotification': !exists(json, 'supressNotification') ? undefined : json['supressNotification'],
|
|
50
73
|
};
|
|
51
74
|
}
|
|
52
75
|
|
|
@@ -59,7 +82,9 @@ export function SetUserProjectRoleRequestToJSON(value?: SetUserProjectRoleReques
|
|
|
59
82
|
}
|
|
60
83
|
return {
|
|
61
84
|
|
|
62
|
-
'
|
|
85
|
+
'username': value.username,
|
|
86
|
+
'role': ProjectRoleToJSON(value.role),
|
|
87
|
+
'supressNotification': value.supressNotification,
|
|
63
88
|
};
|
|
64
89
|
}
|
|
65
90
|
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @enum {string}
|
|
19
|
+
*/
|
|
20
|
+
export enum Status {
|
|
21
|
+
Completed = 'COMPLETED',
|
|
22
|
+
Pending = 'PENDING',
|
|
23
|
+
Running = 'RUNNING',
|
|
24
|
+
Archived = 'ARCHIVED',
|
|
25
|
+
Deleted = 'DELETED',
|
|
26
|
+
Deleting = 'DELETING',
|
|
27
|
+
Delete = 'DELETE',
|
|
28
|
+
Failed = 'FAILED'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
export function StatusFromJSON(json: any): Status {
|
|
33
|
+
return StatusFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function StatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): Status {
|
|
37
|
+
return json as Status;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function StatusToJSON(value?: Status | null): any {
|
|
41
|
+
return value as any;
|
|
42
|
+
}
|
|
43
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -5,13 +5,14 @@ export * from './BillingMethod';
|
|
|
5
5
|
export * from './BudgetPeriod';
|
|
6
6
|
export * from './CloudAccount';
|
|
7
7
|
export * from './Contact';
|
|
8
|
+
export * from './CreateDashboardRequest';
|
|
8
9
|
export * from './CreateNotebookInstanceRequest';
|
|
9
10
|
export * from './CreateResponse';
|
|
10
11
|
export * from './CustomPipelineSettings';
|
|
11
12
|
export * from './CustomerType';
|
|
13
|
+
export * from './Dashboard';
|
|
12
14
|
export * from './Dataset';
|
|
13
15
|
export * from './DatasetDetail';
|
|
14
|
-
export * from './DatasetType';
|
|
15
16
|
export * from './Executor';
|
|
16
17
|
export * from './FormSchema';
|
|
17
18
|
export * from './GetExecutionLogsResponse';
|
|
@@ -19,6 +20,7 @@ export * from './LogEntry';
|
|
|
19
20
|
export * from './MetricRecord';
|
|
20
21
|
export * from './NotebookInstance';
|
|
21
22
|
export * from './OpenNotebookInstanceResponse';
|
|
23
|
+
export * from './PaginatedResponseDatasetListDto';
|
|
22
24
|
export * from './Process';
|
|
23
25
|
export * from './ProcessDetail';
|
|
24
26
|
export * from './Project';
|
|
@@ -30,11 +32,12 @@ export * from './ProjectSettings';
|
|
|
30
32
|
export * from './ProjectUser';
|
|
31
33
|
export * from './Reference';
|
|
32
34
|
export * from './ReferenceType';
|
|
33
|
-
export * from './Region';
|
|
34
35
|
export * from './RegisterDatasetRequest';
|
|
36
|
+
export * from './RegisterPublicDataRequest';
|
|
35
37
|
export * from './Sample';
|
|
36
38
|
export * from './ServiceConnection';
|
|
37
39
|
export * from './SetUserProjectRoleRequest';
|
|
40
|
+
export * from './Status';
|
|
38
41
|
export * from './StopExecutionResponse';
|
|
39
42
|
export * from './SystemInfoResponse';
|
|
40
43
|
export * from './Tag';
|