diff --git a/README.md b/README.md index 0245666..29eec44 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Python 3.8+ Install using `pip`: ```shell -python3 -m pip install dropbox-sign==1.12.0 +python3 -m pip install dropbox-sign==1.13.0 ``` Alternatively: @@ -400,6 +400,6 @@ apisupport@hellosign.com This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 3.0.0 -- Package version: 1.12.0 +- Package version: 1.13.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen diff --git a/VERSION b/VERSION index 0eed1a2..feaae22 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.12.0 +1.13.0 diff --git a/docs/TemplateResponseDocumentFormFieldDropdown.md b/docs/TemplateResponseDocumentFormFieldDropdown.md index 2a472ec..fa04c6e 100644 --- a/docs/TemplateResponseDocumentFormFieldDropdown.md +++ b/docs/TemplateResponseDocumentFormFieldDropdown.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- | `type`*_required_ | ```str``` | The type of this form field. See [field types](/api/reference/constants/#field-types).

* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to 'dropdown'] | | `group` | ```str``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | | +| `options` | ```List[str]``` | The options available for this dropdown form field. | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/dropbox_sign/__init__.py b/dropbox_sign/__init__.py index 5c116de..c689d0a 100644 --- a/dropbox_sign/__init__.py +++ b/dropbox_sign/__init__.py @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "1.12.0" +__version__ = "1.13.0" # import apis into sdk package from dropbox_sign.apis import * diff --git a/dropbox_sign/api_client.py b/dropbox_sign/api_client.py index bc8efc9..98b3eb1 100644 --- a/dropbox_sign/api_client.py +++ b/dropbox_sign/api_client.py @@ -89,7 +89,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = "OpenAPI-Generator/1.12.0/python" + self.user_agent = "OpenAPI-Generator/1.13.0/python" self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/dropbox_sign/configuration.py b/dropbox_sign/configuration.py index b757859..df3305e 100644 --- a/dropbox_sign/configuration.py +++ b/dropbox_sign/configuration.py @@ -546,7 +546,7 @@ def to_debug_report(self) -> str: "OS: {env}\n" "Python Version: {pyversion}\n" "Version of the API: 3.0.0\n" - "SDK Package Version: 1.12.0".format( + "SDK Package Version: 1.13.0".format( env=sys.platform, pyversion=sys.version ) ) diff --git a/dropbox_sign/models/template_response_document_form_field_dropdown.py b/dropbox_sign/models/template_response_document_form_field_dropdown.py index 2b30ae4..808f449 100644 --- a/dropbox_sign/models/template_response_document_form_field_dropdown.py +++ b/dropbox_sign/models/template_response_document_form_field_dropdown.py @@ -42,6 +42,9 @@ class TemplateResponseDocumentFormFieldDropdown(TemplateResponseDocumentFormFiel default=None, description="The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.", ) + options: Optional[List[StrictStr]] = Field( + default=None, description="The options available for this dropdown form field." + ) __properties: ClassVar[List[str]] = [ "type", "api_id", @@ -53,6 +56,7 @@ class TemplateResponseDocumentFormFieldDropdown(TemplateResponseDocumentFormFiel "height", "required", "group", + "options", ] model_config = ConfigDict( @@ -128,6 +132,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "height": obj.get("height"), "required": obj.get("required"), "group": obj.get("group"), + "options": obj.get("options"), } ) return _obj @@ -147,6 +152,7 @@ def openapi_types(cls) -> Dict[str, str]: return { "type": "(str,)", "group": "(str,)", + "options": "(List[str],)", "api_id": "(str,)", "name": "(str,)", "signer": "(int, str,)", @@ -159,4 +165,6 @@ def openapi_types(cls) -> Dict[str, str]: @classmethod def openapi_type_is_array(cls, property_name: str) -> bool: - return property_name in [] + return property_name in [ + "options", + ] diff --git a/openapi-config.yaml b/openapi-config.yaml index c718d39..d168bca 100644 --- a/openapi-config.yaml +++ b/openapi-config.yaml @@ -5,7 +5,7 @@ additionalProperties: generatorLanguageVersion: ">=3.8" packageName: dropbox_sign projectName: dropbox-sign - packageVersion: 1.12.0 + packageVersion: 1.13.0 sortModelPropertiesByRequiredFlag: true legacyDiscriminatorBehavior: true packageAuthor: Dropbox Sign API Team diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml index ac9e788..576b442 100644 --- a/openapi-sdk.yaml +++ b/openapi-sdk.yaml @@ -13104,6 +13104,11 @@ components: description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.' type: string nullable: true + options: + description: 'The options available for this dropdown form field.' + type: array + items: + type: string type: object TemplateResponseDocumentFormFieldHyperlink: description: 'This class extends `TemplateResponseDocumentFormFieldBase`' diff --git a/pyproject.toml b/pyproject.toml index 854c04b..8a4a7a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dropbox_sign" -version = "1.12.0" +version = "1.13.0" description = "Dropbox Sign API" authors = ["Official Python SDK for the Dropbox Sign API "] license = "MIT" diff --git a/setup.py b/setup.py index 2efb0d8..9ea30d3 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "dropbox-sign" -VERSION = "1.12.0" +VERSION = "1.13.0" PYTHON_REQUIRES = ">= 3.8" REQUIRES = [ "urllib3 >= 1.25.3, < 3.0.0",