@cirrobio/api-client 0.0.24-alpha → 0.0.26-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +10 -0
- package/README.md +1 -1
- package/dist/apis/FileApi.d.ts +45 -0
- package/dist/apis/FileApi.js +195 -0
- package/dist/apis/ProcessesApi.d.ts +15 -1
- package/dist/apis/ProcessesApi.js +60 -0
- package/dist/apis/UsersApi.d.ts +14 -1
- package/dist/apis/UsersApi.js +57 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AllowedDataType.d.ts +44 -0
- package/dist/models/AllowedDataType.js +57 -0
- package/dist/models/FileNamePattern.d.ts +43 -0
- package/dist/models/FileNamePattern.js +56 -0
- package/dist/models/GenerateSftpCredentialsRequest.d.ts +31 -0
- package/dist/models/GenerateSftpCredentialsRequest.js +50 -0
- package/dist/models/InviteUserRequest.d.ts +43 -0
- package/dist/models/InviteUserRequest.js +56 -0
- package/dist/models/InviteUserResponse.d.ts +31 -0
- package/dist/models/InviteUserResponse.js +50 -0
- package/dist/models/S3Credentials.d.ts +55 -0
- package/dist/models/S3Credentials.js +62 -0
- package/dist/models/SftpCredentials.d.ts +49 -0
- package/dist/models/SftpCredentials.js +59 -0
- 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/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/package.json +1 -1
- package/src/apis/FileApi.ts +132 -0
- package/src/apis/ProcessesApi.ts +58 -0
- package/src/apis/UsersApi.ts +53 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AllowedDataType.ts +91 -0
- package/src/models/FileNamePattern.ts +84 -0
- package/src/models/GenerateSftpCredentialsRequest.ts +66 -0
- package/src/models/InviteUserRequest.ts +84 -0
- package/src/models/InviteUserResponse.ts +66 -0
- package/src/models/S3Credentials.ts +102 -0
- package/src/models/SftpCredentials.ts +93 -0
- package/src/models/ValidateDataInputsRequest.ts +75 -0
- package/src/models/ValidateDataInputsResponse.ts +91 -0
- package/src/models/index.ts +9 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.FileNamePatternToJSON = exports.FileNamePatternFromJSONTyped = exports.FileNamePatternFromJSON = exports.instanceOfFileNamePattern = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the FileNamePattern interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfFileNamePattern(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "exampleName" in value;
|
|
23
|
+
isInstance = isInstance && "description" in value;
|
|
24
|
+
isInstance = isInstance && "sampleMatchingPattern" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfFileNamePattern = instanceOfFileNamePattern;
|
|
28
|
+
function FileNamePatternFromJSON(json) {
|
|
29
|
+
return FileNamePatternFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.FileNamePatternFromJSON = FileNamePatternFromJSON;
|
|
32
|
+
function FileNamePatternFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'exampleName': json['exampleName'],
|
|
38
|
+
'description': json['description'],
|
|
39
|
+
'sampleMatchingPattern': json['sampleMatchingPattern'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.FileNamePatternFromJSONTyped = FileNamePatternFromJSONTyped;
|
|
43
|
+
function FileNamePatternToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'exampleName': value.exampleName,
|
|
52
|
+
'description': value.description,
|
|
53
|
+
'sampleMatchingPattern': value.sampleMatchingPattern,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.FileNamePatternToJSON = FileNamePatternToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 GenerateSftpCredentialsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GenerateSftpCredentialsRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GenerateSftpCredentialsRequest
|
|
22
|
+
*/
|
|
23
|
+
lifetimeDays: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GenerateSftpCredentialsRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGenerateSftpCredentialsRequest(value: object): boolean;
|
|
29
|
+
export declare function GenerateSftpCredentialsRequestFromJSON(json: any): GenerateSftpCredentialsRequest;
|
|
30
|
+
export declare function GenerateSftpCredentialsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerateSftpCredentialsRequest;
|
|
31
|
+
export declare function GenerateSftpCredentialsRequestToJSON(value?: GenerateSftpCredentialsRequest | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.GenerateSftpCredentialsRequestToJSON = exports.GenerateSftpCredentialsRequestFromJSONTyped = exports.GenerateSftpCredentialsRequestFromJSON = exports.instanceOfGenerateSftpCredentialsRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the GenerateSftpCredentialsRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfGenerateSftpCredentialsRequest(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "lifetimeDays" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfGenerateSftpCredentialsRequest = instanceOfGenerateSftpCredentialsRequest;
|
|
26
|
+
function GenerateSftpCredentialsRequestFromJSON(json) {
|
|
27
|
+
return GenerateSftpCredentialsRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.GenerateSftpCredentialsRequestFromJSON = GenerateSftpCredentialsRequestFromJSON;
|
|
30
|
+
function GenerateSftpCredentialsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'lifetimeDays': json['lifetimeDays'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.GenerateSftpCredentialsRequestFromJSONTyped = GenerateSftpCredentialsRequestFromJSONTyped;
|
|
39
|
+
function GenerateSftpCredentialsRequestToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'lifetimeDays': value.lifetimeDays,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.GenerateSftpCredentialsRequestToJSON = GenerateSftpCredentialsRequestToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InviteUserRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface InviteUserRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InviteUserRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InviteUserRequest
|
|
28
|
+
*/
|
|
29
|
+
organization: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InviteUserRequest
|
|
34
|
+
*/
|
|
35
|
+
email: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the InviteUserRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfInviteUserRequest(value: object): boolean;
|
|
41
|
+
export declare function InviteUserRequestFromJSON(json: any): InviteUserRequest;
|
|
42
|
+
export declare function InviteUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteUserRequest;
|
|
43
|
+
export declare function InviteUserRequestToJSON(value?: InviteUserRequest | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.InviteUserRequestToJSON = exports.InviteUserRequestFromJSONTyped = exports.InviteUserRequestFromJSON = exports.instanceOfInviteUserRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the InviteUserRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfInviteUserRequest(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "name" in value;
|
|
23
|
+
isInstance = isInstance && "organization" in value;
|
|
24
|
+
isInstance = isInstance && "email" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfInviteUserRequest = instanceOfInviteUserRequest;
|
|
28
|
+
function InviteUserRequestFromJSON(json) {
|
|
29
|
+
return InviteUserRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.InviteUserRequestFromJSON = InviteUserRequestFromJSON;
|
|
32
|
+
function InviteUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
'organization': json['organization'],
|
|
39
|
+
'email': json['email'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.InviteUserRequestFromJSONTyped = InviteUserRequestFromJSONTyped;
|
|
43
|
+
function InviteUserRequestToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'name': value.name,
|
|
52
|
+
'organization': value.organization,
|
|
53
|
+
'email': value.email,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.InviteUserRequestToJSON = InviteUserRequestToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 InviteUserResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface InviteUserResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InviteUserResponse
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the InviteUserResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfInviteUserResponse(value: object): boolean;
|
|
29
|
+
export declare function InviteUserResponseFromJSON(json: any): InviteUserResponse;
|
|
30
|
+
export declare function InviteUserResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteUserResponse;
|
|
31
|
+
export declare function InviteUserResponseToJSON(value?: InviteUserResponse | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.InviteUserResponseToJSON = exports.InviteUserResponseFromJSONTyped = exports.InviteUserResponseFromJSON = exports.instanceOfInviteUserResponse = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the InviteUserResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfInviteUserResponse(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "message" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfInviteUserResponse = instanceOfInviteUserResponse;
|
|
26
|
+
function InviteUserResponseFromJSON(json) {
|
|
27
|
+
return InviteUserResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.InviteUserResponseFromJSON = InviteUserResponseFromJSON;
|
|
30
|
+
function InviteUserResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'message': json['message'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.InviteUserResponseFromJSONTyped = InviteUserResponseFromJSONTyped;
|
|
39
|
+
function InviteUserResponseToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'message': value.message,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.InviteUserResponseToJSON = InviteUserResponseToJSON;
|
|
@@ -0,0 +1,55 @@
|
|
|
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 S3Credentials
|
|
16
|
+
*/
|
|
17
|
+
export interface S3Credentials {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof S3Credentials
|
|
22
|
+
*/
|
|
23
|
+
accessKeyId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof S3Credentials
|
|
28
|
+
*/
|
|
29
|
+
expiration: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof S3Credentials
|
|
34
|
+
*/
|
|
35
|
+
secretAccessKey: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof S3Credentials
|
|
40
|
+
*/
|
|
41
|
+
sessionToken: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof S3Credentials
|
|
46
|
+
*/
|
|
47
|
+
region: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the S3Credentials interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfS3Credentials(value: object): boolean;
|
|
53
|
+
export declare function S3CredentialsFromJSON(json: any): S3Credentials;
|
|
54
|
+
export declare function S3CredentialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): S3Credentials;
|
|
55
|
+
export declare function S3CredentialsToJSON(value?: S3Credentials | null): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.S3CredentialsToJSON = exports.S3CredentialsFromJSONTyped = exports.S3CredentialsFromJSON = exports.instanceOfS3Credentials = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the S3Credentials interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfS3Credentials(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "accessKeyId" in value;
|
|
23
|
+
isInstance = isInstance && "expiration" in value;
|
|
24
|
+
isInstance = isInstance && "secretAccessKey" in value;
|
|
25
|
+
isInstance = isInstance && "sessionToken" in value;
|
|
26
|
+
isInstance = isInstance && "region" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfS3Credentials = instanceOfS3Credentials;
|
|
30
|
+
function S3CredentialsFromJSON(json) {
|
|
31
|
+
return S3CredentialsFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.S3CredentialsFromJSON = S3CredentialsFromJSON;
|
|
34
|
+
function S3CredentialsFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'accessKeyId': json['accessKeyId'],
|
|
40
|
+
'expiration': json['expiration'],
|
|
41
|
+
'secretAccessKey': json['secretAccessKey'],
|
|
42
|
+
'sessionToken': json['sessionToken'],
|
|
43
|
+
'region': json['region'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.S3CredentialsFromJSONTyped = S3CredentialsFromJSONTyped;
|
|
47
|
+
function S3CredentialsToJSON(value) {
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'accessKeyId': value.accessKeyId,
|
|
56
|
+
'expiration': value.expiration,
|
|
57
|
+
'secretAccessKey': value.secretAccessKey,
|
|
58
|
+
'sessionToken': value.sessionToken,
|
|
59
|
+
'region': value.region,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
exports.S3CredentialsToJSON = S3CredentialsToJSON;
|
|
@@ -0,0 +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 SftpCredentials
|
|
16
|
+
*/
|
|
17
|
+
export interface SftpCredentials {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SftpCredentials
|
|
22
|
+
*/
|
|
23
|
+
username: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SftpCredentials
|
|
28
|
+
*/
|
|
29
|
+
password: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SftpCredentials
|
|
34
|
+
*/
|
|
35
|
+
projectId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof SftpCredentials
|
|
40
|
+
*/
|
|
41
|
+
expiresAt: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the SftpCredentials interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfSftpCredentials(value: object): boolean;
|
|
47
|
+
export declare function SftpCredentialsFromJSON(json: any): SftpCredentials;
|
|
48
|
+
export declare function SftpCredentialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SftpCredentials;
|
|
49
|
+
export declare function SftpCredentialsToJSON(value?: SftpCredentials | null): any;
|
|
@@ -0,0 +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.SftpCredentialsToJSON = exports.SftpCredentialsFromJSONTyped = exports.SftpCredentialsFromJSON = exports.instanceOfSftpCredentials = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SftpCredentials interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSftpCredentials(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "username" in value;
|
|
23
|
+
isInstance = isInstance && "password" in value;
|
|
24
|
+
isInstance = isInstance && "projectId" in value;
|
|
25
|
+
isInstance = isInstance && "expiresAt" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfSftpCredentials = instanceOfSftpCredentials;
|
|
29
|
+
function SftpCredentialsFromJSON(json) {
|
|
30
|
+
return SftpCredentialsFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.SftpCredentialsFromJSON = SftpCredentialsFromJSON;
|
|
33
|
+
function SftpCredentialsFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'username': json['username'],
|
|
39
|
+
'password': json['password'],
|
|
40
|
+
'projectId': json['projectId'],
|
|
41
|
+
'expiresAt': (new Date(json['expiresAt'])),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.SftpCredentialsFromJSONTyped = SftpCredentialsFromJSONTyped;
|
|
45
|
+
function SftpCredentialsToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'username': value.username,
|
|
54
|
+
'password': value.password,
|
|
55
|
+
'projectId': value.projectId,
|
|
56
|
+
'expiresAt': (value.expiresAt.toISOString()),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.SftpCredentialsToJSON = SftpCredentialsToJSON;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ValidateDataInputsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ValidateDataInputsRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ValidateDataInputsRequest
|
|
22
|
+
*/
|
|
23
|
+
sampleSheet: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof ValidateDataInputsRequest
|
|
28
|
+
*/
|
|
29
|
+
fileNames: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ValidateDataInputsRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfValidateDataInputsRequest(value: object): boolean;
|
|
35
|
+
export declare function ValidateDataInputsRequestFromJSON(json: any): ValidateDataInputsRequest;
|
|
36
|
+
export declare function ValidateDataInputsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidateDataInputsRequest;
|
|
37
|
+
export declare function ValidateDataInputsRequestToJSON(value?: ValidateDataInputsRequest | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ValidateDataInputsRequestToJSON = exports.ValidateDataInputsRequestFromJSONTyped = exports.ValidateDataInputsRequestFromJSON = exports.instanceOfValidateDataInputsRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ValidateDataInputsRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfValidateDataInputsRequest(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "sampleSheet" in value;
|
|
23
|
+
isInstance = isInstance && "fileNames" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfValidateDataInputsRequest = instanceOfValidateDataInputsRequest;
|
|
27
|
+
function ValidateDataInputsRequestFromJSON(json) {
|
|
28
|
+
return ValidateDataInputsRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.ValidateDataInputsRequestFromJSON = ValidateDataInputsRequestFromJSON;
|
|
31
|
+
function ValidateDataInputsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'sampleSheet': json['sampleSheet'],
|
|
37
|
+
'fileNames': json['fileNames'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.ValidateDataInputsRequestFromJSONTyped = ValidateDataInputsRequestFromJSONTyped;
|
|
41
|
+
function ValidateDataInputsRequestToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'sampleSheet': value.sampleSheet,
|
|
50
|
+
'fileNames': value.fileNames,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.ValidateDataInputsRequestToJSON = ValidateDataInputsRequestToJSON;
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { AllowedDataType } from './AllowedDataType';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ValidateDataInputsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ValidateDataInputsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<string>}
|
|
22
|
+
* @memberof ValidateDataInputsResponse
|
|
23
|
+
*/
|
|
24
|
+
files: Array<string>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ValidateDataInputsResponse
|
|
29
|
+
*/
|
|
30
|
+
errorMsg: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<AllowedDataType>}
|
|
34
|
+
* @memberof ValidateDataInputsResponse
|
|
35
|
+
*/
|
|
36
|
+
allowedDataTypes: Array<AllowedDataType>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ValidateDataInputsResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfValidateDataInputsResponse(value: object): boolean;
|
|
42
|
+
export declare function ValidateDataInputsResponseFromJSON(json: any): ValidateDataInputsResponse;
|
|
43
|
+
export declare function ValidateDataInputsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidateDataInputsResponse;
|
|
44
|
+
export declare function ValidateDataInputsResponseToJSON(value?: ValidateDataInputsResponse | null): any;
|