Skip to content

Commit 92a754c

Browse files
authoredMar 5, 2025··
Merge pull request #105 from dubinc/speakeasy-sdk-regen-1741134428
chore: 🐝 Update SDK - Generate 0.19.6
2 parents cbe37b3 + ac460d8 commit 92a754c

35 files changed

+1209
-237
lines changed
 

‎.speakeasy/gen.lock

+39-9
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: 67941bfbb5e02cd5bc33d054673647ac
4+
docChecksum: 7d12cd211b08ee0e5d9a48c3e7a01812
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.509.0
7-
generationVersion: 2.539.0
8-
releaseVersion: 0.19.5
9-
configChecksum: 5676cfbd8f5e5ca3989cd49e9a676551
6+
speakeasyVersion: 1.509.1
7+
generationVersion: 2.539.1
8+
releaseVersion: 0.19.6
9+
configChecksum: dd6d72788fdc8c1711ed424d6e32ddaf
1010
repoURL: https://github.com/dubinc/dub-python.git
1111
installationURL: https://github.com/dubinc/dub-python.git
1212
published: true
@@ -204,8 +204,6 @@ generatedFiles:
204204
- docs/models/operations/createcustomerresponsebody.md
205205
- docs/models/operations/createcustomertype.md
206206
- docs/models/operations/createdomainrequestbody.md
207-
- docs/models/operations/createembedtokenrequestbody.md
208-
- docs/models/operations/createembedtokenresponsebody.md
209207
- docs/models/operations/createfolderrequestbody.md
210208
- docs/models/operations/createlinkrequestbody.md
211209
- docs/models/operations/createpartnerlinklinkprops.md
@@ -216,6 +214,12 @@ generatedFiles:
216214
- docs/models/operations/createpartnerresponsebody.md
217215
- docs/models/operations/createpartnertagids.md
218216
- docs/models/operations/createpartnertagnames.md
217+
- docs/models/operations/createreferralsembedtokencountry.md
218+
- docs/models/operations/createreferralsembedtokenlinkprops.md
219+
- docs/models/operations/createreferralsembedtokenrequestbody.md
220+
- docs/models/operations/createreferralsembedtokenresponsebody.md
221+
- docs/models/operations/createreferralsembedtokentagids.md
222+
- docs/models/operations/createreferralsembedtokentagnames.md
219223
- docs/models/operations/createtagrequestbody.md
220224
- docs/models/operations/customer.md
221225
- docs/models/operations/data.md
@@ -239,6 +243,7 @@ generatedFiles:
239243
- docs/models/operations/getcustomerrequest.md
240244
- docs/models/operations/getcustomerresponsebody.md
241245
- docs/models/operations/getcustomersinterval.md
246+
- docs/models/operations/getcustomerspartner.md
242247
- docs/models/operations/getcustomersrequest.md
243248
- docs/models/operations/getcustomersresponsebody.md
244249
- docs/models/operations/getcustomertype.md
@@ -428,11 +433,11 @@ generatedFiles:
428433
- src/dub/models/operations/bulkupdatelinks.py
429434
- src/dub/models/operations/createcustomer.py
430435
- src/dub/models/operations/createdomain.py
431-
- src/dub/models/operations/createembedtoken.py
432436
- src/dub/models/operations/createfolder.py
433437
- src/dub/models/operations/createlink.py
434438
- src/dub/models/operations/createpartner.py
435439
- src/dub/models/operations/createpartnerlink.py
440+
- src/dub/models/operations/createreferralsembedtoken.py
436441
- src/dub/models/operations/createtag.py
437442
- src/dub/models/operations/deletecustomer.py
438443
- src/dub/models/operations/deletedomain.py
@@ -808,7 +813,7 @@ examples:
808813
sortBy: "timestamp"
809814
responses:
810815
"200":
811-
application/json: [{"event": "sale", "eventId": "<id>", "eventName": "<value>", "link": {"id": "<id>", "domain": "remorseful-concentration.biz", "key": "<key>", "url": "https://primary-paintwork.com/", "externalId": "<id>", "tenantId": "<id>", "programId": "<id>", "partnerId": "<id>", "expiresAt": "1763700449837", "expiredUrl": "https://black-poetry.name/", "password": "COyVtOrvIw1vLIJ", "title": "<value>", "description": "despite er boom however when uh-huh", "image": "https://picsum.photos/seed/T1tZJLp1EG/3827/3109", "video": "https://loremflickr.com/2420/1632?lock=7470650813503352", "ios": "<value>", "android": "<id>", "geo": {}, "tagId": "<id>", "tags": [{"id": "<id>", "name": "<value>", "color": "green"}], "folderId": "<id>", "webhookIds": [], "comments": "tenement commonly softly boo massive sorrowful", "shortLink": "https://dense-custom.info/", "qrCode": "https://alive-lid.biz", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<id>", "workspaceId": "<id>", "clicks": 0, "lastClicked": "<value>", "leads": 0, "sales": 0, "saleAmount": 0, "createdAt": "1729113261387", "updatedAt": "1740986889386", "projectId": "<id>"}, "click": {"id": "<id>", "timestamp": "<value>", "url": "https://utilized-quit.net/", "country": "Togo", "city": "Cormiermouth", "region": "<value>", "continent": "North America", "device": "Mobile", "browser": "Chrome", "os": "Chrome OS", "referer": "gummy-cope.net", "refererUrl": "https://prickly-bourgeoisie.info/", "ip": "69bd:53cd:cebc:ac4b:d1e8:50e8:ee59:b0b3"}, "customer": {"id": "<id>", "externalId": "<id>", "name": "<value>", "createdAt": "1739868805844"}, "sale": {"amount": 625809, "invoiceId": null, "paymentProcessor": "stripe"}, "saleAmount": 1401.42, "invoice_id": "<id>", "payment_processor": "<value>", "click_id": "<id>", "link_id": "<id>", "domain": "unruly-allegation.name", "key": "<key>", "url": "https://fortunate-swim.info/", "continent": "Australia", "country": "Cook Islands", "city": "South Harryburgh", "device": "Mobile", "browser": "Safari", "os": "WebOS", "qr": 1523.03, "ip": "caf5:04dc:da9e:67cc:af3b:8caf:afbe:e39c"}, {"event": "sale", "eventId": "<id>", "eventName": "<value>", "link": {"id": "<id>", "domain": "right-window.biz", "key": "<key>", "url": "https://physical-experience.org/", "externalId": "<id>", "tenantId": "<id>", "programId": "<id>", "partnerId": "<id>", "expiresAt": "1752391803453", "expiredUrl": "https://indelible-birdbath.net", "password": "4yMlkCXkK5ppW3u", "title": "<value>", "description": "terribly gosh facilitate in", "image": "https://loremflickr.com/2596/954?lock=8527955982122580", "video": "https://loremflickr.com/3336/742?lock=2177640289466521", "ios": "<value>", "android": "<id>", "geo": {}, "tagId": "<id>", "tags": [{"id": "<id>", "name": "<value>", "color": "red"}, {"id": "<id>", "name": "<value>", "color": "pink"}, {"id": "<id>", "name": "<value>", "color": "pink"}], "folderId": "<id>", "webhookIds": ["<value>", "<value>", "<value>"], "comments": "up so pro pish clear-cut an mid aw disconnection which wetly typeface usable underneath putrefy ah aha", "shortLink": "https://knowledgeable-season.info", "qrCode": "https://nimble-individual.biz/", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<id>", "workspaceId": "<id>", "clicks": 0, "lastClicked": "<value>", "leads": 0, "sales": 0, "saleAmount": 0, "createdAt": "1739607527182", "updatedAt": "1740992610646", "projectId": "<id>"}, "click": {"id": "<id>", "timestamp": "<value>", "url": "https://perfumed-marketplace.com/", "country": "Burundi", "city": "Stockton", "region": "<value>", "continent": "Asia", "device": "Desktop", "browser": "Chrome", "os": "Symbian", "referer": "well-off-hygienic.org", "refererUrl": "https://ripe-ceramic.org", "ip": "eebc:cce9:cecf:ebeb:dfd9:15f2:a0cc:a3b1"}, "customer": {"id": "<id>", "externalId": "<id>", "name": "<value>", "createdAt": "1723968472004"}, "sale": {"amount": 443316, "invoiceId": null, "paymentProcessor": "custom"}, "saleAmount": 2634.98, "invoice_id": "<id>", "payment_processor": "<value>", "click_id": "<id>", "link_id": "<id>", "domain": "next-cricket.biz", "key": "<key>", "url": "https://repentant-rust.name/", "continent": "Australia", "country": "Saint Helena", "city": "Luettgenfort", "device": "Mobile", "browser": "Safari", "os": "Chrome OS", "qr": 4390.32, "ip": "54.229.114.129"}]
816+
application/json: [{"event": "sale", "eventId": "<id>", "eventName": "<value>", "link": {"id": "<id>", "domain": "remorseful-concentration.biz", "key": "<key>", "url": "https://primary-paintwork.com/", "externalId": "<id>", "tenantId": "<id>", "programId": "<id>", "partnerId": "<id>", "expiresAt": "1763786851711", "expiredUrl": "https://black-poetry.name/", "password": "COyVtOrvIw1vLIJ", "title": "<value>", "description": "despite er boom however when uh-huh", "image": "https://picsum.photos/seed/T1tZJLp1EG/3827/3109", "video": "https://loremflickr.com/2420/1632?lock=7470650813503352", "ios": "<value>", "android": "<id>", "geo": {}, "tagId": "<id>", "tags": [{"id": "<id>", "name": "<value>", "color": "green"}], "folderId": "<id>", "webhookIds": [], "comments": "tenement commonly softly boo massive sorrowful", "shortLink": "https://dense-custom.info/", "qrCode": "https://alive-lid.biz", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<id>", "workspaceId": "<id>", "clicks": 0, "lastClicked": "<value>", "leads": 0, "sales": 0, "saleAmount": 0, "createdAt": "1729199663261", "updatedAt": "1741073291260", "projectId": "<id>"}, "click": {"id": "<id>", "timestamp": "<value>", "url": "https://utilized-quit.net/", "country": "Togo", "city": "Cormiermouth", "region": "<value>", "continent": "North America", "device": "Mobile", "browser": "Chrome", "os": "Chrome OS", "referer": "gummy-cope.net", "refererUrl": "https://prickly-bourgeoisie.info/", "ip": "69bd:53cd:cebc:ac4b:d1e8:50e8:ee59:b0b3"}, "customer": {"id": "<id>", "externalId": "<id>", "name": "<value>", "createdAt": "1739955207719"}, "sale": {"amount": 625809, "invoiceId": null, "paymentProcessor": "stripe"}, "saleAmount": 1401.42, "invoice_id": "<id>", "payment_processor": "<value>", "click_id": "<id>", "link_id": "<id>", "domain": "unruly-allegation.name", "key": "<key>", "url": "https://fortunate-swim.info/", "continent": "Australia", "country": "Cook Islands", "city": "South Harryburgh", "device": "Mobile", "browser": "Safari", "os": "WebOS", "qr": 1523.03, "ip": "caf5:04dc:da9e:67cc:af3b:8caf:afbe:e39c"}, {"event": "sale", "eventId": "<id>", "eventName": "<value>", "link": {"id": "<id>", "domain": "right-window.biz", "key": "<key>", "url": "https://physical-experience.org/", "externalId": "<id>", "tenantId": "<id>", "programId": "<id>", "partnerId": "<id>", "expiresAt": "1752478205301", "expiredUrl": "https://indelible-birdbath.net", "password": "4yMlkCXkK5ppW3u", "title": "<value>", "description": "terribly gosh facilitate in", "image": "https://loremflickr.com/2596/954?lock=8527955982122580", "video": "https://loremflickr.com/3336/742?lock=2177640289466521", "ios": "<value>", "android": "<id>", "geo": {}, "tagId": "<id>", "tags": [{"id": "<id>", "name": "<value>", "color": "red"}, {"id": "<id>", "name": "<value>", "color": "pink"}, {"id": "<id>", "name": "<value>", "color": "pink"}], "folderId": "<id>", "webhookIds": ["<value>", "<value>", "<value>"], "comments": "up so pro pish clear-cut an mid aw disconnection which wetly typeface usable underneath putrefy ah aha", "shortLink": "https://knowledgeable-season.info", "qrCode": "https://nimble-individual.biz/", "utm_source": "<value>", "utm_medium": "<value>", "utm_campaign": "<value>", "utm_term": "<value>", "utm_content": "<value>", "userId": "<id>", "workspaceId": "<id>", "clicks": 0, "lastClicked": "<value>", "leads": 0, "sales": 0, "saleAmount": 0, "createdAt": "1739693929003", "updatedAt": "1741079012467", "projectId": "<id>"}, "click": {"id": "<id>", "timestamp": "<value>", "url": "https://perfumed-marketplace.com/", "country": "Burundi", "city": "Stockton", "region": "<value>", "continent": "Asia", "device": "Desktop", "browser": "Chrome", "os": "Symbian", "referer": "well-off-hygienic.org", "refererUrl": "https://ripe-ceramic.org", "ip": "eebc:cce9:cecf:ebeb:dfd9:15f2:a0cc:a3b1"}, "customer": {"id": "<id>", "externalId": "<id>", "name": "<value>", "createdAt": "1724054873826"}, "sale": {"amount": 443316, "invoiceId": null, "paymentProcessor": "custom"}, "saleAmount": 2634.98, "invoice_id": "<id>", "payment_processor": "<value>", "click_id": "<id>", "link_id": "<id>", "domain": "next-cricket.biz", "key": "<key>", "url": "https://repentant-rust.name/", "continent": "Australia", "country": "Saint Helena", "city": "Luettgenfort", "device": "Mobile", "browser": "Safari", "os": "Chrome OS", "qr": 4390.32, "ip": "54.229.114.129"}]
812817
"400":
813818
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
814819
"401":
@@ -1558,5 +1563,30 @@ examples:
15581563
application/json: {"error": {"code": "rate_limit_exceeded", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#rate-limit_exceeded"}}
15591564
"500":
15601565
application/json: {"error": {"code": "internal_server_error", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#internal-server_error"}}
1566+
createReferralsEmbedToken:
1567+
speakeasy-default-create-referrals-embed-token:
1568+
requestBody:
1569+
application/json: {"programId": "<id>", "partner": {"name": "<value>", "email": "Florencio98@hotmail.com", "linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."]}}}
1570+
responses:
1571+
"201":
1572+
application/json: {"publicToken": "<value>", "expires": "<value>"}
1573+
"400":
1574+
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
1575+
"401":
1576+
application/json: {"error": {"code": "unauthorized", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#unauthorized"}}
1577+
"403":
1578+
application/json: {"error": {"code": "forbidden", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#forbidden"}}
1579+
"404":
1580+
application/json: {"error": {"code": "not_found", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#not-found"}}
1581+
"409":
1582+
application/json: {"error": {"code": "conflict", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#conflict"}}
1583+
"410":
1584+
application/json: {"error": {"code": "invite_expired", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#invite-expired"}}
1585+
"422":
1586+
application/json: {"error": {"code": "unprocessable_entity", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#unprocessable-entity"}}
1587+
"429":
1588+
application/json: {"error": {"code": "rate_limit_exceeded", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#rate-limit_exceeded"}}
1589+
"500":
1590+
application/json: {"error": {"code": "internal_server_error", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#internal-server_error"}}
15611591
examplesVersion: 1.0.0
15621592
generatedTests: {}

‎.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: false
1717
python:
18-
version: 0.19.5
18+
version: 0.19.6
1919
additionalDependencies:
2020
dev: {}
2121
main: {}

‎.speakeasy/workflow.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.509.0
1+
speakeasyVersion: 1.509.1
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:c1034d03dc32ddd524e0cb67c9af009d226549892e0acf35f0b60575240f7c1c
6-
sourceBlobDigest: sha256:ae57ade2dded0af5b11b0020ffc8df2067775253c12d40b07aeac6d178fd695f
5+
sourceRevisionDigest: sha256:e7865cc169dd93b13aaf80eefa94c8f64c718630871963ca4c7db5a1ed907a49
6+
sourceBlobDigest: sha256:b20aa55a3d13e8cf21b9ee92b93087e79fc4f8f8c8bc5f08c0ed2dcccd02e08d
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1741048024
9+
- speakeasy-sdk-regen-1741134428
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:c1034d03dc32ddd524e0cb67c9af009d226549892e0acf35f0b60575240f7c1c
16-
sourceBlobDigest: sha256:ae57ade2dded0af5b11b0020ffc8df2067775253c12d40b07aeac6d178fd695f
15+
sourceRevisionDigest: sha256:e7865cc169dd93b13aaf80eefa94c8f64c718630871963ca4c7db5a1ed907a49
16+
sourceBlobDigest: sha256:b20aa55a3d13e8cf21b9ee92b93087e79fc4f8f8c8bc5f08c0ed2dcccd02e08d
1717
codeSamplesNamespace: code-samples-python-my-first-target
18-
codeSamplesRevisionDigest: sha256:c6bd3cd9cd13c8c73111355cdad21bf115b86d3e6a0a6c489a8faabf81d8e4d8
18+
codeSamplesRevisionDigest: sha256:1e4ce61ad5ffce7566d71e0f8a626c68a480cdb4c86704de19fe40762ed750d4
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ asyncio.run(main())
237237

238238
### [embed_tokens](docs/sdks/embedtokens/README.md)
239239

240-
* [create](docs/sdks/embedtokens/README.md#create) - Create a new embed token
240+
* [referrals](docs/sdks/embedtokens/README.md#referrals) - Create a new referrals embed token
241241

242242
### [events](docs/sdks/events/README.md)
243243

‎RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -956,4 +956,14 @@ Based on:
956956
### Generated
957957
- [python v0.19.5] .
958958
### Releases
959-
- [PyPI v0.19.5] https://pypi.org/project/dub/0.19.5 - .
959+
- [PyPI v0.19.5] https://pypi.org/project/dub/0.19.5 - .
960+
961+
## 2025-03-05 00:26:52
962+
### Changes
963+
Based on:
964+
- OpenAPI Doc
965+
- Speakeasy CLI 1.509.1 (2.539.1) https://github.com/speakeasy-api/speakeasy
966+
### Generated
967+
- [python v0.19.6] .
968+
### Releases
969+
- [PyPI v0.19.6] https://pypi.org/project/dub/0.19.6 - .

‎codeSamples.yaml

+15-4
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,6 @@ actions:
573573
"program_id": "<id>",
574574
"name": "<value>",
575575
"email": "Loyal79@yahoo.com",
576-
"username": "Aaliyah_Borer",
577576
"link_props": {
578577
"external_id": "123456",
579578
"tag_ids": [
@@ -777,11 +776,11 @@ actions:
777776
778777
# Handle response
779778
print(res)
780-
- target: $["paths"]["/tokens/embed"]["post"]
779+
- target: $["paths"]["/tokens/embed/referrals"]["post"]
781780
update:
782781
x-codeSamples:
783782
- lang: python
784-
label: createEmbedToken
783+
label: createReferralsEmbedToken
785784
source: |-
786785
from dub import Dub
787786
@@ -790,7 +789,19 @@ actions:
790789
token="DUB_API_KEY",
791790
) as d_client:
792791
793-
res = d_client.embed_tokens.create()
792+
res = d_client.embed_tokens.referrals(request={
793+
"program_id": "<id>",
794+
"partner": {
795+
"name": "<value>",
796+
"email": "Florencio98@hotmail.com",
797+
"link_props": {
798+
"external_id": "123456",
799+
"tag_ids": [
800+
"clux0rgak00011...",
801+
],
802+
},
803+
},
804+
})
794805
795806
assert res is not None
796807

‎docs/models/operations/createembedtokenrequestbody.md

-10
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.