From 951742ea0d8748ec7a6752f2962d0adc6ae298c9 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 16 Oct 2024 00:20:27 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.418.4 --- .speakeasy/gen.lock | 8 ++++---- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 12 ++++++------ RELEASES.md | 12 +++++++++++- docs/Models/Components/DomainSchema.md | 2 +- src/Models/Components/DomainSchema.php | 5 ++--- src/SDKConfiguration.php | 4 ++-- 7 files changed, 27 insertions(+), 18 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 494bac5..f7ea13f 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: dd50d9803155ecb1d90a2bbf2802878d + docChecksum: 8e16a6ad2773fc570daf1ee5754298d1 docVersion: 0.0.1 - speakeasyVersion: 1.418.3 + speakeasyVersion: 1.418.4 generationVersion: 2.438.3 - releaseVersion: 0.8.1 - configChecksum: 725aa47f59a168545b8cf4399a4516d5 + releaseVersion: 0.8.2 + configChecksum: 723d6a9311351b6a69996e0301c795f8 repoURL: https://github.com/dubinc/dub-php.git installationURL: https://github.com/dubinc/dub-php published: true diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 59782a0..d8b8bd8 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true php: - version: 0.8.1 + version: 0.8.2 clientServerStatusCodesAsErrors: true flattenGlobalSecurity: true imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index d2f2d27..9c2c6c1 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.418.3 +speakeasyVersion: 1.418.4 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:800895fc49223bd675a54bd67da820d13486db35d1c625434df0e4ccd767d82b - sourceBlobDigest: sha256:a0fa9b01d207a129337cd0a6b935faf124950f848d4daf23563caad9c083be0e + sourceRevisionDigest: sha256:d28f693d697cc9d7457d69e7a611db5bde897f5f30b8eb38a3c37df0fda4e926 + sourceBlobDigest: sha256:eb6f87b3a530aa265d333302f91d616540dbf54790e4eabd2d287b764f06e3de tags: - latest - main @@ -11,10 +11,10 @@ targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:800895fc49223bd675a54bd67da820d13486db35d1c625434df0e4ccd767d82b - sourceBlobDigest: sha256:a0fa9b01d207a129337cd0a6b935faf124950f848d4daf23563caad9c083be0e + sourceRevisionDigest: sha256:d28f693d697cc9d7457d69e7a611db5bde897f5f30b8eb38a3c37df0fda4e926 + sourceBlobDigest: sha256:eb6f87b3a530aa265d333302f91d616540dbf54790e4eabd2d287b764f06e3de codeSamplesNamespace: code-samples-php-my-first-target - codeSamplesRevisionDigest: sha256:1fdee83ba5acbce8f7fdc375ce56593300e9f76c250569112f87907a5591e601 + codeSamplesRevisionDigest: sha256:e3c5beda98d8af0f477fb2ed7d05936618f7c474ffb70453b3d32ad4f76562c7 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index a1f8857..047cc5e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -320,4 +320,14 @@ Based on: ### Generated - [php v0.8.1] . ### Releases -- [Composer v0.8.1] https://packagist.org/packages/dub/dub-php#v0.8.1 - . \ No newline at end of file +- [Composer v0.8.1] https://packagist.org/packages/dub/dub-php#v0.8.1 - . + +## 2024-10-16 00:19:09 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.418.4 (2.438.3) https://github.com/speakeasy-api/speakeasy +### 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 diff --git a/docs/Models/Components/DomainSchema.md b/docs/Models/Components/DomainSchema.md index 9b5d1ac..469d95f 100644 --- a/docs/Models/Components/DomainSchema.md +++ b/docs/Models/Components/DomainSchema.md @@ -12,7 +12,7 @@ | `verified` | *?bool* | :heavy_minus_sign: | Whether the domain is verified. | | | `primary` | *?bool* | :heavy_minus_sign: | Whether the domain is the primary domain for the workspace. | | | `archived` | *?bool* | :heavy_minus_sign: | Whether the domain is archived. | | -| `placeholder` | *?string* | :heavy_minus_sign: | Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. | https://dub.co/help/article/what-is-dub | +| `placeholder` | *string* | :heavy_check_mark: | Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. | https://dub.co/help/article/what-is-dub | | `expiredUrl` | *string* | :heavy_check_mark: | The URL to redirect to when a link under this domain has expired. | https://acme.com/expired | | `notFoundUrl` | *string* | :heavy_check_mark: | The URL to redirect to when a link under this domain doesn't exist. | https://acme.com/not-found | | `registeredDomain` | [Components\RegisteredDomain](../../Models/Components/RegisteredDomain.md) | :heavy_check_mark: | The registered domain record. | | \ No newline at end of file diff --git a/src/Models/Components/DomainSchema.php b/src/Models/Components/DomainSchema.php index e927c65..92642c7 100644 --- a/src/Models/Components/DomainSchema.php +++ b/src/Models/Components/DomainSchema.php @@ -60,8 +60,7 @@ class DomainSchema * @var ?string $placeholder */ #[\JMS\Serializer\Annotation\SerializedName('placeholder')] - #[\JMS\Serializer\Annotation\SkipWhenNull] - public ?string $placeholder = null; + public ?string $placeholder; /** * The URL to redirect to when a link under this domain has expired. @@ -117,7 +116,7 @@ class DomainSchema * @param ?string $notFoundUrl * @param ?RegisteredDomain $registeredDomain */ - public function __construct(string $id, string $slug, string $createdAt, string $updatedAt, ?string $expiredUrl = null, ?string $notFoundUrl = null, ?RegisteredDomain $registeredDomain = null, ?bool $verified = false, ?bool $primary = false, ?bool $archived = false, ?string $placeholder = 'https://dub.co/help/article/what-is-dub') + public function __construct(string $id, string $slug, string $createdAt, string $updatedAt, ?string $placeholder = null, ?string $expiredUrl = null, ?string $notFoundUrl = null, ?RegisteredDomain $registeredDomain = null, ?bool $verified = false, ?bool $primary = false, ?bool $archived = false) { $this->id = $id; $this->slug = $slug; diff --git a/src/SDKConfiguration.php b/src/SDKConfiguration.php index 229ffa2..9ab44ea 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.1'; + public string $sdkVersion = '0.8.2'; public string $genVersion = '2.438.3'; - public string $userAgent = 'speakeasy-sdk/php 0.8.1 2.438.3 0.0.1 dub/dub-php'; + public string $userAgent = 'speakeasy-sdk/php 0.8.2 2.438.3 0.0.1 dub/dub-php'; public function getServerUrl(): string {