Skip to content

Commit ca02923

Browse files
Release 1.9.0 (#17)
* Release 1.9.0 * Attempting to locate diff * Removing diff * Add edit&resend to OpenAPI docs, and note that it uses quota * Reduce diff
1 parent abfaae5 commit ca02923

File tree

592 files changed

+14556
-7440
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

592 files changed

+14556
-7440
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ stages:
1414
- pip install -r test-requirements.txt
1515
- pytest --cov=dropbox_sign
1616

17-
pytest-3.7:
18-
extends: .pytest
19-
image: python:3.7-alpine
2017
pytest-3.8:
2118
extends: .pytest
2219
image: python:3.8-alpine
@@ -29,3 +26,6 @@ pytest-3.10:
2926
pytest-3.11:
3027
extends: .pytest
3128
image: python:3.11-alpine
29+
pytest-3.12:
30+
extends: .pytest
31+
image: python:3.12-alpine

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# ref: https://docs.travis-ci.com/user/languages/python
22
language: python
33
python:
4-
- "3.7"
54
- "3.8"
65
- "3.9"
76
- "3.10"
87
- "3.11"
8+
- "3.12"
99
# uncomment the following if needed
10-
#- "3.11-dev" # 3.11 development branch
10+
#- "3.12-dev" # 3.12 development branch
1111
#- "nightly" # nightly build
1212
# command to install dependencies
1313
install:

README.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ this command.
4242

4343
### Requirements.
4444

45-
Python 3.7+
45+
Python 3.8+
4646

4747
### pip
4848

4949
Install using `pip`:
5050

5151
```shell
52-
python3 -m pip install dropbox-sign==1.8.0
52+
python3 -m pip install dropbox-sign==1.9.0
5353
```
5454

5555
Alternatively:
@@ -69,29 +69,30 @@ Please follow the [installation procedure](#installation--usage) and then run th
6969

7070

7171
```python
72+
import json
73+
from datetime import date, datetime
7274
from pprint import pprint
7375

74-
from dropbox_sign import ApiClient, ApiException, Configuration, apis, models
76+
from dropbox_sign import ApiClient, ApiException, Configuration, api, models
7577

7678
configuration = Configuration(
77-
# Configure HTTP basic authorization: api_key
7879
username="YOUR_API_KEY",
79-
# or, configure Bearer (JWT) authorization: oauth2
8080
# access_token="YOUR_ACCESS_TOKEN",
8181
)
8282

8383
with ApiClient(configuration) as api_client:
84-
account_api = apis.AccountApi(api_client)
85-
86-
data = models.AccountCreateRequest(
84+
account_create_request = models.AccountCreateRequest(
8785
email_address="[email protected]",
8886
)
8987

9088
try:
91-
response = account_api.account_create(data)
89+
response = api.AccountApi(api_client).account_create(
90+
account_create_request=account_create_request,
91+
)
92+
9293
pprint(response)
9394
except ApiException as e:
94-
print("Exception when calling Dropbox Sign API: %s\n" % e)
95+
print("Exception when calling AccountApi#account_create: %s\n" % e)
9596

9697
```
9798

@@ -116,7 +117,7 @@ Class | Method | HTTP request | Description
116117
|```EmbeddedApi``` | [```embedded_edit_url```](docs/EmbeddedApi.md#embedded_edit_url) | ```POST /embedded/edit_url/{template_id}``` | Get Embedded Template Edit URL|
117118
```EmbeddedApi``` | [```embedded_sign_url```](docs/EmbeddedApi.md#embedded_sign_url) | ```GET /embedded/sign_url/{signature_id}``` | Get Embedded Sign URL|
118119
|```FaxApi``` | [```fax_delete```](docs/FaxApi.md#fax_delete) | ```DELETE /fax/{fax_id}``` | Delete Fax|
119-
```FaxApi``` | [```fax_files```](docs/FaxApi.md#fax_files) | ```GET /fax/files/{fax_id}``` | List Fax Files|
120+
```FaxApi``` | [```fax_files```](docs/FaxApi.md#fax_files) | ```GET /fax/files/{fax_id}``` | Download Fax Files|
120121
```FaxApi``` | [```fax_get```](docs/FaxApi.md#fax_get) | ```GET /fax/{fax_id}``` | Get Fax|
121122
```FaxApi``` | [```fax_list```](docs/FaxApi.md#fax_list) | ```GET /fax/list``` | Lists Faxes|
122123
```FaxApi``` | [```fax_send```](docs/FaxApi.md#fax_send) | ```POST /fax/send``` | Send Fax|
@@ -135,6 +136,10 @@ Class | Method | HTTP request | Description
135136
```SignatureRequestApi``` | [```signature_request_cancel```](docs/SignatureRequestApi.md#signature_request_cancel) | ```POST /signature_request/cancel/{signature_request_id}``` | Cancel Incomplete Signature Request|
136137
```SignatureRequestApi``` | [```signature_request_create_embedded```](docs/SignatureRequestApi.md#signature_request_create_embedded) | ```POST /signature_request/create_embedded``` | Create Embedded Signature Request|
137138
```SignatureRequestApi``` | [```signature_request_create_embedded_with_template```](docs/SignatureRequestApi.md#signature_request_create_embedded_with_template) | ```POST /signature_request/create_embedded_with_template``` | Create Embedded Signature Request with Template|
139+
```SignatureRequestApi``` | [```signature_request_edit```](docs/SignatureRequestApi.md#signature_request_edit) | ```PUT /signature_request/edit/{signature_request_id}``` | Edit Signature Request|
140+
```SignatureRequestApi``` | [```signature_request_edit_embedded```](docs/SignatureRequestApi.md#signature_request_edit_embedded) | ```PUT /signature_request/edit_embedded/{signature_request_id}``` | Edit Embedded Signature Request|
141+
```SignatureRequestApi``` | [```signature_request_edit_embedded_with_template```](docs/SignatureRequestApi.md#signature_request_edit_embedded_with_template) | ```PUT /signature_request/edit_embedded_with_template/{signature_request_id}``` | Edit Embedded Signature Request with Template|
142+
```SignatureRequestApi``` | [```signature_request_edit_with_template```](docs/SignatureRequestApi.md#signature_request_edit_with_template) | ```PUT /signature_request/edit_with_template/{signature_request_id}``` | Edit Signature Request With Template|
138143
```SignatureRequestApi``` | [```signature_request_files```](docs/SignatureRequestApi.md#signature_request_files) | ```GET /signature_request/files/{signature_request_id}``` | Download Files|
139144
```SignatureRequestApi``` | [```signature_request_files_as_data_uri```](docs/SignatureRequestApi.md#signature_request_files_as_data_uri) | ```GET /signature_request/files_as_data_uri/{signature_request_id}``` | Download Files as Data Uri|
140145
```SignatureRequestApi``` | [```signature_request_files_as_file_url```](docs/SignatureRequestApi.md#signature_request_files_as_file_url) | ```GET /signature_request/files_as_file_url/{signature_request_id}``` | Download Files as File Url|
@@ -238,6 +243,10 @@ Class | Method | HTTP request | Description
238243
- [SignatureRequestBulkSendWithTemplateRequest](docs/SignatureRequestBulkSendWithTemplateRequest.md)
239244
- [SignatureRequestCreateEmbeddedRequest](docs/SignatureRequestCreateEmbeddedRequest.md)
240245
- [SignatureRequestCreateEmbeddedWithTemplateRequest](docs/SignatureRequestCreateEmbeddedWithTemplateRequest.md)
246+
- [SignatureRequestEditEmbeddedRequest](docs/SignatureRequestEditEmbeddedRequest.md)
247+
- [SignatureRequestEditEmbeddedWithTemplateRequest](docs/SignatureRequestEditEmbeddedWithTemplateRequest.md)
248+
- [SignatureRequestEditRequest](docs/SignatureRequestEditRequest.md)
249+
- [SignatureRequestEditWithTemplateRequest](docs/SignatureRequestEditWithTemplateRequest.md)
241250
- [SignatureRequestGetResponse](docs/SignatureRequestGetResponse.md)
242251
- [SignatureRequestListResponse](docs/SignatureRequestListResponse.md)
243252
- [SignatureRequestRemindRequest](docs/SignatureRequestRemindRequest.md)
@@ -391,6 +400,6 @@ [email protected]
391400
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
392401

393402
- API version: 3.0.0
394-
- Package version: 1.8.0
403+
- Package version: 1.9.0
395404
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
396405

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.8.0
1+
1.9.0

bin/check-clean-git-status

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ if [[ $(git status --porcelain) != '' ]]; then
77
printf "\t./run-build\n"
88

99
git status
10+
git diff
1011

1112
exit 1
1213
else

bin/generate-examples.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,4 +271,3 @@ protected function getReplaceCodeString(
271271
$generate->setUseSnakeCase(true);
272272

273273
$generate->run();
274-

bin/replace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ rep () {
2323
done
2424
}
2525

26-
rep 'Union\[StrictBytes, StrictStr\]' 'Union[StrictBytes, StrictStr, io.IOBase]'
26+
rep 'Union\[StrictBytes, StrictStr, Tuple\[StrictStr, StrictBytes\]\]' 'Union[StrictBytes, StrictStr, io.IOBase, Tuple[StrictStr, StrictBytes, io.IOBase]]'
2727

2828
printf "\n"

docs/AccountApi.md

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,30 @@ Creates a new Dropbox Sign Account that is associated with the specified `email_
2323
* Bearer (JWT) Authentication (oauth2):
2424

2525
```python
26+
import json
27+
from datetime import date, datetime
2628
from pprint import pprint
2729

28-
from dropbox_sign import ApiClient, ApiException, Configuration, apis, models
30+
from dropbox_sign import ApiClient, ApiException, Configuration, api, models
2931

3032
configuration = Configuration(
31-
# Configure HTTP basic authorization: api_key
3233
username="YOUR_API_KEY",
33-
# or, configure Bearer (JWT) authorization: oauth2
3434
# access_token="YOUR_ACCESS_TOKEN",
3535
)
3636

3737
with ApiClient(configuration) as api_client:
38-
account_api = apis.AccountApi(api_client)
39-
40-
data = models.AccountCreateRequest(
38+
account_create_request = models.AccountCreateRequest(
4139
email_address="[email protected]",
4240
)
4341

4442
try:
45-
response = account_api.account_create(data)
43+
response = api.AccountApi(api_client).account_create(
44+
account_create_request=account_create_request,
45+
)
46+
4647
pprint(response)
4748
except ApiException as e:
48-
print("Exception when calling Dropbox Sign API: %s\n" % e)
49+
print("Exception when calling AccountApi#account_create: %s\n" % e)
4950

5051
```
5152
```
@@ -90,25 +91,24 @@ Returns the properties and settings of your Account.
9091
* Bearer (JWT) Authentication (oauth2):
9192
9293
```python
94+
import json
95+
from datetime import date, datetime
9396
from pprint import pprint
9497
95-
from dropbox_sign import ApiClient, ApiException, Configuration, apis
98+
from dropbox_sign import ApiClient, ApiException, Configuration, api, models
9699
97100
configuration = Configuration(
98-
# Configure HTTP basic authorization: api_key
99101
username="YOUR_API_KEY",
100-
# or, configure Bearer (JWT) authorization: oauth2
101102
# access_token="YOUR_ACCESS_TOKEN",
102103
)
103104
104105
with ApiClient(configuration) as api_client:
105-
account_api = apis.AccountApi(api_client)
106-
107106
try:
108-
response = account_api.account_get(email_address="[email protected]")
107+
response = api.AccountApi(api_client).account_get()
108+
109109
pprint(response)
110110
except ApiException as e:
111-
print("Exception when calling Dropbox Sign API: %s\n" % e)
111+
print("Exception when calling AccountApi#account_get: %s\n" % e)
112112
113113
```
114114
```
@@ -154,29 +154,31 @@ Updates the properties and settings of your Account. Currently only allows for u
154154
* Bearer (JWT) Authentication (oauth2):
155155
156156
```python
157+
import json
158+
from datetime import date, datetime
157159
from pprint import pprint
158160
159-
from dropbox_sign import ApiClient, ApiException, Configuration, apis, models
161+
from dropbox_sign import ApiClient, ApiException, Configuration, api, models
160162
161163
configuration = Configuration(
162-
# Configure HTTP basic authorization: api_key
163164
username="YOUR_API_KEY",
164-
# or, configure Bearer (JWT) authorization: oauth2
165165
# access_token="YOUR_ACCESS_TOKEN",
166166
)
167167
168168
with ApiClient(configuration) as api_client:
169-
account_api = apis.AccountApi(api_client)
170-
171-
data = models.AccountUpdateRequest(
169+
account_update_request = models.AccountUpdateRequest(
172170
callback_url="https://www.example.com/callback",
171+
locale="en-US",
173172
)
174173
175174
try:
176-
response = account_api.account_update(data)
175+
response = api.AccountApi(api_client).account_update(
176+
account_update_request=account_update_request,
177+
)
178+
177179
pprint(response)
178180
except ApiException as e:
179-
print("Exception when calling Dropbox Sign API: %s\n" % e)
181+
print("Exception when calling AccountApi#account_update: %s\n" % e)
180182
181183
```
182184
```
@@ -221,29 +223,30 @@ Verifies whether an Dropbox Sign Account exists for the given email address.
221223
* Bearer (JWT) Authentication (oauth2):
222224
223225
```python
226+
import json
227+
from datetime import date, datetime
224228
from pprint import pprint
225229
226-
from dropbox_sign import ApiClient, ApiException, Configuration, apis, models
230+
from dropbox_sign import ApiClient, ApiException, Configuration, api, models
227231
228232
configuration = Configuration(
229-
# Configure HTTP basic authorization: api_key
230233
username="YOUR_API_KEY",
231-
# or, configure Bearer (JWT) authorization: oauth2
232234
# access_token="YOUR_ACCESS_TOKEN",
233235
)
234236
235237
with ApiClient(configuration) as api_client:
236-
account_api = apis.AccountApi(api_client)
237-
238-
data = models.AccountVerifyRequest(
238+
account_verify_request = models.AccountVerifyRequest(
239239
email_address="[email protected]",
240240
)
241241
242242
try:
243-
response = account_api.account_verify(data)
243+
response = api.AccountApi(api_client).account_verify(
244+
account_verify_request=account_verify_request,
245+
)
246+
244247
pprint(response)
245248
except ApiException as e:
246-
print("Exception when calling Dropbox Sign API: %s\n" % e)
249+
print("Exception when calling AccountApi#account_verify: %s\n" % e)
247250
248251
```
249252
```

docs/AccountCreateRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ Name | Type | Description | Notes
1212

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

15+

docs/AccountCreateResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ Name | Type | Description | Notes
1111

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

14+

0 commit comments

Comments
 (0)