@breign/client 1.0.112 → 1.0.114
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/AgentApi.d.ts +60 -10
- package/dist/apis/AgentApi.js +99 -7
- package/dist/apis/MetricsApi.d.ts +131 -7
- package/dist/apis/MetricsApi.js +269 -5
- package/dist/models/AgentFeedbackMetricsUio.d.ts +50 -0
- package/dist/models/AgentFeedbackMetricsUio.js +60 -0
- package/dist/models/AgentMetricsByAppUio.d.ts +56 -0
- package/dist/models/AgentMetricsByAppUio.js +64 -0
- package/dist/models/AgentMetricsOverviewUio.d.ts +79 -0
- package/dist/models/AgentMetricsOverviewUio.js +31 -0
- package/dist/models/AgentMetricsPeriodComparisonUio.d.ts +41 -0
- package/dist/models/AgentMetricsPeriodComparisonUio.js +55 -0
- package/dist/models/AgentMetricsPeriodSnapshotUio.d.ts +68 -0
- package/dist/models/AgentMetricsPeriodSnapshotUio.js +74 -0
- package/dist/models/AgentMetricsUnitsTypeUio.d.ts +1 -0
- package/dist/models/AgentMetricsUnitsTypeUio.js +2 -1
- package/dist/models/AgentTokenBreakdownUio.d.ts +44 -0
- package/dist/models/AgentTokenBreakdownUio.js +58 -0
- package/dist/models/AgentTokenUsageByTaskUio.d.ts +38 -0
- package/dist/models/AgentTokenUsageByTaskUio.js +54 -0
- package/dist/models/AgentTokenUsageMetricUio.d.ts +56 -0
- package/dist/models/AgentTokenUsageMetricUio.js +66 -0
- package/dist/models/AgentToolUsageMetricUio.d.ts +38 -0
- package/dist/models/AgentToolUsageMetricUio.js +54 -0
- package/dist/models/AppCreateRequestEphemeralInstancesUio.d.ts +2 -2
- package/dist/models/AppCreateRequestEphemeralInstancesUio.js +6 -2
- package/dist/models/EphemeralInstancesMetricsResponseUio.d.ts +39 -0
- package/dist/models/EphemeralInstancesMetricsResponseUio.js +55 -0
- package/dist/models/EphemeralInstancesTimeSeriesPointUio.d.ts +44 -0
- package/dist/models/EphemeralInstancesTimeSeriesPointUio.js +58 -0
- package/dist/models/KnowledgeBaseConfigurationUio.d.ts +12 -0
- package/dist/models/KnowledgeBaseConfigurationUio.js +4 -0
- package/dist/models/MetricForDayInnerIdUio.d.ts +56 -0
- package/dist/models/MetricForDayInnerIdUio.js +56 -0
- package/dist/models/MetricForDayInnerUio.d.ts +51 -0
- package/dist/models/MetricForDayInnerUio.js +57 -0
- package/dist/models/MetricForVisitorByMonthInnerUio.d.ts +44 -0
- package/dist/models/MetricForVisitorByMonthInnerUio.js +58 -0
- package/dist/models/MetricUio.d.ts +6 -0
- package/dist/models/MetricUio.js +2 -0
- package/dist/models/MetricsBrainsAgentResponseUio.d.ts +51 -0
- package/dist/models/MetricsBrainsAgentResponseUio.js +63 -0
- package/dist/models/MetricsTopAgentsResponseInnerUio.d.ts +50 -0
- package/dist/models/MetricsTopAgentsResponseInnerUio.js +54 -0
- package/dist/models/MetricsTopAgentsUsageResponseInnerUio.d.ts +44 -0
- package/dist/models/MetricsTopAgentsUsageResponseInnerUio.js +58 -0
- package/dist/models/MetricsUsersResponseUio.d.ts +39 -0
- package/dist/models/MetricsUsersResponseUio.js +55 -0
- package/dist/models/OrgUsageMetricsResponseTotalUio.d.ts +38 -0
- package/dist/models/OrgUsageMetricsResponseTotalUio.js +54 -0
- package/dist/models/OrgUsageMetricsResponseUio.d.ts +40 -0
- package/dist/models/OrgUsageMetricsResponseUio.js +56 -0
- package/dist/models/OrgUsageTimeSeriesPointUio.d.ts +50 -0
- package/dist/models/OrgUsageTimeSeriesPointUio.js +62 -0
- package/dist/models/SearchKnowledgeBase200ResponseInnerUio.d.ts +6 -0
- package/dist/models/SearchKnowledgeBase200ResponseInnerUio.js +2 -0
- package/dist/models/SubscriptionAdditionalMetricUio.d.ts +44 -0
- package/dist/models/SubscriptionAdditionalMetricUio.js +58 -0
- package/dist/models/SubscriptionInteractionsMetricUio.d.ts +39 -0
- package/dist/models/SubscriptionInteractionsMetricUio.js +55 -0
- package/dist/models/SubscriptionMetricUio.d.ts +6 -5
- package/dist/models/SubscriptionMetricUio.js +12 -5
- package/dist/models/TotalTokensUsedByAgentUio.d.ts +38 -0
- package/dist/models/TotalTokensUsedByAgentUio.js +50 -0
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +23 -0
- package/dist/openapi.json +1069 -61
- package/package.json +1 -1
|
@@ -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.instanceOfOrgUsageTimeSeriesPointUio = instanceOfOrgUsageTimeSeriesPointUio;
|
|
17
|
+
exports.OrgUsageTimeSeriesPointUioFromJSON = OrgUsageTimeSeriesPointUioFromJSON;
|
|
18
|
+
exports.OrgUsageTimeSeriesPointUioFromJSONTyped = OrgUsageTimeSeriesPointUioFromJSONTyped;
|
|
19
|
+
exports.OrgUsageTimeSeriesPointUioToJSON = OrgUsageTimeSeriesPointUioToJSON;
|
|
20
|
+
exports.OrgUsageTimeSeriesPointUioToJSONTyped = OrgUsageTimeSeriesPointUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OrgUsageTimeSeriesPointUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrgUsageTimeSeriesPointUio(value) {
|
|
25
|
+
if (!('bucket' in value) || value['bucket'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('requests' in value) || value['requests'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('tokens' in value) || value['tokens'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function OrgUsageTimeSeriesPointUioFromJSON(json) {
|
|
36
|
+
return OrgUsageTimeSeriesPointUioFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function OrgUsageTimeSeriesPointUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'bucket': json['bucket'],
|
|
44
|
+
'label': json['label'],
|
|
45
|
+
'requests': json['requests'],
|
|
46
|
+
'tokens': json['tokens'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function OrgUsageTimeSeriesPointUioToJSON(json) {
|
|
50
|
+
return OrgUsageTimeSeriesPointUioToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function OrgUsageTimeSeriesPointUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'bucket': value['bucket'],
|
|
58
|
+
'label': value['label'],
|
|
59
|
+
'requests': value['requests'],
|
|
60
|
+
'tokens': value['tokens'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -33,6 +33,12 @@ export interface SearchKnowledgeBase200ResponseInnerUio {
|
|
|
33
33
|
* @memberof SearchKnowledgeBase200ResponseInnerUio
|
|
34
34
|
*/
|
|
35
35
|
score: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SearchKnowledgeBase200ResponseInnerUio
|
|
40
|
+
*/
|
|
41
|
+
breadcrumb?: string | null;
|
|
36
42
|
/**
|
|
37
43
|
*
|
|
38
44
|
* @type {{ [key: string]: any; }}
|
|
@@ -41,6 +41,7 @@ function SearchKnowledgeBase200ResponseInnerUioFromJSONTyped(json, ignoreDiscrim
|
|
|
41
41
|
'id': json['id'],
|
|
42
42
|
'content': json['content'],
|
|
43
43
|
'score': json['score'],
|
|
44
|
+
'breadcrumb': json['breadcrumb'] == null ? undefined : json['breadcrumb'],
|
|
44
45
|
'file': json['file'] == null ? undefined : json['file'],
|
|
45
46
|
};
|
|
46
47
|
}
|
|
@@ -55,6 +56,7 @@ function SearchKnowledgeBase200ResponseInnerUioToJSONTyped(value, ignoreDiscrimi
|
|
|
55
56
|
'id': value['id'],
|
|
56
57
|
'content': value['content'],
|
|
57
58
|
'score': value['score'],
|
|
59
|
+
'breadcrumb': value['breadcrumb'],
|
|
58
60
|
'file': value['file'],
|
|
59
61
|
};
|
|
60
62
|
}
|
|
@@ -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 SubscriptionAdditionalMetricUio
|
|
16
|
+
*/
|
|
17
|
+
export interface SubscriptionAdditionalMetricUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SubscriptionAdditionalMetricUio
|
|
22
|
+
*/
|
|
23
|
+
price: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SubscriptionAdditionalMetricUio
|
|
28
|
+
*/
|
|
29
|
+
amountForPrice: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SubscriptionAdditionalMetricUio
|
|
34
|
+
*/
|
|
35
|
+
currency: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SubscriptionAdditionalMetricUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSubscriptionAdditionalMetricUio(value: object): value is SubscriptionAdditionalMetricUio;
|
|
41
|
+
export declare function SubscriptionAdditionalMetricUioFromJSON(json: any): SubscriptionAdditionalMetricUio;
|
|
42
|
+
export declare function SubscriptionAdditionalMetricUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionAdditionalMetricUio;
|
|
43
|
+
export declare function SubscriptionAdditionalMetricUioToJSON(json: any): SubscriptionAdditionalMetricUio;
|
|
44
|
+
export declare function SubscriptionAdditionalMetricUioToJSONTyped(value?: SubscriptionAdditionalMetricUio | 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.instanceOfSubscriptionAdditionalMetricUio = instanceOfSubscriptionAdditionalMetricUio;
|
|
17
|
+
exports.SubscriptionAdditionalMetricUioFromJSON = SubscriptionAdditionalMetricUioFromJSON;
|
|
18
|
+
exports.SubscriptionAdditionalMetricUioFromJSONTyped = SubscriptionAdditionalMetricUioFromJSONTyped;
|
|
19
|
+
exports.SubscriptionAdditionalMetricUioToJSON = SubscriptionAdditionalMetricUioToJSON;
|
|
20
|
+
exports.SubscriptionAdditionalMetricUioToJSONTyped = SubscriptionAdditionalMetricUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SubscriptionAdditionalMetricUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSubscriptionAdditionalMetricUio(value) {
|
|
25
|
+
if (!('price' in value) || value['price'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('amountForPrice' in value) || value['amountForPrice'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function SubscriptionAdditionalMetricUioFromJSON(json) {
|
|
34
|
+
return SubscriptionAdditionalMetricUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function SubscriptionAdditionalMetricUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'price': json['price'],
|
|
42
|
+
'amountForPrice': json['amountForPrice'],
|
|
43
|
+
'currency': json['currency'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function SubscriptionAdditionalMetricUioToJSON(json) {
|
|
47
|
+
return SubscriptionAdditionalMetricUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function SubscriptionAdditionalMetricUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'price': value['price'],
|
|
55
|
+
'amountForPrice': value['amountForPrice'],
|
|
56
|
+
'currency': value['currency'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -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 { SubscriptionAdditionalMetricUio } from './SubscriptionAdditionalMetricUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SubscriptionInteractionsMetricUio
|
|
17
|
+
*/
|
|
18
|
+
export interface SubscriptionInteractionsMetricUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof SubscriptionInteractionsMetricUio
|
|
23
|
+
*/
|
|
24
|
+
included: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SubscriptionAdditionalMetricUio}
|
|
28
|
+
* @memberof SubscriptionInteractionsMetricUio
|
|
29
|
+
*/
|
|
30
|
+
additional: SubscriptionAdditionalMetricUio;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SubscriptionInteractionsMetricUio interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSubscriptionInteractionsMetricUio(value: object): value is SubscriptionInteractionsMetricUio;
|
|
36
|
+
export declare function SubscriptionInteractionsMetricUioFromJSON(json: any): SubscriptionInteractionsMetricUio;
|
|
37
|
+
export declare function SubscriptionInteractionsMetricUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionInteractionsMetricUio;
|
|
38
|
+
export declare function SubscriptionInteractionsMetricUioToJSON(json: any): SubscriptionInteractionsMetricUio;
|
|
39
|
+
export declare function SubscriptionInteractionsMetricUioToJSONTyped(value?: SubscriptionInteractionsMetricUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfSubscriptionInteractionsMetricUio = instanceOfSubscriptionInteractionsMetricUio;
|
|
17
|
+
exports.SubscriptionInteractionsMetricUioFromJSON = SubscriptionInteractionsMetricUioFromJSON;
|
|
18
|
+
exports.SubscriptionInteractionsMetricUioFromJSONTyped = SubscriptionInteractionsMetricUioFromJSONTyped;
|
|
19
|
+
exports.SubscriptionInteractionsMetricUioToJSON = SubscriptionInteractionsMetricUioToJSON;
|
|
20
|
+
exports.SubscriptionInteractionsMetricUioToJSONTyped = SubscriptionInteractionsMetricUioToJSONTyped;
|
|
21
|
+
const SubscriptionAdditionalMetricUio_1 = require("./SubscriptionAdditionalMetricUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SubscriptionInteractionsMetricUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfSubscriptionInteractionsMetricUio(value) {
|
|
26
|
+
if (!('included' in value) || value['included'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('additional' in value) || value['additional'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function SubscriptionInteractionsMetricUioFromJSON(json) {
|
|
33
|
+
return SubscriptionInteractionsMetricUioFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function SubscriptionInteractionsMetricUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'included': json['included'],
|
|
41
|
+
'additional': (0, SubscriptionAdditionalMetricUio_1.SubscriptionAdditionalMetricUioFromJSON)(json['additional']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function SubscriptionInteractionsMetricUioToJSON(json) {
|
|
45
|
+
return SubscriptionInteractionsMetricUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function SubscriptionInteractionsMetricUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'included': value['included'],
|
|
53
|
+
'additional': (0, SubscriptionAdditionalMetricUio_1.SubscriptionAdditionalMetricUioToJSON)(value['additional']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SubscriptionInteractionsMetricUio } from './SubscriptionInteractionsMetricUio';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -17,22 +18,22 @@
|
|
|
17
18
|
export interface SubscriptionMetricUio {
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
20
|
-
* @type {
|
|
21
|
+
* @type {SubscriptionInteractionsMetricUio}
|
|
21
22
|
* @memberof SubscriptionMetricUio
|
|
22
23
|
*/
|
|
23
|
-
textInteractions
|
|
24
|
+
textInteractions: SubscriptionInteractionsMetricUio;
|
|
24
25
|
/**
|
|
25
26
|
*
|
|
26
|
-
* @type {
|
|
27
|
+
* @type {SubscriptionInteractionsMetricUio}
|
|
27
28
|
* @memberof SubscriptionMetricUio
|
|
28
29
|
*/
|
|
29
|
-
voiceInteractions
|
|
30
|
+
voiceInteractions: SubscriptionInteractionsMetricUio;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
33
|
* @type {boolean}
|
|
33
34
|
* @memberof SubscriptionMetricUio
|
|
34
35
|
*/
|
|
35
|
-
canGoBeyondIncluded
|
|
36
|
+
canGoBeyondIncluded: boolean;
|
|
36
37
|
/**
|
|
37
38
|
*
|
|
38
39
|
* @type {string}
|
|
@@ -18,10 +18,17 @@ exports.SubscriptionMetricUioFromJSON = SubscriptionMetricUioFromJSON;
|
|
|
18
18
|
exports.SubscriptionMetricUioFromJSONTyped = SubscriptionMetricUioFromJSONTyped;
|
|
19
19
|
exports.SubscriptionMetricUioToJSON = SubscriptionMetricUioToJSON;
|
|
20
20
|
exports.SubscriptionMetricUioToJSONTyped = SubscriptionMetricUioToJSONTyped;
|
|
21
|
+
const SubscriptionInteractionsMetricUio_1 = require("./SubscriptionInteractionsMetricUio");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the SubscriptionMetricUio interface.
|
|
23
24
|
*/
|
|
24
25
|
function instanceOfSubscriptionMetricUio(value) {
|
|
26
|
+
if (!('textInteractions' in value) || value['textInteractions'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('voiceInteractions' in value) || value['voiceInteractions'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('canGoBeyondIncluded' in value) || value['canGoBeyondIncluded'] === undefined)
|
|
31
|
+
return false;
|
|
25
32
|
return true;
|
|
26
33
|
}
|
|
27
34
|
function SubscriptionMetricUioFromJSON(json) {
|
|
@@ -32,9 +39,9 @@ function SubscriptionMetricUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
39
|
return json;
|
|
33
40
|
}
|
|
34
41
|
return {
|
|
35
|
-
'textInteractions':
|
|
36
|
-
'voiceInteractions':
|
|
37
|
-
'canGoBeyondIncluded': json['canGoBeyondIncluded']
|
|
42
|
+
'textInteractions': (0, SubscriptionInteractionsMetricUio_1.SubscriptionInteractionsMetricUioFromJSON)(json['textInteractions']),
|
|
43
|
+
'voiceInteractions': (0, SubscriptionInteractionsMetricUio_1.SubscriptionInteractionsMetricUioFromJSON)(json['voiceInteractions']),
|
|
44
|
+
'canGoBeyondIncluded': json['canGoBeyondIncluded'],
|
|
38
45
|
'startDate': json['startDate'] == null ? undefined : json['startDate'],
|
|
39
46
|
'endDate': json['endDate'] == null ? undefined : json['endDate'],
|
|
40
47
|
};
|
|
@@ -47,8 +54,8 @@ function SubscriptionMetricUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
47
54
|
return value;
|
|
48
55
|
}
|
|
49
56
|
return {
|
|
50
|
-
'textInteractions': value['textInteractions'],
|
|
51
|
-
'voiceInteractions': value['voiceInteractions'],
|
|
57
|
+
'textInteractions': (0, SubscriptionInteractionsMetricUio_1.SubscriptionInteractionsMetricUioToJSON)(value['textInteractions']),
|
|
58
|
+
'voiceInteractions': (0, SubscriptionInteractionsMetricUio_1.SubscriptionInteractionsMetricUioToJSON)(value['voiceInteractions']),
|
|
52
59
|
'canGoBeyondIncluded': value['canGoBeyondIncluded'],
|
|
53
60
|
'startDate': value['startDate'],
|
|
54
61
|
'endDate': value['endDate'],
|
|
@@ -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 TotalTokensUsedByAgentUio
|
|
16
|
+
*/
|
|
17
|
+
export interface TotalTokensUsedByAgentUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TotalTokensUsedByAgentUio
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof TotalTokensUsedByAgentUio
|
|
28
|
+
*/
|
|
29
|
+
totalTokens?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the TotalTokensUsedByAgentUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfTotalTokensUsedByAgentUio(value: object): value is TotalTokensUsedByAgentUio;
|
|
35
|
+
export declare function TotalTokensUsedByAgentUioFromJSON(json: any): TotalTokensUsedByAgentUio;
|
|
36
|
+
export declare function TotalTokensUsedByAgentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TotalTokensUsedByAgentUio;
|
|
37
|
+
export declare function TotalTokensUsedByAgentUioToJSON(json: any): TotalTokensUsedByAgentUio;
|
|
38
|
+
export declare function TotalTokensUsedByAgentUioToJSONTyped(value?: TotalTokensUsedByAgentUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfTotalTokensUsedByAgentUio = instanceOfTotalTokensUsedByAgentUio;
|
|
17
|
+
exports.TotalTokensUsedByAgentUioFromJSON = TotalTokensUsedByAgentUioFromJSON;
|
|
18
|
+
exports.TotalTokensUsedByAgentUioFromJSONTyped = TotalTokensUsedByAgentUioFromJSONTyped;
|
|
19
|
+
exports.TotalTokensUsedByAgentUioToJSON = TotalTokensUsedByAgentUioToJSON;
|
|
20
|
+
exports.TotalTokensUsedByAgentUioToJSONTyped = TotalTokensUsedByAgentUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the TotalTokensUsedByAgentUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfTotalTokensUsedByAgentUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function TotalTokensUsedByAgentUioFromJSON(json) {
|
|
28
|
+
return TotalTokensUsedByAgentUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function TotalTokensUsedByAgentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
36
|
+
'totalTokens': json['totalTokens'] == null ? undefined : json['totalTokens'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function TotalTokensUsedByAgentUioToJSON(json) {
|
|
40
|
+
return TotalTokensUsedByAgentUioToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function TotalTokensUsedByAgentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'name': value['name'],
|
|
48
|
+
'totalTokens': value['totalTokens'],
|
|
49
|
+
};
|
|
50
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -14,10 +14,14 @@ export * from './AdvancedFlowEditorUpdateRequestUio';
|
|
|
14
14
|
export * from './AgentCreatorUio';
|
|
15
15
|
export * from './AgentCreatorUserUio';
|
|
16
16
|
export * from './AgentDuplicateRequestUio';
|
|
17
|
+
export * from './AgentFeedbackMetricsUio';
|
|
17
18
|
export * from './AgentFlowCreateUio';
|
|
18
19
|
export * from './AgentFlowUio';
|
|
20
|
+
export * from './AgentMetricsByAppUio';
|
|
19
21
|
export * from './AgentMetricsEventUio';
|
|
20
22
|
export * from './AgentMetricsOverviewUio';
|
|
23
|
+
export * from './AgentMetricsPeriodComparisonUio';
|
|
24
|
+
export * from './AgentMetricsPeriodSnapshotUio';
|
|
21
25
|
export * from './AgentMetricsUnitsTypeUio';
|
|
22
26
|
export * from './AgentMetricsValueUio';
|
|
23
27
|
export * from './AgentModuleTypeUio';
|
|
@@ -29,7 +33,11 @@ export * from './AgentRequestUio';
|
|
|
29
33
|
export * from './AgentRoleDetailsUio';
|
|
30
34
|
export * from './AgentSubscriptionTextInteractionsUio';
|
|
31
35
|
export * from './AgentSubscriptionUio';
|
|
36
|
+
export * from './AgentTokenBreakdownUio';
|
|
37
|
+
export * from './AgentTokenUsageByTaskUio';
|
|
38
|
+
export * from './AgentTokenUsageMetricUio';
|
|
32
39
|
export * from './AgentToolUio';
|
|
40
|
+
export * from './AgentToolUsageMetricUio';
|
|
33
41
|
export * from './AgentTypeUio';
|
|
34
42
|
export * from './AgentUio';
|
|
35
43
|
export * from './AgentUsageMetricsIdUio';
|
|
@@ -128,6 +136,8 @@ export * from './DocumentAddRequestUio';
|
|
|
128
136
|
export * from './EngineOptionsUio';
|
|
129
137
|
export * from './EngineUio';
|
|
130
138
|
export * from './EphemeralInstanceUio';
|
|
139
|
+
export * from './EphemeralInstancesMetricsResponseUio';
|
|
140
|
+
export * from './EphemeralInstancesTimeSeriesPointUio';
|
|
131
141
|
export * from './FileAttachmentCreateRequestUio';
|
|
132
142
|
export * from './FileAttachmentDetailsResponseUio';
|
|
133
143
|
export * from './FileAttachmentProcessedOneOf1Uio';
|
|
@@ -212,11 +222,21 @@ export * from './MetricForAgentIdentifierUio';
|
|
|
212
222
|
export * from './MetricForAgentMetricUio';
|
|
213
223
|
export * from './MetricForAgentMetricWithCostUio';
|
|
214
224
|
export * from './MetricForAgentUio';
|
|
225
|
+
export * from './MetricForDayInnerIdUio';
|
|
226
|
+
export * from './MetricForDayInnerUio';
|
|
227
|
+
export * from './MetricForVisitorByMonthInnerUio';
|
|
215
228
|
export * from './MetricIdentifierUio';
|
|
216
229
|
export * from './MetricUio';
|
|
230
|
+
export * from './MetricsBrainsAgentResponseUio';
|
|
231
|
+
export * from './MetricsTopAgentsResponseInnerUio';
|
|
232
|
+
export * from './MetricsTopAgentsUsageResponseInnerUio';
|
|
233
|
+
export * from './MetricsUsersResponseUio';
|
|
217
234
|
export * from './ModelAgentUio';
|
|
218
235
|
export * from './ModelDefinitionUio';
|
|
219
236
|
export * from './ModelUio';
|
|
237
|
+
export * from './OrgUsageMetricsResponseTotalUio';
|
|
238
|
+
export * from './OrgUsageMetricsResponseUio';
|
|
239
|
+
export * from './OrgUsageTimeSeriesPointUio';
|
|
220
240
|
export * from './OrganizationEngineUio';
|
|
221
241
|
export * from './OrganizationMemberUio';
|
|
222
242
|
export * from './OrganizationPermissionKeyUio';
|
|
@@ -277,6 +297,8 @@ export * from './SkillFileUpdateRequestUio';
|
|
|
277
297
|
export * from './SkillUio';
|
|
278
298
|
export * from './SkillUpdateRequestUio';
|
|
279
299
|
export * from './StartKnowledgeBaseScrappingRequestUio';
|
|
300
|
+
export * from './SubscriptionAdditionalMetricUio';
|
|
301
|
+
export * from './SubscriptionInteractionsMetricUio';
|
|
280
302
|
export * from './SubscriptionMetricUio';
|
|
281
303
|
export * from './SuggestionUio';
|
|
282
304
|
export * from './TTSRequestUio';
|
|
@@ -304,6 +326,7 @@ export * from './ToolSecureMcpUio';
|
|
|
304
326
|
export * from './ToolSecureUio';
|
|
305
327
|
export * from './ToolUpdateRequestUio';
|
|
306
328
|
export * from './ToolUsedUio';
|
|
329
|
+
export * from './TotalTokensUsedByAgentUio';
|
|
307
330
|
export * from './TransactionUio';
|
|
308
331
|
export * from './UpdateConversationTitleRequestUio';
|
|
309
332
|
export * from './UpdateSelectedFillers200ResponseUio';
|
package/dist/models/index.js
CHANGED
|
@@ -32,10 +32,14 @@ __exportStar(require("./AdvancedFlowEditorUpdateRequestUio"), exports);
|
|
|
32
32
|
__exportStar(require("./AgentCreatorUio"), exports);
|
|
33
33
|
__exportStar(require("./AgentCreatorUserUio"), exports);
|
|
34
34
|
__exportStar(require("./AgentDuplicateRequestUio"), exports);
|
|
35
|
+
__exportStar(require("./AgentFeedbackMetricsUio"), exports);
|
|
35
36
|
__exportStar(require("./AgentFlowCreateUio"), exports);
|
|
36
37
|
__exportStar(require("./AgentFlowUio"), exports);
|
|
38
|
+
__exportStar(require("./AgentMetricsByAppUio"), exports);
|
|
37
39
|
__exportStar(require("./AgentMetricsEventUio"), exports);
|
|
38
40
|
__exportStar(require("./AgentMetricsOverviewUio"), exports);
|
|
41
|
+
__exportStar(require("./AgentMetricsPeriodComparisonUio"), exports);
|
|
42
|
+
__exportStar(require("./AgentMetricsPeriodSnapshotUio"), exports);
|
|
39
43
|
__exportStar(require("./AgentMetricsUnitsTypeUio"), exports);
|
|
40
44
|
__exportStar(require("./AgentMetricsValueUio"), exports);
|
|
41
45
|
__exportStar(require("./AgentModuleTypeUio"), exports);
|
|
@@ -47,7 +51,11 @@ __exportStar(require("./AgentRequestUio"), exports);
|
|
|
47
51
|
__exportStar(require("./AgentRoleDetailsUio"), exports);
|
|
48
52
|
__exportStar(require("./AgentSubscriptionTextInteractionsUio"), exports);
|
|
49
53
|
__exportStar(require("./AgentSubscriptionUio"), exports);
|
|
54
|
+
__exportStar(require("./AgentTokenBreakdownUio"), exports);
|
|
55
|
+
__exportStar(require("./AgentTokenUsageByTaskUio"), exports);
|
|
56
|
+
__exportStar(require("./AgentTokenUsageMetricUio"), exports);
|
|
50
57
|
__exportStar(require("./AgentToolUio"), exports);
|
|
58
|
+
__exportStar(require("./AgentToolUsageMetricUio"), exports);
|
|
51
59
|
__exportStar(require("./AgentTypeUio"), exports);
|
|
52
60
|
__exportStar(require("./AgentUio"), exports);
|
|
53
61
|
__exportStar(require("./AgentUsageMetricsIdUio"), exports);
|
|
@@ -146,6 +154,8 @@ __exportStar(require("./DocumentAddRequestUio"), exports);
|
|
|
146
154
|
__exportStar(require("./EngineOptionsUio"), exports);
|
|
147
155
|
__exportStar(require("./EngineUio"), exports);
|
|
148
156
|
__exportStar(require("./EphemeralInstanceUio"), exports);
|
|
157
|
+
__exportStar(require("./EphemeralInstancesMetricsResponseUio"), exports);
|
|
158
|
+
__exportStar(require("./EphemeralInstancesTimeSeriesPointUio"), exports);
|
|
149
159
|
__exportStar(require("./FileAttachmentCreateRequestUio"), exports);
|
|
150
160
|
__exportStar(require("./FileAttachmentDetailsResponseUio"), exports);
|
|
151
161
|
__exportStar(require("./FileAttachmentProcessedOneOf1Uio"), exports);
|
|
@@ -230,11 +240,21 @@ __exportStar(require("./MetricForAgentIdentifierUio"), exports);
|
|
|
230
240
|
__exportStar(require("./MetricForAgentMetricUio"), exports);
|
|
231
241
|
__exportStar(require("./MetricForAgentMetricWithCostUio"), exports);
|
|
232
242
|
__exportStar(require("./MetricForAgentUio"), exports);
|
|
243
|
+
__exportStar(require("./MetricForDayInnerIdUio"), exports);
|
|
244
|
+
__exportStar(require("./MetricForDayInnerUio"), exports);
|
|
245
|
+
__exportStar(require("./MetricForVisitorByMonthInnerUio"), exports);
|
|
233
246
|
__exportStar(require("./MetricIdentifierUio"), exports);
|
|
234
247
|
__exportStar(require("./MetricUio"), exports);
|
|
248
|
+
__exportStar(require("./MetricsBrainsAgentResponseUio"), exports);
|
|
249
|
+
__exportStar(require("./MetricsTopAgentsResponseInnerUio"), exports);
|
|
250
|
+
__exportStar(require("./MetricsTopAgentsUsageResponseInnerUio"), exports);
|
|
251
|
+
__exportStar(require("./MetricsUsersResponseUio"), exports);
|
|
235
252
|
__exportStar(require("./ModelAgentUio"), exports);
|
|
236
253
|
__exportStar(require("./ModelDefinitionUio"), exports);
|
|
237
254
|
__exportStar(require("./ModelUio"), exports);
|
|
255
|
+
__exportStar(require("./OrgUsageMetricsResponseTotalUio"), exports);
|
|
256
|
+
__exportStar(require("./OrgUsageMetricsResponseUio"), exports);
|
|
257
|
+
__exportStar(require("./OrgUsageTimeSeriesPointUio"), exports);
|
|
238
258
|
__exportStar(require("./OrganizationEngineUio"), exports);
|
|
239
259
|
__exportStar(require("./OrganizationMemberUio"), exports);
|
|
240
260
|
__exportStar(require("./OrganizationPermissionKeyUio"), exports);
|
|
@@ -295,6 +315,8 @@ __exportStar(require("./SkillFileUpdateRequestUio"), exports);
|
|
|
295
315
|
__exportStar(require("./SkillUio"), exports);
|
|
296
316
|
__exportStar(require("./SkillUpdateRequestUio"), exports);
|
|
297
317
|
__exportStar(require("./StartKnowledgeBaseScrappingRequestUio"), exports);
|
|
318
|
+
__exportStar(require("./SubscriptionAdditionalMetricUio"), exports);
|
|
319
|
+
__exportStar(require("./SubscriptionInteractionsMetricUio"), exports);
|
|
298
320
|
__exportStar(require("./SubscriptionMetricUio"), exports);
|
|
299
321
|
__exportStar(require("./SuggestionUio"), exports);
|
|
300
322
|
__exportStar(require("./TTSRequestUio"), exports);
|
|
@@ -322,6 +344,7 @@ __exportStar(require("./ToolSecureMcpUio"), exports);
|
|
|
322
344
|
__exportStar(require("./ToolSecureUio"), exports);
|
|
323
345
|
__exportStar(require("./ToolUpdateRequestUio"), exports);
|
|
324
346
|
__exportStar(require("./ToolUsedUio"), exports);
|
|
347
|
+
__exportStar(require("./TotalTokensUsedByAgentUio"), exports);
|
|
325
348
|
__exportStar(require("./TransactionUio"), exports);
|
|
326
349
|
__exportStar(require("./UpdateConversationTitleRequestUio"), exports);
|
|
327
350
|
__exportStar(require("./UpdateSelectedFillers200ResponseUio"), exports);
|