Skip to content

Commit 920d034

Browse files
authored
Merge pull request #87 from dubinc/speakeasy-sdk-regen-1740788530
chore: 🐝 Update SDK - Generate 0.11.34
2 parents aebfd28 + f826c77 commit 920d034

File tree

12 files changed

+90
-30
lines changed

12 files changed

+90
-30
lines changed

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 10 additions & 6 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: db8c112e1f254ff516b8ce26ffe28dd4
4+
docChecksum: 41e78ddd52d7d4173557ba931d2272dc
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.505.1
7-
generationVersion: 2.531.0
8-
releaseVersion: 0.11.33
9-
configChecksum: ddb895fb0b2c18f1de069baae7e0e9a1
6+
speakeasyVersion: 1.508.0
7+
generationVersion: 2.536.0
8+
releaseVersion: 0.11.34
9+
configChecksum: 1a766e47bd80684c86a1f4c6a4adff16
1010
repoURL: https://github.com/dubinc/dub-php.git
1111
installationURL: https://github.com/dubinc/dub-php
1212
published: true
@@ -1082,7 +1082,7 @@ examples:
10821082
sortBy: "timestamp"
10831083
responses:
10841084
"200":
1085-
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": "1763268034294", "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": "1728680845849", "updatedAt": "1740554473848", "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": "1739436390309"}, "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": "1751959387893", "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": "1739175111616", "updatedAt": "1740560195080", "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": "1723536056448"}, "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"}]
1085+
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": "1763440955235", "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": "1728853766788", "updatedAt": "1740727394787", "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": "1739609311248"}, "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": "1752132308831", "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": "1739348032538", "updatedAt": "1740733116002", "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": "1723708977361"}, "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"}]
10861086
"400":
10871087
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
10881088
"401":
@@ -1704,6 +1704,10 @@ examples:
17041704
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"}}
17051705
listFolders:
17061706
speakeasy-default-list-folders:
1707+
parameters:
1708+
query:
1709+
page: 1
1710+
pageSize: 50
17071711
responses:
17081712
"200":
17091713
application/json: [{"id": "<id>", "name": "<value>", "accessLevel": null, "linkCount": 0, "createdAt": "1725042359011", "updatedAt": "1739291799893"}, {"id": "<id>", "name": "<value>", "accessLevel": null, "linkCount": 0, "createdAt": "1713387745090", "updatedAt": "1739253041334"}, {"id": "<id>", "name": "<value>", "accessLevel": null, "linkCount": 0, "createdAt": "1712603481495", "updatedAt": "1739288103392"}]

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: false
1717
php:
18-
version: 0.11.33
18+
version: 0.11.34
1919
additionalDependencies:
2020
autoload: {}
2121
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.505.1
1+
speakeasyVersion: 1.508.0
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:635d8c03a16e5e7cc72babb5aaacdda9bf3a47422a06f50e0377c31429cb181a
6-
sourceBlobDigest: sha256:85580cf3773dfd87c3d9151ace8544c7687d1298a05dfbd2c310d6e816fa61a0
5+
sourceRevisionDigest: sha256:f79ed71a4cdb9774077d17f6bf5b418d1a28412c45795e4976bf882236b5b279
6+
sourceBlobDigest: sha256:adedf20cbe668ed6bd859f2b03eb747d151a978f4dbcd1f321b9fe9662dda97f
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1740615609
9+
- speakeasy-sdk-regen-1740788530
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:635d8c03a16e5e7cc72babb5aaacdda9bf3a47422a06f50e0377c31429cb181a
16-
sourceBlobDigest: sha256:85580cf3773dfd87c3d9151ace8544c7687d1298a05dfbd2c310d6e816fa61a0
15+
sourceRevisionDigest: sha256:f79ed71a4cdb9774077d17f6bf5b418d1a28412c45795e4976bf882236b5b279
16+
sourceBlobDigest: sha256:adedf20cbe668ed6bd859f2b03eb747d151a978f4dbcd1f321b9fe9662dda97f
1717
codeSamplesNamespace: code-samples-php-my-first-target
18-
codeSamplesRevisionDigest: sha256:1481b23ac49b73840101870c31e9ee136e04147310d685b2e1e87ecfd82783fe
18+
codeSamplesRevisionDigest: sha256:042a8908c115b039f8eccf9a6ea3deb06eab89cb75f4bf053e4e5d593baa1d6f
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
@@ -780,4 +780,14 @@ Based on:
780780
### Generated
781781
- [php v0.11.33] .
782782
### Releases
783-
- [Composer v0.11.33] https://packagist.org/packages/dub/dub-php#v0.11.33 - .
783+
- [Composer v0.11.33] https://packagist.org/packages/dub/dub-php#v0.11.33 - .
784+
785+
## 2025-03-01 00:21:54
786+
### Changes
787+
Based on:
788+
- OpenAPI Doc
789+
- Speakeasy CLI 1.508.0 (2.536.0) https://github.com/speakeasy-api/speakeasy
790+
### Generated
791+
- [php v0.11.34] .
792+
### Releases
793+
- [Composer v0.11.34] https://packagist.org/packages/dub/dub-php#v0.11.34 - .

