Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.395.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Sep 10, 2024
1 parent d171697 commit 1a963df
Show file tree
Hide file tree
Showing 216 changed files with 2,237 additions and 1,307 deletions.
1,479 changes: 1,062 additions & 417 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
speakeasyVersion: 1.395.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:d07ff740d9a10bc407577bb48b89223fc2415a389630421a4f3598885328627b
sourceBlobDigest: sha256:a4bfd0ba65778a5104220868c475a6a29870a95c9018891ea04ffe956383d374
tags:
- latest
- main
targets:
php-target:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:d07ff740d9a10bc407577bb48b89223fc2415a389630421a4f3598885328627b
sourceBlobDigest: sha256:a4bfd0ba65778a5104220868c475a6a29870a95c9018891ea04ffe956383d374
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
my-source:
inputs:
- location: https://docs.speakeasyapi.dev/openapi.yaml
registry:
location: registry.speakeasyapi.dev/speakeasy-self/speakeasy-self/my-source
targets:
php-target:
target: php
source: my-source
publish:
packagist:
username: $PACKAGIST_USERNAME
token: $PACKAGIST_TOKEN
3 changes: 3 additions & 0 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
my-source:
inputs:
- location: https://docs.speakeasyapi.dev/openapi.yaml
registry:
location: registry.speakeasyapi.dev/speakeasy-self/speakeasy-self/my-source
targets:
php-target:
target: php
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1104,4 +1104,14 @@ Based on:
### Generated
- [php v0.40.1] .
### Releases
- [Composer v0.40.1] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.40.1 - .
- [Composer v0.40.1] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.40.1 - .

## 2024-09-10 19:10:48
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.395.0 (2.415.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.41.0] .
### Releases
- [Composer v0.41.0] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.41.0 - .
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
php:
version: 0.40.1
version: 0.41.0
clientServerStatusCodesAsErrors: true
flattenGlobalSecurity: true
imports:
Expand Down
2 changes: 1 addition & 1 deletion src/ApiEndpoints.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
class ApiEndpoints
{
private SDKConfiguration $sdkConfiguration;

/**
* @param SDKConfiguration $sdkConfig
*/
Expand Down Expand Up @@ -469,4 +468,5 @@ public function upsertApiEndpoint(
}
}
}

}
2 changes: 1 addition & 1 deletion src/Apis.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
class Apis
{
private SDKConfiguration $sdkConfiguration;

/**
* @param SDKConfiguration $sdkConfig
*/
Expand Down Expand Up @@ -365,4 +364,5 @@ public function upsertApi(
}
}
}

}
2 changes: 1 addition & 1 deletion src/Artifacts.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
class Artifacts
{
private SDKConfiguration $sdkConfiguration;

/**
* @param SDKConfiguration $sdkConfig
*/
Expand Down Expand Up @@ -460,4 +459,5 @@ public function preflight(
}
}
}

}
2 changes: 1 addition & 1 deletion src/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
class Auth
{
private SDKConfiguration $sdkConfiguration;

/**
* @param SDKConfiguration $sdkConfig
*/
Expand Down Expand Up @@ -228,4 +227,5 @@ public function validateApiKey(
}
}
}

}
2 changes: 1 addition & 1 deletion src/Embeds.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
class Embeds
{
private SDKConfiguration $sdkConfiguration;

/**
* @param SDKConfiguration $sdkConfig
*/
Expand Down Expand Up @@ -181,4 +180,5 @@ public function revokeEmbedAccessToken(
}
}
}

}
2 changes: 1 addition & 1 deletion src/Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
class Events
{
private SDKConfiguration $sdkConfiguration;

/**
* @param SDKConfiguration $sdkConfig
*/
Expand Down Expand Up @@ -228,4 +227,5 @@ public function searchWorkspaceEvents(
throw new \Speakeasy\SpeakeasyClientSDK\Models\Errors\SDKException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse);
}
}

}
2 changes: 1 addition & 1 deletion src/Github.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
class Github
{
private SDKConfiguration $sdkConfiguration;

/**
* @param SDKConfiguration $sdkConfig
*/
Expand Down Expand Up @@ -507,4 +506,5 @@ public function triggerAction(
}
}
}

}
2 changes: 1 addition & 1 deletion src/Metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
class Metadata
{
private SDKConfiguration $sdkConfiguration;

/**
* @param SDKConfiguration $sdkConfig
*/
Expand Down Expand Up @@ -184,4 +183,5 @@ public function insertVersionMetadata(
}
}
}

}
6 changes: 3 additions & 3 deletions src/Models/Errors/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ class Error
public int $statusCode;

