From ae475107510443418d8e55f3a8c035a3202a15d8 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 19 Dec 2024 00:21:40 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.456.1 --- .speakeasy/gen.lock | 12 ++++++------ .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 +++++++------- RELEASES.md | 12 +++++++++++- docs/Models/Components/WorkspaceSchema.md | 1 + src/Models/Components/WorkspaceSchema.php | 12 +++++++++++- src/SDKConfiguration.php | 4 ++-- 7 files changed, 39 insertions(+), 18 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 65249dc..e9992a7 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 43187d3e-7c3c-4c11-b5d4-4b2334fb6d96 management: - docChecksum: cb382cc4468d569fac201d1bf8058387 + docChecksum: 91f8a271509d1f385478a60c83339f25 docVersion: 0.0.1 - speakeasyVersion: 1.456.0 + speakeasyVersion: 1.456.1 generationVersion: 2.481.0 - releaseVersion: 0.11.8 - configChecksum: a8cc33f7e922f0c9bd4c6053e0feb7e1 + releaseVersion: 0.11.9 + configChecksum: 82a2cfff6e27245b0a738d13b93988fc repoURL: https://github.com/dubinc/dub-php.git installationURL: https://github.com/dubinc/dub-php published: true @@ -885,7 +885,7 @@ examples: idOrSlug: "" responses: "200": - application/json: {"id": "", "name": "", "slug": "", "logo": "", "inviteCode": "", "plan": "business extra", "stripeId": "", "billingCycleStart": "900.65", "paymentFailedAt": "", "stripeConnectId": "", "payoutMethodId": "", "usage": "5588.34", "usageLimit": "8441.99", "linksUsage": "5442.21", "linksLimit": "8306.36", "salesUsage": "5212.35", "salesLimit": "785.92", "domainsLimit": "9699.61", "tagsLimit": "8661.61", "usersLimit": "4580.49", "aiUsage": "7352.87", "aiLimit": "4508.24", "conversionEnabled": true, "dotLinkClaimed": true, "createdAt": "", "users": [], "domains": []} + application/json: {"id": "", "name": "", "slug": "", "logo": "", "inviteCode": "", "plan": "business extra", "stripeId": "", "billingCycleStart": "900.65", "paymentFailedAt": "", "stripeConnectId": "", "payoutMethodId": "", "usage": "5588.34", "usageLimit": "8441.99", "linksUsage": "5442.21", "linksLimit": "8306.36", "salesUsage": "5212.35", "salesLimit": "785.92", "domainsLimit": "9699.61", "tagsLimit": "8661.61", "usersLimit": "4580.49", "aiUsage": "7352.87", "aiLimit": "4508.24", "conversionEnabled": true, "dotLinkClaimed": true, "partnersEnabled": false, "createdAt": "", "users": [], "domains": []} "400": application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}} "401": @@ -911,7 +911,7 @@ examples: idOrSlug: "" responses: "200": - application/json: {"id": "", "name": "", "slug": "", "logo": "", "inviteCode": "", "plan": "enterprise", "stripeId": "", "billingCycleStart": "245.55", "paymentFailedAt": "", "stripeConnectId": "", "payoutMethodId": "", "usage": "5971.29", "usageLimit": "156.52", "linksUsage": "3446.2", "linksLimit": "7084.55", "salesUsage": "9914.64", "salesLimit": "2703.24", "domainsLimit": "6276.9", "tagsLimit": "6841.99", "usersLimit": "4888.52", "aiUsage": "4430.76", "aiLimit": "9840.08", "conversionEnabled": false, "dotLinkClaimed": false, "createdAt": "", "users": [], "domains": []} + application/json: {"id": "", "name": "", "slug": "", "logo": "", "inviteCode": "", "plan": "enterprise", "stripeId": "", "billingCycleStart": "245.55", "paymentFailedAt": "", "stripeConnectId": "", "payoutMethodId": "", "usage": "5971.29", "usageLimit": "156.52", "linksUsage": "3446.2", "linksLimit": "7084.55", "salesUsage": "9914.64", "salesLimit": "2703.24", "domainsLimit": "6276.9", "tagsLimit": "6841.99", "usersLimit": "4888.52", "aiUsage": "4430.76", "aiLimit": "9840.08", "conversionEnabled": false, "dotLinkClaimed": false, "partnersEnabled": false, "createdAt": "", "users": [], "domains": []} "400": application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}} "401": diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 14e3b74..019a418 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -13,7 +13,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false php: - version: 0.11.8 + version: 0.11.9 additionalDependencies: autoload: {} autoload-dev: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index b20b1d6..ed92934 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.456.0 +speakeasyVersion: 1.456.1 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:44929bb9c3739d49f288e5dd88744fa47f3e1c2447bc58d1848faede36ab7ba7 - sourceBlobDigest: sha256:1a0d16219c5d15e56c8d4f3010b89035f7ea6d5af284d33241f231f8e87d361c + sourceRevisionDigest: sha256:bb3f42bf7c9cd33fdb2b5db949a89422e1da3646f2f161461531c37e00377019 + sourceBlobDigest: sha256:dd73501fb0082ccb7033caed86fb515bcb93da12c57f60ee5448c42448cd0d8f tags: - latest - - speakeasy-sdk-regen-1734481213 + - speakeasy-sdk-regen-1734567632 - 0.0.1 targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:44929bb9c3739d49f288e5dd88744fa47f3e1c2447bc58d1848faede36ab7ba7 - sourceBlobDigest: sha256:1a0d16219c5d15e56c8d4f3010b89035f7ea6d5af284d33241f231f8e87d361c + sourceRevisionDigest: sha256:bb3f42bf7c9cd33fdb2b5db949a89422e1da3646f2f161461531c37e00377019 + sourceBlobDigest: sha256:dd73501fb0082ccb7033caed86fb515bcb93da12c57f60ee5448c42448cd0d8f codeSamplesNamespace: code-samples-php-my-first-target - codeSamplesRevisionDigest: sha256:8e4846aee9b085e388ecdc3e11e7e8b49aaab4d011039f39ade36c7173893a37 + codeSamplesRevisionDigest: sha256:05820a9f37f94d82bce1eac31382295233f5c46cf8777cefe90d256019f49121 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index b364ab7..26421e9 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -530,4 +530,14 @@ Based on: ### Generated - [php v0.11.8] . ### Releases -- [Composer v0.11.8] https://packagist.org/packages/dub/dub-php#v0.11.8 - . \ No newline at end of file +- [Composer v0.11.8] https://packagist.org/packages/dub/dub-php#v0.11.8 - . + +## 2024-12-19 00:20:29 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.456.1 (2.481.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [php v0.11.9] . +### Releases +- [Composer v0.11.9] https://packagist.org/packages/dub/dub-php#v0.11.9 - . \ No newline at end of file diff --git a/docs/Models/Components/WorkspaceSchema.md b/docs/Models/Components/WorkspaceSchema.md index 5e93be9..7035e4d 100644 --- a/docs/Models/Components/WorkspaceSchema.md +++ b/docs/Models/Components/WorkspaceSchema.md @@ -23,6 +23,7 @@ | `aiLimit` | *float* | :heavy_check_mark: | The AI limit of the workspace. | | `conversionEnabled` | *bool* | :heavy_check_mark: | Whether the workspace has conversion tracking enabled (d.to/conversions). | | `dotLinkClaimed` | *bool* | :heavy_check_mark: | Whether the workspace has claimed a free .link domain. (dub.link/free) | +| `partnersEnabled` | *bool* | :heavy_check_mark: | Whether the workspace has Dub Partners enabled. | | `createdAt` | *string* | :heavy_check_mark: | The date and time when the workspace was created. | | `users` | array<[Components\Users](../../Models/Components/Users.md)> | :heavy_check_mark: | The role of the authenticated user in the workspace. | | `domains` | array<[Components\Domains](../../Models/Components/Domains.md)> | :heavy_check_mark: | The domains of the workspace. | diff --git a/src/Models/Components/WorkspaceSchema.php b/src/Models/Components/WorkspaceSchema.php index 941d028..52945f3 100644 --- a/src/Models/Components/WorkspaceSchema.php +++ b/src/Models/Components/WorkspaceSchema.php @@ -156,6 +156,14 @@ class WorkspaceSchema #[\Speakeasy\Serializer\Annotation\SerializedName('dotLinkClaimed')] public bool $dotLinkClaimed; + /** + * Whether the workspace has Dub Partners enabled. + * + * @var bool $partnersEnabled + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('partnersEnabled')] + public bool $partnersEnabled; + /** * The date and time when the workspace was created. * @@ -260,6 +268,7 @@ class WorkspaceSchema * @param float $aiLimit * @param bool $conversionEnabled * @param bool $dotLinkClaimed + * @param bool $partnersEnabled * @param string $createdAt * @param array $users * @param array $domains @@ -271,7 +280,7 @@ class WorkspaceSchema * @param ?array $flags * @param ?string $logo */ - public function __construct(string $id, string $name, string $slug, Plan $plan, float $billingCycleStart, float $usage, float $usageLimit, float $linksUsage, float $linksLimit, float $salesUsage, float $salesLimit, float $domainsLimit, float $tagsLimit, float $usersLimit, float $aiUsage, float $aiLimit, bool $conversionEnabled, bool $dotLinkClaimed, string $createdAt, array $users, array $domains, ?string $inviteCode = null, ?string $stripeId = null, ?string $paymentFailedAt = null, ?string $stripeConnectId = null, ?string $payoutMethodId = null, ?array $flags = null, ?string $logo = null) + public function __construct(string $id, string $name, string $slug, Plan $plan, float $billingCycleStart, float $usage, float $usageLimit, float $linksUsage, float $linksLimit, float $salesUsage, float $salesLimit, float $domainsLimit, float $tagsLimit, 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, ?string $payoutMethodId = null, ?array $flags = null, ?string $logo = null) { $this->id = $id; $this->name = $name; @@ -291,6 +300,7 @@ public function __construct(string $id, string $name, string $slug, Plan $plan, $this->aiLimit = $aiLimit; $this->conversionEnabled = $conversionEnabled; $this->dotLinkClaimed = $dotLinkClaimed; + $this->partnersEnabled = $partnersEnabled; $this->createdAt = $createdAt; $this->users = $users; $this->domains = $domains; diff --git a/src/SDKConfiguration.php b/src/SDKConfiguration.php index 103f806..b777d79 100644 --- a/src/SDKConfiguration.php +++ b/src/SDKConfiguration.php @@ -26,11 +26,11 @@ class SDKConfiguration public string $openapiDocVersion = '0.0.1'; - public string $sdkVersion = '0.11.8'; + public string $sdkVersion = '0.11.9'; public string $genVersion = '2.481.0'; - public string $userAgent = 'speakeasy-sdk/php 0.11.8 2.481.0 0.0.1 dub/dub-php'; + public string $userAgent = 'speakeasy-sdk/php 0.11.9 2.481.0 0.0.1 dub/dub-php'; public function __construct() {