@onfido/api 3.6.0 → 4.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/dist/esm/api.d.ts CHANGED
@@ -380,11 +380,11 @@ export interface ApplicantBuilder {
380
380
  */
381
381
  'phone_number'?: string;
382
382
  /**
383
- *
384
- * @type {ConsentsBuilder}
383
+ * The applicant\'s consents
384
+ * @type {Array<ApplicantConsentBuilder>}
385
385
  * @memberof ApplicantBuilder
386
386
  */
387
- 'consents'?: ConsentsBuilder;
387
+ 'consents'?: Array<ApplicantConsentBuilder>;
388
388
  /**
389
389
  *
390
390
  * @type {AddressBuilder}
@@ -410,6 +410,37 @@ export interface ApplicantBuilder {
410
410
  */
411
411
  'last_name': string;
412
412
  }
413
+ /**
414
+ *
415
+ * @export
416
+ * @interface ApplicantConsentBuilder
417
+ */
418
+ export interface ApplicantConsentBuilder {
419
+ /**
420
+ *
421
+ * @type {ApplicantConsentName}
422
+ * @memberof ApplicantConsentBuilder
423
+ */
424
+ 'name': ApplicantConsentName;
425
+ /**
426
+ *
427
+ * @type {boolean}
428
+ * @memberof ApplicantConsentBuilder
429
+ */
430
+ 'granted': boolean;
431
+ }
432
+ /**
433
+ *
434
+ * @export
435
+ * @enum {string}
436
+ */
437
+ export declare const ApplicantConsentName: {
438
+ readonly PrivacyNoticesRead: "privacy_notices_read";
439
+ readonly SsnVerification: "ssn_verification";
440
+ readonly PhoneNumberVerification: "phone_number_verification";
441
+ readonly UnknownDefaultOpenApi: "11184809";
442
+ };
443
+ export type ApplicantConsentName = typeof ApplicantConsentName[keyof typeof ApplicantConsentName];
413
444
  /**
414
445
  *
415
446
  * @export
@@ -436,11 +467,11 @@ export interface ApplicantCreate {
436
467
  */
437
468
  export interface ApplicantRequest {
438
469
  /**
439
- *
440
- * @type {ConsentsBuilder}
470
+ * The applicant\'s consents
471
+ * @type {Array<ApplicantConsentBuilder>}
441
472
  * @memberof ApplicantRequest
442
473
  */
443
- 'consents'?: ConsentsBuilder;
474
+ 'consents'?: Array<ApplicantConsentBuilder>;
444
475
  /**
445
476
  *
446
477
  * @type {AddressBuilder}
@@ -596,11 +627,11 @@ export interface ApplicantUpdater {
596
627
  */
597
628
  'phone_number'?: string;
598
629
  /**
599
- *
600
- * @type {ConsentsBuilder}
630
+ * The applicant\'s consents
631
+ * @type {Array<ApplicantConsentBuilder>}
601
632
  * @memberof ApplicantUpdater
602
633
  */
603
- 'consents'?: ConsentsBuilder;
634
+ 'consents'?: Array<ApplicantConsentBuilder>;
604
635
  /**
605
636
  *
606
637
  * @type {AddressBuilder}
@@ -675,6 +706,12 @@ export interface Check {
675
706
  * @memberof Check
676
707
  */
677
708
  'redirect_uri'?: string;
709
+ /**
710
+ *
711
+ * @type {boolean}
712
+ * @memberof Check
713
+ */
714
+ 'privacy_notices_read_consent_given'?: boolean;
678
715
  /**
679
716
  * The unique identifier for the check.
680
717
  * @type {string}
@@ -694,11 +731,11 @@ export interface Check {
694
731
  */
695
732
  'href'?: string;
696
733
  /**
697
- * The current state of the check in the checking process.
698
- * @type {string}
734
+ *
735
+ * @type {CheckStatus}
699
736
  * @memberof Check
700
737
  */
701
- 'status'?: CheckStatusEnum;
738
+ 'status'?: CheckStatus;
702
739
  /**
703
740
  * The overall result of the check, based on the results of the constituent reports.
704
741
  * @type {string}
@@ -729,17 +766,19 @@ export interface Check {
729
766
  * @memberof Check
730
767
  */
731
768
  'sandbox'?: boolean;
769
+ /**
770
+ *
771
+ * @type {boolean}
772
+ * @memberof Check
773
+ */
774
+ 'paused'?: boolean;
775
+ /**
776
+ *
777
+ * @type {string}
778
+ * @memberof Check
779
+ */
780
+ 'version'?: string;
732
781
  }
