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.
Files changed (44) hide show
  1. package/CHANGELOG.md +200 -46
  2. package/package.json +1 -1
  3. package/products.md +153 -153
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/apigateway/v20180808/apigateway_client.ts +60 -17
  6. package/src/services/apigateway/v20180808/apigateway_models.ts +420 -70
  7. package/src/services/cme/v20191029/cme_models.ts +1 -1
  8. package/src/services/cvm/v20170312/cvm_client.ts +1 -0
  9. package/src/services/cvm/v20170312/cvm_models.ts +12 -9
  10. package/src/services/ecm/v20190719/ecm_models.ts +6 -0
  11. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +46 -9
  12. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +252 -61
  13. package/src/services/iotvideo/v20201215/iotvideo_models.ts +6 -1
  14. package/src/services/ocr/v20181119/ocr_client.ts +13 -0
  15. package/src/services/ocr/v20181119/ocr_models.ts +201 -25
  16. package/src/services/postgres/v20170312/postgres_models.ts +2 -2
  17. package/src/services/sms/v20210111/sms_models.ts +8 -6
  18. package/src/services/tcb/v20180608/tcb_models.ts +6 -1
  19. package/src/services/tiia/v20190529/tiia_client.ts +1 -0
  20. package/src/services/tiia/v20190529/tiia_models.ts +29 -0
  21. package/tencentcloud/common/sdk_version.d.ts +1 -1
  22. package/tencentcloud/common/sdk_version.js +1 -1
  23. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +17 -5
  24. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +24 -6
  25. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +354 -60
  26. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +1 -1
  27. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -0
  28. package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -0
  29. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +7 -4
  30. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +5 -0
  31. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +15 -3
  32. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +21 -3
  33. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +214 -54
  34. package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +5 -1
  35. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +6 -1
  36. package/tencentcloud/services/ocr/v20181119/ocr_client.js +7 -0
  37. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +171 -25
  38. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +2 -2
  39. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +8 -6
  40. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +5 -1
  41. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +25 -0
  42. package/test/apigateway.v20180808.test.js +34 -4
  43. package/test/iotexplorer.v20190423.test.js +32 -2
  44. package/test/ocr.v20181119.test.js +10 -0
