Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.453.8
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Dec 10, 2024
1 parent 2ec7d4d commit c9ebd60
Show file tree
Hide file tree
Showing 189 changed files with 70 additions and 9,797 deletions.
190 changes: 6 additions & 184 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
php:
version: 0.45.13
version: 0.46.0
clientServerStatusCodesAsErrors: true
defaultErrorName: SDKException
flattenGlobalSecurity: true
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.453.3
speakeasyVersion: 1.453.8
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:fcd7a8dca594ea05fcddaf12f601149d5c2390a748ff27a4fecaafc3f54ce1b1
sourceBlobDigest: sha256:94614599491dcd3859835f58fbbadca00059a54206c33f328525b43e96e85be9
sourceRevisionDigest: sha256:0c9410bf8e1df139ea0ca6545a6ff73bd4ecf168a69307ed7f7016364f804632
sourceBlobDigest: sha256:ea7b721c1acda44f01c6184a4f236eaa1ad66db6b40b3d14f6e6ae437755cdcb
tags:
- latest
- speakeasy-sdk-regen-1733617126
- speakeasy-sdk-regen-1733789848
- 0.4.0
targets:
php-target:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:fcd7a8dca594ea05fcddaf12f601149d5c2390a748ff27a4fecaafc3f54ce1b1
sourceBlobDigest: sha256:94614599491dcd3859835f58fbbadca00059a54206c33f328525b43e96e85be9
sourceRevisionDigest: sha256:0c9410bf8e1df139ea0ca6545a6ff73bd4ecf168a69307ed7f7016364f804632
sourceBlobDigest: sha256:ea7b721c1acda44f01c6184a4f236eaa1ad66db6b40b3d14f6e6ae437755cdcb
codeSamplesNamespace: my-source-php-code-samples
codeSamplesRevisionDigest: sha256:e76357b07656d26ebe56081c43f366b35e6c4d12a508f01be6cd6709fb028c4d
codeSamplesRevisionDigest: sha256:c931ce7e4df96dc399e1831896cd321c9ee7fb527e7e6e78bd5e5450c6d2aa16
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
64 changes: 11 additions & 53 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ declare(strict_types=1);
require 'vendor/autoload.php';

use Speakeasy\SpeakeasyClientSDK;
use Speakeasy\SpeakeasyClientSDK\Models\Operations;
use Speakeasy\SpeakeasyClientSDK\Models\Shared;

