@alicloud/dms20250414 1.24.1 → 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 +30 -28
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +14 -14
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +21 -13
- 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 +30 -28
- package/src/models/SendChatMessageShrinkRequest.ts +14 -14
- package/src/models/model.ts +4 -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,13 +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
8
|
disallowedColumns?: string[];
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
-
* 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.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* region = \\"east\\"
|
|
@@ -16,7 +16,7 @@ export declare class SendChatMessageRequestDataSourcePermissionTables extends $d
|
|
|
16
16
|
requiredRowFilter?: string;
|
|
17
17
|
/**
|
|
18
18
|
* @remarks
|
|
19
|
-
* The table
|
|
19
|
+
* The name of the table to which the permission constraint rule applies.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* sample_table
|
|
@@ -61,7 +61,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
|
|
|
61
61
|
dataSourceId?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* 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.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* remote_data_center
|
|
@@ -155,13 +155,13 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
|
|
|
155
155
|
export declare class SendChatMessageRequestDataSourcesPermissionTables extends $dara.Model {
|
|
156
156
|
/**
|
|
157
157
|
* @remarks
|
|
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 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.
|
|
159
159
|
*/
|
|
160
160
|
allowedColumns?: string[];
|
|
161
161
|
disallowedColumns?: string[];
|
|
162
162
|
/**
|
|
163
163
|
* @remarks
|
|
164
|
-
* 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.
|
|
165
165
|
*
|
|
166
166
|
* @example
|
|
167
167
|
* region = \\"east\\"
|
|
@@ -169,7 +169,7 @@ export declare class SendChatMessageRequestDataSourcesPermissionTables extends $
|
|
|
169
169
|
requiredRowFilter?: string;
|
|
170
170
|
/**
|
|
171
171
|
* @remarks
|
|
172
|
-
* The table
|
|
172
|
+
* The name of the table to which the permission constraint rule applies.
|
|
173
173
|
*
|
|
174
174
|
* @example
|
|
175
175
|
* sample_table
|
|
@@ -214,7 +214,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
|
|
|
214
214
|
dataSourceId?: string;
|
|
215
215
|
/**
|
|
216
216
|
* @remarks
|
|
217
|
-
* 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.
|
|
218
218
|
*
|
|
219
219
|
* @example
|
|
220
220
|
* remote_data_center
|
|
@@ -308,7 +308,9 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
|
|
|
308
308
|
export declare class SendChatMessageRequestSessionConfigPermissionConfig extends $dara.Model {
|
|
309
309
|
/**
|
|
310
310
|
* @remarks
|
|
311
|
-
*
|
|
311
|
+
* The default behavior for unconfigured tables. Valid values:
|
|
312
|
+
* - allow: Allow. This is the default value.
|
|
313
|
+
* - deny: Deny.
|
|
312
314
|
*/
|
|
313
315
|
defaultAction?: string;
|
|
314
316
|
static names(): {
|
|
@@ -384,12 +386,12 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
|
|
|
384
386
|
mode?: string;
|
|
385
387
|
/**
|
|
386
388
|
* @remarks
|
|
387
|
-
* session
|
|
389
|
+
* The session-level permission configuration. This parameter specifies only the default behavior for unconfigured tables.
|
|
388
390
|
*/
|
|
389
391
|
permissionConfig?: SendChatMessageRequestSessionConfigPermissionConfig;
|
|
390
392
|
/**
|
|
391
393
|
* @remarks
|
|
392
|
-
* Specifies whether to enable the plan. Valid values: disable, enable, force. Default value: enable.
|
|
394
|
+
* Specifies whether to enable the plan. Valid values: disable, enable, and force. Default value: enable.
|
|
393
395
|
*
|
|
394
396
|
* @example
|
|
395
397
|
* disable
|
|
@@ -397,7 +399,7 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
|
|
|
397
399
|
planMode?: string;
|
|
398
400
|
/**
|
|
399
401
|
* @remarks
|
|
400
|
-
* The text
|
|
402
|
+
* The text of up to 64 characters that is used as a watermark in the generated PDF report.
|
|
401
403
|
*
|
|
402
404
|
* @example
|
|
403
405
|
* sample-watermark
|
|
@@ -458,7 +460,7 @@ export declare class SendChatMessageRequestTaskConfigReportConfig extends $dara.
|
|
|
458
460
|
reportPrompt?: string;
|
|
459
461
|
/**
|
|
460
462
|
* @remarks
|
|
461
|
-
* The report theme. Valid values: default, journal, legacy, neobrutalism.
|
|
463
|
+
* The report theme. Valid values: default, journal, legacy, and neobrutalism.
|
|
462
464
|
*
|
|
463
465
|
* @example
|
|
464
466
|
* default
|
|
@@ -466,7 +468,7 @@ export declare class SendChatMessageRequestTaskConfigReportConfig extends $dara.
|
|
|
466
468
|
reportTheme?: string;
|
|
467
469
|
/**
|
|
468
470
|
* @remarks
|
|
469
|
-
* 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.
|
|
470
472
|
*
|
|
471
473
|
* @example
|
|
472
474
|
* WebReport
|
|
@@ -503,7 +505,7 @@ export declare class SendChatMessageRequestTaskConfig extends $dara.Model {
|
|
|
503
505
|
export declare class SendChatMessageRequest extends $dara.Model {
|
|
504
506
|
/**
|
|
505
507
|
* @remarks
|
|
506
|
-
* **[
|
|
508
|
+
* **[Deprecated]** This field is now automatically obtained by the backend. You do not need to specify this field.
|
|
507
509
|
*
|
|
508
510
|
* @example
|
|
509
511
|
* agent_***
|
|
@@ -511,7 +513,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
511
513
|
agentId?: string;
|
|
512
514
|
/**
|
|
513
515
|
* @remarks
|
|
514
|
-
* **[
|
|
516
|
+
* **[Deprecated]** This field is now automatically obtained by the backend. You do not need to specify this field when calling the API.
|
|
515
517
|
*
|
|
516
518
|
* @example
|
|
517
519
|
* cn-hangzhou
|
|
@@ -532,7 +534,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
532
534
|
dataSources?: SendChatMessageRequestDataSources[];
|
|
533
535
|
/**
|
|
534
536
|
* @remarks
|
|
535
|
-
* The message
|
|
537
|
+
* The content of the message to send to the Agent.
|
|
536
538
|
*
|
|
537
539
|
* This parameter is required.
|
|
538
540
|
*
|
|
@@ -544,13 +546,13 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
544
546
|
* @remarks
|
|
545
547
|
* The message type. Default value: `[primary]`.
|
|
546
548
|
*
|
|
547
|
-
* - For regular interactions with the Agent, the message type
|
|
549
|
+
* - For regular interactions with the Agent, set the message type to `[primary]`.
|
|
548
550
|
*
|
|
549
|
-
* - 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]`.
|
|
550
552
|
*
|
|
551
|
-
* - When the message
|
|
553
|
+
* - When the message triggers a report generation, set the type to `[report]`.
|
|
552
554
|
*
|
|
553
|
-
* - When the message
|
|
555
|
+
* - When the message cancels the current session, set the type to `[cancel]`.
|
|
554
556
|
*
|
|
555
557
|
* @example
|
|
556
558
|
* primary
|
|
@@ -566,10 +568,10 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
566
568
|
parentSessionId?: string;
|
|
567
569
|
/**
|
|
568
570
|
* @remarks
|
|
569
|
-
* 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.
|
|
570
572
|
*
|
|
571
573
|
* @example
|
|
572
|
-
*
|
|
574
|
+
* Provide the criteria for calculating GMV
|
|
573
575
|
*/
|
|
574
576
|
question?: string;
|
|
575
577
|
/**
|
|
@@ -584,9 +586,9 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
584
586
|
* @remarks
|
|
585
587
|
* **Important**
|
|
586
588
|
*
|
|
587
|
-
* 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".
|
|
588
590
|
*
|
|
589
|
-
* 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.
|
|
590
592
|
*
|
|
591
593
|
* @example
|
|
592
594
|
* 0
|
|
@@ -603,8 +605,8 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
603
605
|
/**
|
|
604
606
|
* @remarks
|
|
605
607
|
* The session ID. This is an optional field used for multi-turn conversations.
|
|
606
|
-
* - You can start a
|
|
607
|
-
* - 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.
|
|
608
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.
|
|
609
611
|
*
|
|
610
612
|
* @example
|
|
@@ -618,7 +620,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
618
620
|
taskConfig?: SendChatMessageRequestTaskConfig;
|
|
619
621
|
/**
|
|
620
622
|
* @remarks
|
|
621
|
-
* 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.
|
|
622
624
|
*
|
|
623
625
|
* @example
|
|
624
626
|
* my-bucket
|