Skip to content

Commit 5e09774

Browse files
authored
Merge pull request #113 from dubinc/speakeasy-sdk-regen-1749082979
chore: 🐝 Update SDK - Generate 0.12.22
2 parents 193b8a1 + 565c2f0 commit 5e09774

File tree

7 files changed

+42
-32
lines changed

7 files changed

+42
-32
lines changed

.speakeasy/gen.lock

Lines changed: 6 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: 2ae539dae8fc94a9a85bd8d0e988da6a
4+
docChecksum: 1e6e87aec639536ccd4971af49798985
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.555.2
6+
speakeasyVersion: 1.555.3
77
generationVersion: 2.620.2
8-
releaseVersion: 0.12.21
9-
configChecksum: e4898db712bc16b389a505b910a9267c
8+
releaseVersion: 0.12.22
9+
configChecksum: aacae7d643e8f0e15eaaeb010db09435
1010
repoURL: https://github.com/dubinc/dub-php.git
1111
installationURL: https://github.com/dubinc/dub-php
1212
published: true
@@ -1801,7 +1801,7 @@ examples:
18011801
idOrSlug: "<value>"
18021802
responses:
18031803
"200":
1804-
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": null, "inviteCode": "<value>", "plan": "business max", "stripeId": "<id>", "billingCycleStart": 8266.32, "paymentFailedAt": "<value>", "stripeConnectId": "<id>", "totalLinks": 1378.83, "usage": 2392.88, "usageLimit": 402.3, "linksUsage": 7273.44, "linksLimit": 9583.5, "salesUsage": 4075.75, "salesLimit": 312.85, "domainsLimit": 9444.18, "tagsLimit": 3440.64, "foldersUsage": 9717.42, "foldersLimit": 7249.67, "usersLimit": 5932.4, "aiUsage": 4075.34, "aiLimit": 4898.74, "conversionEnabled": false, "dotLinkClaimed": false, "partnersEnabled": false, "createdAt": "1719645884128", "users": [{"role": "member", "defaultFolderId": "<id>"}, {"role": "member", "defaultFolderId": "<id>"}, {"role": "member", "defaultFolderId": "<id>"}], "domains": [{"slug": "acme.com", "primary": false, "verified": false}, {"slug": "acme.com", "primary": false, "verified": false}], "store": {"key": "<value>"}, "allowedHostnames": ["dub.sh"]}
1804+
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": null, "inviteCode": "<value>", "plan": "business max", "stripeId": "<id>", "billingCycleStart": 8266.32, "paymentFailedAt": "<value>", "stripeConnectId": "<id>", "totalLinks": 1378.83, "usage": 2392.88, "usageLimit": 402.3, "linksUsage": 7273.44, "linksLimit": 9583.5, "payoutsUsage": 6544.94, "payoutsLimit": 8266.32, "domainsLimit": 9444.18, "tagsLimit": 3440.64, "foldersUsage": 9717.42, "foldersLimit": 7249.67, "usersLimit": 5932.4, "aiUsage": 4075.34, "aiLimit": 4898.74, "conversionEnabled": false, "dotLinkClaimed": false, "partnersEnabled": false, "createdAt": "1719645884128", "users": [{"role": "member", "defaultFolderId": "<id>"}, {"role": "member", "defaultFolderId": "<id>"}, {"role": "member", "defaultFolderId": "<id>"}], "domains": [{"slug": "acme.com", "primary": false, "verified": false}, {"slug": "acme.com", "primary": false, "verified": false}], "store": {"key": "<value>"}, "allowedHostnames": ["dub.sh"]}
18051805
"400":
18061806
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
18071807
"401":
@@ -1827,7 +1827,7 @@ examples:
18271827
idOrSlug: "<value>"
18281828
responses:
18291829
"200":
1830-
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": null, "inviteCode": "<value>", "plan": "business", "stripeId": "<id>", "billingCycleStart": 6751.25, "paymentFailedAt": "<value>", "stripeConnectId": "<id>", "totalLinks": 217.76, "usage": 2028.85, "usageLimit": 7509.63, "linksUsage": 6390.88, "linksLimit": 5728.58, "salesUsage": 2864.53, "salesLimit": 3966.86, "domainsLimit": 5981.08, "tagsLimit": 2040.39, "foldersUsage": 9329.44, "foldersLimit": 9097.44, "usersLimit": 4731.38, "aiUsage": 7848.2, "aiLimit": 9885.62, "conversionEnabled": false, "dotLinkClaimed": false, "partnersEnabled": false, "createdAt": "1736937020489", "users": [{"role": "owner", "defaultFolderId": "<id>"}], "domains": [{"slug": "acme.com", "primary": false, "verified": false}, {"slug": "acme.com", "primary": false, "verified": false}, {"slug": "acme.com", "primary": false, "verified": false}], "store": {"key": "<value>"}, "allowedHostnames": ["dub.sh"]}
1830+
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "logo": null, "inviteCode": "<value>", "plan": "business", "stripeId": "<id>", "billingCycleStart": 6751.25, "paymentFailedAt": "<value>", "stripeConnectId": "<id>", "totalLinks": 217.76, "usage": 2028.85, "usageLimit": 7509.63, "linksUsage": 6390.88, "linksLimit": 5728.58, "payoutsUsage": 3164.81, "payoutsLimit": 6751.25, "domainsLimit": 5981.08, "tagsLimit": 2040.39, "foldersUsage": 9329.44, "foldersLimit": 9097.44, "usersLimit": 4731.38, "aiUsage": 7848.2, "aiLimit": 9885.62, "conversionEnabled": false, "dotLinkClaimed": false, "partnersEnabled": false, "createdAt": "1736937020489", "users": [{"role": "owner", "defaultFolderId": "<id>"}], "domains": [{"slug": "acme.com", "primary": false, "verified": false}, {"slug": "acme.com", "primary": false, "verified": false}, {"slug": "acme.com", "primary": false, "verified": false}], "store": {"key": "<value>"}, "allowedHostnames": ["dub.sh"]}
18311831
"400":
18321832
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
18331833
"401":

