@cirrobio/api-client 0.0.10-alpha → 0.0.12-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 (89) hide show
  1. package/.openapi-generator/FILES +7 -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 +24 -1
  10. package/dist/apis/MetadataApi.js +112 -1
  11. package/dist/apis/NotebooksApi.d.ts +3 -3
  12. package/dist/apis/NotebooksApi.js +1 -7
  13. package/dist/apis/ProjectsApi.d.ts +13 -0
  14. package/dist/apis/ProjectsApi.js +53 -0
  15. package/dist/apis/index.d.ts +1 -0
  16. package/dist/apis/index.js +1 -0
  17. package/dist/models/BillingAccount.d.ts +6 -0
  18. package/dist/models/BillingAccount.js +3 -0
  19. package/dist/models/BudgetPeriod.d.ts +1 -1
  20. package/dist/models/BudgetPeriod.js +1 -1
  21. package/dist/models/CloudAccount.d.ts +3 -10
  22. package/dist/models/CloudAccount.js +0 -3
  23. package/dist/models/Contact.d.ts +4 -4
  24. package/dist/models/Contact.js +8 -5
  25. package/dist/models/CreateDashboardRequest.d.ts +31 -0
  26. package/dist/models/CreateDashboardRequest.js +50 -0
  27. package/dist/models/CustomPipelineSettings.d.ts +6 -6
  28. package/dist/models/CustomPipelineSettings.js +13 -8
  29. package/dist/models/CustomerType.d.ts +2 -4
  30. package/dist/models/CustomerType.js +2 -4
  31. package/dist/models/Dashboard.d.ts +77 -0
  32. package/dist/models/Dashboard.js +71 -0
  33. package/dist/models/DashboardRequest.d.ts +53 -0
  34. package/dist/models/DashboardRequest.js +59 -0
  35. package/dist/models/Dataset.d.ts +8 -7
  36. package/dist/models/Dataset.js +10 -9
  37. package/dist/models/DatasetDetail.d.ts +11 -10
  38. package/dist/models/DatasetDetail.js +13 -12
  39. package/dist/models/FormSchema.d.ts +1 -1
  40. package/dist/models/NotebookInstanceStatusResponse.d.ts +31 -0
  41. package/dist/models/NotebookInstanceStatusResponse.js +50 -0
  42. package/dist/models/PaginatedResponseDatasetListDto.d.ts +38 -0
  43. package/dist/models/PaginatedResponseDatasetListDto.js +54 -0
  44. package/dist/models/Project.d.ts +9 -2
  45. package/dist/models/Project.js +6 -2
  46. package/dist/models/ProjectDetail.d.ts +7 -6
  47. package/dist/models/ProjectDetail.js +7 -6
  48. package/dist/models/ProjectSettings.d.ts +26 -26
  49. package/dist/models/ProjectSettings.js +14 -26
  50. package/dist/models/RegisterDatasetRequest.d.ts +20 -2
  51. package/dist/models/RegisterDatasetRequest.js +11 -2
  52. package/dist/models/RegisterPublicDataRequest.d.ts +43 -0
  53. package/dist/models/RegisterPublicDataRequest.js +56 -0
  54. package/dist/models/Sample.d.ts +18 -0
  55. package/dist/models/Sample.js +9 -0
  56. package/dist/models/Status.d.ts +29 -0
  57. package/dist/models/Status.js +44 -0
  58. package/dist/models/index.d.ts +6 -2
  59. package/dist/models/index.js +6 -2
  60. package/package.json +1 -1
  61. package/src/apis/BillingApi.ts +46 -3
  62. package/src/apis/DashboardsApi.ts +287 -0
  63. package/src/apis/DatasetsApi.ts +64 -9
  64. package/src/apis/MetadataApi.ts +96 -1
  65. package/src/apis/NotebooksApi.ts +6 -7
  66. package/src/apis/ProjectsApi.ts +43 -0
  67. package/src/apis/index.ts +1 -0
  68. package/src/models/BillingAccount.ts +9 -0
  69. package/src/models/BudgetPeriod.ts +1 -1
  70. package/src/models/CloudAccount.ts +3 -18
  71. package/src/models/Contact.ts +12 -8
  72. package/src/models/CreateDashboardRequest.ts +65 -0
  73. package/src/models/CustomPipelineSettings.ts +19 -13
  74. package/src/models/CustomerType.ts +2 -4
  75. package/src/models/Dashboard.ts +129 -0
  76. package/src/models/DashboardRequest.ts +93 -0
  77. package/src/models/Dataset.ts +22 -16
  78. package/src/models/DatasetDetail.ts +28 -22
  79. package/src/models/FormSchema.ts +1 -1
  80. package/src/models/NotebookInstanceStatusResponse.ts +66 -0
  81. package/src/models/PaginatedResponseDatasetListDto.ts +82 -0
  82. package/src/models/Project.ts +19 -4
  83. package/src/models/ProjectDetail.ts +18 -12
  84. package/src/models/ProjectSettings.ts +39 -52
  85. package/src/models/RegisterDatasetRequest.ts +31 -4
  86. package/src/models/RegisterPublicDataRequest.ts +83 -0
  87. package/src/models/Sample.ts +27 -0
  88. package/src/models/Status.ts +43 -0
  89. package/src/models/index.ts +6 -2
