Skip to content

Commit 5bade0b

Browse files
authored
Merge pull request #136 from dubinc/speakeasy-sdk-regen-1750798131
chore: 🐝 Update SDK - Generate 0.26.11
2 parents aa60cc3 + 0b980d2 commit 5bade0b

19 files changed

+37
-65
lines changed

.speakeasy/gen.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: ab657d60-207e-43a4-8cc8-692a672950ed
33
management:
4-
docChecksum: 976fde5fbd0d7a5d7f2a966688263b3b
4+
docChecksum: f8994c15ae5d35c909e4e55fbc9fbea8
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.568.1
7-
generationVersion: 2.634.1
8-
releaseVersion: 0.26.10
9-
configChecksum: 6b6b6e51de2c5946b69dc0a2d7d1f141
6+
speakeasyVersion: 1.568.2
7+
generationVersion: 2.634.2
8+
releaseVersion: 0.26.11
9+
configChecksum: dd259e44cf16a1cd10ef0f752ff8d2da
1010
repoURL: https://github.com/dubinc/dub-python.git
1111
installationURL: https://github.com/dubinc/dub-python.git
1212
published: true
@@ -1347,7 +1347,7 @@ examples:
13471347
createPartner:
13481348
speakeasy-default-create-partner:
13491349
requestBody:
1350-
application/json: {"programId": "<id>", "name": "<value>", "email": "[email protected]", "linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."], "testVariants": [{"url": "https://example.com/variant-1", "percentage": 50}, {"url": "https://example.com/variant-2", "percentage": 50}]}}
1350+
application/json: {"name": "<value>", "email": "[email protected]", "linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."], "testVariants": [{"url": "https://example.com/variant-1", "percentage": 50}, {"url": "https://example.com/variant-2", "percentage": 50}]}}
13511351
responses:
13521352
"201":
13531353
application/json: {"id": "<id>", "name": "<value>", "email": "[email protected]", "image": "https://loremflickr.com/2599/3934?lock=3607054824535492", "country": "Equatorial Guinea", "website": "<value>", "youtube": "<value>", "twitter": "<value>", "linkedin": "<value>", "instagram": "<value>", "tiktok": "<value>", "paypalEmail": "<value>", "stripeConnectId": "<id>", "payoutsEnabledAt": "<value>", "createdAt": "1736363459872", "status": "banned", "programId": "<id>", "tenantId": "<id>", "links": [], "clicks": 0, "leads": 0, "sales": 0, "saleAmount": 0, "totalCommissions": 0, "netRevenue": 0, "earnings": 0}
@@ -1372,7 +1372,7 @@ examples:
13721372
createPartnerLink:
13731373
speakeasy-default-create-partner-link:
13741374
requestBody:
1375-
application/json: {"programId": "<id>", "linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."], "testVariants": [{"url": "https://example.com/variant-1", "percentage": 50}, {"url": "https://example.com/variant-2", "percentage": 50}]}}
1375+
application/json: {"linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."], "testVariants": [{"url": "https://example.com/variant-1", "percentage": 50}, {"url": "https://example.com/variant-2", "percentage": 50}]}}
13761376
responses:
13771377
"201":
13781378
application/json: {"id": "<id>", "domain": "ripe-bracelet.net", "key": "<key>", "url": "https://puzzled-stitcher.com/", "trackConversion": false, "externalId": "<id>", "tenantId": "<id>", "programId": "<id>", "partnerId": "<id>", "archived": false, "expiresAt": "1775198095521", "expiredUrl": "https://primary-hierarchy.net/", "password": "M2Ki4IaRbY9E_1X", "proxy": false, "title": "<value>", "description": "midst even towards twine who clean", "image": "https://picsum.photos/seed/tVHWs/534/419", "video": "https://loremflickr.com/2267/2957?lock=6340786422048007", "rewrite": false, "doIndex": false, "ios": "<value>", "android": "<id>", "geo": {}, "publicStats": false, "tagId": "<id>", "tags": [{"id": "<id>", "name": "<value>", "color": "blue"}], "folderId": "<id>", "webhookIds": ["<value 1>", "<value 2>"], "comments": "ectoderm besides an exalt ack fork", "shortLink": "https://mindless-shadowbox.biz/", "qrCode": "https://shallow-government.name/", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "testVariants": [{"url": "https://example.com/variant-1", "percentage": 50}, {"url": "https://example.com/variant-2", "percentage": 50}], "userId": "<id>", "workspaceId": "<id>", "clicks": 0, "lastClicked": "<value>", "leads": 0, "sales": 0, "saleAmount": 0, "createdAt": "1723241119923", "updatedAt": "1747599189334", "projectId": "<id>"}
@@ -1423,7 +1423,7 @@ examples:
14231423
upsertPartnerLink:
14241424
speakeasy-default-upsert-partner-link:
14251425
requestBody:
1426-
application/json: {"programId": "<id>", "linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."], "testVariants": [{"url": "https://example.com/variant-1", "percentage": 50}, {"url": "https://example.com/variant-2", "percentage": 50}]}}
1426+
application/json: {"linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."], "testVariants": [{"url": "https://example.com/variant-1", "percentage": 50}, {"url": "https://example.com/variant-2", "percentage": 50}]}}
14271427
responses:
14281428
"200":
14291429
application/json: {"id": "<id>", "domain": "inborn-backbone.info", "key": "<key>", "url": "https://trusty-birdcage.org", "trackConversion": false, "externalId": "<id>", "tenantId": "<id>", "programId": "<id>", "partnerId": "<id>", "archived": false, "expiresAt": "1757127216280", "expiredUrl": "https://small-wallaby.org/", "password": "cQ1Zi2EybwesHSo", "proxy": false, "title": "<value>", "description": "noisily once questioningly scornful", "image": "https://picsum.photos/seed/1kknS5/2573/3049", "video": "https://picsum.videos/seed/kln3aGTvg/1432/1228", "rewrite": false, "doIndex": false, "ios": "<value>", "android": "<id>", "geo": {}, "publicStats": false, "tagId": "<id>", "tags": [{"id": "<id>", "name": "<value>", "color": "green"}], "folderId": "<id>", "webhookIds": ["<value 1>", "<value 2>", "<value 3>"], "comments": "ha where bakeware dispense ouch who phew gown etch right incidentally overcharge clone actual wash gently premise", "shortLink": "https://hot-marten.biz/", "qrCode": "https://boring-cosset.org", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "testVariants": [{"url": "https://example.com/variant-1", "percentage": 50}, {"url": "https://example.com/variant-2", "percentage": 50}], "userId": "<id>", "workspaceId": "<id>", "clicks": 0, "lastClicked": "<value>", "leads": 0, "sales": 0, "saleAmount": 0, "createdAt": "1740078665647", "updatedAt": "1747597582277", "projectId": "<id>"}
@@ -1551,7 +1551,7 @@ examples:
15511551
createReferralsEmbedToken:
15521552
speakeasy-default-create-referrals-embed-token:
15531553
requestBody:
1554-
application/json: {"programId": "<id>", "partner": {"name": "<value>", "email": "[email protected]", "linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."], "testVariants": [{"url": "https://example.com/variant-1", "percentage": 50}, {"url": "https://example.com/variant-2", "percentage": 50}]}}}
1554+
application/json: {"partner": {"name": "<value>", "email": "[email protected]", "linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."], "testVariants": [{"url": "https://example.com/variant-1", "percentage": 50}, {"url": "https://example.com/variant-2", "percentage": 50}]}}}
15551555
responses:
15561556
"201":
15571557
application/json: {"publicToken": "<value>", "expires": "<value>"}