/**
* @param ?string $message
* @param ?int $statusCode
* @param string $message
* @param int $statusCode
*/
public function __construct(?string $message = null, ?int $statusCode = null)
public function __construct(string $message, int $statusCode)
{
$this->message = $message;
$this->statusCode = $statusCode;
Expand Down
4 changes: 2 additions & 2 deletions src/Models/Operations/ApplyOperationIDsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ class ApplyOperationIDsRequest
public string $xSessionId;

/**
* @param ?string $xSessionId
* @param string $xSessionId
* @param ?ApplyOperationIDsRequestBody $requestBody
*/
public function __construct(?string $xSessionId = null, ?ApplyOperationIDsRequestBody $requestBody = null)
public function __construct(string $xSessionId, ?ApplyOperationIDsRequestBody $requestBody = null)
{
$this->xSessionId = $xSessionId;
$this->requestBody = $requestBody;
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Operations/ApplyOperationIDsRequestBody.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ApplyOperationIDsRequestBody
* @var ?bool $asOverlay
*/
#[\JMS\Serializer\Annotation\SerializedName('as_overlay')]
#[\JMS\Serializer\Annotation\SkipWhenEmpty]
#[\JMS\Serializer\Annotation\SkipWhenNull]
public ?bool $asOverlay = null;

/**
Expand Down
8 changes: 4 additions & 4 deletions src/Models/Operations/ApplyOperationIDsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ class ApplyOperationIDsResponse
public \Psr\Http\Message\ResponseInterface $rawResponse;

/**
* @param ?string $contentType
* @param ?int $statusCode
* @param ?\Psr\Http\Message\ResponseInterface $rawResponse
* @param string $contentType
* @param int $statusCode
* @param \Psr\Http\Message\ResponseInterface $rawResponse
* @param ?string $twoHundredApplicationJsonSchema
* @param ?string $twoHundredApplicationXYamlSchema
* @param ?Errors\Error $error
*/
public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?string $twoHundredApplicationJsonSchema = null, ?string $twoHundredApplicationXYamlSchema = null, ?Errors\Error $error = null)
public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?string $twoHundredApplicationJsonSchema = null, ?string $twoHundredApplicationXYamlSchema = null, ?Errors\Error $error = null)
{
$this->contentType = $contentType;
$this->statusCode = $statusCode;
Expand Down
6 changes: 3 additions & 3 deletions src/Models/Operations/CheckAccessRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ class CheckAccessRequest
public string $repo;

/**
* @param ?string $org
* @param ?string $repo
* @param string $org
* @param string $repo
*/
public function __construct(?string $org = null, ?string $repo = null)
public function __construct(string $org, string $repo)
{
$this->org = $org;
$this->repo = $repo;
Expand Down
8 changes: 4 additions & 4 deletions src/Models/Operations/CheckAccessResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ class CheckAccessResponse
public \Psr\Http\Message\ResponseInterface $rawResponse;

/**
* @param ?string $contentType
* @param ?int $statusCode
* @param ?\Psr\Http\Message\ResponseInterface $rawResponse
* @param string $contentType
* @param int $statusCode
* @param \Psr\Http\Message\ResponseInterface $rawResponse
* @param ?Errors\Error $error
*/
public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Errors\Error $error = null)
public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Errors\Error $error = null)
{
$this->contentType = $contentType;
$this->statusCode = $statusCode;
Expand Down
8 changes: 4 additions & 4 deletions src/Models/Operations/ConfigureCodeSamplesResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ class ConfigureCodeSamplesResponse
public \Psr\Http\Message\ResponseInterface $rawResponse;

/**
* @param ?string $contentType
* @param ?int $statusCode
* @param ?\Psr\Http\Message\ResponseInterface $rawResponse
* @param string $contentType
* @param int $statusCode
* @param \Psr\Http\Message\ResponseInterface $rawResponse
* @param ?Errors\Error $error
* @param ?Shared\GithubConfigureCodeSamplesResponse $githubConfigureCodeSamplesResponse
*/
public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Errors\Error $error = null, ?Shared\GithubConfigureCodeSamplesResponse $githubConfigureCodeSamplesResponse = null)
public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Errors\Error $error = null, ?Shared\GithubConfigureCodeSamplesResponse $githubConfigureCodeSamplesResponse = null)
{
$this->contentType = $contentType;
$this->statusCode = $statusCode;
Expand Down
8 changes: 4 additions & 4 deletions src/Models/Operations/ConfigureMintlifyRepoResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ class ConfigureMintlifyRepoResponse
public \Psr\Http\Message\ResponseInterface $rawResponse;

/**
* @param ?string $contentType
* @param ?int $statusCode
* @param ?\Psr\Http\Message\ResponseInterface $rawResponse
* @param string $contentType
* @param int $statusCode
* @param \Psr\Http\Message\ResponseInterface $rawResponse
* @param ?Errors\Error $error
*/
public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Errors\Error $error = null)
public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Errors\Error $error = null)
{
$this->contentType = $contentType;
$this->statusCode = $statusCode;
Expand Down
8 changes: 4 additions & 4 deletions src/Models/Operations/ConfigureTargetResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ class ConfigureTargetResponse
public \Psr\Http\Message\ResponseInterface $rawResponse;

/**
* @param ?string $contentType
* @param ?int $statusCode
* @param ?\Psr\Http\Message\ResponseInterface $rawResponse
* @param string $contentType
* @param int $statusCode
* @param \Psr\Http\Message\ResponseInterface $rawResponse
* @param ?Errors\Error $error
*/
public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Errors\Error $error = null)
public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Errors\Error $error = null)
{
$this->contentType = $contentType;
$this->statusCode = $statusCode;
Expand Down
8 changes: 4 additions & 4 deletions src/Models/Operations/CreateFreeTrialResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ class CreateFreeTrialResponse
public \Psr\Http\Message\ResponseInterface $rawResponse;

/**
* @param ?string $contentType
* @param ?int $statusCode
* @param ?\Psr\Http\Message\ResponseInterface $rawResponse
* @param string $contentType
* @param int $statusCode
* @param \Psr\Http\Message\ResponseInterface $rawResponse
* @param ?Errors\Error $error
*/
public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Errors\Error $error = null)
public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Errors\Error $error = null)
{
$this->contentType = $contentType;
$this->statusCode = $statusCode;
Expand Down
4 changes: 2 additions & 2 deletions src/Models/Operations/CreateRequestBody.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ class CreateRequestBody
public string $url;

/**
* @param ?string $url
* @param string $url
*/
public function __construct(?string $url = null)
public function __construct(string $url)
{
$this->url = $url;
}
Expand Down
8 changes: 4 additions & 4 deletions src/Models/Operations/CreateResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ class CreateResponse
public \Psr\Http\Message\ResponseInterface $rawResponse;

/**
* @param ?string $contentType
* @param ?int $statusCode
* @param ?\Psr\Http\Message\ResponseInterface $rawResponse
* @param string $contentType
* @param int $statusCode
* @param \Psr\Http\Message\ResponseInterface $rawResponse
* @param ?Shared\ShortURL $shortURL
*/
public function __construct(?string $contentType = null, ?int $statusCode = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null, ?Shared\ShortURL $shortURL = null)
public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?Shared\ShortURL $shortURL = null)
{
$this->contentType = $contentType;
$this->statusCode = $statusCode;
Expand Down
8 changes: 4 additions & 4 deletions src/Models/Operations/DeleteApiEndpointRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ class DeleteApiEndpointRequest
public string $versionID;

/**
* @param ?string $apiEndpointID
* @param ?string $apiID
* @param ?string $versionID
* @param string $apiEndpointID
* @param string $apiID
* @param string $versionID
*/
public function __construct(?string $apiEndpointID = null, ?string $apiID = null, ?string $versionID = null)
public function __construct(string $apiEndpointID, string $apiID, string $versionID)
{
$this->apiEndpointID = $apiEndpointID;
$this->apiID = $apiID;
Expand Down
Loading

0 comments on commit 1a963df

Please sign in to comment.