tencentcloud-sdk-nodejs 4.0.278 → 4.0.279
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/CHANGELOG.md +216 -0
- package/SERVICE_CHANGELOG.md +318 -110
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +1 -0
- package/src/services/ame/v20190916/ame_models.ts +29 -0
- package/src/services/apigateway/v20180808/apigateway_models.ts +19 -1
- package/src/services/cbs/v20170312/cbs_models.ts +1 -1
- package/src/services/ccc/v20200210/ccc_client.ts +31 -6
- package/src/services/ccc/v20200210/ccc_models.ts +270 -113
- package/src/services/cvm/v20170312/cvm_client.ts +1 -0
- package/src/services/cvm/v20170312/cvm_models.ts +29 -0
- package/src/services/gme/v20180711/gme_client.ts +2 -2
- package/src/services/ims/v20201229/ims_models.ts +1 -1
- package/src/services/ocr/v20181119/ocr_client.ts +13 -1
- package/src/services/ocr/v20181119/ocr_models.ts +49 -2
- package/src/services/ses/v20201002/ses_models.ts +4 -4
- package/src/services/soe/v20180724/soe_models.ts +4 -12
- package/src/services/tcm/v20210413/tcm_models.ts +7 -1
- package/src/services/tcss/v20201101/tcss_models.ts +32 -7
- package/src/services/tke/v20180525/tke_client.ts +21 -8
- package/src/services/tke/v20180525/tke_models.ts +104 -10
- package/src/services/tms/v20201229/tms_models.ts +1 -1
- package/src/services/tts/v20190823/tts_models.ts +1 -1
- package/src/services/vpc/v20170312/vpc_client.ts +2 -1
- package/src/services/vpc/v20170312/vpc_models.ts +83 -40
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +26 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +16 -1
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +9 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +12 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +233 -100
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +25 -0
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +2 -2
- package/tencentcloud/services/gme/v20180711/gme_client.js +2 -2
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +5 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +6 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +43 -2
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +4 -4
- package/tencentcloud/services/soe/v20180724/soe_models.d.ts +4 -12
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +6 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +27 -7
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +7 -3
- package/tencentcloud/services/tke/v20180525/tke_client.js +9 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +89 -10
- package/tencentcloud/services/tms/v20201229/tms_models.d.ts +1 -1
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +71 -35
- package/test/ccc.v20200210.test.js +20 -0
- package/test/ocr.v20181119.test.js +10 -0
- package/test/tke.v20180525.test.js +12 -2
|
@@ -96,53 +96,21 @@ export interface DescribeCallInMetricsResponse {
|
|
|
96
96
|
RequestId?: string;
|
|
97
97
|
}
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* 呼入技能组相关指标
|
|
100
100
|
*/
|
|
101
|
-
export interface
|
|
102
|
-
/**
|
|
103
|
-
* IVR驻留数量
|
|
104
|
-
*/
|
|
105
|
-
IvrCount: number;
|
|
106
|
-
/**
|
|
107
|
-
* 排队中数量
|
|
108
|
-
*/
|
|
109
|
-
QueueCount: number;
|
|
110
|
-
/**
|
|
111
|
-
* 振铃中数量
|
|
112
|
-
*/
|
|
113
|
-
RingCount: number;
|
|
114
|
-
/**
|
|
115
|
-
* 接通中数量
|
|
116
|
-
*/
|
|
117
|
-
AcceptCount: number;
|
|
118
|
-
/**
|
|
119
|
-
* 客服转接外线中数量
|
|
120
|
-
*/
|
|
121
|
-
TransferOuterCount: number;
|
|
122
|
-
/**
|
|
123
|
-
* 最大排队时长
|
|
124
|
-
*/
|
|
125
|
-
MaxQueueDuration: number;
|
|
126
|
-
/**
|
|
127
|
-
* 平均排队时长
|
|
128
|
-
*/
|
|
129
|
-
AvgQueueDuration: number;
|
|
130
|
-
/**
|
|
131
|
-
* 最大振铃时长
|
|
132
|
-
*/
|
|
133
|
-
MaxRingDuration: number;
|
|
101
|
+
export interface CallInSkillGroupMetrics {
|
|
134
102
|
/**
|
|
135
|
-
*
|
|
103
|
+
* 技能组ID
|
|
136
104
|
*/
|
|
137
|
-
|
|
105
|
+
SkillGroupId: number;
|
|
138
106
|
/**
|
|
139
|
-
*
|
|
107
|
+
* 数据指标
|
|
140
108
|
*/
|
|
141
|
-
|
|
109
|
+
Metrics: CallInMetrics;
|
|
142
110
|
/**
|
|
143
|
-
*
|
|
111
|
+
* 技能组名称
|
|
144
112
|
*/
|
|
145
|
-
|
|
113
|
+
Name: string;
|
|
146
114
|
}
|
|
147
115
|
/**
|
|
148
116
|
* DescribeStaffInfoList返回参数结构体
|
|
@@ -420,6 +388,39 @@ export interface UnbindStaffSkillGroupListRequest {
|
|
|
420
388
|
*/
|
|
421
389
|
SkillGroupList: Array<number>;
|
|
422
390
|
}
|
|
391
|
+
/**
|
|
392
|
+
* DescribeIMCdrs请求参数结构体
|
|
393
|
+
*/
|
|
394
|
+
export interface DescribeIMCdrsRequest {
|
|
395
|
+
/**
|
|
396
|
+
* 起始时间
|
|
397
|
+
*/
|
|
398
|
+
StartTimestamp: number;
|
|
399
|
+
/**
|
|
400
|
+
* 结束时间
|
|
401
|
+
*/
|
|
402
|
+
EndTimestamp: number;
|
|
403
|
+
/**
|
|
404
|
+
* 实例ID
|
|
405
|
+
*/
|
|
406
|
+
InstanceId?: number;
|
|
407
|
+
/**
|
|
408
|
+
* 应用ID
|
|
409
|
+
*/
|
|
410
|
+
SdkAppId?: number;
|
|
411
|
+
/**
|
|
412
|
+
* 返回记录条数 最大为100默认20
|
|
413
|
+
*/
|
|
414
|
+
Limit?: number;
|
|
415
|
+
/**
|
|
416
|
+
* 返回记录偏移 默认为0
|
|
417
|
+
*/
|
|
418
|
+
Offset?: number;
|
|
419
|
+
/**
|
|
420
|
+
* 1为全媒体,2为文本客服,不填则查询全部
|
|
421
|
+
*/
|
|
422
|
+
Type?: number;
|
|
423
|
+
}
|
|
423
424
|
/**
|
|
424
425
|
* DescribeStaffStatusMetrics请求参数结构体
|
|
425
426
|
*/
|
|
@@ -494,37 +495,53 @@ export interface DescribeTelSessionRequest {
|
|
|
494
495
|
SessionId: string;
|
|
495
496
|
}
|
|
496
497
|
/**
|
|
497
|
-
*
|
|
498
|
+
* 呼入实时指标
|
|
498
499
|
*/
|
|
499
|
-
export interface
|
|
500
|
+
export interface CallInMetrics {
|
|
500
501
|
/**
|
|
501
|
-
*
|
|
502
|
+
* IVR驻留数量
|
|
502
503
|
*/
|
|
503
|
-
|
|
504
|
+
IvrCount: number;
|
|
504
505
|
/**
|
|
505
|
-
*
|
|
506
|
+
* 排队中数量
|
|
506
507
|
*/
|
|
507
|
-
|
|
508
|
+
QueueCount: number;
|
|
508
509
|
/**
|
|
509
|
-
*
|
|
510
|
+
* 振铃中数量
|
|
510
511
|
*/
|
|
511
|
-
|
|
512
|
+
RingCount: number;
|
|
512
513
|
/**
|
|
513
|
-
*
|
|
514
|
+
* 接通中数量
|
|
514
515
|
*/
|
|
515
|
-
|
|
516
|
+
AcceptCount: number;
|
|
516
517
|
/**
|
|
517
|
-
*
|
|
518
|
+
* 客服转接外线中数量
|
|
518
519
|
*/
|
|
519
|
-
|
|
520
|
+
TransferOuterCount: number;
|
|
520
521
|
/**
|
|
521
|
-
*
|
|
522
|
+
* 最大排队时长
|
|
522
523
|
*/
|
|
523
|
-
|
|
524
|
+
MaxQueueDuration: number;
|
|
524
525
|
/**
|
|
525
|
-
*
|
|
526
|
+
* 平均排队时长
|
|
526
527
|
*/
|
|
527
|
-
|
|
528
|
+
AvgQueueDuration: number;
|
|
529
|
+
/**
|
|
530
|
+
* 最大振铃时长
|
|
531
|
+
*/
|
|
532
|
+
MaxRingDuration: number;
|
|
533
|
+
/**
|
|
534
|
+
* 平均振铃时长
|
|
535
|
+
*/
|
|
536
|
+
AvgRingDuration: number;
|
|
537
|
+
/**
|
|
538
|
+
* 最大接通时长
|
|
539
|
+
*/
|
|
540
|
+
MaxAcceptDuration: number;
|
|
541
|
+
/**
|
|
542
|
+
* 平均接通时长
|
|
543
|
+
*/
|
|
544
|
+
AvgAcceptDuration: number;
|
|
528
545
|
}
|
|
529
546
|
/**
|
|
530
547
|
* DescribeCCCBuyInfoList请求参数结构体
|
|
@@ -549,6 +566,23 @@ export interface DeleteStaffResponse {
|
|
|
549
566
|
*/
|
|
550
567
|
RequestId?: string;
|
|
551
568
|
}
|
|
569
|
+
/**
|
|
570
|
+
* 批量添加客服时,返回出错客服的像个信息
|
|
571
|
+
*/
|
|
572
|
+
export interface ErrStaffItem {
|
|
573
|
+
/**
|
|
574
|
+
* 坐席邮箱地址
|
|
575
|
+
*/
|
|
576
|
+
StaffEmail: string;
|
|
577
|
+
/**
|
|
578
|
+
* 错误码
|
|
579
|
+
*/
|
|
580
|
+
Code: string;
|
|
581
|
+
/**
|
|
582
|
+
* 错误描述
|
|
583
|
+
*/
|
|
584
|
+
Message: string;
|
|
585
|
+
}
|
|
552
586
|
/**
|
|
553
587
|
* 坐席状态补充信息
|
|
554
588
|
*/
|
|
@@ -677,7 +711,20 @@ export interface DescribePSTNActiveSessionListResponse {
|
|
|
677
711
|
RequestId?: string;
|
|
678
712
|
}
|
|
679
713
|
/**
|
|
680
|
-
*
|
|
714
|
+
* CreateCallOutSession返回参数结构体
|
|
715
|
+
*/
|
|
716
|
+
export interface CreateCallOutSessionResponse {
|
|
717
|
+
/**
|
|
718
|
+
* 新创建的会话 ID
|
|
719
|
+
*/
|
|
720
|
+
SessionId: string;
|
|
721
|
+
/**
|
|
722
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
723
|
+
*/
|
|
724
|
+
RequestId?: string;
|
|
725
|
+
}
|
|
726
|
+
/**
|
|
727
|
+
* 文本会话服务记录信息
|
|
681
728
|
*/
|
|
682
729
|
export interface IMCdrInfo {
|
|
683
730
|
/**
|
|
@@ -690,6 +737,14 @@ export interface IMCdrInfo {
|
|
|
690
737
|
Duration: number;
|
|
691
738
|
/**
|
|
692
739
|
* 结束状态
|
|
740
|
+
0 异常结束
|
|
741
|
+
1 正常结束
|
|
742
|
+
3 无坐席在线
|
|
743
|
+
17 坐席放弃接听
|
|
744
|
+
100 黑名单
|
|
745
|
+
101 坐席手动转接
|
|
746
|
+
102 IVR阶段放弃
|
|
747
|
+
108 用户超时自动结束
|
|
693
748
|
*/
|
|
694
749
|
EndStatus: number;
|
|
695
750
|
/**
|
|
@@ -708,6 +763,21 @@ export interface IMCdrInfo {
|
|
|
708
763
|
* 服务时间戳
|
|
709
764
|
*/
|
|
710
765
|
Timestamp: number;
|
|
766
|
+
/**
|
|
767
|
+
* 会话ID
|
|
768
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
769
|
+
*/
|
|
770
|
+
SessionId: string;
|
|
771
|
+
/**
|
|
772
|
+
* 技能组ID
|
|
773
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
774
|
+
*/
|
|
775
|
+
SkillGroupId: string;
|
|
776
|
+
/**
|
|
777
|
+
* 技能组名称
|
|
778
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
779
|
+
*/
|
|
780
|
+
SkillGroupName: string;
|
|
711
781
|
}
|
|
712
782
|
/**
|
|
713
783
|
* 坐席购买信息
|
|
@@ -727,21 +797,21 @@ export interface StaffBuyInfo {
|
|
|
727
797
|
EndTime: number;
|
|
728
798
|
}
|
|
729
799
|
/**
|
|
730
|
-
*
|
|
800
|
+
* DescribeAutoCalloutTasks请求参数结构体
|
|
731
801
|
*/
|
|
732
|
-
export interface
|
|
802
|
+
export interface DescribeAutoCalloutTasksRequest {
|
|
733
803
|
/**
|
|
734
|
-
*
|
|
804
|
+
* 呼叫中心实例Id
|
|
735
805
|
*/
|
|
736
|
-
|
|
806
|
+
SdkAppId: number;
|
|
737
807
|
/**
|
|
738
|
-
*
|
|
808
|
+
* 分页大小
|
|
739
809
|
*/
|
|
740
|
-
|
|
810
|
+
PageSize: number;
|
|
741
811
|
/**
|
|
742
|
-
*
|
|
812
|
+
* 页数
|
|
743
813
|
*/
|
|
744
|
-
|
|
814
|
+
PageNumber: number;
|
|
745
815
|
}
|
|
746
816
|
/**
|
|
747
817
|
* DescribeChatMessages请求参数结构体
|
|
@@ -884,41 +954,38 @@ export interface DescribeStaffInfoListRequest {
|
|
|
884
954
|
ModifiedTime?: number;
|
|
885
955
|
}
|
|
886
956
|
/**
|
|
887
|
-
*
|
|
957
|
+
* 自动外呼任务列表项
|
|
888
958
|
*/
|
|
889
|
-
export interface
|
|
959
|
+
export interface AutoCalloutTaskInfo {
|
|
890
960
|
/**
|
|
891
|
-
*
|
|
961
|
+
* 任务名
|
|
892
962
|
*/
|
|
893
|
-
|
|
963
|
+
Name: string;
|
|
894
964
|
/**
|
|
895
|
-
*
|
|
965
|
+
* 被叫数量
|
|
896
966
|
*/
|
|
897
|
-
|
|
967
|
+
CalleeCount: number;
|
|
898
968
|
/**
|
|
899
|
-
*
|
|
969
|
+
* 主叫号码列表
|
|
900
970
|
*/
|
|
901
|
-
|
|
971
|
+
Callers: Array<string>;
|
|
902
972
|
/**
|
|
903
|
-
*
|
|
904
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
973
|
+
* 起始时间戳
|
|
905
974
|
*/
|
|
906
|
-
|
|
975
|
+
NotBefore: number;
|
|
907
976
|
/**
|
|
908
|
-
*
|
|
977
|
+
* 结束时间戳
|
|
909
978
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
910
979
|
*/
|
|
911
|
-
|
|
980
|
+
NotAfter: number;
|
|
912
981
|
/**
|
|
913
|
-
*
|
|
914
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
982
|
+
* 任务使用的IvrId
|
|
915
983
|
*/
|
|
916
|
-
|
|
984
|
+
IvrId: number;
|
|
917
985
|
/**
|
|
918
|
-
*
|
|
919
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
986
|
+
* 任务状态0初始 1运行中 2已完成 3结束中 4已结束
|
|
920
987
|
*/
|
|
921
|
-
|
|
988
|
+
State: number;
|
|
922
989
|
}
|
|
923
990
|
/**
|
|
924
991
|
* 带有技能组优先级的坐席信息
|
|
@@ -1132,21 +1199,62 @@ export interface DescribeStaffStatusMetricsResponse {
|
|
|
1132
1199
|
RequestId?: string;
|
|
1133
1200
|
}
|
|
1134
1201
|
/**
|
|
1135
|
-
*
|
|
1202
|
+
* DescribeTelCallInfo返回参数结构体
|
|
1136
1203
|
*/
|
|
1137
|
-
export interface
|
|
1204
|
+
export interface DescribeTelCallInfoResponse {
|
|
1205
|
+
/**
|
|
1206
|
+
* 电话呼出统计分钟数
|
|
1207
|
+
*/
|
|
1208
|
+
TelCallOutCount?: number;
|
|
1209
|
+
/**
|
|
1210
|
+
* 电话呼入统计分钟数
|
|
1211
|
+
*/
|
|
1212
|
+
TelCallInCount?: number;
|
|
1213
|
+
/**
|
|
1214
|
+
* 坐席使用统计个数
|
|
1215
|
+
*/
|
|
1216
|
+
SeatUsedCount?: number;
|
|
1217
|
+
/**
|
|
1218
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1219
|
+
*/
|
|
1220
|
+
RequestId?: string;
|
|
1221
|
+
}
|
|
1222
|
+
/**
|
|
1223
|
+
* 技能组信息
|
|
1224
|
+
*/
|
|
1225
|
+
export interface SkillGroupInfoItem {
|
|
1138
1226
|
/**
|
|
1139
1227
|
* 技能组ID
|
|
1140
1228
|
*/
|
|
1141
1229
|
SkillGroupId: number;
|
|
1142
1230
|
/**
|
|
1143
|
-
*
|
|
1231
|
+
* 技能组名称
|
|
1144
1232
|
*/
|
|
1145
|
-
|
|
1233
|
+
SkillGroupName: string;
|
|
1146
1234
|
/**
|
|
1147
|
-
*
|
|
1235
|
+
* 类型:IM、TEL、ALL(全媒体)
|
|
1148
1236
|
*/
|
|
1149
|
-
|
|
1237
|
+
Type: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* 会话分配策略
|
|
1240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1241
|
+
*/
|
|
1242
|
+
RoutePolicy: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* 会话分配是否优先上次服务坐席
|
|
1245
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1246
|
+
*/
|
|
1247
|
+
UsingLastSeat: number;
|
|
1248
|
+
/**
|
|
1249
|
+
* 单客服最大并发数(电话类型默认1)
|
|
1250
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1251
|
+
*/
|
|
1252
|
+
MaxConcurrency: number;
|
|
1253
|
+
/**
|
|
1254
|
+
* 最后修改时间
|
|
1255
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1256
|
+
*/
|
|
1257
|
+
LastModifyTimestamp: number;
|
|
1150
1258
|
}
|
|
1151
1259
|
/**
|
|
1152
1260
|
* DescribeSeatUserList返回参数结构体
|
|
@@ -1183,25 +1291,33 @@ export interface DescribeSeatUserListRequest {
|
|
|
1183
1291
|
Limit: number;
|
|
1184
1292
|
}
|
|
1185
1293
|
/**
|
|
1186
|
-
*
|
|
1294
|
+
* CreateCallOutSession请求参数结构体
|
|
1187
1295
|
*/
|
|
1188
|
-
export interface
|
|
1296
|
+
export interface CreateCallOutSessionRequest {
|
|
1189
1297
|
/**
|
|
1190
|
-
*
|
|
1298
|
+
* 应用 ID
|
|
1191
1299
|
*/
|
|
1192
|
-
|
|
1300
|
+
SdkAppId: number;
|
|
1193
1301
|
/**
|
|
1194
|
-
*
|
|
1302
|
+
* 客服用户 ID,一般为客服邮箱
|
|
1195
1303
|
*/
|
|
1196
|
-
|
|
1304
|
+
UserId: string;
|
|
1197
1305
|
/**
|
|
1198
|
-
*
|
|
1306
|
+
* 被叫号码,须带 0086 前缀
|
|
1199
1307
|
*/
|
|
1200
|
-
|
|
1308
|
+
Callee: string;
|
|
1201
1309
|
/**
|
|
1202
|
-
*
|
|
1310
|
+
* 主叫号码,须带 0086 前缀
|
|
1203
1311
|
*/
|
|
1204
|
-
|
|
1312
|
+
Caller?: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* 是否强制使用手机外呼,当前只支持 true,若为 true 请确保已配置白名单
|
|
1315
|
+
*/
|
|
1316
|
+
IsForceUseMobile?: boolean;
|
|
1317
|
+
/**
|
|
1318
|
+
* 自定义数据,长度限制 1024 字节
|
|
1319
|
+
*/
|
|
1320
|
+
Uui?: string;
|
|
1205
1321
|
}
|
|
1206
1322
|
/**
|
|
1207
1323
|
* 坐席状态相关信息
|
|
@@ -1265,6 +1381,23 @@ export interface BindStaffSkillGroupListResponse {
|
|
|
1265
1381
|
*/
|
|
1266
1382
|
RequestId?: string;
|
|
1267
1383
|
}
|
|
1384
|
+
/**
|
|
1385
|
+
* DescribeAutoCalloutTasks返回参数结构体
|
|
1386
|
+
*/
|
|
1387
|
+
export interface DescribeAutoCalloutTasksResponse {
|
|
1388
|
+
/**
|
|
1389
|
+
* 总数
|
|
1390
|
+
*/
|
|
1391
|
+
TotalCount: number;
|
|
1392
|
+
/**
|
|
1393
|
+
* 任务列表
|
|
1394
|
+
*/
|
|
1395
|
+
Tasks: Array<AutoCalloutTaskInfo>;
|
|
1396
|
+
/**
|
|
1397
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1398
|
+
*/
|
|
1399
|
+
RequestId?: string;
|
|
1400
|
+
}
|
|
1268
1401
|
/**
|
|
1269
1402
|
* 套餐包购买信息
|
|
1270
1403
|
*/
|
|
@@ -2236,6 +2236,11 @@ export interface Instance {
|
|
|
2236
2236
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2237
2237
|
*/
|
|
2238
2238
|
IsolatedSource: string;
|
|
2239
|
+
/**
|
|
2240
|
+
* GPU信息。如果是gpu类型子机,该值会返回GPU信息,如果是其他类型子机则不返回。
|
|
2241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2242
|
+
*/
|
|
2243
|
+
GPUInfo?: GPUInfo;
|
|
2239
2244
|
}
|
|
2240
2245
|
/**
|
|
2241
2246
|
* CreateLaunchTemplateVersion请求参数结构体
|
|
@@ -4016,6 +4021,26 @@ export interface InquiryPriceRenewInstancesRequest {
|
|
|
4016
4021
|
*/
|
|
4017
4022
|
RenewPortableDataDisk?: boolean;
|
|
4018
4023
|
}
|
|
4024
|
+
/**
|
|
4025
|
+
* 实例GPU信息
|
|
4026
|
+
*/
|
|
4027
|
+
export interface GPUInfo {
|
|
4028
|
+
/**
|
|
4029
|
+
* 实例GPU个数。值小于1代表VGPU类型,大于1代表GPU直通类型。
|
|
4030
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4031
|
+
*/
|
|
4032
|
+
GPUCount: number;
|
|
4033
|
+
/**
|
|
4034
|
+
* 实例GPU地址。
|
|
4035
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4036
|
+
*/
|
|
4037
|
+
GPUId: Array<string>;
|
|
4038
|
+
/**
|
|
4039
|
+
* 实例GPU类型。
|
|
4040
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4041
|
+
*/
|
|
4042
|
+
GPUType: string;
|
|
4043
|
+
}
|
|
4019
4044
|
/**
|
|
4020
4045
|
* 描述退款详情。
|
|
4021
4046
|
*/
|
|
@@ -21,9 +21,9 @@ export declare class Client extends AbstractClient {
|
|
|
21
21
|
*/
|
|
22
22
|
DescribeScanResultList(req: DescribeScanResultListRequest, cb?: (error: string, rep: DescribeScanResultListResponse) => void): Promise<DescribeScanResultListResponse>;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* 本接口用于识别涉黄等违规音频,成功会回调配置在应用的回调地址。回调示例如下:
|
|
25
25
|
{"BizId":0,"FileId":"test_file_id","FileName":"test_file_name","FileUrl":"test_file_url","OpenId":"test_open_id","TimeStamp":"0000-00-00 00:00:00","Data":[{"Type":1,"Word":"xx"}]}
|
|
26
|
-
Type表示过滤类型,1
|
|
26
|
+
Type表示过滤类型,1:色情,2:谩骂
|
|
27
27
|
*/
|
|
28
28
|
VoiceFilter(req: VoiceFilterRequest, cb?: (error: string, rep: VoiceFilterResponse) => void): Promise<VoiceFilterResponse>;
|
|
29
29
|
/**
|
|
@@ -47,9 +47,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
47
47
|
return this.request("DescribeScanResultList", req, cb);
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* 本接口用于识别涉黄等违规音频,成功会回调配置在应用的回调地址。回调示例如下:
|
|
51
51
|
{"BizId":0,"FileId":"test_file_id","FileName":"test_file_name","FileUrl":"test_file_url","OpenId":"test_open_id","TimeStamp":"0000-00-00 00:00:00","Data":[{"Type":1,"Word":"xx"}]}
|
|
52
|
-
Type表示过滤类型,1
|
|
52
|
+
Type表示过滤类型,1:色情,2:谩骂
|
|
53
53
|
*/
|
|
54
54
|
async VoiceFilter(req, cb) {
|
|
55
55
|
return this.request("VoiceFilter", req, cb);
|
|
@@ -310,7 +310,7 @@ export interface Device {
|
|
|
310
310
|
*/
|
|
311
311
|
IMEI?: string;
|
|
312
312
|
/**
|
|
313
|
-
* **iOS设备专用**,该字段表示业务用户对应的**IDFA**(广告标识符)
|
|
313
|
+
* **iOS设备专用**,该字段表示业务用户对应的**IDFA**(广告标识符),这是由苹果公司提供的用于标识用户的广告标识符,由一串16进制的32位数字和字母组成。<br>
|
|
314
314
|
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。
|
|
315
315
|
*/
|
|
316
316
|
IDFA?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, WaybillOCRResponse, MLIDCardOCRRequest, VehicleLicenseOCRRequest, EnterpriseLicenseOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, BankCardOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, PassportOCRResponse, VerifyBasicBizLicenseResponse, VehicleRegCertOCRRequest, WaybillOCRRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, VerifyEnterpriseFourFactorsRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, SealOCRResponse, FinanBillOCRResponse,
|
|
3
|
+
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, WaybillOCRResponse, MLIDCardOCRRequest, VehicleLicenseOCRRequest, EnterpriseLicenseOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, BankCardOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, PassportOCRResponse, VerifyBasicBizLicenseResponse, VehicleRegCertOCRRequest, WaybillOCRRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, VerifyEnterpriseFourFactorsRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RideHailingDriverLicenseOCRRequest, QueryBarCodeRequest, OrgCodeCertOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, HmtResidentPermitOCRResponse, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, VinOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, VerifyBasicBizLicenseRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, FinanBillOCRRequest, VerifyEnterpriseFourFactorsResponse, GeneralFastOCRResponse } from "./ocr_models";
|
|
4
4
|
/**
|
|
5
5
|
* ocr client
|
|
6
6
|
* @class
|
|
@@ -541,6 +541,10 @@ export declare class Client extends AbstractClient {
|
|
|
541
541
|
* 本接口支持多张、多类型票据的混合识别,系统自动实现分割、分类和识别,同时支持自选需要识别的票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共11种票据。
|
|
542
542
|
*/
|
|
543
543
|
MixedInvoiceOCR(req: MixedInvoiceOCRRequest, cb?: (error: string, rep: MixedInvoiceOCRResponse) => void): Promise<MixedInvoiceOCRResponse>;
|
|
544
|
+
/**
|
|
545
|
+
* 本接口支持粤康码识别,包括姓名、更新时间、健康码颜色,三个字段的识别结果输出。
|
|
546
|
+
*/
|
|
547
|
+
RecognizeHealthCodeOCR(req: RecognizeHealthCodeOCRRequest, cb?: (error: string, rep: RecognizeHealthCodeOCRResponse) => void): Promise<RecognizeHealthCodeOCRResponse>;
|
|
544
548
|
/**
|
|
545
549
|
* 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
|
|
546
550
|
*/
|
|
@@ -691,6 +691,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
691
691
|
async MixedInvoiceOCR(req, cb) {
|
|
692
692
|
return this.request("MixedInvoiceOCR", req, cb);
|
|
693
693
|
}
|
|
694
|
+
/**
|
|
695
|
+
* 本接口支持粤康码识别,包括姓名、更新时间、健康码颜色,三个字段的识别结果输出。
|
|
696
|
+
*/
|
|
697
|
+
async RecognizeHealthCodeOCR(req, cb) {
|
|
698
|
+
return this.request("RecognizeHealthCodeOCR", req, cb);
|
|
699
|
+
}
|
|
694
700
|
/**
|
|
695
701
|
* 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
|
|
696
702
|
*/
|
|
@@ -3767,9 +3767,9 @@ export interface FinanBillOCRResponse {
|
|
|
3767
3767
|
RequestId?: string;
|
|
3768
3768
|
}
|
|
3769
3769
|
/**
|
|
3770
|
-
*
|
|
3770
|
+
* RecognizeHealthCodeOCR请求参数结构体
|
|
3771
3771
|
*/
|
|
3772
|
-
export interface
|
|
3772
|
+
export interface RecognizeHealthCodeOCRRequest {
|
|
3773
3773
|
/**
|
|
3774
3774
|
* 图片的 Base64 值。
|
|
3775
3775
|
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
@@ -3938,6 +3938,27 @@ export interface DutyPaidProofOCRRequest {
|
|
|
3938
3938
|
*/
|
|
3939
3939
|
ImageUrl?: string;
|
|
3940
3940
|
}
|
|
3941
|
+
/**
|
|
3942
|
+
* RecognizeHealthCodeOCR返回参数结构体
|
|
3943
|
+
*/
|
|
3944
|
+
export interface RecognizeHealthCodeOCRResponse {
|
|
3945
|
+
/**
|
|
3946
|
+
* 持码人姓名
|
|
3947
|
+
*/
|
|
3948
|
+
Name: string;
|
|
3949
|
+
/**
|
|
3950
|
+
* 健康码更新时间,格式为:XXXX-XX-XX XX:XX:XX
|
|
3951
|
+
*/
|
|
3952
|
+
Time: string;
|
|
3953
|
+
/**
|
|
3954
|
+
* 健康码颜色:绿色、黄色、红色
|
|
3955
|
+
*/
|
|
3956
|
+
Color: string;
|
|
3957
|
+
/**
|
|
3958
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3959
|
+
*/
|
|
3960
|
+
RequestId?: string;
|
|
3961
|
+
}
|
|
3941
3962
|
/**
|
|
3942
3963
|
* RideHailingDriverLicenseOCR请求参数结构体
|
|
3943
3964
|
*/
|
|
@@ -4341,6 +4362,26 @@ export interface GeneralEfficientOCRResponse {
|
|
|
4341
4362
|
*/
|
|
4342
4363
|
RequestId?: string;
|
|
4343
4364
|
}
|
|
4365
|
+
/**
|
|
4366
|
+
* ShipInvoiceOCR请求参数结构体
|
|
4367
|
+
*/
|
|
4368
|
+
export interface ShipInvoiceOCRRequest {
|
|
4369
|
+
/**
|
|
4370
|
+
* 图片的 Base64 值。
|
|
4371
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
4372
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
4373
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
4374
|
+
*/
|
|
4375
|
+
ImageBase64?: string;
|
|
4376
|
+
/**
|
|
4377
|
+
* 图片的 Url 地址。
|
|
4378
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
4379
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
4380
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
4381
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
4382
|
+
*/
|
|
4383
|
+
ImageUrl?: string;
|
|
4384
|
+
}
|
|
4344
4385
|
/**
|
|
4345
4386
|
* SealOCR请求参数结构体
|
|
4346
4387
|
*/
|