@alicloud/ccc20200701 2.12.1 → 2.13.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 +165 -0
- package/dist/client.js +361 -2
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +432 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -83,6 +83,84 @@ export class AbortCampaignResponse extends $tea.Model {
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
export class AddBlacklistCallTaggingRequest extends $tea.Model {
|
|
87
|
+
instanceId?: string;
|
|
88
|
+
jobId?: string;
|
|
89
|
+
number?: string;
|
|
90
|
+
static names(): { [key: string]: string } {
|
|
91
|
+
return {
|
|
92
|
+
instanceId: 'InstanceId',
|
|
93
|
+
jobId: 'JobId',
|
|
94
|
+
number: 'Number',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
static types(): { [key: string]: any } {
|
|
99
|
+
return {
|
|
100
|
+
instanceId: 'string',
|
|
101
|
+
jobId: 'string',
|
|
102
|
+
number: 'string',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
constructor(map?: { [key: string]: any }) {
|
|
107
|
+
super(map);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export class AddBlacklistCallTaggingResponseBody extends $tea.Model {
|
|
112
|
+
code?: string;
|
|
113
|
+
httpStatusCode?: number;
|
|
114
|
+
message?: string;
|
|
115
|
+
requestId?: string;
|
|
116
|
+
static names(): { [key: string]: string } {
|
|
117
|
+
return {
|
|
118
|
+
code: 'Code',
|
|
119
|
+
httpStatusCode: 'HttpStatusCode',
|
|
120
|
+
message: 'Message',
|
|
121
|
+
requestId: 'RequestId',
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
static types(): { [key: string]: any } {
|
|
126
|
+
return {
|
|
127
|
+
code: 'string',
|
|
128
|
+
httpStatusCode: 'number',
|
|
129
|
+
message: 'string',
|
|
130
|
+
requestId: 'string',
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
constructor(map?: { [key: string]: any }) {
|
|
135
|
+
super(map);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export class AddBlacklistCallTaggingResponse extends $tea.Model {
|
|
140
|
+
headers?: { [key: string]: string };
|
|
141
|
+
statusCode?: number;
|
|
142
|
+
body?: AddBlacklistCallTaggingResponseBody;
|
|
143
|
+
static names(): { [key: string]: string } {
|
|
144
|
+
return {
|
|
145
|
+
headers: 'headers',
|
|
146
|
+
statusCode: 'statusCode',
|
|
147
|
+
body: 'body',
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
static types(): { [key: string]: any } {
|
|
152
|
+
return {
|
|
153
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
154
|
+
statusCode: 'number',
|
|
155
|
+
body: AddBlacklistCallTaggingResponseBody,
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
constructor(map?: { [key: string]: any }) {
|
|
160
|
+
super(map);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
86
164
|
export class AddCasesRequest extends $tea.Model {
|
|
87
165
|
campaignId?: string;
|
|
88
166
|
caseList?: AddCasesRequestCaseList[];
|
|
@@ -1048,8 +1126,12 @@ export class BlindTransferRequest extends $tea.Model {
|
|
|
1048
1126
|
deviceId?: string;
|
|
1049
1127
|
instanceId?: string;
|
|
1050
1128
|
jobId?: string;
|
|
1129
|
+
queuingOverflowThreshold?: number;
|
|
1130
|
+
queuingTimeoutSeconds?: number;
|
|
1131
|
+
routingType?: string;
|
|
1051
1132
|
strategyName?: string;
|
|
1052
1133
|
strategyParams?: string;
|
|
1134
|
+
tags?: string;
|
|
1053
1135
|
timeoutSeconds?: number;
|
|
1054
1136
|
transferee?: string;
|
|
1055
1137
|
transfereeType?: string;
|
|
@@ -1062,8 +1144,12 @@ export class BlindTransferRequest extends $tea.Model {
|
|
|
1062
1144
|
deviceId: 'DeviceId',
|
|
1063
1145
|
instanceId: 'InstanceId',
|
|
1064
1146
|
jobId: 'JobId',
|
|
1147
|
+
queuingOverflowThreshold: 'QueuingOverflowThreshold',
|
|
1148
|
+
queuingTimeoutSeconds: 'QueuingTimeoutSeconds',
|
|
1149
|
+
routingType: 'RoutingType',
|
|
1065
1150
|
strategyName: 'StrategyName',
|
|
1066
1151
|
strategyParams: 'StrategyParams',
|
|
1152
|
+
tags: 'Tags',
|
|
1067
1153
|
timeoutSeconds: 'TimeoutSeconds',
|
|
1068
1154
|
transferee: 'Transferee',
|
|
1069
1155
|
transfereeType: 'TransfereeType',
|
|
@@ -1079,8 +1165,12 @@ export class BlindTransferRequest extends $tea.Model {
|
|
|
1079
1165
|
deviceId: 'string',
|
|
1080
1166
|
instanceId: 'string',
|
|
1081
1167
|
jobId: 'string',
|
|
1168
|
+
queuingOverflowThreshold: 'number',
|
|
1169
|
+
queuingTimeoutSeconds: 'number',
|
|
1170
|
+
routingType: 'string',
|
|
1082
1171
|
strategyName: 'string',
|
|
1083
1172
|
strategyParams: 'string',
|
|
1173
|
+
tags: 'string',
|
|
1084
1174
|
timeoutSeconds: 'number',
|
|
1085
1175
|
transferee: 'string',
|
|
1086
1176
|
transfereeType: 'string',
|
|
@@ -5998,10 +6088,15 @@ export class InitiateAttendedTransferRequest extends $tea.Model {
|
|
|
5998
6088
|
deviceId?: string;
|
|
5999
6089
|
instanceId?: string;
|
|
6000
6090
|
jobId?: string;
|
|
6091
|
+
queuingOverflowThreshold?: number;
|
|
6092
|
+
queuingTimeoutSeconds?: number;
|
|
6093
|
+
routingType?: string;
|
|
6001
6094
|
strategyName?: string;
|
|
6002
6095
|
strategyParams?: string;
|
|
6096
|
+
tags?: string;
|
|
6003
6097
|
timeoutSeconds?: number;
|
|
6004
6098
|
transferee?: string;
|
|
6099
|
+
transfereeType?: string;
|
|
6005
6100
|
transferor?: string;
|
|
6006
6101
|
userId?: string;
|
|
6007
6102
|
static names(): { [key: string]: string } {
|
|
@@ -6010,10 +6105,15 @@ export class InitiateAttendedTransferRequest extends $tea.Model {
|
|
|
6010
6105
|
deviceId: 'DeviceId',
|
|
6011
6106
|
instanceId: 'InstanceId',
|
|
6012
6107
|
jobId: 'JobId',
|
|
6108
|
+
queuingOverflowThreshold: 'QueuingOverflowThreshold',
|
|
6109
|
+
queuingTimeoutSeconds: 'QueuingTimeoutSeconds',
|
|
6110
|
+
routingType: 'RoutingType',
|
|
6013
6111
|
strategyName: 'StrategyName',
|
|
6014
6112
|
strategyParams: 'StrategyParams',
|
|
6113
|
+
tags: 'Tags',
|
|
6015
6114
|
timeoutSeconds: 'TimeoutSeconds',
|
|
6016
6115
|
transferee: 'Transferee',
|
|
6116
|
+
transfereeType: 'TransfereeType',
|
|
6017
6117
|
transferor: 'Transferor',
|
|
6018
6118
|
userId: 'UserId',
|
|
6019
6119
|
};
|
|
@@ -6025,10 +6125,15 @@ export class InitiateAttendedTransferRequest extends $tea.Model {
|
|
|
6025
6125
|
deviceId: 'string',
|
|
6026
6126
|
instanceId: 'string',
|
|
6027
6127
|
jobId: 'string',
|
|
6128
|
+
queuingOverflowThreshold: 'number',
|
|
6129
|
+
queuingTimeoutSeconds: 'number',
|
|
6130
|
+
routingType: 'string',
|
|
6028
6131
|
strategyName: 'string',
|
|
6029
6132
|
strategyParams: 'string',
|
|
6133
|
+
tags: 'string',
|
|
6030
6134
|
timeoutSeconds: 'number',
|
|
6031
6135
|
transferee: 'string',
|
|
6136
|
+
transfereeType: 'string',
|
|
6032
6137
|
transferor: 'string',
|
|
6033
6138
|
userId: 'string',
|
|
6034
6139
|
};
|
|
@@ -6854,6 +6959,84 @@ export class ListAudioFilesResponse extends $tea.Model {
|
|
|
6854
6959
|
}
|
|
6855
6960
|
}
|
|
6856
6961
|
|
|
6962
|
+
export class ListBlacklistCallTaggingsRequest extends $tea.Model {
|
|
6963
|
+
instanceId?: string;
|
|
6964
|
+
numberList?: string;
|
|
6965
|
+
static names(): { [key: string]: string } {
|
|
6966
|
+
return {
|
|
6967
|
+
instanceId: 'InstanceId',
|
|
6968
|
+
numberList: 'NumberList',
|
|
6969
|
+
};
|
|
6970
|
+
}
|
|
6971
|
+
|
|
6972
|
+
static types(): { [key: string]: any } {
|
|
6973
|
+
return {
|
|
6974
|
+
instanceId: 'string',
|
|
6975
|
+
numberList: 'string',
|
|
6976
|
+
};
|
|
6977
|
+
}
|
|
6978
|
+
|
|
6979
|
+
constructor(map?: { [key: string]: any }) {
|
|
6980
|
+
super(map);
|
|
6981
|
+
}
|
|
6982
|
+
}
|
|
6983
|
+
|
|
6984
|
+
export class ListBlacklistCallTaggingsResponseBody extends $tea.Model {
|
|
6985
|
+
code?: string;
|
|
6986
|
+
data?: ListBlacklistCallTaggingsResponseBodyData[];
|
|
6987
|
+
httpStatusCode?: number;
|
|
6988
|
+
message?: string;
|
|
6989
|
+
requestId?: string;
|
|
6990
|
+
static names(): { [key: string]: string } {
|
|
6991
|
+
return {
|
|
6992
|
+
code: 'Code',
|
|
6993
|
+
data: 'Data',
|
|
6994
|
+
httpStatusCode: 'HttpStatusCode',
|
|
6995
|
+
message: 'Message',
|
|
6996
|
+
requestId: 'RequestId',
|
|
6997
|
+
};
|
|
6998
|
+
}
|
|
6999
|
+
|
|
7000
|
+
static types(): { [key: string]: any } {
|
|
7001
|
+
return {
|
|
7002
|
+
code: 'string',
|
|
7003
|
+
data: { 'type': 'array', 'itemType': ListBlacklistCallTaggingsResponseBodyData },
|
|
7004
|
+
httpStatusCode: 'number',
|
|
7005
|
+
message: 'string',
|
|
7006
|
+
requestId: 'string',
|
|
7007
|
+
};
|
|
7008
|
+
}
|
|
7009
|
+
|
|
7010
|
+
constructor(map?: { [key: string]: any }) {
|
|
7011
|
+
super(map);
|
|
7012
|
+
}
|
|
7013
|
+
}
|
|
7014
|
+
|
|
7015
|
+
export class ListBlacklistCallTaggingsResponse extends $tea.Model {
|
|
7016
|
+
headers?: { [key: string]: string };
|
|
7017
|
+
statusCode?: number;
|
|
7018
|
+
body?: ListBlacklistCallTaggingsResponseBody;
|
|
7019
|
+
static names(): { [key: string]: string } {
|
|
7020
|
+
return {
|
|
7021
|
+
headers: 'headers',
|
|
7022
|
+
statusCode: 'statusCode',
|
|
7023
|
+
body: 'body',
|
|
7024
|
+
};
|
|
7025
|
+
}
|
|
7026
|
+
|
|
7027
|
+
static types(): { [key: string]: any } {
|
|
7028
|
+
return {
|
|
7029
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7030
|
+
statusCode: 'number',
|
|
7031
|
+
body: ListBlacklistCallTaggingsResponseBody,
|
|
7032
|
+
};
|
|
7033
|
+
}
|
|
7034
|
+
|
|
7035
|
+
constructor(map?: { [key: string]: any }) {
|
|
7036
|
+
super(map);
|
|
7037
|
+
}
|
|
7038
|
+
}
|
|
7039
|
+
|
|
6857
7040
|
export class ListBriefSkillGroupsRequest extends $tea.Model {
|
|
6858
7041
|
instanceId?: string;
|
|
6859
7042
|
mediaType?: string;
|
|
@@ -12659,6 +12842,84 @@ export class ReleaseCallResponse extends $tea.Model {
|
|
|
12659
12842
|
}
|
|
12660
12843
|
}
|
|
12661
12844
|
|
|
12845
|
+
export class RemoveBlacklistCallTaggingRequest extends $tea.Model {
|
|
12846
|
+
instanceId?: string;
|
|
12847
|
+
jobId?: string;
|
|
12848
|
+
number?: string;
|
|
12849
|
+
static names(): { [key: string]: string } {
|
|
12850
|
+
return {
|
|
12851
|
+
instanceId: 'InstanceId',
|
|
12852
|
+
jobId: 'JobId',
|
|
12853
|
+
number: 'Number',
|
|
12854
|
+
};
|
|
12855
|
+
}
|
|
12856
|
+
|
|
12857
|
+
static types(): { [key: string]: any } {
|
|
12858
|
+
return {
|
|
12859
|
+
instanceId: 'string',
|
|
12860
|
+
jobId: 'string',
|
|
12861
|
+
number: 'string',
|
|
12862
|
+
};
|
|
12863
|
+
}
|
|
12864
|
+
|
|
12865
|
+
constructor(map?: { [key: string]: any }) {
|
|
12866
|
+
super(map);
|
|
12867
|
+
}
|
|
12868
|
+
}
|
|
12869
|
+
|
|
12870
|
+
export class RemoveBlacklistCallTaggingResponseBody extends $tea.Model {
|
|
12871
|
+
code?: string;
|
|
12872
|
+
httpStatusCode?: number;
|
|
12873
|
+
message?: string;
|
|
12874
|
+
requestId?: string;
|
|
12875
|
+
static names(): { [key: string]: string } {
|
|
12876
|
+
return {
|
|
12877
|
+
code: 'Code',
|
|
12878
|
+
httpStatusCode: 'HttpStatusCode',
|
|
12879
|
+
message: 'Message',
|
|
12880
|
+
requestId: 'RequestId',
|
|
12881
|
+
};
|
|
12882
|
+
}
|
|
12883
|
+
|
|
12884
|
+
static types(): { [key: string]: any } {
|
|
12885
|
+
return {
|
|
12886
|
+
code: 'string',
|
|
12887
|
+
httpStatusCode: 'number',
|
|
12888
|
+
message: 'string',
|
|
12889
|
+
requestId: 'string',
|
|
12890
|
+
};
|
|
12891
|
+
}
|
|
12892
|
+
|
|
12893
|
+
constructor(map?: { [key: string]: any }) {
|
|
12894
|
+
super(map);
|
|
12895
|
+
}
|
|
12896
|
+
}
|
|
12897
|
+
|
|
12898
|
+
export class RemoveBlacklistCallTaggingResponse extends $tea.Model {
|
|
12899
|
+
headers?: { [key: string]: string };
|
|
12900
|
+
statusCode?: number;
|
|
12901
|
+
body?: RemoveBlacklistCallTaggingResponseBody;
|
|
12902
|
+
static names(): { [key: string]: string } {
|
|
12903
|
+
return {
|
|
12904
|
+
headers: 'headers',
|
|
12905
|
+
statusCode: 'statusCode',
|
|
12906
|
+
body: 'body',
|
|
12907
|
+
};
|
|
12908
|
+
}
|
|
12909
|
+
|
|
12910
|
+
static types(): { [key: string]: any } {
|
|
12911
|
+
return {
|
|
12912
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
12913
|
+
statusCode: 'number',
|
|
12914
|
+
body: RemoveBlacklistCallTaggingResponseBody,
|
|
12915
|
+
};
|
|
12916
|
+
}
|
|
12917
|
+
|
|
12918
|
+
constructor(map?: { [key: string]: any }) {
|
|
12919
|
+
super(map);
|
|
12920
|
+
}
|
|
12921
|
+
}
|
|
12922
|
+
|
|
12662
12923
|
export class RemoveDoNotCallNumbersRequest extends $tea.Model {
|
|
12663
12924
|
instanceId?: string;
|
|
12664
12925
|
numberList?: string;
|
|
@@ -15447,6 +15708,7 @@ export class AnswerCallResponseBodyDataCallContextChannelContexts extends $tea.M
|
|
|
15447
15708
|
channelState?: string;
|
|
15448
15709
|
channelVariables?: string;
|
|
15449
15710
|
destination?: string;
|
|
15711
|
+
index?: number;
|
|
15450
15712
|
jobId?: string;
|
|
15451
15713
|
originator?: string;
|
|
15452
15714
|
releaseInitiator?: string;
|
|
@@ -15462,6 +15724,7 @@ export class AnswerCallResponseBodyDataCallContextChannelContexts extends $tea.M
|
|
|
15462
15724
|
channelState: 'ChannelState',
|
|
15463
15725
|
channelVariables: 'ChannelVariables',
|
|
15464
15726
|
destination: 'Destination',
|
|
15727
|
+
index: 'Index',
|
|
15465
15728
|
jobId: 'JobId',
|
|
15466
15729
|
originator: 'Originator',
|
|
15467
15730
|
releaseInitiator: 'ReleaseInitiator',
|
|
@@ -15480,6 +15743,7 @@ export class AnswerCallResponseBodyDataCallContextChannelContexts extends $tea.M
|
|
|
15480
15743
|
channelState: 'string',
|
|
15481
15744
|
channelVariables: 'string',
|
|
15482
15745
|
destination: 'string',
|
|
15746
|
+
index: 'number',
|
|
15483
15747
|
jobId: 'string',
|
|
15484
15748
|
originator: 'string',
|
|
15485
15749
|
releaseInitiator: 'string',
|
|
@@ -20192,6 +20456,31 @@ export class ListAudioFilesResponseBodyData extends $tea.Model {
|
|
|
20192
20456
|
}
|
|
20193
20457
|
}
|
|
20194
20458
|
|
|
20459
|
+
export class ListBlacklistCallTaggingsResponseBodyData extends $tea.Model {
|
|
20460
|
+
blacklisted?: boolean;
|
|
20461
|
+
jobId?: string;
|
|
20462
|
+
number?: string;
|
|
20463
|
+
static names(): { [key: string]: string } {
|
|
20464
|
+
return {
|
|
20465
|
+
blacklisted: 'Blacklisted',
|
|
20466
|
+
jobId: 'JobId',
|
|
20467
|
+
number: 'Number',
|
|
20468
|
+
};
|
|
20469
|
+
}
|
|
20470
|
+
|
|
20471
|
+
static types(): { [key: string]: any } {
|
|
20472
|
+
return {
|
|
20473
|
+
blacklisted: 'boolean',
|
|
20474
|
+
jobId: 'string',
|
|
20475
|
+
number: 'string',
|
|
20476
|
+
};
|
|
20477
|
+
}
|
|
20478
|
+
|
|
20479
|
+
constructor(map?: { [key: string]: any }) {
|
|
20480
|
+
super(map);
|
|
20481
|
+
}
|
|
20482
|
+
}
|
|
20483
|
+
|
|
20195
20484
|
export class ListBriefSkillGroupsResponseBodyDataList extends $tea.Model {
|
|
20196
20485
|
description?: string;
|
|
20197
20486
|
displayName?: string;
|
|
@@ -29572,6 +29861,43 @@ export default class Client extends OpenApi {
|
|
|
29572
29861
|
return await this.abortCampaignWithOptions(request, runtime);
|
|
29573
29862
|
}
|
|
29574
29863
|
|
|
29864
|
+
async addBlacklistCallTaggingWithOptions(request: AddBlacklistCallTaggingRequest, runtime: $Util.RuntimeOptions): Promise<AddBlacklistCallTaggingResponse> {
|
|
29865
|
+
Util.validateModel(request);
|
|
29866
|
+
let query = { };
|
|
29867
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
29868
|
+
query["InstanceId"] = request.instanceId;
|
|
29869
|
+
}
|
|
29870
|
+
|
|
29871
|
+
if (!Util.isUnset(request.jobId)) {
|
|
29872
|
+
query["JobId"] = request.jobId;
|
|
29873
|
+
}
|
|
29874
|
+
|
|
29875
|
+
if (!Util.isUnset(request.number)) {
|
|
29876
|
+
query["Number"] = request.number;
|
|
29877
|
+
}
|
|
29878
|
+
|
|
29879
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
29880
|
+
query: OpenApiUtil.query(query),
|
|
29881
|
+
});
|
|
29882
|
+
let params = new $OpenApi.Params({
|
|
29883
|
+
action: "AddBlacklistCallTagging",
|
|
29884
|
+
version: "2020-07-01",
|
|
29885
|
+
protocol: "HTTPS",
|
|
29886
|
+
pathname: "/",
|
|
29887
|
+
method: "POST",
|
|
29888
|
+
authType: "AK",
|
|
29889
|
+
style: "RPC",
|
|
29890
|
+
reqBodyType: "formData",
|
|
29891
|
+
bodyType: "json",
|
|
29892
|
+
});
|
|
29893
|
+
return $tea.cast<AddBlacklistCallTaggingResponse>(await this.callApi(params, req, runtime), new AddBlacklistCallTaggingResponse({}));
|
|
29894
|
+
}
|
|
29895
|
+
|
|
29896
|
+
async addBlacklistCallTagging(request: AddBlacklistCallTaggingRequest): Promise<AddBlacklistCallTaggingResponse> {
|
|
29897
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
29898
|
+
return await this.addBlacklistCallTaggingWithOptions(request, runtime);
|
|
29899
|
+
}
|
|
29900
|
+
|
|
29575
29901
|
async addCasesWithOptions(tmpReq: AddCasesRequest, runtime: $Util.RuntimeOptions): Promise<AddCasesResponse> {
|
|
29576
29902
|
Util.validateModel(tmpReq);
|
|
29577
29903
|
let request = new AddCasesShrinkRequest({ });
|
|
@@ -30067,6 +30393,18 @@ export default class Client extends OpenApi {
|
|
|
30067
30393
|
query["JobId"] = request.jobId;
|
|
30068
30394
|
}
|
|
30069
30395
|
|
|
30396
|
+
if (!Util.isUnset(request.queuingOverflowThreshold)) {
|
|
30397
|
+
query["QueuingOverflowThreshold"] = request.queuingOverflowThreshold;
|
|
30398
|
+
}
|
|
30399
|
+
|
|
30400
|
+
if (!Util.isUnset(request.queuingTimeoutSeconds)) {
|
|
30401
|
+
query["QueuingTimeoutSeconds"] = request.queuingTimeoutSeconds;
|
|
30402
|
+
}
|
|
30403
|
+
|
|
30404
|
+
if (!Util.isUnset(request.routingType)) {
|
|
30405
|
+
query["RoutingType"] = request.routingType;
|
|
30406
|
+
}
|
|
30407
|
+
|
|
30070
30408
|
if (!Util.isUnset(request.strategyName)) {
|
|
30071
30409
|
query["StrategyName"] = request.strategyName;
|
|
30072
30410
|
}
|
|
@@ -30075,6 +30413,10 @@ export default class Client extends OpenApi {
|
|
|
30075
30413
|
query["StrategyParams"] = request.strategyParams;
|
|
30076
30414
|
}
|
|
30077
30415
|
|
|
30416
|
+
if (!Util.isUnset(request.tags)) {
|
|
30417
|
+
query["Tags"] = request.tags;
|
|
30418
|
+
}
|
|
30419
|
+
|
|
30078
30420
|
if (!Util.isUnset(request.timeoutSeconds)) {
|
|
30079
30421
|
query["TimeoutSeconds"] = request.timeoutSeconds;
|
|
30080
30422
|
}
|
|
@@ -32350,6 +32692,18 @@ export default class Client extends OpenApi {
|
|
|
32350
32692
|
query["JobId"] = request.jobId;
|
|
32351
32693
|
}
|
|
32352
32694
|
|
|
32695
|
+
if (!Util.isUnset(request.queuingOverflowThreshold)) {
|
|
32696
|
+
query["QueuingOverflowThreshold"] = request.queuingOverflowThreshold;
|
|
32697
|
+
}
|
|
32698
|
+
|
|
32699
|
+
if (!Util.isUnset(request.queuingTimeoutSeconds)) {
|
|
32700
|
+
query["QueuingTimeoutSeconds"] = request.queuingTimeoutSeconds;
|
|
32701
|
+
}
|
|
32702
|
+
|
|
32703
|
+
if (!Util.isUnset(request.routingType)) {
|
|
32704
|
+
query["RoutingType"] = request.routingType;
|
|
32705
|
+
}
|
|
32706
|
+
|
|
32353
32707
|
if (!Util.isUnset(request.strategyName)) {
|
|
32354
32708
|
query["StrategyName"] = request.strategyName;
|
|
32355
32709
|
}
|
|
@@ -32358,6 +32712,10 @@ export default class Client extends OpenApi {
|
|
|
32358
32712
|
query["StrategyParams"] = request.strategyParams;
|
|
32359
32713
|
}
|
|
32360
32714
|
|
|
32715
|
+
if (!Util.isUnset(request.tags)) {
|
|
32716
|
+
query["Tags"] = request.tags;
|
|
32717
|
+
}
|
|
32718
|
+
|
|
32361
32719
|
if (!Util.isUnset(request.timeoutSeconds)) {
|
|
32362
32720
|
query["TimeoutSeconds"] = request.timeoutSeconds;
|
|
32363
32721
|
}
|
|
@@ -32366,6 +32724,10 @@ export default class Client extends OpenApi {
|
|
|
32366
32724
|
query["Transferee"] = request.transferee;
|
|
32367
32725
|
}
|
|
32368
32726
|
|
|
32727
|
+
if (!Util.isUnset(request.transfereeType)) {
|
|
32728
|
+
query["TransfereeType"] = request.transfereeType;
|
|
32729
|
+
}
|
|
32730
|
+
|
|
32369
32731
|
if (!Util.isUnset(request.transferor)) {
|
|
32370
32732
|
query["Transferor"] = request.transferor;
|
|
32371
32733
|
}
|
|
@@ -32770,6 +33132,39 @@ export default class Client extends OpenApi {
|
|
|
32770
33132
|
return await this.listAudioFilesWithOptions(request, runtime);
|
|
32771
33133
|
}
|
|
32772
33134
|
|
|
33135
|
+
async listBlacklistCallTaggingsWithOptions(request: ListBlacklistCallTaggingsRequest, runtime: $Util.RuntimeOptions): Promise<ListBlacklistCallTaggingsResponse> {
|
|
33136
|
+
Util.validateModel(request);
|
|
33137
|
+
let query = { };
|
|
33138
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
33139
|
+
query["InstanceId"] = request.instanceId;
|
|
33140
|
+
}
|
|
33141
|
+
|
|
33142
|
+
if (!Util.isUnset(request.numberList)) {
|
|
33143
|
+
query["NumberList"] = request.numberList;
|
|
33144
|
+
}
|
|
33145
|
+
|
|
33146
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
33147
|
+
query: OpenApiUtil.query(query),
|
|
33148
|
+
});
|
|
33149
|
+
let params = new $OpenApi.Params({
|
|
33150
|
+
action: "ListBlacklistCallTaggings",
|
|
33151
|
+
version: "2020-07-01",
|
|
33152
|
+
protocol: "HTTPS",
|
|
33153
|
+
pathname: "/",
|
|
33154
|
+
method: "POST",
|
|
33155
|
+
authType: "AK",
|
|
33156
|
+
style: "RPC",
|
|
33157
|
+
reqBodyType: "formData",
|
|
33158
|
+
bodyType: "json",
|
|
33159
|
+
});
|
|
33160
|
+
return $tea.cast<ListBlacklistCallTaggingsResponse>(await this.callApi(params, req, runtime), new ListBlacklistCallTaggingsResponse({}));
|
|
33161
|
+
}
|
|
33162
|
+
|
|
33163
|
+
async listBlacklistCallTaggings(request: ListBlacklistCallTaggingsRequest): Promise<ListBlacklistCallTaggingsResponse> {
|
|
33164
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
33165
|
+
return await this.listBlacklistCallTaggingsWithOptions(request, runtime);
|
|
33166
|
+
}
|
|
33167
|
+
|
|
32773
33168
|
async listBriefSkillGroupsWithOptions(request: ListBriefSkillGroupsRequest, runtime: $Util.RuntimeOptions): Promise<ListBriefSkillGroupsResponse> {
|
|
32774
33169
|
Util.validateModel(request);
|
|
32775
33170
|
let query = { };
|
|
@@ -35749,6 +36144,43 @@ export default class Client extends OpenApi {
|
|
|
35749
36144
|
return await this.releaseCallWithOptions(request, runtime);
|
|
35750
36145
|
}
|
|
35751
36146
|
|
|
36147
|
+
async removeBlacklistCallTaggingWithOptions(request: RemoveBlacklistCallTaggingRequest, runtime: $Util.RuntimeOptions): Promise<RemoveBlacklistCallTaggingResponse> {
|
|
36148
|
+
Util.validateModel(request);
|
|
36149
|
+
let query = { };
|
|
36150
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
36151
|
+
query["InstanceId"] = request.instanceId;
|
|
36152
|
+
}
|
|
36153
|
+
|
|
36154
|
+
if (!Util.isUnset(request.jobId)) {
|
|
36155
|
+
query["JobId"] = request.jobId;
|
|
36156
|
+
}
|
|
36157
|
+
|
|
36158
|
+
if (!Util.isUnset(request.number)) {
|
|
36159
|
+
query["Number"] = request.number;
|
|
36160
|
+
}
|
|
36161
|
+
|
|
36162
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
36163
|
+
query: OpenApiUtil.query(query),
|
|
36164
|
+
});
|
|
36165
|
+
let params = new $OpenApi.Params({
|
|
36166
|
+
action: "RemoveBlacklistCallTagging",
|
|
36167
|
+
version: "2020-07-01",
|
|
36168
|
+
protocol: "HTTPS",
|
|
36169
|
+
pathname: "/",
|
|
36170
|
+
method: "POST",
|
|
36171
|
+
authType: "AK",
|
|
36172
|
+
style: "RPC",
|
|
36173
|
+
reqBodyType: "formData",
|
|
36174
|
+
bodyType: "json",
|
|
36175
|
+
});
|
|
36176
|
+
return $tea.cast<RemoveBlacklistCallTaggingResponse>(await this.callApi(params, req, runtime), new RemoveBlacklistCallTaggingResponse({}));
|
|
36177
|
+
}
|
|
36178
|
+
|
|
36179
|
+
async removeBlacklistCallTagging(request: RemoveBlacklistCallTaggingRequest): Promise<RemoveBlacklistCallTaggingResponse> {
|
|
36180
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
36181
|
+
return await this.removeBlacklistCallTaggingWithOptions(request, runtime);
|
|
36182
|
+
}
|
|
36183
|
+
|
|
35752
36184
|
async removeDoNotCallNumbersWithOptions(request: RemoveDoNotCallNumbersRequest, runtime: $Util.RuntimeOptions): Promise<RemoveDoNotCallNumbersResponse> {
|
|
35753
36185
|
Util.validateModel(request);
|
|
35754
36186
|
let query = { };
|