onfido-python 4.1.0__py3-none-any.whl → 4.3.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.
- onfido/__init__.py +4 -2
- onfido/api_client.py +1 -1
- onfido/configuration.py +1 -1
- onfido/models/__init__.py +3 -1
- onfido/models/document_properties.py +9 -5
- onfido/models/{document_properties_barcode.py → document_properties_barcode_inner.py} +4 -4
- onfido/models/document_types.py +46 -0
- onfido/models/document_with_driver_verification_report_all_of_properties.py +9 -5
- onfido/models/facial_similarity_motion_report.py +38 -1
- onfido/models/facial_similarity_photo_fully_auto_report.py +38 -1
- onfido/models/facial_similarity_photo_report.py +38 -1
- onfido/models/facial_similarity_report_media.py +100 -0
- onfido/models/facial_similarity_report_shared.py +135 -0
- onfido/models/facial_similarity_video_report.py +38 -1
- {onfido_python-4.1.0.dist-info → onfido_python-4.3.0.dist-info}/METADATA +5 -5
- {onfido_python-4.1.0.dist-info → onfido_python-4.3.0.dist-info}/RECORD +19 -17
- {onfido_python-4.1.0.dist-info → onfido_python-4.3.0.dist-info}/WHEEL +1 -1
- {onfido_python-4.1.0.dist-info → onfido_python-4.3.0.dist-info}/LICENSE +0 -0
- {onfido_python-4.1.0.dist-info → onfido_python-4.3.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__ = "4.
|
|
17
|
+
__version__ = "4.3.0"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from onfido.api.default_api import DefaultApi
|
|
@@ -106,7 +106,7 @@ from onfido.models.document_iq_reasons import DocumentIQReasons
|
|
|
106
106
|
from onfido.models.document_odp_reasons import DocumentODPReasons
|
|
107
107
|
from onfido.models.document_properties import DocumentProperties
|
|
108
108
|
from onfido.models.document_properties_address_lines import DocumentPropertiesAddressLines
|
|
109
|
-
from onfido.models.
|
|
109
|
+
from onfido.models.document_properties_barcode_inner import DocumentPropertiesBarcodeInner
|
|
110
110
|
from onfido.models.document_properties_document_classification import DocumentPropertiesDocumentClassification
|
|
111
111
|
from onfido.models.document_properties_document_numbers_inner import DocumentPropertiesDocumentNumbersInner
|
|
112
112
|
from onfido.models.document_properties_driving_licence_information import DocumentPropertiesDrivingLicenceInformation
|
|
@@ -165,6 +165,8 @@ from onfido.models.facial_similarity_photo_fully_auto_properties import FacialSi
|
|
|
165
165
|
from onfido.models.facial_similarity_photo_fully_auto_report import FacialSimilarityPhotoFullyAutoReport
|
|
166
166
|
from onfido.models.facial_similarity_photo_properties import FacialSimilarityPhotoProperties
|
|
167
167
|
from onfido.models.facial_similarity_photo_report import FacialSimilarityPhotoReport
|
|
168
|
+
from onfido.models.facial_similarity_report_media import FacialSimilarityReportMedia
|
|
169
|
+
from onfido.models.facial_similarity_report_shared import FacialSimilarityReportShared
|
|
168
170
|
from onfido.models.facial_similarity_video_breakdown import FacialSimilarityVideoBreakdown
|
|
169
171
|
from onfido.models.facial_similarity_video_breakdown_face_comparison import FacialSimilarityVideoBreakdownFaceComparison
|
|
170
172
|
from onfido.models.facial_similarity_video_breakdown_image_integrity import FacialSimilarityVideoBreakdownImageIntegrity
|
onfido/api_client.py
CHANGED
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'onfido-python/4.
|
|
93
|
+
self.user_agent = 'onfido-python/4.3.0'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
onfido/configuration.py
CHANGED
|
@@ -394,7 +394,7 @@ conf = onfido.Configuration(
|
|
|
394
394
|
"OS: {env}\n"\
|
|
395
395
|
"Python Version: {pyversion}\n"\
|
|
396
396
|
"Version of the API: v3.6\n"\
|
|
397
|
-
"SDK Package Version: 4.
|
|
397
|
+
"SDK Package Version: 4.3.0".\
|
|
398
398
|
format(env=sys.platform, pyversion=sys.version)
|
|
399
399
|
|
|
400
400
|
def get_host_settings(self):
|
onfido/models/__init__.py
CHANGED
|
@@ -89,7 +89,7 @@ from onfido.models.document_iq_reasons import DocumentIQReasons
|
|
|
89
89
|
from onfido.models.document_odp_reasons import DocumentODPReasons
|
|
90
90
|
from onfido.models.document_properties import DocumentProperties
|
|
91
91
|
from onfido.models.document_properties_address_lines import DocumentPropertiesAddressLines
|
|
92
|
-
from onfido.models.
|
|
92
|
+
from onfido.models.document_properties_barcode_inner import DocumentPropertiesBarcodeInner
|
|
93
93
|
from onfido.models.document_properties_document_classification import DocumentPropertiesDocumentClassification
|
|
94
94
|
from onfido.models.document_properties_document_numbers_inner import DocumentPropertiesDocumentNumbersInner
|
|
95
95
|
from onfido.models.document_properties_driving_licence_information import DocumentPropertiesDrivingLicenceInformation
|
|
@@ -148,6 +148,8 @@ from onfido.models.facial_similarity_photo_fully_auto_properties import FacialSi
|
|
|
148
148
|
from onfido.models.facial_similarity_photo_fully_auto_report import FacialSimilarityPhotoFullyAutoReport
|
|
149
149
|
from onfido.models.facial_similarity_photo_properties import FacialSimilarityPhotoProperties
|
|
150
150
|
from onfido.models.facial_similarity_photo_report import FacialSimilarityPhotoReport
|
|
151
|
+
from onfido.models.facial_similarity_report_media import FacialSimilarityReportMedia
|
|
152
|
+
from onfido.models.facial_similarity_report_shared import FacialSimilarityReportShared
|
|
151
153
|
from onfido.models.facial_similarity_video_breakdown import FacialSimilarityVideoBreakdown
|
|
152
154
|
from onfido.models.facial_similarity_video_breakdown_face_comparison import FacialSimilarityVideoBreakdownFaceComparison
|
|
153
155
|
from onfido.models.facial_similarity_video_breakdown_image_integrity import FacialSimilarityVideoBreakdownImageIntegrity
|
|
@@ -21,7 +21,7 @@ from datetime import date
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, StrictBool, StrictStr, field_validator
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from onfido.models.document_properties_address_lines import DocumentPropertiesAddressLines
|
|
24
|
-
from onfido.models.
|
|
24
|
+
from onfido.models.document_properties_barcode_inner import DocumentPropertiesBarcodeInner
|
|
25
25
|
from onfido.models.document_properties_document_classification import DocumentPropertiesDocumentClassification
|
|
26
26
|
from onfido.models.document_properties_document_numbers_inner import DocumentPropertiesDocumentNumbersInner
|
|
27
27
|
from onfido.models.document_properties_driving_licence_information import DocumentPropertiesDrivingLicenceInformation
|
|
@@ -74,7 +74,7 @@ class DocumentProperties(BaseModel):
|
|
|
74
74
|
real_id_compliance: Optional[StrictBool] = None
|
|
75
75
|
security_tier: Optional[StrictStr] = None
|
|
76
76
|
address_lines: Optional[DocumentPropertiesAddressLines] = None
|
|
77
|
-
barcode: Optional[
|
|
77
|
+
barcode: Optional[List[DocumentPropertiesBarcodeInner]] = None
|
|
78
78
|
nfc: Optional[DocumentPropertiesNfc] = None
|
|
79
79
|
driving_licence_information: Optional[DocumentPropertiesDrivingLicenceInformation] = None
|
|
80
80
|
document_classification: Optional[DocumentPropertiesDocumentClassification] = None
|
|
@@ -163,9 +163,13 @@ class DocumentProperties(BaseModel):
|
|
|
163
163
|
# override the default output from pydantic by calling `to_dict()` of address_lines
|
|
164
164
|
if self.address_lines:
|
|
165
165
|
_dict['address_lines'] = self.address_lines.to_dict()
|
|
166
|
-
# override the default output from pydantic by calling `to_dict()` of barcode
|
|
166
|
+
# override the default output from pydantic by calling `to_dict()` of each item in barcode (list)
|
|
167
|
+
_items = []
|
|
167
168
|
if self.barcode:
|
|
168
|
-
|
|
169
|
+
for _item_barcode in self.barcode:
|
|
170
|
+
if _item_barcode:
|
|
171
|
+
_items.append(_item_barcode.to_dict())
|
|
172
|
+
_dict['barcode'] = _items
|
|
169
173
|
# override the default output from pydantic by calling `to_dict()` of nfc
|
|
170
174
|
if self.nfc:
|
|
171
175
|
_dict['nfc'] = self.nfc.to_dict()
|
|
@@ -235,7 +239,7 @@ class DocumentProperties(BaseModel):
|
|
|
235
239
|
"real_id_compliance": obj.get("real_id_compliance"),
|
|
236
240
|
"security_tier": obj.get("security_tier"),
|
|
237
241
|
"address_lines": DocumentPropertiesAddressLines.from_dict(obj["address_lines"]) if obj.get("address_lines") is not None else None,
|
|
238
|
-
"barcode":
|
|
242
|
+
"barcode": [DocumentPropertiesBarcodeInner.from_dict(_item) for _item in obj["barcode"]] if obj.get("barcode") is not None else None,
|
|
239
243
|
"nfc": DocumentPropertiesNfc.from_dict(obj["nfc"]) if obj.get("nfc") is not None else None,
|
|
240
244
|
"driving_licence_information": DocumentPropertiesDrivingLicenceInformation.from_dict(obj["driving_licence_information"]) if obj.get("driving_licence_information") is not None else None,
|
|
241
245
|
"document_classification": DocumentPropertiesDocumentClassification.from_dict(obj["document_classification"]) if obj.get("document_classification") is not None else None,
|
|
@@ -23,9 +23,9 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
25
25
|
|
|
26
|
-
class
|
|
26
|
+
class DocumentPropertiesBarcodeInner(BaseModel):
|
|
27
27
|
"""
|
|
28
|
-
|
|
28
|
+
DocumentPropertiesBarcodeInner
|
|
29
29
|
""" # noqa: E501
|
|
30
30
|
first_name: Optional[StrictStr] = None
|
|
31
31
|
middle_name: Optional[StrictStr] = None
|
|
@@ -66,7 +66,7 @@ class DocumentPropertiesBarcode(BaseModel):
|
|
|
66
66
|
|
|
67
67
|
@classmethod
|
|
68
68
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
69
|
-
"""Create an instance of
|
|
69
|
+
"""Create an instance of DocumentPropertiesBarcodeInner from a JSON string"""
|
|
70
70
|
return cls.from_dict(json.loads(json_str))
|
|
71
71
|
|
|
72
72
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -98,7 +98,7 @@ class DocumentPropertiesBarcode(BaseModel):
|
|
|
98
98
|
|
|
99
99
|
@classmethod
|
|
100
100
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
101
|
-
"""Create an instance of
|
|
101
|
+
"""Create an instance of DocumentPropertiesBarcodeInner from a dict"""
|
|
102
102
|
if obj is None:
|
|
103
103
|
return None
|
|
104
104
|
|
onfido/models/document_types.py
CHANGED
|
@@ -56,6 +56,52 @@ class DocumentTypes(str, Enum):
|
|
|
56
56
|
VEHICLE_REGISTRATION_CERTIFICATE = 'vehicle_registration_certificate'
|
|
57
57
|
FORM_FOR_AFFIXING_THE_VISA = 'form_for_affixing_the_visa'
|
|
58
58
|
IDENTIFICATION_NUMBER_DOCUMENT = 'identification_number_document'
|
|
59
|
+
ADOPTION_CERTIFICATE = 'adoption_certificate'
|
|
60
|
+
BANK_BUILDING_SOCIETY_STATEMENT = 'bank_building_society_statement'
|
|
61
|
+
BANK_STATEMENT = 'bank_statement'
|
|
62
|
+
BENEFIT_LETTERS = 'benefit_letters'
|
|
63
|
+
CBT = 'cbt'
|
|
64
|
+
CERTIFICATE_OF_SPONSORSHIP = 'certificate_of_sponsorship'
|
|
65
|
+
CHARACTER_REFERENCE = 'character_reference'
|
|
66
|
+
CIVIL_PARTNERSHIP_CERTIFICATE = 'civil_partnership_certificate'
|
|
67
|
+
COUNCIL_TAX = 'council_tax'
|
|
68
|
+
CREDIT_CARD_STATEMENT = 'credit_card_statement'
|
|
69
|
+
DEED_POLL = 'deed_poll'
|
|
70
|
+
DIVORCE_ABSOLUTE_DECREE = 'divorce_absolute_decree'
|
|
71
|
+
EDUCATIONAL_STATEMENT = 'educational_statement'
|
|
72
|
+
ELECTRICITY_BILL = 'electricity_bill'
|
|
73
|
+
GAS_BILL = 'gas_bill'
|
|
74
|
+
GOVERNMENT_LETTER = 'government_letter'
|
|
75
|
+
INTERNET_BILL = 'internet_bill'
|
|
76
|
+
MARRIAGE_CERTIFICATE = 'marriage_certificate'
|
|
77
|
+
MOTORCYCLE_INSURANCE = 'motorcycle_insurance'
|
|
78
|
+
NATIONAL_INSURANCE_CARD = 'national_insurance_card'
|
|
79
|
+
NATURALISATION_CERTIFICATE = 'naturalisation_certificate'
|
|
80
|
+
NON_UK_DRIVING_LICENCE = 'non_uk_driving_licence'
|
|
81
|
+
P45_P60 = 'p45_p60'
|
|
82
|
+
PAYSLIP = 'payslip'
|
|
83
|
+
PHONE_BILL = 'phone_bill'
|
|
84
|
+
PROFESSIONAL_IDENTIFICATION_CARD = 'professional_identification_card'
|
|
85
|
+
RIGHT_TO_WORK_SHARE_CODE_RESULT = 'right_to_work_share_code_result'
|
|
86
|
+
STATEMENT_FACT = 'statement_fact'
|
|
87
|
+
T4_STUDENT_UNIVERSITY_TERM_DATES_EVIDENCE = 't4_student_university_term_dates_evidence'
|
|
88
|
+
UK_BIOMETRIC_RESIDENCE_PERMIT = 'uk_biometric_residence_permit'
|
|
89
|
+
UK_DRIVING_LICENCE = 'uk_driving_licence'
|
|
90
|
+
UNKNOWN = 'unknown'
|
|
91
|
+
UTILITY_BILL = 'utility_bill'
|
|
92
|
+
UTILITY_BILL_ELECTRIC = 'utility_bill_electric'
|
|
93
|
+
UTILITY_BILL_GAS = 'utility_bill_gas'
|
|
94
|
+
UTILITY_BILL_OTHER = 'utility_bill_other'
|
|
95
|
+
WATER_BILL = 'water_bill'
|
|
96
|
+
ADDRESS_CERTIFICATE = 'address_certificate'
|
|
97
|
+
GENERAL_LETTER = 'general_letter'
|
|
98
|
+
INSURANCE_STATEMENT = 'insurance_statement'
|
|
99
|
+
PENSION_PROPERTY_STATEMENT_LETTER = 'pension_property_statement_letter'
|
|
100
|
+
MORTGAGE_STATEMENT = 'mortgage_statement'
|
|
101
|
+
MOBILE_PHONE_BILL = 'mobile_phone_bill'
|
|
102
|
+
IDENTITY_DOCUMENT_WITH_ADDRESS = 'identity_document_with_address'
|
|
103
|
+
EXCHANGE_HOUSE_STATEMENT = 'exchange_house_statement'
|
|
104
|
+
ACCOMMODATION_TENANCY_CERTIFICATE = 'accommodation_tenancy_certificate'
|
|
59
105
|
|
|
60
106
|
@classmethod
|
|
61
107
|
def from_json(cls, json_str: str) -> Self:
|
|
@@ -21,7 +21,7 @@ from datetime import date
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from onfido.models.document_properties_address_lines import DocumentPropertiesAddressLines
|
|
24
|
-
from onfido.models.
|
|
24
|
+
from onfido.models.document_properties_barcode_inner import DocumentPropertiesBarcodeInner
|
|
25
25
|
from onfido.models.document_properties_document_classification import DocumentPropertiesDocumentClassification
|
|
26
26
|
from onfido.models.document_properties_document_numbers_inner import DocumentPropertiesDocumentNumbersInner
|
|
27
27
|
from onfido.models.document_properties_driving_licence_information import DocumentPropertiesDrivingLicenceInformation
|
|
@@ -76,7 +76,7 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
|
|
|
76
76
|
real_id_compliance: Optional[StrictBool] = None
|
|
77
77
|
security_tier: Optional[StrictStr] = None
|
|
78
78
|
address_lines: Optional[DocumentPropertiesAddressLines] = None
|
|
79
|
-
barcode: Optional[
|
|
79
|
+
barcode: Optional[List[DocumentPropertiesBarcodeInner]] = None
|
|
80
80
|
nfc: Optional[DocumentPropertiesNfc] = None
|
|
81
81
|
driving_licence_information: Optional[DocumentPropertiesDrivingLicenceInformation] = None
|
|
82
82
|
document_classification: Optional[DocumentPropertiesDocumentClassification] = None
|
|
@@ -171,9 +171,13 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
|
|
|
171
171
|
# override the default output from pydantic by calling `to_dict()` of address_lines
|
|
172
172
|
if self.address_lines:
|
|
173
173
|
_dict['address_lines'] = self.address_lines.to_dict()
|
|
174
|
-
# override the default output from pydantic by calling `to_dict()` of barcode
|
|
174
|
+
# override the default output from pydantic by calling `to_dict()` of each item in barcode (list)
|
|
175
|
+
_items = []
|
|
175
176
|
if self.barcode:
|
|
176
|
-
|
|
177
|
+
for _item_barcode in self.barcode:
|
|
178
|
+
if _item_barcode:
|
|
179
|
+
_items.append(_item_barcode.to_dict())
|
|
180
|
+
_dict['barcode'] = _items
|
|
177
181
|
# override the default output from pydantic by calling `to_dict()` of nfc
|
|
178
182
|
if self.nfc:
|
|
179
183
|
_dict['nfc'] = self.nfc.to_dict()
|
|
@@ -253,7 +257,7 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
|
|
|
253
257
|
"real_id_compliance": obj.get("real_id_compliance"),
|
|
254
258
|
"security_tier": obj.get("security_tier"),
|
|
255
259
|
"address_lines": DocumentPropertiesAddressLines.from_dict(obj["address_lines"]) if obj.get("address_lines") is not None else None,
|
|
256
|
-
"barcode":
|
|
260
|
+
"barcode": [DocumentPropertiesBarcodeInner.from_dict(_item) for _item in obj["barcode"]] if obj.get("barcode") is not None else None,
|
|
257
261
|
"nfc": DocumentPropertiesNfc.from_dict(obj["nfc"]) if obj.get("nfc") is not None else None,
|
|
258
262
|
"driving_licence_information": DocumentPropertiesDrivingLicenceInformation.from_dict(obj["driving_licence_information"]) if obj.get("driving_licence_information") is not None else None,
|
|
259
263
|
"document_classification": DocumentPropertiesDocumentClassification.from_dict(obj["document_classification"]) if obj.get("document_classification") is not None else None,
|
|
@@ -22,6 +22,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from onfido.models.facial_similarity_motion_breakdown import FacialSimilarityMotionBreakdown
|
|
24
24
|
from onfido.models.facial_similarity_motion_properties import FacialSimilarityMotionProperties
|
|
25
|
+
from onfido.models.facial_similarity_report_media import FacialSimilarityReportMedia
|
|
25
26
|
from onfido.models.report_document import ReportDocument
|
|
26
27
|
from onfido.models.report_name import ReportName
|
|
27
28
|
from onfido.models.report_result import ReportResult
|
|
@@ -43,10 +44,14 @@ class FacialSimilarityMotionReport(BaseModel):
|
|
|
43
44
|
check_id: Optional[StrictStr] = Field(default=None, description="The ID of the check to which the report belongs. Read-only.")
|
|
44
45
|
documents: Optional[List[ReportDocument]] = Field(default=None, description="Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]")
|
|
45
46
|
name: ReportName
|
|
47
|
+
live_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live photo ids that were used in the Onfido engine.")
|
|
48
|
+
live_videos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live video ids that were used in the Onfido engine.")
|
|
49
|
+
motion_captures: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with motion capture ids that were used in the Onfido engine.")
|
|
50
|
+
id_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with id photo ids that were used in the Onfido engine.")
|
|
46
51
|
breakdown: Optional[FacialSimilarityMotionBreakdown] = None
|
|
47
52
|
properties: Optional[FacialSimilarityMotionProperties] = None
|
|
48
53
|
additional_properties: Dict[str, Any] = {}
|
|
49
|
-
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "breakdown", "properties"]
|
|
54
|
+
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "live_photos", "live_videos", "motion_captures", "id_photos", "breakdown", "properties"]
|
|
50
55
|
|
|
51
56
|
model_config = ConfigDict(
|
|
52
57
|
populate_by_name=True,
|
|
@@ -96,6 +101,34 @@ class FacialSimilarityMotionReport(BaseModel):
|
|
|
96
101
|
if _item_documents:
|
|
97
102
|
_items.append(_item_documents.to_dict())
|
|
98
103
|
_dict['documents'] = _items
|
|
104
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_photos (list)
|
|
105
|
+
_items = []
|
|
106
|
+
if self.live_photos:
|
|
107
|
+
for _item_live_photos in self.live_photos:
|
|
108
|
+
if _item_live_photos:
|
|
109
|
+
_items.append(_item_live_photos.to_dict())
|
|
110
|
+
_dict['live_photos'] = _items
|
|
111
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_videos (list)
|
|
112
|
+
_items = []
|
|
113
|
+
if self.live_videos:
|
|
114
|
+
for _item_live_videos in self.live_videos:
|
|
115
|
+
if _item_live_videos:
|
|
116
|
+
_items.append(_item_live_videos.to_dict())
|
|
117
|
+
_dict['live_videos'] = _items
|
|
118
|
+
# override the default output from pydantic by calling `to_dict()` of each item in motion_captures (list)
|
|
119
|
+
_items = []
|
|
120
|
+
if self.motion_captures:
|
|
121
|
+
for _item_motion_captures in self.motion_captures:
|
|
122
|
+
if _item_motion_captures:
|
|
123
|
+
_items.append(_item_motion_captures.to_dict())
|
|
124
|
+
_dict['motion_captures'] = _items
|
|
125
|
+
# override the default output from pydantic by calling `to_dict()` of each item in id_photos (list)
|
|
126
|
+
_items = []
|
|
127
|
+
if self.id_photos:
|
|
128
|
+
for _item_id_photos in self.id_photos:
|
|
129
|
+
if _item_id_photos:
|
|
130
|
+
_items.append(_item_id_photos.to_dict())
|
|
131
|
+
_dict['id_photos'] = _items
|
|
99
132
|
# override the default output from pydantic by calling `to_dict()` of breakdown
|
|
100
133
|
if self.breakdown:
|
|
101
134
|
_dict['breakdown'] = self.breakdown.to_dict()
|
|
@@ -128,6 +161,10 @@ class FacialSimilarityMotionReport(BaseModel):
|
|
|
128
161
|
"check_id": obj.get("check_id"),
|
|
129
162
|
"documents": [ReportDocument.from_dict(_item) for _item in obj["documents"]] if obj.get("documents") is not None else None,
|
|
130
163
|
"name": obj.get("name"),
|
|
164
|
+
"live_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_photos"]] if obj.get("live_photos") is not None else None,
|
|
165
|
+
"live_videos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_videos"]] if obj.get("live_videos") is not None else None,
|
|
166
|
+
"motion_captures": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["motion_captures"]] if obj.get("motion_captures") is not None else None,
|
|
167
|
+
"id_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["id_photos"]] if obj.get("id_photos") is not None else None,
|
|
131
168
|
"breakdown": FacialSimilarityMotionBreakdown.from_dict(obj["breakdown"]) if obj.get("breakdown") is not None else None,
|
|
132
169
|
"properties": FacialSimilarityMotionProperties.from_dict(obj["properties"]) if obj.get("properties") is not None else None
|
|
133
170
|
})
|
|
@@ -22,6 +22,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from onfido.models.facial_similarity_photo_fully_auto_breakdown import FacialSimilarityPhotoFullyAutoBreakdown
|
|
24
24
|
from onfido.models.facial_similarity_photo_fully_auto_properties import FacialSimilarityPhotoFullyAutoProperties
|
|
25
|
+
from onfido.models.facial_similarity_report_media import FacialSimilarityReportMedia
|
|
25
26
|
from onfido.models.report_document import ReportDocument
|
|
26
27
|
from onfido.models.report_name import ReportName
|
|
27
28
|
from onfido.models.report_result import ReportResult
|
|
@@ -43,10 +44,14 @@ class FacialSimilarityPhotoFullyAutoReport(BaseModel):
|
|
|
43
44
|
check_id: Optional[StrictStr] = Field(default=None, description="The ID of the check to which the report belongs. Read-only.")
|
|
44
45
|
documents: Optional[List[ReportDocument]] = Field(default=None, description="Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]")
|
|
45
46
|
name: ReportName
|
|
47
|
+
live_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live photo ids that were used in the Onfido engine.")
|
|
48
|
+
live_videos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live video ids that were used in the Onfido engine.")
|
|
49
|
+
motion_captures: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with motion capture ids that were used in the Onfido engine.")
|
|
50
|
+
id_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with id photo ids that were used in the Onfido engine.")
|
|
46
51
|
breakdown: Optional[FacialSimilarityPhotoFullyAutoBreakdown] = None
|
|
47
52
|
properties: Optional[FacialSimilarityPhotoFullyAutoProperties] = None
|
|
48
53
|
additional_properties: Dict[str, Any] = {}
|
|
49
|
-
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "breakdown", "properties"]
|
|
54
|
+
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "live_photos", "live_videos", "motion_captures", "id_photos", "breakdown", "properties"]
|
|
50
55
|
|
|
51
56
|
model_config = ConfigDict(
|
|
52
57
|
populate_by_name=True,
|
|
@@ -96,6 +101,34 @@ class FacialSimilarityPhotoFullyAutoReport(BaseModel):
|
|
|
96
101
|
if _item_documents:
|
|
97
102
|
_items.append(_item_documents.to_dict())
|
|
98
103
|
_dict['documents'] = _items
|
|
104
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_photos (list)
|
|
105
|
+
_items = []
|
|
106
|
+
if self.live_photos:
|
|
107
|
+
for _item_live_photos in self.live_photos:
|
|
108
|
+
if _item_live_photos:
|
|
109
|
+
_items.append(_item_live_photos.to_dict())
|
|
110
|
+
_dict['live_photos'] = _items
|
|
111
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_videos (list)
|
|
112
|
+
_items = []
|
|
113
|
+
if self.live_videos:
|
|
114
|
+
for _item_live_videos in self.live_videos:
|
|
115
|
+
if _item_live_videos:
|
|
116
|
+
_items.append(_item_live_videos.to_dict())
|
|
117
|
+
_dict['live_videos'] = _items
|
|
118
|
+
# override the default output from pydantic by calling `to_dict()` of each item in motion_captures (list)
|
|
119
|
+
_items = []
|
|
120
|
+
if self.motion_captures:
|
|
121
|
+
for _item_motion_captures in self.motion_captures:
|
|
122
|
+
if _item_motion_captures:
|
|
123
|
+
_items.append(_item_motion_captures.to_dict())
|
|
124
|
+
_dict['motion_captures'] = _items
|
|
125
|
+
# override the default output from pydantic by calling `to_dict()` of each item in id_photos (list)
|
|
126
|
+
_items = []
|
|
127
|
+
if self.id_photos:
|
|
128
|
+
for _item_id_photos in self.id_photos:
|
|
129
|
+
if _item_id_photos:
|
|
130
|
+
_items.append(_item_id_photos.to_dict())
|
|
131
|
+
_dict['id_photos'] = _items
|
|
99
132
|
# override the default output from pydantic by calling `to_dict()` of breakdown
|
|
100
133
|
if self.breakdown:
|
|
101
134
|
_dict['breakdown'] = self.breakdown.to_dict()
|
|
@@ -128,6 +161,10 @@ class FacialSimilarityPhotoFullyAutoReport(BaseModel):
|
|
|
128
161
|
"check_id": obj.get("check_id"),
|
|
129
162
|
"documents": [ReportDocument.from_dict(_item) for _item in obj["documents"]] if obj.get("documents") is not None else None,
|
|
130
163
|
"name": obj.get("name"),
|
|
164
|
+
"live_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_photos"]] if obj.get("live_photos") is not None else None,
|
|
165
|
+
"live_videos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_videos"]] if obj.get("live_videos") is not None else None,
|
|
166
|
+
"motion_captures": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["motion_captures"]] if obj.get("motion_captures") is not None else None,
|
|
167
|
+
"id_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["id_photos"]] if obj.get("id_photos") is not None else None,
|
|
131
168
|
"breakdown": FacialSimilarityPhotoFullyAutoBreakdown.from_dict(obj["breakdown"]) if obj.get("breakdown") is not None else None,
|
|
132
169
|
"properties": FacialSimilarityPhotoFullyAutoProperties.from_dict(obj["properties"]) if obj.get("properties") is not None else None
|
|
133
170
|
})
|
|
@@ -22,6 +22,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from onfido.models.facial_similarity_photo_breakdown import FacialSimilarityPhotoBreakdown
|
|
24
24
|
from onfido.models.facial_similarity_photo_properties import FacialSimilarityPhotoProperties
|
|
25
|
+
from onfido.models.facial_similarity_report_media import FacialSimilarityReportMedia
|
|
25
26
|
from onfido.models.report_document import ReportDocument
|
|
26
27
|
from onfido.models.report_name import ReportName
|
|
27
28
|
from onfido.models.report_result import ReportResult
|
|
@@ -43,10 +44,14 @@ class FacialSimilarityPhotoReport(BaseModel):
|
|
|
43
44
|
check_id: Optional[StrictStr] = Field(default=None, description="The ID of the check to which the report belongs. Read-only.")
|
|
44
45
|
documents: Optional[List[ReportDocument]] = Field(default=None, description="Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]")
|
|
45
46
|
name: ReportName
|
|
47
|
+
live_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live photo ids that were used in the Onfido engine.")
|
|
48
|
+
live_videos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live video ids that were used in the Onfido engine.")
|
|
49
|
+
motion_captures: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with motion capture ids that were used in the Onfido engine.")
|
|
50
|
+
id_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with id photo ids that were used in the Onfido engine.")
|
|
46
51
|
breakdown: Optional[FacialSimilarityPhotoBreakdown] = None
|
|
47
52
|
properties: Optional[FacialSimilarityPhotoProperties] = None
|
|
48
53
|
additional_properties: Dict[str, Any] = {}
|
|
49
|
-
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "breakdown", "properties"]
|
|
54
|
+
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "live_photos", "live_videos", "motion_captures", "id_photos", "breakdown", "properties"]
|
|
50
55
|
|
|
51
56
|
model_config = ConfigDict(
|
|
52
57
|
populate_by_name=True,
|
|
@@ -96,6 +101,34 @@ class FacialSimilarityPhotoReport(BaseModel):
|
|
|
96
101
|
if _item_documents:
|
|
97
102
|
_items.append(_item_documents.to_dict())
|
|
98
103
|
_dict['documents'] = _items
|
|
104
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_photos (list)
|
|
105
|
+
_items = []
|
|
106
|
+
if self.live_photos:
|
|
107
|
+
for _item_live_photos in self.live_photos:
|
|
108
|
+
if _item_live_photos:
|
|
109
|
+
_items.append(_item_live_photos.to_dict())
|
|
110
|
+
_dict['live_photos'] = _items
|
|
111
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_videos (list)
|
|
112
|
+
_items = []
|
|
113
|
+
if self.live_videos:
|
|
114
|
+
for _item_live_videos in self.live_videos:
|
|
115
|
+
if _item_live_videos:
|
|
116
|
+
_items.append(_item_live_videos.to_dict())
|
|
117
|
+
_dict['live_videos'] = _items
|
|
118
|
+
# override the default output from pydantic by calling `to_dict()` of each item in motion_captures (list)
|
|
119
|
+
_items = []
|
|
120
|
+
if self.motion_captures:
|
|
121
|
+
for _item_motion_captures in self.motion_captures:
|
|
122
|
+
if _item_motion_captures:
|
|
123
|
+
_items.append(_item_motion_captures.to_dict())
|
|
124
|
+
_dict['motion_captures'] = _items
|
|
125
|
+
# override the default output from pydantic by calling `to_dict()` of each item in id_photos (list)
|
|
126
|
+
_items = []
|
|
127
|
+
if self.id_photos:
|
|
128
|
+
for _item_id_photos in self.id_photos:
|
|
129
|
+
if _item_id_photos:
|
|
130
|
+
_items.append(_item_id_photos.to_dict())
|
|
131
|
+
_dict['id_photos'] = _items
|
|
99
132
|
# override the default output from pydantic by calling `to_dict()` of breakdown
|
|
100
133
|
if self.breakdown:
|
|
101
134
|
_dict['breakdown'] = self.breakdown.to_dict()
|
|
@@ -128,6 +161,10 @@ class FacialSimilarityPhotoReport(BaseModel):
|
|
|
128
161
|
"check_id": obj.get("check_id"),
|
|
129
162
|
"documents": [ReportDocument.from_dict(_item) for _item in obj["documents"]] if obj.get("documents") is not None else None,
|
|
130
163
|
"name": obj.get("name"),
|
|
164
|
+
"live_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_photos"]] if obj.get("live_photos") is not None else None,
|
|
165
|
+
"live_videos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_videos"]] if obj.get("live_videos") is not None else None,
|
|
166
|
+
"motion_captures": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["motion_captures"]] if obj.get("motion_captures") is not None else None,
|
|
167
|
+
"id_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["id_photos"]] if obj.get("id_photos") is not None else None,
|
|
131
168
|
"breakdown": FacialSimilarityPhotoBreakdown.from_dict(obj["breakdown"]) if obj.get("breakdown") is not None else None,
|
|
132
169
|
"properties": FacialSimilarityPhotoProperties.from_dict(obj["properties"]) if obj.get("properties") is not None else None
|
|
133
170
|
})
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Onfido API v3.6
|
|
5
|
+
|
|
6
|
+
The Onfido API (v3.6)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v3.6
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class FacialSimilarityReportMedia(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
FacialSimilarityReportMedia
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
id: StrictStr = Field(description="ID of uploaded biometric media to use.")
|
|
30
|
+
additional_properties: Dict[str, Any] = {}
|
|
31
|
+
__properties: ClassVar[List[str]] = ["id"]
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(
|
|
34
|
+
populate_by_name=True,
|
|
35
|
+
validate_assignment=True,
|
|
36
|
+
protected_namespaces=(),
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of FacialSimilarityReportMedia from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
64
|
+
"""
|
|
65
|
+
excluded_fields: Set[str] = set([
|
|
66
|
+
"additional_properties",
|
|
67
|
+
])
|
|
68
|
+
|
|
69
|
+
_dict = self.model_dump(
|
|
70
|
+
by_alias=True,
|
|
71
|
+
exclude=excluded_fields,
|
|
72
|
+
exclude_none=True,
|
|
73
|
+
)
|
|
74
|
+
# puts key-value pairs in additional_properties in the top level
|
|
75
|
+
if self.additional_properties is not None:
|
|
76
|
+
for _key, _value in self.additional_properties.items():
|
|
77
|
+
_dict[_key] = _value
|
|
78
|
+
|
|
79
|
+
return _dict
|
|
80
|
+
|
|
81
|
+
@classmethod
|
|
82
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
83
|
+
"""Create an instance of FacialSimilarityReportMedia from a dict"""
|
|
84
|
+
if obj is None:
|
|
85
|
+
return None
|
|
86
|
+
|
|
87
|
+
if not isinstance(obj, dict):
|
|
88
|
+
return cls.model_validate(obj)
|
|
89
|
+
|
|
90
|
+
_obj = cls.model_validate({
|
|
91
|
+
"id": obj.get("id")
|
|
92
|
+
})
|
|
93
|
+
# store additional fields in additional_properties
|
|
94
|
+
for _key in obj.keys():
|
|
95
|
+
if _key not in cls.__properties:
|
|
96
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
97
|
+
|
|
98
|
+
return _obj
|
|
99
|
+
|
|
100
|
+
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Onfido API v3.6
|
|
5
|
+
|
|
6
|
+
The Onfido API (v3.6)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v3.6
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from onfido.models.facial_similarity_report_media import FacialSimilarityReportMedia
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class FacialSimilarityReportShared(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
FacialSimilarityReportShared
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
live_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live photo ids that were used in the Onfido engine.")
|
|
31
|
+
live_videos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live video ids that were used in the Onfido engine.")
|
|
32
|
+
motion_captures: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with motion capture ids that were used in the Onfido engine.")
|
|
33
|
+
id_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with id photo ids that were used in the Onfido engine.")
|
|
34
|
+
additional_properties: Dict[str, Any] = {}
|
|
35
|
+
__properties: ClassVar[List[str]] = ["live_photos", "live_videos", "motion_captures", "id_photos"]
|
|
36
|
+
|
|
37
|
+
model_config = ConfigDict(
|
|
38
|
+
populate_by_name=True,
|
|
39
|
+
validate_assignment=True,
|
|
40
|
+
protected_namespaces=(),
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def to_str(self) -> str:
|
|
45
|
+
"""Returns the string representation of the model using alias"""
|
|
46
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
47
|
+
|
|
48
|
+
def to_json(self) -> str:
|
|
49
|
+
"""Returns the JSON representation of the model using alias"""
|
|
50
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
51
|
+
return json.dumps(self.to_dict())
|
|
52
|
+
|
|
53
|
+
@classmethod
|
|
54
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
55
|
+
"""Create an instance of FacialSimilarityReportShared from a JSON string"""
|
|
56
|
+
return cls.from_dict(json.loads(json_str))
|
|
57
|
+
|
|
58
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
59
|
+
"""Return the dictionary representation of the model using alias.
|
|
60
|
+
|
|
61
|
+
This has the following differences from calling pydantic's
|
|
62
|
+
`self.model_dump(by_alias=True)`:
|
|
63
|
+
|
|
64
|
+
* `None` is only added to the output dict for nullable fields that
|
|
65
|
+
were set at model initialization. Other fields with value `None`
|
|
66
|
+
are ignored.
|
|
67
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
68
|
+
"""
|
|
69
|
+
excluded_fields: Set[str] = set([
|
|
70
|
+
"additional_properties",
|
|
71
|
+
])
|
|
72
|
+
|
|
73
|
+
_dict = self.model_dump(
|
|
74
|
+
by_alias=True,
|
|
75
|
+
exclude=excluded_fields,
|
|
76
|
+
exclude_none=True,
|
|
77
|
+
)
|
|
78
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_photos (list)
|
|
79
|
+
_items = []
|
|
80
|
+
if self.live_photos:
|
|
81
|
+
for _item_live_photos in self.live_photos:
|
|
82
|
+
if _item_live_photos:
|
|
83
|
+
_items.append(_item_live_photos.to_dict())
|
|
84
|
+
_dict['live_photos'] = _items
|
|
85
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_videos (list)
|
|
86
|
+
_items = []
|
|
87
|
+
if self.live_videos:
|
|
88
|
+
for _item_live_videos in self.live_videos:
|
|
89
|
+
if _item_live_videos:
|
|
90
|
+
_items.append(_item_live_videos.to_dict())
|
|
91
|
+
_dict['live_videos'] = _items
|
|
92
|
+
# override the default output from pydantic by calling `to_dict()` of each item in motion_captures (list)
|
|
93
|
+
_items = []
|
|
94
|
+
if self.motion_captures:
|
|
95
|
+
for _item_motion_captures in self.motion_captures:
|
|
96
|
+
if _item_motion_captures:
|
|
97
|
+
_items.append(_item_motion_captures.to_dict())
|
|
98
|
+
_dict['motion_captures'] = _items
|
|
99
|
+
# override the default output from pydantic by calling `to_dict()` of each item in id_photos (list)
|
|
100
|
+
_items = []
|
|
101
|
+
if self.id_photos:
|
|
102
|
+
for _item_id_photos in self.id_photos:
|
|
103
|
+
if _item_id_photos:
|
|
104
|
+
_items.append(_item_id_photos.to_dict())
|
|
105
|
+
_dict['id_photos'] = _items
|
|
106
|
+
# puts key-value pairs in additional_properties in the top level
|
|
107
|
+
if self.additional_properties is not None:
|
|
108
|
+
for _key, _value in self.additional_properties.items():
|
|
109
|
+
_dict[_key] = _value
|
|
110
|
+
|
|
111
|
+
return _dict
|
|
112
|
+
|
|
113
|
+
@classmethod
|
|
114
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
115
|
+
"""Create an instance of FacialSimilarityReportShared from a dict"""
|
|
116
|
+
if obj is None:
|
|
117
|
+
return None
|
|
118
|
+
|
|
119
|
+
if not isinstance(obj, dict):
|
|
120
|
+
return cls.model_validate(obj)
|
|
121
|
+
|
|
122
|
+
_obj = cls.model_validate({
|
|
123
|
+
"live_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_photos"]] if obj.get("live_photos") is not None else None,
|
|
124
|
+
"live_videos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_videos"]] if obj.get("live_videos") is not None else None,
|
|
125
|
+
"motion_captures": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["motion_captures"]] if obj.get("motion_captures") is not None else None,
|
|
126
|
+
"id_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["id_photos"]] if obj.get("id_photos") is not None else None
|
|
127
|
+
})
|
|
128
|
+
# store additional fields in additional_properties
|
|
129
|
+
for _key in obj.keys():
|
|
130
|
+
if _key not in cls.__properties:
|
|
131
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
132
|
+
|
|
133
|
+
return _obj
|
|
134
|
+
|
|
135
|
+
|
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
from datetime import datetime
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from onfido.models.facial_similarity_report_media import FacialSimilarityReportMedia
|
|
23
24
|
from onfido.models.facial_similarity_video_breakdown import FacialSimilarityVideoBreakdown
|
|
24
25
|
from onfido.models.facial_similarity_video_properties import FacialSimilarityVideoProperties
|
|
25
26
|
from onfido.models.report_document import ReportDocument
|
|
@@ -43,10 +44,14 @@ class FacialSimilarityVideoReport(BaseModel):
|
|
|
43
44
|
check_id: Optional[StrictStr] = Field(default=None, description="The ID of the check to which the report belongs. Read-only.")
|
|
44
45
|
documents: Optional[List[ReportDocument]] = Field(default=None, description="Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]")
|
|
45
46
|
name: ReportName
|
|
47
|
+
live_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live photo ids that were used in the Onfido engine.")
|
|
48
|
+
live_videos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with live video ids that were used in the Onfido engine.")
|
|
49
|
+
motion_captures: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with motion capture ids that were used in the Onfido engine.")
|
|
50
|
+
id_photos: Optional[List[FacialSimilarityReportMedia]] = Field(default=None, description="Array of objects with id photo ids that were used in the Onfido engine.")
|
|
46
51
|
breakdown: Optional[FacialSimilarityVideoBreakdown] = None
|
|
47
52
|
properties: Optional[FacialSimilarityVideoProperties] = None
|
|
48
53
|
additional_properties: Dict[str, Any] = {}
|
|
49
|
-
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "breakdown", "properties"]
|
|
54
|
+
__properties: ClassVar[List[str]] = ["id", "created_at", "href", "status", "result", "sub_result", "check_id", "documents", "name", "live_photos", "live_videos", "motion_captures", "id_photos", "breakdown", "properties"]
|
|
50
55
|
|
|
51
56
|
model_config = ConfigDict(
|
|
52
57
|
populate_by_name=True,
|
|
@@ -96,6 +101,34 @@ class FacialSimilarityVideoReport(BaseModel):
|
|
|
96
101
|
if _item_documents:
|
|
97
102
|
_items.append(_item_documents.to_dict())
|
|
98
103
|
_dict['documents'] = _items
|
|
104
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_photos (list)
|
|
105
|
+
_items = []
|
|
106
|
+
if self.live_photos:
|
|
107
|
+
for _item_live_photos in self.live_photos:
|
|
108
|
+
if _item_live_photos:
|
|
109
|
+
_items.append(_item_live_photos.to_dict())
|
|
110
|
+
_dict['live_photos'] = _items
|
|
111
|
+
# override the default output from pydantic by calling `to_dict()` of each item in live_videos (list)
|
|
112
|
+
_items = []
|
|
113
|
+
if self.live_videos:
|
|
114
|
+
for _item_live_videos in self.live_videos:
|
|
115
|
+
if _item_live_videos:
|
|
116
|
+
_items.append(_item_live_videos.to_dict())
|
|
117
|
+
_dict['live_videos'] = _items
|
|
118
|
+
# override the default output from pydantic by calling `to_dict()` of each item in motion_captures (list)
|
|
119
|
+
_items = []
|
|
120
|
+
if self.motion_captures:
|
|
121
|
+
for _item_motion_captures in self.motion_captures:
|
|
122
|
+
if _item_motion_captures:
|
|
123
|
+
_items.append(_item_motion_captures.to_dict())
|
|
124
|
+
_dict['motion_captures'] = _items
|
|
125
|
+
# override the default output from pydantic by calling `to_dict()` of each item in id_photos (list)
|
|
126
|
+
_items = []
|
|
127
|
+
if self.id_photos:
|
|
128
|
+
for _item_id_photos in self.id_photos:
|
|
129
|
+
if _item_id_photos:
|
|
130
|
+
_items.append(_item_id_photos.to_dict())
|
|
131
|
+
_dict['id_photos'] = _items
|
|
99
132
|
# override the default output from pydantic by calling `to_dict()` of breakdown
|
|
100
133
|
if self.breakdown:
|
|
101
134
|
_dict['breakdown'] = self.breakdown.to_dict()
|
|
@@ -128,6 +161,10 @@ class FacialSimilarityVideoReport(BaseModel):
|
|
|
128
161
|
"check_id": obj.get("check_id"),
|
|
129
162
|
"documents": [ReportDocument.from_dict(_item) for _item in obj["documents"]] if obj.get("documents") is not None else None,
|
|
130
163
|
"name": obj.get("name"),
|
|
164
|
+
"live_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_photos"]] if obj.get("live_photos") is not None else None,
|
|
165
|
+
"live_videos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["live_videos"]] if obj.get("live_videos") is not None else None,
|
|
166
|
+
"motion_captures": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["motion_captures"]] if obj.get("motion_captures") is not None else None,
|
|
167
|
+
"id_photos": [FacialSimilarityReportMedia.from_dict(_item) for _item in obj["id_photos"]] if obj.get("id_photos") is not None else None,
|
|
131
168
|
"breakdown": FacialSimilarityVideoBreakdown.from_dict(obj["breakdown"]) if obj.get("breakdown") is not None else None,
|
|
132
169
|
"properties": FacialSimilarityVideoProperties.from_dict(obj["properties"]) if obj.get("properties") is not None else None
|
|
133
170
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: onfido-python
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.3.0
|
|
4
4
|
Summary: Python library for the Onfido API
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: OpenAPI Generator community
|
|
@@ -9,10 +9,10 @@ License: MIT
|
|
|
9
9
|
Keywords: OpenAPI,OpenAPI-Generator,onfido,identity
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
License-File: LICENSE
|
|
12
|
-
Requires-Dist: urllib3
|
|
13
|
-
Requires-Dist: python-dateutil
|
|
14
|
-
Requires-Dist: pydantic
|
|
15
|
-
Requires-Dist: typing-extensions
|
|
12
|
+
Requires-Dist: urllib3<3.0.0,>=1.25.3
|
|
13
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
14
|
+
Requires-Dist: pydantic>=2
|
|
15
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
16
16
|
|
|
17
17
|
The Onfido API (v3.6)
|
|
18
18
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
onfido/__init__.py,sha256=
|
|
2
|
-
onfido/api_client.py,sha256=
|
|
1
|
+
onfido/__init__.py,sha256=fUx-3BVUj0CiDpCF2eeFTMkILdO8DQ7gK4nCKN5x_eo,28658
|
|
2
|
+
onfido/api_client.py,sha256=YxjIwJgueAej2Crg0DdJfvE7oRBHC0BT_hsVwxrxFn4,27329
|
|
3
3
|
onfido/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
onfido/configuration.py,sha256=
|
|
4
|
+
onfido/configuration.py,sha256=mBcbaUjn0GPVsmNj7Z3_LuV4mTZdcNH0vai4m-BpSX0,15012
|
|
5
5
|
onfido/exceptions.py,sha256=5W4DJIPVwIzljxoedh5czPXOTBaq6CTTVD92h5ZyN88,5894
|
|
6
6
|
onfido/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
onfido/rest.py,sha256=kI5k8RQ6_BemD6Zx99dJDmr7zwA1mSrHLlba2WwwoMM,9419
|
|
8
8
|
onfido/webhook_event_verifier.py,sha256=3BSbY5D8NTXDbxCX0POuyu5a09dEeWgmikrTe_pttkI,814
|
|
9
9
|
onfido/api/__init__.py,sha256=hqeJm_GD67zukfFQ-H5PPPxYgZZ0DKOMPGTNRAjc3gw,94
|
|
10
10
|
onfido/api/default_api.py,sha256=kWMykJ4nLgi4oYBgLXG88Lm38B6UhMzG1KixOkSJSag,696717
|
|
11
|
-
onfido/models/__init__.py,sha256=
|
|
11
|
+
onfido/models/__init__.py,sha256=Zzg8rYhIMdXSQf5d5C2G15jnbnHWsMHwo0KCp2R5NqU,28006
|
|
12
12
|
onfido/models/address.py,sha256=47oVzKVhn6Qxd24HMIuAQmVKgHPyfOnlFmBnthi2wOE,6812
|
|
13
13
|
onfido/models/address_builder.py,sha256=SjuOn2_T7Yic2l7qhaxd-euaijx85BziRkunp5j292M,6840
|
|
14
14
|
onfido/models/address_shared.py,sha256=WSQNw_W-V63Jgsh1Jf6KYWb4qm-eOW1URx_8r0LBUMk,6836
|
|
@@ -82,9 +82,9 @@ onfido/models/document_breakdown_visual_authenticity_breakdown_template.py,sha25
|
|
|
82
82
|
onfido/models/document_cdq_reasons.py,sha256=1m2qxLuIeC1HKVQim9TLt95l76FDi_rJi0uBYKtd03E,5214
|
|
83
83
|
onfido/models/document_iq_reasons.py,sha256=OKiCuxShiJ4uBrALjsK_Z_z28fnLwPEYev5YV6cDOVc,5392
|
|
84
84
|
onfido/models/document_odp_reasons.py,sha256=RQ6UAGnhkg7hfwOaEqAbuxdjIh2F1QyAhsoIpRsQfN0,3966
|
|
85
|
-
onfido/models/document_properties.py,sha256=
|
|
85
|
+
onfido/models/document_properties.py,sha256=rDILr25GUV-7NWZ8hJ4oIoWjh9zNrQzh6Q4R2kvzPNE,12935
|
|
86
86
|
onfido/models/document_properties_address_lines.py,sha256=KBEQPfyCQNpoA_VjP6vKroWqnOa_sy-G_UnyiBox-jI,3606
|
|
87
|
-
onfido/models/
|
|
87
|
+
onfido/models/document_properties_barcode_inner.py,sha256=FVPy1Gc65ECQDY3cuF8J5jhuUNBceyua0ldUepaGZmA,5150
|
|
88
88
|
onfido/models/document_properties_document_classification.py,sha256=YRa0qNQBNXCPnHJn9_N0lKaXzhVCC-xKPezBBaYR7mU,3400
|
|
89
89
|
onfido/models/document_properties_document_numbers_inner.py,sha256=xUZ4yR2OXisMrBjygBDhJGYySvfdcfc1VEvMLrOqN1k,3198
|
|
90
90
|
onfido/models/document_properties_driving_licence_information.py,sha256=ij5akKUnk_-TZxXeh0jun4IGQf6d4NhmSURHeidjxpA,3486
|
|
@@ -93,12 +93,12 @@ onfido/models/document_properties_nfc.py,sha256=0ToFxpEA45NN6Oy9jpOzmLktJpWLAWhB
|
|
|
93
93
|
onfido/models/document_report.py,sha256=D7KINowcs5CjitSn7K1GYXsDVQpvBBE2PcfjYM8MKQE,5847
|
|
94
94
|
onfido/models/document_response.py,sha256=feTxv5jfkyXhoJaaE4fNlWPWrXqdjRGOYnqqUoMzuMg,3956
|
|
95
95
|
onfido/models/document_shared.py,sha256=LuIYxmnF1T84GCYAxsiFw23_DxXl7T4g37zRt674wek,4617
|
|
96
|
-
onfido/models/document_types.py,sha256=
|
|
96
|
+
onfido/models/document_types.py,sha256=X-9JbFN6coPJ2la6ulpi3uWhekpQd9jP8mXCqKuEzDI,4354
|
|
97
97
|
onfido/models/document_video_report.py,sha256=O_h7vRxsVW0ud76bI6qi4sMZ2edQv5bmd8TJ-3sd3XI,5867
|
|
98
98
|
onfido/models/document_video_with_address_information_report.py,sha256=9fwt5aYlvEviI0Nc98qMPicSLzHfV39k8T_f9qcxEZ8,5955
|
|
99
99
|
onfido/models/document_with_address_information_report.py,sha256=knVGNnCS_9jGCzPCZFWSsn156yWhYUpbQfLQZxRcfN8,5935
|
|
100
100
|
onfido/models/document_with_driver_verification_report.py,sha256=xIYJ7bbrCsw7Nq9ak9uDwLhWaCYwVsR-Brp7KGyLiuE,6073
|
|
101
|
-
onfido/models/document_with_driver_verification_report_all_of_properties.py,sha256=
|
|
101
|
+
onfido/models/document_with_driver_verification_report_all_of_properties.py,sha256=2bgLej5PWYk8JQOkCUewIRA6ckMqfjasBtVXwiaseuo,15825
|
|
102
102
|
onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.py,sha256=xI7noUuOz8MIrJ7iErenQgww2EmgTukpYehLBcC1zZI,3792
|
|
103
103
|
onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.py,sha256=7IYp8uXyMjA2WKyEDkQw_3_ZixPVosy3x7XcXSksXVQ,3866
|
|
104
104
|
onfido/models/document_with_driving_licence_information_report.py,sha256=6V6EtWgSLW5OhXGqNM1J3YvhSyUs-i6_29c3p_3Tae8,5963
|
|
@@ -121,7 +121,7 @@ onfido/models/facial_similarity_motion_breakdown_visual_authenticity.py,sha256=n
|
|
|
121
121
|
onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown.py,sha256=b8PUGQweIBqcTmhRm-QZQF1WihQHKXQmJwZOURPhyGk,4556
|
|
122
122
|
onfido/models/facial_similarity_motion_breakdown_visual_authenticity_breakdown_spoofing_detection.py,sha256=5iNNHe0VrkdX_WCiQeAiLKBwZEvWg6aJGOnkFhQyrjo,3981
|
|
123
123
|
onfido/models/facial_similarity_motion_properties.py,sha256=NArgCwxmUcJzj3ShnztJD6EocBWVsSVVkfnicK-BIcM,3404
|
|
124
|
-
onfido/models/facial_similarity_motion_report.py,sha256=
|
|
124
|
+
onfido/models/facial_similarity_motion_report.py,sha256=rrkDItxxKysnKdZvNjBQhlDbX4cZiO7sa6d-Ss1YWYM,8926
|
|
125
125
|
onfido/models/facial_similarity_photo_breakdown.py,sha256=sBCbOVjQNoz06f9-EE_HmtJLuNcch2wyEvu_8ajMD_A,4788
|
|
126
126
|
onfido/models/facial_similarity_photo_breakdown_face_comparison.py,sha256=ZswMgUh-tXnUUX-symslySgj2MO0Kweh2xA0MVM0LSk,3742
|
|
127
127
|
onfido/models/facial_similarity_photo_breakdown_face_comparison_breakdown.py,sha256=d94WHlgmmKmmjkCUe9juaudKXWTgiioUZEQpkZGeEIc,3692
|
|
@@ -140,9 +140,11 @@ onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity.py,sh
|
|
|
140
140
|
onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown.py,sha256=5jonuB9aIXiq1M0vaUf8l2bizzDnfcb2AYNDIRjQKcc,4496
|
|
141
141
|
onfido/models/facial_similarity_photo_fully_auto_breakdown_image_integrity_breakdown_source_integrity.py,sha256=J9r82MMGVB3pkyAsAVmWHzLrj9CDUpeXKh3E5FktnJ8,3749
|
|
142
142
|
onfido/models/facial_similarity_photo_fully_auto_properties.py,sha256=RAbPf5W0xgFD6B3Qtfd6IvUnZkcXA3wQgpcQ6ifpuwU,3444
|
|
143
|
-
onfido/models/facial_similarity_photo_fully_auto_report.py,sha256=
|
|
143
|
+
onfido/models/facial_similarity_photo_fully_auto_report.py,sha256=W7jlnloT5rfjmqJ4Yc2-fOxsH3Rn6A0Ch6VLg7Oy0hQ,9026
|
|
144
144
|
onfido/models/facial_similarity_photo_properties.py,sha256=LJN-rOA0PsOqW3ugUYEiTJ4gW0BIDtKG-Fa5ehN134Y,3408
|
|
145
|
-
onfido/models/facial_similarity_photo_report.py,sha256=
|
|
145
|
+
onfido/models/facial_similarity_photo_report.py,sha256=eMVLeYaTSI5nbvOMKn_LG37s57K_RbSdO5Q9-BVykMc,8914
|
|
146
|
+
onfido/models/facial_similarity_report_media.py,sha256=tnMc7VS35Dtz_Kg5NR6-rPKqF2VQpfbhHVCRK-3tI4U,3102
|
|
147
|
+
onfido/models/facial_similarity_report_shared.py,sha256=bgpZ04qI7WA3hBJ7rgF3VWZAbYyoPezeW918W4Qy4F4,5893
|
|
146
148
|
onfido/models/facial_similarity_video_breakdown.py,sha256=qZ5f9NL8t2vQNOKQAbv6wiKkRHXzKuePo7qMnpwCjCY,4788
|
|
147
149
|
onfido/models/facial_similarity_video_breakdown_face_comparison.py,sha256=_wQRLy0q2nAcGcQig6vQjlUbxL68tquZbNupRSMVDaQ,3742
|
|
148
150
|
onfido/models/facial_similarity_video_breakdown_image_integrity.py,sha256=JE-aoxWX4xtplWaqW2zIuf8aCrNJtA7b-k6qPR0SqnA,3775
|
|
@@ -154,7 +156,7 @@ onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown.py
|
|
|
154
156
|
onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_liveness_detected.py,sha256=Yux-_82hi3OJT7zDIXiKZ7dnR5cmBsT0IhQFYjFXHf0,3369
|
|
155
157
|
onfido/models/facial_similarity_video_breakdown_visual_authenticity_breakdown_spoofing_detection.py,sha256=RRBNzE6u9YXQ8PmJxOa6kNdWineFm6EEg4qtPGTZcws,3974
|
|
156
158
|
onfido/models/facial_similarity_video_properties.py,sha256=ICtG2ymOwHxDh0yLWeW5D8kvKBw8TJO752w3Vp9msBU,3400
|
|
157
|
-
onfido/models/facial_similarity_video_report.py,sha256
|
|
159
|
+
onfido/models/facial_similarity_video_report.py,sha256=3E9EtYOzfxpQ37PY6nhaj1A4pbC_dEkYuBTSu_m3fmw,8914
|
|
158
160
|
onfido/models/id_number.py,sha256=iOfUgB49KpWxEf6HjEvvx3w2DHBGc-bXRYODzJQHA0Q,3913
|
|
159
161
|
onfido/models/id_photo.py,sha256=MINVgfDRrOPPTZFyL-wYxQvmOHTXs9qKT3rbtMJksro,4085
|
|
160
162
|
onfido/models/id_photo_response.py,sha256=MzNcewhNkp86SNn1JdTyy8yfhR-4m4tnWyIU2-3YA3s,4117
|
|
@@ -297,8 +299,8 @@ onfido/models/workflow_run_request.py,sha256=IGCpkcvqn6kJ2L2nZeuBHNeANqcSUfvx0Ig
|
|
|
297
299
|
onfido/models/workflow_run_response.py,sha256=Ze469zDUWxZMxqIxas6Sjts3EB21z7PhZTfuWgs0Thw,5080
|
|
298
300
|
onfido/models/workflow_run_shared.py,sha256=WP9qLkf79iaJTeK-QxkwzB2MvR4atT3LdZZRmZopPp4,4857
|
|
299
301
|
onfido/models/workflow_run_status.py,sha256=34P9aHn0FEAirtAo64ej00LH4h-3V36ShZG1XbS_hZo,884
|
|
300
|
-
onfido_python-4.
|
|
301
|
-
onfido_python-4.
|
|
302
|
-
onfido_python-4.
|
|
303
|
-
onfido_python-4.
|
|
304
|
-
onfido_python-4.
|
|
302
|
+
onfido_python-4.3.0.dist-info/LICENSE,sha256=SKY_O1OkFX8yNWFuVVfYTsXvN46jsgtff-xReserHw4,1073
|
|
303
|
+
onfido_python-4.3.0.dist-info/METADATA,sha256=daoEZLL5lY_Ydakny5C-7L5__rQRlto6hN_0g3o03cU,486
|
|
304
|
+
onfido_python-4.3.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
305
|
+
onfido_python-4.3.0.dist-info/top_level.txt,sha256=NHu8xI4S4Avh7xUark3dpdk9atpIVgyf-ptjHXU0-Ns,7
|
|
306
|
+
onfido_python-4.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|