tencentcloud-sdk-nodejs 4.0.232 → 4.0.233
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 +200 -46
- package/package.json +1 -1
- package/products.md +153 -153
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +60 -17
- package/src/services/apigateway/v20180808/apigateway_models.ts +420 -70
- package/src/services/cme/v20191029/cme_models.ts +1 -1
- package/src/services/cvm/v20170312/cvm_client.ts +1 -0
- package/src/services/cvm/v20170312/cvm_models.ts +12 -9
- package/src/services/ecm/v20190719/ecm_models.ts +6 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +46 -9
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +252 -61
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +6 -1
- package/src/services/ocr/v20181119/ocr_client.ts +13 -0
- package/src/services/ocr/v20181119/ocr_models.ts +201 -25
- package/src/services/postgres/v20170312/postgres_models.ts +2 -2
- package/src/services/sms/v20210111/sms_models.ts +8 -6
- package/src/services/tcb/v20180608/tcb_models.ts +6 -1
- package/src/services/tiia/v20190529/tiia_client.ts +1 -0
- package/src/services/tiia/v20190529/tiia_models.ts +29 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +17 -5
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +24 -6
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +354 -60
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +7 -4
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +5 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +15 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +21 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +214 -54
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +5 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +6 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +7 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +171 -25
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +2 -2
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +8 -6
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +5 -1
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +25 -0
- package/test/apigateway.v20180808.test.js +34 -4
- package/test/iotexplorer.v20190423.test.js +32 -2
- package/test/ocr.v20181119.test.js +10 -0
|
@@ -186,7 +186,7 @@ export interface HKIDCardOCRRequest {
|
|
|
186
186
|
/**
|
|
187
187
|
* 图片的 Base64 值。
|
|
188
188
|
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
189
|
-
支持的图片大小:所下载图片经Base64编码后不超过
|
|
189
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
190
190
|
*/
|
|
191
191
|
ImageBase64?: string
|
|
192
192
|
|
|
@@ -2385,42 +2385,42 @@ export interface IDCardOCRResponse {
|
|
|
2385
2385
|
/**
|
|
2386
2386
|
* 姓名(人像面)
|
|
2387
2387
|
*/
|
|
2388
|
-
Name
|
|
2388
|
+
Name: string
|
|
2389
2389
|
|
|
2390
2390
|
/**
|
|
2391
2391
|
* 性别(人像面)
|
|
2392
2392
|
*/
|
|
2393
|
-
Sex
|
|
2393
|
+
Sex: string
|
|
2394
2394
|
|
|
2395
2395
|
/**
|
|
2396
2396
|
* 民族(人像面)
|
|
2397
2397
|
*/
|
|
2398
|
-
Nation
|
|
2398
|
+
Nation: string
|
|
2399
2399
|
|
|
2400
2400
|
/**
|
|
2401
2401
|
* 出生日期(人像面)
|
|
2402
2402
|
*/
|
|
2403
|
-
Birth
|
|
2403
|
+
Birth: string
|
|
2404
2404
|
|
|
2405
2405
|
/**
|
|
2406
2406
|
* 地址(人像面)
|
|
2407
2407
|
*/
|
|
2408
|
-
Address
|
|
2408
|
+
Address: string
|
|
2409
2409
|
|
|
2410
2410
|
/**
|
|
2411
2411
|
* 身份证号(人像面)
|
|
2412
2412
|
*/
|
|
2413
|
-
IdNum
|
|
2413
|
+
IdNum: string
|
|
2414
2414
|
|
|
2415
2415
|
/**
|
|
2416
2416
|
* 发证机关(国徽面)
|
|
2417
2417
|
*/
|
|
2418
|
-
Authority
|
|
2418
|
+
Authority: string
|
|
2419
2419
|
|
|
2420
2420
|
/**
|
|
2421
2421
|
* 证件有效期(国徽面)
|
|
2422
2422
|
*/
|
|
2423
|
-
ValidDate
|
|
2423
|
+
ValidDate: string
|
|
2424
2424
|
|
|
2425
2425
|
/**
|
|
2426
2426
|
* 扩展信息,不请求则不返回,具体输入参考示例3和示例4。
|
|
@@ -2428,7 +2428,7 @@ IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时
|
|
|
2428
2428
|
Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;
|
|
2429
2429
|
|
|
2430
2430
|
Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0~100,分数越低越模糊,建议阈值≥50);
|
|
2431
|
-
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0~100
|
|
2431
|
+
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0~100,分数越低边框遮挡可能性越低,建议阈值≤50);
|
|
2432
2432
|
|
|
2433
2433
|
WarnInfos,告警信息,Code 告警码列表和释义:
|
|
2434
2434
|
-9100 身份证有效日期不合法告警,
|
|
@@ -2440,7 +2440,7 @@ WarnInfos,告警信息,Code 告警码列表和释义:
|
|
|
2440
2440
|
-9106 身份证 PS 告警,
|
|
2441
2441
|
-9107 身份证反光告警。
|
|
2442
2442
|
*/
|
|
2443
|
-
AdvancedInfo
|
|
2443
|
+
AdvancedInfo: string
|
|
2444
2444
|
|
|
2445
2445
|
/**
|
|
2446
2446
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2567,27 +2567,27 @@ export interface HKIDCardOCRResponse {
|
|
|
2567
2567
|
/**
|
|
2568
2568
|
* 中文姓名
|
|
2569
2569
|
*/
|
|
2570
|
-
CnName
|
|
2570
|
+
CnName: string
|
|
2571
2571
|
|
|
2572
2572
|
/**
|
|
2573
2573
|
* 英文姓名
|
|
2574
2574
|
*/
|
|
2575
|
-
EnName
|
|
2575
|
+
EnName: string
|
|
2576
2576
|
|
|
2577
2577
|
/**
|
|
2578
2578
|
* 中文姓名对应电码
|
|
2579
2579
|
*/
|
|
2580
|
-
TelexCode
|
|
2580
|
+
TelexCode: string
|
|
2581
2581
|
|
|
2582
2582
|
/**
|
|
2583
2583
|
* 性别 :“男M”或“女F”
|
|
2584
2584
|
*/
|
|
2585
|
-
Sex
|
|
2585
|
+
Sex: string
|
|
2586
2586
|
|
|
2587
2587
|
/**
|
|
2588
2588
|
* 出生日期
|
|
2589
2589
|
*/
|
|
2590
|
-
Birthday
|
|
2590
|
+
Birthday: string
|
|
2591
2591
|
|
|
2592
2592
|
/**
|
|
2593
2593
|
* 永久性居民身份证。
|
|
@@ -2595,27 +2595,27 @@ export interface HKIDCardOCRResponse {
|
|
|
2595
2595
|
1:永久;
|
|
2596
2596
|
-1:未知。
|
|
2597
2597
|
*/
|
|
2598
|
-
Permanent
|
|
2598
|
+
Permanent: number
|
|
2599
2599
|
|
|
2600
2600
|
/**
|
|
2601
2601
|
* 身份证号码
|
|
2602
2602
|
*/
|
|
2603
|
-
IdNum
|
|
2603
|
+
IdNum: string
|
|
2604
2604
|
|
|
2605
2605
|
/**
|
|
2606
2606
|
* 证件符号,出生日期下的符号,例如"***AZ"
|
|
2607
2607
|
*/
|
|
2608
|
-
Symbol
|
|
2608
|
+
Symbol: string
|
|
2609
2609
|
|
|
2610
2610
|
/**
|
|
2611
2611
|
* 首次签发日期
|
|
2612
2612
|
*/
|
|
2613
|
-
FirstIssueDate
|
|
2613
|
+
FirstIssueDate: string
|
|
2614
2614
|
|
|
2615
2615
|
/**
|
|
2616
2616
|
* 最近领用日期
|
|
2617
2617
|
*/
|
|
2618
|
-
CurrentIssueDate
|
|
2618
|
+
CurrentIssueDate: string
|
|
2619
2619
|
|
|
2620
2620
|
/**
|
|
2621
2621
|
* 真假判断。
|
|
@@ -2624,13 +2624,13 @@ export interface HKIDCardOCRResponse {
|
|
|
2624
2624
|
2:真。
|
|
2625
2625
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2626
2626
|
*/
|
|
2627
|
-
FakeDetectResult
|
|
2627
|
+
FakeDetectResult: number
|
|
2628
2628
|
|
|
2629
2629
|
/**
|
|
2630
2630
|
* 人像照片Base64后的结果
|
|
2631
2631
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2632
2632
|
*/
|
|
2633
|
-
HeadImage
|
|
2633
|
+
HeadImage: string
|
|
2634
2634
|
|
|
2635
2635
|
/**
|
|
2636
2636
|
* 多重告警码,当身份证是翻拍、复印、PS件时返回对应告警码。
|
|
@@ -2639,7 +2639,7 @@ export interface HKIDCardOCRResponse {
|
|
|
2639
2639
|
-9104:证照PS告警
|
|
2640
2640
|
-9105:证照防伪告警
|
|
2641
2641
|
*/
|
|
2642
|
-
WarningCode
|
|
2642
|
+
WarningCode: Array<number>
|
|
2643
2643
|
|
|
2644
2644
|
/**
|
|
2645
2645
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2778,6 +2778,28 @@ export interface PropOwnerCertOCRRequest {
|
|
|
2778
2778
|
ImageUrl?: string
|
|
2779
2779
|
}
|
|
2780
2780
|
|
|
2781
|
+
/**
|
|
2782
|
+
* RecognizeContainerOCR请求参数结构体
|
|
2783
|
+
*/
|
|
2784
|
+
export interface RecognizeContainerOCRRequest {
|
|
2785
|
+
/**
|
|
2786
|
+
* 图片的 Base64 值。
|
|
2787
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
2788
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
2789
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
2790
|
+
*/
|
|
2791
|
+
ImageBase64?: string
|
|
2792
|
+
|
|
2793
|
+
/**
|
|
2794
|
+
* 图片的 Url 地址。
|
|
2795
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
2796
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
2797
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
2798
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
2799
|
+
*/
|
|
2800
|
+
ImageUrl?: string
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2781
2803
|
/**
|
|
2782
2804
|
* TextDetect请求参数结构体
|
|
2783
2805
|
*/
|
|
@@ -2840,11 +2862,18 @@ export interface VatInvoiceVerifyRequest {
|
|
|
2840
2862
|
InvoiceDate: string
|
|
2841
2863
|
|
|
2842
2864
|
/**
|
|
2843
|
-
*
|
|
2865
|
+
* 根据票种传递对应值,如果报参数错误,请仔细检查每个票种对应的值
|
|
2866
|
+
|
|
2844
2867
|
增值税专用发票:开具金额(不含税)
|
|
2868
|
+
|
|
2845
2869
|
增值税普通发票、增值税电子普通发票(含通行费发票)、增值税普通发票(卷票):校验码后6位
|
|
2870
|
+
|
|
2871
|
+
区块链发票:不含税金额/校验码,例如:“285.01/856ab”
|
|
2872
|
+
|
|
2846
2873
|
机动车销售统一发票:不含税价
|
|
2874
|
+
|
|
2847
2875
|
货物运输业增值税专用发票:合计金额
|
|
2876
|
+
|
|
2848
2877
|
二手车销售统一发票:车价合计
|
|
2849
2878
|
*/
|
|
2850
2879
|
Additional: string
|
|
@@ -4792,6 +4821,86 @@ export interface ResidenceBookletOCRResponse {
|
|
|
4792
4821
|
*/
|
|
4793
4822
|
Address: string
|
|
4794
4823
|
|
|
4824
|
+
/**
|
|
4825
|
+
* 承办人签章文字
|
|
4826
|
+
*/
|
|
4827
|
+
Signature: string
|
|
4828
|
+
|
|
4829
|
+
/**
|
|
4830
|
+
* 签发日期
|
|
4831
|
+
*/
|
|
4832
|
+
IssueDate: string
|
|
4833
|
+
|
|
4834
|
+
/**
|
|
4835
|
+
* 户主页编号
|
|
4836
|
+
*/
|
|
4837
|
+
HomePageNumber: string
|
|
4838
|
+
|
|
4839
|
+
/**
|
|
4840
|
+
* 户主姓名
|
|
4841
|
+
*/
|
|
4842
|
+
HouseholderName: string
|
|
4843
|
+
|
|
4844
|
+
/**
|
|
4845
|
+
* 户主或与户主关系
|
|
4846
|
+
*/
|
|
4847
|
+
Relationship: string
|
|
4848
|
+
|
|
4849
|
+
/**
|
|
4850
|
+
* 本市(县)其他住址
|
|
4851
|
+
*/
|
|
4852
|
+
OtherAddresses: string
|
|
4853
|
+
|
|
4854
|
+
/**
|
|
4855
|
+
* 宗教信仰
|
|
4856
|
+
*/
|
|
4857
|
+
ReligiousBelief: string
|
|
4858
|
+
|
|
4859
|
+
/**
|
|
4860
|
+
* 身高
|
|
4861
|
+
*/
|
|
4862
|
+
Height: string
|
|
4863
|
+
|
|
4864
|
+
/**
|
|
4865
|
+
* 血型
|
|
4866
|
+
*/
|
|
4867
|
+
BloodType: string
|
|
4868
|
+
|
|
4869
|
+
/**
|
|
4870
|
+
* 婚姻状况
|
|
4871
|
+
*/
|
|
4872
|
+
MaritalStatus: string
|
|
4873
|
+
|
|
4874
|
+
/**
|
|
4875
|
+
* 兵役状况
|
|
4876
|
+
*/
|
|
4877
|
+
VeteranStatus: string
|
|
4878
|
+
|
|
4879
|
+
/**
|
|
4880
|
+
* 职业
|
|
4881
|
+
*/
|
|
4882
|
+
Profession: string
|
|
4883
|
+
|
|
4884
|
+
/**
|
|
4885
|
+
* 何时由何地迁来本市(县)
|
|
4886
|
+
*/
|
|
4887
|
+
MoveToCityInformation: string
|
|
4888
|
+
|
|
4889
|
+
/**
|
|
4890
|
+
* 何时由何地迁来本址
|
|
4891
|
+
*/
|
|
4892
|
+
MoveToSiteInformation: string
|
|
4893
|
+
|
|
4894
|
+
/**
|
|
4895
|
+
* 登记日期
|
|
4896
|
+
*/
|
|
4897
|
+
RegistrationDate: string
|
|
4898
|
+
|
|
4899
|
+
/**
|
|
4900
|
+
* 曾用名
|
|
4901
|
+
*/
|
|
4902
|
+
FormerName: string
|
|
4903
|
+
|
|
4795
4904
|
/**
|
|
4796
4905
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4797
4906
|
*/
|
|
@@ -5598,6 +5707,73 @@ export interface CandWord {
|
|
|
5598
5707
|
CandWords: Array<Words>
|
|
5599
5708
|
}
|
|
5600
5709
|
|
|
5710
|
+
/**
|
|
5711
|
+
* RecognizeContainerOCR返回参数结构体
|
|
5712
|
+
*/
|
|
5713
|
+
export interface RecognizeContainerOCRResponse {
|
|
5714
|
+
/**
|
|
5715
|
+
* 集装箱箱号
|
|
5716
|
+
*/
|
|
5717
|
+
ContainerId?: string
|
|
5718
|
+
|
|
5719
|
+
/**
|
|
5720
|
+
* 集装箱类型
|
|
5721
|
+
*/
|
|
5722
|
+
ContainerType?: string
|
|
5723
|
+
|
|
5724
|
+
/**
|
|
5725
|
+
* 集装箱总重量,单位:千克(KG)
|
|
5726
|
+
*/
|
|
5727
|
+
GrossKG?: string
|
|
5728
|
+
|
|
5729
|
+
/**
|
|
5730
|
+
* 集装箱总重量,单位:磅(LB)
|
|
5731
|
+
*/
|
|
5732
|
+
GrossLB?: string
|
|
5733
|
+
|
|
5734
|
+
/**
|
|
5735
|
+
* 集装箱有效承重,单位:千克(KG)
|
|
5736
|
+
*/
|
|
5737
|
+
PayloadKG?: string
|
|
5738
|
+
|
|
5739
|
+
/**
|
|
5740
|
+
* 集装箱有效承重,单位:磅(LB)
|
|
5741
|
+
*/
|
|
5742
|
+
PayloadLB?: string
|
|
5743
|
+
|
|
5744
|
+
/**
|
|
5745
|
+
* 集装箱容量,单位:立方米
|
|
5746
|
+
*/
|
|
5747
|
+
CapacityM3?: string
|
|
5748
|
+
|
|
5749
|
+
/**
|
|
5750
|
+
* 集装箱容量,单位:立英尺
|
|
5751
|
+
*/
|
|
5752
|
+
CapacityFT3?: string
|
|
5753
|
+
|
|
5754
|
+
/**
|
|
5755
|
+
* 告警码
|
|
5756
|
+
-9926 集装箱箱号不完整或者不清晰
|
|
5757
|
+
-9927 集装箱类型不完整或者不清晰
|
|
5758
|
+
*/
|
|
5759
|
+
Warn?: Array<number>
|
|
5760
|
+
|
|
5761
|
+
/**
|
|
5762
|
+
* 集装箱自身重量,单位:千克(KG)
|
|
5763
|
+
*/
|
|
5764
|
+
TareKG?: string
|
|
5765
|
+
|
|
5766
|
+
/**
|
|
5767
|
+
* 集装箱自身重量,单位:磅(LB)
|
|
5768
|
+
*/
|
|
5769
|
+
TareLB?: string
|
|
5770
|
+
|
|
5771
|
+
/**
|
|
5772
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5773
|
+
*/
|
|
5774
|
+
RequestId?: string
|
|
5775
|
+
}
|
|
5776
|
+
|
|
5601
5777
|
/**
|
|
5602
5778
|
* 企业证照单个字段的内容
|
|
5603
5779
|
*/
|
|
@@ -1059,12 +1059,12 @@ export interface ModifyDBInstanceSpecRequest {
|
|
|
1059
1059
|
DBInstanceId: string
|
|
1060
1060
|
|
|
1061
1061
|
/**
|
|
1062
|
-
*
|
|
1062
|
+
* 修改后的实例内存大小,单位GiB。
|
|
1063
1063
|
*/
|
|
1064
1064
|
Memory: number
|
|
1065
1065
|
|
|
1066
1066
|
/**
|
|
1067
|
-
*
|
|
1067
|
+
* 修改后的实例磁盘大小,单位GiB。
|
|
1068
1068
|
*/
|
|
1069
1069
|
Storage: number
|
|
1070
1070
|
|
|
@@ -76,12 +76,13 @@ export interface ModifySmsSignRequest {
|
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
78
|
* 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
|
79
|
-
0:公司,可选 DocumentType 有(0,1
|
|
79
|
+
0:公司,可选 DocumentType 有(0,1)。
|
|
80
80
|
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
|
81
81
|
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
|
82
|
-
3
|
|
82
|
+
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
|
83
83
|
4:商标,可选 DocumentType 有(7)。
|
|
84
84
|
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
|
85
|
+
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
|
85
86
|
注:必须按照对应关系选择证明类型,否则会审核失败。
|
|
86
87
|
*/
|
|
87
88
|
SignType: number
|
|
@@ -96,7 +97,7 @@ export interface ModifySmsSignRequest {
|
|
|
96
97
|
5:网站备案后台截图(个人开发网站)。
|
|
97
98
|
6:小程序设置页面截图(个人认证小程序)。
|
|
98
99
|
7:商标注册书。
|
|
99
|
-
|
|
100
|
+
8:公众号设置页面截图(个人认证公众号)。
|
|
100
101
|
*/
|
|
101
102
|
DocumentType: number
|
|
102
103
|
|
|
@@ -177,12 +178,13 @@ export interface AddSmsSignRequest {
|
|
|
177
178
|
|
|
178
179
|
/**
|
|
179
180
|
* 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
|
180
|
-
0:公司,可选 DocumentType 有(0,1
|
|
181
|
+
0:公司,可选 DocumentType 有(0,1)。
|
|
181
182
|
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
|
182
183
|
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
|
183
|
-
3
|
|
184
|
+
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
|
184
185
|
4:商标,可选 DocumentType 有(7)。
|
|
185
186
|
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
|
187
|
+
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
|
186
188
|
注:必须按照对应关系选择证明类型,否则会审核失败。
|
|
187
189
|
*/
|
|
188
190
|
SignType: number
|
|
@@ -197,7 +199,7 @@ export interface AddSmsSignRequest {
|
|
|
197
199
|
5:网站备案后台截图(个人开发网站)。
|
|
198
200
|
6:小程序设置页面截图(个人认证小程序)。
|
|
199
201
|
7:商标注册书。
|
|
200
|
-
|
|
202
|
+
8:公众号设置页面截图(个人认证公众号)。
|
|
201
203
|
*/
|
|
202
204
|
DocumentType: number
|
|
203
205
|
|
|
@@ -2661,7 +2661,7 @@ export interface DescribeCloudBaseRunOneClickTaskExternalResponse {
|
|
|
2661
2661
|
ExternalId: string
|
|
2662
2662
|
|
|
2663
2663
|
/**
|
|
2664
|
-
*
|
|
2664
|
+
* 弃用
|
|
2665
2665
|
*/
|
|
2666
2666
|
EnvId: string
|
|
2667
2667
|
|
|
@@ -2707,6 +2707,11 @@ finished
|
|
|
2707
2707
|
*/
|
|
2708
2708
|
FailReason: string
|
|
2709
2709
|
|
|
2710
|
+
/**
|
|
2711
|
+
* 用户envId
|
|
2712
|
+
*/
|
|
2713
|
+
UserEnvId: string
|
|
2714
|
+
|
|
2710
2715
|
/**
|
|
2711
2716
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2712
2717
|
*/
|
|
@@ -492,6 +492,12 @@ export interface ProductInfo {
|
|
|
492
492
|
* 搜索到的商品配图URL。
|
|
493
493
|
*/
|
|
494
494
|
Image: string
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* 百科词条列表
|
|
498
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
499
|
+
*/
|
|
500
|
+
LemmaInfoList: Array<LemmaInfo>
|
|
495
501
|
}
|
|
496
502
|
|
|
497
503
|
/**
|
|
@@ -1285,6 +1291,29 @@ export interface Threshold {
|
|
|
1285
1291
|
FalseRate1Permil: number
|
|
1286
1292
|
}
|
|
1287
1293
|
|
|
1294
|
+
/**
|
|
1295
|
+
* 百科词条信息
|
|
1296
|
+
*/
|
|
1297
|
+
export interface LemmaInfo {
|
|
1298
|
+
/**
|
|
1299
|
+
* 词条
|
|
1300
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1301
|
+
*/
|
|
1302
|
+
LemmaTitle: string
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* 词条描述
|
|
1306
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1307
|
+
*/
|
|
1308
|
+
LemmaAbstract: string
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* 标签
|
|
1312
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1313
|
+
*/
|
|
1314
|
+
Tag: string
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1288
1317
|
/**
|
|
1289
1318
|
* DescribeImages返回参数结构体
|
|
1290
1319
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.233";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { UnBindSubDomainResponse, UpdateApiKeyRequest, DeleteAPIDocRequest, DescribeAPIDocDetailRequest, ModifyAPIDocResponse, DescribeUsagePlanRequest, DeleteUsagePlanResponse, DisableApiKeyResponse, DescribeApiResponse, UnReleaseServiceRequest, DetachPluginRequest, ModifySubDomainRequest, DescribeApiAppsStatusRequest, DescribeServiceUsagePlanRequest, DescribeServiceEnvironmentListResponse, DescribeApiAppBindApisStatusRequest, ModifyApiResponse, CreateIPStrategyRequest, DescribeUsagePlansStatusResponse, UnbindApiAppResponse, DescribeApiUsagePlanResponse, DeleteIPStrategyRequest, DescribeApiAppRequest, DescribePluginResponse, DeleteUsagePlanRequest, DeleteServiceRequest, DescribeApiEnvironmentStrategyRequest, DescribeServiceForApiAppResponse, DeleteApiAppResponse, DescribeServiceResponse,
|
|
3
|
+
import { UnBindSubDomainResponse, UpdateApiKeyRequest, DeleteAPIDocRequest, DescribeAPIDocDetailRequest, ModifyAPIDocResponse, DescribeUsagePlanRequest, DeleteUsagePlanResponse, DisableApiKeyResponse, DescribeApiResponse, UnReleaseServiceRequest, DetachPluginRequest, ModifySubDomainRequest, DescribeApiAppsStatusRequest, DescribeServiceUsagePlanRequest, DescribeServiceEnvironmentListResponse, DescribeApiAppBindApisStatusRequest, ModifyApiResponse, CreateIPStrategyRequest, DescribeUsagePlansStatusResponse, UnbindApiAppResponse, DescribeApiUsagePlanResponse, DeleteIPStrategyRequest, DescribeApiAppRequest, DescribePluginResponse, DescribeExclusiveInstancesResponse, DeleteUsagePlanRequest, DeleteServiceRequest, DescribeApiEnvironmentStrategyRequest, DescribeServiceForApiAppResponse, DeleteApiAppResponse, DescribeServiceResponse, DescribeExclusiveInstancesRequest, BindSubDomainResponse, BindEnvironmentResponse, DescribeExclusiveInstanceDetailResponse, DescribeApiBindApiAppsStatusResponse, DescribeApiForApiAppRequest, ModifyServiceResponse, DisableApiKeyRequest, UnBindIPStrategyResponse, DescribeExclusiveInstanceDetailRequest, ModifyPluginRequest, BindIPStrategyResponse, DescribeApisStatusRequest, DeleteServiceSubDomainMappingRequest, BindApiAppRequest, DescribeIPStrategyResponse, DescribePluginRequest, CreateApiResponse, DescribeIPStrategyApisStatusRequest, ModifyIPStrategyResponse, ModifyApiEnvironmentStrategyRequest, ModifyUsagePlanResponse, CreateUsagePlanResponse, DeletePluginRequest, DeleteApiKeyResponse, ModifyExclusiveInstanceRequest, DescribeServiceReleaseVersionRequest, DescribeUsagePlanSecretIdsRequest, DescribeLogSearchResponse, ModifyAPIDocRequest, UnBindIPStrategyRequest, DescribePluginApisRequest, CreateServiceRequest, DescribeIPStrategysStatusRequest, DemoteServiceUsagePlanResponse, EnableApiKeyResponse, DeleteApiAppRequest, UnReleaseServiceResponse, CreateAPIDocResponse, DescribeServiceRequest, CreateUsagePlanRequest, DescribeUsagePlanSecretIdsResponse, CreatePluginRequest, ModifySubDomainResponse, DescribePluginsRequest, BindSecretIdsRequest, DeleteApiKeyRequest, ModifyApiEnvironmentStrategyResponse, ModifyApiAppResponse, UpdateApiAppKeyRequest, DescribeApiKeyResponse, ModifyApiIncrementResponse, ModifyApiRequest, DescribeAllPluginApisResponse, ModifyUsagePlanRequest, ModifyServiceRequest, DescribeAllPluginApisRequest, CreateApiRequest, DescribeServiceEnvironmentStrategyRequest, ReleaseServiceRequest, DeleteServiceResponse, DescribeServiceEnvironmentReleaseHistoryResponse, DescribeAPIDocsRequest, CreatePluginResponse, ModifyExclusiveInstanceResponse, DescribePluginsResponse, ReleaseServiceResponse, DescribePluginApisResponse, ModifyApiIncrementRequest, GenerateApiDocumentRequest, DescribeIPStrategyApisStatusResponse, ModifyServiceEnvironmentStrategyResponse, UpdateApiKeyResponse, DescribeApiBindApiAppsStatusRequest, DescribeApisStatusResponse, DescribeApiKeysStatusRequest, DemoteServiceUsagePlanRequest, BindSecretIdsResponse, DeleteApiRequest, DescribeServiceSubDomainMappingsRequest, DescribeApiAppResponse, DescribeServiceSubDomainMappingsResponse, DescribeApiAppsStatusResponse, DescribeApiKeyRequest, DescribeAPIDocDetailResponse, BindApiAppResponse, DeleteServiceSubDomainMappingResponse, CreateApiKeyResponse, DescribeUsagePlansStatusRequest, ModifyIPStrategyRequest, ModifyPluginResponse, UnBindSecretIdsRequest, DescribeApiRequest, UnBindSecretIdsResponse, ResetAPIDocPasswordRequest, BuildAPIDocRequest, DescribeAPIDocsResponse, DetachPluginResponse, DeletePluginResponse, ModifyServiceEnvironmentStrategyRequest, CreateAPIDocRequest, DescribeApiAppBindApisStatusResponse, DescribeServiceSubDomainsRequest, ModifyApiAppRequest, GenerateApiDocumentResponse, DescribeUsagePlanEnvironmentsResponse, DescribeServiceSubDomainsResponse, AttachPluginRequest, DescribeServiceForApiAppRequest, BindSubDomainRequest, CreateIPStrategyResponse, UnBindEnvironmentResponse, DeleteApiResponse, BindIPStrategyRequest, UpdateServiceRequest, BuildAPIDocResponse, DescribeServiceEnvironmentListRequest, DescribeApiEnvironmentStrategyResponse, DeleteIPStrategyResponse, DescribeUsagePlanResponse, UnBindEnvironmentRequest, AttachPluginResponse, BindEnvironmentRequest, DescribeIPStrategyRequest, DescribeApiForApiAppResponse, DescribeUsagePlanEnvironmentsRequest, DescribeServiceReleaseVersionResponse, UpdateServiceResponse, DescribeServiceEnvironmentReleaseHistoryRequest, UnbindApiAppRequest, CreateServiceResponse, DeleteAPIDocResponse, DescribeServiceEnvironmentStrategyResponse, DescribeApiKeysStatusResponse, DescribeLogSearchRequest, DescribeServiceUsagePlanResponse, CreateApiAppResponse, DescribeApiUsagePlanRequest, UnBindSubDomainRequest, DescribeIPStrategysStatusResponse, UpdateApiAppKeyResponse, CreateApiAppRequest, EnableApiKeyRequest, ResetAPIDocPasswordResponse, DescribeServicesStatusRequest, DescribeServicesStatusResponse, CreateApiKeyRequest } from "./apigateway_models";
|
|
4
4
|
/**
|
|
5
5
|
* apigateway client
|
|
6
6
|
* @class
|
|
@@ -142,9 +142,9 @@ API 网关可绑定自定义域名到服务,并且可以对自定义域名的
|
|
|
142
142
|
*/
|
|
143
143
|
DeleteApi(req: DeleteApiRequest, cb?: (error: string, rep: DeleteApiResponse) => void): Promise<DeleteApiResponse>;
|
|
144
144
|
/**
|
|
145
|
-
* 本接口(
|
|
145
|
+
* 本接口(UpdateApiAppKey)用于更新应用秘钥。
|
|
146
146
|
*/
|
|
147
|
-
|
|
147
|
+
UpdateApiAppKey(req: UpdateApiAppKeyRequest, cb?: (error: string, rep: UpdateApiAppKeyResponse) => void): Promise<UpdateApiAppKeyResponse>;
|
|
148
148
|
/**
|
|
149
149
|
* 本接口(ModifyUsagePlan)用于修改使用计划的名称,描述及 QPS。
|
|
150
150
|
*/
|
|
@@ -192,6 +192,10 @@ API 网关可绑定自定义域名到服务,并且可以对自定义域名的
|
|
|
192
192
|
* 本接口(ModifyService)用于修改服务的相关信息。当服务创建后,服务的名称、描述和服务类型均可被修改。
|
|
193
193
|
*/
|
|
194
194
|
ModifyService(req: ModifyServiceRequest, cb?: (error: string, rep: ModifyServiceResponse) => void): Promise<ModifyServiceResponse>;
|
|
195
|
+
/**
|
|
196
|
+
* 本接口(DescribeExclusiveInstances)用于查询独享实例列表信息。
|
|
197
|
+
*/
|
|
198
|
+
DescribeExclusiveInstances(req: DescribeExclusiveInstancesRequest, cb?: (error: string, rep: DescribeExclusiveInstancesResponse) => void): Promise<DescribeExclusiveInstancesResponse>;
|
|
195
199
|
/**
|
|
196
200
|
* 本接口(DescribeService)用于查询一个服务的详细信息、包括服务的描述、域名、协议、创建时间、发布情况等信息。
|
|
197
201
|
*/
|
|
@@ -212,6 +216,10 @@ API 网关可绑定自定义域名到服务,并且可以对自定义域名的
|
|
|
212
216
|
* 本接口(CreateApi)用于创建 API 接口,创建 API 前,用户需要先创建服务,每个 API 都有自己归属的服务。
|
|
213
217
|
*/
|
|
214
218
|
CreateApi(req: CreateApiRequest, cb?: (error: string, rep: CreateApiResponse) => void): Promise<CreateApiResponse>;
|
|
219
|
+
/**
|
|
220
|
+
* 本接口(DescribeExclusiveInstanceDetail)用于查询独享实例详情信息。
|
|
221
|
+
*/
|
|
222
|
+
DescribeExclusiveInstanceDetail(req: DescribeExclusiveInstanceDetailRequest, cb?: (error: string, rep: DescribeExclusiveInstanceDetailResponse) => void): Promise<DescribeExclusiveInstanceDetailResponse>;
|
|
215
223
|
/**
|
|
216
224
|
* 绑定插件到API上。
|
|
217
225
|
*/
|
|
@@ -249,6 +257,10 @@ API 网关可绑定自定义域名到服务,并且可以对自定义域名的
|
|
|
249
257
|
* 本接口(ModifyServiceEnvironmentStrategy)用于修改服务限流策略
|
|
250
258
|
*/
|
|
251
259
|
ModifyServiceEnvironmentStrategy(req: ModifyServiceEnvironmentStrategyRequest, cb?: (error: string, rep: ModifyServiceEnvironmentStrategyResponse) => void): Promise<ModifyServiceEnvironmentStrategyResponse>;
|
|
260
|
+
/**
|
|
261
|
+
* 本接口(ModifyExclusiveInstance)用于修改独享实例信息。
|
|
262
|
+
*/
|
|
263
|
+
ModifyExclusiveInstance(req: ModifyExclusiveInstanceRequest, cb?: (error: string, rep: ModifyExclusiveInstanceResponse) => void): Promise<ModifyExclusiveInstanceResponse>;
|
|
252
264
|
/**
|
|
253
265
|
* 本接口(DescribeUsagePlanEnvironments)用于查询使用计划绑定的环境列表。
|
|
254
266
|
用户在绑定了某个使用计划到环境后,可使用本接口查询这个使用计划绑定的所有服务的环境。
|
|
@@ -345,9 +357,9 @@ API 网关可绑定自定义域名到服务,用于服务调用。此接口用
|
|
|
345
357
|
*/
|
|
346
358
|
BindIPStrategy(req: BindIPStrategyRequest, cb?: (error: string, rep: BindIPStrategyResponse) => void): Promise<BindIPStrategyResponse>;
|
|
347
359
|
/**
|
|
348
|
-
* 本接口(
|
|
360
|
+
* 本接口(EnableApiKey)用于启动一对被禁用的 API 密钥。
|
|
349
361
|
*/
|
|
350
|
-
|
|
362
|
+
EnableApiKey(req: EnableApiKeyRequest, cb?: (error: string, rep: EnableApiKeyResponse) => void): Promise<EnableApiKeyResponse>;
|
|
351
363
|
/**
|
|
352
364
|
* 本接口(CreateIPStrategy)用于创建服务IP策略。
|
|
353
365
|
*/
|
|
@@ -226,10 +226,10 @@ API 网关可绑定自定义域名到服务,并且可以对自定义域名的
|
|
|
226
226
|
return this.request("DeleteApi", req, cb);
|
|
227
227
|
}
|
|
228
228
|
/**
|
|
229
|
-
* 本接口(
|
|
229
|
+
* 本接口(UpdateApiAppKey)用于更新应用秘钥。
|
|
230
230
|
*/
|
|
231
|
-
async
|
|
232
|
-
return this.request("
|
|
231
|
+
async UpdateApiAppKey(req, cb) {
|
|
232
|
+
return this.request("UpdateApiAppKey", req, cb);
|
|
233
233
|
}
|
|
234
234
|
/**
|
|
235
235
|
* 本接口(ModifyUsagePlan)用于修改使用计划的名称,描述及 QPS。
|
|
@@ -300,6 +300,12 @@ API 网关可绑定自定义域名到服务,并且可以对自定义域名的
|
|
|
300
300
|
async ModifyService(req, cb) {
|
|
301
301
|
return this.request("ModifyService", req, cb);
|
|
302
302
|
}
|
|
303
|
+
/**
|
|
304
|
+
* 本接口(DescribeExclusiveInstances)用于查询独享实例列表信息。
|
|
305
|
+
*/
|
|
306
|
+
async DescribeExclusiveInstances(req, cb) {
|
|
307
|
+
return this.request("DescribeExclusiveInstances", req, cb);
|
|
308
|
+
}
|
|
303
309
|
/**
|
|
304
310
|
* 本接口(DescribeService)用于查询一个服务的详细信息、包括服务的描述、域名、协议、创建时间、发布情况等信息。
|
|
305
311
|
*/
|
|
@@ -330,6 +336,12 @@ API 网关可绑定自定义域名到服务,并且可以对自定义域名的
|
|
|
330
336
|
async CreateApi(req, cb) {
|
|
331
337
|
return this.request("CreateApi", req, cb);
|
|
332
338
|
}
|
|
339
|
+
/**
|
|
340
|
+
* 本接口(DescribeExclusiveInstanceDetail)用于查询独享实例详情信息。
|
|
341
|
+
*/
|
|
342
|
+
async DescribeExclusiveInstanceDetail(req, cb) {
|
|
343
|
+
return this.request("DescribeExclusiveInstanceDetail", req, cb);
|
|
344
|
+
}
|
|
333
345
|
/**
|
|
334
346
|
* 绑定插件到API上。
|
|
335
347
|
*/
|
|
@@ -385,6 +397,12 @@ API 网关可绑定自定义域名到服务,并且可以对自定义域名的
|
|
|
385
397
|
async ModifyServiceEnvironmentStrategy(req, cb) {
|
|
386
398
|
return this.request("ModifyServiceEnvironmentStrategy", req, cb);
|
|
387
399
|
}
|
|
400
|
+
/**
|
|
401
|
+
* 本接口(ModifyExclusiveInstance)用于修改独享实例信息。
|
|
402
|
+
*/
|
|
403
|
+
async ModifyExclusiveInstance(req, cb) {
|
|
404
|
+
return this.request("ModifyExclusiveInstance", req, cb);
|
|
405
|
+
}
|
|
388
406
|
/**
|
|
389
407
|
* 本接口(DescribeUsagePlanEnvironments)用于查询使用计划绑定的环境列表。
|
|
390
408
|
用户在绑定了某个使用计划到环境后,可使用本接口查询这个使用计划绑定的所有服务的环境。
|
|
@@ -523,10 +541,10 @@ API 网关可绑定自定义域名到服务,用于服务调用。此接口用
|
|
|
523
541
|
return this.request("BindIPStrategy", req, cb);
|
|
524
542
|
}
|
|
525
543
|
/**
|
|
526
|
-
* 本接口(
|
|
544
|
+
* 本接口(EnableApiKey)用于启动一对被禁用的 API 密钥。
|
|
527
545
|
*/
|
|
528
|
-
async
|
|
529
|
-
return this.request("
|
|
546
|
+
async EnableApiKey(req, cb) {
|
|
547
|
+
return this.request("EnableApiKey", req, cb);
|
|
530
548
|
}
|
|
531
549
|
/**
|
|
532
550
|
* 本接口(CreateIPStrategy)用于创建服务IP策略。
|