onfido-python 5.2.0__py3-none-any.whl → 5.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 +1 -1
- onfido/api_client.py +1 -1
- onfido/configuration.py +1 -1
- onfido/models/document_with_driver_verification_report_all_of_properties.py +3 -1
- {onfido_python-5.2.0.dist-info → onfido_python-5.3.0.dist-info}/METADATA +1 -1
- {onfido_python-5.2.0.dist-info → onfido_python-5.3.0.dist-info}/RECORD +9 -9
- {onfido_python-5.2.0.dist-info → onfido_python-5.3.0.dist-info}/WHEEL +0 -0
- {onfido_python-5.2.0.dist-info → onfido_python-5.3.0.dist-info}/licenses/LICENSE +0 -0
- {onfido_python-5.2.0.dist-info → onfido_python-5.3.0.dist-info}/top_level.txt +0 -0
onfido/__init__.py
CHANGED
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/5.
|
|
93
|
+
self.user_agent = 'onfido-python/5.3.0'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
onfido/configuration.py
CHANGED
|
@@ -501,7 +501,7 @@ conf = onfido.Configuration(
|
|
|
501
501
|
"OS: {env}\n"\
|
|
502
502
|
"Python Version: {pyversion}\n"\
|
|
503
503
|
"Version of the API: v3.6\n"\
|
|
504
|
-
"SDK Package Version: 5.
|
|
504
|
+
"SDK Package Version: 5.3.0".\
|
|
505
505
|
format(env=sys.platform, pyversion=sys.version)
|
|
506
506
|
|
|
507
507
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -85,10 +85,11 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
|
|
|
85
85
|
restricted_licence: Optional[StrictBool] = Field(default=None, description="True for **limited/restricted** driving license, including learner's permits")
|
|
86
86
|
raw_licence_category: Optional[StrictStr] = Field(default=None, description="Underlying, non-normalised, licence category (e.g. \"Junior operators license\")")
|
|
87
87
|
raw_vehicle_classes: Optional[StrictStr] = Field(default=None, description="Comma-separated vehicle classes that the user is qualified for")
|
|
88
|
+
manual_transmission_restriction: Optional[StrictBool] = Field(default=None, description="True if the user is not qualified to drive a manual transmission")
|
|
88
89
|
vehicle_class_details: Optional[List[DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner]] = Field(default=None, description="Detailed classes/categories information")
|
|
89
90
|
passenger_vehicle: Optional[DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle] = None
|
|
90
91
|
additional_properties: Dict[str, Any] = {}
|
|
91
|
-
__properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "personal_number", "document_numbers", "document_type", "first_name", "middle_name", "last_name", "gender", "issuing_country", "nationality", "issuing_state", "issuing_date", "categorisation", "mrz_line1", "mrz_line2", "mrz_line3", "address", "place_of_birth", "spouse_name", "widow_name", "alias_name", "issuing_authority", "remarks", "civil_state", "expatriation", "father_name", "mother_name", "religion", "type_of_permit", "version_number", "document_subtype", "profession", "security_document_number", "tax_number", "nist_identity_evidence_strength", "has_issuance_confirmation", "real_id_compliance", "security_tier", "address_lines", "barcode", "nfc", "driving_licence_information", "document_classification", "extracted_data", "drivers_licence", "restricted_licence", "raw_licence_category", "raw_vehicle_classes", "vehicle_class_details", "passenger_vehicle"]
|
|
92
|
+
__properties: ClassVar[List[str]] = ["date_of_birth", "date_of_expiry", "personal_number", "document_numbers", "document_type", "first_name", "middle_name", "last_name", "gender", "issuing_country", "nationality", "issuing_state", "issuing_date", "categorisation", "mrz_line1", "mrz_line2", "mrz_line3", "address", "place_of_birth", "spouse_name", "widow_name", "alias_name", "issuing_authority", "remarks", "civil_state", "expatriation", "father_name", "mother_name", "religion", "type_of_permit", "version_number", "document_subtype", "profession", "security_document_number", "tax_number", "nist_identity_evidence_strength", "has_issuance_confirmation", "real_id_compliance", "security_tier", "address_lines", "barcode", "nfc", "driving_licence_information", "document_classification", "extracted_data", "drivers_licence", "restricted_licence", "raw_licence_category", "raw_vehicle_classes", "manual_transmission_restriction", "vehicle_class_details", "passenger_vehicle"]
|
|
92
93
|
|
|
93
94
|
@field_validator('nist_identity_evidence_strength')
|
|
94
95
|
def nist_identity_evidence_strength_validate_enum(cls, value):
|
|
@@ -270,6 +271,7 @@ class DocumentWithDriverVerificationReportAllOfProperties(BaseModel):
|
|
|
270
271
|
"restricted_licence": obj.get("restricted_licence"),
|
|
271
272
|
"raw_licence_category": obj.get("raw_licence_category"),
|
|
272
273
|
"raw_vehicle_classes": obj.get("raw_vehicle_classes"),
|
|
274
|
+
"manual_transmission_restriction": obj.get("manual_transmission_restriction"),
|
|
273
275
|
"vehicle_class_details": [DocumentWithDriverVerificationReportAllOfPropertiesAllOfVehicleClassDetailsInner.from_dict(_item) for _item in obj["vehicle_class_details"]] if obj.get("vehicle_class_details") is not None else None,
|
|
274
276
|
"passenger_vehicle": DocumentWithDriverVerificationReportAllOfPropertiesAllOfPassengerVehicle.from_dict(obj["passenger_vehicle"]) if obj.get("passenger_vehicle") is not None else None
|
|
275
277
|
})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
onfido/__init__.py,sha256=
|
|
2
|
-
onfido/api_client.py,sha256=
|
|
1
|
+
onfido/__init__.py,sha256=EV7NsMcWGkmeXyLZb6z3iunxE5NsXWREDWOhjmy1694,29014
|
|
2
|
+
onfido/api_client.py,sha256=gPx5NpvHZDfoLeTIuAn7NfxnY6ZiTI2iLbGRZLi0j3A,27336
|
|
3
3
|
onfido/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
onfido/configuration.py,sha256=
|
|
4
|
+
onfido/configuration.py,sha256=XJI4ykYuGZkUesrRffhkkdG5rwcozC21ge2CJi1VjW8,17499
|
|
5
5
|
onfido/exceptions.py,sha256=WeiPD-xpPmBqoLZK859mtLTO5bM8aIsj_oSrkr4bUR4,6393
|
|
6
6
|
onfido/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
onfido/rest.py,sha256=kI5k8RQ6_BemD6Zx99dJDmr7zwA1mSrHLlba2WwwoMM,9419
|
|
@@ -101,7 +101,7 @@ onfido/models/document_video_report.py,sha256=Tn4FmpTstClrDbX2WJWjBi46Bq3asDMSZO
|
|
|
101
101
|
onfido/models/document_video_with_address_information_report.py,sha256=_lY0TXi9XbjLVqzIYBqc9lxP6GSn4MMYpK0iBpSrkyQ,5895
|
|
102
102
|
onfido/models/document_with_address_information_report.py,sha256=zGEpWmcmzURrdDJFWhdJfVB_WdOpaTftdd_00dt7E30,5875
|
|
103
103
|
onfido/models/document_with_driver_verification_report.py,sha256=h7Oi6QXBtksCQjw40VebLNBwDK0ZtibAje-b2VCE89c,6013
|
|
104
|
-
onfido/models/document_with_driver_verification_report_all_of_properties.py,sha256=
|
|
104
|
+
onfido/models/document_with_driver_verification_report_all_of_properties.py,sha256=JNqSzrlsTtGSVUd8cg5n57gbj2YLJnnOfLVPBe7c_Ik,16547
|
|
105
105
|
onfido/models/document_with_driver_verification_report_all_of_properties_all_of_passenger_vehicle.py,sha256=xI7noUuOz8MIrJ7iErenQgww2EmgTukpYehLBcC1zZI,3792
|
|
106
106
|
onfido/models/document_with_driver_verification_report_all_of_properties_all_of_vehicle_class_details_inner.py,sha256=7IYp8uXyMjA2WKyEDkQw_3_ZixPVosy3x7XcXSksXVQ,3866
|
|
107
107
|
onfido/models/document_with_driving_licence_information_report.py,sha256=ZNBwUXWK41K6OMSvaGHZVLZoVVBqRickt7MpbSxjqKA,5903
|
|
@@ -304,8 +304,8 @@ onfido/models/workflow_run_request.py,sha256=IGCpkcvqn6kJ2L2nZeuBHNeANqcSUfvx0Ig
|
|
|
304
304
|
onfido/models/workflow_run_response.py,sha256=Ze469zDUWxZMxqIxas6Sjts3EB21z7PhZTfuWgs0Thw,5080
|
|
305
305
|
onfido/models/workflow_run_shared.py,sha256=WP9qLkf79iaJTeK-QxkwzB2MvR4atT3LdZZRmZopPp4,4857
|
|
306
306
|
onfido/models/workflow_run_status.py,sha256=JCHhcFSLM3aiW-fOve51psGJ0_RS-PI--NnvVNSG3fI,942
|
|
307
|
-
onfido_python-5.
|
|
308
|
-
onfido_python-5.
|
|
309
|
-
onfido_python-5.
|
|
310
|
-
onfido_python-5.
|
|
311
|
-
onfido_python-5.
|
|
307
|
+
onfido_python-5.3.0.dist-info/licenses/LICENSE,sha256=SKY_O1OkFX8yNWFuVVfYTsXvN46jsgtff-xReserHw4,1073
|
|
308
|
+
onfido_python-5.3.0.dist-info/METADATA,sha256=Gk1nWllWFlUDtKNpUPw9OObu3Ya63yklDfbQ4WKC2HY,676
|
|
309
|
+
onfido_python-5.3.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
310
|
+
onfido_python-5.3.0.dist-info/top_level.txt,sha256=NHu8xI4S4Avh7xUark3dpdk9atpIVgyf-ptjHXU0-Ns,7
|
|
311
|
+
onfido_python-5.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|