@cirrobio/api-client 0.0.9-alpha → 0.0.11-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.
Files changed (81) hide show
  1. package/.openapi-generator/FILES +6 -2
  2. package/README.md +1 -1
  3. package/dist/apis/BillingApi.d.ts +15 -2
  4. package/dist/apis/BillingApi.js +57 -3
  5. package/dist/apis/DashboardsApi.d.ts +88 -0
  6. package/dist/apis/DashboardsApi.js +374 -0
  7. package/dist/apis/DatasetsApi.d.ts +19 -5
  8. package/dist/apis/DatasetsApi.js +64 -4
  9. package/dist/apis/MetadataApi.d.ts +12 -0
  10. package/dist/apis/MetadataApi.js +59 -1
  11. package/dist/apis/ProjectsApi.d.ts +13 -1
  12. package/dist/apis/ProjectsApi.js +54 -4
  13. package/dist/apis/index.d.ts +1 -0
  14. package/dist/apis/index.js +1 -0
  15. package/dist/models/BillingAccount.d.ts +6 -0
  16. package/dist/models/BillingAccount.js +3 -0
  17. package/dist/models/BudgetPeriod.d.ts +1 -1
  18. package/dist/models/BudgetPeriod.js +1 -1
  19. package/dist/models/CloudAccount.d.ts +3 -10
  20. package/dist/models/CloudAccount.js +0 -3
  21. package/dist/models/Contact.d.ts +4 -4
  22. package/dist/models/Contact.js +8 -5
  23. package/dist/models/CreateDashboardRequest.d.ts +31 -0
  24. package/dist/models/CreateDashboardRequest.js +50 -0
  25. package/dist/models/CustomPipelineSettings.d.ts +6 -6
  26. package/dist/models/CustomPipelineSettings.js +13 -8
  27. package/dist/models/CustomerType.d.ts +2 -4
  28. package/dist/models/CustomerType.js +2 -4
  29. package/dist/models/Dashboard.d.ts +69 -0
  30. package/dist/models/Dashboard.js +68 -0
  31. package/dist/models/Dataset.d.ts +8 -7
  32. package/dist/models/Dataset.js +10 -9
  33. package/dist/models/DatasetDetail.d.ts +11 -10
  34. package/dist/models/DatasetDetail.js +13 -12
  35. package/dist/models/PaginatedResponseDatasetListDto.d.ts +38 -0
  36. package/dist/models/PaginatedResponseDatasetListDto.js +54 -0
  37. package/dist/models/Project.d.ts +9 -2
  38. package/dist/models/Project.js +6 -2
  39. package/dist/models/ProjectDetail.d.ts +7 -6
  40. package/dist/models/ProjectDetail.js +7 -6
  41. package/dist/models/ProjectSettings.d.ts +26 -26
  42. package/dist/models/ProjectSettings.js +14 -26
  43. package/dist/models/RegisterDatasetRequest.d.ts +20 -2
  44. package/dist/models/RegisterDatasetRequest.js +11 -2
  45. package/dist/models/RegisterPublicDataRequest.d.ts +43 -0
  46. package/dist/models/RegisterPublicDataRequest.js +56 -0
  47. package/dist/models/Sample.d.ts +12 -0
  48. package/dist/models/Sample.js +6 -0
  49. package/dist/models/SetUserProjectRoleRequest.d.ts +15 -2
  50. package/dist/models/SetUserProjectRoleRequest.js +9 -2
  51. package/dist/models/Status.d.ts +29 -0
  52. package/dist/models/Status.js +44 -0
  53. package/dist/models/index.d.ts +5 -2
  54. package/dist/models/index.js +5 -2
  55. package/package.json +1 -1
  56. package/src/apis/BillingApi.ts +46 -3
  57. package/src/apis/DashboardsApi.ts +287 -0
  58. package/src/apis/DatasetsApi.ts +64 -9
  59. package/src/apis/MetadataApi.ts +51 -1
  60. package/src/apis/ProjectsApi.ts +44 -6
  61. package/src/apis/index.ts +1 -0
  62. package/src/models/BillingAccount.ts +9 -0
  63. package/src/models/BudgetPeriod.ts +1 -1
  64. package/src/models/CloudAccount.ts +3 -18
  65. package/src/models/Contact.ts +12 -8
  66. package/src/models/CreateDashboardRequest.ts +65 -0
  67. package/src/models/CustomPipelineSettings.ts +19 -13
  68. package/src/models/CustomerType.ts +2 -4
  69. package/src/models/Dashboard.ts +120 -0
  70. package/src/models/Dataset.ts +22 -16
  71. package/src/models/DatasetDetail.ts +28 -22
  72. package/src/models/PaginatedResponseDatasetListDto.ts +82 -0
  73. package/src/models/Project.ts +19 -4
  74. package/src/models/ProjectDetail.ts +18 -12
  75. package/src/models/ProjectSettings.ts +39 -52
  76. package/src/models/RegisterDatasetRequest.ts +31 -4
  77. package/src/models/RegisterPublicDataRequest.ts +83 -0
  78. package/src/models/Sample.ts +18 -0
  79. package/src/models/SetUserProjectRoleRequest.ts +29 -4
  80. package/src/models/Status.ts +43 -0
  81. package/src/models/index.ts +5 -2
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { Contact } from './Contact';
13
13
  import type { ProjectSettings } from './ProjectSettings';
