@cirrobio/api-client 0.4.3 → 0.9.0
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 +1 -0
- package/README.md +1 -1
- package/package.json +4 -2
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +1 -5
- package/dist/apis/AuditApi.d.ts +0 -60
- package/dist/apis/AuditApi.js +0 -194
- package/dist/apis/BillingApi.d.ts +0 -71
- package/dist/apis/BillingApi.js +0 -304
- package/dist/apis/ComputeEnvironmentApi.d.ts +0 -124
- package/dist/apis/ComputeEnvironmentApi.js +0 -532
- package/dist/apis/DashboardsApi.d.ts +0 -88
- package/dist/apis/DashboardsApi.js +0 -374
- package/dist/apis/DatasetsApi.d.ts +0 -162
- package/dist/apis/DatasetsApi.js +0 -670
- package/dist/apis/ExecutionApi.d.ts +0 -110
- package/dist/apis/ExecutionApi.js +0 -442
- package/dist/apis/FileApi.d.ts +0 -60
- package/dist/apis/FileApi.js +0 -260
- package/dist/apis/GovernanceApi.d.ts +0 -253
- package/dist/apis/GovernanceApi.js +0 -1094
- package/dist/apis/MetadataApi.d.ts +0 -85
- package/dist/apis/MetadataApi.js +0 -371
- package/dist/apis/MetricsApi.d.ts +0 -41
- package/dist/apis/MetricsApi.js +0 -187
- package/dist/apis/NotebooksApi.d.ts +0 -101
- package/dist/apis/NotebooksApi.js +0 -423
- package/dist/apis/ProcessesApi.d.ts +0 -138
- package/dist/apis/ProcessesApi.js +0 -589
- package/dist/apis/ProjectRequestsApi.d.ts +0 -31
- package/dist/apis/ProjectRequestsApi.js +0 -137
- package/dist/apis/ProjectsApi.d.ts +0 -225
- package/dist/apis/ProjectsApi.js +0 -973
- package/dist/apis/ReferencesApi.d.ts +0 -91
- package/dist/apis/ReferencesApi.js +0 -405
- package/dist/apis/SharingApi.d.ts +0 -145
- package/dist/apis/SharingApi.js +0 -601
- package/dist/apis/SystemApi.d.ts +0 -36
- package/dist/apis/SystemApi.js +0 -182
- package/dist/apis/ToolsApi.d.ts +0 -31
- package/dist/apis/ToolsApi.js +0 -137
- package/dist/apis/UsersApi.d.ts +0 -86
- package/dist/apis/UsersApi.js +0 -367
- package/dist/apis/index.d.ts +0 -19
- package/dist/apis/index.js +0 -37
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -21
- package/dist/models/AWSCredentials.d.ts +0 -55
- package/dist/models/AWSCredentials.js +0 -62
- package/dist/models/Agent.d.ts +0 -52
- package/dist/models/Agent.js +0 -58
- package/dist/models/AgentDetail.d.ts +0 -91
- package/dist/models/AgentDetail.js +0 -77
- package/dist/models/AgentInput.d.ts +0 -67
- package/dist/models/AgentInput.js +0 -62
- package/dist/models/AgentRegistration.d.ts +0 -55
- package/dist/models/AgentRegistration.js +0 -62
- package/dist/models/AgentStatus.d.ts +0 -23
- package/dist/models/AgentStatus.js +0 -38
- package/dist/models/AllowedDataType.d.ts +0 -44
- package/dist/models/AllowedDataType.js +0 -57
- package/dist/models/ApproveAccessRequest.d.ts +0 -32
- package/dist/models/ApproveAccessRequest.js +0 -51
- package/dist/models/ApproveProjectAccessRequest.d.ts +0 -32
- package/dist/models/ApproveProjectAccessRequest.js +0 -51
- package/dist/models/Artifact.d.ts +0 -38
- package/dist/models/Artifact.js +0 -54
- package/dist/models/ArtifactType.d.ts +0 -34
- package/dist/models/ArtifactType.js +0 -49
- package/dist/models/AuditEvent.d.ts +0 -89
- package/dist/models/AuditEvent.js +0 -68
- package/dist/models/AuthInfo.d.ts +0 -55
- package/dist/models/AuthInfo.js +0 -62
- package/dist/models/BillingAccount.d.ts +0 -88
- package/dist/models/BillingAccount.js +0 -80
- package/dist/models/BillingAccountRequest.d.ts +0 -70
- package/dist/models/BillingAccountRequest.js +0 -71
- package/dist/models/BillingMethod.d.ts +0 -24
- package/dist/models/BillingMethod.js +0 -39
- package/dist/models/BudgetPeriod.d.ts +0 -24
- package/dist/models/BudgetPeriod.js +0 -39
- package/dist/models/ClassificationInput.d.ts +0 -43
- package/dist/models/ClassificationInput.js +0 -56
- package/dist/models/CloudAccount.d.ts +0 -50
- package/dist/models/CloudAccount.js +0 -58
- package/dist/models/CloudAccountType.d.ts +0 -23
- package/dist/models/CloudAccountType.js +0 -38
- package/dist/models/ColumnDefinition.d.ts +0 -43
- package/dist/models/ColumnDefinition.js +0 -54
- package/dist/models/ComputeEnvironmentConfiguration.d.ts +0 -77
- package/dist/models/ComputeEnvironmentConfiguration.js +0 -69
- package/dist/models/ComputeEnvironmentConfigurationInput.d.ts +0 -45
- package/dist/models/ComputeEnvironmentConfigurationInput.js +0 -55
- package/dist/models/Contact.d.ts +0 -49
- package/dist/models/Contact.js +0 -59
- package/dist/models/ContactInput.d.ts +0 -55
- package/dist/models/ContactInput.js +0 -62
- package/dist/models/CreateNotebookInstanceRequest.d.ts +0 -61
- package/dist/models/CreateNotebookInstanceRequest.js +0 -64
- package/dist/models/CreateProjectAccessRequest.d.ts +0 -38
- package/dist/models/CreateProjectAccessRequest.js +0 -54
- package/dist/models/CreateReferenceRequest.d.ts +0 -49
- package/dist/models/CreateReferenceRequest.js +0 -59
- package/dist/models/CreateResponse.d.ts +0 -37
- package/dist/models/CreateResponse.js +0 -53
- package/dist/models/CustomPipelineSettings.d.ts +0 -75
- package/dist/models/CustomPipelineSettings.js +0 -67
- package/dist/models/CustomProcessInput.d.ts +0 -131
- package/dist/models/CustomProcessInput.js +0 -93
- package/dist/models/CustomerType.d.ts +0 -24
- package/dist/models/CustomerType.js +0 -39
- package/dist/models/Dashboard.d.ts +0 -83
- package/dist/models/Dashboard.js +0 -74
- package/dist/models/DashboardRequest.d.ts +0 -59
- package/dist/models/DashboardRequest.js +0 -62
- package/dist/models/DataFile.d.ts +0 -39
- package/dist/models/DataFile.js +0 -53
- package/dist/models/Dataset.d.ts +0 -93
- package/dist/models/Dataset.js +0 -82
- package/dist/models/DatasetAssetsManifest.d.ts +0 -65
- package/dist/models/DatasetAssetsManifest.js +0 -64
- package/dist/models/DatasetCondition.d.ts +0 -38
- package/dist/models/DatasetCondition.js +0 -54
- package/dist/models/DatasetConditionField.d.ts +0 -25
- package/dist/models/DatasetConditionField.js +0 -40
- package/dist/models/DatasetDetail.d.ts +0 -146
- package/dist/models/DatasetDetail.js +0 -107
- package/dist/models/DatasetViz.d.ts +0 -55
- package/dist/models/DatasetViz.js +0 -58
- package/dist/models/EnvironmentType.d.ts +0 -25
- package/dist/models/EnvironmentType.js +0 -40
- package/dist/models/ErrorMessage.d.ts +0 -31
- package/dist/models/ErrorMessage.js +0 -50
- package/dist/models/Executor.d.ts +0 -25
- package/dist/models/Executor.js +0 -40
- package/dist/models/FeatureFlags.d.ts +0 -43
- package/dist/models/FeatureFlags.js +0 -56
- package/dist/models/FileEntry.d.ts +0 -45
- package/dist/models/FileEntry.js +0 -54
- package/dist/models/FileMappingRule.d.ts +0 -56
- package/dist/models/FileMappingRule.js +0 -61
- package/dist/models/FileNamePattern.d.ts +0 -43
- package/dist/models/FileNamePattern.js +0 -56
- package/dist/models/FileRequirements.d.ts +0 -44
- package/dist/models/FileRequirements.js +0 -57
- package/dist/models/FormSchema.d.ts +0 -41
- package/dist/models/FormSchema.js +0 -52
- package/dist/models/FulfillmentResponse.d.ts +0 -37
- package/dist/models/FulfillmentResponse.js +0 -53
- package/dist/models/GenerateSftpCredentialsRequest.d.ts +0 -31
- package/dist/models/GenerateSftpCredentialsRequest.js +0 -50
- package/dist/models/GetExecutionLogsResponse.d.ts +0 -32
- package/dist/models/GetExecutionLogsResponse.js +0 -51
- package/dist/models/GovernanceAccessType.d.ts +0 -25
- package/dist/models/GovernanceAccessType.js +0 -40
- package/dist/models/GovernanceClassification.d.ts +0 -67
- package/dist/models/GovernanceClassification.js +0 -68
- package/dist/models/GovernanceContact.d.ts +0 -79
- package/dist/models/GovernanceContact.js +0 -74
- package/dist/models/GovernanceExpiry.d.ts +0 -44
- package/dist/models/GovernanceExpiry.js +0 -55
- package/dist/models/GovernanceExpiryType.d.ts +0 -25
- package/dist/models/GovernanceExpiryType.js +0 -40
- package/dist/models/GovernanceFile.d.ts +0 -50
- package/dist/models/GovernanceFile.js +0 -57
- package/dist/models/GovernanceFileAccessRequest.d.ts +0 -50
- package/dist/models/GovernanceFileAccessRequest.js +0 -58
- package/dist/models/GovernanceFileInput.d.ts +0 -50
- package/dist/models/GovernanceFileInput.js +0 -60
- package/dist/models/GovernanceFileType.d.ts +0 -23
- package/dist/models/GovernanceFileType.js +0 -38
- package/dist/models/GovernanceRequirement.d.ts +0 -146
- package/dist/models/GovernanceRequirement.js +0 -102
- package/dist/models/GovernanceRequirementFile.d.ts +0 -50
- package/dist/models/GovernanceRequirementFile.js +0 -57
- package/dist/models/GovernanceScope.d.ts +0 -23
- package/dist/models/GovernanceScope.js +0 -38
- package/dist/models/GovernanceTrainingVerification.d.ts +0 -23
- package/dist/models/GovernanceTrainingVerification.js +0 -38
- package/dist/models/GovernanceType.d.ts +0 -24
- package/dist/models/GovernanceType.js +0 -39
- package/dist/models/ImportDataRequest.d.ts +0 -50
- package/dist/models/ImportDataRequest.js +0 -59
- package/dist/models/InviteUserRequest.d.ts +0 -43
- package/dist/models/InviteUserRequest.js +0 -56
- package/dist/models/InviteUserResponse.d.ts +0 -31
- package/dist/models/InviteUserResponse.js +0 -50
- package/dist/models/LogEntry.d.ts +0 -37
- package/dist/models/LogEntry.js +0 -53
- package/dist/models/LoginProvider.d.ts +0 -49
- package/dist/models/LoginProvider.js +0 -59
- package/dist/models/MetricRecord.d.ts +0 -45
- package/dist/models/MetricRecord.js +0 -55
- package/dist/models/MoveDatasetInput.d.ts +0 -43
- package/dist/models/MoveDatasetInput.js +0 -56
- package/dist/models/MoveDatasetResponse.d.ts +0 -43
- package/dist/models/MoveDatasetResponse.js +0 -56
- package/dist/models/NamedItem.d.ts +0 -37
- package/dist/models/NamedItem.js +0 -53
- package/dist/models/NotebookInstance.d.ts +0 -98
- package/dist/models/NotebookInstance.js +0 -84
- package/dist/models/NotebookInstanceStatusResponse.d.ts +0 -37
- package/dist/models/NotebookInstanceStatusResponse.js +0 -53
- package/dist/models/OpenNotebookInstanceResponse.d.ts +0 -37
- package/dist/models/OpenNotebookInstanceResponse.js +0 -53
- package/dist/models/PaginatedResponseDatasetListDto.d.ts +0 -38
- package/dist/models/PaginatedResponseDatasetListDto.js +0 -54
- package/dist/models/PaginatedResponseSampleDto.d.ts +0 -38
- package/dist/models/PaginatedResponseSampleDto.js +0 -54
- package/dist/models/PaginatedResponseUserDto.d.ts +0 -38
- package/dist/models/PaginatedResponseUserDto.js +0 -54
- package/dist/models/PipelineCode.d.ts +0 -50
- package/dist/models/PipelineCode.js +0 -60
- package/dist/models/PipelineCost.d.ts +0 -43
- package/dist/models/PipelineCost.js +0 -54
- package/dist/models/PortalErrorResponse.d.ts +0 -50
- package/dist/models/PortalErrorResponse.js +0 -60
- package/dist/models/Process.d.ts +0 -140
- package/dist/models/Process.js +0 -99
- package/dist/models/ProcessDetail.d.ts +0 -161
- package/dist/models/ProcessDetail.js +0 -108
- package/dist/models/Project.d.ts +0 -75
- package/dist/models/Project.js +0 -73
- package/dist/models/ProjectAccessRequest.d.ts +0 -81
- package/dist/models/ProjectAccessRequest.js +0 -76
- package/dist/models/ProjectAccessType.d.ts +0 -26
- package/dist/models/ProjectAccessType.js +0 -41
- package/dist/models/ProjectCreateOptions.d.ts +0 -56
- package/dist/models/ProjectCreateOptions.js +0 -63
- package/dist/models/ProjectDetail.d.ts +0 -120
- package/dist/models/ProjectDetail.js +0 -97
- package/dist/models/ProjectFileAccessRequest.d.ts +0 -44
- package/dist/models/ProjectFileAccessRequest.js +0 -56
- package/dist/models/ProjectInput.d.ts +0 -77
- package/dist/models/ProjectInput.js +0 -73
- package/dist/models/ProjectMetrics.d.ts +0 -44
- package/dist/models/ProjectMetrics.js +0 -56
- package/dist/models/ProjectRequest.d.ts +0 -61
- package/dist/models/ProjectRequest.js +0 -65
- package/dist/models/ProjectRequirement.d.ts +0 -163
- package/dist/models/ProjectRequirement.js +0 -107
- package/dist/models/ProjectRole.d.ts +0 -26
- package/dist/models/ProjectRole.js +0 -41
- package/dist/models/ProjectSettings.d.ts +0 -140
- package/dist/models/ProjectSettings.js +0 -89
- package/dist/models/ProjectUser.d.ts +0 -62
- package/dist/models/ProjectUser.js +0 -66
- package/dist/models/Reference.d.ts +0 -68
- package/dist/models/Reference.js +0 -69
- package/dist/models/ReferenceType.d.ts +0 -51
- package/dist/models/ReferenceType.js +0 -59
- package/dist/models/RepositoryType.d.ts +0 -25
- package/dist/models/RepositoryType.js +0 -40
- package/dist/models/RequestStatus.d.ts +0 -24
- package/dist/models/RequestStatus.js +0 -39
- package/dist/models/RequirementFulfillmentInput.d.ts +0 -37
- package/dist/models/RequirementFulfillmentInput.js +0 -52
- package/dist/models/RequirementInput.d.ts +0 -108
- package/dist/models/RequirementInput.js +0 -85
- package/dist/models/ResourcesInfo.d.ts +0 -49
- package/dist/models/ResourcesInfo.js +0 -59
- package/dist/models/RunAnalysisRequest.d.ts +0 -81
- package/dist/models/RunAnalysisRequest.js +0 -71
- package/dist/models/Sample.d.ts +0 -70
- package/dist/models/Sample.js +0 -65
- package/dist/models/SampleRequest.d.ts +0 -39
- package/dist/models/SampleRequest.js +0 -53
- package/dist/models/ServiceConnection.d.ts +0 -37
- package/dist/models/ServiceConnection.js +0 -53
- package/dist/models/SetUserProjectRoleRequest.d.ts +0 -44
- package/dist/models/SetUserProjectRoleRequest.js +0 -57
- package/dist/models/SftpCredentials.d.ts +0 -49
- package/dist/models/SftpCredentials.js +0 -59
- package/dist/models/Share.d.ts +0 -93
- package/dist/models/Share.js +0 -82
- package/dist/models/ShareDetail.d.ts +0 -112
- package/dist/models/ShareDetail.js +0 -92
- package/dist/models/ShareInput.d.ts +0 -68
- package/dist/models/ShareInput.js +0 -67
- package/dist/models/ShareType.d.ts +0 -24
- package/dist/models/ShareType.js +0 -39
- package/dist/models/Status.d.ts +0 -31
- package/dist/models/Status.js +0 -46
- package/dist/models/StopExecutionResponse.d.ts +0 -37
- package/dist/models/StopExecutionResponse.js +0 -52
- package/dist/models/SyncStatus.d.ts +0 -23
- package/dist/models/SyncStatus.js +0 -38
- package/dist/models/SystemInfoResponse.d.ts +0 -100
- package/dist/models/SystemInfoResponse.js +0 -86
- package/dist/models/Table.d.ts +0 -62
- package/dist/models/Table.js +0 -62
- package/dist/models/Tag.d.ts +0 -44
- package/dist/models/Tag.js +0 -55
- package/dist/models/Task.d.ts +0 -79
- package/dist/models/Task.js +0 -70
- package/dist/models/TenantInfo.d.ts +0 -87
- package/dist/models/TenantInfo.js +0 -79
- package/dist/models/UpdateDatasetRequest.d.ts +0 -50
- package/dist/models/UpdateDatasetRequest.js +0 -60
- package/dist/models/UpdateUserRequest.d.ts +0 -74
- package/dist/models/UpdateUserRequest.js +0 -67
- package/dist/models/UploadDatasetCreateResponse.d.ts +0 -49
- package/dist/models/UploadDatasetCreateResponse.js +0 -59
- package/dist/models/UploadDatasetRequest.d.ts +0 -56
- package/dist/models/UploadDatasetRequest.js +0 -62
- package/dist/models/User.d.ts +0 -49
- package/dist/models/User.js +0 -59
- package/dist/models/UserDetail.d.ts +0 -99
- package/dist/models/UserDetail.js +0 -85
- package/dist/models/UserProjectAssignment.d.ts +0 -50
- package/dist/models/UserProjectAssignment.js +0 -60
- package/dist/models/UserSettings.d.ts +0 -32
- package/dist/models/UserSettings.js +0 -57
- package/dist/models/ValidateFileRequirementsRequest.d.ts +0 -37
- package/dist/models/ValidateFileRequirementsRequest.js +0 -53
- package/dist/models/index.d.ts +0 -132
- package/dist/models/index.js +0 -150
- package/dist/runtime.d.ts +0 -182
- package/dist/runtime.js +0 -562
|
@@ -1,56 +0,0 @@
|
|
|
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 { CloudAccountType } from './CloudAccountType';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProjectCreateOptions
|
|
17
|
-
*/
|
|
18
|
-
export interface ProjectCreateOptions {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<CloudAccountType>}
|
|
22
|
-
* @memberof ProjectCreateOptions
|
|
23
|
-
*/
|
|
24
|
-
enabledAccountTypes: Array<CloudAccountType>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ProjectCreateOptions
|
|
29
|
-
*/
|
|
30
|
-
portalAccountId: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ProjectCreateOptions
|
|
35
|
-
*/
|
|
36
|
-
portalRegion: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof ProjectCreateOptions
|
|
41
|
-
*/
|
|
42
|
-
templateUrl: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ProjectCreateOptions
|
|
47
|
-
*/
|
|
48
|
-
wizardUrl: string;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the ProjectCreateOptions interface.
|
|
52
|
-
*/
|
|
53
|
-
export declare function instanceOfProjectCreateOptions(value: object): boolean;
|
|
54
|
-
export declare function ProjectCreateOptionsFromJSON(json: any): ProjectCreateOptions;
|
|
55
|
-
export declare function ProjectCreateOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectCreateOptions;
|
|
56
|
-
export declare function ProjectCreateOptionsToJSON(value?: ProjectCreateOptions | null): any;
|
|
@@ -1,63 +0,0 @@
|
|
|
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.ProjectCreateOptionsToJSON = exports.ProjectCreateOptionsFromJSONTyped = exports.ProjectCreateOptionsFromJSON = exports.instanceOfProjectCreateOptions = void 0;
|
|
17
|
-
var CloudAccountType_1 = require("./CloudAccountType");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the ProjectCreateOptions interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfProjectCreateOptions(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "enabledAccountTypes" in value;
|
|
24
|
-
isInstance = isInstance && "portalAccountId" in value;
|
|
25
|
-
isInstance = isInstance && "portalRegion" in value;
|
|
26
|
-
isInstance = isInstance && "templateUrl" in value;
|
|
27
|
-
isInstance = isInstance && "wizardUrl" in value;
|
|
28
|
-
return isInstance;
|
|
29
|
-
}
|
|
30
|
-
exports.instanceOfProjectCreateOptions = instanceOfProjectCreateOptions;
|
|
31
|
-
function ProjectCreateOptionsFromJSON(json) {
|
|
32
|
-
return ProjectCreateOptionsFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
exports.ProjectCreateOptionsFromJSON = ProjectCreateOptionsFromJSON;
|
|
35
|
-
function ProjectCreateOptionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if ((json === undefined) || (json === null)) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'enabledAccountTypes': (json['enabledAccountTypes'].map(CloudAccountType_1.CloudAccountTypeFromJSON)),
|
|
41
|
-
'portalAccountId': json['portalAccountId'],
|
|
42
|
-
'portalRegion': json['portalRegion'],
|
|
43
|
-
'templateUrl': json['templateUrl'],
|
|
44
|
-
'wizardUrl': json['wizardUrl'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.ProjectCreateOptionsFromJSONTyped = ProjectCreateOptionsFromJSONTyped;
|
|
48
|
-
function ProjectCreateOptionsToJSON(value) {
|
|
49
|
-
if (value === undefined) {
|
|
50
|
-
return undefined;
|
|
51
|
-
}
|
|
52
|
-
if (value === null) {
|
|
53
|
-
return null;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'enabledAccountTypes': (value.enabledAccountTypes.map(CloudAccountType_1.CloudAccountTypeToJSON)),
|
|
57
|
-
'portalAccountId': value.portalAccountId,
|
|
58
|
-
'portalRegion': value.portalRegion,
|
|
59
|
-
'templateUrl': value.templateUrl,
|
|
60
|
-
'wizardUrl': value.wizardUrl,
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
exports.ProjectCreateOptionsToJSON = ProjectCreateOptionsToJSON;
|
|
@@ -1,120 +0,0 @@
|
|
|
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 { CloudAccount } from './CloudAccount';
|
|
13
|
-
import type { Contact } from './Contact';
|
|
14
|
-
import type { ProjectSettings } from './ProjectSettings';
|
|
15
|
-
import type { Status } from './Status';
|
|
16
|
-
import type { Tag } from './Tag';
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface ProjectDetail
|
|
21
|
-
*/
|
|
22
|
-
export interface ProjectDetail {
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof ProjectDetail
|
|
27
|
-
*/
|
|
28
|
-
id: string;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof ProjectDetail
|
|
33
|
-
*/
|
|
34
|
-
name: string;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof ProjectDetail
|
|
39
|
-
*/
|
|
40
|
-
description: string;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof ProjectDetail
|
|
45
|
-
*/
|
|
46
|
-
billingAccountId: string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {Array<Contact>}
|
|
50
|
-
* @memberof ProjectDetail
|
|
51
|
-
*/
|
|
52
|
-
contacts: Array<Contact>;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof ProjectDetail
|
|
57
|
-
*/
|
|
58
|
-
organization: string;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {Status}
|
|
62
|
-
* @memberof ProjectDetail
|
|
63
|
-
*/
|
|
64
|
-
status: Status;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {ProjectSettings}
|
|
68
|
-
* @memberof ProjectDetail
|
|
69
|
-
*/
|
|
70
|
-
settings: ProjectSettings;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {CloudAccount}
|
|
74
|
-
* @memberof ProjectDetail
|
|
75
|
-
*/
|
|
76
|
-
account?: CloudAccount | null;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof ProjectDetail
|
|
81
|
-
*/
|
|
82
|
-
statusMessage: string;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {Array<Tag>}
|
|
86
|
-
* @memberof ProjectDetail
|
|
87
|
-
*/
|
|
88
|
-
tags: Array<Tag>;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {Array<string>}
|
|
92
|
-
* @memberof ProjectDetail
|
|
93
|
-
*/
|
|
94
|
-
classificationIds: Array<string>;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @type {string}
|
|
98
|
-
* @memberof ProjectDetail
|
|
99
|
-
*/
|
|
100
|
-
createdBy: string;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {Date}
|
|
104
|
-
* @memberof ProjectDetail
|
|
105
|
-
*/
|
|
106
|
-
createdAt: Date;
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
* @type {Date}
|
|
110
|
-
* @memberof ProjectDetail
|
|
111
|
-
*/
|
|
112
|
-
updatedAt: Date;
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* Check if a given object implements the ProjectDetail interface.
|
|
116
|
-
*/
|
|
117
|
-
export declare function instanceOfProjectDetail(value: object): boolean;
|
|
118
|
-
export declare function ProjectDetailFromJSON(json: any): ProjectDetail;
|
|
119
|
-
export declare function ProjectDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectDetail;
|
|
120
|
-
export declare function ProjectDetailToJSON(value?: ProjectDetail | null): any;
|
|
@@ -1,97 +0,0 @@
|
|
|
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.ProjectDetailToJSON = exports.ProjectDetailFromJSONTyped = exports.ProjectDetailFromJSON = exports.instanceOfProjectDetail = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var CloudAccount_1 = require("./CloudAccount");
|
|
19
|
-
var Contact_1 = require("./Contact");
|
|
20
|
-
var ProjectSettings_1 = require("./ProjectSettings");
|
|
21
|
-
var Status_1 = require("./Status");
|
|
22
|
-
var Tag_1 = require("./Tag");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the ProjectDetail interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfProjectDetail(value) {
|
|
27
|
-
var isInstance = true;
|
|
28
|
-
isInstance = isInstance && "id" in value;
|
|
29
|
-
isInstance = isInstance && "name" in value;
|
|
30
|
-
isInstance = isInstance && "description" in value;
|
|
31
|
-
isInstance = isInstance && "billingAccountId" in value;
|
|
32
|
-
isInstance = isInstance && "contacts" in value;
|
|
33
|
-
isInstance = isInstance && "organization" in value;
|
|
34
|
-
isInstance = isInstance && "status" in value;
|
|
35
|
-
isInstance = isInstance && "settings" in value;
|
|
36
|
-
isInstance = isInstance && "statusMessage" in value;
|
|
37
|
-
isInstance = isInstance && "tags" in value;
|
|
38
|
-
isInstance = isInstance && "classificationIds" in value;
|
|
39
|
-
isInstance = isInstance && "createdBy" in value;
|
|
40
|
-
isInstance = isInstance && "createdAt" in value;
|
|
41
|
-
isInstance = isInstance && "updatedAt" in value;
|
|
42
|
-
return isInstance;
|
|
43
|
-
}
|
|
44
|
-
exports.instanceOfProjectDetail = instanceOfProjectDetail;
|
|
45
|
-
function ProjectDetailFromJSON(json) {
|
|
46
|
-
return ProjectDetailFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
exports.ProjectDetailFromJSON = ProjectDetailFromJSON;
|
|
49
|
-
function ProjectDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
-
if ((json === undefined) || (json === null)) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'id': json['id'],
|
|
55
|
-
'name': json['name'],
|
|
56
|
-
'description': json['description'],
|
|
57
|
-
'billingAccountId': json['billingAccountId'],
|
|
58
|
-
'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
|
|
59
|
-
'organization': json['organization'],
|
|
60
|
-
'status': (0, Status_1.StatusFromJSON)(json['status']),
|
|
61
|
-
'settings': (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
|
|
62
|
-
'account': !(0, runtime_1.exists)(json, 'account') ? undefined : (0, CloudAccount_1.CloudAccountFromJSON)(json['account']),
|
|
63
|
-
'statusMessage': json['statusMessage'],
|
|
64
|
-
'tags': (json['tags'].map(Tag_1.TagFromJSON)),
|
|
65
|
-
'classificationIds': json['classificationIds'],
|
|
66
|
-
'createdBy': json['createdBy'],
|
|
67
|
-
'createdAt': (new Date(json['createdAt'])),
|
|
68
|
-
'updatedAt': (new Date(json['updatedAt'])),
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
exports.ProjectDetailFromJSONTyped = ProjectDetailFromJSONTyped;
|
|
72
|
-
function ProjectDetailToJSON(value) {
|
|
73
|
-
if (value === undefined) {
|
|
74
|
-
return undefined;
|
|
75
|
-
}
|
|
76
|
-
if (value === null) {
|
|
77
|
-
return null;
|
|
78
|
-
}
|
|
79
|
-
return {
|
|
80
|
-
'id': value.id,
|
|
81
|
-
'name': value.name,
|
|
82
|
-
'description': value.description,
|
|
83
|
-
'billingAccountId': value.billingAccountId,
|
|
84
|
-
'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
|
|
85
|
-
'organization': value.organization,
|
|
86
|
-
'status': (0, Status_1.StatusToJSON)(value.status),
|
|
87
|
-
'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value.settings),
|
|
88
|
-
'account': (0, CloudAccount_1.CloudAccountToJSON)(value.account),
|
|
89
|
-
'statusMessage': value.statusMessage,
|
|
90
|
-
'tags': (value.tags.map(Tag_1.TagToJSON)),
|
|
91
|
-
'classificationIds': value.classificationIds,
|
|
92
|
-
'createdBy': value.createdBy,
|
|
93
|
-
'createdAt': (value.createdAt.toISOString()),
|
|
94
|
-
'updatedAt': (value.updatedAt.toISOString()),
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
exports.ProjectDetailToJSON = ProjectDetailToJSON;
|
|
@@ -1,44 +0,0 @@
|
|
|
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 { ProjectAccessType } from './ProjectAccessType';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProjectFileAccessRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface ProjectFileAccessRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {ProjectAccessType}
|
|
22
|
-
* @memberof ProjectFileAccessRequest
|
|
23
|
-
*/
|
|
24
|
-
accessType: ProjectAccessType;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ProjectFileAccessRequest
|
|
29
|
-
*/
|
|
30
|
-
datasetId?: string | null;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof ProjectFileAccessRequest
|
|
35
|
-
*/
|
|
36
|
-
tokenLifetimeHours?: number | null;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ProjectFileAccessRequest interface.
|
|
40
|
-
*/
|
|
41
|
-
export declare function instanceOfProjectFileAccessRequest(value: object): boolean;
|
|
42
|
-
export declare function ProjectFileAccessRequestFromJSON(json: any): ProjectFileAccessRequest;
|
|
43
|
-
export declare function ProjectFileAccessRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectFileAccessRequest;
|
|
44
|
-
export declare function ProjectFileAccessRequestToJSON(value?: ProjectFileAccessRequest | null): any;
|
|
@@ -1,56 +0,0 @@
|
|
|
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.ProjectFileAccessRequestToJSON = exports.ProjectFileAccessRequestFromJSONTyped = exports.ProjectFileAccessRequestFromJSON = exports.instanceOfProjectFileAccessRequest = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var ProjectAccessType_1 = require("./ProjectAccessType");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the ProjectFileAccessRequest interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfProjectFileAccessRequest(value) {
|
|
23
|
-
var isInstance = true;
|
|
24
|
-
isInstance = isInstance && "accessType" in value;
|
|
25
|
-
return isInstance;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfProjectFileAccessRequest = instanceOfProjectFileAccessRequest;
|
|
28
|
-
function ProjectFileAccessRequestFromJSON(json) {
|
|
29
|
-
return ProjectFileAccessRequestFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.ProjectFileAccessRequestFromJSON = ProjectFileAccessRequestFromJSON;
|
|
32
|
-
function ProjectFileAccessRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if ((json === undefined) || (json === null)) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'accessType': (0, ProjectAccessType_1.ProjectAccessTypeFromJSON)(json['accessType']),
|
|
38
|
-
'datasetId': !(0, runtime_1.exists)(json, 'datasetId') ? undefined : json['datasetId'],
|
|
39
|
-
'tokenLifetimeHours': !(0, runtime_1.exists)(json, 'tokenLifetimeHours') ? undefined : json['tokenLifetimeHours'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.ProjectFileAccessRequestFromJSONTyped = ProjectFileAccessRequestFromJSONTyped;
|
|
43
|
-
function ProjectFileAccessRequestToJSON(value) {
|
|
44
|
-
if (value === undefined) {
|
|
45
|
-
return undefined;
|
|
46
|
-
}
|
|
47
|
-
if (value === null) {
|
|
48
|
-
return null;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'accessType': (0, ProjectAccessType_1.ProjectAccessTypeToJSON)(value.accessType),
|
|
52
|
-
'datasetId': value.datasetId,
|
|
53
|
-
'tokenLifetimeHours': value.tokenLifetimeHours,
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
exports.ProjectFileAccessRequestToJSON = ProjectFileAccessRequestToJSON;
|
|
@@ -1,77 +0,0 @@
|
|
|
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 { CloudAccount } from './CloudAccount';
|
|
13
|
-
import type { Contact } from './Contact';
|
|
14
|
-
import type { ProjectSettings } from './ProjectSettings';
|
|
15
|
-
import type { Tag } from './Tag';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ProjectInput
|
|
20
|
-
*/
|
|
21
|
-
export interface ProjectInput {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ProjectInput
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ProjectInput
|
|
32
|
-
*/
|
|
33
|
-
description: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof ProjectInput
|
|
38
|
-
*/
|
|
39
|
-
billingAccountId: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {ProjectSettings}
|
|
43
|
-
* @memberof ProjectInput
|
|
44
|
-
*/
|
|
45
|
-
settings: ProjectSettings;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {Array<Contact>}
|
|
49
|
-
* @memberof ProjectInput
|
|
50
|
-
*/
|
|
51
|
-
contacts: Array<Contact>;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {CloudAccount}
|
|
55
|
-
* @memberof ProjectInput
|
|
56
|
-
*/
|
|
57
|
-
account?: CloudAccount | null;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Array<string>}
|
|
61
|
-
* @memberof ProjectInput
|
|
62
|
-
*/
|
|
63
|
-
classificationIds?: Array<string> | null;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Array<Tag>}
|
|
67
|
-
* @memberof ProjectInput
|
|
68
|
-
*/
|
|
69
|
-
tags?: Array<Tag> | null;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Check if a given object implements the ProjectInput interface.
|
|
73
|
-
*/
|
|
74
|
-
export declare function instanceOfProjectInput(value: object): boolean;
|
|
75
|
-
export declare function ProjectInputFromJSON(json: any): ProjectInput;
|
|
76
|
-
export declare function ProjectInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectInput;
|
|
77
|
-
export declare function ProjectInputToJSON(value?: ProjectInput | null): any;
|
|
@@ -1,73 +0,0 @@
|
|
|
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.ProjectInputToJSON = exports.ProjectInputFromJSONTyped = exports.ProjectInputFromJSON = exports.instanceOfProjectInput = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var CloudAccount_1 = require("./CloudAccount");
|
|
19
|
-
var Contact_1 = require("./Contact");
|
|
20
|
-
var ProjectSettings_1 = require("./ProjectSettings");
|
|
21
|
-
var Tag_1 = require("./Tag");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProjectInput interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProjectInput(value) {
|
|
26
|
-
var isInstance = true;
|
|
27
|
-
isInstance = isInstance && "name" in value;
|
|
28
|
-
isInstance = isInstance && "description" in value;
|
|
29
|
-
isInstance = isInstance && "billingAccountId" in value;
|
|
30
|
-
isInstance = isInstance && "settings" in value;
|
|
31
|
-
isInstance = isInstance && "contacts" in value;
|
|
32
|
-
return isInstance;
|
|
33
|
-
}
|
|
34
|
-
exports.instanceOfProjectInput = instanceOfProjectInput;
|
|
35
|
-
function ProjectInputFromJSON(json) {
|
|
36
|
-
return ProjectInputFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
exports.ProjectInputFromJSON = ProjectInputFromJSON;
|
|
39
|
-
function ProjectInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
if ((json === undefined) || (json === null)) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'name': json['name'],
|
|
45
|
-
'description': json['description'],
|
|
46
|
-
'billingAccountId': json['billingAccountId'],
|
|
47
|
-
'settings': (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
|
|
48
|
-
'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
|
|
49
|
-
'account': !(0, runtime_1.exists)(json, 'account') ? undefined : (0, CloudAccount_1.CloudAccountFromJSON)(json['account']),
|
|
50
|
-
'classificationIds': !(0, runtime_1.exists)(json, 'classificationIds') ? undefined : json['classificationIds'],
|
|
51
|
-
'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : (json['tags'] === null ? null : json['tags'].map(Tag_1.TagFromJSON)),
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
exports.ProjectInputFromJSONTyped = ProjectInputFromJSONTyped;
|
|
55
|
-
function ProjectInputToJSON(value) {
|
|
56
|
-
if (value === undefined) {
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
59
|
-
if (value === null) {
|
|
60
|
-
return null;
|
|
61
|
-
}
|
|
62
|
-
return {
|
|
63
|
-
'name': value.name,
|
|
64
|
-
'description': value.description,
|
|
65
|
-
'billingAccountId': value.billingAccountId,
|
|
66
|
-
'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value.settings),
|
|
67
|
-
'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
|
|
68
|
-
'account': (0, CloudAccount_1.CloudAccountToJSON)(value.account),
|
|
69
|
-
'classificationIds': value.classificationIds,
|
|
70
|
-
'tags': value.tags === undefined ? undefined : (value.tags === null ? null : value.tags.map(Tag_1.TagToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
exports.ProjectInputToJSON = ProjectInputToJSON;
|
|
@@ -1,44 +0,0 @@
|
|
|
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 { MetricRecord } from './MetricRecord';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProjectMetrics
|
|
17
|
-
*/
|
|
18
|
-
export interface ProjectMetrics {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ProjectMetrics
|
|
23
|
-
*/
|
|
24
|
-
projectId: string;
|
|
25
|
-
/**
|
|
26
|
-
* Costs by service by month
|
|
27
|
-
* @type {Array<MetricRecord>}
|
|
28
|
-
* @memberof ProjectMetrics
|
|
29
|
-
*/
|
|
30
|
-
costs?: Array<MetricRecord>;
|
|
31
|
-
/**
|
|
32
|
-
* Storage usage by tier by day
|
|
33
|
-
* @type {Array<MetricRecord>}
|
|
34
|
-
* @memberof ProjectMetrics
|
|
35
|
-
*/
|
|
36
|
-
storageMetrics?: Array<MetricRecord>;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ProjectMetrics interface.
|
|
40
|
-
*/
|
|
41
|
-
export declare function instanceOfProjectMetrics(value: object): boolean;
|
|
42
|
-
export declare function ProjectMetricsFromJSON(json: any): ProjectMetrics;
|
|
43
|
-
export declare function ProjectMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectMetrics;
|
|
44
|
-
export declare function ProjectMetricsToJSON(value?: ProjectMetrics | null): any;
|
|
@@ -1,56 +0,0 @@
|
|
|
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.ProjectMetricsToJSON = exports.ProjectMetricsFromJSONTyped = exports.ProjectMetricsFromJSON = exports.instanceOfProjectMetrics = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var MetricRecord_1 = require("./MetricRecord");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the ProjectMetrics interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfProjectMetrics(value) {
|
|
23
|
-
var isInstance = true;
|
|
24
|
-
isInstance = isInstance && "projectId" in value;
|
|
25
|
-
return isInstance;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfProjectMetrics = instanceOfProjectMetrics;
|
|
28
|
-
function ProjectMetricsFromJSON(json) {
|
|
29
|
-
return ProjectMetricsFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.ProjectMetricsFromJSON = ProjectMetricsFromJSON;
|
|
32
|
-
function ProjectMetricsFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if ((json === undefined) || (json === null)) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'projectId': json['projectId'],
|
|
38
|
-
'costs': !(0, runtime_1.exists)(json, 'costs') ? undefined : (json['costs'].map(MetricRecord_1.MetricRecordFromJSON)),
|
|
39
|
-
'storageMetrics': !(0, runtime_1.exists)(json, 'storageMetrics') ? undefined : (json['storageMetrics'].map(MetricRecord_1.MetricRecordFromJSON)),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.ProjectMetricsFromJSONTyped = ProjectMetricsFromJSONTyped;
|
|
43
|
-
function ProjectMetricsToJSON(value) {
|
|
44
|
-
if (value === undefined) {
|
|
45
|
-
return undefined;
|
|
46
|
-
}
|
|
47
|
-
if (value === null) {
|
|
48
|
-
return null;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'projectId': value.projectId,
|
|
52
|
-
'costs': value.costs === undefined ? undefined : (value.costs.map(MetricRecord_1.MetricRecordToJSON)),
|
|
53
|
-
'storageMetrics': value.storageMetrics === undefined ? undefined : (value.storageMetrics.map(MetricRecord_1.MetricRecordToJSON)),
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
exports.ProjectMetricsToJSON = ProjectMetricsToJSON;
|