From c36d4b5f689623c8794952daa04e67be58f05194 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 18 Oct 2024 00:20:17 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.419.0 --- .speakeasy/gen.lock | 12 ++++----- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 12 ++++----- RELEASES.md | 12 ++++++++- docs/Models/Components/WorkspaceSchema.md | 3 ++- src/Models/Components/WorkspaceSchema.php | 32 +++++++++++++++-------- src/SDKConfiguration.php | 4 +-- 7 files changed, 49 insertions(+), 28 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index f7ea13f..0f87d17 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: 8e16a6ad2773fc570daf1ee5754298d1 + docChecksum: c88acc42c7fc51806ffd58748f95557d docVersion: 0.0.1 - speakeasyVersion: 1.418.4 + speakeasyVersion: 1.419.0 generationVersion: 2.438.3 - releaseVersion: 0.8.2 - configChecksum: 723d6a9311351b6a69996e0301c795f8 + releaseVersion: 0.8.3 + configChecksum: 546a3ae32f0a7bc170b0578cdbada0bc repoURL: https://github.com/dubinc/dub-php.git installationURL: https://github.com/dubinc/dub-php published: true @@ -825,7 +825,7 @@ examples: idOrSlug: "" responses: "200": - application/json: {"id": "", "name": "", "slug": "", "logo": "", "plan": "business extra", "stripeId": "", "billingCycleStart": "900.65", "stripeConnectId": "", "inviteCode": "", "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", "referralLinkId": "", "conversionEnabled": true, "dotLinkClaimed": true, "createdAt": "", "users": [], "domains": [], "publishableKey": ""} + application/json: {"id": "", "name": "", "slug": "", "logo": "", "inviteCode": "", "plan": "business extra", "stripeId": "", "billingCycleStart": "900.65", "paymentFailedAt": "", "stripeConnectId": "", "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", "referralLinkId": "", "conversionEnabled": true, "dotLinkClaimed": true, "createdAt": "", "users": [], "domains": [], "publishableKey": ""} "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": @@ -851,7 +851,7 @@ examples: idOrSlug: "" responses: "200": - application/json: {"id": "", "name": "", "slug": "", "logo": "", "plan": "enterprise", "stripeId": "", "billingCycleStart": "245.55", "stripeConnectId": "", "inviteCode": "", "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", "referralLinkId": "", "conversionEnabled": false, "dotLinkClaimed": false, "createdAt": "", "users": [], "domains": [], "publishableKey": ""} + application/json: {"id": "", "name": "", "slug": "", "logo": "", "inviteCode": "", "plan": "enterprise", "stripeId": "", "billingCycleStart": "245.55", "paymentFailedAt": "", "stripeConnectId": "", "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", "referralLinkId": "", "conversionEnabled": false, "dotLinkClaimed": false, "createdAt": "", "users": [], "domains": [], "publishableKey": ""} "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 d8b8bd8..186d9b6 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true php: - version: 0.8.2 + version: 0.8.3 clientServerStatusCodesAsErrors: true flattenGlobalSecurity: true imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 9c2c6c1..a553c59 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.418.4 +speakeasyVersion: 1.419.0 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:d28f693d697cc9d7457d69e7a611db5bde897f5f30b8eb38a3c37df0fda4e926 - sourceBlobDigest: sha256:eb6f87b3a530aa265d333302f91d616540dbf54790e4eabd2d287b764f06e3de + sourceRevisionDigest: sha256:df51d1cacbe180a0c48dad4c36f66fe578c6be5ee40dbd21ed3c193a34d3169e + sourceBlobDigest: sha256:b5e69d33a0ab8e1b2ad0d824738e50104cb4ca26cd08b7f9626db5c63c4d686b tags: - latest - main @@ -11,10 +11,10 @@ targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:d28f693d697cc9d7457d69e7a611db5bde897f5f30b8eb38a3c37df0fda4e926 - sourceBlobDigest: sha256:eb6f87b3a530aa265d333302f91d616540dbf54790e4eabd2d287b764f06e3de + sourceRevisionDigest: sha256:df51d1cacbe180a0c48dad4c36f66fe578c6be5ee40dbd21ed3c193a34d3169e + sourceBlobDigest: sha256:b5e69d33a0ab8e1b2ad0d824738e50104cb4ca26cd08b7f9626db5c63c4d686b codeSamplesNamespace: code-samples-php-my-first-target - codeSamplesRevisionDigest: sha256:e3c5beda98d8af0f477fb2ed7d05936618f7c474ffb70453b3d32ad4f76562c7 + codeSamplesRevisionDigest: sha256:a0ebe9c70db280258be6e8631bf5582acc5afab1c8a4812372c7e6b7ddf64393 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 047cc5e..d8649cc 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -330,4 +330,14 @@ Based on: ### Generated - [php v0.8.2] . ### Releases -- [Composer v0.8.2] https://packagist.org/packages/dub/dub-php#v0.8.2 - . \ No newline at end of file +- [Composer v0.8.2] https://packagist.org/packages/dub/dub-php#v0.8.2 - . + +## 2024-10-18 00:19:01 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.419.0 (2.438.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [php v0.8.3] . +### Releases +- [Composer v0.8.3] https://packagist.org/packages/dub/dub-php#v0.8.3 - . \ No newline at end of file diff --git a/docs/Models/Components/WorkspaceSchema.md b/docs/Models/Components/WorkspaceSchema.md index 1dfa90f..3d03a52 100644 --- a/docs/Models/Components/WorkspaceSchema.md +++ b/docs/Models/Components/WorkspaceSchema.md @@ -26,9 +26,10 @@ | `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. | +| `inviteCode` | *string* | :heavy_check_mark: | The invite code of the workspace. | | `stripeId` | *string* | :heavy_check_mark: | The Stripe ID of the workspace. | +| `paymentFailedAt` | *string* | :heavy_check_mark: | The date and time when the payment failed for the workspace. | | `stripeConnectId` | *string* | :heavy_check_mark: | [BETA]: The Stripe Connect ID of the workspace. | -| `inviteCode` | *string* | :heavy_check_mark: | The invite code of the workspace. | | `referralLinkId` | *string* | :heavy_check_mark: | The ID of the referral link of the workspace. | | `flags` | array | :heavy_minus_sign: | The feature flags of the workspace, indicating which features are enabled. | | `publishableKey` | *string* | :heavy_check_mark: | The publishable key of the workspace. | diff --git a/src/Models/Components/WorkspaceSchema.php b/src/Models/Components/WorkspaceSchema.php index f22b843..16be8fc 100644 --- a/src/Models/Components/WorkspaceSchema.php +++ b/src/Models/Components/WorkspaceSchema.php @@ -44,6 +44,14 @@ class WorkspaceSchema #[\JMS\Serializer\Annotation\SkipWhenNull] public ?string $logo = null; + /** + * The invite code of the workspace. + * + * @var ?string $inviteCode + */ + #[\JMS\Serializer\Annotation\SerializedName('inviteCode')] + public ?string $inviteCode; + /** * The plan of the workspace. * @@ -70,20 +78,20 @@ class WorkspaceSchema public float $billingCycleStart; /** - * [BETA]: The Stripe Connect ID of the workspace. + * The date and time when the payment failed for the workspace. * - * @var ?string $stripeConnectId + * @var ?string $paymentFailedAt */ - #[\JMS\Serializer\Annotation\SerializedName('stripeConnectId')] - public ?string $stripeConnectId; + #[\JMS\Serializer\Annotation\SerializedName('paymentFailedAt')] + public ?string $paymentFailedAt; /** - * The invite code of the workspace. + * [BETA]: The Stripe Connect ID of the workspace. * - * @var ?string $inviteCode + * @var ?string $stripeConnectId */ - #[\JMS\Serializer\Annotation\SerializedName('inviteCode')] - public ?string $inviteCode; + #[\JMS\Serializer\Annotation\SerializedName('stripeConnectId')] + public ?string $stripeConnectId; /** * The usage of the workspace. @@ -263,15 +271,16 @@ class WorkspaceSchema * @param string $createdAt * @param array $users * @param array $domains + * @param ?string $inviteCode * @param ?string $stripeId + * @param ?string $paymentFailedAt * @param ?string $stripeConnectId - * @param ?string $inviteCode * @param ?string $referralLinkId * @param ?array $flags * @param ?string $publishableKey * @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 $stripeId = null, ?string $stripeConnectId = null, ?string $inviteCode = null, ?string $referralLinkId = null, ?array $flags = null, ?string $publishableKey = 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, string $createdAt, array $users, array $domains, ?string $inviteCode = null, ?string $stripeId = null, ?string $paymentFailedAt = null, ?string $stripeConnectId = null, ?string $referralLinkId = null, ?array $flags = null, ?string $publishableKey = null, ?string $logo = null) { $this->id = $id; $this->name = $name; @@ -294,9 +303,10 @@ public function __construct(string $id, string $name, string $slug, Plan $plan, $this->createdAt = $createdAt; $this->users = $users; $this->domains = $domains; + $this->inviteCode = $inviteCode; $this->stripeId = $stripeId; + $this->paymentFailedAt = $paymentFailedAt; $this->stripeConnectId = $stripeConnectId; - $this->inviteCode = $inviteCode; $this->referralLinkId = $referralLinkId; $this->flags = $flags; $this->publishableKey = $publishableKey; diff --git a/src/SDKConfiguration.php b/src/SDKConfiguration.php index 9ab44ea..391d5e6 100644 --- a/src/SDKConfiguration.php +++ b/src/SDKConfiguration.php @@ -27,11 +27,11 @@ class SDKConfiguration public string $openapiDocVersion = '0.0.1'; - public string $sdkVersion = '0.8.2'; + public string $sdkVersion = '0.8.3'; public string $genVersion = '2.438.3'; - public string $userAgent = 'speakeasy-sdk/php 0.8.2 2.438.3 0.0.1 dub/dub-php'; + public string $userAgent = 'speakeasy-sdk/php 0.8.3 2.438.3 0.0.1 dub/dub-php'; public function getServerUrl(): string {