14
+ import type { Status } from './Status';
14
15
  import type { Tag } from './Tag';
15
16
  /**
16
17
  *
@@ -50,10 +51,10 @@ export interface ProjectDetail {
50
51
  contacts: Array<Contact>;
51
52
  /**
52
53
  *
53
- * @type {string}
54
+ * @type {Status}
54
55
  * @memberof ProjectDetail
55
56
  */
56
- status: string;
57
+ status: Status;
57
58
  /**
58
59
  *
59
60
  * @type {ProjectSettings}
@@ -80,16 +81,16 @@ export interface ProjectDetail {
80
81
  createdBy: string;
81
82
  /**
82
83
  *
83
- * @type {string}
84
+ * @type {Date}
84
85
  * @memberof ProjectDetail
85
86
  */
86
- createdAt: string;
87
+ createdAt: Date;
87
88
  /**
88
89
  *
89
- * @type {string}
90
+ * @type {Date}
90
91
  * @memberof ProjectDetail
91
92
  */
92
- updatedAt: string;
93
+ updatedAt: Date;
93
94
  }
94
95
  /**
95
96
  * Check if a given object implements the ProjectDetail interface.
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ProjectDetailToJSON = exports.ProjectDetailFromJSONTyped = exports.ProjectDetailFromJSON = exports.instanceOfProjectDetail = void 0;
17
17
  var Contact_1 = require("./Contact");
18
18
  var ProjectSettings_1 = require("./ProjectSettings");
19
+ var Status_1 = require("./Status");
19
20
  var Tag_1 = require("./Tag");
20
21
  /**
21
22
  * Check if a given object implements the ProjectDetail interface.
@@ -51,13 +52,13 @@ function ProjectDetailFromJSONTyped(json, ignoreDiscriminator) {
51
52
  'description': json['description'],
52
53
  'billingAccountId': json['billingAccountId'],
53
54
  'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
54
- 'status': json['status'],
55
+ 'status': (0, Status_1.StatusFromJSON)(json['status']),
55
56
  'settings': (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
56
57
  'statusMessage': json['statusMessage'],
57
58
  'tags': (json['tags'].map(Tag_1.TagFromJSON)),
58
59
  'createdBy': json['createdBy'],
59
- 'createdAt': json['createdAt'],
60
- 'updatedAt': json['updatedAt'],
60
+ 'createdAt': (new Date(json['createdAt'])),
61
+ 'updatedAt': (new Date(json['updatedAt'])),
61
62
  };
62
63
  }
63
64
  exports.ProjectDetailFromJSONTyped = ProjectDetailFromJSONTyped;
@@ -74,13 +75,13 @@ function ProjectDetailToJSON(value) {
74
75
  'description': value.description,
75
76
  'billingAccountId': value.billingAccountId,
76
77
  'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
77
- 'status': value.status,
78
+ 'status': (0, Status_1.StatusToJSON)(value.status),
78
79
  'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value.settings),
79
80
  'statusMessage': value.statusMessage,
80
81
  'tags': (value.tags.map(Tag_1.TagToJSON)),
81
82
  'createdBy': value.createdBy,
82
- 'createdAt': value.createdAt,
83
- 'updatedAt': value.updatedAt,
83
+ 'createdAt': (value.createdAt.toISOString()),
84
+ 'updatedAt': (value.updatedAt.toISOString()),
84
85
  };
85
86
  }
86
87
  exports.ProjectDetailToJSON = ProjectDetailToJSON;
@@ -17,11 +17,11 @@ import type { BudgetPeriod } from './BudgetPeriod';
17
17
  */
