@cirrobio/api-client 0.0.29-alpha → 0.0.31-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 +4 -2
- package/README.md +1 -1
- package/dist/apis/ReferencesApi.d.ts +2 -2
- package/dist/apis/ReferencesApi.js +1 -1
- package/dist/models/CustomPipelineSettings.d.ts +6 -5
- package/dist/models/CustomPipelineSettings.js +3 -2
- package/dist/models/DatasetAssetsManifest.d.ts +3 -3
- package/dist/models/DatasetAssetsManifest.js +3 -3
- package/dist/models/ErrorMessage.d.ts +31 -0
- package/dist/models/ErrorMessage.js +50 -0
- package/dist/models/FileEntry.d.ts +45 -0
- package/dist/models/FileEntry.js +54 -0
- package/dist/models/PipelineCode.d.ts +3 -3
- package/dist/models/PipelineCode.js +4 -2
- package/dist/models/PortalErrorResponse.d.ts +50 -0
- package/dist/models/PortalErrorResponse.js +60 -0
- package/dist/models/Process.d.ts +3 -3
- package/dist/models/Process.js +1 -2
- package/dist/models/ProcessDetail.d.ts +8 -8
- package/dist/models/ProcessDetail.js +8 -12
- package/dist/models/ProjectRequest.d.ts +2 -2
- package/dist/models/ProjectRequest.js +4 -5
- package/dist/models/ProjectSettings.d.ts +1 -1
- package/dist/models/ProjectSettings.js +1 -2
- package/dist/models/Reference.d.ts +3 -2
- package/dist/models/Reference.js +3 -2
- package/dist/models/SyncStatus.d.ts +23 -0
- package/dist/models/SyncStatus.js +38 -0
- package/dist/models/ValidateFileRequirementsRequest.d.ts +4 -4
- package/dist/models/ValidateFileRequirementsRequest.js +3 -3
- package/dist/models/index.d.ts +4 -2
- package/dist/models/index.js +4 -2
- package/package.json +1 -1
- package/src/apis/ProcessesApi.ts +6 -0
- package/src/apis/ReferencesApi.ts +3 -3
- package/src/models/CustomPipelineSettings.ts +14 -7
- package/src/models/DatasetAssetsManifest.ts +10 -10
- package/src/models/ErrorMessage.ts +66 -0
- package/src/models/{DatasetFile.ts → FileEntry.ts} +11 -11
- package/src/models/PipelineCode.ts +7 -5
- package/src/models/PortalErrorResponse.ts +100 -0
- package/src/models/Process.ts +4 -5
- package/src/models/ProcessDetail.ts +18 -23
- package/src/models/ProjectRequest.ts +5 -7
- package/src/models/ProjectSettings.ts +2 -3
- package/src/models/Reference.ts +11 -4
- package/src/models/SyncStatus.ts +37 -0
- package/src/models/ValidateFileRequirementsRequest.ts +7 -7
- package/src/models/index.ts +4 -2
- package/src/models/ProcessDetailAllOfPipelineCode.ts +0 -97
|
@@ -14,9 +14,10 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ProcessDetailToJSON = exports.ProcessDetailFromJSONTyped = exports.ProcessDetailFromJSON = exports.instanceOfProcessDetail = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
17
18
|
var CustomPipelineSettings_1 = require("./CustomPipelineSettings");
|
|
18
19
|
var Executor_1 = require("./Executor");
|
|
19
|
-
var
|
|
20
|
+
var PipelineCode_1 = require("./PipelineCode");
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the ProcessDetail interface.
|
|
22
23
|
*/
|
|
@@ -26,15 +27,10 @@ function instanceOfProcessDetail(value) {
|
|
|
26
27
|
isInstance = isInstance && "name" in value;
|
|
27
28
|
isInstance = isInstance && "description" in value;
|
|
28
29
|
isInstance = isInstance && "executor" in value;
|
|
29
|
-
isInstance = isInstance && "documentationUrl" in value;
|
|
30
|
-
isInstance = isInstance && "fileRequirementsMessage" in value;
|
|
31
30
|
isInstance = isInstance && "childProcessIds" in value;
|
|
32
31
|
isInstance = isInstance && "parentProcessIds" in value;
|
|
33
|
-
isInstance = isInstance && "owner" in value;
|
|
34
32
|
isInstance = isInstance && "linkedProjectIds" in value;
|
|
35
|
-
isInstance = isInstance && "pipelineCode" in value;
|
|
36
33
|
isInstance = isInstance && "customSettings" in value;
|
|
37
|
-
isInstance = isInstance && "isArchived" in value;
|
|
38
34
|
return isInstance;
|
|
39
35
|
}
|
|
40
36
|
exports.instanceOfProcessDetail = instanceOfProcessDetail;
|
|
@@ -51,15 +47,15 @@ function ProcessDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
47
|
'name': json['name'],
|
|
52
48
|
'description': json['description'],
|
|
53
49
|
'executor': (0, Executor_1.ExecutorFromJSON)(json['executor']),
|
|
54
|
-
'documentationUrl': json['documentationUrl'],
|
|
55
|
-
'fileRequirementsMessage': json['fileRequirementsMessage'],
|
|
50
|
+
'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
51
|
+
'fileRequirementsMessage': !(0, runtime_1.exists)(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
56
52
|
'childProcessIds': json['childProcessIds'],
|
|
57
53
|
'parentProcessIds': json['parentProcessIds'],
|
|
58
|
-
'owner': json['owner'],
|
|
54
|
+
'owner': !(0, runtime_1.exists)(json, 'owner') ? undefined : json['owner'],
|
|
59
55
|
'linkedProjectIds': json['linkedProjectIds'],
|
|
60
|
-
'pipelineCode': (0,
|
|
56
|
+
'pipelineCode': !(0, runtime_1.exists)(json, 'pipelineCode') ? undefined : (0, PipelineCode_1.PipelineCodeFromJSON)(json['pipelineCode']),
|
|
61
57
|
'customSettings': (0, CustomPipelineSettings_1.CustomPipelineSettingsFromJSON)(json['customSettings']),
|
|
62
|
-
'isArchived': json['isArchived'],
|
|
58
|
+
'isArchived': !(0, runtime_1.exists)(json, 'isArchived') ? undefined : json['isArchived'],
|
|
63
59
|
};
|
|
64
60
|
}
|
|
65
61
|
exports.ProcessDetailFromJSONTyped = ProcessDetailFromJSONTyped;
|
|
@@ -81,7 +77,7 @@ function ProcessDetailToJSON(value) {
|
|
|
81
77
|
'parentProcessIds': value.parentProcessIds,
|
|
82
78
|
'owner': value.owner,
|
|
83
79
|
'linkedProjectIds': value.linkedProjectIds,
|
|
84
|
-
'pipelineCode': (0,
|
|
80
|
+
'pipelineCode': (0, PipelineCode_1.PipelineCodeToJSON)(value.pipelineCode),
|
|
85
81
|
'customSettings': (0, CustomPipelineSettings_1.CustomPipelineSettingsToJSON)(value.customSettings),
|
|
86
82
|
'isArchived': value.isArchived,
|
|
87
83
|
};
|
|
@@ -54,13 +54,13 @@ export interface ProjectRequest {
|
|
|
54
54
|
* @type {CloudAccount}
|
|
55
55
|
* @memberof ProjectRequest
|
|
56
56
|
*/
|
|
57
|
-
account
|
|
57
|
+
account?: CloudAccount | null;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {Array<Tag>}
|
|
61
61
|
* @memberof ProjectRequest
|
|
62
62
|
*/
|
|
63
|
-
tags
|
|
63
|
+
tags?: Array<Tag> | null;
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* Check if a given object implements the ProjectRequest interface.
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ProjectRequestToJSON = exports.ProjectRequestFromJSONTyped = exports.ProjectRequestFromJSON = exports.instanceOfProjectRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
17
18
|
var CloudAccount_1 = require("./CloudAccount");
|
|
18
19
|
var Contact_1 = require("./Contact");
|
|
19
20
|
var ProjectSettings_1 = require("./ProjectSettings");
|
|
@@ -28,8 +29,6 @@ function instanceOfProjectRequest(value) {
|
|
|
28
29
|
isInstance = isInstance && "billingAccountId" in value;
|
|
29
30
|
isInstance = isInstance && "settings" in value;
|
|
30
31
|
isInstance = isInstance && "contacts" in value;
|
|
31
|
-
isInstance = isInstance && "account" in value;
|
|
32
|
-
isInstance = isInstance && "tags" in value;
|
|
33
32
|
return isInstance;
|
|
34
33
|
}
|
|
35
34
|
exports.instanceOfProjectRequest = instanceOfProjectRequest;
|
|
@@ -47,8 +46,8 @@ function ProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
46
|
'billingAccountId': json['billingAccountId'],
|
|
48
47
|
'settings': (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
|
|
49
48
|
'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
|
|
50
|
-
'account': (0, CloudAccount_1.CloudAccountFromJSON)(json['account']),
|
|
51
|
-
'tags': (json['tags'] === null ? null : json['tags'].map(Tag_1.TagFromJSON)),
|
|
49
|
+
'account': !(0, runtime_1.exists)(json, 'account') ? undefined : (0, CloudAccount_1.CloudAccountFromJSON)(json['account']),
|
|
50
|
+
'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : (json['tags'] === null ? null : json['tags'].map(Tag_1.TagFromJSON)),
|
|
52
51
|
};
|
|
53
52
|
}
|
|
54
53
|
exports.ProjectRequestFromJSONTyped = ProjectRequestFromJSONTyped;
|
|
@@ -66,7 +65,7 @@ function ProjectRequestToJSON(value) {
|
|
|
66
65
|
'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value.settings),
|
|
67
66
|
'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
|
|
68
67
|
'account': (0, CloudAccount_1.CloudAccountToJSON)(value.account),
|
|
69
|
-
'tags': (value.tags === null ? null : value.tags.map(Tag_1.TagToJSON)),
|
|
68
|
+
'tags': value.tags === undefined ? undefined : (value.tags === null ? null : value.tags.map(Tag_1.TagToJSON)),
|
|
70
69
|
};
|
|
71
70
|
}
|
|
72
71
|
exports.ProjectRequestToJSON = ProjectRequestToJSON;
|
|
@@ -21,7 +21,6 @@ var BudgetPeriod_1 = require("./BudgetPeriod");
|
|
|
21
21
|
*/
|
|
22
22
|
function instanceOfProjectSettings(value) {
|
|
23
23
|
var isInstance = true;
|
|
24
|
-
isInstance = isInstance && "budgetPeriod" in value;
|
|
25
24
|
isInstance = isInstance && "serviceConnections" in value;
|
|
26
25
|
return isInstance;
|
|
27
26
|
}
|
|
@@ -36,7 +35,7 @@ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
35
|
}
|
|
37
36
|
return {
|
|
38
37
|
'budgetAmount': !(0, runtime_1.exists)(json, 'budgetAmount') ? undefined : json['budgetAmount'],
|
|
39
|
-
'budgetPeriod': (0, BudgetPeriod_1.BudgetPeriodFromJSON)(json['budgetPeriod']),
|
|
38
|
+
'budgetPeriod': !(0, runtime_1.exists)(json, 'budgetPeriod') ? undefined : (0, BudgetPeriod_1.BudgetPeriodFromJSON)(json['budgetPeriod']),
|
|
40
39
|
'dragenAmi': !(0, runtime_1.exists)(json, 'dragenAmi') ? undefined : json['dragenAmi'],
|
|
41
40
|
'enableCompute': !(0, runtime_1.exists)(json, 'enableCompute') ? undefined : json['enableCompute'],
|
|
42
41
|
'enableDragen': !(0, runtime_1.exists)(json, 'enableDragen') ? undefined : json['enableDragen'],
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { FileEntry } from './FileEntry';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -29,10 +30,10 @@ export interface Reference {
|
|
|
29
30
|
referenceType: string;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
|
-
* @type {Array<
|
|
33
|
+
* @type {Array<FileEntry>}
|
|
33
34
|
* @memberof Reference
|
|
34
35
|
*/
|
|
35
|
-
files: Array<
|
|
36
|
+
files: Array<FileEntry>;
|
|
36
37
|
/**
|
|
37
38
|
*
|
|
38
39
|
* @type {string}
|
package/dist/models/Reference.js
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ReferenceToJSON = exports.ReferenceFromJSONTyped = exports.ReferenceFromJSON = exports.instanceOfReference = void 0;
|
|
17
|
+
var FileEntry_1 = require("./FileEntry");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the Reference interface.
|
|
19
20
|
*/
|
|
@@ -38,7 +39,7 @@ function ReferenceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
return {
|
|
39
40
|
'name': json['name'],
|
|
40
41
|
'referenceType': json['referenceType'],
|
|
41
|
-
'files': json['files'],
|
|
42
|
+
'files': (json['files'].map(FileEntry_1.FileEntryFromJSON)),
|
|
42
43
|
'createdBy': json['createdBy'],
|
|
43
44
|
'createdAt': (new Date(json['createdAt'])),
|
|
44
45
|
};
|
|
@@ -54,7 +55,7 @@ function ReferenceToJSON(value) {
|
|
|
54
55
|
return {
|
|
55
56
|
'name': value.name,
|
|
56
57
|
'referenceType': value.referenceType,
|
|
57
|
-
'files': value.files,
|
|
58
|
+
'files': (value.files.map(FileEntry_1.FileEntryToJSON)),
|
|
58
59
|
'createdBy': value.createdBy,
|
|
59
60
|
'createdAt': (value.createdAt.toISOString()),
|
|
60
61
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Status of last sync
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum SyncStatus {
|
|
18
|
+
Successful = "SUCCESSFUL",
|
|
19
|
+
Failed = "FAILED"
|
|
20
|
+
}
|
|
21
|
+
export declare function SyncStatusFromJSON(json: any): SyncStatus;
|
|
22
|
+
export declare function SyncStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncStatus;
|
|
23
|
+
export declare function SyncStatusToJSON(value?: SyncStatus | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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.SyncStatusToJSON = exports.SyncStatusFromJSONTyped = exports.SyncStatusFromJSON = exports.SyncStatus = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Status of last sync
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var SyncStatus;
|
|
23
|
+
(function (SyncStatus) {
|
|
24
|
+
SyncStatus["Successful"] = "SUCCESSFUL";
|
|
25
|
+
SyncStatus["Failed"] = "FAILED";
|
|
26
|
+
})(SyncStatus = exports.SyncStatus || (exports.SyncStatus = {}));
|
|
27
|
+
function SyncStatusFromJSON(json) {
|
|
28
|
+
return SyncStatusFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.SyncStatusFromJSON = SyncStatusFromJSON;
|
|
31
|
+
function SyncStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
exports.SyncStatusFromJSONTyped = SyncStatusFromJSONTyped;
|
|
35
|
+
function SyncStatusToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
exports.SyncStatusToJSON = SyncStatusToJSON;
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
export interface ValidateFileRequirementsRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
20
|
+
* @type {Array<string>}
|
|
21
21
|
* @memberof ValidateFileRequirementsRequest
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
fileNames: Array<string>;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {string}
|
|
27
27
|
* @memberof ValidateFileRequirementsRequest
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
sampleSheet: string;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the ValidateFileRequirementsRequest interface.
|
|
@@ -19,8 +19,8 @@ exports.ValidateFileRequirementsRequestToJSON = exports.ValidateFileRequirements
|
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfValidateFileRequirementsRequest(value) {
|
|
21
21
|
var isInstance = true;
|
|
22
|
-
isInstance = isInstance && "sampleSheet" in value;
|
|
23
22
|
isInstance = isInstance && "fileNames" in value;
|
|
23
|
+
isInstance = isInstance && "sampleSheet" in value;
|
|
24
24
|
return isInstance;
|
|
25
25
|
}
|
|
26
26
|
exports.instanceOfValidateFileRequirementsRequest = instanceOfValidateFileRequirementsRequest;
|
|
@@ -33,8 +33,8 @@ function ValidateFileRequirementsRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
|
-
'sampleSheet': json['sampleSheet'],
|
|
37
36
|
'fileNames': json['fileNames'],
|
|
37
|
+
'sampleSheet': json['sampleSheet'],
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
exports.ValidateFileRequirementsRequestFromJSONTyped = ValidateFileRequirementsRequestFromJSONTyped;
|
|
@@ -46,8 +46,8 @@ function ValidateFileRequirementsRequestToJSON(value) {
|
|
|
46
46
|
return null;
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
|
-
'sampleSheet': value.sampleSheet,
|
|
50
49
|
'fileNames': value.fileNames,
|
|
50
|
+
'sampleSheet': value.sampleSheet,
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
exports.ValidateFileRequirementsRequestToJSON = ValidateFileRequirementsRequestToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -14,9 +14,10 @@ export * from './DashboardRequest';
|
|
|
14
14
|
export * from './Dataset';
|
|
15
15
|
export * from './DatasetAssetsManifest';
|
|
16
16
|
export * from './DatasetDetail';
|
|
17
|
-
export * from './DatasetFile';
|
|
18
17
|
export * from './DatasetViz';
|
|
18
|
+
export * from './ErrorMessage';
|
|
19
19
|
export * from './Executor';
|
|
20
|
+
export * from './FileEntry';
|
|
20
21
|
export * from './FileNamePattern';
|
|
21
22
|
export * from './FileRequirements';
|
|
22
23
|
export * from './FormSchema';
|
|
@@ -33,9 +34,9 @@ export * from './OpenNotebookInstanceResponse';
|
|
|
33
34
|
export * from './PaginatedResponseDatasetListDto';
|
|
34
35
|
export * from './PaginatedResponseSampleDto';
|
|
35
36
|
export * from './PipelineCode';
|
|
37
|
+
export * from './PortalErrorResponse';
|
|
36
38
|
export * from './Process';
|
|
37
39
|
export * from './ProcessDetail';
|
|
38
|
-
export * from './ProcessDetailAllOfPipelineCode';
|
|
39
40
|
export * from './Project';
|
|
40
41
|
export * from './ProjectDetail';
|
|
41
42
|
export * from './ProjectMetrics';
|
|
@@ -55,6 +56,7 @@ export * from './SetUserProjectRoleRequest';
|
|
|
55
56
|
export * from './SftpCredentials';
|
|
56
57
|
export * from './Status';
|
|
57
58
|
export * from './StopExecutionResponse';
|
|
59
|
+
export * from './SyncStatus';
|
|
58
60
|
export * from './SystemInfoResponse';
|
|
59
61
|
export * from './Tag';
|
|
60
62
|
export * from './Task';
|
package/dist/models/index.js
CHANGED
|
@@ -32,9 +32,10 @@ __exportStar(require("./DashboardRequest"), exports);
|
|
|
32
32
|
__exportStar(require("./Dataset"), exports);
|
|
33
33
|
__exportStar(require("./DatasetAssetsManifest"), exports);
|
|
34
34
|
__exportStar(require("./DatasetDetail"), exports);
|
|
35
|
-
__exportStar(require("./DatasetFile"), exports);
|
|
36
35
|
__exportStar(require("./DatasetViz"), exports);
|
|
36
|
+
__exportStar(require("./ErrorMessage"), exports);
|
|
37
37
|
__exportStar(require("./Executor"), exports);
|
|
38
|
+
__exportStar(require("./FileEntry"), exports);
|
|
38
39
|
__exportStar(require("./FileNamePattern"), exports);
|
|
39
40
|
__exportStar(require("./FileRequirements"), exports);
|
|
40
41
|
__exportStar(require("./FormSchema"), exports);
|
|
@@ -51,9 +52,9 @@ __exportStar(require("./OpenNotebookInstanceResponse"), exports);
|
|
|
51
52
|
__exportStar(require("./PaginatedResponseDatasetListDto"), exports);
|
|
52
53
|
__exportStar(require("./PaginatedResponseSampleDto"), exports);
|
|
53
54
|
__exportStar(require("./PipelineCode"), exports);
|
|
55
|
+
__exportStar(require("./PortalErrorResponse"), exports);
|
|
54
56
|
__exportStar(require("./Process"), exports);
|
|
55
57
|
__exportStar(require("./ProcessDetail"), exports);
|
|
56
|
-
__exportStar(require("./ProcessDetailAllOfPipelineCode"), exports);
|
|
57
58
|
__exportStar(require("./Project"), exports);
|
|
58
59
|
__exportStar(require("./ProjectDetail"), exports);
|
|
59
60
|
__exportStar(require("./ProjectMetrics"), exports);
|
|
@@ -73,6 +74,7 @@ __exportStar(require("./SetUserProjectRoleRequest"), exports);
|
|
|
73
74
|
__exportStar(require("./SftpCredentials"), exports);
|
|
74
75
|
__exportStar(require("./Status"), exports);
|
|
75
76
|
__exportStar(require("./StopExecutionResponse"), exports);
|
|
77
|
+
__exportStar(require("./SyncStatus"), exports);
|
|
76
78
|
__exportStar(require("./SystemInfoResponse"), exports);
|
|
77
79
|
__exportStar(require("./Tag"), exports);
|
|
78
80
|
__exportStar(require("./Task"), exports);
|
package/package.json
CHANGED
package/src/apis/ProcessesApi.ts
CHANGED
|
@@ -17,8 +17,10 @@ import * as runtime from '../runtime';
|
|
|
17
17
|
import type {
|
|
18
18
|
CreateResponse,
|
|
19
19
|
CustomPipelineSettings,
|
|
20
|
+
ErrorMessage,
|
|
20
21
|
FileRequirements,
|
|
21
22
|
FormSchema,
|
|
23
|
+
PortalErrorResponse,
|
|
22
24
|
Process,
|
|
23
25
|
ProcessDetail,
|
|
24
26
|
ValidateFileRequirementsRequest,
|
|
@@ -28,10 +30,14 @@ import {
|
|
|
28
30
|
CreateResponseToJSON,
|
|
29
31
|
CustomPipelineSettingsFromJSON,
|
|
30
32
|
CustomPipelineSettingsToJSON,
|
|
33
|
+
ErrorMessageFromJSON,
|
|
34
|
+
ErrorMessageToJSON,
|
|
31
35
|
FileRequirementsFromJSON,
|
|
32
36
|
FileRequirementsToJSON,
|
|
33
37
|
FormSchemaFromJSON,
|
|
34
38
|
FormSchemaToJSON,
|
|
39
|
+
PortalErrorResponseFromJSON,
|
|
40
|
+
PortalErrorResponseToJSON,
|
|
35
41
|
ProcessFromJSON,
|
|
36
42
|
ProcessToJSON,
|
|
37
43
|
ProcessDetailFromJSON,
|
|
@@ -110,7 +110,7 @@ export class ReferencesApi extends runtime.BaseAPI {
|
|
|
110
110
|
* List available references for a given project
|
|
111
111
|
* Get project references
|
|
112
112
|
*/
|
|
113
|
-
async getReferencesForProjectRaw(requestParameters: GetReferencesForProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Reference
|
|
113
|
+
async getReferencesForProjectRaw(requestParameters: GetReferencesForProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Reference>>> {
|
|
114
114
|
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
|
|
115
115
|
throw new runtime.RequiredError('projectId','Required parameter requestParameters.projectId was null or undefined when calling getReferencesForProject.');
|
|
116
116
|
}
|
|
@@ -134,14 +134,14 @@ export class ReferencesApi extends runtime.BaseAPI {
|
|
|
134
134
|
query: queryParameters,
|
|
135
135
|
}, initOverrides);
|
|
136
136
|
|
|
137
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ReferenceFromJSON
|
|
137
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ReferenceFromJSON));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
141
|
* List available references for a given project
|
|
142
142
|
* Get project references
|
|
143
143
|
*/
|
|
144
|
-
async getReferencesForProject(requestParameters: GetReferencesForProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Reference
|
|
144
|
+
async getReferencesForProject(requestParameters: GetReferencesForProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Reference>> {
|
|
145
145
|
const response = await this.getReferencesForProjectRaw(requestParameters, initOverrides);
|
|
146
146
|
return await response.value();
|
|
147
147
|
}
|
|
@@ -13,8 +13,15 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { SyncStatus } from './SyncStatus';
|
|
17
|
+
import {
|
|
18
|
+
SyncStatusFromJSON,
|
|
19
|
+
SyncStatusFromJSONTyped,
|
|
20
|
+
SyncStatusToJSON,
|
|
21
|
+
} from './SyncStatus';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
|
-
*
|
|
24
|
+
* Used to describe the location of the process definition dependencies
|
|
18
25
|
* @export
|
|
19
26
|
* @interface CustomPipelineSettings
|
|
20
27
|
*/
|
|
@@ -38,19 +45,19 @@ export interface CustomPipelineSettings {
|
|
|
38
45
|
*/
|
|
39
46
|
folder?: string;
|
|
40
47
|
/**
|
|
41
|
-
*
|
|
48
|
+
* Time of last sync
|
|
42
49
|
* @type {Date}
|
|
43
50
|
* @memberof CustomPipelineSettings
|
|
44
51
|
*/
|
|
45
52
|
lastSync?: Date | null;
|
|
46
53
|
/**
|
|
47
54
|
*
|
|
48
|
-
* @type {
|
|
55
|
+
* @type {SyncStatus}
|
|
49
56
|
* @memberof CustomPipelineSettings
|
|
50
57
|
*/
|
|
51
|
-
syncStatus?:
|
|
58
|
+
syncStatus?: SyncStatus | null;
|
|
52
59
|
/**
|
|
53
|
-
*
|
|
60
|
+
* Commit hash of the last successful sync
|
|
54
61
|
* @type {string}
|
|
55
62
|
* @memberof CustomPipelineSettings
|
|
56
63
|
*/
|
|
@@ -81,7 +88,7 @@ export function CustomPipelineSettingsFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
81
88
|
'branch': !exists(json, 'branch') ? undefined : json['branch'],
|
|
82
89
|
'folder': !exists(json, 'folder') ? undefined : json['folder'],
|
|
83
90
|
'lastSync': !exists(json, 'lastSync') ? undefined : (json['lastSync'] === null ? null : new Date(json['lastSync'])),
|
|
84
|
-
'syncStatus': !exists(json, 'syncStatus') ? undefined : json['syncStatus'],
|
|
91
|
+
'syncStatus': !exists(json, 'syncStatus') ? undefined : SyncStatusFromJSON(json['syncStatus']),
|
|
85
92
|
'commitHash': !exists(json, 'commitHash') ? undefined : json['commitHash'],
|
|
86
93
|
};
|
|
87
94
|
}
|
|
@@ -99,7 +106,7 @@ export function CustomPipelineSettingsToJSON(value?: CustomPipelineSettings | nu
|
|
|
99
106
|
'branch': value.branch,
|
|
100
107
|
'folder': value.folder,
|
|
101
108
|
'lastSync': value.lastSync === undefined ? undefined : (value.lastSync === null ? null : value.lastSync.toISOString()),
|
|
102
|
-
'syncStatus': value.syncStatus,
|
|
109
|
+
'syncStatus': SyncStatusToJSON(value.syncStatus),
|
|
103
110
|
'commitHash': value.commitHash,
|
|
104
111
|
};
|
|
105
112
|
}
|
|
@@ -13,18 +13,18 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type { DatasetFile } from './DatasetFile';
|
|
17
|
-
import {
|
|
18
|
-
DatasetFileFromJSON,
|
|
19
|
-
DatasetFileFromJSONTyped,
|
|
20
|
-
DatasetFileToJSON,
|
|
21
|
-
} from './DatasetFile';
|
|
22
16
|
import type { DatasetViz } from './DatasetViz';
|
|
23
17
|
import {
|
|
24
18
|
DatasetVizFromJSON,
|
|
25
19
|
DatasetVizFromJSONTyped,
|
|
26
20
|
DatasetVizToJSON,
|
|
27
21
|
} from './DatasetViz';
|
|
22
|
+
import type { FileEntry } from './FileEntry';
|
|
23
|
+
import {
|
|
24
|
+
FileEntryFromJSON,
|
|
25
|
+
FileEntryFromJSONTyped,
|
|
26
|
+
FileEntryToJSON,
|
|
27
|
+
} from './FileEntry';
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
@@ -40,10 +40,10 @@ export interface DatasetAssetsManifest {
|
|
|
40
40
|
domain?: string;
|
|
41
41
|
/**
|
|
42
42
|
* List of files in the dataset, including metadata
|
|
43
|
-
* @type {Array<
|
|
43
|
+
* @type {Array<FileEntry>}
|
|
44
44
|
* @memberof DatasetAssetsManifest
|
|
45
45
|
*/
|
|
46
|
-
files?: Array<
|
|
46
|
+
files?: Array<FileEntry>;
|
|
47
47
|
/**
|
|
48
48
|
* List of viz to render for the dataset
|
|
49
49
|
* @type {Array<DatasetViz>}
|
|
@@ -72,7 +72,7 @@ export function DatasetAssetsManifestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
72
72
|
return {
|
|
73
73
|
|
|
74
74
|
'domain': !exists(json, 'domain') ? undefined : json['domain'],
|
|
75
|
-
'files': !exists(json, 'files') ? undefined : ((json['files'] as Array<any>).map(
|
|
75
|
+
'files': !exists(json, 'files') ? undefined : ((json['files'] as Array<any>).map(FileEntryFromJSON)),
|
|
76
76
|
'viz': !exists(json, 'viz') ? undefined : ((json['viz'] as Array<any>).map(DatasetVizFromJSON)),
|
|
77
77
|
};
|
|
78
78
|
}
|
|
@@ -87,7 +87,7 @@ export function DatasetAssetsManifestToJSON(value?: DatasetAssetsManifest | null
|
|
|
87
87
|
return {
|
|
88
88
|
|
|
89
89
|
'domain': value.domain,
|
|
90
|
-
'files': value.files === undefined ? undefined : ((value.files as Array<any>).map(
|
|
90
|
+
'files': value.files === undefined ? undefined : ((value.files as Array<any>).map(FileEntryToJSON)),
|
|
91
91
|
'viz': value.viz === undefined ? undefined : ((value.viz as Array<any>).map(DatasetVizToJSON)),
|
|
92
92
|
};
|
|
93
93
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ErrorMessage
|
|
20
|
+
*/
|
|
21
|
+
export interface ErrorMessage {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ErrorMessage
|
|
26
|
+
*/
|
|
27
|
+
message: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ErrorMessage interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfErrorMessage(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
isInstance = isInstance && "message" in value;
|
|
36
|
+
|
|
37
|
+
return isInstance;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function ErrorMessageFromJSON(json: any): ErrorMessage {
|
|
41
|
+
return ErrorMessageFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function ErrorMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorMessage {
|
|
45
|
+
if ((json === undefined) || (json === null)) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
|
|
50
|
+
'message': json['message'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function ErrorMessageToJSON(value?: ErrorMessage | null): any {
|
|
55
|
+
if (value === undefined) {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
if (value === null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'message': value.message,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|