@breign/client 1.0.158 → 1.0.160
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/AiGatewayApi.d.ts +28 -1
- package/dist/apis/AiGatewayApi.js +63 -0
- package/dist/apis/PromptsApi.d.ts +41 -1
- package/dist/apis/PromptsApi.js +92 -0
- package/dist/apis/ToolsApi.d.ts +46 -1
- package/dist/apis/ToolsApi.js +107 -0
- package/dist/models/AgentRateLimitSettingsUio.d.ts +80 -0
- package/dist/models/AgentRateLimitSettingsUio.js +80 -0
- package/dist/models/AgentRateLimitSettingsUpdateRequestUio.d.ts +50 -0
- package/dist/models/AgentRateLimitSettingsUpdateRequestUio.js +54 -0
- package/dist/models/AiGatewayModelTokenQuotaUio.d.ts +64 -0
- package/dist/models/AiGatewayModelTokenQuotaUio.js +72 -0
- package/dist/models/AiGatewaySettingsUio.d.ts +57 -0
- package/dist/models/AiGatewaySettingsUio.js +65 -0
- package/dist/models/AiGatewaySettingsUpdateRequestUio.d.ts +39 -0
- package/dist/models/AiGatewaySettingsUpdateRequestUio.js +51 -0
- package/dist/models/McpCallLogCursorUio.d.ts +38 -0
- package/dist/models/McpCallLogCursorUio.js +54 -0
- package/dist/models/McpCallLogEventUio.d.ts +27 -0
- package/dist/models/McpCallLogEventUio.js +53 -0
- package/dist/models/McpCallLogStatusUio.d.ts +25 -0
- package/dist/models/McpCallLogStatusUio.js +51 -0
- package/dist/models/McpCallLogUio.d.ts +162 -0
- package/dist/models/McpCallLogUio.js +114 -0
- package/dist/models/McpCallLogsDeletedResponseUio.d.ts +32 -0
- package/dist/models/McpCallLogsDeletedResponseUio.js +50 -0
- package/dist/models/McpCallLogsResponseUio.d.ts +58 -0
- package/dist/models/McpCallLogsResponseUio.js +68 -0
- package/dist/models/McpLogsSettingsRequestUio.d.ts +38 -0
- package/dist/models/McpLogsSettingsRequestUio.js +50 -0
- package/dist/models/McpLogsSettingsResponseUio.d.ts +38 -0
- package/dist/models/McpLogsSettingsResponseUio.js +54 -0
- package/dist/models/PromptRateLimitResponseUio.d.ts +50 -0
- package/dist/models/PromptRateLimitResponseUio.js +62 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/openapi.json +752 -1
- package/package.json +1 -1
|
@@ -0,0 +1,80 @@
|
|
|
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.instanceOfAgentRateLimitSettingsUio = instanceOfAgentRateLimitSettingsUio;
|
|
17
|
+
exports.AgentRateLimitSettingsUioFromJSON = AgentRateLimitSettingsUioFromJSON;
|
|
18
|
+
exports.AgentRateLimitSettingsUioFromJSONTyped = AgentRateLimitSettingsUioFromJSONTyped;
|
|
19
|
+
exports.AgentRateLimitSettingsUioToJSON = AgentRateLimitSettingsUioToJSON;
|
|
20
|
+
exports.AgentRateLimitSettingsUioToJSONTyped = AgentRateLimitSettingsUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AgentRateLimitSettingsUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAgentRateLimitSettingsUio(value) {
|
|
25
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('maxConcurrentTurnsPerSubject' in value) || value['maxConcurrentTurnsPerSubject'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('maxConversationCreatesPerSubjectPerMinute' in value) || value['maxConversationCreatesPerSubjectPerMinute'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('maxPromptsPerSubjectPerAgentPerMinute' in value) || value['maxPromptsPerSubjectPerAgentPerMinute'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('windowMs' in value) || value['windowMs'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('concurrencyLeaseMs' in value) || value['concurrencyLeaseMs'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function AgentRateLimitSettingsUioFromJSON(json) {
|
|
44
|
+
return AgentRateLimitSettingsUioFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AgentRateLimitSettingsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'organizationId': json['organizationId'],
|
|
52
|
+
'enabled': json['enabled'],
|
|
53
|
+
'maxConcurrentTurnsPerSubject': json['maxConcurrentTurnsPerSubject'],
|
|
54
|
+
'maxConversationCreatesPerSubjectPerMinute': json['maxConversationCreatesPerSubjectPerMinute'],
|
|
55
|
+
'maxPromptsPerSubjectPerAgentPerMinute': json['maxPromptsPerSubjectPerAgentPerMinute'],
|
|
56
|
+
'windowMs': json['windowMs'],
|
|
57
|
+
'concurrencyLeaseMs': json['concurrencyLeaseMs'],
|
|
58
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
59
|
+
'updatedBy': json['updatedBy'] == null ? undefined : json['updatedBy'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function AgentRateLimitSettingsUioToJSON(json) {
|
|
63
|
+
return AgentRateLimitSettingsUioToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function AgentRateLimitSettingsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'organizationId': value['organizationId'],
|
|
71
|
+
'enabled': value['enabled'],
|
|
72
|
+
'maxConcurrentTurnsPerSubject': value['maxConcurrentTurnsPerSubject'],
|
|
73
|
+
'maxConversationCreatesPerSubjectPerMinute': value['maxConversationCreatesPerSubjectPerMinute'],
|
|
74
|
+
'maxPromptsPerSubjectPerAgentPerMinute': value['maxPromptsPerSubjectPerAgentPerMinute'],
|
|
75
|
+
'windowMs': value['windowMs'],
|
|
76
|
+
'concurrencyLeaseMs': value['concurrencyLeaseMs'],
|
|
77
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
78
|
+
'updatedBy': value['updatedBy'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 AgentRateLimitSettingsUpdateRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentRateLimitSettingsUpdateRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof AgentRateLimitSettingsUpdateRequestUio
|
|
22
|
+
*/
|
|
23
|
+
enabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AgentRateLimitSettingsUpdateRequestUio
|
|
28
|
+
*/
|
|
29
|
+
maxConcurrentTurnsPerSubject?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AgentRateLimitSettingsUpdateRequestUio
|
|
34
|
+
*/
|
|
35
|
+
maxConversationCreatesPerSubjectPerMinute?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AgentRateLimitSettingsUpdateRequestUio
|
|
40
|
+
*/
|
|
41
|
+
maxPromptsPerSubjectPerAgentPerMinute?: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AgentRateLimitSettingsUpdateRequestUio interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfAgentRateLimitSettingsUpdateRequestUio(value: object): value is AgentRateLimitSettingsUpdateRequestUio;
|
|
47
|
+
export declare function AgentRateLimitSettingsUpdateRequestUioFromJSON(json: any): AgentRateLimitSettingsUpdateRequestUio;
|
|
48
|
+
export declare function AgentRateLimitSettingsUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentRateLimitSettingsUpdateRequestUio;
|
|
49
|
+
export declare function AgentRateLimitSettingsUpdateRequestUioToJSON(json: any): AgentRateLimitSettingsUpdateRequestUio;
|
|
50
|
+
export declare function AgentRateLimitSettingsUpdateRequestUioToJSONTyped(value?: AgentRateLimitSettingsUpdateRequestUio | 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.instanceOfAgentRateLimitSettingsUpdateRequestUio = instanceOfAgentRateLimitSettingsUpdateRequestUio;
|
|
17
|
+
exports.AgentRateLimitSettingsUpdateRequestUioFromJSON = AgentRateLimitSettingsUpdateRequestUioFromJSON;
|
|
18
|
+
exports.AgentRateLimitSettingsUpdateRequestUioFromJSONTyped = AgentRateLimitSettingsUpdateRequestUioFromJSONTyped;
|
|
19
|
+
exports.AgentRateLimitSettingsUpdateRequestUioToJSON = AgentRateLimitSettingsUpdateRequestUioToJSON;
|
|
20
|
+
exports.AgentRateLimitSettingsUpdateRequestUioToJSONTyped = AgentRateLimitSettingsUpdateRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AgentRateLimitSettingsUpdateRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAgentRateLimitSettingsUpdateRequestUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AgentRateLimitSettingsUpdateRequestUioFromJSON(json) {
|
|
28
|
+
return AgentRateLimitSettingsUpdateRequestUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AgentRateLimitSettingsUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
36
|
+
'maxConcurrentTurnsPerSubject': json['maxConcurrentTurnsPerSubject'] == null ? undefined : json['maxConcurrentTurnsPerSubject'],
|
|
37
|
+
'maxConversationCreatesPerSubjectPerMinute': json['maxConversationCreatesPerSubjectPerMinute'] == null ? undefined : json['maxConversationCreatesPerSubjectPerMinute'],
|
|
38
|
+
'maxPromptsPerSubjectPerAgentPerMinute': json['maxPromptsPerSubjectPerAgentPerMinute'] == null ? undefined : json['maxPromptsPerSubjectPerAgentPerMinute'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AgentRateLimitSettingsUpdateRequestUioToJSON(json) {
|
|
42
|
+
return AgentRateLimitSettingsUpdateRequestUioToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AgentRateLimitSettingsUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'enabled': value['enabled'],
|
|
50
|
+
'maxConcurrentTurnsPerSubject': value['maxConcurrentTurnsPerSubject'],
|
|
51
|
+
'maxConversationCreatesPerSubjectPerMinute': value['maxConversationCreatesPerSubjectPerMinute'],
|
|
52
|
+
'maxPromptsPerSubjectPerAgentPerMinute': value['maxPromptsPerSubjectPerAgentPerMinute'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 AiGatewayModelTokenQuotaUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AiGatewayModelTokenQuotaUio {
|
|
18
|
+
/**
|
|
19
|
+
* Breign user id this quota applies to
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AiGatewayModelTokenQuotaUio
|
|
22
|
+
*/
|
|
23
|
+
userId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Bare model id or qualified providerId/modelId
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AiGatewayModelTokenQuotaUio
|
|
28
|
+
*/
|
|
29
|
+
model: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AiGatewayModelTokenQuotaUio
|
|
34
|
+
*/
|
|
35
|
+
providerId?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Token cap for this user and period (input + output + reasoning)
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AiGatewayModelTokenQuotaUio
|
|
40
|
+
*/
|
|
41
|
+
limit: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AiGatewayModelTokenQuotaUio
|
|
46
|
+
*/
|
|
47
|
+
period: AiGatewayModelTokenQuotaUioPeriodEnum;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const AiGatewayModelTokenQuotaUioPeriodEnum: {
|
|
53
|
+
readonly Day: "day";
|
|
54
|
+
readonly Month: "month";
|
|
55
|
+
};
|
|
56
|
+
export type AiGatewayModelTokenQuotaUioPeriodEnum = typeof AiGatewayModelTokenQuotaUioPeriodEnum[keyof typeof AiGatewayModelTokenQuotaUioPeriodEnum];
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the AiGatewayModelTokenQuotaUio interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfAiGatewayModelTokenQuotaUio(value: object): value is AiGatewayModelTokenQuotaUio;
|
|
61
|
+
export declare function AiGatewayModelTokenQuotaUioFromJSON(json: any): AiGatewayModelTokenQuotaUio;
|
|
62
|
+
export declare function AiGatewayModelTokenQuotaUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayModelTokenQuotaUio;
|
|
63
|
+
export declare function AiGatewayModelTokenQuotaUioToJSON(json: any): AiGatewayModelTokenQuotaUio;
|
|
64
|
+
export declare function AiGatewayModelTokenQuotaUioToJSONTyped(value?: AiGatewayModelTokenQuotaUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
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.AiGatewayModelTokenQuotaUioPeriodEnum = void 0;
|
|
17
|
+
exports.instanceOfAiGatewayModelTokenQuotaUio = instanceOfAiGatewayModelTokenQuotaUio;
|
|
18
|
+
exports.AiGatewayModelTokenQuotaUioFromJSON = AiGatewayModelTokenQuotaUioFromJSON;
|
|
19
|
+
exports.AiGatewayModelTokenQuotaUioFromJSONTyped = AiGatewayModelTokenQuotaUioFromJSONTyped;
|
|
20
|
+
exports.AiGatewayModelTokenQuotaUioToJSON = AiGatewayModelTokenQuotaUioToJSON;
|
|
21
|
+
exports.AiGatewayModelTokenQuotaUioToJSONTyped = AiGatewayModelTokenQuotaUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AiGatewayModelTokenQuotaUioPeriodEnum = {
|
|
26
|
+
Day: 'day',
|
|
27
|
+
Month: 'month'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the AiGatewayModelTokenQuotaUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfAiGatewayModelTokenQuotaUio(value) {
|
|
33
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('model' in value) || value['model'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('limit' in value) || value['limit'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('period' in value) || value['period'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function AiGatewayModelTokenQuotaUioFromJSON(json) {
|
|
44
|
+
return AiGatewayModelTokenQuotaUioFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AiGatewayModelTokenQuotaUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'userId': json['userId'],
|
|
52
|
+
'model': json['model'],
|
|
53
|
+
'providerId': json['providerId'] == null ? undefined : json['providerId'],
|
|
54
|
+
'limit': json['limit'],
|
|
55
|
+
'period': json['period'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function AiGatewayModelTokenQuotaUioToJSON(json) {
|
|
59
|
+
return AiGatewayModelTokenQuotaUioToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function AiGatewayModelTokenQuotaUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'userId': value['userId'],
|
|
67
|
+
'model': value['model'],
|
|
68
|
+
'providerId': value['providerId'],
|
|
69
|
+
'limit': value['limit'],
|
|
70
|
+
'period': value['period'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { AiGatewayModelTokenQuotaUio } from './AiGatewayModelTokenQuotaUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AiGatewaySettingsUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AiGatewaySettingsUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AiGatewaySettingsUio
|
|
23
|
+
*/
|
|
24
|
+
organizationId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Max requests per minute per subject; null means unlimited
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof AiGatewaySettingsUio
|
|
29
|
+
*/
|
|
30
|
+
gatewayRpm: number | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<AiGatewayModelTokenQuotaUio>}
|
|
34
|
+
* @memberof AiGatewaySettingsUio
|
|
35
|
+
*/
|
|
36
|
+
modelTokenQuotas: Array<AiGatewayModelTokenQuotaUio>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof AiGatewaySettingsUio
|
|
41
|
+
*/
|
|
42
|
+
updatedAt: Date;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AiGatewaySettingsUio
|
|
47
|
+
*/
|
|
48
|
+
updatedBy?: string | null;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the AiGatewaySettingsUio interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfAiGatewaySettingsUio(value: object): value is AiGatewaySettingsUio;
|
|
54
|
+
export declare function AiGatewaySettingsUioFromJSON(json: any): AiGatewaySettingsUio;
|
|
55
|
+
export declare function AiGatewaySettingsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewaySettingsUio;
|
|
56
|
+
export declare function AiGatewaySettingsUioToJSON(json: any): AiGatewaySettingsUio;
|
|
57
|
+
export declare function AiGatewaySettingsUioToJSONTyped(value?: AiGatewaySettingsUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
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.instanceOfAiGatewaySettingsUio = instanceOfAiGatewaySettingsUio;
|
|
17
|
+
exports.AiGatewaySettingsUioFromJSON = AiGatewaySettingsUioFromJSON;
|
|
18
|
+
exports.AiGatewaySettingsUioFromJSONTyped = AiGatewaySettingsUioFromJSONTyped;
|
|
19
|
+
exports.AiGatewaySettingsUioToJSON = AiGatewaySettingsUioToJSON;
|
|
20
|
+
exports.AiGatewaySettingsUioToJSONTyped = AiGatewaySettingsUioToJSONTyped;
|
|
21
|
+
const AiGatewayModelTokenQuotaUio_1 = require("./AiGatewayModelTokenQuotaUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AiGatewaySettingsUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAiGatewaySettingsUio(value) {
|
|
26
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('gatewayRpm' in value) || value['gatewayRpm'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('modelTokenQuotas' in value) || value['modelTokenQuotas'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function AiGatewaySettingsUioFromJSON(json) {
|
|
37
|
+
return AiGatewaySettingsUioFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function AiGatewaySettingsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'organizationId': json['organizationId'],
|
|
45
|
+
'gatewayRpm': json['gatewayRpm'],
|
|
46
|
+
'modelTokenQuotas': (json['modelTokenQuotas'].map(AiGatewayModelTokenQuotaUio_1.AiGatewayModelTokenQuotaUioFromJSON)),
|
|
47
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
48
|
+
'updatedBy': json['updatedBy'] == null ? undefined : json['updatedBy'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function AiGatewaySettingsUioToJSON(json) {
|
|
52
|
+
return AiGatewaySettingsUioToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function AiGatewaySettingsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'organizationId': value['organizationId'],
|
|
60
|
+
'gatewayRpm': value['gatewayRpm'],
|
|
61
|
+
'modelTokenQuotas': (value['modelTokenQuotas'].map(AiGatewayModelTokenQuotaUio_1.AiGatewayModelTokenQuotaUioToJSON)),
|
|
62
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
63
|
+
'updatedBy': value['updatedBy'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { AiGatewayModelTokenQuotaUio } from './AiGatewayModelTokenQuotaUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AiGatewaySettingsUpdateRequestUio
|
|
17
|
+
*/
|
|
18
|
+
export interface AiGatewaySettingsUpdateRequestUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof AiGatewaySettingsUpdateRequestUio
|
|
23
|
+
*/
|
|
24
|
+
gatewayRpm?: number | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<AiGatewayModelTokenQuotaUio>}
|
|
28
|
+
* @memberof AiGatewaySettingsUpdateRequestUio
|
|
29
|
+
*/
|
|
30
|
+
modelTokenQuotas?: Array<AiGatewayModelTokenQuotaUio>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AiGatewaySettingsUpdateRequestUio interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfAiGatewaySettingsUpdateRequestUio(value: object): value is AiGatewaySettingsUpdateRequestUio;
|
|
36
|
+
export declare function AiGatewaySettingsUpdateRequestUioFromJSON(json: any): AiGatewaySettingsUpdateRequestUio;
|
|
37
|
+
export declare function AiGatewaySettingsUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewaySettingsUpdateRequestUio;
|
|
38
|
+
export declare function AiGatewaySettingsUpdateRequestUioToJSON(json: any): AiGatewaySettingsUpdateRequestUio;
|
|
39
|
+
export declare function AiGatewaySettingsUpdateRequestUioToJSONTyped(value?: AiGatewaySettingsUpdateRequestUio | 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.instanceOfAiGatewaySettingsUpdateRequestUio = instanceOfAiGatewaySettingsUpdateRequestUio;
|
|
17
|
+
exports.AiGatewaySettingsUpdateRequestUioFromJSON = AiGatewaySettingsUpdateRequestUioFromJSON;
|
|
18
|
+
exports.AiGatewaySettingsUpdateRequestUioFromJSONTyped = AiGatewaySettingsUpdateRequestUioFromJSONTyped;
|
|
19
|
+
exports.AiGatewaySettingsUpdateRequestUioToJSON = AiGatewaySettingsUpdateRequestUioToJSON;
|
|
20
|
+
exports.AiGatewaySettingsUpdateRequestUioToJSONTyped = AiGatewaySettingsUpdateRequestUioToJSONTyped;
|
|
21
|
+
const AiGatewayModelTokenQuotaUio_1 = require("./AiGatewayModelTokenQuotaUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AiGatewaySettingsUpdateRequestUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAiGatewaySettingsUpdateRequestUio(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function AiGatewaySettingsUpdateRequestUioFromJSON(json) {
|
|
29
|
+
return AiGatewaySettingsUpdateRequestUioFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function AiGatewaySettingsUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'gatewayRpm': json['gatewayRpm'] == null ? undefined : json['gatewayRpm'],
|
|
37
|
+
'modelTokenQuotas': json['modelTokenQuotas'] == null ? undefined : (json['modelTokenQuotas'].map(AiGatewayModelTokenQuotaUio_1.AiGatewayModelTokenQuotaUioFromJSON)),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AiGatewaySettingsUpdateRequestUioToJSON(json) {
|
|
41
|
+
return AiGatewaySettingsUpdateRequestUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AiGatewaySettingsUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'gatewayRpm': value['gatewayRpm'],
|
|
49
|
+
'modelTokenQuotas': value['modelTokenQuotas'] == null ? undefined : (value['modelTokenQuotas'].map(AiGatewayModelTokenQuotaUio_1.AiGatewayModelTokenQuotaUioToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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 McpCallLogCursorUio
|
|
16
|
+
*/
|
|
17
|
+
export interface McpCallLogCursorUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof McpCallLogCursorUio
|
|
22
|
+
*/
|
|
23
|
+
createdAt: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof McpCallLogCursorUio
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the McpCallLogCursorUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfMcpCallLogCursorUio(value: object): value is McpCallLogCursorUio;
|
|
35
|
+
export declare function McpCallLogCursorUioFromJSON(json: any): McpCallLogCursorUio;
|
|
36
|
+
export declare function McpCallLogCursorUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpCallLogCursorUio;
|
|
37
|
+
export declare function McpCallLogCursorUioToJSON(json: any): McpCallLogCursorUio;
|
|
38
|
+
export declare function McpCallLogCursorUioToJSONTyped(value?: McpCallLogCursorUio | 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.instanceOfMcpCallLogCursorUio = instanceOfMcpCallLogCursorUio;
|
|
17
|
+
exports.McpCallLogCursorUioFromJSON = McpCallLogCursorUioFromJSON;
|
|
18
|
+
exports.McpCallLogCursorUioFromJSONTyped = McpCallLogCursorUioFromJSONTyped;
|
|
19
|
+
exports.McpCallLogCursorUioToJSON = McpCallLogCursorUioToJSON;
|
|
20
|
+
exports.McpCallLogCursorUioToJSONTyped = McpCallLogCursorUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the McpCallLogCursorUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMcpCallLogCursorUio(value) {
|
|
25
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function McpCallLogCursorUioFromJSON(json) {
|
|
32
|
+
return McpCallLogCursorUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function McpCallLogCursorUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'createdAt': json['createdAt'],
|
|
40
|
+
'id': json['id'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function McpCallLogCursorUioToJSON(json) {
|
|
44
|
+
return McpCallLogCursorUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function McpCallLogCursorUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'createdAt': value['createdAt'],
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
* Which moment of the exchange the trace covers. Three are network — opening the connection, renewing the tokens, calling the tool — and the fourth is an administrator changing the configuration, without which "it worked yesterday" stays unverifiable.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const McpCallLogEventUio: {
|
|
17
|
+
readonly Connect: "connect";
|
|
18
|
+
readonly AuthRefresh: "auth_refresh";
|
|
19
|
+
readonly ToolCall: "tool_call";
|
|
20
|
+
readonly ConfigChange: "config_change";
|
|
21
|
+
};
|
|
22
|
+
export type McpCallLogEventUio = typeof McpCallLogEventUio[keyof typeof McpCallLogEventUio];
|
|
23
|
+
export declare function instanceOfMcpCallLogEventUio(value: any): boolean;
|
|
24
|
+
export declare function McpCallLogEventUioFromJSON(json: any): McpCallLogEventUio;
|
|
25
|
+
export declare function McpCallLogEventUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): McpCallLogEventUio;
|
|
26
|
+
export declare function McpCallLogEventUioToJSON(value?: McpCallLogEventUio | null): any;
|
|
27
|
+
export declare function McpCallLogEventUioToJSONTyped(value: any, ignoreDiscriminator: boolean): McpCallLogEventUio;
|