@@ -144,7 +144,7 @@ export interface HKIDCardOCRRequest {
144
144
  /**
145
145
  * 图片的 Base64 值。
146
146
  支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
147
- 支持的图片大小:所下载图片经Base64编码后不超过 3M。图片下载时间不超过 3 秒。
147
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
148
148
  */
149
149
  ImageBase64?: string;
150
150
  /**
@@ -2013,42 +2013,42 @@ export interface IDCardOCRResponse {
2013
2013
  /**
2014
2014
  * 姓名(人像面)
2015
2015
  */
2016
- Name?: string;
2016
+ Name: string;
2017
2017
  /**
2018
2018
  * 性别(人像面)
2019
2019
  */
2020
- Sex?: string;
2020
+ Sex: string;
2021
2021
  /**
2022
2022
  * 民族(人像面)
2023
2023
  */
2024
- Nation?: string;
2024
+ Nation: string;
2025
2025
  /**
2026
2026
  * 出生日期(人像面)
2027
2027
  */
2028
- Birth?: string;
2028
+ Birth: string;
2029
2029
  /**
2030
2030
  * 地址(人像面)
2031
2031
  */
2032
- Address?: string;
2032
+ Address: string;
2033
2033
  /**
2034
2034
  * 身份证号(人像面)
2035
2035
  */
2036
- IdNum?: string;
2036
+ IdNum: string;
2037
2037
  /**
2038
2038
  * 发证机关(国徽面)
2039
2039
  */
2040
- Authority?: string;
2040
+ Authority: string;
2041
2041
  /**
2042
2042
  * 证件有效期(国徽面)
2043
2043
  */
2044
- ValidDate?: string;
2044
+ ValidDate: string;
2045
2045
  /**
2046
2046
  * 扩展信息,不请求则不返回,具体输入参考示例3和示例4。
2047
2047
  IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;
2048
2048
  Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;
2049
2049
 
2050
2050
  Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0~100,分数越低越模糊,建议阈值≥50);
2051
- BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0~100,分数越低边框遮挡可能性越低,建议阈值≥50);
2051
+ BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0~100,分数越低边框遮挡可能性越低,建议阈值≤50);
2052
2052
 
2053
2053
  WarnInfos,告警信息,Code 告警码列表和释义:
2054
2054
  -9100 身份证有效日期不合法告警,
@@ -2060,7 +2060,7 @@ WarnInfos,告警信息,Code 告警码列表和释义:
2060
2060
  -9106 身份证 PS 告警,
2061
2061
  -9107 身份证反光告警。
2062
2062
  */
2063
- AdvancedInfo?: string;
2063
+ AdvancedInfo: string;
2064
2064
  /**
2065
2065
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2066
2066
  */
@@ -2173,46 +2173,46 @@ export interface HKIDCardOCRResponse {
2173
2173
  /**
2174
2174
  * 中文姓名
2175
2175
  */
2176
- CnName?: string;
2176
+ CnName: string;
2177
2177
  /**
2178
2178
  * 英文姓名
2179
2179
  */
2180
- EnName?: string;
2180
+ EnName: string;
2181
2181
  /**
2182
2182
  * 中文姓名对应电码
2183
2183
  */
2184
- TelexCode?: string;
2184
+ TelexCode: string;
2185
2185
  /**
2186
2186
  * 性别 :“男M”或“女F”
2187
2187
  */
2188
- Sex?: string;
2188
+ Sex: string;
2189
2189
  /**
2190
2190
  * 出生日期
2191
2191
  */
2192
- Birthday?: string;
2192
+ Birthday: string;
2193
2193
  /**
2194
2194
  * 永久性居民身份证。
2195
2195
  0:非永久;
2196
2196
  1:永久;
2197
2197
  -1:未知。
2198
2198
  */
2199
- Permanent?: number;
2199
+ Permanent: number;
2200
2200
  /**
2201
2201
  * 身份证号码
2202
2202
  */
2203
- IdNum?: string;
2203
+ IdNum: string;
2204
2204
  /**
2205
2205
  * 证件符号,出生日期下的符号,例如"***AZ"
2206
2206
  */
2207
- Symbol?: string;
2207
+ Symbol: string;
2208
2208
  /**
2209
2209
  * 首次签发日期
2210
2210
  */
2211
- FirstIssueDate?: string;
2211
+ FirstIssueDate: string;
2212
2212
  /**
2213
2213
  * 最近领用日期
2214
2214
  */
2215
- CurrentIssueDate?: string;
2215
+ CurrentIssueDate: string;
2216
2216
  /**
2217
2217
  * 真假判断。
2218
2218
  0:无法判断(图像模糊、不完整、反光、过暗等导致无法判断);
@@ -2220,12 +2220,12 @@ export interface HKIDCardOCRResponse {
2220
2220
  2:真。
2221
2221
  注意:此字段可能返回 null,表示取不到有效值。
2222
2222
  */
2223
- FakeDetectResult?: number;
2223
+ FakeDetectResult: number;
2224
2224
  /**
2225
2225
  * 人像照片Base64后的结果
2226
2226
  注意:此字段可能返回 null,表示取不到有效值。
2227
2227
  */
2228
- HeadImage?: string;
2228
+ HeadImage: string;
2229
2229
  /**
2230
2230
  * 多重告警码,当身份证是翻拍、复印、PS件时返回对应告警码。
2231
2231
  -9102:证照复印件告警
@@ -2233,7 +2233,7 @@ export interface HKIDCardOCRResponse {
2233
2233
  -9104:证照PS告警
2234
2234
  -9105:证照防伪告警
2235
2235
  */
2236
- WarningCode?: Array<number>;
2236
+ WarningCode: Array<number>;
2237
2237
  /**
2238
2238
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2239
2239
  */
@@ -2353,6 +2353,26 @@ export interface PropOwnerCertOCRRequest {
2353
2353
  */
2354
2354
  ImageUrl?: string;
2355
2355
  }
2356
+ /**
2357
+ * RecognizeContainerOCR请求参数结构体
2358
+ */
2359
+ export interface RecognizeContainerOCRRequest {
2360
+ /**
2361
+ * 图片的 Base64 值。
2362
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2363
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
2364
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2365
+ */
2366
+ ImageBase64?: string;
2367
+ /**
2368
+ * 图片的 Url 地址。
2369
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2370
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
2371
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
2372
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
2373
+ */
2374
+ ImageUrl?: string;
2375
+ }
2356
2376
  /**
2357
2377
  * TextDetect请求参数结构体
2358
2378
  */
@@ -2407,11 +2427,18 @@ export interface VatInvoiceVerifyRequest {
2407
2427
  */
2408
2428
  InvoiceDate: string;
2409
2429
  /**
2410
- * 金额/发票校验码后6位(根据票种传递对应值,如果报参数错误,请仔细检查每个票种对应的值)
2430
+ * 根据票种传递对应值,如果报参数错误,请仔细检查每个票种对应的值
2431
+
2411
2432
  增值税专用发票:开具金额(不含税)
2433
+
2412
2434
  增值税普通发票、增值税电子普通发票(含通行费发票)、增值税普通发票(卷票):校验码后6位
2435
+
2436
+ 区块链发票:不含税金额/校验码,例如:“285.01/856ab”
2437
+
2413
2438
  机动车销售统一发票:不含税价
2439
+
2414
2440
  货物运输业增值税专用发票:合计金额
2441
+
2415
2442
  二手车销售统一发票:车价合计
2416
2443
  */
2417
2444
  Additional: string;
@@ -4079,6 +4106,70 @@ export interface ResidenceBookletOCRResponse {
4079
4106
  * 住址
4080
4107
  */
4081
4108
  Address: string;
4109
+ /**
4110
+ * 承办人签章文字
4111
+ */
4112
+ Signature: string;
4113
+ /**
4114
+ * 签发日期
4115
+ */
4116
+ IssueDate: string;
4117
+ /**
4118
+ * 户主页编号
4119
+ */
4120
+ HomePageNumber: string;
4121
+ /**
4122
+ * 户主姓名
4123
+ */
4124
+ HouseholderName: string;
4125
+ /**
4126
+ * 户主或与户主关系
4127
+ */
4128
+ Relationship: string;
4129
+ /**
4130
+ * 本市(县)其他住址
4131
+ */
4132
+ OtherAddresses: string;
4133
+ /**
4134
+ * 宗教信仰
4135
+ */
4136
+ ReligiousBelief: string;
4137
+ /**
4138
+ * 身高
4139
+ */
4140
+ Height: string;
4141
+ /**
4142
+ * 血型
4143
+ */
4144
+ BloodType: string;
4145
+ /**
4146
+ * 婚姻状况
4147
+ */
4148
+ MaritalStatus: string;
4149
+ /**
4150
+ * 兵役状况
4151
+ */
4152
+ VeteranStatus: string;
4153
+ /**
4154
+ * 职业
4155
+ */
4156
+ Profession: string;
4157
+ /**
4158
+ * 何时由何地迁来本市(县)
4159
+ */
4160
+ MoveToCityInformation: string;
4161
+ /**
4162
+ * 何时由何地迁来本址
4163
+ */
4164
+ MoveToSiteInformation: string;
4165
+ /**
4166
+ * 登记日期
4167
+ */
4168
+ RegistrationDate: string;
4169
+ /**
4170
+ * 曾用名
4171
+ */
4172
+ FormerName: string;
4082
4173
  /**
4083
4174
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4084
4175
  */
@@ -4756,6 +4847,61 @@ export interface CandWord {
4756
4847
  */
4757
4848
  CandWords: Array<Words>;
4758
4849
  }
4850
+ /**
4851
+ * RecognizeContainerOCR返回参数结构体
4852
+ */
4853
+ export interface RecognizeContainerOCRResponse {
4854
+ /**
4855
+ * 集装箱箱号
4856
+ */
4857
+ ContainerId?: string;
4858
+ /**
4859
+ * 集装箱类型
4860
+ */
4861
+ ContainerType?: string;
4862
+ /**
4863
+ * 集装箱总重量,单位:千克(KG)
4864
+ */
4865
+ GrossKG?: string;
4866
+ /**
4867
+ * 集装箱总重量,单位:磅(LB)
4868
+ */
4869
+ GrossLB?: string;
4870
+ /**
4871
+ * 集装箱有效承重,单位:千克(KG)
4872
+ */
4873
+ PayloadKG?: string;
4874
+ /**
4875
+ * 集装箱有效承重,单位:磅(LB)
4876
+ */
4877
+ PayloadLB?: string;
4878
+ /**
4879
+ * 集装箱容量,单位:立方米
4880
+ */
4881
+ CapacityM3?: string;
4882
+ /**
4883
+ * 集装箱容量,单位:立英尺
4884
+ */
4885
+ CapacityFT3?: string;
4886
+ /**
4887
+ * 告警码
4888
+ -9926 集装箱箱号不完整或者不清晰
4889
+ -9927 集装箱类型不完整或者不清晰
4890
+ */
4891
+ Warn?: Array<number>;
4892
+ /**
4893
+ * 集装箱自身重量,单位:千克(KG)
4894
+ */
4895
+ TareKG?: string;
4896
+ /**
4897
+ * 集装箱自身重量,单位:磅(LB)
4898
+ */
4899
+ TareLB?: string;
4900
+ /**
4901
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4902
+ */
4903
+ RequestId?: string;
4904
+ }
4759
4905
  /**
4760
4906
  * 企业证照单个字段的内容
4761
4907
  */
@@ -875,11 +875,11 @@ export interface ModifyDBInstanceSpecRequest {
875
875
  */
876
876
  DBInstanceId: string;
877
877
  /**
878
- * 升级后的实例内存大小,单位GiB。
878
+ * 修改后的实例内存大小,单位GiB。
879
879
  */
880
880
  Memory: number;
881
881
  /**
882
- * 升级后的实例磁盘大小,单位GiB。
882
+ * 修改后的实例磁盘大小,单位GiB。
883
883
  */
884
884
  Storage: number;
885
885
  /**
@@ -51,12 +51,13 @@ export interface ModifySmsSignRequest {
51
51
  SignName: string;
52
52
  /**
53
53
  * 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
54
- 0:公司,可选 DocumentType 有(0,1,2,3)。
54
+ 0:公司,可选 DocumentType 有(0,1)。
55
55
  1:APP,可选 DocumentType 有(0,1,2,3,4) 。
56
56
  2:网站,可选 DocumentType 有(0,1,2,3,5)。
57
- 3:公众号或者小程序,可选 DocumentType 有(0,1,2,3,6)。
57
+ 3:公众号,可选 DocumentType 有(0,1,2,3,8)。
58
58
  4:商标,可选 DocumentType 有(7)。
59
59
  5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
60
+ 6:小程序,可选 DocumentType 有(0,1,2,3,6)。
60
61
  注:必须按照对应关系选择证明类型,否则会审核失败。
61
62
  */
62
63
  SignType: number;
@@ -70,7 +71,7 @@ export interface ModifySmsSignRequest {
70
71
  5:网站备案后台截图(个人开发网站)。
71
72
  6:小程序设置页面截图(个人认证小程序)。
72
73
  7:商标注册书。
73
- 注:必选按照 SignType 选择对应的DocumentType。
74
+ 8:公众号设置页面截图(个人认证公众号)。
74
75
  */
75
76
  DocumentType: number;
76
77
  /**
@@ -139,12 +140,13 @@ export interface AddSmsSignRequest {
139
140
  SignName: string;
140
141
  /**
141
142
  * 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
142
- 0:公司,可选 DocumentType 有(0,1,2,3)。
143
+ 0:公司,可选 DocumentType 有(0,1)。
143
144
  1:APP,可选 DocumentType 有(0,1,2,3,4) 。
144
145
  2:网站,可选 DocumentType 有(0,1,2,3,5)。
145
- 3:公众号或者小程序,可选 DocumentType 有(0,1,2,3,6)。
146
+ 3:公众号,可选 DocumentType 有(0,1,2,3,8)。
146
147
  4:商标,可选 DocumentType 有(7)。
147
148
  5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
149
+ 6:小程序,可选 DocumentType 有(0,1,2,3,6)。
148
150
  注:必须按照对应关系选择证明类型,否则会审核失败。
149
151
  */
150
152
  SignType: number;
@@ -158,7 +160,7 @@ export interface AddSmsSignRequest {
158
160
  5:网站备案后台截图(个人开发网站)。
159
161
  6:小程序设置页面截图(个人认证小程序)。
160
162
  7:商标注册书。
161
- 注:必选按照 SignType 选择对应的DocumentType。
163
+ 8:公众号设置页面截图(个人认证公众号)。
162
164
  */
163
165
  DocumentType: number;
164
166
  /**
@@ -2244,7 +2244,7 @@ export interface DescribeCloudBaseRunOneClickTaskExternalResponse {
2244
2244
  */
2245
2245
  ExternalId: string;
2246
2246
  /**
2247
- * 环境Id
2247
+ * 弃用
2248
2248
  */
2249
2249
  EnvId: string;
2250
2250
  /**
@@ -2282,6 +2282,10 @@ finished
2282
2282
  * 失败原因
2283
2283
  */
2284
2284
  FailReason: string;
2285
+ /**
2286
+ * 用户envId
2287
+ */
2288
+ UserEnvId: string;
2285
2289
  /**
2286
2290
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2287
2291
  */
@@ -411,6 +411,11 @@ export interface ProductInfo {
411
411
  * 搜索到的商品配图URL。
412
412
  */
413
413
  Image: string;
414
+ /**
415
+ * 百科词条列表
416
+ 注意:此字段可能返回 null,表示取不到有效值。
417
+ */
418
+ LemmaInfoList: Array<LemmaInfo>;
414
419
  }
415
420
  /**
416
421
  * AssessQuality请求参数结构体
@@ -1091,6 +1096,26 @@ export interface Threshold {
1091
1096
  */
1092
1097
  FalseRate1Permil: number;
1093
1098
  }
1099
+ /**
1100
+ * 百科词条信息
1101
+ */
1102
+ export interface LemmaInfo {
1103
+ /**
1104
+ * 词条
1105
+ 注意:此字段可能返回 null,表示取不到有效值。
1106
+ */
1107
+ LemmaTitle: string;
1108
+ /**
1109
+ * 词条描述
1110
+ 注意:此字段可能返回 null,表示取不到有效值。
1111
+ */
1112
+ LemmaAbstract: string;
1113
+ /**
1114
+ * 标签
1115
+ 注意:此字段可能返回 null,表示取不到有效值。
1116
+ */
1117
+ Tag: string;
1118
+ }
1094
1119
  /**
1095
1120
  * DescribeImages返回参数结构体
1096
1121
  */
@@ -338,9 +338,9 @@ it("apigateway.v20180808.DeleteApi", async function () {
338
338
  }
339
339
  })
340
340
 
341
- it("apigateway.v20180808.EnableApiKey", async function () {
341
+ it("apigateway.v20180808.UpdateApiAppKey", async function () {
342
342
  try {
343
- const data = await client.EnableApiKey({})
343
+ const data = await client.UpdateApiAppKey({})
344
344
  expect(data).to.be.ok
345
345
  } catch(error) {
346
346
  expect(error.requestId).to.be.ok
@@ -458,6 +458,16 @@ it("apigateway.v20180808.ModifyService", async function () {
458
458
  }
459
459
  })
460
460
 
461
+ it("apigateway.v20180808.DescribeExclusiveInstances", async function () {
462
+ try {
463
+ const data = await client.DescribeExclusiveInstances({})
464
+ expect(data).to.be.ok
465
+ } catch(error) {
466
+ expect(error.requestId).to.be.ok
467
+ expect(error.code).to.be.ok
468
+ }
469
+ })
470
+
461
471
  it("apigateway.v20180808.DescribeService", async function () {
462
472
  try {
463
473
  const data = await client.DescribeService({})
@@ -508,6 +518,16 @@ it("apigateway.v20180808.CreateApi", async function () {
508
518
  }
509
519
  })
510
520
 
521
+ it("apigateway.v20180808.DescribeExclusiveInstanceDetail", async function () {
522
+ try {
523
+ const data = await client.DescribeExclusiveInstanceDetail({})
524
+ expect(data).to.be.ok
525
+ } catch(error) {
526
+ expect(error.requestId).to.be.ok
527
+ expect(error.code).to.be.ok
528
+ }
529
+ })
530
+
511
531
  it("apigateway.v20180808.AttachPlugin", async function () {
512
532
  try {
513
533
  const data = await client.AttachPlugin({})
@@ -598,6 +618,16 @@ it("apigateway.v20180808.ModifyServiceEnvironmentStrategy", async function () {
598
618
  }
599
619
  })
600
620
 
621
+ it("apigateway.v20180808.ModifyExclusiveInstance", async function () {
622
+ try {
623
+ const data = await client.ModifyExclusiveInstance({})
624
+ expect(data).to.be.ok
625
+ } catch(error) {
626
+ expect(error.requestId).to.be.ok
627
+ expect(error.code).to.be.ok
628
+ }
629
+ })
630
+
601
631
  it("apigateway.v20180808.DescribeUsagePlanEnvironments", async function () {
602
632
  try {
603
633
  const data = await client.DescribeUsagePlanEnvironments({})
@@ -808,9 +838,9 @@ it("apigateway.v20180808.BindIPStrategy", async function () {
808
838
  }
809
839
  })
810
840
 
811
- it("apigateway.v20180808.UpdateApiAppKey", async function () {
841
+ it("apigateway.v20180808.EnableApiKey", async function () {
812
842
  try {
813
- const data = await client.UpdateApiAppKey({})
843
+ const data = await client.EnableApiKey({})
814
844
  expect(data).to.be.ok
815
845
  } catch(error) {
816
846
  expect(error.requestId).to.be.ok
@@ -68,9 +68,9 @@ it("iotexplorer.v20190423.SearchPositionSpace", async function () {
68
68
  }
69
69
  })
70
70
 
71
- it("iotexplorer.v20190423.DescribeDeviceData", async function () {
71
+ it("iotexplorer.v20190423.DescribeBatchProduction", async function () {
72
72
  try {
73
- const data = await client.DescribeDeviceData({})
73
+ const data = await client.DescribeBatchProduction({})
74
74
  expect(data).to.be.ok
75
75
  } catch(error) {
76
76
  expect(error.requestId).to.be.ok
@@ -278,6 +278,16 @@ it("iotexplorer.v20190423.ModifyTopicRule", async function () {
278
278
  }
279
279
  })
280
280
 
281
+ it("iotexplorer.v20190423.DescribeDeviceData", async function () {
282
+ try {
283
+ const data = await client.DescribeDeviceData({})
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
+
281
291
  it("iotexplorer.v20190423.DescribeTopicPolicy", async function () {
282
292
  try {
283
293
  const data = await client.DescribeTopicPolicy({})
@@ -618,6 +628,16 @@ it("iotexplorer.v20190423.ModifyModelDefinition", async function () {
618
628
  }
619
629
  })
620
630
 
631
+ it("iotexplorer.v20190423.CreateBatchProduction", async function () {
632
+ try {
633
+ const data = await client.CreateBatchProduction({})
634
+ expect(data).to.be.ok
635
+ } catch(error) {
636
+ expect(error.requestId).to.be.ok
637
+ expect(error.code).to.be.ok
638
+ }
639
+ })
640
+
621
641
  it("iotexplorer.v20190423.DeletePositionSpace", async function () {
622
642
  try {
623
643
  const data = await client.DeletePositionSpace({})
@@ -638,6 +658,16 @@ it("iotexplorer.v20190423.DescribeModelDefinition", async function () {
638
658
  }
639
659
  })
640
660
 
661
+ it("iotexplorer.v20190423.GetBatchProductionsList", async function () {
662
+ try {
663
+ const data = await client.GetBatchProductionsList({})
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("iotexplorer.v20190423.CreateProject", async function () {
642
672
  try {
643
673
  const data = await client.CreateProject({})
@@ -138,6 +138,16 @@ it("ocr.v20181119.FlightInvoiceOCR", async function () {
138
138
  }
139
139
  })
140
140
 
141
+ it("ocr.v20181119.RecognizeContainerOCR", async function () {
142
+ try {
143
+ const data = await client.RecognizeContainerOCR({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
141
151
  it("ocr.v20181119.MixedInvoiceDetect", async function () {
142
152
  try {
143
153
  const data = await client.MixedInvoiceDetect({})