Skip to content

Commit abfaae5

Browse files
Release 1.8.0 (#16)
1 parent 43a1d8a commit abfaae5

Some content is hidden

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

41 files changed

+219
-72
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Python 3.7+
4949
Install using `pip`:
5050

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

5555
Alternatively:
@@ -391,6 +391,6 @@ [email protected]
391391
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
392392

393393
- API version: 3.0.0
394-
- Package version: 1.7.0
394+
- Package version: 1.8.0
395395
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
396396

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.0
1+
1.8.0

docs/BulkSendJobGetResponseSignatureRequests.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
1212
| `original_title` | ```str``` | Default Label for account. | |
1313
| `subject` | ```str``` | The subject in the email that was initially sent to the signers. | |
1414
| `message` | ```str``` | The custom message in the email that was initially sent to the signers. | |
15-
| `metadata` | ```object``` | The metadata attached to the signature request. | |
15+
| `metadata` | ```Dict[str, object]``` | The metadata attached to the signature request. | |
1616
| `created_at` | ```int``` | Time the signature request was created. | |
1717
| `expires_at` | ```int``` | The time when the signature request will expire unsigned signatures. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | |
1818
| `is_complete` | ```bool``` | Whether or not the SignatureRequest has been fully executed by all signers. | |

docs/FaxResponse.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ Name | Type | Description | Notes
88
| `fax_id`<sup>*_required_</sup> | ```str``` | Fax ID | |
99
| `title`<sup>*_required_</sup> | ```str``` | Fax Title | |
1010
| `original_title`<sup>*_required_</sup> | ```str``` | Fax Original Title | |
11-
| `subject`<sup>*_required_</sup> | ```str``` | Fax Subject | |
12-
| `message`<sup>*_required_</sup> | ```str``` | Fax Message | |
1311
| `metadata`<sup>*_required_</sup> | ```Dict[str, object]``` | Fax Metadata | |
1412
| `created_at`<sup>*_required_</sup> | ```int``` | Fax Created At Timestamp | |
1513
| `sender`<sup>*_required_</sup> | ```str``` | Fax Sender Email | |
16-
| `transmissions`<sup>*_required_</sup> | [```List[FaxResponseTransmission]```](FaxResponseTransmission.md) | Fax Transmissions List | |
1714
| `files_url`<sup>*_required_</sup> | ```str``` | Fax Files URL | |
15+
| `transmissions`<sup>*_required_</sup> | [```List[FaxResponseTransmission]```](FaxResponseTransmission.md) | Fax Transmissions List | |
16+
| `subject` | ```str``` | Fax Subject | |
17+
| `message` | ```str``` | Fax Message | |
18+
| `final_copy_uri` | ```str``` | The path where the completed document can be downloaded | |
1819

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

docs/FaxResponseTransmission.md

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
| `recipient`<sup>*_required_</sup> | ```str``` | Fax Transmission Recipient | |
9-
| `sender`<sup>*_required_</sup> | ```str``` | Fax Transmission Sender | |
109
| `status_code`<sup>*_required_</sup> | ```str``` | Fax Transmission Status Code | |
1110
| `sent_at` | ```int``` | Fax Transmission Sent Timestamp | |
1211

docs/SignatureRequestResponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
1212
| `original_title` | ```str``` | Default Label for account. | |
1313
| `subject` | ```str``` | The subject in the email that was initially sent to the signers. | |
1414
| `message` | ```str``` | The custom message in the email that was initially sent to the signers. | |
15-
| `metadata` | ```object``` | The metadata attached to the signature request. | |
15+
| `metadata` | ```Dict[str, object]``` | The metadata attached to the signature request. | |
1616
| `created_at` | ```int``` | Time the signature request was created. | |
1717
| `expires_at` | ```int``` | The time when the signature request will expire unsigned signatures. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | |
1818
| `is_complete` | ```bool``` | Whether or not the SignatureRequest has been fully executed by all signers. | |

docs/SignatureRequestResponseDataValueInitials.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
| `type` | ```str``` | An input field for initials | [default to 'initials'] |
99
| `value` | ```str``` | The value of the form field. | |
10+
| `is_signed` | ```bool``` | This field contains the boolean true if the field is signed. | |
1011

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

docs/SignatureRequestResponseDataValueSignature.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
| `type` | ```str``` | A signature input field | [default to 'signature'] |
99
| `value` | ```str``` | The value of the form field. | |
10+
| `is_signed` | ```bool``` | This field contains the boolean true if the field is signed. | |
1011

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

docs/TemplateResponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
1313
| `is_creator` | ```bool``` | `true` if you are the owner of this template, `false` if it&#39;s been shared with you by a team member. | |
1414
| `can_edit` | ```bool``` | Indicates whether edit rights have been granted to you by the owner (always `true` if that&#39;s you). | |
1515
| `is_locked` | ```bool``` | Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests. | |
16-
| `metadata` | ```object``` | The metadata attached to the template. | |
16+
| `metadata` | ```Dict[str, object]``` | The metadata attached to the template. | |
1717
| `signer_roles` | [```List[TemplateResponseSignerRole]```](TemplateResponseSignerRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | |
1818
| `cc_roles` | [```List[TemplateResponseCCRole]```](TemplateResponseCCRole.md) | An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. | |
1919
| `documents` | [```List[TemplateResponseDocument]```](TemplateResponseDocument.md) | An array describing each document associated with this Template. Includes form field data for each document. | |

dropbox_sign/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
""" # noqa: E501
1616

1717

18-
__version__ = "1.7.0"
18+
__version__ = "1.8.0"
1919

2020
# import apis into sdk package
2121
from dropbox_sign.apis import *

dropbox_sign/api_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def __init__(
8989
self.default_headers[header_name] = header_value
9090
self.cookie = cookie
9191
# Set default User-Agent.
92-
self.user_agent = "OpenAPI-Generator/1.7.0/python"
92+
self.user_agent = "OpenAPI-Generator/1.8.0/python"
9393
self.client_side_validation = configuration.client_side_validation
9494

9595
def __enter__(self):

dropbox_sign/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def to_debug_report(self):
432432
"OS: {env}\n"
433433
"Python Version: {pyversion}\n"
434434
"Version of the API: 3.0.0\n"
435-
"SDK Version: 1.7.0".format(env=sys.platform, pyversion=sys.version)
435+
"SDK Version: 1.8.0".format(env=sys.platform, pyversion=sys.version)
436436
)
437437

438438
def get_host_settings(self):

dropbox_sign/models/bulk_send_job_get_response_signature_requests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def openapi_types(cls) -> Dict[str, str]:
335335
"original_title": "(str,)",
336336
"subject": "(str,)",
337337
"message": "(str,)",
338-
"metadata": "(object,)",
338+
"metadata": "(Dict[str, object],)",
339339
"created_at": "(int,)",
340340
"expires_at": "(int,)",
341341
"is_complete": "(bool,)",

dropbox_sign/models/fax_response.py

+20-13
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import json
2020

2121
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
22-
from typing import Any, ClassVar, Dict, List
22+
from typing import Any, ClassVar, Dict, List, Optional
2323
from dropbox_sign.models.fax_response_transmission import FaxResponseTransmission
2424
from typing import Optional, Set, Tuple
2525
from typing_extensions import Self
@@ -36,26 +36,31 @@ class FaxResponse(BaseModel):
3636
fax_id: StrictStr = Field(description="Fax ID")
3737
title: StrictStr = Field(description="Fax Title")
3838
original_title: StrictStr = Field(description="Fax Original Title")
39-
subject: StrictStr = Field(description="Fax Subject")
40-
message: StrictStr = Field(description="Fax Message")
4139
metadata: Dict[str, Any] = Field(description="Fax Metadata")
4240
created_at: StrictInt = Field(description="Fax Created At Timestamp")
4341
sender: StrictStr = Field(description="Fax Sender Email")
42+
files_url: StrictStr = Field(description="Fax Files URL")
4443
transmissions: List[FaxResponseTransmission] = Field(
4544
description="Fax Transmissions List"
4645
)
47-
files_url: StrictStr = Field(description="Fax Files URL")
46+
subject: Optional[StrictStr] = Field(default=None, description="Fax Subject")
47+
message: Optional[StrictStr] = Field(default=None, description="Fax Message")
48+
final_copy_uri: Optional[StrictStr] = Field(
49+
default=None,
50+
description="The path where the completed document can be downloaded",
51+
)
4852
__properties: ClassVar[List[str]] = [
4953
"fax_id",
5054
"title",
5155
"original_title",
52-
"subject",
53-
"message",
5456
"metadata",
5557
"created_at",
5658
"sender",
57-
"transmissions",
5859
"files_url",
60+
"transmissions",
61+
"subject",
62+
"message",
63+
"final_copy_uri",
5964
]
6065

6166
model_config = ConfigDict(
@@ -131,11 +136,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
131136
"fax_id": obj.get("fax_id"),
132137
"title": obj.get("title"),
133138
"original_title": obj.get("original_title"),
134-
"subject": obj.get("subject"),
135-
"message": obj.get("message"),
136139
"metadata": obj.get("metadata"),
137140
"created_at": obj.get("created_at"),
138141
"sender": obj.get("sender"),
142+
"files_url": obj.get("files_url"),
139143
"transmissions": (
140144
[
141145
FaxResponseTransmission.from_dict(_item)
@@ -144,7 +148,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
144148
if obj.get("transmissions") is not None
145149
else None
146150
),
147-
"files_url": obj.get("files_url"),
151+
"subject": obj.get("subject"),
152+
"message": obj.get("message"),
153+
"final_copy_uri": obj.get("final_copy_uri"),
148154
}
149155
)
150156
return _obj
@@ -165,13 +171,14 @@ def openapi_types(cls) -> Dict[str, str]:
165171
"fax_id": "(str,)",
166172
"title": "(str,)",
167173
"original_title": "(str,)",
168-
"subject": "(str,)",
169-
"message": "(str,)",
170174
"metadata": "(Dict[str, object],)",
171175
"created_at": "(int,)",
172176
"sender": "(str,)",
173-
"transmissions": "(List[FaxResponseTransmission],)",
174177
"files_url": "(str,)",
178+
"transmissions": "(List[FaxResponseTransmission],)",
179+
"subject": "(str,)",
180+
"message": "(str,)",
181+
"final_copy_uri": "(str,)",
175182
}
176183

177184
@classmethod

dropbox_sign/models/fax_response_transmission.py

+1-9
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,11 @@ class FaxResponseTransmission(BaseModel):
3333
""" # noqa: E501
3434

3535
recipient: StrictStr = Field(description="Fax Transmission Recipient")
36-
sender: StrictStr = Field(description="Fax Transmission Sender")
3736
status_code: StrictStr = Field(description="Fax Transmission Status Code")
3837
sent_at: Optional[StrictInt] = Field(
3938
default=None, description="Fax Transmission Sent Timestamp"
4039
)
41-
__properties: ClassVar[List[str]] = [
42-
"recipient",
43-
"sender",
44-
"status_code",
45-
"sent_at",
46-
]
40+
__properties: ClassVar[List[str]] = ["recipient", "status_code", "sent_at"]
4741

4842
@field_validator("status_code")
4943
def status_code_validate_enum(cls, value):
@@ -129,7 +123,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
129123
_obj = cls.model_validate(
130124
{
131125
"recipient": obj.get("recipient"),
132-
"sender": obj.get("sender"),
133126
"status_code": obj.get("status_code"),
134127
"sent_at": obj.get("sent_at"),
135128
}
@@ -150,7 +143,6 @@ def init(cls, data: Any) -> Self:
150143
def openapi_types(cls) -> Dict[str, str]:
151144
return {
152145
"recipient": "(str,)",
153-
"sender": "(str,)",
154146
"status_code": "(str,)",
155147
"sent_at": "(int,)",
156148
}

dropbox_sign/models/signature_request_response.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def openapi_types(cls) -> Dict[str, str]:
336336
"original_title": "(str,)",
337337
"subject": "(str,)",
338338
"message": "(str,)",
339-
"metadata": "(object,)",
339+
"metadata": "(Dict[str, object],)",
340340
"created_at": "(int,)",
341341
"expires_at": "(int,)",
342342
"is_complete": "(bool,)",

dropbox_sign/models/signature_request_response_data_value_initials.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import re # noqa: F401
1919
import json
2020

21-
from pydantic import ConfigDict, Field, StrictStr
21+
from pydantic import ConfigDict, Field, StrictBool, StrictStr
2222
from typing import Any, ClassVar, Dict, List, Optional
2323
from dropbox_sign.models.signature_request_response_data_base import (
2424
SignatureRequestResponseDataBase,
@@ -41,13 +41,18 @@ class SignatureRequestResponseDataValueInitials(SignatureRequestResponseDataBase
4141
value: Optional[StrictStr] = Field(
4242
default=None, description="The value of the form field."
4343
)
44+
is_signed: Optional[StrictBool] = Field(
45+
default=None,
46+
description="This field contains the boolean true if the field is signed.",
47+
)
4448
__properties: ClassVar[List[str]] = [
4549
"api_id",
4650
"signature_id",
4751
"name",
4852
"required",
4953
"type",
5054
"value",
55+
"is_signed",
5156
]
5257

5358
model_config = ConfigDict(
@@ -119,6 +124,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
119124
"required": obj.get("required"),
120125
"type": obj.get("type") if obj.get("type") is not None else "initials",
121126
"value": obj.get("value"),
127+
"is_signed": obj.get("is_signed"),
122128
}
123129
)
124130
return _obj
@@ -138,6 +144,7 @@ def openapi_types(cls) -> Dict[str, str]:
138144
return {
139145
"type": "(str,)",
140146
"value": "(str,)",
147+
"is_signed": "(bool,)",
141148
"api_id": "(str,)",
142149
"signature_id": "(str,)",
143150
"name": "(str,)",

dropbox_sign/models/signature_request_response_data_value_signature.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import re # noqa: F401
1919
import json
2020

21-
from pydantic import ConfigDict, Field, StrictStr
21+
from pydantic import ConfigDict, Field, StrictBool, StrictStr
2222
from typing import Any, ClassVar, Dict, List, Optional
2323
from dropbox_sign.models.signature_request_response_data_base import (
2424
SignatureRequestResponseDataBase,
@@ -41,13 +41,18 @@ class SignatureRequestResponseDataValueSignature(SignatureRequestResponseDataBas
4141
value: Optional[StrictStr] = Field(
4242
default=None, description="The value of the form field."
4343
)
44+
is_signed: Optional[StrictBool] = Field(
45+
default=None,
46+
description="This field contains the boolean true if the field is signed.",
47+
)
4448
__properties: ClassVar[List[str]] = [
4549
"api_id",
4650
"signature_id",
4751
"name",
4852
"required",
4953
"type",
5054
"value",
55+
"is_signed",
5156
]
5257

5358
model_config = ConfigDict(
@@ -119,6 +124,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
119124
"required": obj.get("required"),
120125
"type": obj.get("type") if obj.get("type") is not None else "signature",
121126
"value": obj.get("value"),
127+
"is_signed": obj.get("is_signed"),
122128
}
123129
)
124130
return _obj
@@ -138,6 +144,7 @@ def openapi_types(cls) -> Dict[str, str]:
138144
return {
139145
"type": "(str,)",
140146
"value": "(str,)",
147+
"is_signed": "(bool,)",
141148
"api_id": "(str,)",
142149
"signature_id": "(str,)",
143150
"name": "(str,)",

dropbox_sign/models/template_response.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def openapi_types(cls) -> Dict[str, str]:
325325
"is_creator": "(bool,)",
326326
"can_edit": "(bool,)",
327327
"is_locked": "(bool,)",
328-
"metadata": "(object,)",
328+
"metadata": "(Dict[str, object],)",
329329
"signer_roles": "(List[TemplateResponseSignerRole],)",
330330
"cc_roles": "(List[TemplateResponseCCRole],)",
331331
"documents": "(List[TemplateResponseDocument],)",

openapi-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ additionalProperties:
55
generatorLanguageVersion: ">=3.7"
66
packageName: dropbox_sign
77
projectName: dropbox-sign
8-
packageVersion: 1.7.0
8+
packageVersion: 1.8.0
99
sortModelPropertiesByRequiredFlag: true
1010
legacyDiscriminatorBehavior: true
1111
packageAuthor: Dropbox Sign API Team

0 commit comments

Comments
 (0)