18
18
  export interface ProjectSettings {
19
19
  /**
20
- *
20
+ * Total allowed cost for the budget period
21
21
  * @type {number}
22
22
  * @memberof ProjectSettings
23
23
  */
24
- budgetAmount: number;
24
+ budgetAmount?: number;
25
25
  /**
26
26
  *
27
27
  * @type {BudgetPeriod}
@@ -29,53 +29,53 @@ export interface ProjectSettings {
29
29
  */
30
30
  budgetPeriod: BudgetPeriod;
31
31
  /**
32
- *
32
+ * AMI ID for the DRAGEN compute environment (if enabled)
33
33
  * @type {string}
34
34
  * @memberof ProjectSettings
35
35
  */
36
- dragenAmi: string;
36
+ dragenAmi?: string | null;
37
37
  /**
38
- *
38
+ * Enables the default compute environment
39
39
  * @type {boolean}
40
40
  * @memberof ProjectSettings
41
41
  */
42
- enableCompute: boolean;
42
+ enableCompute?: boolean;
43
43
  /**
44
- *
44
+ * Enables the DRAGEN compute environment
45
45
  * @type {boolean}
46
46
  * @memberof ProjectSettings
47
47
  */
48
- enableDragen: boolean;
48
+ enableDragen?: boolean;
49
49
  /**
50
- *
50
+ * Enables the AWS Backup service for S3
51
51
  * @type {boolean}
52
52
  * @memberof ProjectSettings
53
53
  */
54
- enableBackup: boolean;
54
+ enableBackup?: boolean;
55
55
  /**
56
- *
56
+ * Enables access to files over SFTP
57
57
  * @type {boolean}
58
58
  * @memberof ProjectSettings
59
59
  */
60
- enableSftp: boolean;
60
+ enableSftp?: boolean;
61
61
  /**
62
- *
62
+ * Service quota limit for On Demand F1 instances
63
63
  * @type {number}
64
64
  * @memberof ProjectSettings
65
65
  */
66
- maxF1VCPU: number;
66
+ maxF1VCPU?: number;
67
67
  /**
68
- *
68
+ * Service quota limit for SPOT instances
69
69
  * @type {number}
70
70
  * @memberof ProjectSettings
71
71
  */
72
- maxSpotVCPU: number;
72
+ maxSpotVCPU?: number;
73
73
  /**
74
- *
74
+ * Days to keep deleted datasets before being permanently erased
75
75
  * @type {number}
76
76
  * @memberof ProjectSettings
77
77
  */
78
- retentionPolicyDays: number;
78
+ retentionPolicyDays?: number;
79
79
  /**
80
80
  *
81
81
  * @type {Array<string>}
@@ -83,29 +83,29 @@ export interface ProjectSettings {
83
83
  */
84
84
  serviceConnections: Array<string>;
85
85
  /**
86
- *
86
+ * Creates a default VPC for the compute environment, if false, VPC ID must be provided
87
87
  * @type {boolean}
88
88
  * @memberof ProjectSettings
89
89
  */
90
- createVpc: boolean;
90
+ createVpc?: boolean;
91
91
  /**
92
- *
92
+ * VPC that the compute environment will use
93
93
  * @type {string}
94
94
  * @memberof ProjectSettings
95
95
  */
96
- vpcId: string;
96
+ vpcId?: string | null;
97
97
  /**
98
- *
98
+ * List of subnets that the compute environment will use
99
99
  * @type {Array<string>}
100
100
  * @memberof ProjectSettings
101
101
  */
102
- batchSubnets: Array<string>;
102
+ batchSubnets?: Array<string> | null;
103
103
  /**
104
- *
104
+ * KMS Key ARN to encrypt S3 objects, one will be created if the arn is not provided
105
105
  * @type {string}
106
106
  * @memberof ProjectSettings
107
107
  */
108
- kmsArn: string;
108
+ kmsArn?: string | null;
109
109
  }