β€ŽcodeSamples.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ actions:
6868
"x-codeSamples":
6969
- "lang": "php"
7070
"label": "listFolders"
71-
"source": "declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse Dub;\n\n$sdk = Dub\\Dub::builder()\n ->setSecurity(\n 'DUB_API_KEY'\n )\n ->build();\n\n\n\n$response = $sdk->folders->list(\n search: '<value>'\n);\n\nif ($response->folderSchemas !== null) {\n // handle response\n}"
71+
"source": "declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse Dub;\n\n$sdk = Dub\\Dub::builder()\n ->setSecurity(\n 'DUB_API_KEY'\n )\n ->build();\n\n\n\n$response = $sdk->folders->list(\n search: '<value>',\n includeLinkCount: false,\n page: 1,\n pageSize: 50\n\n);\n\nif ($response->folderSchemas !== null) {\n // handle response\n}"
7272
- target: $["paths"]["/folders"]["post"]
7373
update:
7474
"x-codeSamples":

β€Ždocs/Models/Operations/ListFoldersRequest.mdβ€Ž

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
8-
| `search` | *?string* | :heavy_minus_sign: | The search term to filter the folders by. |
6+
| Field | Type | Required | Description | Example |
7+
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
8+
| `search` | *?string* | :heavy_minus_sign: | The search term to filter the folders by. | |
9+
| `includeLinkCount` | *?bool* | :heavy_minus_sign: | Whether to include the link count in the response. | |
10+
| `page` | *?float* | :heavy_minus_sign: | The page number for pagination. | 1 |
11+
| `pageSize` | *?float* | :heavy_minus_sign: | The number of items per page. | 50 |

β€Ždocs/sdks/folders/README.mdβ€Ž

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,11 @@ $sdk = Dub\Dub::builder()
145145

146146

147147
$response = $sdk->folders->list(
148-
search: '<value>'
148+
search: '<value>',
149+
includeLinkCount: false,
150+
page: 1,
151+
pageSize: 50
152+
149153
);
150154

151155
if ($response->folderSchemas !== null) {
@@ -155,9 +159,12 @@ if ($response->folderSchemas !== null) {
155159

156160
### Parameters
157161

158-
| Parameter | Type | Required | Description |
159-
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
160-
| `search` | *?string* | :heavy_minus_sign: | The search term to filter the folders by. |
162+
| Parameter | Type | Required | Description | Example |
163+
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
164+
| `search` | *?string* | :heavy_minus_sign: | The search term to filter the folders by. | |
165+
| `includeLinkCount` | *?bool* | :heavy_minus_sign: | Whether to include the link count in the response. | |
166+
| `page` | *?float* | :heavy_minus_sign: | The page number for pagination. | 1 |
167+
| `pageSize` | *?float* | :heavy_minus_sign: | The number of items per page. | 50 |
161168

162169
### Response
163170

β€Žsrc/Folders.phpβ€Ž

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,13 +377,19 @@ public function delete(string $id, ?Options $options = null): Operations\DeleteF
377377
* Retrieve a list of folders for the authenticated workspace.
378378
*
379379
* @param ?string $search
380+
* @param ?bool $includeLinkCount
381+
* @param ?float $page
382+
* @param ?float $pageSize
380383
* @return Operations\ListFoldersResponse
381384
* @throws \Dub\Models\Errors\SDKException
382385
*/
383-
public function list(?string $search = null, ?Options $options = null): Operations\ListFoldersResponse
386+
public function list(?string $search = null, ?bool $includeLinkCount = null, ?float $page = null, ?float $pageSize = null, ?Options $options = null): Operations\ListFoldersResponse
384387
{
385388
$request = new Operations\ListFoldersRequest(
386389
search: $search,
390+
includeLinkCount: $includeLinkCount,
391+
page: $page,
392+
pageSize: $pageSize,
387393
);
388394
$baseUrl = $this->sdkConfiguration->getServerUrl();
389395
$url = Utils\Utils::generateUrl($baseUrl, '/folders');

β€Žsrc/Models/Operations/GetLinksCountRequest.phpβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class GetLinksCountRequest
3232
*
3333
* @var string|array<string>|null $tagIds
3434
*/
35-
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=tagIds')]
35+
#[SpeakeasyMetadata('queryParam:style=form,explode=false,name=tagIds')]
3636
public string|array|null $tagIds = null;
3737

3838
/**

β€Žsrc/Models/Operations/GetLinksRequest.phpβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class GetLinksRequest
3232
*
3333
* @var string|array<string>|null $tagIds
3434
*/
35-
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=tagIds')]
35+
#[SpeakeasyMetadata('queryParam:style=form,explode=false,name=tagIds')]
3636
public string|array|null $tagIds = null;
3737

3838
/**

0 commit comments

Comments
Β (0)