Skip to content

Commit 2b62301

Browse files
authored
Merge pull request #90 from dubinc/speakeasy-sdk-regen-1741134020
chore: 🐝 Update SDK - Generate 0.11.37
2 parents e959638 + 1664f64 commit 2b62301

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1254
-188
lines changed

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

Lines changed: 45 additions & 12 deletions
Large diffs are not rendered by default.

β€Ž.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.36
18+
version: 0.11.37
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.509.0
1+
speakeasyVersion: 1.509.1
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:2b69deaa2b8dfd7b107dc60acabcd16c19012e909a3a84dc039740db7b32e465
6-
sourceBlobDigest: sha256:c73395e1465003dee50ff36dcfa0b11b34b6e363d8c1a67986eab4049ec059e3
5+
sourceRevisionDigest: sha256:6c756606f5a3bc05bda19a6a91fd2ffe6d30ac18fd678c331217f18e0f61e5b1
6+
sourceBlobDigest: sha256:801e94947f41ed448f426fa0996e8f84a12226d2d653c8edba0540ea13ebd922
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1741047616
9+
- speakeasy-sdk-regen-1741134020
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:2b69deaa2b8dfd7b107dc60acabcd16c19012e909a3a84dc039740db7b32e465
16-
sourceBlobDigest: sha256:c73395e1465003dee50ff36dcfa0b11b34b6e363d8c1a67986eab4049ec059e3
15+
sourceRevisionDigest: sha256:6c756606f5a3bc05bda19a6a91fd2ffe6d30ac18fd678c331217f18e0f61e5b1
16+
sourceBlobDigest: sha256:801e94947f41ed448f426fa0996e8f84a12226d2d653c8edba0540ea13ebd922
1717
codeSamplesNamespace: code-samples-php-my-first-target
18-
codeSamplesRevisionDigest: sha256:758af0fba17a4a6d6bddbaf5916a71beddb4ea94489f39efd4796d9e4a5665e8
18+
codeSamplesRevisionDigest: sha256:b56d722325d4bd1e312e6508ce2069be5d50769b1eaecdcabdf330bd17fb32b9
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ if ($response->responseBodies !== null) {
185185

186186
### [embedTokens](docs/sdks/embedtokens/README.md)
187187

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

190190
### [events](docs/sdks/events/README.md)
191191

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,4 +810,14 @@ Based on:
810810
### Generated
811811
- [php v0.11.36] .
812812
### Releases
813-
- [Composer v0.11.36] https://packagist.org/packages/dub/dub-php#v0.11.36 - .
813+
- [Composer v0.11.36] https://packagist.org/packages/dub/dub-php#v0.11.36 - .
814+
815+
## 2025-03-05 00:20:03
816+
### Changes
817+
Based on:
818+
- OpenAPI Doc
819+
- Speakeasy CLI 1.509.1 (2.539.1) https://github.com/speakeasy-api/speakeasy
820+
### Generated
821+
- [php v0.11.37] .
822+
### Releases
823+
- [Composer v0.11.37] https://packagist.org/packages/dub/dub-php#v0.11.37 - .

β€ŽcodeSamples.yamlβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ actions:
158158
"x-codeSamples":
159159
- "lang": "php"
160160
"label": "createPartner"
161-
"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\\CreatePartnerRequestBody(\n programId: '<id>',\n name: '<value>',\n email: 'Loyal79@yahoo.com',\n username: 'Aaliyah_Borer',\n linkProps: new Operations\\LinkProps(\n externalId: '123456',\n tagIds: [\n 'clux0rgak00011...',\n ],\n ),\n);\n\n$response = $sdk->partners->create(\n request: $request\n);\n\nif ($response->object !== null) {\n // handle response\n}"
161+
"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\\CreatePartnerRequestBody(\n programId: '<id>',\n name: '<value>',\n email: 'Loyal79@yahoo.com',\n linkProps: new Operations\\LinkProps(\n externalId: '123456',\n tagIds: [\n 'clux0rgak00011...',\n ],\n ),\n);\n\n$response = $sdk->partners->create(\n request: $request\n);\n\nif ($response->object !== null) {\n // handle response\n}"
162162
- target: $["paths"]["/partners/analytics"]["get"]
163163
update:
164164
"x-codeSamples":
@@ -213,12 +213,12 @@ actions:
213213
- "lang": "php"
214214
"label": "updateTag"
215215
"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$requestBody = new Operations\\UpdateTagRequestBody();\n\n$response = $sdk->tags->update(\n id: '<id>',\n requestBody: $requestBody\n\n);\n\nif ($response->tagSchema !== null) {\n // handle response\n}"
216-
- target: $["paths"]["/tokens/embed"]["post"]
216+
- target: $["paths"]["/tokens/embed/referrals"]["post"]
217217
update:
218218
"x-codeSamples":
219219
- "lang": "php"
220-
"label": "createEmbedToken"
221-
"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\\CreateEmbedTokenRequestBody(\n programId: '<id>',\n);\n\n$response = $sdk->embedTokens->create(\n request: $request\n);\n\nif ($response->object !== null) {\n // handle response\n}"
220+
"label": "createReferralsEmbedToken"
221+
"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\\CreateReferralsEmbedTokenRequestBody(\n programId: '<id>',\n partner: new Operations\\Partner(\n name: '<value>',\n email: 'Florencio98@hotmail.com',\n linkProps: new Operations\\CreateReferralsEmbedTokenLinkProps(\n externalId: '123456',\n tagIds: [\n 'clux0rgak00011...',\n ],\n ),\n ),\n);\n\n$response = $sdk->embedTokens->referrals(\n request: $request\n);\n\nif ($response->object !== null) {\n // handle response\n}"
222222
- target: $["paths"]["/track/lead"]["post"]
223223
update:
224224
"x-codeSamples":

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

Lines changed: 0 additions & 10 deletions
This file was deleted.

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

Lines changed: 0 additions & 11 deletions
This file was deleted.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Additional properties that you can pass to the partner's short link. Will be use
1616
| `doIndex` | *?bool* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | |
1717
| `externalId` | *?string* | :heavy_minus_sign: | The ID of the link in your database. If set, it can be used to identify the link in future API requests (must be prefixed with 'ext_' when passed as a query parameter). This key is unique across your workspace. | 123456 |
1818
| `tenantId` | *?string* | :heavy_minus_sign: | The ID of the tenant that created the link inside your system. If set, it can be used to fetch all links for a tenant. | |
19-
| `partnerId` | *?string* | :heavy_minus_sign: | The ID of the partner the short link is associated with. | |
2019
| `folderId` | *?string* | :heavy_minus_sign: | The unique ID existing folder to assign the short link to. | |
2120
| `comments` | *?string* | :heavy_minus_sign: | The comments for the short link. | |
2221
| `expiresAt` | *?string* | :heavy_minus_sign: | The date and time when the short link will expire at. | |

0 commit comments

Comments
Β (0)