.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.21
20+
version: 0.12.22
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.555.2
1+
speakeasyVersion: 1.555.3
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:2f51959d48f2921073a4d6291b56b9dfe2d3a068176825a24ab339a3d4dfe05e
6-
sourceBlobDigest: sha256:086f53f8370ead534234c1ff08409d27e626153f923c014e94bba6919eaf76f6
5+
sourceRevisionDigest: sha256:4020425de3b9bdde959fcedb50cbd36f0403131b025ac11a7373a5ccf530de3f
6+
sourceBlobDigest: sha256:248e14c1494c33f42a7c621cc98ef0e6f03f7ad29affb250d7932a3a4dd714e0
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1749054537
9+
- speakeasy-sdk-regen-1749082979
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:2f51959d48f2921073a4d6291b56b9dfe2d3a068176825a24ab339a3d4dfe05e
16-
sourceBlobDigest: sha256:086f53f8370ead534234c1ff08409d27e626153f923c014e94bba6919eaf76f6
15+
sourceRevisionDigest: sha256:4020425de3b9bdde959fcedb50cbd36f0403131b025ac11a7373a5ccf530de3f
16+
sourceBlobDigest: sha256:248e14c1494c33f42a7c621cc98ef0e6f03f7ad29affb250d7932a3a4dd714e0
1717
codeSamplesNamespace: code-samples-php-my-first-target
18-
codeSamplesRevisionDigest: sha256:5a4f24a56abf5212723286b35ab11bd96ad5ca4cf2796335f86332cccaef621b
18+
codeSamplesRevisionDigest: sha256:320dcf5a375509648da4a1a177c9e3320d0c23fa00ac1087774bea1c3a0d8cf0
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
@@ -1040,4 +1040,14 @@ Based on:
10401040
### Generated
10411041
- [php v0.12.21] .
10421042
### Releases
1043-
- [Composer v0.12.21] https://packagist.org/packages/dub/dub-php#v0.12.21 - .
1043+
- [Composer v0.12.21] https://packagist.org/packages/dub/dub-php#v0.12.21 - .
1044+
1045+
## 2025-06-05 00:22:41
1046+
### Changes
1047+
Based on:
1048+
- OpenAPI Doc
1049+
- Speakeasy CLI 1.555.3 (2.620.2) https://github.com/speakeasy-api/speakeasy
1050+
### Generated
1051+
- [php v0.12.22] .
1052+
### Releases
1053+
- [Composer v0.12.22] https://packagist.org/packages/dub/dub-php#v0.12.22 - .

docs/Models/Components/WorkspaceSchema.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
| `usageLimit` | *float* | :heavy_check_mark: | The usage limit of the workspace. | |
2121
| `linksUsage` | *float* | :heavy_check_mark: | The links usage of the workspace. | |
2222
| `linksLimit` | *float* | :heavy_check_mark: | The links limit of the workspace. | |
23-
| `salesUsage` | *float* | :heavy_check_mark: | The dollar amount of tracked revenue in the current billing cycle (in cents). | |
24-
| `salesLimit` | *float* | :heavy_check_mark: | The limit of tracked revenue in the current billing cycle (in cents). | |
23+
| `payoutsUsage` | *float* | :heavy_check_mark: | The dollar amount of partner payouts processed in the current billing cycle (in cents). | |
24+
| `payoutsLimit` | *float* | :heavy_check_mark: | The max dollar amount of partner payouts that can be processed within a billing cycle (in cents). | |
2525
| `domainsLimit` | *float* | :heavy_check_mark: | The domains limit of the workspace. | |
2626
| `tagsLimit` | *float* | :heavy_check_mark: | The tags limit of the workspace. | |
2727
| `foldersUsage` | *float* | :heavy_check_mark: | The folders usage of the workspace. | |