.speakeasy/gen.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ generation:
1616
auth:
1717
oAuth2ClientCredentialsEnabled: true
1818
oAuth2PasswordEnabled: false
19+
tests:
20+
generateTests: true
21+
generateNewTests: false
22+
skipResponseBodyAssertions: false
1923
python:
20-
version: 0.26.10
24+
version: 0.26.11
2125
additionalDependencies:
2226
dev: {}
2327
main: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.568.1
1+
speakeasyVersion: 1.568.2
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:95fe6100ad69640db20bc3731528cb2419ce4962e80f33ff288a11770964e5ec
6-
sourceBlobDigest: sha256:85cc0a10bed9d04d9bb59e9bd6cb24394f726beae6b93c9cd69046eeea8fc0a0
5+
sourceRevisionDigest: sha256:bba06e2951f42abeb0b3142168e012fd50d36c047acec50bc9b587908710f7c3
6+
sourceBlobDigest: sha256:2721ad445d1575c8192ede1ad9d4b1c09ae0491f4519d6e68e4ca7c6156db883
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1750379433
9+
- speakeasy-sdk-regen-1750798131
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:95fe6100ad69640db20bc3731528cb2419ce4962e80f33ff288a11770964e5ec
16-
sourceBlobDigest: sha256:85cc0a10bed9d04d9bb59e9bd6cb24394f726beae6b93c9cd69046eeea8fc0a0
15+
sourceRevisionDigest: sha256:bba06e2951f42abeb0b3142168e012fd50d36c047acec50bc9b587908710f7c3
16+
sourceBlobDigest: sha256:2721ad445d1575c8192ede1ad9d4b1c09ae0491f4519d6e68e4ca7c6156db883
1717
codeSamplesNamespace: code-samples-python-my-first-target
18-
codeSamplesRevisionDigest: sha256:a0f293de9779691737143125defd8aec45b8c3b163b8926bb85c5082e9ee61fb
18+
codeSamplesRevisionDigest: sha256:ab95fb9514de605a6da6c0df7f4439c111c7a98ddd8f5c2e958bed99969f7cf5
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1266,4 +1266,14 @@ Based on:
12661266
### Generated
12671267
- [python v0.26.10] .
12681268
### Releases
1269-
- [PyPI v0.26.10] https://pypi.org/project/dub/0.26.10 - .
1269+
- [PyPI v0.26.10] https://pypi.org/project/dub/0.26.10 - .
1270+
1271+
## 2025-06-24 20:48:35
1272+
### Changes
1273+
Based on:
1274+
- OpenAPI Doc
1275+
- Speakeasy CLI 1.568.2 (2.634.2) https://github.com/speakeasy-api/speakeasy
1276+
### Generated
1277+
- [python v0.26.11] .
1278+
### Releases
1279+
- [PyPI v0.26.11] https://pypi.org/project/dub/0.26.11 - .