733
- export declare const CheckStatusEnum: {
734
- readonly InProgress: "in_progress";
735
- readonly AwaitingApplicant: "awaiting_applicant";
736
- readonly Complete: "complete";
737
- readonly Withdrawn: "withdrawn";
738
- readonly Paused: "paused";
739
- readonly Reopened: "reopened";
740
- readonly UnknownDefaultOpenApi: "11184809";
741
- };
742
- export type CheckStatusEnum = typeof CheckStatusEnum[keyof typeof CheckStatusEnum];
743
782
  export declare const CheckResultEnum: {
744
783
  readonly Clear: "clear";
745
784
  readonly Consider: "consider";
@@ -782,6 +821,12 @@ export interface CheckBuilder {
782
821
  * @memberof CheckBuilder
783
822
  */
784
823
  'redirect_uri'?: string;
824
+ /**
825
+ *
826
+ * @type {boolean}
827
+ * @memberof CheckBuilder
828
+ */
829
+ 'privacy_notices_read_consent_given'?: boolean;
785
830
  /**
786
831
  * An array of report names (strings).
787
832
  * @type {Array<ReportName>}
@@ -905,11 +950,11 @@ export interface CheckResponse {
905
950
  */
906
951
  'href'?: string;
907
952
  /**
908
- * The current state of the check in the checking process.
909
- * @type {string}
953
+ *
954
+ * @type {CheckStatus}
910
955
  * @memberof CheckResponse
911
956
  */
912
- 'status'?: CheckResponseStatusEnum;
957
+ 'status'?: CheckStatus;
913
958
  /**
914
959
  * The overall result of the check, based on the results of the constituent reports.
915
960
  * @type {string}
@@ -940,17 +985,19 @@ export interface CheckResponse {
940
985
  * @memberof CheckResponse
941
986
  */
942
987
  'sandbox'?: boolean;
988
+ /**
989
+ *
990
+ * @type {boolean}
991
+ * @memberof CheckResponse
992
+ */
993
+ 'paused'?: boolean;
994
+ /**
995
+ *
996
+ * @type {string}
997
+ * @memberof CheckResponse
998
+ */
999
+ 'version'?: string;
943
1000
  }
944
- export declare const CheckResponseStatusEnum: {
945
- readonly InProgress: "in_progress";
946
- readonly AwaitingApplicant: "awaiting_applicant";
947
- readonly Complete: "complete";
948
- readonly Withdrawn: "withdrawn";
949
- readonly Paused: "paused";
950
- readonly Reopened: "reopened";
951
- readonly UnknownDefaultOpenApi: "11184809";
952
- };
953
- export type CheckResponseStatusEnum = typeof CheckResponseStatusEnum[keyof typeof CheckResponseStatusEnum];
954
1001
  export declare const CheckResponseResultEnum: {
955
1002
  readonly Clear: "clear";
956
1003
  readonly Consider: "consider";
@@ -993,7 +1040,28 @@ export interface CheckShared {
993
1040
  * @memberof CheckShared
994
1041
  */
995
1042
  'redirect_uri'?: string;
1043
+ /**
1044
+ *
1045
+ * @type {boolean}
1046
+ * @memberof CheckShared
1047
+ */
1048
+ 'privacy_notices_read_consent_given'?: boolean;
996
1049
  }
1050
+ /**
1051
+ * The current state of the check in the checking process.
1052
+ * @export
1053
+ * @enum {string}
1054
+ */
1055
+ export declare const CheckStatus: {
1056
+ readonly InProgress: "in_progress";
1057
+ readonly AwaitingApplicant: "awaiting_applicant";
1058
+ readonly Complete: "complete";
1059
+ readonly Withdrawn: "withdrawn";
1060
+ readonly Paused: "paused";
1061
+ readonly Reopened: "reopened";
1062
+ readonly UnknownDefaultOpenApi: "11184809";
1063
+ };
1064
+ export type CheckStatus = typeof CheckStatus[keyof typeof CheckStatus];
997
1065
  /**
998
1066
  *
999
1067
  * @export
@@ -1026,39 +1094,6 @@ export interface CompleteTaskBuilder {
1026
1094
  * @export
1027
1095
  */
1028
1096
  export type CompleteTaskDataBuilder = Array<object> | object;
1029
- /**
1030
- * The applicant\'s consents
1031
- * @export
1032
- * @interface ConsentItem
1033
- */
1034
- export interface ConsentItem {
1035
- /**
1036
- *
1037
- * @type {string}
1038
- * @memberof ConsentItem
1039
- */
1040
- 'name': ConsentItemNameEnum;
1041
- /**
1042
- *
1043
- * @type {boolean}
1044
- * @memberof ConsentItem
1045
- */
1046
- 'granted': boolean;
1047
- }
1048
- export declare const ConsentItemNameEnum: {
1049
- readonly PrivacyNoticesRead: "privacy_notices_read";
1050
- readonly SsnVerification: "ssn_verification";
1051
- readonly PhoneNumberVerification: "phone_number_verification";
1052
- readonly UnknownDefaultOpenApi: "11184809";
1053
- };
1054
- export type ConsentItemNameEnum = typeof ConsentItemNameEnum[keyof typeof ConsentItemNameEnum];
1055
- /**
1056
- *
1057
- * @export
1058
- * @interface ConsentsBuilder
1059
- */
1060
- export interface ConsentsBuilder {
1061
- }
1062
1097
  /**
1063
1098
  *
1064
1099
  * @export
@@ -1473,34 +1508,6 @@ export interface DeviceIntelligenceBreakdownPropertiesDevice {
1473
1508
  * @memberof DeviceIntelligenceBreakdownPropertiesDevice
1474
1509
  */
1475
1510
  'fake_network_request'?: boolean;
1476
- /**
1477
- * The true operating system of the device.
1478
- * @type {string}
1479
- * @memberof DeviceIntelligenceBreakdownPropertiesDevice
1480
- * @deprecated
1481
- */
1482
- 'true_os'?: string;
1483
- /**
1484
- * The likelihood of an operating system anomaly between the true OS and the OS sent by the device.
1485
- * @type {string}
1486
- * @memberof DeviceIntelligenceBreakdownPropertiesDevice
1487
- * @deprecated
1488
- */
1489
- 'os_anomaly'?: string;
1490
- /**
1491
- * Whether the device is rooted.
1492
- * @type {boolean}
1493
- * @memberof DeviceIntelligenceBreakdownPropertiesDevice
1494
- * @deprecated
1495
- */
1496
- 'rooted'?: boolean;
1497
- /**
1498
- * Whether the device is controlled via remote software.
1499
- * @type {boolean}
1500
- * @memberof DeviceIntelligenceBreakdownPropertiesDevice
1501
- * @deprecated
1502
- */
1503
- 'remote_software'?: boolean;
1504
1511
  /**
1505
1512
  * Whether there is highly suspicious traffic related to the IP address. The risk depends on the overall ratio of clear checks on a given IP.
1506
1513
  * @type {string}
@@ -1602,27 +1609,6 @@ export interface DeviceIntelligenceBreakdownPropertiesIp {
1602
1609
  * @memberof DeviceIntelligenceBreakdownPropertiesIp
1603
1610
  */
1604
1611
  'address'?: string;
1605
- /**
1606
- * The likelihood of the network connection being a VPN.
1607
- * @type {string}
1608
- * @memberof DeviceIntelligenceBreakdownPropertiesIp
1609
- * @deprecated
1610
- */
1611
- 'vpn_detection'?: string;
1612
- /**
1613
- * The likelihood of the network connection being a Proxy.
1614
- * @type {string}
1615
- * @memberof DeviceIntelligenceBreakdownPropertiesIp
1616
- * @deprecated
1617
- */
1618
- 'proxy_detection'?: string;
1619
- /**
1620
- * The type of organization that owns this IP address.
1621
- * @type {string}
1622
- * @memberof DeviceIntelligenceBreakdownPropertiesIp
1623
- * @deprecated
1624
- */
1625
- 'type'?: string;
1626
1612
  }
1627
1613
  /**
1628
1614
  *
@@ -1705,10 +1691,10 @@ export interface Document {
1705
1691
  'file_type'?: DocumentFileTypeEnum;
1706
1692
  /**
1707
1693
  * The type of document
1708
- * @type {string}
1694
+ * @type {DocumentTypes}
1709
1695
  * @memberof Document
1710
1696
  */
1711
- 'type'?: string;
1697
+ 'type'?: DocumentTypes;
1712
1698
  /**
1713
1699
  * The side of the document, if applicable. The possible values are front and back
1714
1700
  * @type {string}
@@ -3673,10 +3659,10 @@ export interface DocumentShared {
3673
3659
  'file_type'?: DocumentSharedFileTypeEnum;
3674
3660
  /**
3675
3661
  * The type of document
3676
- * @type {string}
3662
+ * @type {DocumentTypes}
3677
3663
  * @memberof DocumentShared
3678
3664
  */
3679
- 'type'?: string;
3665
+ 'type'?: DocumentTypes;
3680
3666
  /**
3681
3667
  * The side of the document, if applicable. The possible values are front and back
3682
3668
  * @type {string}
@@ -3741,6 +3727,11 @@ export declare const DocumentTypes: {
3741
3727
  readonly ProfessionalQualificationCard: "professional_qualification_card";
3742
3728
  readonly ConsularId: "consular_id";
3743
3729
  readonly InternationalDrivingLicence: "international_driving_licence";
3730
+ readonly HomeOfficeLetter: "home_office_letter";
3731
+ readonly BirthCertificate: "birth_certificate";
3732
+ readonly VehicleRegistrationCertificate: "vehicle_registration_certificate";
3733
+ readonly FormForAffixingTheVisa: "form_for_affixing_the_visa";
3734
+ readonly IdentificationNumberDocument: "identification_number_document";
3744
3735
  readonly UnknownDefaultOpenApi: "11184809";
3745
3736
  };
3746
3737
  export type DocumentTypes = typeof DocumentTypes[keyof typeof DocumentTypes];
@@ -7925,12 +7916,24 @@ export interface TaskItem {
7925
7916
  * @memberof TaskItem
7926
7917
  */
7927
7918
  'id'?: string;
7919
+ /**
7920
+ * The workflow run id the task belongs to.
7921
+ * @type {string}
7922
+ * @memberof TaskItem
7923
+ */
7924
+ 'workflow_run_id'?: string;
7928
7925
  /**
7929
7926
  * The identifier for the Task Definition.
7930
7927
  * @type {string}
7931
7928
  * @memberof TaskItem
7932
7929
  */
7933
7930
  'task_def_id'?: string;
7931
+ /**
7932
+ * The task definition version.
7933
+ * @type {string}
7934
+ * @memberof TaskItem
7935
+ */
7936
+ 'task_def_version'?: string | null;
7934
7937
  /**
7935
7938
  * The date and time when the Task was created.
7936
7939
  * @type {string}
@@ -8683,6 +8686,7 @@ export interface WatchlistAmlProperties {
8683
8686
  * Returns any matches including, but not limited to, name and date of birth of match, aliases and associates, and relevant events and sources.
8684
8687
  * @type {Array<string>}
8685
8688
  * @memberof WatchlistAmlProperties
8689
+ * @deprecated
8686
8690
  */
8687
8691
  'records'?: Array<string>;
8688
8692
  }
@@ -9535,6 +9539,7 @@ export interface WatchlistStandardProperties {
9535
9539
  * Returns any matches including, but not limited to, name and date of birth of match, aliases and associates, and relevant events and sources.
9536
9540
  * @type {Array<string>}
9537
9541
  * @memberof WatchlistStandardProperties
9542
+ * @deprecated
9538
9543
  */
9539
9544
  'records'?: Array<string>;
9540
9545
  }
@@ -9729,6 +9734,34 @@ export interface WebhookEvent {
9729
9734
  */
9730
9735
  'payload'?: WebhookEventPayload;
9731
9736
  }
9737
+ /**
9738
+ * The current state of the object, if available.
9739
+ * @export
9740
+ * @enum {string}
9741
+ */
9742
+ export declare const WebhookEventObjectStatus: {
9743
+ readonly Processing: "processing";
9744
+ readonly AwaitingInput: "awaiting_input";
9745
+ readonly AwaitingClientInput: "awaiting_client_input";
9746
+ readonly Approved: "approved";
9747
+ readonly Declined: "declined";
9748
+ readonly Review: "review";
9749
+ readonly Abandoned: "abandoned";
9750
+ readonly Error: "error";
9751
+ readonly Started: "started";
9752
+ readonly Cancelled: "cancelled";
9753
+ readonly Completed: "completed";
9754
+ readonly AwaitingData: "awaiting_data";
9755
+ readonly AwaitingApproval: "awaiting_approval";
9756
+ readonly Complete: "complete";
9757
+ readonly Withdrawn: "withdrawn";
9758
+ readonly InProgress: "in_progress";
9759
+ readonly AwaitingApplicant: "awaiting_applicant";
9760
+ readonly Paused: "paused";
9761
+ readonly Reopened: "reopened";
9762
+ readonly UnknownDefaultOpenApi: "11184809";
9763
+ };
9764
+ export type WebhookEventObjectStatus = typeof WebhookEventObjectStatus[keyof typeof WebhookEventObjectStatus];
9732
9765
  /**
9733
9766
  *
9734
9767
  * @export
@@ -9737,10 +9770,10 @@ export interface WebhookEvent {
9737
9770
  export interface WebhookEventPayload {
9738
9771
  /**
9739
9772
  * Indicates the resource affected by this event.
9740
- * @type {string}
9773
+ * @type {WebhookEventResourceType}
9741
9774
  * @memberof WebhookEventPayload
9742
9775
  */
9743
- 'resource_type': string;
9776
+ 'resource_type': WebhookEventResourceType;
9744
9777
  /**
9745
9778
  * The event that triggered this webhook.
9746
9779
  * @type {WebhookEventType}
@@ -9754,11 +9787,11 @@ export interface WebhookEventPayload {
9754
9787
  */
9755
9788
  'object'?: WebhookEventPayloadObject;
9756
9789
  /**
9757
- * The resource affected by this event.
9758
- * @type {object}
9790
+ *
9791
+ * @type {WebhookEventPayloadResource}
9759
9792
  * @memberof WebhookEventPayload
9760
9793
  */
9761
- 'resource'?: object;
9794
+ 'resource'?: WebhookEventPayloadResource;
9762
9795
  }
9763
9796
  /**
9764
9797
  * The object affected by this event.
@@ -9773,11 +9806,11 @@ export interface WebhookEventPayloadObject {
9773
9806
  */
9774
9807
  'id': string;
