@cirrobio/api-client 0.1.11 → 0.1.12
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 +110 -106
- package/dist/apis/AuditApi.d.ts +44 -44
- package/dist/apis/AuditApi.js +175 -175
- package/dist/apis/BillingApi.d.ts +81 -81
- package/dist/apis/BillingApi.js +354 -354
- package/dist/apis/DashboardsApi.d.ts +88 -88
- package/dist/apis/DashboardsApi.js +374 -374
- package/dist/apis/DatasetsApi.d.ts +162 -162
- package/dist/apis/DatasetsApi.js +670 -670
- package/dist/apis/ExecutionApi.d.ts +110 -110
- package/dist/apis/ExecutionApi.js +442 -442
- package/dist/apis/FileApi.d.ts +46 -46
- package/dist/apis/FileApi.js +200 -200
- package/dist/apis/MetadataApi.d.ts +71 -71
- package/dist/apis/MetadataApi.js +313 -313
- package/dist/apis/MetricsApi.d.ts +41 -41
- package/dist/apis/MetricsApi.js +187 -187
- package/dist/apis/NotebooksApi.d.ts +101 -101
- package/dist/apis/NotebooksApi.js +423 -423
- package/dist/apis/ProcessesApi.d.ts +138 -138
- package/dist/apis/ProcessesApi.js +589 -589
- package/dist/apis/ProjectsApi.d.ts +189 -122
- package/dist/apis/ProjectsApi.js +815 -528
- package/dist/apis/ReferencesApi.d.ts +91 -91
- package/dist/apis/ReferencesApi.js +405 -405
- package/dist/apis/SystemApi.d.ts +36 -36
- package/dist/apis/SystemApi.js +182 -182
- package/dist/apis/UsersApi.d.ts +84 -84
- package/dist/apis/UsersApi.js +363 -363
- package/dist/apis/index.d.ts +14 -14
- package/dist/apis/index.js +32 -32
- package/dist/index.d.ts +3 -3
- package/dist/index.js +21 -21
- package/dist/models/AWSCredentials.d.ts +55 -55
- package/dist/models/AWSCredentials.js +62 -62
- package/dist/models/AccessType.d.ts +25 -25
- package/dist/models/AccessType.js +40 -40
- package/dist/models/AllowedDataType.d.ts +44 -44
- package/dist/models/AllowedDataType.js +57 -57
- package/dist/models/ApproveAccessRequest.d.ts +32 -0
- package/dist/models/ApproveAccessRequest.js +51 -0
- package/dist/models/ApproveProjectAccessRequest.d.ts +32 -0
- package/dist/models/ApproveProjectAccessRequest.js +51 -0
- package/dist/models/AuditEvent.d.ts +89 -89
- package/dist/models/AuditEvent.js +68 -68
- package/dist/models/AuthInfo.d.ts +49 -49
- package/dist/models/AuthInfo.js +59 -59
- package/dist/models/BillingAccount.d.ts +88 -88
- package/dist/models/BillingAccount.js +80 -80
- package/dist/models/BillingAccountRequest.d.ts +70 -70
- package/dist/models/BillingAccountRequest.js +71 -71
- package/dist/models/BillingMethod.d.ts +24 -24
- package/dist/models/BillingMethod.js +39 -39
- package/dist/models/BudgetPeriod.d.ts +24 -24
- package/dist/models/BudgetPeriod.js +39 -39
- package/dist/models/CloudAccount.d.ts +50 -50
- package/dist/models/CloudAccount.js +58 -58
- package/dist/models/CloudAccountType.d.ts +23 -23
- package/dist/models/CloudAccountType.js +38 -38
- package/dist/models/ColumnDefinition.d.ts +43 -43
- package/dist/models/ColumnDefinition.js +54 -54
- package/dist/models/Contact.d.ts +49 -49
- package/dist/models/Contact.js +59 -59
- package/dist/models/CreateDashboardRequest.d.ts +31 -0
- package/dist/models/CreateDashboardRequest.js +50 -0
- package/dist/models/CreateNotebookInstanceRequest.d.ts +49 -49
- package/dist/models/CreateNotebookInstanceRequest.js +59 -59
- package/dist/models/CreateProjectAccessRequest.d.ts +38 -0
- package/dist/models/CreateProjectAccessRequest.js +54 -0
- package/dist/models/CreateReferenceRequest.d.ts +49 -49
- package/dist/models/CreateReferenceRequest.js +59 -59
- package/dist/models/CreateResponse.d.ts +37 -37
- package/dist/models/CreateResponse.js +53 -53
- package/dist/models/CustomPipelineSettings.d.ts +62 -62
- package/dist/models/CustomPipelineSettings.js +62 -62
- package/dist/models/CustomPipelineSettingsDto1.d.ts +61 -0
- package/dist/models/CustomPipelineSettingsDto1.js +65 -0
- package/dist/models/CustomProcessRequest.d.ts +99 -0
- package/dist/models/CustomProcessRequest.js +83 -0
- package/dist/models/CustomProcessRequestPipelineCode.d.ts +50 -0
- package/dist/models/CustomProcessRequestPipelineCode.js +58 -0
- package/dist/models/CustomerType.d.ts +24 -24
- package/dist/models/CustomerType.js +39 -39
- package/dist/models/Dashboard.d.ts +83 -83
- package/dist/models/Dashboard.js +74 -74
- package/dist/models/DashboardRequest.d.ts +59 -59
- package/dist/models/DashboardRequest.js +62 -62
- package/dist/models/Dataset.d.ts +93 -93
- package/dist/models/Dataset.js +82 -82
- package/dist/models/DatasetAssetsManifest.d.ts +58 -58
- package/dist/models/DatasetAssetsManifest.js +61 -61
- package/dist/models/DatasetDetail.d.ts +121 -121
- package/dist/models/DatasetDetail.js +94 -94
- package/dist/models/DatasetFile.d.ts +45 -0
- package/dist/models/DatasetFile.js +54 -0
- package/dist/models/DatasetType.d.ts +23 -0
- package/dist/models/DatasetType.js +38 -0
- package/dist/models/DatasetViz.d.ts +49 -49
- package/dist/models/DatasetViz.js +56 -56
- package/dist/models/ErrorMessage.d.ts +31 -31
- package/dist/models/ErrorMessage.js +50 -50
- package/dist/models/Executor.d.ts +25 -25
- package/dist/models/Executor.js +40 -40
- package/dist/models/FileAccessRequest.d.ts +44 -44
- package/dist/models/FileAccessRequest.js +56 -56
- package/dist/models/FileEntry.d.ts +45 -45
- package/dist/models/FileEntry.js +54 -54
- package/dist/models/FileMappingRule.d.ts +56 -56
- package/dist/models/FileMappingRule.js +61 -61
- package/dist/models/FileNamePattern.d.ts +43 -43
- package/dist/models/FileNamePattern.js +56 -56
- package/dist/models/FileRequirements.d.ts +44 -44
- package/dist/models/FileRequirements.js +57 -57
- package/dist/models/FormSchema.d.ts +41 -41
- package/dist/models/FormSchema.js +52 -52
- package/dist/models/GenerateSftpCredentialsRequest.d.ts +31 -31
- package/dist/models/GenerateSftpCredentialsRequest.js +50 -50
- package/dist/models/GetExecutionLogsResponse.d.ts +32 -32
- package/dist/models/GetExecutionLogsResponse.js +51 -51
- package/dist/models/ImportDataRequest.d.ts +43 -43
- package/dist/models/ImportDataRequest.js +56 -56
- package/dist/models/InviteUserRequest.d.ts +43 -43
- package/dist/models/InviteUserRequest.js +56 -56
- package/dist/models/InviteUserResponse.d.ts +31 -31
- package/dist/models/InviteUserResponse.js +50 -50
- package/dist/models/LogEntry.d.ts +37 -37
- package/dist/models/LogEntry.js +53 -53
- package/dist/models/LoginProvider.d.ts +49 -49
- package/dist/models/LoginProvider.js +59 -59
- package/dist/models/MetricRecord.d.ts +45 -45
- package/dist/models/MetricRecord.js +55 -55
- package/dist/models/NotebookInstance.d.ts +86 -86
- package/dist/models/NotebookInstance.js +78 -78
- package/dist/models/NotebookInstanceStatusResponse.d.ts +37 -37
- package/dist/models/NotebookInstanceStatusResponse.js +53 -53
- package/dist/models/OpenNotebookInstanceResponse.d.ts +37 -37
- package/dist/models/OpenNotebookInstanceResponse.js +53 -53
- package/dist/models/PaginatedResponseDatasetListDto.d.ts +38 -38
- package/dist/models/PaginatedResponseDatasetListDto.js +54 -54
- package/dist/models/PaginatedResponseSampleDto.d.ts +38 -38
- package/dist/models/PaginatedResponseSampleDto.js +54 -54
- package/dist/models/PipelineCode.d.ts +50 -50
- package/dist/models/PipelineCode.js +60 -60
- package/dist/models/PipelineCost.d.ts +43 -43
- package/dist/models/PipelineCost.js +54 -54
- package/dist/models/PortalErrorResponse.d.ts +50 -50
- package/dist/models/PortalErrorResponse.js +60 -60
- package/dist/models/Process.d.ts +104 -104
- package/dist/models/Process.js +78 -78
- package/dist/models/ProcessDetail.d.ts +125 -125
- package/dist/models/ProcessDetail.js +91 -91
- package/dist/models/ProcessDetailAllOfPipelineCode.d.ts +50 -0
- package/dist/models/ProcessDetailAllOfPipelineCode.js +58 -0
- package/dist/models/Project.d.ts +63 -63
- package/dist/models/Project.js +67 -67
- package/dist/models/ProjectAccessRequest.d.ts +75 -0
- package/dist/models/ProjectAccessRequest.js +73 -0
- package/dist/models/ProjectDetail.d.ts +101 -101
- package/dist/models/ProjectDetail.js +87 -87
- package/dist/models/ProjectMetrics.d.ts +44 -44
- package/dist/models/ProjectMetrics.js +56 -56
- package/dist/models/ProjectRequest.d.ts +71 -71
- package/dist/models/ProjectRequest.js +71 -71
- package/dist/models/ProjectRole.d.ts +25 -25
- package/dist/models/ProjectRole.js +40 -40
- package/dist/models/ProjectSettings.d.ts +122 -116
- package/dist/models/ProjectSettings.js +83 -81
- package/dist/models/ProjectUser.d.ts +62 -62
- package/dist/models/ProjectUser.js +66 -66
- package/dist/models/Reference.d.ts +68 -68
- package/dist/models/Reference.js +69 -69
- package/dist/models/ReferenceType.d.ts +51 -51
- package/dist/models/ReferenceType.js +59 -59
- package/dist/models/Region.d.ts +31 -0
- package/dist/models/Region.js +50 -0
- package/dist/models/RegisterDatasetRequest.d.ts +49 -0
- package/dist/models/RegisterDatasetRequest.js +59 -0
- package/dist/models/RegisterPublicDataRequest.d.ts +43 -0
- package/dist/models/RegisterPublicDataRequest.js +56 -0
- package/dist/models/RepositoryType.d.ts +25 -25
- package/dist/models/RepositoryType.js +40 -40
- package/dist/models/RequestStatus.d.ts +24 -0
- package/dist/models/RequestStatus.js +39 -0
- package/dist/models/ResourcesInfo.d.ts +49 -49
- package/dist/models/ResourcesInfo.js +59 -59
- package/dist/models/RunAnalysisRequest.d.ts +69 -69
- package/dist/models/RunAnalysisRequest.js +67 -67
- package/dist/models/S3Credentials.d.ts +55 -0
- package/dist/models/S3Credentials.js +62 -0
- package/dist/models/Sample.d.ts +63 -63
- package/dist/models/Sample.js +62 -65
- package/dist/models/SampleRequest.d.ts +39 -39
- package/dist/models/SampleRequest.js +53 -53
- package/dist/models/ServiceConnection.d.ts +37 -37
- package/dist/models/ServiceConnection.js +53 -53
- package/dist/models/SetUserProjectRoleRequest.d.ts +44 -44
- package/dist/models/SetUserProjectRoleRequest.js +57 -57
- package/dist/models/SftpCredentials.d.ts +49 -49
- package/dist/models/SftpCredentials.js +59 -59
- package/dist/models/Status.d.ts +30 -30
- package/dist/models/Status.js +45 -45
- package/dist/models/StopExecutionResponse.d.ts +37 -37
- package/dist/models/StopExecutionResponse.js +52 -52
- package/dist/models/SyncStatus.d.ts +23 -23
- package/dist/models/SyncStatus.js +38 -38
- package/dist/models/SystemInfoResponse.d.ts +94 -94
- package/dist/models/SystemInfoResponse.js +83 -83
- package/dist/models/Table.d.ts +62 -62
- package/dist/models/Table.js +62 -62
- package/dist/models/Tag.d.ts +43 -43
- package/dist/models/Tag.js +56 -56
- package/dist/models/Task.d.ts +73 -73
- package/dist/models/Task.js +68 -68
- package/dist/models/TenantInfo.d.ts +80 -80
- package/dist/models/TenantInfo.js +75 -75
- package/dist/models/UpdateDatasetRequest.d.ts +50 -50
- package/dist/models/UpdateDatasetRequest.js +60 -60
- package/dist/models/UpdateUserRequest.d.ts +69 -69
- package/dist/models/UpdateUserRequest.js +64 -64
- package/dist/models/UploadDatasetCreateResponse.d.ts +43 -43
- package/dist/models/UploadDatasetCreateResponse.js +56 -56
- package/dist/models/UploadDatasetRequest.d.ts +49 -49
- package/dist/models/UploadDatasetRequest.js +59 -59
- package/dist/models/User.d.ts +49 -49
- package/dist/models/User.js +59 -59
- package/dist/models/UserDetail.d.ts +86 -86
- package/dist/models/UserDetail.js +78 -78
- package/dist/models/UserProjectAssignment.d.ts +50 -50
- package/dist/models/UserProjectAssignment.js +60 -60
- package/dist/models/ValidateDataInputsRequest.d.ts +37 -0
- package/dist/models/ValidateDataInputsRequest.js +53 -0
- package/dist/models/ValidateDataInputsResponse.d.ts +44 -0
- package/dist/models/ValidateDataInputsResponse.js +57 -0
- package/dist/models/ValidateFileRequirementsRequest.d.ts +37 -37
- package/dist/models/ValidateFileRequirementsRequest.js +53 -53
- package/dist/models/index.d.ts +87 -83
- package/dist/models/index.js +105 -101
- package/dist/runtime.d.ts +182 -182
- package/dist/runtime.js +562 -562
- package/package.json +1 -1
- package/src/apis/ProjectsApi.ts +250 -0
- package/src/models/ApproveAccessRequest.ts +73 -0
- package/src/models/ApproveProjectAccessRequest.ts +73 -0
- package/src/models/CreateProjectAccessRequest.ts +82 -0
- package/src/models/PipelineCost.ts +1 -1
- package/src/models/ProjectAccessRequest.ts +142 -0
- package/src/models/ProjectSettings.ts +8 -0
- package/src/models/RequestStatus.ts +38 -0
- package/src/models/Sample.ts +10 -14
- package/src/models/index.ts +4 -0
|
@@ -1,58 +1,58 @@
|
|
|
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.CloudAccountToJSON = exports.CloudAccountFromJSONTyped = exports.CloudAccountFromJSON = exports.instanceOfCloudAccount = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var CloudAccountType_1 = require("./CloudAccountType");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the CloudAccount interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfCloudAccount(value) {
|
|
23
|
-
var isInstance = true;
|
|
24
|
-
isInstance = isInstance && "accountType" in value;
|
|
25
|
-
return isInstance;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfCloudAccount = instanceOfCloudAccount;
|
|
28
|
-
function CloudAccountFromJSON(json) {
|
|
29
|
-
return CloudAccountFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.CloudAccountFromJSON = CloudAccountFromJSON;
|
|
32
|
-
function CloudAccountFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if ((json === undefined) || (json === null)) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'accountId': !(0, runtime_1.exists)(json, 'accountId') ? undefined : json['accountId'],
|
|
38
|
-
'accountName': !(0, runtime_1.exists)(json, 'accountName') ? undefined : json['accountName'],
|
|
39
|
-
'regionName': !(0, runtime_1.exists)(json, 'regionName') ? undefined : json['regionName'],
|
|
40
|
-
'accountType': (0, CloudAccountType_1.CloudAccountTypeFromJSON)(json['accountType']),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.CloudAccountFromJSONTyped = CloudAccountFromJSONTyped;
|
|
44
|
-
function CloudAccountToJSON(value) {
|
|
45
|
-
if (value === undefined) {
|
|
46
|
-
return undefined;
|
|
47
|
-
}
|
|
48
|
-
if (value === null) {
|
|
49
|
-
return null;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'accountId': value.accountId,
|
|
53
|
-
'accountName': value.accountName,
|
|
54
|
-
'regionName': value.regionName,
|
|
55
|
-
'accountType': (0, CloudAccountType_1.CloudAccountTypeToJSON)(value.accountType),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
exports.CloudAccountToJSON = CloudAccountToJSON;
|
|
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.CloudAccountToJSON = exports.CloudAccountFromJSONTyped = exports.CloudAccountFromJSON = exports.instanceOfCloudAccount = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var CloudAccountType_1 = require("./CloudAccountType");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the CloudAccount interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfCloudAccount(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
isInstance = isInstance && "accountType" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfCloudAccount = instanceOfCloudAccount;
|
|
28
|
+
function CloudAccountFromJSON(json) {
|
|
29
|
+
return CloudAccountFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.CloudAccountFromJSON = CloudAccountFromJSON;
|
|
32
|
+
function CloudAccountFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'accountId': !(0, runtime_1.exists)(json, 'accountId') ? undefined : json['accountId'],
|
|
38
|
+
'accountName': !(0, runtime_1.exists)(json, 'accountName') ? undefined : json['accountName'],
|
|
39
|
+
'regionName': !(0, runtime_1.exists)(json, 'regionName') ? undefined : json['regionName'],
|
|
40
|
+
'accountType': (0, CloudAccountType_1.CloudAccountTypeFromJSON)(json['accountType']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.CloudAccountFromJSONTyped = CloudAccountFromJSONTyped;
|
|
44
|
+
function CloudAccountToJSON(value) {
|
|
45
|
+
if (value === undefined) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
if (value === null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'accountId': value.accountId,
|
|
53
|
+
'accountName': value.accountName,
|
|
54
|
+
'regionName': value.regionName,
|
|
55
|
+
'accountType': (0, CloudAccountType_1.CloudAccountTypeToJSON)(value.accountType),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.CloudAccountToJSON = CloudAccountToJSON;
|
|
@@ -1,23 +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
|
-
* Type of cloud account (Hosted by Cirro, or Bring your own account)
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare enum CloudAccountType {
|
|
18
|
-
Hosted = "HOSTED",
|
|
19
|
-
Byoa = "BYOA"
|
|
20
|
-
}
|
|
21
|
-
export declare function CloudAccountTypeFromJSON(json: any): CloudAccountType;
|
|
22
|
-
export declare function CloudAccountTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloudAccountType;
|
|
23
|
-
export declare function CloudAccountTypeToJSON(value?: CloudAccountType | null): any;
|
|
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 cloud account (Hosted by Cirro, or Bring your own account)
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum CloudAccountType {
|
|
18
|
+
Hosted = "HOSTED",
|
|
19
|
+
Byoa = "BYOA"
|
|
20
|
+
}
|
|
21
|
+
export declare function CloudAccountTypeFromJSON(json: any): CloudAccountType;
|
|
22
|
+
export declare function CloudAccountTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloudAccountType;
|
|
23
|
+
export declare function CloudAccountTypeToJSON(value?: CloudAccountType | null): any;
|
|
@@ -1,38 +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.CloudAccountTypeToJSON = exports.CloudAccountTypeFromJSONTyped = exports.CloudAccountTypeFromJSON = exports.CloudAccountType = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Type of cloud account (Hosted by Cirro, or Bring your own account)
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
var CloudAccountType;
|
|
23
|
-
(function (CloudAccountType) {
|
|
24
|
-
CloudAccountType["Hosted"] = "HOSTED";
|
|
25
|
-
CloudAccountType["Byoa"] = "BYOA";
|
|
26
|
-
})(CloudAccountType = exports.CloudAccountType || (exports.CloudAccountType = {}));
|
|
27
|
-
function CloudAccountTypeFromJSON(json) {
|
|
28
|
-
return CloudAccountTypeFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
exports.CloudAccountTypeFromJSON = CloudAccountTypeFromJSON;
|
|
31
|
-
function CloudAccountTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
exports.CloudAccountTypeFromJSONTyped = CloudAccountTypeFromJSONTyped;
|
|
35
|
-
function CloudAccountTypeToJSON(value) {
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
38
|
-
exports.CloudAccountTypeToJSON = CloudAccountTypeToJSON;
|
|
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.CloudAccountTypeToJSON = exports.CloudAccountTypeFromJSONTyped = exports.CloudAccountTypeFromJSON = exports.CloudAccountType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Type of cloud account (Hosted by Cirro, or Bring your own account)
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var CloudAccountType;
|
|
23
|
+
(function (CloudAccountType) {
|
|
24
|
+
CloudAccountType["Hosted"] = "HOSTED";
|
|
25
|
+
CloudAccountType["Byoa"] = "BYOA";
|
|
26
|
+
})(CloudAccountType = exports.CloudAccountType || (exports.CloudAccountType = {}));
|
|
27
|
+
function CloudAccountTypeFromJSON(json) {
|
|
28
|
+
return CloudAccountTypeFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.CloudAccountTypeFromJSON = CloudAccountTypeFromJSON;
|
|
31
|
+
function CloudAccountTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
exports.CloudAccountTypeFromJSONTyped = CloudAccountTypeFromJSONTyped;
|
|
35
|
+
function CloudAccountTypeToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
exports.CloudAccountTypeToJSON = CloudAccountTypeToJSON;
|
|
@@ -1,43 +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 ColumnDefinition
|
|
16
|
-
*/
|
|
17
|
-
export interface ColumnDefinition {
|
|
18
|
-
/**
|
|
19
|
-
* Column name in asset file
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ColumnDefinition
|
|
22
|
-
*/
|
|
23
|
-
col?: string;
|
|
24
|
-
/**
|
|
25
|
-
* User-friendly column name
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ColumnDefinition
|
|
28
|
-
*/
|
|
29
|
-
name?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Description of the column
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ColumnDefinition
|
|
34
|
-
*/
|
|
35
|
-
desc?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the ColumnDefinition interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfColumnDefinition(value: object): boolean;
|
|
41
|
-
export declare function ColumnDefinitionFromJSON(json: any): ColumnDefinition;
|
|
42
|
-
export declare function ColumnDefinitionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ColumnDefinition;
|
|
43
|
-
export declare function ColumnDefinitionToJSON(value?: ColumnDefinition | null): any;
|
|
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 ColumnDefinition
|
|
16
|
+
*/
|
|
17
|
+
export interface ColumnDefinition {
|
|
18
|
+
/**
|
|
19
|
+
* Column name in asset file
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ColumnDefinition
|
|
22
|
+
*/
|
|
23
|
+
col?: string;
|
|
24
|
+
/**
|
|
25
|
+
* User-friendly column name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ColumnDefinition
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Description of the column
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ColumnDefinition
|
|
34
|
+
*/
|
|
35
|
+
desc?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ColumnDefinition interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfColumnDefinition(value: object): boolean;
|
|
41
|
+
export declare function ColumnDefinitionFromJSON(json: any): ColumnDefinition;
|
|
42
|
+
export declare function ColumnDefinitionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ColumnDefinition;
|
|
43
|
+
export declare function ColumnDefinitionToJSON(value?: ColumnDefinition | null): any;
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Cirro Data
|
|
6
|
-
* Cirro Data Platform service API
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: latest
|
|
9
|
-
* Contact: support@cirro.bio
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ColumnDefinitionToJSON = exports.ColumnDefinitionFromJSONTyped = exports.ColumnDefinitionFromJSON = exports.instanceOfColumnDefinition = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the ColumnDefinition interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfColumnDefinition(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
return isInstance;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfColumnDefinition = instanceOfColumnDefinition;
|
|
26
|
-
function ColumnDefinitionFromJSON(json) {
|
|
27
|
-
return ColumnDefinitionFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.ColumnDefinitionFromJSON = ColumnDefinitionFromJSON;
|
|
30
|
-
function ColumnDefinitionFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if ((json === undefined) || (json === null)) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'col': !(0, runtime_1.exists)(json, 'col') ? undefined : json['col'],
|
|
36
|
-
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
37
|
-
'desc': !(0, runtime_1.exists)(json, 'desc') ? undefined : json['desc'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
exports.ColumnDefinitionFromJSONTyped = ColumnDefinitionFromJSONTyped;
|
|
41
|
-
function ColumnDefinitionToJSON(value) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'col': value.col,
|
|
50
|
-
'name': value.name,
|
|
51
|
-
'desc': value.desc,
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
exports.ColumnDefinitionToJSON = ColumnDefinitionToJSON;
|
|
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.ColumnDefinitionToJSON = exports.ColumnDefinitionFromJSONTyped = exports.ColumnDefinitionFromJSON = exports.instanceOfColumnDefinition = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the ColumnDefinition interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfColumnDefinition(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfColumnDefinition = instanceOfColumnDefinition;
|
|
26
|
+
function ColumnDefinitionFromJSON(json) {
|
|
27
|
+
return ColumnDefinitionFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.ColumnDefinitionFromJSON = ColumnDefinitionFromJSON;
|
|
30
|
+
function ColumnDefinitionFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'col': !(0, runtime_1.exists)(json, 'col') ? undefined : json['col'],
|
|
36
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
37
|
+
'desc': !(0, runtime_1.exists)(json, 'desc') ? undefined : json['desc'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.ColumnDefinitionFromJSONTyped = ColumnDefinitionFromJSONTyped;
|
|
41
|
+
function ColumnDefinitionToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'col': value.col,
|
|
50
|
+
'name': value.name,
|
|
51
|
+
'desc': value.desc,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.ColumnDefinitionToJSON = ColumnDefinitionToJSON;
|
package/dist/models/Contact.d.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
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 Contact
|
|
16
|
-
*/
|
|
17
|
-
export interface Contact {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Contact
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Contact
|
|
28
|
-
*/
|
|
29
|
-
organization: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Contact
|
|
34
|
-
*/
|
|
35
|
-
email: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Contact
|
|
40
|
-
*/
|
|
41
|
-
phone: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the Contact interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfContact(value: object): boolean;
|
|
47
|
-
export declare function ContactFromJSON(json: any): Contact;
|
|
48
|
-
export declare function ContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): Contact;
|
|
49
|
-
export declare function ContactToJSON(value?: Contact | null): any;
|
|
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 Contact
|
|
16
|
+
*/
|
|
17
|
+
export interface Contact {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Contact
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Contact
|
|
28
|
+
*/
|
|
29
|
+
organization: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Contact
|
|
34
|
+
*/
|
|
35
|
+
email: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Contact
|
|
40
|
+
*/
|
|
41
|
+
phone: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the Contact interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfContact(value: object): boolean;
|
|
47
|
+
export declare function ContactFromJSON(json: any): Contact;
|
|
48
|
+
export declare function ContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): Contact;
|
|
49
|
+
export declare function ContactToJSON(value?: Contact | null): any;
|
package/dist/models/Contact.js
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
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.ContactToJSON = exports.ContactFromJSONTyped = exports.ContactFromJSON = exports.instanceOfContact = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the Contact interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfContact(value) {
|
|
21
|
-
var isInstance = true;
|
|
22
|
-
isInstance = isInstance && "name" in value;
|
|
23
|
-
isInstance = isInstance && "organization" in value;
|
|
24
|
-
isInstance = isInstance && "email" in value;
|
|
25
|
-
isInstance = isInstance && "phone" in value;
|
|
26
|
-
return isInstance;
|
|
27
|
-
}
|
|
28
|
-
exports.instanceOfContact = instanceOfContact;
|
|
29
|
-
function ContactFromJSON(json) {
|
|
30
|
-
return ContactFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
exports.ContactFromJSON = ContactFromJSON;
|
|
33
|
-
function ContactFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if ((json === undefined) || (json === null)) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'name': json['name'],
|
|
39
|
-
'organization': json['organization'],
|
|
40
|
-
'email': json['email'],
|
|
41
|
-
'phone': json['phone'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.ContactFromJSONTyped = ContactFromJSONTyped;
|
|
45
|
-
function ContactToJSON(value) {
|
|
46
|
-
if (value === undefined) {
|
|
47
|
-
return undefined;
|
|
48
|
-
}
|
|
49
|
-
if (value === null) {
|
|
50
|
-
return null;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'name': value.name,
|
|
54
|
-
'organization': value.organization,
|
|
55
|
-
'email': value.email,
|
|
56
|
-
'phone': value.phone,
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
exports.ContactToJSON = ContactToJSON;
|
|
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.ContactToJSON = exports.ContactFromJSONTyped = exports.ContactFromJSON = exports.instanceOfContact = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the Contact interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfContact(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "name" in value;
|
|
23
|
+
isInstance = isInstance && "organization" in value;
|
|
24
|
+
isInstance = isInstance && "email" in value;
|
|
25
|
+
isInstance = isInstance && "phone" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfContact = instanceOfContact;
|
|
29
|
+
function ContactFromJSON(json) {
|
|
30
|
+
return ContactFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.ContactFromJSON = ContactFromJSON;
|
|
33
|
+
function ContactFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'organization': json['organization'],
|
|
40
|
+
'email': json['email'],
|
|
41
|
+
'phone': json['phone'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.ContactFromJSONTyped = ContactFromJSONTyped;
|
|
45
|
+
function ContactToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'name': value.name,
|
|
54
|
+
'organization': value.organization,
|
|
55
|
+
'email': value.email,
|
|
56
|
+
'phone': value.phone,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.ContactToJSON = ContactToJSON;
|