Skip to content

Commit 57bdb48

Browse files
authored
Merge pull request #109 from dubinc/speakeasy-sdk-regen-1748478157
chore: 🐝 Update SDK - Generate 0.12.18
2 parents 61e93da + 6775dcb commit 57bdb48

File tree

12 files changed

+44
-61
lines changed

12 files changed

+44
-61
lines changed

.speakeasy/gen.lock

Lines changed: 8 additions & 8 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: efdac56f4e3c654dda7366d7daef7320
4+
docChecksum: a2ac297972706e86f31e833913025851
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.548.3
7-
generationVersion: 2.605.6
8-
releaseVersion: 0.12.17
9-
configChecksum: 24c0fea4086d2a60222d8ce7924a0dee
6+
speakeasyVersion: 1.552.0
7+
generationVersion: 2.610.0
8+
releaseVersion: 0.12.18
9+
configChecksum: 4297437ece23eb07f97d00abe8ad3f7f
1010
repoURL: https://github.com/dubinc/dub-php.git
1111
installationURL: https://github.com/dubinc/dub-php
1212
published: true
@@ -1242,7 +1242,7 @@ examples:
12421242
speakeasy-default-create-folder:
12431243
responses:
12441244
"201":
1245-
application/json: {"id": "<id>", "name": "<value>", "type": "mega", "accessLevel": null, "linkCount": 0, "createdAt": "1737752987668", "updatedAt": "1747570295522"}
1245+
application/json: {"id": "<id>", "name": "<value>", "type": "mega", "accessLevel": null, "createdAt": "1737752987668", "updatedAt": "1747570295522"}
12461246
"400":
12471247
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
12481248
"401":
@@ -1269,7 +1269,7 @@ examples:
12691269
pageSize: 50
12701270
responses:
12711271
"200":
1272-
application/json: [{"id": "<id>", "name": "<value>", "type": "default", "accessLevel": null, "linkCount": 0, "createdAt": "1739500925203", "updatedAt": "1747574885655"}, {"id": "<id>", "name": "<value>", "type": "default", "accessLevel": null, "linkCount": 0, "createdAt": "1739500925203", "updatedAt": "1747574885655"}]
1272+
application/json: [{"id": "<id>", "name": "<value>", "type": "default", "accessLevel": null, "createdAt": "1739500925203", "updatedAt": "1747574885655"}, {"id": "<id>", "name": "<value>", "type": "default", "accessLevel": null, "createdAt": "1739500925203", "updatedAt": "1747574885655"}]
12731273
"400":
12741274
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
12751275
"401":
@@ -1295,7 +1295,7 @@ examples:
12951295
id: "<id>"
12961296
responses:
12971297
"200":
1298-
application/json: {"id": "<id>", "name": "<value>", "type": "default", "accessLevel": null, "linkCount": 0, "createdAt": "1719092330224", "updatedAt": "1747578286192"}
1298+
application/json: {"id": "<id>", "name": "<value>", "type": "default", "accessLevel": null, "createdAt": "1719092330224", "updatedAt": "1747578286192"}
12991299
"400":
13001300
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
13011301
"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.17
19+
version: 0.12.18
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.548.3
1+
speakeasyVersion: 1.552.0
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:b7935d2fdeb9c962146c4c90ddd348aa71f31a669d64572c2a0d8b8902c935a4
6-
sourceBlobDigest: sha256:cb9553f1a5b74b1ce6da2e1f28c6c82dd1ff0ebaa6a58587679a05277ed51788
5+
sourceRevisionDigest: sha256:35b90a1f6e00dc484d36596f3726aa2153d720bb825cccfb873332ab152853d4
6+
sourceBlobDigest: sha256:f4948931ad9b958654b2f7943dfa62b72f612baaa32c73d709ba3d6e9f575e0e
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1747786974
9+
- speakeasy-sdk-regen-1748478157
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:b7935d2fdeb9c962146c4c90ddd348aa71f31a669d64572c2a0d8b8902c935a4
16-
sourceBlobDigest: sha256:cb9553f1a5b74b1ce6da2e1f28c6c82dd1ff0ebaa6a58587679a05277ed51788
15+
sourceRevisionDigest: sha256:35b90a1f6e00dc484d36596f3726aa2153d720bb825cccfb873332ab152853d4
16+
sourceBlobDigest: sha256:f4948931ad9b958654b2f7943dfa62b72f612baaa32c73d709ba3d6e9f575e0e
1717
codeSamplesNamespace: code-samples-php-my-first-target
18-
codeSamplesRevisionDigest: sha256:c8e0f702bc1f0d965765b7e9c6f483647a09a7661db66dde330e79263cc95656
18+
codeSamplesRevisionDigest: sha256:c1a190c0adcb99d61cf2b69c61ac0e9e3ee696dd5441ab6989803d8f69d1bae2
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
@@ -1000,4 +1000,14 @@ Based on:
10001000
### Generated
10011001
- [php v0.12.17] .
10021002
### Releases
1003-
- [Composer v0.12.17] https://packagist.org/packages/dub/dub-php#v0.12.17 - .
1003+
- [Composer v0.12.17] https://packagist.org/packages/dub/dub-php#v0.12.17 - .
1004+
1005+
## 2025-05-29 00:22:21
1006+
### Changes
1007+
Based on:
1008+
- OpenAPI Doc
1009+
- Speakeasy CLI 1.552.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
1010+
### Generated
1011+
- [php v0.12.18] .
1012+
### Releases
1013+
- [Composer v0.12.18] https://packagist.org/packages/dub/dub-php#v0.12.18 - .