9775
9808
  /**
9776
- * The current state of the object, if available.
9777
- * @type {string}
9809
+ *
9810
+ * @type {WebhookEventObjectStatus}
9778
9811
  * @memberof WebhookEventPayloadObject
9779
9812
  */
9780
- 'status'?: string;
9813
+ 'status'?: WebhookEventObjectStatus;
9781
9814
  /**
9782
9815
  * The date and time when the operation was started, if available.
9783
9816
  * @type {string}
@@ -9797,6 +9830,118 @@ export interface WebhookEventPayloadObject {
9797
9830
  */
9798
9831
  'href': string;
9799
9832
  }
9833
+ /**
9834
+ * The resource affected by this event.
9835
+ * @export
9836
+ * @interface WebhookEventPayloadResource
9837
+ */
9838
+ export interface WebhookEventPayloadResource {
9839
+ /**
9840
+ * The identifier of the resource.
9841
+ * @type {string}
9842
+ * @memberof WebhookEventPayloadResource
9843
+ */
9844
+ 'id'?: string;
9845
+ /**
9846
+ * The unique identifier for the Applicant.
9847
+ * @type {string}
9848
+ * @memberof WebhookEventPayloadResource
9849
+ */
9850
+ 'applicant_id'?: string;
9851
+ /**
9852
+ * The date and time when the resource was created.
9853
+ * @type {string}
9854
+ * @memberof WebhookEventPayloadResource
9855
+ */
9856
+ 'created_at'?: string;
9857
+ /**
9858
+ * The date and time when the resource was last updated.
9859
+ * @type {string}
9860
+ * @memberof WebhookEventPayloadResource
9861
+ */
9862
+ 'updated_at'?: string;
9863
+ /**
9864
+ * The URL for viewing the resource on Onfido Dashboard.
9865
+ * @type {string}
9866
+ * @memberof WebhookEventPayloadResource
9867
+ */
9868
+ 'dashboard_url'?: string;
9869
+ /**
9870
+ * The unique identifier for the Workflow.
9871
+ * @type {string}
9872
+ * @memberof WebhookEventPayloadResource
9873
+ */
9874
+ 'workflow_id'?: string;
9875
+ /**
9876
+ *
9877
+ * @type {string}
9878
+ * @memberof WebhookEventPayloadResource
9879
+ */
9880
+ 'workflow_run_id'?: string;
9881
+ /**
9882
+ * The identifier for the Workflow version.
9883
+ * @type {number}
9884
+ * @memberof WebhookEventPayloadResource
9885
+ */
9886
+ 'workflow_version_id'?: number;
9887
+ /**
9888
+ * The identifier for the Task Definition.
9889
+ * @type {string}
9890
+ * @memberof WebhookEventPayloadResource
9891
+ */
9892
+ 'task_def_id'?: string;
9893
+ /**
9894
+ * The task definition version.
9895
+ * @type {string}
9896
+ * @memberof WebhookEventPayloadResource
9897
+ */
9898
+ 'task_def_version'?: string | null;
9899
+ /**
9900
+ * Input object with the fields used by the Task execution.
9901
+ * @type {object}
9902
+ * @memberof WebhookEventPayloadResource
9903
+ */
9904
+ 'input'?: object;
9905
+ /**
9906
+ * Output object with the fields produced by the Task execution.
9907
+ * @type {object}
9908
+ * @memberof WebhookEventPayloadResource
9909
+ */
9910
+ 'output'?: object | null;
9911
+ /**
9912
+ * The reasons the Workflow Run outcome was reached. Configurable when creating the Workflow Version.
9913
+ * @type {Array<string>}
9914
+ * @memberof WebhookEventPayloadResource
9915
+ */
9916
+ 'reasons'?: Array<string>;
9917
+ /**
9918
+ * Object for the configuration of the Workflow Run link.
9919
+ * @type {WorkflowRunLink}
9920
+ * @memberof WebhookEventPayloadResource
9921
+ */
9922
+ 'link'?: WorkflowRunLink;
9923
+ /**
9924
+ * Error object that details why a Workflow Run is in Error status.
9925
+ * @type {WorkflowRunError}
9926
+ * @memberof WebhookEventPayloadResource
9927
+ */
9928
+ 'error'?: WorkflowRunError;
9929
+ }
9930
+ /**
9931
+ *
9932
+ * @export
9933
+ * @enum {string}
9934
+ */
9935
+ export declare const WebhookEventResourceType: {
9936
+ readonly Check: "check";
9937
+ readonly Report: "report";
9938
+ readonly AuditLog: "audit_log";
9939
+ readonly WorkflowRun: "workflow_run";
9940
+ readonly WorkflowTask: "workflow_task";
9941
+ readonly WatchlistMonitor: "watchlist_monitor";
9942
+ readonly UnknownDefaultOpenApi: "11184809";
9943
+ };
9944
+ export type WebhookEventResourceType = typeof WebhookEventResourceType[keyof typeof WebhookEventResourceType];
9800
9945
  /**
9801
9946
  *
9802
9947
  * @export
@@ -10011,11 +10156,11 @@ export interface WorkflowRun {
10011
10156
  */
10012
10157
  'customer_user_id'?: string;
10013
10158
  /**
10014
- *
10015
- * @type {WorkflowRunSharedLink}
10159
+ * Object for the configuration of the Workflow Run link.
10160
+ * @type {WorkflowRunLink}
10016
10161
  * @memberof WorkflowRun
10017
10162
  */
10018
- 'link'?: WorkflowRunSharedLink;
10163
+ 'link'?: WorkflowRunLink;
10019
10164
  /**
10020
10165
  * The date and time when the Workflow Run was created.
10021
10166
  * @type {string}
@@ -10048,10 +10193,10 @@ export interface WorkflowRun {
10048
10193
  'dashboard_url'?: string;
10049
10194
  /**
10050
10195
  * The status of the Workflow Run.
10051
- * @type {string}
10196
+ * @type {WorkflowRunStatus}
10052
10197
  * @memberof WorkflowRun
10053
10198
  */
10054
- 'status'?: WorkflowRunStatusEnum;
10199
+ 'status'?: WorkflowRunStatus;
10055
10200
  /**
10056
10201
  * Output object contains all of the properties configured on the Workflow version.
10057
10202
  * @type {object}
@@ -10065,11 +10210,11 @@ export interface WorkflowRun {
10065
10210
  */
10066
10211
  'reasons'?: Array<string>;
10067
10212
  /**
10068
- *
10069
- * @type {WorkflowRunResponseError}
10213
+ * Error object. Only set when the Workflow Run status is \'error\'.
10214
+ * @type {WorkflowRunError}
10070
10215
  * @memberof WorkflowRun
10071
10216
  */
10072
- 'error'?: WorkflowRunResponseError;
10217
+ 'error'?: WorkflowRunError;
10073
10218
  /**
10074
10219
  * Client token to use when loading this workflow run in the Onfido SDK.
10075
10220
  * @type {string}
@@ -10077,17 +10222,6 @@ export interface WorkflowRun {
10077
10222
  */
10078
10223
  'sdk_token'?: string | null;
10079
10224
  }
10080
- export declare const WorkflowRunStatusEnum: {
10081
- readonly AwaitingInput: "awaiting_input";
10082
- readonly Processing: "processing";
10083
- readonly Abandoned: "abandoned";
10084
- readonly Error: "error";
10085
- readonly Approved: "approved";
10086
- readonly Review: "review";
10087
- readonly Declined: "declined";
10088
- readonly UnknownDefaultOpenApi: "11184809";
10089
- };
10090
- export type WorkflowRunStatusEnum = typeof WorkflowRunStatusEnum[keyof typeof WorkflowRunStatusEnum];
10091
10225
  /**
10092
10226
  *
10093
10227
  * @export
@@ -10119,11 +10253,11 @@ export interface WorkflowRunBuilder {
10119
10253
  */
10120
10254
  'customer_user_id'?: string;
10121
10255
  /**
10122
- *
10123
- * @type {WorkflowRunSharedLink}
10256
+ * Object for the configuration of the Workflow Run link.
10257
+ * @type {WorkflowRunLink}
10124
10258
  * @memberof WorkflowRunBuilder
10125
10259
  */
