@breign/client 1.0.119 → 1.0.121
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 +36 -1
- package/dist/apis/AgentApi.js +76 -1
- package/dist/models/AgentImportReportAgentRenamedUio.d.ts +38 -0
- package/dist/models/AgentImportReportAgentRenamedUio.js +54 -0
- package/dist/models/AgentImportReportContextualKnowledgeUio.d.ts +46 -0
- package/dist/models/AgentImportReportContextualKnowledgeUio.js +60 -0
- package/dist/models/AgentImportReportEngineRequestedUio.d.ts +38 -0
- package/dist/models/AgentImportReportEngineRequestedUio.js +54 -0
- package/dist/models/AgentImportReportEngineUio.d.ts +48 -0
- package/dist/models/AgentImportReportEngineUio.js +62 -0
- package/dist/models/AgentImportReportFlowUio.d.ts +46 -0
- package/dist/models/AgentImportReportFlowUio.js +60 -0
- package/dist/models/AgentImportReportSkillsInnerUio.d.ts +60 -0
- package/dist/models/AgentImportReportSkillsInnerUio.js +68 -0
- package/dist/models/AgentImportReportToolsInnerUio.d.ts +54 -0
- package/dist/models/AgentImportReportToolsInnerUio.js +66 -0
- package/dist/models/AgentImportReportUio.d.ts +80 -0
- package/dist/models/AgentImportReportUio.js +80 -0
- package/dist/models/AgentImportRequestUio.d.ts +52 -0
- package/dist/models/AgentImportRequestUio.js +66 -0
- package/dist/models/AgentImportResponseUio.d.ts +51 -0
- package/dist/models/AgentImportResponseUio.js +63 -0
- package/dist/models/ContextualKnowledgeConversationUio.d.ts +0 -6
- package/dist/models/ContextualKnowledgeConversationUio.js +0 -4
- package/dist/models/FileAttachmentDetailsResponseUio.d.ts +25 -0
- package/dist/models/FileAttachmentDetailsResponseUio.js +13 -0
- package/dist/models/FileAttachmentUio.d.ts +25 -0
- package/dist/models/FileAttachmentUio.js +13 -0
- package/dist/models/FileAttachmentUploadResponseUio.d.ts +25 -0
- package/dist/models/FileAttachmentUploadResponseUio.js +13 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/openapi.json +302 -5
- package/package.json +1 -1
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfAgentImportResponseUio = instanceOfAgentImportResponseUio;
|
|
17
|
+
exports.AgentImportResponseUioFromJSON = AgentImportResponseUioFromJSON;
|
|
18
|
+
exports.AgentImportResponseUioFromJSONTyped = AgentImportResponseUioFromJSONTyped;
|
|
19
|
+
exports.AgentImportResponseUioToJSON = AgentImportResponseUioToJSON;
|
|
20
|
+
exports.AgentImportResponseUioToJSONTyped = AgentImportResponseUioToJSONTyped;
|
|
21
|
+
const AgentImportReportUio_1 = require("./AgentImportReportUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AgentImportResponseUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAgentImportResponseUio(value) {
|
|
26
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('agentName' in value) || value['agentName'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('clean' in value) || value['clean'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('report' in value) || value['report'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function AgentImportResponseUioFromJSON(json) {
|
|
37
|
+
return AgentImportResponseUioFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function AgentImportResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'agentId': json['agentId'],
|
|
45
|
+
'agentName': json['agentName'],
|
|
46
|
+
'clean': json['clean'],
|
|
47
|
+
'report': (0, AgentImportReportUio_1.AgentImportReportUioFromJSON)(json['report']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function AgentImportResponseUioToJSON(json) {
|
|
51
|
+
return AgentImportResponseUioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function AgentImportResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'agentId': value['agentId'],
|
|
59
|
+
'agentName': value['agentName'],
|
|
60
|
+
'clean': value['clean'],
|
|
61
|
+
'report': (0, AgentImportReportUio_1.AgentImportReportUioToJSON)(value['report']),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -28,12 +28,6 @@ export interface ContextualKnowledgeConversationUio {
|
|
|
28
28
|
* @memberof ContextualKnowledgeConversationUio
|
|
29
29
|
*/
|
|
30
30
|
backend: ContextualKnowledgeConversationUioBackendEnum;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof ContextualKnowledgeConversationUio
|
|
35
|
-
*/
|
|
36
|
-
sizeThresholdBytes: number;
|
|
37
31
|
/**
|
|
38
32
|
*
|
|
39
33
|
* @type {number}
|
|
@@ -36,8 +36,6 @@ function instanceOfContextualKnowledgeConversationUio(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('backend' in value) || value['backend'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
-
if (!('sizeThresholdBytes' in value) || value['sizeThresholdBytes'] === undefined)
|
|
40
|
-
return false;
|
|
41
39
|
if (!('ttlDays' in value) || value['ttlDays'] === undefined)
|
|
42
40
|
return false;
|
|
43
41
|
return true;
|
|
@@ -52,7 +50,6 @@ function ContextualKnowledgeConversationUioFromJSONTyped(json, ignoreDiscriminat
|
|
|
52
50
|
return {
|
|
53
51
|
'enabled': json['enabled'],
|
|
54
52
|
'backend': json['backend'],
|
|
55
|
-
'sizeThresholdBytes': json['sizeThresholdBytes'],
|
|
56
53
|
'ttlDays': json['ttlDays'],
|
|
57
54
|
'scoreThreshold': json['scoreThreshold'] == null ? undefined : json['scoreThreshold'],
|
|
58
55
|
'maxDocuments': json['maxDocuments'] == null ? undefined : json['maxDocuments'],
|
|
@@ -70,7 +67,6 @@ function ContextualKnowledgeConversationUioToJSONTyped(value, ignoreDiscriminato
|
|
|
70
67
|
return {
|
|
71
68
|
'enabled': value['enabled'],
|
|
72
69
|
'backend': value['backend'],
|
|
73
|
-
'sizeThresholdBytes': value['sizeThresholdBytes'],
|
|
74
70
|
'ttlDays': value['ttlDays'],
|
|
75
71
|
'scoreThreshold': value['scoreThreshold'],
|
|
76
72
|
'maxDocuments': value['maxDocuments'],
|
|
@@ -72,6 +72,24 @@ export interface FileAttachmentDetailsResponseUio {
|
|
|
72
72
|
* @memberof FileAttachmentDetailsResponseUio
|
|
73
73
|
*/
|
|
74
74
|
status: FileAttachmentStatusUio;
|
|
75
|
+
/**
|
|
76
|
+
* Machine-readable error code when status is ERROR (e.g. ATTACHMENT_TOO_LARGE)
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof FileAttachmentDetailsResponseUio
|
|
79
|
+
*/
|
|
80
|
+
errorCode?: FileAttachmentDetailsResponseUioErrorCodeEnum;
|
|
81
|
+
/**
|
|
82
|
+
* Estimated token count of the attachment (set when status is ERROR / ATTACHMENT_TOO_LARGE)
|
|
83
|
+
* @type {number}
|
|
84
|
+
* @memberof FileAttachmentDetailsResponseUio
|
|
85
|
+
*/
|
|
86
|
+
estimatedTokens?: number;
|
|
87
|
+
/**
|
|
88
|
+
* Model context limit used for the comparison (set when status is ERROR / ATTACHMENT_TOO_LARGE)
|
|
89
|
+
* @type {number}
|
|
90
|
+
* @memberof FileAttachmentDetailsResponseUio
|
|
91
|
+
*/
|
|
92
|
+
maxTokens?: number;
|
|
75
93
|
/**
|
|
76
94
|
*
|
|
77
95
|
* @type {FileAttachmentProcessedUio}
|
|
@@ -79,6 +97,13 @@ export interface FileAttachmentDetailsResponseUio {
|
|
|
79
97
|
*/
|
|
80
98
|
processed?: FileAttachmentProcessedUio;
|
|
81
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* @export
|
|
102
|
+
*/
|
|
103
|
+
export declare const FileAttachmentDetailsResponseUioErrorCodeEnum: {
|
|
104
|
+
readonly AttachmentTooLarge: "ATTACHMENT_TOO_LARGE";
|
|
105
|
+
};
|
|
106
|
+
export type FileAttachmentDetailsResponseUioErrorCodeEnum = typeof FileAttachmentDetailsResponseUioErrorCodeEnum[keyof typeof FileAttachmentDetailsResponseUioErrorCodeEnum];
|
|
82
107
|
/**
|
|
83
108
|
* Check if a given object implements the FileAttachmentDetailsResponseUio interface.
|
|
84
109
|
*/
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.FileAttachmentDetailsResponseUioErrorCodeEnum = void 0;
|
|
16
17
|
exports.instanceOfFileAttachmentDetailsResponseUio = instanceOfFileAttachmentDetailsResponseUio;
|
|
17
18
|
exports.FileAttachmentDetailsResponseUioFromJSON = FileAttachmentDetailsResponseUioFromJSON;
|
|
18
19
|
exports.FileAttachmentDetailsResponseUioFromJSONTyped = FileAttachmentDetailsResponseUioFromJSONTyped;
|
|
@@ -21,6 +22,12 @@ exports.FileAttachmentDetailsResponseUioToJSONTyped = FileAttachmentDetailsRespo
|
|
|
21
22
|
const AttachmentTypeUio_1 = require("./AttachmentTypeUio");
|
|
22
23
|
const FileAttachmentProcessedUio_1 = require("./FileAttachmentProcessedUio");
|
|
23
24
|
const FileAttachmentStatusUio_1 = require("./FileAttachmentStatusUio");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.FileAttachmentDetailsResponseUioErrorCodeEnum = {
|
|
29
|
+
AttachmentTooLarge: 'ATTACHMENT_TOO_LARGE'
|
|
30
|
+
};
|
|
24
31
|
/**
|
|
25
32
|
* Check if a given object implements the FileAttachmentDetailsResponseUio interface.
|
|
26
33
|
*/
|
|
@@ -60,6 +67,9 @@ function FileAttachmentDetailsResponseUioFromJSONTyped(json, ignoreDiscriminator
|
|
|
60
67
|
'key': json['key'],
|
|
61
68
|
'url': json['url'] == null ? undefined : json['url'],
|
|
62
69
|
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioFromJSON)(json['status']),
|
|
70
|
+
'errorCode': json['errorCode'] == null ? undefined : json['errorCode'],
|
|
71
|
+
'estimatedTokens': json['estimatedTokens'] == null ? undefined : json['estimatedTokens'],
|
|
72
|
+
'maxTokens': json['maxTokens'] == null ? undefined : json['maxTokens'],
|
|
63
73
|
'processed': json['processed'] == null ? undefined : (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioFromJSON)(json['processed']),
|
|
64
74
|
};
|
|
65
75
|
}
|
|
@@ -80,6 +90,9 @@ function FileAttachmentDetailsResponseUioToJSONTyped(value, ignoreDiscriminator
|
|
|
80
90
|
'key': value['key'],
|
|
81
91
|
'url': value['url'],
|
|
82
92
|
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioToJSON)(value['status']),
|
|
93
|
+
'errorCode': value['errorCode'],
|
|
94
|
+
'estimatedTokens': value['estimatedTokens'],
|
|
95
|
+
'maxTokens': value['maxTokens'],
|
|
83
96
|
'processed': (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioToJSON)(value['processed']),
|
|
84
97
|
};
|
|
85
98
|
}
|
|
@@ -72,6 +72,24 @@ export interface FileAttachmentUio {
|
|
|
72
72
|
* @memberof FileAttachmentUio
|
|
73
73
|
*/
|
|
74
74
|
status: FileAttachmentStatusUio;
|
|
75
|
+
/**
|
|
76
|
+
* Machine-readable error code when status is ERROR (e.g. ATTACHMENT_TOO_LARGE)
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof FileAttachmentUio
|
|
79
|
+
*/
|
|
80
|
+
errorCode?: FileAttachmentUioErrorCodeEnum;
|
|
81
|
+
/**
|
|
82
|
+
* Estimated token count of the attachment (set when status is ERROR / ATTACHMENT_TOO_LARGE)
|
|
83
|
+
* @type {number}
|
|
84
|
+
* @memberof FileAttachmentUio
|
|
85
|
+
*/
|
|
86
|
+
estimatedTokens?: number;
|
|
87
|
+
/**
|
|
88
|
+
* Model context limit used for the comparison (set when status is ERROR / ATTACHMENT_TOO_LARGE)
|
|
89
|
+
* @type {number}
|
|
90
|
+
* @memberof FileAttachmentUio
|
|
91
|
+
*/
|
|
92
|
+
maxTokens?: number;
|
|
75
93
|
/**
|
|
76
94
|
*
|
|
77
95
|
* @type {FileAttachmentProcessedUio}
|
|
@@ -79,6 +97,13 @@ export interface FileAttachmentUio {
|
|
|
79
97
|
*/
|
|
80
98
|
processed?: FileAttachmentProcessedUio;
|
|
81
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* @export
|
|
102
|
+
*/
|
|
103
|
+
export declare const FileAttachmentUioErrorCodeEnum: {
|
|
104
|
+
readonly AttachmentTooLarge: "ATTACHMENT_TOO_LARGE";
|
|
105
|
+
};
|
|
106
|
+
export type FileAttachmentUioErrorCodeEnum = typeof FileAttachmentUioErrorCodeEnum[keyof typeof FileAttachmentUioErrorCodeEnum];
|
|
82
107
|
/**
|
|
83
108
|
* Check if a given object implements the FileAttachmentUio interface.
|
|
84
109
|
*/
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.FileAttachmentUioErrorCodeEnum = void 0;
|
|
16
17
|
exports.instanceOfFileAttachmentUio = instanceOfFileAttachmentUio;
|
|
17
18
|
exports.FileAttachmentUioFromJSON = FileAttachmentUioFromJSON;
|
|
18
19
|
exports.FileAttachmentUioFromJSONTyped = FileAttachmentUioFromJSONTyped;
|
|
@@ -21,6 +22,12 @@ exports.FileAttachmentUioToJSONTyped = FileAttachmentUioToJSONTyped;
|
|
|
21
22
|
const AttachmentTypeUio_1 = require("./AttachmentTypeUio");
|
|
22
23
|
const FileAttachmentProcessedUio_1 = require("./FileAttachmentProcessedUio");
|
|
23
24
|
const FileAttachmentStatusUio_1 = require("./FileAttachmentStatusUio");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.FileAttachmentUioErrorCodeEnum = {
|
|
29
|
+
AttachmentTooLarge: 'ATTACHMENT_TOO_LARGE'
|
|
30
|
+
};
|
|
24
31
|
/**
|
|
25
32
|
* Check if a given object implements the FileAttachmentUio interface.
|
|
26
33
|
*/
|
|
@@ -60,6 +67,9 @@ function FileAttachmentUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
67
|
'key': json['key'],
|
|
61
68
|
'url': json['url'] == null ? undefined : json['url'],
|
|
62
69
|
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioFromJSON)(json['status']),
|
|
70
|
+
'errorCode': json['errorCode'] == null ? undefined : json['errorCode'],
|
|
71
|
+
'estimatedTokens': json['estimatedTokens'] == null ? undefined : json['estimatedTokens'],
|
|
72
|
+
'maxTokens': json['maxTokens'] == null ? undefined : json['maxTokens'],
|
|
63
73
|
'processed': json['processed'] == null ? undefined : (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioFromJSON)(json['processed']),
|
|
64
74
|
};
|
|
65
75
|
}
|
|
@@ -80,6 +90,9 @@ function FileAttachmentUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
80
90
|
'key': value['key'],
|
|
81
91
|
'url': value['url'],
|
|
82
92
|
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioToJSON)(value['status']),
|
|
93
|
+
'errorCode': value['errorCode'],
|
|
94
|
+
'estimatedTokens': value['estimatedTokens'],
|
|
95
|
+
'maxTokens': value['maxTokens'],
|
|
83
96
|
'processed': (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioToJSON)(value['processed']),
|
|
84
97
|
};
|
|
85
98
|
}
|
|
@@ -72,6 +72,24 @@ export interface FileAttachmentUploadResponseUio {
|
|
|
72
72
|
* @memberof FileAttachmentUploadResponseUio
|
|
73
73
|
*/
|
|
74
74
|
status: FileAttachmentStatusUio;
|
|
75
|
+
/**
|
|
76
|
+
* Machine-readable error code when status is ERROR (e.g. ATTACHMENT_TOO_LARGE)
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof FileAttachmentUploadResponseUio
|
|
79
|
+
*/
|
|
80
|
+
errorCode?: FileAttachmentUploadResponseUioErrorCodeEnum;
|
|
81
|
+
/**
|
|
82
|
+
* Estimated token count of the attachment (set when status is ERROR / ATTACHMENT_TOO_LARGE)
|
|
83
|
+
* @type {number}
|
|
84
|
+
* @memberof FileAttachmentUploadResponseUio
|
|
85
|
+
*/
|
|
86
|
+
estimatedTokens?: number;
|
|
87
|
+
/**
|
|
88
|
+
* Model context limit used for the comparison (set when status is ERROR / ATTACHMENT_TOO_LARGE)
|
|
89
|
+
* @type {number}
|
|
90
|
+
* @memberof FileAttachmentUploadResponseUio
|
|
91
|
+
*/
|
|
92
|
+
maxTokens?: number;
|
|
75
93
|
/**
|
|
76
94
|
*
|
|
77
95
|
* @type {FileAttachmentProcessedUio}
|
|
@@ -93,6 +111,13 @@ export interface FileAttachmentUploadResponseUio {
|
|
|
93
111
|
[key: string]: any;
|
|
94
112
|
};
|
|
95
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* @export
|
|
116
|
+
*/
|
|
117
|
+
export declare const FileAttachmentUploadResponseUioErrorCodeEnum: {
|
|
118
|
+
readonly AttachmentTooLarge: "ATTACHMENT_TOO_LARGE";
|
|
119
|
+
};
|
|
120
|
+
export type FileAttachmentUploadResponseUioErrorCodeEnum = typeof FileAttachmentUploadResponseUioErrorCodeEnum[keyof typeof FileAttachmentUploadResponseUioErrorCodeEnum];
|
|
96
121
|
/**
|
|
97
122
|
* Check if a given object implements the FileAttachmentUploadResponseUio interface.
|
|
98
123
|
*/
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.FileAttachmentUploadResponseUioErrorCodeEnum = void 0;
|
|
16
17
|
exports.instanceOfFileAttachmentUploadResponseUio = instanceOfFileAttachmentUploadResponseUio;
|
|
17
18
|
exports.FileAttachmentUploadResponseUioFromJSON = FileAttachmentUploadResponseUioFromJSON;
|
|
18
19
|
exports.FileAttachmentUploadResponseUioFromJSONTyped = FileAttachmentUploadResponseUioFromJSONTyped;
|
|
@@ -21,6 +22,12 @@ exports.FileAttachmentUploadResponseUioToJSONTyped = FileAttachmentUploadRespons
|
|
|
21
22
|
const AttachmentTypeUio_1 = require("./AttachmentTypeUio");
|
|
22
23
|
const FileAttachmentProcessedUio_1 = require("./FileAttachmentProcessedUio");
|
|
23
24
|
const FileAttachmentStatusUio_1 = require("./FileAttachmentStatusUio");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.FileAttachmentUploadResponseUioErrorCodeEnum = {
|
|
29
|
+
AttachmentTooLarge: 'ATTACHMENT_TOO_LARGE'
|
|
30
|
+
};
|
|
24
31
|
/**
|
|
25
32
|
* Check if a given object implements the FileAttachmentUploadResponseUio interface.
|
|
26
33
|
*/
|
|
@@ -64,6 +71,9 @@ function FileAttachmentUploadResponseUioFromJSONTyped(json, ignoreDiscriminator)
|
|
|
64
71
|
'key': json['key'],
|
|
65
72
|
'url': json['url'] == null ? undefined : json['url'],
|
|
66
73
|
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioFromJSON)(json['status']),
|
|
74
|
+
'errorCode': json['errorCode'] == null ? undefined : json['errorCode'],
|
|
75
|
+
'estimatedTokens': json['estimatedTokens'] == null ? undefined : json['estimatedTokens'],
|
|
76
|
+
'maxTokens': json['maxTokens'] == null ? undefined : json['maxTokens'],
|
|
67
77
|
'processed': json['processed'] == null ? undefined : (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioFromJSON)(json['processed']),
|
|
68
78
|
'postURL': json['postURL'],
|
|
69
79
|
'formData': json['formData'],
|
|
@@ -86,6 +96,9 @@ function FileAttachmentUploadResponseUioToJSONTyped(value, ignoreDiscriminator =
|
|
|
86
96
|
'key': value['key'],
|
|
87
97
|
'url': value['url'],
|
|
88
98
|
'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioToJSON)(value['status']),
|
|
99
|
+
'errorCode': value['errorCode'],
|
|
100
|
+
'estimatedTokens': value['estimatedTokens'],
|
|
101
|
+
'maxTokens': value['maxTokens'],
|
|
89
102
|
'processed': (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioToJSON)(value['processed']),
|
|
90
103
|
'postURL': value['postURL'],
|
|
91
104
|
'formData': value['formData'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -17,6 +17,16 @@ export * from './AgentDuplicateRequestUio';
|
|
|
17
17
|
export * from './AgentFeedbackMetricsUio';
|
|
18
18
|
export * from './AgentFlowCreateUio';
|
|
19
19
|
export * from './AgentFlowUio';
|
|
20
|
+
export * from './AgentImportReportAgentRenamedUio';
|
|
21
|
+
export * from './AgentImportReportContextualKnowledgeUio';
|
|
22
|
+
export * from './AgentImportReportEngineRequestedUio';
|
|
23
|
+
export * from './AgentImportReportEngineUio';
|
|
24
|
+
export * from './AgentImportReportFlowUio';
|
|
25
|
+
export * from './AgentImportReportSkillsInnerUio';
|
|
26
|
+
export * from './AgentImportReportToolsInnerUio';
|
|
27
|
+
export * from './AgentImportReportUio';
|
|
28
|
+
export * from './AgentImportRequestUio';
|
|
29
|
+
export * from './AgentImportResponseUio';
|
|
20
30
|
export * from './AgentMemoryConfigurationUio';
|
|
21
31
|
export * from './AgentMetricsByAppUio';
|
|
22
32
|
export * from './AgentMetricsEventUio';
|
package/dist/models/index.js
CHANGED
|
@@ -35,6 +35,16 @@ __exportStar(require("./AgentDuplicateRequestUio"), exports);
|
|
|
35
35
|
__exportStar(require("./AgentFeedbackMetricsUio"), exports);
|
|
36
36
|
__exportStar(require("./AgentFlowCreateUio"), exports);
|
|
37
37
|
__exportStar(require("./AgentFlowUio"), exports);
|
|
38
|
+
__exportStar(require("./AgentImportReportAgentRenamedUio"), exports);
|
|
39
|
+
__exportStar(require("./AgentImportReportContextualKnowledgeUio"), exports);
|
|
40
|
+
__exportStar(require("./AgentImportReportEngineRequestedUio"), exports);
|
|
41
|
+
__exportStar(require("./AgentImportReportEngineUio"), exports);
|
|
42
|
+
__exportStar(require("./AgentImportReportFlowUio"), exports);
|
|
43
|
+
__exportStar(require("./AgentImportReportSkillsInnerUio"), exports);
|
|
44
|
+
__exportStar(require("./AgentImportReportToolsInnerUio"), exports);
|
|
45
|
+
__exportStar(require("./AgentImportReportUio"), exports);
|
|
46
|
+
__exportStar(require("./AgentImportRequestUio"), exports);
|
|
47
|
+
__exportStar(require("./AgentImportResponseUio"), exports);
|
|
38
48
|
__exportStar(require("./AgentMemoryConfigurationUio"), exports);
|
|
39
49
|
__exportStar(require("./AgentMetricsByAppUio"), exports);
|
|
40
50
|
__exportStar(require("./AgentMetricsEventUio"), exports);
|