@alicloud/dms20250414 1.24.0 → 1.25.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 +17 -2
- package/dist/client.js +62 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDataAgentFeedbackRequest.d.ts +53 -0
- package/dist/models/CreateDataAgentFeedbackRequest.js +72 -0
- package/dist/models/CreateDataAgentFeedbackRequest.js.map +1 -0
- package/dist/models/CreateDataAgentFeedbackResponse.d.ts +19 -0
- package/dist/models/CreateDataAgentFeedbackResponse.js +69 -0
- package/dist/models/CreateDataAgentFeedbackResponse.js.map +1 -0
- package/dist/models/CreateDataAgentFeedbackResponseBody.d.ts +91 -0
- package/dist/models/CreateDataAgentFeedbackResponseBody.js +104 -0
- package/dist/models/CreateDataAgentFeedbackResponseBody.js.map +1 -0
- package/dist/models/SendChatMessageRequest.d.ts +52 -26
- package/dist/models/SendChatMessageRequest.js +35 -1
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +14 -14
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +28 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +72 -2
- package/src/models/CreateDataAgentFeedbackRequest.ts +80 -0
- package/src/models/CreateDataAgentFeedbackResponse.ts +40 -0
- package/src/models/CreateDataAgentFeedbackResponseBody.ts +141 -0
- package/src/models/SendChatMessageRequest.ts +77 -26
- package/src/models/SendChatMessageShrinkRequest.ts +14 -14
- package/src/models/model.ts +5 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CreateDataAgentFeedbackRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* cn-hangzhou
|
|
6
|
+
*/
|
|
7
|
+
DMSUnit?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* {"feedback_type":"PRODUCT_SUGGESTION","user_feedback": "test","email":"yourname@example.com","is_authorized":"Y"}
|
|
11
|
+
*/
|
|
12
|
+
feedbackContent?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* ISSUE_REPORT
|
|
16
|
+
*/
|
|
17
|
+
feedbackType?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* 1
|
|
21
|
+
*/
|
|
22
|
+
likeValue?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* h8r********4fch
|
|
26
|
+
*/
|
|
27
|
+
sessionId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* h8r********4fch_sdesfews
|
|
31
|
+
*/
|
|
32
|
+
targetId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* SESSION
|
|
36
|
+
*/
|
|
37
|
+
targetType?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* 56kv1pvl9uvt9**********bb
|
|
41
|
+
*/
|
|
42
|
+
workspaceId?: string;
|
|
43
|
+
static names(): {
|
|
44
|
+
[key: string]: string;
|
|
45
|
+
};
|
|
46
|
+
static types(): {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
};
|
|
49
|
+
validate(): void;
|
|
50
|
+
constructor(map?: {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.CreateDataAgentFeedbackRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class CreateDataAgentFeedbackRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
DMSUnit: 'DMSUnit',
|
|
43
|
+
feedbackContent: 'FeedbackContent',
|
|
44
|
+
feedbackType: 'FeedbackType',
|
|
45
|
+
likeValue: 'LikeValue',
|
|
46
|
+
sessionId: 'SessionId',
|
|
47
|
+
targetId: 'TargetId',
|
|
48
|
+
targetType: 'TargetType',
|
|
49
|
+
workspaceId: 'WorkspaceId',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static types() {
|
|
53
|
+
return {
|
|
54
|
+
DMSUnit: 'string',
|
|
55
|
+
feedbackContent: 'string',
|
|
56
|
+
feedbackType: 'string',
|
|
57
|
+
likeValue: 'number',
|
|
58
|
+
sessionId: 'string',
|
|
59
|
+
targetId: 'string',
|
|
60
|
+
targetType: 'string',
|
|
61
|
+
workspaceId: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
validate() {
|
|
65
|
+
super.validate();
|
|
66
|
+
}
|
|
67
|
+
constructor(map) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.CreateDataAgentFeedbackRequest = CreateDataAgentFeedbackRequest;
|
|
72
|
+
//# sourceMappingURL=CreateDataAgentFeedbackRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateDataAgentFeedbackRequest.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentFeedbackRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAyC7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,eAAe,EAAE,iBAAiB;YAClC,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,eAAe,EAAE,QAAQ;YACzB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,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;AA1ED,wEA0EC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { CreateDataAgentFeedbackResponseBody } from "./CreateDataAgentFeedbackResponseBody";
|
|
3
|
+
export declare class CreateDataAgentFeedbackResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: CreateDataAgentFeedbackResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.CreateDataAgentFeedbackResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const CreateDataAgentFeedbackResponseBody_1 = require("./CreateDataAgentFeedbackResponseBody");
|
|
40
|
+
class CreateDataAgentFeedbackResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: CreateDataAgentFeedbackResponseBody_1.CreateDataAgentFeedbackResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.CreateDataAgentFeedbackResponse = CreateDataAgentFeedbackResponse;
|
|
69
|
+
//# sourceMappingURL=CreateDataAgentFeedbackResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateDataAgentFeedbackResponse.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentFeedbackResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+FAA4F;AAG5F,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAI9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,yEAAmC;SAC1C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,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;AAjCD,0EAiCC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CreateDataAgentFeedbackResponseBodyData extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* {"feedback_type":"PRODUCT_SUGGESTION","user_feedback": "test","email":"yourname@example.com","is_authorized":"Y"}
|
|
6
|
+
*/
|
|
7
|
+
feedbackContent?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* ISSUE_REPORT
|
|
11
|
+
*/
|
|
12
|
+
feedbackType?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* 1
|
|
16
|
+
*/
|
|
17
|
+
likeValue?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* cn-hangzhou
|
|
21
|
+
*/
|
|
22
|
+
regionId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* h8r********4fch
|
|
26
|
+
*/
|
|
27
|
+
sessionId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* h8r********4fch_sdesfews
|
|
31
|
+
*/
|
|
32
|
+
targetId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* SESSION
|
|
36
|
+
*/
|
|
37
|
+
targetType?: string;
|
|
38
|
+
static names(): {
|
|
39
|
+
[key: string]: string;
|
|
40
|
+
};
|
|
41
|
+
static types(): {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
};
|
|
44
|
+
validate(): void;
|
|
45
|
+
constructor(map?: {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
export declare class CreateDataAgentFeedbackResponseBody extends $dara.Model {
|
|
50
|
+
/**
|
|
51
|
+
* @example
|
|
52
|
+
* 200
|
|
53
|
+
*/
|
|
54
|
+
code?: string;
|
|
55
|
+
data?: CreateDataAgentFeedbackResponseBodyData;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* success
|
|
59
|
+
*/
|
|
60
|
+
errorCode?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* 200
|
|
64
|
+
*/
|
|
65
|
+
httpStatusCode?: number;
|
|
66
|
+
/**
|
|
67
|
+
* @example
|
|
68
|
+
* Specified parameter Tid is not valid.
|
|
69
|
+
*/
|
|
70
|
+
message?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @example
|
|
73
|
+
* 89a07eac-96ff-48be-983b-f22c55*****
|
|
74
|
+
*/
|
|
75
|
+
requestId?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @example
|
|
78
|
+
* true
|
|
79
|
+
*/
|
|
80
|
+
success?: boolean;
|
|
81
|
+
static names(): {
|
|
82
|
+
[key: string]: string;
|
|
83
|
+
};
|
|
84
|
+
static types(): {
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
};
|
|
87
|
+
validate(): void;
|
|
88
|
+
constructor(map?: {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
});
|
|
91
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.CreateDataAgentFeedbackResponseBody = exports.CreateDataAgentFeedbackResponseBodyData = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class CreateDataAgentFeedbackResponseBodyData extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
feedbackContent: 'FeedbackContent',
|
|
43
|
+
feedbackType: 'FeedbackType',
|
|
44
|
+
likeValue: 'LikeValue',
|
|
45
|
+
regionId: 'RegionId',
|
|
46
|
+
sessionId: 'SessionId',
|
|
47
|
+
targetId: 'TargetId',
|
|
48
|
+
targetType: 'TargetType',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
static types() {
|
|
52
|
+
return {
|
|
53
|
+
feedbackContent: 'string',
|
|
54
|
+
feedbackType: 'string',
|
|
55
|
+
likeValue: 'number',
|
|
56
|
+
regionId: 'string',
|
|
57
|
+
sessionId: 'string',
|
|
58
|
+
targetId: 'string',
|
|
59
|
+
targetType: 'string',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
validate() {
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
constructor(map) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.CreateDataAgentFeedbackResponseBodyData = CreateDataAgentFeedbackResponseBodyData;
|
|
70
|
+
class CreateDataAgentFeedbackResponseBody extends $dara.Model {
|
|
71
|
+
static names() {
|
|
72
|
+
return {
|
|
73
|
+
code: 'Code',
|
|
74
|
+
data: 'Data',
|
|
75
|
+
errorCode: 'ErrorCode',
|
|
76
|
+
httpStatusCode: 'HttpStatusCode',
|
|
77
|
+
message: 'Message',
|
|
78
|
+
requestId: 'RequestId',
|
|
79
|
+
success: 'Success',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
static types() {
|
|
83
|
+
return {
|
|
84
|
+
code: 'string',
|
|
85
|
+
data: CreateDataAgentFeedbackResponseBodyData,
|
|
86
|
+
errorCode: 'string',
|
|
87
|
+
httpStatusCode: 'number',
|
|
88
|
+
message: 'string',
|
|
89
|
+
requestId: 'string',
|
|
90
|
+
success: 'boolean',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
validate() {
|
|
94
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
95
|
+
this.data.validate();
|
|
96
|
+
}
|
|
97
|
+
super.validate();
|
|
98
|
+
}
|
|
99
|
+
constructor(map) {
|
|
100
|
+
super(map);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.CreateDataAgentFeedbackResponseBody = CreateDataAgentFeedbackResponseBody;
|
|
104
|
+
//# sourceMappingURL=CreateDataAgentFeedbackResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateDataAgentFeedbackResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateDataAgentFeedbackResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAoCtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;SACrB,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;AAnED,0FAmEC;AAED,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAgClE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,cAAc,EAAE,gBAAgB;YAChC,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,uCAAuC;YAC7C,SAAS,EAAE,QAAQ;YACnB,cAAc,EAAE,QAAQ;YACxB,OAAO,EAAE,QAAQ;YACjB,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;AAlED,kFAkEC"}
|
|
@@ -2,12 +2,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class SendChatMessageRequestDataSourcePermissionTables extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The list of columns that are allowed to be queried in the current table. If this field is left empty, all columns can be queried. If specified, SQL statements that exceed the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure DataAgent analysis
|
|
5
|
+
* The list of columns that are allowed to be queried in the current table. If this field is left empty, all columns can be queried. If this field is specified, SQL statements that exceed the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure the effectiveness of DataAgent analysis, avoid specifying columns that exceed the allowed scope in the prompts, knowledge, or instructions modules of DataAgent. Otherwise, SQL statements without the required permissions are generated and blocked, which reduces the analysis speed and effectiveness of DataAgent.
|
|
6
6
|
*/
|
|
7
7
|
allowedColumns?: string[];
|
|
8
|
+
disallowedColumns?: string[];
|
|
8
9
|
/**
|
|
9
10
|
* @remarks
|
|
10
|
-
* The required row filter condition for the current table. If this field is left empty, it is ignored. If specified, all SQL statements involving this table are validated to check whether they
|
|
11
|
+
* The required row filter condition for the current table. If this field is left empty, it is ignored. If this field is specified, all SQL statements involving this table are validated to check whether they carry the filter field and whether the WHERE condition meets the constraints. SQL statements that do not meet the constraints are rejected. Ensure the format of the validation conditions is correct.
|
|
11
12
|
*
|
|
12
13
|
* @example
|
|
13
14
|
* region = \\"east\\"
|
|
@@ -15,7 +16,7 @@ export declare class SendChatMessageRequestDataSourcePermissionTables extends $d
|
|
|
15
16
|
requiredRowFilter?: string;
|
|
16
17
|
/**
|
|
17
18
|
* @remarks
|
|
18
|
-
* The table
|
|
19
|
+
* The name of the table to which the permission constraint rule applies.
|
|
19
20
|
*
|
|
20
21
|
* @example
|
|
21
22
|
* sample_table
|
|
@@ -60,7 +61,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
|
|
|
60
61
|
dataSourceId?: string;
|
|
61
62
|
/**
|
|
62
63
|
* @remarks
|
|
63
|
-
* The data source type. Valid values: `[remote_data_center, database]`,
|
|
64
|
+
* The data source type. Valid values: `[remote_data_center, database]`, which indicate that the analysis is performed on a file or a database.
|
|
64
65
|
*
|
|
65
66
|
* @example
|
|
66
67
|
* remote_data_center
|
|
@@ -154,12 +155,13 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
|
|
|
154
155
|
export declare class SendChatMessageRequestDataSourcesPermissionTables extends $dara.Model {
|
|
155
156
|
/**
|
|
156
157
|
* @remarks
|
|
157
|
-
* The list of columns that are allowed to be queried in the current table. If this field is left empty, all columns can be queried. If specified, SQL statements that exceed the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure DataAgent analysis
|
|
158
|
+
* The list of columns that are allowed to be queried in the current table. If this field is left empty, all columns can be queried. If this field is specified, SQL statements that exceed the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure the effectiveness of DataAgent analysis, avoid specifying columns that exceed the allowed scope in the prompts, knowledge, or instructions modules of DataAgent. Otherwise, SQL statements without the required permissions are generated and blocked, which reduces the analysis speed and effectiveness of DataAgent.
|
|
158
159
|
*/
|
|
159
160
|
allowedColumns?: string[];
|
|
161
|
+
disallowedColumns?: string[];
|
|
160
162
|
/**
|
|
161
163
|
* @remarks
|
|
162
|
-
* The required row filter condition for the current table. If this field is left empty, it is ignored. If specified, all SQL statements involving this table are validated to check whether they
|
|
164
|
+
* The required row filter condition for the current table. If this field is left empty, it is ignored. If this field is specified, all SQL statements involving this table are validated to check whether they carry the filter field and whether the WHERE condition meets the constraints. SQL statements that do not meet the constraints are rejected. Ensure the format of the validation conditions is correct.
|
|
163
165
|
*
|
|
164
166
|
* @example
|
|
165
167
|
* region = \\"east\\"
|
|
@@ -167,7 +169,7 @@ export declare class SendChatMessageRequestDataSourcesPermissionTables extends $
|
|
|
167
169
|
requiredRowFilter?: string;
|
|
168
170
|
/**
|
|
169
171
|
* @remarks
|
|
170
|
-
* The table
|
|
172
|
+
* The name of the table to which the permission constraint rule applies.
|
|
171
173
|
*
|
|
172
174
|
* @example
|
|
173
175
|
* sample_table
|
|
@@ -212,7 +214,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
|
|
|
212
214
|
dataSourceId?: string;
|
|
213
215
|
/**
|
|
214
216
|
* @remarks
|
|
215
|
-
* The data source type. Valid values: remote_data_center
|
|
217
|
+
* The data source type. Valid values: remote_data_center and database, which indicate that the analysis is performed on a file or a database.
|
|
216
218
|
*
|
|
217
219
|
* @example
|
|
218
220
|
* remote_data_center
|
|
@@ -303,6 +305,25 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
|
|
|
303
305
|
[key: string]: any;
|
|
304
306
|
});
|
|
305
307
|
}
|
|
308
|
+
export declare class SendChatMessageRequestSessionConfigPermissionConfig extends $dara.Model {
|
|
309
|
+
/**
|
|
310
|
+
* @remarks
|
|
311
|
+
* The default behavior for unconfigured tables. Valid values:
|
|
312
|
+
* - allow: Allow. This is the default value.
|
|
313
|
+
* - deny: Deny.
|
|
314
|
+
*/
|
|
315
|
+
defaultAction?: string;
|
|
316
|
+
static names(): {
|
|
317
|
+
[key: string]: string;
|
|
318
|
+
};
|
|
319
|
+
static types(): {
|
|
320
|
+
[key: string]: any;
|
|
321
|
+
};
|
|
322
|
+
validate(): void;
|
|
323
|
+
constructor(map?: {
|
|
324
|
+
[key: string]: any;
|
|
325
|
+
});
|
|
326
|
+
}
|
|
306
327
|
export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
|
|
307
328
|
/**
|
|
308
329
|
* @remarks
|
|
@@ -365,7 +386,12 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
|
|
|
365
386
|
mode?: string;
|
|
366
387
|
/**
|
|
367
388
|
* @remarks
|
|
368
|
-
*
|
|
389
|
+
* The session-level permission configuration. This parameter specifies only the default behavior for unconfigured tables.
|
|
390
|
+
*/
|
|
391
|
+
permissionConfig?: SendChatMessageRequestSessionConfigPermissionConfig;
|
|
392
|
+
/**
|
|
393
|
+
* @remarks
|
|
394
|
+
* Specifies whether to enable the plan. Valid values: disable, enable, and force. Default value: enable.
|
|
369
395
|
*
|
|
370
396
|
* @example
|
|
371
397
|
* disable
|
|
@@ -373,7 +399,7 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
|
|
|
373
399
|
planMode?: string;
|
|
374
400
|
/**
|
|
375
401
|
* @remarks
|
|
376
|
-
* The text
|
|
402
|
+
* The text of up to 64 characters that is used as a watermark in the generated PDF report.
|
|
377
403
|
*
|
|
378
404
|
* @example
|
|
379
405
|
* sample-watermark
|
|
@@ -434,7 +460,7 @@ export declare class SendChatMessageRequestTaskConfigReportConfig extends $dara.
|
|
|
434
460
|
reportPrompt?: string;
|
|
435
461
|
/**
|
|
436
462
|
* @remarks
|
|
437
|
-
* The report theme. Valid values: default, journal, legacy, neobrutalism.
|
|
463
|
+
* The report theme. Valid values: default, journal, legacy, and neobrutalism.
|
|
438
464
|
*
|
|
439
465
|
* @example
|
|
440
466
|
* default
|
|
@@ -442,7 +468,7 @@ export declare class SendChatMessageRequestTaskConfigReportConfig extends $dara.
|
|
|
442
468
|
reportTheme?: string;
|
|
443
469
|
/**
|
|
444
470
|
* @remarks
|
|
445
|
-
* The service type. Valid values: TextReport
|
|
471
|
+
* The service type. Valid values: TextReport and WebReport, which indicate that the task generates a text report or a web report. Currently only WebReport is supported.
|
|
446
472
|
*
|
|
447
473
|
* @example
|
|
448
474
|
* WebReport
|
|
@@ -479,7 +505,7 @@ export declare class SendChatMessageRequestTaskConfig extends $dara.Model {
|
|
|
479
505
|
export declare class SendChatMessageRequest extends $dara.Model {
|
|
480
506
|
/**
|
|
481
507
|
* @remarks
|
|
482
|
-
* **[
|
|
508
|
+
* **[Deprecated]** This field is now automatically obtained by the backend. You do not need to specify this field.
|
|
483
509
|
*
|
|
484
510
|
* @example
|
|
485
511
|
* agent_***
|
|
@@ -487,7 +513,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
487
513
|
agentId?: string;
|
|
488
514
|
/**
|
|
489
515
|
* @remarks
|
|
490
|
-
* **[
|
|
516
|
+
* **[Deprecated]** This field is now automatically obtained by the backend. You do not need to specify this field when calling the API.
|
|
491
517
|
*
|
|
492
518
|
* @example
|
|
493
519
|
* cn-hangzhou
|
|
@@ -508,7 +534,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
508
534
|
dataSources?: SendChatMessageRequestDataSources[];
|
|
509
535
|
/**
|
|
510
536
|
* @remarks
|
|
511
|
-
* The message
|
|
537
|
+
* The content of the message to send to the Agent.
|
|
512
538
|
*
|
|
513
539
|
* This parameter is required.
|
|
514
540
|
*
|
|
@@ -520,13 +546,13 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
520
546
|
* @remarks
|
|
521
547
|
* The message type. Default value: `[primary]`.
|
|
522
548
|
*
|
|
523
|
-
* - For regular interactions with the Agent, the message type
|
|
549
|
+
* - For regular interactions with the Agent, set the message type to `[primary]`.
|
|
524
550
|
*
|
|
525
|
-
* - When the message is a response to the Agent\\"s
|
|
551
|
+
* - When the message is a response to the Agent\\"s human-in-the-loop question, set the type to `[additional]`.
|
|
526
552
|
*
|
|
527
|
-
* - When the message
|
|
553
|
+
* - When the message triggers a report generation, set the type to `[report]`.
|
|
528
554
|
*
|
|
529
|
-
* - When the message
|
|
555
|
+
* - When the message cancels the current session, set the type to `[cancel]`.
|
|
530
556
|
*
|
|
531
557
|
* @example
|
|
532
558
|
* primary
|
|
@@ -542,10 +568,10 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
542
568
|
parentSessionId?: string;
|
|
543
569
|
/**
|
|
544
570
|
* @remarks
|
|
545
|
-
* This field is required when the message type is `additional`. Specify the specific question that the Agent asks the user through
|
|
571
|
+
* This field is required when the message type is `additional`. Specify the specific question that the Agent asks the user through the human-in-the-loop mechanism.
|
|
546
572
|
*
|
|
547
573
|
* @example
|
|
548
|
-
*
|
|
574
|
+
* Provide the criteria for calculating GMV
|
|
549
575
|
*/
|
|
550
576
|
question?: string;
|
|
551
577
|
/**
|
|
@@ -560,9 +586,9 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
560
586
|
* @remarks
|
|
561
587
|
* **Important**
|
|
562
588
|
*
|
|
563
|
-
* When this message is a reply to an Agent message (for example, the Agent asks a
|
|
589
|
+
* When this message is a reply to an Agent message (for example, the Agent asks a clarifying question through ASK_HUMAN), set reply_to to the exact Checkpoint sequence number carried in that Agent message. If this message is not a targeted reply, such as requesting the Agent to perform further in-depth analysis after the analysis is complete, leave reply_to empty or set it to "0".
|
|
564
590
|
*
|
|
565
|
-
* This field affects how the Agent decides to process the message. Passing an incorrect value may
|
|
591
|
+
* This field affects how the Agent decides to process the message. Passing an incorrect value may cause the analysis results to be less effective than expected.
|
|
566
592
|
*
|
|
567
593
|
* @example
|
|
568
594
|
* 0
|
|
@@ -579,8 +605,8 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
579
605
|
/**
|
|
580
606
|
* @remarks
|
|
581
607
|
* The session ID. This is an optional field used for multi-turn conversations.
|
|
582
|
-
* - You can start a
|
|
583
|
-
* - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when initiating a
|
|
608
|
+
* - You can start a session without specifying this field. The response includes the SessionID for the current session.
|
|
609
|
+
* - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when initiating a session.
|
|
584
610
|
* - If you need multi-turn conversations (such as follow-up questions or confirming execution plans), include the SessionID returned by the previous SendChatMessage call.
|
|
585
611
|
*
|
|
586
612
|
* @example
|
|
@@ -594,7 +620,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
594
620
|
taskConfig?: SendChatMessageRequestTaskConfig;
|
|
595
621
|
/**
|
|
596
622
|
* @remarks
|
|
597
|
-
* The
|
|
623
|
+
* The OSS bucket of the user. If this field is left empty, the analysis data is securely stored in the built-in storage.
|
|
598
624
|
*
|
|
599
625
|
* @example
|
|
600
626
|
* my-bucket
|