Skip to content

Commit 96ff9ea

Browse files
authored
Merge pull request #105 from dubinc/speakeasy-sdk-regen-1746145321
chore: 🐝 Update SDK - Generate 0.12.14
2 parents 0a599f4 + 3d7e4c3 commit 96ff9ea

33 files changed

+127
-98
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
**/.speakeasy/temp/
2+
**/.speakeasy/logs/
13
.speakeasy/temp/
24
composer.lock
35
vendor

.speakeasy/gen.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 43187d3e-7c3c-4c11-b5d4-4b2334fb6d96
33
management:
4-
docChecksum: 2f7c18cd20be62d8e5099afd67885530
4+
docChecksum: a7ba8704507363fabccfcbe7aad3310c
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.540.1
7-
generationVersion: 2.593.4
8-
releaseVersion: 0.12.13
9-
configChecksum: a7a7257abbbb47282f4f6faa1b4a5027
6+
speakeasyVersion: 1.542.3
7+
generationVersion: 2.597.9
8+
releaseVersion: 0.12.14
9+
configChecksum: 70caae979f40af98956cbcf67ea89bd1
1010
repoURL: https://github.com/dubinc/dub-php.git
1111
installationURL: https://github.com/dubinc/dub-php
1212
published: true
@@ -1084,7 +1084,7 @@ examples:
10841084
sortBy: "timestamp"
10851085
responses:
10861086
"200":
1087-
application/json: [{"event": "sale", "timestamp": "<value>", "eventId": "<id>", "eventName": "<value>", "link": {"id": "<id>", "domain": "remorseful-concentration.biz", "key": "<key>", "url": "https://primary-paintwork.com/", "trackConversion": false, "externalId": "<id>", "tenantId": "<id>", "programId": "<id>", "partnerId": "<id>", "archived": true, "expiresAt": "1748132901153", "expiredUrl": "https://memorable-overcoat.com", "password": "COyVtOrvIw1vLIJ", "proxy": true, "title": "<value>", "description": "cleverly blossom defiantly", "image": "https://picsum.photos/seed/FhMx4/296/3347", "video": "https://picsum.videos/seed/gk5Gr0OXM/244/1177", "rewrite": false, "doIndex": false, "ios": "<value>", "android": "<id>", "geo": {}, "publicStats": false, "tagId": "<id>", "tags": [], "folderId": "<id>", "webhookIds": ["<value>"], "comments": "eek censor tenement commonly softly boo massive sorrowful aw strict behind along energetic oddball pasta thread vestment meanwhile likely up", "shortLink": "https://lucky-volleyball.biz", "qrCode": "https://discrete-omelet.net/", "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}], "testStartedAt": "<value>", "testCompletedAt": "<value>", "userId": "<id>", "workspaceId": "<id>", "clicks": 0, "lastClicked": "<value>", "leads": 0, "sales": 0, "saleAmount": 0, "createdAt": "1742100757278", "updatedAt": "1745952448290", "projectId": "<id>"}, "click": {"id": "<id>", "timestamp": "<value>", "url": "https://watery-ecliptic.info/", "country": "Somalia", "city": "Jammiecester", "region": "<value>", "continent": "Antarctica", "device": "Mobile", "browser": "Firefox", "os": "BeOS", "referer": "male-widow.info", "refererUrl": "https://sticky-tune-up.net", "qr": true, "ip": "144.175.252.47"}, "customer": {"id": "<id>", "externalId": "<id>", "name": "<value>", "createdAt": "1716442943631"}, "sale": {"amount": 608798, "invoiceId": null, "paymentProcessor": "shopify"}, "saleAmount": 8727.59, "invoice_id": "<id>", "payment_processor": "<value>", "metadata": "<value>", "click_id": "<id>", "link_id": "<id>", "domain": "hateful-linseed.info", "key": "<key>", "url": "https://rowdy-cuckoo.org/", "continent": "South America", "country": "Georgia", "city": "Emanuelboro", "device": "Mobile", "browser": "Chrome", "os": "WebOS", "qr": 3279.73, "ip": "16.166.150.33"}, {"event": "sale", "timestamp": "<value>", "eventId": "<id>", "eventName": "<value>", "link": {"id": "<id>", "domain": "sparkling-hydrolyze.biz", "key": "<key>", "url": "https://closed-space.org/", "trackConversion": false, "externalId": "<id>", "tenantId": "<id>", "programId": "<id>", "partnerId": "<id>", "archived": true, "expiresAt": "1764216864716", "expiredUrl": "https://unkempt-conversation.com/", "password": "PMbm9rjvofBDkNA", "proxy": false, "title": "<value>", "description": "after although while", "image": "https://picsum.photos/seed/Z9T8xoAjNE/354/1907", "video": "https://loremflickr.com/1063/1000?lock=6552935322217005", "rewrite": true, "doIndex": true, "ios": "<value>", "android": "<id>", "geo": {}, "publicStats": true, "tagId": "<id>", "tags": [{"id": "<id>", "name": "<value>", "color": "pink"}], "folderId": "<id>", "webhookIds": [], "comments": "clear-cut an mid aw disconnection which wetly typeface usable underneath putrefy ah aha joint careless whoever yesterday thorny unwelcome", "shortLink": "https://upbeat-sermon.org", "qrCode": "https://plump-horde.com", "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}], "testStartedAt": "<value>", "testCompletedAt": "<value>", "userId": "<id>", "workspaceId": "<id>", "clicks": 0, "lastClicked": "<value>", "leads": 0, "sales": 0, "saleAmount": 0, "createdAt": "1722349349471", "updatedAt": "1745945594944", "projectId": "<id>"}, "click": {"id": "<id>", "timestamp": "<value>", "url": "https://lined-address.name/", "country": "Moldova", "city": "Dachfield", "region": "<value>", "continent": "Africa", "device": "Desktop", "browser": "Firefox", "os": "Symbian", "referer": "fatherly-marketplace.biz", "refererUrl": "https://bitter-platter.net/", "qr": false, "ip": "adca:ffa9:74d9:bf7c:f4c5:d273:f1ed:be4f"}, "customer": {"id": "<id>", "externalId": "<id>", "name": "<value>", "createdAt": "1743562057172"}, "sale": {"amount": 478369, "invoiceId": null, "paymentProcessor": "custom"}, "saleAmount": 3702.47, "invoice_id": "<id>", "payment_processor": "<value>", "metadata": "<value>", "click_id": "<id>", "link_id": "<id>", "domain": "untimely-straw.net", "key": "<key>", "url": "https://definitive-cutover.com", "continent": "Africa", "country": "Angola", "city": "Ryleyport", "device": "Desktop", "browser": "Firefox", "os": "Android", "qr": 9298.29, "ip": "250.239.120.52"}]
1087+
application/json: [{"event": "sale", "timestamp": "<value>", "eventId": "<id>", "eventName": "<value>", "link": {"id": "<id>", "domain": "remorseful-concentration.biz", "key": "<key>", "url": "https://primary-paintwork.com/", "trackConversion": false, "externalId": "<id>", "tenantId": "<id>", "programId": "<id>", "partnerId": "<id>", "archived": true, "expiresAt": "1748132901153", "expiredUrl": "https://memorable-overcoat.com", "password": "COyVtOrvIw1vLIJ", "proxy": true, "title": "<value>", "description": "cleverly blossom defiantly", "image": "https://picsum.photos/seed/FhMx4/296/3347", "video": "https://picsum.videos/seed/gk5Gr0OXM/244/1177", "rewrite": false, "doIndex": false, "ios": "<value>", "android": "<id>", "geo": {}, "publicStats": false, "tagId": "<id>", "tags": [], "folderId": "<id>", "webhookIds": ["<value>"], "comments": "eek censor tenement commonly softly boo massive sorrowful aw strict behind along energetic oddball pasta thread vestment meanwhile likely up", "shortLink": "https://lucky-volleyball.biz", "qrCode": "https://discrete-omelet.net/", "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}], "testStartedAt": "<value>", "testCompletedAt": "<value>", "userId": "<id>", "workspaceId": "<id>", "clicks": 0, "lastClicked": "<value>", "leads": 0, "sales": 0, "saleAmount": 0, "createdAt": "1742100757278", "updatedAt": "1745952448290", "projectId": "<id>"}, "click": {"id": "<id>", "timestamp": "<value>", "url": "https://watery-ecliptic.info/", "country": "Somalia", "city": "Jammiecester", "region": "<value>", "continent": "Antarctica", "device": "Mobile", "browser": "Firefox", "os": "BeOS", "referer": "male-widow.info", "refererUrl": "https://sticky-tune-up.net", "qr": true, "ip": "144.175.252.47"}, "customer": {"id": "<id>", "externalId": "<id>", "name": "<value>", "createdAt": "1716442943631"}, "sale": {"amount": 608798, "invoiceId": null, "paymentProcessor": "shopify"}, "saleAmount": 8727.59, "invoice_id": "<id>", "payment_processor": "<value>", "click_id": "<id>", "link_id": "<id>", "domain": "hateful-linseed.info", "key": "<key>", "url": "https://rowdy-cuckoo.org/", "continent": "South America", "country": "Georgia", "city": "Emanuelboro", "device": "Mobile", "browser": "Chrome", "os": "WebOS", "qr": 3279.73, "ip": "16.166.150.33"}, {"event": "sale", "timestamp": "<value>", "eventId": "<id>", "eventName": "<value>", "link": {"id": "<id>", "domain": "sparkling-hydrolyze.biz", "key": "<key>", "url": "https://closed-space.org/", "trackConversion": false, "externalId": "<id>", "tenantId": "<id>", "programId": "<id>", "partnerId": "<id>", "archived": true, "expiresAt": "1764216864716", "expiredUrl": "https://unkempt-conversation.com/", "password": "PMbm9rjvofBDkNA", "proxy": false, "title": "<value>", "description": "after although while", "image": "https://picsum.photos/seed/Z9T8xoAjNE/354/1907", "video": "https://loremflickr.com/1063/1000?lock=6552935322217005", "rewrite": true, "doIndex": true, "ios": "<value>", "android": "<id>", "geo": {}, "publicStats": true, "tagId": "<id>", "tags": [{"id": "<id>", "name": "<value>", "color": "pink"}], "folderId": "<id>", "webhookIds": [], "comments": "clear-cut an mid aw disconnection which wetly typeface usable underneath putrefy ah aha joint careless whoever yesterday thorny unwelcome", "shortLink": "https://upbeat-sermon.org", "qrCode": "https://plump-horde.com", "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}], "testStartedAt": "<value>", "testCompletedAt": "<value>", "userId": "<id>", "workspaceId": "<id>", "clicks": 0, "lastClicked": "<value>", "leads": 0, "sales": 0, "saleAmount": 0, "createdAt": "1722349349471", "updatedAt": "1745945594944", "projectId": "<id>"}, "click": {"id": "<id>", "timestamp": "<value>", "url": "https://lined-address.name/", "country": "Moldova", "city": "Dachfield", "region": "<value>", "continent": "Africa", "device": "Desktop", "browser": "Firefox", "os": "Symbian", "referer": "fatherly-marketplace.biz", "refererUrl": "https://bitter-platter.net/", "qr": false, "ip": "adca:ffa9:74d9:bf7c:f4c5:d273:f1ed:be4f"}, "customer": {"id": "<id>", "externalId": "<id>", "name": "<value>", "createdAt": "1743562057172"}, "sale": {"amount": 478369, "invoiceId": null, "paymentProcessor": "custom"}, "saleAmount": 3702.47, "invoice_id": "<id>", "payment_processor": "<value>", "click_id": "<id>", "link_id": "<id>", "domain": "untimely-straw.net", "key": "<key>", "url": "https://definitive-cutover.com", "continent": "Africa", "country": "Angola", "city": "Ryleyport", "device": "Desktop", "browser": "Firefox", "os": "Android", "qr": 9298.29, "ip": "250.239.120.52"}]
10881088
"400":
10891089
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
10901090
"401":
@@ -1602,7 +1602,7 @@ examples:
16021602
application/json: {"programId": "<id>", "name": "<value>", "email": "Loyal79@yahoo.com", "linkProps": {"externalId": "123456", "tagIds": ["clux0rgak00011..."], "testVariants": [{"url": "https://example.com/variant-1", "percentage": 50}, {"url": "https://example.com/variant-2", "percentage": 50}]}}
16031603
responses:
16041604
"201":
1605-
application/json: {"id": "<id>", "name": "<value>", "email": "Cecelia58@gmail.com", "image": "https://loremflickr.com/3829/1428?lock=159966360206367", "country": "Cyprus", "payoutsEnabledAt": "<value>", "createdAt": "1720330944736", "status": "pending", "programId": "<id>", "tenantId": "<id>", "links": [{"id": "<id>", "domain": "dependent-bench.com", "key": "<key>", "shortLink": "https://gripping-analogy.name", "url": "https://distant-advertisement.name", "clicks": 0, "leads": 0, "sales": 0, "saleAmount": 0}], "clicks": 0, "leads": 0, "sales": 0, "saleAmount": 0, "earnings": 0}
1605+
application/json: {"id": "<id>", "name": "<value>", "email": "Cecelia58@gmail.com", "image": "https://loremflickr.com/3829/1428?lock=159966360206367", "country": "Cyprus", "paypalEmail": "<value>", "stripeConnectId": "<id>", "payoutsEnabledAt": "<value>", "createdAt": "1720330944736", "status": "pending", "programId": "<id>", "tenantId": "<id>", "links": [{"id": "<id>", "domain": "dependent-bench.com", "key": "<key>", "shortLink": "https://gripping-analogy.name", "url": "https://distant-advertisement.name", "clicks": 0, "leads": 0, "sales": 0, "saleAmount": 0}], "clicks": 0, "leads": 0, "sales": 0, "saleAmount": 0, "earnings": 0}
16061606
"400":
16071607
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
16081608
"401":

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ generation:
1616
oAuth2ClientCredentialsEnabled: true
1717
oAuth2PasswordEnabled: false
1818
php:
19-
version: 0.12.13
19+
version: 0.12.14
2020
additionalDependencies:
2121
autoload: {}
2222
autoload-dev: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.540.1
1+
speakeasyVersion: 1.542.3
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:3401c39079c89b2def10c97c1d5c1b6940dac3acf2dc768db019221c123be597
6-
sourceBlobDigest: sha256:b2fba1c3726d4c877929537bbbcd64774a6764d153e869125772292f6c3f268a
5+
sourceRevisionDigest: sha256:34f53ba19456f78bbd8b92bdb72d9f58891cf20cec85bc4f8ae7002f45070e43
6+
sourceBlobDigest: sha256:175bb04362a90b099ecef0183043a35704ed119a2153475ffe059937ea964093
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1745972517
9+
- speakeasy-sdk-regen-1746145321
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:3401c39079c89b2def10c97c1d5c1b6940dac3acf2dc768db019221c123be597
16-
sourceBlobDigest: sha256:b2fba1c3726d4c877929537bbbcd64774a6764d153e869125772292f6c3f268a
15+
sourceRevisionDigest: sha256:34f53ba19456f78bbd8b92bdb72d9f58891cf20cec85bc4f8ae7002f45070e43
16+
sourceBlobDigest: sha256:175bb04362a90b099ecef0183043a35704ed119a2153475ffe059937ea964093
1717
codeSamplesNamespace: code-samples-php-my-first-target
18-
codeSamplesRevisionDigest: sha256:ba3c78a130d838e37234eaecfd555821e38d2c120c240bca43478455a1b9d6e2
18+
codeSamplesRevisionDigest: sha256:15b4cb8f3c155a8541a623710d786509bdf58e4cb21e44bd7f7b983a6820f4e5
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,22 +213,22 @@ if ($response->linkSchema !== null) {
213213

214214
### [embedTokens](docs/sdks/embedtokens/README.md)
215215

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

218218
### [events](docs/sdks/events/README.md)
219219

220220
* [list](docs/sdks/events/README.md#list) - Retrieve a list of events
221221

222222
### [folders](docs/sdks/folders/README.md)
223223

224-
* [create](docs/sdks/folders/README.md#create) - Create a new folder
224+
* [create](docs/sdks/folders/README.md#create) - Create a folder
225225
* [list](docs/sdks/folders/README.md#list) - Retrieve a list of folders
226226
* [update](docs/sdks/folders/README.md#update) - Update a folder
227227
* [delete](docs/sdks/folders/README.md#delete) - Delete a folder
228228

229229
### [links](docs/sdks/links/README.md)
230230

231-
* [create](docs/sdks/links/README.md#create) - Create a new link
231+
* [create](docs/sdks/links/README.md#create) - Create a link
232232
* [list](docs/sdks/links/README.md#list) - Retrieve a list of links
233233
* [count](docs/sdks/links/README.md#count) - Retrieve links count
234234
* [get](docs/sdks/links/README.md#get) - Retrieve a link
@@ -241,7 +241,7 @@ if ($response->linkSchema !== null) {
241241

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

244-
* [create](docs/sdks/partners/README.md#create) - Create a new partner
244+
* [create](docs/sdks/partners/README.md#create) - Create a partner
245245
* [createLink](docs/sdks/partners/README.md#createlink) - Create a link for a partner
246246
* [retrieveLinks](docs/sdks/partners/README.md#retrievelinks) - Retrieve a partner's links.
247247
* [upsertLink](docs/sdks/partners/README.md#upsertlink) - Upsert a link for a partner
@@ -254,7 +254,7 @@ if ($response->linkSchema !== null) {
254254

255255
### [tags](docs/sdks/tags/README.md)
256256

257-
* [create](docs/sdks/tags/README.md#create) - Create a new tag
257+
* [create](docs/sdks/tags/README.md#create) - Create a tag
258258
* [list](docs/sdks/tags/README.md#list) - Retrieve a list of tags
259259
* [update](docs/sdks/tags/README.md#update) - Update a tag
260260
* [delete](docs/sdks/tags/README.md#delete) - Delete a tag

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,4 +960,14 @@ Based on:
960960
### Generated
961961
- [php v0.12.13] .
962962
### Releases
963-
- [Composer v0.12.13] https://packagist.org/packages/dub/dub-php#v0.12.13 - .
963+
- [Composer v0.12.13] https://packagist.org/packages/dub/dub-php#v0.12.13 - .
964+
965+
## 2025-05-06 00:21:58
966+
### Changes
967+
Based on:
968+
- OpenAPI Doc
969+
- Speakeasy CLI 1.542.3 (2.597.9) https://github.com/speakeasy-api/speakeasy
970+
### Generated
971+
- [php v0.12.14] .
972+
### Releases
973+
- [Composer v0.12.14] https://packagist.org/packages/dub/dub-php#v0.12.14 - .

codeSamples.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ actions:
6262
"x-codeSamples":
6363
- "lang": "php"
6464
"label": "listEvents"
65-
"source": "declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse Dub;\nuse Dub\\Models\\Operations;\n\n$sdk = Dub\\Dub::builder()\n ->setSecurity(\n 'DUB_API_KEY'\n )\n ->build();\n\n$request = new Operations\\ListEventsRequest(\n city: 'New York',\n device: 'Desktop',\n browser: 'Chrome',\n os: 'Windows',\n referer: 'google.com',\n refererUrl: 'https://dub.co/blog',\n);\n\n$response = $sdk->events->list(\n request: $request\n);\n\nif ($response->oneOf !== null) {\n // handle response\n}"
65+
"source": "declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse Dub;\nuse Dub\\Models\\Operations;\n\n$sdk = Dub\\Dub::builder()\n ->setSecurity(\n 'DUB_API_KEY'\n )\n ->build();\n\n$request = new Operations\\ListEventsRequest(\n city: 'New York',\n device: 'Desktop',\n browser: 'Chrome',\n os: 'Windows',\n referer: 'google.com',\n refererUrl: 'https://dub.co/blog',\n);\n\n$response = $sdk->events->list(\n request: $request\n);\n\nif ($response->responseBodies !== null) {\n // handle response\n}"
6666
- target: $["paths"]["/folders"]["get"]
6767
update:
6868
"x-codeSamples":

0 commit comments

Comments
 (0)