@alicloud/ccc20200701 2.25.4 → 2.26.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/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
  */
@@ -13906,6 +14023,135 @@ export class ListCallDetailRecordsV2Response extends $tea.Model {
13906
14023
  }
13907
14024
  }
13908
14025
 
14026
+ export class ListCallSummariesRequest extends $tea.Model {
14027
+ contactIdList?: string[];
14028
+ /**
14029
+ * @remarks
14030
+ * This parameter is required.
14031
+ *
14032
+ * @example
14033
+ * ccc-test
14034
+ */
14035
+ instanceId?: string;
14036
+ static names(): { [key: string]: string } {
14037
+ return {
14038
+ contactIdList: 'ContactIdList',
14039
+ instanceId: 'InstanceId',
14040
+ };
14041
+ }
14042
+
14043
+ static types(): { [key: string]: any } {
14044
+ return {
14045
+ contactIdList: { 'type': 'array', 'itemType': 'string' },
14046
+ instanceId: 'string',
14047
+ };
14048
+ }
14049
+
14050
+ constructor(map?: { [key: string]: any }) {
14051
+ super(map);
14052
+ }
14053
+ }
14054
+
14055
+ export class ListCallSummariesShrinkRequest extends $tea.Model {
14056
+ contactIdListShrink?: string;
14057
+ /**
14058
+ * @remarks
14059
+ * This parameter is required.
14060
+ *
14061
+ * @example
14062
+ * ccc-test
14063
+ */
14064
+ instanceId?: string;
14065
+ static names(): { [key: string]: string } {
14066
+ return {
14067
+ contactIdListShrink: 'ContactIdList',
14068
+ instanceId: 'InstanceId',
14069
+ };
14070
+ }
14071
+
14072
+ static types(): { [key: string]: any } {
14073
+ return {
14074
+ contactIdListShrink: 'string',
14075
+ instanceId: 'string',
14076
+ };
14077
+ }
14078
+
14079
+ constructor(map?: { [key: string]: any }) {
14080
+ super(map);
14081
+ }
14082
+ }
14083
+
14084
+ export class ListCallSummariesResponseBody extends $tea.Model {
14085
+ /**
14086
+ * @example
14087
+ * OK
14088
+ */
14089
+ code?: string;
14090
+ data?: ListCallSummariesResponseBodyData[];
14091
+ /**
14092
+ * @example
14093
+ * 200
14094
+ */
14095
+ httpStatusCode?: number;
14096
+ message?: string;
14097
+ params?: string[];
14098
+ /**
14099
+ * @example
14100
+ * 932579BC-811A-503D-B322-4C2E57087CAA
14101
+ */
14102
+ requestId?: string;
14103
+ static names(): { [key: string]: string } {
14104
+ return {
14105
+ code: 'Code',
14106
+ data: 'Data',
14107
+ httpStatusCode: 'HttpStatusCode',
14108
+ message: 'Message',
14109
+ params: 'Params',
14110
+ requestId: 'RequestId',
14111
+ };
14112
+ }
14113
+
14114
+ static types(): { [key: string]: any } {
14115
+ return {
14116
+ code: 'string',
14117
+ data: { 'type': 'array', 'itemType': ListCallSummariesResponseBodyData },
14118
+ httpStatusCode: 'number',
14119
+ message: 'string',
14120
+ params: { 'type': 'array', 'itemType': 'string' },
14121
+ requestId: 'string',
14122
+ };
14123
+ }
14124
+
14125
+ constructor(map?: { [key: string]: any }) {
14126
+ super(map);
14127
+ }
14128
+ }
14129
+
14130
+ export class ListCallSummariesResponse extends $tea.Model {
14131
+ headers?: { [key: string]: string };
14132
+ statusCode?: number;
14133
+ body?: ListCallSummariesResponseBody;
14134
+ static names(): { [key: string]: string } {
14135
+ return {
14136
+ headers: 'headers',
14137
+ statusCode: 'statusCode',
14138
+ body: 'body',
14139
+ };
14140
+ }
14141
+
14142
+ static types(): { [key: string]: any } {
14143
+ return {
14144
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14145
+ statusCode: 'number',
14146
+ body: ListCallSummariesResponseBody,
14147
+ };
14148
+ }
14149
+
14150
+ constructor(map?: { [key: string]: any }) {
14151
+ super(map);
14152
+ }
14153
+ }
14154
+
13909
14155
  export class ListCallTagsRequest extends $tea.Model {
13910
14156
  /**
13911
14157
  * @remarks
@@ -15454,6 +15700,238 @@ export class ListDocumentsResponse extends $tea.Model {
15454
15700
  }
15455
15701
  }
15456
15702
 
15703
+ export class ListFlashSmsApplicationsRequest extends $tea.Model {
15704
+ /**
15705
+ * @remarks
15706
+ * This parameter is required.
15707
+ *
15708
+ * @example
15709
+ * ccc-test
15710
+ */
15711
+ instanceId?: string;
15712
+ name?: string;
15713
+ /**
15714
+ * @example
15715
+ * 1
15716
+ */
15717
+ pageNumber?: number;
15718
+ /**
15719
+ * @example
15720
+ * 100
15721
+ */
15722
+ pageSize?: number;
15723
+ /**
15724
+ * @example
15725
+ * Uincall
15726
+ */
15727
+ providerId?: string;
15728
+ static names(): { [key: string]: string } {
15729
+ return {
15730
+ instanceId: 'InstanceId',
15731
+ name: 'Name',
15732
+ pageNumber: 'PageNumber',
15733
+ pageSize: 'PageSize',
15734
+ providerId: 'ProviderId',
15735
+ };
15736
+ }
15737
+
15738
+ static types(): { [key: string]: any } {
15739
+ return {
15740
+ instanceId: 'string',
15741
+ name: 'string',
15742
+ pageNumber: 'number',
15743
+ pageSize: 'number',
15744
+ providerId: 'string',
15745
+ };
15746
+ }
15747
+
15748
+ constructor(map?: { [key: string]: any }) {
15749
+ super(map);
15750
+ }
15751
+ }
15752
+
15753
+ export class ListFlashSmsApplicationsResponseBody extends $tea.Model {
15754
+ /**
15755
+ * @example
15756
+ * OK
15757
+ */
15758
+ code?: string;
15759
+ data?: ListFlashSmsApplicationsResponseBodyData;
15760
+ /**
15761
+ * @example
15762
+ * 200
15763
+ */
15764
+ httpStatusCode?: number;
15765
+ message?: string;
15766
+ params?: string[];
15767
+ /**
15768
+ * @example
15769
+ * 7BEEA660-A45A-45E3-98CC-AFC65E715C23
15770
+ */
15771
+ requestId?: string;
15772
+ static names(): { [key: string]: string } {
15773
+ return {
15774
+ code: 'Code',
15775
+ data: 'Data',
15776
+ httpStatusCode: 'HttpStatusCode',
15777
+ message: 'Message',
15778
+ params: 'Params',
15779
+ requestId: 'RequestId',
15780
+ };
15781
+ }
15782
+
15783
+ static types(): { [key: string]: any } {
15784
+ return {
15785
+ code: 'string',
15786
+ data: ListFlashSmsApplicationsResponseBodyData,
15787
+ httpStatusCode: 'number',
15788
+ message: 'string',
15789
+ params: { 'type': 'array', 'itemType': 'string' },
15790
+ requestId: 'string',
15791
+ };
15792
+ }
15793
+
15794
+ constructor(map?: { [key: string]: any }) {
15795
+ super(map);
15796
+ }
15797
+ }
15798
+
15799
+ export class ListFlashSmsApplicationsResponse extends $tea.Model {
15800
+ headers?: { [key: string]: string };
15801
+ statusCode?: number;
15802
+ body?: ListFlashSmsApplicationsResponseBody;
15803
+ static names(): { [key: string]: string } {
15804
+ return {
15805
+ headers: 'headers',
15806
+ statusCode: 'statusCode',
15807
+ body: 'body',
15808
+ };
15809
+ }
15810
+
15811
+ static types(): { [key: string]: any } {
15812
+ return {
15813
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15814
+ statusCode: 'number',
15815
+ body: ListFlashSmsApplicationsResponseBody,
15816
+ };
15817
+ }
15818
+
15819
+ constructor(map?: { [key: string]: any }) {
15820
+ super(map);
15821
+ }
15822
+ }
15823
+
15824
+ export class ListFlashSmsTemplatesRequest extends $tea.Model {
15825
+ /**
15826
+ * @example
15827
+ * 71b396fa-1*********-70b7c0
15828
+ */
15829
+ applicationId?: string;
15830
+ /**
15831
+ * @remarks
15832
+ * This parameter is required.
15833
+ *
15834
+ * @example
15835
+ * ccc-test
15836
+ */
15837
+ instanceId?: string;
15838
+ /**
15839
+ * @example
15840
+ * Uincall
15841
+ */
15842
+ providerId?: string;
15843
+ static names(): { [key: string]: string } {
15844
+ return {
15845
+ applicationId: 'ApplicationId',
15846
+ instanceId: 'InstanceId',
15847
+ providerId: 'ProviderId',
15848
+ };
15849
+ }
15850
+
15851
+ static types(): { [key: string]: any } {
15852
+ return {
15853
+ applicationId: 'string',
15854
+ instanceId: 'string',
15855
+ providerId: 'string',
15856
+ };
15857
+ }
15858
+
15859
+ constructor(map?: { [key: string]: any }) {
15860
+ super(map);
15861
+ }
15862
+ }
15863
+
15864
+ export class ListFlashSmsTemplatesResponseBody extends $tea.Model {
15865
+ /**
15866
+ * @example
15867
+ * OK
15868
+ */
15869
+ code?: string;
15870
+ data?: ListFlashSmsTemplatesResponseBodyData[];
15871
+ /**
15872
+ * @example
15873
+ * 200
15874
+ */
15875
+ httpStatusCode?: number;
15876
+ message?: string;
15877
+ params?: string[];
15878
+ /**
15879
+ * @example
15880
+ * 7BEEA660-A45A-45E3-98CC-AFC65E715C23
15881
+ */
15882
+ requestId?: string;
15883
+ static names(): { [key: string]: string } {
15884
+ return {
15885
+ code: 'Code',
15886
+ data: 'Data',
15887
+ httpStatusCode: 'HttpStatusCode',
15888
+ message: 'Message',
15889
+ params: 'Params',
15890
+ requestId: 'RequestId',
15891
+ };
15892
+ }
15893
+
15894
+ static types(): { [key: string]: any } {
15895
+ return {
15896
+ code: 'string',
15897
+ data: { 'type': 'array', 'itemType': ListFlashSmsTemplatesResponseBodyData },
15898
+ httpStatusCode: 'number',
15899
+ message: 'string',
15900
+ params: { 'type': 'array', 'itemType': 'string' },
15901
+ requestId: 'string',
15902
+ };
15903
+ }
15904
+
15905
+ constructor(map?: { [key: string]: any }) {
15906
+ super(map);
15907
+ }
15908
+ }
15909
+
15910
+ export class ListFlashSmsTemplatesResponse extends $tea.Model {
15911
+ headers?: { [key: string]: string };
15912
+ statusCode?: number;
15913
+ body?: ListFlashSmsTemplatesResponseBody;
15914
+ static names(): { [key: string]: string } {
15915
+ return {
15916
+ headers: 'headers',
15917
+ statusCode: 'statusCode',
15918
+ body: 'body',
15919
+ };
15920
+ }
15921
+
15922
+ static types(): { [key: string]: any } {
15923
+ return {
15924
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15925
+ statusCode: 'number',
15926
+ body: ListFlashSmsTemplatesResponseBody,
15927
+ };
15928
+ }
15929
+
15930
+ constructor(map?: { [key: string]: any }) {
15931
+ super(map);
15932
+ }
15933
+ }
15934
+
15457
15935
  export class ListGroupChatMessagesRequest extends $tea.Model {
15458
15936
  /**
15459
15937
  * @example
@@ -20378,6 +20856,107 @@ export class ListVoicemailsResponse extends $tea.Model {
20378
20856
  }
20379
20857
  }
20380
20858
 
20859
+ export class ListWaitingChatsRequest extends $tea.Model {
20860
+ /**
20861
+ * @remarks
20862
+ * This parameter is required.
20863
+ *
20864
+ * @example
20865
+ * ccc-test
20866
+ */
20867
+ instanceId?: string;
20868
+ /**
20869
+ * @example
20870
+ * ["skillgroup1@ccc-test", "skillgroup2@ccc-test"]
20871
+ */
20872
+ skillGroupIdList?: string;
20873
+ static names(): { [key: string]: string } {
20874
+ return {
20875
+ instanceId: 'InstanceId',
20876
+ skillGroupIdList: 'SkillGroupIdList',
20877
+ };
20878
+ }
20879
+
20880
+ static types(): { [key: string]: any } {
20881
+ return {
20882
+ instanceId: 'string',
20883
+ skillGroupIdList: 'string',
20884
+ };
20885
+ }
20886
+
20887
+ constructor(map?: { [key: string]: any }) {
20888
+ super(map);
20889
+ }
20890
+ }
20891
+
20892
+ export class ListWaitingChatsResponseBody extends $tea.Model {
20893
+ /**
20894
+ * @example
20895
+ * OK
20896
+ */
20897
+ code?: string;
20898
+ data?: ListWaitingChatsResponseBodyData[];
20899
+ /**
20900
+ * @example
20901
+ * 200
20902
+ */
20903
+ httpStatusCode?: number;
20904
+ message?: string;
20905
+ /**
20906
+ * @example
20907
+ * 03C67DAD-EB26-41D8-949D-9B0C470FB716
20908
+ */
20909
+ requestId?: string;
20910
+ static names(): { [key: string]: string } {
20911
+ return {
20912
+ code: 'Code',
20913
+ data: 'Data',
20914
+ httpStatusCode: 'HttpStatusCode',
20915
+ message: 'Message',
20916
+ requestId: 'RequestId',
20917
+ };
20918
+ }
20919
+
20920
+ static types(): { [key: string]: any } {
20921
+ return {
20922
+ code: 'string',
20923
+ data: { 'type': 'array', 'itemType': ListWaitingChatsResponseBodyData },
20924
+ httpStatusCode: 'number',
20925
+ message: 'string',
20926
+ requestId: 'string',
20927
+ };
20928
+ }
20929
+
20930
+ constructor(map?: { [key: string]: any }) {
20931
+ super(map);
20932
+ }
20933
+ }
20934
+
20935
+ export class ListWaitingChatsResponse extends $tea.Model {
20936
+ headers?: { [key: string]: string };
20937
+ statusCode?: number;
20938
+ body?: ListWaitingChatsResponseBody;
20939
+ static names(): { [key: string]: string } {
20940
+ return {
20941
+ headers: 'headers',
20942
+ statusCode: 'statusCode',
20943
+ body: 'body',
20944
+ };
20945
+ }
20946
+
20947
+ static types(): { [key: string]: any } {
20948
+ return {
20949
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
20950
+ statusCode: 'number',
20951
+ body: ListWaitingChatsResponseBody,
20952
+ };
20953
+ }
20954
+
20955
+ constructor(map?: { [key: string]: any }) {
20956
+ super(map);
20957
+ }
20958
+ }
20959
+
20381
20960
  export class MakeCallRequest extends $tea.Model {
20382
20961
  /**
20383
20962
  * @remarks
@@ -38018,6 +38597,60 @@ export class ListCallDetailRecordsV2ResponseBodyData extends $tea.Model {
38018
38597
  }
38019
38598
  }
38020
38599
 
38600
+ export class ListCallSummariesResponseBodyData extends $tea.Model {
38601
+ /**
38602
+ * @example
38603
+ * job-544789******759424
38604
+ */
38605
+ contactId?: string;
38606
+ context?: string;
38607
+ /**
38608
+ * @example
38609
+ * 1723449513735
38610
+ */
38611
+ createdTime?: number;
38612
+ /**
38613
+ * @example
38614
+ * creator@ccc-test
38615
+ */
38616
+ creator?: string;
38617
+ /**
38618
+ * @example
38619
+ * editor@ccc-test
38620
+ */
38621
+ editor?: string;
38622
+ /**
38623
+ * @example
38624
+ * ac0dd304-****-****-****-4a90010f0d38
38625
+ */
38626
+ ticketId?: string;
38627
+ static names(): { [key: string]: string } {
38628
+ return {
38629
+ contactId: 'ContactId',
38630
+ context: 'Context',
38631
+ createdTime: 'CreatedTime',
38632
+ creator: 'Creator',
38633
+ editor: 'Editor',
38634
+ ticketId: 'TicketId',
38635
+ };
38636
+ }
38637
+
38638
+ static types(): { [key: string]: any } {
38639
+ return {
38640
+ contactId: 'string',
38641
+ context: 'string',
38642
+ createdTime: 'number',
38643
+ creator: 'string',
38644
+ editor: 'string',
38645
+ ticketId: 'string',
38646
+ };
38647
+ }
38648
+
38649
+ constructor(map?: { [key: string]: any }) {
38650
+ super(map);
38651
+ }
38652
+ }
38653
+
38021
38654
  export class ListCallTagsResponseBodyDataList extends $tea.Model {
38022
38655
  /**
38023
38656
  * @example
@@ -39102,6 +39735,119 @@ export class ListDocumentsResponseBodyData extends $tea.Model {
39102
39735
  }
39103
39736
  }
39104
39737
 
39738
+ export class ListFlashSmsApplicationsResponseBodyDataList extends $tea.Model {
39739
+ /**
39740
+ * @example
39741
+ * 71b396fa-***********-bd80e070b7c0
39742
+ */
39743
+ applicationId?: string;
39744
+ /**
39745
+ * @example
39746
+ * ccc-test
39747
+ */
39748
+ instanceId?: string;
39749
+ name?: string;
39750
+ /**
39751
+ * @example
39752
+ * Uincall
39753
+ */
39754
+ providerId?: string;
39755
+ /**
39756
+ * @example
39757
+ * {"user":"600******_dev","pwd":"85abf3**********f494e","account":"6004******"}
39758
+ */
39759
+ value?: string;
39760
+ static names(): { [key: string]: string } {
39761
+ return {
39762
+ applicationId: 'ApplicationId',
39763
+ instanceId: 'InstanceId',
39764
+ name: 'Name',
39765
+ providerId: 'ProviderId',
39766
+ value: 'Value',
39767
+ };
39768
+ }
39769
+
39770
+ static types(): { [key: string]: any } {
39771
+ return {
39772
+ applicationId: 'string',
39773
+ instanceId: 'string',
39774
+ name: 'string',
39775
+ providerId: 'string',
39776
+ value: 'string',
39777
+ };
39778
+ }
39779
+
39780
+ constructor(map?: { [key: string]: any }) {
39781
+ super(map);
39782
+ }
39783
+ }
39784
+
39785
+ export class ListFlashSmsApplicationsResponseBodyData extends $tea.Model {
39786
+ list?: ListFlashSmsApplicationsResponseBodyDataList[];
39787
+ /**
39788
+ * @example
39789
+ * 1
39790
+ */
39791
+ pageNumber?: number;
39792
+ /**
39793
+ * @example
39794
+ * 100
39795
+ */
39796
+ pageSize?: number;
39797
+ /**
39798
+ * @example
39799
+ * 1
39800
+ */
39801
+ totalCount?: number;
39802
+ static names(): { [key: string]: string } {
39803
+ return {
39804
+ list: 'List',
39805
+ pageNumber: 'PageNumber',
39806
+ pageSize: 'PageSize',
39807
+ totalCount: 'TotalCount',
39808
+ };
39809
+ }
39810
+
39811
+ static types(): { [key: string]: any } {
39812
+ return {
39813
+ list: { 'type': 'array', 'itemType': ListFlashSmsApplicationsResponseBodyDataList },
39814
+ pageNumber: 'number',
39815
+ pageSize: 'number',
39816
+ totalCount: 'number',
39817
+ };
39818
+ }
39819
+
39820
+ constructor(map?: { [key: string]: any }) {
39821
+ super(map);
39822
+ }
39823
+ }
39824
+
39825
+ export class ListFlashSmsTemplatesResponseBodyData extends $tea.Model {
39826
+ /**
39827
+ * @example
39828
+ * 1715*****38
39829
+ */
39830
+ templateId?: string;
39831
+ templateName?: string;
39832
+ static names(): { [key: string]: string } {
39833
+ return {
39834
+ templateId: 'TemplateId',
39835
+ templateName: 'TemplateName',
39836
+ };
39837
+ }
39838
+
39839
+ static types(): { [key: string]: any } {
39840
+ return {
39841
+ templateId: 'string',
39842
+ templateName: 'string',
39843
+ };
39844
+ }
39845
+
39846
+ constructor(map?: { [key: string]: any }) {
39847
+ super(map);
39848
+ }
39849
+ }
39850
+
39105
39851
  export class ListGroupChatMessagesResponseBodyDataMessages extends $tea.Model {
39106
39852
  content?: string;
39107
39853
  /**
@@ -50041,6 +50787,138 @@ export class ListVoicemailsResponseBodyData extends $tea.Model {
50041
50787
  }
50042
50788
  }
50043
50789
 
50790
+ export class ListWaitingChatsResponseBodyDataMessages extends $tea.Model {
50791
+ content?: string;
50792
+ /**
50793
+ * @example
50794
+ * c361765f-******-4e07-b81c-4b5d9183fac6
50795
+ */
50796
+ senderId?: string;
50797
+ senderType?: string;
50798
+ static names(): { [key: string]: string } {
50799
+ return {
50800
+ content: 'Content',
50801
+ senderId: 'SenderId',
50802
+ senderType: 'SenderType',
50803
+ };
50804
+ }
50805
+
50806
+ static types(): { [key: string]: any } {
50807
+ return {
50808
+ content: 'string',
50809
+ senderId: 'string',
50810
+ senderType: 'string',
50811
+ };
50812
+ }
50813
+
50814
+ constructor(map?: { [key: string]: any }) {
50815
+ super(map);
50816
+ }
50817
+ }
50818
+
50819
+ export class ListWaitingChatsResponseBodyDataUserList extends $tea.Model {
50820
+ avatarUrl?: string;
50821
+ /**
50822
+ * @example
50823
+ * c361765f-******-4e07-b81c-4b5d9183fac6
50824
+ */
50825
+ userId?: string;
50826
+ userName?: string;
50827
+ /**
50828
+ * @example
50829
+ * CUSTOMER
50830
+ */
50831
+ userType?: string;
50832
+ static names(): { [key: string]: string } {
50833
+ return {
50834
+ avatarUrl: 'AvatarUrl',
50835
+ userId: 'UserId',
50836
+ userName: 'UserName',
50837
+ userType: 'UserType',
50838
+ };
50839
+ }
50840
+
50841
+ static types(): { [key: string]: any } {
50842
+ return {
50843
+ avatarUrl: 'string',
50844
+ userId: 'string',
50845
+ userName: 'string',
50846
+ userType: 'string',
50847
+ };
50848
+ }
50849
+
50850
+ constructor(map?: { [key: string]: any }) {
50851
+ super(map);
50852
+ }
50853
+ }
50854
+
50855
+ export class ListWaitingChatsResponseBodyData extends $tea.Model {
50856
+ /**
50857
+ * @example
50858
+ * 843073c2-*****-49fb-a616-738ddddfebdc
50859
+ */
50860
+ accessChannelId?: string;
50861
+ /**
50862
+ * @example
50863
+ * Web
50864
+ */
50865
+ accessChannelType?: string;
50866
+ /**
50867
+ * @example
50868
+ * false
50869
+ */
50870
+ beingAssigned?: boolean;
50871
+ /**
50872
+ * @example
50873
+ * $23086709$EAUNIT
50874
+ */
50875
+ chatConversationId?: string;
50876
+ /**
50877
+ * @example
50878
+ * 1718868572094
50879
+ */
50880
+ enqueueTime?: number;
50881
+ /**
50882
+ * @example
50883
+ * chat-434537064047960064
50884
+ */
50885
+ jobId?: string;
50886
+ messages?: ListWaitingChatsResponseBodyDataMessages[];
50887
+ skillGroupId?: string;
50888
+ userList?: ListWaitingChatsResponseBodyDataUserList[];
50889
+ static names(): { [key: string]: string } {
50890
+ return {
50891
+ accessChannelId: 'AccessChannelId',
50892
+ accessChannelType: 'AccessChannelType',
50893
+ beingAssigned: 'BeingAssigned',
50894
+ chatConversationId: 'ChatConversationId',
50895
+ enqueueTime: 'EnqueueTime',
50896
+ jobId: 'JobId',
50897
+ messages: 'Messages',
50898
+ skillGroupId: 'SkillGroupId',
50899
+ userList: 'UserList',
50900
+ };
50901
+ }
50902
+
50903
+ static types(): { [key: string]: any } {
50904
+ return {
50905
+ accessChannelId: 'string',
50906
+ accessChannelType: 'string',
50907
+ beingAssigned: 'boolean',
50908
+ chatConversationId: 'string',
50909
+ enqueueTime: 'number',
50910
+ jobId: 'string',
50911
+ messages: { 'type': 'array', 'itemType': ListWaitingChatsResponseBodyDataMessages },
50912
+ skillGroupId: 'string',
50913
+ userList: { 'type': 'array', 'itemType': ListWaitingChatsResponseBodyDataUserList },
50914
+ };
50915
+ }
50916
+
50917
+ constructor(map?: { [key: string]: any }) {
50918
+ super(map);
50919
+ }
50920
+ }
50921
+
50044
50922
  export class MakeCallResponseBodyDataCallContextChannelContexts extends $tea.Model {
50045
50923
  /**
50046
50924
  * @example
@@ -57680,6 +58558,52 @@ export default class Client extends OpenApi {
57680
58558
  return await this.getCaseFileUploadUrlWithOptions(request, runtime);
57681
58559
  }
57682
58560
 
58561
+ /**
58562
+ * @param request - GetChatMediaUrlRequest
58563
+ * @param runtime - runtime options for this request RuntimeOptions
58564
+ * @returns GetChatMediaUrlResponse
58565
+ */
58566
+ async getChatMediaUrlWithOptions(request: GetChatMediaUrlRequest, runtime: $Util.RuntimeOptions): Promise<GetChatMediaUrlResponse> {
58567
+ Util.validateModel(request);
58568
+ let body : {[key: string ]: any} = { };
58569
+ if (!Util.isUnset(request.instanceId)) {
58570
+ body["InstanceId"] = request.instanceId;
58571
+ }
58572
+
58573
+ if (!Util.isUnset(request.mediaId)) {
58574
+ body["MediaId"] = request.mediaId;
58575
+ }
58576
+
58577
+ if (!Util.isUnset(request.requestId)) {
58578
+ body["RequestId"] = request.requestId;
58579
+ }
58580
+
58581
+ let req = new $OpenApi.OpenApiRequest({
58582
+ body: OpenApiUtil.parseToMap(body),
58583
+ });
58584
+ let params = new $OpenApi.Params({
58585
+ action: "GetChatMediaUrl",
58586
+ version: "2020-07-01",
58587
+ protocol: "HTTPS",
58588
+ pathname: "/",
58589
+ method: "POST",
58590
+ authType: "AK",
58591
+ style: "RPC",
58592
+ reqBodyType: "formData",
58593
+ bodyType: "json",
58594
+ });
58595
+ return $tea.cast<GetChatMediaUrlResponse>(await this.callApi(params, req, runtime), new GetChatMediaUrlResponse({}));
58596
+ }
58597
+
58598
+ /**
58599
+ * @param request - GetChatMediaUrlRequest
58600
+ * @returns GetChatMediaUrlResponse
58601
+ */
58602
+ async getChatMediaUrl(request: GetChatMediaUrlRequest): Promise<GetChatMediaUrlResponse> {
58603
+ let runtime = new $Util.RuntimeOptions({ });
58604
+ return await this.getChatMediaUrlWithOptions(request, runtime);
58605
+ }
58606
+
57683
58607
  /**
57684
58608
  * @param request - GetContactFlowRequest
57685
58609
  * @param runtime - runtime options for this request RuntimeOptions
@@ -60194,6 +61118,54 @@ export default class Client extends OpenApi {
60194
61118
  return await this.listCallDetailRecordsV2WithOptions(request, runtime);
60195
61119
  }
60196
61120
 
61121
+ /**
61122
+ * @param tmpReq - ListCallSummariesRequest
61123
+ * @param runtime - runtime options for this request RuntimeOptions
61124
+ * @returns ListCallSummariesResponse
61125
+ */
61126
+ async listCallSummariesWithOptions(tmpReq: ListCallSummariesRequest, runtime: $Util.RuntimeOptions): Promise<ListCallSummariesResponse> {
61127
+ Util.validateModel(tmpReq);
61128
+ let request = new ListCallSummariesShrinkRequest({ });
61129
+ OpenApiUtil.convert(tmpReq, request);
61130
+ if (!Util.isUnset(tmpReq.contactIdList)) {
61131
+ request.contactIdListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.contactIdList, "ContactIdList", "json");
61132
+ }
61133
+
61134
+ let query = { };
61135
+ if (!Util.isUnset(request.contactIdListShrink)) {
61136
+ query["ContactIdList"] = request.contactIdListShrink;
61137
+ }
61138
+
61139
+ if (!Util.isUnset(request.instanceId)) {
61140
+ query["InstanceId"] = request.instanceId;
61141
+ }
61142
+
61143
+ let req = new $OpenApi.OpenApiRequest({
61144
+ query: OpenApiUtil.query(query),
61145
+ });
61146
+ let params = new $OpenApi.Params({
61147
+ action: "ListCallSummaries",
61148
+ version: "2020-07-01",
61149
+ protocol: "HTTPS",
61150
+ pathname: "/",
61151
+ method: "POST",
61152
+ authType: "AK",
61153
+ style: "RPC",
61154
+ reqBodyType: "formData",
61155
+ bodyType: "json",
61156
+ });
61157
+ return $tea.cast<ListCallSummariesResponse>(await this.callApi(params, req, runtime), new ListCallSummariesResponse({}));
61158
+ }
61159
+
61160
+ /**
61161
+ * @param request - ListCallSummariesRequest
61162
+ * @returns ListCallSummariesResponse
61163
+ */
61164
+ async listCallSummaries(request: ListCallSummariesRequest): Promise<ListCallSummariesResponse> {
61165
+ let runtime = new $Util.RuntimeOptions({ });
61166
+ return await this.listCallSummariesWithOptions(request, runtime);
61167
+ }
61168
+
60197
61169
  /**
60198
61170
  * 列出号码标签
60199
61171
  *
@@ -60842,6 +61814,106 @@ export default class Client extends OpenApi {
60842
61814
  return await this.listDocumentsWithOptions(request, runtime);
60843
61815
  }
60844
61816
 
61817
+ /**
61818
+ * @param request - ListFlashSmsApplicationsRequest
61819
+ * @param runtime - runtime options for this request RuntimeOptions
61820
+ * @returns ListFlashSmsApplicationsResponse
61821
+ */
61822
+ async listFlashSmsApplicationsWithOptions(request: ListFlashSmsApplicationsRequest, runtime: $Util.RuntimeOptions): Promise<ListFlashSmsApplicationsResponse> {
61823
+ Util.validateModel(request);
61824
+ let query = { };
61825
+ if (!Util.isUnset(request.instanceId)) {
61826
+ query["InstanceId"] = request.instanceId;
61827
+ }
61828
+
61829
+ if (!Util.isUnset(request.name)) {
61830
+ query["Name"] = request.name;
61831
+ }
61832
+
61833
+ if (!Util.isUnset(request.pageNumber)) {
61834
+ query["PageNumber"] = request.pageNumber;
61835
+ }
61836
+
61837
+ if (!Util.isUnset(request.pageSize)) {
61838
+ query["PageSize"] = request.pageSize;
61839
+ }
61840
+
61841
+ if (!Util.isUnset(request.providerId)) {
61842
+ query["ProviderId"] = request.providerId;
61843
+ }
61844
+
61845
+ let req = new $OpenApi.OpenApiRequest({
61846
+ query: OpenApiUtil.query(query),
61847
+ });
61848
+ let params = new $OpenApi.Params({
61849
+ action: "ListFlashSmsApplications",
61850
+ version: "2020-07-01",
61851
+ protocol: "HTTPS",
61852
+ pathname: "/",
61853
+ method: "POST",
61854
+ authType: "AK",
61855
+ style: "RPC",
61856
+ reqBodyType: "formData",
61857
+ bodyType: "json",
61858
+ });
61859
+ return $tea.cast<ListFlashSmsApplicationsResponse>(await this.callApi(params, req, runtime), new ListFlashSmsApplicationsResponse({}));
61860
+ }
61861
+
61862
+ /**
61863
+ * @param request - ListFlashSmsApplicationsRequest
61864
+ * @returns ListFlashSmsApplicationsResponse
61865
+ */
61866
+ async listFlashSmsApplications(request: ListFlashSmsApplicationsRequest): Promise<ListFlashSmsApplicationsResponse> {
61867
+ let runtime = new $Util.RuntimeOptions({ });
61868
+ return await this.listFlashSmsApplicationsWithOptions(request, runtime);
61869
+ }
61870
+
61871
+ /**
61872
+ * @param request - ListFlashSmsTemplatesRequest
61873
+ * @param runtime - runtime options for this request RuntimeOptions
61874
+ * @returns ListFlashSmsTemplatesResponse
61875
+ */
61876
+ async listFlashSmsTemplatesWithOptions(request: ListFlashSmsTemplatesRequest, runtime: $Util.RuntimeOptions): Promise<ListFlashSmsTemplatesResponse> {
61877
+ Util.validateModel(request);
61878
+ let query = { };
61879
+ if (!Util.isUnset(request.applicationId)) {
61880
+ query["ApplicationId"] = request.applicationId;
61881
+ }
61882
+
61883
+ if (!Util.isUnset(request.instanceId)) {
61884
+ query["InstanceId"] = request.instanceId;
61885
+ }
61886
+
61887
+ if (!Util.isUnset(request.providerId)) {
61888
+ query["ProviderId"] = request.providerId;
61889
+ }
61890
+
61891
+ let req = new $OpenApi.OpenApiRequest({
61892
+ query: OpenApiUtil.query(query),
61893
+ });
61894
+ let params = new $OpenApi.Params({
61895
+ action: "ListFlashSmsTemplates",
61896
+ version: "2020-07-01",
61897
+ protocol: "HTTPS",
61898
+ pathname: "/",
61899
+ method: "POST",
61900
+ authType: "AK",
61901
+ style: "RPC",
61902
+ reqBodyType: "formData",
61903
+ bodyType: "json",
61904
+ });
61905
+ return $tea.cast<ListFlashSmsTemplatesResponse>(await this.callApi(params, req, runtime), new ListFlashSmsTemplatesResponse({}));
61906
+ }
61907
+
61908
+ /**
61909
+ * @param request - ListFlashSmsTemplatesRequest
61910
+ * @returns ListFlashSmsTemplatesResponse
61911
+ */
61912
+ async listFlashSmsTemplates(request: ListFlashSmsTemplatesRequest): Promise<ListFlashSmsTemplatesResponse> {
61913
+ let runtime = new $Util.RuntimeOptions({ });
61914
+ return await this.listFlashSmsTemplatesWithOptions(request, runtime);
61915
+ }
61916
+
60845
61917
  /**
60846
61918
  * ListGroupChatMessages
60847
61919
  *
@@ -62966,6 +64038,48 @@ export default class Client extends OpenApi {
62966
64038
  return await this.listVoicemailsWithOptions(request, runtime);
62967
64039
  }
62968
64040
 
64041
+ /**
64042
+ * @param request - ListWaitingChatsRequest
64043
+ * @param runtime - runtime options for this request RuntimeOptions
64044
+ * @returns ListWaitingChatsResponse
64045
+ */
64046
+ async listWaitingChatsWithOptions(request: ListWaitingChatsRequest, runtime: $Util.RuntimeOptions): Promise<ListWaitingChatsResponse> {
64047
+ Util.validateModel(request);
64048
+ let query = { };
64049
+ if (!Util.isUnset(request.instanceId)) {
64050
+ query["InstanceId"] = request.instanceId;
64051
+ }
64052
+
64053
+ if (!Util.isUnset(request.skillGroupIdList)) {
64054
+ query["SkillGroupIdList"] = request.skillGroupIdList;
64055
+ }
64056
+
64057
+ let req = new $OpenApi.OpenApiRequest({
64058
+ query: OpenApiUtil.query(query),
64059
+ });
64060
+ let params = new $OpenApi.Params({
64061
+ action: "ListWaitingChats",
64062
+ version: "2020-07-01",
64063
+ protocol: "HTTPS",
64064
+ pathname: "/",
64065
+ method: "POST",
64066
+ authType: "AK",
64067
+ style: "RPC",
64068
+ reqBodyType: "formData",
64069
+ bodyType: "json",
64070
+ });
64071
+ return $tea.cast<ListWaitingChatsResponse>(await this.callApi(params, req, runtime), new ListWaitingChatsResponse({}));
64072
+ }
64073
+
64074
+ /**
64075
+ * @param request - ListWaitingChatsRequest
64076
+ * @returns ListWaitingChatsResponse
64077
+ */
64078
+ async listWaitingChats(request: ListWaitingChatsRequest): Promise<ListWaitingChatsResponse> {
64079
+ let runtime = new $Util.RuntimeOptions({ });
64080
+ return await this.listWaitingChatsWithOptions(request, runtime);
64081
+ }
64082
+
62969
64083
  /**
62970
64084
  * @param request - MakeCallRequest
62971
64085
  * @param runtime - runtime options for this request RuntimeOptions