@cirrobio/api-client 0.12.23 → 0.12.24
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/SheetsApi.d.ts +102 -0
- package/dist/apis/SheetsApi.js +276 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/SheetsApi.d.ts +102 -0
- package/dist/esm/apis/SheetsApi.js +272 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/ColumnDataType.d.ts +30 -0
- package/dist/esm/models/ColumnDataType.js +39 -0
- package/dist/esm/models/ColumnDef.d.ts +51 -0
- package/dist/esm/models/ColumnDef.js +54 -0
- package/dist/esm/models/CreateSheetRequest.d.ts +70 -0
- package/dist/esm/models/CreateSheetRequest.js +63 -0
- package/dist/esm/models/CreateSheetRequestFileDef.d.ts +38 -0
- package/dist/esm/models/CreateSheetRequestFileDef.js +47 -0
- package/dist/esm/models/FeatureFlags.d.ts +6 -0
- package/dist/esm/models/FeatureFlags.js +3 -0
- package/dist/esm/models/FileDef.d.ts +38 -0
- package/dist/esm/models/FileDef.js +47 -0
- package/dist/esm/models/FileType.d.ts +24 -0
- package/dist/esm/models/FileType.js +33 -0
- package/dist/esm/models/ForeignKeyRef.d.ts +37 -0
- package/dist/esm/models/ForeignKeyRef.js +46 -0
- package/dist/esm/models/Permission.d.ts +4 -0
- package/dist/esm/models/Permission.js +4 -0
- package/dist/esm/models/Sheet.d.ts +88 -0
- package/dist/esm/models/Sheet.js +73 -0
- package/dist/esm/models/SheetDetail.d.ts +107 -0
- package/dist/esm/models/SheetDetail.js +83 -0
- package/dist/esm/models/SheetJob.d.ts +93 -0
- package/dist/esm/models/SheetJob.js +71 -0
- package/dist/esm/models/SheetJobType.d.ts +25 -0
- package/dist/esm/models/SheetJobType.js +34 -0
- package/dist/esm/models/SheetTableType.d.ts +25 -0
- package/dist/esm/models/SheetTableType.js +34 -0
- package/dist/esm/models/SheetType.d.ts +23 -0
- package/dist/esm/models/SheetType.js +32 -0
- package/dist/esm/models/TriggerIngestRequest.d.ts +32 -0
- package/dist/esm/models/TriggerIngestRequest.js +44 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/models/ColumnDataType.d.ts +30 -0
- package/dist/models/ColumnDataType.js +45 -0
- package/dist/models/ColumnDef.d.ts +51 -0
- package/dist/models/ColumnDef.js +61 -0
- package/dist/models/CreateSheetRequest.d.ts +70 -0
- package/dist/models/CreateSheetRequest.js +70 -0
- package/dist/models/CreateSheetRequestFileDef.d.ts +38 -0
- package/dist/models/CreateSheetRequestFileDef.js +54 -0
- package/dist/models/FeatureFlags.d.ts +6 -0
- package/dist/models/FeatureFlags.js +3 -0
- package/dist/models/FileDef.d.ts +38 -0
- package/dist/models/FileDef.js +54 -0
- package/dist/models/FileType.d.ts +24 -0
- package/dist/models/FileType.js +39 -0
- package/dist/models/ForeignKeyRef.d.ts +37 -0
- package/dist/models/ForeignKeyRef.js +53 -0
- package/dist/models/Permission.d.ts +4 -0
- package/dist/models/Permission.js +4 -0
- package/dist/models/Sheet.d.ts +88 -0
- package/dist/models/Sheet.js +80 -0
- package/dist/models/SheetDetail.d.ts +107 -0
- package/dist/models/SheetDetail.js +90 -0
- package/dist/models/SheetJob.d.ts +93 -0
- package/dist/models/SheetJob.js +78 -0
- package/dist/models/SheetJobType.d.ts +25 -0
- package/dist/models/SheetJobType.js +40 -0
- package/dist/models/SheetTableType.d.ts +25 -0
- package/dist/models/SheetTableType.js +40 -0
- package/dist/models/SheetType.d.ts +23 -0
- package/dist/models/SheetType.js +38 -0
- package/dist/models/TriggerIngestRequest.d.ts +32 -0
- package/dist/models/TriggerIngestRequest.js +51 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/package.json +1 -1
|
@@ -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 { FileTypeFromJSON, FileTypeToJSON, } from './FileType';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the CreateSheetRequestFileDef interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfCreateSheetRequestFileDef(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "fileType" in value;
|
|
21
|
+
isInstance = isInstance && "storageUri" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function CreateSheetRequestFileDefFromJSON(json) {
|
|
25
|
+
return CreateSheetRequestFileDefFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function CreateSheetRequestFileDefFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'fileType': FileTypeFromJSON(json['fileType']),
|
|
33
|
+
'storageUri': json['storageUri'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function CreateSheetRequestFileDefToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'fileType': FileTypeToJSON(value.fileType),
|
|
45
|
+
'storageUri': value.storageUri,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -51,6 +51,12 @@ export interface FeatureFlags {
|
|
|
51
51
|
* @memberof FeatureFlags
|
|
52
52
|
*/
|
|
53
53
|
appRegistrationsEnabled: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof FeatureFlags
|
|
58
|
+
*/
|
|
59
|
+
sheetsEnabled: boolean;
|
|
54
60
|
}
|
|
55
61
|
/**
|
|
56
62
|
* Check if a given object implements the FeatureFlags interface.
|
|
@@ -22,6 +22,7 @@ export function instanceOfFeatureFlags(value) {
|
|
|
22
22
|
isInstance = isInstance && "workspacesEnabled" in value;
|
|
23
23
|
isInstance = isInstance && "driveEnabled" in value;
|
|
24
24
|
isInstance = isInstance && "appRegistrationsEnabled" in value;
|
|
25
|
+
isInstance = isInstance && "sheetsEnabled" in value;
|
|
25
26
|
return isInstance;
|
|
26
27
|
}
|
|
27
28
|
export function FeatureFlagsFromJSON(json) {
|
|
@@ -38,6 +39,7 @@ export function FeatureFlagsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
'workspacesEnabled': json['workspacesEnabled'],
|
|
39
40
|
'driveEnabled': json['driveEnabled'],
|
|
40
41
|
'appRegistrationsEnabled': json['appRegistrationsEnabled'],
|
|
42
|
+
'sheetsEnabled': json['sheetsEnabled'],
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
export function FeatureFlagsToJSON(value) {
|
|
@@ -54,5 +56,6 @@ export function FeatureFlagsToJSON(value) {
|
|
|
54
56
|
'workspacesEnabled': value.workspacesEnabled,
|
|
55
57
|
'driveEnabled': value.driveEnabled,
|
|
56
58
|
'appRegistrationsEnabled': value.appRegistrationsEnabled,
|
|
59
|
+
'sheetsEnabled': value.sheetsEnabled,
|
|
57
60
|
};
|
|
58
61
|
}
|
|
@@ -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 { FileType } from './FileType';
|
|
13
|
+
/**
|
|
14
|
+
* If provided, an ingest job is triggered immediately after table creation
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FileDef
|
|
17
|
+
*/
|
|
18
|
+
export interface FileDef {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {FileType}
|
|
22
|
+
* @memberof FileDef
|
|
23
|
+
*/
|
|
24
|
+
fileType: FileType;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof FileDef
|
|
29
|
+
*/
|
|
30
|
+
storageUri: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the FileDef interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfFileDef(value: object): boolean;
|
|
36
|
+
export declare function FileDefFromJSON(json: any): FileDef;
|
|
37
|
+
export declare function FileDefFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileDef;
|
|
38
|
+
export declare function FileDefToJSON(value?: FileDef | 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 { FileTypeFromJSON, FileTypeToJSON, } from './FileType';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the FileDef interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfFileDef(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "fileType" in value;
|
|
21
|
+
isInstance = isInstance && "storageUri" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function FileDefFromJSON(json) {
|
|
25
|
+
return FileDefFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function FileDefFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'fileType': FileTypeFromJSON(json['fileType']),
|
|
33
|
+
'storageUri': json['storageUri'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function FileDefToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'fileType': FileTypeToJSON(value.fileType),
|
|
45
|
+
'storageUri': value.storageUri,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 FileType {
|
|
18
|
+
Parquet = "PARQUET",
|
|
19
|
+
Csv = "CSV",
|
|
20
|
+
Json = "JSON"
|
|
21
|
+
}
|
|
22
|
+
export declare function FileTypeFromJSON(json: any): FileType;
|
|
23
|
+
export declare function FileTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileType;
|
|
24
|
+
export declare function FileTypeToJSON(value?: FileType | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
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 FileType;
|
|
20
|
+
(function (FileType) {
|
|
21
|
+
FileType["Parquet"] = "PARQUET";
|
|
22
|
+
FileType["Csv"] = "CSV";
|
|
23
|
+
FileType["Json"] = "JSON";
|
|
24
|
+
})(FileType || (FileType = {}));
|
|
25
|
+
export function FileTypeFromJSON(json) {
|
|
26
|
+
return FileTypeFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function FileTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
export function FileTypeToJSON(value) {
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 ForeignKeyRef
|
|
16
|
+
*/
|
|
17
|
+
export interface ForeignKeyRef {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ForeignKeyRef
|
|
22
|
+
*/
|
|
23
|
+
sheetId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ForeignKeyRef
|
|
28
|
+
*/
|
|
29
|
+
columnName: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ForeignKeyRef interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfForeignKeyRef(value: object): boolean;
|
|
35
|
+
export declare function ForeignKeyRefFromJSON(json: any): ForeignKeyRef;
|
|
36
|
+
export declare function ForeignKeyRefFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForeignKeyRef;
|
|
37
|
+
export declare function ForeignKeyRefToJSON(value?: ForeignKeyRef | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
* Check if a given object implements the ForeignKeyRef interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfForeignKeyRef(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "sheetId" in value;
|
|
20
|
+
isInstance = isInstance && "columnName" in value;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
export function ForeignKeyRefFromJSON(json) {
|
|
24
|
+
return ForeignKeyRefFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function ForeignKeyRefFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'sheetId': json['sheetId'],
|
|
32
|
+
'columnName': json['columnName'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function ForeignKeyRefToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'sheetId': value.sheetId,
|
|
44
|
+
'columnName': value.columnName,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -47,6 +47,10 @@ export declare enum Permission {
|
|
|
47
47
|
ViewDashboard = "VIEW_DASHBOARD",
|
|
48
48
|
CreateDashboard = "CREATE_DASHBOARD",
|
|
49
49
|
EditDashboard = "EDIT_DASHBOARD",
|
|
50
|
+
ViewSheet = "VIEW_SHEET",
|
|
51
|
+
CreateSheet = "CREATE_SHEET",
|
|
52
|
+
EditSheet = "EDIT_SHEET",
|
|
53
|
+
DeleteSheet = "DELETE_SHEET",
|
|
50
54
|
CreateNotebookInstance = "CREATE_NOTEBOOK_INSTANCE",
|
|
51
55
|
DeleteNotebookInstance = "DELETE_NOTEBOOK_INSTANCE",
|
|
52
56
|
ControlNotebookInstance = "CONTROL_NOTEBOOK_INSTANCE",
|
|
@@ -50,6 +50,10 @@ export var Permission;
|
|
|
50
50
|
Permission["ViewDashboard"] = "VIEW_DASHBOARD";
|
|
51
51
|
Permission["CreateDashboard"] = "CREATE_DASHBOARD";
|
|
52
52
|
Permission["EditDashboard"] = "EDIT_DASHBOARD";
|
|
53
|
+
Permission["ViewSheet"] = "VIEW_SHEET";
|
|
54
|
+
Permission["CreateSheet"] = "CREATE_SHEET";
|
|
55
|
+
Permission["EditSheet"] = "EDIT_SHEET";
|
|
56
|
+
Permission["DeleteSheet"] = "DELETE_SHEET";
|
|
53
57
|
Permission["CreateNotebookInstance"] = "CREATE_NOTEBOOK_INSTANCE";
|
|
54
58
|
Permission["DeleteNotebookInstance"] = "DELETE_NOTEBOOK_INSTANCE";
|
|
55
59
|
Permission["ControlNotebookInstance"] = "CONTROL_NOTEBOOK_INSTANCE";
|
|
@@ -0,0 +1,88 @@
|
|
|
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 { SheetTableType } from './SheetTableType';
|
|
13
|
+
import type { SheetType } from './SheetType';
|
|
14
|
+
import type { Status } from './Status';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface Sheet
|
|
19
|
+
*/
|
|
20
|
+
export interface Sheet {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof Sheet
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof Sheet
|
|
31
|
+
*/
|
|
32
|
+
name: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Sheet
|
|
37
|
+
*/
|
|
38
|
+
description: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof Sheet
|
|
43
|
+
*/
|
|
44
|
+
projectId: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {SheetType}
|
|
48
|
+
* @memberof Sheet
|
|
49
|
+
*/
|
|
50
|
+
sheetType: SheetType;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {SheetTableType}
|
|
54
|
+
* @memberof Sheet
|
|
55
|
+
*/
|
|
56
|
+
tableType: SheetTableType;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Status}
|
|
60
|
+
* @memberof Sheet
|
|
61
|
+
*/
|
|
62
|
+
status: Status;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof Sheet
|
|
67
|
+
*/
|
|
68
|
+
createdBy: string;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {Date}
|
|
72
|
+
* @memberof Sheet
|
|
73
|
+
*/
|
|
74
|
+
createdAt: Date;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {Date}
|
|
78
|
+
* @memberof Sheet
|
|
79
|
+
*/
|
|
80
|
+
updatedAt: Date;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the Sheet interface.
|
|
84
|
+
*/
|
|
85
|
+
export declare function instanceOfSheet(value: object): boolean;
|
|
86
|
+
export declare function SheetFromJSON(json: any): Sheet;
|
|
87
|
+
export declare function SheetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Sheet;
|
|
88
|
+
export declare function SheetToJSON(value?: Sheet | null): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
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 { SheetTableTypeFromJSON, SheetTableTypeToJSON, } from './SheetTableType';
|
|
15
|
+
import { SheetTypeFromJSON, SheetTypeToJSON, } from './SheetType';
|
|
16
|
+
import { StatusFromJSON, StatusToJSON, } from './Status';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the Sheet interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfSheet(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "id" in value;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "description" in value;
|
|
25
|
+
isInstance = isInstance && "projectId" in value;
|
|
26
|
+
isInstance = isInstance && "sheetType" in value;
|
|
27
|
+
isInstance = isInstance && "tableType" in value;
|
|
28
|
+
isInstance = isInstance && "status" in value;
|
|
29
|
+
isInstance = isInstance && "createdBy" in value;
|
|
30
|
+
isInstance = isInstance && "createdAt" in value;
|
|
31
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
32
|
+
return isInstance;
|
|
33
|
+
}
|
|
34
|
+
export function SheetFromJSON(json) {
|
|
35
|
+
return SheetFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function SheetFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if ((json === undefined) || (json === null)) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': json['id'],
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'description': json['description'],
|
|
45
|
+
'projectId': json['projectId'],
|
|
46
|
+
'sheetType': SheetTypeFromJSON(json['sheetType']),
|
|
47
|
+
'tableType': SheetTableTypeFromJSON(json['tableType']),
|
|
48
|
+
'status': StatusFromJSON(json['status']),
|
|
49
|
+
'createdBy': json['createdBy'],
|
|
50
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
51
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function SheetToJSON(value) {
|
|
55
|
+
if (value === undefined) {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
if (value === null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'id': value.id,
|
|
63
|
+
'name': value.name,
|
|
64
|
+
'description': value.description,
|
|
65
|
+
'projectId': value.projectId,
|
|
66
|
+
'sheetType': SheetTypeToJSON(value.sheetType),
|
|
67
|
+
'tableType': SheetTableTypeToJSON(value.tableType),
|
|
68
|
+
'status': StatusToJSON(value.status),
|
|
69
|
+
'createdBy': value.createdBy,
|
|
70
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
71
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
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 { ColumnDef } from './ColumnDef';
|
|
13
|
+
import type { SheetTableType } from './SheetTableType';
|
|
14
|
+
import type { SheetType } from './SheetType';
|
|
15
|
+
import type { Status } from './Status';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SheetDetail
|
|
20
|
+
*/
|
|
21
|
+
export interface SheetDetail {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SheetDetail
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SheetDetail
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SheetDetail
|
|
38
|
+
*/
|
|
39
|
+
description: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof SheetDetail
|
|
44
|
+
*/
|
|
45
|
+
projectId: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof SheetDetail
|
|
50
|
+
*/
|
|
51
|
+
namespaceName: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof SheetDetail
|
|
56
|
+
*/
|
|
57
|
+
tableName: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {SheetType}
|
|
61
|
+
* @memberof SheetDetail
|
|
62
|
+
*/
|
|
63
|
+
sheetType: SheetType;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {SheetTableType}
|
|
67
|
+
* @memberof SheetDetail
|
|
68
|
+
*/
|
|
69
|
+
tableType: SheetTableType;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Status}
|
|
73
|
+
* @memberof SheetDetail
|
|
74
|
+
*/
|
|
75
|
+
status: Status;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Array<ColumnDef>}
|
|
79
|
+
* @memberof SheetDetail
|
|
80
|
+
*/
|
|
81
|
+
columns: Array<ColumnDef>;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof SheetDetail
|
|
86
|
+
*/
|
|
87
|
+
createdBy: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {Date}
|
|
91
|
+
* @memberof SheetDetail
|
|
92
|
+
*/
|
|
93
|
+
createdAt: Date;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {Date}
|
|
97
|
+
* @memberof SheetDetail
|
|
98
|
+
*/
|
|
99
|
+
updatedAt: Date;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Check if a given object implements the SheetDetail interface.
|
|
103
|
+
*/
|
|
104
|
+
export declare function instanceOfSheetDetail(value: object): boolean;
|
|
105
|
+
export declare function SheetDetailFromJSON(json: any): SheetDetail;
|
|
106
|
+
export declare function SheetDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): SheetDetail;
|
|
107
|
+
export declare function SheetDetailToJSON(value?: SheetDetail | null): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
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 { ColumnDefFromJSON, ColumnDefToJSON, } from './ColumnDef';
|
|
15
|
+
import { SheetTableTypeFromJSON, SheetTableTypeToJSON, } from './SheetTableType';
|
|
16
|
+
import { SheetTypeFromJSON, SheetTypeToJSON, } from './SheetType';
|
|
17
|
+
import { StatusFromJSON, StatusToJSON, } from './Status';
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the SheetDetail interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfSheetDetail(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 && "projectId" in value;
|
|
27
|
+
isInstance = isInstance && "namespaceName" in value;
|
|
28
|
+
isInstance = isInstance && "tableName" in value;
|
|
29
|
+
isInstance = isInstance && "sheetType" in value;
|
|
30
|
+
isInstance = isInstance && "tableType" in value;
|
|
31
|
+
isInstance = isInstance && "status" in value;
|
|
32
|
+
isInstance = isInstance && "columns" in value;
|
|
33
|
+
isInstance = isInstance && "createdBy" in value;
|
|
34
|
+
isInstance = isInstance && "createdAt" in value;
|
|
35
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
36
|
+
return isInstance;
|
|
37
|
+
}
|
|
38
|
+
export function SheetDetailFromJSON(json) {
|
|
39
|
+
return SheetDetailFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function SheetDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if ((json === undefined) || (json === null)) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'id': json['id'],
|
|
47
|
+
'name': json['name'],
|
|
48
|
+
'description': json['description'],
|
|
49
|
+
'projectId': json['projectId'],
|
|
50
|
+
'namespaceName': json['namespaceName'],
|
|
51
|
+
'tableName': json['tableName'],
|
|
52
|
+
'sheetType': SheetTypeFromJSON(json['sheetType']),
|
|
53
|
+
'tableType': SheetTableTypeFromJSON(json['tableType']),
|
|
54
|
+
'status': StatusFromJSON(json['status']),
|
|
55
|
+
'columns': (json['columns'].map(ColumnDefFromJSON)),
|
|
56
|
+
'createdBy': json['createdBy'],
|
|
57
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
58
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
export function SheetDetailToJSON(value) {
|
|
62
|
+
if (value === undefined) {
|
|
63
|
+
return undefined;
|
|
64
|
+
}
|
|
65
|
+
if (value === null) {
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'id': value.id,
|
|
70
|
+
'name': value.name,
|
|
71
|
+
'description': value.description,
|
|
72
|
+
'projectId': value.projectId,
|
|
73
|
+
'namespaceName': value.namespaceName,
|
|
74
|
+
'tableName': value.tableName,
|
|
75
|
+
'sheetType': SheetTypeToJSON(value.sheetType),
|
|
76
|
+
'tableType': SheetTableTypeToJSON(value.tableType),
|
|
77
|
+
'status': StatusToJSON(value.status),
|
|
78
|
+
'columns': (value.columns.map(ColumnDefToJSON)),
|
|
79
|
+
'createdBy': value.createdBy,
|
|
80
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
81
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
82
|
+
};
|
|
83
|
+
}
|