diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 5d179c2..37bf15a 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: ab657d60-207e-43a4-8cc8-692a672950ed management: - docChecksum: 50940bc805a726aadeb489d51cfdbb1d + docChecksum: 06fc65e3769b8cd8a007fecfef012439 docVersion: 0.0.1 - speakeasyVersion: 1.441.0 - generationVersion: 2.460.1 - releaseVersion: 0.14.6 - configChecksum: a4b51c03f2d444004f681e1f6af20851 + speakeasyVersion: 1.441.1 + generationVersion: 2.461.2 + releaseVersion: 0.14.7 + configChecksum: 2d64276e88878a6d364f44e7b2e626dc repoURL: https://github.com/dubinc/dub-python.git installationURL: https://github.com/dubinc/dub-python.git published: true diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index acd3cf3..aa56390 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -13,7 +13,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false python: - version: 0.14.6 + version: 0.14.7 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 3ab62d0..9945a7c 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,20 +1,20 @@ -speakeasyVersion: 1.441.0 +speakeasyVersion: 1.441.1 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:1ef729d661868820ae8f3715a604c54f6fdb472d444043a0d9a6e456aa4540e7 - sourceBlobDigest: sha256:6313c9cb1c06cd2eccdbe0ad3849f03d6a813b876c54c29d870b5db19e4122df + sourceRevisionDigest: sha256:e53598e8cc8fd13f1c3736f07b7fe72d47f2e7b3e77471bfa367013854ac9a54 + sourceBlobDigest: sha256:721eb474021038cb61dae9059ccd1543c4b8bbcc688d88ff466a1ec3472635f5 tags: - latest - - speakeasy-sdk-regen-1732062408 + - speakeasy-sdk-regen-1732148813 targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:1ef729d661868820ae8f3715a604c54f6fdb472d444043a0d9a6e456aa4540e7 - sourceBlobDigest: sha256:6313c9cb1c06cd2eccdbe0ad3849f03d6a813b876c54c29d870b5db19e4122df + sourceRevisionDigest: sha256:e53598e8cc8fd13f1c3736f07b7fe72d47f2e7b3e77471bfa367013854ac9a54 + sourceBlobDigest: sha256:721eb474021038cb61dae9059ccd1543c4b8bbcc688d88ff466a1ec3472635f5 codeSamplesNamespace: code-samples-python-my-first-target - codeSamplesRevisionDigest: sha256:ab9e1e9528236b7f3abbe99d94a55f165be5e8f549f9e1c56a153d98167f9357 + codeSamplesRevisionDigest: sha256:09ac8d76e2c89e16ea4b1d6c0aba2d37b19b930c38b8a3e0825f43b328d20994 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 4b61b8c..4d0cd18 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -586,4 +586,14 @@ Based on: ### Generated - [python v0.14.6] . ### Releases -- [PyPI v0.14.6] https://pypi.org/project/dub/0.14.6 - . \ No newline at end of file +- [PyPI v0.14.6] https://pypi.org/project/dub/0.14.6 - . + +## 2024-11-21 00:26:50 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.441.1 (2.461.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.14.7] . +### Releases +- [PyPI v0.14.7] https://pypi.org/project/dub/0.14.7 - . \ No newline at end of file diff --git a/docs/models/operations/getqrcoderequest.md b/docs/models/operations/getqrcoderequest.md index df3ceb9..ff50627 100644 --- a/docs/models/operations/getqrcoderequest.md +++ b/docs/models/operations/getqrcoderequest.md @@ -3,13 +3,14 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `url` | *str* | :heavy_check_mark: | The URL to generate a QR code for. | -| `logo` | *Optional[str]* | :heavy_minus_sign: | The logo to include in the QR code. Can only be used with a paid plan on Dub.co. | -| `size` | *Optional[float]* | :heavy_minus_sign: | The size of the QR code in pixels. Defaults to `600` if not provided. | -| `level` | [Optional[operations.Level]](../../models/operations/level.md) | :heavy_minus_sign: | The level of error correction to use for the QR code. Defaults to `L` if not provided. | -| `fg_color` | *Optional[str]* | :heavy_minus_sign: | The foreground color of the QR code in hex format. Defaults to `#000000` if not provided. | -| `bg_color` | *Optional[str]* | :heavy_minus_sign: | The background color of the QR code in hex format. Defaults to `#ffffff` if not provided. | -| `hide_logo` | *Optional[bool]* | :heavy_minus_sign: | Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.co. | -| `include_margin` | *Optional[bool]* | :heavy_minus_sign: | Whether to include a margin around the QR code. Defaults to `false` if not provided. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `url` | *str* | :heavy_check_mark: | The URL to generate a QR code for. | +| `logo` | *Optional[str]* | :heavy_minus_sign: | The logo to include in the QR code. Can only be used with a paid plan on Dub.co. | +| `size` | *Optional[float]* | :heavy_minus_sign: | The size of the QR code in pixels. Defaults to `600` if not provided. | +| `level` | [Optional[operations.Level]](../../models/operations/level.md) | :heavy_minus_sign: | The level of error correction to use for the QR code. Defaults to `L` if not provided. | +| `fg_color` | *Optional[str]* | :heavy_minus_sign: | The foreground color of the QR code in hex format. Defaults to `#000000` if not provided. | +| `bg_color` | *Optional[str]* | :heavy_minus_sign: | The background color of the QR code in hex format. Defaults to `#ffffff` if not provided. | +| `hide_logo` | *Optional[bool]* | :heavy_minus_sign: | Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.co. | +| `margin` | *Optional[float]* | :heavy_minus_sign: | The size of the margin around the QR code. Defaults to 2 if not provided. | +| `include_margin` | *Optional[bool]* | :heavy_minus_sign: | DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size. | \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 6a258e2..5cb563c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dub" -version = "0.14.6" +version = "0.14.7" description = "Python Client SDK Generated by Speakeasy" authors = ["Speakeasy",] readme = "README-PYPI.md" diff --git a/src/dub/_version.py b/src/dub/_version.py index 51e42b8..42184bf 100644 --- a/src/dub/_version.py +++ b/src/dub/_version.py @@ -3,7 +3,7 @@ import importlib.metadata __title__: str = "dub" -__version__: str = "0.14.6" +__version__: str = "0.14.7" try: if __package__ is not None: diff --git a/src/dub/models/operations/getqrcode.py b/src/dub/models/operations/getqrcode.py index 9b9edea..cb54f4e 100644 --- a/src/dub/models/operations/getqrcode.py +++ b/src/dub/models/operations/getqrcode.py @@ -33,8 +33,10 @@ class GetQRCodeRequestTypedDict(TypedDict): r"""The background color of the QR code in hex format. Defaults to `#ffffff` if not provided.""" hide_logo: NotRequired[bool] r"""Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.co.""" + margin: NotRequired[float] + r"""The size of the margin around the QR code. Defaults to 2 if not provided.""" include_margin: NotRequired[bool] - r"""Whether to include a margin around the QR code. Defaults to `false` if not provided.""" + r"""DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size.""" class GetQRCodeRequest(BaseModel): @@ -82,9 +84,15 @@ class GetQRCodeRequest(BaseModel): ] = True r"""Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.co.""" + margin: Annotated[ + Optional[float], + FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), + ] = 2 + r"""The size of the margin around the QR code. Defaults to 2 if not provided.""" + include_margin: Annotated[ Optional[bool], pydantic.Field(alias="includeMargin"), FieldMetadata(query=QueryParamMetadata(style="form", explode=True)), ] = True - r"""Whether to include a margin around the QR code. Defaults to `false` if not provided.""" + r"""DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size.""" diff --git a/src/dub/sdkconfiguration.py b/src/dub/sdkconfiguration.py index 4729e96..252d1c7 100644 --- a/src/dub/sdkconfiguration.py +++ b/src/dub/sdkconfiguration.py @@ -29,9 +29,9 @@ class SDKConfiguration: server_idx: Optional[int] = 0 language: str = "python" openapi_doc_version: str = "0.0.1" - sdk_version: str = "0.14.6" - gen_version: str = "2.460.1" - user_agent: str = "speakeasy-sdk/python 0.14.6 2.460.1 0.0.1 dub" + sdk_version: str = "0.14.7" + gen_version: str = "2.461.2" + user_agent: str = "speakeasy-sdk/python 0.14.7 2.461.2 0.0.1 dub" retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET) timeout_ms: Optional[int] = None