@cirrobio/api-client 0.2.16 → 0.2.18
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 +2 -0
- package/README.md +1 -1
- package/dist/models/Artifact.d.ts +38 -0
- package/dist/models/Artifact.js +54 -0
- package/dist/models/ArtifactType.d.ts +34 -0
- package/dist/models/ArtifactType.js +49 -0
- package/dist/models/DatasetAssetsManifest.d.ts +7 -0
- package/dist/models/DatasetAssetsManifest.js +3 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/models/Artifact.ts +82 -0
- package/src/models/ArtifactType.ts +48 -0
- package/src/models/DatasetAssetsManifest.ts +14 -0
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -31,6 +31,8 @@ src/models/AgentRegistration.ts
|
|
|
31
31
|
src/models/AgentStatus.ts
|
|
32
32
|
src/models/AllowedDataType.ts
|
|
33
33
|
src/models/ApproveProjectAccessRequest.ts
|
|
34
|
+
src/models/Artifact.ts
|
|
35
|
+
src/models/ArtifactType.ts
|
|
34
36
|
src/models/AuditEvent.ts
|
|
35
37
|
src/models/AuthInfo.ts
|
|
36
38
|
src/models/BillingAccount.ts
|
package/README.md
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
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 { ArtifactType } from './ArtifactType';
|
|
13
|
+
/**
|
|
14
|
+
* A secondary file or resource associated with a dataset
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Artifact
|
|
17
|
+
*/
|
|
18
|
+
export interface Artifact {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ArtifactType}
|
|
22
|
+
* @memberof Artifact
|
|
23
|
+
*/
|
|
24
|
+
type: ArtifactType;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Artifact
|
|
29
|
+
*/
|
|
30
|
+
path: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the Artifact interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfArtifact(value: object): boolean;
|
|
36
|
+
export declare function ArtifactFromJSON(json: any): Artifact;
|
|
37
|
+
export declare function ArtifactFromJSONTyped(json: any, ignoreDiscriminator: boolean): Artifact;
|
|
38
|
+
export declare function ArtifactToJSON(value?: Artifact | null): any;
|
|
@@ -0,0 +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.ArtifactToJSON = exports.ArtifactFromJSONTyped = exports.ArtifactFromJSON = exports.instanceOfArtifact = void 0;
|
|
17
|
+
var ArtifactType_1 = require("./ArtifactType");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the Artifact interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfArtifact(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "type" in value;
|
|
24
|
+
isInstance = isInstance && "path" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfArtifact = instanceOfArtifact;
|
|
28
|
+
function ArtifactFromJSON(json) {
|
|
29
|
+
return ArtifactFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.ArtifactFromJSON = ArtifactFromJSON;
|
|
32
|
+
function ArtifactFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'type': (0, ArtifactType_1.ArtifactTypeFromJSON)(json['type']),
|
|
38
|
+
'path': json['path'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.ArtifactFromJSONTyped = ArtifactFromJSONTyped;
|
|
42
|
+
function ArtifactToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'type': (0, ArtifactType_1.ArtifactTypeToJSON)(value.type),
|
|
51
|
+
'path': value.path,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.ArtifactToJSON = ArtifactToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
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 ArtifactType {
|
|
18
|
+
Metadata = "METADATA",
|
|
19
|
+
IngestManifest = "INGEST_MANIFEST",
|
|
20
|
+
WorkflowReport = "WORKFLOW_REPORT",
|
|
21
|
+
WorkflowLogs = "WORKFLOW_LOGS",
|
|
22
|
+
WorkflowDebugLogs = "WORKFLOW_DEBUG_LOGS",
|
|
23
|
+
WorkflowDag = "WORKFLOW_DAG",
|
|
24
|
+
WorkflowTimeline = "WORKFLOW_TIMELINE",
|
|
25
|
+
WorkflowTrace = "WORKFLOW_TRACE",
|
|
26
|
+
WorkflowParameters = "WORKFLOW_PARAMETERS",
|
|
27
|
+
WorkflowComputeConfig = "WORKFLOW_COMPUTE_CONFIG",
|
|
28
|
+
WorkflowOptions = "WORKFLOW_OPTIONS",
|
|
29
|
+
SampleSheet = "SAMPLE_SHEET",
|
|
30
|
+
Files = "FILES"
|
|
31
|
+
}
|
|
32
|
+
export declare function ArtifactTypeFromJSON(json: any): ArtifactType;
|
|
33
|
+
export declare function ArtifactTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactType;
|
|
34
|
+
export declare function ArtifactTypeToJSON(value?: ArtifactType | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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.ArtifactTypeToJSON = exports.ArtifactTypeFromJSONTyped = exports.ArtifactTypeFromJSON = exports.ArtifactType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var ArtifactType;
|
|
23
|
+
(function (ArtifactType) {
|
|
24
|
+
ArtifactType["Metadata"] = "METADATA";
|
|
25
|
+
ArtifactType["IngestManifest"] = "INGEST_MANIFEST";
|
|
26
|
+
ArtifactType["WorkflowReport"] = "WORKFLOW_REPORT";
|
|
27
|
+
ArtifactType["WorkflowLogs"] = "WORKFLOW_LOGS";
|
|
28
|
+
ArtifactType["WorkflowDebugLogs"] = "WORKFLOW_DEBUG_LOGS";
|
|
29
|
+
ArtifactType["WorkflowDag"] = "WORKFLOW_DAG";
|
|
30
|
+
ArtifactType["WorkflowTimeline"] = "WORKFLOW_TIMELINE";
|
|
31
|
+
ArtifactType["WorkflowTrace"] = "WORKFLOW_TRACE";
|
|
32
|
+
ArtifactType["WorkflowParameters"] = "WORKFLOW_PARAMETERS";
|
|
33
|
+
ArtifactType["WorkflowComputeConfig"] = "WORKFLOW_COMPUTE_CONFIG";
|
|
34
|
+
ArtifactType["WorkflowOptions"] = "WORKFLOW_OPTIONS";
|
|
35
|
+
ArtifactType["SampleSheet"] = "SAMPLE_SHEET";
|
|
36
|
+
ArtifactType["Files"] = "FILES";
|
|
37
|
+
})(ArtifactType = exports.ArtifactType || (exports.ArtifactType = {}));
|
|
38
|
+
function ArtifactTypeFromJSON(json) {
|
|
39
|
+
return ArtifactTypeFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
exports.ArtifactTypeFromJSON = ArtifactTypeFromJSON;
|
|
42
|
+
function ArtifactTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
exports.ArtifactTypeFromJSONTyped = ArtifactTypeFromJSONTyped;
|
|
46
|
+
function ArtifactTypeToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
exports.ArtifactTypeToJSON = ArtifactTypeToJSON;
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { Artifact } from './Artifact';
|
|
12
13
|
import type { DatasetViz } from './DatasetViz';
|
|
13
14
|
import type { FileEntry } from './FileEntry';
|
|
14
15
|
import type { Table } from './Table';
|
|
@@ -48,6 +49,12 @@ export interface DatasetAssetsManifest {
|
|
|
48
49
|
* @memberof DatasetAssetsManifest
|
|
49
50
|
*/
|
|
50
51
|
tables?: Array<Table>;
|
|
52
|
+
/**
|
|
53
|
+
* Artifacts associated with the dataset
|
|
54
|
+
* @type {Array<Artifact>}
|
|
55
|
+
* @memberof DatasetAssetsManifest
|
|
56
|
+
*/
|
|
57
|
+
artifacts?: Array<Artifact>;
|
|
51
58
|
}
|
|
52
59
|
/**
|
|
53
60
|
* Check if a given object implements the DatasetAssetsManifest interface.
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DatasetAssetsManifestToJSON = exports.DatasetAssetsManifestFromJSONTyped = exports.DatasetAssetsManifestFromJSON = exports.instanceOfDatasetAssetsManifest = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
|
+
var Artifact_1 = require("./Artifact");
|
|
18
19
|
var DatasetViz_1 = require("./DatasetViz");
|
|
19
20
|
var FileEntry_1 = require("./FileEntry");
|
|
20
21
|
var Table_1 = require("./Table");
|
|
@@ -40,6 +41,7 @@ function DatasetAssetsManifestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
41
|
'totalFiles': !(0, runtime_1.exists)(json, 'totalFiles') ? undefined : json['totalFiles'],
|
|
41
42
|
'viz': !(0, runtime_1.exists)(json, 'viz') ? undefined : (json['viz'].map(DatasetViz_1.DatasetVizFromJSON)),
|
|
42
43
|
'tables': !(0, runtime_1.exists)(json, 'tables') ? undefined : (json['tables'].map(Table_1.TableFromJSON)),
|
|
44
|
+
'artifacts': !(0, runtime_1.exists)(json, 'artifacts') ? undefined : (json['artifacts'].map(Artifact_1.ArtifactFromJSON)),
|
|
43
45
|
};
|
|
44
46
|
}
|
|
45
47
|
exports.DatasetAssetsManifestFromJSONTyped = DatasetAssetsManifestFromJSONTyped;
|
|
@@ -56,6 +58,7 @@ function DatasetAssetsManifestToJSON(value) {
|
|
|
56
58
|
'totalFiles': value.totalFiles,
|
|
57
59
|
'viz': value.viz === undefined ? undefined : (value.viz.map(DatasetViz_1.DatasetVizToJSON)),
|
|
58
60
|
'tables': value.tables === undefined ? undefined : (value.tables.map(Table_1.TableToJSON)),
|
|
61
|
+
'artifacts': value.artifacts === undefined ? undefined : (value.artifacts.map(Artifact_1.ArtifactToJSON)),
|
|
59
62
|
};
|
|
60
63
|
}
|
|
61
64
|
exports.DatasetAssetsManifestToJSON = DatasetAssetsManifestToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export * from './AgentRegistration';
|
|
|
6
6
|
export * from './AgentStatus';
|
|
7
7
|
export * from './AllowedDataType';
|
|
8
8
|
export * from './ApproveProjectAccessRequest';
|
|
9
|
+
export * from './Artifact';
|
|
10
|
+
export * from './ArtifactType';
|
|
9
11
|
export * from './AuditEvent';
|
|
10
12
|
export * from './AuthInfo';
|
|
11
13
|
export * from './BillingAccount';
|
package/dist/models/index.js
CHANGED
|
@@ -24,6 +24,8 @@ __exportStar(require("./AgentRegistration"), exports);
|
|
|
24
24
|
__exportStar(require("./AgentStatus"), exports);
|
|
25
25
|
__exportStar(require("./AllowedDataType"), exports);
|
|
26
26
|
__exportStar(require("./ApproveProjectAccessRequest"), exports);
|
|
27
|
+
__exportStar(require("./Artifact"), exports);
|
|
28
|
+
__exportStar(require("./ArtifactType"), exports);
|
|
27
29
|
__exportStar(require("./AuditEvent"), exports);
|
|
28
30
|
__exportStar(require("./AuthInfo"), exports);
|
|
29
31
|
__exportStar(require("./BillingAccount"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
import type { ArtifactType } from './ArtifactType';
|
|
17
|
+
import {
|
|
18
|
+
ArtifactTypeFromJSON,
|
|
19
|
+
ArtifactTypeFromJSONTyped,
|
|
20
|
+
ArtifactTypeToJSON,
|
|
21
|
+
} from './ArtifactType';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* A secondary file or resource associated with a dataset
|
|
25
|
+
* @export
|
|
26
|
+
* @interface Artifact
|
|
27
|
+
*/
|
|
28
|
+
export interface Artifact {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {ArtifactType}
|
|
32
|
+
* @memberof Artifact
|
|
33
|
+
*/
|
|
34
|
+
type: ArtifactType;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof Artifact
|
|
39
|
+
*/
|
|
40
|
+
path: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the Artifact interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfArtifact(value: object): boolean {
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
isInstance = isInstance && "type" in value;
|
|
49
|
+
isInstance = isInstance && "path" in value;
|
|
50
|
+
|
|
51
|
+
return isInstance;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function ArtifactFromJSON(json: any): Artifact {
|
|
55
|
+
return ArtifactFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ArtifactFromJSONTyped(json: any, ignoreDiscriminator: boolean): Artifact {
|
|
59
|
+
if ((json === undefined) || (json === null)) {
|
|
60
|
+
return json;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'type': ArtifactTypeFromJSON(json['type']),
|
|
65
|
+
'path': json['path'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ArtifactToJSON(value?: Artifact | null): any {
|
|
70
|
+
if (value === undefined) {
|
|
71
|
+
return undefined;
|
|
72
|
+
}
|
|
73
|
+
if (value === null) {
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'type': ArtifactTypeToJSON(value.type),
|
|
79
|
+
'path': value.path,
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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 ArtifactType {
|
|
21
|
+
Metadata = 'METADATA',
|
|
22
|
+
IngestManifest = 'INGEST_MANIFEST',
|
|
23
|
+
WorkflowReport = 'WORKFLOW_REPORT',
|
|
24
|
+
WorkflowLogs = 'WORKFLOW_LOGS',
|
|
25
|
+
WorkflowDebugLogs = 'WORKFLOW_DEBUG_LOGS',
|
|
26
|
+
WorkflowDag = 'WORKFLOW_DAG',
|
|
27
|
+
WorkflowTimeline = 'WORKFLOW_TIMELINE',
|
|
28
|
+
WorkflowTrace = 'WORKFLOW_TRACE',
|
|
29
|
+
WorkflowParameters = 'WORKFLOW_PARAMETERS',
|
|
30
|
+
WorkflowComputeConfig = 'WORKFLOW_COMPUTE_CONFIG',
|
|
31
|
+
WorkflowOptions = 'WORKFLOW_OPTIONS',
|
|
32
|
+
SampleSheet = 'SAMPLE_SHEET',
|
|
33
|
+
Files = 'FILES'
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
export function ArtifactTypeFromJSON(json: any): ArtifactType {
|
|
38
|
+
return ArtifactTypeFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function ArtifactTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactType {
|
|
42
|
+
return json as ArtifactType;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ArtifactTypeToJSON(value?: ArtifactType | null): any {
|
|
46
|
+
return value as any;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { Artifact } from './Artifact';
|
|
17
|
+
import {
|
|
18
|
+
ArtifactFromJSON,
|
|
19
|
+
ArtifactFromJSONTyped,
|
|
20
|
+
ArtifactToJSON,
|
|
21
|
+
} from './Artifact';
|
|
16
22
|
import type { DatasetViz } from './DatasetViz';
|
|
17
23
|
import {
|
|
18
24
|
DatasetVizFromJSON,
|
|
@@ -68,6 +74,12 @@ export interface DatasetAssetsManifest {
|
|
|
68
74
|
* @memberof DatasetAssetsManifest
|
|
69
75
|
*/
|
|
70
76
|
tables?: Array<Table>;
|
|
77
|
+
/**
|
|
78
|
+
* Artifacts associated with the dataset
|
|
79
|
+
* @type {Array<Artifact>}
|
|
80
|
+
* @memberof DatasetAssetsManifest
|
|
81
|
+
*/
|
|
82
|
+
artifacts?: Array<Artifact>;
|
|
71
83
|
}
|
|
72
84
|
|
|
73
85
|
/**
|
|
@@ -94,6 +106,7 @@ export function DatasetAssetsManifestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
94
106
|
'totalFiles': !exists(json, 'totalFiles') ? undefined : json['totalFiles'],
|
|
95
107
|
'viz': !exists(json, 'viz') ? undefined : ((json['viz'] as Array<any>).map(DatasetVizFromJSON)),
|
|
96
108
|
'tables': !exists(json, 'tables') ? undefined : ((json['tables'] as Array<any>).map(TableFromJSON)),
|
|
109
|
+
'artifacts': !exists(json, 'artifacts') ? undefined : ((json['artifacts'] as Array<any>).map(ArtifactFromJSON)),
|
|
97
110
|
};
|
|
98
111
|
}
|
|
99
112
|
|
|
@@ -111,6 +124,7 @@ export function DatasetAssetsManifestToJSON(value?: DatasetAssetsManifest | null
|
|
|
111
124
|
'totalFiles': value.totalFiles,
|
|
112
125
|
'viz': value.viz === undefined ? undefined : ((value.viz as Array<any>).map(DatasetVizToJSON)),
|
|
113
126
|
'tables': value.tables === undefined ? undefined : ((value.tables as Array<any>).map(TableToJSON)),
|
|
127
|
+
'artifacts': value.artifacts === undefined ? undefined : ((value.artifacts as Array<any>).map(ArtifactToJSON)),
|
|
114
128
|
};
|
|
115
129
|
}
|
|
116
130
|
|
package/src/models/index.ts
CHANGED
|
@@ -8,6 +8,8 @@ export * from './AgentRegistration';
|
|
|
8
8
|
export * from './AgentStatus';
|
|
9
9
|
export * from './AllowedDataType';
|
|
10
10
|
export * from './ApproveProjectAccessRequest';
|
|
11
|
+
export * from './Artifact';
|
|
12
|
+
export * from './ArtifactType';
|
|
11
13
|
export * from './AuditEvent';
|
|
12
14
|
export * from './AuthInfo';
|
|
13
15
|
export * from './BillingAccount';
|