@alicloud/ccc20200701 2.30.1 → 2.32.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 +660 -0
- package/dist/client.js +820 -22
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1260 -0
package/src/client.ts
CHANGED
|
@@ -2585,6 +2585,40 @@ export class CreateCampaignRequestCaseList extends $dara.Model {
|
|
|
2585
2585
|
}
|
|
2586
2586
|
}
|
|
2587
2587
|
|
|
2588
|
+
export class CreateChatMediaUrlResponseBodyData extends $dara.Model {
|
|
2589
|
+
/**
|
|
2590
|
+
* @example
|
|
2591
|
+
* $iAHNCNQCo21wMwMGBAAFAAbaACOEAaQhIH6TAqogDGyb-qD2Hbj0A88AAAGRLKYVnwTOACwwYwcACM8AAAGRLRPynQ
|
|
2592
|
+
*/
|
|
2593
|
+
mediaId?: string;
|
|
2594
|
+
/**
|
|
2595
|
+
* @example
|
|
2596
|
+
* https://ccc-v2-online.oss-cn-shanghai.aliyuncs.com/ccc-test/namelist.csv?Expires=1642067227&OSSAccessKeyId=****&Signature=****
|
|
2597
|
+
*/
|
|
2598
|
+
url?: string;
|
|
2599
|
+
static names(): { [key: string]: string } {
|
|
2600
|
+
return {
|
|
2601
|
+
mediaId: 'MediaId',
|
|
2602
|
+
url: 'Url',
|
|
2603
|
+
};
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
static types(): { [key: string]: any } {
|
|
2607
|
+
return {
|
|
2608
|
+
mediaId: 'string',
|
|
2609
|
+
url: 'string',
|
|
2610
|
+
};
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2613
|
+
validate() {
|
|
2614
|
+
super.validate();
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
constructor(map?: { [key: string]: any }) {
|
|
2618
|
+
super(map);
|
|
2619
|
+
}
|
|
2620
|
+
}
|
|
2621
|
+
|
|
2588
2622
|
export class CreateCustomCallTaggingResponseBodyData extends $dara.Model {
|
|
2589
2623
|
/**
|
|
2590
2624
|
* @example
|
|
@@ -6588,6 +6622,233 @@ export class GetSkillGroupResponseBodyData extends $dara.Model {
|
|
|
6588
6622
|
}
|
|
6589
6623
|
}
|
|
6590
6624
|
|
|
6625
|
+
export class GetSummaryTemplateResponseBodyDataPropertyList extends $dara.Model {
|
|
6626
|
+
/**
|
|
6627
|
+
* @example
|
|
6628
|
+
* false
|
|
6629
|
+
*/
|
|
6630
|
+
array?: boolean;
|
|
6631
|
+
/**
|
|
6632
|
+
* @example
|
|
6633
|
+
* {}
|
|
6634
|
+
*/
|
|
6635
|
+
attributes?: string;
|
|
6636
|
+
/**
|
|
6637
|
+
* @example
|
|
6638
|
+
* 1717664210000
|
|
6639
|
+
*/
|
|
6640
|
+
createdTime?: number;
|
|
6641
|
+
/**
|
|
6642
|
+
* @example
|
|
6643
|
+
* cretor-xxx@ccc-test
|
|
6644
|
+
*/
|
|
6645
|
+
creator?: string;
|
|
6646
|
+
/**
|
|
6647
|
+
* @example
|
|
6648
|
+
* string
|
|
6649
|
+
*/
|
|
6650
|
+
dataType?: string;
|
|
6651
|
+
/**
|
|
6652
|
+
* @example
|
|
6653
|
+
* Description-xxxx
|
|
6654
|
+
*/
|
|
6655
|
+
description?: string;
|
|
6656
|
+
/**
|
|
6657
|
+
* @example
|
|
6658
|
+
* false
|
|
6659
|
+
*/
|
|
6660
|
+
disabled?: boolean;
|
|
6661
|
+
/**
|
|
6662
|
+
* @example
|
|
6663
|
+
* DisplayName-A
|
|
6664
|
+
*/
|
|
6665
|
+
displayName?: string;
|
|
6666
|
+
/**
|
|
6667
|
+
* @example
|
|
6668
|
+
* 1
|
|
6669
|
+
*/
|
|
6670
|
+
displayOrder?: number;
|
|
6671
|
+
/**
|
|
6672
|
+
* @example
|
|
6673
|
+
* textbox
|
|
6674
|
+
*/
|
|
6675
|
+
editorType?: string;
|
|
6676
|
+
/**
|
|
6677
|
+
* @example
|
|
6678
|
+
* 30
|
|
6679
|
+
*/
|
|
6680
|
+
maxLength?: number;
|
|
6681
|
+
/**
|
|
6682
|
+
* @example
|
|
6683
|
+
* 10
|
|
6684
|
+
*/
|
|
6685
|
+
maximum?: number;
|
|
6686
|
+
/**
|
|
6687
|
+
* @example
|
|
6688
|
+
* 1
|
|
6689
|
+
*/
|
|
6690
|
+
minLength?: number;
|
|
6691
|
+
/**
|
|
6692
|
+
* @example
|
|
6693
|
+
* 1
|
|
6694
|
+
*/
|
|
6695
|
+
minimum?: number;
|
|
6696
|
+
/**
|
|
6697
|
+
* @example
|
|
6698
|
+
* Name-A
|
|
6699
|
+
*/
|
|
6700
|
+
name?: string;
|
|
6701
|
+
/**
|
|
6702
|
+
* @example
|
|
6703
|
+
* ^
|
|
6704
|
+
*/
|
|
6705
|
+
pattern?: string;
|
|
6706
|
+
patternErrorMessage?: string;
|
|
6707
|
+
/**
|
|
6708
|
+
* @example
|
|
6709
|
+
* false
|
|
6710
|
+
*/
|
|
6711
|
+
readOnly?: boolean;
|
|
6712
|
+
/**
|
|
6713
|
+
* @example
|
|
6714
|
+
* false
|
|
6715
|
+
*/
|
|
6716
|
+
required?: boolean;
|
|
6717
|
+
/**
|
|
6718
|
+
* @example
|
|
6719
|
+
* false
|
|
6720
|
+
*/
|
|
6721
|
+
system?: boolean;
|
|
6722
|
+
/**
|
|
6723
|
+
* @example
|
|
6724
|
+
* 1717664210000
|
|
6725
|
+
*/
|
|
6726
|
+
updatedTime?: number;
|
|
6727
|
+
static names(): { [key: string]: string } {
|
|
6728
|
+
return {
|
|
6729
|
+
array: 'Array',
|
|
6730
|
+
attributes: 'Attributes',
|
|
6731
|
+
createdTime: 'CreatedTime',
|
|
6732
|
+
creator: 'Creator',
|
|
6733
|
+
dataType: 'DataType',
|
|
6734
|
+
description: 'Description',
|
|
6735
|
+
disabled: 'Disabled',
|
|
6736
|
+
displayName: 'DisplayName',
|
|
6737
|
+
displayOrder: 'DisplayOrder',
|
|
6738
|
+
editorType: 'EditorType',
|
|
6739
|
+
maxLength: 'MaxLength',
|
|
6740
|
+
maximum: 'Maximum',
|
|
6741
|
+
minLength: 'MinLength',
|
|
6742
|
+
minimum: 'Minimum',
|
|
6743
|
+
name: 'Name',
|
|
6744
|
+
pattern: 'Pattern',
|
|
6745
|
+
patternErrorMessage: 'PatternErrorMessage',
|
|
6746
|
+
readOnly: 'ReadOnly',
|
|
6747
|
+
required: 'Required',
|
|
6748
|
+
system: 'System',
|
|
6749
|
+
updatedTime: 'UpdatedTime',
|
|
6750
|
+
};
|
|
6751
|
+
}
|
|
6752
|
+
|
|
6753
|
+
static types(): { [key: string]: any } {
|
|
6754
|
+
return {
|
|
6755
|
+
array: 'boolean',
|
|
6756
|
+
attributes: 'string',
|
|
6757
|
+
createdTime: 'number',
|
|
6758
|
+
creator: 'string',
|
|
6759
|
+
dataType: 'string',
|
|
6760
|
+
description: 'string',
|
|
6761
|
+
disabled: 'boolean',
|
|
6762
|
+
displayName: 'string',
|
|
6763
|
+
displayOrder: 'number',
|
|
6764
|
+
editorType: 'string',
|
|
6765
|
+
maxLength: 'number',
|
|
6766
|
+
maximum: 'number',
|
|
6767
|
+
minLength: 'number',
|
|
6768
|
+
minimum: 'number',
|
|
6769
|
+
name: 'string',
|
|
6770
|
+
pattern: 'string',
|
|
6771
|
+
patternErrorMessage: 'string',
|
|
6772
|
+
readOnly: 'boolean',
|
|
6773
|
+
required: 'boolean',
|
|
6774
|
+
system: 'boolean',
|
|
6775
|
+
updatedTime: 'number',
|
|
6776
|
+
};
|
|
6777
|
+
}
|
|
6778
|
+
|
|
6779
|
+
validate() {
|
|
6780
|
+
super.validate();
|
|
6781
|
+
}
|
|
6782
|
+
|
|
6783
|
+
constructor(map?: { [key: string]: any }) {
|
|
6784
|
+
super(map);
|
|
6785
|
+
}
|
|
6786
|
+
}
|
|
6787
|
+
|
|
6788
|
+
export class GetSummaryTemplateResponseBodyData extends $dara.Model {
|
|
6789
|
+
/**
|
|
6790
|
+
* @example
|
|
6791
|
+
* 8939-4223-86d0-6bd187905cc8
|
|
6792
|
+
*/
|
|
6793
|
+
categoryId?: string;
|
|
6794
|
+
/**
|
|
6795
|
+
* @example
|
|
6796
|
+
* editor-xxx@ccc-test
|
|
6797
|
+
*/
|
|
6798
|
+
editor?: string;
|
|
6799
|
+
/**
|
|
6800
|
+
* @example
|
|
6801
|
+
* ccc-test
|
|
6802
|
+
*/
|
|
6803
|
+
instanceId?: string;
|
|
6804
|
+
name?: string;
|
|
6805
|
+
propertyList?: GetSummaryTemplateResponseBodyDataPropertyList[];
|
|
6806
|
+
/**
|
|
6807
|
+
* @example
|
|
6808
|
+
* Enabled
|
|
6809
|
+
*/
|
|
6810
|
+
state?: string;
|
|
6811
|
+
/**
|
|
6812
|
+
* @example
|
|
6813
|
+
* 43c2671b-8939-4223-86d0-6bd187905cc8_1717664210492
|
|
6814
|
+
*/
|
|
6815
|
+
templateId?: string;
|
|
6816
|
+
static names(): { [key: string]: string } {
|
|
6817
|
+
return {
|
|
6818
|
+
categoryId: 'CategoryId',
|
|
6819
|
+
editor: 'Editor',
|
|
6820
|
+
instanceId: 'InstanceId',
|
|
6821
|
+
name: 'Name',
|
|
6822
|
+
propertyList: 'PropertyList',
|
|
6823
|
+
state: 'State',
|
|
6824
|
+
templateId: 'TemplateId',
|
|
6825
|
+
};
|
|
6826
|
+
}
|
|
6827
|
+
|
|
6828
|
+
static types(): { [key: string]: any } {
|
|
6829
|
+
return {
|
|
6830
|
+
categoryId: 'string',
|
|
6831
|
+
editor: 'string',
|
|
6832
|
+
instanceId: 'string',
|
|
6833
|
+
name: 'string',
|
|
6834
|
+
propertyList: { 'type': 'array', 'itemType': GetSummaryTemplateResponseBodyDataPropertyList },
|
|
6835
|
+
state: 'string',
|
|
6836
|
+
templateId: 'string',
|
|
6837
|
+
};
|
|
6838
|
+
}
|
|
6839
|
+
|
|
6840
|
+
validate() {
|
|
6841
|
+
if(Array.isArray(this.propertyList)) {
|
|
6842
|
+
$dara.Model.validateArray(this.propertyList);
|
|
6843
|
+
}
|
|
6844
|
+
super.validate();
|
|
6845
|
+
}
|
|
6846
|
+
|
|
6847
|
+
constructor(map?: { [key: string]: any }) {
|
|
6848
|
+
super(map);
|
|
6849
|
+
}
|
|
6850
|
+
}
|
|
6851
|
+
|
|
6591
6852
|
export class GetTicketResponseBodyData extends $dara.Model {
|
|
6592
6853
|
/**
|
|
6593
6854
|
* @example
|
|
@@ -33532,6 +33793,145 @@ export class CreateAudioFileResponse extends $dara.Model {
|
|
|
33532
33793
|
}
|
|
33533
33794
|
}
|
|
33534
33795
|
|
|
33796
|
+
export class CreateCallSummaryRequest extends $dara.Model {
|
|
33797
|
+
/**
|
|
33798
|
+
* @example
|
|
33799
|
+
* job-522327189435260928
|
|
33800
|
+
*/
|
|
33801
|
+
contactId?: string;
|
|
33802
|
+
context?: string;
|
|
33803
|
+
/**
|
|
33804
|
+
* @example
|
|
33805
|
+
* 51e155ce-3747-*****-b402-13c69597b920
|
|
33806
|
+
*/
|
|
33807
|
+
customerId?: string;
|
|
33808
|
+
/**
|
|
33809
|
+
* @remarks
|
|
33810
|
+
* This parameter is required.
|
|
33811
|
+
*
|
|
33812
|
+
* @example
|
|
33813
|
+
* ccc-test
|
|
33814
|
+
*/
|
|
33815
|
+
instanceId?: string;
|
|
33816
|
+
static names(): { [key: string]: string } {
|
|
33817
|
+
return {
|
|
33818
|
+
contactId: 'ContactId',
|
|
33819
|
+
context: 'Context',
|
|
33820
|
+
customerId: 'CustomerId',
|
|
33821
|
+
instanceId: 'InstanceId',
|
|
33822
|
+
};
|
|
33823
|
+
}
|
|
33824
|
+
|
|
33825
|
+
static types(): { [key: string]: any } {
|
|
33826
|
+
return {
|
|
33827
|
+
contactId: 'string',
|
|
33828
|
+
context: 'string',
|
|
33829
|
+
customerId: 'string',
|
|
33830
|
+
instanceId: 'string',
|
|
33831
|
+
};
|
|
33832
|
+
}
|
|
33833
|
+
|
|
33834
|
+
validate() {
|
|
33835
|
+
super.validate();
|
|
33836
|
+
}
|
|
33837
|
+
|
|
33838
|
+
constructor(map?: { [key: string]: any }) {
|
|
33839
|
+
super(map);
|
|
33840
|
+
}
|
|
33841
|
+
}
|
|
33842
|
+
|
|
33843
|
+
export class CreateCallSummaryResponseBody extends $dara.Model {
|
|
33844
|
+
/**
|
|
33845
|
+
* @example
|
|
33846
|
+
* OK
|
|
33847
|
+
*/
|
|
33848
|
+
code?: string;
|
|
33849
|
+
/**
|
|
33850
|
+
* @example
|
|
33851
|
+
* c58b9719-3bc3-441d-a4d3-fc0309ef7066
|
|
33852
|
+
*/
|
|
33853
|
+
data?: string;
|
|
33854
|
+
/**
|
|
33855
|
+
* @example
|
|
33856
|
+
* 200
|
|
33857
|
+
*/
|
|
33858
|
+
httpStatusCode?: number;
|
|
33859
|
+
message?: string;
|
|
33860
|
+
params?: string[];
|
|
33861
|
+
/**
|
|
33862
|
+
* @example
|
|
33863
|
+
* 8707EB29-BAED-4302-B999-40BA61877437
|
|
33864
|
+
*/
|
|
33865
|
+
requestId?: string;
|
|
33866
|
+
static names(): { [key: string]: string } {
|
|
33867
|
+
return {
|
|
33868
|
+
code: 'Code',
|
|
33869
|
+
data: 'Data',
|
|
33870
|
+
httpStatusCode: 'HttpStatusCode',
|
|
33871
|
+
message: 'Message',
|
|
33872
|
+
params: 'Params',
|
|
33873
|
+
requestId: 'RequestId',
|
|
33874
|
+
};
|
|
33875
|
+
}
|
|
33876
|
+
|
|
33877
|
+
static types(): { [key: string]: any } {
|
|
33878
|
+
return {
|
|
33879
|
+
code: 'string',
|
|
33880
|
+
data: 'string',
|
|
33881
|
+
httpStatusCode: 'number',
|
|
33882
|
+
message: 'string',
|
|
33883
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
33884
|
+
requestId: 'string',
|
|
33885
|
+
};
|
|
33886
|
+
}
|
|
33887
|
+
|
|
33888
|
+
validate() {
|
|
33889
|
+
if(Array.isArray(this.params)) {
|
|
33890
|
+
$dara.Model.validateArray(this.params);
|
|
33891
|
+
}
|
|
33892
|
+
super.validate();
|
|
33893
|
+
}
|
|
33894
|
+
|
|
33895
|
+
constructor(map?: { [key: string]: any }) {
|
|
33896
|
+
super(map);
|
|
33897
|
+
}
|
|
33898
|
+
}
|
|
33899
|
+
|
|
33900
|
+
export class CreateCallSummaryResponse extends $dara.Model {
|
|
33901
|
+
headers?: { [key: string]: string };
|
|
33902
|
+
statusCode?: number;
|
|
33903
|
+
body?: CreateCallSummaryResponseBody;
|
|
33904
|
+
static names(): { [key: string]: string } {
|
|
33905
|
+
return {
|
|
33906
|
+
headers: 'headers',
|
|
33907
|
+
statusCode: 'statusCode',
|
|
33908
|
+
body: 'body',
|
|
33909
|
+
};
|
|
33910
|
+
}
|
|
33911
|
+
|
|
33912
|
+
static types(): { [key: string]: any } {
|
|
33913
|
+
return {
|
|
33914
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
33915
|
+
statusCode: 'number',
|
|
33916
|
+
body: CreateCallSummaryResponseBody,
|
|
33917
|
+
};
|
|
33918
|
+
}
|
|
33919
|
+
|
|
33920
|
+
validate() {
|
|
33921
|
+
if(this.headers) {
|
|
33922
|
+
$dara.Model.validateMap(this.headers);
|
|
33923
|
+
}
|
|
33924
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
33925
|
+
(this.body as any).validate();
|
|
33926
|
+
}
|
|
33927
|
+
super.validate();
|
|
33928
|
+
}
|
|
33929
|
+
|
|
33930
|
+
constructor(map?: { [key: string]: any }) {
|
|
33931
|
+
super(map);
|
|
33932
|
+
}
|
|
33933
|
+
}
|
|
33934
|
+
|
|
33535
33935
|
export class CreateCallTagsRequest extends $dara.Model {
|
|
33536
33936
|
/**
|
|
33537
33937
|
* @remarks
|
|
@@ -34044,6 +34444,146 @@ export class CreateCampaignResponse extends $dara.Model {
|
|
|
34044
34444
|
}
|
|
34045
34445
|
}
|
|
34046
34446
|
|
|
34447
|
+
export class CreateChatMediaUrlRequest extends $dara.Model {
|
|
34448
|
+
/**
|
|
34449
|
+
* @remarks
|
|
34450
|
+
* This parameter is required.
|
|
34451
|
+
*
|
|
34452
|
+
* @example
|
|
34453
|
+
* 9cfad875-6260-4a53-ab6e-b13e3fb31f7d
|
|
34454
|
+
*/
|
|
34455
|
+
instanceId?: string;
|
|
34456
|
+
/**
|
|
34457
|
+
* @remarks
|
|
34458
|
+
* media id
|
|
34459
|
+
*
|
|
34460
|
+
* This parameter is required.
|
|
34461
|
+
*
|
|
34462
|
+
* @example
|
|
34463
|
+
* jpg
|
|
34464
|
+
*/
|
|
34465
|
+
mimeType?: string;
|
|
34466
|
+
/**
|
|
34467
|
+
* @example
|
|
34468
|
+
* 9F766284-F103-4298-8EC5-19F9F9BE5522
|
|
34469
|
+
*/
|
|
34470
|
+
requestId?: string;
|
|
34471
|
+
static names(): { [key: string]: string } {
|
|
34472
|
+
return {
|
|
34473
|
+
instanceId: 'InstanceId',
|
|
34474
|
+
mimeType: 'MimeType',
|
|
34475
|
+
requestId: 'RequestId',
|
|
34476
|
+
};
|
|
34477
|
+
}
|
|
34478
|
+
|
|
34479
|
+
static types(): { [key: string]: any } {
|
|
34480
|
+
return {
|
|
34481
|
+
instanceId: 'string',
|
|
34482
|
+
mimeType: 'string',
|
|
34483
|
+
requestId: 'string',
|
|
34484
|
+
};
|
|
34485
|
+
}
|
|
34486
|
+
|
|
34487
|
+
validate() {
|
|
34488
|
+
super.validate();
|
|
34489
|
+
}
|
|
34490
|
+
|
|
34491
|
+
constructor(map?: { [key: string]: any }) {
|
|
34492
|
+
super(map);
|
|
34493
|
+
}
|
|
34494
|
+
}
|
|
34495
|
+
|
|
34496
|
+
export class CreateChatMediaUrlResponseBody extends $dara.Model {
|
|
34497
|
+
/**
|
|
34498
|
+
* @example
|
|
34499
|
+
* OK
|
|
34500
|
+
*/
|
|
34501
|
+
code?: string;
|
|
34502
|
+
data?: CreateChatMediaUrlResponseBodyData;
|
|
34503
|
+
/**
|
|
34504
|
+
* @example
|
|
34505
|
+
* 200
|
|
34506
|
+
*/
|
|
34507
|
+
httpStatusCode?: number;
|
|
34508
|
+
message?: string;
|
|
34509
|
+
params?: string[];
|
|
34510
|
+
/**
|
|
34511
|
+
* @example
|
|
34512
|
+
* 03C67DAD-EB26-41D8-949D-9B0C470FB716
|
|
34513
|
+
*/
|
|
34514
|
+
requestId?: string;
|
|
34515
|
+
static names(): { [key: string]: string } {
|
|
34516
|
+
return {
|
|
34517
|
+
code: 'Code',
|
|
34518
|
+
data: 'Data',
|
|
34519
|
+
httpStatusCode: 'HttpStatusCode',
|
|
34520
|
+
message: 'Message',
|
|
34521
|
+
params: 'Params',
|
|
34522
|
+
requestId: 'RequestId',
|
|
34523
|
+
};
|
|
34524
|
+
}
|
|
34525
|
+
|
|
34526
|
+
static types(): { [key: string]: any } {
|
|
34527
|
+
return {
|
|
34528
|
+
code: 'string',
|
|
34529
|
+
data: CreateChatMediaUrlResponseBodyData,
|
|
34530
|
+
httpStatusCode: 'number',
|
|
34531
|
+
message: 'string',
|
|
34532
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
34533
|
+
requestId: 'string',
|
|
34534
|
+
};
|
|
34535
|
+
}
|
|
34536
|
+
|
|
34537
|
+
validate() {
|
|
34538
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
34539
|
+
(this.data as any).validate();
|
|
34540
|
+
}
|
|
34541
|
+
if(Array.isArray(this.params)) {
|
|
34542
|
+
$dara.Model.validateArray(this.params);
|
|
34543
|
+
}
|
|
34544
|
+
super.validate();
|
|
34545
|
+
}
|
|
34546
|
+
|
|
34547
|
+
constructor(map?: { [key: string]: any }) {
|
|
34548
|
+
super(map);
|
|
34549
|
+
}
|
|
34550
|
+
}
|
|
34551
|
+
|
|
34552
|
+
export class CreateChatMediaUrlResponse extends $dara.Model {
|
|
34553
|
+
headers?: { [key: string]: string };
|
|
34554
|
+
statusCode?: number;
|
|
34555
|
+
body?: CreateChatMediaUrlResponseBody;
|
|
34556
|
+
static names(): { [key: string]: string } {
|
|
34557
|
+
return {
|
|
34558
|
+
headers: 'headers',
|
|
34559
|
+
statusCode: 'statusCode',
|
|
34560
|
+
body: 'body',
|
|
34561
|
+
};
|
|
34562
|
+
}
|
|
34563
|
+
|
|
34564
|
+
static types(): { [key: string]: any } {
|
|
34565
|
+
return {
|
|
34566
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
34567
|
+
statusCode: 'number',
|
|
34568
|
+
body: CreateChatMediaUrlResponseBody,
|
|
34569
|
+
};
|
|
34570
|
+
}
|
|
34571
|
+
|
|
34572
|
+
validate() {
|
|
34573
|
+
if(this.headers) {
|
|
34574
|
+
$dara.Model.validateMap(this.headers);
|
|
34575
|
+
}
|
|
34576
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
34577
|
+
(this.body as any).validate();
|
|
34578
|
+
}
|
|
34579
|
+
super.validate();
|
|
34580
|
+
}
|
|
34581
|
+
|
|
34582
|
+
constructor(map?: { [key: string]: any }) {
|
|
34583
|
+
super(map);
|
|
34584
|
+
}
|
|
34585
|
+
}
|
|
34586
|
+
|
|
34047
34587
|
export class CreateContactFlowRequest extends $dara.Model {
|
|
34048
34588
|
/**
|
|
34049
34589
|
* @remarks
|
|
@@ -41757,6 +42297,137 @@ export class GetSkillGroupResponse extends $dara.Model {
|
|
|
41757
42297
|
}
|
|
41758
42298
|
}
|
|
41759
42299
|
|
|
42300
|
+
export class GetSummaryTemplateRequest extends $dara.Model {
|
|
42301
|
+
/**
|
|
42302
|
+
* @remarks
|
|
42303
|
+
* This parameter is required.
|
|
42304
|
+
*
|
|
42305
|
+
* @example
|
|
42306
|
+
* ccc-test
|
|
42307
|
+
*/
|
|
42308
|
+
instanceId?: string;
|
|
42309
|
+
/**
|
|
42310
|
+
* @remarks
|
|
42311
|
+
* This parameter is required.
|
|
42312
|
+
*
|
|
42313
|
+
* @example
|
|
42314
|
+
* 43c2671b-8939-4223-86d0-6bd187905cc8_1717664210492
|
|
42315
|
+
*/
|
|
42316
|
+
templateId?: string;
|
|
42317
|
+
static names(): { [key: string]: string } {
|
|
42318
|
+
return {
|
|
42319
|
+
instanceId: 'InstanceId',
|
|
42320
|
+
templateId: 'TemplateId',
|
|
42321
|
+
};
|
|
42322
|
+
}
|
|
42323
|
+
|
|
42324
|
+
static types(): { [key: string]: any } {
|
|
42325
|
+
return {
|
|
42326
|
+
instanceId: 'string',
|
|
42327
|
+
templateId: 'string',
|
|
42328
|
+
};
|
|
42329
|
+
}
|
|
42330
|
+
|
|
42331
|
+
validate() {
|
|
42332
|
+
super.validate();
|
|
42333
|
+
}
|
|
42334
|
+
|
|
42335
|
+
constructor(map?: { [key: string]: any }) {
|
|
42336
|
+
super(map);
|
|
42337
|
+
}
|
|
42338
|
+
}
|
|
42339
|
+
|
|
42340
|
+
export class GetSummaryTemplateResponseBody extends $dara.Model {
|
|
42341
|
+
/**
|
|
42342
|
+
* @example
|
|
42343
|
+
* OK
|
|
42344
|
+
*/
|
|
42345
|
+
code?: string;
|
|
42346
|
+
data?: GetSummaryTemplateResponseBodyData;
|
|
42347
|
+
/**
|
|
42348
|
+
* @example
|
|
42349
|
+
* 200
|
|
42350
|
+
*/
|
|
42351
|
+
httpStatusCode?: number;
|
|
42352
|
+
message?: string;
|
|
42353
|
+
params?: string[];
|
|
42354
|
+
/**
|
|
42355
|
+
* @example
|
|
42356
|
+
* 30C7D235-DDCF-4C7F-A462-5E2598252C2B
|
|
42357
|
+
*/
|
|
42358
|
+
requestId?: string;
|
|
42359
|
+
static names(): { [key: string]: string } {
|
|
42360
|
+
return {
|
|
42361
|
+
code: 'Code',
|
|
42362
|
+
data: 'Data',
|
|
42363
|
+
httpStatusCode: 'HttpStatusCode',
|
|
42364
|
+
message: 'Message',
|
|
42365
|
+
params: 'Params',
|
|
42366
|
+
requestId: 'RequestId',
|
|
42367
|
+
};
|
|
42368
|
+
}
|
|
42369
|
+
|
|
42370
|
+
static types(): { [key: string]: any } {
|
|
42371
|
+
return {
|
|
42372
|
+
code: 'string',
|
|
42373
|
+
data: GetSummaryTemplateResponseBodyData,
|
|
42374
|
+
httpStatusCode: 'number',
|
|
42375
|
+
message: 'string',
|
|
42376
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
42377
|
+
requestId: 'string',
|
|
42378
|
+
};
|
|
42379
|
+
}
|
|
42380
|
+
|
|
42381
|
+
validate() {
|
|
42382
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
42383
|
+
(this.data as any).validate();
|
|
42384
|
+
}
|
|
42385
|
+
if(Array.isArray(this.params)) {
|
|
42386
|
+
$dara.Model.validateArray(this.params);
|
|
42387
|
+
}
|
|
42388
|
+
super.validate();
|
|
42389
|
+
}
|
|
42390
|
+
|
|
42391
|
+
constructor(map?: { [key: string]: any }) {
|
|
42392
|
+
super(map);
|
|
42393
|
+
}
|
|
42394
|
+
}
|
|
42395
|
+
|
|
42396
|
+
export class GetSummaryTemplateResponse extends $dara.Model {
|
|
42397
|
+
headers?: { [key: string]: string };
|
|
42398
|
+
statusCode?: number;
|
|
42399
|
+
body?: GetSummaryTemplateResponseBody;
|
|
42400
|
+
static names(): { [key: string]: string } {
|
|
42401
|
+
return {
|
|
42402
|
+
headers: 'headers',
|
|
42403
|
+
statusCode: 'statusCode',
|
|
42404
|
+
body: 'body',
|
|
42405
|
+
};
|
|
42406
|
+
}
|
|
42407
|
+
|
|
42408
|
+
static types(): { [key: string]: any } {
|
|
42409
|
+
return {
|
|
42410
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
42411
|
+
statusCode: 'number',
|
|
42412
|
+
body: GetSummaryTemplateResponseBody,
|
|
42413
|
+
};
|
|
42414
|
+
}
|
|
42415
|
+
|
|
42416
|
+
validate() {
|
|
42417
|
+
if(this.headers) {
|
|
42418
|
+
$dara.Model.validateMap(this.headers);
|
|
42419
|
+
}
|
|
42420
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
42421
|
+
(this.body as any).validate();
|
|
42422
|
+
}
|
|
42423
|
+
super.validate();
|
|
42424
|
+
}
|
|
42425
|
+
|
|
42426
|
+
constructor(map?: { [key: string]: any }) {
|
|
42427
|
+
super(map);
|
|
42428
|
+
}
|
|
42429
|
+
}
|
|
42430
|
+
|
|
41760
42431
|
export class GetTicketRequest extends $dara.Model {
|
|
41761
42432
|
/**
|
|
41762
42433
|
* @remarks
|
|
@@ -56667,6 +57338,189 @@ export class ProcessAliMeCallbackOfStagingResponse extends $dara.Model {
|
|
|
56667
57338
|
}
|
|
56668
57339
|
}
|
|
56669
57340
|
|
|
57341
|
+
export class ProcessCustomIMCallbackRequest extends $dara.Model {
|
|
57342
|
+
/**
|
|
57343
|
+
* @remarks
|
|
57344
|
+
* This parameter is required.
|
|
57345
|
+
*
|
|
57346
|
+
* @example
|
|
57347
|
+
* cf584733-***-***-9699-cb77aa3b7aa6
|
|
57348
|
+
*/
|
|
57349
|
+
accessChannelId?: string;
|
|
57350
|
+
/**
|
|
57351
|
+
* @remarks
|
|
57352
|
+
* This parameter is required.
|
|
57353
|
+
*
|
|
57354
|
+
* @example
|
|
57355
|
+
* d165de4f-9851-445e-9535-66ebfa72fa51
|
|
57356
|
+
*/
|
|
57357
|
+
conversationId?: string;
|
|
57358
|
+
/**
|
|
57359
|
+
* @remarks
|
|
57360
|
+
* This parameter is required.
|
|
57361
|
+
*
|
|
57362
|
+
* @example
|
|
57363
|
+
* 9cfad875-6260-4a53-ab6e-b13e3fb31f7d
|
|
57364
|
+
*/
|
|
57365
|
+
instanceId?: string;
|
|
57366
|
+
/**
|
|
57367
|
+
* @remarks
|
|
57368
|
+
* This parameter is required.
|
|
57369
|
+
*/
|
|
57370
|
+
messageContent?: string;
|
|
57371
|
+
/**
|
|
57372
|
+
* @example
|
|
57373
|
+
* 03C67DAD-EB26-41D8-949D-9B0C470FB716
|
|
57374
|
+
*/
|
|
57375
|
+
requestId?: string;
|
|
57376
|
+
/**
|
|
57377
|
+
* @example
|
|
57378
|
+
* xxxx
|
|
57379
|
+
*/
|
|
57380
|
+
senderAvatarMediaId?: string;
|
|
57381
|
+
/**
|
|
57382
|
+
* @remarks
|
|
57383
|
+
* This parameter is required.
|
|
57384
|
+
*
|
|
57385
|
+
* @example
|
|
57386
|
+
* 63061274befd6b545aab4c83
|
|
57387
|
+
*/
|
|
57388
|
+
senderId?: string;
|
|
57389
|
+
/**
|
|
57390
|
+
* @example
|
|
57391
|
+
* tom
|
|
57392
|
+
*/
|
|
57393
|
+
senderName?: string;
|
|
57394
|
+
static names(): { [key: string]: string } {
|
|
57395
|
+
return {
|
|
57396
|
+
accessChannelId: 'AccessChannelId',
|
|
57397
|
+
conversationId: 'ConversationId',
|
|
57398
|
+
instanceId: 'InstanceId',
|
|
57399
|
+
messageContent: 'MessageContent',
|
|
57400
|
+
requestId: 'RequestId',
|
|
57401
|
+
senderAvatarMediaId: 'SenderAvatarMediaId',
|
|
57402
|
+
senderId: 'SenderId',
|
|
57403
|
+
senderName: 'SenderName',
|
|
57404
|
+
};
|
|
57405
|
+
}
|
|
57406
|
+
|
|
57407
|
+
static types(): { [key: string]: any } {
|
|
57408
|
+
return {
|
|
57409
|
+
accessChannelId: 'string',
|
|
57410
|
+
conversationId: 'string',
|
|
57411
|
+
instanceId: 'string',
|
|
57412
|
+
messageContent: 'string',
|
|
57413
|
+
requestId: 'string',
|
|
57414
|
+
senderAvatarMediaId: 'string',
|
|
57415
|
+
senderId: 'string',
|
|
57416
|
+
senderName: 'string',
|
|
57417
|
+
};
|
|
57418
|
+
}
|
|
57419
|
+
|
|
57420
|
+
validate() {
|
|
57421
|
+
super.validate();
|
|
57422
|
+
}
|
|
57423
|
+
|
|
57424
|
+
constructor(map?: { [key: string]: any }) {
|
|
57425
|
+
super(map);
|
|
57426
|
+
}
|
|
57427
|
+
}
|
|
57428
|
+
|
|
57429
|
+
export class ProcessCustomIMCallbackResponseBody extends $dara.Model {
|
|
57430
|
+
/**
|
|
57431
|
+
* @example
|
|
57432
|
+
* OK
|
|
57433
|
+
*/
|
|
57434
|
+
code?: string;
|
|
57435
|
+
data?: string;
|
|
57436
|
+
/**
|
|
57437
|
+
* @example
|
|
57438
|
+
* 200
|
|
57439
|
+
*/
|
|
57440
|
+
httpStatusCode?: number;
|
|
57441
|
+
/**
|
|
57442
|
+
* @example
|
|
57443
|
+
* chat-65382141036853491
|
|
57444
|
+
*/
|
|
57445
|
+
jobId?: string;
|
|
57446
|
+
message?: string;
|
|
57447
|
+
params?: string[];
|
|
57448
|
+
/**
|
|
57449
|
+
* @example
|
|
57450
|
+
* 2778FA12-EDD6-42AA-9B15-AF855072E5E5
|
|
57451
|
+
*/
|
|
57452
|
+
requestId?: string;
|
|
57453
|
+
static names(): { [key: string]: string } {
|
|
57454
|
+
return {
|
|
57455
|
+
code: 'Code',
|
|
57456
|
+
data: 'Data',
|
|
57457
|
+
httpStatusCode: 'HttpStatusCode',
|
|
57458
|
+
jobId: 'JobId',
|
|
57459
|
+
message: 'Message',
|
|
57460
|
+
params: 'Params',
|
|
57461
|
+
requestId: 'RequestId',
|
|
57462
|
+
};
|
|
57463
|
+
}
|
|
57464
|
+
|
|
57465
|
+
static types(): { [key: string]: any } {
|
|
57466
|
+
return {
|
|
57467
|
+
code: 'string',
|
|
57468
|
+
data: 'string',
|
|
57469
|
+
httpStatusCode: 'number',
|
|
57470
|
+
jobId: 'string',
|
|
57471
|
+
message: 'string',
|
|
57472
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
57473
|
+
requestId: 'string',
|
|
57474
|
+
};
|
|
57475
|
+
}
|
|
57476
|
+
|
|
57477
|
+
validate() {
|
|
57478
|
+
if(Array.isArray(this.params)) {
|
|
57479
|
+
$dara.Model.validateArray(this.params);
|
|
57480
|
+
}
|
|
57481
|
+
super.validate();
|
|
57482
|
+
}
|
|
57483
|
+
|
|
57484
|
+
constructor(map?: { [key: string]: any }) {
|
|
57485
|
+
super(map);
|
|
57486
|
+
}
|
|
57487
|
+
}
|
|
57488
|
+
|
|
57489
|
+
export class ProcessCustomIMCallbackResponse extends $dara.Model {
|
|
57490
|
+
headers?: { [key: string]: string };
|
|
57491
|
+
statusCode?: number;
|
|
57492
|
+
body?: ProcessCustomIMCallbackResponseBody;
|
|
57493
|
+
static names(): { [key: string]: string } {
|
|
57494
|
+
return {
|
|
57495
|
+
headers: 'headers',
|
|
57496
|
+
statusCode: 'statusCode',
|
|
57497
|
+
body: 'body',
|
|
57498
|
+
};
|
|
57499
|
+
}
|
|
57500
|
+
|
|
57501
|
+
static types(): { [key: string]: any } {
|
|
57502
|
+
return {
|
|
57503
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
57504
|
+
statusCode: 'number',
|
|
57505
|
+
body: ProcessCustomIMCallbackResponseBody,
|
|
57506
|
+
};
|
|
57507
|
+
}
|
|
57508
|
+
|
|
57509
|
+
validate() {
|
|
57510
|
+
if(this.headers) {
|
|
57511
|
+
$dara.Model.validateMap(this.headers);
|
|
57512
|
+
}
|
|
57513
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
57514
|
+
(this.body as any).validate();
|
|
57515
|
+
}
|
|
57516
|
+
super.validate();
|
|
57517
|
+
}
|
|
57518
|
+
|
|
57519
|
+
constructor(map?: { [key: string]: any }) {
|
|
57520
|
+
super(map);
|
|
57521
|
+
}
|
|
57522
|
+
}
|
|
57523
|
+
|
|
56670
57524
|
export class PublishContactFlowRequest extends $dara.Model {
|
|
56671
57525
|
/**
|
|
56672
57526
|
* @remarks
|
|
@@ -63132,6 +63986,137 @@ export class UnregisterDeviceResponse extends $dara.Model {
|
|
|
63132
63986
|
}
|
|
63133
63987
|
}
|
|
63134
63988
|
|
|
63989
|
+
export class UpdateCallSummaryRequest extends $dara.Model {
|
|
63990
|
+
context?: string;
|
|
63991
|
+
/**
|
|
63992
|
+
* @remarks
|
|
63993
|
+
* This parameter is required.
|
|
63994
|
+
*
|
|
63995
|
+
* @example
|
|
63996
|
+
* ccc-test
|
|
63997
|
+
*/
|
|
63998
|
+
instanceId?: string;
|
|
63999
|
+
/**
|
|
64000
|
+
* @remarks
|
|
64001
|
+
* This parameter is required.
|
|
64002
|
+
*
|
|
64003
|
+
* @example
|
|
64004
|
+
* f2c6722b-cd13-442d-bf10-22a07c70d6d5
|
|
64005
|
+
*/
|
|
64006
|
+
ticketId?: string;
|
|
64007
|
+
static names(): { [key: string]: string } {
|
|
64008
|
+
return {
|
|
64009
|
+
context: 'Context',
|
|
64010
|
+
instanceId: 'InstanceId',
|
|
64011
|
+
ticketId: 'TicketId',
|
|
64012
|
+
};
|
|
64013
|
+
}
|
|
64014
|
+
|
|
64015
|
+
static types(): { [key: string]: any } {
|
|
64016
|
+
return {
|
|
64017
|
+
context: 'string',
|
|
64018
|
+
instanceId: 'string',
|
|
64019
|
+
ticketId: 'string',
|
|
64020
|
+
};
|
|
64021
|
+
}
|
|
64022
|
+
|
|
64023
|
+
validate() {
|
|
64024
|
+
super.validate();
|
|
64025
|
+
}
|
|
64026
|
+
|
|
64027
|
+
constructor(map?: { [key: string]: any }) {
|
|
64028
|
+
super(map);
|
|
64029
|
+
}
|
|
64030
|
+
}
|
|
64031
|
+
|
|
64032
|
+
export class UpdateCallSummaryResponseBody extends $dara.Model {
|
|
64033
|
+
/**
|
|
64034
|
+
* @example
|
|
64035
|
+
* OK
|
|
64036
|
+
*/
|
|
64037
|
+
code?: string;
|
|
64038
|
+
data?: any;
|
|
64039
|
+
/**
|
|
64040
|
+
* @example
|
|
64041
|
+
* 200
|
|
64042
|
+
*/
|
|
64043
|
+
httpStatusCode?: number;
|
|
64044
|
+
message?: string;
|
|
64045
|
+
params?: string[];
|
|
64046
|
+
/**
|
|
64047
|
+
* @example
|
|
64048
|
+
* 9FBA26B0-462B-4D77-B78F-AF35560DBC71
|
|
64049
|
+
*/
|
|
64050
|
+
requestId?: string;
|
|
64051
|
+
static names(): { [key: string]: string } {
|
|
64052
|
+
return {
|
|
64053
|
+
code: 'Code',
|
|
64054
|
+
data: 'Data',
|
|
64055
|
+
httpStatusCode: 'HttpStatusCode',
|
|
64056
|
+
message: 'Message',
|
|
64057
|
+
params: 'Params',
|
|
64058
|
+
requestId: 'RequestId',
|
|
64059
|
+
};
|
|
64060
|
+
}
|
|
64061
|
+
|
|
64062
|
+
static types(): { [key: string]: any } {
|
|
64063
|
+
return {
|
|
64064
|
+
code: 'string',
|
|
64065
|
+
data: 'any',
|
|
64066
|
+
httpStatusCode: 'number',
|
|
64067
|
+
message: 'string',
|
|
64068
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
64069
|
+
requestId: 'string',
|
|
64070
|
+
};
|
|
64071
|
+
}
|
|
64072
|
+
|
|
64073
|
+
validate() {
|
|
64074
|
+
if(Array.isArray(this.params)) {
|
|
64075
|
+
$dara.Model.validateArray(this.params);
|
|
64076
|
+
}
|
|
64077
|
+
super.validate();
|
|
64078
|
+
}
|
|
64079
|
+
|
|
64080
|
+
constructor(map?: { [key: string]: any }) {
|
|
64081
|
+
super(map);
|
|
64082
|
+
}
|
|
64083
|
+
}
|
|
64084
|
+
|
|
64085
|
+
export class UpdateCallSummaryResponse extends $dara.Model {
|
|
64086
|
+
headers?: { [key: string]: string };
|
|
64087
|
+
statusCode?: number;
|
|
64088
|
+
body?: UpdateCallSummaryResponseBody;
|
|
64089
|
+
static names(): { [key: string]: string } {
|
|
64090
|
+
return {
|
|
64091
|
+
headers: 'headers',
|
|
64092
|
+
statusCode: 'statusCode',
|
|
64093
|
+
body: 'body',
|
|
64094
|
+
};
|
|
64095
|
+
}
|
|
64096
|
+
|
|
64097
|
+
static types(): { [key: string]: any } {
|
|
64098
|
+
return {
|
|
64099
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
64100
|
+
statusCode: 'number',
|
|
64101
|
+
body: UpdateCallSummaryResponseBody,
|
|
64102
|
+
};
|
|
64103
|
+
}
|
|
64104
|
+
|
|
64105
|
+
validate() {
|
|
64106
|
+
if(this.headers) {
|
|
64107
|
+
$dara.Model.validateMap(this.headers);
|
|
64108
|
+
}
|
|
64109
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
64110
|
+
(this.body as any).validate();
|
|
64111
|
+
}
|
|
64112
|
+
super.validate();
|
|
64113
|
+
}
|
|
64114
|
+
|
|
64115
|
+
constructor(map?: { [key: string]: any }) {
|
|
64116
|
+
super(map);
|
|
64117
|
+
}
|
|
64118
|
+
}
|
|
64119
|
+
|
|
63135
64120
|
export class UpdateCampaignRequest extends $dara.Model {
|
|
63136
64121
|
/**
|
|
63137
64122
|
* @example
|
|
@@ -65746,6 +66731,61 @@ export default class Client extends OpenApi {
|
|
|
65746
66731
|
return await this.createAudioFileWithOptions(request, runtime);
|
|
65747
66732
|
}
|
|
65748
66733
|
|
|
66734
|
+
/**
|
|
66735
|
+
* @param request - CreateCallSummaryRequest
|
|
66736
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
66737
|
+
* @returns CreateCallSummaryResponse
|
|
66738
|
+
*/
|
|
66739
|
+
async createCallSummaryWithOptions(request: CreateCallSummaryRequest, runtime: $dara.RuntimeOptions): Promise<CreateCallSummaryResponse> {
|
|
66740
|
+
request.validate();
|
|
66741
|
+
let query = { };
|
|
66742
|
+
if (!$dara.isNull(request.contactId)) {
|
|
66743
|
+
query["ContactId"] = request.contactId;
|
|
66744
|
+
}
|
|
66745
|
+
|
|
66746
|
+
if (!$dara.isNull(request.context)) {
|
|
66747
|
+
query["Context"] = request.context;
|
|
66748
|
+
}
|
|
66749
|
+
|
|
66750
|
+
if (!$dara.isNull(request.customerId)) {
|
|
66751
|
+
query["CustomerId"] = request.customerId;
|
|
66752
|
+
}
|
|
66753
|
+
|
|
66754
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
66755
|
+
query["InstanceId"] = request.instanceId;
|
|
66756
|
+
}
|
|
66757
|
+
|
|
66758
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
66759
|
+
query: OpenApiUtil.query(query),
|
|
66760
|
+
});
|
|
66761
|
+
let params = new $OpenApiUtil.Params({
|
|
66762
|
+
action: "CreateCallSummary",
|
|
66763
|
+
version: "2020-07-01",
|
|
66764
|
+
protocol: "HTTPS",
|
|
66765
|
+
pathname: "/",
|
|
66766
|
+
method: "POST",
|
|
66767
|
+
authType: "AK",
|
|
66768
|
+
style: "RPC",
|
|
66769
|
+
reqBodyType: "formData",
|
|
66770
|
+
bodyType: "json",
|
|
66771
|
+
});
|
|
66772
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
66773
|
+
return $dara.cast<CreateCallSummaryResponse>(await this.callApi(params, req, runtime), new CreateCallSummaryResponse({}));
|
|
66774
|
+
} else {
|
|
66775
|
+
return $dara.cast<CreateCallSummaryResponse>(await this.execute(params, req, runtime), new CreateCallSummaryResponse({}));
|
|
66776
|
+
}
|
|
66777
|
+
|
|
66778
|
+
}
|
|
66779
|
+
|
|
66780
|
+
/**
|
|
66781
|
+
* @param request - CreateCallSummaryRequest
|
|
66782
|
+
* @returns CreateCallSummaryResponse
|
|
66783
|
+
*/
|
|
66784
|
+
async createCallSummary(request: CreateCallSummaryRequest): Promise<CreateCallSummaryResponse> {
|
|
66785
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
66786
|
+
return await this.createCallSummaryWithOptions(request, runtime);
|
|
66787
|
+
}
|
|
66788
|
+
|
|
65749
66789
|
/**
|
|
65750
66790
|
* 批量创建号码标签
|
|
65751
66791
|
*
|
|
@@ -65910,6 +66950,57 @@ export default class Client extends OpenApi {
|
|
|
65910
66950
|
return await this.createCampaignWithOptions(request, runtime);
|
|
65911
66951
|
}
|
|
65912
66952
|
|
|
66953
|
+
/**
|
|
66954
|
+
* @param request - CreateChatMediaUrlRequest
|
|
66955
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
66956
|
+
* @returns CreateChatMediaUrlResponse
|
|
66957
|
+
*/
|
|
66958
|
+
async createChatMediaUrlWithOptions(request: CreateChatMediaUrlRequest, runtime: $dara.RuntimeOptions): Promise<CreateChatMediaUrlResponse> {
|
|
66959
|
+
request.validate();
|
|
66960
|
+
let body : {[key: string ]: any} = { };
|
|
66961
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
66962
|
+
body["InstanceId"] = request.instanceId;
|
|
66963
|
+
}
|
|
66964
|
+
|
|
66965
|
+
if (!$dara.isNull(request.mimeType)) {
|
|
66966
|
+
body["MimeType"] = request.mimeType;
|
|
66967
|
+
}
|
|
66968
|
+
|
|
66969
|
+
if (!$dara.isNull(request.requestId)) {
|
|
66970
|
+
body["RequestId"] = request.requestId;
|
|
66971
|
+
}
|
|
66972
|
+
|
|
66973
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
66974
|
+
body: OpenApiUtil.parseToMap(body),
|
|
66975
|
+
});
|
|
66976
|
+
let params = new $OpenApiUtil.Params({
|
|
66977
|
+
action: "CreateChatMediaUrl",
|
|
66978
|
+
version: "2020-07-01",
|
|
66979
|
+
protocol: "HTTPS",
|
|
66980
|
+
pathname: "/",
|
|
66981
|
+
method: "POST",
|
|
66982
|
+
authType: "AK",
|
|
66983
|
+
style: "RPC",
|
|
66984
|
+
reqBodyType: "formData",
|
|
66985
|
+
bodyType: "json",
|
|
66986
|
+
});
|
|
66987
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
66988
|
+
return $dara.cast<CreateChatMediaUrlResponse>(await this.callApi(params, req, runtime), new CreateChatMediaUrlResponse({}));
|
|
66989
|
+
} else {
|
|
66990
|
+
return $dara.cast<CreateChatMediaUrlResponse>(await this.execute(params, req, runtime), new CreateChatMediaUrlResponse({}));
|
|
66991
|
+
}
|
|
66992
|
+
|
|
66993
|
+
}
|
|
66994
|
+
|
|
66995
|
+
/**
|
|
66996
|
+
* @param request - CreateChatMediaUrlRequest
|
|
66997
|
+
* @returns CreateChatMediaUrlResponse
|
|
66998
|
+
*/
|
|
66999
|
+
async createChatMediaUrl(request: CreateChatMediaUrlRequest): Promise<CreateChatMediaUrlResponse> {
|
|
67000
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
67001
|
+
return await this.createChatMediaUrlWithOptions(request, runtime);
|
|
67002
|
+
}
|
|
67003
|
+
|
|
65913
67004
|
/**
|
|
65914
67005
|
* @param request - CreateContactFlowRequest
|
|
65915
67006
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -68904,6 +69995,53 @@ export default class Client extends OpenApi {
|
|
|
68904
69995
|
return await this.getSkillGroupWithOptions(request, runtime);
|
|
68905
69996
|
}
|
|
68906
69997
|
|
|
69998
|
+
/**
|
|
69999
|
+
* @param request - GetSummaryTemplateRequest
|
|
70000
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
70001
|
+
* @returns GetSummaryTemplateResponse
|
|
70002
|
+
*/
|
|
70003
|
+
async getSummaryTemplateWithOptions(request: GetSummaryTemplateRequest, runtime: $dara.RuntimeOptions): Promise<GetSummaryTemplateResponse> {
|
|
70004
|
+
request.validate();
|
|
70005
|
+
let query = { };
|
|
70006
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
70007
|
+
query["InstanceId"] = request.instanceId;
|
|
70008
|
+
}
|
|
70009
|
+
|
|
70010
|
+
if (!$dara.isNull(request.templateId)) {
|
|
70011
|
+
query["TemplateId"] = request.templateId;
|
|
70012
|
+
}
|
|
70013
|
+
|
|
70014
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
70015
|
+
query: OpenApiUtil.query(query),
|
|
70016
|
+
});
|
|
70017
|
+
let params = new $OpenApiUtil.Params({
|
|
70018
|
+
action: "GetSummaryTemplate",
|
|
70019
|
+
version: "2020-07-01",
|
|
70020
|
+
protocol: "HTTPS",
|
|
70021
|
+
pathname: "/",
|
|
70022
|
+
method: "POST",
|
|
70023
|
+
authType: "AK",
|
|
70024
|
+
style: "RPC",
|
|
70025
|
+
reqBodyType: "formData",
|
|
70026
|
+
bodyType: "json",
|
|
70027
|
+
});
|
|
70028
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
70029
|
+
return $dara.cast<GetSummaryTemplateResponse>(await this.callApi(params, req, runtime), new GetSummaryTemplateResponse({}));
|
|
70030
|
+
} else {
|
|
70031
|
+
return $dara.cast<GetSummaryTemplateResponse>(await this.execute(params, req, runtime), new GetSummaryTemplateResponse({}));
|
|
70032
|
+
}
|
|
70033
|
+
|
|
70034
|
+
}
|
|
70035
|
+
|
|
70036
|
+
/**
|
|
70037
|
+
* @param request - GetSummaryTemplateRequest
|
|
70038
|
+
* @returns GetSummaryTemplateResponse
|
|
70039
|
+
*/
|
|
70040
|
+
async getSummaryTemplate(request: GetSummaryTemplateRequest): Promise<GetSummaryTemplateResponse> {
|
|
70041
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
70042
|
+
return await this.getSummaryTemplateWithOptions(request, runtime);
|
|
70043
|
+
}
|
|
70044
|
+
|
|
68907
70045
|
/**
|
|
68908
70046
|
* @param request - GetTicketRequest
|
|
68909
70047
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -74932,6 +76070,77 @@ export default class Client extends OpenApi {
|
|
|
74932
76070
|
return await this.processAliMeCallbackOfStagingWithOptions(request, runtime);
|
|
74933
76071
|
}
|
|
74934
76072
|
|
|
76073
|
+
/**
|
|
76074
|
+
* @param request - ProcessCustomIMCallbackRequest
|
|
76075
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
76076
|
+
* @returns ProcessCustomIMCallbackResponse
|
|
76077
|
+
*/
|
|
76078
|
+
async processCustomIMCallbackWithOptions(request: ProcessCustomIMCallbackRequest, runtime: $dara.RuntimeOptions): Promise<ProcessCustomIMCallbackResponse> {
|
|
76079
|
+
request.validate();
|
|
76080
|
+
let body : {[key: string ]: any} = { };
|
|
76081
|
+
if (!$dara.isNull(request.accessChannelId)) {
|
|
76082
|
+
body["AccessChannelId"] = request.accessChannelId;
|
|
76083
|
+
}
|
|
76084
|
+
|
|
76085
|
+
if (!$dara.isNull(request.conversationId)) {
|
|
76086
|
+
body["ConversationId"] = request.conversationId;
|
|
76087
|
+
}
|
|
76088
|
+
|
|
76089
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
76090
|
+
body["InstanceId"] = request.instanceId;
|
|
76091
|
+
}
|
|
76092
|
+
|
|
76093
|
+
if (!$dara.isNull(request.messageContent)) {
|
|
76094
|
+
body["MessageContent"] = request.messageContent;
|
|
76095
|
+
}
|
|
76096
|
+
|
|
76097
|
+
if (!$dara.isNull(request.requestId)) {
|
|
76098
|
+
body["RequestId"] = request.requestId;
|
|
76099
|
+
}
|
|
76100
|
+
|
|
76101
|
+
if (!$dara.isNull(request.senderAvatarMediaId)) {
|
|
76102
|
+
body["SenderAvatarMediaId"] = request.senderAvatarMediaId;
|
|
76103
|
+
}
|
|
76104
|
+
|
|
76105
|
+
if (!$dara.isNull(request.senderId)) {
|
|
76106
|
+
body["SenderId"] = request.senderId;
|
|
76107
|
+
}
|
|
76108
|
+
|
|
76109
|
+
if (!$dara.isNull(request.senderName)) {
|
|
76110
|
+
body["SenderName"] = request.senderName;
|
|
76111
|
+
}
|
|
76112
|
+
|
|
76113
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
76114
|
+
body: OpenApiUtil.parseToMap(body),
|
|
76115
|
+
});
|
|
76116
|
+
let params = new $OpenApiUtil.Params({
|
|
76117
|
+
action: "ProcessCustomIMCallback",
|
|
76118
|
+
version: "2020-07-01",
|
|
76119
|
+
protocol: "HTTPS",
|
|
76120
|
+
pathname: "/",
|
|
76121
|
+
method: "POST",
|
|
76122
|
+
authType: "AK",
|
|
76123
|
+
style: "RPC",
|
|
76124
|
+
reqBodyType: "formData",
|
|
76125
|
+
bodyType: "json",
|
|
76126
|
+
});
|
|
76127
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
76128
|
+
return $dara.cast<ProcessCustomIMCallbackResponse>(await this.callApi(params, req, runtime), new ProcessCustomIMCallbackResponse({}));
|
|
76129
|
+
} else {
|
|
76130
|
+
return $dara.cast<ProcessCustomIMCallbackResponse>(await this.execute(params, req, runtime), new ProcessCustomIMCallbackResponse({}));
|
|
76131
|
+
}
|
|
76132
|
+
|
|
76133
|
+
}
|
|
76134
|
+
|
|
76135
|
+
/**
|
|
76136
|
+
* @param request - ProcessCustomIMCallbackRequest
|
|
76137
|
+
* @returns ProcessCustomIMCallbackResponse
|
|
76138
|
+
*/
|
|
76139
|
+
async processCustomIMCallback(request: ProcessCustomIMCallbackRequest): Promise<ProcessCustomIMCallbackResponse> {
|
|
76140
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
76141
|
+
return await this.processCustomIMCallbackWithOptions(request, runtime);
|
|
76142
|
+
}
|
|
76143
|
+
|
|
74935
76144
|
/**
|
|
74936
76145
|
* @param request - PublishContactFlowRequest
|
|
74937
76146
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -77465,6 +78674,57 @@ export default class Client extends OpenApi {
|
|
|
77465
78674
|
return await this.unregisterDeviceWithOptions(request, runtime);
|
|
77466
78675
|
}
|
|
77467
78676
|
|
|
78677
|
+
/**
|
|
78678
|
+
* @param request - UpdateCallSummaryRequest
|
|
78679
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
78680
|
+
* @returns UpdateCallSummaryResponse
|
|
78681
|
+
*/
|
|
78682
|
+
async updateCallSummaryWithOptions(request: UpdateCallSummaryRequest, runtime: $dara.RuntimeOptions): Promise<UpdateCallSummaryResponse> {
|
|
78683
|
+
request.validate();
|
|
78684
|
+
let query = { };
|
|
78685
|
+
if (!$dara.isNull(request.context)) {
|
|
78686
|
+
query["Context"] = request.context;
|
|
78687
|
+
}
|
|
78688
|
+
|
|
78689
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
78690
|
+
query["InstanceId"] = request.instanceId;
|
|
78691
|
+
}
|
|
78692
|
+
|
|
78693
|
+
if (!$dara.isNull(request.ticketId)) {
|
|
78694
|
+
query["TicketId"] = request.ticketId;
|
|
78695
|
+
}
|
|
78696
|
+
|
|
78697
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
78698
|
+
query: OpenApiUtil.query(query),
|
|
78699
|
+
});
|
|
78700
|
+
let params = new $OpenApiUtil.Params({
|
|
78701
|
+
action: "UpdateCallSummary",
|
|
78702
|
+
version: "2020-07-01",
|
|
78703
|
+
protocol: "HTTPS",
|
|
78704
|
+
pathname: "/",
|
|
78705
|
+
method: "POST",
|
|
78706
|
+
authType: "AK",
|
|
78707
|
+
style: "RPC",
|
|
78708
|
+
reqBodyType: "formData",
|
|
78709
|
+
bodyType: "json",
|
|
78710
|
+
});
|
|
78711
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
78712
|
+
return $dara.cast<UpdateCallSummaryResponse>(await this.callApi(params, req, runtime), new UpdateCallSummaryResponse({}));
|
|
78713
|
+
} else {
|
|
78714
|
+
return $dara.cast<UpdateCallSummaryResponse>(await this.execute(params, req, runtime), new UpdateCallSummaryResponse({}));
|
|
78715
|
+
}
|
|
78716
|
+
|
|
78717
|
+
}
|
|
78718
|
+
|
|
78719
|
+
/**
|
|
78720
|
+
* @param request - UpdateCallSummaryRequest
|
|
78721
|
+
* @returns UpdateCallSummaryResponse
|
|
78722
|
+
*/
|
|
78723
|
+
async updateCallSummary(request: UpdateCallSummaryRequest): Promise<UpdateCallSummaryResponse> {
|
|
78724
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
78725
|
+
return await this.updateCallSummaryWithOptions(request, runtime);
|
|
78726
|
+
}
|
|
78727
|
+
|
|
77468
78728
|
/**
|
|
77469
78729
|
* Update campaign
|
|
77470
78730
|
*
|