@alicloud/bailian20231229 2.4.0 → 2.5.0
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/client.d.ts +72 -0
- package/dist/client.js +200 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AddFilesFromAuthorizedOssRequest.d.ts +1 -0
- package/dist/models/AddFilesFromAuthorizedOssRequest.js +2 -0
- package/dist/models/AddFilesFromAuthorizedOssRequest.js.map +1 -1
- package/dist/models/AddFilesFromAuthorizedOssShrinkRequest.d.ts +1 -0
- package/dist/models/AddFilesFromAuthorizedOssShrinkRequest.js +2 -0
- package/dist/models/AddFilesFromAuthorizedOssShrinkRequest.js.map +1 -1
- package/dist/models/ChangeParseSettingRequest.d.ts +56 -0
- package/dist/models/ChangeParseSettingRequest.js +88 -0
- package/dist/models/ChangeParseSettingRequest.js.map +1 -0
- package/dist/models/ChangeParseSettingResponse.d.ts +19 -0
- package/dist/models/ChangeParseSettingResponse.js +69 -0
- package/dist/models/ChangeParseSettingResponse.js.map +1 -0
- package/dist/models/ChangeParseSettingResponseBody.d.ts +56 -0
- package/dist/models/ChangeParseSettingResponseBody.js +90 -0
- package/dist/models/ChangeParseSettingResponseBody.js.map +1 -0
- package/dist/models/ChangeParseSettingShrinkRequest.d.ts +38 -0
- package/dist/models/ChangeParseSettingShrinkRequest.js +64 -0
- package/dist/models/ChangeParseSettingShrinkRequest.js.map +1 -0
- package/dist/models/CreateAndPulishAgentRequest.d.ts +1 -0
- package/dist/models/CreateAndPulishAgentRequest.js +2 -0
- package/dist/models/CreateAndPulishAgentRequest.js.map +1 -1
- package/dist/models/GetAvailableParserTypesRequest.d.ts +21 -0
- package/dist/models/GetAvailableParserTypesRequest.js +58 -0
- package/dist/models/GetAvailableParserTypesRequest.js.map +1 -0
- package/dist/models/GetAvailableParserTypesResponse.d.ts +19 -0
- package/dist/models/GetAvailableParserTypesResponse.js +69 -0
- package/dist/models/GetAvailableParserTypesResponse.js.map +1 -0
- package/dist/models/GetAvailableParserTypesResponseBody.d.ts +75 -0
- package/dist/models/GetAvailableParserTypesResponseBody.js +116 -0
- package/dist/models/GetAvailableParserTypesResponseBody.js.map +1 -0
- package/dist/models/GetParseSettingsRequest.d.ts +18 -0
- package/dist/models/GetParseSettingsRequest.js +58 -0
- package/dist/models/GetParseSettingsRequest.js.map +1 -0
- package/dist/models/GetParseSettingsResponse.d.ts +19 -0
- package/dist/models/GetParseSettingsResponse.js +69 -0
- package/dist/models/GetParseSettingsResponse.js.map +1 -0
- package/dist/models/GetParseSettingsResponseBody.d.ts +82 -0
- package/dist/models/GetParseSettingsResponseBody.js +120 -0
- package/dist/models/GetParseSettingsResponseBody.js.map +1 -0
- package/dist/models/HighCodeDeployRequest.d.ts +43 -0
- package/dist/models/HighCodeDeployRequest.js +68 -0
- package/dist/models/HighCodeDeployRequest.js.map +1 -0
- package/dist/models/HighCodeDeployResponse.d.ts +19 -0
- package/dist/models/HighCodeDeployResponse.js +69 -0
- package/dist/models/HighCodeDeployResponse.js.map +1 -0
- package/dist/models/HighCodeDeployResponseBody.d.ts +29 -0
- package/dist/models/HighCodeDeployResponseBody.js +64 -0
- package/dist/models/HighCodeDeployResponseBody.js.map +1 -0
- package/dist/models/UpdateAndPublishAgentRequest.d.ts +1 -0
- package/dist/models/UpdateAndPublishAgentRequest.js +2 -0
- package/dist/models/UpdateAndPublishAgentRequest.js.map +1 -1
- package/dist/models/UpdateAndPublishAgentSelectiveRequest.d.ts +1 -0
- package/dist/models/UpdateAndPublishAgentSelectiveRequest.js +2 -0
- package/dist/models/UpdateAndPublishAgentSelectiveRequest.js.map +1 -1
- package/dist/models/model.d.ts +19 -0
- package/dist/models/model.js +43 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +222 -0
- package/src/models/AddFilesFromAuthorizedOssRequest.ts +3 -0
- package/src/models/AddFilesFromAuthorizedOssShrinkRequest.ts +3 -0
- package/src/models/ChangeParseSettingRequest.ts +90 -0
- package/src/models/ChangeParseSettingResponse.ts +40 -0
- package/src/models/ChangeParseSettingResponseBody.ts +92 -0
- package/src/models/ChangeParseSettingShrinkRequest.ts +57 -0
- package/src/models/CreateAndPulishAgentRequest.ts +3 -0
- package/src/models/GetAvailableParserTypesRequest.ts +34 -0
- package/src/models/GetAvailableParserTypesResponse.ts +40 -0
- package/src/models/GetAvailableParserTypesResponseBody.ts +128 -0
- package/src/models/GetParseSettingsRequest.ts +31 -0
- package/src/models/GetParseSettingsResponse.ts +40 -0
- package/src/models/GetParseSettingsResponseBody.ts +139 -0
- package/src/models/HighCodeDeployRequest.ts +66 -0
- package/src/models/HighCodeDeployResponse.ts +40 -0
- package/src/models/HighCodeDeployResponseBody.ts +48 -0
- package/src/models/UpdateAndPublishAgentRequest.ts +3 -0
- package/src/models/UpdateAndPublishAgentSelectiveRequest.ts +3 -0
- package/src/models/model.ts +19 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetAvailableParserTypesResponseBodyDataParserList extends $dara.Model {
|
|
6
|
+
displayName?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* DOCMIND
|
|
10
|
+
*/
|
|
11
|
+
parser?: string;
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
displayName: 'DisplayName',
|
|
15
|
+
parser: 'Parser',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static types(): { [key: string]: any } {
|
|
20
|
+
return {
|
|
21
|
+
displayName: 'string',
|
|
22
|
+
parser: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export class GetAvailableParserTypesResponseBodyData extends $dara.Model {
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* pdf
|
|
39
|
+
*/
|
|
40
|
+
fileType?: string;
|
|
41
|
+
parserList?: GetAvailableParserTypesResponseBodyDataParserList[];
|
|
42
|
+
static names(): { [key: string]: string } {
|
|
43
|
+
return {
|
|
44
|
+
fileType: 'FileType',
|
|
45
|
+
parserList: 'ParserList',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
static types(): { [key: string]: any } {
|
|
50
|
+
return {
|
|
51
|
+
fileType: 'string',
|
|
52
|
+
parserList: { 'type': 'array', 'itemType': GetAvailableParserTypesResponseBodyDataParserList },
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
if(Array.isArray(this.parserList)) {
|
|
58
|
+
$dara.Model.validateArray(this.parserList);
|
|
59
|
+
}
|
|
60
|
+
super.validate();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
constructor(map?: { [key: string]: any }) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export class GetAvailableParserTypesResponseBody extends $dara.Model {
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* DataCenter.Throttling
|
|
72
|
+
*/
|
|
73
|
+
code?: string;
|
|
74
|
+
data?: GetAvailableParserTypesResponseBodyData;
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* User not authorized to operate on the specified resource
|
|
78
|
+
*/
|
|
79
|
+
message?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* 17204B98-7734-4F9A-8464-2446XXXXXXX
|
|
83
|
+
*/
|
|
84
|
+
requestId?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @example
|
|
87
|
+
* 200
|
|
88
|
+
*/
|
|
89
|
+
status?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @example
|
|
92
|
+
* true
|
|
93
|
+
*/
|
|
94
|
+
success?: boolean;
|
|
95
|
+
static names(): { [key: string]: string } {
|
|
96
|
+
return {
|
|
97
|
+
code: 'Code',
|
|
98
|
+
data: 'Data',
|
|
99
|
+
message: 'Message',
|
|
100
|
+
requestId: 'RequestId',
|
|
101
|
+
status: 'Status',
|
|
102
|
+
success: 'Success',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
static types(): { [key: string]: any } {
|
|
107
|
+
return {
|
|
108
|
+
code: 'string',
|
|
109
|
+
data: GetAvailableParserTypesResponseBodyData,
|
|
110
|
+
message: 'string',
|
|
111
|
+
requestId: 'string',
|
|
112
|
+
status: 'string',
|
|
113
|
+
success: 'boolean',
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
validate() {
|
|
118
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
119
|
+
(this.data as any).validate();
|
|
120
|
+
}
|
|
121
|
+
super.validate();
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
constructor(map?: { [key: string]: any }) {
|
|
125
|
+
super(map);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetParseSettingsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* cate_cdd11b1b79a74e8bbd675c356a91ee35xxxxxxxx
|
|
9
|
+
*/
|
|
10
|
+
categoryId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
categoryId: 'CategoryId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
categoryId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetParseSettingsResponseBody } from "./GetParseSettingsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetParseSettingsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetParseSettingsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: GetParseSettingsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetParseSettingsResponseBodyDataParserConfig extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* - qwen-vl-max
|
|
9
|
+
* - qwen-vl-plus
|
|
10
|
+
*/
|
|
11
|
+
modelName?: string;
|
|
12
|
+
modelPrompt?: string;
|
|
13
|
+
static names(): { [key: string]: string } {
|
|
14
|
+
return {
|
|
15
|
+
modelName: 'ModelName',
|
|
16
|
+
modelPrompt: 'ModelPrompt',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
modelName: 'string',
|
|
23
|
+
modelPrompt: 'string',
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
validate() {
|
|
28
|
+
super.validate();
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
constructor(map?: { [key: string]: any }) {
|
|
32
|
+
super(map);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export class GetParseSettingsResponseBodyData extends $dara.Model {
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* pdf
|
|
40
|
+
*/
|
|
41
|
+
fileType?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* DOCMIND
|
|
45
|
+
*/
|
|
46
|
+
parser?: string;
|
|
47
|
+
parserConfig?: GetParseSettingsResponseBodyDataParserConfig;
|
|
48
|
+
parserDisplayName?: string;
|
|
49
|
+
static names(): { [key: string]: string } {
|
|
50
|
+
return {
|
|
51
|
+
fileType: 'FileType',
|
|
52
|
+
parser: 'Parser',
|
|
53
|
+
parserConfig: 'ParserConfig',
|
|
54
|
+
parserDisplayName: 'ParserDisplayName',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
static types(): { [key: string]: any } {
|
|
59
|
+
return {
|
|
60
|
+
fileType: 'string',
|
|
61
|
+
parser: 'string',
|
|
62
|
+
parserConfig: GetParseSettingsResponseBodyDataParserConfig,
|
|
63
|
+
parserDisplayName: 'string',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
validate() {
|
|
68
|
+
if(this.parserConfig && typeof (this.parserConfig as any).validate === 'function') {
|
|
69
|
+
(this.parserConfig as any).validate();
|
|
70
|
+
}
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export class GetParseSettingsResponseBody extends $dara.Model {
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* success
|
|
83
|
+
*/
|
|
84
|
+
code?: string;
|
|
85
|
+
data?: GetParseSettingsResponseBodyData[];
|
|
86
|
+
/**
|
|
87
|
+
* @example
|
|
88
|
+
* workspace id is null or invalid.
|
|
89
|
+
*/
|
|
90
|
+
message?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @example
|
|
93
|
+
* 35A267BF-xxxx-54DB-8394-AA3B0742D833
|
|
94
|
+
*/
|
|
95
|
+
requestId?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @example
|
|
98
|
+
* 200
|
|
99
|
+
*/
|
|
100
|
+
status?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @example
|
|
103
|
+
* True
|
|
104
|
+
*/
|
|
105
|
+
success?: boolean;
|
|
106
|
+
static names(): { [key: string]: string } {
|
|
107
|
+
return {
|
|
108
|
+
code: 'Code',
|
|
109
|
+
data: 'Data',
|
|
110
|
+
message: 'Message',
|
|
111
|
+
requestId: 'RequestId',
|
|
112
|
+
status: 'Status',
|
|
113
|
+
success: 'Success',
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
static types(): { [key: string]: any } {
|
|
118
|
+
return {
|
|
119
|
+
code: 'string',
|
|
120
|
+
data: { 'type': 'array', 'itemType': GetParseSettingsResponseBodyData },
|
|
121
|
+
message: 'string',
|
|
122
|
+
requestId: 'string',
|
|
123
|
+
status: 'string',
|
|
124
|
+
success: 'boolean',
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
validate() {
|
|
129
|
+
if(Array.isArray(this.data)) {
|
|
130
|
+
$dara.Model.validateArray(this.data);
|
|
131
|
+
}
|
|
132
|
+
super.validate();
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
constructor(map?: { [key: string]: any }) {
|
|
136
|
+
super(map);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class HighCodeDeployRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 智能客服agent
|
|
9
|
+
*/
|
|
10
|
+
agentDesc?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 2000013
|
|
14
|
+
*/
|
|
15
|
+
agentId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* mma_test_02
|
|
19
|
+
*/
|
|
20
|
+
agentName?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* xxxxx.whl
|
|
24
|
+
*/
|
|
25
|
+
sourceCodeName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* https://bailian-application-developer-code.oss-cn-beijing.aliyuncs.com/xxxxx.whl
|
|
29
|
+
*/
|
|
30
|
+
sourceCodeOssUrl?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 0
|
|
34
|
+
*/
|
|
35
|
+
telemetryEnabled?: boolean;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
agentDesc: 'agentDesc',
|
|
39
|
+
agentId: 'agentId',
|
|
40
|
+
agentName: 'agentName',
|
|
41
|
+
sourceCodeName: 'sourceCodeName',
|
|
42
|
+
sourceCodeOssUrl: 'sourceCodeOssUrl',
|
|
43
|
+
telemetryEnabled: 'telemetryEnabled',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
agentDesc: 'string',
|
|
50
|
+
agentId: 'string',
|
|
51
|
+
agentName: 'string',
|
|
52
|
+
sourceCodeName: 'string',
|
|
53
|
+
sourceCodeOssUrl: 'string',
|
|
54
|
+
telemetryEnabled: 'boolean',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { HighCodeDeployResponseBody } from "./HighCodeDeployResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class HighCodeDeployResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: HighCodeDeployResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: HighCodeDeployResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class HighCodeDeployResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* {\"key\": \"value\"}
|
|
9
|
+
*/
|
|
10
|
+
data?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 404
|
|
14
|
+
*/
|
|
15
|
+
errorCode?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 用户不存在
|
|
19
|
+
*/
|
|
20
|
+
errorMsg?: string;
|
|
21
|
+
success?: boolean;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
data: 'data',
|
|
25
|
+
errorCode: 'errorCode',
|
|
26
|
+
errorMsg: 'errorMsg',
|
|
27
|
+
success: 'success',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
static types(): { [key: string]: any } {
|
|
32
|
+
return {
|
|
33
|
+
data: 'string',
|
|
34
|
+
errorCode: 'string',
|
|
35
|
+
errorMsg: 'string',
|
|
36
|
+
success: 'boolean',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -62,11 +62,13 @@ export class UpdateAndPublishAgentRequestApplicationConfigLongTermMemory extends
|
|
|
62
62
|
|
|
63
63
|
export class UpdateAndPublishAgentRequestApplicationConfigParameters extends $dara.Model {
|
|
64
64
|
dialogRound?: number;
|
|
65
|
+
enableThinking?: boolean;
|
|
65
66
|
maxTokens?: number;
|
|
66
67
|
temperature?: number;
|
|
67
68
|
static names(): { [key: string]: string } {
|
|
68
69
|
return {
|
|
69
70
|
dialogRound: 'dialogRound',
|
|
71
|
+
enableThinking: 'enable_thinking',
|
|
70
72
|
maxTokens: 'maxTokens',
|
|
71
73
|
temperature: 'temperature',
|
|
72
74
|
};
|
|
@@ -75,6 +77,7 @@ export class UpdateAndPublishAgentRequestApplicationConfigParameters extends $da
|
|
|
75
77
|
static types(): { [key: string]: any } {
|
|
76
78
|
return {
|
|
77
79
|
dialogRound: 'number',
|
|
80
|
+
enableThinking: 'boolean',
|
|
78
81
|
maxTokens: 'number',
|
|
79
82
|
temperature: 'number',
|
|
80
83
|
};
|
|
@@ -62,11 +62,13 @@ export class UpdateAndPublishAgentSelectiveRequestApplicationConfigLongTermMemor
|
|
|
62
62
|
|
|
63
63
|
export class UpdateAndPublishAgentSelectiveRequestApplicationConfigParameters extends $dara.Model {
|
|
64
64
|
dialogRound?: number;
|
|
65
|
+
enableThinking?: boolean;
|
|
65
66
|
maxTokens?: number;
|
|
66
67
|
temperature?: number;
|
|
67
68
|
static names(): { [key: string]: string } {
|
|
68
69
|
return {
|
|
69
70
|
dialogRound: 'dialogRound',
|
|
71
|
+
enableThinking: 'enable_thinking',
|
|
70
72
|
maxTokens: 'maxTokens',
|
|
71
73
|
temperature: 'temperature',
|
|
72
74
|
};
|
|
@@ -75,6 +77,7 @@ export class UpdateAndPublishAgentSelectiveRequestApplicationConfigParameters ex
|
|
|
75
77
|
static types(): { [key: string]: any } {
|
|
76
78
|
return {
|
|
77
79
|
dialogRound: 'number',
|
|
80
|
+
enableThinking: 'boolean',
|
|
78
81
|
maxTokens: 'number',
|
|
79
82
|
temperature: 'number',
|
|
80
83
|
};
|
package/src/models/model.ts
CHANGED
|
@@ -5,6 +5,8 @@ export { AddFilesFromAuthorizedOssResponseBodyDataAddFileResultList } from './Ad
|
|
|
5
5
|
export { AddFilesFromAuthorizedOssResponseBodyData } from './AddFilesFromAuthorizedOssResponseBody';
|
|
6
6
|
export { ApplyFileUploadLeaseResponseBodyDataParam } from './ApplyFileUploadLeaseResponseBody';
|
|
7
7
|
export { ApplyFileUploadLeaseResponseBodyData } from './ApplyFileUploadLeaseResponseBody';
|
|
8
|
+
export { ChangeParseSettingRequestParserConfig } from './ChangeParseSettingRequest';
|
|
9
|
+
export { ChangeParseSettingResponseBodyData } from './ChangeParseSettingResponseBody';
|
|
8
10
|
export { CreateAndPulishAgentRequestApplicationConfigHistoryConfig } from './CreateAndPulishAgentRequest';
|
|
9
11
|
export { CreateAndPulishAgentRequestApplicationConfigLongTermMemory } from './CreateAndPulishAgentRequest';
|
|
10
12
|
export { CreateAndPulishAgentRequestApplicationConfigParameters } from './CreateAndPulishAgentRequest';
|
|
@@ -24,8 +26,12 @@ export { DeleteIndexDocumentResponseBodyData } from './DeleteIndexDocumentRespon
|
|
|
24
26
|
export { DescribeFileResponseBodyData } from './DescribeFileResponseBody';
|
|
25
27
|
export { GetAlipayTransferStatusResponseBodyData } from './GetAlipayTransferStatusResponseBody';
|
|
26
28
|
export { GetAlipayUrlResponseBodyData } from './GetAlipayUrlResponseBody';
|
|
29
|
+
export { GetAvailableParserTypesResponseBodyDataParserList } from './GetAvailableParserTypesResponseBody';
|
|
30
|
+
export { GetAvailableParserTypesResponseBodyData } from './GetAvailableParserTypesResponseBody';
|
|
27
31
|
export { GetIndexJobStatusResponseBodyDataDocuments } from './GetIndexJobStatusResponseBody';
|
|
28
32
|
export { GetIndexJobStatusResponseBodyData } from './GetIndexJobStatusResponseBody';
|
|
33
|
+
export { GetParseSettingsResponseBodyDataParserConfig } from './GetParseSettingsResponseBody';
|
|
34
|
+
export { GetParseSettingsResponseBodyData } from './GetParseSettingsResponseBody';
|
|
29
35
|
export { GetPublishedAgentResponseBodyDataApplicationConfigHistoryConfig } from './GetPublishedAgentResponseBody';
|
|
30
36
|
export { GetPublishedAgentResponseBodyDataApplicationConfigLongTermMemory } from './GetPublishedAgentResponseBody';
|
|
31
37
|
export { GetPublishedAgentResponseBodyDataApplicationConfigParameters } from './GetPublishedAgentResponseBody';
|
|
@@ -100,6 +106,10 @@ export { AddFilesFromAuthorizedOssResponse } from './AddFilesFromAuthorizedOssRe
|
|
|
100
106
|
export { ApplyFileUploadLeaseRequest } from './ApplyFileUploadLeaseRequest';
|
|
101
107
|
export { ApplyFileUploadLeaseResponseBody } from './ApplyFileUploadLeaseResponseBody';
|
|
102
108
|
export { ApplyFileUploadLeaseResponse } from './ApplyFileUploadLeaseResponse';
|
|
109
|
+
export { ChangeParseSettingRequest } from './ChangeParseSettingRequest';
|
|
110
|
+
export { ChangeParseSettingShrinkRequest } from './ChangeParseSettingShrinkRequest';
|
|
111
|
+
export { ChangeParseSettingResponseBody } from './ChangeParseSettingResponseBody';
|
|
112
|
+
export { ChangeParseSettingResponse } from './ChangeParseSettingResponse';
|
|
103
113
|
export { CreateAndPulishAgentRequest } from './CreateAndPulishAgentRequest';
|
|
104
114
|
export { CreateAndPulishAgentShrinkRequest } from './CreateAndPulishAgentShrinkRequest';
|
|
105
115
|
export { CreateAndPulishAgentResponseBody } from './CreateAndPulishAgentResponseBody';
|
|
@@ -148,6 +158,9 @@ export { GetAlipayTransferStatusResponse } from './GetAlipayTransferStatusRespon
|
|
|
148
158
|
export { GetAlipayUrlRequest } from './GetAlipayUrlRequest';
|
|
149
159
|
export { GetAlipayUrlResponseBody } from './GetAlipayUrlResponseBody';
|
|
150
160
|
export { GetAlipayUrlResponse } from './GetAlipayUrlResponse';
|
|
161
|
+
export { GetAvailableParserTypesRequest } from './GetAvailableParserTypesRequest';
|
|
162
|
+
export { GetAvailableParserTypesResponseBody } from './GetAvailableParserTypesResponseBody';
|
|
163
|
+
export { GetAvailableParserTypesResponse } from './GetAvailableParserTypesResponse';
|
|
151
164
|
export { GetIndexJobStatusRequest } from './GetIndexJobStatusRequest';
|
|
152
165
|
export { GetIndexJobStatusResponseBody } from './GetIndexJobStatusResponseBody';
|
|
153
166
|
export { GetIndexJobStatusResponse } from './GetIndexJobStatusResponse';
|
|
@@ -155,10 +168,16 @@ export { GetMemoryResponseBody } from './GetMemoryResponseBody';
|
|
|
155
168
|
export { GetMemoryResponse } from './GetMemoryResponse';
|
|
156
169
|
export { GetMemoryNodeResponseBody } from './GetMemoryNodeResponseBody';
|
|
157
170
|
export { GetMemoryNodeResponse } from './GetMemoryNodeResponse';
|
|
171
|
+
export { GetParseSettingsRequest } from './GetParseSettingsRequest';
|
|
172
|
+
export { GetParseSettingsResponseBody } from './GetParseSettingsResponseBody';
|
|
173
|
+
export { GetParseSettingsResponse } from './GetParseSettingsResponse';
|
|
158
174
|
export { GetPromptTemplateResponseBody } from './GetPromptTemplateResponseBody';
|
|
159
175
|
export { GetPromptTemplateResponse } from './GetPromptTemplateResponse';
|
|
160
176
|
export { GetPublishedAgentResponseBody } from './GetPublishedAgentResponseBody';
|
|
161
177
|
export { GetPublishedAgentResponse } from './GetPublishedAgentResponse';
|
|
178
|
+
export { HighCodeDeployRequest } from './HighCodeDeployRequest';
|
|
179
|
+
export { HighCodeDeployResponseBody } from './HighCodeDeployResponseBody';
|
|
180
|
+
export { HighCodeDeployResponse } from './HighCodeDeployResponse';
|
|
162
181
|
export { ListCategoryRequest } from './ListCategoryRequest';
|
|
163
182
|
export { ListCategoryResponseBody } from './ListCategoryResponseBody';
|
|
164
183
|
export { ListCategoryResponse } from './ListCategoryResponse';
|