onfido-python 3.4.0__py3-none-any.whl → 4.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. onfido/__init__.py +18 -5
  2. onfido/api/default_api.py +611 -416
  3. onfido/api_client.py +38 -11
  4. onfido/configuration.py +14 -3
  5. onfido/models/__init__.py +17 -4
  6. onfido/models/addresses_list.py +3 -3
  7. onfido/models/applicant.py +3 -3
  8. onfido/models/applicant_builder.py +12 -8
  9. onfido/models/{consents_builder.py → applicant_consent_builder.py} +11 -6
  10. onfido/models/applicant_consent_name.py +38 -0
  11. onfido/models/applicant_request.py +10 -6
  12. onfido/models/applicant_shared.py +3 -3
  13. onfido/models/applicant_updater.py +12 -8
  14. onfido/models/applicants_list.py +3 -3
  15. onfido/models/check.py +10 -13
  16. onfido/models/check_builder.py +3 -1
  17. onfido/models/check_response.py +7 -13
  18. onfido/models/check_shared.py +4 -2
  19. onfido/models/check_status.py +41 -0
  20. onfido/models/checks_list.py +3 -3
  21. onfido/models/device_intelligence_breakdown_properties_device.py +1 -9
  22. onfido/models/device_intelligence_breakdown_properties_ip.py +2 -8
  23. onfido/models/device_intelligence_report.py +3 -3
  24. onfido/models/document.py +2 -1
  25. onfido/models/document_properties.py +6 -6
  26. onfido/models/document_report.py +3 -3
  27. onfido/models/document_shared.py +2 -1
  28. onfido/models/document_types.py +5 -0
  29. onfido/models/document_video_report.py +3 -3
  30. onfido/models/document_video_with_address_information_report.py +3 -3
  31. onfido/models/document_with_address_information_report.py +3 -3
  32. onfido/models/document_with_driver_verification_report.py +3 -3
  33. onfido/models/document_with_driver_verification_report_all_of_properties.py +9 -9
  34. onfido/models/document_with_driving_licence_information_report.py +3 -3
  35. onfido/models/documents_list.py +3 -3
  36. onfido/models/facial_similarity_motion_report.py +3 -3
  37. onfido/models/facial_similarity_photo_fully_auto_report.py +3 -3
  38. onfido/models/facial_similarity_photo_report.py +3 -3
  39. onfido/models/facial_similarity_video_report.py +3 -3
  40. onfido/models/id_photos_list.py +3 -3
  41. onfido/models/identity_enhanced_properties.py +3 -3
  42. onfido/models/identity_enhanced_report.py +3 -3
  43. onfido/models/india_pan_report.py +3 -3
  44. onfido/models/known_faces_properties.py +3 -3
  45. onfido/models/known_faces_report.py +3 -3
  46. onfido/models/live_photos_list.py +3 -3
  47. onfido/models/live_videos_list.py +3 -3
  48. onfido/models/motion_captures_list.py +3 -3
  49. onfido/models/proof_of_address_report.py +3 -3
  50. onfido/models/repeat_attempts_list.py +3 -3
  51. onfido/models/report_shared.py +3 -3
  52. onfido/models/reports_list.py +3 -3
  53. onfido/models/task_item.py +11 -2
  54. onfido/models/us_driving_licence_report.py +3 -3
  55. onfido/models/watchlist_aml_report.py +3 -3
  56. onfido/models/watchlist_enhanced_properties.py +11 -3
  57. onfido/models/watchlist_enhanced_properties_records_inner.py +164 -0
  58. onfido/models/watchlist_enhanced_properties_records_inner_address_inner.py +111 -0
  59. onfido/models/{consent_item.py → watchlist_enhanced_properties_records_inner_alias_inner.py} +11 -18
  60. onfido/models/watchlist_enhanced_properties_records_inner_associate_inner.py +104 -0
  61. onfido/models/watchlist_enhanced_properties_records_inner_attribute_inner.py +102 -0
  62. onfido/models/watchlist_enhanced_properties_records_inner_event_inner.py +113 -0
  63. onfido/models/watchlist_enhanced_properties_records_inner_event_inner_source.py +107 -0
  64. onfido/models/watchlist_enhanced_properties_records_inner_source_inner.py +106 -0
  65. onfido/models/watchlist_enhanced_report.py +3 -3
  66. onfido/models/watchlist_monitor_matches_list.py +3 -3
  67. onfido/models/watchlist_monitors_list.py +3 -3
  68. onfido/models/watchlist_peps_only_report.py +3 -3
  69. onfido/models/watchlist_sanctions_only_report.py +3 -3
  70. onfido/models/watchlist_standard_report.py +3 -3
  71. onfido/models/webhook_event_object_status.py +54 -0
  72. onfido/models/webhook_event_payload.py +9 -4
  73. onfido/models/webhook_event_payload_object.py +2 -1
  74. onfido/models/webhook_event_payload_resource.py +158 -0
  75. onfido/models/webhook_event_resource_type.py +41 -0
  76. onfido/models/webhook_resend.py +3 -3
  77. onfido/models/webhooks_list.py +3 -3
  78. onfido/models/workflow_run.py +9 -18
  79. onfido/models/workflow_run_builder.py +3 -3
  80. onfido/models/{workflow_run_response_error.py → workflow_run_error.py} +4 -4
  81. onfido/models/{workflow_run_shared_link.py → workflow_run_link.py} +24 -4
  82. onfido/models/workflow_run_response.py +6 -15
  83. onfido/models/workflow_run_shared.py +3 -3
  84. onfido/models/workflow_run_status.py +43 -0
  85. onfido/rest.py +1 -1
  86. {onfido_python-3.4.0.dist-info → onfido_python-4.0.0.dist-info}/METADATA +3 -3
  87. {onfido_python-3.4.0.dist-info → onfido_python-4.0.0.dist-info}/RECORD +90 -77
  88. {onfido_python-3.4.0.dist-info → onfido_python-4.0.0.dist-info}/WHEEL +1 -1
  89. {onfido_python-3.4.0.dist-info → onfido_python-4.0.0.dist-info}/LICENSE +0 -0
  90. {onfido_python-3.4.0.dist-info → onfido_python-4.0.0.dist-info}/top_level.txt +0 -0
