@cirrobio/api-client 0.1.30 → 0.2.1
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 +22 -0
- package/README.md +1 -1
- package/dist/apis/FileApi.d.ts +14 -0
- package/dist/apis/FileApi.js +60 -0
- package/dist/apis/GovernanceApi.d.ts +127 -1
- package/dist/apis/GovernanceApi.js +555 -1
- package/dist/apis/SharingApi.d.ts +131 -0
- package/dist/apis/SharingApi.js +545 -0
- package/dist/apis/ToolsApi.d.ts +31 -0
- package/dist/apis/ToolsApi.js +137 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AccessType.d.ts +3 -1
- package/dist/models/AccessType.js +2 -0
- package/dist/models/ClassificationInput.d.ts +6 -0
- package/dist/models/ClassificationInput.js +3 -0
- package/dist/models/ContactInput.d.ts +55 -0
- package/dist/models/ContactInput.js +62 -0
- package/dist/models/DatasetCondition.d.ts +38 -0
- package/dist/models/DatasetCondition.js +54 -0
- package/dist/models/DatasetConditionField.d.ts +24 -0
- package/dist/models/DatasetConditionField.js +39 -0
- package/dist/models/GovernanceClassification.d.ts +6 -0
- package/dist/models/GovernanceClassification.js +3 -0
- package/dist/models/GovernanceContact.d.ts +61 -0
- package/dist/models/GovernanceContact.js +65 -0
- package/dist/models/GovernanceExpiry.d.ts +44 -0
- package/dist/models/GovernanceExpiry.js +55 -0
- package/dist/models/GovernanceExpiryType.d.ts +25 -0
- package/dist/models/GovernanceExpiryType.js +40 -0
- package/dist/models/GovernanceFile.d.ts +50 -0
- package/dist/models/GovernanceFile.js +57 -0
- package/dist/models/GovernanceFileType.d.ts +23 -0
- package/dist/models/GovernanceFileType.js +38 -0
- package/dist/models/GovernanceRequirement.d.ts +108 -0
- package/dist/models/GovernanceRequirement.js +81 -0
- package/dist/models/GovernanceRequirementFile.d.ts +50 -0
- package/dist/models/GovernanceRequirementFile.js +57 -0
- package/dist/models/GovernanceScope.d.ts +23 -0
- package/dist/models/GovernanceScope.js +38 -0
- package/dist/models/GovernanceTrainingVerification.d.ts +23 -0
- package/dist/models/GovernanceTrainingVerification.js +38 -0
- package/dist/models/GovernanceType.d.ts +26 -0
- package/dist/models/GovernanceType.js +41 -0
- package/dist/models/MoveDatasetInput.d.ts +43 -0
- package/dist/models/MoveDatasetInput.js +56 -0
- package/dist/models/MoveDatasetResponse.d.ts +43 -0
- package/dist/models/MoveDatasetResponse.js +56 -0
- package/dist/models/NamedItem.d.ts +37 -0
- package/dist/models/NamedItem.js +53 -0
- package/dist/models/ProjectSettings.d.ts +6 -0
- package/dist/models/ProjectSettings.js +2 -0
- package/dist/models/RequirementInput.d.ts +96 -0
- package/dist/models/RequirementInput.js +81 -0
- package/dist/models/Share.d.ts +86 -0
- package/dist/models/Share.js +78 -0
- package/dist/models/ShareDetail.d.ts +106 -0
- package/dist/models/ShareDetail.js +89 -0
- package/dist/models/ShareInput.d.ts +62 -0
- package/dist/models/ShareInput.js +65 -0
- package/dist/models/ShareType.d.ts +24 -0
- package/dist/models/ShareType.js +39 -0
- package/dist/models/index.d.ts +20 -0
- package/dist/models/index.js +20 -0
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/FileApi.ts +52 -0
- package/src/apis/GovernanceApi.ts +457 -1
- package/src/apis/SharingApi.ts +442 -0
- package/src/apis/ToolsApi.ts +80 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AccessType.ts +3 -1
- package/src/models/ClassificationInput.ts +9 -0
- package/src/models/ContactInput.ts +102 -0
- package/src/models/DatasetCondition.ts +82 -0
- package/src/models/DatasetConditionField.ts +38 -0
- package/src/models/GovernanceClassification.ts +9 -0
- package/src/models/GovernanceContact.ts +111 -0
- package/src/models/GovernanceExpiry.ts +88 -0
- package/src/models/GovernanceExpiryType.ts +39 -0
- package/src/models/GovernanceFile.ts +96 -0
- package/src/models/GovernanceFileType.ts +37 -0
- package/src/models/GovernanceRequirement.ts +194 -0
- package/src/models/GovernanceRequirementFile.ts +96 -0
- package/src/models/GovernanceScope.ts +37 -0
- package/src/models/GovernanceTrainingVerification.ts +37 -0
- package/src/models/GovernanceType.ts +40 -0
- package/src/models/MoveDatasetInput.ts +84 -0
- package/src/models/MoveDatasetResponse.ts +84 -0
- package/src/models/NamedItem.ts +75 -0
- package/src/models/ProjectSettings.ts +8 -0
- package/src/models/RequirementInput.ts +182 -0
- package/src/models/Share.ts +154 -0
- package/src/models/ShareDetail.ts +193 -0
- package/src/models/ShareInput.ts +116 -0
- package/src/models/ShareType.ts +38 -0
- package/src/models/index.ts +20 -0
- package/src/runtime.ts +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
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.GovernanceRequirementFileToJSON = exports.GovernanceRequirementFileFromJSONTyped = exports.GovernanceRequirementFileFromJSON = exports.instanceOfGovernanceRequirementFile = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var GovernanceFileType_1 = require("./GovernanceFileType");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the GovernanceRequirementFile interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfGovernanceRequirementFile(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfGovernanceRequirementFile = instanceOfGovernanceRequirementFile;
|
|
27
|
+
function GovernanceRequirementFileFromJSON(json) {
|
|
28
|
+
return GovernanceRequirementFileFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.GovernanceRequirementFileFromJSON = GovernanceRequirementFileFromJSON;
|
|
31
|
+
function GovernanceRequirementFileFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
37
|
+
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
38
|
+
'src': !(0, runtime_1.exists)(json, 'src') ? undefined : json['src'],
|
|
39
|
+
'type': !(0, runtime_1.exists)(json, 'type') ? undefined : (0, GovernanceFileType_1.GovernanceFileTypeFromJSON)(json['type']),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.GovernanceRequirementFileFromJSONTyped = GovernanceRequirementFileFromJSONTyped;
|
|
43
|
+
function GovernanceRequirementFileToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'name': value.name,
|
|
52
|
+
'description': value.description,
|
|
53
|
+
'src': value.src,
|
|
54
|
+
'type': (0, GovernanceFileType_1.GovernanceFileTypeToJSON)(value.type),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
exports.GovernanceRequirementFileToJSON = GovernanceRequirementFileToJSON;
|
|
@@ -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
|
+
* The levels at which governance requirements can be enforced
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum GovernanceScope {
|
|
18
|
+
Tenant = "TENANT",
|
|
19
|
+
Project = "PROJECT"
|
|
20
|
+
}
|
|
21
|
+
export declare function GovernanceScopeFromJSON(json: any): GovernanceScope;
|
|
22
|
+
export declare function GovernanceScopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): GovernanceScope;
|
|
23
|
+
export declare function GovernanceScopeToJSON(value?: GovernanceScope | 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.GovernanceScopeToJSON = exports.GovernanceScopeFromJSONTyped = exports.GovernanceScopeFromJSON = exports.GovernanceScope = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The levels at which governance requirements can be enforced
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var GovernanceScope;
|
|
23
|
+
(function (GovernanceScope) {
|
|
24
|
+
GovernanceScope["Tenant"] = "TENANT";
|
|
25
|
+
GovernanceScope["Project"] = "PROJECT";
|
|
26
|
+
})(GovernanceScope = exports.GovernanceScope || (exports.GovernanceScope = {}));
|
|
27
|
+
function GovernanceScopeFromJSON(json) {
|
|
28
|
+
return GovernanceScopeFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.GovernanceScopeFromJSON = GovernanceScopeFromJSON;
|
|
31
|
+
function GovernanceScopeFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
exports.GovernanceScopeFromJSONTyped = GovernanceScopeFromJSONTyped;
|
|
35
|
+
function GovernanceScopeToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
exports.GovernanceScopeToJSON = GovernanceScopeToJSON;
|
|
@@ -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
|
+
* The ways in which the completion of training can be verified.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum GovernanceTrainingVerification {
|
|
18
|
+
Self = "SELF",
|
|
19
|
+
Certificate = "CERTIFICATE"
|
|
20
|
+
}
|
|
21
|
+
export declare function GovernanceTrainingVerificationFromJSON(json: any): GovernanceTrainingVerification;
|
|
22
|
+
export declare function GovernanceTrainingVerificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): GovernanceTrainingVerification;
|
|
23
|
+
export declare function GovernanceTrainingVerificationToJSON(value?: GovernanceTrainingVerification | 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.GovernanceTrainingVerificationToJSON = exports.GovernanceTrainingVerificationFromJSONTyped = exports.GovernanceTrainingVerificationFromJSON = exports.GovernanceTrainingVerification = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The ways in which the completion of training can be verified.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var GovernanceTrainingVerification;
|
|
23
|
+
(function (GovernanceTrainingVerification) {
|
|
24
|
+
GovernanceTrainingVerification["Self"] = "SELF";
|
|
25
|
+
GovernanceTrainingVerification["Certificate"] = "CERTIFICATE";
|
|
26
|
+
})(GovernanceTrainingVerification = exports.GovernanceTrainingVerification || (exports.GovernanceTrainingVerification = {}));
|
|
27
|
+
function GovernanceTrainingVerificationFromJSON(json) {
|
|
28
|
+
return GovernanceTrainingVerificationFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.GovernanceTrainingVerificationFromJSON = GovernanceTrainingVerificationFromJSON;
|
|
31
|
+
function GovernanceTrainingVerificationFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
exports.GovernanceTrainingVerificationFromJSONTyped = GovernanceTrainingVerificationFromJSONTyped;
|
|
35
|
+
function GovernanceTrainingVerificationToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
exports.GovernanceTrainingVerificationToJSON = GovernanceTrainingVerificationToJSON;
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* The types of governance requirements that can be enforced
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum GovernanceType {
|
|
18
|
+
Document = "DOCUMENT",
|
|
19
|
+
Agreement = "AGREEMENT",
|
|
20
|
+
Training = "TRAINING",
|
|
21
|
+
Contact = "CONTACT",
|
|
22
|
+
Classification = "CLASSIFICATION"
|
|
23
|
+
}
|
|
24
|
+
export declare function GovernanceTypeFromJSON(json: any): GovernanceType;
|
|
25
|
+
export declare function GovernanceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): GovernanceType;
|
|
26
|
+
export declare function GovernanceTypeToJSON(value?: GovernanceType | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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.GovernanceTypeToJSON = exports.GovernanceTypeFromJSONTyped = exports.GovernanceTypeFromJSON = exports.GovernanceType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The types of governance requirements that can be enforced
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var GovernanceType;
|
|
23
|
+
(function (GovernanceType) {
|
|
24
|
+
GovernanceType["Document"] = "DOCUMENT";
|
|
25
|
+
GovernanceType["Agreement"] = "AGREEMENT";
|
|
26
|
+
GovernanceType["Training"] = "TRAINING";
|
|
27
|
+
GovernanceType["Contact"] = "CONTACT";
|
|
28
|
+
GovernanceType["Classification"] = "CLASSIFICATION";
|
|
29
|
+
})(GovernanceType = exports.GovernanceType || (exports.GovernanceType = {}));
|
|
30
|
+
function GovernanceTypeFromJSON(json) {
|
|
31
|
+
return GovernanceTypeFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.GovernanceTypeFromJSON = GovernanceTypeFromJSON;
|
|
34
|
+
function GovernanceTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
exports.GovernanceTypeFromJSONTyped = GovernanceTypeFromJSONTyped;
|
|
38
|
+
function GovernanceTypeToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
exports.GovernanceTypeToJSON = GovernanceTypeToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 MoveDatasetInput
|
|
16
|
+
*/
|
|
17
|
+
export interface MoveDatasetInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MoveDatasetInput
|
|
22
|
+
*/
|
|
23
|
+
datasetId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MoveDatasetInput
|
|
28
|
+
*/
|
|
29
|
+
sourceProjectId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MoveDatasetInput
|
|
34
|
+
*/
|
|
35
|
+
targetProjectId: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the MoveDatasetInput interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfMoveDatasetInput(value: object): boolean;
|
|
41
|
+
export declare function MoveDatasetInputFromJSON(json: any): MoveDatasetInput;
|
|
42
|
+
export declare function MoveDatasetInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoveDatasetInput;
|
|
43
|
+
export declare function MoveDatasetInputToJSON(value?: MoveDatasetInput | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.MoveDatasetInputToJSON = exports.MoveDatasetInputFromJSONTyped = exports.MoveDatasetInputFromJSON = exports.instanceOfMoveDatasetInput = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the MoveDatasetInput interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfMoveDatasetInput(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "datasetId" in value;
|
|
23
|
+
isInstance = isInstance && "sourceProjectId" in value;
|
|
24
|
+
isInstance = isInstance && "targetProjectId" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfMoveDatasetInput = instanceOfMoveDatasetInput;
|
|
28
|
+
function MoveDatasetInputFromJSON(json) {
|
|
29
|
+
return MoveDatasetInputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.MoveDatasetInputFromJSON = MoveDatasetInputFromJSON;
|
|
32
|
+
function MoveDatasetInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'datasetId': json['datasetId'],
|
|
38
|
+
'sourceProjectId': json['sourceProjectId'],
|
|
39
|
+
'targetProjectId': json['targetProjectId'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.MoveDatasetInputFromJSONTyped = MoveDatasetInputFromJSONTyped;
|
|
43
|
+
function MoveDatasetInputToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'datasetId': value.datasetId,
|
|
52
|
+
'sourceProjectId': value.sourceProjectId,
|
|
53
|
+
'targetProjectId': value.targetProjectId,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.MoveDatasetInputToJSON = MoveDatasetInputToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 MoveDatasetResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface MoveDatasetResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MoveDatasetResponse
|
|
22
|
+
*/
|
|
23
|
+
s3CopyCommand: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MoveDatasetResponse
|
|
28
|
+
*/
|
|
29
|
+
s3DeleteCommand: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof MoveDatasetResponse
|
|
34
|
+
*/
|
|
35
|
+
samplesNotMoved: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the MoveDatasetResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfMoveDatasetResponse(value: object): boolean;
|
|
41
|
+
export declare function MoveDatasetResponseFromJSON(json: any): MoveDatasetResponse;
|
|
42
|
+
export declare function MoveDatasetResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoveDatasetResponse;
|
|
43
|
+
export declare function MoveDatasetResponseToJSON(value?: MoveDatasetResponse | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.MoveDatasetResponseToJSON = exports.MoveDatasetResponseFromJSONTyped = exports.MoveDatasetResponseFromJSON = exports.instanceOfMoveDatasetResponse = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the MoveDatasetResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfMoveDatasetResponse(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "s3CopyCommand" in value;
|
|
23
|
+
isInstance = isInstance && "s3DeleteCommand" in value;
|
|
24
|
+
isInstance = isInstance && "samplesNotMoved" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfMoveDatasetResponse = instanceOfMoveDatasetResponse;
|
|
28
|
+
function MoveDatasetResponseFromJSON(json) {
|
|
29
|
+
return MoveDatasetResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.MoveDatasetResponseFromJSON = MoveDatasetResponseFromJSON;
|
|
32
|
+
function MoveDatasetResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
's3CopyCommand': json['s3CopyCommand'],
|
|
38
|
+
's3DeleteCommand': json['s3DeleteCommand'],
|
|
39
|
+
'samplesNotMoved': json['samplesNotMoved'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.MoveDatasetResponseFromJSONTyped = MoveDatasetResponseFromJSONTyped;
|
|
43
|
+
function MoveDatasetResponseToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
's3CopyCommand': value.s3CopyCommand,
|
|
52
|
+
's3DeleteCommand': value.s3DeleteCommand,
|
|
53
|
+
'samplesNotMoved': value.samplesNotMoved,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.MoveDatasetResponseToJSON = MoveDatasetResponseToJSON;
|
|
@@ -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 NamedItem
|
|
16
|
+
*/
|
|
17
|
+
export interface NamedItem {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NamedItem
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NamedItem
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the NamedItem interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfNamedItem(value: object): boolean;
|
|
35
|
+
export declare function NamedItemFromJSON(json: any): NamedItem;
|
|
36
|
+
export declare function NamedItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): NamedItem;
|
|
37
|
+
export declare function NamedItemToJSON(value?: NamedItem | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.NamedItemToJSON = exports.NamedItemFromJSONTyped = exports.NamedItemFromJSON = exports.instanceOfNamedItem = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the NamedItem interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfNamedItem(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "id" in value;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfNamedItem = instanceOfNamedItem;
|
|
27
|
+
function NamedItemFromJSON(json) {
|
|
28
|
+
return NamedItemFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.NamedItemFromJSON = NamedItemFromJSON;
|
|
31
|
+
function NamedItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.NamedItemFromJSONTyped = NamedItemFromJSONTyped;
|
|
41
|
+
function NamedItemToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': value.id,
|
|
50
|
+
'name': value.name,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.NamedItemToJSON = NamedItemToJSON;
|
|
@@ -118,6 +118,12 @@ export interface ProjectSettings {
|
|
|
118
118
|
* @memberof ProjectSettings
|
|
119
119
|
*/
|
|
120
120
|
isDiscoverable?: boolean | null;
|
|
121
|
+
/**
|
|
122
|
+
* Enables the project to be shared with other projects
|
|
123
|
+
* @type {boolean}
|
|
124
|
+
* @memberof ProjectSettings
|
|
125
|
+
*/
|
|
126
|
+
isShareable?: boolean | null;
|
|
121
127
|
}
|
|
122
128
|
/**
|
|
123
129
|
* Check if a given object implements the ProjectSettings interface.
|
|
@@ -52,6 +52,7 @@ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
'sagemakerSubnets': !(0, runtime_1.exists)(json, 'sagemakerSubnets') ? undefined : json['sagemakerSubnets'],
|
|
53
53
|
'kmsArn': !(0, runtime_1.exists)(json, 'kmsArn') ? undefined : json['kmsArn'],
|
|
54
54
|
'isDiscoverable': !(0, runtime_1.exists)(json, 'isDiscoverable') ? undefined : json['isDiscoverable'],
|
|
55
|
+
'isShareable': !(0, runtime_1.exists)(json, 'isShareable') ? undefined : json['isShareable'],
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
exports.ProjectSettingsFromJSONTyped = ProjectSettingsFromJSONTyped;
|
|
@@ -80,6 +81,7 @@ function ProjectSettingsToJSON(value) {
|
|
|
80
81
|
'sagemakerSubnets': value.sagemakerSubnets,
|
|
81
82
|
'kmsArn': value.kmsArn,
|
|
82
83
|
'isDiscoverable': value.isDiscoverable,
|
|
84
|
+
'isShareable': value.isShareable,
|
|
83
85
|
};
|
|
84
86
|
}
|
|
85
87
|
exports.ProjectSettingsToJSON = ProjectSettingsToJSON;
|
|
@@ -0,0 +1,96 @@
|
|
|
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 { GovernanceExpiry } from './GovernanceExpiry';
|
|
13
|
+
import type { GovernanceFile } from './GovernanceFile';
|
|
14
|
+
import type { GovernanceScope } from './GovernanceScope';
|
|
15
|
+
import type { GovernanceTrainingVerification } from './GovernanceTrainingVerification';
|
|
16
|
+
import type { GovernanceType } from './GovernanceType';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface RequirementInput
|
|
21
|
+
*/
|
|
22
|
+
export interface RequirementInput {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RequirementInput
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof RequirementInput
|
|
33
|
+
*/
|
|
34
|
+
description: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {GovernanceType}
|
|
38
|
+
* @memberof RequirementInput
|
|
39
|
+
*/
|
|
40
|
+
type: GovernanceType;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {GovernanceScope}
|
|
44
|
+
* @memberof RequirementInput
|
|
45
|
+
*/
|
|
46
|
+
scope: GovernanceScope;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {GovernanceScope}
|
|
50
|
+
* @memberof RequirementInput
|
|
51
|
+
*/
|
|
52
|
+
acceptance: GovernanceScope;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Array<string>}
|
|
56
|
+
* @memberof RequirementInput
|
|
57
|
+
*/
|
|
58
|
+
contactIds?: Array<string> | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {GovernanceExpiry}
|
|
62
|
+
* @memberof RequirementInput
|
|
63
|
+
*/
|
|
64
|
+
expiration: GovernanceExpiry;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Array<GovernanceFile>}
|
|
68
|
+
* @memberof RequirementInput
|
|
69
|
+
*/
|
|
70
|
+
supplementalDocs?: Array<GovernanceFile> | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {GovernanceFile}
|
|
74
|
+
* @memberof RequirementInput
|
|
75
|
+
*/
|
|
76
|
+
file?: GovernanceFile | null;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {GovernanceScope}
|
|
80
|
+
* @memberof RequirementInput
|
|
81
|
+
*/
|
|
82
|
+
authorship?: GovernanceScope | null;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {GovernanceTrainingVerification}
|
|
86
|
+
* @memberof RequirementInput
|
|
87
|
+
*/
|
|
88
|
+
verification?: GovernanceTrainingVerification | null;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the RequirementInput interface.
|
|
92
|
+
*/
|
|
93
|
+
export declare function instanceOfRequirementInput(value: object): boolean;
|
|
94
|
+
export declare function RequirementInputFromJSON(json: any): RequirementInput;
|
|
95
|
+
export declare function RequirementInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequirementInput;
|
|
96
|
+
export declare function RequirementInputToJSON(value?: RequirementInput | null): any;
|