Skip to content

Commit e8583f1

Browse files
authored
Merge pull request #136 from dubinc/speakeasy-sdk-regen-1761956694
chore: 🐝 Update SDK - Generate 0.15.0
2 parents c9b9d4c + 2beec76 commit e8583f1

File tree

91 files changed

+1548
-1056
lines changed

Some content is hidden

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

91 files changed

+1548
-1056
lines changed

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

Lines changed: 65 additions & 36 deletions
Large diffs are not rendered by default.

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ generation:
1919
hoistGlobalSecurity: true
2020
schemas:
2121
allOfMergeStrategy: shallowMerge
22+
requestBodyFieldName: ""
2223
tests:
2324
generateTests: true
2425
generateNewTests: false
2526
skipResponseBodyAssertions: false
2627
php:
27-
version: 0.14.0
28+
version: 0.15.0
2829
additionalDependencies:
2930
autoload: {}
3031
autoload-dev: {}
@@ -42,6 +43,7 @@ php:
4243
operations: Models/Operations
4344
shared: Models/Components
4445
webhooks: Models/Webhooks
46+
inferUnionDiscriminators: false
4547
inputModelSuffix: input
4648
laravelServiceProvider:
4749
enabled: false

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.642.2
1+
speakeasyVersion: 1.662.0
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:3af261cb20a761b64ed693c2890783ee9cb00f3a5befee6ddce51753e815dcd9
6-
sourceBlobDigest: sha256:74729acb73c2a27c522917aabf105e593bd293c426a880e6496d8009d0a5d028
5+
sourceRevisionDigest: sha256:dee8951eeb202e4b1c33c2d01449ebc15c8349561654507f7164676fc8a9737f
6+
sourceBlobDigest: sha256:28ba08957867d5f6807a98f52be520e3387870d290fd7103fd5a4afbbb4eca03
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1759796498
9+
- speakeasy-sdk-regen-1761956694
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:3af261cb20a761b64ed693c2890783ee9cb00f3a5befee6ddce51753e815dcd9
16-
sourceBlobDigest: sha256:74729acb73c2a27c522917aabf105e593bd293c426a880e6496d8009d0a5d028
15+
sourceRevisionDigest: sha256:dee8951eeb202e4b1c33c2d01449ebc15c8349561654507f7164676fc8a9737f
16+
sourceBlobDigest: sha256:28ba08957867d5f6807a98f52be520e3387870d290fd7103fd5a4afbbb4eca03
1717
codeSamplesNamespace: code-samples-php-my-first-target
18-
codeSamplesRevisionDigest: sha256:9a3271d66a1dac43f3462bcaa35c5d9ac878cbbb7e713cef8c2cb803995ab58a
18+
codeSamplesRevisionDigest: sha256:d7b3b2779dd12bdb3e027b2ee23f5e07ba4cae1b4d4a9c05d19125dbc798eb8e
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
@@ -203,7 +203,6 @@ if ($response->linkSchema !== null) {
203203
### [customers](docs/sdks/customers/README.md)
204204

205205
* [list](docs/sdks/customers/README.md#list) - Retrieve a list of customers
206-
* [~~create~~](docs/sdks/customers/README.md#create) - Create a customer :warning: **Deprecated**
207206
* [get](docs/sdks/customers/README.md#get) - Retrieve a customer
208207
* [update](docs/sdks/customers/README.md#update) - Update a customer
209208
* [delete](docs/sdks/customers/README.md#delete) - Delete a customer
@@ -253,6 +252,7 @@ if ($response->linkSchema !== null) {
253252
* [retrieveLinks](docs/sdks/partners/README.md#retrievelinks) - Retrieve a partner's links.
254253
* [upsertLink](docs/sdks/partners/README.md#upsertlink) - Upsert a link for a partner
255254
* [analytics](docs/sdks/partners/README.md#analytics) - Retrieve analytics for a partner
255+
* [ban](docs/sdks/partners/README.md#ban) - Ban a partner
256256

257257
### [qrCodes](docs/sdks/qrcodes/README.md)
258258

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1250,4 +1250,14 @@ Based on:
12501250
### Generated
12511251
- [php v0.14.0] .
12521252
### Releases
1253-
- [Composer v0.14.0] https://packagist.org/packages/dub/dub-php#v0.14.0 - .
1253+
- [Composer v0.14.0] https://packagist.org/packages/dub/dub-php#v0.14.0 - .
1254+
1255+
## 2025-11-26 20:15:03
1256+
### Changes
1257+
Based on:
1258+
- OpenAPI Doc
1259+
- Speakeasy CLI 1.662.0 (2.763.3) https://github.com/speakeasy-api/speakeasy
1260+
### Generated
1261+
- [php v0.15.0] .
1262+
### Releases
1263+
- [Composer v0.15.0] https://packagist.org/packages/dub/dub-php#v0.15.0 - .

β€ŽcodeSamples.yamlβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,12 @@ actions:
189189
- "lang": "php"
190190
"label": "retrievePartnerAnalytics"
191191
"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\\RetrievePartnerAnalyticsRequest(\n timezone: 'America/New_York',\n query: 'metadata[\\'key\\']:\\'value\\'',\n);\n\n$response = $sdk->partners->analytics(\n request: $request\n);\n\nif ($response->oneOf !== null) {\n // handle response\n}"
192+
- target: $["paths"]["/partners/ban"]["post"]
193+
update:
194+
"x-codeSamples":
195+
- "lang": "php"
196+
"label": "banPartner"
197+
"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->partners->ban(\n request: $request\n);\n\nif ($response->object !== null) {\n // handle response\n}"
192198
- target: $["paths"]["/partners/links"]["get"]
193199
update:
194200
"x-codeSamples":

β€Ždocs/Models/Components/AnalyticsTopUrls.mdβ€Ž

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

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- |
8-
| `url` | *string* | :heavy_check_mark: | The destination URL |
9-
| `clicks` | *?float* | :heavy_minus_sign: | The number of clicks from this URL |
10-
| `leads` | *?float* | :heavy_minus_sign: | The number of leads from this URL |
11-
| `sales` | *?float* | :heavy_minus_sign: | The number of sales from this URL |
12-
| `saleAmount` | *?float* | :heavy_minus_sign: | The total amount of sales from this URL, in cents |
6+
| Field | Type | Required | Description |
7+
| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- |
8+
| `url` | *string* | :heavy_check_mark: | The full destination URL (including query parameters) |
9+
| `clicks` | *?float* | :heavy_minus_sign: | The number of clicks from this URL |
10+
| `leads` | *?float* | :heavy_minus_sign: | The number of leads from this URL |
11+
| `sales` | *?float* | :heavy_minus_sign: | The number of sales from this URL |
12+
| `saleAmount` | *?float* | :heavy_minus_sign: | The total amount of sales from this URL, in cents |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ApplicationFormData
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `label` | *string* | :heavy_check_mark: | N/A |
9+
| `value` | *string* | :heavy_check_mark: | N/A |

β€Ždocs/Models/Components/LeadCreatedEventLink.mdβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
| `archived` | *bool* | :heavy_check_mark: | N/A | |
1818
| `expiresAt` | *string* | :heavy_check_mark: | N/A | |
1919
| `expiredUrl` | *string* | :heavy_check_mark: | N/A | |
20+
| `disabledAt` | *string* | :heavy_check_mark: | N/A | |
2021
| `password` | *string* | :heavy_check_mark: | The password required to access the destination URL of the short link. | |
2122
| `proxy` | *bool* | :heavy_check_mark: | N/A | |
2223
| `title` | *string* | :heavy_check_mark: | The title of the short link. Will be used for Custom Link Previews if `proxy` is true. | |

0 commit comments

Comments
Β (0)