From 15211a1047d8a7d7e5791f2abf9eb796906700f3 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 20 Dec 2024 00:16:43 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.456.1 --- .speakeasy/gen.lock | 25 +++++++++++++++---------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 +++++++------- RELEASES.md | 12 +++++++++++- docs/Models/Shared/TargetSDK.md | 2 ++ src/Models/Shared/TargetSDK.php | 24 +++++++++++++++++++++++- src/SDKConfiguration.php | 6 +++--- 7 files changed, 62 insertions(+), 23 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 0a836b5..e54e4c1 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: 3dbd165cb83aaf90203b78ec02c2a141 + docChecksum: 17684e14e65fca2909aaf49de5c6b935 docVersion: 0.4.0 - speakeasyVersion: 1.455.7 - generationVersion: 2.480.1 - releaseVersion: 0.46.2 - configChecksum: a9969eb26a984169e7439787f686ca63 + speakeasyVersion: 1.456.1 + generationVersion: 2.481.0 + releaseVersion: 0.46.3 + configChecksum: 70395cadadc90bcfec7b0db193c34b16 repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-php.git repoSubDirectory: . installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-php @@ -953,7 +953,8 @@ examples: default: application/json: {"message": "", "status_code": 820828} "200": {} - 2XX: {} + 2XX: + application/json: {} 4XX: application/json: {"message": "", "status_code": 820828} getAccessToken: @@ -1100,7 +1101,8 @@ examples: default: application/json: {"message": "", "status_code": 445560} "200": {} - 2XX: {} + 2XX: + application/json: {} 4XX: application/json: {"message": "", "status_code": 749379} githubStorePublishingSecrets: @@ -1343,7 +1345,8 @@ examples: responses: 5XX: application/json: {"message": "", "status_code": 365854} - "200": {} + "200": + application/json: {} getWorkspaceByContext: speakeasy-default-get-workspace-by-context: responses: @@ -1374,7 +1377,8 @@ examples: responses: 4XX: application/json: {"message": "", "status_code": 670562} - 2XX: {} + 2XX: + application/json: {} githubConfigureCodeSamples: speakeasy-default-github-configure-code-samples: requestBody: @@ -1407,7 +1411,8 @@ examples: responses: 4XX: application/json: {"message": "", "status_code": 252330} - 2XX: {} + 2XX: + application/json: {} githubTriggerAction: speakeasy-default-github-trigger-action: requestBody: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 2412b0d..0c7f892 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -11,7 +11,7 @@ generation: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false php: - version: 0.46.2 + version: 0.46.3 additionalDependencies: autoload: {} autoload-dev: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 1e552f8..33a4e32 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.455.7 +speakeasyVersion: 1.456.1 sources: my-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:497d1e1a343d81bb8d79bfde63c51946cbac1a0c5861d9275f136e383ede4823 - sourceBlobDigest: sha256:ee4e1c74ebb80bf3690713051d38bee7fa0793818cd6fd2840b4b2dc9a082d0c + sourceRevisionDigest: sha256:808a319a739d3dd037cfed14c9415c4e652b185a495a5714d3f7a93929ed849e + sourceBlobDigest: sha256:2b1030ee3c1d82bb205f4230146d4632dcd59cc07c2eb266d5f294390b1188c3 tags: - latest - - speakeasy-sdk-regen-1734394630 + - speakeasy-sdk-regen-1734653761 - 0.4.0 targets: php-target: source: my-source sourceNamespace: my-source - sourceRevisionDigest: sha256:497d1e1a343d81bb8d79bfde63c51946cbac1a0c5861d9275f136e383ede4823 - sourceBlobDigest: sha256:ee4e1c74ebb80bf3690713051d38bee7fa0793818cd6fd2840b4b2dc9a082d0c + sourceRevisionDigest: sha256:808a319a739d3dd037cfed14c9415c4e652b185a495a5714d3f7a93929ed849e + sourceBlobDigest: sha256:2b1030ee3c1d82bb205f4230146d4632dcd59cc07c2eb266d5f294390b1188c3 codeSamplesNamespace: my-source-php-code-samples - codeSamplesRevisionDigest: sha256:674842b3533ff6fec0123e18139d427d6f692f90235269cf3df84a6b6b41c0a7 + codeSamplesRevisionDigest: sha256:251d55a348962095c4d037818831c5f2b383d3bf024812eae5703fac0ca48ac9 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index f9a7efb..ab18d1d 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1534,4 +1534,14 @@ Based on: ### Generated - [php v0.46.2] . ### Releases -- [Composer v0.46.2] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.46.2 - . \ No newline at end of file +- [Composer v0.46.2] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.46.2 - . + +## 2024-12-20 00:15:57 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.456.1 (2.481.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [php v0.46.3] . +### Releases +- [Composer v0.46.3] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.46.3 - . \ No newline at end of file diff --git a/docs/Models/Shared/TargetSDK.md b/docs/Models/Shared/TargetSDK.md index 678eddd..8804cd9 100644 --- a/docs/Models/Shared/TargetSDK.md +++ b/docs/Models/Shared/TargetSDK.md @@ -35,6 +35,8 @@ | `gitUserEmail` | *?string* | :heavy_minus_sign: | User email from git configuration. | | `gitUserName` | *?string* | :heavy_minus_sign: | User's name from git configuration. (not GitHub username) | | `hostname` | *?string* | :heavy_minus_sign: | Remote hostname. | +| `lastPublishCreatedAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | Timestamp when the last publishing event was created. | +| `lastPublishGhActionRunLink` | *?string* | :heavy_minus_sign: | Link to the GitHub action run for the last publishing event. | | `publishPackageName` | *?string* | :heavy_minus_sign: | Name of the published package. | | `publishPackageRegistryName` | *?string* | :heavy_minus_sign: | Name of the registry where the package was published. | | `publishPackageUrl` | *?string* | :heavy_minus_sign: | URL of the published package. | diff --git a/src/Models/Shared/TargetSDK.php b/src/Models/Shared/TargetSDK.php index 4447921..934a55c 100644 --- a/src/Models/Shared/TargetSDK.php +++ b/src/Models/Shared/TargetSDK.php @@ -276,6 +276,24 @@ class TargetSDK #[\Speakeasy\Serializer\Annotation\SkipWhenNull] public ?string $hostname = null; + /** + * Timestamp when the last publishing event was created. + * + * @var ?\DateTime $lastPublishCreatedAt + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('last_publish_created_at')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?\DateTime $lastPublishCreatedAt = null; + + /** + * Link to the GitHub action run for the last publishing event. + * + * @var ?string $lastPublishGhActionRunLink + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('last_publish_gh_action_run_link')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?string $lastPublishGhActionRunLink = null; + /** * Name of the published package. * @@ -424,6 +442,8 @@ class TargetSDK * @param ?string $gitUserEmail * @param ?string $gitUserName * @param ?string $hostname + * @param ?\DateTime $lastPublishCreatedAt + * @param ?string $lastPublishGhActionRunLink * @param ?string $publishPackageName * @param ?string $publishPackageRegistryName * @param ?string $publishPackageUrl @@ -438,7 +458,7 @@ class TargetSDK * @param ?string $workflowPostRaw * @param ?string $workflowPreRaw */ - public function __construct(string $generateGenLockId, string $generateTarget, string $id, \DateTime $lastEventCreatedAt, string $lastEventId, InteractionType $lastEventInteractionType, ?string $commitHead = null, ?string $continuousIntegrationEnvironment = null, ?string $error = null, ?string $generateConfigPostVersion = null, ?string $generateEligibleFeatures = null, ?string $generateGenLockPreFeatures = null, ?string $generateGenLockPreVersion = null, ?int $generateNumberOfOperationsIgnored = null, ?int $generateNumberOfOperationsUsed = null, ?int $generateNumberOfTerraformResources = null, ?bool $generatePublished = null, ?string $generateTargetName = null, ?string $generateTargetVersion = null, ?string $ghActionOrganization = null, ?string $ghActionRef = null, ?string $ghActionRepository = null, ?string $ghActionRunLink = null, ?string $ghActionVersion = null, ?string $gitRelativeCwd = null, ?string $gitRemoteDefaultOwner = null, ?string $gitRemoteDefaultRepo = null, ?string $gitUserEmail = null, ?string $gitUserName = null, ?string $hostname = null, ?string $publishPackageName = null, ?string $publishPackageRegistryName = null, ?string $publishPackageUrl = null, ?string $publishPackageVersion = null, ?string $repoLabel = null, ?string $sourceBlobDigest = null, ?string $sourceNamespaceName = null, ?string $sourceRevisionDigest = null, ?bool $success = null, ?string $workflowLockPostRaw = null, ?string $workflowLockPreRaw = null, ?string $workflowPostRaw = null, ?string $workflowPreRaw = null) + public function __construct(string $generateGenLockId, string $generateTarget, string $id, \DateTime $lastEventCreatedAt, string $lastEventId, InteractionType $lastEventInteractionType, ?string $commitHead = null, ?string $continuousIntegrationEnvironment = null, ?string $error = null, ?string $generateConfigPostVersion = null, ?string $generateEligibleFeatures = null, ?string $generateGenLockPreFeatures = null, ?string $generateGenLockPreVersion = null, ?int $generateNumberOfOperationsIgnored = null, ?int $generateNumberOfOperationsUsed = null, ?int $generateNumberOfTerraformResources = null, ?bool $generatePublished = null, ?string $generateTargetName = null, ?string $generateTargetVersion = null, ?string $ghActionOrganization = null, ?string $ghActionRef = null, ?string $ghActionRepository = null, ?string $ghActionRunLink = null, ?string $ghActionVersion = null, ?string $gitRelativeCwd = null, ?string $gitRemoteDefaultOwner = null, ?string $gitRemoteDefaultRepo = null, ?string $gitUserEmail = null, ?string $gitUserName = null, ?string $hostname = null, ?\DateTime $lastPublishCreatedAt = null, ?string $lastPublishGhActionRunLink = null, ?string $publishPackageName = null, ?string $publishPackageRegistryName = null, ?string $publishPackageUrl = null, ?string $publishPackageVersion = null, ?string $repoLabel = null, ?string $sourceBlobDigest = null, ?string $sourceNamespaceName = null, ?string $sourceRevisionDigest = null, ?bool $success = null, ?string $workflowLockPostRaw = null, ?string $workflowLockPreRaw = null, ?string $workflowPostRaw = null, ?string $workflowPreRaw = null) { $this->generateGenLockId = $generateGenLockId; $this->generateTarget = $generateTarget; @@ -470,6 +490,8 @@ public function __construct(string $generateGenLockId, string $generateTarget, s $this->gitUserEmail = $gitUserEmail; $this->gitUserName = $gitUserName; $this->hostname = $hostname; + $this->lastPublishCreatedAt = $lastPublishCreatedAt; + $this->lastPublishGhActionRunLink = $lastPublishGhActionRunLink; $this->publishPackageName = $publishPackageName; $this->publishPackageRegistryName = $publishPackageRegistryName; $this->publishPackageUrl = $publishPackageUrl; diff --git a/src/SDKConfiguration.php b/src/SDKConfiguration.php index 440bd04..b9fe0b2 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.46.2'; + public string $sdkVersion = '0.46.3'; - public string $genVersion = '2.480.1'; + public string $genVersion = '2.481.0'; - public string $userAgent = 'speakeasy-sdk/php 0.46.2 2.480.1 0.4.0 speakeasy-api/speakeasy-client-sdk-php'; + public string $userAgent = 'speakeasy-sdk/php 0.46.3 2.481.0 0.4.0 speakeasy-api/speakeasy-client-sdk-php'; /** @var array>> */ public ?array $globals = [ 'parameters' => [],