@breign/client 1.0.129 → 1.0.131
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 +103 -0
- package/dist/apis/AdminApi.js +267 -0
- package/dist/apis/AiGatewayApi.d.ts +26 -1
- package/dist/apis/AiGatewayApi.js +47 -1
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AiGatewayUsageBreakdownItemUio.d.ts +62 -0
- package/dist/models/AiGatewayUsageBreakdownItemUio.js +70 -0
- package/dist/models/AiGatewayUsagePointUio.d.ts +56 -0
- package/dist/models/AiGatewayUsagePointUio.js +66 -0
- package/dist/models/AiGatewayUsageTotalUio.d.ts +62 -0
- package/dist/models/AiGatewayUsageTotalUio.js +70 -0
- package/dist/models/AiGatewayUsageUio.d.ts +59 -0
- package/dist/models/AiGatewayUsageUio.js +69 -0
- package/dist/models/ToolPresetCreateRequestUio.d.ts +118 -0
- package/dist/models/ToolPresetCreateRequestUio.js +86 -0
- package/dist/models/ToolPresetDeleteAllResponseUio.d.ts +32 -0
- package/dist/models/ToolPresetDeleteAllResponseUio.js +50 -0
- package/dist/models/ToolPresetImportItemUio.d.ts +136 -0
- package/dist/models/ToolPresetImportItemUio.js +92 -0
- package/dist/models/ToolPresetImportRequestUio.d.ts +33 -0
- package/dist/models/ToolPresetImportRequestUio.js +51 -0
- package/dist/models/ToolPresetImportResponseUio.d.ts +38 -0
- package/dist/models/ToolPresetImportResponseUio.js +54 -0
- package/dist/models/ToolPresetOAuthRegistrationUio.d.ts +26 -0
- package/dist/models/ToolPresetOAuthRegistrationUio.js +52 -0
- package/dist/models/ToolPresetPageUio.d.ts +63 -0
- package/dist/models/ToolPresetPageUio.js +71 -0
- package/dist/models/ToolPresetTransportUio.d.ts +25 -0
- package/dist/models/ToolPresetTransportUio.js +51 -0
- package/dist/models/ToolPresetUio.d.ts +136 -0
- package/dist/models/ToolPresetUio.js +112 -0
- package/dist/models/ToolPresetUpdateRequestUio.d.ts +118 -0
- package/dist/models/ToolPresetUpdateRequestUio.js +78 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/openapi.json +1771 -965
- package/package.json +1 -1
|
@@ -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.ToolPresetTransportUio = void 0;
|
|
17
|
+
exports.instanceOfToolPresetTransportUio = instanceOfToolPresetTransportUio;
|
|
18
|
+
exports.ToolPresetTransportUioFromJSON = ToolPresetTransportUioFromJSON;
|
|
19
|
+
exports.ToolPresetTransportUioFromJSONTyped = ToolPresetTransportUioFromJSONTyped;
|
|
20
|
+
exports.ToolPresetTransportUioToJSON = ToolPresetTransportUioToJSON;
|
|
21
|
+
exports.ToolPresetTransportUioToJSONTyped = ToolPresetTransportUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ToolPresetTransportUio = {
|
|
27
|
+
Http: 'http',
|
|
28
|
+
Sse: 'sse'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfToolPresetTransportUio(value) {
|
|
31
|
+
for (const key in exports.ToolPresetTransportUio) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.ToolPresetTransportUio, key)) {
|
|
33
|
+
if (exports.ToolPresetTransportUio[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function ToolPresetTransportUioFromJSON(json) {
|
|
41
|
+
return ToolPresetTransportUioFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ToolPresetTransportUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function ToolPresetTransportUioToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function ToolPresetTransportUioToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
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 { ToolPresetTransportUio } from './ToolPresetTransportUio';
|
|
13
|
+
import type { ToolPresetOAuthRegistrationUio } from './ToolPresetOAuthRegistrationUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ToolPresetUio
|
|
18
|
+
*/
|
|
19
|
+
export interface ToolPresetUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ToolPresetUio
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier of the preset, used as the key on import
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ToolPresetUio
|
|
30
|
+
*/
|
|
31
|
+
slug: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ToolPresetUio
|
|
36
|
+
*/
|
|
37
|
+
name: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ToolPresetUio
|
|
42
|
+
*/
|
|
43
|
+
descriptionEn: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ToolPresetUio
|
|
48
|
+
*/
|
|
49
|
+
descriptionFr: string;
|
|
50
|
+
/**
|
|
51
|
+
* MCP server URL
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ToolPresetUio
|
|
54
|
+
*/
|
|
55
|
+
url: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ToolPresetUio
|
|
60
|
+
*/
|
|
61
|
+
logoUrl?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {ToolPresetTransportUio}
|
|
65
|
+
* @memberof ToolPresetUio
|
|
66
|
+
*/
|
|
67
|
+
transport: ToolPresetTransportUio;
|
|
68
|
+
/**
|
|
69
|
+
* Supported authentication methods, e.g. none, bearer, oauth
|
|
70
|
+
* @type {Array<string>}
|
|
71
|
+
* @memberof ToolPresetUio
|
|
72
|
+
*/
|
|
73
|
+
authMethods: Array<string>;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {ToolPresetOAuthRegistrationUio}
|
|
77
|
+
* @memberof ToolPresetUio
|
|
78
|
+
*/
|
|
79
|
+
oauthRegistration?: ToolPresetOAuthRegistrationUio | null;
|
|
80
|
+
/**
|
|
81
|
+
* Category key used to group presets
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof ToolPresetUio
|
|
84
|
+
*/
|
|
85
|
+
category: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof ToolPresetUio
|
|
90
|
+
*/
|
|
91
|
+
categoryLabelEn: string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof ToolPresetUio
|
|
96
|
+
*/
|
|
97
|
+
categoryLabelFr: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof ToolPresetUio
|
|
102
|
+
*/
|
|
103
|
+
categoryDescriptionEn: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof ToolPresetUio
|
|
108
|
+
*/
|
|
109
|
+
categoryDescriptionFr: string;
|
|
110
|
+
/**
|
|
111
|
+
* Only active presets are exposed to organizations
|
|
112
|
+
* @type {boolean}
|
|
113
|
+
* @memberof ToolPresetUio
|
|
114
|
+
*/
|
|
115
|
+
isActive: boolean;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {Date}
|
|
119
|
+
* @memberof ToolPresetUio
|
|
120
|
+
*/
|
|
121
|
+
createdAt?: Date;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {Date}
|
|
125
|
+
* @memberof ToolPresetUio
|
|
126
|
+
*/
|
|
127
|
+
updatedAt?: Date;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Check if a given object implements the ToolPresetUio interface.
|
|
131
|
+
*/
|
|
132
|
+
export declare function instanceOfToolPresetUio(value: object): value is ToolPresetUio;
|
|
133
|
+
export declare function ToolPresetUioFromJSON(json: any): ToolPresetUio;
|
|
134
|
+
export declare function ToolPresetUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolPresetUio;
|
|
135
|
+
export declare function ToolPresetUioToJSON(json: any): ToolPresetUio;
|
|
136
|
+
export declare function ToolPresetUioToJSONTyped(value?: ToolPresetUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,112 @@
|
|
|
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.instanceOfToolPresetUio = instanceOfToolPresetUio;
|
|
17
|
+
exports.ToolPresetUioFromJSON = ToolPresetUioFromJSON;
|
|
18
|
+
exports.ToolPresetUioFromJSONTyped = ToolPresetUioFromJSONTyped;
|
|
19
|
+
exports.ToolPresetUioToJSON = ToolPresetUioToJSON;
|
|
20
|
+
exports.ToolPresetUioToJSONTyped = ToolPresetUioToJSONTyped;
|
|
21
|
+
const ToolPresetTransportUio_1 = require("./ToolPresetTransportUio");
|
|
22
|
+
const ToolPresetOAuthRegistrationUio_1 = require("./ToolPresetOAuthRegistrationUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ToolPresetUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfToolPresetUio(value) {
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('descriptionEn' in value) || value['descriptionEn'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('descriptionFr' in value) || value['descriptionFr'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('transport' in value) || value['transport'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('authMethods' in value) || value['authMethods'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('categoryLabelEn' in value) || value['categoryLabelEn'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('categoryLabelFr' in value) || value['categoryLabelFr'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('categoryDescriptionEn' in value) || value['categoryDescriptionEn'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('categoryDescriptionFr' in value) || value['categoryDescriptionFr'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('isActive' in value) || value['isActive'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
function ToolPresetUioFromJSON(json) {
|
|
58
|
+
return ToolPresetUioFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function ToolPresetUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'id': json['id'],
|
|
66
|
+
'slug': json['slug'],
|
|
67
|
+
'name': json['name'],
|
|
68
|
+
'descriptionEn': json['descriptionEn'],
|
|
69
|
+
'descriptionFr': json['descriptionFr'],
|
|
70
|
+
'url': json['url'],
|
|
71
|
+
'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
|
|
72
|
+
'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioFromJSON)(json['transport']),
|
|
73
|
+
'authMethods': json['authMethods'],
|
|
74
|
+
'oauthRegistration': json['oauthRegistration'] == null ? undefined : (0, ToolPresetOAuthRegistrationUio_1.ToolPresetOAuthRegistrationUioFromJSON)(json['oauthRegistration']),
|
|
75
|
+
'category': json['category'],
|
|
76
|
+
'categoryLabelEn': json['categoryLabelEn'],
|
|
77
|
+
'categoryLabelFr': json['categoryLabelFr'],
|
|
78
|
+
'categoryDescriptionEn': json['categoryDescriptionEn'],
|
|
79
|
+
'categoryDescriptionFr': json['categoryDescriptionFr'],
|
|
80
|
+
'isActive': json['isActive'],
|
|
81
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
82
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
function ToolPresetUioToJSON(json) {
|
|
86
|
+
return ToolPresetUioToJSONTyped(json, false);
|
|
87
|
+
}
|
|
88
|
+
function ToolPresetUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
return {
|
|
93
|
+
'id': value['id'],
|
|
94
|
+
'slug': value['slug'],
|
|
95
|
+
'name': value['name'],
|
|
96
|
+
'descriptionEn': value['descriptionEn'],
|
|
97
|
+
'descriptionFr': value['descriptionFr'],
|
|
98
|
+
'url': value['url'],
|
|
99
|
+
'logoUrl': value['logoUrl'],
|
|
100
|
+
'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioToJSON)(value['transport']),
|
|
101
|
+
'authMethods': value['authMethods'],
|
|
102
|
+
'oauthRegistration': (0, ToolPresetOAuthRegistrationUio_1.ToolPresetOAuthRegistrationUioToJSON)(value['oauthRegistration']),
|
|
103
|
+
'category': value['category'],
|
|
104
|
+
'categoryLabelEn': value['categoryLabelEn'],
|
|
105
|
+
'categoryLabelFr': value['categoryLabelFr'],
|
|
106
|
+
'categoryDescriptionEn': value['categoryDescriptionEn'],
|
|
107
|
+
'categoryDescriptionFr': value['categoryDescriptionFr'],
|
|
108
|
+
'isActive': value['isActive'],
|
|
109
|
+
'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
110
|
+
'updatedAt': value['updatedAt'] == null ? undefined : ((value['updatedAt']).toISOString()),
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
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 { ToolPresetTransportUio } from './ToolPresetTransportUio';
|
|
13
|
+
import type { ToolPresetOAuthRegistrationUio } from './ToolPresetOAuthRegistrationUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ToolPresetUpdateRequestUio
|
|
18
|
+
*/
|
|
19
|
+
export interface ToolPresetUpdateRequestUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
24
|
+
*/
|
|
25
|
+
slug?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
30
|
+
*/
|
|
31
|
+
name?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
36
|
+
*/
|
|
37
|
+
descriptionEn?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
42
|
+
*/
|
|
43
|
+
descriptionFr?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
48
|
+
*/
|
|
49
|
+
url?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
54
|
+
*/
|
|
55
|
+
logoUrl?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {ToolPresetTransportUio}
|
|
59
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
60
|
+
*/
|
|
61
|
+
transport?: ToolPresetTransportUio;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Array<string>}
|
|
65
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
66
|
+
*/
|
|
67
|
+
authMethods?: Array<string>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {ToolPresetOAuthRegistrationUio}
|
|
71
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
72
|
+
*/
|
|
73
|
+
oauthRegistration?: ToolPresetOAuthRegistrationUio | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
78
|
+
*/
|
|
79
|
+
category?: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
84
|
+
*/
|
|
85
|
+
categoryLabelEn?: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
90
|
+
*/
|
|
91
|
+
categoryLabelFr?: string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
96
|
+
*/
|
|
97
|
+
categoryDescriptionEn?: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
102
|
+
*/
|
|
103
|
+
categoryDescriptionFr?: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {boolean}
|
|
107
|
+
* @memberof ToolPresetUpdateRequestUio
|
|
108
|
+
*/
|
|
109
|
+
isActive?: boolean;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Check if a given object implements the ToolPresetUpdateRequestUio interface.
|
|
113
|
+
*/
|
|
114
|
+
export declare function instanceOfToolPresetUpdateRequestUio(value: object): value is ToolPresetUpdateRequestUio;
|
|
115
|
+
export declare function ToolPresetUpdateRequestUioFromJSON(json: any): ToolPresetUpdateRequestUio;
|
|
116
|
+
export declare function ToolPresetUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolPresetUpdateRequestUio;
|
|
117
|
+
export declare function ToolPresetUpdateRequestUioToJSON(json: any): ToolPresetUpdateRequestUio;
|
|
118
|
+
export declare function ToolPresetUpdateRequestUioToJSONTyped(value?: ToolPresetUpdateRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,78 @@
|
|
|
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.instanceOfToolPresetUpdateRequestUio = instanceOfToolPresetUpdateRequestUio;
|
|
17
|
+
exports.ToolPresetUpdateRequestUioFromJSON = ToolPresetUpdateRequestUioFromJSON;
|
|
18
|
+
exports.ToolPresetUpdateRequestUioFromJSONTyped = ToolPresetUpdateRequestUioFromJSONTyped;
|
|
19
|
+
exports.ToolPresetUpdateRequestUioToJSON = ToolPresetUpdateRequestUioToJSON;
|
|
20
|
+
exports.ToolPresetUpdateRequestUioToJSONTyped = ToolPresetUpdateRequestUioToJSONTyped;
|
|
21
|
+
const ToolPresetTransportUio_1 = require("./ToolPresetTransportUio");
|
|
22
|
+
const ToolPresetOAuthRegistrationUio_1 = require("./ToolPresetOAuthRegistrationUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ToolPresetUpdateRequestUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfToolPresetUpdateRequestUio(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ToolPresetUpdateRequestUioFromJSON(json) {
|
|
30
|
+
return ToolPresetUpdateRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ToolPresetUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
38
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
39
|
+
'descriptionEn': json['descriptionEn'] == null ? undefined : json['descriptionEn'],
|
|
40
|
+
'descriptionFr': json['descriptionFr'] == null ? undefined : json['descriptionFr'],
|
|
41
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
42
|
+
'logoUrl': json['logoUrl'] == null ? undefined : json['logoUrl'],
|
|
43
|
+
'transport': json['transport'] == null ? undefined : (0, ToolPresetTransportUio_1.ToolPresetTransportUioFromJSON)(json['transport']),
|
|
44
|
+
'authMethods': json['authMethods'] == null ? undefined : json['authMethods'],
|
|
45
|
+
'oauthRegistration': json['oauthRegistration'] == null ? undefined : (0, ToolPresetOAuthRegistrationUio_1.ToolPresetOAuthRegistrationUioFromJSON)(json['oauthRegistration']),
|
|
46
|
+
'category': json['category'] == null ? undefined : json['category'],
|
|
47
|
+
'categoryLabelEn': json['categoryLabelEn'] == null ? undefined : json['categoryLabelEn'],
|
|
48
|
+
'categoryLabelFr': json['categoryLabelFr'] == null ? undefined : json['categoryLabelFr'],
|
|
49
|
+
'categoryDescriptionEn': json['categoryDescriptionEn'] == null ? undefined : json['categoryDescriptionEn'],
|
|
50
|
+
'categoryDescriptionFr': json['categoryDescriptionFr'] == null ? undefined : json['categoryDescriptionFr'],
|
|
51
|
+
'isActive': json['isActive'] == null ? undefined : json['isActive'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function ToolPresetUpdateRequestUioToJSON(json) {
|
|
55
|
+
return ToolPresetUpdateRequestUioToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function ToolPresetUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'slug': value['slug'],
|
|
63
|
+
'name': value['name'],
|
|
64
|
+
'descriptionEn': value['descriptionEn'],
|
|
65
|
+
'descriptionFr': value['descriptionFr'],
|
|
66
|
+
'url': value['url'],
|
|
67
|
+
'logoUrl': value['logoUrl'],
|
|
68
|
+
'transport': (0, ToolPresetTransportUio_1.ToolPresetTransportUioToJSON)(value['transport']),
|
|
69
|
+
'authMethods': value['authMethods'],
|
|
70
|
+
'oauthRegistration': (0, ToolPresetOAuthRegistrationUio_1.ToolPresetOAuthRegistrationUioToJSON)(value['oauthRegistration']),
|
|
71
|
+
'category': value['category'],
|
|
72
|
+
'categoryLabelEn': value['categoryLabelEn'],
|
|
73
|
+
'categoryLabelFr': value['categoryLabelFr'],
|
|
74
|
+
'categoryDescriptionEn': value['categoryDescriptionEn'],
|
|
75
|
+
'categoryDescriptionFr': value['categoryDescriptionFr'],
|
|
76
|
+
'isActive': value['isActive'],
|
|
77
|
+
};
|
|
78
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -61,6 +61,10 @@ export * from './AiGatewayMessageUio';
|
|
|
61
61
|
export * from './AiGatewayModelListDataInnerUio';
|
|
62
62
|
export * from './AiGatewayModelListUio';
|
|
63
63
|
export * from './AiGatewayModelUio';
|
|
64
|
+
export * from './AiGatewayUsageBreakdownItemUio';
|
|
65
|
+
export * from './AiGatewayUsagePointUio';
|
|
66
|
+
export * from './AiGatewayUsageTotalUio';
|
|
67
|
+
export * from './AiGatewayUsageUio';
|
|
64
68
|
export * from './AnimationCreateRequestUio';
|
|
65
69
|
export * from './AnimationUio';
|
|
66
70
|
export * from './AnonymizationStatusUio';
|
|
@@ -361,6 +365,16 @@ export * from './ToolAllowedToolsRequestUio';
|
|
|
361
365
|
export * from './ToolAllowedToolsResponseUio';
|
|
362
366
|
export * from './ToolConnectionStatusResponseUio';
|
|
363
367
|
export * from './ToolCreateRequestUio';
|
|
368
|
+
export * from './ToolPresetCreateRequestUio';
|
|
369
|
+
export * from './ToolPresetDeleteAllResponseUio';
|
|
370
|
+
export * from './ToolPresetImportItemUio';
|
|
371
|
+
export * from './ToolPresetImportRequestUio';
|
|
372
|
+
export * from './ToolPresetImportResponseUio';
|
|
373
|
+
export * from './ToolPresetOAuthRegistrationUio';
|
|
374
|
+
export * from './ToolPresetPageUio';
|
|
375
|
+
export * from './ToolPresetTransportUio';
|
|
376
|
+
export * from './ToolPresetUio';
|
|
377
|
+
export * from './ToolPresetUpdateRequestUio';
|
|
364
378
|
export * from './ToolResultUio';
|
|
365
379
|
export * from './ToolResultsToolUio';
|
|
366
380
|
export * from './ToolResultsUio';
|
package/dist/models/index.js
CHANGED
|
@@ -79,6 +79,10 @@ __exportStar(require("./AiGatewayMessageUio"), exports);
|
|
|
79
79
|
__exportStar(require("./AiGatewayModelListDataInnerUio"), exports);
|
|
80
80
|
__exportStar(require("./AiGatewayModelListUio"), exports);
|
|
81
81
|
__exportStar(require("./AiGatewayModelUio"), exports);
|
|
82
|
+
__exportStar(require("./AiGatewayUsageBreakdownItemUio"), exports);
|
|
83
|
+
__exportStar(require("./AiGatewayUsagePointUio"), exports);
|
|
84
|
+
__exportStar(require("./AiGatewayUsageTotalUio"), exports);
|
|
85
|
+
__exportStar(require("./AiGatewayUsageUio"), exports);
|
|
82
86
|
__exportStar(require("./AnimationCreateRequestUio"), exports);
|
|
83
87
|
__exportStar(require("./AnimationUio"), exports);
|
|
84
88
|
__exportStar(require("./AnonymizationStatusUio"), exports);
|
|
@@ -379,6 +383,16 @@ __exportStar(require("./ToolAllowedToolsRequestUio"), exports);
|
|
|
379
383
|
__exportStar(require("./ToolAllowedToolsResponseUio"), exports);
|
|
380
384
|
__exportStar(require("./ToolConnectionStatusResponseUio"), exports);
|
|
381
385
|
__exportStar(require("./ToolCreateRequestUio"), exports);
|
|
386
|
+
__exportStar(require("./ToolPresetCreateRequestUio"), exports);
|
|
387
|
+
__exportStar(require("./ToolPresetDeleteAllResponseUio"), exports);
|
|
388
|
+
__exportStar(require("./ToolPresetImportItemUio"), exports);
|
|
389
|
+
__exportStar(require("./ToolPresetImportRequestUio"), exports);
|
|
390
|
+
__exportStar(require("./ToolPresetImportResponseUio"), exports);
|
|
391
|
+
__exportStar(require("./ToolPresetOAuthRegistrationUio"), exports);
|
|
392
|
+
__exportStar(require("./ToolPresetPageUio"), exports);
|
|
393
|
+
__exportStar(require("./ToolPresetTransportUio"), exports);
|
|
394
|
+
__exportStar(require("./ToolPresetUio"), exports);
|
|
395
|
+
__exportStar(require("./ToolPresetUpdateRequestUio"), exports);
|
|
382
396
|
__exportStar(require("./ToolResultUio"), exports);
|
|
383
397
|
__exportStar(require("./ToolResultsToolUio"), exports);
|
|
384
398
|
__exportStar(require("./ToolResultsUio"), exports);
|