@breign/client 1.0.181 → 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/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/index.d.ts +6 -1
- package/dist/models/index.js +6 -1
- package/dist/openapi.json +292 -57
- package/package.json +1 -1
- package/dist/models/AllowPlatformEnginesUio.d.ts +0 -32
- package/dist/models/AllowPlatformEnginesUio.js +0 -50
|
@@ -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
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -119,7 +119,6 @@ export * from './AiGatewayV1ModelPricingUio';
|
|
|
119
119
|
export * from './AiGatewayV1ModelUio';
|
|
120
120
|
export * from './AiGatewayV1ReportRowUio';
|
|
121
121
|
export * from './AiGatewayV1ReportUio';
|
|
122
|
-
export * from './AllowPlatformEnginesUio';
|
|
123
122
|
export * from './AnimationCreateRequestUio';
|
|
124
123
|
export * from './AnimationUio';
|
|
125
124
|
export * from './AnonymizationStatusUio';
|
|
@@ -446,6 +445,7 @@ export * from './ModelConsumptionItemUio';
|
|
|
446
445
|
export * from './ModelConsumptionSliceUio';
|
|
447
446
|
export * from './ModelDefinitionUio';
|
|
448
447
|
export * from './ModelUio';
|
|
448
|
+
export * from './ModelUserAccessUio';
|
|
449
449
|
export * from './NodeAssociationPolicyUio';
|
|
450
450
|
export * from './NodeSessionDetailUio';
|
|
451
451
|
export * from './NodeSessionLogEntryUio';
|
|
@@ -462,6 +462,7 @@ export * from './OpenAiChatCompletionResponseUio';
|
|
|
462
462
|
export * from './OrgUsageMetricsResponseTotalUio';
|
|
463
463
|
export * from './OrgUsageMetricsResponseUio';
|
|
464
464
|
export * from './OrgUsageTimeSeriesPointUio';
|
|
465
|
+
export * from './OrganisationPlatformEngineUsageModelsInnerUio';
|
|
465
466
|
export * from './OrganisationPlatformEngineUsageUio';
|
|
466
467
|
export * from './OrganizationEngineUio';
|
|
467
468
|
export * from './OrganizationExecutionNodeAgentUio';
|
|
@@ -469,6 +470,7 @@ export * from './OrganizationExecutionNodeUio';
|
|
|
469
470
|
export * from './OrganizationExecutionNodeUserUio';
|
|
470
471
|
export * from './OrganizationMemberUio';
|
|
471
472
|
export * from './OrganizationMemberUserUio';
|
|
473
|
+
export * from './OrganizationModelAccessUio';
|
|
472
474
|
export * from './OrganizationModelConsumptionTotalUio';
|
|
473
475
|
export * from './OrganizationModelConsumptionUio';
|
|
474
476
|
export * from './OrganizationOcrConfigUio';
|
|
@@ -483,6 +485,8 @@ export * from './PatchKnowledgeFileRequestUio';
|
|
|
483
485
|
export * from './PermissionEntryUio';
|
|
484
486
|
export * from './PersonaUio';
|
|
485
487
|
export * from './PinRequestUio';
|
|
488
|
+
export * from './PlatformEngineAccessModelsInnerUio';
|
|
489
|
+
export * from './PlatformEngineAccessUio';
|
|
486
490
|
export * from './PlatformEngineUsageUio';
|
|
487
491
|
export * from './PriceConfigurationModelConfigUio';
|
|
488
492
|
export * from './PriceConfigurationModelUio';
|
|
@@ -534,6 +538,7 @@ export * from './SetAgentExecutionRequestUio';
|
|
|
534
538
|
export * from './SetContextLocation400ResponseUio';
|
|
535
539
|
export * from './SetMessageReaction200ResponseUio';
|
|
536
540
|
export * from './SetMessageReactionRequestUio';
|
|
541
|
+
export * from './SetModelUserAccessUio';
|
|
537
542
|
export * from './SetProjectMembersRequestUio';
|
|
538
543
|
export * from './SetTicketAssigneesRequestUio';
|
|
539
544
|
export * from './SetTokenRequestUio';
|
package/dist/models/index.js
CHANGED
|
@@ -137,7 +137,6 @@ __exportStar(require("./AiGatewayV1ModelPricingUio"), exports);
|
|
|
137
137
|
__exportStar(require("./AiGatewayV1ModelUio"), exports);
|
|
138
138
|
__exportStar(require("./AiGatewayV1ReportRowUio"), exports);
|
|
139
139
|
__exportStar(require("./AiGatewayV1ReportUio"), exports);
|
|
140
|
-
__exportStar(require("./AllowPlatformEnginesUio"), exports);
|
|
141
140
|
__exportStar(require("./AnimationCreateRequestUio"), exports);
|
|
142
141
|
__exportStar(require("./AnimationUio"), exports);
|
|
143
142
|
__exportStar(require("./AnonymizationStatusUio"), exports);
|
|
@@ -464,6 +463,7 @@ __exportStar(require("./ModelConsumptionItemUio"), exports);
|
|
|
464
463
|
__exportStar(require("./ModelConsumptionSliceUio"), exports);
|
|
465
464
|
__exportStar(require("./ModelDefinitionUio"), exports);
|
|
466
465
|
__exportStar(require("./ModelUio"), exports);
|
|
466
|
+
__exportStar(require("./ModelUserAccessUio"), exports);
|
|
467
467
|
__exportStar(require("./NodeAssociationPolicyUio"), exports);
|
|
468
468
|
__exportStar(require("./NodeSessionDetailUio"), exports);
|
|
469
469
|
__exportStar(require("./NodeSessionLogEntryUio"), exports);
|
|
@@ -480,6 +480,7 @@ __exportStar(require("./OpenAiChatCompletionResponseUio"), exports);
|
|
|
480
480
|
__exportStar(require("./OrgUsageMetricsResponseTotalUio"), exports);
|
|
481
481
|
__exportStar(require("./OrgUsageMetricsResponseUio"), exports);
|
|
482
482
|
__exportStar(require("./OrgUsageTimeSeriesPointUio"), exports);
|
|
483
|
+
__exportStar(require("./OrganisationPlatformEngineUsageModelsInnerUio"), exports);
|
|
483
484
|
__exportStar(require("./OrganisationPlatformEngineUsageUio"), exports);
|
|
484
485
|
__exportStar(require("./OrganizationEngineUio"), exports);
|
|
485
486
|
__exportStar(require("./OrganizationExecutionNodeAgentUio"), exports);
|
|
@@ -487,6 +488,7 @@ __exportStar(require("./OrganizationExecutionNodeUio"), exports);
|
|
|
487
488
|
__exportStar(require("./OrganizationExecutionNodeUserUio"), exports);
|
|
488
489
|
__exportStar(require("./OrganizationMemberUio"), exports);
|
|
489
490
|
__exportStar(require("./OrganizationMemberUserUio"), exports);
|
|
491
|
+
__exportStar(require("./OrganizationModelAccessUio"), exports);
|
|
490
492
|
__exportStar(require("./OrganizationModelConsumptionTotalUio"), exports);
|
|
491
493
|
__exportStar(require("./OrganizationModelConsumptionUio"), exports);
|
|
492
494
|
__exportStar(require("./OrganizationOcrConfigUio"), exports);
|
|
@@ -501,6 +503,8 @@ __exportStar(require("./PatchKnowledgeFileRequestUio"), exports);
|
|
|
501
503
|
__exportStar(require("./PermissionEntryUio"), exports);
|
|
502
504
|
__exportStar(require("./PersonaUio"), exports);
|
|
503
505
|
__exportStar(require("./PinRequestUio"), exports);
|
|
506
|
+
__exportStar(require("./PlatformEngineAccessModelsInnerUio"), exports);
|
|
507
|
+
__exportStar(require("./PlatformEngineAccessUio"), exports);
|
|
504
508
|
__exportStar(require("./PlatformEngineUsageUio"), exports);
|
|
505
509
|
__exportStar(require("./PriceConfigurationModelConfigUio"), exports);
|
|
506
510
|
__exportStar(require("./PriceConfigurationModelUio"), exports);
|
|
@@ -552,6 +556,7 @@ __exportStar(require("./SetAgentExecutionRequestUio"), exports);
|
|
|
552
556
|
__exportStar(require("./SetContextLocation400ResponseUio"), exports);
|
|
553
557
|
__exportStar(require("./SetMessageReaction200ResponseUio"), exports);
|
|
554
558
|
__exportStar(require("./SetMessageReactionRequestUio"), exports);
|
|
559
|
+
__exportStar(require("./SetModelUserAccessUio"), exports);
|
|
555
560
|
__exportStar(require("./SetProjectMembersRequestUio"), exports);
|
|
556
561
|
__exportStar(require("./SetTicketAssigneesRequestUio"), exports);
|
|
557
562
|
__exportStar(require("./SetTokenRequestUio"), exports);
|