@cirrobio/api-client 0.0.28-alpha → 0.0.29-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.
@@ -1,37 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Cirro Data
5
- * Cirro Data Platform service API
6
- *
7
- * The version of the OpenAPI document: latest
8
- * Contact: support@cirro.bio
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- /**
16
- *
17
- * @export
18
- * @enum {string}
19
- */
20
- export enum DatasetType {
21
- Upload = 'UPLOAD',
22
- Public = 'PUBLIC'
23
- }
24
-
25
-
26
- export function DatasetTypeFromJSON(json: any): DatasetType {
27
- return DatasetTypeFromJSONTyped(json, false);
28
- }
29
-
30
- export function DatasetTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatasetType {
31
- return json as DatasetType;
32
- }
33
-
34
- export function DatasetTypeToJSON(value?: DatasetType | null): any {
35
- return value as any;
36
- }
37
-
@@ -1,65 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Cirro Data
5
- * Cirro Data Platform service API
6
- *
7
- * The version of the OpenAPI document: latest
8
- * Contact: support@cirro.bio
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { exists, mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface Region
20
- */
21
- export interface Region {
22
- /**
23
- *
24
- * @type {boolean}
25
- * @memberof Region
26
- */
27
- globalRegion?: boolean;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the Region interface.
32
- */
33
- export function instanceOfRegion(value: object): boolean {
34
- let isInstance = true;
35
-
36
- return isInstance;
37
- }
38
-
39
- export function RegionFromJSON(json: any): Region {
40
- return RegionFromJSONTyped(json, false);
41
- }
42
-
43
- export function RegionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Region {
44
- if ((json === undefined) || (json === null)) {
45
- return json;
46
- }
47
- return {
48
-
49
- 'globalRegion': !exists(json, 'globalRegion') ? undefined : json['globalRegion'],
50
- };
51
- }
52
-
53
- export function RegionToJSON(value?: Region | null): any {
54
- if (value === undefined) {
55
- return undefined;
56
- }
57
- if (value === null) {
58
- return null;
59
- }
60
- return {
61
-
62
- 'globalRegion': value.globalRegion,
63
- };
64
- }
65
-
@@ -1,92 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Cirro Data
5
- * Cirro Data Platform service API
6
- *
7
- * The version of the OpenAPI document: latest
8
- * Contact: support@cirro.bio
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { exists, mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface RegisterDatasetRequest
20
- */
21
- export interface RegisterDatasetRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof RegisterDatasetRequest
26
- */
27
- name: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof RegisterDatasetRequest
32
- */
33
- description: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof RegisterDatasetRequest
38
- */
39
- processId: string;
40
- /**
41
- * List of file names (with relative paths) that will be uploaded
42
- * @type {Array<string>}
43
- * @memberof RegisterDatasetRequest
44
- */
45
- expectedFiles?: Array<string>;
46
- }
47
-
48
- /**
49
- * Check if a given object implements the RegisterDatasetRequest interface.
50
- */
51
- export function instanceOfRegisterDatasetRequest(value: object): boolean {
52
- let isInstance = true;
53
- isInstance = isInstance && "name" in value;
54
- isInstance = isInstance && "description" in value;
55
- isInstance = isInstance && "processId" in value;
56
-
57
- return isInstance;
58
- }
59
-
60
- export function RegisterDatasetRequestFromJSON(json: any): RegisterDatasetRequest {
61
- return RegisterDatasetRequestFromJSONTyped(json, false);
62
- }
63
-
64
- export function RegisterDatasetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterDatasetRequest {
65
- if ((json === undefined) || (json === null)) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'name': json['name'],
71
- 'description': json['description'],
72
- 'processId': json['processId'],
73
- 'expectedFiles': !exists(json, 'expectedFiles') ? undefined : json['expectedFiles'],
74
- };
75
- }
76
-
77
- export function RegisterDatasetRequestToJSON(value?: RegisterDatasetRequest | null): any {
78
- if (value === undefined) {
79
- return undefined;
80
- }
81
- if (value === null) {
82
- return null;
83
- }
84
- return {
85
-
86
- 'name': value.name,
87
- 'description': value.description,
88
- 'processId': value.processId,
89
- 'expectedFiles': value.expectedFiles,
90
- };
91
- }
92
-
@@ -1,83 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Cirro Data
5
- * Cirro Data Platform service API
6
- *
7
- * The version of the OpenAPI document: latest
8
- * Contact: support@cirro.bio
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { exists, mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface RegisterPublicDataRequest
20
- */
21
- export interface RegisterPublicDataRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof RegisterPublicDataRequest
26
- */
27
- name: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof RegisterPublicDataRequest
32
- */
33
- description: string;
34
- /**
35
- * List of SRA/ENA/DDBJ/GEO/Synapse IDs
36
- * @type {Array<string>}
37
- * @memberof RegisterPublicDataRequest
38
- */
39
- publicIds?: Array<string>;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the RegisterPublicDataRequest interface.
44
- */
45
- export function instanceOfRegisterPublicDataRequest(value: object): boolean {
46
- let isInstance = true;
47
- isInstance = isInstance && "name" in value;
48
- isInstance = isInstance && "description" in value;
49
-
50
- return isInstance;
51
- }
52
-
53
- export function RegisterPublicDataRequestFromJSON(json: any): RegisterPublicDataRequest {
54
- return RegisterPublicDataRequestFromJSONTyped(json, false);
55
- }
56
-
57
- export function RegisterPublicDataRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterPublicDataRequest {
58
- if ((json === undefined) || (json === null)) {
59
- return json;
60
- }
61
- return {
62
-
63
- 'name': json['name'],
64
- 'description': json['description'],
65
- 'publicIds': !exists(json, 'publicIds') ? undefined : json['publicIds'],
66
- };
67
- }
68
-
69
- export function RegisterPublicDataRequestToJSON(value?: RegisterPublicDataRequest | null): any {
70
- if (value === undefined) {
71
- return undefined;
72
- }
73
- if (value === null) {
74
- return null;
75
- }
76
- return {
77
-
78
- 'name': value.name,
79
- 'description': value.description,
80
- 'publicIds': value.publicIds,
81
- };
82
- }
83
-