codeSamples.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,6 @@ actions:
689689
) as d_client:
690690
691691
res = d_client.partners.create(request={
692-
"program_id": "<id>",
693692
"name": "<value>",
694693
"email": "[email protected]",
695694
"link_props": {
@@ -729,7 +728,6 @@ actions:
729728
730729
res = d_client.partners.analytics(request={
731730
"timezone": "America/New_York",
732-
"program_id": "<id>",
733731
})
734732
735733
assert res is not None
@@ -771,7 +769,6 @@ actions:
771769
) as d_client:
772770
773771
res = d_client.partners.create_link(request={
774-
"program_id": "<id>",
775772
"link_props": {
776773
"external_id": "123456",
777774
"tag_ids": [
@@ -808,7 +805,6 @@ actions:
808805
) as d_client:
809806
810807
res = d_client.partners.upsert_link(request={
811-
"program_id": "<id>",
812808
"link_props": {
813809
"external_id": "123456",
814810
"tag_ids": [
@@ -946,7 +942,6 @@ actions:
946942
) as d_client:
947943
948944
res = d_client.embed_tokens.referrals(request={
949-
"program_id": "<id>",
950945
"partner": {
951946
"name": "<value>",
952947
"email": "[email protected]",

docs/models/operations/createpartnerlinkrequestbody.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
| Field | Type | Required | Description |
77
| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8-
| `program_id` | *str* | :heavy_check_mark: | The ID of the program that the partner is enrolled in. |
98
| `partner_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the partner to create a link for. Will take precedence over `tenantId` if provided. |
109
| `tenant_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The ID of the partner in your system. If both `partnerId` and `tenantId` are not provided, an error will be thrown. |
1110
| `url` | *OptionalNullable[str]* | :heavy_minus_sign: | The URL to shorten (if not provided, the program's default URL will be used). Will throw an error if the domain doesn't match the program's default URL domain. |

0 commit comments

Comments
 (0)