10126
- 'link'?: WorkflowRunSharedLink;
10260
+ 'link'?: WorkflowRunLink;
10127
10261
  /**
10128
10262
  * The date and time when the Workflow Run was created.
10129
10263
  * @type {string}
@@ -10145,6 +10279,73 @@ export interface WorkflowRunBuilder {
10145
10279
  [key: string]: any;
10146
10280
  };
10147
10281
  }
10282
+ /**
10283
+ *
10284
+ * @export
10285
+ * @interface WorkflowRunError
10286
+ */
10287
+ export interface WorkflowRunError {
10288
+ /**
10289
+ * The type of error.
10290
+ * @type {string}
10291
+ * @memberof WorkflowRunError
10292
+ */
10293
+ 'type'?: string;
10294
+ /**
10295
+ * A textual description of the error.
10296
+ * @type {string}
10297
+ * @memberof WorkflowRunError
10298
+ */
10299
+ 'message'?: string;
10300
+ }
10301
+ /**
10302
+ *
10303
+ * @export
10304
+ * @interface WorkflowRunLink
10305
+ */
10306
+ export interface WorkflowRunLink {
10307
+ /**
10308
+ * Link to access the Workflow Run without the need to integrate with Onfido\'s SDKs.
10309
+ * @type {string}
10310
+ * @memberof WorkflowRunLink
10311
+ */
10312
+ 'url'?: string;
10313
+ /**
10314
+ * When the interactive section of the Workflow Run has completed successfully, the user will be redirected to this URL instead of seeing the default Onfido \'thank you\' page.
10315
+ * @type {string}
10316
+ * @memberof WorkflowRunLink
10317
+ */
10318
+ 'completed_redirect_url'?: string | null;
10319
+ /**
10320
+ * When the link has expired, the user will be immediately redirected to this URL instead of seeing the default Onfido error message.
10321
+ * @type {string}
10322
+ * @memberof WorkflowRunLink
10323
+ */
10324
+ 'expired_redirect_url'?: string | null;
10325
+ /**
10326
+ * Date and time when the link will expire.
10327
+ * @type {string}
10328
+ * @memberof WorkflowRunLink
10329
+ */
10330
+ 'expires_at'?: string | null;
10331
+ /**
10332
+ * The code for the language when the workflow run is acessed using the link.
10333
+ * @type {string}
10334
+ * @memberof WorkflowRunLink
10335
+ */
10336
+ 'language'?: WorkflowRunLinkLanguageEnum | null;
10337
+ }
10338
+ export declare const WorkflowRunLinkLanguageEnum: {
10339
+ readonly EnUs: "en_US";
10340
+ readonly DeDe: "de_DE";
10341
+ readonly EsEs: "es_ES";
10342
+ readonly FrFr: "fr_FR";
10343
+ readonly ItIt: "it_IT";
10344
+ readonly PtPt: "pt_PT";
10345
+ readonly NlNl: "nl_NL";
10346
+ readonly UnknownDefaultOpenApi: "11184809";
10347
+ };
10348
+ export type WorkflowRunLinkLanguageEnum = typeof WorkflowRunLinkLanguageEnum[keyof typeof WorkflowRunLinkLanguageEnum];
10148
10349
  /**
10149
10350
  *
10150
10351
  * @export
@@ -10186,10 +10387,10 @@ export interface WorkflowRunResponse {
10186
10387
  'dashboard_url'?: string;
10187
10388
  /**
10188
10389
  * The status of the Workflow Run.
10189
- * @type {string}
10390
+ * @type {WorkflowRunStatus}
10190
10391
  * @memberof WorkflowRunResponse
10191
10392
  */
10192
- 'status'?: WorkflowRunResponseStatusEnum;
10393
+ 'status'?: WorkflowRunStatus;
10193
10394
  /**
10194
10395
  * Output object contains all of the properties configured on the Workflow version.
10195
10396
  * @type {object}
@@ -10203,11 +10404,11 @@ export interface WorkflowRunResponse {
10203
10404
  */
10204
10405
  'reasons'?: Array<string>;
10205
10406
  /**
10206
- *
10207
- * @type {WorkflowRunResponseError}
10407
+ * Error object. Only set when the Workflow Run status is \'error\'.
10408
+ * @type {WorkflowRunError}
10208
10409
  * @memberof WorkflowRunResponse
10209
10410
  */
10210
- 'error'?: WorkflowRunResponseError;
10411
+ 'error'?: WorkflowRunError;
10211
10412
  /**
10212
10413
  * Client token to use when loading this workflow run in the Onfido SDK.
10213
10414
  * @type {string}
@@ -10215,36 +10416,6 @@ export interface WorkflowRunResponse {
10215
10416
  */
10216
10417
  'sdk_token'?: string | null;
10217
10418
  }
10218
- export declare const WorkflowRunResponseStatusEnum: {
10219
- readonly AwaitingInput: "awaiting_input";
10220
- readonly Processing: "processing";
10221
- readonly Abandoned: "abandoned";
10222
- readonly Error: "error";
10223
- readonly Approved: "approved";
10224
- readonly Review: "review";
10225
- readonly Declined: "declined";
10226
- readonly UnknownDefaultOpenApi: "11184809";
10227
- };
10228
- export type WorkflowRunResponseStatusEnum = typeof WorkflowRunResponseStatusEnum[keyof typeof WorkflowRunResponseStatusEnum];
10229
- /**
10230
- * Error object. Only set when the Workflow Run status is \'error\'.
10231
- * @export
10232
- * @interface WorkflowRunResponseError
10233
- */
10234
- export interface WorkflowRunResponseError {
10235
- /**
10236
- * The type of error.
10237
- * @type {string}
10238
- * @memberof WorkflowRunResponseError
10239
- */
10240
- 'type'?: string;
10241
- /**
10242
- * A textual description of the error.
10243
- * @type {string}
10244
- * @memberof WorkflowRunResponseError
10245
- */
10246
- 'message'?: string;
10247
- }
10248
10419
  /**
10249
10420
  *
10250
10421
  * @export
@@ -10276,11 +10447,11 @@ export interface WorkflowRunShared {
10276
10447
  */
10277
10448
  'customer_user_id'?: string;
10278
10449
  /**
10279
- *
10280
- * @type {WorkflowRunSharedLink}
10450
+ * Object for the configuration of the Workflow Run link.
10451
+ * @type {WorkflowRunLink}
10281
10452
  * @memberof WorkflowRunShared
10282
10453
  */
10283
- 'link'?: WorkflowRunSharedLink;
10454
+ 'link'?: WorkflowRunLink;
10284
10455
  /**
10285
10456
  * The date and time when the Workflow Run was created.
10286
10457
  * @type {string}
@@ -10295,53 +10466,22 @@ export interface WorkflowRunShared {
10295
10466
  'updated_at'?: string;
10296
10467
  }
10297
10468
  /**
10298
- * Object for the configuration of the Workflow Run link.
10469
+ *
10299
10470
  * @export
10300
- * @interface WorkflowRunSharedLink
10471
+ * @enum {string}
10301
10472
  */
