tencentcloud-sdk-nodejs 4.1.48 → 4.1.49
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/es/common/sdk_version.js +1 -1
- package/es/services/cynosdb/v20190107/cynosdb_client.js +22 -4
- package/es/services/ses/v20201002/ses_client.js +12 -3
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +5 -3
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +0 -2
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +12 -10
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +29 -5
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +42 -6
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +444 -175
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +6 -2
- package/tencentcloud/services/emr/v20190103/emr_client.js +6 -2
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -0
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +5 -0
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +5 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +26 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +25 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +193 -90
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +17 -5
- package/tencentcloud/services/ses/v20201002/ses_client.js +24 -6
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +858 -788
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +3 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -1
|
@@ -112,7 +112,9 @@ export declare class Client extends AbstractClient {
|
|
|
112
112
|
*/
|
|
113
113
|
DescribeInstances(req: DescribeInstancesRequest, cb?: (error: string, rep: DescribeInstancesResponse) => void): Promise<DescribeInstancesResponse>;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* 该接口已废弃,请使用DeployYarnConf完成部署生效
|
|
116
|
+
|
|
117
|
+
部署生效。已废弃,请使用`DeployYarnConf`接口进行部署生效
|
|
116
118
|
*/
|
|
117
119
|
ModifyYarnDeploy(req: ModifyYarnDeployRequest, cb?: (error: string, rep: ModifyYarnDeployResponse) => void): Promise<ModifyYarnDeployResponse>;
|
|
118
120
|
/**
|
|
@@ -249,7 +251,9 @@ export declare class Client extends AbstractClient {
|
|
|
249
251
|
*/
|
|
250
252
|
DescribeYarnScheduleHistory(req: DescribeYarnScheduleHistoryRequest, cb?: (error: string, rep: DescribeYarnScheduleHistoryResponse) => void): Promise<DescribeYarnScheduleHistoryResponse>;
|
|
251
253
|
/**
|
|
252
|
-
*
|
|
254
|
+
* 已废弃,请使用ModifyYarnQueueV2来修改队列配置,近一年无相关日志
|
|
255
|
+
|
|
256
|
+
修改YARN资源调度的资源配置。已废弃,请使用`ModifyYarnQueueV2`来修改队列配置
|
|
253
257
|
*/
|
|
254
258
|
ModifyResourceScheduleConfig(req: ModifyResourceScheduleConfigRequest, cb?: (error: string, rep: ModifyResourceScheduleConfigResponse) => void): Promise<ModifyResourceScheduleConfigResponse>;
|
|
255
259
|
/**
|
|
@@ -184,7 +184,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
184
184
|
return this.request("DescribeInstances", req, cb);
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
|
-
*
|
|
187
|
+
* 该接口已废弃,请使用DeployYarnConf完成部署生效
|
|
188
|
+
|
|
189
|
+
部署生效。已废弃,请使用`DeployYarnConf`接口进行部署生效
|
|
188
190
|
*/
|
|
189
191
|
async ModifyYarnDeploy(req, cb) {
|
|
190
192
|
return this.request("ModifyYarnDeploy", req, cb);
|
|
@@ -387,7 +389,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
387
389
|
return this.request("DescribeYarnScheduleHistory", req, cb);
|
|
388
390
|
}
|
|
389
391
|
/**
|
|
390
|
-
*
|
|
392
|
+
* 已废弃,请使用ModifyYarnQueueV2来修改队列配置,近一年无相关日志
|
|
393
|
+
|
|
394
|
+
修改YARN资源调度的资源配置。已废弃,请使用`ModifyYarnQueueV2`来修改队列配置
|
|
391
395
|
*/
|
|
392
396
|
async ModifyResourceScheduleConfig(req, cb) {
|
|
393
397
|
return this.request("ModifyResourceScheduleConfig", req, cb);
|
|
@@ -137,6 +137,9 @@ export declare class Client extends AbstractClient {
|
|
|
137
137
|
- DeepSeek-R1(model 参数值为**deepseek-r1**)
|
|
138
138
|
- DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。
|
|
139
139
|
- 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。
|
|
140
|
+
- DeepSeek-R1-0528(model 参数值为**deepseek-r1-0528**)
|
|
141
|
+
- DeepSeek-R1-0528为671B 模型,架构优化与训练策略升级后,相比上一版本在代码生成、长文本处理和复杂推理领域提升明显。
|
|
142
|
+
- 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。
|
|
140
143
|
- DeepSeek-Prover-V2(model 参数值为**deepseek-prover-v2**)
|
|
141
144
|
- DeepSeek-Prover-V2 为671B 参数 MoE 模型,在数学定理证明和复杂计算任务中表现出色。
|
|
142
145
|
- 支持64K上下文长度,最大输出16k。
|
|
@@ -148,6 +151,8 @@ export declare class Client extends AbstractClient {
|
|
|
148
151
|
|
|
149
152
|
- DeepSeek-R1 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token
|
|
150
153
|
|
|
154
|
+
- DeepSeek-R1-0528 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token
|
|
155
|
+
|
|
151
156
|
- DeepSeek-V3 模型 | 输入:0.002元/千token | 输出:0.008元/千token
|
|
152
157
|
|
|
153
158
|
- DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token
|
|
@@ -209,6 +209,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
209
209
|
- DeepSeek-R1(model 参数值为**deepseek-r1**)
|
|
210
210
|
- DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。
|
|
211
211
|
- 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。
|
|
212
|
+
- DeepSeek-R1-0528(model 参数值为**deepseek-r1-0528**)
|
|
213
|
+
- DeepSeek-R1-0528为671B 模型,架构优化与训练策略升级后,相比上一版本在代码生成、长文本处理和复杂推理领域提升明显。
|
|
214
|
+
- 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。
|
|
212
215
|
- DeepSeek-Prover-V2(model 参数值为**deepseek-prover-v2**)
|
|
213
216
|
- DeepSeek-Prover-V2 为671B 参数 MoE 模型,在数学定理证明和复杂计算任务中表现出色。
|
|
214
217
|
- 支持64K上下文长度,最大输出16k。
|
|
@@ -220,6 +223,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
220
223
|
|
|
221
224
|
- DeepSeek-R1 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token
|
|
222
225
|
|
|
226
|
+
- DeepSeek-R1-0528 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token
|
|
227
|
+
|
|
223
228
|
- DeepSeek-V3 模型 | 输入:0.002元/千token | 输出:0.008元/千token
|
|
224
229
|
|
|
225
230
|
- DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest,
|
|
3
|
+
import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, RecognizeGeneralTextImageWarnResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, SmartStructuralProResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RecognizeStoreNameResponse, GetOCRTokenRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, TableOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
4
4
|
/**
|
|
5
5
|
* ocr client
|
|
6
6
|
* @class
|
|
@@ -941,6 +941,31 @@ export declare class Client extends AbstractClient {
|
|
|
941
941
|
<td> 银行回单 </td>
|
|
942
942
|
<td> 20 </td>
|
|
943
943
|
</tr>
|
|
944
|
+
<tr>
|
|
945
|
+
<td> OnlineTaxiItinerary </td>
|
|
946
|
+
<td> 网约车行程单 </td>
|
|
947
|
+
<td> 21 </td>
|
|
948
|
+
</tr>
|
|
949
|
+
<tr>
|
|
950
|
+
<td> CustomsDeclaration </td>
|
|
951
|
+
<td> 海关进/出口货物报关单 </td>
|
|
952
|
+
<td> 22 </td>
|
|
953
|
+
</tr>
|
|
954
|
+
<tr>
|
|
955
|
+
<td> OverseasInvoice </td>
|
|
956
|
+
<td> 海外发票 </td>
|
|
957
|
+
<td> 23 </td>
|
|
958
|
+
</tr>
|
|
959
|
+
<tr>
|
|
960
|
+
<td> ShoppingReceipt </td>
|
|
961
|
+
<td> 购物小票 </td>
|
|
962
|
+
<td> 24 </td>
|
|
963
|
+
</tr>
|
|
964
|
+
<tr>
|
|
965
|
+
<td> SaleInventory </td>
|
|
966
|
+
<td> 销货清单 </td>
|
|
967
|
+
<td> 25 </td>
|
|
968
|
+
</tr>
|
|
944
969
|
<tr>
|
|
945
970
|
<td> OtherInvoice </td>
|
|
946
971
|
<td> 其他发票 </td>
|
|
@@ -1127,6 +1127,31 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1127
1127
|
<td> 银行回单 </td>
|
|
1128
1128
|
<td> 20 </td>
|
|
1129
1129
|
</tr>
|
|
1130
|
+
<tr>
|
|
1131
|
+
<td> OnlineTaxiItinerary </td>
|
|
1132
|
+
<td> 网约车行程单 </td>
|
|
1133
|
+
<td> 21 </td>
|
|
1134
|
+
</tr>
|
|
1135
|
+
<tr>
|
|
1136
|
+
<td> CustomsDeclaration </td>
|
|
1137
|
+
<td> 海关进/出口货物报关单 </td>
|
|
1138
|
+
<td> 22 </td>
|
|
1139
|
+
</tr>
|
|
1140
|
+
<tr>
|
|
1141
|
+
<td> OverseasInvoice </td>
|
|
1142
|
+
<td> 海外发票 </td>
|
|
1143
|
+
<td> 23 </td>
|
|
1144
|
+
</tr>
|
|
1145
|
+
<tr>
|
|
1146
|
+
<td> ShoppingReceipt </td>
|
|
1147
|
+
<td> 购物小票 </td>
|
|
1148
|
+
<td> 24 </td>
|
|
1149
|
+
</tr>
|
|
1150
|
+
<tr>
|
|
1151
|
+
<td> SaleInventory </td>
|
|
1152
|
+
<td> 销货清单 </td>
|
|
1153
|
+
<td> 25 </td>
|
|
1154
|
+
</tr>
|
|
1130
1155
|
<tr>
|
|
1131
1156
|
<td> OtherInvoice </td>
|
|
1132
1157
|
<td> 其他发票 </td>
|
|
@@ -159,6 +159,10 @@ export interface InvoiceItem {
|
|
|
159
159
|
* 该发票中所有字段坐标信息。包括字段英文名称、字段值所在位置四点坐标、字段所属行号,具体内容请点击左侧链接。
|
|
160
160
|
*/
|
|
161
161
|
ItemPolygon?: Array<ItemPolygonInfo>;
|
|
162
|
+
/**
|
|
163
|
+
* 二维码数据。
|
|
164
|
+
*/
|
|
165
|
+
QRCode?: string;
|
|
162
166
|
}
|
|
163
167
|
/**
|
|
164
168
|
* HKIDCardOCR请求参数结构体
|
|
@@ -641,33 +645,17 @@ export interface MLIDPassportOCRRequest {
|
|
|
641
645
|
ImageUrl?: string;
|
|
642
646
|
}
|
|
643
647
|
/**
|
|
644
|
-
*
|
|
648
|
+
* 海外发票
|
|
645
649
|
*/
|
|
646
|
-
export interface
|
|
647
|
-
/**
|
|
648
|
-
* 复印告警信息
|
|
649
|
-
*/
|
|
650
|
-
Copy?: GeneralWarnInfo;
|
|
651
|
-
/**
|
|
652
|
-
* 翻拍告警信息
|
|
653
|
-
*/
|
|
654
|
-
Reprint?: GeneralWarnInfo;
|
|
655
|
-
/**
|
|
656
|
-
* 模糊告警信息
|
|
657
|
-
*/
|
|
658
|
-
Blur?: GeneralWarnInfo;
|
|
650
|
+
export interface OverseasInvoice {
|
|
659
651
|
/**
|
|
660
|
-
*
|
|
661
|
-
*/
|
|
662
|
-
Reflection?: GeneralWarnInfo;
|
|
663
|
-
/**
|
|
664
|
-
* 边框不完整告警信息
|
|
652
|
+
* 发票名称
|
|
665
653
|
*/
|
|
666
|
-
|
|
654
|
+
Title?: string;
|
|
667
655
|
/**
|
|
668
|
-
*
|
|
656
|
+
* 识别出的字段名称(关键字)
|
|
669
657
|
*/
|
|
670
|
-
|
|
658
|
+
Content?: Array<OtherInvoiceItem>;
|
|
671
659
|
}
|
|
672
660
|
/**
|
|
673
661
|
* 智能结构化元素组
|
|
@@ -1913,63 +1901,6 @@ export interface TextEduPaper {
|
|
|
1913
1901
|
*/
|
|
1914
1902
|
Itemcoord: ItemCoord;
|
|
1915
1903
|
}
|
|
1916
|
-
/**
|
|
1917
|
-
* 增值税发票项目信息
|
|
1918
|
-
*/
|
|
1919
|
-
export interface VatInvoiceItemInfo {
|
|
1920
|
-
/**
|
|
1921
|
-
* 项目名称
|
|
1922
|
-
*/
|
|
1923
|
-
Name?: string;
|
|
1924
|
-
/**
|
|
1925
|
-
* 规格型号
|
|
1926
|
-
*/
|
|
1927
|
-
Specification?: string;
|
|
1928
|
-
/**
|
|
1929
|
-
* 单位
|
|
1930
|
-
*/
|
|
1931
|
-
Unit?: string;
|
|
1932
|
-
/**
|
|
1933
|
-
* 数量
|
|
1934
|
-
*/
|
|
1935
|
-
Quantity?: string;
|
|
1936
|
-
/**
|
|
1937
|
-
* 单价
|
|
1938
|
-
*/
|
|
1939
|
-
Price?: string;
|
|
1940
|
-
/**
|
|
1941
|
-
* 金额
|
|
1942
|
-
*/
|
|
1943
|
-
Total?: string;
|
|
1944
|
-
/**
|
|
1945
|
-
* 税率
|
|
1946
|
-
*/
|
|
1947
|
-
TaxRate?: string;
|
|
1948
|
-
/**
|
|
1949
|
-
* 税额
|
|
1950
|
-
*/
|
|
1951
|
-
Tax?: string;
|
|
1952
|
-
/**
|
|
1953
|
-
* 通行日期起
|
|
1954
|
-
*/
|
|
1955
|
-
DateStart?: string;
|
|
1956
|
-
/**
|
|
1957
|
-
* 通行日期止
|
|
1958
|
-
*/
|
|
1959
|
-
DateEnd?: string;
|
|
1960
|
-
/**
|
|
1961
|
-
* 车牌号
|
|
1962
|
-
*/
|
|
1963
|
-
LicensePlate?: string;
|
|
1964
|
-
/**
|
|
1965
|
-
* 车辆类型
|
|
1966
|
-
*/
|
|
1967
|
-
VehicleType?: string;
|
|
1968
|
-
/**
|
|
1969
|
-
* 序号
|
|
1970
|
-
*/
|
|
1971
|
-
SerialNumber?: string;
|
|
1972
|
-
}
|
|
1973
1904
|
/**
|
|
1974
1905
|
* QrcodeOCR返回参数结构体
|
|
1975
1906
|
*/
|
|
@@ -1987,6 +1918,19 @@ export interface QrcodeOCRResponse {
|
|
|
1987
1918
|
*/
|
|
1988
1919
|
RequestId?: string;
|
|
1989
1920
|
}
|
|
1921
|
+
/**
|
|
1922
|
+
* 海关进/出口货物报关单
|
|
1923
|
+
*/
|
|
1924
|
+
export interface CustomsDeclaration {
|
|
1925
|
+
/**
|
|
1926
|
+
* 发票名称
|
|
1927
|
+
*/
|
|
1928
|
+
Title?: string;
|
|
1929
|
+
/**
|
|
1930
|
+
* 识别出的字段名称(关键字)
|
|
1931
|
+
*/
|
|
1932
|
+
Content?: Array<OtherInvoiceItem>;
|
|
1933
|
+
}
|
|
1990
1934
|
/**
|
|
1991
1935
|
* 运单识别对象
|
|
1992
1936
|
*/
|
|
@@ -3260,6 +3204,11 @@ export interface RecognizeGeneralInvoiceRequest {
|
|
|
3260
3204
|
18:完税凭证
|
|
3261
3205
|
19:海关缴款书
|
|
3262
3206
|
20:银行回单
|
|
3207
|
+
21:网约车行程单
|
|
3208
|
+
22:海关进/出口货物报关单
|
|
3209
|
+
23:海外发票
|
|
3210
|
+
24:购物小票
|
|
3211
|
+
25:销货清单
|
|
3263
3212
|
-1:其他发票
|
|
3264
3213
|
*/
|
|
3265
3214
|
Types?: Array<number | bigint>;
|
|
@@ -3287,6 +3236,10 @@ export interface RecognizeGeneralInvoiceRequest {
|
|
|
3287
3236
|
* 是否打开字段坐标返回。默认为false。
|
|
3288
3237
|
*/
|
|
3289
3238
|
EnableItemPolygon?: boolean;
|
|
3239
|
+
/**
|
|
3240
|
+
* 是否开启二维码识别。
|
|
3241
|
+
*/
|
|
3242
|
+
EnableQRCode?: boolean;
|
|
3290
3243
|
}
|
|
3291
3244
|
/**
|
|
3292
3245
|
* GeneralBasicOCR返回参数结构体
|
|
@@ -4262,6 +4215,31 @@ export interface SingleInvoiceItem {
|
|
|
4262
4215
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4263
4216
|
*/
|
|
4264
4217
|
BankSlip?: BankSlip;
|
|
4218
|
+
/**
|
|
4219
|
+
* 网约车行程单
|
|
4220
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4221
|
+
*/
|
|
4222
|
+
OnlineTaxiItinerary?: OnlineTaxiItinerary;
|
|
4223
|
+
/**
|
|
4224
|
+
* 海关进/出口货物报关单
|
|
4225
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4226
|
+
*/
|
|
4227
|
+
CustomsDeclaration?: CustomsDeclaration;
|
|
4228
|
+
/**
|
|
4229
|
+
* 海外发票
|
|
4230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4231
|
+
*/
|
|
4232
|
+
OverseasInvoice?: OverseasInvoice;
|
|
4233
|
+
/**
|
|
4234
|
+
* 购物小票
|
|
4235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4236
|
+
*/
|
|
4237
|
+
ShoppingReceipt?: ShoppingReceipt;
|
|
4238
|
+
/**
|
|
4239
|
+
* 销货清单
|
|
4240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4241
|
+
*/
|
|
4242
|
+
SaleInventory?: SaleInventory;
|
|
4265
4243
|
}
|
|
4266
4244
|
/**
|
|
4267
4245
|
* InvoiceGeneralOCR返回参数结构体
|
|
@@ -6284,6 +6262,63 @@ export interface EnglishOCRRequest {
|
|
|
6284
6262
|
*/
|
|
6285
6263
|
Preprocess?: boolean;
|
|
6286
6264
|
}
|
|
6265
|
+
/**
|
|
6266
|
+
* 增值税发票项目信息
|
|
6267
|
+
*/
|
|
6268
|
+
export interface VatInvoiceItemInfo {
|
|
6269
|
+
/**
|
|
6270
|
+
* 项目名称
|
|
6271
|
+
*/
|
|
6272
|
+
Name?: string;
|
|
6273
|
+
/**
|
|
6274
|
+
* 规格型号
|
|
6275
|
+
*/
|
|
6276
|
+
Specification?: string;
|
|
6277
|
+
/**
|
|
6278
|
+
* 单位
|
|
6279
|
+
*/
|
|
6280
|
+
Unit?: string;
|
|
6281
|
+
/**
|
|
6282
|
+
* 数量
|
|
6283
|
+
*/
|
|
6284
|
+
Quantity?: string;
|
|
6285
|
+
/**
|
|
6286
|
+
* 单价
|
|
6287
|
+
*/
|
|
6288
|
+
Price?: string;
|
|
6289
|
+
/**
|
|
6290
|
+
* 金额
|
|
6291
|
+
*/
|
|
6292
|
+
Total?: string;
|
|
6293
|
+
/**
|
|
6294
|
+
* 税率
|
|
6295
|
+
*/
|
|
6296
|
+
TaxRate?: string;
|
|
6297
|
+
/**
|
|
6298
|
+
* 税额
|
|
6299
|
+
*/
|
|
6300
|
+
Tax?: string;
|
|
6301
|
+
/**
|
|
6302
|
+
* 通行日期起
|
|
6303
|
+
*/
|
|
6304
|
+
DateStart?: string;
|
|
6305
|
+
/**
|
|
6306
|
+
* 通行日期止
|
|
6307
|
+
*/
|
|
6308
|
+
DateEnd?: string;
|
|
6309
|
+
/**
|
|
6310
|
+
* 车牌号
|
|
6311
|
+
*/
|
|
6312
|
+
LicensePlate?: string;
|
|
6313
|
+
/**
|
|
6314
|
+
* 车辆类型
|
|
6315
|
+
*/
|
|
6316
|
+
VehicleType?: string;
|
|
6317
|
+
/**
|
|
6318
|
+
* 序号
|
|
6319
|
+
*/
|
|
6320
|
+
SerialNumber?: string;
|
|
6321
|
+
}
|
|
6287
6322
|
/**
|
|
6288
6323
|
* 电子发票返回值
|
|
6289
6324
|
*/
|
|
@@ -7042,6 +7077,24 @@ export interface FinanBillSliceInfo {
|
|
|
7042
7077
|
*/
|
|
7043
7078
|
Value?: string;
|
|
7044
7079
|
}
|
|
7080
|
+
/**
|
|
7081
|
+
* 增值税发票卷票信息
|
|
7082
|
+
*/
|
|
7083
|
+
export interface VatRollInvoiceInfo {
|
|
7084
|
+
/**
|
|
7085
|
+
* 识别出的字段名称(关键字),支持以下字段:
|
|
7086
|
+
发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类。
|
|
7087
|
+
*/
|
|
7088
|
+
Name?: string;
|
|
7089
|
+
/**
|
|
7090
|
+
* 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
|
|
7091
|
+
*/
|
|
7092
|
+
Value?: string;
|
|
7093
|
+
/**
|
|
7094
|
+
* 文本行在旋转纠正之后的图像中的像素坐标。
|
|
7095
|
+
*/
|
|
7096
|
+
Rect?: Rect;
|
|
7097
|
+
}
|
|
7045
7098
|
/**
|
|
7046
7099
|
* 敏感数据加密
|
|
7047
7100
|
*/
|
|
@@ -7072,6 +7125,35 @@ export interface Encryption {
|
|
|
7072
7125
|
*/
|
|
7073
7126
|
EncryptList?: Array<string>;
|
|
7074
7127
|
}
|
|
7128
|
+
/**
|
|
7129
|
+
* RecognizeGeneralTextImageWarn返回参数结构体
|
|
7130
|
+
*/
|
|
7131
|
+
export interface RecognizeGeneralTextImageWarnResponse {
|
|
7132
|
+
/**
|
|
7133
|
+
* 复印告警信息
|
|
7134
|
+
*/
|
|
7135
|
+
Copy?: GeneralWarnInfo;
|
|
7136
|
+
/**
|
|
7137
|
+
* 翻拍告警信息
|
|
7138
|
+
*/
|
|
7139
|
+
Reprint?: GeneralWarnInfo;
|
|
7140
|
+
/**
|
|
7141
|
+
* 模糊告警信息
|
|
7142
|
+
*/
|
|
7143
|
+
Blur?: GeneralWarnInfo;
|
|
7144
|
+
/**
|
|
7145
|
+
* 反光告警信息
|
|
7146
|
+
*/
|
|
7147
|
+
Reflection?: GeneralWarnInfo;
|
|
7148
|
+
/**
|
|
7149
|
+
* 边框不完整告警信息
|
|
7150
|
+
*/
|
|
7151
|
+
BorderIncomplete?: GeneralWarnInfo;
|
|
7152
|
+
/**
|
|
7153
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7154
|
+
*/
|
|
7155
|
+
RequestId?: string;
|
|
7156
|
+
}
|
|
7075
7157
|
/**
|
|
7076
7158
|
* ArithmeticOCR请求参数结构体
|
|
7077
7159
|
*/
|
|
@@ -7629,6 +7711,19 @@ export interface BankSlipOCRResponse {
|
|
|
7629
7711
|
*/
|
|
7630
7712
|
RequestId?: string;
|
|
7631
7713
|
}
|
|
7714
|
+
/**
|
|
7715
|
+
* 网约车行程单
|
|
7716
|
+
*/
|
|
7717
|
+
export interface OnlineTaxiItinerary {
|
|
7718
|
+
/**
|
|
7719
|
+
* 发票名称
|
|
7720
|
+
*/
|
|
7721
|
+
Title?: string;
|
|
7722
|
+
/**
|
|
7723
|
+
* 识别出的字段名称(关键字)
|
|
7724
|
+
*/
|
|
7725
|
+
Content?: Array<OtherInvoiceItem>;
|
|
7726
|
+
}
|
|
7632
7727
|
/**
|
|
7633
7728
|
* RecognizeEncryptedIDCardOCR返回参数结构体
|
|
7634
7729
|
*/
|
|
@@ -10312,22 +10407,17 @@ export interface VehicleLicenseOCRRequest {
|
|
|
10312
10407
|
TractorCardSide?: string;
|
|
10313
10408
|
}
|
|
10314
10409
|
/**
|
|
10315
|
-
*
|
|
10410
|
+
* 购物小票
|
|
10316
10411
|
*/
|
|
10317
|
-
export interface
|
|
10318
|
-
/**
|
|
10319
|
-
* 识别出的字段名称(关键字),支持以下字段:
|
|
10320
|
-
发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类。
|
|
10321
|
-
*/
|
|
10322
|
-
Name?: string;
|
|
10412
|
+
export interface ShoppingReceipt {
|
|
10323
10413
|
/**
|
|
10324
|
-
*
|
|
10414
|
+
* 发票名称
|
|
10325
10415
|
*/
|
|
10326
|
-
|
|
10416
|
+
Title?: string;
|
|
10327
10417
|
/**
|
|
10328
|
-
*
|
|
10418
|
+
* 识别出的字段名称(关键字)
|
|
10329
10419
|
*/
|
|
10330
|
-
|
|
10420
|
+
Content?: Array<OtherInvoiceItem>;
|
|
10331
10421
|
}
|
|
10332
10422
|
/**
|
|
10333
10423
|
* RecognizeOnlineTaxiItineraryOCR请求参数结构体
|
|
@@ -10652,6 +10742,19 @@ export interface EstateCertOCRRequest {
|
|
|
10652
10742
|
*/
|
|
10653
10743
|
ImageUrl?: string;
|
|
10654
10744
|
}
|
|
10745
|
+
/**
|
|
10746
|
+
* 销货清单
|
|
10747
|
+
*/
|
|
10748
|
+
export interface SaleInventory {
|
|
10749
|
+
/**
|
|
10750
|
+
* 发票名称
|
|
10751
|
+
*/
|
|
10752
|
+
Title?: string;
|
|
10753
|
+
/**
|
|
10754
|
+
* 识别出的字段名称(关键字)
|
|
10755
|
+
*/
|
|
10756
|
+
Content?: Array<OtherInvoiceItem>;
|
|
10757
|
+
}
|
|
10655
10758
|
/**
|
|
10656
10759
|
* 外国人永久居留证信息返回
|
|
10657
10760
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import {
|
|
3
|
+
import { ListAddressUnsubscribeConfigRequest, BatchSendEmailResponse, DeleteEmailIdentityRequest, CreateCustomBlacklistResponse, UpdateAddressUnsubscribeConfigResponse, CreateReceiverRequest, CreateEmailAddressRequest, CreateReceiverDetailRequest, UpdateEmailTemplateResponse, CreateReceiverDetailWithDataRequest, GetEmailTemplateResponse, ListAddressUnsubscribeConfigResponse, SendEmailRequest, UpdateEmailIdentityRequest, DeleteEmailIdentityResponse, DeleteEmailTemplateResponse, ListCustomBlacklistRequest, DeleteEmailTemplateRequest, ListEmailTemplatesRequest, DeleteBlackListRequest, ListBlackEmailAddressResponse, ListEmailIdentitiesResponse, UpdateCustomBlackListRequest, UpdateEmailSmtpPassWordRequest, DeleteCustomBlackListRequest, UpdateAddressUnsubscribeConfigRequest, ListEmailIdentitiesRequest, CreateReceiverResponse, UpdateEmailSmtpPassWordResponse, ListReceiversRequest, GetEmailIdentityResponse, ListSendTasksRequest, ListReceiverDetailsResponse, ListEmailTemplatesResponse, GetEmailIdentityRequest, GetStatisticsReportRequest, GetSendEmailStatusResponse, CreateEmailIdentityRequest, UpdateEmailTemplateRequest, CreateEmailTemplateRequest, DeleteBlackListResponse, DeleteCustomBlackListResponse, DeleteAddressUnsubscribeConfigRequest, CreateReceiverDetailResponse, DeleteReceiverResponse, SendEmailResponse, GetStatisticsReportResponse, DeleteEmailAddressResponse, ListCustomBlacklistResponse, ListReceiverDetailsRequest, CreateEmailIdentityResponse, CreateEmailAddressResponse, DeleteAddressUnsubscribeConfigResponse, BatchSendEmailRequest, CreateCustomBlacklistRequest, ListEmailAddressRequest, UpdateCustomBlackListResponse, ListBlackEmailAddressRequest, CreateReceiverDetailWithDataResponse, GetEmailTemplateRequest, ListSendTasksResponse, CreateAddressUnsubscribeConfigRequest, UpdateEmailIdentityResponse, CreateEmailTemplateResponse, GetSendEmailStatusRequest, ListEmailAddressResponse, DeleteEmailAddressRequest, DeleteReceiverRequest, CreateAddressUnsubscribeConfigResponse, ListReceiversResponse } from "./ses_models";
|
|
4
4
|
/**
|
|
5
5
|
* ses client
|
|
6
6
|
* @class
|
|
@@ -31,14 +31,14 @@ export declare class Client extends AbstractClient {
|
|
|
31
31
|
* 创建收件人列表,收件人列表是发送批量邮件的目标邮件地址列表。创建列表后,需要上传收件人邮箱地址。之后创建发送任务,关联列表,便可以实现批量发送邮件的功能
|
|
32
32
|
*/
|
|
33
33
|
CreateReceiver(req: CreateReceiverRequest, cb?: (error: string, rep: CreateReceiverResponse) => void): Promise<CreateReceiverResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* 获取某个发信域名的配置详情
|
|
36
|
-
*/
|
|
37
|
-
GetEmailIdentity(req: GetEmailIdentityRequest, cb?: (error: string, rep: GetEmailIdentityResponse) => void): Promise<GetEmailIdentityResponse>;
|
|
38
34
|
/**
|
|
39
35
|
* 根据模板ID获取模板详情
|
|
40
36
|
*/
|
|
41
37
|
GetEmailTemplate(req: GetEmailTemplateRequest, cb?: (error: string, rep: GetEmailTemplateResponse) => void): Promise<GetEmailTemplateResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* 获取某个发信域名的配置详情
|
|
40
|
+
*/
|
|
41
|
+
GetEmailIdentity(req: GetEmailIdentityRequest, cb?: (error: string, rep: GetEmailIdentityResponse) => void): Promise<GetEmailIdentityResponse>;
|
|
42
42
|
/**
|
|
43
43
|
* 更新自定义黑名单
|
|
44
44
|
*/
|
|
@@ -47,6 +47,10 @@ export declare class Client extends AbstractClient {
|
|
|
47
47
|
* 腾讯云发送的邮件一旦被收件方判断为硬退(Hard Bounce),腾讯云会拉黑该地址,并不允许所有用户向该地址发送邮件。成为邮箱黑名单。如果业务方确认是误判,可以从黑名单中删除。
|
|
48
48
|
*/
|
|
49
49
|
ListBlackEmailAddress(req: ListBlackEmailAddressRequest, cb?: (error: string, rep: ListBlackEmailAddressResponse) => void): Promise<ListBlackEmailAddressResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* 创建地址级退订配置
|
|
52
|
+
*/
|
|
53
|
+
CreateAddressUnsubscribeConfig(req: CreateAddressUnsubscribeConfigRequest, cb?: (error: string, rep: CreateAddressUnsubscribeConfigResponse) => void): Promise<CreateAddressUnsubscribeConfigResponse>;
|
|
50
54
|
/**
|
|
51
55
|
* 获取地址级退订配置列表
|
|
52
56
|
*/
|
|
@@ -84,6 +88,10 @@ export declare class Client extends AbstractClient {
|
|
|
84
88
|
* 设置邮箱的smtp密码。若要通过smtp发送邮件,必须为邮箱设置smtp密码。初始时,邮箱没有设置smtp密码,不能使用smtp的方式发送邮件。设置smtp密码后,可以修改密码。
|
|
85
89
|
*/
|
|
86
90
|
UpdateEmailSmtpPassWord(req: UpdateEmailSmtpPassWordRequest, cb?: (error: string, rep: UpdateEmailSmtpPassWordResponse) => void): Promise<UpdateEmailSmtpPassWordResponse>;
|
|
91
|
+
/**
|
|
92
|
+
* 用于更新地址级退订配置
|
|
93
|
+
*/
|
|
94
|
+
UpdateAddressUnsubscribeConfig(req: UpdateAddressUnsubscribeConfigRequest, cb?: (error: string, rep: UpdateAddressUnsubscribeConfigResponse) => void): Promise<UpdateAddressUnsubscribeConfigResponse>;
|
|
87
95
|
/**
|
|
88
96
|
* 添加自定义黑名单
|
|
89
97
|
*/
|
|
@@ -92,6 +100,10 @@ export declare class Client extends AbstractClient {
|
|
|
92
100
|
* 删除发信模板
|
|
93
101
|
*/
|
|
94
102
|
DeleteEmailTemplate(req: DeleteEmailTemplateRequest, cb?: (error: string, rep: DeleteEmailTemplateResponse) => void): Promise<DeleteEmailTemplateResponse>;
|
|
103
|
+
/**
|
|
104
|
+
* 删除地址级退订配置
|
|
105
|
+
*/
|
|
106
|
+
DeleteAddressUnsubscribeConfig(req: DeleteAddressUnsubscribeConfigRequest, cb?: (error: string, rep: DeleteAddressUnsubscribeConfigResponse) => void): Promise<DeleteAddressUnsubscribeConfigResponse>;
|
|
95
107
|
/**
|
|
96
108
|
* 获取当前邮件模板列表
|
|
97
109
|
*/
|