Skip to content

Commit

Permalink
Merge pull request #47 from dubinc/speakeasy-sdk-regen-1727137525
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.10.3
  • Loading branch information
devkiran authored Sep 24, 2024
2 parents 063a8db + 6f40ff3 commit 4995324
Show file tree
Hide file tree
Showing 24 changed files with 93 additions and 31 deletions.
12 changes: 7 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: bf87a4d4951f97782f297e956ac66cd2
docChecksum: 73565d11bf5d47913d55941f5c1c5b59
docVersion: 0.0.1
speakeasyVersion: 1.401.2
generationVersion: 2.421.3
releaseVersion: 0.10.2
configChecksum: d3c2eee31892ccf06c5539bfcfa940e2
speakeasyVersion: 1.402.0
generationVersion: 2.422.6
releaseVersion: 0.10.3
configChecksum: 08c12a3c486e7af79b3ae4f1398501dc
repoURL: https://github.com/dubinc/dub-python.git
installationURL: https://github.com/dubinc/dub-python.git
published: true
Expand Down Expand Up @@ -627,6 +627,7 @@ examples:
browser: "Chrome"
os: "Windows"
referer: "google.com"
refererUrl: "https://dub.co/blog"
responses:
"200":
application/json: []
Expand Down Expand Up @@ -658,6 +659,7 @@ examples:
browser: "Chrome"
os: "Windows"
referer: "google.com"
refererUrl: "https://dub.co/blog"
responses:
"200":
application/json: []
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
python:
version: 0.10.2
version: 0.10.3
additionalDependencies:
dev: {}
main: {}
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.401.2
speakeasyVersion: 1.402.0
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:21da701395fa7a69410f50f3bb56ae963f6d0bee7fb09adbc5413ee003e949aa
sourceBlobDigest: sha256:c0b308ff16f752e05b82589c3de523a717d1b31d0a3a74cb9d170fc782ea6dc3
sourceRevisionDigest: sha256:3021750f008817c425fe6618141d4b02f7417d5f48d2e35e5247c2281f97ce5d
sourceBlobDigest: sha256:725282b89cf04853db33c288859e94031cd8b64e0e650f389b9baf41ec582bf5
tags:
- latest
- main
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:21da701395fa7a69410f50f3bb56ae963f6d0bee7fb09adbc5413ee003e949aa
sourceBlobDigest: sha256:c0b308ff16f752e05b82589c3de523a717d1b31d0a3a74cb9d170fc782ea6dc3
sourceRevisionDigest: sha256:3021750f008817c425fe6618141d4b02f7417d5f48d2e35e5247c2281f97ce5d
sourceBlobDigest: sha256:725282b89cf04853db33c288859e94031cd8b64e0e650f389b9baf41ec582bf5
codeSamplesNamespace: code-samples-python-my-first-target
codeSamplesRevisionDigest: sha256:278682b6c3d4e68c9f32917b7ef2e9be9b1ed95107f5068ea2a3f14a1cd1982f
codeSamplesRevisionDigest: sha256:4dd93960759909e7ce7429477e2a990da62f04694171c36ccad466920e03101b
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 @@ -386,4 +386,14 @@ Based on:
### Generated
- [python v0.10.2] .
### Releases
- [PyPI v0.10.2] https://pypi.org/project/dub/0.10.2 - .
- [PyPI v0.10.2] https://pypi.org/project/dub/0.10.2 - .

