@alicloud/cams20200606 1.0.12 → 1.0.13
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 +4 -4
- package/dist/client.js +12 -12
- package/package.json +1 -1
- package/src/client.ts +16 -16
package/dist/client.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as $Util from '@alicloud/tea-util';
|
|
|
5
5
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
6
6
|
import * as $tea from '@alicloud/tea-typescript';
|
|
7
7
|
export declare class BeeBotAssociateRequest extends $tea.Model {
|
|
8
|
-
|
|
8
|
+
chatBotInstanceId?: string;
|
|
9
9
|
isvCode?: string;
|
|
10
10
|
perspective?: string[];
|
|
11
11
|
recommendNum?: number;
|
|
@@ -22,7 +22,7 @@ export declare class BeeBotAssociateRequest extends $tea.Model {
|
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
export declare class BeeBotAssociateShrinkRequest extends $tea.Model {
|
|
25
|
-
|
|
25
|
+
chatBotInstanceId?: string;
|
|
26
26
|
isvCode?: string;
|
|
27
27
|
perspectiveShrink?: string;
|
|
28
28
|
recommendNum?: number;
|
|
@@ -70,7 +70,7 @@ export declare class BeeBotAssociateResponse extends $tea.Model {
|
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
export declare class BeeBotChatRequest extends $tea.Model {
|
|
73
|
-
|
|
73
|
+
chatBotInstanceId?: string;
|
|
74
74
|
intentName?: string;
|
|
75
75
|
isvCode?: string;
|
|
76
76
|
knowledgeId?: string;
|
|
@@ -93,7 +93,7 @@ export declare class BeeBotChatRequest extends $tea.Model {
|
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
95
|
export declare class BeeBotChatShrinkRequest extends $tea.Model {
|
|
96
|
-
|
|
96
|
+
chatBotInstanceId?: string;
|
|
97
97
|
intentName?: string;
|
|
98
98
|
isvCode?: string;
|
|
99
99
|
knowledgeId?: string;
|
package/dist/client.js
CHANGED
|
@@ -25,7 +25,7 @@ class BeeBotAssociateRequest extends $tea.Model {
|
|
|
25
25
|
}
|
|
26
26
|
static names() {
|
|
27
27
|
return {
|
|
28
|
-
|
|
28
|
+
chatBotInstanceId: 'ChatBotInstanceId',
|
|
29
29
|
isvCode: 'IsvCode',
|
|
30
30
|
perspective: 'Perspective',
|
|
31
31
|
recommendNum: 'RecommendNum',
|
|
@@ -35,7 +35,7 @@ class BeeBotAssociateRequest extends $tea.Model {
|
|
|
35
35
|
}
|
|
36
36
|
static types() {
|
|
37
37
|
return {
|
|
38
|
-
|
|
38
|
+
chatBotInstanceId: 'string',
|
|
39
39
|
isvCode: 'string',
|
|
40
40
|
perspective: { 'type': 'array', 'itemType': 'string' },
|
|
41
41
|
recommendNum: 'number',
|
|
@@ -51,7 +51,7 @@ class BeeBotAssociateShrinkRequest extends $tea.Model {
|
|
|
51
51
|
}
|
|
52
52
|
static names() {
|
|
53
53
|
return {
|
|
54
|
-
|
|
54
|
+
chatBotInstanceId: 'ChatBotInstanceId',
|
|
55
55
|
isvCode: 'IsvCode',
|
|
56
56
|
perspectiveShrink: 'Perspective',
|
|
57
57
|
recommendNum: 'RecommendNum',
|
|
@@ -61,7 +61,7 @@ class BeeBotAssociateShrinkRequest extends $tea.Model {
|
|
|
61
61
|
}
|
|
62
62
|
static types() {
|
|
63
63
|
return {
|
|
64
|
-
|
|
64
|
+
chatBotInstanceId: 'string',
|
|
65
65
|
isvCode: 'string',
|
|
66
66
|
perspectiveShrink: 'string',
|
|
67
67
|
recommendNum: 'number',
|
|
@@ -119,7 +119,7 @@ class BeeBotChatRequest extends $tea.Model {
|
|
|
119
119
|
}
|
|
120
120
|
static names() {
|
|
121
121
|
return {
|
|
122
|
-
|
|
122
|
+
chatBotInstanceId: 'ChatBotInstanceId',
|
|
123
123
|
intentName: 'IntentName',
|
|
124
124
|
isvCode: 'IsvCode',
|
|
125
125
|
knowledgeId: 'KnowledgeId',
|
|
@@ -133,7 +133,7 @@ class BeeBotChatRequest extends $tea.Model {
|
|
|
133
133
|
}
|
|
134
134
|
static types() {
|
|
135
135
|
return {
|
|
136
|
-
|
|
136
|
+
chatBotInstanceId: 'string',
|
|
137
137
|
intentName: 'string',
|
|
138
138
|
isvCode: 'string',
|
|
139
139
|
knowledgeId: 'string',
|
|
@@ -153,7 +153,7 @@ class BeeBotChatShrinkRequest extends $tea.Model {
|
|
|
153
153
|
}
|
|
154
154
|
static names() {
|
|
155
155
|
return {
|
|
156
|
-
|
|
156
|
+
chatBotInstanceId: 'ChatBotInstanceId',
|
|
157
157
|
intentName: 'IntentName',
|
|
158
158
|
isvCode: 'IsvCode',
|
|
159
159
|
knowledgeId: 'KnowledgeId',
|
|
@@ -167,7 +167,7 @@ class BeeBotChatShrinkRequest extends $tea.Model {
|
|
|
167
167
|
}
|
|
168
168
|
static types() {
|
|
169
169
|
return {
|
|
170
|
-
|
|
170
|
+
chatBotInstanceId: 'string',
|
|
171
171
|
intentName: 'string',
|
|
172
172
|
isvCode: 'string',
|
|
173
173
|
knowledgeId: 'string',
|
|
@@ -1393,8 +1393,8 @@ class Client extends openapi_client_1.default {
|
|
|
1393
1393
|
request.perspectiveShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.perspective, "Perspective", "json");
|
|
1394
1394
|
}
|
|
1395
1395
|
let body = {};
|
|
1396
|
-
if (!tea_util_1.default.isUnset(request.
|
|
1397
|
-
body["
|
|
1396
|
+
if (!tea_util_1.default.isUnset(request.chatBotInstanceId)) {
|
|
1397
|
+
body["ChatBotInstanceId"] = request.chatBotInstanceId;
|
|
1398
1398
|
}
|
|
1399
1399
|
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
1400
1400
|
body["IsvCode"] = request.isvCode;
|
|
@@ -1442,8 +1442,8 @@ class Client extends openapi_client_1.default {
|
|
|
1442
1442
|
request.vendorParamShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.vendorParam, "VendorParam", "json");
|
|
1443
1443
|
}
|
|
1444
1444
|
let body = {};
|
|
1445
|
-
if (!tea_util_1.default.isUnset(request.
|
|
1446
|
-
body["
|
|
1445
|
+
if (!tea_util_1.default.isUnset(request.chatBotInstanceId)) {
|
|
1446
|
+
body["ChatBotInstanceId"] = request.chatBotInstanceId;
|
|
1447
1447
|
}
|
|
1448
1448
|
if (!tea_util_1.default.isUnset(request.intentName)) {
|
|
1449
1449
|
body["IntentName"] = request.intentName;
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -9,7 +9,7 @@ import EndpointUtil from '@alicloud/endpoint-util';
|
|
|
9
9
|
import * as $tea from '@alicloud/tea-typescript';
|
|
10
10
|
|
|
11
11
|
export class BeeBotAssociateRequest extends $tea.Model {
|
|
12
|
-
|
|
12
|
+
chatBotInstanceId?: string;
|
|
13
13
|
isvCode?: string;
|
|
14
14
|
perspective?: string[];
|
|
15
15
|
recommendNum?: number;
|
|
@@ -17,7 +17,7 @@ export class BeeBotAssociateRequest extends $tea.Model {
|
|
|
17
17
|
utterance?: string;
|
|
18
18
|
static names(): { [key: string]: string } {
|
|
19
19
|
return {
|
|
20
|
-
|
|
20
|
+
chatBotInstanceId: 'ChatBotInstanceId',
|
|
21
21
|
isvCode: 'IsvCode',
|
|
22
22
|
perspective: 'Perspective',
|
|
23
23
|
recommendNum: 'RecommendNum',
|
|
@@ -28,7 +28,7 @@ export class BeeBotAssociateRequest extends $tea.Model {
|
|
|
28
28
|
|
|
29
29
|
static types(): { [key: string]: any } {
|
|
30
30
|
return {
|
|
31
|
-
|
|
31
|
+
chatBotInstanceId: 'string',
|
|
32
32
|
isvCode: 'string',
|
|
33
33
|
perspective: { 'type': 'array', 'itemType': 'string' },
|
|
34
34
|
recommendNum: 'number',
|
|
@@ -43,7 +43,7 @@ export class BeeBotAssociateRequest extends $tea.Model {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
export class BeeBotAssociateShrinkRequest extends $tea.Model {
|
|
46
|
-
|
|
46
|
+
chatBotInstanceId?: string;
|
|
47
47
|
isvCode?: string;
|
|
48
48
|
perspectiveShrink?: string;
|
|
49
49
|
recommendNum?: number;
|
|
@@ -51,7 +51,7 @@ export class BeeBotAssociateShrinkRequest extends $tea.Model {
|
|
|
51
51
|
utterance?: string;
|
|
52
52
|
static names(): { [key: string]: string } {
|
|
53
53
|
return {
|
|
54
|
-
|
|
54
|
+
chatBotInstanceId: 'ChatBotInstanceId',
|
|
55
55
|
isvCode: 'IsvCode',
|
|
56
56
|
perspectiveShrink: 'Perspective',
|
|
57
57
|
recommendNum: 'RecommendNum',
|
|
@@ -62,7 +62,7 @@ export class BeeBotAssociateShrinkRequest extends $tea.Model {
|
|
|
62
62
|
|
|
63
63
|
static types(): { [key: string]: any } {
|
|
64
64
|
return {
|
|
65
|
-
|
|
65
|
+
chatBotInstanceId: 'string',
|
|
66
66
|
isvCode: 'string',
|
|
67
67
|
perspectiveShrink: 'string',
|
|
68
68
|
recommendNum: 'number',
|
|
@@ -130,7 +130,7 @@ export class BeeBotAssociateResponse extends $tea.Model {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
export class BeeBotChatRequest extends $tea.Model {
|
|
133
|
-
|
|
133
|
+
chatBotInstanceId?: string;
|
|
134
134
|
intentName?: string;
|
|
135
135
|
isvCode?: string;
|
|
136
136
|
knowledgeId?: string;
|
|
@@ -142,7 +142,7 @@ export class BeeBotChatRequest extends $tea.Model {
|
|
|
142
142
|
vendorParam?: { [key: string]: any };
|
|
143
143
|
static names(): { [key: string]: string } {
|
|
144
144
|
return {
|
|
145
|
-
|
|
145
|
+
chatBotInstanceId: 'ChatBotInstanceId',
|
|
146
146
|
intentName: 'IntentName',
|
|
147
147
|
isvCode: 'IsvCode',
|
|
148
148
|
knowledgeId: 'KnowledgeId',
|
|
@@ -157,7 +157,7 @@ export class BeeBotChatRequest extends $tea.Model {
|
|
|
157
157
|
|
|
158
158
|
static types(): { [key: string]: any } {
|
|
159
159
|
return {
|
|
160
|
-
|
|
160
|
+
chatBotInstanceId: 'string',
|
|
161
161
|
intentName: 'string',
|
|
162
162
|
isvCode: 'string',
|
|
163
163
|
knowledgeId: 'string',
|
|
@@ -176,7 +176,7 @@ export class BeeBotChatRequest extends $tea.Model {
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
export class BeeBotChatShrinkRequest extends $tea.Model {
|
|
179
|
-
|
|
179
|
+
chatBotInstanceId?: string;
|
|
180
180
|
intentName?: string;
|
|
181
181
|
isvCode?: string;
|
|
182
182
|
knowledgeId?: string;
|
|
@@ -188,7 +188,7 @@ export class BeeBotChatShrinkRequest extends $tea.Model {
|
|
|
188
188
|
vendorParamShrink?: string;
|
|
189
189
|
static names(): { [key: string]: string } {
|
|
190
190
|
return {
|
|
191
|
-
|
|
191
|
+
chatBotInstanceId: 'ChatBotInstanceId',
|
|
192
192
|
intentName: 'IntentName',
|
|
193
193
|
isvCode: 'IsvCode',
|
|
194
194
|
knowledgeId: 'KnowledgeId',
|
|
@@ -203,7 +203,7 @@ export class BeeBotChatShrinkRequest extends $tea.Model {
|
|
|
203
203
|
|
|
204
204
|
static types(): { [key: string]: any } {
|
|
205
205
|
return {
|
|
206
|
-
|
|
206
|
+
chatBotInstanceId: 'string',
|
|
207
207
|
intentName: 'string',
|
|
208
208
|
isvCode: 'string',
|
|
209
209
|
knowledgeId: 'string',
|
|
@@ -1790,8 +1790,8 @@ export default class Client extends OpenApi {
|
|
|
1790
1790
|
}
|
|
1791
1791
|
|
|
1792
1792
|
let body : {[key: string ]: any} = { };
|
|
1793
|
-
if (!Util.isUnset(request.
|
|
1794
|
-
body["
|
|
1793
|
+
if (!Util.isUnset(request.chatBotInstanceId)) {
|
|
1794
|
+
body["ChatBotInstanceId"] = request.chatBotInstanceId;
|
|
1795
1795
|
}
|
|
1796
1796
|
|
|
1797
1797
|
if (!Util.isUnset(request.isvCode)) {
|
|
@@ -1849,8 +1849,8 @@ export default class Client extends OpenApi {
|
|
|
1849
1849
|
}
|
|
1850
1850
|
|
|
1851
1851
|
let body : {[key: string ]: any} = { };
|
|
1852
|
-
if (!Util.isUnset(request.
|
|
1853
|
-
body["
|
|
1852
|
+
if (!Util.isUnset(request.chatBotInstanceId)) {
|
|
1853
|
+
body["ChatBotInstanceId"] = request.chatBotInstanceId;
|
|
1854
1854
|
}
|
|
1855
1855
|
|
|
1856
1856
|
if (!Util.isUnset(request.intentName)) {
|