@alicloud/ccc20200701 2.25.4 → 2.26.1
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 +647 -3
- package/dist/client.js +756 -18
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1141 -3
package/src/client.ts
CHANGED
|
@@ -8079,6 +8079,126 @@ export class GetCaseFileUploadUrlResponse extends $tea.Model {
|
|
|
8079
8079
|
}
|
|
8080
8080
|
}
|
|
8081
8081
|
|
|
8082
|
+
export class GetChatMediaUrlRequest extends $tea.Model {
|
|
8083
|
+
/**
|
|
8084
|
+
* @remarks
|
|
8085
|
+
* This parameter is required.
|
|
8086
|
+
*
|
|
8087
|
+
* @example
|
|
8088
|
+
* ccc-test
|
|
8089
|
+
*/
|
|
8090
|
+
instanceId?: string;
|
|
8091
|
+
/**
|
|
8092
|
+
* @remarks
|
|
8093
|
+
* media id
|
|
8094
|
+
*
|
|
8095
|
+
* This parameter is required.
|
|
8096
|
+
*
|
|
8097
|
+
* @example
|
|
8098
|
+
* $iAHNCNQCo3dhdgMGBAAFAAbaACOEAaQhIEeoAqpjjBl42N6o_kg7A88AAAGRIRRuBgTOACrxHgcACM8AAAGRIYJLBQ
|
|
8099
|
+
*/
|
|
8100
|
+
mediaId?: string;
|
|
8101
|
+
/**
|
|
8102
|
+
* @example
|
|
8103
|
+
* 8707EB29-BAED-4302-B999-40BA61877437
|
|
8104
|
+
*/
|
|
8105
|
+
requestId?: string;
|
|
8106
|
+
static names(): { [key: string]: string } {
|
|
8107
|
+
return {
|
|
8108
|
+
instanceId: 'InstanceId',
|
|
8109
|
+
mediaId: 'MediaId',
|
|
8110
|
+
requestId: 'RequestId',
|
|
8111
|
+
};
|
|
8112
|
+
}
|
|
8113
|
+
|
|
8114
|
+
static types(): { [key: string]: any } {
|
|
8115
|
+
return {
|
|
8116
|
+
instanceId: 'string',
|
|
8117
|
+
mediaId: 'string',
|
|
8118
|
+
requestId: 'string',
|
|
8119
|
+
};
|
|
8120
|
+
}
|
|
8121
|
+
|
|
8122
|
+
constructor(map?: { [key: string]: any }) {
|
|
8123
|
+
super(map);
|
|
8124
|
+
}
|
|
8125
|
+
}
|
|
8126
|
+
|
|
8127
|
+
export class GetChatMediaUrlResponseBody extends $tea.Model {
|
|
8128
|
+
/**
|
|
8129
|
+
* @example
|
|
8130
|
+
* OK
|
|
8131
|
+
*/
|
|
8132
|
+
code?: string;
|
|
8133
|
+
data?: string;
|
|
8134
|
+
/**
|
|
8135
|
+
* @example
|
|
8136
|
+
* 200
|
|
8137
|
+
*/
|
|
8138
|
+
httpStatusCode?: number;
|
|
8139
|
+
/**
|
|
8140
|
+
* @example
|
|
8141
|
+
* Internal service issue. Detail:.
|
|
8142
|
+
*/
|
|
8143
|
+
message?: string;
|
|
8144
|
+
params?: string[];
|
|
8145
|
+
/**
|
|
8146
|
+
* @example
|
|
8147
|
+
* 9FBA26B0-462B-4D77-B78F-AF35560DBC71
|
|
8148
|
+
*/
|
|
8149
|
+
requestId?: string;
|
|
8150
|
+
static names(): { [key: string]: string } {
|
|
8151
|
+
return {
|
|
8152
|
+
code: 'Code',
|
|
8153
|
+
data: 'Data',
|
|
8154
|
+
httpStatusCode: 'HttpStatusCode',
|
|
8155
|
+
message: 'Message',
|
|
8156
|
+
params: 'Params',
|
|
8157
|
+
requestId: 'RequestId',
|
|
8158
|
+
};
|
|
8159
|
+
}
|
|
8160
|
+
|
|
8161
|
+
static types(): { [key: string]: any } {
|
|
8162
|
+
return {
|
|
8163
|
+
code: 'string',
|
|
8164
|
+
data: 'string',
|
|
8165
|
+
httpStatusCode: 'number',
|
|
8166
|
+
message: 'string',
|
|
8167
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
8168
|
+
requestId: 'string',
|
|
8169
|
+
};
|
|
8170
|
+
}
|
|
8171
|
+
|
|
8172
|
+
constructor(map?: { [key: string]: any }) {
|
|
8173
|
+
super(map);
|
|
8174
|
+
}
|
|
8175
|
+
}
|
|
8176
|
+
|
|
8177
|
+
export class GetChatMediaUrlResponse extends $tea.Model {
|
|
8178
|
+
headers?: { [key: string]: string };
|
|
8179
|
+
statusCode?: number;
|
|
8180
|
+
body?: GetChatMediaUrlResponseBody;
|
|
8181
|
+
static names(): { [key: string]: string } {
|
|
8182
|
+
return {
|
|
8183
|
+
headers: 'headers',
|
|
8184
|
+
statusCode: 'statusCode',
|
|
8185
|
+
body: 'body',
|
|
8186
|
+
};
|
|
8187
|
+
}
|
|
8188
|
+
|
|
8189
|
+
static types(): { [key: string]: any } {
|
|
8190
|
+
return {
|
|
8191
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8192
|
+
statusCode: 'number',
|
|
8193
|
+
body: GetChatMediaUrlResponseBody,
|
|
8194
|
+
};
|
|
8195
|
+
}
|
|
8196
|
+
|
|
8197
|
+
constructor(map?: { [key: string]: any }) {
|
|
8198
|
+
super(map);
|
|
8199
|
+
}
|
|
8200
|
+
}
|
|
8201
|
+
|
|
8082
8202
|
export class GetContactFlowRequest extends $tea.Model {
|
|
8083
8203
|
/**
|
|
8084
8204
|
* @remarks
|
|
@@ -12325,9 +12445,6 @@ export class LaunchAuthenticationResponse extends $tea.Model {
|
|
|
12325
12445
|
|
|
12326
12446
|
export class LaunchSurveyRequest extends $tea.Model {
|
|
12327
12447
|
/**
|
|
12328
|
-
* @remarks
|
|
12329
|
-
* This parameter is required.
|
|
12330
|
-
*
|
|
12331
12448
|
* @example
|
|
12332
12449
|
* 4685b65a-eb8f-11ec-8ea0-0242ac120002
|
|
12333
12450
|
*/
|
|
@@ -13745,6 +13862,8 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
13745
13862
|
* 100
|
|
13746
13863
|
*/
|
|
13747
13864
|
pageSize?: number;
|
|
13865
|
+
releaseInitiatorList?: string;
|
|
13866
|
+
releaseReasonList?: string;
|
|
13748
13867
|
satisfactionDescriptionList?: string;
|
|
13749
13868
|
/**
|
|
13750
13869
|
* @example
|
|
@@ -13794,6 +13913,8 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
13794
13913
|
orderByField: 'OrderByField',
|
|
13795
13914
|
pageNumber: 'PageNumber',
|
|
13796
13915
|
pageSize: 'PageSize',
|
|
13916
|
+
releaseInitiatorList: 'ReleaseInitiatorList',
|
|
13917
|
+
releaseReasonList: 'ReleaseReasonList',
|
|
13797
13918
|
satisfactionDescriptionList: 'SatisfactionDescriptionList',
|
|
13798
13919
|
satisfactionRateList: 'SatisfactionRateList',
|
|
13799
13920
|
satisfactionSurveyChannel: 'SatisfactionSurveyChannel',
|
|
@@ -13823,6 +13944,8 @@ export class ListCallDetailRecordsV2Request extends $tea.Model {
|
|
|
13823
13944
|
orderByField: 'string',
|
|
13824
13945
|
pageNumber: 'number',
|
|
13825
13946
|
pageSize: 'number',
|
|
13947
|
+
releaseInitiatorList: 'string',
|
|
13948
|
+
releaseReasonList: 'string',
|
|
13826
13949
|
satisfactionDescriptionList: 'string',
|
|
13827
13950
|
satisfactionRateList: 'string',
|
|
13828
13951
|
satisfactionSurveyChannel: 'string',
|
|
@@ -13906,6 +14029,135 @@ export class ListCallDetailRecordsV2Response extends $tea.Model {
|
|
|
13906
14029
|
}
|
|
13907
14030
|
}
|
|
13908
14031
|
|
|
14032
|
+
export class ListCallSummariesRequest extends $tea.Model {
|
|
14033
|
+
contactIdList?: string[];
|
|
14034
|
+
/**
|
|
14035
|
+
* @remarks
|
|
14036
|
+
* This parameter is required.
|
|
14037
|
+
*
|
|
14038
|
+
* @example
|
|
14039
|
+
* ccc-test
|
|
14040
|
+
*/
|
|
14041
|
+
instanceId?: string;
|
|
14042
|
+
static names(): { [key: string]: string } {
|
|
14043
|
+
return {
|
|
14044
|
+
contactIdList: 'ContactIdList',
|
|
14045
|
+
instanceId: 'InstanceId',
|
|
14046
|
+
};
|
|
14047
|
+
}
|
|
14048
|
+
|
|
14049
|
+
static types(): { [key: string]: any } {
|
|
14050
|
+
return {
|
|
14051
|
+
contactIdList: { 'type': 'array', 'itemType': 'string' },
|
|
14052
|
+
instanceId: 'string',
|
|
14053
|
+
};
|
|
14054
|
+
}
|
|
14055
|
+
|
|
14056
|
+
constructor(map?: { [key: string]: any }) {
|
|
14057
|
+
super(map);
|
|
14058
|
+
}
|
|
14059
|
+
}
|
|
14060
|
+
|
|
14061
|
+
export class ListCallSummariesShrinkRequest extends $tea.Model {
|
|
14062
|
+
contactIdListShrink?: string;
|
|
14063
|
+
/**
|
|
14064
|
+
* @remarks
|
|
14065
|
+
* This parameter is required.
|
|
14066
|
+
*
|
|
14067
|
+
* @example
|
|
14068
|
+
* ccc-test
|
|
14069
|
+
*/
|
|
14070
|
+
instanceId?: string;
|
|
14071
|
+
static names(): { [key: string]: string } {
|
|
14072
|
+
return {
|
|
14073
|
+
contactIdListShrink: 'ContactIdList',
|
|
14074
|
+
instanceId: 'InstanceId',
|
|
14075
|
+
};
|
|
14076
|
+
}
|
|
14077
|
+
|
|
14078
|
+
static types(): { [key: string]: any } {
|
|
14079
|
+
return {
|
|
14080
|
+
contactIdListShrink: 'string',
|
|
14081
|
+
instanceId: 'string',
|
|
14082
|
+
};
|
|
14083
|
+
}
|
|
14084
|
+
|
|
14085
|
+
constructor(map?: { [key: string]: any }) {
|
|
14086
|
+
super(map);
|
|
14087
|
+
}
|
|
14088
|
+
}
|
|
14089
|
+
|
|
14090
|
+
export class ListCallSummariesResponseBody extends $tea.Model {
|
|
14091
|
+
/**
|
|
14092
|
+
* @example
|
|
14093
|
+
* OK
|
|
14094
|
+
*/
|
|
14095
|
+
code?: string;
|
|
14096
|
+
data?: ListCallSummariesResponseBodyData[];
|
|
14097
|
+
/**
|
|
14098
|
+
* @example
|
|
14099
|
+
* 200
|
|
14100
|
+
*/
|
|
14101
|
+
httpStatusCode?: number;
|
|
14102
|
+
message?: string;
|
|
14103
|
+
params?: string[];
|
|
14104
|
+
/**
|
|
14105
|
+
* @example
|
|
14106
|
+
* 932579BC-811A-503D-B322-4C2E57087CAA
|
|
14107
|
+
*/
|
|
14108
|
+
requestId?: string;
|
|
14109
|
+
static names(): { [key: string]: string } {
|
|
14110
|
+
return {
|
|
14111
|
+
code: 'Code',
|
|
14112
|
+
data: 'Data',
|
|
14113
|
+
httpStatusCode: 'HttpStatusCode',
|
|
14114
|
+
message: 'Message',
|
|
14115
|
+
params: 'Params',
|
|
14116
|
+
requestId: 'RequestId',
|
|
14117
|
+
};
|
|
14118
|
+
}
|
|
14119
|
+
|
|
14120
|
+
static types(): { [key: string]: any } {
|
|
14121
|
+
return {
|
|
14122
|
+
code: 'string',
|
|
14123
|
+
data: { 'type': 'array', 'itemType': ListCallSummariesResponseBodyData },
|
|
14124
|
+
httpStatusCode: 'number',
|
|
14125
|
+
message: 'string',
|
|
14126
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
14127
|
+
requestId: 'string',
|
|
14128
|
+
};
|
|
14129
|
+
}
|
|
14130
|
+
|
|
14131
|
+
constructor(map?: { [key: string]: any }) {
|
|
14132
|
+
super(map);
|
|
14133
|
+
}
|
|
14134
|
+
}
|
|
14135
|
+
|
|
14136
|
+
export class ListCallSummariesResponse extends $tea.Model {
|
|
14137
|
+
headers?: { [key: string]: string };
|
|
14138
|
+
statusCode?: number;
|
|
14139
|
+
body?: ListCallSummariesResponseBody;
|
|
14140
|
+
static names(): { [key: string]: string } {
|
|
14141
|
+
return {
|
|
14142
|
+
headers: 'headers',
|
|
14143
|
+
statusCode: 'statusCode',
|
|
14144
|
+
body: 'body',
|
|
14145
|
+
};
|
|
14146
|
+
}
|
|
14147
|
+
|
|
14148
|
+
static types(): { [key: string]: any } {
|
|
14149
|
+
return {
|
|
14150
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
14151
|
+
statusCode: 'number',
|
|
14152
|
+
body: ListCallSummariesResponseBody,
|
|
14153
|
+
};
|
|
14154
|
+
}
|
|
14155
|
+
|
|
14156
|
+
constructor(map?: { [key: string]: any }) {
|
|
14157
|
+
super(map);
|
|
14158
|
+
}
|
|
14159
|
+
}
|
|
14160
|
+
|
|
13909
14161
|
export class ListCallTagsRequest extends $tea.Model {
|
|
13910
14162
|
/**
|
|
13911
14163
|
* @remarks
|
|
@@ -15454,6 +15706,238 @@ export class ListDocumentsResponse extends $tea.Model {
|
|
|
15454
15706
|
}
|
|
15455
15707
|
}
|
|
15456
15708
|
|
|
15709
|
+
export class ListFlashSmsApplicationsRequest extends $tea.Model {
|
|
15710
|
+
/**
|
|
15711
|
+
* @remarks
|
|
15712
|
+
* This parameter is required.
|
|
15713
|
+
*
|
|
15714
|
+
* @example
|
|
15715
|
+
* ccc-test
|
|
15716
|
+
*/
|
|
15717
|
+
instanceId?: string;
|
|
15718
|
+
name?: string;
|
|
15719
|
+
/**
|
|
15720
|
+
* @example
|
|
15721
|
+
* 1
|
|
15722
|
+
*/
|
|
15723
|
+
pageNumber?: number;
|
|
15724
|
+
/**
|
|
15725
|
+
* @example
|
|
15726
|
+
* 100
|
|
15727
|
+
*/
|
|
15728
|
+
pageSize?: number;
|
|
15729
|
+
/**
|
|
15730
|
+
* @example
|
|
15731
|
+
* Uincall
|
|
15732
|
+
*/
|
|
15733
|
+
providerId?: string;
|
|
15734
|
+
static names(): { [key: string]: string } {
|
|
15735
|
+
return {
|
|
15736
|
+
instanceId: 'InstanceId',
|
|
15737
|
+
name: 'Name',
|
|
15738
|
+
pageNumber: 'PageNumber',
|
|
15739
|
+
pageSize: 'PageSize',
|
|
15740
|
+
providerId: 'ProviderId',
|
|
15741
|
+
};
|
|
15742
|
+
}
|
|
15743
|
+
|
|
15744
|
+
static types(): { [key: string]: any } {
|
|
15745
|
+
return {
|
|
15746
|
+
instanceId: 'string',
|
|
15747
|
+
name: 'string',
|
|
15748
|
+
pageNumber: 'number',
|
|
15749
|
+
pageSize: 'number',
|
|
15750
|
+
providerId: 'string',
|
|
15751
|
+
};
|
|
15752
|
+
}
|
|
15753
|
+
|
|
15754
|
+
constructor(map?: { [key: string]: any }) {
|
|
15755
|
+
super(map);
|
|
15756
|
+
}
|
|
15757
|
+
}
|
|
15758
|
+
|
|
15759
|
+
export class ListFlashSmsApplicationsResponseBody extends $tea.Model {
|
|
15760
|
+
/**
|
|
15761
|
+
* @example
|
|
15762
|
+
* OK
|
|
15763
|
+
*/
|
|
15764
|
+
code?: string;
|
|
15765
|
+
data?: ListFlashSmsApplicationsResponseBodyData;
|
|
15766
|
+
/**
|
|
15767
|
+
* @example
|
|
15768
|
+
* 200
|
|
15769
|
+
*/
|
|
15770
|
+
httpStatusCode?: number;
|
|
15771
|
+
message?: string;
|
|
15772
|
+
params?: string[];
|
|
15773
|
+
/**
|
|
15774
|
+
* @example
|
|
15775
|
+
* 7BEEA660-A45A-45E3-98CC-AFC65E715C23
|
|
15776
|
+
*/
|
|
15777
|
+
requestId?: string;
|
|
15778
|
+
static names(): { [key: string]: string } {
|
|
15779
|
+
return {
|
|
15780
|
+
code: 'Code',
|
|
15781
|
+
data: 'Data',
|
|
15782
|
+
httpStatusCode: 'HttpStatusCode',
|
|
15783
|
+
message: 'Message',
|
|
15784
|
+
params: 'Params',
|
|
15785
|
+
requestId: 'RequestId',
|
|
15786
|
+
};
|
|
15787
|
+
}
|
|
15788
|
+
|
|
15789
|
+
static types(): { [key: string]: any } {
|
|
15790
|
+
return {
|
|
15791
|
+
code: 'string',
|
|
15792
|
+
data: ListFlashSmsApplicationsResponseBodyData,
|
|
15793
|
+
httpStatusCode: 'number',
|
|
15794
|
+
message: 'string',
|
|
15795
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
15796
|
+
requestId: 'string',
|
|
15797
|
+
};
|
|
15798
|
+
}
|
|
15799
|
+
|
|
15800
|
+
constructor(map?: { [key: string]: any }) {
|
|
15801
|
+
super(map);
|
|
15802
|
+
}
|
|
15803
|
+
}
|
|
15804
|
+
|
|
15805
|
+
export class ListFlashSmsApplicationsResponse extends $tea.Model {
|
|
15806
|
+
headers?: { [key: string]: string };
|
|
15807
|
+
statusCode?: number;
|
|
15808
|
+
body?: ListFlashSmsApplicationsResponseBody;
|
|
15809
|
+
static names(): { [key: string]: string } {
|
|
15810
|
+
return {
|
|
15811
|
+
headers: 'headers',
|
|
15812
|
+
statusCode: 'statusCode',
|
|
15813
|
+
body: 'body',
|
|
15814
|
+
};
|
|
15815
|
+
}
|
|
15816
|
+
|
|
15817
|
+
static types(): { [key: string]: any } {
|
|
15818
|
+
return {
|
|
15819
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
15820
|
+
statusCode: 'number',
|
|
15821
|
+
body: ListFlashSmsApplicationsResponseBody,
|
|
15822
|
+
};
|
|
15823
|
+
}
|
|
15824
|
+
|
|
15825
|
+
constructor(map?: { [key: string]: any }) {
|
|
15826
|
+
super(map);
|
|
15827
|
+
}
|
|
15828
|
+
}
|
|
15829
|
+
|
|
15830
|
+
export class ListFlashSmsTemplatesRequest extends $tea.Model {
|
|
15831
|
+
/**
|
|
15832
|
+
* @example
|
|
15833
|
+
* 71b396fa-1*********-70b7c0
|
|
15834
|
+
*/
|
|
15835
|
+
applicationId?: string;
|
|
15836
|
+
/**
|
|
15837
|
+
* @remarks
|
|
15838
|
+
* This parameter is required.
|
|
15839
|
+
*
|
|
15840
|
+
* @example
|
|
15841
|
+
* ccc-test
|
|
15842
|
+
*/
|
|
15843
|
+
instanceId?: string;
|
|
15844
|
+
/**
|
|
15845
|
+
* @example
|
|
15846
|
+
* Uincall
|
|
15847
|
+
*/
|
|
15848
|
+
providerId?: string;
|
|
15849
|
+
static names(): { [key: string]: string } {
|
|
15850
|
+
return {
|
|
15851
|
+
applicationId: 'ApplicationId',
|
|
15852
|
+
instanceId: 'InstanceId',
|
|
15853
|
+
providerId: 'ProviderId',
|
|
15854
|
+
};
|
|
15855
|
+
}
|
|
15856
|
+
|
|
15857
|
+
static types(): { [key: string]: any } {
|
|
15858
|
+
return {
|
|
15859
|
+
applicationId: 'string',
|
|
15860
|
+
instanceId: 'string',
|
|
15861
|
+
providerId: 'string',
|
|
15862
|
+
};
|
|
15863
|
+
}
|
|
15864
|
+
|
|
15865
|
+
constructor(map?: { [key: string]: any }) {
|
|
15866
|
+
super(map);
|
|
15867
|
+
}
|
|
15868
|
+
}
|
|
15869
|
+
|
|
15870
|
+
export class ListFlashSmsTemplatesResponseBody extends $tea.Model {
|
|
15871
|
+
/**
|
|
15872
|
+
* @example
|
|
15873
|
+
* OK
|
|
15874
|
+
*/
|
|
15875
|
+
code?: string;
|
|
15876
|
+
data?: ListFlashSmsTemplatesResponseBodyData[];
|
|
15877
|
+
/**
|
|
15878
|
+
* @example
|
|
15879
|
+
* 200
|
|
15880
|
+
*/
|
|
15881
|
+
httpStatusCode?: number;
|
|
15882
|
+
message?: string;
|
|
15883
|
+
params?: string[];
|
|
15884
|
+
/**
|
|
15885
|
+
* @example
|
|
15886
|
+
* 7BEEA660-A45A-45E3-98CC-AFC65E715C23
|
|
15887
|
+
*/
|
|
15888
|
+
requestId?: string;
|
|
15889
|
+
static names(): { [key: string]: string } {
|
|
15890
|
+
return {
|
|
15891
|
+
code: 'Code',
|
|
15892
|
+
data: 'Data',
|
|
15893
|
+
httpStatusCode: 'HttpStatusCode',
|
|
15894
|
+
message: 'Message',
|
|
15895
|
+
params: 'Params',
|
|
15896
|
+
requestId: 'RequestId',
|
|
15897
|
+
};
|
|
15898
|
+
}
|
|
15899
|
+
|
|
15900
|
+
static types(): { [key: string]: any } {
|
|
15901
|
+
return {
|
|
15902
|
+
code: 'string',
|
|
15903
|
+
data: { 'type': 'array', 'itemType': ListFlashSmsTemplatesResponseBodyData },
|
|
15904
|
+
httpStatusCode: 'number',
|
|
15905
|
+
message: 'string',
|
|
15906
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
15907
|
+
requestId: 'string',
|
|
15908
|
+
};
|
|
15909
|
+
}
|
|
15910
|
+
|
|
15911
|
+
constructor(map?: { [key: string]: any }) {
|
|
15912
|
+
super(map);
|
|
15913
|
+
}
|
|
15914
|
+
}
|
|
15915
|
+
|
|
15916
|
+
export class ListFlashSmsTemplatesResponse extends $tea.Model {
|
|
15917
|
+
headers?: { [key: string]: string };
|
|
15918
|
+
statusCode?: number;
|
|
15919
|
+
body?: ListFlashSmsTemplatesResponseBody;
|
|
15920
|
+
static names(): { [key: string]: string } {
|
|
15921
|
+
return {
|
|
15922
|
+
headers: 'headers',
|
|
15923
|
+
statusCode: 'statusCode',
|
|
15924
|
+
body: 'body',
|
|
15925
|
+
};
|
|
15926
|
+
}
|
|
15927
|
+
|
|
15928
|
+
static types(): { [key: string]: any } {
|
|
15929
|
+
return {
|
|
15930
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
15931
|
+
statusCode: 'number',
|
|
15932
|
+
body: ListFlashSmsTemplatesResponseBody,
|
|
15933
|
+
};
|
|
15934
|
+
}
|
|
15935
|
+
|
|
15936
|
+
constructor(map?: { [key: string]: any }) {
|
|
15937
|
+
super(map);
|
|
15938
|
+
}
|
|
15939
|
+
}
|
|
15940
|
+
|
|
15457
15941
|
export class ListGroupChatMessagesRequest extends $tea.Model {
|
|
15458
15942
|
/**
|
|
15459
15943
|
* @example
|
|
@@ -20378,6 +20862,107 @@ export class ListVoicemailsResponse extends $tea.Model {
|
|
|
20378
20862
|
}
|
|
20379
20863
|
}
|
|
20380
20864
|
|
|
20865
|
+
export class ListWaitingChatsRequest extends $tea.Model {
|
|
20866
|
+
/**
|
|
20867
|
+
* @remarks
|
|
20868
|
+
* This parameter is required.
|
|
20869
|
+
*
|
|
20870
|
+
* @example
|
|
20871
|
+
* ccc-test
|
|
20872
|
+
*/
|
|
20873
|
+
instanceId?: string;
|
|
20874
|
+
/**
|
|
20875
|
+
* @example
|
|
20876
|
+
* ["skillgroup1@ccc-test", "skillgroup2@ccc-test"]
|
|
20877
|
+
*/
|
|
20878
|
+
skillGroupIdList?: string;
|
|
20879
|
+
static names(): { [key: string]: string } {
|
|
20880
|
+
return {
|
|
20881
|
+
instanceId: 'InstanceId',
|
|
20882
|
+
skillGroupIdList: 'SkillGroupIdList',
|
|
20883
|
+
};
|
|
20884
|
+
}
|
|
20885
|
+
|
|
20886
|
+
static types(): { [key: string]: any } {
|
|
20887
|
+
return {
|
|
20888
|
+
instanceId: 'string',
|
|
20889
|
+
skillGroupIdList: 'string',
|
|
20890
|
+
};
|
|
20891
|
+
}
|
|
20892
|
+
|
|
20893
|
+
constructor(map?: { [key: string]: any }) {
|
|
20894
|
+
super(map);
|
|
20895
|
+
}
|
|
20896
|
+
}
|
|
20897
|
+
|
|
20898
|
+
export class ListWaitingChatsResponseBody extends $tea.Model {
|
|
20899
|
+
/**
|
|
20900
|
+
* @example
|
|
20901
|
+
* OK
|
|
20902
|
+
*/
|
|
20903
|
+
code?: string;
|
|
20904
|
+
data?: ListWaitingChatsResponseBodyData[];
|
|
20905
|
+
/**
|
|
20906
|
+
* @example
|
|
20907
|
+
* 200
|
|
20908
|
+
*/
|
|
20909
|
+
httpStatusCode?: number;
|
|
20910
|
+
message?: string;
|
|
20911
|
+
/**
|
|
20912
|
+
* @example
|
|
20913
|
+
* 03C67DAD-EB26-41D8-949D-9B0C470FB716
|
|
20914
|
+
*/
|
|
20915
|
+
requestId?: string;
|
|
20916
|
+
static names(): { [key: string]: string } {
|
|
20917
|
+
return {
|
|
20918
|
+
code: 'Code',
|
|
20919
|
+
data: 'Data',
|
|
20920
|
+
httpStatusCode: 'HttpStatusCode',
|
|
20921
|
+
message: 'Message',
|
|
20922
|
+
requestId: 'RequestId',
|
|
20923
|
+
};
|
|
20924
|
+
}
|
|
20925
|
+
|
|
20926
|
+
static types(): { [key: string]: any } {
|
|
20927
|
+
return {
|
|
20928
|
+
code: 'string',
|
|
20929
|
+
data: { 'type': 'array', 'itemType': ListWaitingChatsResponseBodyData },
|
|
20930
|
+
httpStatusCode: 'number',
|
|
20931
|
+
message: 'string',
|
|
20932
|
+
requestId: 'string',
|
|
20933
|
+
};
|
|
20934
|
+
}
|
|
20935
|
+
|
|
20936
|
+
constructor(map?: { [key: string]: any }) {
|
|
20937
|
+
super(map);
|
|
20938
|
+
}
|
|
20939
|
+
}
|
|
20940
|
+
|
|
20941
|
+
export class ListWaitingChatsResponse extends $tea.Model {
|
|
20942
|
+
headers?: { [key: string]: string };
|
|
20943
|
+
statusCode?: number;
|
|
20944
|
+
body?: ListWaitingChatsResponseBody;
|
|
20945
|
+
static names(): { [key: string]: string } {
|
|
20946
|
+
return {
|
|
20947
|
+
headers: 'headers',
|
|
20948
|
+
statusCode: 'statusCode',
|
|
20949
|
+
body: 'body',
|
|
20950
|
+
};
|
|
20951
|
+
}
|
|
20952
|
+
|
|
20953
|
+
static types(): { [key: string]: any } {
|
|
20954
|
+
return {
|
|
20955
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20956
|
+
statusCode: 'number',
|
|
20957
|
+
body: ListWaitingChatsResponseBody,
|
|
20958
|
+
};
|
|
20959
|
+
}
|
|
20960
|
+
|
|
20961
|
+
constructor(map?: { [key: string]: any }) {
|
|
20962
|
+
super(map);
|
|
20963
|
+
}
|
|
20964
|
+
}
|
|
20965
|
+
|
|
20381
20966
|
export class MakeCallRequest extends $tea.Model {
|
|
20382
20967
|
/**
|
|
20383
20968
|
* @remarks
|
|
@@ -20397,6 +20982,7 @@ export class MakeCallRequest extends $tea.Model {
|
|
|
20397
20982
|
* device
|
|
20398
20983
|
*/
|
|
20399
20984
|
deviceId?: string;
|
|
20985
|
+
flashSmsVariables?: string;
|
|
20400
20986
|
/**
|
|
20401
20987
|
* @remarks
|
|
20402
20988
|
* This parameter is required.
|
|
@@ -20431,6 +21017,7 @@ export class MakeCallRequest extends $tea.Model {
|
|
|
20431
21017
|
callee: 'Callee',
|
|
20432
21018
|
caller: 'Caller',
|
|
20433
21019
|
deviceId: 'DeviceId',
|
|
21020
|
+
flashSmsVariables: 'FlashSmsVariables',
|
|
20434
21021
|
instanceId: 'InstanceId',
|
|
20435
21022
|
maskedCallee: 'MaskedCallee',
|
|
20436
21023
|
mediaType: 'MediaType',
|
|
@@ -20445,6 +21032,7 @@ export class MakeCallRequest extends $tea.Model {
|
|
|
20445
21032
|
callee: 'string',
|
|
20446
21033
|
caller: 'string',
|
|
20447
21034
|
deviceId: 'string',
|
|
21035
|
+
flashSmsVariables: 'string',
|
|
20448
21036
|
instanceId: 'string',
|
|
20449
21037
|
maskedCallee: 'string',
|
|
20450
21038
|
mediaType: 'string',
|
|
@@ -37668,6 +38256,7 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
37668
38256
|
* 16
|
|
37669
38257
|
*/
|
|
37670
38258
|
callDuration?: string;
|
|
38259
|
+
callIds?: string;
|
|
37671
38260
|
/**
|
|
37672
38261
|
* @example
|
|
37673
38262
|
* 1332315****
|
|
@@ -37870,6 +38459,7 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
37870
38459
|
agentNames: 'AgentNames',
|
|
37871
38460
|
broker: 'Broker',
|
|
37872
38461
|
callDuration: 'CallDuration',
|
|
38462
|
+
callIds: 'CallIds',
|
|
37873
38463
|
calledNumber: 'CalledNumber',
|
|
37874
38464
|
calleeLocation: 'CalleeLocation',
|
|
37875
38465
|
callerLocation: 'CallerLocation',
|
|
@@ -37927,6 +38517,7 @@ export class ListCallDetailRecordsV2ResponseBodyDataList extends $tea.Model {
|
|
|
37927
38517
|
agentNames: 'string',
|
|
37928
38518
|
broker: 'string',
|
|
37929
38519
|
callDuration: 'string',
|
|
38520
|
+
callIds: 'string',
|
|
37930
38521
|
calledNumber: 'string',
|
|
37931
38522
|
calleeLocation: 'string',
|
|
37932
38523
|
callerLocation: 'string',
|
|
@@ -38018,6 +38609,60 @@ export class ListCallDetailRecordsV2ResponseBodyData extends $tea.Model {
|
|
|
38018
38609
|
}
|
|
38019
38610
|
}
|
|
38020
38611
|
|
|
38612
|
+
export class ListCallSummariesResponseBodyData extends $tea.Model {
|
|
38613
|
+
/**
|
|
38614
|
+
* @example
|
|
38615
|
+
* job-544789******759424
|
|
38616
|
+
*/
|
|
38617
|
+
contactId?: string;
|
|
38618
|
+
context?: string;
|
|
38619
|
+
/**
|
|
38620
|
+
* @example
|
|
38621
|
+
* 1723449513735
|
|
38622
|
+
*/
|
|
38623
|
+
createdTime?: number;
|
|
38624
|
+
/**
|
|
38625
|
+
* @example
|
|
38626
|
+
* creator@ccc-test
|
|
38627
|
+
*/
|
|
38628
|
+
creator?: string;
|
|
38629
|
+
/**
|
|
38630
|
+
* @example
|
|
38631
|
+
* editor@ccc-test
|
|
38632
|
+
*/
|
|
38633
|
+
editor?: string;
|
|
38634
|
+
/**
|
|
38635
|
+
* @example
|
|
38636
|
+
* ac0dd304-****-****-****-4a90010f0d38
|
|
38637
|
+
*/
|
|
38638
|
+
ticketId?: string;
|
|
38639
|
+
static names(): { [key: string]: string } {
|
|
38640
|
+
return {
|
|
38641
|
+
contactId: 'ContactId',
|
|
38642
|
+
context: 'Context',
|
|
38643
|
+
createdTime: 'CreatedTime',
|
|
38644
|
+
creator: 'Creator',
|
|
38645
|
+
editor: 'Editor',
|
|
38646
|
+
ticketId: 'TicketId',
|
|
38647
|
+
};
|
|
38648
|
+
}
|
|
38649
|
+
|
|
38650
|
+
static types(): { [key: string]: any } {
|
|
38651
|
+
return {
|
|
38652
|
+
contactId: 'string',
|
|
38653
|
+
context: 'string',
|
|
38654
|
+
createdTime: 'number',
|
|
38655
|
+
creator: 'string',
|
|
38656
|
+
editor: 'string',
|
|
38657
|
+
ticketId: 'string',
|
|
38658
|
+
};
|
|
38659
|
+
}
|
|
38660
|
+
|
|
38661
|
+
constructor(map?: { [key: string]: any }) {
|
|
38662
|
+
super(map);
|
|
38663
|
+
}
|
|
38664
|
+
}
|
|
38665
|
+
|
|
38021
38666
|
export class ListCallTagsResponseBodyDataList extends $tea.Model {
|
|
38022
38667
|
/**
|
|
38023
38668
|
* @example
|
|
@@ -39102,6 +39747,119 @@ export class ListDocumentsResponseBodyData extends $tea.Model {
|
|
|
39102
39747
|
}
|
|
39103
39748
|
}
|
|
39104
39749
|
|
|
39750
|
+
export class ListFlashSmsApplicationsResponseBodyDataList extends $tea.Model {
|
|
39751
|
+
/**
|
|
39752
|
+
* @example
|
|
39753
|
+
* 71b396fa-***********-bd80e070b7c0
|
|
39754
|
+
*/
|
|
39755
|
+
applicationId?: string;
|
|
39756
|
+
/**
|
|
39757
|
+
* @example
|
|
39758
|
+
* ccc-test
|
|
39759
|
+
*/
|
|
39760
|
+
instanceId?: string;
|
|
39761
|
+
name?: string;
|
|
39762
|
+
/**
|
|
39763
|
+
* @example
|
|
39764
|
+
* Uincall
|
|
39765
|
+
*/
|
|
39766
|
+
providerId?: string;
|
|
39767
|
+
/**
|
|
39768
|
+
* @example
|
|
39769
|
+
* {"user":"600******_dev","pwd":"85abf3**********f494e","account":"6004******"}
|
|
39770
|
+
*/
|
|
39771
|
+
value?: string;
|
|
39772
|
+
static names(): { [key: string]: string } {
|
|
39773
|
+
return {
|
|
39774
|
+
applicationId: 'ApplicationId',
|
|
39775
|
+
instanceId: 'InstanceId',
|
|
39776
|
+
name: 'Name',
|
|
39777
|
+
providerId: 'ProviderId',
|
|
39778
|
+
value: 'Value',
|
|
39779
|
+
};
|
|
39780
|
+
}
|
|
39781
|
+
|
|
39782
|
+
static types(): { [key: string]: any } {
|
|
39783
|
+
return {
|
|
39784
|
+
applicationId: 'string',
|
|
39785
|
+
instanceId: 'string',
|
|
39786
|
+
name: 'string',
|
|
39787
|
+
providerId: 'string',
|
|
39788
|
+
value: 'string',
|
|
39789
|
+
};
|
|
39790
|
+
}
|
|
39791
|
+
|
|
39792
|
+
constructor(map?: { [key: string]: any }) {
|
|
39793
|
+
super(map);
|
|
39794
|
+
}
|
|
39795
|
+
}
|
|
39796
|
+
|
|
39797
|
+
export class ListFlashSmsApplicationsResponseBodyData extends $tea.Model {
|
|
39798
|
+
list?: ListFlashSmsApplicationsResponseBodyDataList[];
|
|
39799
|
+
/**
|
|
39800
|
+
* @example
|
|
39801
|
+
* 1
|
|
39802
|
+
*/
|
|
39803
|
+
pageNumber?: number;
|
|
39804
|
+
/**
|
|
39805
|
+
* @example
|
|
39806
|
+
* 100
|
|
39807
|
+
*/
|
|
39808
|
+
pageSize?: number;
|
|
39809
|
+
/**
|
|
39810
|
+
* @example
|
|
39811
|
+
* 1
|
|
39812
|
+
*/
|
|
39813
|
+
totalCount?: number;
|
|
39814
|
+
static names(): { [key: string]: string } {
|
|
39815
|
+
return {
|
|
39816
|
+
list: 'List',
|
|
39817
|
+
pageNumber: 'PageNumber',
|
|
39818
|
+
pageSize: 'PageSize',
|
|
39819
|
+
totalCount: 'TotalCount',
|
|
39820
|
+
};
|
|
39821
|
+
}
|
|
39822
|
+
|
|
39823
|
+
static types(): { [key: string]: any } {
|
|
39824
|
+
return {
|
|
39825
|
+
list: { 'type': 'array', 'itemType': ListFlashSmsApplicationsResponseBodyDataList },
|
|
39826
|
+
pageNumber: 'number',
|
|
39827
|
+
pageSize: 'number',
|
|
39828
|
+
totalCount: 'number',
|
|
39829
|
+
};
|
|
39830
|
+
}
|
|
39831
|
+
|
|
39832
|
+
constructor(map?: { [key: string]: any }) {
|
|
39833
|
+
super(map);
|
|
39834
|
+
}
|
|
39835
|
+
}
|
|
39836
|
+
|
|
39837
|
+
export class ListFlashSmsTemplatesResponseBodyData extends $tea.Model {
|
|
39838
|
+
/**
|
|
39839
|
+
* @example
|
|
39840
|
+
* 1715*****38
|
|
39841
|
+
*/
|
|
39842
|
+
templateId?: string;
|
|
39843
|
+
templateName?: string;
|
|
39844
|
+
static names(): { [key: string]: string } {
|
|
39845
|
+
return {
|
|
39846
|
+
templateId: 'TemplateId',
|
|
39847
|
+
templateName: 'TemplateName',
|
|
39848
|
+
};
|
|
39849
|
+
}
|
|
39850
|
+
|
|
39851
|
+
static types(): { [key: string]: any } {
|
|
39852
|
+
return {
|
|
39853
|
+
templateId: 'string',
|
|
39854
|
+
templateName: 'string',
|
|
39855
|
+
};
|
|
39856
|
+
}
|
|
39857
|
+
|
|
39858
|
+
constructor(map?: { [key: string]: any }) {
|
|
39859
|
+
super(map);
|
|
39860
|
+
}
|
|
39861
|
+
}
|
|
39862
|
+
|
|
39105
39863
|
export class ListGroupChatMessagesResponseBodyDataMessages extends $tea.Model {
|
|
39106
39864
|
content?: string;
|
|
39107
39865
|
/**
|
|
@@ -50041,6 +50799,138 @@ export class ListVoicemailsResponseBodyData extends $tea.Model {
|
|
|
50041
50799
|
}
|
|
50042
50800
|
}
|
|
50043
50801
|
|
|
50802
|
+
export class ListWaitingChatsResponseBodyDataMessages extends $tea.Model {
|
|
50803
|
+
content?: string;
|
|
50804
|
+
/**
|
|
50805
|
+
* @example
|
|
50806
|
+
* c361765f-******-4e07-b81c-4b5d9183fac6
|
|
50807
|
+
*/
|
|
50808
|
+
senderId?: string;
|
|
50809
|
+
senderType?: string;
|
|
50810
|
+
static names(): { [key: string]: string } {
|
|
50811
|
+
return {
|
|
50812
|
+
content: 'Content',
|
|
50813
|
+
senderId: 'SenderId',
|
|
50814
|
+
senderType: 'SenderType',
|
|
50815
|
+
};
|
|
50816
|
+
}
|
|
50817
|
+
|
|
50818
|
+
static types(): { [key: string]: any } {
|
|
50819
|
+
return {
|
|
50820
|
+
content: 'string',
|
|
50821
|
+
senderId: 'string',
|
|
50822
|
+
senderType: 'string',
|
|
50823
|
+
};
|
|
50824
|
+
}
|
|
50825
|
+
|
|
50826
|
+
constructor(map?: { [key: string]: any }) {
|
|
50827
|
+
super(map);
|
|
50828
|
+
}
|
|
50829
|
+
}
|
|
50830
|
+
|
|
50831
|
+
export class ListWaitingChatsResponseBodyDataUserList extends $tea.Model {
|
|
50832
|
+
avatarUrl?: string;
|
|
50833
|
+
/**
|
|
50834
|
+
* @example
|
|
50835
|
+
* c361765f-******-4e07-b81c-4b5d9183fac6
|
|
50836
|
+
*/
|
|
50837
|
+
userId?: string;
|
|
50838
|
+
userName?: string;
|
|
50839
|
+
/**
|
|
50840
|
+
* @example
|
|
50841
|
+
* CUSTOMER
|
|
50842
|
+
*/
|
|
50843
|
+
userType?: string;
|
|
50844
|
+
static names(): { [key: string]: string } {
|
|
50845
|
+
return {
|
|
50846
|
+
avatarUrl: 'AvatarUrl',
|
|
50847
|
+
userId: 'UserId',
|
|
50848
|
+
userName: 'UserName',
|
|
50849
|
+
userType: 'UserType',
|
|
50850
|
+
};
|
|
50851
|
+
}
|
|
50852
|
+
|
|
50853
|
+
static types(): { [key: string]: any } {
|
|
50854
|
+
return {
|
|
50855
|
+
avatarUrl: 'string',
|
|
50856
|
+
userId: 'string',
|
|
50857
|
+
userName: 'string',
|
|
50858
|
+
userType: 'string',
|
|
50859
|
+
};
|
|
50860
|
+
}
|
|
50861
|
+
|
|
50862
|
+
constructor(map?: { [key: string]: any }) {
|
|
50863
|
+
super(map);
|
|
50864
|
+
}
|
|
50865
|
+
}
|
|
50866
|
+
|
|
50867
|
+
export class ListWaitingChatsResponseBodyData extends $tea.Model {
|
|
50868
|
+
/**
|
|
50869
|
+
* @example
|
|
50870
|
+
* 843073c2-*****-49fb-a616-738ddddfebdc
|
|
50871
|
+
*/
|
|
50872
|
+
accessChannelId?: string;
|
|
50873
|
+
/**
|
|
50874
|
+
* @example
|
|
50875
|
+
* Web
|
|
50876
|
+
*/
|
|
50877
|
+
accessChannelType?: string;
|
|
50878
|
+
/**
|
|
50879
|
+
* @example
|
|
50880
|
+
* false
|
|
50881
|
+
*/
|
|
50882
|
+
beingAssigned?: boolean;
|
|
50883
|
+
/**
|
|
50884
|
+
* @example
|
|
50885
|
+
* $23086709$EAUNIT
|
|
50886
|
+
*/
|
|
50887
|
+
chatConversationId?: string;
|
|
50888
|
+
/**
|
|
50889
|
+
* @example
|
|
50890
|
+
* 1718868572094
|
|
50891
|
+
*/
|
|
50892
|
+
enqueueTime?: number;
|
|
50893
|
+
/**
|
|
50894
|
+
* @example
|
|
50895
|
+
* chat-434537064047960064
|
|
50896
|
+
*/
|
|
50897
|
+
jobId?: string;
|
|
50898
|
+
messages?: ListWaitingChatsResponseBodyDataMessages[];
|
|
50899
|
+
skillGroupId?: string;
|
|
50900
|
+
userList?: ListWaitingChatsResponseBodyDataUserList[];
|
|
50901
|
+
static names(): { [key: string]: string } {
|
|
50902
|
+
return {
|
|
50903
|
+
accessChannelId: 'AccessChannelId',
|
|
50904
|
+
accessChannelType: 'AccessChannelType',
|
|
50905
|
+
beingAssigned: 'BeingAssigned',
|
|
50906
|
+
chatConversationId: 'ChatConversationId',
|
|
50907
|
+
enqueueTime: 'EnqueueTime',
|
|
50908
|
+
jobId: 'JobId',
|
|
50909
|
+
messages: 'Messages',
|
|
50910
|
+
skillGroupId: 'SkillGroupId',
|
|
50911
|
+
userList: 'UserList',
|
|
50912
|
+
};
|
|
50913
|
+
}
|
|
50914
|
+
|
|
50915
|
+
static types(): { [key: string]: any } {
|
|
50916
|
+
return {
|
|
50917
|
+
accessChannelId: 'string',
|
|
50918
|
+
accessChannelType: 'string',
|
|
50919
|
+
beingAssigned: 'boolean',
|
|
50920
|
+
chatConversationId: 'string',
|
|
50921
|
+
enqueueTime: 'number',
|
|
50922
|
+
jobId: 'string',
|
|
50923
|
+
messages: { 'type': 'array', 'itemType': ListWaitingChatsResponseBodyDataMessages },
|
|
50924
|
+
skillGroupId: 'string',
|
|
50925
|
+
userList: { 'type': 'array', 'itemType': ListWaitingChatsResponseBodyDataUserList },
|
|
50926
|
+
};
|
|
50927
|
+
}
|
|
50928
|
+
|
|
50929
|
+
constructor(map?: { [key: string]: any }) {
|
|
50930
|
+
super(map);
|
|
50931
|
+
}
|
|
50932
|
+
}
|
|
50933
|
+
|
|
50044
50934
|
export class MakeCallResponseBodyDataCallContextChannelContexts extends $tea.Model {
|
|
50045
50935
|
/**
|
|
50046
50936
|
* @example
|
|
@@ -57680,6 +58570,52 @@ export default class Client extends OpenApi {
|
|
|
57680
58570
|
return await this.getCaseFileUploadUrlWithOptions(request, runtime);
|
|
57681
58571
|
}
|
|
57682
58572
|
|
|
58573
|
+
/**
|
|
58574
|
+
* @param request - GetChatMediaUrlRequest
|
|
58575
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
58576
|
+
* @returns GetChatMediaUrlResponse
|
|
58577
|
+
*/
|
|
58578
|
+
async getChatMediaUrlWithOptions(request: GetChatMediaUrlRequest, runtime: $Util.RuntimeOptions): Promise<GetChatMediaUrlResponse> {
|
|
58579
|
+
Util.validateModel(request);
|
|
58580
|
+
let body : {[key: string ]: any} = { };
|
|
58581
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
58582
|
+
body["InstanceId"] = request.instanceId;
|
|
58583
|
+
}
|
|
58584
|
+
|
|
58585
|
+
if (!Util.isUnset(request.mediaId)) {
|
|
58586
|
+
body["MediaId"] = request.mediaId;
|
|
58587
|
+
}
|
|
58588
|
+
|
|
58589
|
+
if (!Util.isUnset(request.requestId)) {
|
|
58590
|
+
body["RequestId"] = request.requestId;
|
|
58591
|
+
}
|
|
58592
|
+
|
|
58593
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
58594
|
+
body: OpenApiUtil.parseToMap(body),
|
|
58595
|
+
});
|
|
58596
|
+
let params = new $OpenApi.Params({
|
|
58597
|
+
action: "GetChatMediaUrl",
|
|
58598
|
+
version: "2020-07-01",
|
|
58599
|
+
protocol: "HTTPS",
|
|
58600
|
+
pathname: "/",
|
|
58601
|
+
method: "POST",
|
|
58602
|
+
authType: "AK",
|
|
58603
|
+
style: "RPC",
|
|
58604
|
+
reqBodyType: "formData",
|
|
58605
|
+
bodyType: "json",
|
|
58606
|
+
});
|
|
58607
|
+
return $tea.cast<GetChatMediaUrlResponse>(await this.callApi(params, req, runtime), new GetChatMediaUrlResponse({}));
|
|
58608
|
+
}
|
|
58609
|
+
|
|
58610
|
+
/**
|
|
58611
|
+
* @param request - GetChatMediaUrlRequest
|
|
58612
|
+
* @returns GetChatMediaUrlResponse
|
|
58613
|
+
*/
|
|
58614
|
+
async getChatMediaUrl(request: GetChatMediaUrlRequest): Promise<GetChatMediaUrlResponse> {
|
|
58615
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
58616
|
+
return await this.getChatMediaUrlWithOptions(request, runtime);
|
|
58617
|
+
}
|
|
58618
|
+
|
|
57683
58619
|
/**
|
|
57684
58620
|
* @param request - GetContactFlowRequest
|
|
57685
58621
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -60140,6 +61076,14 @@ export default class Client extends OpenApi {
|
|
|
60140
61076
|
query["PageSize"] = request.pageSize;
|
|
60141
61077
|
}
|
|
60142
61078
|
|
|
61079
|
+
if (!Util.isUnset(request.releaseInitiatorList)) {
|
|
61080
|
+
query["ReleaseInitiatorList"] = request.releaseInitiatorList;
|
|
61081
|
+
}
|
|
61082
|
+
|
|
61083
|
+
if (!Util.isUnset(request.releaseReasonList)) {
|
|
61084
|
+
query["ReleaseReasonList"] = request.releaseReasonList;
|
|
61085
|
+
}
|
|
61086
|
+
|
|
60143
61087
|
if (!Util.isUnset(request.satisfactionDescriptionList)) {
|
|
60144
61088
|
query["SatisfactionDescriptionList"] = request.satisfactionDescriptionList;
|
|
60145
61089
|
}
|
|
@@ -60194,6 +61138,54 @@ export default class Client extends OpenApi {
|
|
|
60194
61138
|
return await this.listCallDetailRecordsV2WithOptions(request, runtime);
|
|
60195
61139
|
}
|
|
60196
61140
|
|
|
61141
|
+
/**
|
|
61142
|
+
* @param tmpReq - ListCallSummariesRequest
|
|
61143
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
61144
|
+
* @returns ListCallSummariesResponse
|
|
61145
|
+
*/
|
|
61146
|
+
async listCallSummariesWithOptions(tmpReq: ListCallSummariesRequest, runtime: $Util.RuntimeOptions): Promise<ListCallSummariesResponse> {
|
|
61147
|
+
Util.validateModel(tmpReq);
|
|
61148
|
+
let request = new ListCallSummariesShrinkRequest({ });
|
|
61149
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
61150
|
+
if (!Util.isUnset(tmpReq.contactIdList)) {
|
|
61151
|
+
request.contactIdListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.contactIdList, "ContactIdList", "json");
|
|
61152
|
+
}
|
|
61153
|
+
|
|
61154
|
+
let query = { };
|
|
61155
|
+
if (!Util.isUnset(request.contactIdListShrink)) {
|
|
61156
|
+
query["ContactIdList"] = request.contactIdListShrink;
|
|
61157
|
+
}
|
|
61158
|
+
|
|
61159
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
61160
|
+
query["InstanceId"] = request.instanceId;
|
|
61161
|
+
}
|
|
61162
|
+
|
|
61163
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
61164
|
+
query: OpenApiUtil.query(query),
|
|
61165
|
+
});
|
|
61166
|
+
let params = new $OpenApi.Params({
|
|
61167
|
+
action: "ListCallSummaries",
|
|
61168
|
+
version: "2020-07-01",
|
|
61169
|
+
protocol: "HTTPS",
|
|
61170
|
+
pathname: "/",
|
|
61171
|
+
method: "POST",
|
|
61172
|
+
authType: "AK",
|
|
61173
|
+
style: "RPC",
|
|
61174
|
+
reqBodyType: "formData",
|
|
61175
|
+
bodyType: "json",
|
|
61176
|
+
});
|
|
61177
|
+
return $tea.cast<ListCallSummariesResponse>(await this.callApi(params, req, runtime), new ListCallSummariesResponse({}));
|
|
61178
|
+
}
|
|
61179
|
+
|
|
61180
|
+
/**
|
|
61181
|
+
* @param request - ListCallSummariesRequest
|
|
61182
|
+
* @returns ListCallSummariesResponse
|
|
61183
|
+
*/
|
|
61184
|
+
async listCallSummaries(request: ListCallSummariesRequest): Promise<ListCallSummariesResponse> {
|
|
61185
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
61186
|
+
return await this.listCallSummariesWithOptions(request, runtime);
|
|
61187
|
+
}
|
|
61188
|
+
|
|
60197
61189
|
/**
|
|
60198
61190
|
* 列出号码标签
|
|
60199
61191
|
*
|
|
@@ -60842,6 +61834,106 @@ export default class Client extends OpenApi {
|
|
|
60842
61834
|
return await this.listDocumentsWithOptions(request, runtime);
|
|
60843
61835
|
}
|
|
60844
61836
|
|
|
61837
|
+
/**
|
|
61838
|
+
* @param request - ListFlashSmsApplicationsRequest
|
|
61839
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
61840
|
+
* @returns ListFlashSmsApplicationsResponse
|
|
61841
|
+
*/
|
|
61842
|
+
async listFlashSmsApplicationsWithOptions(request: ListFlashSmsApplicationsRequest, runtime: $Util.RuntimeOptions): Promise<ListFlashSmsApplicationsResponse> {
|
|
61843
|
+
Util.validateModel(request);
|
|
61844
|
+
let query = { };
|
|
61845
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
61846
|
+
query["InstanceId"] = request.instanceId;
|
|
61847
|
+
}
|
|
61848
|
+
|
|
61849
|
+
if (!Util.isUnset(request.name)) {
|
|
61850
|
+
query["Name"] = request.name;
|
|
61851
|
+
}
|
|
61852
|
+
|
|
61853
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
61854
|
+
query["PageNumber"] = request.pageNumber;
|
|
61855
|
+
}
|
|
61856
|
+
|
|
61857
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
61858
|
+
query["PageSize"] = request.pageSize;
|
|
61859
|
+
}
|
|
61860
|
+
|
|
61861
|
+
if (!Util.isUnset(request.providerId)) {
|
|
61862
|
+
query["ProviderId"] = request.providerId;
|
|
61863
|
+
}
|
|
61864
|
+
|
|
61865
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
61866
|
+
query: OpenApiUtil.query(query),
|
|
61867
|
+
});
|
|
61868
|
+
let params = new $OpenApi.Params({
|
|
61869
|
+
action: "ListFlashSmsApplications",
|
|
61870
|
+
version: "2020-07-01",
|
|
61871
|
+
protocol: "HTTPS",
|
|
61872
|
+
pathname: "/",
|
|
61873
|
+
method: "POST",
|
|
61874
|
+
authType: "AK",
|
|
61875
|
+
style: "RPC",
|
|
61876
|
+
reqBodyType: "formData",
|
|
61877
|
+
bodyType: "json",
|
|
61878
|
+
});
|
|
61879
|
+
return $tea.cast<ListFlashSmsApplicationsResponse>(await this.callApi(params, req, runtime), new ListFlashSmsApplicationsResponse({}));
|
|
61880
|
+
}
|
|
61881
|
+
|
|
61882
|
+
/**
|
|
61883
|
+
* @param request - ListFlashSmsApplicationsRequest
|
|
61884
|
+
* @returns ListFlashSmsApplicationsResponse
|
|
61885
|
+
*/
|
|
61886
|
+
async listFlashSmsApplications(request: ListFlashSmsApplicationsRequest): Promise<ListFlashSmsApplicationsResponse> {
|
|
61887
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
61888
|
+
return await this.listFlashSmsApplicationsWithOptions(request, runtime);
|
|
61889
|
+
}
|
|
61890
|
+
|
|
61891
|
+
/**
|
|
61892
|
+
* @param request - ListFlashSmsTemplatesRequest
|
|
61893
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
61894
|
+
* @returns ListFlashSmsTemplatesResponse
|
|
61895
|
+
*/
|
|
61896
|
+
async listFlashSmsTemplatesWithOptions(request: ListFlashSmsTemplatesRequest, runtime: $Util.RuntimeOptions): Promise<ListFlashSmsTemplatesResponse> {
|
|
61897
|
+
Util.validateModel(request);
|
|
61898
|
+
let query = { };
|
|
61899
|
+
if (!Util.isUnset(request.applicationId)) {
|
|
61900
|
+
query["ApplicationId"] = request.applicationId;
|
|
61901
|
+
}
|
|
61902
|
+
|
|
61903
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
61904
|
+
query["InstanceId"] = request.instanceId;
|
|
61905
|
+
}
|
|
61906
|
+
|
|
61907
|
+
if (!Util.isUnset(request.providerId)) {
|
|
61908
|
+
query["ProviderId"] = request.providerId;
|
|
61909
|
+
}
|
|
61910
|
+
|
|
61911
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
61912
|
+
query: OpenApiUtil.query(query),
|
|
61913
|
+
});
|
|
61914
|
+
let params = new $OpenApi.Params({
|
|
61915
|
+
action: "ListFlashSmsTemplates",
|
|
61916
|
+
version: "2020-07-01",
|
|
61917
|
+
protocol: "HTTPS",
|
|
61918
|
+
pathname: "/",
|
|
61919
|
+
method: "POST",
|
|
61920
|
+
authType: "AK",
|
|
61921
|
+
style: "RPC",
|
|
61922
|
+
reqBodyType: "formData",
|
|
61923
|
+
bodyType: "json",
|
|
61924
|
+
});
|
|
61925
|
+
return $tea.cast<ListFlashSmsTemplatesResponse>(await this.callApi(params, req, runtime), new ListFlashSmsTemplatesResponse({}));
|
|
61926
|
+
}
|
|
61927
|
+
|
|
61928
|
+
/**
|
|
61929
|
+
* @param request - ListFlashSmsTemplatesRequest
|
|
61930
|
+
* @returns ListFlashSmsTemplatesResponse
|
|
61931
|
+
*/
|
|
61932
|
+
async listFlashSmsTemplates(request: ListFlashSmsTemplatesRequest): Promise<ListFlashSmsTemplatesResponse> {
|
|
61933
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
61934
|
+
return await this.listFlashSmsTemplatesWithOptions(request, runtime);
|
|
61935
|
+
}
|
|
61936
|
+
|
|
60845
61937
|
/**
|
|
60846
61938
|
* ListGroupChatMessages
|
|
60847
61939
|
*
|
|
@@ -62966,6 +64058,48 @@ export default class Client extends OpenApi {
|
|
|
62966
64058
|
return await this.listVoicemailsWithOptions(request, runtime);
|
|
62967
64059
|
}
|
|
62968
64060
|
|
|
64061
|
+
/**
|
|
64062
|
+
* @param request - ListWaitingChatsRequest
|
|
64063
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
64064
|
+
* @returns ListWaitingChatsResponse
|
|
64065
|
+
*/
|
|
64066
|
+
async listWaitingChatsWithOptions(request: ListWaitingChatsRequest, runtime: $Util.RuntimeOptions): Promise<ListWaitingChatsResponse> {
|
|
64067
|
+
Util.validateModel(request);
|
|
64068
|
+
let query = { };
|
|
64069
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
64070
|
+
query["InstanceId"] = request.instanceId;
|
|
64071
|
+
}
|
|
64072
|
+
|
|
64073
|
+
if (!Util.isUnset(request.skillGroupIdList)) {
|
|
64074
|
+
query["SkillGroupIdList"] = request.skillGroupIdList;
|
|
64075
|
+
}
|
|
64076
|
+
|
|
64077
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
64078
|
+
query: OpenApiUtil.query(query),
|
|
64079
|
+
});
|
|
64080
|
+
let params = new $OpenApi.Params({
|
|
64081
|
+
action: "ListWaitingChats",
|
|
64082
|
+
version: "2020-07-01",
|
|
64083
|
+
protocol: "HTTPS",
|
|
64084
|
+
pathname: "/",
|
|
64085
|
+
method: "POST",
|
|
64086
|
+
authType: "AK",
|
|
64087
|
+
style: "RPC",
|
|
64088
|
+
reqBodyType: "formData",
|
|
64089
|
+
bodyType: "json",
|
|
64090
|
+
});
|
|
64091
|
+
return $tea.cast<ListWaitingChatsResponse>(await this.callApi(params, req, runtime), new ListWaitingChatsResponse({}));
|
|
64092
|
+
}
|
|
64093
|
+
|
|
64094
|
+
/**
|
|
64095
|
+
* @param request - ListWaitingChatsRequest
|
|
64096
|
+
* @returns ListWaitingChatsResponse
|
|
64097
|
+
*/
|
|
64098
|
+
async listWaitingChats(request: ListWaitingChatsRequest): Promise<ListWaitingChatsResponse> {
|
|
64099
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
64100
|
+
return await this.listWaitingChatsWithOptions(request, runtime);
|
|
64101
|
+
}
|
|
64102
|
+
|
|
62969
64103
|
/**
|
|
62970
64104
|
* @param request - MakeCallRequest
|
|
62971
64105
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -62986,6 +64120,10 @@ export default class Client extends OpenApi {
|
|
|
62986
64120
|
query["DeviceId"] = request.deviceId;
|
|
62987
64121
|
}
|
|
62988
64122
|
|
|
64123
|
+
if (!Util.isUnset(request.flashSmsVariables)) {
|
|
64124
|
+
query["FlashSmsVariables"] = request.flashSmsVariables;
|
|
64125
|
+
}
|
|
64126
|
+
|
|
62989
64127
|
if (!Util.isUnset(request.instanceId)) {
|
|
62990
64128
|
query["InstanceId"] = request.instanceId;
|
|
62991
64129
|
}
|