## 2024-09-24 00:25:19
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.402.0 (2.422.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.10.3] .
### Releases
- [PyPI v0.10.3] https://pypi.org/project/dub/0.10.3 - .
2 changes: 2 additions & 0 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ actions:
"browser": "Chrome",
"os": "Windows",
"referer": "google.com",
"referer_url": "https://dub.co/blog",
})
if res is not None:
Expand Down Expand Up @@ -131,6 +132,7 @@ actions:
"browser": "Chrome",
"os": "Windows",
"referer": "google.com",
"referer_url": "https://dub.co/blog",
})
if res is not None:
Expand Down
1 change: 1 addition & 0 deletions docs/models/components/click.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
| `browser` | *str* | :heavy_check_mark: | N/A |
| `os` | *str* | :heavy_check_mark: | N/A |
| `referer` | *str* | :heavy_check_mark: | N/A |
| `referer_url` | *str* | :heavy_check_mark: | N/A |
| `ip` | *str* | :heavy_check_mark: | N/A |
| `qr` | *Optional[bool]* | :heavy_minus_sign: | N/A |
1 change: 1 addition & 0 deletions docs/models/components/leadeventclick.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
| `browser` | *str* | :heavy_check_mark: | N/A |
| `os` | *str* | :heavy_check_mark: | N/A |
| `referer` | *str* | :heavy_check_mark: | N/A |
| `referer_url` | *str* | :heavy_check_mark: | N/A |
| `ip` | *str* | :heavy_check_mark: | N/A |
| `qr` | *Optional[bool]* | :heavy_minus_sign: | N/A |
1 change: 1 addition & 0 deletions docs/models/components/saleeventclick.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
| `browser` | *str* | :heavy_check_mark: | N/A |
| `os` | *str* | :heavy_check_mark: | N/A |
| `referer` | *str* | :heavy_check_mark: | N/A |
| `referer_url` | *str* | :heavy_check_mark: | N/A |
| `ip` | *str* | :heavy_check_mark: | N/A |
| `qr` | *Optional[bool]* | :heavy_minus_sign: | N/A |
1 change: 1 addition & 0 deletions docs/models/components/webhookevent3click.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
| `browser` | *str* | :heavy_check_mark: | N/A |
| `os` | *str* | :heavy_check_mark: | N/A |
| `referer` | *str* | :heavy_check_mark: | N/A |
| `referer_url` | *str* | :heavy_check_mark: | N/A |
| `ip` | *str* | :heavy_check_mark: | N/A |
| `qr` | *Optional[bool]* | :heavy_minus_sign: | N/A |
1 change: 1 addition & 0 deletions docs/models/components/webhookevent4click.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
| `browser` | *str* | :heavy_check_mark: | N/A |
| `os` | *str* | :heavy_check_mark: | N/A |
| `referer` | *str* | :heavy_check_mark: | N/A |
| `referer_url` | *str* | :heavy_check_mark: | N/A |
| `ip` | *str* | :heavy_check_mark: | N/A |
| `qr` | *Optional[bool]* | :heavy_minus_sign: | N/A |
1 change: 1 addition & 0 deletions docs/models/components/webhookeventclick.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
| `browser` | *str* | :heavy_check_mark: | N/A |
| `os` | *str* | :heavy_check_mark: | N/A |
| `referer` | *str* | :heavy_check_mark: | N/A |
| `referer_url` | *str* | :heavy_check_mark: | N/A |
| `ip` | *str* | :heavy_check_mark: | N/A |
| `qr` | *Optional[bool]* | :heavy_minus_sign: | N/A |
1 change: 1 addition & 0 deletions docs/models/operations/listeventsrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
| `browser` | *Optional[str]* | :heavy_minus_sign: | The browser to retrieve analytics for. | Chrome |
| `os` | *Optional[str]* | :heavy_minus_sign: | The OS to retrieve analytics for. | Windows |
| `referer` | *Optional[str]* | :heavy_minus_sign: | The referer to retrieve analytics for. | google.com |
| `referer_url` | *Optional[str]* | :heavy_minus_sign: | The full referer URL to retrieve analytics for. | https://dub.co/blog |
| `url` | *Optional[str]* | :heavy_minus_sign: | The URL to retrieve analytics for. | |
| `tag_id` | *Optional[str]* | :heavy_minus_sign: | The tag ID to retrieve analytics for. | |
| `qr` | *Optional[bool]* | :heavy_minus_sign: | Filter for QR code scans. If true, filter for QR codes only. If false, filter for links only. If undefined, return both. | |
Expand Down
29 changes: 15 additions & 14 deletions docs/models/operations/queryparamgroupby.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@ The parameter to group the analytics data points by. Defaults to 'count' if unde

## Values

