Skip to content

Commit e814122

Browse files
Release 1.5.0 (#12)
1 parent 838351a commit e814122

16 files changed

+422
-77
lines changed

.openapi-generator/FILES

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ docs/AccountCreateResponse.md
99
docs/AccountGetResponse.md
1010
docs/AccountResponse.md
1111
docs/AccountResponseQuotas.md
12+
docs/AccountResponseUsage.md
1213
docs/AccountUpdateRequest.md
1314
docs/AccountVerifyRequest.md
1415
docs/AccountVerifyResponse.md
@@ -207,6 +208,7 @@ dropbox_sign/model/account_create_response.py
207208
dropbox_sign/model/account_get_response.py
208209
dropbox_sign/model/account_response.py
209210
dropbox_sign/model/account_response_quotas.py
211+
dropbox_sign/model/account_response_usage.py
210212
dropbox_sign/model/account_update_request.py
211213
dropbox_sign/model/account_verify_request.py
212214
dropbox_sign/model/account_verify_response.py

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Python >=3.7
5050
Install using `pip`:
5151

5252
```shell
53-
python3 -m pip install dropbox-sign==1.4.2
53+
python3 -m pip install dropbox-sign==1.5.0
5454
```
5555

5656
Alternatively:
@@ -171,6 +171,7 @@ All URIs are relative to *https://api.hellosign.com/v3*
171171
- [AccountGetResponse](docs/AccountGetResponse.md)
172172
- [AccountResponse](docs/AccountResponse.md)
173173
- [AccountResponseQuotas](docs/AccountResponseQuotas.md)
174+
- [AccountResponseUsage](docs/AccountResponseUsage.md)
174175
- [AccountUpdateRequest](docs/AccountUpdateRequest.md)
175176
- [AccountVerifyRequest](docs/AccountVerifyRequest.md)
176177
- [AccountVerifyResponse](docs/AccountVerifyResponse.md)
@@ -362,6 +363,6 @@ [email protected]
362363
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
363364

364365
- API version: 3.0.0
365-
- Package version: 1.4.2
366+
- Package version: 1.5.0
366367
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
367368

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.2
1+
1.5.0

docs/AccountResponse.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
| `role_code` | ```str, none_type``` | The membership role for the team. | |
1717
| `team_id` | ```str, none_type``` | The id of the team account belongs to. | |
1818
| `locale` | ```str, none_type``` | The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values. | |
19+
| `usage` | [```AccountResponseUsage```](AccountResponseUsage.md) | | |
1920

2021

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

docs/AccountResponseQuotas.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Details concerning remaining monthly quotas.
1111
| `templates_total` | ```int, none_type``` | Total API templates allowed. | |
1212
| `templates_left` | ```int, none_type``` | API templates remaining. | |
1313
| `sms_verifications_left` | ```int, none_type``` | SMS verifications remaining. | |
14+
| `num_fax_pages_left` | ```int, none_type``` | Number of fax pages left | |
1415

1516

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

docs/AccountResponseUsage.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# AccountResponseUsage
2+
3+
Details concerning monthly usage
4+
5+
## Properties
6+
7+
| Name | Type | Description | Notes |
8+
| ---- | ---- | ----------- | ----- |
9+
| `fax_pages_sent` | ```int, none_type``` | Number of fax pages sent | |
10+
11+
12+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13+
14+

dropbox_sign/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"""
1212

1313

14-
__version__ = "1.4.2"
14+
__version__ = "1.5.0"
1515

1616
# import ApiClient
1717
from dropbox_sign.api_client import ApiClient

dropbox_sign/api_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7777
self.default_headers[header_name] = header_value
7878
self.cookie = cookie
7979
# Set default User-Agent.
80-
self.user_agent = 'OpenAPI-Generator/1.4.2/python'
80+
self.user_agent = 'OpenAPI-Generator/1.5.0/python'
8181

8282
def __enter__(self):
8383
return self

dropbox_sign/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def to_debug_report(self):
413413
"OS: {env}\n"\
414414
"Python Version: {pyversion}\n"\
415415
"Version of the API: 3.0.0\n"\
416-
"SDK Package Version: 1.4.2".\
416+
"SDK Package Version: 1.5.0".\
417417
format(env=sys.platform, pyversion=sys.version)
418418

419419
def get_host_settings(self):

dropbox_sign/model/account_response.py

+15
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,14 @@
3434
from dropbox_sign.exceptions import ApiAttributeError
3535
if TYPE_CHECKING:
3636
from dropbox_sign.model.account_response_quotas import AccountResponseQuotas
37+
from dropbox_sign.model.account_response_usage import AccountResponseUsage
3738

3839

3940
def lazy_import():
4041
from dropbox_sign.model.account_response_quotas import AccountResponseQuotas
42+
from dropbox_sign.model.account_response_usage import AccountResponseUsage
4143
globals()['AccountResponseQuotas'] = AccountResponseQuotas
44+
globals()['AccountResponseUsage'] = AccountResponseUsage
4245

4346

4447
class AccountResponse(ModelNormal):
@@ -104,6 +107,7 @@ def openapi_types():
104107
'role_code': (str, none_type,), # noqa: E501
105108
'team_id': (str, none_type,), # noqa: E501
106109
'locale': (str, none_type,), # noqa: E501
110+
'usage': (AccountResponseUsage,), # noqa: E501
107111
}
108112

109113
@cached_property
@@ -137,6 +141,7 @@ def init(data: any) -> AccountResponse:
137141
'role_code': 'role_code', # noqa: E501
138142
'team_id': 'team_id', # noqa: E501
139143
'locale': 'locale', # noqa: E501
144+
'usage': 'usage', # noqa: E501
140145
}
141146

142147
read_only_vars = {
@@ -224,6 +229,14 @@ def locale(self) -> Optional[str]:
224229
def locale(self, value: Optional[str]):
225230
setattr(self, "locale", value)
226231

232+
@property
233+
def usage(self) -> AccountResponseUsage:
234+
return self.get("usage")
235+
236+
@usage.setter
237+
def usage(self, value: AccountResponseUsage):
238+
setattr(self, "usage", value)
239+
227240
@classmethod
228241
@convert_js_args_to_python_args
229242
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
@@ -270,6 +283,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
270283
role_code (str, none_type): The membership role for the team.. [optional] # noqa: E501
271284
team_id (str, none_type): The id of the team account belongs to.. [optional] # noqa: E501
272285
locale (str, none_type): The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values.. [optional] # noqa: E501
286+
usage (AccountResponseUsage): [optional] # noqa: E501
273287
"""
274288

275289
_check_type = kwargs.pop('_check_type', True)
@@ -361,6 +375,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
361375
role_code (str, none_type): The membership role for the team.. [optional] # noqa: E501
362376
team_id (str, none_type): The id of the team account belongs to.. [optional] # noqa: E501
363377
locale (str, none_type): The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values.. [optional] # noqa: E501
378+
usage (AccountResponseUsage): [optional] # noqa: E501
364379
"""
365380

366381
_check_type = kwargs.pop('_check_type', True)

dropbox_sign/model/account_response_quotas.py

+12
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def openapi_types():
9191
'templates_total': (int, none_type,), # noqa: E501
9292
'templates_left': (int, none_type,), # noqa: E501
9393
'sms_verifications_left': (int, none_type,), # noqa: E501
94+
'num_fax_pages_left': (int, none_type,), # noqa: E501
9495
}
9596

9697
@cached_property
@@ -119,6 +120,7 @@ def init(data: any) -> AccountResponseQuotas:
119120
'templates_total': 'templates_total', # noqa: E501
120121
'templates_left': 'templates_left', # noqa: E501
121122
'sms_verifications_left': 'sms_verifications_left', # noqa: E501
123+
'num_fax_pages_left': 'num_fax_pages_left', # noqa: E501
122124
}
123125

124126
read_only_vars = {
@@ -166,6 +168,14 @@ def sms_verifications_left(self) -> Optional[int]:
166168
def sms_verifications_left(self, value: Optional[int]):
167169
setattr(self, "sms_verifications_left", value)
168170

171+
@property
172+
def num_fax_pages_left(self) -> Optional[int]:
173+
return self.get("num_fax_pages_left")
174+
175+
@num_fax_pages_left.setter
176+
def num_fax_pages_left(self, value: Optional[int]):
177+
setattr(self, "num_fax_pages_left", value)
178+
169179
@classmethod
170180
@convert_js_args_to_python_args
171181
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
@@ -207,6 +217,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
207217
templates_total (int, none_type): Total API templates allowed.. [optional] # noqa: E501
208218
templates_left (int, none_type): API templates remaining.. [optional] # noqa: E501
209219
sms_verifications_left (int, none_type): SMS verifications remaining.. [optional] # noqa: E501
220+
num_fax_pages_left (int, none_type): Number of fax pages left. [optional] # noqa: E501
210221
"""
211222

212223
_check_type = kwargs.pop('_check_type', True)
@@ -293,6 +304,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
293304
templates_total (int, none_type): Total API templates allowed.. [optional] # noqa: E501
294305
templates_left (int, none_type): API templates remaining.. [optional] # noqa: E501
295306
sms_verifications_left (int, none_type): SMS verifications remaining.. [optional] # noqa: E501
307+
num_fax_pages_left (int, none_type): Number of fax pages left. [optional] # noqa: E501
296308
"""
297309

298310
_check_type = kwargs.pop('_check_type', True)

0 commit comments

Comments
 (0)