@@ -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 CreateDashboardRequest
16
+ */
17
+ export interface CreateDashboardRequest {
18
+ /**
19
+ *
20
+ * @type {object}
21
+ * @memberof CreateDashboardRequest
22
+ */
23
+ dashboardRequest?: object;
24
+ }
25
+ /**
26
+ * Check if a given object implements the CreateDashboardRequest interface.
27
+ */
28
+ export declare function instanceOfCreateDashboardRequest(value: object): boolean;
29
+ export declare function CreateDashboardRequestFromJSON(json: any): CreateDashboardRequest;
30
+ export declare function CreateDashboardRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateDashboardRequest;
31
+ export declare function CreateDashboardRequestToJSON(value?: CreateDashboardRequest | 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.CreateDashboardRequestToJSON = exports.CreateDashboardRequestFromJSONTyped = exports.CreateDashboardRequestFromJSON = exports.instanceOfCreateDashboardRequest = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the CreateDashboardRequest interface.
20
+ */
21
+ function instanceOfCreateDashboardRequest(value) {
22
+ var isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfCreateDashboardRequest = instanceOfCreateDashboardRequest;
26
+ function CreateDashboardRequestFromJSON(json) {
27
+ return CreateDashboardRequestFromJSONTyped(json, false);
28
+ }
29
+ exports.CreateDashboardRequestFromJSON = CreateDashboardRequestFromJSON;
30
+ function CreateDashboardRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'dashboardRequest': !(0, runtime_1.exists)(json, 'dashboardRequest') ? undefined : json['dashboardRequest'],
36
+ };
37
+ }
38
+ exports.CreateDashboardRequestFromJSONTyped = CreateDashboardRequestFromJSONTyped;
39
+ function CreateDashboardRequestToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'dashboardRequest': value.dashboardRequest,
48
+ };
49
+ }
50
+ exports.CreateDashboardRequestToJSON = CreateDashboardRequestToJSON;
@@ -20,37 +20,37 @@ export interface CustomPipelineSettings {
20
20
  * @type {string}
21
21
  * @memberof CustomPipelineSettings
22
22
  */
23
- repository?: string;
23
+ repository: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof CustomPipelineSettings
28
28
  */
29
- branch?: string;
29
+ branch: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof CustomPipelineSettings
34
34
  */
35
- folder?: string;
35
+ folder: string;
36
36
  /**
37
37
  *
38
38
  * @type {Date}
39
39
  * @memberof CustomPipelineSettings
40
40
  */
41
- lastSync?: Date;
41
+ lastSync: Date;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
45
  * @memberof CustomPipelineSettings
46
46
  */
47
- syncStatus?: string;
47
+ syncStatus: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
51
51
  * @memberof CustomPipelineSettings
52
52
  */
53
- commitHash?: string;
53
+ commitHash: string;
54
54
  }