10302
- export interface WorkflowRunSharedLink {
10303
- /**
10304
- * Link to access the Workflow Run without the need to integrate with Onfido\'s SDKs.
10305
- * @type {string}
10306
- * @memberof WorkflowRunSharedLink
10307
- */
10308
- 'url'?: string;
10309
- /**
10310
- * When the interactive section of the Workflow Run has completed successfully, the user will be redirected to this URL instead of seeing the default Onfido \'thank you\' page.
10311
- * @type {string}
10312
- * @memberof WorkflowRunSharedLink
10313
- */
10314
- 'completed_redirect_url'?: string;
10315
- /**
10316
- * When the link has expired, the user will be immediately redirected to this URL instead of seeing the default Onfido error message.
10317
- * @type {string}
10318
- * @memberof WorkflowRunSharedLink
10319
- */
10320
- 'expired_redirect_url'?: string;
10321
- /**
10322
- * Date and time when the link will expire.
10323
- * @type {string}
10324
- * @memberof WorkflowRunSharedLink
10325
- */
10326
- 'expires_at'?: string;
10327
- /**
10328
- * The code for the language when the workflow run is acessed using the link.
10329
- * @type {string}
10330
- * @memberof WorkflowRunSharedLink
10331
- */
10332
- 'language'?: WorkflowRunSharedLinkLanguageEnum;
10333
- }
10334
- export declare const WorkflowRunSharedLinkLanguageEnum: {
10335
- readonly EnUs: "en_US";
10336
- readonly DeDe: "de_DE";
10337
- readonly EsEs: "es_ES";
10338
- readonly FrFr: "fr_FR";
10339
- readonly ItIt: "it_IT";
10340
- readonly PtPt: "pt_PT";
10341
- readonly NlNl: "nl_NL";
10473
+ export declare const WorkflowRunStatus: {
10474
+ readonly Processing: "processing";
10475
+ readonly AwaitingInput: "awaiting_input";
10476
+ readonly AwaitingClientInput: "awaiting_client_input";
10477
+ readonly Approved: "approved";
10478
+ readonly Declined: "declined";
10479
+ readonly Review: "review";
10480
+ readonly Abandoned: "abandoned";
10481
+ readonly Error: "error";
10342
10482
  readonly UnknownDefaultOpenApi: "11184809";
10343
10483
  };
10344
- export type WorkflowRunSharedLinkLanguageEnum = typeof WorkflowRunSharedLinkLanguageEnum[keyof typeof WorkflowRunSharedLinkLanguageEnum];
10484
+ export type WorkflowRunStatus = typeof WorkflowRunStatus[keyof typeof WorkflowRunStatus];
10345
10485
  /**
10346
10486
  * DefaultApi - axios parameter creator
10347
10487
  * @export
@@ -10859,7 +10999,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
10859
10999
  /**
10860
11000
  * Documents are uploaded using this endpoint. Along with the file upload the relevant document type must be specified. Documents must be uploaded as a multipart form. The valid file types are: jpg, png and pdf. The file size must be between 2KB and 3MB.
10861
11001
  * @summary Upload a document
10862
- * @param {string} type The type of document
11002
+ * @param {DocumentTypes} type The type of document
10863
11003
  * @param {string} applicantId The ID of the applicant whose document is being uploaded.
10864
11004
  * @param {FileTransfer} file The file to be uploaded.
10865
11005
  * @param {UploadDocumentFileTypeEnum} [fileType] The file type of the uploaded file
@@ -10870,7 +11010,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
10870
11010
  * @param {*} [options] Override http request option.
10871
11011
  * @throws {RequiredError}
10872
11012
  */
10873
- uploadDocument: (type: string, applicantId: string, file: FileTransfer, fileType?: UploadDocumentFileTypeEnum, side?: UploadDocumentSideEnum, issuingCountry?: CountryCodes, validateImageQuality?: boolean, location?: LocationBuilder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11013
+ uploadDocument: (type: DocumentTypes, applicantId: string, file: FileTransfer, fileType?: UploadDocumentFileTypeEnum, side?: UploadDocumentSideEnum, issuingCountry?: CountryCodes, validateImageQuality?: boolean, location?: LocationBuilder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10874
11014
  /**
10875
11015
  * 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.
10876
11016
  * @summary Upload ID photo
@@ -11408,7 +11548,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
11408
11548
  /**
11409
11549
  * Documents are uploaded using this endpoint. Along with the file upload the relevant document type must be specified. Documents must be uploaded as a multipart form. The valid file types are: jpg, png and pdf. The file size must be between 2KB and 3MB.
11410
11550
  * @summary Upload a document
11411
- * @param {string} type The type of document
11551
+ * @param {DocumentTypes} type The type of document
11412
11552
  * @param {string} applicantId The ID of the applicant whose document is being uploaded.
11413
11553
  * @param {FileTransfer} file The file to be uploaded.
11414
11554
  * @param {UploadDocumentFileTypeEnum} [fileType] The file type of the uploaded file
@@ -11419,7 +11559,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
11419
11559
  * @param {*} [options] Override http request option.
11420
11560
  * @throws {RequiredError}
11421
11561
  */
11422
- uploadDocument(type: string, applicantId: string, file: FileTransfer, fileType?: UploadDocumentFileTypeEnum, side?: UploadDocumentSideEnum, issuingCountry?: CountryCodes, validateImageQuality?: boolean, location?: LocationBuilder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Document>>;
11562
+ uploadDocument(type: DocumentTypes, applicantId: string, file: FileTransfer, fileType?: UploadDocumentFileTypeEnum, side?: UploadDocumentSideEnum, issuingCountry?: CountryCodes, validateImageQuality?: boolean, location?: LocationBuilder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Document>>;
11423
11563
  /**
11424
11564
  * 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.
11425
11565
  * @summary Upload ID photo
@@ -11452,7 +11592,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11452
11592
  * @param {*} [options] Override http request option.
11453
11593
  * @throws {RequiredError}
11454
11594
  */
11455
- cancelReport(reportId: string, options?: any): AxiosPromise<void>;
11595
+ cancelReport(reportId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11456
11596
  /**
11457
11597
  * Completes a Send / Receive Data Task.
11458
11598
  * @summary Complete Task
@@ -11462,7 +11602,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11462
11602
  * @param {*} [options] Override http request option.
11463
11603
  * @throws {RequiredError}
11464
11604
  */
11465
- completeTask(workflowRunId: string, taskId: string, completeTaskBuilder: CompleteTaskBuilder, options?: any): AxiosPromise<void>;
11605
+ completeTask(workflowRunId: string, taskId: string, completeTaskBuilder: CompleteTaskBuilder, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11466
11606
  /**
11467
11607
  * Creates a single applicant. Returns an applicant object.
11468
11608
  * @summary Create Applicant
@@ -11470,7 +11610,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11470
11610
  * @param {*} [options] Override http request option.
11471
11611
  * @throws {RequiredError}
11472
11612
  */
11473
- createApplicant(applicantBuilder: ApplicantBuilder, options?: any): AxiosPromise<Applicant>;
11613
+ createApplicant(applicantBuilder: ApplicantBuilder, options?: RawAxiosRequestConfig): AxiosPromise<Applicant>;
11474
11614
  /**
11475
11615
  * Initiates a check for an applicant, which can contain one or more reports. Returns a check object.
11476
11616
  * @summary Create a check
@@ -11478,7 +11618,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11478
11618
  * @param {*} [options] Override http request option.
11479
11619
  * @throws {RequiredError}
11480
11620
  */
11481
- createCheck(checkBuilder: CheckBuilder, options?: any): AxiosPromise<Check>;
11621
+ createCheck(checkBuilder: CheckBuilder, options?: RawAxiosRequestConfig): AxiosPromise<Check>;
11482
11622
  /**
11483
11623
  * Triggers the generation of the Timeline File for the designated Workflow Run.
11484
11624
  * @summary Create Timeline File for Workflow Run
@@ -11486,7 +11626,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11486
11626
  * @param {*} [options] Override http request option.
11487
11627
  * @throws {RequiredError}
11488
11628
  */
11489
- createTimelineFile(workflowRunId: string, options?: any): AxiosPromise<TimelineFileReference>;
11629
+ createTimelineFile(workflowRunId: string, options?: RawAxiosRequestConfig): AxiosPromise<TimelineFileReference>;
11490
11630
  /**
11491
11631
  * Creates a new monitor for the applicant
11492
11632
  * @summary Create monitor
@@ -11494,7 +11634,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11494
11634
  * @param {*} [options] Override http request option.
11495
11635
  * @throws {RequiredError}
11496
11636
  */
11497
- createWatchlistMonitor(watchlistMonitorBuilder: WatchlistMonitorBuilder, options?: any): AxiosPromise<WatchlistMonitor>;
11637
+ createWatchlistMonitor(watchlistMonitorBuilder: WatchlistMonitorBuilder, options?: RawAxiosRequestConfig): AxiosPromise<WatchlistMonitor>;
11498
11638
  /**
11499
11639
  * Registers a webhook. Returns a webhook object.
11500
11640
  * @summary Register webhook
@@ -11502,7 +11642,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11502
11642
  * @param {*} [options] Override http request option.
11503
11643
  * @throws {RequiredError}
11504
11644
  */
11505
- createWebhook(webhookBuilder: WebhookBuilder, options?: any): AxiosPromise<Webhook>;
11645
+ createWebhook(webhookBuilder: WebhookBuilder, options?: RawAxiosRequestConfig): AxiosPromise<Webhook>;
11506
11646
  /**
11507
11647
  * Creates and starts a Workflow Run. Returns a Workflow Run object.
11508
11648
  * @summary Create a Workflow Run
@@ -11510,7 +11650,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11510
11650
  * @param {*} [options] Override http request option.
11511
11651
  * @throws {RequiredError}
11512
11652
  */
11513
- createWorkflowRun(workflowRunBuilder: WorkflowRunBuilder, options?: any): AxiosPromise<WorkflowRun>;
11653
+ createWorkflowRun(workflowRunBuilder: WorkflowRunBuilder, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowRun>;
11514
11654
  /**
11515
11655
  * Deletes a single applicant.
11516
11656
  * @summary Delete Applicant
@@ -11518,7 +11658,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11518
11658
  * @param {*} [options] Override http request option.
11519
11659
  * @throws {RequiredError}
11520
11660
  */
11521
- deleteApplicant(applicantId: string, options?: any): AxiosPromise<void>;
11661
+ deleteApplicant(applicantId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11522
11662
  /**
11523
11663
  * Deactivates the given monitor
11524
11664
  * @summary Delete monitor
@@ -11526,7 +11666,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11526
11666
  * @param {*} [options] Override http request option.
11527
11667
  * @throws {RequiredError}
11528
11668
  */
11529
- deleteWatchlistMonitor(monitorId: string, options?: any): AxiosPromise<void>;
11669
+ deleteWatchlistMonitor(monitorId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11530
11670
  /**
11531
11671
  * Deletes a webhook.
11532
11672
  * @summary Delete a webhook
@@ -11534,7 +11674,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11534
11674
  * @param {*} [options] Override http request option.
11535
11675
  * @throws {RequiredError}
11536
11676
  */
11537
- deleteWebhook(webhookId: string, options?: any): AxiosPromise<void>;
11677
+ deleteWebhook(webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11538
11678
  /**
11539
11679
  * Downloads a PDF of a check with a given check ID. Returns the binary data representing the PDF.
11540
11680
  * @summary Download check
@@ -11542,7 +11682,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11542
11682
  * @param {*} [options] Override http request option.
11543
11683
  * @throws {RequiredError}
11544
11684
  */
11545
- downloadCheck(checkId: string, options?: any): AxiosPromise<FileTransfer>;
11685
+ downloadCheck(checkId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
11546
11686
  /**
11547
11687
  * Downloads specific documents belonging to an applicant. If successful, the response will be the binary data representing the image.
11548
11688
  * @summary Download document
@@ -11550,7 +11690,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11550
11690
  * @param {*} [options] Override http request option.
11551
11691
  * @throws {RequiredError}
11552
11692
  */
11553
- downloadDocument(documentId: string, options?: any): AxiosPromise<FileTransfer>;
11693
+ downloadDocument(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
11554
11694
  /**
11555
11695
  * Downloads a document video. If successful, the response will be the binary data representing the video.
11556
11696
  * @summary Download document video
@@ -11558,7 +11698,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11558
11698
  * @param {*} [options] Override http request option.
11559
11699
  * @throws {RequiredError}
11560
11700
  */
11561
- downloadDocumentVideo(documentId: string, options?: any): AxiosPromise<FileTransfer>;
11701
+ downloadDocumentVideo(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
11562
11702
  /**
11563
11703
  * ID photos are downloaded using this endpoint.
11564
11704
  * @summary Download ID photo
@@ -11566,7 +11706,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11566
11706
  * @param {*} [options] Override http request option.
11567
11707
  * @throws {RequiredError}
11568
11708
  */
11569
- downloadIdPhoto(idPhotoId: string, options?: any): AxiosPromise<FileTransfer>;
11709
+ downloadIdPhoto(idPhotoId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
11570
11710
  /**
11571
11711
  * Live photos are downloaded using this endpoint.
11572
11712
  * @summary Download live photo
@@ -11574,7 +11714,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11574
11714
  * @param {*} [options] Override http request option.
11575
11715
  * @throws {RequiredError}
11576
11716
  */
11577
- downloadLivePhoto(livePhotoId: string, options?: any): AxiosPromise<FileTransfer>;
11717
+ downloadLivePhoto(livePhotoId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
11578
11718
  /**
11579
11719
  * Live videos are downloaded using this endpoint.
11580
11720
  * @summary Download live video
@@ -11582,7 +11722,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11582
11722
  * @param {*} [options] Override http request option.
11583
11723
  * @throws {RequiredError}
11584
11724
  */
11585
- downloadLiveVideo(liveVideoId: string, options?: any): AxiosPromise<FileTransfer>;
11725
+ downloadLiveVideo(liveVideoId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
11586
11726
  /**
11587
11727
  * Returns the binary data representing a single frame from a live video.
11588
11728
  * @summary Download live video frame
@@ -11590,7 +11730,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11590
11730
  * @param {*} [options] Override http request option.
11591
11731
  * @throws {RequiredError}
11592
11732
  */
11593
- downloadLiveVideoFrame(liveVideoId: string, options?: any): AxiosPromise<FileTransfer>;
11733
+ downloadLiveVideoFrame(liveVideoId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
11594
11734
  /**
11595
11735
  * Motion captures are downloaded using this endpoint.
11596
11736
  * @summary Download motion capture
@@ -11598,7 +11738,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11598
11738
  * @param {*} [options] Override http request option.
11599
11739
  * @throws {RequiredError}
11600
11740
  */
11601
- downloadMotionCapture(motionCaptureId: string, options?: any): AxiosPromise<FileTransfer>;
11741
+ downloadMotionCapture(motionCaptureId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
11602
11742
  /**
11603
11743
  * Instead of the whole capture binary, a single frame can be downloaded using this endpoint. Returns the binary data representing the frame.
11604
11744
  * @summary Download motion capture frame
@@ -11606,7 +11746,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11606
11746
  * @param {*} [options] Override http request option.
11607
11747
  * @throws {RequiredError}
11608
11748
  */
11609
- downloadMotionCaptureFrame(motionCaptureId: string, options?: any): AxiosPromise<FileTransfer>;
11749
+ downloadMotionCaptureFrame(motionCaptureId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
11610
11750
  /**
11611
11751
  * Retrieves the signed document or application form depending on the file_id provided.
11612
11752
  * @summary Retrieves the signed document or application form
@@ -11615,7 +11755,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11615
11755
  * @param {*} [options] Override http request option.
11616
11756
  * @throws {RequiredError}
11617
11757
  */
11618
- downloadQesDocument(workflowRunId: string, fileId: string, options?: any): AxiosPromise<FileTransfer>;
11758
+ downloadQesDocument(workflowRunId: string, fileId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
11619
11759
  /**
11620
11760
  * Retrieves the signed evidence file for the designated Workflow Run
11621
11761
  * @summary Retrieve Workflow Run Evidence Summary File
@@ -11623,7 +11763,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11623
11763
  * @param {*} [options] Override http request option.
11624
11764
  * @throws {RequiredError}
11625
11765
  */
11626
- downloadSignedEvidenceFile(workflowRunId: string, options?: any): AxiosPromise<FileTransfer>;
11766
+ downloadSignedEvidenceFile(workflowRunId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
11627
11767
  /**
11628
11768
  * Extract information from a document
11629
11769
  * @summary Autofill
@@ -11631,7 +11771,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11631
11771
  * @param {*} [options] Override http request option.
11632
11772
  * @throws {RequiredError}
11633
11773
  */
11634
- extract(extractRequest: ExtractRequest, options?: any): AxiosPromise<Extraction>;
11774
+ extract(extractRequest: ExtractRequest, options?: RawAxiosRequestConfig): AxiosPromise<Extraction>;
11635
11775
  /**
11636
11776
  * Search for addresses by postcode
11637
11777
  * @summary Address Picker
@@ -11639,7 +11779,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11639
11779
  * @param {*} [options] Override http request option.
11640
11780
  * @throws {RequiredError}
11641
11781
  */
11642
- findAddresses(postcode: string, options?: any): AxiosPromise<AddressesList>;
11782
+ findAddresses(postcode: string, options?: RawAxiosRequestConfig): AxiosPromise<AddressesList>;
11643
11783
  /**
11644
11784
  * Retrieves a single applicant. Returns an applicant object.
11645
11785
  * @summary Retrieve Applicant
@@ -11647,7 +11787,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11647
11787
  * @param {*} [options] Override http request option.
11648
11788
  * @throws {RequiredError}
11649
11789
  */
11650
- findApplicant(applicantId: string, options?: any): AxiosPromise<Applicant>;
11790
+ findApplicant(applicantId: string, options?: RawAxiosRequestConfig): AxiosPromise<Applicant>;
11651
11791
  /**
11652
11792
  * Retrieves a single check. Returns a check object.
11653
11793
  * @summary Retrieve a Check
@@ -11655,7 +11795,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11655
11795
  * @param {*} [options] Override http request option.
11656
11796
  * @throws {RequiredError}
11657
11797
  */
11658
- findCheck(checkId: string, options?: any): AxiosPromise<Check>;
11798
+ findCheck(checkId: string, options?: RawAxiosRequestConfig): AxiosPromise<Check>;
11659
11799
  /**
11660
11800
  * A single document can be retrieved by calling this endpoint with the document\'s unique identifier.
11661
11801
  * @summary Retrieve document
@@ -11663,7 +11803,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11663
11803
  * @param {*} [options] Override http request option.
11664
11804
  * @throws {RequiredError}
11665
11805
  */
11666
- findDocument(documentId: string, options?: any): AxiosPromise<Document>;
11806
+ findDocument(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<Document>;
11667
11807
  /**
11668
11808
  * Retrieves a single ID photo. Returns a ID photo object.
11669
11809
  * @summary Retrieve ID photo
@@ -11671,7 +11811,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11671
11811
  * @param {*} [options] Override http request option.
11672
11812
  * @throws {RequiredError}
11673
11813
  */
11674
- findIdPhoto(idPhotoId: string, options?: any): AxiosPromise<IdPhoto>;
11814
+ findIdPhoto(idPhotoId: string, options?: RawAxiosRequestConfig): AxiosPromise<IdPhoto>;
11675
11815
  /**
11676
11816
  * Retrieves a single live photo. Returns a live photo object.
11677
11817
  * @summary Retrieve live photo
@@ -11679,7 +11819,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11679
11819
  * @param {*} [options] Override http request option.
11680
11820
  * @throws {RequiredError}
11681
11821
  */
11682
- findLivePhoto(livePhotoId: string, options?: any): AxiosPromise<LivePhoto>;
11822
+ findLivePhoto(livePhotoId: string, options?: RawAxiosRequestConfig): AxiosPromise<LivePhoto>;
11683
11823
  /**
11684
11824
  * Retrieves a single live video. Returns the corresponding live video object.
11685
11825
  * @summary Retrieve live video
@@ -11687,7 +11827,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11687
11827
  * @param {*} [options] Override http request option.
11688
11828
  * @throws {RequiredError}
11689
11829
  */
11690
- findLiveVideo(liveVideoId: string, options?: any): AxiosPromise<LiveVideo>;
11830
+ findLiveVideo(liveVideoId: string, options?: RawAxiosRequestConfig): AxiosPromise<LiveVideo>;
11691
11831
  /**
11692
11832
  * Retrieves a single motion capture. Returns the corresponding motion capture object.
11693
11833
  * @summary Retrieve motion capture
@@ -11695,7 +11835,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11695
11835
  * @param {*} [options] Override http request option.
11696
11836
  * @throws {RequiredError}
11697
11837
  */
11698
- findMotionCapture(motionCaptureId: string, options?: any): AxiosPromise<MotionCapture>;
11838
+ findMotionCapture(motionCaptureId: string, options?: RawAxiosRequestConfig): AxiosPromise<MotionCapture>;
11699
11839
  /**
11700
11840
  * A single report can be retrieved using this endpoint with the corresponding unique identifier.
11701
11841
  * @summary Retrieve report
@@ -11703,7 +11843,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11703
11843
  * @param {*} [options] Override http request option.
11704
11844
  * @throws {RequiredError}
11705
11845
  */
11706
- findReport(reportId: string, options?: any): AxiosPromise<Report>;
11846
+ findReport(reportId: string, options?: RawAxiosRequestConfig): AxiosPromise<Report>;
11707
11847
  /**
11708
11848
  * A single task can be retrieved by calling this endpoint with the unique identifier of the Task and Workflow Run.
11709
11849
  * @summary Retrieve Task
@@ -11712,7 +11852,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11712
11852
  * @param {*} [options] Override http request option.
11713
11853
  * @throws {RequiredError}
11714
11854
  */
11715
- findTask(workflowRunId: string, taskId: string, options?: any): AxiosPromise<Task>;
11855
+ findTask(workflowRunId: string, taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<Task>;
11716
11856
  /**
11717
11857
  * Retrieves the Timeline File for the designated Workflow Run.
11718
11858
  * @summary Retrieve Timeline File for Workflow Run
@@ -11721,7 +11861,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11721
11861
  * @param {*} [options] Override http request option.
11722
11862
  * @throws {RequiredError}
11723
11863
  */
11724
- findTimelineFile(workflowRunId: string, timelineFileId: string, options?: any): AxiosPromise<FileTransfer>;
11864
+ findTimelineFile(workflowRunId: string, timelineFileId: string, options?: RawAxiosRequestConfig): AxiosPromise<FileTransfer>;
11725
11865
  /**
11726
11866
  * Retrieves a single monitor
11727
11867
  * @summary Retrieve monitor
@@ -11729,7 +11869,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11729
11869
  * @param {*} [options] Override http request option.
11730
11870
  * @throws {RequiredError}
11731
11871
  */
11732
- findWatchlistMonitor(monitorId: string, options?: any): AxiosPromise<WatchlistMonitor>;
11872
+ findWatchlistMonitor(monitorId: string, options?: RawAxiosRequestConfig): AxiosPromise<WatchlistMonitor>;
11733
11873
  /**
11734
11874
  * Retrieves a single webhook. Returns a webhook object.
11735
11875
  * @summary Retrieve a Webhook
@@ -11737,7 +11877,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11737
11877
  * @param {*} [options] Override http request option.
11738
11878
  * @throws {RequiredError}
11739
11879
  */
11740
- findWebhook(webhookId: string, options?: any): AxiosPromise<Webhook>;
11880
+ findWebhook(webhookId: string, options?: RawAxiosRequestConfig): AxiosPromise<Webhook>;
11741
11881
  /**
11742
11882
  * A single workflow run can be retrieved by calling this endpoint with the unique identifier of the Workflow Run.
11743
11883
  * @summary Retrieve Workflow Run
@@ -11745,7 +11885,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11745
11885
  * @param {*} [options] Override http request option.
11746
11886
  * @throws {RequiredError}
11747
11887
  */
11748
- findWorkflowRun(workflowRunId: string, options?: any): AxiosPromise<WorkflowRun>;
11888
+ findWorkflowRun(workflowRunId: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowRun>;
11749
11889
  /**
11750
11890
  * Triggers a new check with an updated report to be generated by the monitor, as if the monitor had received an update.
11751
11891
  * @summary Force new report creation (BETA)
@@ -11753,7 +11893,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11753
11893
  * @param {*} [options] Override http request option.
11754
11894
  * @throws {RequiredError}
11755
11895
  */
11756
- forceReportCreationFromWatchlistMonitor(monitorId: string, options?: any): AxiosPromise<void>;
11896
+ forceReportCreationFromWatchlistMonitor(monitorId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11757
11897
  /**
11758
11898
  * Generates an SDK token. Returns a token object containing the SDK token.
11759
11899
  * @summary Generate a SDK token
@@ -11761,7 +11901,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11761
11901
  * @param {*} [options] Override http request option.
11762
11902
  * @throws {RequiredError}
11763
11903
  */
11764
- generateSdkToken(sdkTokenBuilder: SdkTokenBuilder, options?: any): AxiosPromise<SdkToken>;
11904
+ generateSdkToken(sdkTokenBuilder: SdkTokenBuilder, options?: RawAxiosRequestConfig): AxiosPromise<SdkToken>;
11765
11905
  /**
11766
11906
  * Lists all applicants you\'ve created, sorted by creation date in descending order.
11767
11907
  * @summary List Applicants
@@ -11771,7 +11911,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11771
11911
  * @param {*} [options] Override http request option.
11772
11912
  * @throws {RequiredError}
11773
11913
  */
11774
- listApplicants(page?: number, perPage?: number, includeDeleted?: boolean, options?: any): AxiosPromise<ApplicantsList>;
11914
+ listApplicants(page?: number, perPage?: number, includeDeleted?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ApplicantsList>;
11775
11915
  /**
11776
11916
  * Retrieves a single check. Returns a check object.
11777
11917
  * @summary Retrieve Checks
@@ -11779,7 +11919,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11779
11919
  * @param {*} [options] Override http request option.
11780
11920
  * @throws {RequiredError}
11781
11921
  */
11782
- listChecks(applicantId: string, options?: any): AxiosPromise<ChecksList>;
11922
+ listChecks(applicantId: string, options?: RawAxiosRequestConfig): AxiosPromise<ChecksList>;
11783
11923
  /**
11784
11924
  * All documents belonging to an applicant can be listed from this endpoint
11785
11925
  * @summary List documents
@@ -11787,7 +11927,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11787
11927
  * @param {*} [options] Override http request option.
11788
11928
  * @throws {RequiredError}
11789
11929
  */
11790
- listDocuments(applicantId: string, options?: any): AxiosPromise<DocumentsList>;
11930
+ listDocuments(applicantId: string, options?: RawAxiosRequestConfig): AxiosPromise<DocumentsList>;
11791
11931
  /**
11792
11932
  * Lists the ID photos that belong to an applicant.
11793
11933
  * @summary List ID photos
@@ -11795,7 +11935,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11795
11935
  * @param {*} [options] Override http request option.
11796
11936
  * @throws {RequiredError}
11797
11937
  */
11798
- listIdPhotos(applicantId: string, options?: any): AxiosPromise<IdPhotosList>;
11938
+ listIdPhotos(applicantId: string, options?: RawAxiosRequestConfig): AxiosPromise<IdPhotosList>;
11799
11939
  /**
11800
11940
  * Lists the live photos that belong to an applicant.
11801
11941
  * @summary List live photos
@@ -11803,7 +11943,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11803
11943
  * @param {*} [options] Override http request option.
11804
11944
  * @throws {RequiredError}
11805
11945
  */
11806
- listLivePhotos(applicantId: string, options?: any): AxiosPromise<LivePhotosList>;
11946
+ listLivePhotos(applicantId: string, options?: RawAxiosRequestConfig): AxiosPromise<LivePhotosList>;
11807
11947
  /**
11808
11948
  * Lists all the live videos that belong to an applicant.
11809
11949
  * @summary List live videos
@@ -11811,7 +11951,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11811
11951
  * @param {*} [options] Override http request option.
11812
11952
  * @throws {RequiredError}
11813
11953
  */
11814
- listLiveVideos(applicantId: string, options?: any): AxiosPromise<LiveVideosList>;
11954
+ listLiveVideos(applicantId: string, options?: RawAxiosRequestConfig): AxiosPromise<LiveVideosList>;
11815
11955
  /**
11816
11956
  * Lists all the motion captures that belong to an applicant.
11817
11957
  * @summary List motion captures
@@ -11819,7 +11959,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11819
11959
  * @param {*} [options] Override http request option.
11820
11960
  * @throws {RequiredError}
11821
11961
  */
11822
- listMotionCaptures(applicantId: string, options?: any): AxiosPromise<MotionCapturesList>;
11962
+ listMotionCaptures(applicantId: string, options?: RawAxiosRequestConfig): AxiosPromise<MotionCapturesList>;
11823
11963
  /**
11824
11964
  * Returns all repeat attempts for a given Document report
11825
11965
  * @summary Retrieve repeat attempts
@@ -11827,7 +11967,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11827
11967
  * @param {*} [options] Override http request option.
11828
11968
  * @throws {RequiredError}
11829
11969
  */
11830
- listRepeatAttempts(reportId: string, options?: any): AxiosPromise<RepeatAttemptsList>;
11970
+ listRepeatAttempts(reportId: string, options?: RawAxiosRequestConfig): AxiosPromise<RepeatAttemptsList>;
11831
11971
  /**
11832
11972
  * All the reports belonging to a particular check can be listed from this endpoint.
11833
11973
  * @summary List reports
@@ -11835,7 +11975,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11835
11975
  * @param {*} [options] Override http request option.
11836
11976
  * @throws {RequiredError}
11837
11977
  */
11838
- listReports(checkId: string, options?: any): AxiosPromise<ReportsList>;
11978
+ listReports(checkId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReportsList>;
11839
11979
  /**
11840
11980
  * The tasks of a Workflow can be retrieved by calling this endpoint with the unique identifier of the Workflow Run.
11841
11981
  * @summary List Tasks
@@ -11843,7 +11983,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11843
11983
  * @param {*} [options] Override http request option.
11844
11984
  * @throws {RequiredError}
11845
11985
  */
11846
- listTasks(workflowRunId: string, options?: any): AxiosPromise<Array<TaskItem>>;
11986
+ listTasks(workflowRunId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<TaskItem>>;
11847
11987
  /**
11848
11988
  * List match IDs on this monitor, as well as their enabled/disabled status
11849
11989
  * @summary List matches (BETA)
@@ -11851,7 +11991,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11851
11991
  * @param {*} [options] Override http request option.
11852
11992
  * @throws {RequiredError}
11853
11993
  */
11854
- listWatchlistMonitorMatches(monitorId: string, options?: any): AxiosPromise<WatchlistMonitorMatchesList>;
11994
+ listWatchlistMonitorMatches(monitorId: string, options?: RawAxiosRequestConfig): AxiosPromise<WatchlistMonitorMatchesList>;
11855
11995
  /**
11856
11996
  * List all available monitors for an applicant
11857
11997
  * @summary List monitors
@@ -11860,14 +12000,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11860
12000
  * @param {*} [options] Override http request option.
11861
12001
  * @throws {RequiredError}
11862
12002
  */
11863
- listWatchlistMonitors(applicantId: string, includeDeleted?: boolean, options?: any): AxiosPromise<WatchlistMonitorsList>;
12003
+ listWatchlistMonitors(applicantId: string, includeDeleted?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<WatchlistMonitorsList>;
11864
12004
  /**
11865
12005
  * Lists all webhooks you\'ve created.
11866
12006
  * @summary List webhooks
11867
12007
  * @param {*} [options] Override http request option.
11868
12008
  * @throws {RequiredError}
11869
12009
  */
11870
- listWebhooks(options?: any): AxiosPromise<WebhooksList>;
12010
+ listWebhooks(options?: RawAxiosRequestConfig): AxiosPromise<WebhooksList>;
11871
12011
  /**
11872
12012
  * Retrieves the Workflow Runs of the client. Returns a list of Workflow Run objects.
11873
12013
  * @summary List Workflow Runs
@@ -11879,14 +12019,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11879
12019
  * @param {*} [options] Override http request option.
11880
12020
  * @throws {RequiredError}
11881
12021
  */
11882
- listWorkflowRuns(page?: number, status?: string, createdAtGt?: string, createdAtLt?: string, sort?: ListWorkflowRunsSortEnum, options?: any): AxiosPromise<Array<WorkflowRun>>;
12022
+ listWorkflowRuns(page?: number, status?: string, createdAtGt?: string, createdAtLt?: string, sort?: ListWorkflowRunsSortEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<WorkflowRun>>;
11883
12023
  /**
11884
12024
  * Run a health check on the Onfido API
11885
12025
  * @summary Ping
11886
12026
  * @param {*} [options] Override http request option.
11887
12027
  * @throws {RequiredError}
11888
12028
  */
11889
- ping(options?: any): AxiosPromise<string>;
12029
+ ping(options?: RawAxiosRequestConfig): AxiosPromise<string>;
11890
12030
  /**
11891
12031
  * Create Feedback on checks and reports
11892
12032
  * @summary Fraud reporting (ALPHA)
@@ -11894,7 +12034,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11894
12034
  * @param {*} [options] Override http request option.
11895
12035
  * @throws {RequiredError}
11896
12036
  */
11897
- postResultsFeedback(resultsFeedback: ResultsFeedback, options?: any): AxiosPromise<ResultsFeedback>;
12037
+ postResultsFeedback(resultsFeedback: ResultsFeedback, options?: RawAxiosRequestConfig): AxiosPromise<ResultsFeedback>;
11898
12038
  /**
11899
12039
  * Resends events to all webhooks registered with a matching environment in your account.
11900
12040
  * @summary Resends webhooks
@@ -11902,7 +12042,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11902
12042
  * @param {*} [options] Override http request option.
11903
12043
  * @throws {RequiredError}
11904
12044
  */
11905
- resendWebhooks(webhookResend: WebhookResend, options?: any): AxiosPromise<void>;
12045
+ resendWebhooks(webhookResend: WebhookResend, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11906
12046
  /**
11907
12047
  * Restores a single applicant scheduled for deletion.
11908
12048
  * @summary Restore Applicant
@@ -11910,7 +12050,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11910
12050
  * @param {*} [options] Override http request option.
11911
12051
  * @throws {RequiredError}
11912
12052
  */
11913
- restoreApplicant(applicantId: string, options?: any): AxiosPromise<void>;
12053
+ restoreApplicant(applicantId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11914
12054
  /**
11915
12055
  * Resumes a paused check.
11916
12056
  * @summary Resume a Check
@@ -11918,7 +12058,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11918
12058
  * @param {*} [options] Override http request option.
11919
12059
  * @throws {RequiredError}
11920
12060
  */
11921
- resumeCheck(checkId: string, options?: any): AxiosPromise<void>;
12061
+ resumeCheck(checkId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11922
12062
  /**
11923
12063
  * Resumes a single paused report.
11924
12064
  * @summary Resume report
@@ -11926,7 +12066,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11926
12066
  * @param {*} [options] Override http request option.
11927
12067
  * @throws {RequiredError}
11928
12068
  */
11929
- resumeReport(reportId: string, options?: any): AxiosPromise<void>;
12069
+ resumeReport(reportId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11930
12070
  /**
11931
12071
  * Allows updating applicant\'s information before any checks is created. - Partial updates - Addresses and ID numbers present will replace existing ones - Same applicant validations to create applicant
11932
12072
  * @summary Update Applicant
@@ -11935,7 +12075,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11935
12075
  * @param {*} [options] Override http request option.
11936
12076
  * @throws {RequiredError}
11937
12077
  */
11938
- updateApplicant(applicantId: string, applicantUpdater: ApplicantUpdater, options?: any): AxiosPromise<Applicant>;
12078
+ updateApplicant(applicantId: string, applicantUpdater: ApplicantUpdater, options?: RawAxiosRequestConfig): AxiosPromise<Applicant>;
11939
12079
  /**
11940
12080
  * Update the status of the given matches
11941
12081
  * @summary Set match status (BETA)
@@ -11944,7 +12084,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11944
12084
  * @param {*} [options] Override http request option.
11945
12085
  * @throws {RequiredError}
11946
12086
  */
11947
- updateWatchlistMonitorMatch(monitorId: string, watchlistMonitorMatchesUpdater: WatchlistMonitorMatchesUpdater, options?: any): AxiosPromise<WatchlistMonitorMatchesList>;
12087
+ updateWatchlistMonitorMatch(monitorId: string, watchlistMonitorMatchesUpdater: WatchlistMonitorMatchesUpdater, options?: RawAxiosRequestConfig): AxiosPromise<WatchlistMonitorMatchesList>;
11948
12088
  /**
11949
12089
  * Edits a webhook. Returns the updated webhook object.
11950
12090
  * @summary Edit a webhook
@@ -11953,11 +12093,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11953
12093
  * @param {*} [options] Override http request option.
11954
12094
  * @throws {RequiredError}
11955
12095
  */
11956
- updateWebhook(webhookId: string, webhookUpdater: WebhookUpdater, options?: any): AxiosPromise<Webhook>;
12096
+ updateWebhook(webhookId: string, webhookUpdater: WebhookUpdater, options?: RawAxiosRequestConfig): AxiosPromise<Webhook>;
11957
12097
  /**
11958
12098
  * Documents are uploaded using this endpoint. Along with the file upload the relevant document type must be specified. Documents must be uploaded as a multipart form. The valid file types are: jpg, png and pdf. The file size must be between 2KB and 3MB.
11959
12099
  * @summary Upload a document
11960
- * @param {string} type The type of document
12100
+ * @param {DocumentTypes} type The type of document
11961
12101
  * @param {string} applicantId The ID of the applicant whose document is being uploaded.
11962
12102
  * @param {FileTransfer} file The file to be uploaded.
11963
12103
  * @param {UploadDocumentFileTypeEnum} [fileType] The file type of the uploaded file
@@ -11968,7 +12108,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11968
12108
  * @param {*} [options] Override http request option.
11969
12109
  * @throws {RequiredError}
11970
12110
  */
11971
- uploadDocument(type: string, applicantId: string, file: FileTransfer, fileType?: UploadDocumentFileTypeEnum, side?: UploadDocumentSideEnum, issuingCountry?: CountryCodes, validateImageQuality?: boolean, location?: LocationBuilder, options?: any): AxiosPromise<Document>;
12111
+ uploadDocument(type: DocumentTypes, applicantId: string, file: FileTransfer, fileType?: UploadDocumentFileTypeEnum, side?: UploadDocumentSideEnum, issuingCountry?: CountryCodes, validateImageQuality?: boolean, location?: LocationBuilder, options?: RawAxiosRequestConfig): AxiosPromise<Document>;
11972
12112
  /**
11973
12113
  * 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.
11974
12114
  * @summary Upload ID photo
@@ -11977,7 +12117,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11977
12117
  * @param {*} [options] Override http request option.
11978
12118
  * @throws {RequiredError}
11979
12119
  */
11980
- uploadIdPhoto(applicantId?: string, file?: FileTransfer, options?: any): AxiosPromise<IdPhoto>;
12120
+ uploadIdPhoto(applicantId?: string, file?: FileTransfer, options?: RawAxiosRequestConfig): AxiosPromise<IdPhoto>;
11981
12121
  /**
11982
12122
  * You can upload live 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. Live photos are validated at the point of upload to check that they contain exactly one face. This validation can be disabled by setting the advanced_validation argument to false.
11983
12123
  * @summary Upload live photo
@@ -11987,7 +12127,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
11987
12127
  * @param {*} [options] Override http request option.
11988
12128
  * @throws {RequiredError}
11989
12129
  */
11990
- uploadLivePhoto(applicantId?: string, file?: FileTransfer, advancedValidation?: boolean, options?: any): AxiosPromise<LivePhoto>;
12130
+ uploadLivePhoto(applicantId?: string, file?: FileTransfer, advancedValidation?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<LivePhoto>;
11991
12131
  };
11992
12132
  /**
11993
12133
  * DefaultApi - object-oriented interface
@@ -12570,7 +12710,7 @@ export declare class DefaultApi extends BaseAPI {
12570
12710
  /**
12571
12711
  * Documents are uploaded using this endpoint. Along with the file upload the relevant document type must be specified. Documents must be uploaded as a multipart form. The valid file types are: jpg, png and pdf. The file size must be between 2KB and 3MB.
12572
12712
  * @summary Upload a document
12573
- * @param {string} type The type of document
12713
+ * @param {DocumentTypes} type The type of document
12574
12714
  * @param {string} applicantId The ID of the applicant whose document is being uploaded.
12575
12715
  * @param {FileTransfer} file The file to be uploaded.
12576
12716
  * @param {UploadDocumentFileTypeEnum} [fileType] The file type of the uploaded file
@@ -12582,7 +12722,7 @@ export declare class DefaultApi extends BaseAPI {
12582
12722
  * @throws {RequiredError}
12583
12723
  * @memberof DefaultApi
12584
12724
  */
12585
- uploadDocument(type: string, applicantId: string, file: FileTransfer, fileType?: UploadDocumentFileTypeEnum, side?: UploadDocumentSideEnum, issuingCountry?: CountryCodes, validateImageQuality?: boolean, location?: LocationBuilder, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Document, any>>;
12725
+ uploadDocument(type: DocumentTypes, applicantId: string, file: FileTransfer, fileType?: UploadDocumentFileTypeEnum, side?: UploadDocumentSideEnum, issuingCountry?: CountryCodes, validateImageQuality?: boolean, location?: LocationBuilder, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Document, any>>;
12586
12726
  /**
12587
12727
  * 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.
12588
12728
  * @summary Upload ID photo