From ce6a7bb3561348824a600a60cbb7715b12bce0c5 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 6 Aug 2024 00:14:00 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.352.2 --- .speakeasy/gen.lock | 20 ++++++++----------- RELEASES.md | 12 ++++++++++- docs/Models/Shared/AccessTokenAccountType.md | 10 ---------- docs/Models/Shared/AccountType.md | 1 + docs/Models/Shared/ApiKeyDetails.md | 2 +- docs/Models/Shared/Organization.md | 20 +++++++++---------- docs/Models/Shared/OrganizationAccountType.md | 10 ---------- docs/Models/Shared/Workspaces.md | 12 +++++------ gen.yaml | 2 +- src/Models/Shared/AccessTokenAccountType.php | 17 ---------------- src/Models/Shared/AccountType.php | 1 + src/Models/Shared/ApiKeyDetails.php | 6 +++--- src/Models/Shared/Organization.php | 6 +++--- src/Models/Shared/OrganizationAccountType.php | 17 ---------------- src/Models/Shared/Workspaces.php | 4 ++-- src/SDKConfiguration.php | 6 +++--- 16 files changed, 50 insertions(+), 96 deletions(-) delete mode 100644 docs/Models/Shared/AccessTokenAccountType.md delete mode 100644 docs/Models/Shared/OrganizationAccountType.md delete mode 100644 src/Models/Shared/AccessTokenAccountType.php delete mode 100644 src/Models/Shared/OrganizationAccountType.php diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index a601f7b..ded9c7a 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: db1bb4da-054f-485f-8c6e-d42db3f1da90 management: - docChecksum: 312822a7ccdbf7c77dbbfeef49fb2053 + docChecksum: 7e5374ccd8317cf07089c151d486221b docVersion: 0.4.0 . - speakeasyVersion: 1.346.3 - generationVersion: 2.379.6 - releaseVersion: 0.38.16 - configChecksum: c5381427220254106c55747bd3d61ccc + speakeasyVersion: 1.352.2 + generationVersion: 2.385.2 + releaseVersion: 0.38.17 + configChecksum: 9050f0fb475e53d06a5870102e1dd4dd repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-php.git repoSubDirectory: . installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-php @@ -16,7 +16,7 @@ features: core: 3.3.10 deprecations: 2.81.1 examples: 2.81.3 - globalSecurity: 2.81.6 + globalSecurity: 2.81.7 globalServerURLs: 2.82.1 globals: 2.82.1 inputOutputModels: 2.83.0 @@ -223,14 +223,13 @@ generatedFiles: - src/Models/Shared/PreflightRequest.php - src/Models/Shared/Claims.php - src/Models/Shared/AccessTokenUser.php - - src/Models/Shared/AccessTokenAccountType.php - src/Models/Shared/Workspaces.php - src/Models/Shared/AccessToken.php + - src/Models/Shared/AccountType.php - src/Models/Shared/FeatureFlag.php - src/Models/Shared/User.php - src/Models/Shared/Level.php - src/Models/Shared/AccessDetails.php - - src/Models/Shared/AccountType.php - src/Models/Shared/ApiKeyDetails.php - src/Models/Shared/UnboundedRequest.php - src/Models/Shared/BoundedRequest.php @@ -248,7 +247,6 @@ generatedFiles: - src/Models/Shared/GithubMissingPublishingSecretsResponse.php - src/Models/Shared/GithubStorePublishingSecretsRequest.php - src/Models/Shared/GithubTriggerActionRequest.php - - src/Models/Shared/OrganizationAccountType.php - src/Models/Shared/Organization.php - src/Models/Shared/OrganizationUsageResponse.php - src/Models/Shared/OrganizationUsage.php @@ -431,14 +429,13 @@ generatedFiles: - docs/Models/Shared/PreflightRequest.md - docs/Models/Shared/Claims.md - docs/Models/Shared/AccessTokenUser.md - - docs/Models/Shared/AccessTokenAccountType.md - docs/Models/Shared/Workspaces.md - docs/Models/Shared/AccessToken.md + - docs/Models/Shared/AccountType.md - docs/Models/Shared/FeatureFlag.md - docs/Models/Shared/User.md - docs/Models/Shared/Level.md - docs/Models/Shared/AccessDetails.md - - docs/Models/Shared/AccountType.md - docs/Models/Shared/ApiKeyDetails.md - docs/Models/Shared/UnboundedRequest.md - docs/Models/Shared/BoundedRequest.md @@ -456,7 +453,6 @@ generatedFiles: - docs/Models/Shared/GithubMissingPublishingSecretsResponse.md - docs/Models/Shared/GithubStorePublishingSecretsRequest.md - docs/Models/Shared/GithubTriggerActionRequest.md - - docs/Models/Shared/OrganizationAccountType.md - docs/Models/Shared/Organization.md - docs/Models/Shared/OrganizationUsageResponse.md - docs/Models/Shared/OrganizationUsage.md diff --git a/RELEASES.md b/RELEASES.md index a2917a7..56ca538 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1054,4 +1054,14 @@ Based on: ### Generated - [php v0.38.16] . ### Releases -- [Composer v0.38.16] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.38.16 - . \ No newline at end of file +- [Composer v0.38.16] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.38.16 - . + +## 2024-08-06 00:13:47 +### Changes +Based on: +- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml +- Speakeasy CLI 1.352.2 (2.385.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [php v0.38.17] . +### Releases +- [Composer v0.38.17] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.38.17 - . \ No newline at end of file diff --git a/docs/Models/Shared/AccessTokenAccountType.md b/docs/Models/Shared/AccessTokenAccountType.md deleted file mode 100644 index d932d0b..0000000 --- a/docs/Models/Shared/AccessTokenAccountType.md +++ /dev/null @@ -1,10 +0,0 @@ -# AccessTokenAccountType - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `Free` | free | -| `ScaleUp` | scale-up | -| `Enterprise` | enterprise | \ No newline at end of file diff --git a/docs/Models/Shared/AccountType.md b/docs/Models/Shared/AccountType.md index 881a050..c61eeb7 100644 --- a/docs/Models/Shared/AccountType.md +++ b/docs/Models/Shared/AccountType.md @@ -7,4 +7,5 @@ | ------------ | ------------ | | `Free` | free | | `ScaleUp` | scale-up | +| `Business` | business | | `Enterprise` | enterprise | \ No newline at end of file diff --git a/docs/Models/Shared/ApiKeyDetails.md b/docs/Models/Shared/ApiKeyDetails.md index 6a565a8..8cb6ead 100644 --- a/docs/Models/Shared/ApiKeyDetails.md +++ b/docs/Models/Shared/ApiKeyDetails.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `accountType` | [\Speakeasy\SpeakeasyClientSDK\Models\Shared\AccountType](../../Models/Shared/AccountType.md) | :heavy_check_mark: | N/A | +| `accountTypeV2` | [\Speakeasy\SpeakeasyClientSDK\Models\Shared\AccountType](../../Models/Shared/AccountType.md) | :heavy_check_mark: | N/A | | `enabledFeatures` | array<*string*> | :heavy_check_mark: | N/A | | ~~`featureFlags`~~ | array<*string*> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | | `generationAccessUnlimited` | *?bool* | :heavy_minus_sign: | N/A | diff --git a/docs/Models/Shared/Organization.md b/docs/Models/Shared/Organization.md index d13e401..bb9e510 100644 --- a/docs/Models/Shared/Organization.md +++ b/docs/Models/Shared/Organization.md @@ -5,13 +5,13 @@ A speakeasy organization ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `accountType` | [\Speakeasy\SpeakeasyClientSDK\Models\Shared\OrganizationAccountType](../../Models/Shared/OrganizationAccountType.md) | :heavy_check_mark: | N/A | -| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | N/A | -| `freeTrialExpiry` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `slug` | *?string* | :heavy_minus_sign: | N/A | -| `telemetryDisabled` | *bool* | :heavy_check_mark: | N/A | -| `updatedAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `accountType` | [\Speakeasy\SpeakeasyClientSDK\Models\Shared\AccountType](../../Models/Shared/AccountType.md) | :heavy_check_mark: | N/A | +| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | N/A | +| `freeTrialExpiry` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `slug` | *?string* | :heavy_minus_sign: | N/A | +| `telemetryDisabled` | *bool* | :heavy_check_mark: | N/A | +| `updatedAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/Models/Shared/OrganizationAccountType.md b/docs/Models/Shared/OrganizationAccountType.md deleted file mode 100644 index 5ba2fa0..0000000 --- a/docs/Models/Shared/OrganizationAccountType.md +++ /dev/null @@ -1,10 +0,0 @@ -# OrganizationAccountType - - -## Values - -| Name | Value | -| ------------ | ------------ | -| `Free` | free | -| `ScaleUp` | scale-up | -| `Enterprise` | enterprise | \ No newline at end of file diff --git a/docs/Models/Shared/Workspaces.md b/docs/Models/Shared/Workspaces.md index 38f5479..ee350fa 100644 --- a/docs/Models/Shared/Workspaces.md +++ b/docs/Models/Shared/Workspaces.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `accountType` | [?\Speakeasy\SpeakeasyClientSDK\Models\Shared\AccessTokenAccountType](../../Models/Shared/AccessTokenAccountType.md) | :heavy_minus_sign: | N/A | -| `id` | *?string* | :heavy_minus_sign: | N/A | -| `name` | *?string* | :heavy_minus_sign: | N/A | -| `updatedAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `accountType` | [?\Speakeasy\SpeakeasyClientSDK\Models\Shared\AccountType](../../Models/Shared/AccountType.md) | :heavy_minus_sign: | N/A | +| `id` | *?string* | :heavy_minus_sign: | N/A | +| `name` | *?string* | :heavy_minus_sign: | N/A | +| `updatedAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 6e716ec..3087833 100644 --- a/gen.yaml +++ b/gen.yaml @@ -10,7 +10,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false php: - version: 0.38.16 + version: 0.38.17 flattenGlobalSecurity: true imports: option: openapi diff --git a/src/Models/Shared/AccessTokenAccountType.php b/src/Models/Shared/AccessTokenAccountType.php deleted file mode 100644 index a55f644..0000000 --- a/src/Models/Shared/AccessTokenAccountType.php +++ /dev/null @@ -1,17 +0,0 @@ -')] - public AccountType $accountType; + public AccountType $accountTypeV2; /** * $enabledFeatures @@ -57,7 +57,7 @@ class ApiKeyDetails public function __construct() { - $this->accountType = \Speakeasy\SpeakeasyClientSDK\Models\Shared\AccountType::Free; + $this->accountTypeV2 = \Speakeasy\SpeakeasyClientSDK\Models\Shared\AccountType::Free; $this->enabledFeatures = []; $this->featureFlags = null; $this->generationAccessUnlimited = null; diff --git a/src/Models/Shared/Organization.php b/src/Models/Shared/Organization.php index 3697ebf..118a998 100644 --- a/src/Models/Shared/Organization.php +++ b/src/Models/Shared/Organization.php @@ -13,8 +13,8 @@ class Organization { #[\JMS\Serializer\Annotation\SerializedName('account_type')] - #[\JMS\Serializer\Annotation\Type('enum')] - public OrganizationAccountType $accountType; + #[\JMS\Serializer\Annotation\Type('enum')] + public AccountType $accountType; #[\JMS\Serializer\Annotation\SerializedName('created_at')] #[\JMS\Serializer\Annotation\Type("DateTime<'Y-m-d\TH:i:s.up'>")] @@ -50,7 +50,7 @@ class Organization public function __construct() { - $this->accountType = \Speakeasy\SpeakeasyClientSDK\Models\Shared\OrganizationAccountType::Free; + $this->accountType = \Speakeasy\SpeakeasyClientSDK\Models\Shared\AccountType::Free; $this->createdAt = null; $this->freeTrialExpiry = null; $this->id = ''; diff --git a/src/Models/Shared/OrganizationAccountType.php b/src/Models/Shared/OrganizationAccountType.php deleted file mode 100644 index 9d5c5a4..0000000 --- a/src/Models/Shared/OrganizationAccountType.php +++ /dev/null @@ -1,17 +0,0 @@ -')] + #[\JMS\Serializer\Annotation\Type('enum')] #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?AccessTokenAccountType $accountType = null; + public ?AccountType $accountType = null; #[\JMS\Serializer\Annotation\SerializedName('id')] #[\JMS\Serializer\Annotation\Type('string')] diff --git a/src/SDKConfiguration.php b/src/SDKConfiguration.php index 1252c1f..72c7999 100644 --- a/src/SDKConfiguration.php +++ b/src/SDKConfiguration.php @@ -26,11 +26,11 @@ class SDKConfiguration public string $openapiDocVersion = '0.4.0 .'; - public string $sdkVersion = '0.38.16'; + public string $sdkVersion = '0.38.17'; - public string $genVersion = '2.379.6'; + public string $genVersion = '2.385.2'; - public string $userAgent = 'speakeasy-sdk/php 0.38.16 2.379.6 0.4.0 . speakeasy-api/speakeasy-client-sdk-php'; + public string $userAgent = 'speakeasy-sdk/php 0.38.17 2.385.2 0.4.0 . speakeasy-api/speakeasy-client-sdk-php'; /** @var array>> */ public ?array $globals = [ 'parameters' => [],