$security = new Shared\Security(
Expand All @@ -31,13 +30,21 @@ $security = new Shared\Security(

$sdk = SpeakeasyClientSDK\SDK::builder()->setSecurity($security)->build();

$request = new Operations\GetApisRequest();
$request = new Shared\CodeSampleSchemaInput(
languages: [
'<value>',
],
schemaFile: new Shared\SchemaFile(
content: '0xc3dD8BfBef',
fileName: 'example.file',
),
);

$response = $sdk->apis->getApis(
$response = $sdk->generateCodeSamplePreview(
request: $request
);

if ($response->apis !== null) {
if ($response->twoHundredApplicationJsonBytes !== null) {
// handle response
}
```
Expand All @@ -49,26 +56,6 @@ if ($response->apis !== null) {
<details open>
<summary>Available methods</summary>

### [apiEndpoints](docs/sdks/apiendpoints/README.md)

* [deleteApiEndpoint](docs/sdks/apiendpoints/README.md#deleteapiendpoint) - Delete an ApiEndpoint.
* [findApiEndpoint](docs/sdks/apiendpoints/README.md#findapiendpoint) - Find an ApiEndpoint via its displayName.
* [generateOpenApiSpecForApiEndpoint](docs/sdks/apiendpoints/README.md#generateopenapispecforapiendpoint) - Generate an OpenAPI specification for a particular ApiEndpoint.
* [generatePostmanCollectionForApiEndpoint](docs/sdks/apiendpoints/README.md#generatepostmancollectionforapiendpoint) - Generate a Postman collection for a particular ApiEndpoint.
* [getAllApiEndpoints](docs/sdks/apiendpoints/README.md#getallapiendpoints) - Get all Api endpoints for a particular apiID.
* [getAllForVersionApiEndpoints](docs/sdks/apiendpoints/README.md#getallforversionapiendpoints) - Get all ApiEndpoints for a particular apiID and versionID.
* [getApiEndpoint](docs/sdks/apiendpoints/README.md#getapiendpoint) - Get an ApiEndpoint.
* [upsertApiEndpoint](docs/sdks/apiendpoints/README.md#upsertapiendpoint) - Upsert an ApiEndpoint.

### [apis](docs/sdks/apis/README.md)

* [deleteApi](docs/sdks/apis/README.md#deleteapi) - Delete an Api.
* [generateOpenApiSpec](docs/sdks/apis/README.md#generateopenapispec) - Generate an OpenAPI specification for a particular Api.
* [generatePostmanCollection](docs/sdks/apis/README.md#generatepostmancollection) - Generate a Postman collection for a particular Api.
* [getAllApiVersions](docs/sdks/apis/README.md#getallapiversions) - Get all Api versions for a particular ApiEndpoint.
* [getApis](docs/sdks/apis/README.md#getapis) - Get a list of Apis for a given workspace
* [upsertApi](docs/sdks/apis/README.md#upsertapi) - Upsert an Api

### [artifacts](docs/sdks/artifacts/README.md)

* [createRemoteSource](docs/sdks/artifacts/README.md#createremotesource) - Configure a new remote source
Expand All @@ -89,12 +76,6 @@ if ($response->apis !== null) {
* [getUser](docs/sdks/auth/README.md#getuser) - Get information about the current user.
* [validateApiKey](docs/sdks/auth/README.md#validateapikey) - Validate the current api key.

### [embeds](docs/sdks/embeds/README.md)

* [getEmbedAccessToken](docs/sdks/embeds/README.md#getembedaccesstoken) - Get an embed access token for the current workspace.
* [getValidEmbedAccessTokens](docs/sdks/embeds/README.md#getvalidembedaccesstokens) - Get all valid embed access tokens for the current workspace.
* [revokeEmbedAccessToken](docs/sdks/embeds/README.md#revokeembedaccesstoken) - Revoke an embed access EmbedToken.

### [events](docs/sdks/events/README.md)

* [getEventsByTarget](docs/sdks/events/README.md#geteventsbytarget) - Load recent events for a particular workspace
Expand All @@ -117,12 +98,6 @@ if ($response->apis !== null) {
* [storePublishingSecrets](docs/sdks/github/README.md#storepublishingsecrets)
* [triggerAction](docs/sdks/github/README.md#triggeraction)

### [metadata](docs/sdks/metadata/README.md)

* [deleteVersionMetadata](docs/sdks/metadata/README.md#deleteversionmetadata) - Delete metadata for a particular apiID and versionID.
* [getVersionMetadata](docs/sdks/metadata/README.md#getversionmetadata) - Get all metadata for a particular apiID and versionID.
* [insertVersionMetadata](docs/sdks/metadata/README.md#insertversionmetadata) - Insert metadata for a particular apiID and versionID.

### [organizations](docs/sdks/organizations/README.md)

* [create](docs/sdks/organizations/README.md#create) - Create an organization
Expand All @@ -137,23 +112,6 @@ if ($response->apis !== null) {
* [getLintingReportSignedUrl](docs/sdks/reports/README.md#getlintingreportsignedurl) - Get the signed access url for the linting reports for a particular document.
* [uploadReport](docs/sdks/reports/README.md#uploadreport) - Upload a report.

### [requests](docs/sdks/requests/README.md)

* [generateRequestPostmanCollection](docs/sdks/requests/README.md#generaterequestpostmancollection) - Generate a Postman collection for a particular request.
* [getRequestFromEventLog](docs/sdks/requests/README.md#getrequestfromeventlog) - Get information about a particular request.
* [queryEventLog](docs/sdks/requests/README.md#queryeventlog) - Query the event log to retrieve a list of requests.

### [schemas](docs/sdks/schemas/README.md)

* [deleteSchema](docs/sdks/schemas/README.md#deleteschema) - Delete a particular schema revision for an Api.
* [downloadSchema](docs/sdks/schemas/README.md#downloadschema) - Download the latest schema for a particular apiID.
* [downloadSchemaRevision](docs/sdks/schemas/README.md#downloadschemarevision) - Download a particular schema revision for an Api.
* [getSchema](docs/sdks/schemas/README.md#getschema) - Get information about the latest schema.
* [getSchemaDiff](docs/sdks/schemas/README.md#getschemadiff) - Get a diff of two schema revisions for an Api.
* [getSchemaRevision](docs/sdks/schemas/README.md#getschemarevision) - Get information about a particular schema revision for an Api.
* [getSchemas](docs/sdks/schemas/README.md#getschemas) - Get information about all schemas associated with a particular apiID.
* [registerSchema](docs/sdks/schemas/README.md#registerschema) - Register a schema.

### [SDK](docs/sdks/sdk/README.md)

* [generateCodeSamplePreview](docs/sdks/sdk/README.md#generatecodesamplepreview) - Generate Code Sample previews from a file and configuration parameters.
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1504,4 +1504,14 @@ Based on:
### Generated
- [php v0.45.13] .
### Releases
- [Composer v0.45.13] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.45.13 - .
- [Composer v0.45.13] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.45.13 - .

## 2024-12-10 00:17:25
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.453.8 (2.474.15) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.46.0] .
### Releases
- [Composer v0.46.0] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.46.0 - .
15 changes: 11 additions & 4 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ declare(strict_types=1);
require 'vendor/autoload.php';

use Speakeasy\SpeakeasyClientSDK;
use Speakeasy\SpeakeasyClientSDK\Models\Operations;
use Speakeasy\SpeakeasyClientSDK\Models\Shared;

$security = new Shared\Security(
Expand All @@ -14,13 +13,21 @@ $security = new Shared\Security(

$sdk = SpeakeasyClientSDK\SDK::builder()->setSecurity($security)->build();

$request = new Operations\GetApisRequest();
$request = new Shared\CodeSampleSchemaInput(
languages: [
'<value>',
],
schemaFile: new Shared\SchemaFile(
content: '0xc3dD8BfBef',
fileName: 'example.file',
),
);

$response = $sdk->apis->getApis(
$response = $sdk->generateCodeSamplePreview(
request: $request
);

if ($response->apis !== null) {
if ($response->twoHundredApplicationJsonBytes !== null) {
// handle response
}
```
Expand Down
10 changes: 0 additions & 10 deletions docs/Models/Operations/DeleteApiEndpointRequest.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/Models/Operations/DeleteApiEndpointResponse.md

This file was deleted.

9 changes: 0 additions & 9 deletions docs/Models/Operations/DeleteApiRequest.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/Models/Operations/DeleteApiResponse.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/Models/Operations/DeleteSchemaRequest.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/Models/Operations/DeleteSchemaResponse.md

This file was deleted.

Loading

0 comments on commit c9ebd60

Please sign in to comment.