From b7466530106179fee7bceae353258a818aa000a0 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 5 Sep 2023 00:11:20 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc 0.3.0, Speakeay CLI 1.78.3 --- RELEASES.md | 12 +++++++++++- gen.yaml | 8 ++++---- src/ApiEndpoints.php | 14 +++++++------- src/Apis.php | 10 +++++----- src/Embeds.php | 4 ++-- src/Metadata.php | 4 ++-- src/Plugins.php | 2 +- src/Requests.php | 6 +++--- src/SDKConfiguration.php | 4 ++-- src/Schemas.php | 14 +++++++------- 10 files changed, 44 insertions(+), 34 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 112074d..ff4e970 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -424,4 +424,14 @@ Based on: ### Generated - [php v0.26.0] . ### Releases -- [Composer v0.26.0] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.26.0 - . \ No newline at end of file +- [Composer v0.26.0] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.26.0 - . + +## 2023-09-05 00:11:04 +### Changes +Based on: +- OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml +- Speakeasy CLI 1.78.3 (2.96.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [php v0.27.0] . +### Releases +- [Composer v0.27.0] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.27.0 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index cc90f8c..96716ab 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,22 +2,22 @@ configVersion: 1.0.0 management: docChecksum: 8c4f3932e054e1b349a9a34f12cf7e8c docVersion: 0.3.0 - speakeasyVersion: 1.75.0 - generationVersion: 2.89.1 + speakeasyVersion: 1.78.3 + generationVersion: 2.96.3 generation: sdkClassName: SDK singleTagPerOp: false telemetryEnabled: true features: php: - core: 2.84.0 + core: 2.85.3 examples: 2.81.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 inputOutputModels: 2.81.1 serverIDs: 2.81.1 php: - version: 0.26.0 + version: 0.27.0 maxMethodParams: 0 namespace: Speakeasy\SpeakeasyClientSDK packageName: speakeasy-api/speakeasy-client-sdk-php diff --git a/src/ApiEndpoints.php b/src/ApiEndpoints.php index c93cf78..0da72ef 100755 --- a/src/ApiEndpoints.php +++ b/src/ApiEndpoints.php @@ -30,7 +30,7 @@ public function __construct(SDKConfiguration $sdkConfig) * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteApiEndpointResponse */ public function deleteApiEndpoint( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteApiEndpointRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteApiEndpointRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteApiEndpointResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -71,7 +71,7 @@ public function deleteApiEndpoint( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\FindApiEndpointResponse */ public function findApiEndpoint( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\FindApiEndpointRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\FindApiEndpointRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\FindApiEndpointResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -116,7 +116,7 @@ public function findApiEndpoint( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GenerateOpenApiSpecForApiEndpointResponse */ public function generateOpenApiSpecForApiEndpoint( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GenerateOpenApiSpecForApiEndpointRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GenerateOpenApiSpecForApiEndpointRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GenerateOpenApiSpecForApiEndpointResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -160,7 +160,7 @@ public function generateOpenApiSpecForApiEndpoint( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GeneratePostmanCollectionForApiEndpointResponse */ public function generatePostmanCollectionForApiEndpoint( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GeneratePostmanCollectionForApiEndpointRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GeneratePostmanCollectionForApiEndpointRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GeneratePostmanCollectionForApiEndpointResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -201,7 +201,7 @@ public function generatePostmanCollectionForApiEndpoint( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetAllApiEndpointsResponse */ public function getAllApiEndpoints( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetAllApiEndpointsRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GetAllApiEndpointsRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetAllApiEndpointsResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -243,7 +243,7 @@ public function getAllApiEndpoints( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetAllForVersionApiEndpointsResponse */ public function getAllForVersionApiEndpoints( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetAllForVersionApiEndpointsRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GetAllForVersionApiEndpointsRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetAllForVersionApiEndpointsResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -285,7 +285,7 @@ public function getAllForVersionApiEndpoints( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetApiEndpointResponse */ public function getApiEndpoint( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetApiEndpointRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GetApiEndpointRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetApiEndpointResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); diff --git a/src/Apis.php b/src/Apis.php index fae3fb0..c6dd00e 100755 --- a/src/Apis.php +++ b/src/Apis.php @@ -30,7 +30,7 @@ public function __construct(SDKConfiguration $sdkConfig) * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteApiResponse */ public function deleteApi( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteApiRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteApiRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteApiResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -71,7 +71,7 @@ public function deleteApi( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GenerateOpenApiSpecResponse */ public function generateOpenApiSpec( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GenerateOpenApiSpecRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GenerateOpenApiSpecRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GenerateOpenApiSpecResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -115,7 +115,7 @@ public function generateOpenApiSpec( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GeneratePostmanCollectionResponse */ public function generatePostmanCollection( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GeneratePostmanCollectionRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GeneratePostmanCollectionRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GeneratePostmanCollectionResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -159,7 +159,7 @@ public function generatePostmanCollection( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetAllApiVersionsResponse */ public function getAllApiVersions( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetAllApiVersionsRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GetAllApiVersionsRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetAllApiVersionsResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -205,7 +205,7 @@ public function getAllApiVersions( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetApisResponse */ public function getApis( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetApisRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GetApisRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetApisResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); diff --git a/src/Embeds.php b/src/Embeds.php index 8b1ed01..beb8dc8 100755 --- a/src/Embeds.php +++ b/src/Embeds.php @@ -31,7 +31,7 @@ public function __construct(SDKConfiguration $sdkConfig) * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetEmbedAccessTokenResponse */ public function getEmbedAccessToken( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetEmbedAccessTokenRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GetEmbedAccessTokenRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetEmbedAccessTokenResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -114,7 +114,7 @@ public function getValidEmbedAccessTokens( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\RevokeEmbedAccessTokenResponse */ public function revokeEmbedAccessToken( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\RevokeEmbedAccessTokenRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\RevokeEmbedAccessTokenRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\RevokeEmbedAccessTokenResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); diff --git a/src/Metadata.php b/src/Metadata.php index e619799..c4dd286 100755 --- a/src/Metadata.php +++ b/src/Metadata.php @@ -28,7 +28,7 @@ public function __construct(SDKConfiguration $sdkConfig) * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteVersionMetadataResponse */ public function deleteVersionMetadata( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteVersionMetadataRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteVersionMetadataRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteVersionMetadataResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -66,7 +66,7 @@ public function deleteVersionMetadata( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetVersionMetadataResponse */ public function getVersionMetadata( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetVersionMetadataRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GetVersionMetadataRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetVersionMetadataResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); diff --git a/src/Plugins.php b/src/Plugins.php index d1a6f3a..25814cb 100755 --- a/src/Plugins.php +++ b/src/Plugins.php @@ -68,7 +68,7 @@ public function getPlugins( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\RunPluginResponse */ public function runPlugin( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\RunPluginRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\RunPluginRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\RunPluginResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); diff --git a/src/Requests.php b/src/Requests.php index 516a058..6ecad44 100755 --- a/src/Requests.php +++ b/src/Requests.php @@ -31,7 +31,7 @@ public function __construct(SDKConfiguration $sdkConfig) * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GenerateRequestPostmanCollectionResponse */ public function generateRequestPostmanCollection( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GenerateRequestPostmanCollectionRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GenerateRequestPostmanCollectionRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GenerateRequestPostmanCollectionResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -72,7 +72,7 @@ public function generateRequestPostmanCollection( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetRequestFromEventLogResponse */ public function getRequestFromEventLog( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetRequestFromEventLogRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GetRequestFromEventLogRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetRequestFromEventLogResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -117,7 +117,7 @@ public function getRequestFromEventLog( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\QueryEventLogResponse */ public function queryEventLog( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\QueryEventLogRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\QueryEventLogRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\QueryEventLogResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); diff --git a/src/SDKConfiguration.php b/src/SDKConfiguration.php index 29cf5ac..8ad735b 100755 --- a/src/SDKConfiguration.php +++ b/src/SDKConfiguration.php @@ -17,8 +17,8 @@ class SDKConfiguration public string $server = ''; public string $language = 'php'; public string $openapiDocVersion = '0.3.0'; - public string $sdkVersion = '0.26.0'; - public string $genVersion = '2.89.1'; + public string $sdkVersion = '0.27.0'; + public string $genVersion = '2.96.3'; public function getServerUrl(): string { diff --git a/src/Schemas.php b/src/Schemas.php index 5d6cf7b..d149cdf 100755 --- a/src/Schemas.php +++ b/src/Schemas.php @@ -28,7 +28,7 @@ public function __construct(SDKConfiguration $sdkConfig) * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteSchemaResponse */ public function deleteSchema( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteSchemaRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteSchemaRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\DeleteSchemaResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -66,7 +66,7 @@ public function deleteSchema( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\DownloadSchemaResponse */ public function downloadSchema( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\DownloadSchemaRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\DownloadSchemaRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\DownloadSchemaResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -110,7 +110,7 @@ public function downloadSchema( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\DownloadSchemaRevisionResponse */ public function downloadSchemaRevision( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\DownloadSchemaRevisionRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\DownloadSchemaRevisionRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\DownloadSchemaRevisionResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -157,7 +157,7 @@ public function downloadSchemaRevision( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemaResponse */ public function getSchema( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemaRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemaRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemaResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -199,7 +199,7 @@ public function getSchema( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemaDiffResponse */ public function getSchemaDiff( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemaDiffRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemaDiffRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemaDiffResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -244,7 +244,7 @@ public function getSchemaDiff( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemaRevisionResponse */ public function getSchemaRevision( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemaRevisionRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemaRevisionRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemaRevisionResponse { $baseUrl = $this->sdkConfiguration->getServerUrl(); @@ -289,7 +289,7 @@ public function getSchemaRevision( * @return \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemasResponse */ public function getSchemas( - \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemasRequest $request, + ?\Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemasRequest $request, ): \Speakeasy\SpeakeasyClientSDK\Models\Operations\GetSchemasResponse { $baseUrl = $this->sdkConfiguration->getServerUrl();