@cirrobio/api-client 0.4.2 → 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/src/models/ProjectRequirement.ts +10 -1
- 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 -157
- package/dist/models/ProjectRequirement.js +0 -104
- 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,62 +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 { ProjectRole } from './ProjectRole';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProjectUser
|
|
17
|
-
*/
|
|
18
|
-
export interface ProjectUser {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ProjectUser
|
|
23
|
-
*/
|
|
24
|
-
name: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ProjectUser
|
|
29
|
-
*/
|
|
30
|
-
username: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ProjectUser
|
|
35
|
-
*/
|
|
36
|
-
organization: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof ProjectUser
|
|
41
|
-
*/
|
|
42
|
-
department: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ProjectUser
|
|
47
|
-
*/
|
|
48
|
-
email: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {ProjectRole}
|
|
52
|
-
* @memberof ProjectUser
|
|
53
|
-
*/
|
|
54
|
-
role: ProjectRole;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Check if a given object implements the ProjectUser interface.
|
|
58
|
-
*/
|
|
59
|
-
export declare function instanceOfProjectUser(value: object): boolean;
|
|
60
|
-
export declare function ProjectUserFromJSON(json: any): ProjectUser;
|
|
61
|
-
export declare function ProjectUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectUser;
|
|
62
|
-
export declare function ProjectUserToJSON(value?: ProjectUser | null): any;
|
|
@@ -1,66 +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.ProjectUserToJSON = exports.ProjectUserFromJSONTyped = exports.ProjectUserFromJSON = exports.instanceOfProjectUser = void 0;
|
|
17
|
-
var ProjectRole_1 = require("./ProjectRole");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the ProjectUser interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfProjectUser(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "name" in value;
|
|
24
|
-
isInstance = isInstance && "username" in value;
|
|
25
|
-
isInstance = isInstance && "organization" in value;
|
|
26
|
-
isInstance = isInstance && "department" in value;
|
|
27
|
-
isInstance = isInstance && "email" in value;
|
|
28
|
-
isInstance = isInstance && "role" in value;
|
|
29
|
-
return isInstance;
|
|
30
|
-
}
|
|
31
|
-
exports.instanceOfProjectUser = instanceOfProjectUser;
|
|
32
|
-
function ProjectUserFromJSON(json) {
|
|
33
|
-
return ProjectUserFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
exports.ProjectUserFromJSON = ProjectUserFromJSON;
|
|
36
|
-
function ProjectUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if ((json === undefined) || (json === null)) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'name': json['name'],
|
|
42
|
-
'username': json['username'],
|
|
43
|
-
'organization': json['organization'],
|
|
44
|
-
'department': json['department'],
|
|
45
|
-
'email': json['email'],
|
|
46
|
-
'role': (0, ProjectRole_1.ProjectRoleFromJSON)(json['role']),
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
exports.ProjectUserFromJSONTyped = ProjectUserFromJSONTyped;
|
|
50
|
-
function ProjectUserToJSON(value) {
|
|
51
|
-
if (value === undefined) {
|
|
52
|
-
return undefined;
|
|
53
|
-
}
|
|
54
|
-
if (value === null) {
|
|
55
|
-
return null;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'name': value.name,
|
|
59
|
-
'username': value.username,
|
|
60
|
-
'organization': value.organization,
|
|
61
|
-
'department': value.department,
|
|
62
|
-
'email': value.email,
|
|
63
|
-
'role': (0, ProjectRole_1.ProjectRoleToJSON)(value.role),
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
exports.ProjectUserToJSON = ProjectUserToJSON;
|
|
@@ -1,68 +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 { FileEntry } from './FileEntry';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Reference
|
|
17
|
-
*/
|
|
18
|
-
export interface Reference {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof Reference
|
|
23
|
-
*/
|
|
24
|
-
id: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof Reference
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof Reference
|
|
35
|
-
*/
|
|
36
|
-
description: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Reference
|
|
41
|
-
*/
|
|
42
|
-
type: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Array<FileEntry>}
|
|
46
|
-
* @memberof Reference
|
|
47
|
-
*/
|
|
48
|
-
files: Array<FileEntry>;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof Reference
|
|
53
|
-
*/
|
|
54
|
-
createdBy: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Date}
|
|
58
|
-
* @memberof Reference
|
|
59
|
-
*/
|
|
60
|
-
createdAt: Date;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Check if a given object implements the Reference interface.
|
|
64
|
-
*/
|
|
65
|
-
export declare function instanceOfReference(value: object): boolean;
|
|
66
|
-
export declare function ReferenceFromJSON(json: any): Reference;
|
|
67
|
-
export declare function ReferenceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Reference;
|
|
68
|
-
export declare function ReferenceToJSON(value?: Reference | null): any;
|
package/dist/models/Reference.js
DELETED
|
@@ -1,69 +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.ReferenceToJSON = exports.ReferenceFromJSONTyped = exports.ReferenceFromJSON = exports.instanceOfReference = void 0;
|
|
17
|
-
var FileEntry_1 = require("./FileEntry");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the Reference interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfReference(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
isInstance = isInstance && "id" in value;
|
|
24
|
-
isInstance = isInstance && "name" in value;
|
|
25
|
-
isInstance = isInstance && "description" in value;
|
|
26
|
-
isInstance = isInstance && "type" in value;
|
|
27
|
-
isInstance = isInstance && "files" in value;
|
|
28
|
-
isInstance = isInstance && "createdBy" in value;
|
|
29
|
-
isInstance = isInstance && "createdAt" in value;
|
|
30
|
-
return isInstance;
|
|
31
|
-
}
|
|
32
|
-
exports.instanceOfReference = instanceOfReference;
|
|
33
|
-
function ReferenceFromJSON(json) {
|
|
34
|
-
return ReferenceFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
exports.ReferenceFromJSON = ReferenceFromJSON;
|
|
37
|
-
function ReferenceFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if ((json === undefined) || (json === null)) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'id': json['id'],
|
|
43
|
-
'name': json['name'],
|
|
44
|
-
'description': json['description'],
|
|
45
|
-
'type': json['type'],
|
|
46
|
-
'files': (json['files'].map(FileEntry_1.FileEntryFromJSON)),
|
|
47
|
-
'createdBy': json['createdBy'],
|
|
48
|
-
'createdAt': (new Date(json['createdAt'])),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.ReferenceFromJSONTyped = ReferenceFromJSONTyped;
|
|
52
|
-
function ReferenceToJSON(value) {
|
|
53
|
-
if (value === undefined) {
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
56
|
-
if (value === null) {
|
|
57
|
-
return null;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'id': value.id,
|
|
61
|
-
'name': value.name,
|
|
62
|
-
'description': value.description,
|
|
63
|
-
'type': value.type,
|
|
64
|
-
'files': (value.files.map(FileEntry_1.FileEntryToJSON)),
|
|
65
|
-
'createdBy': value.createdBy,
|
|
66
|
-
'createdAt': (value.createdAt.toISOString()),
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
exports.ReferenceToJSON = ReferenceToJSON;
|
|
@@ -1,51 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ReferenceType
|
|
16
|
-
*/
|
|
17
|
-
export interface ReferenceType {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ReferenceType
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ReferenceType
|
|
28
|
-
*/
|
|
29
|
-
description: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ReferenceType
|
|
34
|
-
*/
|
|
35
|
-
directory: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {Array<{ [key: string]: any; }>}
|
|
39
|
-
* @memberof ReferenceType
|
|
40
|
-
*/
|
|
41
|
-
validation: Array<{
|
|
42
|
-
[key: string]: any;
|
|
43
|
-
}>;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the ReferenceType interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfReferenceType(value: object): boolean;
|
|
49
|
-
export declare function ReferenceTypeFromJSON(json: any): ReferenceType;
|
|
50
|
-
export declare function ReferenceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReferenceType;
|
|
51
|
-
export declare function ReferenceTypeToJSON(value?: ReferenceType | null): any;
|
|
@@ -1,59 +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.ReferenceTypeToJSON = exports.ReferenceTypeFromJSONTyped = exports.ReferenceTypeFromJSON = exports.instanceOfReferenceType = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the ReferenceType interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfReferenceType(value) {
|
|
21
|
-
var isInstance = true;
|
|
22
|
-
isInstance = isInstance && "name" in value;
|
|
23
|
-
isInstance = isInstance && "description" in value;
|
|
24
|
-
isInstance = isInstance && "directory" in value;
|
|
25
|
-
isInstance = isInstance && "validation" in value;
|
|
26
|
-
return isInstance;
|
|
27
|
-
}
|
|
28
|
-
exports.instanceOfReferenceType = instanceOfReferenceType;
|
|
29
|
-
function ReferenceTypeFromJSON(json) {
|
|
30
|
-
return ReferenceTypeFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
exports.ReferenceTypeFromJSON = ReferenceTypeFromJSON;
|
|
33
|
-
function ReferenceTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if ((json === undefined) || (json === null)) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'name': json['name'],
|
|
39
|
-
'description': json['description'],
|
|
40
|
-
'directory': json['directory'],
|
|
41
|
-
'validation': json['validation'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.ReferenceTypeFromJSONTyped = ReferenceTypeFromJSONTyped;
|
|
45
|
-
function ReferenceTypeToJSON(value) {
|
|
46
|
-
if (value === undefined) {
|
|
47
|
-
return undefined;
|
|
48
|
-
}
|
|
49
|
-
if (value === null) {
|
|
50
|
-
return null;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'name': value.name,
|
|
54
|
-
'description': value.description,
|
|
55
|
-
'directory': value.directory,
|
|
56
|
-
'validation': value.validation,
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
exports.ReferenceTypeToJSON = ReferenceTypeToJSON;
|
|
@@ -1,25 +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
|
-
/**
|
|
13
|
-
* Type of repository
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare enum RepositoryType {
|
|
18
|
-
None = "NONE",
|
|
19
|
-
Aws = "AWS",
|
|
20
|
-
GithubPublic = "GITHUB_PUBLIC",
|
|
21
|
-
GithubPrivate = "GITHUB_PRIVATE"
|
|
22
|
-
}
|
|
23
|
-
export declare function RepositoryTypeFromJSON(json: any): RepositoryType;
|
|
24
|
-
export declare function RepositoryTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepositoryType;
|
|
25
|
-
export declare function RepositoryTypeToJSON(value?: RepositoryType | null): any;
|
|
@@ -1,40 +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.RepositoryTypeToJSON = exports.RepositoryTypeFromJSONTyped = exports.RepositoryTypeFromJSON = exports.RepositoryType = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Type of repository
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
var RepositoryType;
|
|
23
|
-
(function (RepositoryType) {
|
|
24
|
-
RepositoryType["None"] = "NONE";
|
|
25
|
-
RepositoryType["Aws"] = "AWS";
|
|
26
|
-
RepositoryType["GithubPublic"] = "GITHUB_PUBLIC";
|
|
27
|
-
RepositoryType["GithubPrivate"] = "GITHUB_PRIVATE";
|
|
28
|
-
})(RepositoryType = exports.RepositoryType || (exports.RepositoryType = {}));
|
|
29
|
-
function RepositoryTypeFromJSON(json) {
|
|
30
|
-
return RepositoryTypeFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
exports.RepositoryTypeFromJSON = RepositoryTypeFromJSON;
|
|
33
|
-
function RepositoryTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
exports.RepositoryTypeFromJSONTyped = RepositoryTypeFromJSONTyped;
|
|
37
|
-
function RepositoryTypeToJSON(value) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
exports.RepositoryTypeToJSON = RepositoryTypeToJSON;
|
|
@@ -1,24 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare enum RequestStatus {
|
|
18
|
-
Pending = "PENDING",
|
|
19
|
-
Accepted = "ACCEPTED",
|
|
20
|
-
Denied = "DENIED"
|
|
21
|
-
}
|
|
22
|
-
export declare function RequestStatusFromJSON(json: any): RequestStatus;
|
|
23
|
-
export declare function RequestStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestStatus;
|
|
24
|
-
export declare function RequestStatusToJSON(value?: RequestStatus | null): any;
|
|
@@ -1,39 +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.RequestStatusToJSON = exports.RequestStatusFromJSONTyped = exports.RequestStatusFromJSON = exports.RequestStatus = void 0;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
var RequestStatus;
|
|
23
|
-
(function (RequestStatus) {
|
|
24
|
-
RequestStatus["Pending"] = "PENDING";
|
|
25
|
-
RequestStatus["Accepted"] = "ACCEPTED";
|
|
26
|
-
RequestStatus["Denied"] = "DENIED";
|
|
27
|
-
})(RequestStatus = exports.RequestStatus || (exports.RequestStatus = {}));
|
|
28
|
-
function RequestStatusFromJSON(json) {
|
|
29
|
-
return RequestStatusFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.RequestStatusFromJSON = RequestStatusFromJSON;
|
|
32
|
-
function RequestStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
exports.RequestStatusFromJSONTyped = RequestStatusFromJSONTyped;
|
|
36
|
-
function RequestStatusToJSON(value) {
|
|
37
|
-
return value;
|
|
38
|
-
}
|
|
39
|
-
exports.RequestStatusToJSON = RequestStatusToJSON;
|
|
@@ -1,37 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface RequirementFulfillmentInput
|
|
16
|
-
*/
|
|
17
|
-
export interface RequirementFulfillmentInput {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof RequirementFulfillmentInput
|
|
22
|
-
*/
|
|
23
|
-
file?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
* If not provided, defaults to the current instant
|
|
26
|
-
* @type {Date}
|
|
27
|
-
* @memberof RequirementFulfillmentInput
|
|
28
|
-
*/
|
|
29
|
-
completedOn?: Date | null;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the RequirementFulfillmentInput interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfRequirementFulfillmentInput(value: object): boolean;
|
|
35
|
-
export declare function RequirementFulfillmentInputFromJSON(json: any): RequirementFulfillmentInput;
|
|
36
|
-
export declare function RequirementFulfillmentInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequirementFulfillmentInput;
|
|
37
|
-
export declare function RequirementFulfillmentInputToJSON(value?: RequirementFulfillmentInput | null): any;
|
|
@@ -1,52 +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.RequirementFulfillmentInputToJSON = exports.RequirementFulfillmentInputFromJSONTyped = exports.RequirementFulfillmentInputFromJSON = exports.instanceOfRequirementFulfillmentInput = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the RequirementFulfillmentInput interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfRequirementFulfillmentInput(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
return isInstance;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfRequirementFulfillmentInput = instanceOfRequirementFulfillmentInput;
|
|
26
|
-
function RequirementFulfillmentInputFromJSON(json) {
|
|
27
|
-
return RequirementFulfillmentInputFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.RequirementFulfillmentInputFromJSON = RequirementFulfillmentInputFromJSON;
|
|
30
|
-
function RequirementFulfillmentInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if ((json === undefined) || (json === null)) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'file': !(0, runtime_1.exists)(json, 'file') ? undefined : json['file'],
|
|
36
|
-
'completedOn': !(0, runtime_1.exists)(json, 'completedOn') ? undefined : (json['completedOn'] === null ? null : new Date(json['completedOn'])),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.RequirementFulfillmentInputFromJSONTyped = RequirementFulfillmentInputFromJSONTyped;
|
|
40
|
-
function RequirementFulfillmentInputToJSON(value) {
|
|
41
|
-
if (value === undefined) {
|
|
42
|
-
return undefined;
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'file': value.file,
|
|
49
|
-
'completedOn': value.completedOn === undefined ? undefined : (value.completedOn === null ? null : value.completedOn.toISOString()),
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
exports.RequirementFulfillmentInputToJSON = RequirementFulfillmentInputToJSON;
|