110
110
  /**
111
111
  * Check if a given object implements the ProjectSettings interface.
@@ -14,27 +14,15 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ProjectSettingsToJSON = exports.ProjectSettingsFromJSONTyped = exports.ProjectSettingsFromJSON = exports.instanceOfProjectSettings = void 0;
17
+ var runtime_1 = require("../runtime");
17
18
  var BudgetPeriod_1 = require("./BudgetPeriod");
18
19
  /**
19
20
  * Check if a given object implements the ProjectSettings interface.
20
21
  */
21
22
  function instanceOfProjectSettings(value) {
22
23
  var isInstance = true;
23
- isInstance = isInstance && "budgetAmount" in value;
24
24
  isInstance = isInstance && "budgetPeriod" in value;
25
- isInstance = isInstance && "dragenAmi" in value;
26
- isInstance = isInstance && "enableCompute" in value;
27
- isInstance = isInstance && "enableDragen" in value;
28
- isInstance = isInstance && "enableBackup" in value;
29
- isInstance = isInstance && "enableSftp" in value;
30
- isInstance = isInstance && "maxF1VCPU" in value;
31
- isInstance = isInstance && "maxSpotVCPU" in value;
32
- isInstance = isInstance && "retentionPolicyDays" in value;
33
25
  isInstance = isInstance && "serviceConnections" in value;
34
- isInstance = isInstance && "createVpc" in value;
35
- isInstance = isInstance && "vpcId" in value;
36
- isInstance = isInstance && "batchSubnets" in value;
37
- isInstance = isInstance && "kmsArn" in value;
38
26
  return isInstance;
39
27
  }
40
28
  exports.instanceOfProjectSettings = instanceOfProjectSettings;
@@ -47,21 +35,21 @@ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
47
35
  return json;
48
36
  }
