@alicloud/dms20250414 2.0.0 → 2.1.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 +25 -10
- package/dist/client.js +64 -10
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAgentRequest.d.ts +47 -0
- package/dist/models/CreateAgentRequest.js +64 -0
- package/dist/models/CreateAgentRequest.js.map +1 -0
- package/dist/models/CreateAgentResponse.d.ts +19 -0
- package/dist/models/CreateAgentResponse.js +69 -0
- package/dist/models/CreateAgentResponse.js.map +1 -0
- package/dist/models/CreateAgentResponseBody.d.ts +257 -0
- package/dist/models/CreateAgentResponseBody.js +154 -0
- package/dist/models/CreateAgentResponseBody.js.map +1 -0
- package/dist/models/CreateDataAgentSessionRequest.d.ts +102 -21
- package/dist/models/CreateDataAgentSessionRequest.js +51 -1
- package/dist/models/CreateDataAgentSessionRequest.js.map +1 -1
- package/dist/models/CreateDataAgentSessionResponseBody.d.ts +51 -29
- package/dist/models/CreateDataAgentSessionResponseBody.js.map +1 -1
- package/dist/models/CreateDataAgentSessionShrinkRequest.d.ts +2 -2
- package/dist/models/CreateDataAgentThemeRequest.d.ts +16 -8
- package/dist/models/CreateDataAgentThemeRequest.js +2 -0
- package/dist/models/CreateDataAgentThemeRequest.js.map +1 -1
- package/dist/models/CreateDataAgentThemeResponseBody.d.ts +2 -2
- package/dist/models/DescribeDataAgentSessionRequest.d.ts +1 -1
- package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +19 -20
- package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
- package/dist/models/DescribeDataAgentThemeResponseBody.d.ts +9 -13
- package/dist/models/DescribeDataAgentThemeResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentThemeUploadSignatureRequest.d.ts +1 -1
- package/dist/models/GetDataAgentThemeUploadSignatureResponseBody.d.ts +5 -5
- package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.d.ts +9 -2
- package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.js.map +1 -1
- package/dist/models/ListDataAgentThemeRequest.d.ts +15 -7
- package/dist/models/ListDataAgentThemeRequest.js +2 -0
- package/dist/models/ListDataAgentThemeRequest.js.map +1 -1
- package/dist/models/ListDataAgentThemeResponseBody.d.ts +8 -8
- package/dist/models/ModifyDataAgentThemeRequest.d.ts +3 -3
- package/dist/models/ModifyDataAgentThemeResponseBody.d.ts +2 -2
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +30 -16
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +72 -10
- package/src/models/CreateAgentRequest.ts +66 -0
- package/src/models/CreateAgentResponse.ts +40 -0
- package/src/models/CreateAgentResponseBody.ts +348 -0
- package/src/models/CreateDataAgentSessionRequest.ts +134 -21
- package/src/models/CreateDataAgentSessionResponseBody.ts +51 -29
- package/src/models/CreateDataAgentSessionShrinkRequest.ts +2 -2
- package/src/models/CreateDataAgentThemeRequest.ts +18 -8
- package/src/models/CreateDataAgentThemeResponseBody.ts +2 -2
- package/src/models/DescribeDataAgentSessionRequest.ts +1 -1
- package/src/models/DescribeDataAgentSessionResponseBody.ts +19 -20
- package/src/models/DescribeDataAgentThemeResponseBody.ts +9 -13
- package/src/models/GetDataAgentThemeUploadSignatureRequest.ts +1 -1
- package/src/models/GetDataAgentThemeUploadSignatureResponseBody.ts +5 -5
- package/src/models/ListDataAgentAccuracyTestInstancesResponseBody.ts +9 -2
- package/src/models/ListDataAgentThemeRequest.ts +17 -7
- package/src/models/ListDataAgentThemeResponseBody.ts +8 -8
- package/src/models/ModifyDataAgentThemeRequest.ts +3 -3
- package/src/models/ModifyDataAgentThemeResponseBody.ts +2 -2
- package/src/models/model.ts +7 -0
|
@@ -1,4 +1,57 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CreateDataAgentSessionRequestSessionConfigMcpHeadersMcpHeader extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The key to add to the header.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* UserId
|
|
9
|
+
*/
|
|
10
|
+
key?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The value to add to the header.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* 421****571
|
|
17
|
+
*/
|
|
18
|
+
value?: string;
|
|
19
|
+
static names(): {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
static types(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
validate(): void;
|
|
26
|
+
constructor(map?: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export declare class CreateDataAgentSessionRequestSessionConfigMcpHeaders extends $dara.Model {
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The MCP header configuration.
|
|
34
|
+
*/
|
|
35
|
+
mcpHeader?: CreateDataAgentSessionRequestSessionConfigMcpHeadersMcpHeader[];
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The ID of the MCP server.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* 1fl4r*****1qi
|
|
42
|
+
*/
|
|
43
|
+
mcpServerId?: string;
|
|
44
|
+
static names(): {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
static types(): {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
};
|
|
50
|
+
validate(): void;
|
|
51
|
+
constructor(map?: {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
2
55
|
export declare class CreateDataAgentSessionRequestSessionConfig extends $dara.Model {
|
|
3
56
|
/**
|
|
4
57
|
* @remarks
|
|
@@ -10,11 +63,9 @@ export declare class CreateDataAgentSessionRequestSessionConfig extends $dara.Mo
|
|
|
10
63
|
customAgentId?: string;
|
|
11
64
|
/**
|
|
12
65
|
* @remarks
|
|
13
|
-
* The custom agent
|
|
14
|
-
*
|
|
15
|
-
* - **
|
|
16
|
-
*
|
|
17
|
-
* - **prod**: Production stage.
|
|
66
|
+
* The stage of the custom agent. Valid values:
|
|
67
|
+
* - **debug**: the debugging stage.
|
|
68
|
+
* - **prod**: the production stage.
|
|
18
69
|
*
|
|
19
70
|
* @example
|
|
20
71
|
* debug
|
|
@@ -28,16 +79,32 @@ export declare class CreateDataAgentSessionRequestSessionConfig extends $dara.Mo
|
|
|
28
79
|
* false
|
|
29
80
|
*/
|
|
30
81
|
enableSearch?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The encryption key.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* null
|
|
88
|
+
*/
|
|
31
89
|
encryptKey?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The encryption type.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* null
|
|
96
|
+
*/
|
|
32
97
|
encryptType?: string;
|
|
98
|
+
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The list of knowledge base IDs.
|
|
101
|
+
*/
|
|
33
102
|
kbUuidList?: string[];
|
|
34
103
|
/**
|
|
35
104
|
* @remarks
|
|
36
105
|
* The language. Valid values:
|
|
37
|
-
*
|
|
38
|
-
* - **
|
|
39
|
-
*
|
|
40
|
-
* - **ENGLISH**: English
|
|
106
|
+
* - **CHINESE**: Chinese.
|
|
107
|
+
* - **ENGLISH**: English.
|
|
41
108
|
*
|
|
42
109
|
* @example
|
|
43
110
|
* CHINESE
|
|
@@ -45,30 +112,44 @@ export declare class CreateDataAgentSessionRequestSessionConfig extends $dara.Mo
|
|
|
45
112
|
language?: string;
|
|
46
113
|
/**
|
|
47
114
|
* @remarks
|
|
48
|
-
*
|
|
115
|
+
* The list of MCP header configurations.
|
|
116
|
+
*/
|
|
117
|
+
mcpHeaders?: CreateDataAgentSessionRequestSessionConfigMcpHeaders[];
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The list of MCP server IDs in the session configuration.
|
|
49
121
|
*/
|
|
50
122
|
mcpServerIds?: string[];
|
|
51
123
|
/**
|
|
52
124
|
* @remarks
|
|
53
125
|
* The mode. Valid values:
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* - **ANALYSIS**: Analysis mode.
|
|
58
|
-
*
|
|
59
|
-
* - **INSIGHT**: Insight mode.
|
|
126
|
+
* - **ASK_DATA**: the data query mode.
|
|
127
|
+
* - **ANALYSIS**: the analysis mode.
|
|
128
|
+
* - **INSIGHT**: the insight mode.
|
|
60
129
|
*
|
|
61
130
|
* @example
|
|
62
131
|
* ANALYSIS
|
|
63
132
|
*/
|
|
64
133
|
mode?: string;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* The report page width.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* 0
|
|
140
|
+
*/
|
|
65
141
|
reportPageWidth?: number;
|
|
66
|
-
reportWaterMark?: string;
|
|
67
142
|
/**
|
|
68
143
|
* @remarks
|
|
69
|
-
* The
|
|
144
|
+
* The report watermark.
|
|
70
145
|
*
|
|
71
|
-
*
|
|
146
|
+
* @example
|
|
147
|
+
* null
|
|
148
|
+
*/
|
|
149
|
+
reportWaterMark?: string;
|
|
150
|
+
/**
|
|
151
|
+
* @remarks
|
|
152
|
+
* The name of the user OSS bucket. Analysis process files and report artifacts can be uploaded to the specified OSS bucket.
|
|
72
153
|
*
|
|
73
154
|
* @example
|
|
74
155
|
* user-oss-bucket
|
|
@@ -109,10 +190,10 @@ export declare class CreateDataAgentSessionRequest extends $dara.Model {
|
|
|
109
190
|
sessionConfig?: CreateDataAgentSessionRequestSessionConfig;
|
|
110
191
|
/**
|
|
111
192
|
* @remarks
|
|
112
|
-
* The
|
|
193
|
+
* The title. Chinese and English characters are supported. Maximum length: 128 characters.
|
|
113
194
|
*
|
|
114
195
|
* @example
|
|
115
|
-
*
|
|
196
|
+
* Help me analyze this data and generate a report
|
|
116
197
|
*/
|
|
117
198
|
title?: string;
|
|
118
199
|
/**
|
|
@@ -33,9 +33,54 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.CreateDataAgentSessionRequest = exports.CreateDataAgentSessionRequestSessionConfig = void 0;
|
|
36
|
+
exports.CreateDataAgentSessionRequest = exports.CreateDataAgentSessionRequestSessionConfig = exports.CreateDataAgentSessionRequestSessionConfigMcpHeaders = exports.CreateDataAgentSessionRequestSessionConfigMcpHeadersMcpHeader = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class CreateDataAgentSessionRequestSessionConfigMcpHeadersMcpHeader extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
key: 'Key',
|
|
43
|
+
value: 'Value',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
key: 'string',
|
|
49
|
+
value: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.CreateDataAgentSessionRequestSessionConfigMcpHeadersMcpHeader = CreateDataAgentSessionRequestSessionConfigMcpHeadersMcpHeader;
|
|
60
|
+
class CreateDataAgentSessionRequestSessionConfigMcpHeaders extends $dara.Model {
|
|
61
|
+
static names() {
|
|
62
|
+
return {
|
|
63
|
+
mcpHeader: 'McpHeader',
|
|
64
|
+
mcpServerId: 'McpServerId',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
static types() {
|
|
68
|
+
return {
|
|
69
|
+
mcpHeader: { 'type': 'array', 'itemType': CreateDataAgentSessionRequestSessionConfigMcpHeadersMcpHeader },
|
|
70
|
+
mcpServerId: 'string',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
validate() {
|
|
74
|
+
if (Array.isArray(this.mcpHeader)) {
|
|
75
|
+
$dara.Model.validateArray(this.mcpHeader);
|
|
76
|
+
}
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
constructor(map) {
|
|
80
|
+
super(map);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.CreateDataAgentSessionRequestSessionConfigMcpHeaders = CreateDataAgentSessionRequestSessionConfigMcpHeaders;
|
|
39
84
|
class CreateDataAgentSessionRequestSessionConfig extends $dara.Model {
|
|
40
85
|
static names() {
|
|
41
86
|
return {
|
|
@@ -46,6 +91,7 @@ class CreateDataAgentSessionRequestSessionConfig extends $dara.Model {
|
|
|
46
91
|
encryptType: 'EncryptType',
|
|
47
92
|
kbUuidList: 'KbUuidList',
|
|
48
93
|
language: 'Language',
|
|
94
|
+
mcpHeaders: 'McpHeaders',
|
|
49
95
|
mcpServerIds: 'McpServerIds',
|
|
50
96
|
mode: 'Mode',
|
|
51
97
|
reportPageWidth: 'ReportPageWidth',
|
|
@@ -62,6 +108,7 @@ class CreateDataAgentSessionRequestSessionConfig extends $dara.Model {
|
|
|
62
108
|
encryptType: 'string',
|
|
63
109
|
kbUuidList: { 'type': 'array', 'itemType': 'string' },
|
|
64
110
|
language: 'string',
|
|
111
|
+
mcpHeaders: { 'type': 'array', 'itemType': CreateDataAgentSessionRequestSessionConfigMcpHeaders },
|
|
65
112
|
mcpServerIds: { 'type': 'array', 'itemType': 'string' },
|
|
66
113
|
mode: 'string',
|
|
67
114
|
reportPageWidth: 'number',
|
|
@@ -73,6 +120,9 @@ class CreateDataAgentSessionRequestSessionConfig extends $dara.Model {
|
|
|
73
120
|
if (Array.isArray(this.kbUuidList)) {
|
|
74
121
|
$dara.Model.validateArray(this.kbUuidList);
|
|
75
122
|
}
|
|
123
|
+
if (Array.isArray(this.mcpHeaders)) {
|
|
124
|
+
$dara.Model.validateArray(this.mcpHeaders);
|
|
125
|
+
}
|
|
76
126
|
if (Array.isArray(this.mcpServerIds)) {
|
|
77
127
|
$dara.Model.validateArray(this.mcpServerIds);
|
|
78
128
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDataAgentSessionRequest.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentSessionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0CAA2C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateDataAgentSessionRequest.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentSessionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6DAA8D,SAAQ,KAAK,CAAC,KAAK;IAiB5F,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,QAAQ;YACb,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,sIAsCC;AAED,MAAa,oDAAqD,SAAQ,KAAK,CAAC,KAAK;IAcnF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAA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AAC,aAAa,IAAI,OAAQ,IAAI,CAAC,aAAqB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnF,IAAI,CAAC,aAAqB,CAAC,QAAQ,EAAE,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,sEAoEC"}
|
|
@@ -11,10 +11,8 @@ export declare class CreateDataAgentSessionResponseBodyDataSessionConfig extends
|
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
13
|
* The stage of the custom agent. Valid values:
|
|
14
|
-
*
|
|
15
|
-
* - **
|
|
16
|
-
*
|
|
17
|
-
* - **prod**: Production stage
|
|
14
|
+
* - **debug**: the debugging stage.
|
|
15
|
+
* - **prod**: the production stage.
|
|
18
16
|
*
|
|
19
17
|
* @example
|
|
20
18
|
* debug
|
|
@@ -22,22 +20,38 @@ export declare class CreateDataAgentSessionResponseBodyDataSessionConfig extends
|
|
|
22
20
|
customAgentStage?: string;
|
|
23
21
|
/**
|
|
24
22
|
* @remarks
|
|
25
|
-
*
|
|
23
|
+
* Specifies whether to enable web search.
|
|
26
24
|
*
|
|
27
25
|
* @example
|
|
28
26
|
* true
|
|
29
27
|
*/
|
|
30
28
|
enableSearch?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* The encryption key.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* null
|
|
35
|
+
*/
|
|
31
36
|
encryptKey?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* The encryption type.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* null
|
|
43
|
+
*/
|
|
32
44
|
encryptType?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @remarks
|
|
47
|
+
* The list of knowledge base IDs.
|
|
48
|
+
*/
|
|
33
49
|
kbUuidList?: string[];
|
|
34
50
|
/**
|
|
35
51
|
* @remarks
|
|
36
52
|
* The language. Valid values:
|
|
37
|
-
*
|
|
38
|
-
* - **
|
|
39
|
-
*
|
|
40
|
-
* - **ENGLISH**: English
|
|
53
|
+
* - **CHINESE**: Chinese.
|
|
54
|
+
* - **ENGLISH**: English.
|
|
41
55
|
*
|
|
42
56
|
* @example
|
|
43
57
|
* CHINESE
|
|
@@ -45,30 +59,39 @@ export declare class CreateDataAgentSessionResponseBodyDataSessionConfig extends
|
|
|
45
59
|
language?: string;
|
|
46
60
|
/**
|
|
47
61
|
* @remarks
|
|
48
|
-
*
|
|
62
|
+
* The list of MCP server IDs in the session configuration.
|
|
49
63
|
*/
|
|
50
64
|
mcpServerIds?: string[];
|
|
51
65
|
/**
|
|
52
66
|
* @remarks
|
|
53
67
|
* The mode. Valid values:
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* - **ANALYSIS**: Analysis Mode
|
|
58
|
-
*
|
|
59
|
-
* - **INSIGHT**: Insight Mode
|
|
68
|
+
* - **ASK_DATA**: the data query mode.
|
|
69
|
+
* - **ANALYSIS**: the analysis mode.
|
|
70
|
+
* - **INSIGHT**: the insight mode.
|
|
60
71
|
*
|
|
61
72
|
* @example
|
|
62
73
|
* ANALYSIS
|
|
63
74
|
*/
|
|
64
75
|
mode?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The report page width.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* 0
|
|
82
|
+
*/
|
|
65
83
|
reportPageWidth?: number;
|
|
66
|
-
reportWaterMark?: string;
|
|
67
84
|
/**
|
|
68
85
|
* @remarks
|
|
69
|
-
* The
|
|
86
|
+
* The report watermark.
|
|
70
87
|
*
|
|
71
|
-
*
|
|
88
|
+
* @example
|
|
89
|
+
* null
|
|
90
|
+
*/
|
|
91
|
+
reportWaterMark?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The name of the user OSS bucket. Analysis process files and report artifacts can be uploaded to the specified OSS bucket.
|
|
72
95
|
*
|
|
73
96
|
* @example
|
|
74
97
|
* user-oss-bucket
|
|
@@ -88,7 +111,7 @@ export declare class CreateDataAgentSessionResponseBodyDataSessionConfig extends
|
|
|
88
111
|
export declare class CreateDataAgentSessionResponseBodyData extends $dara.Model {
|
|
89
112
|
/**
|
|
90
113
|
* @remarks
|
|
91
|
-
*
|
|
114
|
+
* Agent Id
|
|
92
115
|
*
|
|
93
116
|
* @example
|
|
94
117
|
* cu0cs*******mf
|
|
@@ -104,7 +127,7 @@ export declare class CreateDataAgentSessionResponseBodyData extends $dara.Model
|
|
|
104
127
|
agentStatus?: string;
|
|
105
128
|
/**
|
|
106
129
|
* @remarks
|
|
107
|
-
* The time
|
|
130
|
+
* The creation time of the session.
|
|
108
131
|
*
|
|
109
132
|
* @example
|
|
110
133
|
* 1765262307992
|
|
@@ -112,7 +135,7 @@ export declare class CreateDataAgentSessionResponseBodyData extends $dara.Model
|
|
|
112
135
|
createTime?: number;
|
|
113
136
|
/**
|
|
114
137
|
* @remarks
|
|
115
|
-
* The
|
|
138
|
+
* The basic information of the file.
|
|
116
139
|
*
|
|
117
140
|
* @example
|
|
118
141
|
* f-8*******01m
|
|
@@ -120,7 +143,7 @@ export declare class CreateDataAgentSessionResponseBodyData extends $dara.Model
|
|
|
120
143
|
file?: string;
|
|
121
144
|
/**
|
|
122
145
|
* @remarks
|
|
123
|
-
* Indicates whether the
|
|
146
|
+
* Indicates whether the session is saved to the favorites of the current user.
|
|
124
147
|
*
|
|
125
148
|
* @example
|
|
126
149
|
* false
|
|
@@ -149,10 +172,10 @@ export declare class CreateDataAgentSessionResponseBodyData extends $dara.Model
|
|
|
149
172
|
sessionStatus?: string;
|
|
150
173
|
/**
|
|
151
174
|
* @remarks
|
|
152
|
-
* The
|
|
175
|
+
* The title.
|
|
153
176
|
*
|
|
154
177
|
* @example
|
|
155
|
-
*
|
|
178
|
+
* Help me analyze this data and generate a report
|
|
156
179
|
*/
|
|
157
180
|
title?: string;
|
|
158
181
|
static names(): {
|
|
@@ -169,7 +192,7 @@ export declare class CreateDataAgentSessionResponseBodyData extends $dara.Model
|
|
|
169
192
|
export declare class CreateDataAgentSessionResponseBody extends $dara.Model {
|
|
170
193
|
/**
|
|
171
194
|
* @remarks
|
|
172
|
-
* The response
|
|
195
|
+
* The response struct.
|
|
173
196
|
*/
|
|
174
197
|
data?: CreateDataAgentSessionResponseBodyData;
|
|
175
198
|
/**
|
|
@@ -182,7 +205,7 @@ export declare class CreateDataAgentSessionResponseBody extends $dara.Model {
|
|
|
182
205
|
errorCode?: string;
|
|
183
206
|
/**
|
|
184
207
|
* @remarks
|
|
185
|
-
* The error message returned if the request
|
|
208
|
+
* The error message returned if the request failed.
|
|
186
209
|
*
|
|
187
210
|
* @example
|
|
188
211
|
* UnknownError
|
|
@@ -190,7 +213,7 @@ export declare class CreateDataAgentSessionResponseBody extends $dara.Model {
|
|
|
190
213
|
errorMessage?: string;
|
|
191
214
|
/**
|
|
192
215
|
* @remarks
|
|
193
|
-
*
|
|
216
|
+
* Id of the request
|
|
194
217
|
*
|
|
195
218
|
* @example
|
|
196
219
|
* 1CB***********3F1A
|
|
@@ -201,7 +224,6 @@ export declare class CreateDataAgentSessionResponseBody extends $dara.Model {
|
|
|
201
224
|
* Indicates whether the request was successful. Valid values:
|
|
202
225
|
*
|
|
203
226
|
* - **true**: The request was successful.
|
|
204
|
-
*
|
|
205
227
|
* - **false**: The request failed.
|
|
206
228
|
*
|
|
207
229
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDataAgentSessionResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentSessionResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mDAAoD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
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MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,sCAAsC;YAC5C,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvED,gFAuEC"}
|
|
@@ -23,10 +23,10 @@ export declare class CreateDataAgentSessionShrinkRequest extends $dara.Model {
|
|
|
23
23
|
sessionConfigShrink?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The
|
|
26
|
+
* The title. Chinese and English characters are supported. Maximum length: 128 characters.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
|
-
*
|
|
29
|
+
* Help me analyze this data and generate a report
|
|
30
30
|
*/
|
|
31
31
|
title?: string;
|
|
32
32
|
/**
|
|
@@ -2,11 +2,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateDataAgentThemeRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The scenario, which affects the filtering when you view the theme list in the console. Valid values:
|
|
6
6
|
*
|
|
7
|
-
* - (Recommended) custom:
|
|
8
|
-
* - report:
|
|
9
|
-
* - (Not supported) infographic:
|
|
7
|
+
* - (Recommended) custom: A user-uploaded custom theme with no preset style or information organization structure.
|
|
8
|
+
* - report: A web report that conforms to the DataAgent information organization structure.
|
|
9
|
+
* - (Not supported) infographic: An infographic that conforms to the DataAgent information organization structure.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* custom
|
|
@@ -24,9 +24,9 @@ export declare class CreateDataAgentThemeRequest extends $dara.Model {
|
|
|
24
24
|
* @remarks
|
|
25
25
|
* The file source, which affects the backend logic for determining whether the theme is valid. Valid values:
|
|
26
26
|
*
|
|
27
|
-
* - upload: uploaded through OSS.
|
|
28
|
-
* - (Not supported) public_url:
|
|
29
|
-
* - (Not supported) user_oss: provided through a user OSS URL.
|
|
27
|
+
* - upload: The file is uploaded through OSS.
|
|
28
|
+
* - (Not supported) public_url: The file is provided through a public network access OSS URL.
|
|
29
|
+
* - (Not supported) user_oss: The file is provided through a user OSS URL.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* upload
|
|
@@ -42,7 +42,7 @@ export declare class CreateDataAgentThemeRequest extends $dara.Model {
|
|
|
42
42
|
themeId?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The display name of the theme. The value can be up to 64 characters in length. This parameter is required
|
|
45
|
+
* The display name of the theme. The value can be up to 64 characters in length. This parameter is required when you create a theme.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* weekly report
|
|
@@ -59,6 +59,14 @@ export declare class CreateDataAgentThemeRequest extends $dara.Model {
|
|
|
59
59
|
* template
|
|
60
60
|
*/
|
|
61
61
|
themeType?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The workspace to which the theme belongs. If this parameter is not specified or is set to personal, the personal workspace is used. You can also specify a collaboration workspace ID.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* 99fad******qg6c0l4nlacu
|
|
68
|
+
*/
|
|
69
|
+
workspaceId?: string;
|
|
62
70
|
static names(): {
|
|
63
71
|
[key: string]: string;
|
|
64
72
|
};
|
|
@@ -45,6 +45,7 @@ class CreateDataAgentThemeRequest extends $dara.Model {
|
|
|
45
45
|
themeId: 'ThemeId',
|
|
46
46
|
themeName: 'ThemeName',
|
|
47
47
|
themeType: 'ThemeType',
|
|
48
|
+
workspaceId: 'WorkspaceId',
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
static types() {
|
|
@@ -55,6 +56,7 @@ class CreateDataAgentThemeRequest extends $dara.Model {
|
|
|
55
56
|
themeId: 'string',
|
|
56
57
|
themeName: 'string',
|
|
57
58
|
themeType: 'string',
|
|
59
|
+
workspaceId: 'string',
|
|
58
60
|
};
|
|
59
61
|
}
|
|
60
62
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDataAgentThemeRequest.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentThemeRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateDataAgentThemeRequest.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentThemeRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAoE1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnGD,kEAmGC"}
|
|
@@ -32,7 +32,7 @@ export declare class CreateDataAgentThemeResponseBody extends $dara.Model {
|
|
|
32
32
|
data?: CreateDataAgentThemeResponseBodyData;
|
|
33
33
|
/**
|
|
34
34
|
* @remarks
|
|
35
|
-
* The error code returned when the request
|
|
35
|
+
* The error code returned when the request fails.
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
38
|
* UnknownError
|
|
@@ -40,7 +40,7 @@ export declare class CreateDataAgentThemeResponseBody extends $dara.Model {
|
|
|
40
40
|
errorCode?: string;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The error message returned when the
|
|
43
|
+
* The error message returned when the request fails.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* UnknownError
|