codeSamples.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ actions:
8080
"x-codeSamples":
8181
- "lang": "php"
8282
"label": "listFolders"
83-
"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}"
83+
"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 page: 1,\n pageSize: 50\n\n);\n\nif ($response->folderSchemas !== null) {\n // handle response\n}"
8484
- target: $["paths"]["/folders"]["post"]
8585
update:
8686
"x-codeSamples":

docs/Models/Components/FolderSchema.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@
99
| `name` | *string* | :heavy_check_mark: | The name of the folder. |
1010
| `type` | [Components\Type](../../Models/Components/Type.md) | :heavy_check_mark: | N/A |
1111
| `accessLevel` | [?Components\AccessLevel](../../Models/Components/AccessLevel.md) | :heavy_minus_sign: | The access level of the folder within the workspace. |
12-
| `linkCount` | *?float* | :heavy_minus_sign: | The number of links in the folder. |
1312
| `createdAt` | *string* | :heavy_check_mark: | The date the folder was created. |
1413
| `updatedAt` | *string* | :heavy_check_mark: | The date the folder was updated. |

docs/Models/Operations/ListFoldersRequest.md

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

44
## Fields
55

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 |
6+
| Field | Type | Required | Description | Example |
7+
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
8+
| `search` | *?string* | :heavy_minus_sign: | The search term to filter the folders by. | |
9+
| `page` | *?float* | :heavy_minus_sign: | The page number for pagination. | 1 |
10+
| `pageSize` | *?float* | :heavy_minus_sign: | The number of items per page. | 50 |

docs/sdks/folders/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ $sdk = Dub\Dub::builder()
9191

9292
$response = $sdk->folders->list(
9393
search: '<value>',
94-
includeLinkCount: false,
9594
page: 1,
9695
pageSize: 50
9796

@@ -104,12 +103,11 @@ if ($response->folderSchemas !== null) {
104103

105104
### Parameters
106105

107-
| Parameter | Type | Required | Description | Example |
108-
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
109-
| `search` | *?string* | :heavy_minus_sign: | The search term to filter the folders by. | |
110-
| `includeLinkCount` | *?bool* | :heavy_minus_sign: | Whether to include the link count in the response. | |
111-
| `page` | *?float* | :heavy_minus_sign: | The page number for pagination. | 1 |
112-
| `pageSize` | *?float* | :heavy_minus_sign: | The number of items per page. | 50 |
106+
| Parameter | Type | Required | Description | Example |
107+
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
108+
| `search` | *?string* | :heavy_minus_sign: | The search term to filter the folders by. | |
109+
| `page` | *?float* | :heavy_minus_sign: | The page number for pagination. | 1 |
110+
| `pageSize` | *?float* | :heavy_minus_sign: | The number of items per page. | 50 |
113111

114112
### Response
115113

src/Folders.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,17 +377,15 @@ 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
381380
* @param ?float $page
382381
* @param ?float $pageSize
383382
* @return Operations\ListFoldersResponse
384383
* @throws \Dub\Models\Errors\SDKException
385384
*/
386-
public function list(?string $search = null, ?bool $includeLinkCount = null, ?float $page = null, ?float $pageSize = null, ?Options $options = null): Operations\ListFoldersResponse
385+
public function list(?string $search = null, ?float $page = null, ?float $pageSize = null, ?Options $options = null): Operations\ListFoldersResponse
387386
{
388387
$request = new Operations\ListFoldersRequest(
389388
search: $search,
390-
includeLinkCount: $includeLinkCount,
391389
page: $page,
392390
pageSize: $pageSize,
393391
);

src/Models/Components/FolderSchema.php

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,6 @@ class FolderSchema
5151
#[\Speakeasy\Serializer\Annotation\SerializedName('updatedAt')]
5252
public string $updatedAt;
5353

54-
/**
55-
* The number of links in the folder.
56-
*
57-
* @var ?float $linkCount
58-
*/
59-
#[\Speakeasy\Serializer\Annotation\SerializedName('linkCount')]
60-
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
61-
public ?float $linkCount = null;
62-
6354
/**
6455
* The access level of the folder within the workspace.
6556
*
@@ -76,18 +67,16 @@ class FolderSchema
7667
* @param Type $type
7768
* @param string $createdAt
7869
* @param string $updatedAt
79-
* @param ?float $linkCount
8070
* @param ?AccessLevel $accessLevel
8171
* @phpstan-pure
8272
*/
83-
public function __construct(string $id, string $name, Type $type, string $createdAt, string $updatedAt, ?float $linkCount = 0, ?AccessLevel $accessLevel = null)
73+
public function __construct(string $id, string $name, Type $type, string $createdAt, string $updatedAt, ?AccessLevel $accessLevel = null)
8474
{
8575
$this->id = $id;
8676
$this->name = $name;
8777
$this->type = $type;
8878
$this->createdAt = $createdAt;
8979
$this->updatedAt = $updatedAt;
90-
$this->linkCount = $linkCount;
9180
$this->accessLevel = $accessLevel;
9281
}
9382
}

0 commit comments

Comments
 (0)