src/Models/Components/WorkspaceSchema.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -93,20 +93,20 @@ class WorkspaceSchema
9393
public float $linksLimit;
9494

9595
/**
96-
* The dollar amount of tracked revenue in the current billing cycle (in cents).
96+
* The dollar amount of partner payouts processed in the current billing cycle (in cents).
9797
*
98-
* @var float $salesUsage
98+
* @var float $payoutsUsage
9999
*/
100-
#[\Speakeasy\Serializer\Annotation\SerializedName('salesUsage')]
101-
public float $salesUsage;
100+
#[\Speakeasy\Serializer\Annotation\SerializedName('payoutsUsage')]
101+
public float $payoutsUsage;
102102

103103
/**
104-
* The limit of tracked revenue in the current billing cycle (in cents).
104+
* The max dollar amount of partner payouts that can be processed within a billing cycle (in cents).
105105
*
106-
* @var float $salesLimit
106+
* @var float $payoutsLimit
107107
*/
108-
#[\Speakeasy\Serializer\Annotation\SerializedName('salesLimit')]
109-
public float $salesLimit;
108+
#[\Speakeasy\Serializer\Annotation\SerializedName('payoutsLimit')]
109+
public float $payoutsLimit;
110110

111111
/**
112112
* The domains limit of the workspace.
@@ -294,8 +294,8 @@ class WorkspaceSchema
294294
* @param float $usageLimit
295295
* @param float $linksUsage
296296
* @param float $linksLimit
297-
* @param float $salesUsage
298-
* @param float $salesLimit
297+
* @param float $payoutsUsage
298+
* @param float $payoutsLimit
299299
* @param float $domainsLimit
300300
* @param float $tagsLimit
301301
* @param float $foldersUsage
@@ -319,7 +319,7 @@ class WorkspaceSchema
319319
* @param ?string $logo
320320
* @phpstan-pure
321321
*/
322-
public function __construct(string $id, string $name, string $slug, Plan $plan, float $billingCycleStart, float $totalLinks, float $usage, float $usageLimit, float $linksUsage, float $linksLimit, float $salesUsage, float $salesLimit, float $domainsLimit, float $tagsLimit, float $foldersUsage, float $foldersLimit, float $usersLimit, float $aiUsage, float $aiLimit, bool $conversionEnabled, bool $dotLinkClaimed, bool $partnersEnabled, string $createdAt, array $users, array $domains, ?string $inviteCode = null, ?string $stripeId = null, ?string $paymentFailedAt = null, ?string $stripeConnectId = null, ?array $flags = null, ?array $store = null, ?array $allowedHostnames = null, ?string $logo = null)
322+
public function __construct(string $id, string $name, string $slug, Plan $plan, float $billingCycleStart, float $totalLinks, float $usage, float $usageLimit, float $linksUsage, float $linksLimit, float $payoutsUsage, float $payoutsLimit, float $domainsLimit, float $tagsLimit, float $foldersUsage, float $foldersLimit, float $usersLimit, float $aiUsage, float $aiLimit, bool $conversionEnabled, bool $dotLinkClaimed, bool $partnersEnabled, string $createdAt, array $users, array $domains, ?string $inviteCode = null, ?string $stripeId = null, ?string $paymentFailedAt = null, ?string $stripeConnectId = null, ?array $flags = null, ?array $store = null, ?array $allowedHostnames = null, ?string $logo = null)
323323
{
324324
$this->id = $id;
325325
$this->name = $name;
@@ -331,8 +331,8 @@ public function __construct(string $id, string $name, string $slug, Plan $plan,
331331
$this->usageLimit = $usageLimit;
332332
$this->linksUsage = $linksUsage;
333333
$this->linksLimit = $linksLimit;
334-
$this->salesUsage = $salesUsage;
335-
$this->salesLimit = $salesLimit;
334+
$this->payoutsUsage = $payoutsUsage;
335+
$this->payoutsLimit = $payoutsLimit;
336336
$this->domainsLimit = $domainsLimit;
337337
$this->tagsLimit = $tagsLimit;
338338
$this->foldersUsage = $foldersUsage;

src/SDKConfiguration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ class SDKConfiguration
2424

2525
public string $openapiDocVersion = '0.0.1';
2626

27-
public string $sdkVersion = '0.12.21';
27+
public string $sdkVersion = '0.12.22';
2828

2929
public string $genVersion = '2.620.2';
3030

31-
public string $userAgent = 'speakeasy-sdk/php 0.12.21 2.620.2 0.0.1 dub/dub-php';
31+
public string $userAgent = 'speakeasy-sdk/php 0.12.22 2.620.2 0.0.1 dub/dub-php';
3232

3333
public ?RetryConfig $retryConfig = null;
3434

0 commit comments

Comments
 (0)