Skip to content

Commit ac26553

Browse files
authored
Merge pull request #117 from dubinc/speakeasy-sdk-regen-1750119780
chore: 🐝 Update SDK - Generate 0.12.26
2 parents 1a44bd8 + 582eecf commit ac26553

13 files changed

+80
-30
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 5 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: 1f2d4c898b6141a97115319cc3fc6712
4+
docChecksum: 2888b170a568c5574a256a458ca8e766
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.561.0
7-
generationVersion: 2.628.0
8-
releaseVersion: 0.12.25
9-
configChecksum: 3d1d4d4325ebf5a3996bd386b677d8fc
6+
speakeasyVersion: 1.563.4
7+
generationVersion: 2.630.6
8+
releaseVersion: 0.12.26
9+
configChecksum: bc24f5067794bcbfe6fa0028469bafe9
1010
repoURL: https://github.com/dubinc/dub-php.git
1111
installationURL: https://github.com/dubinc/dub-php
1212
published: true
@@ -289,6 +289,7 @@ generatedFiles:
289289
- docs/Models/Operations/ListCommissionsType.md
290290
- docs/Models/Operations/ListDomainsRequest.md
291291
- docs/Models/Operations/ListDomainsResponse.md
292+
- docs/Models/Operations/ListEventsQueryParamSortBy.md
292293
- docs/Models/Operations/ListEventsQueryParamTagIds.md
293294
- docs/Models/Operations/ListEventsRequest.md
294295
- docs/Models/Operations/ListEventsResponse.md
@@ -683,6 +684,7 @@ generatedFiles:
683684
- src/Models/Operations/ListCommissionsType.php
684685
- src/Models/Operations/ListDomainsRequest.php
685686
- src/Models/Operations/ListDomainsResponse.php
687+
- src/Models/Operations/ListEventsQueryParamSortBy.php
686688
- src/Models/Operations/ListEventsRequest.php
687689
- src/Models/Operations/ListEventsResponse.php
688690
- src/Models/Operations/ListFoldersRequest.php

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ generation:
1717
oAuth2ClientCredentialsEnabled: true
1818
oAuth2PasswordEnabled: false
1919
php:
20-
version: 0.12.25
20+
version: 0.12.26
2121
additionalDependencies:
2222
autoload: {}
2323
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.561.0
1+
speakeasyVersion: 1.563.4
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:7a09e59ce718afca7decc406ef7a894917cf40e65c934c4dcd14aa4316d7c47d
6-
sourceBlobDigest: sha256:11d8d4c502d1fa0d1be55eb77212cc074b4db9399a1ead9897242fb1986c38e8
5+
sourceRevisionDigest: sha256:5410050ff1ee41a2960f49623c1b903feea6f92c74cb9f3dac86390221444229
6+
sourceBlobDigest: sha256:8871337bf8162405789f534c54fc6ecf47ae3c1ee532adffb6e034e9f9d02b32
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1749687771
9+
- speakeasy-sdk-regen-1750119780
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:7a09e59ce718afca7decc406ef7a894917cf40e65c934c4dcd14aa4316d7c47d
16-
sourceBlobDigest: sha256:11d8d4c502d1fa0d1be55eb77212cc074b4db9399a1ead9897242fb1986c38e8
15+
sourceRevisionDigest: sha256:5410050ff1ee41a2960f49623c1b903feea6f92c74cb9f3dac86390221444229
16+
sourceBlobDigest: sha256:8871337bf8162405789f534c54fc6ecf47ae3c1ee532adffb6e034e9f9d02b32
1717
codeSamplesNamespace: code-samples-php-my-first-target
18-
codeSamplesRevisionDigest: sha256:ca0fd8615948510fe1c423ae0e892448ab1e5e61998be163865771c9d3970b62
18+
codeSamplesRevisionDigest: sha256:3471f6e65194fed0718b1f251de80486120a666eed23cba33c1f356ee4df5887
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
@@ -1080,4 +1080,14 @@ Based on:
10801080
### Generated
10811081
- [php v0.12.25] .
10821082
### Releases
1083-
- [Composer v0.12.25] https://packagist.org/packages/dub/dub-php#v0.12.25 - .
1083+
- [Composer v0.12.25] https://packagist.org/packages/dub/dub-php#v0.12.25 - .
1084+
1085+
## 2025-06-17 00:22:44
1086+
### Changes
1087+
Based on:
1088+
- OpenAPI Doc
1089+
- Speakeasy CLI 1.563.4 (2.630.6) https://github.com/speakeasy-api/speakeasy
1090+
### Generated
1091+
- [php v0.12.26] .
1092+
### Releases
1093+
- [Composer v0.12.26] https://packagist.org/packages/dub/dub-php#v0.12.26 - .
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ListEventsQueryParamSortBy
2+
3+
The field to sort the events by. The default is `timestamp`.
4+
5+
6+
## Values
7+
8+
| Name | Value |
9+
| ----------- | ----------- |
10+
| `Timestamp` | timestamp |

docs/Models/Operations/ListEventsRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@
4242
| `page` | *?float* | :heavy_minus_sign: | N/A | |
4343
| `limit` | *?float* | :heavy_minus_sign: | N/A | |
4444
| `sortOrder` | [?Operations\QueryParamSortOrder](../../Models/Operations/QueryParamSortOrder.md) | :heavy_minus_sign: | The sort order. The default is `desc`. | |
45-
| `sortBy` | [?Operations\QueryParamSortBy](../../Models/Operations/QueryParamSortBy.md) | :heavy_minus_sign: | The field to sort the events by. The default is `timestamp`. | |
45+
| `sortBy` | [?Operations\ListEventsQueryParamSortBy](../../Models/Operations/ListEventsQueryParamSortBy.md) | :heavy_minus_sign: | The field to sort the events by. The default is `timestamp`. | |
4646
| `order` | [?Operations\Order](../../Models/Operations/Order.md) | :heavy_minus_sign: | DEPRECATED. Use `sortOrder` instead. | |
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# QueryParamSortBy
22