55
55
  /**
56
56
  * Check if a given object implements the CustomPipelineSettings interface.
@@ -14,12 +14,17 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CustomPipelineSettingsToJSON = exports.CustomPipelineSettingsFromJSONTyped = exports.CustomPipelineSettingsFromJSON = exports.instanceOfCustomPipelineSettings = void 0;
17
- var runtime_1 = require("../runtime");
18
17
  /**
19
18
  * Check if a given object implements the CustomPipelineSettings interface.
20
19
  */
21
20
  function instanceOfCustomPipelineSettings(value) {
22
21
  var isInstance = true;
22
+ isInstance = isInstance && "repository" in value;
23
+ isInstance = isInstance && "branch" in value;
24
+ isInstance = isInstance && "folder" in value;
25
+ isInstance = isInstance && "lastSync" in value;
26
+ isInstance = isInstance && "syncStatus" in value;
27
+ isInstance = isInstance && "commitHash" in value;
23
28
  return isInstance;
24
29
  }
25
30
  exports.instanceOfCustomPipelineSettings = instanceOfCustomPipelineSettings;
@@ -32,12 +37,12 @@ function CustomPipelineSettingsFromJSONTyped(json, ignoreDiscriminator) {
32
37
  return json;
33
38
  }
34
39
  return {
35
- 'repository': !(0, runtime_1.exists)(json, 'repository') ? undefined : json['repository'],
36
- 'branch': !(0, runtime_1.exists)(json, 'branch') ? undefined : json['branch'],
37
- 'folder': !(0, runtime_1.exists)(json, 'folder') ? undefined : json['folder'],
38
- 'lastSync': !(0, runtime_1.exists)(json, 'lastSync') ? undefined : (new Date(json['lastSync'])),
39
- 'syncStatus': !(0, runtime_1.exists)(json, 'syncStatus') ? undefined : json['syncStatus'],
40
- 'commitHash': !(0, runtime_1.exists)(json, 'commitHash') ? undefined : json['commitHash'],
40
+ 'repository': json['repository'],
41
+ 'branch': json['branch'],
42
+ 'folder': json['folder'],
43
+ 'lastSync': (new Date(json['lastSync'])),
44
+ 'syncStatus': json['syncStatus'],
45
+ 'commitHash': json['commitHash'],
41
46
  };
42
47
  }
43
48
  exports.CustomPipelineSettingsFromJSONTyped = CustomPipelineSettingsFromJSONTyped;
@@ -52,7 +57,7 @@ function CustomPipelineSettingsToJSON(value) {
52
57
  'repository': value.repository,
53
58
  'branch': value.branch,
54
59
  'folder': value.folder,
55
- 'lastSync': value.lastSync === undefined ? undefined : (value.lastSync.toISOString()),
60
+ 'lastSync': (value.lastSync.toISOString()),
56
61
  'syncStatus': value.syncStatus,
57
62
  'commitHash': value.commitHash,
58
63
  };
@@ -15,10 +15,8 @@
15
15
  * @enum {string}
16
16
  */
17
17
  export declare enum CustomerType {
18
- Free = "FREE",
19
- Usage = "USAGE",
20
- Marketplace = "MARKETPLACE",
21
- Contract = "CONTRACT"
18
+ Internal = "INTERNAL",
19
+ External = "EXTERNAL"
22
20
  }
23
21
  export declare function CustomerTypeFromJSON(json: any): CustomerType;
24
22
  export declare function CustomerTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerType;
@@ -21,10 +21,8 @@ exports.CustomerTypeToJSON = exports.CustomerTypeFromJSONTyped = exports.Custome
21
21
  */
22
22
  var CustomerType;
23
23
  (function (CustomerType) {
24
- CustomerType["Free"] = "FREE";
25
- CustomerType["Usage"] = "USAGE";
26
- CustomerType["Marketplace"] = "MARKETPLACE";
27
- CustomerType["Contract"] = "CONTRACT";
24
+ CustomerType["Internal"] = "INTERNAL";
25
+ CustomerType["External"] = "EXTERNAL";
28
26
  })(CustomerType = exports.CustomerType || (exports.CustomerType = {}));