onfido/__init__.py CHANGED
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "3.4.0"
17
+ __version__ = "4.0.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from onfido.api.default_api import DefaultApi
@@ -37,6 +37,8 @@ from onfido.models.address_shared import AddressShared
37
37
  from onfido.models.addresses_list import AddressesList
38
38
  from onfido.models.applicant import Applicant
39
39
  from onfido.models.applicant_builder import ApplicantBuilder
40
+ from onfido.models.applicant_consent_builder import ApplicantConsentBuilder
41
+ from onfido.models.applicant_consent_name import ApplicantConsentName
40
42
  from onfido.models.applicant_create import ApplicantCreate
41
43
  from onfido.models.applicant_request import ApplicantRequest
42
44
  from onfido.models.applicant_response import ApplicantResponse
@@ -49,11 +51,10 @@ from onfido.models.check_builder import CheckBuilder
49
51
  from onfido.models.check_request import CheckRequest
50
52
  from onfido.models.check_response import CheckResponse
51
53
  from onfido.models.check_shared import CheckShared
54
+ from onfido.models.check_status import CheckStatus
52
55
  from onfido.models.checks_list import ChecksList
53
56
  from onfido.models.complete_task_builder import CompleteTaskBuilder
54
57
  from onfido.models.complete_task_data_builder import CompleteTaskDataBuilder
55
- from onfido.models.consent_item import ConsentItem
56
- from onfido.models.consents_builder import ConsentsBuilder
57
58
  from onfido.models.country_codes import CountryCodes
58
59
  from onfido.models.device_intelligence_breakdown import DeviceIntelligenceBreakdown
59
60
  from onfido.models.device_intelligence_breakdown_breakdown import DeviceIntelligenceBreakdownBreakdown