49
37
  return {
50
- 'budgetAmount': json['budgetAmount'],
38
+ 'budgetAmount': !(0, runtime_1.exists)(json, 'budgetAmount') ? undefined : json['budgetAmount'],
51
39
  'budgetPeriod': (0, BudgetPeriod_1.BudgetPeriodFromJSON)(json['budgetPeriod']),
52
- 'dragenAmi': json['dragenAmi'],
53
- 'enableCompute': json['enableCompute'],
54
- 'enableDragen': json['enableDragen'],
55
- 'enableBackup': json['enableBackup'],
56
- 'enableSftp': json['enableSftp'],
57
- 'maxF1VCPU': json['maxF1VCPU'],
58
- 'maxSpotVCPU': json['maxSpotVCPU'],
59
- 'retentionPolicyDays': json['retentionPolicyDays'],
40
+ 'dragenAmi': !(0, runtime_1.exists)(json, 'dragenAmi') ? undefined : json['dragenAmi'],
41
+ 'enableCompute': !(0, runtime_1.exists)(json, 'enableCompute') ? undefined : json['enableCompute'],
42
+ 'enableDragen': !(0, runtime_1.exists)(json, 'enableDragen') ? undefined : json['enableDragen'],
43
+ 'enableBackup': !(0, runtime_1.exists)(json, 'enableBackup') ? undefined : json['enableBackup'],
44
+ 'enableSftp': !(0, runtime_1.exists)(json, 'enableSftp') ? undefined : json['enableSftp'],
45
+ 'maxF1VCPU': !(0, runtime_1.exists)(json, 'maxF1VCPU') ? undefined : json['maxF1VCPU'],
46
+ 'maxSpotVCPU': !(0, runtime_1.exists)(json, 'maxSpotVCPU') ? undefined : json['maxSpotVCPU'],
47
+ 'retentionPolicyDays': !(0, runtime_1.exists)(json, 'retentionPolicyDays') ? undefined : json['retentionPolicyDays'],
60
48
  'serviceConnections': json['serviceConnections'],
61
- 'createVpc': json['createVpc'],
62
- 'vpcId': json['vpcId'],
63
- 'batchSubnets': json['batchSubnets'],
64
- 'kmsArn': json['kmsArn'],
49
+ 'createVpc': !(0, runtime_1.exists)(json, 'createVpc') ? undefined : json['createVpc'],
50
+ 'vpcId': !(0, runtime_1.exists)(json, 'vpcId') ? undefined : json['vpcId'],
51
+ 'batchSubnets': !(0, runtime_1.exists)(json, 'batchSubnets') ? undefined : json['batchSubnets'],
52
+ 'kmsArn': !(0, runtime_1.exists)(json, 'kmsArn') ? undefined : json['kmsArn'],
65
53
  };
66
54
  }
67
55
  exports.ProjectSettingsFromJSONTyped = ProjectSettingsFromJSONTyped;
@@ -17,10 +17,28 @@
17
17
  export interface RegisterDatasetRequest {
18
18
  /**
19
19
  *
20
- * @type {RegisterDatasetRequest}
20
+ * @type {string}
21
21
  * @memberof RegisterDatasetRequest
22
22
  */
23
- registerDatasetRequest?: RegisterDatasetRequest;
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RegisterDatasetRequest
28
+ */
29
+ description: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof RegisterDatasetRequest
34
+ */
35
+ processId: string;
36
+ /**
37
+ * List of file names (with relative paths) that will be uploaded
38
+ * @type {Array<string>}
39
+ * @memberof RegisterDatasetRequest
40
+ */
41
+ expectedFiles?: Array<string>;
24
42
  }
25
43
  /**
26
44
  * Check if a given object implements the RegisterDatasetRequest interface.
@@ -20,6 +20,9 @@ var runtime_1 = require("../runtime");
20
20
  */
21
21
  function instanceOfRegisterDatasetRequest(value) {
22
22
  var isInstance = true;
23
+ isInstance = isInstance && "name" in value;
24
+ isInstance = isInstance && "description" in value;
25
+ isInstance = isInstance && "processId" in value;
23
26
  return isInstance;
24
27
  }
25
28
  exports.instanceOfRegisterDatasetRequest = instanceOfRegisterDatasetRequest;
@@ -32,7 +35,10 @@ function RegisterDatasetRequestFromJSONTyped(json, ignoreDiscriminator) {
32
35
  return json;
33
36
  }
34
37
  return {
35
- 'registerDatasetRequest': !(0, runtime_1.exists)(json, 'registerDatasetRequest') ? undefined : RegisterDatasetRequestFromJSON(json['registerDatasetRequest']),
38
+ 'name': json['name'],
39
+ 'description': json['description'],
40
+ 'processId': json['processId'],
41
+ 'expectedFiles': !(0, runtime_1.exists)(json, 'expectedFiles') ? undefined : json['expectedFiles'],
36
42
  };
37
43
  }
