@cirrobio/api-client 0.12.23 → 0.12.25
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/ProjectsApi.d.ts +28 -1
- package/dist/apis/ProjectsApi.js +79 -0
- 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/ProjectsApi.d.ts +28 -1
- package/dist/esm/apis/ProjectsApi.js +80 -1
- 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/CloudQuota.d.ts +55 -0
- package/dist/esm/models/CloudQuota.js +55 -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/RequestQuotaIncreaseCommand.d.ts +43 -0
- package/dist/esm/models/RequestQuotaIncreaseCommand.js +49 -0
- package/dist/esm/models/RequestQuotaIncreaseResponse.d.ts +38 -0
- package/dist/esm/models/RequestQuotaIncreaseResponse.js +47 -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 +17 -0
- package/dist/esm/models/index.js +17 -0
- package/dist/models/CloudQuota.d.ts +55 -0
- package/dist/models/CloudQuota.js +62 -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/RequestQuotaIncreaseCommand.d.ts +43 -0
- package/dist/models/RequestQuotaIncreaseCommand.js +56 -0
- package/dist/models/RequestQuotaIncreaseResponse.d.ts +38 -0
- package/dist/models/RequestQuotaIncreaseResponse.js +54 -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 +17 -0
- package/dist/models/index.js +17 -0
- package/package.json +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
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 RequestQuotaIncreaseCommand interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRequestQuotaIncreaseCommand(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "serviceCode" in value;
|
|
20
|
+
isInstance = isInstance && "quotaCode" in value;
|
|
21
|
+
isInstance = isInstance && "value" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function RequestQuotaIncreaseCommandFromJSON(json) {
|
|
25
|
+
return RequestQuotaIncreaseCommandFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function RequestQuotaIncreaseCommandFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'serviceCode': json['serviceCode'],
|
|
33
|
+
'quotaCode': json['quotaCode'],
|
|
34
|
+
'value': json['value'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function RequestQuotaIncreaseCommandToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'serviceCode': value.serviceCode,
|
|
46
|
+
'quotaCode': value.quotaCode,
|
|
47
|
+
'value': value.value,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -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 { CloudQuota } from './CloudQuota';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RequestQuotaIncreaseResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface RequestQuotaIncreaseResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CloudQuota}
|
|
22
|
+
* @memberof RequestQuotaIncreaseResponse
|
|
23
|
+
*/
|
|
24
|
+
quota: CloudQuota;
|
|
25
|
+
/**
|
|
26
|
+
* Case ID, if a support case has been opened for the quota increase request
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RequestQuotaIncreaseResponse
|
|
29
|
+
*/
|
|
30
|
+
caseId?: string | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the RequestQuotaIncreaseResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfRequestQuotaIncreaseResponse(value: object): boolean;
|
|
36
|
+
export declare function RequestQuotaIncreaseResponseFromJSON(json: any): RequestQuotaIncreaseResponse;
|
|
37
|
+
export declare function RequestQuotaIncreaseResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestQuotaIncreaseResponse;
|
|
38
|
+
export declare function RequestQuotaIncreaseResponseToJSON(value?: RequestQuotaIncreaseResponse | 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 { exists } from '../runtime';
|
|
15
|
+
import { CloudQuotaFromJSON, CloudQuotaToJSON, } from './CloudQuota';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the RequestQuotaIncreaseResponse interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfRequestQuotaIncreaseResponse(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "quota" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function RequestQuotaIncreaseResponseFromJSON(json) {
|
|
25
|
+
return RequestQuotaIncreaseResponseFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function RequestQuotaIncreaseResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'quota': CloudQuotaFromJSON(json['quota']),
|
|
33
|
+
'caseId': !exists(json, 'caseId') ? undefined : json['caseId'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function RequestQuotaIncreaseResponseToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'quota': CloudQuotaToJSON(value.quota),
|
|
45
|
+
'caseId': value.caseId,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { SheetJobType } from './SheetJobType';
|
|
13
|
+
import type { Status } from './Status';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SheetJob
|
|
18
|
+
*/
|
|
19
|
+
export interface SheetJob {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SheetJob
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof SheetJob
|
|
30
|
+
*/
|
|
31
|
+
sheetId: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {SheetJobType}
|
|
35
|
+
* @memberof SheetJob
|
|
36
|
+
*/
|
|
37
|
+
jobType: SheetJobType;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Status}
|
|
41
|
+
* @memberof SheetJob
|
|
42
|
+
*/
|
|
43
|
+
status: Status;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Date}
|
|
47
|
+
* @memberof SheetJob
|
|
48
|
+
*/
|
|
49
|
+
startedAt?: Date | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Date}
|
|
53
|
+
* @memberof SheetJob
|
|
54
|
+
*/
|
|
55
|
+
completedAt?: Date | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof SheetJob
|
|
60
|
+
*/
|
|
61
|
+
failedAtStep?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof SheetJob
|
|
66
|
+
*/
|
|
67
|
+
errorMessage?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof SheetJob
|
|
72
|
+
*/
|
|
73
|
+
snapshotId?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {Date}
|
|
77
|
+
* @memberof SheetJob
|
|
78
|
+
*/
|
|
79
|
+
createdAt: Date;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Date}
|
|
83
|
+
* @memberof SheetJob
|
|
84
|
+
*/
|
|
85
|
+
updatedAt: Date;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Check if a given object implements the SheetJob interface.
|
|
89
|
+
*/
|
|
90
|
+
export declare function instanceOfSheetJob(value: object): boolean;
|
|
91
|
+
export declare function SheetJobFromJSON(json: any): SheetJob;
|
|
92
|
+
export declare function SheetJobFromJSONTyped(json: any, ignoreDiscriminator: boolean): SheetJob;
|
|
93
|
+
export declare function SheetJobToJSON(value?: SheetJob | null): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
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 { exists } from '../runtime';
|
|
15
|
+
import { SheetJobTypeFromJSON, SheetJobTypeToJSON, } from './SheetJobType';
|
|
16
|
+
import { StatusFromJSON, StatusToJSON, } from './Status';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SheetJob interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfSheetJob(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "id" in value;
|
|
23
|
+
isInstance = isInstance && "sheetId" in value;
|
|
24
|
+
isInstance = isInstance && "jobType" in value;
|
|
25
|
+
isInstance = isInstance && "status" in value;
|
|
26
|
+
isInstance = isInstance && "createdAt" in value;
|
|
27
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
28
|
+
return isInstance;
|
|
29
|
+
}
|
|
30
|
+
export function SheetJobFromJSON(json) {
|
|
31
|
+
return SheetJobFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function SheetJobFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'id': json['id'],
|
|
39
|
+
'sheetId': json['sheetId'],
|
|
40
|
+
'jobType': SheetJobTypeFromJSON(json['jobType']),
|
|
41
|
+
'status': StatusFromJSON(json['status']),
|
|
42
|
+
'startedAt': !exists(json, 'startedAt') ? undefined : (json['startedAt'] === null ? null : new Date(json['startedAt'])),
|
|
43
|
+
'completedAt': !exists(json, 'completedAt') ? undefined : (json['completedAt'] === null ? null : new Date(json['completedAt'])),
|
|
44
|
+
'failedAtStep': !exists(json, 'failedAtStep') ? undefined : json['failedAtStep'],
|
|
45
|
+
'errorMessage': !exists(json, 'errorMessage') ? undefined : json['errorMessage'],
|
|
46
|
+
'snapshotId': !exists(json, 'snapshotId') ? undefined : json['snapshotId'],
|
|
47
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
48
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function SheetJobToJSON(value) {
|
|
52
|
+
if (value === undefined) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
if (value === null) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value.id,
|
|
60
|
+
'sheetId': value.sheetId,
|
|
61
|
+
'jobType': SheetJobTypeToJSON(value.jobType),
|
|
62
|
+
'status': StatusToJSON(value.status),
|
|
63
|
+
'startedAt': value.startedAt === undefined ? undefined : (value.startedAt === null ? null : value.startedAt.toISOString()),
|
|
64
|
+
'completedAt': value.completedAt === undefined ? undefined : (value.completedAt === null ? null : value.completedAt.toISOString()),
|
|
65
|
+
'failedAtStep': value.failedAtStep,
|
|
66
|
+
'errorMessage': value.errorMessage,
|
|
67
|
+
'snapshotId': value.snapshotId,
|
|
68
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
69
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 SheetJobType {
|
|
18
|
+
Ddl = "DDL",
|
|
19
|
+
Ingest = "INGEST",
|
|
20
|
+
DdlIngest = "DDL_INGEST",
|
|
21
|
+
DropTable = "DROP_TABLE"
|
|
22
|
+
}
|
|
23
|
+
export declare function SheetJobTypeFromJSON(json: any): SheetJobType;
|
|
24
|
+
export declare function SheetJobTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SheetJobType;
|
|
25
|
+
export declare function SheetJobTypeToJSON(value?: SheetJobType | null): any;
|