@@ -271,6 +272,14 @@ from onfido.models.watchlist_aml_properties import WatchlistAmlProperties
271
272
  from onfido.models.watchlist_aml_report import WatchlistAmlReport
272
273
  from onfido.models.watchlist_enhanced_breakdown import WatchlistEnhancedBreakdown
273
274
  from onfido.models.watchlist_enhanced_properties import WatchlistEnhancedProperties
275
+ from onfido.models.watchlist_enhanced_properties_records_inner import WatchlistEnhancedPropertiesRecordsInner
276
+ from onfido.models.watchlist_enhanced_properties_records_inner_address_inner import WatchlistEnhancedPropertiesRecordsInnerAddressInner
277
+ from onfido.models.watchlist_enhanced_properties_records_inner_alias_inner import WatchlistEnhancedPropertiesRecordsInnerAliasInner
278
+ from onfido.models.watchlist_enhanced_properties_records_inner_associate_inner import WatchlistEnhancedPropertiesRecordsInnerAssociateInner
279
+ from onfido.models.watchlist_enhanced_properties_records_inner_attribute_inner import WatchlistEnhancedPropertiesRecordsInnerAttributeInner
280
+ from onfido.models.watchlist_enhanced_properties_records_inner_event_inner import WatchlistEnhancedPropertiesRecordsInnerEventInner
281
+ from onfido.models.watchlist_enhanced_properties_records_inner_event_inner_source import WatchlistEnhancedPropertiesRecordsInnerEventInnerSource
282
+ from onfido.models.watchlist_enhanced_properties_records_inner_source_inner import WatchlistEnhancedPropertiesRecordsInnerSourceInner
274
283
  from onfido.models.watchlist_enhanced_report import WatchlistEnhancedReport
275
284
  from onfido.models.watchlist_monitor import WatchlistMonitor
276
285
  from onfido.models.watchlist_monitor_builder import WatchlistMonitorBuilder
@@ -289,8 +298,11 @@ from onfido.models.webhook import Webhook
289
298
  from onfido.models.webhook_builder import WebhookBuilder
290
299
  from onfido.models.webhook_create import WebhookCreate
291
300
  from onfido.models.webhook_event import WebhookEvent
301
+ from onfido.models.webhook_event_object_status import WebhookEventObjectStatus
292
302
  from onfido.models.webhook_event_payload import WebhookEventPayload
293
303
  from onfido.models.webhook_event_payload_object import WebhookEventPayloadObject
304
+ from onfido.models.webhook_event_payload_resource import WebhookEventPayloadResource
305
+ from onfido.models.webhook_event_resource_type import WebhookEventResourceType
294
306
  from onfido.models.webhook_event_type import WebhookEventType
295
307
  from onfido.models.webhook_resend import WebhookResend
296
308
  from onfido.models.webhook_response import WebhookResponse
@@ -301,11 +313,12 @@ from onfido.models.webhooks_list import WebhooksList
301
313
  from onfido.models.webhooks_resend_item import WebhooksResendItem
302
314
  from onfido.models.workflow_run import WorkflowRun
303
315
  from onfido.models.workflow_run_builder import WorkflowRunBuilder
316
+ from onfido.models.workflow_run_error import WorkflowRunError
317
+ from onfido.models.workflow_run_link import WorkflowRunLink
304
318
  from onfido.models.workflow_run_request import WorkflowRunRequest
305
319
  from onfido.models.workflow_run_response import WorkflowRunResponse
306
- from onfido.models.workflow_run_response_error import WorkflowRunResponseError
307
320
  from onfido.models.workflow_run_shared import WorkflowRunShared
308
- from onfido.models.workflow_run_shared_link import WorkflowRunSharedLink
321
+ from onfido.models.workflow_run_status import WorkflowRunStatus
309
322
 
310
323
  from onfido.webhook_event_verifier import OnfidoInvalidSignatureError
311
324
  from onfido.webhook_event_verifier import WebhookEventVerifier