38
44
  exports.RegisterDatasetRequestFromJSONTyped = RegisterDatasetRequestFromJSONTyped;
@@ -44,7 +50,10 @@ function RegisterDatasetRequestToJSON(value) {
44
50
  return null;
45
51
  }
46
52
  return {
47
- 'registerDatasetRequest': RegisterDatasetRequestToJSON(value.registerDatasetRequest),
53
+ 'name': value.name,
54
+ 'description': value.description,
55
+ 'processId': value.processId,
56
+ 'expectedFiles': value.expectedFiles,
48
57
  };
49
58
  }
50
59
  exports.RegisterDatasetRequestToJSON = RegisterDatasetRequestToJSON;
@@ -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 RegisterPublicDataRequest
16
+ */
17
+ export interface RegisterPublicDataRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RegisterPublicDataRequest
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RegisterPublicDataRequest
28
+ */
29
+ description: string;
30
+ /**
31
+ * List of SRA/ENA/DDBJ/GEO/Synapse IDs
32
+ * @type {Array<string>}
33
+ * @memberof RegisterPublicDataRequest
34
+ */
35
+ publicIds?: Array<string>;
36
+ }
37
+ /**
38
+ * Check if a given object implements the RegisterPublicDataRequest interface.
39
+ */
40
+ export declare function instanceOfRegisterPublicDataRequest(value: object): boolean;
41
+ export declare function RegisterPublicDataRequestFromJSON(json: any): RegisterPublicDataRequest;
42
+ export declare function RegisterPublicDataRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterPublicDataRequest;
43
+ export declare function RegisterPublicDataRequestToJSON(value?: RegisterPublicDataRequest | 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.RegisterPublicDataRequestToJSON = exports.RegisterPublicDataRequestFromJSONTyped = exports.RegisterPublicDataRequestFromJSON = exports.instanceOfRegisterPublicDataRequest = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the RegisterPublicDataRequest interface.
20
+ */
21
+ function instanceOfRegisterPublicDataRequest(value) {
22
+ var isInstance = true;
23
+ isInstance = isInstance && "name" in value;
24
+ isInstance = isInstance && "description" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfRegisterPublicDataRequest = instanceOfRegisterPublicDataRequest;
28
+ function RegisterPublicDataRequestFromJSON(json) {
29
+ return RegisterPublicDataRequestFromJSONTyped(json, false);
30
+ }
31
+ exports.RegisterPublicDataRequestFromJSON = RegisterPublicDataRequestFromJSON;
32
+ function RegisterPublicDataRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'name': json['name'],
38
+ 'description': json['description'],
39
+ 'publicIds': !(0, runtime_1.exists)(json, 'publicIds') ? undefined : json['publicIds'],
40
+ };
41
+ }
42
+ exports.RegisterPublicDataRequestFromJSONTyped = RegisterPublicDataRequestFromJSONTyped;
43
+ function RegisterPublicDataRequestToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'name': value.name,
52
+ 'description': value.description,
53
+ 'publicIds': value.publicIds,
54
+ };
55
+ }
56
+ exports.RegisterPublicDataRequestToJSON = RegisterPublicDataRequestToJSON;
@@ -29,6 +29,18 @@ export interface Sample {
29
29
  metadata: {
30
30
  [key: string]: any;
31
31
  };
32
+ /**
33
+ *
34
+ * @type {Date}
35
+ * @memberof Sample
36
+ */
37
+ createdAt: Date;
38
+ /**
39
+ *
40
+ * @type {Date}
41
+ * @memberof Sample
42
+ */
43
+ updatedAt: Date;
32
44
  }
