@breign/client 1.0.180 → 1.0.182
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/dist/apis/AdminApi.d.ts +33 -10
- package/dist/apis/AdminApi.js +70 -15
- package/dist/apis/EngineApi.d.ts +29 -1
- package/dist/apis/EngineApi.js +66 -0
- package/dist/apis/SupportApi.d.ts +59 -0
- package/dist/apis/SupportApi.js +154 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ModelUserAccessUio.d.ts +50 -0
- package/dist/models/ModelUserAccessUio.js +62 -0
- package/dist/models/OrganisationPlatformEngineUsageModelsInnerUio.d.ts +56 -0
- package/dist/models/OrganisationPlatformEngineUsageModelsInnerUio.js +66 -0
- package/dist/models/OrganisationPlatformEngineUsageUio.d.ts +7 -0
- package/dist/models/OrganisationPlatformEngineUsageUio.js +5 -0
- package/dist/models/OrganizationModelAccessUio.d.ts +33 -0
- package/dist/models/OrganizationModelAccessUio.js +51 -0
- package/dist/models/OrganizationUio.d.ts +0 -6
- package/dist/models/OrganizationUio.js +0 -2
- package/dist/models/PlatformEngineAccessModelsInnerUio.d.ts +38 -0
- package/dist/models/PlatformEngineAccessModelsInnerUio.js +54 -0
- package/dist/models/PlatformEngineAccessUio.d.ts +33 -0
- package/dist/models/PlatformEngineAccessUio.js +51 -0
- package/dist/models/SetModelUserAccessUio.d.ts +44 -0
- package/dist/models/SetModelUserAccessUio.js +58 -0
- package/dist/models/SupportRequestAcceptedUio.d.ts +38 -0
- package/dist/models/SupportRequestAcceptedUio.js +54 -0
- package/dist/models/SupportRequestAttachmentUio.d.ts +44 -0
- package/dist/models/SupportRequestAttachmentUio.js +58 -0
- package/dist/models/SupportRequestCreateUio.d.ts +85 -0
- package/dist/models/SupportRequestCreateUio.js +90 -0
- package/dist/models/SupportSettingsUio.d.ts +44 -0
- package/dist/models/SupportSettingsUio.js +58 -0
- package/dist/models/index.d.ts +10 -1
- package/dist/models/index.js +10 -1
- package/dist/openapi.json +517 -57
- package/package.json +1 -1
- package/dist/models/AllowPlatformEnginesUio.d.ts +0 -32
- package/dist/models/AllowPlatformEnginesUio.js +0 -50
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
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.instanceOfModelUserAccessUio = instanceOfModelUserAccessUio;
|
|
17
|
+
exports.ModelUserAccessUioFromJSON = ModelUserAccessUioFromJSON;
|
|
18
|
+
exports.ModelUserAccessUioFromJSONTyped = ModelUserAccessUioFromJSONTyped;
|
|
19
|
+
exports.ModelUserAccessUioToJSON = ModelUserAccessUioToJSON;
|
|
20
|
+
exports.ModelUserAccessUioToJSONTyped = ModelUserAccessUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ModelUserAccessUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfModelUserAccessUio(value) {
|
|
25
|
+
if (!('providerId' in value) || value['providerId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('modelId' in value) || value['modelId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('restrictToUsers' in value) || value['restrictToUsers'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('userIds' in value) || value['userIds'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function ModelUserAccessUioFromJSON(json) {
|
|
36
|
+
return ModelUserAccessUioFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function ModelUserAccessUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'providerId': json['providerId'],
|
|
44
|
+
'modelId': json['modelId'],
|
|
45
|
+
'restrictToUsers': json['restrictToUsers'],
|
|
46
|
+
'userIds': json['userIds'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function ModelUserAccessUioToJSON(json) {
|
|
50
|
+
return ModelUserAccessUioToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function ModelUserAccessUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'providerId': value['providerId'],
|
|
58
|
+
'modelId': value['modelId'],
|
|
59
|
+
'restrictToUsers': value['restrictToUsers'],
|
|
60
|
+
'userIds': value['userIds'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
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 OrganisationPlatformEngineUsageModelsInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganisationPlatformEngineUsageModelsInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganisationPlatformEngineUsageModelsInnerUio
|
|
22
|
+
*/
|
|
23
|
+
providerId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganisationPlatformEngineUsageModelsInnerUio
|
|
28
|
+
*/
|
|
29
|
+
modelId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof OrganisationPlatformEngineUsageModelsInnerUio
|
|
34
|
+
*/
|
|
35
|
+
agents: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof OrganisationPlatformEngineUsageModelsInnerUio
|
|
40
|
+
*/
|
|
41
|
+
defaultEngine: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Bases de connaissances indexées avec ce modèle d'embedding.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof OrganisationPlatformEngineUsageModelsInnerUio
|
|
46
|
+
*/
|
|
47
|
+
knowledgeBases: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the OrganisationPlatformEngineUsageModelsInnerUio interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfOrganisationPlatformEngineUsageModelsInnerUio(value: object): value is OrganisationPlatformEngineUsageModelsInnerUio;
|
|
53
|
+
export declare function OrganisationPlatformEngineUsageModelsInnerUioFromJSON(json: any): OrganisationPlatformEngineUsageModelsInnerUio;
|
|
54
|
+
export declare function OrganisationPlatformEngineUsageModelsInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganisationPlatformEngineUsageModelsInnerUio;
|
|
55
|
+
export declare function OrganisationPlatformEngineUsageModelsInnerUioToJSON(json: any): OrganisationPlatformEngineUsageModelsInnerUio;
|
|
56
|
+
export declare function OrganisationPlatformEngineUsageModelsInnerUioToJSONTyped(value?: OrganisationPlatformEngineUsageModelsInnerUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
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.instanceOfOrganisationPlatformEngineUsageModelsInnerUio = instanceOfOrganisationPlatformEngineUsageModelsInnerUio;
|
|
17
|
+
exports.OrganisationPlatformEngineUsageModelsInnerUioFromJSON = OrganisationPlatformEngineUsageModelsInnerUioFromJSON;
|
|
18
|
+
exports.OrganisationPlatformEngineUsageModelsInnerUioFromJSONTyped = OrganisationPlatformEngineUsageModelsInnerUioFromJSONTyped;
|
|
19
|
+
exports.OrganisationPlatformEngineUsageModelsInnerUioToJSON = OrganisationPlatformEngineUsageModelsInnerUioToJSON;
|
|
20
|
+
exports.OrganisationPlatformEngineUsageModelsInnerUioToJSONTyped = OrganisationPlatformEngineUsageModelsInnerUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrganisationPlatformEngineUsageModelsInnerUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrganisationPlatformEngineUsageModelsInnerUio(value) {
|
|
25
|
+
if (!('providerId' in value) || value['providerId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('modelId' in value) || value['modelId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('agents' in value) || value['agents'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('defaultEngine' in value) || value['defaultEngine'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('knowledgeBases' in value) || value['knowledgeBases'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function OrganisationPlatformEngineUsageModelsInnerUioFromJSON(json) {
|
|
38
|
+
return OrganisationPlatformEngineUsageModelsInnerUioFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function OrganisationPlatformEngineUsageModelsInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'providerId': json['providerId'],
|
|
46
|
+
'modelId': json['modelId'],
|
|
47
|
+
'agents': json['agents'],
|
|
48
|
+
'defaultEngine': json['defaultEngine'],
|
|
49
|
+
'knowledgeBases': json['knowledgeBases'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function OrganisationPlatformEngineUsageModelsInnerUioToJSON(json) {
|
|
53
|
+
return OrganisationPlatformEngineUsageModelsInnerUioToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function OrganisationPlatformEngineUsageModelsInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'providerId': value['providerId'],
|
|
61
|
+
'modelId': value['modelId'],
|
|
62
|
+
'agents': value['agents'],
|
|
63
|
+
'defaultEngine': value['defaultEngine'],
|
|
64
|
+
'knowledgeBases': value['knowledgeBases'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { OrganisationPlatformEngineUsageModelsInnerUio } from './OrganisationPlatformEngineUsageModelsInnerUio';
|
|
12
13
|
/**
|
|
13
14
|
* Ce qu'une organisation perd si on lui retire les moteurs plateforme.
|
|
14
15
|
* @export
|
|
@@ -33,6 +34,12 @@ export interface OrganisationPlatformEngineUsageUio {
|
|
|
33
34
|
* @memberof OrganisationPlatformEngineUsageUio
|
|
34
35
|
*/
|
|
35
36
|
knowledgeBases: number;
|
|
37
|
+
/**
|
|
38
|
+
* Le même usage, modèle par modèle.
|
|
39
|
+
* @type {Array<OrganisationPlatformEngineUsageModelsInnerUio>}
|
|
40
|
+
* @memberof OrganisationPlatformEngineUsageUio
|
|
41
|
+
*/
|
|
42
|
+
models: Array<OrganisationPlatformEngineUsageModelsInnerUio>;
|
|
36
43
|
}
|
|
37
44
|
/**
|
|
38
45
|
* Check if a given object implements the OrganisationPlatformEngineUsageUio interface.
|
|
@@ -18,6 +18,7 @@ exports.OrganisationPlatformEngineUsageUioFromJSON = OrganisationPlatformEngineU
|
|
|
18
18
|
exports.OrganisationPlatformEngineUsageUioFromJSONTyped = OrganisationPlatformEngineUsageUioFromJSONTyped;
|
|
19
19
|
exports.OrganisationPlatformEngineUsageUioToJSON = OrganisationPlatformEngineUsageUioToJSON;
|
|
20
20
|
exports.OrganisationPlatformEngineUsageUioToJSONTyped = OrganisationPlatformEngineUsageUioToJSONTyped;
|
|
21
|
+
const OrganisationPlatformEngineUsageModelsInnerUio_1 = require("./OrganisationPlatformEngineUsageModelsInnerUio");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the OrganisationPlatformEngineUsageUio interface.
|
|
23
24
|
*/
|
|
@@ -28,6 +29,8 @@ function instanceOfOrganisationPlatformEngineUsageUio(value) {
|
|
|
28
29
|
return false;
|
|
29
30
|
if (!('knowledgeBases' in value) || value['knowledgeBases'] === undefined)
|
|
30
31
|
return false;
|
|
32
|
+
if (!('models' in value) || value['models'] === undefined)
|
|
33
|
+
return false;
|
|
31
34
|
return true;
|
|
32
35
|
}
|
|
33
36
|
function OrganisationPlatformEngineUsageUioFromJSON(json) {
|
|
@@ -41,6 +44,7 @@ function OrganisationPlatformEngineUsageUioFromJSONTyped(json, ignoreDiscriminat
|
|
|
41
44
|
'agents': json['agents'],
|
|
42
45
|
'defaultEngine': json['defaultEngine'],
|
|
43
46
|
'knowledgeBases': json['knowledgeBases'],
|
|
47
|
+
'models': (json['models'].map(OrganisationPlatformEngineUsageModelsInnerUio_1.OrganisationPlatformEngineUsageModelsInnerUioFromJSON)),
|
|
44
48
|
};
|
|
45
49
|
}
|
|
46
50
|
function OrganisationPlatformEngineUsageUioToJSON(json) {
|
|
@@ -54,5 +58,6 @@ function OrganisationPlatformEngineUsageUioToJSONTyped(value, ignoreDiscriminato
|
|
|
54
58
|
'agents': value['agents'],
|
|
55
59
|
'defaultEngine': value['defaultEngine'],
|
|
56
60
|
'knowledgeBases': value['knowledgeBases'],
|
|
61
|
+
'models': (value['models'].map(OrganisationPlatformEngineUsageModelsInnerUio_1.OrganisationPlatformEngineUsageModelsInnerUioToJSON)),
|
|
57
62
|
};
|
|
58
63
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
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 { ModelUserAccessUio } from './ModelUserAccessUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationModelAccessUio
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationModelAccessUio {
|
|
19
|
+
/**
|
|
20
|
+
* Seuls les modèles restreints, ou l'ayant été, figurent ici. Absent ⇒ tous les membres.
|
|
21
|
+
* @type {Array<ModelUserAccessUio>}
|
|
22
|
+
* @memberof OrganizationModelAccessUio
|
|
23
|
+
*/
|
|
24
|
+
rules: Array<ModelUserAccessUio>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the OrganizationModelAccessUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfOrganizationModelAccessUio(value: object): value is OrganizationModelAccessUio;
|
|
30
|
+
export declare function OrganizationModelAccessUioFromJSON(json: any): OrganizationModelAccessUio;
|
|
31
|
+
export declare function OrganizationModelAccessUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationModelAccessUio;
|
|
32
|
+
export declare function OrganizationModelAccessUioToJSON(json: any): OrganizationModelAccessUio;
|
|
33
|
+
export declare function OrganizationModelAccessUioToJSONTyped(value?: OrganizationModelAccessUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
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.instanceOfOrganizationModelAccessUio = instanceOfOrganizationModelAccessUio;
|
|
17
|
+
exports.OrganizationModelAccessUioFromJSON = OrganizationModelAccessUioFromJSON;
|
|
18
|
+
exports.OrganizationModelAccessUioFromJSONTyped = OrganizationModelAccessUioFromJSONTyped;
|
|
19
|
+
exports.OrganizationModelAccessUioToJSON = OrganizationModelAccessUioToJSON;
|
|
20
|
+
exports.OrganizationModelAccessUioToJSONTyped = OrganizationModelAccessUioToJSONTyped;
|
|
21
|
+
const ModelUserAccessUio_1 = require("./ModelUserAccessUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the OrganizationModelAccessUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfOrganizationModelAccessUio(value) {
|
|
26
|
+
if (!('rules' in value) || value['rules'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function OrganizationModelAccessUioFromJSON(json) {
|
|
31
|
+
return OrganizationModelAccessUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function OrganizationModelAccessUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'rules': (json['rules'].map(ModelUserAccessUio_1.ModelUserAccessUioFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function OrganizationModelAccessUioToJSON(json) {
|
|
42
|
+
return OrganizationModelAccessUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function OrganizationModelAccessUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'rules': (value['rules'].map(ModelUserAccessUio_1.ModelUserAccessUioToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -48,12 +48,6 @@ export interface OrganizationUio {
|
|
|
48
48
|
* @memberof OrganizationUio
|
|
49
49
|
*/
|
|
50
50
|
ocr?: OrganizationOcrConfigUio | null;
|
|
51
|
-
/**
|
|
52
|
-
* L'organisation peut choisir les moteurs plateforme Breign.
|
|
53
|
-
* @type {boolean}
|
|
54
|
-
* @memberof OrganizationUio
|
|
55
|
-
*/
|
|
56
|
-
allowPlatformEngines?: boolean;
|
|
57
51
|
/**
|
|
58
52
|
*
|
|
59
53
|
* @type {Array<OrganizationUserUio>}
|
|
@@ -46,7 +46,6 @@ function OrganizationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'slug': json['slug'],
|
|
47
47
|
'engine': json['engine'] == null ? undefined : (0, OrganizationEngineUio_1.OrganizationEngineUioFromJSON)(json['engine']),
|
|
48
48
|
'ocr': json['ocr'] == null ? undefined : (0, OrganizationOcrConfigUio_1.OrganizationOcrConfigUioFromJSON)(json['ocr']),
|
|
49
|
-
'allowPlatformEngines': json['allowPlatformEngines'] == null ? undefined : json['allowPlatformEngines'],
|
|
50
49
|
'users': json['users'] == null ? undefined : (json['users'].map(OrganizationUserUio_1.OrganizationUserUioFromJSON)),
|
|
51
50
|
};
|
|
52
51
|
}
|
|
@@ -63,7 +62,6 @@ function OrganizationUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
63
62
|
'slug': value['slug'],
|
|
64
63
|
'engine': (0, OrganizationEngineUio_1.OrganizationEngineUioToJSON)(value['engine']),
|
|
65
64
|
'ocr': (0, OrganizationOcrConfigUio_1.OrganizationOcrConfigUioToJSON)(value['ocr']),
|
|
66
|
-
'allowPlatformEngines': value['allowPlatformEngines'],
|
|
67
65
|
'users': value['users'] == null ? undefined : (value['users'].map(OrganizationUserUio_1.OrganizationUserUioToJSON)),
|
|
68
66
|
};
|
|
69
67
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
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 PlatformEngineAccessModelsInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface PlatformEngineAccessModelsInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PlatformEngineAccessModelsInnerUio
|
|
22
|
+
*/
|
|
23
|
+
modelId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof PlatformEngineAccessModelsInnerUio
|
|
28
|
+
*/
|
|
29
|
+
organizationIds: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PlatformEngineAccessModelsInnerUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPlatformEngineAccessModelsInnerUio(value: object): value is PlatformEngineAccessModelsInnerUio;
|
|
35
|
+
export declare function PlatformEngineAccessModelsInnerUioFromJSON(json: any): PlatformEngineAccessModelsInnerUio;
|
|
36
|
+
export declare function PlatformEngineAccessModelsInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlatformEngineAccessModelsInnerUio;
|
|
37
|
+
export declare function PlatformEngineAccessModelsInnerUioToJSON(json: any): PlatformEngineAccessModelsInnerUio;
|
|
38
|
+
export declare function PlatformEngineAccessModelsInnerUioToJSONTyped(value?: PlatformEngineAccessModelsInnerUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
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.instanceOfPlatformEngineAccessModelsInnerUio = instanceOfPlatformEngineAccessModelsInnerUio;
|
|
17
|
+
exports.PlatformEngineAccessModelsInnerUioFromJSON = PlatformEngineAccessModelsInnerUioFromJSON;
|
|
18
|
+
exports.PlatformEngineAccessModelsInnerUioFromJSONTyped = PlatformEngineAccessModelsInnerUioFromJSONTyped;
|
|
19
|
+
exports.PlatformEngineAccessModelsInnerUioToJSON = PlatformEngineAccessModelsInnerUioToJSON;
|
|
20
|
+
exports.PlatformEngineAccessModelsInnerUioToJSONTyped = PlatformEngineAccessModelsInnerUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PlatformEngineAccessModelsInnerUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPlatformEngineAccessModelsInnerUio(value) {
|
|
25
|
+
if (!('modelId' in value) || value['modelId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('organizationIds' in value) || value['organizationIds'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PlatformEngineAccessModelsInnerUioFromJSON(json) {
|
|
32
|
+
return PlatformEngineAccessModelsInnerUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PlatformEngineAccessModelsInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'modelId': json['modelId'],
|
|
40
|
+
'organizationIds': json['organizationIds'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function PlatformEngineAccessModelsInnerUioToJSON(json) {
|
|
44
|
+
return PlatformEngineAccessModelsInnerUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function PlatformEngineAccessModelsInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'modelId': value['modelId'],
|
|
52
|
+
'organizationIds': value['organizationIds'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
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 { PlatformEngineAccessModelsInnerUio } from './PlatformEngineAccessModelsInnerUio';
|
|
13
|
+
/**
|
|
14
|
+
* Organisations qui ont accès à chaque modèle d'un moteur plateforme.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PlatformEngineAccessUio
|
|
17
|
+
*/
|
|
18
|
+
export interface PlatformEngineAccessUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<PlatformEngineAccessModelsInnerUio>}
|
|
22
|
+
* @memberof PlatformEngineAccessUio
|
|
23
|
+
*/
|
|
24
|
+
models: Array<PlatformEngineAccessModelsInnerUio>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PlatformEngineAccessUio interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfPlatformEngineAccessUio(value: object): value is PlatformEngineAccessUio;
|
|
30
|
+
export declare function PlatformEngineAccessUioFromJSON(json: any): PlatformEngineAccessUio;
|
|
31
|
+
export declare function PlatformEngineAccessUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlatformEngineAccessUio;
|
|
32
|
+
export declare function PlatformEngineAccessUioToJSON(json: any): PlatformEngineAccessUio;
|
|
33
|
+
export declare function PlatformEngineAccessUioToJSONTyped(value?: PlatformEngineAccessUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
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.instanceOfPlatformEngineAccessUio = instanceOfPlatformEngineAccessUio;
|
|
17
|
+
exports.PlatformEngineAccessUioFromJSON = PlatformEngineAccessUioFromJSON;
|
|
18
|
+
exports.PlatformEngineAccessUioFromJSONTyped = PlatformEngineAccessUioFromJSONTyped;
|
|
19
|
+
exports.PlatformEngineAccessUioToJSON = PlatformEngineAccessUioToJSON;
|
|
20
|
+
exports.PlatformEngineAccessUioToJSONTyped = PlatformEngineAccessUioToJSONTyped;
|
|
21
|
+
const PlatformEngineAccessModelsInnerUio_1 = require("./PlatformEngineAccessModelsInnerUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PlatformEngineAccessUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPlatformEngineAccessUio(value) {
|
|
26
|
+
if (!('models' in value) || value['models'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function PlatformEngineAccessUioFromJSON(json) {
|
|
31
|
+
return PlatformEngineAccessUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function PlatformEngineAccessUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'models': (json['models'].map(PlatformEngineAccessModelsInnerUio_1.PlatformEngineAccessModelsInnerUioFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function PlatformEngineAccessUioToJSON(json) {
|
|
42
|
+
return PlatformEngineAccessUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function PlatformEngineAccessUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'models': (value['models'].map(PlatformEngineAccessModelsInnerUio_1.PlatformEngineAccessModelsInnerUioToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
6
|
+
*
|
|
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 SetModelUserAccessUio
|
|
16
|
+
*/
|
|
17
|
+
export interface SetModelUserAccessUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SetModelUserAccessUio
|
|
22
|
+
*/
|
|
23
|
+
modelId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof SetModelUserAccessUio
|
|
28
|
+
*/
|
|
29
|
+
restrictToUsers: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof SetModelUserAccessUio
|
|
34
|
+
*/
|
|
35
|
+
userIds: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SetModelUserAccessUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSetModelUserAccessUio(value: object): value is SetModelUserAccessUio;
|
|
41
|
+
export declare function SetModelUserAccessUioFromJSON(json: any): SetModelUserAccessUio;
|
|
42
|
+
export declare function SetModelUserAccessUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetModelUserAccessUio;
|
|
43
|
+
export declare function SetModelUserAccessUioToJSON(json: any): SetModelUserAccessUio;
|
|
44
|
+
export declare function SetModelUserAccessUioToJSONTyped(value?: SetModelUserAccessUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
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.instanceOfSetModelUserAccessUio = instanceOfSetModelUserAccessUio;
|
|
17
|
+
exports.SetModelUserAccessUioFromJSON = SetModelUserAccessUioFromJSON;
|
|
18
|
+
exports.SetModelUserAccessUioFromJSONTyped = SetModelUserAccessUioFromJSONTyped;
|
|
19
|
+
exports.SetModelUserAccessUioToJSON = SetModelUserAccessUioToJSON;
|
|
20
|
+
exports.SetModelUserAccessUioToJSONTyped = SetModelUserAccessUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SetModelUserAccessUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSetModelUserAccessUio(value) {
|
|
25
|
+
if (!('modelId' in value) || value['modelId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('restrictToUsers' in value) || value['restrictToUsers'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('userIds' in value) || value['userIds'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function SetModelUserAccessUioFromJSON(json) {
|
|
34
|
+
return SetModelUserAccessUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function SetModelUserAccessUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'modelId': json['modelId'],
|
|
42
|
+
'restrictToUsers': json['restrictToUsers'],
|
|
43
|
+
'userIds': json['userIds'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function SetModelUserAccessUioToJSON(json) {
|
|
47
|
+
return SetModelUserAccessUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function SetModelUserAccessUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'modelId': value['modelId'],
|
|
55
|
+
'restrictToUsers': value['restrictToUsers'],
|
|
56
|
+
'userIds': value['userIds'],
|
|
57
|
+
};
|
|
58
|
+
}
|