tencentcloud-sdk-nodejs-ocr 4.0.569 → 4.0.571

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.
@@ -3295,7 +3295,17 @@ export interface InvoiceGeneralOCRResponse {
3295
3295
  /**
3296
3296
  * 智慧表单上传文件信息
3297
3297
  */
3298
- export type SmartFormFileUrl = null
3298
+ export interface SmartFormFileUrl {
3299
+ /**
3300
+ * 文件url地址
3301
+ */
3302
+ FileUrl: string
3303
+
3304
+ /**
3305
+ * 文件的顺序,顺序从1开始
3306
+ */
3307
+ FileOrderNumber: number
3308
+ }
3299
3309
 
3300
3310
  /**
3301
3311
  * VatInvoiceVerifyNew返回参数结构体
@@ -4283,82 +4293,92 @@ export interface RecognizeIndonesiaIDCardOCRResponse {
4283
4293
  /**
4284
4294
  * 证件号码
4285
4295
  */
4286
- NIK: string
4296
+ NIK?: string
4287
4297
 
4288
4298
  /**
4289
4299
  * 姓名
4290
4300
  */
4291
- Nama: string
4301
+ Nama?: string
4292
4302
 
4293
4303
  /**
4294
4304
  * 出生地/出生时间
4295
4305
  */
4296
- TempatTglLahir: string
4306
+ TempatTglLahir?: string
4297
4307
 
4298
4308
  /**
4299
4309
  * 性别
4300
4310
  */
4301
- JenisKelamin: string
4311
+ JenisKelamin?: string
4302
4312
 
4303
4313
  /**
4304
4314
  * 血型
4305
4315
  */
4306
- GolDarah: string
4316
+ GolDarah?: string
4307
4317
 
4308
4318
  /**
4309
4319
  * 地址
4310
4320
  */
4311
- Alamat: string
4321
+ Alamat?: string
4312
4322
 
4313
4323
  /**
4314
4324
  * 街道
4315
4325
  */
4316
- RTRW: string
4326
+ RTRW?: string
4317
4327
 
4318
4328
  /**
4319
4329
  * 村
4320
4330
  */
4321
- KelDesa: string
4331
+ KelDesa?: string
4322
4332
 
4323
4333
  /**
4324
4334
  * 地区
4325
4335
  */
4326
- Kecamatan: string
4336
+ Kecamatan?: string
4327
4337
 
4328
4338
  /**
4329
4339
  * 宗教信仰
4330
4340
  */
4331
- Agama: string
4341
+ Agama?: string
4332
4342
 
4333
4343
  /**
4334
4344
  * 婚姻状况
4335
4345
  */
4336
- StatusPerkawinan: string
4346
+ StatusPerkawinan?: string
4337
4347
 
4338
4348
  /**
4339
4349
  * 职业
4340
4350
  */
4341
- Perkerjaan: string
4351
+ Perkerjaan?: string
4342
4352
 
4343
4353
  /**
4344
4354
  * 国籍
4345
4355
  */
4346
- KewargaNegaraan: string
4356
+ KewargaNegaraan?: string
4347
4357
 
4348
4358
  /**
4349
4359
  * 身份证有效期限
4350
4360
  */
4351
- BerlakuHingga: string
4361
+ BerlakuHingga?: string
4352
4362
 
4353
4363
  /**
4354
4364
  * 发证日期
4355
4365
  */
4356
- IssuedDate: string
4366
+ IssuedDate?: string
4357
4367
 
4358
4368
  /**
4359
4369
  * 人像截图
4360
4370
  */
4361
- Photo: string
4371
+ Photo?: string
4372
+
4373
+ /**
4374
+ * 省份,Scene为V2时支持识别
4375
+ */
4376
+ Provinsi?: string
4377
+
4378
+ /**
4379
+ * 城市,Scene为V2时支持识别
4380
+ */
4381
+ Kota?: string
4362
4382
 
4363
4383
  /**
4364
4384
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -679,8 +679,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
679
679
  */
680
680
  MixedInvoiceOCR(req: MixedInvoiceOCRRequest, cb?: (error: string, rep: MixedInvoiceOCRResponse) => void): Promise<MixedInvoiceOCRResponse>;
681
681
  /**
682
- * 印尼身份证识别
683
- */
682
+ * 印尼身份证识别
683
+
684
+ 默认接口请求频率限制:20次/秒。
685
+ */
684
686
  RecognizeIndonesiaIDCardOCR(req: RecognizeIndonesiaIDCardOCRRequest, cb?: (error: string, rep: RecognizeIndonesiaIDCardOCRResponse) => void): Promise<RecognizeIndonesiaIDCardOCRResponse>;
685
687
  /**
686
688
  * 本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
@@ -848,8 +848,10 @@ class Client extends TencentCloudCommon.AbstractClient {
848
848
  return this.request("MixedInvoiceOCR", req, cb);
849
849
  }
850
850
  /**
851
- * 印尼身份证识别
852
- */
851
+ * 印尼身份证识别
852
+
853
+ 默认接口请求频率限制:20次/秒。
854
+ */
853
855
  async RecognizeIndonesiaIDCardOCR(req, cb) {
854
856
  return this.request("RecognizeIndonesiaIDCardOCR", req, cb);
855
857
  }
@@ -2787,7 +2787,16 @@ export interface InvoiceGeneralOCRResponse {
2787
2787
  /**
2788
2788
  * 智慧表单上传文件信息
2789
2789
  */
2790
- export declare type SmartFormFileUrl = null;
2790
+ export interface SmartFormFileUrl {
2791
+ /**
2792
+ * 文件url地址
2793
+ */
2794
+ FileUrl: string;
2795
+ /**
2796
+ * 文件的顺序,顺序从1开始
2797
+ */
2798
+ FileOrderNumber: number;
2799
+ }
2791
2800
  /**
2792
2801
  * VatInvoiceVerifyNew返回参数结构体
2793
2802
  */
@@ -3628,67 +3637,75 @@ export interface RecognizeIndonesiaIDCardOCRResponse {
3628
3637
  /**
3629
3638
  * 证件号码
3630
3639
  */
3631
- NIK: string;
3640
+ NIK?: string;
3632
3641
  /**
3633
3642
  * 姓名
3634
3643
  */
3635
- Nama: string;
3644
+ Nama?: string;
3636
3645
  /**
3637
3646
  * 出生地/出生时间
3638
3647
  */
3639
- TempatTglLahir: string;
3648
+ TempatTglLahir?: string;
3640
3649
  /**
3641
3650
  * 性别
3642
3651
  */
3643
- JenisKelamin: string;
3652
+ JenisKelamin?: string;
3644
3653
  /**
3645
3654
  * 血型
3646
3655
  */
3647
- GolDarah: string;
3656
+ GolDarah?: string;
3648
3657
  /**
3649
3658
  * 地址
3650
3659
  */
3651
- Alamat: string;
3660
+ Alamat?: string;
3652
3661
  /**
3653
3662
  * 街道
3654
3663
  */
3655
- RTRW: string;
3664
+ RTRW?: string;
3656
3665
  /**
3657
3666
  * 村
3658
3667
  */
3659
- KelDesa: string;
3668
+ KelDesa?: string;
3660
3669
  /**
3661
3670
  * 地区
3662
3671
  */
3663
- Kecamatan: string;
3672
+ Kecamatan?: string;
3664
3673
  /**
3665
3674
  * 宗教信仰
3666
3675
  */
3667
- Agama: string;
3676
+ Agama?: string;
3668
3677
  /**
3669
3678
  * 婚姻状况
3670
3679
  */
3671
- StatusPerkawinan: string;
3680
+ StatusPerkawinan?: string;
3672
3681
  /**
3673
3682
  * 职业
3674
3683
  */
3675
- Perkerjaan: string;
3684
+ Perkerjaan?: string;
3676
3685
  /**
3677
3686
  * 国籍
3678
3687
  */
3679
- KewargaNegaraan: string;
3688
+ KewargaNegaraan?: string;
3680
3689
  /**
3681
3690
  * 身份证有效期限
3682
3691
  */
3683
- BerlakuHingga: string;
3692
+ BerlakuHingga?: string;
3684
3693
  /**
3685
3694
  * 发证日期
3686
3695
  */
3687
- IssuedDate: string;
3696
+ IssuedDate?: string;
3688
3697
  /**
3689
3698
  * 人像截图
3690
3699
  */
3691
- Photo: string;
3700
+ Photo?: string;
3701
+ /**
3702
+ * 省份,Scene为V2时支持识别
3703
+ */
3704
+ Provinsi?: string;
3705
+ /**
3706
+ * 城市,Scene为V2时支持识别
3707
+ */
3708
+ Kota?: string;
3692
3709
  /**
3693
3710
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3694
3711
  */