29
27
  function CustomerTypeFromJSON(json) {
30
28
  return CustomerTypeFromJSONTyped(json, false);
@@ -0,0 +1,77 @@
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 Dashboard
16
+ */
17
+ export interface Dashboard {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Dashboard
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Dashboard
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof Dashboard
34
+ */
35
+ description: string;
36
+ /**
37
+ *
38
+ * @type {{ [key: string]: any; }}
39
+ * @memberof Dashboard
40
+ */
41
+ dashboardData: {
42
+ [key: string]: any;
43
+ };
44
+ /**
45
+ *
46
+ * @type {{ [key: string]: any; }}
47
+ * @memberof Dashboard
48
+ */
49
+ info: {
50
+ [key: string]: any;
51
+ };
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof Dashboard
56
+ */
57
+ createdBy: string;
58
+ /**
59
+ *
60
+ * @type {Date}
61
+ * @memberof Dashboard
62
+ */
63
+ createdAt: Date;
64
+ /**
65
+ *
66
+ * @type {Date}
67
+ * @memberof Dashboard
68
+ */
69
+ updatedAt: Date;
70
+ }
71
+ /**
72
+ * Check if a given object implements the Dashboard interface.
73
+ */
74
+ export declare function instanceOfDashboard(value: object): boolean;
75
+ export declare function DashboardFromJSON(json: any): Dashboard;
76
+ export declare function DashboardFromJSONTyped(json: any, ignoreDiscriminator: boolean): Dashboard;
77
+ export declare function DashboardToJSON(value?: Dashboard | null): any;
@@ -0,0 +1,71 @@
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.DashboardToJSON = exports.DashboardFromJSONTyped = exports.DashboardFromJSON = exports.instanceOfDashboard = void 0;
17
+ /**
18
+ * Check if a given object implements the Dashboard interface.
19
+ */
20
+ function instanceOfDashboard(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "id" in value;
23
+ isInstance = isInstance && "name" in value;
24
+ isInstance = isInstance && "description" in value;
25
+ isInstance = isInstance && "dashboardData" in value;
26
+ isInstance = isInstance && "info" in value;
27
+ isInstance = isInstance && "createdBy" in value;
28
+ isInstance = isInstance && "createdAt" in value;
29
+ isInstance = isInstance && "updatedAt" in value;
30
+ return isInstance;
31
+ }
32
+ exports.instanceOfDashboard = instanceOfDashboard;
33
+ function DashboardFromJSON(json) {
34
+ return DashboardFromJSONTyped(json, false);
35
+ }
36
+ exports.DashboardFromJSON = DashboardFromJSON;
37
+ function DashboardFromJSONTyped(json, ignoreDiscriminator) {
38
+ if ((json === undefined) || (json === null)) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'id': json['id'],
43
+ 'name': json['name'],
44
+ 'description': json['description'],
45
+ 'dashboardData': json['dashboardData'],
46
+ 'info': json['info'],
47
+ 'createdBy': json['createdBy'],
48
+ 'createdAt': (new Date(json['createdAt'])),
49
+ 'updatedAt': (new Date(json['updatedAt'])),
50
+ };
51
+ }
52
+ exports.DashboardFromJSONTyped = DashboardFromJSONTyped;
53
+ function DashboardToJSON(value) {
54
+ if (value === undefined) {
55
+ return undefined;
56
+ }
57
+ if (value === null) {
58
+ return null;
59
+ }
60
+ return {
61
+ 'id': value.id,
62
+ 'name': value.name,
63
+ 'description': value.description,
64
+ 'dashboardData': value.dashboardData,
65
+ 'info': value.info,
66
+ 'createdBy': value.createdBy,
67
+ 'createdAt': (value.createdAt.toISOString()),
68
+ 'updatedAt': (value.updatedAt.toISOString()),
69
+ };
70
+ }
71
+ exports.DashboardToJSON = DashboardToJSON;
@@ -0,0 +1,53 @@
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 DashboardRequest
16
+ */
17
+ export interface DashboardRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DashboardRequest
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof DashboardRequest
28
+ */
29
+ description: string;
30
+ /**
31
+ *
32
+ * @type {{ [key: string]: any; }}
33
+ * @memberof DashboardRequest
34
+ */
35
+ dashboardData: {
36
+ [key: string]: any;
37
+ };
38
+ /**
39
+ *
40
+ * @type {{ [key: string]: any; }}
41
+ * @memberof DashboardRequest
42
+ */
43
+ info: {
44
+ [key: string]: any;
45
+ };
46
+ }
47
+ /**
48
+ * Check if a given object implements the DashboardRequest interface.
49
+ */
50
+ export declare function instanceOfDashboardRequest(value: object): boolean;
51
+ export declare function DashboardRequestFromJSON(json: any): DashboardRequest;
52
+ export declare function DashboardRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardRequest;
53
+ export declare function DashboardRequestToJSON(value?: DashboardRequest | 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.DashboardRequestToJSON = exports.DashboardRequestFromJSONTyped = exports.DashboardRequestFromJSON = exports.instanceOfDashboardRequest = void 0;
17
+ /**
18
+ * Check if a given object implements the DashboardRequest interface.
19
+ */
20
+ function instanceOfDashboardRequest(value) {
21
+ var isInstance = true;
22
+ isInstance = isInstance && "name" in value;
23
+ isInstance = isInstance && "description" in value;
24
+ isInstance = isInstance && "dashboardData" in value;
25
+ isInstance = isInstance && "info" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfDashboardRequest = instanceOfDashboardRequest;
29
+ function DashboardRequestFromJSON(json) {
30
+ return DashboardRequestFromJSONTyped(json, false);
31
+ }
32
+ exports.DashboardRequestFromJSON = DashboardRequestFromJSON;
33
+ function DashboardRequestFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'name': json['name'],
39
+ 'description': json['description'],
40
+ 'dashboardData': json['dashboardData'],
41
+ 'info': json['info'],
42
+ };
43
+ }
44
+ exports.DashboardRequestFromJSONTyped = DashboardRequestFromJSONTyped;
45
+ function DashboardRequestToJSON(value) {
46
+ if (value === undefined) {
47
+ return undefined;
48
+ }
49
+ if (value === null) {
50
+ return null;
51
+ }
52
+ return {
53
+ 'name': value.name,
54
+ 'description': value.description,
55
+ 'dashboardData': value.dashboardData,
56
+ 'info': value.info,
57
+ };
58
+ }
59
+ exports.DashboardRequestToJSON = DashboardRequestToJSON;
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { Status } from './Status';
12
13
  import type { Tag } from './Tag';