33
45
  /**
34
46
  * Check if a given object implements the Sample interface.
@@ -21,6 +21,8 @@ function instanceOfSample(value) {
21
21
  var isInstance = true;
22
22
  isInstance = isInstance && "name" in value;
23
23
  isInstance = isInstance && "metadata" in value;
24
+ isInstance = isInstance && "createdAt" in value;
25
+ isInstance = isInstance && "updatedAt" in value;
24
26
  return isInstance;
25
27
  }
26
28
  exports.instanceOfSample = instanceOfSample;
@@ -35,6 +37,8 @@ function SampleFromJSONTyped(json, ignoreDiscriminator) {
35
37
  return {
36
38
  'name': json['name'],
37
39
  'metadata': json['metadata'],
40
+ 'createdAt': (new Date(json['createdAt'])),
41
+ 'updatedAt': (new Date(json['updatedAt'])),
38
42
  };
39
43
  }
40
44
  exports.SampleFromJSONTyped = SampleFromJSONTyped;
@@ -48,6 +52,8 @@ function SampleToJSON(value) {
48
52
  return {
49
53
  'name': value.name,
50
54
  'metadata': value.metadata,
55
+ 'createdAt': (value.createdAt.toISOString()),
56
+ 'updatedAt': (value.updatedAt.toISOString()),
51
57
  };
52
58
  }
53
59
  exports.SampleToJSON = SampleToJSON;
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ProjectRole } from './ProjectRole';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -17,10 +18,22 @@
17
18
  export interface SetUserProjectRoleRequest {
18
19
  /**
19
20
  *
20
- * @type {SetUserProjectRoleRequest}
21
+ * @type {string}
21
22
  * @memberof SetUserProjectRoleRequest
22
23
  */
23
- setUserProjectRoleRequest?: SetUserProjectRoleRequest;
24
+ username: string;
25
+ /**
26
+ *
27
+ * @type {ProjectRole}
28
+ * @memberof SetUserProjectRoleRequest
29
+ */
30
+ role: ProjectRole;
31
+ /**
32
+ *
33
+ * @type {boolean}
34
+ * @memberof SetUserProjectRoleRequest
35
+ */
36
+ supressNotification?: boolean;
24
37
  }
25
38
  /**
26
39
  * Check if a given object implements the SetUserProjectRoleRequest interface.
@@ -15,11 +15,14 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SetUserProjectRoleRequestToJSON = exports.SetUserProjectRoleRequestFromJSONTyped = exports.SetUserProjectRoleRequestFromJSON = exports.instanceOfSetUserProjectRoleRequest = void 0;
17
17
  var runtime_1 = require("../runtime");
18
+ var ProjectRole_1 = require("./ProjectRole");
18
19
  /**
19
20
  * Check if a given object implements the SetUserProjectRoleRequest interface.
20
21
  */
21
22
  function instanceOfSetUserProjectRoleRequest(value) {
22
23
  var isInstance = true;
24
+ isInstance = isInstance && "username" in value;
25
+ isInstance = isInstance && "role" in value;
23
26
  return isInstance;
24
27
  }
25
28
  exports.instanceOfSetUserProjectRoleRequest = instanceOfSetUserProjectRoleRequest;
@@ -32,7 +35,9 @@ function SetUserProjectRoleRequestFromJSONTyped(json, ignoreDiscriminator) {
32
35
  return json;
33
36
  }
34
37
  return {
35
- 'setUserProjectRoleRequest': !(0, runtime_1.exists)(json, 'setUserProjectRoleRequest') ? undefined : SetUserProjectRoleRequestFromJSON(json['setUserProjectRoleRequest']),
38
+ 'username': json['username'],
39
+ 'role': (0, ProjectRole_1.ProjectRoleFromJSON)(json['role']),
40
+ 'supressNotification': !(0, runtime_1.exists)(json, 'supressNotification') ? undefined : json['supressNotification'],
36
41
  };
37
42
  }
38
43
  exports.SetUserProjectRoleRequestFromJSONTyped = SetUserProjectRoleRequestFromJSONTyped;
@@ -44,7 +49,9 @@ function SetUserProjectRoleRequestToJSON(value) {
44
49
  return null;
45
50
  }
