Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.441.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Nov 21, 2024
1 parent 7782085 commit a96f387
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 31 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
python:
version: 0.14.6
version: 0.14.7
additionalDependencies:
dev: {}
main: {}
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -586,4 +586,14 @@ Based on:
### Generated
- [python v0.14.6] .
### Releases
- [PyPI v0.14.6] https://pypi.org/project/dub/0.14.6 - .
- [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 - .
21 changes: 11 additions & 10 deletions docs/models/operations/getqrcoderequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
| 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. |
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/dub/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
12 changes: 10 additions & 2 deletions src/dub/models/operations/getqrcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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."""
6 changes: 3 additions & 3 deletions src/dub/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a96f387

Please sign in to comment.