Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,085 changes: 572 additions & 513 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 0.35.5
version: 0.35.6
additionalDependencies:
dev: {}
main: {}
Expand Down
13 changes: 6 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
speakeasyVersion: 1.728.0
speakeasyVersion: 1.760.0
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:f8da375124ffea8156bb04da0496d60d8a14e75146e2534fa31005772fecf75e
sourceBlobDigest: sha256:4182b72c2891ce5345ccdc87a9bb4ea8710bc8fea6b3683baa70fdfcc9565256
sourceRevisionDigest: sha256:1b9592a523482099f3c345c98f17ad1fa3a4f951b98cccf2f026a1af6f4d9619
sourceBlobDigest: sha256:457382521b1605841af767618647caaebe4c0a5b9b80d1d37d0a0c219b2914e5
tags:
- latest
- speakeasy-sdk-regen-1771461763
- 0.0.1
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:f8da375124ffea8156bb04da0496d60d8a14e75146e2534fa31005772fecf75e
sourceBlobDigest: sha256:4182b72c2891ce5345ccdc87a9bb4ea8710bc8fea6b3683baa70fdfcc9565256
sourceRevisionDigest: sha256:1b9592a523482099f3c345c98f17ad1fa3a4f951b98cccf2f026a1af6f4d9619
sourceBlobDigest: sha256:457382521b1605841af767618647caaebe4c0a5b9b80d1d37d0a0c219b2914e5
codeSamplesNamespace: code-samples-python-my-first-target
codeSamplesRevisionDigest: sha256:d753ec485bdf84e7b3b9ab9775cff8ba82dcea9c13dbb630b773011e8a60ff26
codeSamplesRevisionDigest: sha256:8cd55ea74fecf52f58d185f340858e2236c3530b0e8f86954b56846fc3585cde
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,9 @@ with Dub(
try:

res = d_client.links.list(request={
"ending_before": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"starting_after": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"page": 1,
"page_size": 50,
})

Expand Down Expand Up @@ -444,6 +447,9 @@ with Dub(
) as d_client:

res = d_client.links.list(request={
"ending_before": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"starting_after": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"page": 1,
"page_size": 50,
})

Expand Down Expand Up @@ -557,6 +563,9 @@ with Dub(
) as d_client:

res = d_client.links.list(request={
"ending_before": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"starting_after": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"page": 1,
"page_size": 50,
})

Expand Down Expand Up @@ -584,6 +593,9 @@ with Dub(
) as d_client:

res = d_client.links.list(request={
"ending_before": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"starting_after": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"page": 1,
"page_size": 50,
},
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
Expand All @@ -607,6 +619,9 @@ with Dub(
) as d_client:

res = d_client.links.list(request={
"ending_before": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"starting_after": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"page": 1,
"page_size": 50,
})

Expand Down Expand Up @@ -635,6 +650,9 @@ with Dub(
) as d_client:

res = d_client.links.list(request={
"ending_before": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"starting_after": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"page": 1,
"page_size": 50,
})

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1516,4 +1516,14 @@ Based on:
### Generated
- [python v0.35.5] .
### Releases
- [PyPI v0.35.5] https://pypi.org/project/dub/0.35.5 - .
- [PyPI v0.35.5] https://pypi.org/project/dub/0.35.5 - .

## 2026-03-31 00:45:32
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.760.0 (2.873.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.35.6] .
### Releases
- [PyPI v0.35.6] https://pypi.org/project/dub/0.35.6 - .
34 changes: 28 additions & 6 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ actions:

res = d_client.bounties.list_submissions(request={
"bounty_id": "<id>",
"page": 1,
"page_size": 50,
})

Expand Down Expand Up @@ -106,11 +107,16 @@ actions:
) as d_client:

res = d_client.commissions.list(request={
"ending_before": "cm_1KAP4CGN2Z5TPYYQ1W4JEYD56",
"starting_after": "cm_1KAP4CGN2Z5TPYYQ1W4JEYD56",
"page": 1,
"page_size": 50,
})

# Handle response
print(res)
while res is not None:
# Handle items

res = res.next()
- target: $["paths"]["/commissions/{id}"]["patch"]
update:
x-codeSamples:
Expand Down Expand Up @@ -144,11 +150,16 @@ actions:
) as d_client:

res = d_client.customers.list(request={
"ending_before": "cus_1KAP4CDPBSVMMBMH9XX3YZZ0Z",
"starting_after": "cus_1KAP4CDPBSVMMBMH9XX3YZZ0Z",
"page": 1,
"page_size": 50,
})

# Handle response
print(res)
while res is not None:
# Handle items

res = res.next()
- target: $["paths"]["/customers/{id}"]["delete"]
update:
x-codeSamples:
Expand Down Expand Up @@ -217,7 +228,9 @@ actions:
token="DUB_API_KEY",
) as d_client:

res = d_client.domains.list(request={})
res = d_client.domains.list(request={
"page": 1,
})

while res is not None:
# Handle items
Expand Down Expand Up @@ -362,7 +375,9 @@ actions:
token="DUB_API_KEY",
) as d_client:

res = d_client.folders.list(request={})
res = d_client.folders.list(request={
"page": 1,
})

# Handle response
print(res)
Expand Down Expand Up @@ -431,6 +446,9 @@ actions:
) as d_client:

res = d_client.links.list(request={
"ending_before": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"starting_after": "link_1KAP4CDPBSVMMBMH9XX3YZZ0Z...",
"page": 1,
"page_size": 50,
})

Expand Down Expand Up @@ -714,11 +732,13 @@ actions:
) as d_client:

res = d_client.partners.list(request={
"group_id": "grp_123",
"status": operations.ListPartnersQueryParamStatus.APPROVED,
"country": "US",
"email": "panic@thedis.co",
"tenant_id": "1K0NM7HCN944PEMZ3CQPH43H8",
"search": "john",
"page": 1,
"page_size": 50,
})

Expand Down Expand Up @@ -913,6 +933,7 @@ actions:
) as d_client:

res = d_client.payouts.list(request={
"page": 1,
"page_size": 50,
})

Expand Down Expand Up @@ -951,6 +972,7 @@ actions:
) as d_client:

res = d_client.tags.list(request={
"page": 1,
"page_size": 50,
})

Expand Down
8 changes: 8 additions & 0 deletions docs/models/components/accesslevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The access level of the folder within the workspace.

## Example Usage

```python
from dub.models.components import AccessLevel

value = AccessLevel.WRITE
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/models/components/analyticsregionscity.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# AnalyticsRegionsCity

## Example Usage

```python
from dub.models.components import AnalyticsRegionsCity

value = AnalyticsRegionsCity.WILDCARD_
```


## Values

Expand Down
12 changes: 12 additions & 0 deletions docs/models/components/application.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Application

Linked program application, including review outcome when applicable.


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `rejection_reason` | [Nullable[components.RejectionReason]](../../models/components/rejectionreason.md) | :heavy_check_mark: | Preset reason when the application was rejected. |
| `rejection_note` | *Nullable[str]* | :heavy_check_mark: | Free-form note when the application was rejected. |
| `reviewed_at` | *Nullable[str]* | :heavy_check_mark: | When the application was approved or rejected. |
8 changes: 8 additions & 0 deletions docs/models/components/bannedreason.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

If the partner was banned from the program, this is the reason for the ban.

## Example Usage

```python
from dub.models.components import BannedReason

value = BannedReason.TOS_VIOLATION
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/models/components/city.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# City

## Example Usage

```python
from dub.models.components import City

value = City.WILDCARD_
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/models/components/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The error code.

## Example Usage

```python
from dub.models.components import Code

value = Code.BAD_REQUEST
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/models/components/color.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The color of the tag.

## Example Usage

```python
from dub.models.components import Color

value = Color.RED
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/models/components/commissioncreatedeventevent.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CommissionCreatedEventEvent

## Example Usage

```python
from dub.models.components import CommissionCreatedEventEvent

value = CommissionCreatedEventEvent.COMMISSION_CREATED
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/models/components/commissioncreatedeventstatus.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CommissionCreatedEventStatus

## Example Usage

```python
from dub.models.components import CommissionCreatedEventStatus

value = CommissionCreatedEventStatus.PENDING
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/models/components/commissioncreatedeventtype.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CommissionCreatedEventType

## Example Usage

```python
from dub.models.components import CommissionCreatedEventType

value = CommissionCreatedEventType.CLICK
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/models/components/continent.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The 2-letter ISO 3166-1 code representing the continent associated with the location of the user.

## Example Usage

```python
from dub.models.components import Continent

value = Continent.AF
```


## Values

Expand Down
Loading