46
51
  return {
47
- 'setUserProjectRoleRequest': SetUserProjectRoleRequestToJSON(value.setUserProjectRoleRequest),
52
+ 'username': value.username,
53
+ 'role': (0, ProjectRole_1.ProjectRoleToJSON)(value.role),
54
+ 'supressNotification': value.supressNotification,
48
55
  };
49
56
  }
50
57
  exports.SetUserProjectRoleRequestToJSON = SetUserProjectRoleRequestToJSON;
@@ -0,0 +1,29 @@
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 Status {
18
+ Completed = "COMPLETED",
19
+ Pending = "PENDING",
20
+ Running = "RUNNING",
21
+ Archived = "ARCHIVED",
22
+ Deleted = "DELETED",
23
+ Deleting = "DELETING",
24
+ Delete = "DELETE",
25
+ Failed = "FAILED"
26
+ }
27
+ export declare function StatusFromJSON(json: any): Status;
28
+ export declare function StatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): Status;
29
+ export declare function StatusToJSON(value?: Status | null): any;
@@ -0,0 +1,44 @@
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.StatusToJSON = exports.StatusFromJSONTyped = exports.StatusFromJSON = exports.Status = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var Status;
23
+ (function (Status) {
24
+ Status["Completed"] = "COMPLETED";
25
+ Status["Pending"] = "PENDING";
26
+ Status["Running"] = "RUNNING";
27
+ Status["Archived"] = "ARCHIVED";
28
+ Status["Deleted"] = "DELETED";
29
+ Status["Deleting"] = "DELETING";
30
+ Status["Delete"] = "DELETE";
31
+ Status["Failed"] = "FAILED";
32
+ })(Status = exports.Status || (exports.Status = {}));
33
+ function StatusFromJSON(json) {
34
+ return StatusFromJSONTyped(json, false);
35
+ }
36
+ exports.StatusFromJSON = StatusFromJSON;
37
+ function StatusFromJSONTyped(json, ignoreDiscriminator) {
38
+ return json;
39
+ }
40
+ exports.StatusFromJSONTyped = StatusFromJSONTyped;
41
+ function StatusToJSON(value) {
42
+ return value;
43
+ }
44
+ exports.StatusToJSON = StatusToJSON;
@@ -3,13 +3,14 @@ export * from './BillingMethod';
3
3
  export * from './BudgetPeriod';
4
4
  export * from './CloudAccount';
5
5
  export * from './Contact';
6
+ export * from './CreateDashboardRequest';
6
7
  export * from './CreateNotebookInstanceRequest';
7
8
  export * from './CreateResponse';
8
9
  export * from './CustomPipelineSettings';
9
10
  export * from './CustomerType';
11
+ export * from './Dashboard';
10
12
  export * from './Dataset';
11
13
  export * from './DatasetDetail';
12
- export * from './DatasetType';
13
14
  export * from './Executor';
14
15
  export * from './FormSchema';
15
16
  export * from './GetExecutionLogsResponse';
@@ -17,6 +18,7 @@ export * from './LogEntry';
17
18
  export * from './MetricRecord';
18
19
  export * from './NotebookInstance';
19
20
  export * from './OpenNotebookInstanceResponse';
21
+ export * from './PaginatedResponseDatasetListDto';
20
22
  export * from './Process';
21
23
  export * from './ProcessDetail';
22
24
  export * from './Project';
@@ -28,11 +30,12 @@ export * from './ProjectSettings';
28
30
  export * from './ProjectUser';
29
31
  export * from './Reference';
30
32
  export * from './ReferenceType';
31
- export * from './Region';
32
33
  export * from './RegisterDatasetRequest';
34
+ export * from './RegisterPublicDataRequest';
33
35
  export * from './Sample';
34
36
  export * from './ServiceConnection';
35
37
  export * from './SetUserProjectRoleRequest';
38
+ export * from './Status';
36
39
  export * from './StopExecutionResponse';
37
40
  export * from './SystemInfoResponse';
38
41
  export * from './Tag';