@onfido/api 4.6.0 → 5.0.0
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/README.md +1 -1
- package/dist/api.d.ts +135 -179
- package/dist/api.js +88 -38
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +135 -179
- package/dist/esm/api.js +86 -36
- package/dist/esm/configuration.js +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -1658,12 +1658,6 @@ export interface DeviceIntelligenceReport {
|
|
|
1658
1658
|
* @memberof DeviceIntelligenceReport
|
|
1659
1659
|
*/
|
|
1660
1660
|
'check_id'?: string;
|
|
1661
|
-
/**
|
|
1662
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
1663
|
-
* @type {Array<ReportDocument>}
|
|
1664
|
-
* @memberof DeviceIntelligenceReport
|
|
1665
|
-
*/
|
|
1666
|
-
'documents'?: Array<ReportDocument>;
|
|
1667
1661
|
/**
|
|
1668
1662
|
*
|
|
1669
1663
|
* @type {ReportName}
|
|
@@ -1688,7 +1682,7 @@ export interface Document {
|
|
|
1688
1682
|
* @type {string}
|
|
1689
1683
|
* @memberof Document
|
|
1690
1684
|
*/
|
|
1691
|
-
'file_type'?:
|
|
1685
|
+
'file_type'?: string;
|
|
1692
1686
|
/**
|
|
1693
1687
|
* The type of document
|
|
1694
1688
|
* @type {DocumentTypes}
|
|
@@ -1750,14 +1744,6 @@ export interface Document {
|
|
|
1750
1744
|
*/
|
|
1751
1745
|
'file_size'?: number;
|
|
1752
1746
|
}
|
|
1753
|
-
export declare const DocumentFileTypeEnum: {
|
|
1754
|
-
readonly Jpg: "jpg";
|
|
1755
|
-
readonly Jpeg: "jpeg";
|
|
1756
|
-
readonly Png: "png";
|
|
1757
|
-
readonly Pdf: "pdf";
|
|
1758
|
-
readonly UnknownDefaultOpenApi: "11184809";
|
|
1759
|
-
};
|
|
1760
|
-
export type DocumentFileTypeEnum = typeof DocumentFileTypeEnum[keyof typeof DocumentFileTypeEnum];
|
|
1761
1747
|
export declare const DocumentSideEnum: {
|
|
1762
1748
|
readonly Front: "front";
|
|
1763
1749
|
readonly Back: "back";
|
|
@@ -3577,18 +3563,18 @@ export interface DocumentReport {
|
|
|
3577
3563
|
* @memberof DocumentReport
|
|
3578
3564
|
*/
|
|
3579
3565
|
'check_id'?: string;
|
|
3580
|
-
/**
|
|
3581
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
3582
|
-
* @type {Array<ReportDocument>}
|
|
3583
|
-
* @memberof DocumentReport
|
|
3584
|
-
*/
|
|
3585
|
-
'documents'?: Array<ReportDocument>;
|
|
3586
3566
|
/**
|
|
3587
3567
|
*
|
|
3588
3568
|
* @type {ReportName}
|
|
3589
3569
|
* @memberof DocumentReport
|
|
3590
3570
|
*/
|
|
3591
3571
|
'name': ReportName;
|
|
3572
|
+
/**
|
|
3573
|
+
* Array of objects with document ids that were used in the Onfido engine.
|
|
3574
|
+
* @type {Array<ReportDocument>}
|
|
3575
|
+
* @memberof DocumentReport
|
|
3576
|
+
*/
|
|
3577
|
+
'documents'?: Array<ReportDocument>;
|
|
3592
3578
|
/**
|
|
3593
3579
|
*
|
|
3594
3580
|
* @type {DocumentBreakdown}
|
|
@@ -3602,6 +3588,19 @@ export interface DocumentReport {
|
|
|
3602
3588
|
*/
|
|
3603
3589
|
'properties'?: DocumentProperties;
|
|
3604
3590
|
}
|
|
3591
|
+
/**
|
|
3592
|
+
*
|
|
3593
|
+
* @export
|
|
3594
|
+
* @interface DocumentReportShared
|
|
3595
|
+
*/
|
|
3596
|
+
export interface DocumentReportShared {
|
|
3597
|
+
/**
|
|
3598
|
+
* Array of objects with document ids that were used in the Onfido engine.
|
|
3599
|
+
* @type {Array<ReportDocument>}
|
|
3600
|
+
* @memberof DocumentReportShared
|
|
3601
|
+
*/
|
|
3602
|
+
'documents'?: Array<ReportDocument>;
|
|
3603
|
+
}
|
|
3605
3604
|
/**
|
|
3606
3605
|
*
|
|
3607
3606
|
* @export
|
|
@@ -3656,7 +3655,7 @@ export interface DocumentShared {
|
|
|
3656
3655
|
* @type {string}
|
|
3657
3656
|
* @memberof DocumentShared
|
|
3658
3657
|
*/
|
|
3659
|
-
'file_type'?:
|
|
3658
|
+
'file_type'?: string;
|
|
3660
3659
|
/**
|
|
3661
3660
|
* The type of document
|
|
3662
3661
|
* @type {DocumentTypes}
|
|
@@ -3682,14 +3681,6 @@ export interface DocumentShared {
|
|
|
3682
3681
|
*/
|
|
3683
3682
|
'applicant_id'?: string;
|
|
3684
3683
|
}
|
|
3685
|
-
export declare const DocumentSharedFileTypeEnum: {
|
|
3686
|
-
readonly Jpg: "jpg";
|
|
3687
|
-
readonly Jpeg: "jpeg";
|
|
3688
|
-
readonly Png: "png";
|
|
3689
|
-
readonly Pdf: "pdf";
|
|
3690
|
-
readonly UnknownDefaultOpenApi: "11184809";
|
|
3691
|
-
};
|
|
3692
|
-
export type DocumentSharedFileTypeEnum = typeof DocumentSharedFileTypeEnum[keyof typeof DocumentSharedFileTypeEnum];
|
|
3693
3684
|
export declare const DocumentSharedSideEnum: {
|
|
3694
3685
|
readonly Front: "front";
|
|
3695
3686
|
readonly Back: "back";
|
|
@@ -3829,18 +3820,18 @@ export interface DocumentVideoReport {
|
|
|
3829
3820
|
* @memberof DocumentVideoReport
|
|
3830
3821
|
*/
|
|
3831
3822
|
'check_id'?: string;
|
|
3832
|
-
/**
|
|
3833
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
3834
|
-
* @type {Array<ReportDocument>}
|
|
3835
|
-
* @memberof DocumentVideoReport
|
|
3836
|
-
*/
|
|
3837
|
-
'documents'?: Array<ReportDocument>;
|
|
3838
3823
|
/**
|
|
3839
3824
|
*
|
|
3840
3825
|
* @type {ReportName}
|
|
3841
3826
|
* @memberof DocumentVideoReport
|
|
3842
3827
|
*/
|
|
3843
3828
|
'name': ReportName;
|
|
3829
|
+
/**
|
|
3830
|
+
* Array of objects with document ids that were used in the Onfido engine.
|
|
3831
|
+
* @type {Array<ReportDocument>}
|
|
3832
|
+
* @memberof DocumentVideoReport
|
|
3833
|
+
*/
|
|
3834
|
+
'documents'?: Array<ReportDocument>;
|
|
3844
3835
|
/**
|
|
3845
3836
|
*
|
|
3846
3837
|
* @type {DocumentBreakdown}
|
|
@@ -3902,18 +3893,18 @@ export interface DocumentVideoWithAddressInformationReport {
|
|
|
3902
3893
|
* @memberof DocumentVideoWithAddressInformationReport
|
|
3903
3894
|
*/
|
|
3904
3895
|
'check_id'?: string;
|
|
3905
|
-
/**
|
|
3906
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
3907
|
-
* @type {Array<ReportDocument>}
|
|
3908
|
-
* @memberof DocumentVideoWithAddressInformationReport
|
|
3909
|
-
*/
|
|
3910
|
-
'documents'?: Array<ReportDocument>;
|
|
3911
3896
|
/**
|
|
3912
3897
|
*
|
|
3913
3898
|
* @type {ReportName}
|
|
3914
3899
|
* @memberof DocumentVideoWithAddressInformationReport
|
|
3915
3900
|
*/
|
|
3916
3901
|
'name': ReportName;
|
|
3902
|
+
/**
|
|
3903
|
+
* Array of objects with document ids that were used in the Onfido engine.
|
|
3904
|
+
* @type {Array<ReportDocument>}
|
|
3905
|
+
* @memberof DocumentVideoWithAddressInformationReport
|
|
3906
|
+
*/
|
|
3907
|
+
'documents'?: Array<ReportDocument>;
|
|
3917
3908
|
/**
|
|
3918
3909
|
*
|
|
3919
3910
|
* @type {DocumentBreakdown}
|
|
@@ -3975,18 +3966,18 @@ export interface DocumentWithAddressInformationReport {
|
|
|
3975
3966
|
* @memberof DocumentWithAddressInformationReport
|
|
3976
3967
|
*/
|
|
3977
3968
|
'check_id'?: string;
|
|
3978
|
-
/**
|
|
3979
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
3980
|
-
* @type {Array<ReportDocument>}
|
|
3981
|
-
* @memberof DocumentWithAddressInformationReport
|
|
3982
|
-
*/
|
|
3983
|
-
'documents'?: Array<ReportDocument>;
|
|
3984
3969
|
/**
|
|
3985
3970
|
*
|
|
3986
3971
|
* @type {ReportName}
|
|
3987
3972
|
* @memberof DocumentWithAddressInformationReport
|
|
3988
3973
|
*/
|
|
3989
3974
|
'name': ReportName;
|
|
3975
|
+
/**
|
|
3976
|
+
* Array of objects with document ids that were used in the Onfido engine.
|
|
3977
|
+
* @type {Array<ReportDocument>}
|
|
3978
|
+
* @memberof DocumentWithAddressInformationReport
|
|
3979
|
+
*/
|
|
3980
|
+
'documents'?: Array<ReportDocument>;
|
|
3990
3981
|
/**
|
|
3991
3982
|
*
|
|
3992
3983
|
* @type {DocumentBreakdown}
|
|
@@ -4048,18 +4039,18 @@ export interface DocumentWithDriverVerificationReport {
|
|
|
4048
4039
|
* @memberof DocumentWithDriverVerificationReport
|
|
4049
4040
|
*/
|
|
4050
4041
|
'check_id'?: string;
|
|
4051
|
-
/**
|
|
4052
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
4053
|
-
* @type {Array<ReportDocument>}
|
|
4054
|
-
* @memberof DocumentWithDriverVerificationReport
|
|
4055
|
-
*/
|
|
4056
|
-
'documents'?: Array<ReportDocument>;
|
|
4057
4042
|
/**
|
|
4058
4043
|
*
|
|
4059
4044
|
* @type {ReportName}
|
|
4060
4045
|
* @memberof DocumentWithDriverVerificationReport
|
|
4061
4046
|
*/
|
|
4062
4047
|
'name': ReportName;
|
|
4048
|
+
/**
|
|
4049
|
+
* Array of objects with document ids that were used in the Onfido engine.
|
|
4050
|
+
* @type {Array<ReportDocument>}
|
|
4051
|
+
* @memberof DocumentWithDriverVerificationReport
|
|
4052
|
+
*/
|
|
4053
|
+
'documents'?: Array<ReportDocument>;
|
|
4063
4054
|
/**
|
|
4064
4055
|
*
|
|
4065
4056
|
* @type {DocumentBreakdown}
|
|
@@ -4517,18 +4508,18 @@ export interface DocumentWithDrivingLicenceInformationReport {
|
|
|
4517
4508
|
* @memberof DocumentWithDrivingLicenceInformationReport
|
|
4518
4509
|
*/
|
|
4519
4510
|
'check_id'?: string;
|
|
4520
|
-
/**
|
|
4521
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
4522
|
-
* @type {Array<ReportDocument>}
|
|
4523
|
-
* @memberof DocumentWithDrivingLicenceInformationReport
|
|
4524
|
-
*/
|
|
4525
|
-
'documents'?: Array<ReportDocument>;
|
|
4526
4511
|
/**
|
|
4527
4512
|
*
|
|
4528
4513
|
* @type {ReportName}
|
|
4529
4514
|
* @memberof DocumentWithDrivingLicenceInformationReport
|
|
4530
4515
|
*/
|
|
4531
4516
|
'name': ReportName;
|
|
4517
|
+
/**
|
|
4518
|
+
* Array of objects with document ids that were used in the Onfido engine.
|
|
4519
|
+
* @type {Array<ReportDocument>}
|
|
4520
|
+
* @memberof DocumentWithDrivingLicenceInformationReport
|
|
4521
|
+
*/
|
|
4522
|
+
'documents'?: Array<ReportDocument>;
|
|
4532
4523
|
/**
|
|
4533
4524
|
*
|
|
4534
4525
|
* @type {DocumentBreakdown}
|
|
@@ -5115,18 +5106,18 @@ export interface FacialSimilarityMotionReport {
|
|
|
5115
5106
|
* @memberof FacialSimilarityMotionReport
|
|
5116
5107
|
*/
|
|
5117
5108
|
'check_id'?: string;
|
|
5118
|
-
/**
|
|
5119
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
5120
|
-
* @type {Array<ReportDocument>}
|
|
5121
|
-
* @memberof FacialSimilarityMotionReport
|
|
5122
|
-
*/
|
|
5123
|
-
'documents'?: Array<ReportDocument>;
|
|
5124
5109
|
/**
|
|
5125
5110
|
*
|
|
5126
5111
|
* @type {ReportName}
|
|
5127
5112
|
* @memberof FacialSimilarityMotionReport
|
|
5128
5113
|
*/
|
|
5129
5114
|
'name': ReportName;
|
|
5115
|
+
/**
|
|
5116
|
+
* Array of objects with document ids that were used in the Onfido engine.
|
|
5117
|
+
* @type {Array<ReportDocument>}
|
|
5118
|
+
* @memberof FacialSimilarityMotionReport
|
|
5119
|
+
*/
|
|
5120
|
+
'documents'?: Array<ReportDocument>;
|
|
5130
5121
|
/**
|
|
5131
5122
|
* Array of objects with live photo ids that were used in the Onfido engine.
|
|
5132
5123
|
* @type {Array<FacialSimilarityReportMedia>}
|
|
@@ -5542,18 +5533,18 @@ export interface FacialSimilarityPhotoFullyAutoReport {
|
|
|
5542
5533
|
* @memberof FacialSimilarityPhotoFullyAutoReport
|
|
5543
5534
|
*/
|
|
5544
5535
|
'check_id'?: string;
|
|
5545
|
-
/**
|
|
5546
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
5547
|
-
* @type {Array<ReportDocument>}
|
|
5548
|
-
* @memberof FacialSimilarityPhotoFullyAutoReport
|
|
5549
|
-
*/
|
|
5550
|
-
'documents'?: Array<ReportDocument>;
|
|
5551
5536
|
/**
|
|
5552
5537
|
*
|
|
5553
5538
|
* @type {ReportName}
|
|
5554
5539
|
* @memberof FacialSimilarityPhotoFullyAutoReport
|
|
5555
5540
|
*/
|
|
5556
5541
|
'name': ReportName;
|
|
5542
|
+
/**
|
|
5543
|
+
* Array of objects with document ids that were used in the Onfido engine.
|
|
5544
|
+
* @type {Array<ReportDocument>}
|
|
5545
|
+
* @memberof FacialSimilarityPhotoFullyAutoReport
|
|
5546
|
+
*/
|
|
5547
|
+
'documents'?: Array<ReportDocument>;
|
|
5557
5548
|
/**
|
|
5558
5549
|
* Array of objects with live photo ids that were used in the Onfido engine.
|
|
5559
5550
|
* @type {Array<FacialSimilarityReportMedia>}
|
|
@@ -5652,18 +5643,18 @@ export interface FacialSimilarityPhotoReport {
|
|
|
5652
5643
|
* @memberof FacialSimilarityPhotoReport
|
|
5653
5644
|
*/
|
|
5654
5645
|
'check_id'?: string;
|
|
5655
|
-
/**
|
|
5656
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
5657
|
-
* @type {Array<ReportDocument>}
|
|
5658
|
-
* @memberof FacialSimilarityPhotoReport
|
|
5659
|
-
*/
|
|
5660
|
-
'documents'?: Array<ReportDocument>;
|
|
5661
5646
|
/**
|
|
5662
5647
|
*
|
|
5663
5648
|
* @type {ReportName}
|
|
5664
5649
|
* @memberof FacialSimilarityPhotoReport
|
|
5665
5650
|
*/
|
|
5666
5651
|
'name': ReportName;
|
|
5652
|
+
/**
|
|
5653
|
+
* Array of objects with document ids that were used in the Onfido engine.
|
|
5654
|
+
* @type {Array<ReportDocument>}
|
|
5655
|
+
* @memberof FacialSimilarityPhotoReport
|
|
5656
|
+
*/
|
|
5657
|
+
'documents'?: Array<ReportDocument>;
|
|
5667
5658
|
/**
|
|
5668
5659
|
* Array of objects with live photo ids that were used in the Onfido engine.
|
|
5669
5660
|
* @type {Array<FacialSimilarityReportMedia>}
|
|
@@ -5720,6 +5711,12 @@ export interface FacialSimilarityReportMedia {
|
|
|
5720
5711
|
* @interface FacialSimilarityReportShared
|
|
5721
5712
|
*/
|
|
5722
5713
|
export interface FacialSimilarityReportShared {
|
|
5714
|
+
/**
|
|
5715
|
+
* Array of objects with document ids that were used in the Onfido engine.
|
|
5716
|
+
* @type {Array<ReportDocument>}
|
|
5717
|
+
* @memberof FacialSimilarityReportShared
|
|
5718
|
+
*/
|
|
5719
|
+
'documents'?: Array<ReportDocument>;
|
|
5723
5720
|
/**
|
|
5724
5721
|
* Array of objects with live photo ids that were used in the Onfido engine.
|
|
5725
5722
|
* @type {Array<FacialSimilarityReportMedia>}
|
|
@@ -6002,18 +5999,18 @@ export interface FacialSimilarityVideoReport {
|
|
|
6002
5999
|
* @memberof FacialSimilarityVideoReport
|
|
6003
6000
|
*/
|
|
6004
6001
|
'check_id'?: string;
|
|
6005
|
-
/**
|
|
6006
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
6007
|
-
* @type {Array<ReportDocument>}
|
|
6008
|
-
* @memberof FacialSimilarityVideoReport
|
|
6009
|
-
*/
|
|
6010
|
-
'documents'?: Array<ReportDocument>;
|
|
6011
6002
|
/**
|
|
6012
6003
|
*
|
|
6013
6004
|
* @type {ReportName}
|
|
6014
6005
|
* @memberof FacialSimilarityVideoReport
|
|
6015
6006
|
*/
|
|
6016
6007
|
'name': ReportName;
|
|
6008
|
+
/**
|
|
6009
|
+
* Array of objects with document ids that were used in the Onfido engine.
|
|
6010
|
+
* @type {Array<ReportDocument>}
|
|
6011
|
+
* @memberof FacialSimilarityVideoReport
|
|
6012
|
+
*/
|
|
6013
|
+
'documents'?: Array<ReportDocument>;
|
|
6017
6014
|
/**
|
|
6018
6015
|
* Array of objects with live photo ids that were used in the Onfido engine.
|
|
6019
6016
|
* @type {Array<FacialSimilarityReportMedia>}
|
|
@@ -6585,12 +6582,6 @@ export interface IdentityEnhancedReport {
|
|
|
6585
6582
|
* @memberof IdentityEnhancedReport
|
|
6586
6583
|
*/
|
|
6587
6584
|
'check_id'?: string;
|
|
6588
|
-
/**
|
|
6589
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
6590
|
-
* @type {Array<ReportDocument>}
|
|
6591
|
-
* @memberof IdentityEnhancedReport
|
|
6592
|
-
*/
|
|
6593
|
-
'documents'?: Array<ReportDocument>;
|
|
6594
6585
|
/**
|
|
6595
6586
|
*
|
|
6596
6587
|
* @type {ReportName}
|
|
@@ -6658,12 +6649,6 @@ export interface IndiaPanReport {
|
|
|
6658
6649
|
* @memberof IndiaPanReport
|
|
6659
6650
|
*/
|
|
6660
6651
|
'check_id'?: string;
|
|
6661
|
-
/**
|
|
6662
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
6663
|
-
* @type {Array<ReportDocument>}
|
|
6664
|
-
* @memberof IndiaPanReport
|
|
6665
|
-
*/
|
|
6666
|
-
'documents'?: Array<ReportDocument>;
|
|
6667
6652
|
/**
|
|
6668
6653
|
*
|
|
6669
6654
|
* @type {ReportName}
|
|
@@ -6916,12 +6901,6 @@ export interface KnownFacesReport {
|
|
|
6916
6901
|
* @memberof KnownFacesReport
|
|
6917
6902
|
*/
|
|
6918
6903
|
'check_id'?: string;
|
|
6919
|
-
/**
|
|
6920
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
6921
|
-
* @type {Array<ReportDocument>}
|
|
6922
|
-
* @memberof KnownFacesReport
|
|
6923
|
-
*/
|
|
6924
|
-
'documents'?: Array<ReportDocument>;
|
|
6925
6904
|
/**
|
|
6926
6905
|
*
|
|
6927
6906
|
* @type {ReportName}
|
|
@@ -7579,12 +7558,6 @@ export interface ProofOfAddressReport {
|
|
|
7579
7558
|
* @memberof ProofOfAddressReport
|
|
7580
7559
|
*/
|
|
7581
7560
|
'check_id'?: string;
|
|
7582
|
-
/**
|
|
7583
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
7584
|
-
* @type {Array<ReportDocument>}
|
|
7585
|
-
* @memberof ProofOfAddressReport
|
|
7586
|
-
*/
|
|
7587
|
-
'documents'?: Array<ReportDocument>;
|
|
7588
7561
|
/**
|
|
7589
7562
|
*
|
|
7590
7563
|
* @type {ReportName}
|
|
@@ -7858,12 +7831,6 @@ export interface ReportShared {
|
|
|
7858
7831
|
* @memberof ReportShared
|
|
7859
7832
|
*/
|
|
7860
7833
|
'check_id'?: string;
|
|
7861
|
-
/**
|
|
7862
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
7863
|
-
* @type {Array<ReportDocument>}
|
|
7864
|
-
* @memberof ReportShared
|
|
7865
|
-
*/
|
|
7866
|
-
'documents'?: Array<ReportDocument>;
|
|
7867
7834
|
/**
|
|
7868
7835
|
*
|
|
7869
7836
|
* @type {ReportName}
|
|
@@ -8583,12 +8550,6 @@ export interface UsDrivingLicenceReport {
|
|
|
8583
8550
|
* @memberof UsDrivingLicenceReport
|
|
8584
8551
|
*/
|
|
8585
8552
|
'check_id'?: string;
|
|
8586
|
-
/**
|
|
8587
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
8588
|
-
* @type {Array<ReportDocument>}
|
|
8589
|
-
* @memberof UsDrivingLicenceReport
|
|
8590
|
-
*/
|
|
8591
|
-
'documents'?: Array<ReportDocument>;
|
|
8592
8553
|
/**
|
|
8593
8554
|
*
|
|
8594
8555
|
* @type {ReportName}
|
|
@@ -8871,11 +8832,11 @@ export interface WatchlistAmlBreakdownSanction {
|
|
|
8871
8832
|
export interface WatchlistAmlProperties {
|
|
8872
8833
|
/**
|
|
8873
8834
|
* Returns any matches including, but not limited to, name and date of birth of match, aliases and associates, and relevant events and sources.
|
|
8874
|
-
* @type {Array<
|
|
8835
|
+
* @type {Array<object>}
|
|
8875
8836
|
* @memberof WatchlistAmlProperties
|
|
8876
8837
|
* @deprecated
|
|
8877
8838
|
*/
|
|
8878
|
-
'records'?: Array<
|
|
8839
|
+
'records'?: Array<object>;
|
|
8879
8840
|
}
|
|
8880
8841
|
/**
|
|
8881
8842
|
*
|
|
@@ -8925,12 +8886,6 @@ export interface WatchlistAmlReport {
|
|
|
8925
8886
|
* @memberof WatchlistAmlReport
|
|
8926
8887
|
*/
|
|
8927
8888
|
'check_id'?: string;
|
|
8928
|
-
/**
|
|
8929
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
8930
|
-
* @type {Array<ReportDocument>}
|
|
8931
|
-
* @memberof WatchlistAmlReport
|
|
8932
|
-
*/
|
|
8933
|
-
'documents'?: Array<ReportDocument>;
|
|
8934
8889
|
/**
|
|
8935
8890
|
*
|
|
8936
8891
|
* @type {ReportName}
|
|
@@ -9308,12 +9263,6 @@ export interface WatchlistEnhancedReport {
|
|
|
9308
9263
|
* @memberof WatchlistEnhancedReport
|
|
9309
9264
|
*/
|
|
9310
9265
|
'check_id'?: string;
|
|
9311
|
-
/**
|
|
9312
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
9313
|
-
* @type {Array<ReportDocument>}
|
|
9314
|
-
* @memberof WatchlistEnhancedReport
|
|
9315
|
-
*/
|
|
9316
|
-
'documents'?: Array<ReportDocument>;
|
|
9317
9266
|
/**
|
|
9318
9267
|
*
|
|
9319
9268
|
* @type {ReportName}
|
|
@@ -9593,12 +9542,6 @@ export interface WatchlistPepsOnlyReport {
|
|
|
9593
9542
|
* @memberof WatchlistPepsOnlyReport
|
|
9594
9543
|
*/
|
|
9595
9544
|
'check_id'?: string;
|
|
9596
|
-
/**
|
|
9597
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
9598
|
-
* @type {Array<ReportDocument>}
|
|
9599
|
-
* @memberof WatchlistPepsOnlyReport
|
|
9600
|
-
*/
|
|
9601
|
-
'documents'?: Array<ReportDocument>;
|
|
9602
9545
|
/**
|
|
9603
9546
|
*
|
|
9604
9547
|
* @type {ReportName}
|
|
@@ -9666,12 +9609,6 @@ export interface WatchlistSanctionsOnlyReport {
|
|
|
9666
9609
|
* @memberof WatchlistSanctionsOnlyReport
|
|
9667
9610
|
*/
|
|
9668
9611
|
'check_id'?: string;
|
|
9669
|
-
/**
|
|
9670
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
9671
|
-
* @type {Array<ReportDocument>}
|
|
9672
|
-
* @memberof WatchlistSanctionsOnlyReport
|
|
9673
|
-
*/
|
|
9674
|
-
'documents'?: Array<ReportDocument>;
|
|
9675
9612
|
/**
|
|
9676
9613
|
*
|
|
9677
9614
|
* @type {ReportName}
|
|
@@ -9724,11 +9661,11 @@ export interface WatchlistStandardBreakdown {
|
|
|
9724
9661
|
export interface WatchlistStandardProperties {
|
|
9725
9662
|
/**
|
|
9726
9663
|
* Returns any matches including, but not limited to, name and date of birth of match, aliases and associates, and relevant events and sources.
|
|
9727
|
-
* @type {Array<
|
|
9664
|
+
* @type {Array<object>}
|
|
9728
9665
|
* @memberof WatchlistStandardProperties
|
|
9729
9666
|
* @deprecated
|
|
9730
9667
|
*/
|
|
9731
|
-
'records'?: Array<
|
|
9668
|
+
'records'?: Array<object>;
|
|
9732
9669
|
}
|
|
9733
9670
|
/**
|
|
9734
9671
|
*
|
|
@@ -9778,12 +9715,6 @@ export interface WatchlistStandardReport {
|
|
|
9778
9715
|
* @memberof WatchlistStandardReport
|
|
9779
9716
|
*/
|
|
9780
9717
|
'check_id'?: string;
|
|
9781
|
-
/**
|
|
9782
|
-
* Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]
|
|
9783
|
-
* @type {Array<ReportDocument>}
|
|
9784
|
-
* @memberof WatchlistStandardReport
|
|
9785
|
-
*/
|
|
9786
|
-
'documents'?: Array<ReportDocument>;
|
|
9787
9718
|
/**
|
|
9788
9719
|
*
|
|
9789
9720
|
* @type {ReportName}
|
|
@@ -10015,7 +9946,7 @@ export interface WebhookEventPayloadObject {
|
|
|
10015
9946
|
* @type {string}
|
|
10016
9947
|
* @memberof WebhookEventPayloadObject
|
|
10017
9948
|
*/
|
|
10018
|
-
'href'
|
|
9949
|
+
'href'?: string;
|
|
10019
9950
|
}
|
|
10020
9951
|
/**
|
|
10021
9952
|
* The resource affected by this event.
|
|
@@ -10159,7 +10090,6 @@ export declare const WebhookEventType: {
|
|
|
10159
10090
|
readonly ReportAwaitingApproval: "report.awaiting_approval";
|
|
10160
10091
|
readonly ReportCompleted: "report.completed";
|
|
10161
10092
|
readonly WorkflowTimelineFileCreated: "workflow_timeline_file.created";
|
|
10162
|
-
readonly WorkflowSignedEvidenceFileCreated: "workflow_signed_evidence_file.created";
|
|
10163
10093
|
readonly WorkflowRunEvidenceFolderCreated: "workflow_run_evidence_folder.created";
|
|
10164
10094
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
10165
10095
|
};
|
|
@@ -10853,6 +10783,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
10853
10783
|
* @throws {RequiredError}
|
|
10854
10784
|
*/
|
|
10855
10785
|
downloadMotionCaptureFrame: (motionCaptureId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10786
|
+
/**
|
|
10787
|
+
* Downloads digital photos extracted from specific documents belonging to an applicant. If successful, the response will be the binary data representing the image.
|
|
10788
|
+
* @summary Download NFC face
|
|
10789
|
+
* @param {string} documentId
|
|
10790
|
+
* @param {*} [options] Override http request option.
|
|
10791
|
+
* @throws {RequiredError}
|
|
10792
|
+
*/
|
|
10793
|
+
downloadNfcFace: (documentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10856
10794
|
/**
|
|
10857
10795
|
* Retrieves the signed document or application form depending on the file_id provided.
|
|
10858
10796
|
* @summary Retrieves the signed document or application form
|
|
@@ -11122,10 +11060,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
11122
11060
|
* @param {string} [createdAtGt] A ISO-8601 date to filter results with a created date greater than (after) the one provided.
|
|
11123
11061
|
* @param {string} [createdAtLt] A ISO-8601 date to filter results with a created date less than (before) the one provided.
|
|
11124
11062
|
* @param {ListWorkflowRunsSortEnum} [sort] A string with the value \'desc\' or \'asc\' that allows to sort the returned list by the completed datetime either descending or ascending, respectively. If not specified, defaults to \'desc\'.
|
|
11063
|
+
* @param {string} [applicantId] the applicant\'s id.
|
|
11125
11064
|
* @param {*} [options] Override http request option.
|
|
11126
11065
|
* @throws {RequiredError}
|
|
11127
11066
|
*/
|
|
11128
|
-
listWorkflowRuns: (page?: number, status?: string, createdAtGt?: string, createdAtLt?: string, sort?: ListWorkflowRunsSortEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11067
|
+
listWorkflowRuns: (page?: number, status?: string, createdAtGt?: string, createdAtLt?: string, sort?: ListWorkflowRunsSortEnum, applicantId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11129
11068
|
/**
|
|
11130
11069
|
* Run a health check on the Onfido API
|
|
11131
11070
|
* @summary Ping
|
|
@@ -11206,7 +11145,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
11206
11145
|
* @param {DocumentTypes} type The type of document
|
|
11207
11146
|
* @param {string} applicantId The ID of the applicant whose document is being uploaded.
|
|
11208
11147
|
* @param {FileTransfer} file The file to be uploaded.
|
|
11209
|
-
* @param {
|
|
11148
|
+
* @param {string} [fileType] The file type of the uploaded file
|
|
11210
11149
|
* @param {UploadDocumentSideEnum} [side] The side of the document, if applicable. The possible values are front and back
|
|
11211
11150
|
* @param {CountryCodes} [issuingCountry] The issuing country of the document, a 3-letter ISO code.
|
|
11212
11151
|
* @param {boolean} [validateImageQuality] Defaults to false. When true the submitted image will undergo an image quality validation which may take up to 5 seconds.
|
|
@@ -11214,7 +11153,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
11214
11153
|
* @param {*} [options] Override http request option.
|
|
11215
11154
|
* @throws {RequiredError}
|
|
11216
11155
|
*/
|
|
11217
|
-
uploadDocument: (type: DocumentTypes, applicantId: string, file: FileTransfer, fileType?:
|
|
11156
|
+
uploadDocument: (type: DocumentTypes, applicantId: string, file: FileTransfer, fileType?: string, side?: UploadDocumentSideEnum, issuingCountry?: CountryCodes, validateImageQuality?: boolean, location?: LocationBuilder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11218
11157
|
/**
|
|
11219
11158
|
* You can upload ID photos to this endpoint. Like document upload, files must be uploaded as a multipart form. Valid file types are jpg, png and pdf. The file size must be between 32KB and 10MB.
|
|
11220
11159
|
* @summary Upload ID photo
|
|
@@ -11410,6 +11349,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
11410
11349
|
* @throws {RequiredError}
|
|
11411
11350
|
*/
|
|
11412
11351
|
downloadMotionCaptureFrame(motionCaptureId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileTransfer>>;
|
|
11352
|
+
/**
|
|
11353
|
+
* Downloads digital photos extracted from specific documents belonging to an applicant. If successful, the response will be the binary data representing the image.
|
|
11354
|
+
* @summary Download NFC face
|
|
11355
|
+
* @param {string} documentId
|
|
11356
|
+
* @param {*} [options] Override http request option.
|
|
11357
|
+
* @throws {RequiredError}
|
|
11358
|
+
*/
|
|
11359
|
+
downloadNfcFace(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileTransfer>>;
|
|
11413
11360
|
/**
|
|
11414
11361
|
* Retrieves the signed document or application form depending on the file_id provided.
|
|
11415
11362
|
* @summary Retrieves the signed document or application form
|
|
@@ -11679,10 +11626,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
11679
11626
|
* @param {string} [createdAtGt] A ISO-8601 date to filter results with a created date greater than (after) the one provided.
|
|
11680
11627
|
* @param {string} [createdAtLt] A ISO-8601 date to filter results with a created date less than (before) the one provided.
|
|
11681
11628
|
* @param {ListWorkflowRunsSortEnum} [sort] A string with the value \'desc\' or \'asc\' that allows to sort the returned list by the completed datetime either descending or ascending, respectively. If not specified, defaults to \'desc\'.
|
|
11629
|
+
* @param {string} [applicantId] the applicant\'s id.
|
|
11682
11630
|
* @param {*} [options] Override http request option.
|
|
11683
11631
|
* @throws {RequiredError}
|
|
11684
11632
|
*/
|
|
11685
|
-
listWorkflowRuns(page?: number, status?: string, createdAtGt?: string, createdAtLt?: string, sort?: ListWorkflowRunsSortEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowRun>>>;
|
|
11633
|
+
listWorkflowRuns(page?: number, status?: string, createdAtGt?: string, createdAtLt?: string, sort?: ListWorkflowRunsSortEnum, applicantId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowRun>>>;
|
|
11686
11634
|
/**
|
|
11687
11635
|
* Run a health check on the Onfido API
|
|
11688
11636
|
* @summary Ping
|
|
@@ -11763,7 +11711,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
11763
11711
|
* @param {DocumentTypes} type The type of document
|
|
11764
11712
|
* @param {string} applicantId The ID of the applicant whose document is being uploaded.
|
|
11765
11713
|
* @param {FileTransfer} file The file to be uploaded.
|
|
11766
|
-
* @param {
|
|
11714
|
+
* @param {string} [fileType] The file type of the uploaded file
|
|
11767
11715
|
* @param {UploadDocumentSideEnum} [side] The side of the document, if applicable. The possible values are front and back
|
|
11768
11716
|
* @param {CountryCodes} [issuingCountry] The issuing country of the document, a 3-letter ISO code.
|
|
11769
11717
|
* @param {boolean} [validateImageQuality] Defaults to false. When true the submitted image will undergo an image quality validation which may take up to 5 seconds.
|
|
@@ -11771,7 +11719,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
11771
11719
|
* @param {*} [options] Override http request option.
|
|
11772
11720
|
* @throws {RequiredError}
|
|
11773
11721
|
*/
|
|
11774
|
-
uploadDocument(type: DocumentTypes, applicantId: string, file: FileTransfer, fileType?:
|
|
11722
|
+
uploadDocument(type: DocumentTypes, applicantId: string, file: FileTransfer, fileType?: string, side?: UploadDocumentSideEnum, issuingCountry?: CountryCodes, validateImageQuality?: boolean, location?: LocationBuilder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Document>>;
|
|
11775
11723
|
/**
|
|
11776
11724
|
* You can upload ID photos to this endpoint. Like document upload, files must be uploaded as a multipart form. Valid file types are jpg, png and pdf. The file size must be between 32KB and 10MB.
|
|
11777
11725
|
* @summary Upload ID photo
|
|
@@ -11967,6 +11915,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
11967
11915
|
* @throws {RequiredError}
|
|
11968
11916
|
*/
|
|
11969
11917
|
downloadMotionCaptureFrame(motionCaptureId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
|
|
11918
|
+
/**
|
|
11919
|
+
* Downloads digital photos extracted from specific documents belonging to an applicant. If successful, the response will be the binary data representing the image.
|
|
11920
|
+
* @summary Download NFC face
|
|
11921
|
+
* @param {string} documentId
|
|
11922
|
+
* @param {*} [options] Override http request option.
|
|
11923
|
+
* @throws {RequiredError}
|
|
11924
|
+
*/
|
|
11925
|
+
downloadNfcFace(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
|
|
11970
11926
|
/**
|
|
11971
11927
|
* Retrieves the signed document or application form depending on the file_id provided.
|
|
11972
11928
|
* @summary Retrieves the signed document or application form
|
|
@@ -12236,10 +12192,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
12236
12192
|
* @param {string} [createdAtGt] A ISO-8601 date to filter results with a created date greater than (after) the one provided.
|
|
12237
12193
|
* @param {string} [createdAtLt] A ISO-8601 date to filter results with a created date less than (before) the one provided.
|
|
12238
12194
|
* @param {ListWorkflowRunsSortEnum} [sort] A string with the value \'desc\' or \'asc\' that allows to sort the returned list by the completed datetime either descending or ascending, respectively. If not specified, defaults to \'desc\'.
|
|
12195
|
+
* @param {string} [applicantId] the applicant\'s id.
|
|
12239
12196
|
* @param {*} [options] Override http request option.
|
|
12240
12197
|
* @throws {RequiredError}
|
|
12241
12198
|
*/
|
|
12242
|
-
listWorkflowRuns(page?: number, status?: string, createdAtGt?: string, createdAtLt?: string, sort?: ListWorkflowRunsSortEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<WorkflowRun>>;
|
|
12199
|
+
listWorkflowRuns(page?: number, status?: string, createdAtGt?: string, createdAtLt?: string, sort?: ListWorkflowRunsSortEnum, applicantId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<WorkflowRun>>;
|
|
12243
12200
|
/**
|
|
12244
12201
|
* Run a health check on the Onfido API
|
|
12245
12202
|
* @summary Ping
|
|
@@ -12320,7 +12277,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
12320
12277
|
* @param {DocumentTypes} type The type of document
|
|
12321
12278
|
* @param {string} applicantId The ID of the applicant whose document is being uploaded.
|
|
12322
12279
|
* @param {FileTransfer} file The file to be uploaded.
|
|
12323
|
-
* @param {
|
|
12280
|
+
* @param {string} [fileType] The file type of the uploaded file
|
|
12324
12281
|
* @param {UploadDocumentSideEnum} [side] The side of the document, if applicable. The possible values are front and back
|
|
12325
12282
|
* @param {CountryCodes} [issuingCountry] The issuing country of the document, a 3-letter ISO code.
|
|
12326
12283
|
* @param {boolean} [validateImageQuality] Defaults to false. When true the submitted image will undergo an image quality validation which may take up to 5 seconds.
|
|
@@ -12328,7 +12285,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
12328
12285
|
* @param {*} [options] Override http request option.
|
|
12329
12286
|
* @throws {RequiredError}
|
|
12330
12287
|
*/
|
|
12331
|
-
uploadDocument(type: DocumentTypes, applicantId: string, file: FileTransfer, fileType?:
|
|
12288
|
+
uploadDocument(type: DocumentTypes, applicantId: string, file: FileTransfer, fileType?: string, side?: UploadDocumentSideEnum, issuingCountry?: CountryCodes, validateImageQuality?: boolean, location?: LocationBuilder, options?: RawAxiosRequestConfig): AxiosPromise<Document>;
|
|
12332
12289
|
/**
|
|
12333
12290
|
* You can upload ID photos to this endpoint. Like document upload, files must be uploaded as a multipart form. Valid file types are jpg, png and pdf. The file size must be between 32KB and 10MB.
|
|
12334
12291
|
* @summary Upload ID photo
|
|
@@ -12547,6 +12504,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
12547
12504
|
* @memberof DefaultApi
|
|
12548
12505
|
*/
|
|
12549
12506
|
downloadMotionCaptureFrame(motionCaptureId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileTransfer, any>>;
|
|
12507
|
+
/**
|
|
12508
|
+
* Downloads digital photos extracted from specific documents belonging to an applicant. If successful, the response will be the binary data representing the image.
|
|
12509
|
+
* @summary Download NFC face
|
|
12510
|
+
* @param {string} documentId
|
|
12511
|
+
* @param {*} [options] Override http request option.
|
|
12512
|
+
* @throws {RequiredError}
|
|
12513
|
+
* @memberof DefaultApi
|
|
12514
|
+
*/
|
|
12515
|
+
downloadNfcFace(documentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileTransfer, any>>;
|
|
12550
12516
|
/**
|
|
12551
12517
|
* Retrieves the signed document or application form depending on the file_id provided.
|
|
12552
12518
|
* @summary Retrieves the signed document or application form
|
|
@@ -12848,11 +12814,12 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
12848
12814
|
* @param {string} [createdAtGt] A ISO-8601 date to filter results with a created date greater than (after) the one provided.
|
|
12849
12815
|
* @param {string} [createdAtLt] A ISO-8601 date to filter results with a created date less than (before) the one provided.
|
|
12850
12816
|
* @param {ListWorkflowRunsSortEnum} [sort] A string with the value \'desc\' or \'asc\' that allows to sort the returned list by the completed datetime either descending or ascending, respectively. If not specified, defaults to \'desc\'.
|
|
12817
|
+
* @param {string} [applicantId] the applicant\'s id.
|
|
12851
12818
|
* @param {*} [options] Override http request option.
|
|
12852
12819
|
* @throws {RequiredError}
|
|
12853
12820
|
* @memberof DefaultApi
|
|
12854
12821
|
*/
|
|
12855
|
-
listWorkflowRuns(page?: number, status?: string, createdAtGt?: string, createdAtLt?: string, sort?: ListWorkflowRunsSortEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkflowRun[], any>>;
|
|
12822
|
+
listWorkflowRuns(page?: number, status?: string, createdAtGt?: string, createdAtLt?: string, sort?: ListWorkflowRunsSortEnum, applicantId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkflowRun[], any>>;
|
|
12856
12823
|
/**
|
|
12857
12824
|
* Run a health check on the Onfido API
|
|
12858
12825
|
* @summary Ping
|
|
@@ -12942,7 +12909,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
12942
12909
|
* @param {DocumentTypes} type The type of document
|
|
12943
12910
|
* @param {string} applicantId The ID of the applicant whose document is being uploaded.
|
|
12944
12911
|
* @param {FileTransfer} file The file to be uploaded.
|
|
12945
|
-
* @param {
|
|
12912
|
+
* @param {string} [fileType] The file type of the uploaded file
|
|
12946
12913
|
* @param {UploadDocumentSideEnum} [side] The side of the document, if applicable. The possible values are front and back
|
|
12947
12914
|
* @param {CountryCodes} [issuingCountry] The issuing country of the document, a 3-letter ISO code.
|
|
12948
12915
|
* @param {boolean} [validateImageQuality] Defaults to false. When true the submitted image will undergo an image quality validation which may take up to 5 seconds.
|
|
@@ -12951,7 +12918,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
12951
12918
|
* @throws {RequiredError}
|
|
12952
12919
|
* @memberof DefaultApi
|
|
12953
12920
|
*/
|
|
12954
|
-
uploadDocument(type: DocumentTypes, applicantId: string, file: FileTransfer, fileType?:
|
|
12921
|
+
uploadDocument(type: DocumentTypes, applicantId: string, file: FileTransfer, fileType?: string, side?: UploadDocumentSideEnum, issuingCountry?: CountryCodes, validateImageQuality?: boolean, location?: LocationBuilder, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Document, any>>;
|
|
12955
12922
|
/**
|
|
12956
12923
|
* You can upload ID photos to this endpoint. Like document upload, files must be uploaded as a multipart form. Valid file types are jpg, png and pdf. The file size must be between 32KB and 10MB.
|
|
12957
12924
|
* @summary Upload ID photo
|
|
@@ -12983,17 +12950,6 @@ export declare const ListWorkflowRunsSortEnum: {
|
|
|
12983
12950
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
12984
12951
|
};
|
|
12985
12952
|
export type ListWorkflowRunsSortEnum = typeof ListWorkflowRunsSortEnum[keyof typeof ListWorkflowRunsSortEnum];
|
|
12986
|
-
/**
|
|
12987
|
-
* @export
|
|
12988
|
-
*/
|
|
12989
|
-
export declare const UploadDocumentFileTypeEnum: {
|
|
12990
|
-
readonly Jpg: "jpg";
|
|
12991
|
-
readonly Jpeg: "jpeg";
|
|
12992
|
-
readonly Png: "png";
|
|
12993
|
-
readonly Pdf: "pdf";
|
|
12994
|
-
readonly UnknownDefaultOpenApi: "11184809";
|
|
12995
|
-
};
|
|
12996
|
-
export type UploadDocumentFileTypeEnum = typeof UploadDocumentFileTypeEnum[keyof typeof UploadDocumentFileTypeEnum];
|
|
12997
12953
|
/**
|
|
12998
12954
|
* @export
|
|
12999
12955
|
*/
|