@alicloud/cloudauth20190307 1.0.6 → 1.0.7

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/src/client.ts CHANGED
@@ -373,17 +373,21 @@ export class CreateAuthKeyResponse extends $tea.Model {
373
373
  }
374
374
  }
375
375
 
376
- export class CreateFaceConfigRequest extends $tea.Model {
376
+ export class CreateVerifySettingRequest extends $tea.Model {
377
377
  bizName: string;
378
378
  bizType: string;
379
- lang?: string;
380
- sourceIp?: string;
379
+ guideStep?: boolean;
380
+ privacyStep?: boolean;
381
+ resultStep?: boolean;
382
+ solution: string;
381
383
  static names(): { [key: string]: string } {
382
384
  return {
383
385
  bizName: 'BizName',
384
386
  bizType: 'BizType',
385
- lang: 'Lang',
386
- sourceIp: 'SourceIp',
387
+ guideStep: 'GuideStep',
388
+ privacyStep: 'PrivacyStep',
389
+ resultStep: 'ResultStep',
390
+ solution: 'Solution',
387
391
  };
388
392
  }
389
393
 
@@ -391,8 +395,10 @@ export class CreateFaceConfigRequest extends $tea.Model {
391
395
  return {
392
396
  bizName: 'string',
393
397
  bizType: 'string',
394
- lang: 'string',
395
- sourceIp: 'string',
398
+ guideStep: 'boolean',
399
+ privacyStep: 'boolean',
400
+ resultStep: 'boolean',
401
+ solution: 'string',
396
402
  };
397
403
  }
398
404
 
@@ -401,17 +407,29 @@ export class CreateFaceConfigRequest extends $tea.Model {
401
407
  }
402
408
  }
403
409
 
404
- export class CreateFaceConfigResponse extends $tea.Model {
410
+ export class CreateVerifySettingResponse extends $tea.Model {
411
+ bizName: string;
412
+ bizType: string;
405
413
  requestId: string;
414
+ solution: string;
415
+ stepList: string[];
406
416
  static names(): { [key: string]: string } {
407
417
  return {
418
+ bizName: 'BizName',
419
+ bizType: 'BizType',
408
420
  requestId: 'RequestId',
421
+ solution: 'Solution',
422
+ stepList: 'StepList',
409
423
  };
410
424
  }
411
425
 
412
426
  static types(): { [key: string]: any } {
413
427
  return {
428
+ bizName: 'string',
429
+ bizType: 'string',
414
430
  requestId: 'string',
431
+ solution: 'string',
432
+ stepList: { 'type': 'array', 'itemType': 'string' },
415
433
  };
416
434
  }
417
435
 
@@ -420,26 +438,35 @@ export class CreateFaceConfigResponse extends $tea.Model {
420
438
  }
421
439
  }
422
440
 
423
- export class CreateRPSDKRequest extends $tea.Model {
424
- appUrl: string;
425
- lang?: string;
426
- platform?: string;
427
- sourceIp?: string;
441
+ export class DescribeDeviceInfoRequest extends $tea.Model {
442
+ bizType?: string;
443
+ currentPage?: number;
444
+ deviceId?: string;
445
+ expiredEndDay?: string;
446
+ expiredStartDay?: string;
447
+ pageSize?: number;
448
+ userDeviceId?: string;
428
449
  static names(): { [key: string]: string } {
429
450
  return {
430
- appUrl: 'AppUrl',
431
- lang: 'Lang',
432
- platform: 'Platform',
433
- sourceIp: 'SourceIp',
451
+ bizType: 'BizType',
452
+ currentPage: 'CurrentPage',
453
+ deviceId: 'DeviceId',
454
+ expiredEndDay: 'ExpiredEndDay',
455
+ expiredStartDay: 'ExpiredStartDay',
456
+ pageSize: 'PageSize',
457
+ userDeviceId: 'UserDeviceId',
434
458
  };
435
459
  }
436
460
 
437
461
  static types(): { [key: string]: any } {
438
462
  return {
439
- appUrl: 'string',
440
- lang: 'string',
441
- platform: 'string',
442
- sourceIp: 'string',
463
+ bizType: 'string',
464
+ currentPage: 'number',
465
+ deviceId: 'string',
466
+ expiredEndDay: 'string',
467
+ expiredStartDay: 'string',
468
+ pageSize: 'number',
469
+ userDeviceId: 'string',
443
470
  };
444
471
  }
445
472
 
@@ -448,20 +475,29 @@ export class CreateRPSDKRequest extends $tea.Model {
448
475
  }
449
476
  }
450
477
 
451
- export class CreateRPSDKResponse extends $tea.Model {
478
+ export class DescribeDeviceInfoResponse extends $tea.Model {
479
+ currentPage: number;
480
+ pageSize: number;
452
481
  requestId: string;
453
- taskId: string;
482
+ totalCount: number;
483
+ deviceInfoList: DescribeDeviceInfoResponseDeviceInfoList;
454
484
  static names(): { [key: string]: string } {
455
485
  return {
486
+ currentPage: 'CurrentPage',
487
+ pageSize: 'PageSize',
456
488
  requestId: 'RequestId',
457
- taskId: 'TaskId',
489
+ totalCount: 'TotalCount',
490
+ deviceInfoList: 'DeviceInfoList',
458
491
  };
459
492
  }
460
493
 
461
494
  static types(): { [key: string]: any } {
462
495
  return {
496
+ currentPage: 'number',
497
+ pageSize: 'number',
463
498
  requestId: 'string',
464
- taskId: 'string',
499
+ totalCount: 'number',
500
+ deviceInfoList: DescribeDeviceInfoResponseDeviceInfoList,
465
501
  };
466
502
  }
467
503
 
@@ -470,20 +506,23 @@ export class CreateRPSDKResponse extends $tea.Model {
470
506
  }
471
507
  }
472
508
 
473
- export class CreateVerifySDKRequest extends $tea.Model {
474
- appUrl: string;
475
- platform?: string;
509
+ export class DescribeFaceVerifyRequest extends $tea.Model {
510
+ certifyId?: string;
511
+ pictureReturnType?: string;
512
+ sceneId?: number;
476
513
  static names(): { [key: string]: string } {
477
514
  return {
478
- appUrl: 'AppUrl',
479
- platform: 'Platform',
515
+ certifyId: 'CertifyId',
516
+ pictureReturnType: 'PictureReturnType',
517
+ sceneId: 'SceneId',
480
518
  };
481
519
  }
482
520
 
483
521
  static types(): { [key: string]: any } {
484
522
  return {
485
- appUrl: 'string',
486
- platform: 'string',
523
+ certifyId: 'string',
524
+ pictureReturnType: 'string',
525
+ sceneId: 'number',
487
526
  };
488
527
  }
489
528
 
@@ -492,20 +531,26 @@ export class CreateVerifySDKRequest extends $tea.Model {
492
531
  }
493
532
  }
494
533
 
495
- export class CreateVerifySDKResponse extends $tea.Model {
534
+ export class DescribeFaceVerifyResponse extends $tea.Model {
535
+ code: string;
536
+ message: string;
496
537
  requestId: string;
497
- taskId: string;
538
+ resultObject: DescribeFaceVerifyResponseResultObject;
498
539
  static names(): { [key: string]: string } {
499
540
  return {
541
+ code: 'Code',
542
+ message: 'Message',
500
543
  requestId: 'RequestId',
501
- taskId: 'TaskId',
544
+ resultObject: 'ResultObject',
502
545
  };
503
546
  }
504
547
 
505
548
  static types(): { [key: string]: any } {
506
549
  return {
550
+ code: 'string',
551
+ message: 'string',
507
552
  requestId: 'string',
508
- taskId: 'string',
553
+ resultObject: DescribeFaceVerifyResponseResultObject,
509
554
  };
510
555
  }
511
556
 
@@ -514,32 +559,14 @@ export class CreateVerifySDKResponse extends $tea.Model {
514
559
  }
515
560
  }
516
561
 
517
- export class CreateVerifySettingRequest extends $tea.Model {
518
- bizName: string;
519
- bizType: string;
520
- guideStep?: boolean;
521
- privacyStep?: boolean;
522
- resultStep?: boolean;
523
- solution: string;
562
+ export class DescribeOssUploadTokenRequest extends $tea.Model {
524
563
  static names(): { [key: string]: string } {
525
564
  return {
526
- bizName: 'BizName',
527
- bizType: 'BizType',
528
- guideStep: 'GuideStep',
529
- privacyStep: 'PrivacyStep',
530
- resultStep: 'ResultStep',
531
- solution: 'Solution',
532
565
  };
533
566
  }
534
567
 
535
568
  static types(): { [key: string]: any } {
536
569
  return {
537
- bizName: 'string',
538
- bizType: 'string',
539
- guideStep: 'boolean',
540
- privacyStep: 'boolean',
541
- resultStep: 'boolean',
542
- solution: 'string',
543
570
  };
544
571
  }
545
572
 
@@ -548,29 +575,20 @@ export class CreateVerifySettingRequest extends $tea.Model {
548
575
  }
549
576
  }
550
577
 
551
- export class CreateVerifySettingResponse extends $tea.Model {
552
- bizName: string;
553
- bizType: string;
578
+ export class DescribeOssUploadTokenResponse extends $tea.Model {
554
579
  requestId: string;
555
- solution: string;
556
- stepList: string[];
580
+ ossUploadToken: DescribeOssUploadTokenResponseOssUploadToken;
557
581
  static names(): { [key: string]: string } {
558
582
  return {
559
- bizName: 'BizName',
560
- bizType: 'BizType',
561
583
  requestId: 'RequestId',
562
- solution: 'Solution',
563
- stepList: 'StepList',
584
+ ossUploadToken: 'OssUploadToken',
564
585
  };
565
586
  }
566
587
 
567
588
  static types(): { [key: string]: any } {
568
589
  return {
569
- bizName: 'string',
570
- bizType: 'string',
571
590
  requestId: 'string',
572
- solution: 'string',
573
- stepList: { 'type': 'array', 'itemType': 'string' },
591
+ ossUploadToken: DescribeOssUploadTokenResponseOssUploadToken,
574
592
  };
575
593
  }
576
594
 
@@ -579,21 +597,13 @@ export class CreateVerifySettingResponse extends $tea.Model {
579
597
  }
580
598
  }
581
599
 
582
- export class CreateWhitelistRequest extends $tea.Model {
600
+ export class DescribeVerifyResultRequest extends $tea.Model {
583
601
  bizId: string;
584
- bizType?: string;
585
- idCardNum: string;
586
- lang?: string;
587
- sourceIp?: string;
588
- validDay: string;
602
+ bizType: string;
589
603
  static names(): { [key: string]: string } {
590
604
  return {
591
605
  bizId: 'BizId',
592
606
  bizType: 'BizType',
593
- idCardNum: 'IdCardNum',
594
- lang: 'Lang',
595
- sourceIp: 'SourceIp',
596
- validDay: 'ValidDay',
597
607
  };
598
608
  }
599
609
 
@@ -601,10 +611,6 @@ export class CreateWhitelistRequest extends $tea.Model {
601
611
  return {
602
612
  bizId: 'string',
603
613
  bizType: 'string',
604
- idCardNum: 'string',
605
- lang: 'string',
606
- sourceIp: 'string',
607
- validDay: 'string',
608
614
  };
609
615
  }
610
616
 
@@ -613,17 +619,32 @@ export class CreateWhitelistRequest extends $tea.Model {
613
619
  }
614
620
  }
615
621
 
616
- export class CreateWhitelistResponse extends $tea.Model {
622
+ export class DescribeVerifyResultResponse extends $tea.Model {
623
+ authorityComparisionScore: number;
624
+ faceComparisonScore: number;
625
+ idCardFaceComparisonScore: number;
617
626
  requestId: string;
627
+ verifyStatus: number;
628
+ material: DescribeVerifyResultResponseMaterial;
618
629
  static names(): { [key: string]: string } {
619
630
  return {
631
+ authorityComparisionScore: 'AuthorityComparisionScore',
632
+ faceComparisonScore: 'FaceComparisonScore',
633
+ idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
620
634
  requestId: 'RequestId',
635
+ verifyStatus: 'VerifyStatus',
636
+ material: 'Material',
621
637
  };
622
638
  }
623
639
 
624
640
  static types(): { [key: string]: any } {
625
641
  return {
642
+ authorityComparisionScore: 'number',
643
+ faceComparisonScore: 'number',
644
+ idCardFaceComparisonScore: 'number',
626
645
  requestId: 'string',
646
+ verifyStatus: 'number',
647
+ material: DescribeVerifyResultResponseMaterial,
627
648
  };
628
649
  }
629
650
 
@@ -632,35 +653,17 @@ export class CreateWhitelistResponse extends $tea.Model {
632
653
  }
633
654
  }
634
655
 
635
- export class CreateWhitelistSettingRequest extends $tea.Model {
636
- certNo?: string;
637
- certifyId?: string;
638
- lang?: string;
639
- sceneId?: number;
640
- serviceCode: string;
641
- sourceIp?: string;
642
- validDay: number;
656
+ export class DescribeVerifySDKRequest extends $tea.Model {
657
+ taskId: string;
643
658
  static names(): { [key: string]: string } {
644
659
  return {
645
- certNo: 'CertNo',
646
- certifyId: 'CertifyId',
647
- lang: 'Lang',
648
- sceneId: 'SceneId',
649
- serviceCode: 'ServiceCode',
650
- sourceIp: 'SourceIp',
651
- validDay: 'ValidDay',
660
+ taskId: 'TaskId',
652
661
  };
653
662
  }
654
663
 
655
664
  static types(): { [key: string]: any } {
656
665
  return {
657
- certNo: 'string',
658
- certifyId: 'string',
659
- lang: 'string',
660
- sceneId: 'number',
661
- serviceCode: 'string',
662
- sourceIp: 'string',
663
- validDay: 'number',
666
+ taskId: 'string',
664
667
  };
665
668
  }
666
669
 
@@ -669,20 +672,20 @@ export class CreateWhitelistSettingRequest extends $tea.Model {
669
672
  }
670
673
  }
671
674
 
672
- export class CreateWhitelistSettingResponse extends $tea.Model {
675
+ export class DescribeVerifySDKResponse extends $tea.Model {
673
676
  requestId: string;
674
- resultObject: boolean;
677
+ sdkUrl: string;
675
678
  static names(): { [key: string]: string } {
676
679
  return {
677
680
  requestId: 'RequestId',
678
- resultObject: 'ResultObject',
681
+ sdkUrl: 'SdkUrl',
679
682
  };
680
683
  }
681
684
 
682
685
  static types(): { [key: string]: any } {
683
686
  return {
684
687
  requestId: 'string',
685
- resultObject: 'boolean',
688
+ sdkUrl: 'string',
686
689
  };
687
690
  }
688
691
 
@@ -691,23 +694,59 @@ export class CreateWhitelistSettingResponse extends $tea.Model {
691
694
  }
692
695
  }
693
696
 
694
- export class DeleteWhitelistRequest extends $tea.Model {
695
- ids: string;
696
- lang?: string;
697
- sourceIp?: string;
697
+ export class DescribeVerifyTokenRequest extends $tea.Model {
698
+ bizId: string;
699
+ bizType: string;
700
+ callbackSeed?: string;
701
+ callbackUrl?: string;
702
+ faceRetainedImageUrl?: string;
703
+ failedRedirectUrl?: string;
704
+ idCardBackImageUrl?: string;
705
+ idCardFrontImageUrl?: string;
706
+ idCardNumber?: string;
707
+ name?: string;
708
+ passedRedirectUrl?: string;
709
+ userId?: string;
710
+ userIp?: string;
711
+ userPhoneNumber?: string;
712
+ userRegistTime?: number;
698
713
  static names(): { [key: string]: string } {
699
714
  return {
700
- ids: 'Ids',
701
- lang: 'Lang',
702
- sourceIp: 'SourceIp',
715
+ bizId: 'BizId',
716
+ bizType: 'BizType',
717
+ callbackSeed: 'CallbackSeed',
718
+ callbackUrl: 'CallbackUrl',
719
+ faceRetainedImageUrl: 'FaceRetainedImageUrl',
720
+ failedRedirectUrl: 'FailedRedirectUrl',
721
+ idCardBackImageUrl: 'IdCardBackImageUrl',
722
+ idCardFrontImageUrl: 'IdCardFrontImageUrl',
723
+ idCardNumber: 'IdCardNumber',
724
+ name: 'Name',
725
+ passedRedirectUrl: 'PassedRedirectUrl',
726
+ userId: 'UserId',
727
+ userIp: 'UserIp',
728
+ userPhoneNumber: 'UserPhoneNumber',
729
+ userRegistTime: 'UserRegistTime',
703
730
  };
704
731
  }
705
732
 
706
733
  static types(): { [key: string]: any } {
707
734
  return {
708
- ids: 'string',
709
- lang: 'string',
710
- sourceIp: 'string',
735
+ bizId: 'string',
736
+ bizType: 'string',
737
+ callbackSeed: 'string',
738
+ callbackUrl: 'string',
739
+ faceRetainedImageUrl: 'string',
740
+ failedRedirectUrl: 'string',
741
+ idCardBackImageUrl: 'string',
742
+ idCardFrontImageUrl: 'string',
743
+ idCardNumber: 'string',
744
+ name: 'string',
745
+ passedRedirectUrl: 'string',
746
+ userId: 'string',
747
+ userIp: 'string',
748
+ userPhoneNumber: 'string',
749
+ userRegistTime: 'number',
711
750
  };
712
751
  }
713
752
 
@@ -716,17 +755,26 @@ export class DeleteWhitelistRequest extends $tea.Model {
716
755
  }
717
756
  }
718
757
 
719
- export class DeleteWhitelistResponse extends $tea.Model {
758
+ export class DescribeVerifyTokenResponse extends $tea.Model {
720
759
  requestId: string;
760
+ verifyPageUrl: string;
761
+ verifyToken: string;
762
+ ossUploadToken: DescribeVerifyTokenResponseOssUploadToken;
721
763
  static names(): { [key: string]: string } {
722
764
  return {
723
765
  requestId: 'RequestId',
766
+ verifyPageUrl: 'VerifyPageUrl',
767
+ verifyToken: 'VerifyToken',
768
+ ossUploadToken: 'OssUploadToken',
724
769
  };
725
770
  }
726
771
 
727
772
  static types(): { [key: string]: any } {
728
773
  return {
729
774
  requestId: 'string',
775
+ verifyPageUrl: 'string',
776
+ verifyToken: 'string',
777
+ ossUploadToken: DescribeVerifyTokenResponseOssUploadToken,
730
778
  };
731
779
  }
732
780
 
@@ -735,26 +783,20 @@ export class DeleteWhitelistResponse extends $tea.Model {
735
783
  }
736
784
  }
737
785
 
738
- export class DeleteWhitelistSettingRequest extends $tea.Model {
739
- ids: string;
740
- lang?: string;
741
- serviceCode: string;
742
- sourceIp?: string;
786
+ export class DetectFaceAttributesRequest extends $tea.Model {
787
+ bizType?: string;
788
+ materialValue: string;
743
789
  static names(): { [key: string]: string } {
744
790
  return {
745
- ids: 'Ids',
746
- lang: 'Lang',
747
- serviceCode: 'ServiceCode',
748
- sourceIp: 'SourceIp',
791
+ bizType: 'BizType',
792
+ materialValue: 'MaterialValue',
749
793
  };
750
794
  }
751
795
 
752
796
  static types(): { [key: string]: any } {
753
797
  return {
754
- ids: 'string',
755
- lang: 'string',
756
- serviceCode: 'string',
757
- sourceIp: 'string',
798
+ bizType: 'string',
799
+ materialValue: 'string',
758
800
  };
759
801
  }
760
802
 
@@ -763,1199 +805,29 @@ export class DeleteWhitelistSettingRequest extends $tea.Model {
763
805
  }
764
806
  }
765
807
 
766
- export class DeleteWhitelistSettingResponse extends $tea.Model {
808
+ export class DetectFaceAttributesResponse extends $tea.Model {
809
+ code: string;
810
+ message: string;
767
811
  requestId: string;
768
- resultObject: boolean;
812
+ success: boolean;
813
+ data: DetectFaceAttributesResponseData;
769
814
  static names(): { [key: string]: string } {
770
815
  return {
816
+ code: 'Code',
817
+ message: 'Message',
771
818
  requestId: 'RequestId',
772
- resultObject: 'ResultObject',
819
+ success: 'Success',
820
+ data: 'Data',
773
821
  };
774
822
  }
775
823
 
776
824
  static types(): { [key: string]: any } {
777
825
  return {
826
+ code: 'string',
827
+ message: 'string',
778
828
  requestId: 'string',
779
- resultObject: 'boolean',
780
- };
781
- }
782
-
783
- constructor(map?: { [key: string]: any }) {
784
- super(map);
785
- }
786
- }
787
-
788
- export class DescribeAppInfoRequest extends $tea.Model {
789
- currentPage?: number;
790
- pageSize?: number;
791
- platform?: string;
792
- static names(): { [key: string]: string } {
793
- return {
794
- currentPage: 'CurrentPage',
795
- pageSize: 'PageSize',
796
- platform: 'Platform',
797
- };
798
- }
799
-
800
- static types(): { [key: string]: any } {
801
- return {
802
- currentPage: 'number',
803
- pageSize: 'number',
804
- platform: 'string',
805
- };
806
- }
807
-
808
- constructor(map?: { [key: string]: any }) {
809
- super(map);
810
- }
811
- }
812
-
813
- export class DescribeAppInfoResponse extends $tea.Model {
814
- currentPage: number;
815
- pageSize: number;
816
- requestId: string;
817
- totalCount: number;
818
- appInfoList: DescribeAppInfoResponseAppInfoList[];
819
- static names(): { [key: string]: string } {
820
- return {
821
- currentPage: 'CurrentPage',
822
- pageSize: 'PageSize',
823
- requestId: 'RequestId',
824
- totalCount: 'TotalCount',
825
- appInfoList: 'AppInfoList',
826
- };
827
- }
828
-
829
- static types(): { [key: string]: any } {
830
- return {
831
- currentPage: 'number',
832
- pageSize: 'number',
833
- requestId: 'string',
834
- totalCount: 'number',
835
- appInfoList: { 'type': 'array', 'itemType': DescribeAppInfoResponseAppInfoList },
836
- };
837
- }
838
-
839
- constructor(map?: { [key: string]: any }) {
840
- super(map);
841
- }
842
- }
843
-
844
- export class DescribeDeviceInfoRequest extends $tea.Model {
845
- bizType?: string;
846
- currentPage?: number;
847
- deviceId?: string;
848
- expiredEndDay?: string;
849
- expiredStartDay?: string;
850
- pageSize?: number;
851
- userDeviceId?: string;
852
- static names(): { [key: string]: string } {
853
- return {
854
- bizType: 'BizType',
855
- currentPage: 'CurrentPage',
856
- deviceId: 'DeviceId',
857
- expiredEndDay: 'ExpiredEndDay',
858
- expiredStartDay: 'ExpiredStartDay',
859
- pageSize: 'PageSize',
860
- userDeviceId: 'UserDeviceId',
861
- };
862
- }
863
-
864
- static types(): { [key: string]: any } {
865
- return {
866
- bizType: 'string',
867
- currentPage: 'number',
868
- deviceId: 'string',
869
- expiredEndDay: 'string',
870
- expiredStartDay: 'string',
871
- pageSize: 'number',
872
- userDeviceId: 'string',
873
- };
874
- }
875
-
876
- constructor(map?: { [key: string]: any }) {
877
- super(map);
878
- }
879
- }
880
-
881
- export class DescribeDeviceInfoResponse extends $tea.Model {
882
- currentPage: number;
883
- pageSize: number;
884
- requestId: string;
885
- totalCount: number;
886
- deviceInfoList: DescribeDeviceInfoResponseDeviceInfoList;
887
- static names(): { [key: string]: string } {
888
- return {
889
- currentPage: 'CurrentPage',
890
- pageSize: 'PageSize',
891
- requestId: 'RequestId',
892
- totalCount: 'TotalCount',
893
- deviceInfoList: 'DeviceInfoList',
894
- };
895
- }
896
-
897
- static types(): { [key: string]: any } {
898
- return {
899
- currentPage: 'number',
900
- pageSize: 'number',
901
- requestId: 'string',
902
- totalCount: 'number',
903
- deviceInfoList: DescribeDeviceInfoResponseDeviceInfoList,
904
- };
905
- }
906
-
907
- constructor(map?: { [key: string]: any }) {
908
- super(map);
909
- }
910
- }
911
-
912
- export class DescribeFaceConfigRequest extends $tea.Model {
913
- lang?: string;
914
- sourceIp?: string;
915
- static names(): { [key: string]: string } {
916
- return {
917
- lang: 'Lang',
918
- sourceIp: 'SourceIp',
919
- };
920
- }
921
-
922
- static types(): { [key: string]: any } {
923
- return {
924
- lang: 'string',
925
- sourceIp: 'string',
926
- };
927
- }
928
-
929
- constructor(map?: { [key: string]: any }) {
930
- super(map);
931
- }
932
- }
933
-
934
- export class DescribeFaceConfigResponse extends $tea.Model {
935
- requestId: string;
936
- items: DescribeFaceConfigResponseItems[];
937
- static names(): { [key: string]: string } {
938
- return {
939
- requestId: 'RequestId',
940
- items: 'Items',
941
- };
942
- }
943
-
944
- static types(): { [key: string]: any } {
945
- return {
946
- requestId: 'string',
947
- items: { 'type': 'array', 'itemType': DescribeFaceConfigResponseItems },
948
- };
949
- }
950
-
951
- constructor(map?: { [key: string]: any }) {
952
- super(map);
953
- }
954
- }
955
-
956
- export class DescribeFaceUsageRequest extends $tea.Model {
957
- endDate: string;
958
- startDate: string;
959
- static names(): { [key: string]: string } {
960
- return {
961
- endDate: 'EndDate',
962
- startDate: 'StartDate',
963
- };
964
- }
965
-
966
- static types(): { [key: string]: any } {
967
- return {
968
- endDate: 'string',
969
- startDate: 'string',
970
- };
971
- }
972
-
973
- constructor(map?: { [key: string]: any }) {
974
- super(map);
975
- }
976
- }
977
-
978
- export class DescribeFaceUsageResponse extends $tea.Model {
979
- requestId: string;
980
- totalCount: number;
981
- faceUsageList: DescribeFaceUsageResponseFaceUsageList[];
982
- static names(): { [key: string]: string } {
983
- return {
984
- requestId: 'RequestId',
985
- totalCount: 'TotalCount',
986
- faceUsageList: 'FaceUsageList',
987
- };
988
- }
989
-
990
- static types(): { [key: string]: any } {
991
- return {
992
- requestId: 'string',
993
- totalCount: 'number',
994
- faceUsageList: { 'type': 'array', 'itemType': DescribeFaceUsageResponseFaceUsageList },
995
- };
996
- }
997
-
998
- constructor(map?: { [key: string]: any }) {
999
- super(map);
1000
- }
1001
- }
1002
-
1003
- export class DescribeFaceVerifyRequest extends $tea.Model {
1004
- certifyId?: string;
1005
- pictureReturnType?: string;
1006
- sceneId?: number;
1007
- static names(): { [key: string]: string } {
1008
- return {
1009
- certifyId: 'CertifyId',
1010
- pictureReturnType: 'PictureReturnType',
1011
- sceneId: 'SceneId',
1012
- };
1013
- }
1014
-
1015
- static types(): { [key: string]: any } {
1016
- return {
1017
- certifyId: 'string',
1018
- pictureReturnType: 'string',
1019
- sceneId: 'number',
1020
- };
1021
- }
1022
-
1023
- constructor(map?: { [key: string]: any }) {
1024
- super(map);
1025
- }
1026
- }
1027
-
1028
- export class DescribeFaceVerifyResponse extends $tea.Model {
1029
- code: string;
1030
- message: string;
1031
- requestId: string;
1032
- resultObject: DescribeFaceVerifyResponseResultObject;
1033
- static names(): { [key: string]: string } {
1034
- return {
1035
- code: 'Code',
1036
- message: 'Message',
1037
- requestId: 'RequestId',
1038
- resultObject: 'ResultObject',
1039
- };
1040
- }
1041
-
1042
- static types(): { [key: string]: any } {
1043
- return {
1044
- code: 'string',
1045
- message: 'string',
1046
- requestId: 'string',
1047
- resultObject: DescribeFaceVerifyResponseResultObject,
1048
- };
1049
- }
1050
-
1051
- constructor(map?: { [key: string]: any }) {
1052
- super(map);
1053
- }
1054
- }
1055
-
1056
- export class DescribeOssUploadTokenRequest extends $tea.Model {
1057
- static names(): { [key: string]: string } {
1058
- return {
1059
- };
1060
- }
1061
-
1062
- static types(): { [key: string]: any } {
1063
- return {
1064
- };
1065
- }
1066
-
1067
- constructor(map?: { [key: string]: any }) {
1068
- super(map);
1069
- }
1070
- }
1071
-
1072
- export class DescribeOssUploadTokenResponse extends $tea.Model {
1073
- requestId: string;
1074
- ossUploadToken: DescribeOssUploadTokenResponseOssUploadToken;
1075
- static names(): { [key: string]: string } {
1076
- return {
1077
- requestId: 'RequestId',
1078
- ossUploadToken: 'OssUploadToken',
1079
- };
1080
- }
1081
-
1082
- static types(): { [key: string]: any } {
1083
- return {
1084
- requestId: 'string',
1085
- ossUploadToken: DescribeOssUploadTokenResponseOssUploadToken,
1086
- };
1087
- }
1088
-
1089
- constructor(map?: { [key: string]: any }) {
1090
- super(map);
1091
- }
1092
- }
1093
-
1094
- export class DescribeRPSDKRequest extends $tea.Model {
1095
- lang?: string;
1096
- sourceIp?: string;
1097
- taskId: string;
1098
- static names(): { [key: string]: string } {
1099
- return {
1100
- lang: 'Lang',
1101
- sourceIp: 'SourceIp',
1102
- taskId: 'TaskId',
1103
- };
1104
- }
1105
-
1106
- static types(): { [key: string]: any } {
1107
- return {
1108
- lang: 'string',
1109
- sourceIp: 'string',
1110
- taskId: 'string',
1111
- };
1112
- }
1113
-
1114
- constructor(map?: { [key: string]: any }) {
1115
- super(map);
1116
- }
1117
- }
1118
-
1119
- export class DescribeRPSDKResponse extends $tea.Model {
1120
- requestId: string;
1121
- sdkUrl: string;
1122
- static names(): { [key: string]: string } {
1123
- return {
1124
- requestId: 'RequestId',
1125
- sdkUrl: 'SdkUrl',
1126
- };
1127
- }
1128
-
1129
- static types(): { [key: string]: any } {
1130
- return {
1131
- requestId: 'string',
1132
- sdkUrl: 'string',
1133
- };
1134
- }
1135
-
1136
- constructor(map?: { [key: string]: any }) {
1137
- super(map);
1138
- }
1139
- }
1140
-
1141
- export class DescribeSdkUrlRequest extends $tea.Model {
1142
- debug?: boolean;
1143
- id: number;
1144
- static names(): { [key: string]: string } {
1145
- return {
1146
- debug: 'Debug',
1147
- id: 'Id',
1148
- };
1149
- }
1150
-
1151
- static types(): { [key: string]: any } {
1152
- return {
1153
- debug: 'boolean',
1154
- id: 'number',
1155
- };
1156
- }
1157
-
1158
- constructor(map?: { [key: string]: any }) {
1159
- super(map);
1160
- }
1161
- }
1162
-
1163
- export class DescribeSdkUrlResponse extends $tea.Model {
1164
- requestId: string;
1165
- sdkUrl: string;
1166
- static names(): { [key: string]: string } {
1167
- return {
1168
- requestId: 'RequestId',
1169
- sdkUrl: 'SdkUrl',
1170
- };
1171
- }
1172
-
1173
- static types(): { [key: string]: any } {
1174
- return {
1175
- requestId: 'string',
1176
- sdkUrl: 'string',
1177
- };
1178
- }
1179
-
1180
- constructor(map?: { [key: string]: any }) {
1181
- super(map);
1182
- }
1183
- }
1184
-
1185
- export class DescribeUpdatePackageResultRequest extends $tea.Model {
1186
- taskId: string;
1187
- static names(): { [key: string]: string } {
1188
- return {
1189
- taskId: 'TaskId',
1190
- };
1191
- }
1192
-
1193
- static types(): { [key: string]: any } {
1194
- return {
1195
- taskId: 'string',
1196
- };
1197
- }
1198
-
1199
- constructor(map?: { [key: string]: any }) {
1200
- super(map);
1201
- }
1202
- }
1203
-
1204
- export class DescribeUpdatePackageResultResponse extends $tea.Model {
1205
- requestId: string;
1206
- appInfo: DescribeUpdatePackageResultResponseAppInfo;
1207
- static names(): { [key: string]: string } {
1208
- return {
1209
- requestId: 'RequestId',
1210
- appInfo: 'AppInfo',
1211
- };
1212
- }
1213
-
1214
- static types(): { [key: string]: any } {
1215
- return {
1216
- requestId: 'string',
1217
- appInfo: DescribeUpdatePackageResultResponseAppInfo,
1218
- };
1219
- }
1220
-
1221
- constructor(map?: { [key: string]: any }) {
1222
- super(map);
1223
- }
1224
- }
1225
-
1226
- export class DescribeUploadInfoRequest extends $tea.Model {
1227
- biz?: string;
1228
- static names(): { [key: string]: string } {
1229
- return {
1230
- biz: 'Biz',
1231
- };
1232
- }
1233
-
1234
- static types(): { [key: string]: any } {
1235
- return {
1236
- biz: 'string',
1237
- };
1238
- }
1239
-
1240
- constructor(map?: { [key: string]: any }) {
1241
- super(map);
1242
- }
1243
- }
1244
-
1245
- export class DescribeUploadInfoResponse extends $tea.Model {
1246
- accessid: string;
1247
- expire: number;
1248
- folder: string;
1249
- host: string;
1250
- policy: string;
1251
- requestId: string;
1252
- signature: string;
1253
- static names(): { [key: string]: string } {
1254
- return {
1255
- accessid: 'Accessid',
1256
- expire: 'Expire',
1257
- folder: 'Folder',
1258
- host: 'Host',
1259
- policy: 'Policy',
1260
- requestId: 'RequestId',
1261
- signature: 'Signature',
1262
- };
1263
- }
1264
-
1265
- static types(): { [key: string]: any } {
1266
- return {
1267
- accessid: 'string',
1268
- expire: 'number',
1269
- folder: 'string',
1270
- host: 'string',
1271
- policy: 'string',
1272
- requestId: 'string',
1273
- signature: 'string',
1274
- };
1275
- }
1276
-
1277
- constructor(map?: { [key: string]: any }) {
1278
- super(map);
1279
- }
1280
- }
1281
-
1282
- export class DescribeUserStatusRequest extends $tea.Model {
1283
- static names(): { [key: string]: string } {
1284
- return {
1285
- };
1286
- }
1287
-
1288
- static types(): { [key: string]: any } {
1289
- return {
1290
- };
1291
- }
1292
-
1293
- constructor(map?: { [key: string]: any }) {
1294
- super(map);
1295
- }
1296
- }
1297
-
1298
- export class DescribeUserStatusResponse extends $tea.Model {
1299
- enabled: boolean;
1300
- requestId: string;
1301
- static names(): { [key: string]: string } {
1302
- return {
1303
- enabled: 'Enabled',
1304
- requestId: 'RequestId',
1305
- };
1306
- }
1307
-
1308
- static types(): { [key: string]: any } {
1309
- return {
1310
- enabled: 'boolean',
1311
- requestId: 'string',
1312
- };
1313
- }
1314
-
1315
- constructor(map?: { [key: string]: any }) {
1316
- super(map);
1317
- }
1318
- }
1319
-
1320
- export class DescribeVerifyRecordsRequest extends $tea.Model {
1321
- bizId?: string;
1322
- bizType?: string;
1323
- currentPage: number;
1324
- endDate?: string;
1325
- idCardNum?: string;
1326
- pageSize: number;
1327
- queryId?: string;
1328
- startDate?: string;
1329
- statusList?: string;
1330
- totalCount?: number;
1331
- static names(): { [key: string]: string } {
1332
- return {
1333
- bizId: 'BizId',
1334
- bizType: 'BizType',
1335
- currentPage: 'CurrentPage',
1336
- endDate: 'EndDate',
1337
- idCardNum: 'IdCardNum',
1338
- pageSize: 'PageSize',
1339
- queryId: 'QueryId',
1340
- startDate: 'StartDate',
1341
- statusList: 'StatusList',
1342
- totalCount: 'TotalCount',
1343
- };
1344
- }
1345
-
1346
- static types(): { [key: string]: any } {
1347
- return {
1348
- bizId: 'string',
1349
- bizType: 'string',
1350
- currentPage: 'number',
1351
- endDate: 'string',
1352
- idCardNum: 'string',
1353
- pageSize: 'number',
1354
- queryId: 'string',
1355
- startDate: 'string',
1356
- statusList: 'string',
1357
- totalCount: 'number',
1358
- };
1359
- }
1360
-
1361
- constructor(map?: { [key: string]: any }) {
1362
- super(map);
1363
- }
1364
- }
1365
-
1366
- export class DescribeVerifyRecordsResponse extends $tea.Model {
1367
- currentPage: number;
1368
- pageSize: number;
1369
- queryId: string;
1370
- requestId: string;
1371
- totalCount: number;
1372
- recordsList: DescribeVerifyRecordsResponseRecordsList[];
1373
- static names(): { [key: string]: string } {
1374
- return {
1375
- currentPage: 'CurrentPage',
1376
- pageSize: 'PageSize',
1377
- queryId: 'QueryId',
1378
- requestId: 'RequestId',
1379
- totalCount: 'TotalCount',
1380
- recordsList: 'RecordsList',
1381
- };
1382
- }
1383
-
1384
- static types(): { [key: string]: any } {
1385
- return {
1386
- currentPage: 'number',
1387
- pageSize: 'number',
1388
- queryId: 'string',
1389
- requestId: 'string',
1390
- totalCount: 'number',
1391
- recordsList: { 'type': 'array', 'itemType': DescribeVerifyRecordsResponseRecordsList },
1392
- };
1393
- }
1394
-
1395
- constructor(map?: { [key: string]: any }) {
1396
- super(map);
1397
- }
1398
- }
1399
-
1400
- export class DescribeVerifyResultRequest extends $tea.Model {
1401
- bizId: string;
1402
- bizType: string;
1403
- static names(): { [key: string]: string } {
1404
- return {
1405
- bizId: 'BizId',
1406
- bizType: 'BizType',
1407
- };
1408
- }
1409
-
1410
- static types(): { [key: string]: any } {
1411
- return {
1412
- bizId: 'string',
1413
- bizType: 'string',
1414
- };
1415
- }
1416
-
1417
- constructor(map?: { [key: string]: any }) {
1418
- super(map);
1419
- }
1420
- }
1421
-
1422
- export class DescribeVerifyResultResponse extends $tea.Model {
1423
- authorityComparisionScore: number;
1424
- faceComparisonScore: number;
1425
- idCardFaceComparisonScore: number;
1426
- requestId: string;
1427
- verifyStatus: number;
1428
- material: DescribeVerifyResultResponseMaterial;
1429
- static names(): { [key: string]: string } {
1430
- return {
1431
- authorityComparisionScore: 'AuthorityComparisionScore',
1432
- faceComparisonScore: 'FaceComparisonScore',
1433
- idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
1434
- requestId: 'RequestId',
1435
- verifyStatus: 'VerifyStatus',
1436
- material: 'Material',
1437
- };
1438
- }
1439
-
1440
- static types(): { [key: string]: any } {
1441
- return {
1442
- authorityComparisionScore: 'number',
1443
- faceComparisonScore: 'number',
1444
- idCardFaceComparisonScore: 'number',
1445
- requestId: 'string',
1446
- verifyStatus: 'number',
1447
- material: DescribeVerifyResultResponseMaterial,
1448
- };
1449
- }
1450
-
1451
- constructor(map?: { [key: string]: any }) {
1452
- super(map);
1453
- }
1454
- }
1455
-
1456
- export class DescribeVerifySDKRequest extends $tea.Model {
1457
- taskId: string;
1458
- static names(): { [key: string]: string } {
1459
- return {
1460
- taskId: 'TaskId',
1461
- };
1462
- }
1463
-
1464
- static types(): { [key: string]: any } {
1465
- return {
1466
- taskId: 'string',
1467
- };
1468
- }
1469
-
1470
- constructor(map?: { [key: string]: any }) {
1471
- super(map);
1472
- }
1473
- }
1474
-
1475
- export class DescribeVerifySDKResponse extends $tea.Model {
1476
- requestId: string;
1477
- sdkUrl: string;
1478
- static names(): { [key: string]: string } {
1479
- return {
1480
- requestId: 'RequestId',
1481
- sdkUrl: 'SdkUrl',
1482
- };
1483
- }
1484
-
1485
- static types(): { [key: string]: any } {
1486
- return {
1487
- requestId: 'string',
1488
- sdkUrl: 'string',
1489
- };
1490
- }
1491
-
1492
- constructor(map?: { [key: string]: any }) {
1493
- super(map);
1494
- }
1495
- }
1496
-
1497
- export class DescribeVerifySettingRequest extends $tea.Model {
1498
- static names(): { [key: string]: string } {
1499
- return {
1500
- };
1501
- }
1502
-
1503
- static types(): { [key: string]: any } {
1504
- return {
1505
- };
1506
- }
1507
-
1508
- constructor(map?: { [key: string]: any }) {
1509
- super(map);
1510
- }
1511
- }
1512
-
1513
- export class DescribeVerifySettingResponse extends $tea.Model {
1514
- requestId: string;
1515
- verifySettingList: DescribeVerifySettingResponseVerifySettingList[];
1516
- static names(): { [key: string]: string } {
1517
- return {
1518
- requestId: 'RequestId',
1519
- verifySettingList: 'VerifySettingList',
1520
- };
1521
- }
1522
-
1523
- static types(): { [key: string]: any } {
1524
- return {
1525
- requestId: 'string',
1526
- verifySettingList: { 'type': 'array', 'itemType': DescribeVerifySettingResponseVerifySettingList },
1527
- };
1528
- }
1529
-
1530
- constructor(map?: { [key: string]: any }) {
1531
- super(map);
1532
- }
1533
- }
1534
-
1535
- export class DescribeVerifyTokenRequest extends $tea.Model {
1536
- bizId: string;
1537
- bizType: string;
1538
- callbackSeed?: string;
1539
- callbackUrl?: string;
1540
- faceRetainedImageUrl?: string;
1541
- failedRedirectUrl?: string;
1542
- idCardBackImageUrl?: string;
1543
- idCardFrontImageUrl?: string;
1544
- idCardNumber?: string;
1545
- name?: string;
1546
- passedRedirectUrl?: string;
1547
- userId?: string;
1548
- userIp?: string;
1549
- userPhoneNumber?: string;
1550
- userRegistTime?: number;
1551
- static names(): { [key: string]: string } {
1552
- return {
1553
- bizId: 'BizId',
1554
- bizType: 'BizType',
1555
- callbackSeed: 'CallbackSeed',
1556
- callbackUrl: 'CallbackUrl',
1557
- faceRetainedImageUrl: 'FaceRetainedImageUrl',
1558
- failedRedirectUrl: 'FailedRedirectUrl',
1559
- idCardBackImageUrl: 'IdCardBackImageUrl',
1560
- idCardFrontImageUrl: 'IdCardFrontImageUrl',
1561
- idCardNumber: 'IdCardNumber',
1562
- name: 'Name',
1563
- passedRedirectUrl: 'PassedRedirectUrl',
1564
- userId: 'UserId',
1565
- userIp: 'UserIp',
1566
- userPhoneNumber: 'UserPhoneNumber',
1567
- userRegistTime: 'UserRegistTime',
1568
- };
1569
- }
1570
-
1571
- static types(): { [key: string]: any } {
1572
- return {
1573
- bizId: 'string',
1574
- bizType: 'string',
1575
- callbackSeed: 'string',
1576
- callbackUrl: 'string',
1577
- faceRetainedImageUrl: 'string',
1578
- failedRedirectUrl: 'string',
1579
- idCardBackImageUrl: 'string',
1580
- idCardFrontImageUrl: 'string',
1581
- idCardNumber: 'string',
1582
- name: 'string',
1583
- passedRedirectUrl: 'string',
1584
- userId: 'string',
1585
- userIp: 'string',
1586
- userPhoneNumber: 'string',
1587
- userRegistTime: 'number',
1588
- };
1589
- }
1590
-
1591
- constructor(map?: { [key: string]: any }) {
1592
- super(map);
1593
- }
1594
- }
1595
-
1596
- export class DescribeVerifyTokenResponse extends $tea.Model {
1597
- requestId: string;
1598
- verifyPageUrl: string;
1599
- verifyToken: string;
1600
- ossUploadToken: DescribeVerifyTokenResponseOssUploadToken;
1601
- static names(): { [key: string]: string } {
1602
- return {
1603
- requestId: 'RequestId',
1604
- verifyPageUrl: 'VerifyPageUrl',
1605
- verifyToken: 'VerifyToken',
1606
- ossUploadToken: 'OssUploadToken',
1607
- };
1608
- }
1609
-
1610
- static types(): { [key: string]: any } {
1611
- return {
1612
- requestId: 'string',
1613
- verifyPageUrl: 'string',
1614
- verifyToken: 'string',
1615
- ossUploadToken: DescribeVerifyTokenResponseOssUploadToken,
1616
- };
1617
- }
1618
-
1619
- constructor(map?: { [key: string]: any }) {
1620
- super(map);
1621
- }
1622
- }
1623
-
1624
- export class DescribeVerifyUsageRequest extends $tea.Model {
1625
- bizType?: string;
1626
- endDate: string;
1627
- startDate: string;
1628
- static names(): { [key: string]: string } {
1629
- return {
1630
- bizType: 'BizType',
1631
- endDate: 'EndDate',
1632
- startDate: 'StartDate',
1633
- };
1634
- }
1635
-
1636
- static types(): { [key: string]: any } {
1637
- return {
1638
- bizType: 'string',
1639
- endDate: 'string',
1640
- startDate: 'string',
1641
- };
1642
- }
1643
-
1644
- constructor(map?: { [key: string]: any }) {
1645
- super(map);
1646
- }
1647
- }
1648
-
1649
- export class DescribeVerifyUsageResponse extends $tea.Model {
1650
- requestId: string;
1651
- totalCount: number;
1652
- verifyUsageList: DescribeVerifyUsageResponseVerifyUsageList[];
1653
- static names(): { [key: string]: string } {
1654
- return {
1655
- requestId: 'RequestId',
1656
- totalCount: 'TotalCount',
1657
- verifyUsageList: 'VerifyUsageList',
1658
- };
1659
- }
1660
-
1661
- static types(): { [key: string]: any } {
1662
- return {
1663
- requestId: 'string',
1664
- totalCount: 'number',
1665
- verifyUsageList: { 'type': 'array', 'itemType': DescribeVerifyUsageResponseVerifyUsageList },
1666
- };
1667
- }
1668
-
1669
- constructor(map?: { [key: string]: any }) {
1670
- super(map);
1671
- }
1672
- }
1673
-
1674
- export class DescribeWhitelistRequest extends $tea.Model {
1675
- bizId?: string;
1676
- bizType?: string;
1677
- currentPage: number;
1678
- idCardNum?: string;
1679
- lang?: string;
1680
- pageSize: number;
1681
- sourceIp?: string;
1682
- valid?: string;
1683
- validEndDate?: string;
1684
- validStartDate?: string;
1685
- static names(): { [key: string]: string } {
1686
- return {
1687
- bizId: 'BizId',
1688
- bizType: 'BizType',
1689
- currentPage: 'CurrentPage',
1690
- idCardNum: 'IdCardNum',
1691
- lang: 'Lang',
1692
- pageSize: 'PageSize',
1693
- sourceIp: 'SourceIp',
1694
- valid: 'Valid',
1695
- validEndDate: 'ValidEndDate',
1696
- validStartDate: 'ValidStartDate',
1697
- };
1698
- }
1699
-
1700
- static types(): { [key: string]: any } {
1701
- return {
1702
- bizId: 'string',
1703
- bizType: 'string',
1704
- currentPage: 'number',
1705
- idCardNum: 'string',
1706
- lang: 'string',
1707
- pageSize: 'number',
1708
- sourceIp: 'string',
1709
- valid: 'string',
1710
- validEndDate: 'string',
1711
- validStartDate: 'string',
1712
- };
1713
- }
1714
-
1715
- constructor(map?: { [key: string]: any }) {
1716
- super(map);
1717
- }
1718
- }
1719
-
1720
- export class DescribeWhitelistResponse extends $tea.Model {
1721
- currentPage: number;
1722
- pageSize: number;
1723
- requestId: string;
1724
- totalCount: number;
1725
- items: DescribeWhitelistResponseItems[];
1726
- static names(): { [key: string]: string } {
1727
- return {
1728
- currentPage: 'CurrentPage',
1729
- pageSize: 'PageSize',
1730
- requestId: 'RequestId',
1731
- totalCount: 'TotalCount',
1732
- items: 'Items',
1733
- };
1734
- }
1735
-
1736
- static types(): { [key: string]: any } {
1737
- return {
1738
- currentPage: 'number',
1739
- pageSize: 'number',
1740
- requestId: 'string',
1741
- totalCount: 'number',
1742
- items: { 'type': 'array', 'itemType': DescribeWhitelistResponseItems },
1743
- };
1744
- }
1745
-
1746
- constructor(map?: { [key: string]: any }) {
1747
- super(map);
1748
- }
1749
- }
1750
-
1751
- export class DescribeWhitelistSettingRequest extends $tea.Model {
1752
- certNo?: string;
1753
- certifyId?: string;
1754
- currentPage: number;
1755
- lang?: string;
1756
- pageSize: number;
1757
- sceneId?: number;
1758
- serviceCode: string;
1759
- sourceIp?: string;
1760
- status?: string;
1761
- validEndDate?: number;
1762
- validStartDate?: number;
1763
- static names(): { [key: string]: string } {
1764
- return {
1765
- certNo: 'CertNo',
1766
- certifyId: 'CertifyId',
1767
- currentPage: 'CurrentPage',
1768
- lang: 'Lang',
1769
- pageSize: 'PageSize',
1770
- sceneId: 'SceneId',
1771
- serviceCode: 'ServiceCode',
1772
- sourceIp: 'SourceIp',
1773
- status: 'Status',
1774
- validEndDate: 'ValidEndDate',
1775
- validStartDate: 'ValidStartDate',
1776
- };
1777
- }
1778
-
1779
- static types(): { [key: string]: any } {
1780
- return {
1781
- certNo: 'string',
1782
- certifyId: 'string',
1783
- currentPage: 'number',
1784
- lang: 'string',
1785
- pageSize: 'number',
1786
- sceneId: 'number',
1787
- serviceCode: 'string',
1788
- sourceIp: 'string',
1789
- status: 'string',
1790
- validEndDate: 'number',
1791
- validStartDate: 'number',
1792
- };
1793
- }
1794
-
1795
- constructor(map?: { [key: string]: any }) {
1796
- super(map);
1797
- }
1798
- }
1799
-
1800
- export class DescribeWhitelistSettingResponse extends $tea.Model {
1801
- currentPage: number;
1802
- pageSize: number;
1803
- requestId: string;
1804
- totalCount: number;
1805
- items: DescribeWhitelistSettingResponseItems[];
1806
- static names(): { [key: string]: string } {
1807
- return {
1808
- currentPage: 'CurrentPage',
1809
- pageSize: 'PageSize',
1810
- requestId: 'RequestId',
1811
- totalCount: 'TotalCount',
1812
- items: 'Items',
1813
- };
1814
- }
1815
-
1816
- static types(): { [key: string]: any } {
1817
- return {
1818
- currentPage: 'number',
1819
- pageSize: 'number',
1820
- requestId: 'string',
1821
- totalCount: 'number',
1822
- items: { 'type': 'array', 'itemType': DescribeWhitelistSettingResponseItems },
1823
- };
1824
- }
1825
-
1826
- constructor(map?: { [key: string]: any }) {
1827
- super(map);
1828
- }
1829
- }
1830
-
1831
- export class DetectFaceAttributesRequest extends $tea.Model {
1832
- bizType?: string;
1833
- materialValue: string;
1834
- static names(): { [key: string]: string } {
1835
- return {
1836
- bizType: 'BizType',
1837
- materialValue: 'MaterialValue',
1838
- };
1839
- }
1840
-
1841
- static types(): { [key: string]: any } {
1842
- return {
1843
- bizType: 'string',
1844
- materialValue: 'string',
1845
- };
1846
- }
1847
-
1848
- constructor(map?: { [key: string]: any }) {
1849
- super(map);
1850
- }
1851
- }
1852
-
1853
- export class DetectFaceAttributesResponse extends $tea.Model {
1854
- code: string;
1855
- message: string;
1856
- requestId: string;
1857
- success: boolean;
1858
- data: DetectFaceAttributesResponseData;
1859
- static names(): { [key: string]: string } {
1860
- return {
1861
- code: 'Code',
1862
- message: 'Message',
1863
- requestId: 'RequestId',
1864
- success: 'Success',
1865
- data: 'Data',
1866
- };
1867
- }
1868
-
1869
- static types(): { [key: string]: any } {
1870
- return {
1871
- code: 'string',
1872
- message: 'string',
1873
- requestId: 'string',
1874
- success: 'boolean',
1875
- data: DetectFaceAttributesResponseData,
1876
- };
1877
- }
1878
-
1879
- constructor(map?: { [key: string]: any }) {
1880
- super(map);
1881
- }
1882
- }
1883
-
1884
- export class InitDeviceRequest extends $tea.Model {
1885
- appVersion?: string;
1886
- bizData?: string;
1887
- certifyId?: string;
1888
- certifyPrincipal?: string;
1889
- channel?: string;
1890
- deviceToken?: string;
1891
- merchant?: string;
1892
- metaInfo?: string;
1893
- outerOrderNo?: string;
1894
- produceNode?: string;
1895
- productName?: string;
1896
- uaToken?: string;
1897
- webUmidToken?: string;
1898
- static names(): { [key: string]: string } {
1899
- return {
1900
- appVersion: 'AppVersion',
1901
- bizData: 'BizData',
1902
- certifyId: 'CertifyId',
1903
- certifyPrincipal: 'CertifyPrincipal',
1904
- channel: 'Channel',
1905
- deviceToken: 'DeviceToken',
1906
- merchant: 'Merchant',
1907
- metaInfo: 'MetaInfo',
1908
- outerOrderNo: 'OuterOrderNo',
1909
- produceNode: 'ProduceNode',
1910
- productName: 'ProductName',
1911
- uaToken: 'UaToken',
1912
- webUmidToken: 'WebUmidToken',
1913
- };
1914
- }
1915
-
1916
- static types(): { [key: string]: any } {
1917
- return {
1918
- appVersion: 'string',
1919
- bizData: 'string',
1920
- certifyId: 'string',
1921
- certifyPrincipal: 'string',
1922
- channel: 'string',
1923
- deviceToken: 'string',
1924
- merchant: 'string',
1925
- metaInfo: 'string',
1926
- outerOrderNo: 'string',
1927
- produceNode: 'string',
1928
- productName: 'string',
1929
- uaToken: 'string',
1930
- webUmidToken: 'string',
1931
- };
1932
- }
1933
-
1934
- constructor(map?: { [key: string]: any }) {
1935
- super(map);
1936
- }
1937
- }
1938
-
1939
- export class InitDeviceResponse extends $tea.Model {
1940
- code: string;
1941
- message: string;
1942
- requestId: string;
1943
- resultObject: InitDeviceResponseResultObject;
1944
- static names(): { [key: string]: string } {
1945
- return {
1946
- code: 'Code',
1947
- message: 'Message',
1948
- requestId: 'RequestId',
1949
- resultObject: 'ResultObject',
1950
- };
1951
- }
1952
-
1953
- static types(): { [key: string]: any } {
1954
- return {
1955
- code: 'string',
1956
- message: 'string',
1957
- requestId: 'string',
1958
- resultObject: InitDeviceResponseResultObject,
829
+ success: 'boolean',
830
+ data: DetectFaceAttributesResponseData,
1959
831
  };
1960
832
  }
1961
833
 
@@ -1965,6 +837,7 @@ export class InitDeviceResponse extends $tea.Model {
1965
837
  }
1966
838
 
1967
839
  export class InitFaceVerifyRequest extends $tea.Model {
840
+ authId?: string;
1968
841
  callbackToken?: string;
1969
842
  callbackUrl?: string;
1970
843
  certName?: string;
@@ -1988,6 +861,7 @@ export class InitFaceVerifyRequest extends $tea.Model {
1988
861
  userId?: string;
1989
862
  static names(): { [key: string]: string } {
1990
863
  return {
864
+ authId: 'AuthId',
1991
865
  callbackToken: 'CallbackToken',
1992
866
  callbackUrl: 'CallbackUrl',
1993
867
  certName: 'CertName',
@@ -2014,6 +888,7 @@ export class InitFaceVerifyRequest extends $tea.Model {
2014
888
 
2015
889
  static types(): { [key: string]: any } {
2016
890
  return {
891
+ authId: 'string',
2017
892
  callbackToken: 'string',
2018
893
  callbackUrl: 'string',
2019
894
  certName: 'string',
@@ -2222,227 +1097,6 @@ export class ModifyDeviceInfoResponse extends $tea.Model {
2222
1097
  }
2223
1098
  }
2224
1099
 
2225
- export class UpdateAppPackageRequest extends $tea.Model {
2226
- debug?: boolean;
2227
- id?: number;
2228
- packageUrl: string;
2229
- platform?: string;
2230
- static names(): { [key: string]: string } {
2231
- return {
2232
- debug: 'Debug',
2233
- id: 'Id',
2234
- packageUrl: 'PackageUrl',
2235
- platform: 'Platform',
2236
- };
2237
- }
2238
-
2239
- static types(): { [key: string]: any } {
2240
- return {
2241
- debug: 'boolean',
2242
- id: 'number',
2243
- packageUrl: 'string',
2244
- platform: 'string',
2245
- };
2246
- }
2247
-
2248
- constructor(map?: { [key: string]: any }) {
2249
- super(map);
2250
- }
2251
- }
2252
-
2253
- export class UpdateAppPackageResponse extends $tea.Model {
2254
- requestId: string;
2255
- taskId: string;
2256
- static names(): { [key: string]: string } {
2257
- return {
2258
- requestId: 'RequestId',
2259
- taskId: 'TaskId',
2260
- };
2261
- }
2262
-
2263
- static types(): { [key: string]: any } {
2264
- return {
2265
- requestId: 'string',
2266
- taskId: 'string',
2267
- };
2268
- }
2269
-
2270
- constructor(map?: { [key: string]: any }) {
2271
- super(map);
2272
- }
2273
- }
2274
-
2275
- export class UpdateFaceConfigRequest extends $tea.Model {
2276
- bizName: string;
2277
- bizType: string;
2278
- lang?: string;
2279
- sourceIp?: string;
2280
- static names(): { [key: string]: string } {
2281
- return {
2282
- bizName: 'BizName',
2283
- bizType: 'BizType',
2284
- lang: 'Lang',
2285
- sourceIp: 'SourceIp',
2286
- };
2287
- }
2288
-
2289
- static types(): { [key: string]: any } {
2290
- return {
2291
- bizName: 'string',
2292
- bizType: 'string',
2293
- lang: 'string',
2294
- sourceIp: 'string',
2295
- };
2296
- }
2297
-
2298
- constructor(map?: { [key: string]: any }) {
2299
- super(map);
2300
- }
2301
- }
2302
-
2303
- export class UpdateFaceConfigResponse extends $tea.Model {
2304
- requestId: string;
2305
- static names(): { [key: string]: string } {
2306
- return {
2307
- requestId: 'RequestId',
2308
- };
2309
- }
2310
-
2311
- static types(): { [key: string]: any } {
2312
- return {
2313
- requestId: 'string',
2314
- };
2315
- }
2316
-
2317
- constructor(map?: { [key: string]: any }) {
2318
- super(map);
2319
- }
2320
- }
2321
-
2322
- export class UpdateVerifySettingRequest extends $tea.Model {
2323
- bizName?: string;
2324
- bizType: string;
2325
- guideStep?: boolean;
2326
- privacyStep?: boolean;
2327
- resultStep?: boolean;
2328
- solution?: string;
2329
- static names(): { [key: string]: string } {
2330
- return {
2331
- bizName: 'BizName',
2332
- bizType: 'BizType',
2333
- guideStep: 'GuideStep',
2334
- privacyStep: 'PrivacyStep',
2335
- resultStep: 'ResultStep',
2336
- solution: 'Solution',
2337
- };
2338
- }
2339
-
2340
- static types(): { [key: string]: any } {
2341
- return {
2342
- bizName: 'string',
2343
- bizType: 'string',
2344
- guideStep: 'boolean',
2345
- privacyStep: 'boolean',
2346
- resultStep: 'boolean',
2347
- solution: 'string',
2348
- };
2349
- }
2350
-
2351
- constructor(map?: { [key: string]: any }) {
2352
- super(map);
2353
- }
2354
- }
2355
-
2356
- export class UpdateVerifySettingResponse extends $tea.Model {
2357
- bizName: string;
2358
- bizType: string;
2359
- requestId: string;
2360
- solution: string;
2361
- stepList: string[];
2362
- static names(): { [key: string]: string } {
2363
- return {
2364
- bizName: 'BizName',
2365
- bizType: 'BizType',
2366
- requestId: 'RequestId',
2367
- solution: 'Solution',
2368
- stepList: 'StepList',
2369
- };
2370
- }
2371
-
2372
- static types(): { [key: string]: any } {
2373
- return {
2374
- bizName: 'string',
2375
- bizType: 'string',
2376
- requestId: 'string',
2377
- solution: 'string',
2378
- stepList: { 'type': 'array', 'itemType': 'string' },
2379
- };
2380
- }
2381
-
2382
- constructor(map?: { [key: string]: any }) {
2383
- super(map);
2384
- }
2385
- }
2386
-
2387
- export class VerifyDeviceRequest extends $tea.Model {
2388
- appVersion?: string;
2389
- certifyData?: string;
2390
- certifyId?: string;
2391
- deviceToken?: string;
2392
- extInfo?: string;
2393
- static names(): { [key: string]: string } {
2394
- return {
2395
- appVersion: 'AppVersion',
2396
- certifyData: 'CertifyData',
2397
- certifyId: 'CertifyId',
2398
- deviceToken: 'DeviceToken',
2399
- extInfo: 'ExtInfo',
2400
- };
2401
- }
2402
-
2403
- static types(): { [key: string]: any } {
2404
- return {
2405
- appVersion: 'string',
2406
- certifyData: 'string',
2407
- certifyId: 'string',
2408
- deviceToken: 'string',
2409
- extInfo: 'string',
2410
- };
2411
- }
2412
-
2413
- constructor(map?: { [key: string]: any }) {
2414
- super(map);
2415
- }
2416
- }
2417
-
2418
- export class VerifyDeviceResponse extends $tea.Model {
2419
- code: string;
2420
- message: string;
2421
- requestId: string;
2422
- resultObject: VerifyDeviceResponseResultObject;
2423
- static names(): { [key: string]: string } {
2424
- return {
2425
- code: 'Code',
2426
- message: 'Message',
2427
- requestId: 'RequestId',
2428
- resultObject: 'ResultObject',
2429
- };
2430
- }
2431
-
2432
- static types(): { [key: string]: any } {
2433
- return {
2434
- code: 'string',
2435
- message: 'string',
2436
- requestId: 'string',
2437
- resultObject: VerifyDeviceResponseResultObject,
2438
- };
2439
- }
2440
-
2441
- constructor(map?: { [key: string]: any }) {
2442
- super(map);
2443
- }
2444
- }
2445
-
2446
1100
  export class VerifyMaterialRequest extends $tea.Model {
2447
1101
  bizId: string;
2448
1102
  bizType: string;
@@ -2524,88 +1178,16 @@ export class CompareFaceVerifyResponseResultObject extends $tea.Model {
2524
1178
  static names(): { [key: string]: string } {
2525
1179
  return {
2526
1180
  certifyId: 'CertifyId',
2527
- passed: 'Passed',
2528
- verifyScore: 'VerifyScore',
2529
- };
2530
- }
2531
-
2532
- static types(): { [key: string]: any } {
2533
- return {
2534
- certifyId: 'string',
2535
- passed: 'string',
2536
- verifyScore: 'number',
2537
- };
2538
- }
2539
-
2540
- constructor(map?: { [key: string]: any }) {
2541
- super(map);
2542
- }
2543
- }
2544
-
2545
- export class CompareFacesResponseData extends $tea.Model {
2546
- confidenceThresholds: string;
2547
- similarityScore: number;
2548
- static names(): { [key: string]: string } {
2549
- return {
2550
- confidenceThresholds: 'ConfidenceThresholds',
2551
- similarityScore: 'SimilarityScore',
2552
- };
2553
- }
2554
-
2555
- static types(): { [key: string]: any } {
2556
- return {
2557
- confidenceThresholds: 'string',
2558
- similarityScore: 'number',
2559
- };
2560
- }
2561
-
2562
- constructor(map?: { [key: string]: any }) {
2563
- super(map);
2564
- }
2565
- }
2566
-
2567
- export class ContrastFaceVerifyResponseResultObject extends $tea.Model {
2568
- certifyId: string;
2569
- identityInfo: string;
2570
- materialInfo: string;
2571
- passed: string;
2572
- subCode: string;
2573
- static names(): { [key: string]: string } {
2574
- return {
2575
- certifyId: 'CertifyId',
2576
- identityInfo: 'IdentityInfo',
2577
- materialInfo: 'MaterialInfo',
2578
- passed: 'Passed',
2579
- subCode: 'SubCode',
2580
- };
2581
- }
2582
-
2583
- static types(): { [key: string]: any } {
2584
- return {
2585
- certifyId: 'string',
2586
- identityInfo: 'string',
2587
- materialInfo: 'string',
2588
- passed: 'string',
2589
- subCode: 'string',
2590
- };
2591
- }
2592
-
2593
- constructor(map?: { [key: string]: any }) {
2594
- super(map);
2595
- }
2596
- }
2597
-
2598
- export class DescribeAppInfoResponseAppInfoListDebugPackageInfo extends $tea.Model {
2599
- version: string;
2600
- static names(): { [key: string]: string } {
2601
- return {
2602
- version: 'Version',
1181
+ passed: 'Passed',
1182
+ verifyScore: 'VerifyScore',
2603
1183
  };
2604
1184
  }
2605
1185
 
2606
1186
  static types(): { [key: string]: any } {
2607
1187
  return {
2608
- version: 'string',
1188
+ certifyId: 'string',
1189
+ passed: 'string',
1190
+ verifyScore: 'number',
2609
1191
  };
2610
1192
  }
2611
1193
 
@@ -2614,17 +1196,20 @@ export class DescribeAppInfoResponseAppInfoListDebugPackageInfo extends $tea.Mod
2614
1196
  }
2615
1197
  }
2616
1198
 
2617
- export class DescribeAppInfoResponseAppInfoListPackageInfo extends $tea.Model {
2618
- version: string;
1199
+ export class CompareFacesResponseData extends $tea.Model {
1200
+ confidenceThresholds: string;
1201
+ similarityScore: number;
2619
1202
  static names(): { [key: string]: string } {
2620
1203
  return {
2621
- version: 'Version',
1204
+ confidenceThresholds: 'ConfidenceThresholds',
1205
+ similarityScore: 'SimilarityScore',
2622
1206
  };
2623
1207
  }
2624
1208
 
2625
1209
  static types(): { [key: string]: any } {
2626
1210
  return {
2627
- version: 'string',
1211
+ confidenceThresholds: 'string',
1212
+ similarityScore: 'number',
2628
1213
  };
2629
1214
  }
2630
1215
 
@@ -2633,41 +1218,29 @@ export class DescribeAppInfoResponseAppInfoListPackageInfo extends $tea.Model {
2633
1218
  }
2634
1219
  }
2635
1220
 
2636
- export class DescribeAppInfoResponseAppInfoList extends $tea.Model {
2637
- endDate: string;
2638
- icon: string;
2639
- id: number;
2640
- name: string;
2641
- packageName: string;
2642
- startDate: string;
2643
- type: number;
2644
- debugPackageInfo: DescribeAppInfoResponseAppInfoListDebugPackageInfo;
2645
- packageInfo: DescribeAppInfoResponseAppInfoListPackageInfo;
1221
+ export class ContrastFaceVerifyResponseResultObject extends $tea.Model {
1222
+ certifyId: string;
1223
+ identityInfo: string;
1224
+ materialInfo: string;
1225
+ passed: string;
1226
+ subCode: string;
2646
1227
  static names(): { [key: string]: string } {
2647
1228
  return {
2648
- endDate: 'EndDate',
2649
- icon: 'Icon',
2650
- id: 'Id',
2651
- name: 'Name',
2652
- packageName: 'PackageName',
2653
- startDate: 'StartDate',
2654
- type: 'Type',
2655
- debugPackageInfo: 'DebugPackageInfo',
2656
- packageInfo: 'PackageInfo',
1229
+ certifyId: 'CertifyId',
1230
+ identityInfo: 'IdentityInfo',
1231
+ materialInfo: 'MaterialInfo',
1232
+ passed: 'Passed',
1233
+ subCode: 'SubCode',
2657
1234
  };
2658
1235
  }
2659
1236
 
2660
1237
  static types(): { [key: string]: any } {
2661
1238
  return {
2662
- endDate: 'string',
2663
- icon: 'string',
2664
- id: 'number',
2665
- name: 'string',
2666
- packageName: 'string',
2667
- startDate: 'string',
2668
- type: 'number',
2669
- debugPackageInfo: DescribeAppInfoResponseAppInfoListDebugPackageInfo,
2670
- packageInfo: DescribeAppInfoResponseAppInfoListPackageInfo,
1239
+ certifyId: 'string',
1240
+ identityInfo: 'string',
1241
+ materialInfo: 'string',
1242
+ passed: 'string',
1243
+ subCode: 'string',
2671
1244
  };
2672
1245
  }
2673
1246
 
@@ -2726,53 +1299,6 @@ export class DescribeDeviceInfoResponseDeviceInfoList extends $tea.Model {
2726
1299
  }
2727
1300
  }
2728
1301
 
2729
- export class DescribeFaceConfigResponseItems extends $tea.Model {
2730
- bizName: string;
2731
- bizType: string;
2732
- gmtUpdated: number;
2733
- static names(): { [key: string]: string } {
2734
- return {
2735
- bizName: 'BizName',
2736
- bizType: 'BizType',
2737
- gmtUpdated: 'GmtUpdated',
2738
- };
2739
- }
2740
-
2741
- static types(): { [key: string]: any } {
2742
- return {
2743
- bizName: 'string',
2744
- bizType: 'string',
2745
- gmtUpdated: 'number',
2746
- };
2747
- }
2748
-
2749
- constructor(map?: { [key: string]: any }) {
2750
- super(map);
2751
- }
2752
- }
2753
-
2754
- export class DescribeFaceUsageResponseFaceUsageList extends $tea.Model {
2755
- date: string;
2756
- totalCount: number;
2757
- static names(): { [key: string]: string } {
2758
- return {
2759
- date: 'Date',
2760
- totalCount: 'TotalCount',
2761
- };
2762
- }
2763
-
2764
- static types(): { [key: string]: any } {
2765
- return {
2766
- date: 'string',
2767
- totalCount: 'number',
2768
- };
2769
- }
2770
-
2771
- constructor(map?: { [key: string]: any }) {
2772
- super(map);
2773
- }
2774
- }
2775
-
2776
1302
  export class DescribeFaceVerifyResponseResultObject extends $tea.Model {
2777
1303
  deviceToken: string;
2778
1304
  identityInfo: string;
@@ -2841,207 +1367,6 @@ export class DescribeOssUploadTokenResponseOssUploadToken extends $tea.Model {
2841
1367
  }
2842
1368
  }
2843
1369
 
2844
- export class DescribeUpdatePackageResultResponseAppInfoDebugPackageInfo extends $tea.Model {
2845
- version: string;
2846
- static names(): { [key: string]: string } {
2847
- return {
2848
- version: 'Version',
2849
- };
2850
- }
2851
-
2852
- static types(): { [key: string]: any } {
2853
- return {
2854
- version: 'string',
2855
- };
2856
- }
2857
-
2858
- constructor(map?: { [key: string]: any }) {
2859
- super(map);
2860
- }
2861
- }
2862
-
2863
- export class DescribeUpdatePackageResultResponseAppInfoPackageInfo extends $tea.Model {
2864
- version: string;
2865
- static names(): { [key: string]: string } {
2866
- return {
2867
- version: 'Version',
2868
- };
2869
- }
2870
-
2871
- static types(): { [key: string]: any } {
2872
- return {
2873
- version: 'string',
2874
- };
2875
- }
2876
-
2877
- constructor(map?: { [key: string]: any }) {
2878
- super(map);
2879
- }
2880
- }
2881
-
2882
- export class DescribeUpdatePackageResultResponseAppInfo extends $tea.Model {
2883
- endDate: string;
2884
- icon: string;
2885
- id: number;
2886
- name: string;
2887
- packageName: string;
2888
- startDate: string;
2889
- type: number;
2890
- debugPackageInfo: DescribeUpdatePackageResultResponseAppInfoDebugPackageInfo;
2891
- packageInfo: DescribeUpdatePackageResultResponseAppInfoPackageInfo;
2892
- static names(): { [key: string]: string } {
2893
- return {
2894
- endDate: 'EndDate',
2895
- icon: 'Icon',
2896
- id: 'Id',
2897
- name: 'Name',
2898
- packageName: 'PackageName',
2899
- startDate: 'StartDate',
2900
- type: 'Type',
2901
- debugPackageInfo: 'DebugPackageInfo',
2902
- packageInfo: 'PackageInfo',
2903
- };
2904
- }
2905
-
2906
- static types(): { [key: string]: any } {
2907
- return {
2908
- endDate: 'string',
2909
- icon: 'string',
2910
- id: 'number',
2911
- name: 'string',
2912
- packageName: 'string',
2913
- startDate: 'string',
2914
- type: 'number',
2915
- debugPackageInfo: DescribeUpdatePackageResultResponseAppInfoDebugPackageInfo,
2916
- packageInfo: DescribeUpdatePackageResultResponseAppInfoPackageInfo,
2917
- };
2918
- }
2919
-
2920
- constructor(map?: { [key: string]: any }) {
2921
- super(map);
2922
- }
2923
- }
2924
-
2925
- export class DescribeVerifyRecordsResponseRecordsListMaterialIdCardInfo extends $tea.Model {
2926
- address: string;
2927
- authority: string;
2928
- backImageUrl: string;
2929
- birth: string;
2930
- endDate: string;
2931
- frontImageUrl: string;
2932
- name: string;
2933
- nationality: string;
2934
- number: string;
2935
- sex: string;
2936
- startDate: string;
2937
- static names(): { [key: string]: string } {
2938
- return {
2939
- address: 'Address',
2940
- authority: 'Authority',
2941
- backImageUrl: 'BackImageUrl',
2942
- birth: 'Birth',
2943
- endDate: 'EndDate',
2944
- frontImageUrl: 'FrontImageUrl',
2945
- name: 'Name',
2946
- nationality: 'Nationality',
2947
- number: 'Number',
2948
- sex: 'Sex',
2949
- startDate: 'StartDate',
2950
- };
2951
- }
2952
-
2953
- static types(): { [key: string]: any } {
2954
- return {
2955
- address: 'string',
2956
- authority: 'string',
2957
- backImageUrl: 'string',
2958
- birth: 'string',
2959
- endDate: 'string',
2960
- frontImageUrl: 'string',
2961
- name: 'string',
2962
- nationality: 'string',
2963
- number: 'string',
2964
- sex: 'string',
2965
- startDate: 'string',
2966
- };
2967
- }
2968
-
2969
- constructor(map?: { [key: string]: any }) {
2970
- super(map);
2971
- }
2972
- }
2973
-
2974
- export class DescribeVerifyRecordsResponseRecordsListMaterial extends $tea.Model {
2975
- faceImageUrl: string;
2976
- idCardName: string;
2977
- idCardNumber: string;
2978
- idCardInfo: DescribeVerifyRecordsResponseRecordsListMaterialIdCardInfo;
2979
- static names(): { [key: string]: string } {
2980
- return {
2981
- faceImageUrl: 'FaceImageUrl',
2982
- idCardName: 'IdCardName',
2983
- idCardNumber: 'IdCardNumber',
2984
- idCardInfo: 'IdCardInfo',
2985
- };
2986
- }
2987
-
2988
- static types(): { [key: string]: any } {
2989
- return {
2990
- faceImageUrl: 'string',
2991
- idCardName: 'string',
2992
- idCardNumber: 'string',
2993
- idCardInfo: DescribeVerifyRecordsResponseRecordsListMaterialIdCardInfo,
2994
- };
2995
- }
2996
-
2997
- constructor(map?: { [key: string]: any }) {
2998
- super(map);
2999
- }
3000
- }
3001
-
3002
- export class DescribeVerifyRecordsResponseRecordsList extends $tea.Model {
3003
- authorityComparisonScore: number;
3004
- bizId: string;
3005
- bizType: string;
3006
- dataStats: string;
3007
- finishTime: number;
3008
- idCardFaceComparisonScore: number;
3009
- status: number;
3010
- verifyId: string;
3011
- material: DescribeVerifyRecordsResponseRecordsListMaterial;
3012
- static names(): { [key: string]: string } {
3013
- return {
3014
- authorityComparisonScore: 'AuthorityComparisonScore',
3015
- bizId: 'BizId',
3016
- bizType: 'BizType',
3017
- dataStats: 'DataStats',
3018
- finishTime: 'FinishTime',
3019
- idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
3020
- status: 'Status',
3021
- verifyId: 'VerifyId',
3022
- material: 'Material',
3023
- };
3024
- }
3025
-
3026
- static types(): { [key: string]: any } {
3027
- return {
3028
- authorityComparisonScore: 'number',
3029
- bizId: 'string',
3030
- bizType: 'string',
3031
- dataStats: 'string',
3032
- finishTime: 'number',
3033
- idCardFaceComparisonScore: 'number',
3034
- status: 'number',
3035
- verifyId: 'string',
3036
- material: DescribeVerifyRecordsResponseRecordsListMaterial,
3037
- };
3038
- }
3039
-
3040
- constructor(map?: { [key: string]: any }) {
3041
- super(map);
3042
- }
3043
- }
3044
-
3045
1370
  export class DescribeVerifyResultResponseMaterialIdCardInfo extends $tea.Model {
3046
1371
  address: string;
3047
1372
  authority: string;
@@ -3116,38 +1441,10 @@ export class DescribeVerifyResultResponseMaterial extends $tea.Model {
3116
1441
  faceImageUrl: 'string',
3117
1442
  faceMask: 'boolean',
3118
1443
  faceQuality: 'string',
3119
- idCardName: 'string',
3120
- idCardNumber: 'string',
3121
- idCardInfo: DescribeVerifyResultResponseMaterialIdCardInfo,
3122
- videoUrls: { 'type': 'array', 'itemType': 'string' },
3123
- };
3124
- }
3125
-
3126
- constructor(map?: { [key: string]: any }) {
3127
- super(map);
3128
- }
3129
- }
3130
-
3131
- export class DescribeVerifySettingResponseVerifySettingList extends $tea.Model {
3132
- bizName: string;
3133
- bizType: string;
3134
- solution: string;
3135
- stepList: string[];
3136
- static names(): { [key: string]: string } {
3137
- return {
3138
- bizName: 'BizName',
3139
- bizType: 'BizType',
3140
- solution: 'Solution',
3141
- stepList: 'StepList',
3142
- };
3143
- }
3144
-
3145
- static types(): { [key: string]: any } {
3146
- return {
3147
- bizName: 'string',
3148
- bizType: 'string',
3149
- solution: 'string',
3150
- stepList: { 'type': 'array', 'itemType': 'string' },
1444
+ idCardName: 'string',
1445
+ idCardNumber: 'string',
1446
+ idCardInfo: DescribeVerifyResultResponseMaterialIdCardInfo,
1447
+ videoUrls: { 'type': 'array', 'itemType': 'string' },
3151
1448
  };
3152
1449
  }
3153
1450
 
@@ -3193,126 +1490,6 @@ export class DescribeVerifyTokenResponseOssUploadToken extends $tea.Model {
3193
1490
  }
3194
1491
  }
3195
1492
 
3196
- export class DescribeVerifyUsageResponseVerifyUsageList extends $tea.Model {
3197
- bizType: string;
3198
- date: string;
3199
- failCount: number;
3200
- passCount: number;
3201
- totalCount: number;
3202
- static names(): { [key: string]: string } {
3203
- return {
3204
- bizType: 'BizType',
3205
- date: 'Date',
3206
- failCount: 'FailCount',
3207
- passCount: 'PassCount',
3208
- totalCount: 'TotalCount',
3209
- };
3210
- }
3211
-
3212
- static types(): { [key: string]: any } {
3213
- return {
3214
- bizType: 'string',
3215
- date: 'string',
3216
- failCount: 'number',
3217
- passCount: 'number',
3218
- totalCount: 'number',
3219
- };
3220
- }
3221
-
3222
- constructor(map?: { [key: string]: any }) {
3223
- super(map);
3224
- }
3225
- }
3226
-
3227
- export class DescribeWhitelistResponseItems extends $tea.Model {
3228
- bizId: string;
3229
- bizType: string;
3230
- endDate: number;
3231
- gmtCreate: number;
3232
- gmtModified: number;
3233
- id: number;
3234
- idCardNum: string;
3235
- startDate: number;
3236
- uid: number;
3237
- valid: number;
3238
- static names(): { [key: string]: string } {
3239
- return {
3240
- bizId: 'BizId',
3241
- bizType: 'BizType',
3242
- endDate: 'EndDate',
3243
- gmtCreate: 'GmtCreate',
3244
- gmtModified: 'GmtModified',
3245
- id: 'Id',
3246
- idCardNum: 'IdCardNum',
3247
- startDate: 'StartDate',
3248
- uid: 'Uid',
3249
- valid: 'Valid',
3250
- };
3251
- }
3252
-
3253
- static types(): { [key: string]: any } {
3254
- return {
3255
- bizId: 'string',
3256
- bizType: 'string',
3257
- endDate: 'number',
3258
- gmtCreate: 'number',
3259
- gmtModified: 'number',
3260
- id: 'number',
3261
- idCardNum: 'string',
3262
- startDate: 'number',
3263
- uid: 'number',
3264
- valid: 'number',
3265
- };
3266
- }
3267
-
3268
- constructor(map?: { [key: string]: any }) {
3269
- super(map);
3270
- }
3271
- }
3272
-
3273
- export class DescribeWhitelistSettingResponseItems extends $tea.Model {
3274
- certNo: string;
3275
- certifyId: string;
3276
- gmtCreate: string;
3277
- gmtModified: string;
3278
- id: number;
3279
- sceneId: number;
3280
- status: string;
3281
- validEndDate: string;
3282
- validStartDate: string;
3283
- static names(): { [key: string]: string } {
3284
- return {
3285
- certNo: 'CertNo',
3286
- certifyId: 'CertifyId',
3287
- gmtCreate: 'GmtCreate',
3288
- gmtModified: 'GmtModified',
3289
- id: 'Id',
3290
- sceneId: 'SceneId',
3291
- status: 'Status',
3292
- validEndDate: 'ValidEndDate',
3293
- validStartDate: 'ValidStartDate',
3294
- };
3295
- }
3296
-
3297
- static types(): { [key: string]: any } {
3298
- return {
3299
- certNo: 'string',
3300
- certifyId: 'string',
3301
- gmtCreate: 'string',
3302
- gmtModified: 'string',
3303
- id: 'number',
3304
- sceneId: 'number',
3305
- status: 'string',
3306
- validEndDate: 'string',
3307
- validStartDate: 'string',
3308
- };
3309
- }
3310
-
3311
- constructor(map?: { [key: string]: any }) {
3312
- super(map);
3313
- }
3314
- }
3315
-
3316
1493
  export class DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose extends $tea.Model {
3317
1494
  pitchAngle: number;
3318
1495
  rollAngle: number;
@@ -3494,67 +1671,6 @@ export class DetectFaceAttributesResponseData extends $tea.Model {
3494
1671
  }
3495
1672
  }
3496
1673
 
3497
- export class InitDeviceResponseResultObject extends $tea.Model {
3498
- accessKeyId: string;
3499
- accessKeySecret: string;
3500
- bucketName: string;
3501
- certifyId: string;
3502
- extParams: string;
3503
- fileName: string;
3504
- fileNamePrefix: string;
3505
- message: string;
3506
- ossEndPoint: string;
3507
- presignedUrl: string;
3508
- protocol: string;
3509
- retCode: string;
3510
- retCodeSub: string;
3511
- retMessageSub: string;
3512
- securityToken: string;
3513
- static names(): { [key: string]: string } {
3514
- return {
3515
- accessKeyId: 'AccessKeyId',
3516
- accessKeySecret: 'AccessKeySecret',
3517
- bucketName: 'BucketName',
3518
- certifyId: 'CertifyId',
3519
- extParams: 'ExtParams',
3520
- fileName: 'FileName',
3521
- fileNamePrefix: 'FileNamePrefix',
3522
- message: 'Message',
3523
- ossEndPoint: 'OssEndPoint',
3524
- presignedUrl: 'PresignedUrl',
3525
- protocol: 'Protocol',
3526
- retCode: 'RetCode',
3527
- retCodeSub: 'RetCodeSub',
3528
- retMessageSub: 'RetMessageSub',
3529
- securityToken: 'SecurityToken',
3530
- };
3531
- }
3532
-
3533
- static types(): { [key: string]: any } {
3534
- return {
3535
- accessKeyId: 'string',
3536
- accessKeySecret: 'string',
3537
- bucketName: 'string',
3538
- certifyId: 'string',
3539
- extParams: 'string',
3540
- fileName: 'string',
3541
- fileNamePrefix: 'string',
3542
- message: 'string',
3543
- ossEndPoint: 'string',
3544
- presignedUrl: 'string',
3545
- protocol: 'string',
3546
- retCode: 'string',
3547
- retCodeSub: 'string',
3548
- retMessageSub: 'string',
3549
- securityToken: 'string',
3550
- };
3551
- }
3552
-
3553
- constructor(map?: { [key: string]: any }) {
3554
- super(map);
3555
- }
3556
- }
3557
-
3558
1674
  export class InitFaceVerifyResponseResultObject extends $tea.Model {
3559
1675
  certifyId: string;
3560
1676
  certifyUrl: string;
@@ -3605,40 +1721,6 @@ export class LivenessFaceVerifyResponseResultObject extends $tea.Model {
3605
1721
  }
3606
1722
  }
3607
1723
 
3608
- export class VerifyDeviceResponseResultObject extends $tea.Model {
3609
- extParams: string;
3610
- hasNext: string;
3611
- productRetCode: string;
3612
- retCodeSub: string;
3613
- retMessageSub: string;
3614
- validationRetCode: string;
3615
- static names(): { [key: string]: string } {
3616
- return {
3617
- extParams: 'ExtParams',
3618
- hasNext: 'HasNext',
3619
- productRetCode: 'ProductRetCode',
3620
- retCodeSub: 'RetCodeSub',
3621
- retMessageSub: 'RetMessageSub',
3622
- validationRetCode: 'ValidationRetCode',
3623
- };
3624
- }
3625
-
3626
- static types(): { [key: string]: any } {
3627
- return {
3628
- extParams: 'string',
3629
- hasNext: 'string',
3630
- productRetCode: 'string',
3631
- retCodeSub: 'string',
3632
- retMessageSub: 'string',
3633
- validationRetCode: 'string',
3634
- };
3635
- }
3636
-
3637
- constructor(map?: { [key: string]: any }) {
3638
- super(map);
3639
- }
3640
- }
3641
-
3642
1724
  export class VerifyMaterialResponseMaterialIdCardInfo extends $tea.Model {
3643
1725
  address: string;
3644
1726
  authority: string;
@@ -3847,36 +1929,6 @@ export default class Client extends RPC {
3847
1929
  return await this.createAuthKey(request, runtime);
3848
1930
  }
3849
1931
 
3850
- async createFaceConfig(request: CreateFaceConfigRequest, runtime: $Util.RuntimeOptions): Promise<CreateFaceConfigResponse> {
3851
- Util.validateModel(request);
3852
- return $tea.cast<CreateFaceConfigResponse>(await this.doRequest("CreateFaceConfig", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateFaceConfigResponse({}));
3853
- }
3854
-
3855
- async createFaceConfigSimply(request: CreateFaceConfigRequest): Promise<CreateFaceConfigResponse> {
3856
- let runtime = new $Util.RuntimeOptions({ });
3857
- return await this.createFaceConfig(request, runtime);
3858
- }
3859
-
3860
- async createRPSDK(request: CreateRPSDKRequest, runtime: $Util.RuntimeOptions): Promise<CreateRPSDKResponse> {
3861
- Util.validateModel(request);
3862
- return $tea.cast<CreateRPSDKResponse>(await this.doRequest("CreateRPSDK", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateRPSDKResponse({}));
3863
- }
3864
-
3865
- async createRPSDKSimply(request: CreateRPSDKRequest): Promise<CreateRPSDKResponse> {
3866
- let runtime = new $Util.RuntimeOptions({ });
3867
- return await this.createRPSDK(request, runtime);
3868
- }
3869
-
3870
- async createVerifySDK(request: CreateVerifySDKRequest, runtime: $Util.RuntimeOptions): Promise<CreateVerifySDKResponse> {
3871
- Util.validateModel(request);
3872
- return $tea.cast<CreateVerifySDKResponse>(await this.doRequest("CreateVerifySDK", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateVerifySDKResponse({}));
3873
- }
3874
-
3875
- async createVerifySDKSimply(request: CreateVerifySDKRequest): Promise<CreateVerifySDKResponse> {
3876
- let runtime = new $Util.RuntimeOptions({ });
3877
- return await this.createVerifySDK(request, runtime);
3878
- }
3879
-
3880
1932
  async createVerifySetting(request: CreateVerifySettingRequest, runtime: $Util.RuntimeOptions): Promise<CreateVerifySettingResponse> {
3881
1933
  Util.validateModel(request);
3882
1934
  return $tea.cast<CreateVerifySettingResponse>(await this.doRequest("CreateVerifySetting", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateVerifySettingResponse({}));
@@ -3887,56 +1939,6 @@ export default class Client extends RPC {
3887
1939
  return await this.createVerifySetting(request, runtime);
3888
1940
  }
3889
1941
 
3890
- async createWhitelist(request: CreateWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<CreateWhitelistResponse> {
3891
- Util.validateModel(request);
3892
- return $tea.cast<CreateWhitelistResponse>(await this.doRequest("CreateWhitelist", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateWhitelistResponse({}));
3893
- }
3894
-
3895
- async createWhitelistSimply(request: CreateWhitelistRequest): Promise<CreateWhitelistResponse> {
3896
- let runtime = new $Util.RuntimeOptions({ });
3897
- return await this.createWhitelist(request, runtime);
3898
- }
3899
-
3900
- async createWhitelistSetting(request: CreateWhitelistSettingRequest, runtime: $Util.RuntimeOptions): Promise<CreateWhitelistSettingResponse> {
3901
- Util.validateModel(request);
3902
- return $tea.cast<CreateWhitelistSettingResponse>(await this.doRequest("CreateWhitelistSetting", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateWhitelistSettingResponse({}));
3903
- }
3904
-
3905
- async createWhitelistSettingSimply(request: CreateWhitelistSettingRequest): Promise<CreateWhitelistSettingResponse> {
3906
- let runtime = new $Util.RuntimeOptions({ });
3907
- return await this.createWhitelistSetting(request, runtime);
3908
- }
3909
-
3910
- async deleteWhitelist(request: DeleteWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<DeleteWhitelistResponse> {
3911
- Util.validateModel(request);
3912
- return $tea.cast<DeleteWhitelistResponse>(await this.doRequest("DeleteWhitelist", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DeleteWhitelistResponse({}));
3913
- }
3914
-
3915
- async deleteWhitelistSimply(request: DeleteWhitelistRequest): Promise<DeleteWhitelistResponse> {
3916
- let runtime = new $Util.RuntimeOptions({ });
3917
- return await this.deleteWhitelist(request, runtime);
3918
- }
3919
-
3920
- async deleteWhitelistSetting(request: DeleteWhitelistSettingRequest, runtime: $Util.RuntimeOptions): Promise<DeleteWhitelistSettingResponse> {
3921
- Util.validateModel(request);
3922
- return $tea.cast<DeleteWhitelistSettingResponse>(await this.doRequest("DeleteWhitelistSetting", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DeleteWhitelistSettingResponse({}));
3923
- }
3924
-
3925
- async deleteWhitelistSettingSimply(request: DeleteWhitelistSettingRequest): Promise<DeleteWhitelistSettingResponse> {
3926
- let runtime = new $Util.RuntimeOptions({ });
3927
- return await this.deleteWhitelistSetting(request, runtime);
3928
- }
3929
-
3930
- async describeAppInfo(request: DescribeAppInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAppInfoResponse> {
3931
- Util.validateModel(request);
3932
- return $tea.cast<DescribeAppInfoResponse>(await this.doRequest("DescribeAppInfo", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeAppInfoResponse({}));
3933
- }
3934
-
3935
- async describeAppInfoSimply(request: DescribeAppInfoRequest): Promise<DescribeAppInfoResponse> {
3936
- let runtime = new $Util.RuntimeOptions({ });
3937
- return await this.describeAppInfo(request, runtime);
3938
- }
3939
-
3940
1942
  async describeDeviceInfo(request: DescribeDeviceInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDeviceInfoResponse> {
3941
1943
  Util.validateModel(request);
3942
1944
  return $tea.cast<DescribeDeviceInfoResponse>(await this.doRequest("DescribeDeviceInfo", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeDeviceInfoResponse({}));
@@ -3947,26 +1949,6 @@ export default class Client extends RPC {
3947
1949
  return await this.describeDeviceInfo(request, runtime);
3948
1950
  }
3949
1951
 
3950
- async describeFaceConfig(request: DescribeFaceConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFaceConfigResponse> {
3951
- Util.validateModel(request);
3952
- return $tea.cast<DescribeFaceConfigResponse>(await this.doRequest("DescribeFaceConfig", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeFaceConfigResponse({}));
3953
- }
3954
-
3955
- async describeFaceConfigSimply(request: DescribeFaceConfigRequest): Promise<DescribeFaceConfigResponse> {
3956
- let runtime = new $Util.RuntimeOptions({ });
3957
- return await this.describeFaceConfig(request, runtime);
3958
- }
3959
-
3960
- async describeFaceUsage(request: DescribeFaceUsageRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFaceUsageResponse> {
3961
- Util.validateModel(request);
3962
- return $tea.cast<DescribeFaceUsageResponse>(await this.doRequest("DescribeFaceUsage", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeFaceUsageResponse({}));
3963
- }
3964
-
3965
- async describeFaceUsageSimply(request: DescribeFaceUsageRequest): Promise<DescribeFaceUsageResponse> {
3966
- let runtime = new $Util.RuntimeOptions({ });
3967
- return await this.describeFaceUsage(request, runtime);
3968
- }
3969
-
3970
1952
  async describeFaceVerify(request: DescribeFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFaceVerifyResponse> {
3971
1953
  Util.validateModel(request);
3972
1954
  return $tea.cast<DescribeFaceVerifyResponse>(await this.doRequest("DescribeFaceVerify", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeFaceVerifyResponse({}));
@@ -3987,66 +1969,6 @@ export default class Client extends RPC {
3987
1969
  return await this.describeOssUploadToken(request, runtime);
3988
1970
  }
3989
1971
 
3990
- async describeRPSDK(request: DescribeRPSDKRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRPSDKResponse> {
3991
- Util.validateModel(request);
3992
- return $tea.cast<DescribeRPSDKResponse>(await this.doRequest("DescribeRPSDK", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeRPSDKResponse({}));
3993
- }
3994
-
3995
- async describeRPSDKSimply(request: DescribeRPSDKRequest): Promise<DescribeRPSDKResponse> {
3996
- let runtime = new $Util.RuntimeOptions({ });
3997
- return await this.describeRPSDK(request, runtime);
3998
- }
3999
-
4000
- async describeSdkUrl(request: DescribeSdkUrlRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSdkUrlResponse> {
4001
- Util.validateModel(request);
4002
- return $tea.cast<DescribeSdkUrlResponse>(await this.doRequest("DescribeSdkUrl", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeSdkUrlResponse({}));
4003
- }
4004
-
4005
- async describeSdkUrlSimply(request: DescribeSdkUrlRequest): Promise<DescribeSdkUrlResponse> {
4006
- let runtime = new $Util.RuntimeOptions({ });
4007
- return await this.describeSdkUrl(request, runtime);
4008
- }
4009
-
4010
- async describeUpdatePackageResult(request: DescribeUpdatePackageResultRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUpdatePackageResultResponse> {
4011
- Util.validateModel(request);
4012
- return $tea.cast<DescribeUpdatePackageResultResponse>(await this.doRequest("DescribeUpdatePackageResult", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeUpdatePackageResultResponse({}));
4013
- }
4014
-
4015
- async describeUpdatePackageResultSimply(request: DescribeUpdatePackageResultRequest): Promise<DescribeUpdatePackageResultResponse> {
4016
- let runtime = new $Util.RuntimeOptions({ });
4017
- return await this.describeUpdatePackageResult(request, runtime);
4018
- }
4019
-
4020
- async describeUploadInfo(request: DescribeUploadInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUploadInfoResponse> {
4021
- Util.validateModel(request);
4022
- return $tea.cast<DescribeUploadInfoResponse>(await this.doRequest("DescribeUploadInfo", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeUploadInfoResponse({}));
4023
- }
4024
-
4025
- async describeUploadInfoSimply(request: DescribeUploadInfoRequest): Promise<DescribeUploadInfoResponse> {
4026
- let runtime = new $Util.RuntimeOptions({ });
4027
- return await this.describeUploadInfo(request, runtime);
4028
- }
4029
-
4030
- async describeUserStatus(request: DescribeUserStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserStatusResponse> {
4031
- Util.validateModel(request);
4032
- return $tea.cast<DescribeUserStatusResponse>(await this.doRequest("DescribeUserStatus", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeUserStatusResponse({}));
4033
- }
4034
-
4035
- async describeUserStatusSimply(request: DescribeUserStatusRequest): Promise<DescribeUserStatusResponse> {
4036
- let runtime = new $Util.RuntimeOptions({ });
4037
- return await this.describeUserStatus(request, runtime);
4038
- }
4039
-
4040
- async describeVerifyRecords(request: DescribeVerifyRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVerifyRecordsResponse> {
4041
- Util.validateModel(request);
4042
- return $tea.cast<DescribeVerifyRecordsResponse>(await this.doRequest("DescribeVerifyRecords", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeVerifyRecordsResponse({}));
4043
- }
4044
-
4045
- async describeVerifyRecordsSimply(request: DescribeVerifyRecordsRequest): Promise<DescribeVerifyRecordsResponse> {
4046
- let runtime = new $Util.RuntimeOptions({ });
4047
- return await this.describeVerifyRecords(request, runtime);
4048
- }
4049
-
4050
1972
  async describeVerifyResult(request: DescribeVerifyResultRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVerifyResultResponse> {
4051
1973
  Util.validateModel(request);
4052
1974
  return $tea.cast<DescribeVerifyResultResponse>(await this.doRequest("DescribeVerifyResult", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeVerifyResultResponse({}));
@@ -4067,16 +1989,6 @@ export default class Client extends RPC {
4067
1989
  return await this.describeVerifySDK(request, runtime);
4068
1990
  }
4069
1991
 
4070
- async describeVerifySetting(request: DescribeVerifySettingRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVerifySettingResponse> {
4071
- Util.validateModel(request);
4072
- return $tea.cast<DescribeVerifySettingResponse>(await this.doRequest("DescribeVerifySetting", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeVerifySettingResponse({}));
4073
- }
4074
-
4075
- async describeVerifySettingSimply(request: DescribeVerifySettingRequest): Promise<DescribeVerifySettingResponse> {
4076
- let runtime = new $Util.RuntimeOptions({ });
4077
- return await this.describeVerifySetting(request, runtime);
4078
- }
4079
-
4080
1992
  async describeVerifyToken(request: DescribeVerifyTokenRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVerifyTokenResponse> {
4081
1993
  Util.validateModel(request);
4082
1994
  return $tea.cast<DescribeVerifyTokenResponse>(await this.doRequest("DescribeVerifyToken", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeVerifyTokenResponse({}));
@@ -4087,36 +1999,6 @@ export default class Client extends RPC {
4087
1999
  return await this.describeVerifyToken(request, runtime);
4088
2000
  }
4089
2001
 
4090
- async describeVerifyUsage(request: DescribeVerifyUsageRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVerifyUsageResponse> {
4091
- Util.validateModel(request);
4092
- return $tea.cast<DescribeVerifyUsageResponse>(await this.doRequest("DescribeVerifyUsage", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeVerifyUsageResponse({}));
4093
- }
4094
-
4095
- async describeVerifyUsageSimply(request: DescribeVerifyUsageRequest): Promise<DescribeVerifyUsageResponse> {
4096
- let runtime = new $Util.RuntimeOptions({ });
4097
- return await this.describeVerifyUsage(request, runtime);
4098
- }
4099
-
4100
- async describeWhitelist(request: DescribeWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWhitelistResponse> {
4101
- Util.validateModel(request);
4102
- return $tea.cast<DescribeWhitelistResponse>(await this.doRequest("DescribeWhitelist", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeWhitelistResponse({}));
4103
- }
4104
-
4105
- async describeWhitelistSimply(request: DescribeWhitelistRequest): Promise<DescribeWhitelistResponse> {
4106
- let runtime = new $Util.RuntimeOptions({ });
4107
- return await this.describeWhitelist(request, runtime);
4108
- }
4109
-
4110
- async describeWhitelistSetting(request: DescribeWhitelistSettingRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWhitelistSettingResponse> {
4111
- Util.validateModel(request);
4112
- return $tea.cast<DescribeWhitelistSettingResponse>(await this.doRequest("DescribeWhitelistSetting", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeWhitelistSettingResponse({}));
4113
- }
4114
-
4115
- async describeWhitelistSettingSimply(request: DescribeWhitelistSettingRequest): Promise<DescribeWhitelistSettingResponse> {
4116
- let runtime = new $Util.RuntimeOptions({ });
4117
- return await this.describeWhitelistSetting(request, runtime);
4118
- }
4119
-
4120
2002
  async detectFaceAttributes(request: DetectFaceAttributesRequest, runtime: $Util.RuntimeOptions): Promise<DetectFaceAttributesResponse> {
4121
2003
  Util.validateModel(request);
4122
2004
  return $tea.cast<DetectFaceAttributesResponse>(await this.doRequest("DetectFaceAttributes", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DetectFaceAttributesResponse({}));
@@ -4127,16 +2009,6 @@ export default class Client extends RPC {
4127
2009
  return await this.detectFaceAttributes(request, runtime);
4128
2010
  }
4129
2011
 
4130
- async initDevice(request: InitDeviceRequest, runtime: $Util.RuntimeOptions): Promise<InitDeviceResponse> {
4131
- Util.validateModel(request);
4132
- return $tea.cast<InitDeviceResponse>(await this.doRequest("InitDevice", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new InitDeviceResponse({}));
4133
- }
4134
-
4135
- async initDeviceSimply(request: InitDeviceRequest): Promise<InitDeviceResponse> {
4136
- let runtime = new $Util.RuntimeOptions({ });
4137
- return await this.initDevice(request, runtime);
4138
- }
4139
-
4140
2012
  async initFaceVerify(request: InitFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<InitFaceVerifyResponse> {
4141
2013
  Util.validateModel(request);
4142
2014
  return $tea.cast<InitFaceVerifyResponse>(await this.doRequest("InitFaceVerify", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new InitFaceVerifyResponse({}));
@@ -4167,46 +2039,6 @@ export default class Client extends RPC {
4167
2039
  return await this.modifyDeviceInfo(request, runtime);
4168
2040
  }
4169
2041
 
4170
- async updateAppPackage(request: UpdateAppPackageRequest, runtime: $Util.RuntimeOptions): Promise<UpdateAppPackageResponse> {
4171
- Util.validateModel(request);
4172
- return $tea.cast<UpdateAppPackageResponse>(await this.doRequest("UpdateAppPackage", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new UpdateAppPackageResponse({}));
4173
- }
4174
-
4175
- async updateAppPackageSimply(request: UpdateAppPackageRequest): Promise<UpdateAppPackageResponse> {
4176
- let runtime = new $Util.RuntimeOptions({ });
4177
- return await this.updateAppPackage(request, runtime);
4178
- }
4179
-
4180
- async updateFaceConfig(request: UpdateFaceConfigRequest, runtime: $Util.RuntimeOptions): Promise<UpdateFaceConfigResponse> {
4181
- Util.validateModel(request);
4182
- return $tea.cast<UpdateFaceConfigResponse>(await this.doRequest("UpdateFaceConfig", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new UpdateFaceConfigResponse({}));
4183
- }
4184
-
4185
- async updateFaceConfigSimply(request: UpdateFaceConfigRequest): Promise<UpdateFaceConfigResponse> {
4186
- let runtime = new $Util.RuntimeOptions({ });
4187
- return await this.updateFaceConfig(request, runtime);
4188
- }
4189
-
4190
- async updateVerifySetting(request: UpdateVerifySettingRequest, runtime: $Util.RuntimeOptions): Promise<UpdateVerifySettingResponse> {
4191
- Util.validateModel(request);
4192
- return $tea.cast<UpdateVerifySettingResponse>(await this.doRequest("UpdateVerifySetting", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new UpdateVerifySettingResponse({}));
4193
- }
4194
-
4195
- async updateVerifySettingSimply(request: UpdateVerifySettingRequest): Promise<UpdateVerifySettingResponse> {
4196
- let runtime = new $Util.RuntimeOptions({ });
4197
- return await this.updateVerifySetting(request, runtime);
4198
- }
4199
-
4200
- async verifyDevice(request: VerifyDeviceRequest, runtime: $Util.RuntimeOptions): Promise<VerifyDeviceResponse> {
4201
- Util.validateModel(request);
4202
- return $tea.cast<VerifyDeviceResponse>(await this.doRequest("VerifyDevice", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new VerifyDeviceResponse({}));
4203
- }
4204
-
4205
- async verifyDeviceSimply(request: VerifyDeviceRequest): Promise<VerifyDeviceResponse> {
4206
- let runtime = new $Util.RuntimeOptions({ });
4207
- return await this.verifyDevice(request, runtime);
4208
- }
4209
-
4210
2042
  async verifyMaterial(request: VerifyMaterialRequest, runtime: $Util.RuntimeOptions): Promise<VerifyMaterialResponse> {
4211
2043
  Util.validateModel(request);
4212
2044
  return $tea.cast<VerifyMaterialResponse>(await this.doRequest("VerifyMaterial", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new VerifyMaterialResponse({}));