13
14
  /**
14
15
  *
@@ -33,7 +34,7 @@ export interface Dataset {
33
34
  * @type {string}
34
35
  * @memberof Dataset
35
36
  */
36
- desc: string;
37
+ description: string;
37
38
  /**
38
39
  *
39
40
  * @type {string}
@@ -48,10 +49,10 @@ export interface Dataset {
48
49
  sourceDatasets: Array<string>;
49
50
  /**
50
51
  *
51
- * @type {string}
52
+ * @type {Status}
52
53
  * @memberof Dataset
53
54
  */
54
- status: string;
55
+ status: Status;
55
56
  /**
56
57
  *
57
58
  * @type {Array<Tag>}
@@ -66,16 +67,16 @@ export interface Dataset {
66
67
  createdBy: string;
67
68
  /**
68
69
  *
69
- * @type {string}
70
+ * @type {Date}
70
71
  * @memberof Dataset
71
72
  */
72
- createdAt: string;
73
+ createdAt: Date;
73
74
  /**
74
75
  *
75
- * @type {string}
76
+ * @type {Date}
76
77
  * @memberof Dataset
77
78
  */
78
- updatedAt: string;
79
+ updatedAt: Date;
79
80
  }
80
81
  /**
81
82
  * Check if a given object implements the Dataset interface.
@@ -14,6 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.DatasetToJSON = exports.DatasetFromJSONTyped = exports.DatasetFromJSON = exports.instanceOfDataset = void 0;
17
+ var Status_1 = require("./Status");
17
18
  var Tag_1 = require("./Tag");
18
19
  /**
19
20
  * Check if a given object implements the Dataset interface.
@@ -22,7 +23,7 @@ function instanceOfDataset(value) {
22
23
  var isInstance = true;
23
24
  isInstance = isInstance && "id" in value;
24
25
  isInstance = isInstance && "name" in value;
25
- isInstance = isInstance && "desc" in value;
26
+ isInstance = isInstance && "description" in value;
26
27
  isInstance = isInstance && "processId" in value;
27
28
  isInstance = isInstance && "sourceDatasets" in value;
28
29
  isInstance = isInstance && "status" in value;
@@ -44,14 +45,14 @@ function DatasetFromJSONTyped(json, ignoreDiscriminator) {
44
45
  return {
45
46
  'id': json['id'],
46
47
  'name': json['name'],
47
- 'desc': json['desc'],
48
+ 'description': json['description'],
48
49
  'processId': json['processId'],
49
50
  'sourceDatasets': json['sourceDatasets'],
50
- 'status': json['status'],
51
+ 'status': (0, Status_1.StatusFromJSON)(json['status']),
51
52
  'tags': (json['tags'].map(Tag_1.TagFromJSON)),
52
53
  'createdBy': json['createdBy'],
53
- 'createdAt': json['createdAt'],
54
- 'updatedAt': json['updatedAt'],
54
+ 'createdAt': (new Date(json['createdAt'])),
55
+ 'updatedAt': (new Date(json['updatedAt'])),
55
56
  };
56
57
  }
57
58
  exports.DatasetFromJSONTyped = DatasetFromJSONTyped;
@@ -65,14 +66,14 @@ function DatasetToJSON(value) {
65
66
  return {
66
67
  'id': value.id,
67
68
  'name': value.name,
68
- 'desc': value.desc,
69
+ 'description': value.description,
69
70
  'processId': value.processId,
70
71
  'sourceDatasets': value.sourceDatasets,
71
- 'status': value.status,
72
+ 'status': (0, Status_1.StatusToJSON)(value.status),
72
73
  'tags': (value.tags.map(Tag_1.TagToJSON)),
73
74
  'createdBy': value.createdBy,
74
- 'createdAt': value.createdAt,
75
- 'updatedAt': value.updatedAt,
75
+ 'createdAt': (value.createdAt.toISOString()),
76
+ 'updatedAt': (value.updatedAt.toISOString()),
76
77
  };
77
78
  }
78
79
  exports.DatasetToJSON = DatasetToJSON;
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { Status } from './Status';
12
13
  import type { Tag } from './Tag';
13
14
  /**
14
15
  *
@@ -33,7 +34,7 @@ export interface DatasetDetail {
33
34
  * @type {string}
34
35
  * @memberof DatasetDetail
35
36
  */