3-
The field to sort the events by. The default is `timestamp`.
4-
53

64
## Values
75

8-
| Name | Value |
9-
| ----------- | ----------- |
10-
| `Timestamp` | timestamp |
6+
| Name | Value |
7+
| -------- | -------- |
8+
| `Clicks` | clicks |
9+
| `Leads` | leads |
10+
| `Sales` | sales |

docs/Models/Operations/RetrieveAnalyticsRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
| `folderId` | *?string* | :heavy_minus_sign: | The folder ID to retrieve analytics for. If not provided, return analytics for unsorted links. | |
3636
| `qr` | *?bool* | :heavy_minus_sign: | Deprecated. Use the `trigger` field instead. Filter for QR code scans. If true, filter for QR codes only. If false, filter for links only. If undefined, return both. | |
3737
| `root` | *?bool* | :heavy_minus_sign: | Filter for root domains. If true, filter for domains only. If false, filter for links only. If undefined, return both. | |
38+
| `sortBy` | [?Operations\QueryParamSortBy](../../Models/Operations/QueryParamSortBy.md) | :heavy_minus_sign: | N/A | |
3839
| `utmSource` | *?string* | :heavy_minus_sign: | The UTM source of the short link. | |
3940
| `utmMedium` | *?string* | :heavy_minus_sign: | The UTM medium of the short link. | |
4041
| `utmCampaign` | *?string* | :heavy_minus_sign: | The UTM campaign of the short link. | |
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
/**
4+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
5+
*/
6+
7+
declare(strict_types=1);
8+
9+
namespace Dub\Models\Operations;
10+
11+
12+
/** The field to sort the events by. The default is `timestamp`. */
13+
enum ListEventsQueryParamSortBy: string
14+
{
15+
case Timestamp = 'timestamp';
16+
}

src/Models/Operations/ListEventsRequest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,10 +309,10 @@ class ListEventsRequest
309309
/**
310310
* The field to sort the events by. The default is `timestamp`.
311311
*
312-
* @var ?QueryParamSortBy $sortBy
312+
* @var ?ListEventsQueryParamSortBy $sortBy
313313
*/
314314
#[SpeakeasyMetadata('queryParam:style=form,explode=true,name=sortBy')]
315-
public ?QueryParamSortBy $sortBy = null;
315+
public ?ListEventsQueryParamSortBy $sortBy = null;
316316

317317
/**
318318
* DEPRECATED. Use `sortOrder` instead.
@@ -355,7 +355,7 @@ class ListEventsRequest
355355
* @param ?float $page
356356
* @param ?float $limit
357357
* @param ?QueryParamSortOrder $sortOrder
358-
* @param ?QueryParamSortBy $sortBy
358+
* @param ?ListEventsQueryParamSortBy $sortBy
359359
* @param ?Order $order
360360
* @param ?string $utmSource
361361
* @param ?string $utmMedium
@@ -364,7 +364,7 @@ class ListEventsRequest
364364
* @param ?string $utmContent
365365
* @phpstan-pure
366366
*/
367-
public function __construct(?string $domain = null, ?string $key = null, ?string $linkId = null, ?string $externalId = null, ?string $tenantId = null, ?string $programId = null, ?string $partnerId = null, ?string $customerId = null, ?QueryParamInterval $interval = null, ?string $start = null, ?string $end = null, ?Components\CountryCode $country = null, ?string $city = null, ?string $region = null, ?Components\ContinentCode $continent = null, ?string $device = null, ?string $browser = null, ?string $os = null, ?QueryParamTrigger $trigger = null, ?string $referer = null, ?string $refererUrl = null, ?string $url = null, ?string $tagId = null, string|array|null $tagIds = null, ?string $folderId = null, ?bool $qr = null, ?bool $root = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null, ?QueryParamEvent $event = QueryParamEvent::Clicks, ?string $timezone = 'UTC', ?float $page = 1, ?float $limit = 100, ?QueryParamSortOrder $sortOrder = QueryParamSortOrder::Desc, ?QueryParamSortBy $sortBy = QueryParamSortBy::Timestamp, ?Order $order = Order::Desc)
367+
public function __construct(?string $domain = null, ?string $key = null, ?string $linkId = null, ?string $externalId = null, ?string $tenantId = null, ?string $programId = null, ?string $partnerId = null, ?string $customerId = null, ?QueryParamInterval $interval = null, ?string $start = null, ?string $end = null, ?Components\CountryCode $country = null, ?string $city = null, ?string $region = null, ?Components\ContinentCode $continent = null, ?string $device = null, ?string $browser = null, ?string $os = null, ?QueryParamTrigger $trigger = null, ?string $referer = null, ?string $refererUrl = null, ?string $url = null, ?string $tagId = null, string|array|null $tagIds = null, ?string $folderId = null, ?bool $qr = null, ?bool $root = null, ?string $utmSource = null, ?string $utmMedium = null, ?string $utmCampaign = null, ?string $utmTerm = null, ?string $utmContent = null, ?QueryParamEvent $event = QueryParamEvent::Clicks, ?string $timezone = 'UTC', ?float $page = 1, ?float $limit = 100, ?QueryParamSortOrder $sortOrder = QueryParamSortOrder::Desc, ?ListEventsQueryParamSortBy $sortBy = ListEventsQueryParamSortBy::Timestamp, ?Order $order = Order::Desc)
368368
{
369369
$this->domain = $domain;
370370
$this->key = $key;

0 commit comments

Comments
 (0)