@alicloud/ccc20200701 2.27.1 → 2.29.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 +266 -0
- package/dist/client.js +336 -19
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +478 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2447,6 +2447,7 @@ export class BlindTransferRequest extends $tea.Model {
|
|
|
2447
2447
|
queuingOverflowThreshold?: number;
|
|
2448
2448
|
queuingTimeoutSeconds?: number;
|
|
2449
2449
|
routingType?: string;
|
|
2450
|
+
skillGroupId?: string;
|
|
2450
2451
|
strategyName?: string;
|
|
2451
2452
|
strategyParams?: string;
|
|
2452
2453
|
tags?: string;
|
|
@@ -2484,6 +2485,7 @@ export class BlindTransferRequest extends $tea.Model {
|
|
|
2484
2485
|
queuingOverflowThreshold: 'QueuingOverflowThreshold',
|
|
2485
2486
|
queuingTimeoutSeconds: 'QueuingTimeoutSeconds',
|
|
2486
2487
|
routingType: 'RoutingType',
|
|
2488
|
+
skillGroupId: 'SkillGroupId',
|
|
2487
2489
|
strategyName: 'StrategyName',
|
|
2488
2490
|
strategyParams: 'StrategyParams',
|
|
2489
2491
|
tags: 'Tags',
|
|
@@ -2505,6 +2507,7 @@ export class BlindTransferRequest extends $tea.Model {
|
|
|
2505
2507
|
queuingOverflowThreshold: 'number',
|
|
2506
2508
|
queuingTimeoutSeconds: 'number',
|
|
2507
2509
|
routingType: 'string',
|
|
2510
|
+
skillGroupId: 'string',
|
|
2508
2511
|
strategyName: 'string',
|
|
2509
2512
|
strategyParams: 'string',
|
|
2510
2513
|
tags: 'string',
|
|
@@ -7048,6 +7051,124 @@ export class EndConferenceResponse extends $tea.Model {
|
|
|
7048
7051
|
}
|
|
7049
7052
|
}
|
|
7050
7053
|
|
|
7054
|
+
export class ExportContactFlowRequest extends $tea.Model {
|
|
7055
|
+
/**
|
|
7056
|
+
* @remarks
|
|
7057
|
+
* This parameter is required.
|
|
7058
|
+
*
|
|
7059
|
+
* @example
|
|
7060
|
+
* lc-uf61xdtm0mf73k
|
|
7061
|
+
*/
|
|
7062
|
+
flowId?: string;
|
|
7063
|
+
/**
|
|
7064
|
+
* @remarks
|
|
7065
|
+
* This parameter is required.
|
|
7066
|
+
*
|
|
7067
|
+
* @example
|
|
7068
|
+
* 9cfad875-6260-4a53-ab6e-b13e3fb3xxxx
|
|
7069
|
+
*/
|
|
7070
|
+
instanceId?: string;
|
|
7071
|
+
/**
|
|
7072
|
+
* @example
|
|
7073
|
+
* AF9834D8-6D09-4A1B-BADB-B019D9D444C8
|
|
7074
|
+
*/
|
|
7075
|
+
requestId?: string;
|
|
7076
|
+
static names(): { [key: string]: string } {
|
|
7077
|
+
return {
|
|
7078
|
+
flowId: 'FlowId',
|
|
7079
|
+
instanceId: 'InstanceId',
|
|
7080
|
+
requestId: 'RequestId',
|
|
7081
|
+
};
|
|
7082
|
+
}
|
|
7083
|
+
|
|
7084
|
+
static types(): { [key: string]: any } {
|
|
7085
|
+
return {
|
|
7086
|
+
flowId: 'string',
|
|
7087
|
+
instanceId: 'string',
|
|
7088
|
+
requestId: 'string',
|
|
7089
|
+
};
|
|
7090
|
+
}
|
|
7091
|
+
|
|
7092
|
+
constructor(map?: { [key: string]: any }) {
|
|
7093
|
+
super(map);
|
|
7094
|
+
}
|
|
7095
|
+
}
|
|
7096
|
+
|
|
7097
|
+
export class ExportContactFlowResponseBody extends $tea.Model {
|
|
7098
|
+
/**
|
|
7099
|
+
* @example
|
|
7100
|
+
* OK
|
|
7101
|
+
*/
|
|
7102
|
+
code?: string;
|
|
7103
|
+
/**
|
|
7104
|
+
* @example
|
|
7105
|
+
* {}
|
|
7106
|
+
*/
|
|
7107
|
+
flowPackageData?: string;
|
|
7108
|
+
/**
|
|
7109
|
+
* @example
|
|
7110
|
+
* 200
|
|
7111
|
+
*/
|
|
7112
|
+
httpStatusCode?: number;
|
|
7113
|
+
message?: string;
|
|
7114
|
+
params?: string[];
|
|
7115
|
+
/**
|
|
7116
|
+
* @example
|
|
7117
|
+
* DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE
|
|
7118
|
+
*/
|
|
7119
|
+
requestId?: string;
|
|
7120
|
+
static names(): { [key: string]: string } {
|
|
7121
|
+
return {
|
|
7122
|
+
code: 'Code',
|
|
7123
|
+
flowPackageData: 'FlowPackageData',
|
|
7124
|
+
httpStatusCode: 'HttpStatusCode',
|
|
7125
|
+
message: 'Message',
|
|
7126
|
+
params: 'Params',
|
|
7127
|
+
requestId: 'RequestId',
|
|
7128
|
+
};
|
|
7129
|
+
}
|
|
7130
|
+
|
|
7131
|
+
static types(): { [key: string]: any } {
|
|
7132
|
+
return {
|
|
7133
|
+
code: 'string',
|
|
7134
|
+
flowPackageData: 'string',
|
|
7135
|
+
httpStatusCode: 'number',
|
|
7136
|
+
message: 'string',
|
|
7137
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
7138
|
+
requestId: 'string',
|
|
7139
|
+
};
|
|
7140
|
+
}
|
|
7141
|
+
|
|
7142
|
+
constructor(map?: { [key: string]: any }) {
|
|
7143
|
+
super(map);
|
|
7144
|
+
}
|
|
7145
|
+
}
|
|
7146
|
+
|
|
7147
|
+
export class ExportContactFlowResponse extends $tea.Model {
|
|
7148
|
+
headers?: { [key: string]: string };
|
|
7149
|
+
statusCode?: number;
|
|
7150
|
+
body?: ExportContactFlowResponseBody;
|
|
7151
|
+
static names(): { [key: string]: string } {
|
|
7152
|
+
return {
|
|
7153
|
+
headers: 'headers',
|
|
7154
|
+
statusCode: 'statusCode',
|
|
7155
|
+
body: 'body',
|
|
7156
|
+
};
|
|
7157
|
+
}
|
|
7158
|
+
|
|
7159
|
+
static types(): { [key: string]: any } {
|
|
7160
|
+
return {
|
|
7161
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7162
|
+
statusCode: 'number',
|
|
7163
|
+
body: ExportContactFlowResponseBody,
|
|
7164
|
+
};
|
|
7165
|
+
}
|
|
7166
|
+
|
|
7167
|
+
constructor(map?: { [key: string]: any }) {
|
|
7168
|
+
super(map);
|
|
7169
|
+
}
|
|
7170
|
+
}
|
|
7171
|
+
|
|
7051
7172
|
export class ExportCustomCallTaggingRequest extends $tea.Model {
|
|
7052
7173
|
/**
|
|
7053
7174
|
* @remarks
|
|
@@ -9473,6 +9594,114 @@ export class GetInstanceTrendingReportResponse extends $tea.Model {
|
|
|
9473
9594
|
}
|
|
9474
9595
|
}
|
|
9475
9596
|
|
|
9597
|
+
export class GetIvrTrackingSummaryRequest extends $tea.Model {
|
|
9598
|
+
/**
|
|
9599
|
+
* @remarks
|
|
9600
|
+
* This parameter is required.
|
|
9601
|
+
*
|
|
9602
|
+
* @example
|
|
9603
|
+
* job-489361145506897920
|
|
9604
|
+
*/
|
|
9605
|
+
contactId?: string;
|
|
9606
|
+
/**
|
|
9607
|
+
* @remarks
|
|
9608
|
+
* This parameter is required.
|
|
9609
|
+
*
|
|
9610
|
+
* @example
|
|
9611
|
+
* 0f7ad007-ab50-4b3d-a87a-56864eb40dab
|
|
9612
|
+
*/
|
|
9613
|
+
instanceId?: string;
|
|
9614
|
+
static names(): { [key: string]: string } {
|
|
9615
|
+
return {
|
|
9616
|
+
contactId: 'ContactId',
|
|
9617
|
+
instanceId: 'InstanceId',
|
|
9618
|
+
};
|
|
9619
|
+
}
|
|
9620
|
+
|
|
9621
|
+
static types(): { [key: string]: any } {
|
|
9622
|
+
return {
|
|
9623
|
+
contactId: 'string',
|
|
9624
|
+
instanceId: 'string',
|
|
9625
|
+
};
|
|
9626
|
+
}
|
|
9627
|
+
|
|
9628
|
+
constructor(map?: { [key: string]: any }) {
|
|
9629
|
+
super(map);
|
|
9630
|
+
}
|
|
9631
|
+
}
|
|
9632
|
+
|
|
9633
|
+
export class GetIvrTrackingSummaryResponseBody extends $tea.Model {
|
|
9634
|
+
/**
|
|
9635
|
+
* @example
|
|
9636
|
+
* OK
|
|
9637
|
+
*/
|
|
9638
|
+
code?: string;
|
|
9639
|
+
data?: string;
|
|
9640
|
+
/**
|
|
9641
|
+
* @example
|
|
9642
|
+
* 200
|
|
9643
|
+
*/
|
|
9644
|
+
httpStatusCode?: number;
|
|
9645
|
+
/**
|
|
9646
|
+
* @example
|
|
9647
|
+
* Unknown error code \\"NoPermission.Recording\\". Reason: null
|
|
9648
|
+
*/
|
|
9649
|
+
message?: string;
|
|
9650
|
+
/**
|
|
9651
|
+
* @example
|
|
9652
|
+
* DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE
|
|
9653
|
+
*/
|
|
9654
|
+
requestId?: string;
|
|
9655
|
+
static names(): { [key: string]: string } {
|
|
9656
|
+
return {
|
|
9657
|
+
code: 'Code',
|
|
9658
|
+
data: 'Data',
|
|
9659
|
+
httpStatusCode: 'HttpStatusCode',
|
|
9660
|
+
message: 'Message',
|
|
9661
|
+
requestId: 'RequestId',
|
|
9662
|
+
};
|
|
9663
|
+
}
|
|
9664
|
+
|
|
9665
|
+
static types(): { [key: string]: any } {
|
|
9666
|
+
return {
|
|
9667
|
+
code: 'string',
|
|
9668
|
+
data: 'string',
|
|
9669
|
+
httpStatusCode: 'number',
|
|
9670
|
+
message: 'string',
|
|
9671
|
+
requestId: 'string',
|
|
9672
|
+
};
|
|
9673
|
+
}
|
|
9674
|
+
|
|
9675
|
+
constructor(map?: { [key: string]: any }) {
|
|
9676
|
+
super(map);
|
|
9677
|
+
}
|
|
9678
|
+
}
|
|
9679
|
+
|
|
9680
|
+
export class GetIvrTrackingSummaryResponse extends $tea.Model {
|
|
9681
|
+
headers?: { [key: string]: string };
|
|
9682
|
+
statusCode?: number;
|
|
9683
|
+
body?: GetIvrTrackingSummaryResponseBody;
|
|
9684
|
+
static names(): { [key: string]: string } {
|
|
9685
|
+
return {
|
|
9686
|
+
headers: 'headers',
|
|
9687
|
+
statusCode: 'statusCode',
|
|
9688
|
+
body: 'body',
|
|
9689
|
+
};
|
|
9690
|
+
}
|
|
9691
|
+
|
|
9692
|
+
static types(): { [key: string]: any } {
|
|
9693
|
+
return {
|
|
9694
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9695
|
+
statusCode: 'number',
|
|
9696
|
+
body: GetIvrTrackingSummaryResponseBody,
|
|
9697
|
+
};
|
|
9698
|
+
}
|
|
9699
|
+
|
|
9700
|
+
constructor(map?: { [key: string]: any }) {
|
|
9701
|
+
super(map);
|
|
9702
|
+
}
|
|
9703
|
+
}
|
|
9704
|
+
|
|
9476
9705
|
export class GetLoginDetailsRequest extends $tea.Model {
|
|
9477
9706
|
chatDeviceId?: string;
|
|
9478
9707
|
/**
|
|
@@ -11652,6 +11881,117 @@ export class ImportAdminsResponse extends $tea.Model {
|
|
|
11652
11881
|
}
|
|
11653
11882
|
}
|
|
11654
11883
|
|
|
11884
|
+
export class ImportContactFlowRequest extends $tea.Model {
|
|
11885
|
+
/**
|
|
11886
|
+
* @remarks
|
|
11887
|
+
* This parameter is required.
|
|
11888
|
+
*
|
|
11889
|
+
* @example
|
|
11890
|
+
* {}
|
|
11891
|
+
*/
|
|
11892
|
+
flowPackageData?: string;
|
|
11893
|
+
/**
|
|
11894
|
+
* @remarks
|
|
11895
|
+
* This parameter is required.
|
|
11896
|
+
*
|
|
11897
|
+
* @example
|
|
11898
|
+
* 9cfad875-6260-4a53-ab6e-b13e3fb31f7d
|
|
11899
|
+
*/
|
|
11900
|
+
instanceId?: string;
|
|
11901
|
+
/**
|
|
11902
|
+
* @example
|
|
11903
|
+
* DE803553-8AA9-4B9D-9E4E-A82BC69EDCEE
|
|
11904
|
+
*/
|
|
11905
|
+
requestId?: string;
|
|
11906
|
+
static names(): { [key: string]: string } {
|
|
11907
|
+
return {
|
|
11908
|
+
flowPackageData: 'FlowPackageData',
|
|
11909
|
+
instanceId: 'InstanceId',
|
|
11910
|
+
requestId: 'RequestId',
|
|
11911
|
+
};
|
|
11912
|
+
}
|
|
11913
|
+
|
|
11914
|
+
static types(): { [key: string]: any } {
|
|
11915
|
+
return {
|
|
11916
|
+
flowPackageData: 'string',
|
|
11917
|
+
instanceId: 'string',
|
|
11918
|
+
requestId: 'string',
|
|
11919
|
+
};
|
|
11920
|
+
}
|
|
11921
|
+
|
|
11922
|
+
constructor(map?: { [key: string]: any }) {
|
|
11923
|
+
super(map);
|
|
11924
|
+
}
|
|
11925
|
+
}
|
|
11926
|
+
|
|
11927
|
+
export class ImportContactFlowResponseBody extends $tea.Model {
|
|
11928
|
+
/**
|
|
11929
|
+
* @example
|
|
11930
|
+
* OK
|
|
11931
|
+
*/
|
|
11932
|
+
code?: string;
|
|
11933
|
+
/**
|
|
11934
|
+
* @example
|
|
11935
|
+
* 200
|
|
11936
|
+
*/
|
|
11937
|
+
httpStatusCode?: number;
|
|
11938
|
+
message?: string;
|
|
11939
|
+
params?: string[];
|
|
11940
|
+
/**
|
|
11941
|
+
* @example
|
|
11942
|
+
* 27DD30C4-CAE2-481A-97CC-D3C54625341D
|
|
11943
|
+
*/
|
|
11944
|
+
requestId?: string;
|
|
11945
|
+
static names(): { [key: string]: string } {
|
|
11946
|
+
return {
|
|
11947
|
+
code: 'Code',
|
|
11948
|
+
httpStatusCode: 'HttpStatusCode',
|
|
11949
|
+
message: 'Message',
|
|
11950
|
+
params: 'Params',
|
|
11951
|
+
requestId: 'RequestId',
|
|
11952
|
+
};
|
|
11953
|
+
}
|
|
11954
|
+
|
|
11955
|
+
static types(): { [key: string]: any } {
|
|
11956
|
+
return {
|
|
11957
|
+
code: 'string',
|
|
11958
|
+
httpStatusCode: 'number',
|
|
11959
|
+
message: 'string',
|
|
11960
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
11961
|
+
requestId: 'string',
|
|
11962
|
+
};
|
|
11963
|
+
}
|
|
11964
|
+
|
|
11965
|
+
constructor(map?: { [key: string]: any }) {
|
|
11966
|
+
super(map);
|
|
11967
|
+
}
|
|
11968
|
+
}
|
|
11969
|
+
|
|
11970
|
+
export class ImportContactFlowResponse extends $tea.Model {
|
|
11971
|
+
headers?: { [key: string]: string };
|
|
11972
|
+
statusCode?: number;
|
|
11973
|
+
body?: ImportContactFlowResponseBody;
|
|
11974
|
+
static names(): { [key: string]: string } {
|
|
11975
|
+
return {
|
|
11976
|
+
headers: 'headers',
|
|
11977
|
+
statusCode: 'statusCode',
|
|
11978
|
+
body: 'body',
|
|
11979
|
+
};
|
|
11980
|
+
}
|
|
11981
|
+
|
|
11982
|
+
static types(): { [key: string]: any } {
|
|
11983
|
+
return {
|
|
11984
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
11985
|
+
statusCode: 'number',
|
|
11986
|
+
body: ImportContactFlowResponseBody,
|
|
11987
|
+
};
|
|
11988
|
+
}
|
|
11989
|
+
|
|
11990
|
+
constructor(map?: { [key: string]: any }) {
|
|
11991
|
+
super(map);
|
|
11992
|
+
}
|
|
11993
|
+
}
|
|
11994
|
+
|
|
11655
11995
|
export class ImportCorpNumbersRequest extends $tea.Model {
|
|
11656
11996
|
city?: string;
|
|
11657
11997
|
corpName?: string;
|
|
@@ -56794,6 +57134,10 @@ export default class Client extends OpenApi {
|
|
|
56794
57134
|
query["RoutingType"] = request.routingType;
|
|
56795
57135
|
}
|
|
56796
57136
|
|
|
57137
|
+
if (!Util.isUnset(request.skillGroupId)) {
|
|
57138
|
+
query["SkillGroupId"] = request.skillGroupId;
|
|
57139
|
+
}
|
|
57140
|
+
|
|
56797
57141
|
if (!Util.isUnset(request.strategyName)) {
|
|
56798
57142
|
query["StrategyName"] = request.strategyName;
|
|
56799
57143
|
}
|
|
@@ -58694,6 +59038,52 @@ export default class Client extends OpenApi {
|
|
|
58694
59038
|
return await this.endConferenceWithOptions(request, runtime);
|
|
58695
59039
|
}
|
|
58696
59040
|
|
|
59041
|
+
/**
|
|
59042
|
+
* @param request - ExportContactFlowRequest
|
|
59043
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
59044
|
+
* @returns ExportContactFlowResponse
|
|
59045
|
+
*/
|
|
59046
|
+
async exportContactFlowWithOptions(request: ExportContactFlowRequest, runtime: $Util.RuntimeOptions): Promise<ExportContactFlowResponse> {
|
|
59047
|
+
Util.validateModel(request);
|
|
59048
|
+
let body : {[key: string ]: any} = { };
|
|
59049
|
+
if (!Util.isUnset(request.flowId)) {
|
|
59050
|
+
body["FlowId"] = request.flowId;
|
|
59051
|
+
}
|
|
59052
|
+
|
|
59053
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
59054
|
+
body["InstanceId"] = request.instanceId;
|
|
59055
|
+
}
|
|
59056
|
+
|
|
59057
|
+
if (!Util.isUnset(request.requestId)) {
|
|
59058
|
+
body["RequestId"] = request.requestId;
|
|
59059
|
+
}
|
|
59060
|
+
|
|
59061
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
59062
|
+
body: OpenApiUtil.parseToMap(body),
|
|
59063
|
+
});
|
|
59064
|
+
let params = new $OpenApi.Params({
|
|
59065
|
+
action: "ExportContactFlow",
|
|
59066
|
+
version: "2020-07-01",
|
|
59067
|
+
protocol: "HTTPS",
|
|
59068
|
+
pathname: "/",
|
|
59069
|
+
method: "POST",
|
|
59070
|
+
authType: "AK",
|
|
59071
|
+
style: "RPC",
|
|
59072
|
+
reqBodyType: "formData",
|
|
59073
|
+
bodyType: "json",
|
|
59074
|
+
});
|
|
59075
|
+
return $tea.cast<ExportContactFlowResponse>(await this.callApi(params, req, runtime), new ExportContactFlowResponse({}));
|
|
59076
|
+
}
|
|
59077
|
+
|
|
59078
|
+
/**
|
|
59079
|
+
* @param request - ExportContactFlowRequest
|
|
59080
|
+
* @returns ExportContactFlowResponse
|
|
59081
|
+
*/
|
|
59082
|
+
async exportContactFlow(request: ExportContactFlowRequest): Promise<ExportContactFlowResponse> {
|
|
59083
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
59084
|
+
return await this.exportContactFlowWithOptions(request, runtime);
|
|
59085
|
+
}
|
|
59086
|
+
|
|
58697
59087
|
/**
|
|
58698
59088
|
* 导出全部呼入号码标签
|
|
58699
59089
|
*
|
|
@@ -59722,6 +60112,48 @@ export default class Client extends OpenApi {
|
|
|
59722
60112
|
return await this.getInstanceTrendingReportWithOptions(request, runtime);
|
|
59723
60113
|
}
|
|
59724
60114
|
|
|
60115
|
+
/**
|
|
60116
|
+
* @param request - GetIvrTrackingSummaryRequest
|
|
60117
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
60118
|
+
* @returns GetIvrTrackingSummaryResponse
|
|
60119
|
+
*/
|
|
60120
|
+
async getIvrTrackingSummaryWithOptions(request: GetIvrTrackingSummaryRequest, runtime: $Util.RuntimeOptions): Promise<GetIvrTrackingSummaryResponse> {
|
|
60121
|
+
Util.validateModel(request);
|
|
60122
|
+
let query = { };
|
|
60123
|
+
if (!Util.isUnset(request.contactId)) {
|
|
60124
|
+
query["ContactId"] = request.contactId;
|
|
60125
|
+
}
|
|
60126
|
+
|
|
60127
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
60128
|
+
query["InstanceId"] = request.instanceId;
|
|
60129
|
+
}
|
|
60130
|
+
|
|
60131
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
60132
|
+
query: OpenApiUtil.query(query),
|
|
60133
|
+
});
|
|
60134
|
+
let params = new $OpenApi.Params({
|
|
60135
|
+
action: "GetIvrTrackingSummary",
|
|
60136
|
+
version: "2020-07-01",
|
|
60137
|
+
protocol: "HTTPS",
|
|
60138
|
+
pathname: "/",
|
|
60139
|
+
method: "POST",
|
|
60140
|
+
authType: "AK",
|
|
60141
|
+
style: "RPC",
|
|
60142
|
+
reqBodyType: "formData",
|
|
60143
|
+
bodyType: "json",
|
|
60144
|
+
});
|
|
60145
|
+
return $tea.cast<GetIvrTrackingSummaryResponse>(await this.callApi(params, req, runtime), new GetIvrTrackingSummaryResponse({}));
|
|
60146
|
+
}
|
|
60147
|
+
|
|
60148
|
+
/**
|
|
60149
|
+
* @param request - GetIvrTrackingSummaryRequest
|
|
60150
|
+
* @returns GetIvrTrackingSummaryResponse
|
|
60151
|
+
*/
|
|
60152
|
+
async getIvrTrackingSummary(request: GetIvrTrackingSummaryRequest): Promise<GetIvrTrackingSummaryResponse> {
|
|
60153
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
60154
|
+
return await this.getIvrTrackingSummaryWithOptions(request, runtime);
|
|
60155
|
+
}
|
|
60156
|
+
|
|
59725
60157
|
/**
|
|
59726
60158
|
* @param request - GetLoginDetailsRequest
|
|
59727
60159
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -60630,6 +61062,52 @@ export default class Client extends OpenApi {
|
|
|
60630
61062
|
return await this.importAdminsWithOptions(request, runtime);
|
|
60631
61063
|
}
|
|
60632
61064
|
|
|
61065
|
+
/**
|
|
61066
|
+
* @param request - ImportContactFlowRequest
|
|
61067
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
61068
|
+
* @returns ImportContactFlowResponse
|
|
61069
|
+
*/
|
|
61070
|
+
async importContactFlowWithOptions(request: ImportContactFlowRequest, runtime: $Util.RuntimeOptions): Promise<ImportContactFlowResponse> {
|
|
61071
|
+
Util.validateModel(request);
|
|
61072
|
+
let body : {[key: string ]: any} = { };
|
|
61073
|
+
if (!Util.isUnset(request.flowPackageData)) {
|
|
61074
|
+
body["FlowPackageData"] = request.flowPackageData;
|
|
61075
|
+
}
|
|
61076
|
+
|
|
61077
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
61078
|
+
body["InstanceId"] = request.instanceId;
|
|
61079
|
+
}
|
|
61080
|
+
|
|
61081
|
+
if (!Util.isUnset(request.requestId)) {
|
|
61082
|
+
body["RequestId"] = request.requestId;
|
|
61083
|
+
}
|
|
61084
|
+
|
|
61085
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
61086
|
+
body: OpenApiUtil.parseToMap(body),
|
|
61087
|
+
});
|
|
61088
|
+
let params = new $OpenApi.Params({
|
|
61089
|
+
action: "ImportContactFlow",
|
|
61090
|
+
version: "2020-07-01",
|
|
61091
|
+
protocol: "HTTPS",
|
|
61092
|
+
pathname: "/",
|
|
61093
|
+
method: "POST",
|
|
61094
|
+
authType: "AK",
|
|
61095
|
+
style: "RPC",
|
|
61096
|
+
reqBodyType: "formData",
|
|
61097
|
+
bodyType: "json",
|
|
61098
|
+
});
|
|
61099
|
+
return $tea.cast<ImportContactFlowResponse>(await this.callApi(params, req, runtime), new ImportContactFlowResponse({}));
|
|
61100
|
+
}
|
|
61101
|
+
|
|
61102
|
+
/**
|
|
61103
|
+
* @param request - ImportContactFlowRequest
|
|
61104
|
+
* @returns ImportContactFlowResponse
|
|
61105
|
+
*/
|
|
61106
|
+
async importContactFlow(request: ImportContactFlowRequest): Promise<ImportContactFlowResponse> {
|
|
61107
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
61108
|
+
return await this.importContactFlowWithOptions(request, runtime);
|
|
61109
|
+
}
|
|
61110
|
+
|
|
60633
61111
|
/**
|
|
60634
61112
|
* @param request - ImportCorpNumbersRequest
|
|
60635
61113
|
* @param runtime - runtime options for this request RuntimeOptions
|