@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,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,54 @@
|
|
|
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.RequestQuotaIncreaseResponseToJSON = exports.RequestQuotaIncreaseResponseFromJSONTyped = exports.RequestQuotaIncreaseResponseFromJSON = exports.instanceOfRequestQuotaIncreaseResponse = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
const CloudQuota_1 = require("./CloudQuota");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the RequestQuotaIncreaseResponse interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfRequestQuotaIncreaseResponse(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "quota" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfRequestQuotaIncreaseResponse = instanceOfRequestQuotaIncreaseResponse;
|
|
28
|
+
function RequestQuotaIncreaseResponseFromJSON(json) {
|
|
29
|
+
return RequestQuotaIncreaseResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.RequestQuotaIncreaseResponseFromJSON = RequestQuotaIncreaseResponseFromJSON;
|
|
32
|
+
function RequestQuotaIncreaseResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'quota': (0, CloudQuota_1.CloudQuotaFromJSON)(json['quota']),
|
|
38
|
+
'caseId': !(0, runtime_1.exists)(json, 'caseId') ? undefined : json['caseId'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.RequestQuotaIncreaseResponseFromJSONTyped = RequestQuotaIncreaseResponseFromJSONTyped;
|
|
42
|
+
function RequestQuotaIncreaseResponseToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'quota': (0, CloudQuota_1.CloudQuotaToJSON)(value.quota),
|
|
51
|
+
'caseId': value.caseId,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.RequestQuotaIncreaseResponseToJSON = RequestQuotaIncreaseResponseToJSON;
|
|
@@ -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,80 @@
|
|
|
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.SheetToJSON = exports.SheetFromJSONTyped = exports.SheetFromJSON = exports.instanceOfSheet = void 0;
|
|
17
|
+
const SheetTableType_1 = require("./SheetTableType");
|
|
18
|
+
const SheetType_1 = require("./SheetType");
|
|
19
|
+
const Status_1 = require("./Status");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the Sheet interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfSheet(value) {
|
|
24
|
+
let isInstance = true;
|
|
25
|
+
isInstance = isInstance && "id" in value;
|
|
26
|
+
isInstance = isInstance && "name" in value;
|
|
27
|
+
isInstance = isInstance && "description" in value;
|
|
28
|
+
isInstance = isInstance && "projectId" in value;
|
|
29
|
+
isInstance = isInstance && "sheetType" in value;
|
|
30
|
+
isInstance = isInstance && "tableType" in value;
|
|
31
|
+
isInstance = isInstance && "status" in value;
|
|
32
|
+
isInstance = isInstance && "createdBy" in value;
|
|
33
|
+
isInstance = isInstance && "createdAt" in value;
|
|
34
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
35
|
+
return isInstance;
|
|
36
|
+
}
|
|
37
|
+
exports.instanceOfSheet = instanceOfSheet;
|
|
38
|
+
function SheetFromJSON(json) {
|
|
39
|
+
return SheetFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
exports.SheetFromJSON = SheetFromJSON;
|
|
42
|
+
function SheetFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if ((json === undefined) || (json === null)) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'],
|
|
48
|
+
'name': json['name'],
|
|
49
|
+
'description': json['description'],
|
|
50
|
+
'projectId': json['projectId'],
|
|
51
|
+
'sheetType': (0, SheetType_1.SheetTypeFromJSON)(json['sheetType']),
|
|
52
|
+
'tableType': (0, SheetTableType_1.SheetTableTypeFromJSON)(json['tableType']),
|
|
53
|
+
'status': (0, Status_1.StatusFromJSON)(json['status']),
|
|
54
|
+
'createdBy': json['createdBy'],
|
|
55
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
56
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.SheetFromJSONTyped = SheetFromJSONTyped;
|
|
60
|
+
function SheetToJSON(value) {
|
|
61
|
+
if (value === undefined) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
if (value === null) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'id': value.id,
|
|
69
|
+
'name': value.name,
|
|
70
|
+
'description': value.description,
|
|
71
|
+
'projectId': value.projectId,
|
|
72
|
+
'sheetType': (0, SheetType_1.SheetTypeToJSON)(value.sheetType),
|
|
73
|
+
'tableType': (0, SheetTableType_1.SheetTableTypeToJSON)(value.tableType),
|
|
74
|
+
'status': (0, Status_1.StatusToJSON)(value.status),
|
|
75
|
+
'createdBy': value.createdBy,
|
|
76
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
77
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
exports.SheetToJSON = SheetToJSON;
|
|
@@ -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,90 @@
|
|
|
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.SheetDetailToJSON = exports.SheetDetailFromJSONTyped = exports.SheetDetailFromJSON = exports.instanceOfSheetDetail = void 0;
|
|
17
|
+
const ColumnDef_1 = require("./ColumnDef");
|
|
18
|
+
const SheetTableType_1 = require("./SheetTableType");
|
|
19
|
+
const SheetType_1 = require("./SheetType");
|
|
20
|
+
const Status_1 = require("./Status");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SheetDetail interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSheetDetail(value) {
|
|
25
|
+
let isInstance = true;
|
|
26
|
+
isInstance = isInstance && "id" in value;
|
|
27
|
+
isInstance = isInstance && "name" in value;
|
|
28
|
+
isInstance = isInstance && "description" in value;
|
|
29
|
+
isInstance = isInstance && "projectId" in value;
|
|
30
|
+
isInstance = isInstance && "namespaceName" in value;
|
|
31
|
+
isInstance = isInstance && "tableName" in value;
|
|
32
|
+
isInstance = isInstance && "sheetType" in value;
|
|
33
|
+
isInstance = isInstance && "tableType" in value;
|
|
34
|
+
isInstance = isInstance && "status" in value;
|
|
35
|
+
isInstance = isInstance && "columns" in value;
|
|
36
|
+
isInstance = isInstance && "createdBy" in value;
|
|
37
|
+
isInstance = isInstance && "createdAt" in value;
|
|
38
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
39
|
+
return isInstance;
|
|
40
|
+
}
|
|
41
|
+
exports.instanceOfSheetDetail = instanceOfSheetDetail;
|
|
42
|
+
function SheetDetailFromJSON(json) {
|
|
43
|
+
return SheetDetailFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
exports.SheetDetailFromJSON = SheetDetailFromJSON;
|
|
46
|
+
function SheetDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if ((json === undefined) || (json === null)) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': json['id'],
|
|
52
|
+
'name': json['name'],
|
|
53
|
+
'description': json['description'],
|
|
54
|
+
'projectId': json['projectId'],
|
|
55
|
+
'namespaceName': json['namespaceName'],
|
|
56
|
+
'tableName': json['tableName'],
|
|
57
|
+
'sheetType': (0, SheetType_1.SheetTypeFromJSON)(json['sheetType']),
|
|
58
|
+
'tableType': (0, SheetTableType_1.SheetTableTypeFromJSON)(json['tableType']),
|
|
59
|
+
'status': (0, Status_1.StatusFromJSON)(json['status']),
|
|
60
|
+
'columns': (json['columns'].map(ColumnDef_1.ColumnDefFromJSON)),
|
|
61
|
+
'createdBy': json['createdBy'],
|
|
62
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
63
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
exports.SheetDetailFromJSONTyped = SheetDetailFromJSONTyped;
|
|
67
|
+
function SheetDetailToJSON(value) {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'id': value.id,
|
|
76
|
+
'name': value.name,
|
|
77
|
+
'description': value.description,
|
|
78
|
+
'projectId': value.projectId,
|
|
79
|
+
'namespaceName': value.namespaceName,
|
|
80
|
+
'tableName': value.tableName,
|
|
81
|
+
'sheetType': (0, SheetType_1.SheetTypeToJSON)(value.sheetType),
|
|
82
|
+
'tableType': (0, SheetTableType_1.SheetTableTypeToJSON)(value.tableType),
|
|
83
|
+
'status': (0, Status_1.StatusToJSON)(value.status),
|
|
84
|
+
'columns': (value.columns.map(ColumnDef_1.ColumnDefToJSON)),
|
|
85
|
+
'createdBy': value.createdBy,
|
|
86
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
87
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
exports.SheetDetailToJSON = SheetDetailToJSON;
|
|
@@ -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,78 @@
|
|
|
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.SheetJobToJSON = exports.SheetJobFromJSONTyped = exports.SheetJobFromJSON = exports.instanceOfSheetJob = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
const SheetJobType_1 = require("./SheetJobType");
|
|
19
|
+
const Status_1 = require("./Status");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the SheetJob interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfSheetJob(value) {
|
|
24
|
+
let isInstance = true;
|
|
25
|
+
isInstance = isInstance && "id" in value;
|
|
26
|
+
isInstance = isInstance && "sheetId" in value;
|
|
27
|
+
isInstance = isInstance && "jobType" in value;
|
|
28
|
+
isInstance = isInstance && "status" in value;
|
|
29
|
+
isInstance = isInstance && "createdAt" in value;
|
|
30
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
31
|
+
return isInstance;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfSheetJob = instanceOfSheetJob;
|
|
34
|
+
function SheetJobFromJSON(json) {
|
|
35
|
+
return SheetJobFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.SheetJobFromJSON = SheetJobFromJSON;
|
|
38
|
+
function SheetJobFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if ((json === undefined) || (json === null)) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'sheetId': json['sheetId'],
|
|
45
|
+
'jobType': (0, SheetJobType_1.SheetJobTypeFromJSON)(json['jobType']),
|
|
46
|
+
'status': (0, Status_1.StatusFromJSON)(json['status']),
|
|
47
|
+
'startedAt': !(0, runtime_1.exists)(json, 'startedAt') ? undefined : (json['startedAt'] === null ? null : new Date(json['startedAt'])),
|
|
48
|
+
'completedAt': !(0, runtime_1.exists)(json, 'completedAt') ? undefined : (json['completedAt'] === null ? null : new Date(json['completedAt'])),
|
|
49
|
+
'failedAtStep': !(0, runtime_1.exists)(json, 'failedAtStep') ? undefined : json['failedAtStep'],
|
|
50
|
+
'errorMessage': !(0, runtime_1.exists)(json, 'errorMessage') ? undefined : json['errorMessage'],
|
|
51
|
+
'snapshotId': !(0, runtime_1.exists)(json, 'snapshotId') ? undefined : json['snapshotId'],
|
|
52
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
53
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.SheetJobFromJSONTyped = SheetJobFromJSONTyped;
|
|
57
|
+
function SheetJobToJSON(value) {
|
|
58
|
+
if (value === undefined) {
|
|
59
|
+
return undefined;
|
|
60
|
+
}
|
|
61
|
+
if (value === null) {
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'id': value.id,
|
|
66
|
+
'sheetId': value.sheetId,
|
|
67
|
+
'jobType': (0, SheetJobType_1.SheetJobTypeToJSON)(value.jobType),
|
|
68
|
+
'status': (0, Status_1.StatusToJSON)(value.status),
|
|
69
|
+
'startedAt': value.startedAt === undefined ? undefined : (value.startedAt === null ? null : value.startedAt.toISOString()),
|
|
70
|
+
'completedAt': value.completedAt === undefined ? undefined : (value.completedAt === null ? null : value.completedAt.toISOString()),
|
|
71
|
+
'failedAtStep': value.failedAtStep,
|
|
72
|
+
'errorMessage': value.errorMessage,
|
|
73
|
+
'snapshotId': value.snapshotId,
|
|
74
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
75
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
exports.SheetJobToJSON = SheetJobToJSON;
|
|
@@ -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;
|
|
@@ -0,0 +1,40 @@
|
|
|
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.SheetJobTypeToJSON = exports.SheetJobTypeFromJSONTyped = exports.SheetJobTypeFromJSON = exports.SheetJobType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var SheetJobType;
|
|
23
|
+
(function (SheetJobType) {
|
|
24
|
+
SheetJobType["Ddl"] = "DDL";
|
|
25
|
+
SheetJobType["Ingest"] = "INGEST";
|
|
26
|
+
SheetJobType["DdlIngest"] = "DDL_INGEST";
|
|
27
|
+
SheetJobType["DropTable"] = "DROP_TABLE";
|
|
28
|
+
})(SheetJobType = exports.SheetJobType || (exports.SheetJobType = {}));
|
|
29
|
+
function SheetJobTypeFromJSON(json) {
|
|
30
|
+
return SheetJobTypeFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.SheetJobTypeFromJSON = SheetJobTypeFromJSON;
|
|
33
|
+
function SheetJobTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
exports.SheetJobTypeFromJSONTyped = SheetJobTypeFromJSONTyped;
|
|
37
|
+
function SheetJobTypeToJSON(value) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
exports.SheetJobTypeToJSON = SheetJobTypeToJSON;
|