@alicloud/dms20250414 1.24.1 → 2.0.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 +27 -6
- package/dist/client.js +72 -16
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDataAgentFeedbackRequest.d.ts +102 -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 +137 -0
- package/dist/models/CreateDataAgentFeedbackResponseBody.js +104 -0
- package/dist/models/CreateDataAgentFeedbackResponseBody.js.map +1 -0
- package/dist/models/ListCustomAgentRequest.d.ts +5 -5
- package/dist/models/ListCustomAgentResponseBody.d.ts +42 -50
- package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
- package/dist/models/SendChatMessageRequest.d.ts +54 -27
- package/dist/models/SendChatMessageRequest.js +9 -3
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +12 -12
- 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 +82 -16
- package/src/models/CreateDataAgentFeedbackRequest.ts +129 -0
- package/src/models/CreateDataAgentFeedbackResponse.ts +40 -0
- package/src/models/CreateDataAgentFeedbackResponseBody.ts +187 -0
- package/src/models/ListCustomAgentRequest.ts +5 -5
- package/src/models/ListCustomAgentResponseBody.ts +43 -51
- package/src/models/SendChatMessageRequest.ts +63 -30
- package/src/models/SendChatMessageShrinkRequest.ts +12 -12
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CreateDataAgentFeedbackRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The current DMS unit.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* cn-hangzhou
|
|
9
|
+
*/
|
|
10
|
+
DMSUnit?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The feedback content. You can directly enter the feedback content, or pass a JSON string for the issue report scenario as shown in the example. The feedback_type field corresponds to the issue type, user_feedback corresponds to the issue description, email corresponds to the contact email address, and is_authorized indicates whether to authorize log access for troubleshooting.
|
|
14
|
+
*
|
|
15
|
+
* feedback_type issue types. Valid values:
|
|
16
|
+
*
|
|
17
|
+
* - **ANALYSIS_RESULT_INACCURATE**: Inaccurate analysis result.
|
|
18
|
+
* - **RUNTIME_ERROR**: Runtime error.
|
|
19
|
+
* - **REPORT_EXCEPTION**: Report exception.
|
|
20
|
+
* - **SLOW_RESPONSE**: Slow response.
|
|
21
|
+
* - **PRODUCT_SUGGESTION**: Product suggestion.
|
|
22
|
+
* - **OTHER**: Other.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* {"feedback_type":"PRODUCT_SUGGESTION","user_feedback": "test","email":"yourname@example.com","is_authorized":"Y"}
|
|
26
|
+
*/
|
|
27
|
+
feedbackContent?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The feedback type. Valid values:
|
|
31
|
+
*
|
|
32
|
+
* - **ISSUE_REPORT**: issue report.
|
|
33
|
+
* - **CANCEL_CHAT**: task cancellation.
|
|
34
|
+
* - **LIKE**: like.
|
|
35
|
+
* - **DISLIKE**: dislike.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ISSUE_REPORT
|
|
39
|
+
*/
|
|
40
|
+
feedbackType?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* The like value. This parameter is used only for like and dislike scenarios. Do not pass this parameter for other scenarios. Valid values:
|
|
44
|
+
*
|
|
45
|
+
* - **1**: like.
|
|
46
|
+
* - **-1**: dislike.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* 1
|
|
50
|
+
*/
|
|
51
|
+
likeValue?: number;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The agent session ID.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* h8r********4fch
|
|
58
|
+
*/
|
|
59
|
+
sessionId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The feedback target ID.
|
|
63
|
+
*
|
|
64
|
+
* - For issue reports, use SessionId + underscore + random UUID.
|
|
65
|
+
* - For other feedback types, pass the checkpoint of the current SSE message stream.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* h8r********4fch_sdesfews
|
|
69
|
+
*/
|
|
70
|
+
targetId?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The feedback target. Valid values:
|
|
74
|
+
*
|
|
75
|
+
* - **SESSION**: session (used for issue reports).
|
|
76
|
+
* - **CHAT**: chat (used for task cancellation).
|
|
77
|
+
* - **REPORT**: report.
|
|
78
|
+
* - **PLAN**: execution plan.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* SESSION
|
|
82
|
+
*/
|
|
83
|
+
targetType?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The workspace ID.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* 56kv1pvl9uvt9**********bb
|
|
90
|
+
*/
|
|
91
|
+
workspaceId?: string;
|
|
92
|
+
static names(): {
|
|
93
|
+
[key: string]: string;
|
|
94
|
+
};
|
|
95
|
+
static types(): {
|
|
96
|
+
[key: string]: any;
|
|
97
|
+
};
|
|
98
|
+
validate(): void;
|
|
99
|
+
constructor(map?: {
|
|
100
|
+
[key: string]: any;
|
|
101
|
+
});
|
|
102
|
+
}
|
|
@@ -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;IA0F7D,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;AA3HD,wEA2HC"}
|
|
@@ -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,137 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CreateDataAgentFeedbackResponseBodyData extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The feedback content.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* {"feedback_type":"PRODUCT_SUGGESTION","user_feedback": "test","email":"yourname@example.com","is_authorized":"Y"}
|
|
9
|
+
*/
|
|
10
|
+
feedbackContent?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The feedback type.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ISSUE_REPORT
|
|
17
|
+
*/
|
|
18
|
+
feedbackType?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The like value.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 1
|
|
25
|
+
*/
|
|
26
|
+
likeValue?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The region.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* cn-hangzhou
|
|
33
|
+
*/
|
|
34
|
+
regionId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The agent session ID.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* h8r********4fch
|
|
41
|
+
*/
|
|
42
|
+
sessionId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The feedback target ID.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* h8r********4fch_sdesfews
|
|
49
|
+
*/
|
|
50
|
+
targetId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The feedback target.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* SESSION
|
|
57
|
+
*/
|
|
58
|
+
targetType?: string;
|
|
59
|
+
static names(): {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
};
|
|
62
|
+
static types(): {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
};
|
|
65
|
+
validate(): void;
|
|
66
|
+
constructor(map?: {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
export declare class CreateDataAgentFeedbackResponseBody extends $dara.Model {
|
|
71
|
+
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The status code.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* 200
|
|
77
|
+
*/
|
|
78
|
+
code?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* The response struct.
|
|
82
|
+
*/
|
|
83
|
+
data?: CreateDataAgentFeedbackResponseBodyData;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The error code.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* success
|
|
90
|
+
*/
|
|
91
|
+
errorCode?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The HTTP status code.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* 200
|
|
98
|
+
*/
|
|
99
|
+
httpStatusCode?: number;
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* The error message returned if the request failed.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* Specified parameter Tid is not valid.
|
|
106
|
+
*/
|
|
107
|
+
message?: string;
|
|
108
|
+
/**
|
|
109
|
+
* @remarks
|
|
110
|
+
* Id of the request
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* 89a07eac-96ff-48be-983b-f22c55*****
|
|
114
|
+
*/
|
|
115
|
+
requestId?: string;
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* Indicates whether the request was successful. Valid values:
|
|
119
|
+
*
|
|
120
|
+
* - **true**: The request was successful.
|
|
121
|
+
* - **false**: The request failed.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* true
|
|
125
|
+
*/
|
|
126
|
+
success?: boolean;
|
|
127
|
+
static names(): {
|
|
128
|
+
[key: string]: string;
|
|
129
|
+
};
|
|
130
|
+
static types(): {
|
|
131
|
+
[key: string]: any;
|
|
132
|
+
};
|
|
133
|
+
validate(): void;
|
|
134
|
+
constructor(map?: {
|
|
135
|
+
[key: string]: any;
|
|
136
|
+
});
|
|
137
|
+
}
|
|
@@ -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;IAyDtE,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;AAxFD,0FAwFC;AAED,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAyDlE,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;AA3FD,kFA2FC"}
|
|
@@ -10,7 +10,7 @@ export declare class ListCustomAgentRequest extends $dara.Model {
|
|
|
10
10
|
pageNumber?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The page
|
|
13
|
+
* The number of records per page. Default value: 20.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 20
|
|
@@ -18,7 +18,7 @@ export declare class ListCustomAgentRequest extends $dara.Model {
|
|
|
18
18
|
pageSize?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* Specifies whether to query all
|
|
21
|
+
* Specifies whether to query all custom agents in the published state. Default value: false.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* true
|
|
@@ -26,10 +26,10 @@ export declare class ListCustomAgentRequest extends $dara.Model {
|
|
|
26
26
|
queryAllReleased?: boolean;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
*
|
|
29
|
+
* The search keyword. Supports fuzzy search by custom agent name and description.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
|
-
*
|
|
32
|
+
* TestAgent
|
|
33
33
|
*/
|
|
34
34
|
searchKey?: string;
|
|
35
35
|
/**
|
|
@@ -42,7 +42,7 @@ export declare class ListCustomAgentRequest extends $dara.Model {
|
|
|
42
42
|
status?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The ID
|
|
45
|
+
* The workspace ID.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* 56kv1pvl9uvt9**********bb
|