@alicloud/ccc20200701 2.29.0 → 2.30.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 +389 -0
- package/dist/client.js +396 -22
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +641 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -777,6 +777,121 @@ export class AddCasesResponse extends $tea.Model {
|
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
779
|
|
|
780
|
+
export class AddFeedbackRequest extends $tea.Model {
|
|
781
|
+
feedback?: string;
|
|
782
|
+
/**
|
|
783
|
+
* @remarks
|
|
784
|
+
* This parameter is required.
|
|
785
|
+
*
|
|
786
|
+
* @example
|
|
787
|
+
* ccc-test
|
|
788
|
+
*/
|
|
789
|
+
instanceId?: string;
|
|
790
|
+
/**
|
|
791
|
+
* @example
|
|
792
|
+
* thumbsUp
|
|
793
|
+
*/
|
|
794
|
+
rating?: number;
|
|
795
|
+
/**
|
|
796
|
+
* @example
|
|
797
|
+
* f780ade8-****-458b-b067-63077946a570
|
|
798
|
+
*/
|
|
799
|
+
taskId?: string;
|
|
800
|
+
/**
|
|
801
|
+
* @example
|
|
802
|
+
* Abstract:fields
|
|
803
|
+
*/
|
|
804
|
+
taskName?: string;
|
|
805
|
+
static names(): { [key: string]: string } {
|
|
806
|
+
return {
|
|
807
|
+
feedback: 'Feedback',
|
|
808
|
+
instanceId: 'InstanceId',
|
|
809
|
+
rating: 'Rating',
|
|
810
|
+
taskId: 'TaskId',
|
|
811
|
+
taskName: 'TaskName',
|
|
812
|
+
};
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
static types(): { [key: string]: any } {
|
|
816
|
+
return {
|
|
817
|
+
feedback: 'string',
|
|
818
|
+
instanceId: 'string',
|
|
819
|
+
rating: 'number',
|
|
820
|
+
taskId: 'string',
|
|
821
|
+
taskName: 'string',
|
|
822
|
+
};
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
constructor(map?: { [key: string]: any }) {
|
|
826
|
+
super(map);
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
export class AddFeedbackResponseBody extends $tea.Model {
|
|
831
|
+
/**
|
|
832
|
+
* @example
|
|
833
|
+
* OK
|
|
834
|
+
*/
|
|
835
|
+
code?: string;
|
|
836
|
+
/**
|
|
837
|
+
* @example
|
|
838
|
+
* 200
|
|
839
|
+
*/
|
|
840
|
+
httpStatusCode?: number;
|
|
841
|
+
message?: string;
|
|
842
|
+
/**
|
|
843
|
+
* @example
|
|
844
|
+
* C81FD1A5-4B99-470A-A527-D80150228784
|
|
845
|
+
*/
|
|
846
|
+
requestId?: string;
|
|
847
|
+
static names(): { [key: string]: string } {
|
|
848
|
+
return {
|
|
849
|
+
code: 'Code',
|
|
850
|
+
httpStatusCode: 'HttpStatusCode',
|
|
851
|
+
message: 'Message',
|
|
852
|
+
requestId: 'RequestId',
|
|
853
|
+
};
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
static types(): { [key: string]: any } {
|
|
857
|
+
return {
|
|
858
|
+
code: 'string',
|
|
859
|
+
httpStatusCode: 'number',
|
|
860
|
+
message: 'string',
|
|
861
|
+
requestId: 'string',
|
|
862
|
+
};
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
constructor(map?: { [key: string]: any }) {
|
|
866
|
+
super(map);
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
export class AddFeedbackResponse extends $tea.Model {
|
|
871
|
+
headers?: { [key: string]: string };
|
|
872
|
+
statusCode?: number;
|
|
873
|
+
body?: AddFeedbackResponseBody;
|
|
874
|
+
static names(): { [key: string]: string } {
|
|
875
|
+
return {
|
|
876
|
+
headers: 'headers',
|
|
877
|
+
statusCode: 'statusCode',
|
|
878
|
+
body: 'body',
|
|
879
|
+
};
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
static types(): { [key: string]: any } {
|
|
883
|
+
return {
|
|
884
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
885
|
+
statusCode: 'number',
|
|
886
|
+
body: AddFeedbackResponseBody,
|
|
887
|
+
};
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
constructor(map?: { [key: string]: any }) {
|
|
891
|
+
super(map);
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
|
|
780
895
|
export class AddNumbersToSkillGroupRequest extends $tea.Model {
|
|
781
896
|
instNumberGroupIdList?: string;
|
|
782
897
|
/**
|
|
@@ -2834,9 +2949,20 @@ export class ChangeVisibilityRequest extends $tea.Model {
|
|
|
2834
2949
|
/**
|
|
2835
2950
|
* @remarks
|
|
2836
2951
|
* This parameter is required.
|
|
2952
|
+
*
|
|
2953
|
+
* @example
|
|
2954
|
+
* szpczf
|
|
2837
2955
|
*/
|
|
2838
2956
|
instanceId?: string;
|
|
2957
|
+
/**
|
|
2958
|
+
* @example
|
|
2959
|
+
* true
|
|
2960
|
+
*/
|
|
2839
2961
|
invisible?: boolean;
|
|
2962
|
+
/**
|
|
2963
|
+
* @example
|
|
2964
|
+
* sam@szpczf
|
|
2965
|
+
*/
|
|
2840
2966
|
userId?: string;
|
|
2841
2967
|
static names(): { [key: string]: string } {
|
|
2842
2968
|
return {
|
|
@@ -2860,11 +2986,27 @@ export class ChangeVisibilityRequest extends $tea.Model {
|
|
|
2860
2986
|
}
|
|
2861
2987
|
|
|
2862
2988
|
export class ChangeVisibilityResponseBody extends $tea.Model {
|
|
2989
|
+
/**
|
|
2990
|
+
* @example
|
|
2991
|
+
* OK
|
|
2992
|
+
*/
|
|
2863
2993
|
code?: string;
|
|
2864
2994
|
data?: ChangeVisibilityResponseBodyData;
|
|
2995
|
+
/**
|
|
2996
|
+
* @example
|
|
2997
|
+
* 200
|
|
2998
|
+
*/
|
|
2865
2999
|
httpStatusCode?: number;
|
|
3000
|
+
/**
|
|
3001
|
+
* @example
|
|
3002
|
+
* Internal service issue. Detail:.
|
|
3003
|
+
*/
|
|
2866
3004
|
message?: string;
|
|
2867
3005
|
params?: string[];
|
|
3006
|
+
/**
|
|
3007
|
+
* @example
|
|
3008
|
+
* 24BE19E8-BF7D-4992-A35E-15EBA874F2E5
|
|
3009
|
+
*/
|
|
2868
3010
|
requestId?: string;
|
|
2869
3011
|
static names(): { [key: string]: string } {
|
|
2870
3012
|
return {
|
|
@@ -5811,6 +5953,107 @@ export class DeleteDocumentsResponse extends $tea.Model {
|
|
|
5811
5953
|
}
|
|
5812
5954
|
}
|
|
5813
5955
|
|
|
5956
|
+
export class DeleteInstanceRequest extends $tea.Model {
|
|
5957
|
+
/**
|
|
5958
|
+
* @remarks
|
|
5959
|
+
* This parameter is required.
|
|
5960
|
+
*
|
|
5961
|
+
* @example
|
|
5962
|
+
* ccc-test
|
|
5963
|
+
*/
|
|
5964
|
+
instanceId?: string;
|
|
5965
|
+
static names(): { [key: string]: string } {
|
|
5966
|
+
return {
|
|
5967
|
+
instanceId: 'InstanceId',
|
|
5968
|
+
};
|
|
5969
|
+
}
|
|
5970
|
+
|
|
5971
|
+
static types(): { [key: string]: any } {
|
|
5972
|
+
return {
|
|
5973
|
+
instanceId: 'string',
|
|
5974
|
+
};
|
|
5975
|
+
}
|
|
5976
|
+
|
|
5977
|
+
constructor(map?: { [key: string]: any }) {
|
|
5978
|
+
super(map);
|
|
5979
|
+
}
|
|
5980
|
+
}
|
|
5981
|
+
|
|
5982
|
+
export class DeleteInstanceResponseBody extends $tea.Model {
|
|
5983
|
+
/**
|
|
5984
|
+
* @example
|
|
5985
|
+
* OK
|
|
5986
|
+
*/
|
|
5987
|
+
code?: string;
|
|
5988
|
+
/**
|
|
5989
|
+
* @example
|
|
5990
|
+
* b7feb007-994a-497f-8934-2f0c6f89867c
|
|
5991
|
+
*/
|
|
5992
|
+
data?: string;
|
|
5993
|
+
/**
|
|
5994
|
+
* @example
|
|
5995
|
+
* 200
|
|
5996
|
+
*/
|
|
5997
|
+
httpStatusCode?: number;
|
|
5998
|
+
message?: string;
|
|
5999
|
+
params?: string[];
|
|
6000
|
+
/**
|
|
6001
|
+
* @example
|
|
6002
|
+
* EEEE671A-3E24-4A04-81E6-6C4F5B39DF75
|
|
6003
|
+
*/
|
|
6004
|
+
requestId?: string;
|
|
6005
|
+
static names(): { [key: string]: string } {
|
|
6006
|
+
return {
|
|
6007
|
+
code: 'Code',
|
|
6008
|
+
data: 'Data',
|
|
6009
|
+
httpStatusCode: 'HttpStatusCode',
|
|
6010
|
+
message: 'Message',
|
|
6011
|
+
params: 'Params',
|
|
6012
|
+
requestId: 'RequestId',
|
|
6013
|
+
};
|
|
6014
|
+
}
|
|
6015
|
+
|
|
6016
|
+
static types(): { [key: string]: any } {
|
|
6017
|
+
return {
|
|
6018
|
+
code: 'string',
|
|
6019
|
+
data: 'string',
|
|
6020
|
+
httpStatusCode: 'number',
|
|
6021
|
+
message: 'string',
|
|
6022
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
6023
|
+
requestId: 'string',
|
|
6024
|
+
};
|
|
6025
|
+
}
|
|
6026
|
+
|
|
6027
|
+
constructor(map?: { [key: string]: any }) {
|
|
6028
|
+
super(map);
|
|
6029
|
+
}
|
|
6030
|
+
}
|
|
6031
|
+
|
|
6032
|
+
export class DeleteInstanceResponse extends $tea.Model {
|
|
6033
|
+
headers?: { [key: string]: string };
|
|
6034
|
+
statusCode?: number;
|
|
6035
|
+
body?: DeleteInstanceResponseBody;
|
|
6036
|
+
static names(): { [key: string]: string } {
|
|
6037
|
+
return {
|
|
6038
|
+
headers: 'headers',
|
|
6039
|
+
statusCode: 'statusCode',
|
|
6040
|
+
body: 'body',
|
|
6041
|
+
};
|
|
6042
|
+
}
|
|
6043
|
+
|
|
6044
|
+
static types(): { [key: string]: any } {
|
|
6045
|
+
return {
|
|
6046
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6047
|
+
statusCode: 'number',
|
|
6048
|
+
body: DeleteInstanceResponseBody,
|
|
6049
|
+
};
|
|
6050
|
+
}
|
|
6051
|
+
|
|
6052
|
+
constructor(map?: { [key: string]: any }) {
|
|
6053
|
+
super(map);
|
|
6054
|
+
}
|
|
6055
|
+
}
|
|
6056
|
+
|
|
5814
6057
|
export class DeleteSchemaRequest extends $tea.Model {
|
|
5815
6058
|
/**
|
|
5816
6059
|
* @remarks
|
|
@@ -20347,6 +20590,130 @@ export class ListSkillLevelsOfUserResponse extends $tea.Model {
|
|
|
20347
20590
|
}
|
|
20348
20591
|
}
|
|
20349
20592
|
|
|
20593
|
+
export class ListSmsMetadataRequest extends $tea.Model {
|
|
20594
|
+
/**
|
|
20595
|
+
* @remarks
|
|
20596
|
+
* This parameter is required.
|
|
20597
|
+
*
|
|
20598
|
+
* @example
|
|
20599
|
+
* ccc-test
|
|
20600
|
+
*/
|
|
20601
|
+
instanceId?: string;
|
|
20602
|
+
/**
|
|
20603
|
+
* @remarks
|
|
20604
|
+
* This parameter is required.
|
|
20605
|
+
*
|
|
20606
|
+
* @example
|
|
20607
|
+
* 1
|
|
20608
|
+
*/
|
|
20609
|
+
pageNumber?: number;
|
|
20610
|
+
/**
|
|
20611
|
+
* @remarks
|
|
20612
|
+
* This parameter is required.
|
|
20613
|
+
*
|
|
20614
|
+
* @example
|
|
20615
|
+
* 100
|
|
20616
|
+
*/
|
|
20617
|
+
pageSize?: number;
|
|
20618
|
+
/**
|
|
20619
|
+
* @example
|
|
20620
|
+
* ["SATISFACTION_SURVEY","CONTACT_FLOW_NODE"]
|
|
20621
|
+
*/
|
|
20622
|
+
scenarioListJson?: string;
|
|
20623
|
+
static names(): { [key: string]: string } {
|
|
20624
|
+
return {
|
|
20625
|
+
instanceId: 'InstanceId',
|
|
20626
|
+
pageNumber: 'PageNumber',
|
|
20627
|
+
pageSize: 'PageSize',
|
|
20628
|
+
scenarioListJson: 'ScenarioListJson',
|
|
20629
|
+
};
|
|
20630
|
+
}
|
|
20631
|
+
|
|
20632
|
+
static types(): { [key: string]: any } {
|
|
20633
|
+
return {
|
|
20634
|
+
instanceId: 'string',
|
|
20635
|
+
pageNumber: 'number',
|
|
20636
|
+
pageSize: 'number',
|
|
20637
|
+
scenarioListJson: 'string',
|
|
20638
|
+
};
|
|
20639
|
+
}
|
|
20640
|
+
|
|
20641
|
+
constructor(map?: { [key: string]: any }) {
|
|
20642
|
+
super(map);
|
|
20643
|
+
}
|
|
20644
|
+
}
|
|
20645
|
+
|
|
20646
|
+
export class ListSmsMetadataResponseBody extends $tea.Model {
|
|
20647
|
+
/**
|
|
20648
|
+
* @example
|
|
20649
|
+
* OK
|
|
20650
|
+
*/
|
|
20651
|
+
code?: string;
|
|
20652
|
+
data?: ListSmsMetadataResponseBodyData;
|
|
20653
|
+
/**
|
|
20654
|
+
* @example
|
|
20655
|
+
* 200
|
|
20656
|
+
*/
|
|
20657
|
+
httpStatusCode?: number;
|
|
20658
|
+
message?: string;
|
|
20659
|
+
params?: string[];
|
|
20660
|
+
/**
|
|
20661
|
+
* @example
|
|
20662
|
+
* 8707EB29-BAED-4302-B999-40BA61877437
|
|
20663
|
+
*/
|
|
20664
|
+
requestId?: string;
|
|
20665
|
+
static names(): { [key: string]: string } {
|
|
20666
|
+
return {
|
|
20667
|
+
code: 'Code',
|
|
20668
|
+
data: 'Data',
|
|
20669
|
+
httpStatusCode: 'HttpStatusCode',
|
|
20670
|
+
message: 'Message',
|
|
20671
|
+
params: 'Params',
|
|
20672
|
+
requestId: 'RequestId',
|
|
20673
|
+
};
|
|
20674
|
+
}
|
|
20675
|
+
|
|
20676
|
+
static types(): { [key: string]: any } {
|
|
20677
|
+
return {
|
|
20678
|
+
code: 'string',
|
|
20679
|
+
data: ListSmsMetadataResponseBodyData,
|
|
20680
|
+
httpStatusCode: 'number',
|
|
20681
|
+
message: 'string',
|
|
20682
|
+
params: { 'type': 'array', 'itemType': 'string' },
|
|
20683
|
+
requestId: 'string',
|
|
20684
|
+
};
|
|
20685
|
+
}
|
|
20686
|
+
|
|
20687
|
+
constructor(map?: { [key: string]: any }) {
|
|
20688
|
+
super(map);
|
|
20689
|
+
}
|
|
20690
|
+
}
|
|
20691
|
+
|
|
20692
|
+
export class ListSmsMetadataResponse extends $tea.Model {
|
|
20693
|
+
headers?: { [key: string]: string };
|
|
20694
|
+
statusCode?: number;
|
|
20695
|
+
body?: ListSmsMetadataResponseBody;
|
|
20696
|
+
static names(): { [key: string]: string } {
|
|
20697
|
+
return {
|
|
20698
|
+
headers: 'headers',
|
|
20699
|
+
statusCode: 'statusCode',
|
|
20700
|
+
body: 'body',
|
|
20701
|
+
};
|
|
20702
|
+
}
|
|
20703
|
+
|
|
20704
|
+
static types(): { [key: string]: any } {
|
|
20705
|
+
return {
|
|
20706
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20707
|
+
statusCode: 'number',
|
|
20708
|
+
body: ListSmsMetadataResponseBody,
|
|
20709
|
+
};
|
|
20710
|
+
}
|
|
20711
|
+
|
|
20712
|
+
constructor(map?: { [key: string]: any }) {
|
|
20713
|
+
super(map);
|
|
20714
|
+
}
|
|
20715
|
+
}
|
|
20716
|
+
|
|
20350
20717
|
export class ListTicketTasksRequest extends $tea.Model {
|
|
20351
20718
|
/**
|
|
20352
20719
|
* @remarks
|
|
@@ -30833,14 +31200,46 @@ export class CancelAttendedTransferResponseBodyData extends $tea.Model {
|
|
|
30833
31200
|
|
|
30834
31201
|
export class ChangeVisibilityResponseBodyData extends $tea.Model {
|
|
30835
31202
|
breakCode?: string;
|
|
31203
|
+
/**
|
|
31204
|
+
* @example
|
|
31205
|
+
* Yealink SIP-T23G 44.84.203.6
|
|
31206
|
+
*/
|
|
30836
31207
|
deviceId?: string;
|
|
31208
|
+
/**
|
|
31209
|
+
* @example
|
|
31210
|
+
* 8001****
|
|
31211
|
+
*/
|
|
30837
31212
|
extension?: string;
|
|
31213
|
+
/**
|
|
31214
|
+
* @example
|
|
31215
|
+
* szpczf
|
|
31216
|
+
*/
|
|
30838
31217
|
instanceId?: string;
|
|
31218
|
+
/**
|
|
31219
|
+
* @example
|
|
31220
|
+
* job-330557290544431104
|
|
31221
|
+
*/
|
|
30839
31222
|
jobId?: string;
|
|
31223
|
+
/**
|
|
31224
|
+
* @example
|
|
31225
|
+
* False
|
|
31226
|
+
*/
|
|
30840
31227
|
outboundScenario?: boolean;
|
|
30841
31228
|
signedSkillGroupIdList?: string[];
|
|
31229
|
+
/**
|
|
31230
|
+
* @example
|
|
31231
|
+
* sam@szpczf
|
|
31232
|
+
*/
|
|
30842
31233
|
userId?: string;
|
|
31234
|
+
/**
|
|
31235
|
+
* @example
|
|
31236
|
+
* Ready
|
|
31237
|
+
*/
|
|
30843
31238
|
userState?: string;
|
|
31239
|
+
/**
|
|
31240
|
+
* @example
|
|
31241
|
+
* ON_SITE
|
|
31242
|
+
*/
|
|
30844
31243
|
workMode?: string;
|
|
30845
31244
|
static names(): { [key: string]: string } {
|
|
30846
31245
|
return {
|
|
@@ -50587,6 +50986,106 @@ export class ListSkillLevelsOfUserResponseBodyData extends $tea.Model {
|
|
|
50587
50986
|
}
|
|
50588
50987
|
}
|
|
50589
50988
|
|
|
50989
|
+
export class ListSmsMetadataResponseBodyDataList extends $tea.Model {
|
|
50990
|
+
/**
|
|
50991
|
+
* @example
|
|
50992
|
+
* 15772400000****
|
|
50993
|
+
*/
|
|
50994
|
+
aliyunUid?: number;
|
|
50995
|
+
description?: string;
|
|
50996
|
+
/**
|
|
50997
|
+
* @example
|
|
50998
|
+
* ccc-test
|
|
50999
|
+
*/
|
|
51000
|
+
instanceId?: string;
|
|
51001
|
+
name?: string;
|
|
51002
|
+
/**
|
|
51003
|
+
* @example
|
|
51004
|
+
* MISSED_CALL_NOTIFICATION
|
|
51005
|
+
*/
|
|
51006
|
+
scenario?: string;
|
|
51007
|
+
signName?: string;
|
|
51008
|
+
/**
|
|
51009
|
+
* @example
|
|
51010
|
+
* 5ffc1c9a-4d3d-4019-*****-73255fb01d1c
|
|
51011
|
+
*/
|
|
51012
|
+
smsMetadataId?: string;
|
|
51013
|
+
/**
|
|
51014
|
+
* @example
|
|
51015
|
+
* SMS_468xxxx298
|
|
51016
|
+
*/
|
|
51017
|
+
templateCode?: string;
|
|
51018
|
+
static names(): { [key: string]: string } {
|
|
51019
|
+
return {
|
|
51020
|
+
aliyunUid: 'AliyunUid',
|
|
51021
|
+
description: 'Description',
|
|
51022
|
+
instanceId: 'InstanceId',
|
|
51023
|
+
name: 'Name',
|
|
51024
|
+
scenario: 'Scenario',
|
|
51025
|
+
signName: 'SignName',
|
|
51026
|
+
smsMetadataId: 'SmsMetadataId',
|
|
51027
|
+
templateCode: 'TemplateCode',
|
|
51028
|
+
};
|
|
51029
|
+
}
|
|
51030
|
+
|
|
51031
|
+
static types(): { [key: string]: any } {
|
|
51032
|
+
return {
|
|
51033
|
+
aliyunUid: 'number',
|
|
51034
|
+
description: 'string',
|
|
51035
|
+
instanceId: 'string',
|
|
51036
|
+
name: 'string',
|
|
51037
|
+
scenario: 'string',
|
|
51038
|
+
signName: 'string',
|
|
51039
|
+
smsMetadataId: 'string',
|
|
51040
|
+
templateCode: 'string',
|
|
51041
|
+
};
|
|
51042
|
+
}
|
|
51043
|
+
|
|
51044
|
+
constructor(map?: { [key: string]: any }) {
|
|
51045
|
+
super(map);
|
|
51046
|
+
}
|
|
51047
|
+
}
|
|
51048
|
+
|
|
51049
|
+
export class ListSmsMetadataResponseBodyData extends $tea.Model {
|
|
51050
|
+
list?: ListSmsMetadataResponseBodyDataList[];
|
|
51051
|
+
/**
|
|
51052
|
+
* @example
|
|
51053
|
+
* 1
|
|
51054
|
+
*/
|
|
51055
|
+
pageNumber?: number;
|
|
51056
|
+
/**
|
|
51057
|
+
* @example
|
|
51058
|
+
* 100
|
|
51059
|
+
*/
|
|
51060
|
+
pageSize?: number;
|
|
51061
|
+
/**
|
|
51062
|
+
* @example
|
|
51063
|
+
* 200
|
|
51064
|
+
*/
|
|
51065
|
+
totalCount?: number;
|
|
51066
|
+
static names(): { [key: string]: string } {
|
|
51067
|
+
return {
|
|
51068
|
+
list: 'List',
|
|
51069
|
+
pageNumber: 'PageNumber',
|
|
51070
|
+
pageSize: 'PageSize',
|
|
51071
|
+
totalCount: 'TotalCount',
|
|
51072
|
+
};
|
|
51073
|
+
}
|
|
51074
|
+
|
|
51075
|
+
static types(): { [key: string]: any } {
|
|
51076
|
+
return {
|
|
51077
|
+
list: { 'type': 'array', 'itemType': ListSmsMetadataResponseBodyDataList },
|
|
51078
|
+
pageNumber: 'number',
|
|
51079
|
+
pageSize: 'number',
|
|
51080
|
+
totalCount: 'number',
|
|
51081
|
+
};
|
|
51082
|
+
}
|
|
51083
|
+
|
|
51084
|
+
constructor(map?: { [key: string]: any }) {
|
|
51085
|
+
super(map);
|
|
51086
|
+
}
|
|
51087
|
+
}
|
|
51088
|
+
|
|
50590
51089
|
export class ListTicketTasksResponseBodyData extends $tea.Model {
|
|
50591
51090
|
/**
|
|
50592
51091
|
* @example
|
|
@@ -56416,6 +56915,60 @@ export default class Client extends OpenApi {
|
|
|
56416
56915
|
return await this.addCasesWithOptions(request, runtime);
|
|
56417
56916
|
}
|
|
56418
56917
|
|
|
56918
|
+
/**
|
|
56919
|
+
* @param request - AddFeedbackRequest
|
|
56920
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
56921
|
+
* @returns AddFeedbackResponse
|
|
56922
|
+
*/
|
|
56923
|
+
async addFeedbackWithOptions(request: AddFeedbackRequest, runtime: $Util.RuntimeOptions): Promise<AddFeedbackResponse> {
|
|
56924
|
+
Util.validateModel(request);
|
|
56925
|
+
let query = { };
|
|
56926
|
+
if (!Util.isUnset(request.feedback)) {
|
|
56927
|
+
query["Feedback"] = request.feedback;
|
|
56928
|
+
}
|
|
56929
|
+
|
|
56930
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
56931
|
+
query["InstanceId"] = request.instanceId;
|
|
56932
|
+
}
|
|
56933
|
+
|
|
56934
|
+
if (!Util.isUnset(request.rating)) {
|
|
56935
|
+
query["Rating"] = request.rating;
|
|
56936
|
+
}
|
|
56937
|
+
|
|
56938
|
+
if (!Util.isUnset(request.taskId)) {
|
|
56939
|
+
query["TaskId"] = request.taskId;
|
|
56940
|
+
}
|
|
56941
|
+
|
|
56942
|
+
if (!Util.isUnset(request.taskName)) {
|
|
56943
|
+
query["TaskName"] = request.taskName;
|
|
56944
|
+
}
|
|
56945
|
+
|
|
56946
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
56947
|
+
query: OpenApiUtil.query(query),
|
|
56948
|
+
});
|
|
56949
|
+
let params = new $OpenApi.Params({
|
|
56950
|
+
action: "AddFeedback",
|
|
56951
|
+
version: "2020-07-01",
|
|
56952
|
+
protocol: "HTTPS",
|
|
56953
|
+
pathname: "/",
|
|
56954
|
+
method: "POST",
|
|
56955
|
+
authType: "AK",
|
|
56956
|
+
style: "RPC",
|
|
56957
|
+
reqBodyType: "formData",
|
|
56958
|
+
bodyType: "json",
|
|
56959
|
+
});
|
|
56960
|
+
return $tea.cast<AddFeedbackResponse>(await this.callApi(params, req, runtime), new AddFeedbackResponse({}));
|
|
56961
|
+
}
|
|
56962
|
+
|
|
56963
|
+
/**
|
|
56964
|
+
* @param request - AddFeedbackRequest
|
|
56965
|
+
* @returns AddFeedbackResponse
|
|
56966
|
+
*/
|
|
56967
|
+
async addFeedback(request: AddFeedbackRequest): Promise<AddFeedbackResponse> {
|
|
56968
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
56969
|
+
return await this.addFeedbackWithOptions(request, runtime);
|
|
56970
|
+
}
|
|
56971
|
+
|
|
56419
56972
|
/**
|
|
56420
56973
|
* @param request - AddNumbersToSkillGroupRequest
|
|
56421
56974
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -58536,6 +59089,44 @@ export default class Client extends OpenApi {
|
|
|
58536
59089
|
return await this.deleteDocumentsWithOptions(request, runtime);
|
|
58537
59090
|
}
|
|
58538
59091
|
|
|
59092
|
+
/**
|
|
59093
|
+
* @param request - DeleteInstanceRequest
|
|
59094
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
59095
|
+
* @returns DeleteInstanceResponse
|
|
59096
|
+
*/
|
|
59097
|
+
async deleteInstanceWithOptions(request: DeleteInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DeleteInstanceResponse> {
|
|
59098
|
+
Util.validateModel(request);
|
|
59099
|
+
let query = { };
|
|
59100
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
59101
|
+
query["InstanceId"] = request.instanceId;
|
|
59102
|
+
}
|
|
59103
|
+
|
|
59104
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
59105
|
+
query: OpenApiUtil.query(query),
|
|
59106
|
+
});
|
|
59107
|
+
let params = new $OpenApi.Params({
|
|
59108
|
+
action: "DeleteInstance",
|
|
59109
|
+
version: "2020-07-01",
|
|
59110
|
+
protocol: "HTTPS",
|
|
59111
|
+
pathname: "/",
|
|
59112
|
+
method: "POST",
|
|
59113
|
+
authType: "AK",
|
|
59114
|
+
style: "RPC",
|
|
59115
|
+
reqBodyType: "formData",
|
|
59116
|
+
bodyType: "json",
|
|
59117
|
+
});
|
|
59118
|
+
return $tea.cast<DeleteInstanceResponse>(await this.callApi(params, req, runtime), new DeleteInstanceResponse({}));
|
|
59119
|
+
}
|
|
59120
|
+
|
|
59121
|
+
/**
|
|
59122
|
+
* @param request - DeleteInstanceRequest
|
|
59123
|
+
* @returns DeleteInstanceResponse
|
|
59124
|
+
*/
|
|
59125
|
+
async deleteInstance(request: DeleteInstanceRequest): Promise<DeleteInstanceResponse> {
|
|
59126
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
59127
|
+
return await this.deleteInstanceWithOptions(request, runtime);
|
|
59128
|
+
}
|
|
59129
|
+
|
|
58539
59130
|
/**
|
|
58540
59131
|
* @param request - DeleteSchemaRequest
|
|
58541
59132
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -64726,6 +65317,56 @@ export default class Client extends OpenApi {
|
|
|
64726
65317
|
return await this.listSkillLevelsOfUserWithOptions(request, runtime);
|
|
64727
65318
|
}
|
|
64728
65319
|
|
|
65320
|
+
/**
|
|
65321
|
+
* @param request - ListSmsMetadataRequest
|
|
65322
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
65323
|
+
* @returns ListSmsMetadataResponse
|
|
65324
|
+
*/
|
|
65325
|
+
async listSmsMetadataWithOptions(request: ListSmsMetadataRequest, runtime: $Util.RuntimeOptions): Promise<ListSmsMetadataResponse> {
|
|
65326
|
+
Util.validateModel(request);
|
|
65327
|
+
let query = { };
|
|
65328
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
65329
|
+
query["InstanceId"] = request.instanceId;
|
|
65330
|
+
}
|
|
65331
|
+
|
|
65332
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
65333
|
+
query["PageNumber"] = request.pageNumber;
|
|
65334
|
+
}
|
|
65335
|
+
|
|
65336
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
65337
|
+
query["PageSize"] = request.pageSize;
|
|
65338
|
+
}
|
|
65339
|
+
|
|
65340
|
+
if (!Util.isUnset(request.scenarioListJson)) {
|
|
65341
|
+
query["ScenarioListJson"] = request.scenarioListJson;
|
|
65342
|
+
}
|
|
65343
|
+
|
|
65344
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
65345
|
+
query: OpenApiUtil.query(query),
|
|
65346
|
+
});
|
|
65347
|
+
let params = new $OpenApi.Params({
|
|
65348
|
+
action: "ListSmsMetadata",
|
|
65349
|
+
version: "2020-07-01",
|
|
65350
|
+
protocol: "HTTPS",
|
|
65351
|
+
pathname: "/",
|
|
65352
|
+
method: "POST",
|
|
65353
|
+
authType: "AK",
|
|
65354
|
+
style: "RPC",
|
|
65355
|
+
reqBodyType: "formData",
|
|
65356
|
+
bodyType: "json",
|
|
65357
|
+
});
|
|
65358
|
+
return $tea.cast<ListSmsMetadataResponse>(await this.callApi(params, req, runtime), new ListSmsMetadataResponse({}));
|
|
65359
|
+
}
|
|
65360
|
+
|
|
65361
|
+
/**
|
|
65362
|
+
* @param request - ListSmsMetadataRequest
|
|
65363
|
+
* @returns ListSmsMetadataResponse
|
|
65364
|
+
*/
|
|
65365
|
+
async listSmsMetadata(request: ListSmsMetadataRequest): Promise<ListSmsMetadataResponse> {
|
|
65366
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
65367
|
+
return await this.listSmsMetadataWithOptions(request, runtime);
|
|
65368
|
+
}
|
|
65369
|
+
|
|
64729
65370
|
/**
|
|
64730
65371
|
* @param request - ListTicketTasksRequest
|
|
64731
65372
|
* @param runtime - runtime options for this request RuntimeOptions
|