Skip to content
This repository was archived by the owner on Nov 16, 2021. It is now read-only.

Commit ac7fbc6

Browse files
author
Engineering at Onfido
committed
New client release: 4.3.0
1 parent 8afc884 commit ac7fbc6

File tree

7 files changed

+95
-8
lines changed

7 files changed

+95
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The Onfido API is used to submit check requests.
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 2.0.0
7-
- Package version: 4.2.0
7+
- Package version: 4.3.0
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

docs/Address.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Name | Type | Description | Notes
1414
**start_date** | **date** | The date the applicant started living at this address | [optional]
1515
**end_date** | **date** | The date the applicant left this address. If current residence, leave null | [optional]
1616
**state** | **str** | The address state. US states must use the USPS abbreviation (see also ISO 3166-2:US), for example AK, CA, or TX. | [optional]
17+
**line1** | **str** | Line 1 of the applicant's address | [optional]
18+
**line2** | **str** | Line 2 of the applicant's address | [optional]
19+
**line3** | **str** | Line 3 of the applicant's address | [optional]
1720

1821
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1922

onfido/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from __future__ import absolute_import
1616

17-
__version__ = "4.2.0"
17+
__version__ = "4.3.0"
1818

1919
# import apis into sdk package
2020
from onfido.api.default_api import DefaultApi

onfido/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7575
self.default_headers[header_name] = header_value
7676
self.cookie = cookie
7777
# Set default User-Agent.
78-
self.user_agent = 'OpenAPI-Generator/4.2.0/python'
78+
self.user_agent = 'OpenAPI-Generator/4.3.0/python'
7979

8080
def __del__(self):
8181
if self._pool:

onfido/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def to_debug_report(self):
229229
"OS: {env}\n"\
230230
"Python Version: {pyversion}\n"\
231231
"Version of the API: 2.0.0\n"\
232-
"SDK Package Version: 4.2.0".\
232+
"SDK Package Version: 4.3.0".\
233233
format(env=sys.platform, pyversion=sys.version)
234234

235235
def get_host_settings(self):

onfido/models/address.py

Lines changed: 87 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ class Address(object):
4141
'country': 'str',
4242
'start_date': 'date',
4343
'end_date': 'date',
44-
'state': 'str'
44+
'state': 'str',
45+
'line1': 'str',
46+
'line2': 'str',
47+
'line3': 'str'
4548
}
4649

4750
attribute_map = {
@@ -55,10 +58,13 @@ class Address(object):
5558
'country': 'country',
5659
'start_date': 'start_date',
5760
'end_date': 'end_date',
58-
'state': 'state'
61+
'state': 'state',
62+
'line1': 'line1',
63+
'line2': 'line2',
64+
'line3': 'line3'
5965
}
6066

61-
def __init__(self, flat_number=None, building_number=None, building_name=None, street=None, sub_street=None, town=None, postcode=None, country=None, start_date=None, end_date=None, state=None): # noqa: E501
67+
def __init__(self, flat_number=None, building_number=None, building_name=None, street=None, sub_street=None, town=None, postcode=None, country=None, start_date=None, end_date=None, state=None, line1=None, line2=None, line3=None): # noqa: E501
6268
"""Address - a model defined in OpenAPI""" # noqa: E501
6369

6470
self._flat_number = None
@@ -72,6 +78,9 @@ def __init__(self, flat_number=None, building_number=None, building_name=None, s
7278
self._start_date = None
7379
self._end_date = None
7480
self._state = None
81+
self._line1 = None
82+
self._line2 = None
83+
self._line3 = None
7584
self.discriminator = None
7685

7786
if flat_number is not None:
@@ -96,6 +105,12 @@ def __init__(self, flat_number=None, building_number=None, building_name=None, s
96105
self.end_date = end_date
97106
if state is not None:
98107
self.state = state
108+
if line1 is not None:
109+
self.line1 = line1
110+
if line2 is not None:
111+
self.line2 = line2
112+
if line3 is not None:
113+
self.line3 = line3
99114

100115
@property
101116
def flat_number(self):
@@ -350,6 +365,75 @@ def state(self, state):
350365

351366
self._state = state
352367

368+
@property
369+
def line1(self):
370+
"""Gets the line1 of this Address. # noqa: E501
371+
372+
Line 1 of the applicant's address # noqa: E501
373+
374+
:return: The line1 of this Address. # noqa: E501
375+
:rtype: str
376+
"""
377+
return self._line1
378+
379+
@line1.setter
380+
def line1(self, line1):
381+
"""Sets the line1 of this Address.
382+
383+
Line 1 of the applicant's address # noqa: E501
384+
385+
:param line1: The line1 of this Address. # noqa: E501
386+
:type: str
387+
"""
388+
389+
self._line1 = line1
390+
391+
@property
392+
def line2(self):
393+
"""Gets the line2 of this Address. # noqa: E501
394+
395+
Line 2 of the applicant's address # noqa: E501
396+
397+
:return: The line2 of this Address. # noqa: E501
398+
:rtype: str
399+
"""
400+
return self._line2
401+
402+
@line2.setter
403+
def line2(self, line2):
404+
"""Sets the line2 of this Address.
405+
406+
Line 2 of the applicant's address # noqa: E501
407+
408+
:param line2: The line2 of this Address. # noqa: E501
409+
:type: str
410+
"""
411+
412+
self._line2 = line2
413+
414+
@property
415+
def line3(self):
416+
"""Gets the line3 of this Address. # noqa: E501
417+
418+
Line 3 of the applicant's address # noqa: E501
419+
420+
:return: The line3 of this Address. # noqa: E501
421+
:rtype: str
422+
"""
423+
return self._line3
424+
425+
@line3.setter
426+
def line3(self, line3):
427+
"""Sets the line3 of this Address.
428+
429+
Line 3 of the applicant's address # noqa: E501
430+
431+
:param line3: The line3 of this Address. # noqa: E501
432+
:type: str
433+
"""
434+
435+
self._line3 = line3
436+
353437
def to_dict(self):
354438
"""Returns the model properties as a dict"""
355439
result = {}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from setuptools import setup, find_packages # noqa: H301
1414

1515
NAME = "onfido"
16-
VERSION = "4.2.0"
16+
VERSION = "4.3.0"
1717
# To install the library, run the following
1818
#
1919
# python setup.py install

0 commit comments

Comments
 (0)