| Name | Value |
| ------------ | ------------ |
| `COUNT` | count |
| `TIMESERIES` | timeseries |
| `CONTINENTS` | continents |
| `COUNTRIES` | countries |
| `CITIES` | cities |
| `DEVICES` | devices |
| `BROWSERS` | browsers |
| `OS` | os |
| `REFERERS` | referers |
| `TOP_LINKS` | top_links |
| `TOP_URLS` | top_urls |
| `TRIGGER` | trigger |
| Name | Value |
| -------------- | -------------- |
| `COUNT` | count |
| `TIMESERIES` | timeseries |
| `CONTINENTS` | continents |
| `COUNTRIES` | countries |
| `CITIES` | cities |
| `DEVICES` | devices |
| `BROWSERS` | browsers |
| `OS` | os |
| `REFERERS` | referers |
| `REFERER_URLS` | referer_urls |
| `TOP_LINKS` | top_links |
| `TOP_URLS` | top_urls |
| `TRIGGER` | trigger |
1 change: 1 addition & 0 deletions docs/models/operations/retrieveanalyticsrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
| `browser` | *Optional[str]* | :heavy_minus_sign: | The browser to retrieve analytics for. | Chrome |
| `os` | *Optional[str]* | :heavy_minus_sign: | The OS to retrieve analytics for. | Windows |
| `referer` | *Optional[str]* | :heavy_minus_sign: | The referer to retrieve analytics for. | google.com |
| `referer_url` | *Optional[str]* | :heavy_minus_sign: | The full referer URL to retrieve analytics for. | https://dub.co/blog |
| `url` | *Optional[str]* | :heavy_minus_sign: | The URL to retrieve analytics for. | |
| `tag_id` | *Optional[str]* | :heavy_minus_sign: | The tag ID to retrieve analytics for. | |
| `qr` | *Optional[bool]* | :heavy_minus_sign: | Filter for QR code scans. If true, filter for QR codes only. If false, filter for links only. If undefined, return both. | |
Expand Down
1 change: 1 addition & 0 deletions docs/sdks/analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ res = s.analytics.retrieve(request={
"browser": "Chrome",
"os": "Windows",
"referer": "google.com",
"referer_url": "https://dub.co/blog",
})

if res is not None:
Expand Down
1 change: 1 addition & 0 deletions docs/sdks/events/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ res = s.events.list(request={
"browser": "Chrome",
"os": "Windows",
"referer": "google.com",
"referer_url": "https://dub.co/blog",
})

if res is not None:
Expand Down
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.10.2"
version = "0.10.3"
description = "Python Client SDK Generated by Speakeasy"
authors = ["Speakeasy",]
readme = "README-PYPI.md"
Expand Down
3 changes: 3 additions & 0 deletions src/dub/models/components/clickevent.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class ClickTypedDict(TypedDict):
browser: str
os: str
referer: str
referer_url: str
ip: str
qr: NotRequired[bool]

Expand All @@ -47,6 +48,8 @@ class Click(BaseModel):

referer: str

referer_url: Annotated[str, pydantic.Field(alias="refererUrl")]

ip: str

qr: Optional[bool] = None
Expand Down
3 changes: 3 additions & 0 deletions src/dub/models/components/leadevent.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class LeadEventClickTypedDict(TypedDict):
browser: str
os: str
referer: str
referer_url: str
ip: str
qr: NotRequired[bool]

Expand All @@ -47,6 +48,8 @@ class LeadEventClick(BaseModel):

referer: str

referer_url: Annotated[str, pydantic.Field(alias="refererUrl")]

ip: str

qr: Optional[bool] = None
Expand Down
3 changes: 3 additions & 0 deletions src/dub/models/components/saleevent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,7 @@ class SaleEventClickTypedDict(TypedDict):
browser: str
os: str
referer: str
referer_url: str
ip: str
qr: NotRequired[bool]

Expand All @@ -1067,6 +1068,8 @@ class SaleEventClick(BaseModel):

referer: str

referer_url: Annotated[str, pydantic.Field(alias="refererUrl")]

ip: str

qr: Optional[bool] = None
Expand Down
9 changes: 9 additions & 0 deletions src/dub/models/components/webhookevent.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class WebhookEvent4ClickTypedDict(TypedDict):
browser: str
os: str
referer: str
referer_url: str
ip: str
qr: NotRequired[bool]

Expand All @@ -94,6 +95,8 @@ class WebhookEvent4Click(BaseModel):

referer: str

referer_url: Annotated[str, pydantic.Field(alias="refererUrl")]

ip: str

qr: Optional[bool] = None
Expand Down Expand Up @@ -1264,6 +1267,7 @@ class WebhookEvent3ClickTypedDict(TypedDict):
browser: str
os: str
referer: str
referer_url: str
ip: str
qr: NotRequired[bool]

Expand All @@ -1287,6 +1291,8 @@ class WebhookEvent3Click(BaseModel):

referer: str

referer_url: Annotated[str, pydantic.Field(alias="refererUrl")]

ip: str

qr: Optional[bool] = None
Expand Down Expand Up @@ -2360,6 +2366,7 @@ class WebhookEventClickTypedDict(TypedDict):
browser: str
os: str
referer: str
referer_url: str
ip: str
qr: NotRequired[bool]

Expand All @@ -2383,6 +2390,8 @@ class WebhookEventClick(BaseModel):

referer: str

referer_url: Annotated[str, pydantic.Field(alias="refererUrl")]

ip: str

qr: Optional[bool] = None
Expand Down
Loading

0 comments on commit 4995324

Please sign in to comment.