36
- desc: string;
37
+ description: string;
37
38
  /**
38
39
  *
39
40
  * @type {string}
@@ -48,22 +49,22 @@ export interface DatasetDetail {
48
49
  processId: string;
49
50
  /**
50
51
  *
51
- * @type {string}
52
+ * @type {Array<string>}
52
53
  * @memberof DatasetDetail
53
54
  */
54
- processName: string;
55
+ sourceDatasets: Array<string>;
55
56
  /**
56
57
  *
57
- * @type {Array<string>}
58
+ * @type {Status}
58
59
  * @memberof DatasetDetail
59
60
  */
60
- sourceDatasets: Array<string>;
61
+ status: Status;
61
62
  /**
62
63
  *
63
64
  * @type {string}
64
65
  * @memberof DatasetDetail
65
66
  */
66
- status: string;
67
+ statusMessage: string;
67
68
  /**
68
69
  *
69
70
  * @type {Array<Tag>}
@@ -94,16 +95,16 @@ export interface DatasetDetail {
94
95
  createdBy: string;
95
96
  /**
96
97
  *
97
- * @type {string}
98
+ * @type {Date}
98
99
  * @memberof DatasetDetail
99
100
  */
100
- createdAt: string;
101
+ createdAt: Date;
101
102
  /**
102
103
  *
103
- * @type {string}
104
+ * @type {Date}
104
105
  * @memberof DatasetDetail
105
106
  */
106
- updatedAt: string;
107
+ updatedAt: Date;
107
108
  }
108
109
  /**
109
110
  * Check if a given object implements the DatasetDetail interface.