tencentcloud-sdk-nodejs 4.0.337 → 4.0.340
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 +414 -0
- package/SERVICE_CHANGELOG.md +399 -33
- package/package.json +1 -1
- package/products.md +23 -22
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +13 -0
- package/src/services/antiddos/v20200309/antiddos_models.ts +153 -0
- package/src/services/bi/index.ts +5 -0
- package/src/services/bi/v20220105/bi_client.ts +57 -0
- package/src/services/bi/v20220105/bi_models.ts +214 -0
- package/src/services/bi/v20220105/index.ts +6 -0
- package/src/services/cfw/v20190904/cfw_models.ts +5 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +12 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +41 -1
- package/src/services/cvm/v20170312/cvm_models.ts +1 -1
- package/src/services/dlc/v20210125/dlc_models.ts +35 -0
- package/src/services/emr/v20190103/emr_client.ts +67 -63
- package/src/services/emr/v20190103/emr_models.ts +2011 -1833
- package/src/services/ess/v20201111/ess_models.ts +26 -8
- package/src/services/faceid/v20180301/faceid_client.ts +1 -1
- package/src/services/faceid/v20180301/faceid_models.ts +5 -4
- package/src/services/gaap/v20180529/gaap_client.ts +68 -28
- package/src/services/gaap/v20180529/gaap_models.ts +280 -68
- package/src/services/index.ts +1 -0
- package/src/services/iotcloud/v20210408/iotcloud_client.ts +608 -68
- package/src/services/iotcloud/v20210408/iotcloud_models.ts +2835 -667
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +2 -2
- package/src/services/monitor/v20180724/monitor_models.ts +5 -0
- package/src/services/ocr/v20181119/ocr_client.ts +14 -1
- package/src/services/ocr/v20181119/ocr_models.ts +103 -15
- package/src/services/redis/v20180412/redis_models.ts +1 -1
- package/src/services/ses/v20201002/ses_client.ts +2 -2
- package/src/services/ses/v20201002/ses_models.ts +2 -2
- package/src/services/tiia/v20190529/tiia_models.ts +2 -2
- package/src/services/tke/v20180525/tke_models.ts +15 -0
- package/src/services/trtc/v20190722/trtc_models.ts +6 -6
- package/src/services/tsf/v20180326/tsf_models.ts +6 -0
- package/src/services/vod/v20180717/vod_client.ts +1 -0
- package/src/services/vod/v20180717/vod_models.ts +22 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +5 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +6 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +126 -0
- package/tencentcloud/services/bi/index.d.ts +6 -0
- package/tencentcloud/services/bi/index.js +7 -0
- package/tencentcloud/services/bi/v20220105/bi_client.d.ts +18 -0
- package/tencentcloud/services/bi/v20220105/bi_client.js +43 -0
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +168 -0
- package/tencentcloud/services/bi/v20220105/bi_models.js +18 -0
- package/tencentcloud/services/bi/v20220105/index.d.ts +6 -0
- package/tencentcloud/services/bi/v20220105/index.js +9 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +4 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +35 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +29 -0
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +1 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +1757 -1607
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +23 -7
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -1
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +1 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +5 -4
- package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +21 -9
- package/tencentcloud/services/gaap/v20180529/gaap_client.js +30 -12
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +245 -60
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.d.ts +187 -11
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.js +279 -15
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +2515 -663
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +2 -2
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +2 -2
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +4 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +6 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +7 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +87 -15
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +2 -2
- package/tencentcloud/services/ses/v20201002/ses_client.js +2 -2
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +2 -2
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +2 -2
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +12 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -6
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +5 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +19 -1
- package/test/antiddos.v20200309.test.js +10 -0
- package/test/bi.v20220105.test.js +41 -0
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/gaap.v20180529.test.js +44 -14
- package/test/iotcloud.v20210408.test.js +450 -10
- package/test/ocr.v20181119.test.js +10 -0
|
@@ -8,7 +8,7 @@ import { UpdateDevicesEnableStateResponse, DeleteProjectRequest, DeleteFenceBind
|
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
10
|
/**
|
|
11
|
-
* 本接口(GetCOSURL
|
|
11
|
+
* 本接口(GetCOSURL)用于获取固件COS存储的上传请求URL地址
|
|
12
12
|
*/
|
|
13
13
|
GetCOSURL(req: GetCOSURLRequest, cb?: (error: string, rep: GetCOSURLResponse) => void): Promise<GetCOSURLResponse>;
|
|
14
14
|
/**
|
|
@@ -212,7 +212,7 @@ export declare class Client extends AbstractClient {
|
|
|
212
212
|
*/
|
|
213
213
|
CreateTopicPolicy(req: CreateTopicPolicyRequest, cb?: (error: string, rep: CreateTopicPolicyResponse) => void): Promise<CreateTopicPolicyResponse>;
|
|
214
214
|
/**
|
|
215
|
-
* 本接口(UploadFirmware
|
|
215
|
+
* 本接口(UploadFirmware)用于创建设备固件版本信息,在平台用于固件版本升级、固件资源下发等。
|
|
216
216
|
*/
|
|
217
217
|
UploadFirmware(req: UploadFirmwareRequest, cb?: (error: string, rep: UploadFirmwareResponse) => void): Promise<UploadFirmwareResponse>;
|
|
218
218
|
/**
|
|
@@ -28,7 +28,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("iotexplorer.tencentcloudapi.com", "2019-04-23", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* 本接口(GetCOSURL
|
|
31
|
+
* 本接口(GetCOSURL)用于获取固件COS存储的上传请求URL地址
|
|
32
32
|
*/
|
|
33
33
|
async GetCOSURL(req, cb) {
|
|
34
34
|
return this.request("GetCOSURL", req, cb);
|
|
@@ -334,7 +334,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
334
334
|
return this.request("CreateTopicPolicy", req, cb);
|
|
335
335
|
}
|
|
336
336
|
/**
|
|
337
|
-
* 本接口(UploadFirmware
|
|
337
|
+
* 本接口(UploadFirmware)用于创建设备固件版本信息,在平台用于固件版本升级、固件资源下发等。
|
|
338
338
|
*/
|
|
339
339
|
async UploadFirmware(req, cb) {
|
|
340
340
|
return this.request("UploadFirmware", req, cb);
|
|
@@ -3581,6 +3581,10 @@ export interface DescribeAlarmPoliciesRequest {
|
|
|
3581
3581
|
* 按照触发任务(例如弹性伸缩)过滤策略。最多10个
|
|
3582
3582
|
*/
|
|
3583
3583
|
TriggerTasks?: Array<AlarmPolicyTriggerTask>;
|
|
3584
|
+
/**
|
|
3585
|
+
* 根据一键告警策略筛选 不传展示全部策略 ONECLICK=展示一键告警策略 NOT_ONECLICK=展示非一键告警策略
|
|
3586
|
+
*/
|
|
3587
|
+
OneClickPolicyType?: Array<string>;
|
|
3584
3588
|
}
|
|
3585
3589
|
/**
|
|
3586
3590
|
* DescribeConditionsTemplateList返回参数结构体
|
|
@@ -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, RecognizeTravelCardOCRRequest, 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, RecognizeTravelCardOCRResponse, 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, WaybillOCRRequest, VinOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, VerifyBasicBizLicenseRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, FinanBillOCRRequest, VerifyEnterpriseFourFactorsResponse, GeneralFastOCRResponse } from "./ocr_models";
|
|
3
|
+
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, 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, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, PassportOCRResponse, VerifyBasicBizLicenseResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, 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, WaybillOCRRequest, 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
|
|
@@ -94,6 +94,10 @@ export declare class Client extends AbstractClient {
|
|
|
94
94
|
|
|
95
95
|
*/
|
|
96
96
|
MLIDCardOCR(req: MLIDCardOCRRequest, cb?: (error: string, rep: MLIDCardOCRResponse) => void): Promise<MLIDCardOCRResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
|
|
99
|
+
*/
|
|
100
|
+
VatInvoiceVerifyNew(req: VatInvoiceVerifyNewRequest, cb?: (error: string, rep: VatInvoiceVerifyNewResponse) => void): Promise<VatInvoiceVerifyNewResponse>;
|
|
97
101
|
/**
|
|
98
102
|
* 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
|
|
99
103
|
*/
|
|
@@ -546,7 +550,7 @@ export declare class Client extends AbstractClient {
|
|
|
546
550
|
*/
|
|
547
551
|
MixedInvoiceOCR(req: MixedInvoiceOCRRequest, cb?: (error: string, rep: MixedInvoiceOCRResponse) => void): Promise<MixedInvoiceOCRResponse>;
|
|
548
552
|
/**
|
|
549
|
-
*
|
|
553
|
+
* 本接口支持北京、上海、广东、江苏、吉林、黑龙江省市健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
|
550
554
|
*/
|
|
551
555
|
RecognizeHealthCodeOCR(req: RecognizeHealthCodeOCRRequest, cb?: (error: string, rep: RecognizeHealthCodeOCRResponse) => void): Promise<RecognizeHealthCodeOCRResponse>;
|
|
552
556
|
/**
|
|
@@ -132,6 +132,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
132
132
|
async MLIDCardOCR(req, cb) {
|
|
133
133
|
return this.request("MLIDCardOCR", req, cb);
|
|
134
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
|
|
137
|
+
*/
|
|
138
|
+
async VatInvoiceVerifyNew(req, cb) {
|
|
139
|
+
return this.request("VatInvoiceVerifyNew", req, cb);
|
|
140
|
+
}
|
|
135
141
|
/**
|
|
136
142
|
* 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
|
|
137
143
|
*/
|
|
@@ -698,7 +704,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
698
704
|
return this.request("MixedInvoiceOCR", req, cb);
|
|
699
705
|
}
|
|
700
706
|
/**
|
|
701
|
-
*
|
|
707
|
+
* 本接口支持北京、上海、广东、江苏、吉林、黑龙江省市健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
|
702
708
|
*/
|
|
703
709
|
async RecognizeHealthCodeOCR(req, cb) {
|
|
704
710
|
return this.request("RecognizeHealthCodeOCR", req, cb);
|
|
@@ -1976,6 +1976,36 @@ export interface ClassifyDetectOCRResponse {
|
|
|
1976
1976
|
*/
|
|
1977
1977
|
RequestId?: string;
|
|
1978
1978
|
}
|
|
1979
|
+
/**
|
|
1980
|
+
* VatInvoiceVerifyNew请求参数结构体
|
|
1981
|
+
*/
|
|
1982
|
+
export interface VatInvoiceVerifyNewRequest {
|
|
1983
|
+
/**
|
|
1984
|
+
* 发票号码,8位、20位(全电票)
|
|
1985
|
+
*/
|
|
1986
|
+
InvoiceNo: string;
|
|
1987
|
+
/**
|
|
1988
|
+
* 开票日期(不支持当天发票查询,支持五年以内开具的发票),格式:“YYYY-MM-DD”,如:2019-12-20。
|
|
1989
|
+
*/
|
|
1990
|
+
InvoiceDate: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* 发票代码(10或12 位),全电发票为空。查验未成功超过5次后当日无法再查。
|
|
1993
|
+
*/
|
|
1994
|
+
InvoiceCode?: string;
|
|
1995
|
+
/**
|
|
1996
|
+
* 票种类型 01:增值税专用发票, 02:货运运输业增值税专用发 票, 03:机动车销售统一发票, 04:增值税普通发票, 08:增值税电子专用发票(含全电), 10:增值税电子普通发票(含全电), 11:增值税普通发票(卷式), 14:增值税电子(通行费)发 票, 15:二手车销售统一发票, 32:深圳区块链发票(云南区块链因业务调整现已下线)。
|
|
1997
|
+
*/
|
|
1998
|
+
InvoiceKind?: string;
|
|
1999
|
+
/**
|
|
2000
|
+
* 校验码后 6 位,增值税普通发票、增值税电子普通发票、增值税普通发票(卷式)、增值税电子普通发票(通行费)时必填;
|
|
2001
|
+
区块链为 5 位
|
|
2002
|
+
*/
|
|
2003
|
+
CheckCode?: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* 不含税金额,增值税专用发票、增值税电子专用发票、机动车销售统一发票、二手车销售统一发票、区块链发票时必填; 全电发票为价税合计(含税金额)
|
|
2006
|
+
*/
|
|
2007
|
+
Amount?: string;
|
|
2008
|
+
}
|
|
1979
2009
|
/**
|
|
1980
2010
|
* VehicleLicenseOCR返回参数结构体
|
|
1981
2011
|
*/
|
|
@@ -2350,6 +2380,31 @@ export interface InvoiceGeneralOCRResponse {
|
|
|
2350
2380
|
*/
|
|
2351
2381
|
RequestId?: string;
|
|
2352
2382
|
}
|
|
2383
|
+
/**
|
|
2384
|
+
* VatInvoiceVerifyNew返回参数结构体
|
|
2385
|
+
*/
|
|
2386
|
+
export interface VatInvoiceVerifyNewResponse {
|
|
2387
|
+
/**
|
|
2388
|
+
* 增值税发票信息,详情请点击左侧链接。
|
|
2389
|
+
*/
|
|
2390
|
+
Invoice: VatInvoice;
|
|
2391
|
+
/**
|
|
2392
|
+
* 机动车销售统一发票信息
|
|
2393
|
+
*/
|
|
2394
|
+
VehicleInvoiceInfo: VehicleInvoiceInfo;
|
|
2395
|
+
/**
|
|
2396
|
+
* 二手车销售统一发票信息
|
|
2397
|
+
*/
|
|
2398
|
+
UsedVehicleInvoiceInfo: UsedVehicleInvoiceInfo;
|
|
2399
|
+
/**
|
|
2400
|
+
* 通行费发票信息
|
|
2401
|
+
*/
|
|
2402
|
+
PassInvoiceInfoList: Array<PassInvoiceInfo>;
|
|
2403
|
+
/**
|
|
2404
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2405
|
+
*/
|
|
2406
|
+
RequestId?: string;
|
|
2407
|
+
}
|
|
2353
2408
|
/**
|
|
2354
2409
|
* TaxiInvoiceOCR请求参数结构体
|
|
2355
2410
|
*/
|
|
@@ -3821,14 +3876,6 @@ export interface RecognizeHealthCodeOCRRequest {
|
|
|
3821
3876
|
/**
|
|
3822
3877
|
* 需要识别的健康码类型列表,为空或不填表示默认为自动识别。
|
|
3823
3878
|
0:自动识别
|
|
3824
|
-
|
|
3825
|
-
1:粤康码
|
|
3826
|
-
|
|
3827
|
-
2:随申码
|
|
3828
|
-
|
|
3829
|
-
3:健康宝
|
|
3830
|
-
|
|
3831
|
-
4.穗康码
|
|
3832
3879
|
*/
|
|
3833
3880
|
Type?: number;
|
|
3834
3881
|
}
|
|
@@ -3849,6 +3896,31 @@ export interface BankSlipOCRResponse {
|
|
|
3849
3896
|
*/
|
|
3850
3897
|
RequestId?: string;
|
|
3851
3898
|
}
|
|
3899
|
+
/**
|
|
3900
|
+
* 通行费发票信息
|
|
3901
|
+
*/
|
|
3902
|
+
export interface PassInvoiceInfo {
|
|
3903
|
+
/**
|
|
3904
|
+
* 通行费车牌号
|
|
3905
|
+
*/
|
|
3906
|
+
NumberPlate: string;
|
|
3907
|
+
/**
|
|
3908
|
+
* 通行费类型
|
|
3909
|
+
*/
|
|
3910
|
+
Type: string;
|
|
3911
|
+
/**
|
|
3912
|
+
* 通行日期起
|
|
3913
|
+
*/
|
|
3914
|
+
PassDateBegin: string;
|
|
3915
|
+
/**
|
|
3916
|
+
* 通行日期止
|
|
3917
|
+
*/
|
|
3918
|
+
PassDateEnd: string;
|
|
3919
|
+
/**
|
|
3920
|
+
* 税收分类编码
|
|
3921
|
+
*/
|
|
3922
|
+
TaxClassifyCode: string;
|
|
3923
|
+
}
|
|
3852
3924
|
/**
|
|
3853
3925
|
* 试题识别结构化信息
|
|
3854
3926
|
*/
|
|
@@ -3989,31 +4061,31 @@ export interface DutyPaidProofOCRRequest {
|
|
|
3989
4061
|
*/
|
|
3990
4062
|
export interface RecognizeHealthCodeOCRResponse {
|
|
3991
4063
|
/**
|
|
3992
|
-
*
|
|
4064
|
+
* 持码人姓名,如:王*(允许返回空值)
|
|
3993
4065
|
*/
|
|
3994
4066
|
Name: string;
|
|
3995
4067
|
/**
|
|
3996
|
-
* 持码人身份证号,如:11**************01
|
|
4068
|
+
* 持码人身份证号,如:11**************01(允许返回空值)
|
|
3997
4069
|
*/
|
|
3998
4070
|
IDNumber: string;
|
|
3999
4071
|
/**
|
|
4000
|
-
*
|
|
4072
|
+
* 健康码更新时间(允许返回空值)
|
|
4001
4073
|
*/
|
|
4002
4074
|
Time: string;
|
|
4003
4075
|
/**
|
|
4004
|
-
*
|
|
4076
|
+
* 健康码颜色:绿色、黄色、红色(允许返回空值)
|
|
4005
4077
|
*/
|
|
4006
4078
|
Color: string;
|
|
4007
4079
|
/**
|
|
4008
|
-
*
|
|
4080
|
+
* 核酸检测间隔时长(允许返回空值)
|
|
4009
4081
|
*/
|
|
4010
4082
|
TestingInterval: string;
|
|
4011
4083
|
/**
|
|
4012
|
-
*
|
|
4084
|
+
* 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
|
|
4013
4085
|
*/
|
|
4014
4086
|
TestingResult: string;
|
|
4015
4087
|
/**
|
|
4016
|
-
*
|
|
4088
|
+
* 核酸检测时间(允许返回空值)
|
|
4017
4089
|
*/
|
|
4018
4090
|
TestingTime: string;
|
|
4019
4091
|
/**
|
|
@@ -66,7 +66,7 @@ export declare class Client extends AbstractClient {
|
|
|
66
66
|
*/
|
|
67
67
|
CreateEmailTemplate(req: CreateEmailTemplateRequest, cb?: (error: string, rep: CreateEmailTemplateResponse) => void): Promise<CreateEmailTemplateResponse>;
|
|
68
68
|
/**
|
|
69
|
-
* 您可以通过此API批量发送TEXT或者HTML
|
|
69
|
+
* 您可以通过此API批量发送TEXT或者HTML邮件,适用于营销类、通知类邮件。默认仅支持使用模板发送邮件。批量发送之前,需先创建收件人列表,和收件人地址,并通过收件人列表id来进行发送。批量发送任务支持定时发送和周期重复发送,定时发送需传TimedParam,周期重复发送需传CycleParam
|
|
70
70
|
*/
|
|
71
71
|
BatchSendEmail(req: BatchSendEmailRequest, cb?: (error: string, rep: BatchSendEmailResponse) => void): Promise<BatchSendEmailResponse>;
|
|
72
72
|
/**
|
|
@@ -90,7 +90,7 @@ export declare class Client extends AbstractClient {
|
|
|
90
90
|
*/
|
|
91
91
|
DeleteBlackList(req: DeleteBlackListRequest, cb?: (error: string, rep: DeleteBlackListResponse) => void): Promise<DeleteBlackListResponse>;
|
|
92
92
|
/**
|
|
93
|
-
* 您可以通过此API发送TEXT或者HTML
|
|
93
|
+
* 您可以通过此API发送TEXT或者HTML邮件,适用于触发类邮件(验证码、交易类)。默认仅支持使用模板发送邮件。
|
|
94
94
|
*/
|
|
95
95
|
SendEmail(req: SendEmailRequest, cb?: (error: string, rep: SendEmailResponse) => void): Promise<SendEmailResponse>;
|
|
96
96
|
/**
|
|
@@ -114,7 +114,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
114
114
|
return this.request("CreateEmailTemplate", req, cb);
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
|
-
* 您可以通过此API批量发送TEXT或者HTML
|
|
117
|
+
* 您可以通过此API批量发送TEXT或者HTML邮件,适用于营销类、通知类邮件。默认仅支持使用模板发送邮件。批量发送之前,需先创建收件人列表,和收件人地址,并通过收件人列表id来进行发送。批量发送任务支持定时发送和周期重复发送,定时发送需传TimedParam,周期重复发送需传CycleParam
|
|
118
118
|
*/
|
|
119
119
|
async BatchSendEmail(req, cb) {
|
|
120
120
|
return this.request("BatchSendEmail", req, cb);
|
|
@@ -150,7 +150,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
150
150
|
return this.request("DeleteBlackList", req, cb);
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
153
|
-
* 您可以通过此API发送TEXT或者HTML
|
|
153
|
+
* 您可以通过此API发送TEXT或者HTML邮件,适用于触发类邮件(验证码、交易类)。默认仅支持使用模板发送邮件。
|
|
154
154
|
*/
|
|
155
155
|
async SendEmail(req, cb) {
|
|
156
156
|
return this.request("SendEmail", req, cb);
|
|
@@ -29,7 +29,7 @@ export interface BatchSendEmailRequest {
|
|
|
29
29
|
*/
|
|
30
30
|
Template?: Template;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* 已废弃
|
|
33
33
|
*/
|
|
34
34
|
Simple?: Simple;
|
|
35
35
|
/**
|
|
@@ -287,7 +287,7 @@ export interface SendEmailRequest {
|
|
|
287
287
|
*/
|
|
288
288
|
Template?: Template;
|
|
289
289
|
/**
|
|
290
|
-
*
|
|
290
|
+
* 已废弃
|
|
291
291
|
*/
|
|
292
292
|
Simple?: Simple;
|
|
293
293
|
/**
|
|
@@ -510,7 +510,7 @@ export interface CreateGroupRequest {
|
|
|
510
510
|
*/
|
|
511
511
|
GroupName: string;
|
|
512
512
|
/**
|
|
513
|
-
*
|
|
513
|
+
* 图库可容纳的最大图片数量。
|
|
514
514
|
*/
|
|
515
515
|
MaxCapacity: number;
|
|
516
516
|
/**
|
|
@@ -518,7 +518,7 @@ export interface CreateGroupRequest {
|
|
|
518
518
|
*/
|
|
519
519
|
Brief?: string;
|
|
520
520
|
/**
|
|
521
|
-
*
|
|
521
|
+
* 访问限制默认为10qps,如需扩容请联系[在线客服](https://cloud.tencent.com/online-service)申请。
|
|
522
522
|
*/
|
|
523
523
|
MaxQps?: number;
|
|
524
524
|
/**
|
|
@@ -5267,6 +5267,18 @@ export interface CreateClusterEndpointRequest {
|
|
|
5267
5267
|
* 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
|
|
5268
5268
|
*/
|
|
5269
5269
|
IsExtranet?: boolean;
|
|
5270
|
+
/**
|
|
5271
|
+
* 设置域名
|
|
5272
|
+
*/
|
|
5273
|
+
Domain?: string;
|
|
5274
|
+
/**
|
|
5275
|
+
* 使用的安全组,只有外网访问需要传递
|
|
5276
|
+
*/
|
|
5277
|
+
SecurityGroup?: string;
|
|
5278
|
+
/**
|
|
5279
|
+
* 创建lb参数,只有外网访问需要设置
|
|
5280
|
+
*/
|
|
5281
|
+
ExtensiveParameters?: string;
|
|
5270
5282
|
}
|
|
5271
5283
|
/**
|
|
5272
5284
|
* prometheus一个job的targets
|
|
@@ -1028,7 +1028,7 @@ export interface PresetLayoutConfig {
|
|
|
1028
1028
|
*/
|
|
1029
1029
|
MixInputType?: number;
|
|
1030
1030
|
/**
|
|
1031
|
-
* 占位图ID
|
|
1031
|
+
* 占位图ID。启用占位图功能时,在当前位置的用户没有上行视频时显示占位图。占位图大小不能超过2M,在实时音视频控制台上传并生成,https://cloud.tencent.com/document/product/647/50769
|
|
1032
1032
|
*/
|
|
1033
1033
|
PlaceImageId?: number;
|
|
1034
1034
|
}
|
|
@@ -1215,23 +1215,23 @@ export interface WaterMarkParams {
|
|
|
1215
1215
|
*/
|
|
1216
1216
|
WaterMarkId: number;
|
|
1217
1217
|
/**
|
|
1218
|
-
*
|
|
1218
|
+
* 混流-水印宽。单位为像素值。水印宽+X偏移不能超过整个画布宽。
|
|
1219
1219
|
*/
|
|
1220
1220
|
WaterMarkWidth: number;
|
|
1221
1221
|
/**
|
|
1222
|
-
*
|
|
1222
|
+
* 混流-水印高。单位为像素值。水印高+Y偏移不能超过整个画布高。
|
|
1223
1223
|
*/
|
|
1224
1224
|
WaterMarkHeight: number;
|
|
1225
1225
|
/**
|
|
1226
|
-
* 水印在输出时的X
|
|
1226
|
+
* 水印在输出时的X偏移。单位为像素值。水印宽+X偏移不能超过整个画布宽。
|
|
1227
1227
|
*/
|
|
1228
1228
|
LocationX: number;
|
|
1229
1229
|
/**
|
|
1230
|
-
* 水印在输出时的Y
|
|
1230
|
+
* 水印在输出时的Y偏移。单位为像素值。水印高+Y偏移不能超过整个画布高。
|
|
1231
1231
|
*/
|
|
1232
1232
|
LocationY: number;
|
|
1233
1233
|
/**
|
|
1234
|
-
* 混流-水印图片URL地址,支持png、jpg、jpeg、bmp格式,暂不支持透明通道。URL链接长度限制为512字节。WaterMarkUrl和WaterMarkId参数都填时,以WaterMarkUrl为准。图片大小限制不超过
|
|
1234
|
+
* 混流-水印图片URL地址,支持png、jpg、jpeg、bmp格式,暂不支持透明通道。URL链接长度限制为512字节。WaterMarkUrl和WaterMarkId参数都填时,以WaterMarkUrl为准。图片大小限制不超过2MB。
|
|
1235
1235
|
*/
|
|
1236
1236
|
WaterMarkUrl?: string;
|
|
1237
1237
|
}
|
|
@@ -4585,6 +4585,11 @@ export interface ContainerGroupDeploy {
|
|
|
4585
4585
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4586
4586
|
*/
|
|
4587
4587
|
KubeInjectEnable: boolean;
|
|
4588
|
+
/**
|
|
4589
|
+
* 仓库类型 (person, tcr)
|
|
4590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4591
|
+
*/
|
|
4592
|
+
RepoType: string;
|
|
4588
4593
|
}
|
|
4589
4594
|
/**
|
|
4590
4595
|
* Tsf命名空间分页对象
|
|
@@ -2347,6 +2347,10 @@ export interface FileDeleteTask {
|
|
|
2347
2347
|
* 删除文件 ID 列表。
|
|
2348
2348
|
*/
|
|
2349
2349
|
FileIdSet: Array<string>;
|
|
2350
|
+
/**
|
|
2351
|
+
* 删除文件结果信息列表。
|
|
2352
|
+
*/
|
|
2353
|
+
FileDeleteResultInfo: Array<FileDeleteResultItem>;
|
|
2350
2354
|
}
|
|
2351
2355
|
/**
|
|
2352
2356
|
* 标签键值。参考[标签](https://cloud.tencent.com/document/product/651)。
|
|
@@ -3682,7 +3686,7 @@ export interface ModifyAIAnalysisTemplateResponse {
|
|
|
3682
3686
|
*/
|
|
3683
3687
|
export interface LiveRealTimeClipRequest {
|
|
3684
3688
|
/**
|
|
3685
|
-
*
|
|
3689
|
+
* 推流直播码。
|
|
3686
3690
|
*/
|
|
3687
3691
|
StreamId: string;
|
|
3688
3692
|
/**
|
|
@@ -7978,6 +7982,20 @@ export interface SegmentConfigureInfo {
|
|
|
7978
7982
|
*/
|
|
7979
7983
|
Switch: string;
|
|
7980
7984
|
}
|
|
7985
|
+
/**
|
|
7986
|
+
* 文件删除结果信息
|
|
7987
|
+
*/
|
|
7988
|
+
export interface FileDeleteResultItem {
|
|
7989
|
+
/**
|
|
7990
|
+
* 删除的文件 ID 。
|
|
7991
|
+
*/
|
|
7992
|
+
FileId: string;
|
|
7993
|
+
/**
|
|
7994
|
+
* 本次删除的文件部分。
|
|
7995
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7996
|
+
*/
|
|
7997
|
+
DeleteParts: Array<MediaDeleteItem>;
|
|
7998
|
+
}
|
|
7981
7999
|
/**
|
|
7982
8000
|
* 对视频按指定时间点截图任务输入参数类型
|
|
7983
8001
|
*/
|
|
@@ -558,6 +558,16 @@ it("antiddos.v20200309.CreateBoundIP", async function () {
|
|
|
558
558
|
}
|
|
559
559
|
})
|
|
560
560
|
|
|
561
|
+
it("antiddos.v20200309.DescribeOverviewDDoSEventList", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.DescribeOverviewDDoSEventList({})
|
|
564
|
+
expect(data).to.be.ok
|
|
565
|
+
} catch(error) {
|
|
566
|
+
expect(error.requestId).to.be.ok
|
|
567
|
+
expect(error.code).to.be.ok
|
|
568
|
+
}
|
|
569
|
+
})
|
|
570
|
+
|
|
561
571
|
it("antiddos.v20200309.CreateDefaultAlarmThreshold", async function () {
|
|
562
572
|
try {
|
|
563
573
|
const data = await client.CreateDefaultAlarmThreshold({})
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.bi.v20220105.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("bi.v20220105.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("bi.v20220105.CreateEmbedToken", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateEmbedToken({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("bi.v20220105.ApplyEmbedInterval", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.ApplyEmbedInterval({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
})
|
|
@@ -68,6 +68,16 @@ it("ckafka.v20190819.DescribeTopicSubscribeGroup", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("ckafka.v20190819.ModifyInstancePre", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyInstancePre({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
71
81
|
it("ckafka.v20190819.BatchModifyTopicAttributes", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.BatchModifyTopicAttributes({})
|
|
@@ -178,16 +178,6 @@ it("gaap.v20180529.DescribeDestRegions", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("gaap.v20180529.DescribeRulesByRuleIds", async function () {
|
|
182
|
-
try {
|
|
183
|
-
const data = await client.DescribeRulesByRuleIds({})
|
|
184
|
-
expect(data).to.be.ok
|
|
185
|
-
} catch(error) {
|
|
186
|
-
expect(error.requestId).to.be.ok
|
|
187
|
-
expect(error.code).to.be.ok
|
|
188
|
-
}
|
|
189
|
-
})
|
|
190
|
-
|
|
191
181
|
it("gaap.v20180529.DescribeProxyGroupList", async function () {
|
|
192
182
|
try {
|
|
193
183
|
const data = await client.DescribeProxyGroupList({})
|
|
@@ -288,6 +278,16 @@ it("gaap.v20180529.DeleteCertificate", async function () {
|
|
|
288
278
|
}
|
|
289
279
|
})
|
|
290
280
|
|
|
281
|
+
it("gaap.v20180529.CreateFirstLinkSession", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.CreateFirstLinkSession({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
291
291
|
it("gaap.v20180529.DescribeAccessRegionsByDestRegion", async function () {
|
|
292
292
|
try {
|
|
293
293
|
const data = await client.DescribeAccessRegionsByDestRegion({})
|
|
@@ -348,9 +348,9 @@ it("gaap.v20180529.CreateHTTPListener", async function () {
|
|
|
348
348
|
}
|
|
349
349
|
})
|
|
350
350
|
|
|
351
|
-
it("gaap.v20180529.
|
|
351
|
+
it("gaap.v20180529.DescribeRulesByRuleIds", async function () {
|
|
352
352
|
try {
|
|
353
|
-
const data = await client.
|
|
353
|
+
const data = await client.DescribeRulesByRuleIds({})
|
|
354
354
|
expect(data).to.be.ok
|
|
355
355
|
} catch(error) {
|
|
356
356
|
expect(error.requestId).to.be.ok
|
|
@@ -398,9 +398,9 @@ it("gaap.v20180529.DescribeRealServerStatistics", async function () {
|
|
|
398
398
|
}
|
|
399
399
|
})
|
|
400
400
|
|
|
401
|
-
it("gaap.v20180529.
|
|
401
|
+
it("gaap.v20180529.DescribeUDPListeners", async function () {
|
|
402
402
|
try {
|
|
403
|
-
const data = await client.
|
|
403
|
+
const data = await client.DescribeUDPListeners({})
|
|
404
404
|
expect(data).to.be.ok
|
|
405
405
|
} catch(error) {
|
|
406
406
|
expect(error.requestId).to.be.ok
|
|
@@ -558,6 +558,16 @@ it("gaap.v20180529.OpenProxies", async function () {
|
|
|
558
558
|
}
|
|
559
559
|
})
|
|
560
560
|
|
|
561
|
+
it("gaap.v20180529.DescribeHTTPListeners", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.DescribeHTTPListeners({})
|
|
564
|
+
expect(data).to.be.ok
|
|
565
|
+
} catch(error) {
|
|
566
|
+
expect(error.requestId).to.be.ok
|
|
567
|
+
expect(error.code).to.be.ok
|
|
568
|
+
}
|
|
569
|
+
})
|
|
570
|
+
|
|
561
571
|
it("gaap.v20180529.ModifyUDPListenerAttribute", async function () {
|
|
562
572
|
try {
|
|
563
573
|
const data = await client.ModifyUDPListenerAttribute({})
|
|
@@ -638,6 +648,26 @@ it("gaap.v20180529.DescribeCertificateDetail", async function () {
|
|
|
638
648
|
}
|
|
639
649
|
})
|
|
640
650
|
|
|
651
|
+
it("gaap.v20180529.DescribeFirstLinkSession", async function () {
|
|
652
|
+
try {
|
|
653
|
+
const data = await client.DescribeFirstLinkSession({})
|
|
654
|
+
expect(data).to.be.ok
|
|
655
|
+
} catch(error) {
|
|
656
|
+
expect(error.requestId).to.be.ok
|
|
657
|
+
expect(error.code).to.be.ok
|
|
658
|
+
}
|
|
659
|
+
})
|
|
660
|
+
|
|
661
|
+
it("gaap.v20180529.DeleteFirstLinkSession", async function () {
|
|
662
|
+
try {
|
|
663
|
+
const data = await client.DeleteFirstLinkSession({})
|
|
664
|
+
expect(data).to.be.ok
|
|
665
|
+
} catch(error) {
|
|
666
|
+
expect(error.requestId).to.be.ok
|
|
667
|
+
expect(error.code).to.be.ok
|
|
668
|
+
}
|
|
669
|
+
})
|
|
670
|
+
|
|
641
671
|
it("gaap.v20180529.DescribeRegionAndPrice", async function () {
|
|
642
672
|
try {
|
|
643
673
|
const data = await client.DescribeRegionAndPrice({})
|