@alicloud/bailian20231229 2.3.0 → 2.4.1
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 +36 -0
- package/dist/client.js +93 -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/CreateAndPulishAgentRequest.d.ts +1 -0
- package/dist/models/CreateAndPulishAgentRequest.js +2 -0
- package/dist/models/CreateAndPulishAgentRequest.js.map +1 -1
- package/dist/models/GetAlipayTransferStatusRequest.d.ts +23 -0
- package/dist/models/GetAlipayTransferStatusRequest.js +60 -0
- package/dist/models/GetAlipayTransferStatusRequest.js.map +1 -0
- package/dist/models/GetAlipayTransferStatusResponse.d.ts +19 -0
- package/dist/models/GetAlipayTransferStatusResponse.js +69 -0
- package/dist/models/GetAlipayTransferStatusResponse.js.map +1 -0
- package/dist/models/GetAlipayTransferStatusResponseBody.d.ts +60 -0
- package/dist/models/GetAlipayTransferStatusResponseBody.js +106 -0
- package/dist/models/GetAlipayTransferStatusResponseBody.js.map +1 -0
- package/dist/models/GetAlipayUrlRequest.d.ts +15 -0
- package/dist/models/GetAlipayUrlRequest.js +60 -0
- package/dist/models/GetAlipayUrlRequest.js.map +1 -0
- package/dist/models/GetAlipayUrlResponse.d.ts +19 -0
- package/dist/models/GetAlipayUrlResponse.js +69 -0
- package/dist/models/GetAlipayUrlResponse.js.map +1 -0
- package/dist/models/GetAlipayUrlResponseBody.d.ts +37 -0
- package/dist/models/GetAlipayUrlResponseBody.js +84 -0
- package/dist/models/GetAlipayUrlResponseBody.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 +8 -0
- package/dist/models/model.js +21 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +102 -0
- package/src/models/AddFilesFromAuthorizedOssRequest.ts +3 -0
- package/src/models/AddFilesFromAuthorizedOssShrinkRequest.ts +3 -0
- package/src/models/CreateAndPulishAgentRequest.ts +3 -0
- package/src/models/GetAlipayTransferStatusRequest.ts +38 -0
- package/src/models/GetAlipayTransferStatusResponse.ts +40 -0
- package/src/models/GetAlipayTransferStatusResponseBody.ts +112 -0
- package/src/models/GetAlipayUrlRequest.ts +30 -0
- package/src/models/GetAlipayUrlResponse.ts +40 -0
- package/src/models/GetAlipayUrlResponseBody.ts +67 -0
- package/src/models/UpdateAndPublishAgentRequest.ts +3 -0
- package/src/models/UpdateAndPublishAgentSelectiveRequest.ts +3 -0
- package/src/models/model.ts +8 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetAlipayUrlRequest extends $dara.Model {
|
|
6
|
+
appId?: string;
|
|
7
|
+
workspaceId?: string;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
appId: 'app_id',
|
|
11
|
+
workspaceId: 'workspace_id',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
appId: 'string',
|
|
18
|
+
workspaceId: 'string',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetAlipayUrlResponseBody } from "./GetAlipayUrlResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetAlipayUrlResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetAlipayUrlResponseBody;
|
|
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: GetAlipayUrlResponseBody,
|
|
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,67 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetAlipayUrlResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* xxsdfasfw
|
|
9
|
+
*/
|
|
10
|
+
code?: string;
|
|
11
|
+
qrUrl?: string;
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
code: 'code',
|
|
15
|
+
qrUrl: 'qrUrl',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static types(): { [key: string]: any } {
|
|
20
|
+
return {
|
|
21
|
+
code: 'string',
|
|
22
|
+
qrUrl: '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 GetAlipayUrlResponseBody extends $dara.Model {
|
|
36
|
+
data?: GetAlipayUrlResponseBodyData;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* 6a71f2d9-f1c9-913b-818b-11402910xxxx
|
|
40
|
+
*/
|
|
41
|
+
requestId?: string;
|
|
42
|
+
static names(): { [key: string]: string } {
|
|
43
|
+
return {
|
|
44
|
+
data: 'data',
|
|
45
|
+
requestId: 'requestId',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
static types(): { [key: string]: any } {
|
|
50
|
+
return {
|
|
51
|
+
data: GetAlipayUrlResponseBodyData,
|
|
52
|
+
requestId: 'string',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
58
|
+
(this.data as any).validate();
|
|
59
|
+
}
|
|
60
|
+
super.validate();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
constructor(map?: { [key: string]: any }) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -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
|
@@ -22,6 +22,8 @@ export { DeleteCategoryResponseBodyData } from './DeleteCategoryResponseBody';
|
|
|
22
22
|
export { DeleteFileResponseBodyData } from './DeleteFileResponseBody';
|
|
23
23
|
export { DeleteIndexDocumentResponseBodyData } from './DeleteIndexDocumentResponseBody';
|
|
24
24
|
export { DescribeFileResponseBodyData } from './DescribeFileResponseBody';
|
|
25
|
+
export { GetAlipayTransferStatusResponseBodyData } from './GetAlipayTransferStatusResponseBody';
|
|
26
|
+
export { GetAlipayUrlResponseBodyData } from './GetAlipayUrlResponseBody';
|
|
25
27
|
export { GetIndexJobStatusResponseBodyDataDocuments } from './GetIndexJobStatusResponseBody';
|
|
26
28
|
export { GetIndexJobStatusResponseBodyData } from './GetIndexJobStatusResponseBody';
|
|
27
29
|
export { GetPublishedAgentResponseBodyDataApplicationConfigHistoryConfig } from './GetPublishedAgentResponseBody';
|
|
@@ -140,6 +142,12 @@ export { DeletePromptTemplateResponseBody } from './DeletePromptTemplateResponse
|
|
|
140
142
|
export { DeletePromptTemplateResponse } from './DeletePromptTemplateResponse';
|
|
141
143
|
export { DescribeFileResponseBody } from './DescribeFileResponseBody';
|
|
142
144
|
export { DescribeFileResponse } from './DescribeFileResponse';
|
|
145
|
+
export { GetAlipayTransferStatusRequest } from './GetAlipayTransferStatusRequest';
|
|
146
|
+
export { GetAlipayTransferStatusResponseBody } from './GetAlipayTransferStatusResponseBody';
|
|
147
|
+
export { GetAlipayTransferStatusResponse } from './GetAlipayTransferStatusResponse';
|
|
148
|
+
export { GetAlipayUrlRequest } from './GetAlipayUrlRequest';
|
|
149
|
+
export { GetAlipayUrlResponseBody } from './GetAlipayUrlResponseBody';
|
|
150
|
+
export { GetAlipayUrlResponse } from './GetAlipayUrlResponse';
|
|
143
151
|
export { GetIndexJobStatusRequest } from './GetIndexJobStatusRequest';
|
|
144
152
|
export { GetIndexJobStatusResponseBody } from './GetIndexJobStatusResponseBody';
|
|
145
153
|
export { GetIndexJobStatusResponse } from './GetIndexJobStatusResponse';
|