@cirrobio/api-client 0.1.16 → 0.1.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 +1 -0
- package/README.md +1 -1
- package/dist/models/DatasetViz.d.ts +3 -3
- package/dist/models/FeatureFlags.d.ts +37 -0
- package/dist/models/FeatureFlags.js +53 -0
- package/dist/models/Process.d.ts +1 -1
- package/dist/models/ProcessDetail.d.ts +3 -3
- package/dist/models/ProcessDetail.js +2 -4
- package/dist/models/ProjectDetail.d.ts +7 -0
- package/dist/models/ProjectDetail.js +4 -0
- package/dist/models/TenantInfo.d.ts +7 -0
- package/dist/models/TenantInfo.js +4 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/models/DatasetViz.ts +3 -3
- package/src/models/FeatureFlags.ts +75 -0
- package/src/models/Process.ts +1 -1
- package/src/models/ProcessDetail.ts +5 -7
- package/src/models/ProjectDetail.ts +14 -0
- package/src/models/TenantInfo.ts +15 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -34,11 +34,11 @@ export interface DatasetViz {
|
|
|
34
34
|
*/
|
|
35
35
|
type?: string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {
|
|
37
|
+
* Config or path to config used to render viz
|
|
38
|
+
* @type {any}
|
|
39
39
|
* @memberof DatasetViz
|
|
40
40
|
*/
|
|
41
|
-
config?:
|
|
41
|
+
config?: any | null;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the DatasetViz interface.
|
|
@@ -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 FeatureFlags
|
|
16
|
+
*/
|
|
17
|
+
export interface FeatureFlags {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof FeatureFlags
|
|
22
|
+
*/
|
|
23
|
+
sftpEnabled: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof FeatureFlags
|
|
28
|
+
*/
|
|
29
|
+
governanceEnabled: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the FeatureFlags interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfFeatureFlags(value: object): boolean;
|
|
35
|
+
export declare function FeatureFlagsFromJSON(json: any): FeatureFlags;
|
|
36
|
+
export declare function FeatureFlagsFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeatureFlags;
|
|
37
|
+
export declare function FeatureFlagsToJSON(value?: FeatureFlags | 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.FeatureFlagsToJSON = exports.FeatureFlagsFromJSONTyped = exports.FeatureFlagsFromJSON = exports.instanceOfFeatureFlags = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the FeatureFlags interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfFeatureFlags(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "sftpEnabled" in value;
|
|
23
|
+
isInstance = isInstance && "governanceEnabled" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfFeatureFlags = instanceOfFeatureFlags;
|
|
27
|
+
function FeatureFlagsFromJSON(json) {
|
|
28
|
+
return FeatureFlagsFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.FeatureFlagsFromJSON = FeatureFlagsFromJSON;
|
|
31
|
+
function FeatureFlagsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'sftpEnabled': json['sftpEnabled'],
|
|
37
|
+
'governanceEnabled': json['governanceEnabled'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.FeatureFlagsFromJSONTyped = FeatureFlagsFromJSONTyped;
|
|
41
|
+
function FeatureFlagsToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'sftpEnabled': value.sftpEnabled,
|
|
50
|
+
'governanceEnabled': value.governanceEnabled,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.FeatureFlagsToJSON = FeatureFlagsToJSON;
|
package/dist/models/Process.d.ts
CHANGED
|
@@ -50,17 +50,17 @@ export interface ProcessDetail {
|
|
|
50
50
|
*/
|
|
51
51
|
executor: Executor;
|
|
52
52
|
/**
|
|
53
|
-
* Category of the
|
|
53
|
+
* Category of the process
|
|
54
54
|
* @type {string}
|
|
55
55
|
* @memberof ProcessDetail
|
|
56
56
|
*/
|
|
57
|
-
category
|
|
57
|
+
category?: string;
|
|
58
58
|
/**
|
|
59
59
|
* Type of pipeline
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof ProcessDetail
|
|
62
62
|
*/
|
|
63
|
-
pipelineType
|
|
63
|
+
pipelineType?: string;
|
|
64
64
|
/**
|
|
65
65
|
* IDs of pipelines that can be run downstream
|
|
66
66
|
* @type {Array<string>}
|
|
@@ -28,8 +28,6 @@ function instanceOfProcessDetail(value) {
|
|
|
28
28
|
isInstance = isInstance && "name" in value;
|
|
29
29
|
isInstance = isInstance && "description" in value;
|
|
30
30
|
isInstance = isInstance && "executor" in value;
|
|
31
|
-
isInstance = isInstance && "category" in value;
|
|
32
|
-
isInstance = isInstance && "pipelineType" in value;
|
|
33
31
|
isInstance = isInstance && "childProcessIds" in value;
|
|
34
32
|
isInstance = isInstance && "parentProcessIds" in value;
|
|
35
33
|
isInstance = isInstance && "linkedProjectIds" in value;
|
|
@@ -50,8 +48,8 @@ function ProcessDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
48
|
'description': json['description'],
|
|
51
49
|
'dataType': !(0, runtime_1.exists)(json, 'dataType') ? undefined : json['dataType'],
|
|
52
50
|
'executor': (0, Executor_1.ExecutorFromJSON)(json['executor']),
|
|
53
|
-
'category': json['category'],
|
|
54
|
-
'pipelineType': json['pipelineType'],
|
|
51
|
+
'category': !(0, runtime_1.exists)(json, 'category') ? undefined : json['category'],
|
|
52
|
+
'pipelineType': !(0, runtime_1.exists)(json, 'pipelineType') ? undefined : json['pipelineType'],
|
|
55
53
|
'childProcessIds': json['childProcessIds'],
|
|
56
54
|
'parentProcessIds': json['parentProcessIds'],
|
|
57
55
|
'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CloudAccount } from './CloudAccount';
|
|
12
13
|
import type { Contact } from './Contact';
|
|
13
14
|
import type { ProjectSettings } from './ProjectSettings';
|
|
14
15
|
import type { Status } from './Status';
|
|
@@ -61,6 +62,12 @@ export interface ProjectDetail {
|
|
|
61
62
|
* @memberof ProjectDetail
|
|
62
63
|
*/
|
|
63
64
|
settings: ProjectSettings;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {CloudAccount}
|
|
68
|
+
* @memberof ProjectDetail
|
|
69
|
+
*/
|
|
70
|
+
account?: CloudAccount | null;
|
|
64
71
|
/**
|
|
65
72
|
*
|
|
66
73
|
* @type {string}
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ProjectDetailToJSON = exports.ProjectDetailFromJSONTyped = exports.ProjectDetailFromJSON = exports.instanceOfProjectDetail = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var CloudAccount_1 = require("./CloudAccount");
|
|
17
19
|
var Contact_1 = require("./Contact");
|
|
18
20
|
var ProjectSettings_1 = require("./ProjectSettings");
|
|
19
21
|
var Status_1 = require("./Status");
|
|
@@ -54,6 +56,7 @@ function ProjectDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
56
|
'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
|
|
55
57
|
'status': (0, Status_1.StatusFromJSON)(json['status']),
|
|
56
58
|
'settings': (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
|
|
59
|
+
'account': !(0, runtime_1.exists)(json, 'account') ? undefined : (0, CloudAccount_1.CloudAccountFromJSON)(json['account']),
|
|
57
60
|
'statusMessage': json['statusMessage'],
|
|
58
61
|
'tags': (json['tags'].map(Tag_1.TagFromJSON)),
|
|
59
62
|
'createdBy': json['createdBy'],
|
|
@@ -77,6 +80,7 @@ function ProjectDetailToJSON(value) {
|
|
|
77
80
|
'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
|
|
78
81
|
'status': (0, Status_1.StatusToJSON)(value.status),
|
|
79
82
|
'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value.settings),
|
|
83
|
+
'account': (0, CloudAccount_1.CloudAccountToJSON)(value.account),
|
|
80
84
|
'statusMessage': value.statusMessage,
|
|
81
85
|
'tags': (value.tags.map(Tag_1.TagToJSON)),
|
|
82
86
|
'createdBy': value.createdBy,
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { FeatureFlags } from './FeatureFlags';
|
|
12
13
|
import type { LoginProvider } from './LoginProvider';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -70,6 +71,12 @@ export interface TenantInfo {
|
|
|
70
71
|
* @memberof TenantInfo
|
|
71
72
|
*/
|
|
72
73
|
loginProviders: Array<LoginProvider>;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {FeatureFlags}
|
|
77
|
+
* @memberof TenantInfo
|
|
78
|
+
*/
|
|
79
|
+
features: FeatureFlags;
|
|
73
80
|
}
|
|
74
81
|
/**
|
|
75
82
|
* Check if a given object implements the TenantInfo interface.
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.TenantInfoToJSON = exports.TenantInfoFromJSONTyped = exports.TenantInfoFromJSON = exports.instanceOfTenantInfo = void 0;
|
|
17
|
+
var FeatureFlags_1 = require("./FeatureFlags");
|
|
17
18
|
var LoginProvider_1 = require("./LoginProvider");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the TenantInfo interface.
|
|
@@ -29,6 +30,7 @@ function instanceOfTenantInfo(value) {
|
|
|
29
30
|
isInstance = isInstance && "termsOfServiceUrl" in value;
|
|
30
31
|
isInstance = isInstance && "privacyPolicyUrl" in value;
|
|
31
32
|
isInstance = isInstance && "loginProviders" in value;
|
|
33
|
+
isInstance = isInstance && "features" in value;
|
|
32
34
|
return isInstance;
|
|
33
35
|
}
|
|
34
36
|
exports.instanceOfTenantInfo = instanceOfTenantInfo;
|
|
@@ -50,6 +52,7 @@ function TenantInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
52
|
'termsOfServiceUrl': json['termsOfServiceUrl'],
|
|
51
53
|
'privacyPolicyUrl': json['privacyPolicyUrl'],
|
|
52
54
|
'loginProviders': (json['loginProviders'].map(LoginProvider_1.LoginProviderFromJSON)),
|
|
55
|
+
'features': (0, FeatureFlags_1.FeatureFlagsFromJSON)(json['features']),
|
|
53
56
|
};
|
|
54
57
|
}
|
|
55
58
|
exports.TenantInfoFromJSONTyped = TenantInfoFromJSONTyped;
|
|
@@ -70,6 +73,7 @@ function TenantInfoToJSON(value) {
|
|
|
70
73
|
'termsOfServiceUrl': value.termsOfServiceUrl,
|
|
71
74
|
'privacyPolicyUrl': value.privacyPolicyUrl,
|
|
72
75
|
'loginProviders': (value.loginProviders.map(LoginProvider_1.LoginProviderToJSON)),
|
|
76
|
+
'features': (0, FeatureFlags_1.FeatureFlagsToJSON)(value.features),
|
|
73
77
|
};
|
|
74
78
|
}
|
|
75
79
|
exports.TenantInfoToJSON = TenantInfoToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export * from './DatasetDetail';
|
|
|
26
26
|
export * from './DatasetViz';
|
|
27
27
|
export * from './ErrorMessage';
|
|
28
28
|
export * from './Executor';
|
|
29
|
+
export * from './FeatureFlags';
|
|
29
30
|
export * from './FileAccessRequest';
|
|
30
31
|
export * from './FileEntry';
|
|
31
32
|
export * from './FileMappingRule';
|
package/dist/models/index.js
CHANGED
|
@@ -44,6 +44,7 @@ __exportStar(require("./DatasetDetail"), exports);
|
|
|
44
44
|
__exportStar(require("./DatasetViz"), exports);
|
|
45
45
|
__exportStar(require("./ErrorMessage"), exports);
|
|
46
46
|
__exportStar(require("./Executor"), exports);
|
|
47
|
+
__exportStar(require("./FeatureFlags"), exports);
|
|
47
48
|
__exportStar(require("./FileAccessRequest"), exports);
|
|
48
49
|
__exportStar(require("./FileEntry"), exports);
|
|
49
50
|
__exportStar(require("./FileMappingRule"), exports);
|
package/package.json
CHANGED
package/src/models/DatasetViz.ts
CHANGED
|
@@ -38,11 +38,11 @@ export interface DatasetViz {
|
|
|
38
38
|
*/
|
|
39
39
|
type?: string;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {
|
|
41
|
+
* Config or path to config used to render viz
|
|
42
|
+
* @type {any}
|
|
43
43
|
* @memberof DatasetViz
|
|
44
44
|
*/
|
|
45
|
-
config?:
|
|
45
|
+
config?: any | null;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
@@ -0,0 +1,75 @@
|
|
|
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 FeatureFlags
|
|
20
|
+
*/
|
|
21
|
+
export interface FeatureFlags {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof FeatureFlags
|
|
26
|
+
*/
|
|
27
|
+
sftpEnabled: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof FeatureFlags
|
|
32
|
+
*/
|
|
33
|
+
governanceEnabled: boolean;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the FeatureFlags interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfFeatureFlags(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
isInstance = isInstance && "sftpEnabled" in value;
|
|
42
|
+
isInstance = isInstance && "governanceEnabled" in value;
|
|
43
|
+
|
|
44
|
+
return isInstance;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function FeatureFlagsFromJSON(json: any): FeatureFlags {
|
|
48
|
+
return FeatureFlagsFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function FeatureFlagsFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeatureFlags {
|
|
52
|
+
if ((json === undefined) || (json === null)) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
|
|
57
|
+
'sftpEnabled': json['sftpEnabled'],
|
|
58
|
+
'governanceEnabled': json['governanceEnabled'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function FeatureFlagsToJSON(value?: FeatureFlags | null): any {
|
|
63
|
+
if (value === undefined) {
|
|
64
|
+
return undefined;
|
|
65
|
+
}
|
|
66
|
+
if (value === null) {
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'sftpEnabled': value.sftpEnabled,
|
|
72
|
+
'governanceEnabled': value.governanceEnabled,
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
package/src/models/Process.ts
CHANGED
|
@@ -75,17 +75,17 @@ export interface ProcessDetail {
|
|
|
75
75
|
*/
|
|
76
76
|
executor: Executor;
|
|
77
77
|
/**
|
|
78
|
-
* Category of the
|
|
78
|
+
* Category of the process
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof ProcessDetail
|
|
81
81
|
*/
|
|
82
|
-
category
|
|
82
|
+
category?: string;
|
|
83
83
|
/**
|
|
84
84
|
* Type of pipeline
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof ProcessDetail
|
|
87
87
|
*/
|
|
88
|
-
pipelineType
|
|
88
|
+
pipelineType?: string;
|
|
89
89
|
/**
|
|
90
90
|
* IDs of pipelines that can be run downstream
|
|
91
91
|
* @type {Array<string>}
|
|
@@ -163,8 +163,6 @@ export function instanceOfProcessDetail(value: object): boolean {
|
|
|
163
163
|
isInstance = isInstance && "name" in value;
|
|
164
164
|
isInstance = isInstance && "description" in value;
|
|
165
165
|
isInstance = isInstance && "executor" in value;
|
|
166
|
-
isInstance = isInstance && "category" in value;
|
|
167
|
-
isInstance = isInstance && "pipelineType" in value;
|
|
168
166
|
isInstance = isInstance && "childProcessIds" in value;
|
|
169
167
|
isInstance = isInstance && "parentProcessIds" in value;
|
|
170
168
|
isInstance = isInstance && "linkedProjectIds" in value;
|
|
@@ -187,8 +185,8 @@ export function ProcessDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
187
185
|
'description': json['description'],
|
|
188
186
|
'dataType': !exists(json, 'dataType') ? undefined : json['dataType'],
|
|
189
187
|
'executor': ExecutorFromJSON(json['executor']),
|
|
190
|
-
'category': json['category'],
|
|
191
|
-
'pipelineType': json['pipelineType'],
|
|
188
|
+
'category': !exists(json, 'category') ? undefined : json['category'],
|
|
189
|
+
'pipelineType': !exists(json, 'pipelineType') ? undefined : json['pipelineType'],
|
|
192
190
|
'childProcessIds': json['childProcessIds'],
|
|
193
191
|
'parentProcessIds': json['parentProcessIds'],
|
|
194
192
|
'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { CloudAccount } from './CloudAccount';
|
|
17
|
+
import {
|
|
18
|
+
CloudAccountFromJSON,
|
|
19
|
+
CloudAccountFromJSONTyped,
|
|
20
|
+
CloudAccountToJSON,
|
|
21
|
+
} from './CloudAccount';
|
|
16
22
|
import type { Contact } from './Contact';
|
|
17
23
|
import {
|
|
18
24
|
ContactFromJSON,
|
|
@@ -86,6 +92,12 @@ export interface ProjectDetail {
|
|
|
86
92
|
* @memberof ProjectDetail
|
|
87
93
|
*/
|
|
88
94
|
settings: ProjectSettings;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {CloudAccount}
|
|
98
|
+
* @memberof ProjectDetail
|
|
99
|
+
*/
|
|
100
|
+
account?: CloudAccount | null;
|
|
89
101
|
/**
|
|
90
102
|
*
|
|
91
103
|
* @type {string}
|
|
@@ -156,6 +168,7 @@ export function ProjectDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
156
168
|
'contacts': ((json['contacts'] as Array<any>).map(ContactFromJSON)),
|
|
157
169
|
'status': StatusFromJSON(json['status']),
|
|
158
170
|
'settings': ProjectSettingsFromJSON(json['settings']),
|
|
171
|
+
'account': !exists(json, 'account') ? undefined : CloudAccountFromJSON(json['account']),
|
|
159
172
|
'statusMessage': json['statusMessage'],
|
|
160
173
|
'tags': ((json['tags'] as Array<any>).map(TagFromJSON)),
|
|
161
174
|
'createdBy': json['createdBy'],
|
|
@@ -180,6 +193,7 @@ export function ProjectDetailToJSON(value?: ProjectDetail | null): any {
|
|
|
180
193
|
'contacts': ((value.contacts as Array<any>).map(ContactToJSON)),
|
|
181
194
|
'status': StatusToJSON(value.status),
|
|
182
195
|
'settings': ProjectSettingsToJSON(value.settings),
|
|
196
|
+
'account': CloudAccountToJSON(value.account),
|
|
183
197
|
'statusMessage': value.statusMessage,
|
|
184
198
|
'tags': ((value.tags as Array<any>).map(TagToJSON)),
|
|
185
199
|
'createdBy': value.createdBy,
|
package/src/models/TenantInfo.ts
CHANGED
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { FeatureFlags } from './FeatureFlags';
|
|
17
|
+
import {
|
|
18
|
+
FeatureFlagsFromJSON,
|
|
19
|
+
FeatureFlagsFromJSONTyped,
|
|
20
|
+
FeatureFlagsToJSON,
|
|
21
|
+
} from './FeatureFlags';
|
|
16
22
|
import type { LoginProvider } from './LoginProvider';
|
|
17
23
|
import {
|
|
18
24
|
LoginProviderFromJSON,
|
|
@@ -80,6 +86,12 @@ export interface TenantInfo {
|
|
|
80
86
|
* @memberof TenantInfo
|
|
81
87
|
*/
|
|
82
88
|
loginProviders: Array<LoginProvider>;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {FeatureFlags}
|
|
92
|
+
* @memberof TenantInfo
|
|
93
|
+
*/
|
|
94
|
+
features: FeatureFlags;
|
|
83
95
|
}
|
|
84
96
|
|
|
85
97
|
/**
|
|
@@ -96,6 +108,7 @@ export function instanceOfTenantInfo(value: object): boolean {
|
|
|
96
108
|
isInstance = isInstance && "termsOfServiceUrl" in value;
|
|
97
109
|
isInstance = isInstance && "privacyPolicyUrl" in value;
|
|
98
110
|
isInstance = isInstance && "loginProviders" in value;
|
|
111
|
+
isInstance = isInstance && "features" in value;
|
|
99
112
|
|
|
100
113
|
return isInstance;
|
|
101
114
|
}
|
|
@@ -119,6 +132,7 @@ export function TenantInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
119
132
|
'termsOfServiceUrl': json['termsOfServiceUrl'],
|
|
120
133
|
'privacyPolicyUrl': json['privacyPolicyUrl'],
|
|
121
134
|
'loginProviders': ((json['loginProviders'] as Array<any>).map(LoginProviderFromJSON)),
|
|
135
|
+
'features': FeatureFlagsFromJSON(json['features']),
|
|
122
136
|
};
|
|
123
137
|
}
|
|
124
138
|
|
|
@@ -140,6 +154,7 @@ export function TenantInfoToJSON(value?: TenantInfo | null): any {
|
|
|
140
154
|
'termsOfServiceUrl': value.termsOfServiceUrl,
|
|
141
155
|
'privacyPolicyUrl': value.privacyPolicyUrl,
|
|
142
156
|
'loginProviders': ((value.loginProviders as Array<any>).map(LoginProviderToJSON)),
|
|
157
|
+
'features': FeatureFlagsToJSON(value.features),
|
|
143
158
|
};
|
|
144
159
|
}
|
|
145
160
|
|
package/src/models/index.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from './DatasetDetail';
|
|
|
28
28
|
export * from './DatasetViz';
|
|
29
29
|
export * from './ErrorMessage';
|
|
30
30
|
export * from './Executor';
|
|
31
|
+
export * from './FeatureFlags';
|
|
31
32
|
export * from './FileAccessRequest';
|
|
32
33
|
export * from './FileEntry';
|
|
33
34
|
export * from './FileMappingRule';
|