Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.445.2
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Nov 26, 2024
1 parent a5b3f9e commit 114b72e
Show file tree
Hide file tree
Showing 18 changed files with 349 additions and 20 deletions.
24 changes: 20 additions & 4 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: db1bb4da-054f-485f-8c6e-d42db3f1da90
management:
docChecksum: 04169f580d81fde74dfa8c8a3b75a513
docChecksum: 461c434568ccf922eabedab19a4e0afd
docVersion: 0.4.0
speakeasyVersion: 1.443.0
speakeasyVersion: 1.445.2
generationVersion: 2.461.4
releaseVersion: 0.45.8
configChecksum: 2b21332ef0665786731e770b6ab8a524
releaseVersion: 0.45.9
configChecksum: 78308325e31c462e1e151215ebf3f670
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-php.git
repoSubDirectory: .
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-php
Expand Down Expand Up @@ -104,6 +104,7 @@ generatedFiles:
- docs/Models/Operations/GetLintingReportSignedUrlSignedAccess.md
- docs/Models/Operations/GetManifestRequest.md
- docs/Models/Operations/GetManifestResponse.md
- docs/Models/Operations/GetNamespacesRequest.md
- docs/Models/Operations/GetNamespacesResponse.md
- docs/Models/Operations/GetOrganizationRequest.md
- docs/Models/Operations/GetOrganizationResponse.md
Expand Down Expand Up @@ -186,6 +187,9 @@ generatedFiles:
- docs/Models/Operations/Schema.md
- docs/Models/Operations/SearchWorkspaceEventsRequest.md
- docs/Models/Operations/SearchWorkspaceEventsResponse.md
- docs/Models/Operations/SetVisibilityRequest.md
- docs/Models/Operations/SetVisibilityRequestBody.md
- docs/Models/Operations/SetVisibilityResponse.md
- docs/Models/Operations/SuggestItemsResponse.md
- docs/Models/Operations/SuggestOpenAPIRegistryRequest.md
- docs/Models/Operations/SuggestOpenAPIRegistryResponse.md
Expand Down Expand Up @@ -403,6 +407,7 @@ generatedFiles:
- src/Models/Operations/GetLintingReportSignedUrlSignedAccess.php
- src/Models/Operations/GetManifestRequest.php
- src/Models/Operations/GetManifestResponse.php
- src/Models/Operations/GetNamespacesRequest.php
- src/Models/Operations/GetNamespacesResponse.php
- src/Models/Operations/GetOrganizationRequest.php
- src/Models/Operations/GetOrganizationResponse.php
Expand Down Expand Up @@ -485,6 +490,9 @@ generatedFiles:
- src/Models/Operations/Schema.php
- src/Models/Operations/SearchWorkspaceEventsRequest.php
- src/Models/Operations/SearchWorkspaceEventsResponse.php
- src/Models/Operations/SetVisibilityRequest.php
- src/Models/Operations/SetVisibilityRequestBody.php
- src/Models/Operations/SetVisibilityResponse.php
- src/Models/Operations/SuggestItemsResponse.php
- src/Models/Operations/SuggestOpenAPIRegistryRequest.php
- src/Models/Operations/SuggestOpenAPIRegistryResponse.php
Expand Down Expand Up @@ -1797,3 +1805,11 @@ examples:
application/json: {"actions": {"generation_action_configured": false, "publish_action_configured": false}, "app_installed": false, "secrets": {"api_key_configured": true, "publishing_secrets_configured": true}}
4XX:
application/json: {"message": "<value>", "status_code": 743106}
setVisibility:
speakeasy-default-set-visibility:
parameters:
path:
namespace_name: "<value>"
responses:
4XX:
application/json: {"message": "<value>", "status_code": 651364}
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.8
version: 0.45.9
clientServerStatusCodesAsErrors: true
defaultErrorName: SDKException
flattenGlobalSecurity: true
Expand Down
15 changes: 8 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
speakeasyVersion: 1.443.0
speakeasyVersion: 1.445.2
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:e96aac9abaff42f46fffda7dd304bc88b490bebb72c14a2620259d12a571c271
sourceBlobDigest: sha256:74787f4db92951059d965fb8a8647dac975d1ea2797d3b5337093b347fcddbe5
sourceRevisionDigest: sha256:995ccdc5ddaf24ea26b9adba5363e6e2216ee81f79216804aead1e2861c04102
sourceBlobDigest: sha256:0bd677c0a67a5afc9b64d90877bb56e6b6fa17855da26aa1b7357a09e5a8f2ff
tags:
- latest
- speakeasy-sdk-regen-1732234614
- speakeasy-sdk-regen-1732580207
- 0.4.0
targets:
php-target:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:e96aac9abaff42f46fffda7dd304bc88b490bebb72c14a2620259d12a571c271
sourceBlobDigest: sha256:74787f4db92951059d965fb8a8647dac975d1ea2797d3b5337093b347fcddbe5
sourceRevisionDigest: sha256:995ccdc5ddaf24ea26b9adba5363e6e2216ee81f79216804aead1e2861c04102
sourceBlobDigest: sha256:0bd677c0a67a5afc9b64d90877bb56e6b6fa17855da26aa1b7357a09e5a8f2ff
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:25dd220102f0065acd45c33758587b97d5dc8ce5139640ddb53453dabb7c4318
codeSamplesRevisionDigest: sha256:34e3ae8bec7b8a602d26f6fc546b08639cdb8715b1f8d6c9dce0918a6c4e42fe
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ if ($response->apis !== null) {
* [listRemoteSources](docs/sdks/artifacts/README.md#listremotesources) - Get remote sources attached to a particular namespace
* [postTags](docs/sdks/artifacts/README.md#posttags) - Add tags to an existing revision
* [preflight](docs/sdks/artifacts/README.md#preflight) - Get access token for communicating with OCI distribution endpoints
* [setVisibility](docs/sdks/artifacts/README.md#setvisibility) - Set visibility of a namespace with an existing metadata entry

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

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1454,4 +1454,14 @@ Based on:
### Generated
- [php v0.45.8] .
### Releases
- [Composer v0.45.8] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.45.8 - .
- [Composer v0.45.8] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.45.8 - .

## 2024-11-26 00:16:43
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.445.2 (2.461.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.45.9] .
### Releases
- [Composer v0.45.9] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.45.9 - .
8 changes: 8 additions & 0 deletions docs/Models/Operations/GetNamespacesRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# GetNamespacesRequest


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `isComposite` | *?bool* | :heavy_minus_sign: | N/A |
9 changes: 9 additions & 0 deletions docs/Models/Operations/SetVisibilityRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# SetVisibilityRequest


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| `namespaceName` | *string* | :heavy_check_mark: | N/A |
| `requestBody` | [?Operations\SetVisibilityRequestBody](../../Models/Operations/SetVisibilityRequestBody.md) | :heavy_minus_sign: | Namespace visibility |
10 changes: 10 additions & 0 deletions docs/Models/Operations/SetVisibilityRequestBody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SetVisibilityRequestBody

Namespace visibility


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `public` | *bool* | :heavy_check_mark: | N/A |
10 changes: 10 additions & 0 deletions docs/Models/Operations/SetVisibilityResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SetVisibilityResponse


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
3 changes: 2 additions & 1 deletion docs/Models/Shared/NamespaceT.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ A namespace contains many revisions.
| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A |
| `id` | *string* | :heavy_check_mark: | {organization_slug}/{workspace_slug}/{namespace_name} |
| `name` | *string* | :heavy_check_mark: | A human-readable name for the namespace. |
| `updatedAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A |
| `updatedAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A |
| `public` | *?bool* | :heavy_minus_sign: | N/A |
63 changes: 61 additions & 2 deletions docs/sdks/artifacts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ REST APIs for working with Registry artifacts
* [listRemoteSources](#listremotesources) - Get remote sources attached to a particular namespace
* [postTags](#posttags) - Add tags to an existing revision
* [preflight](#preflight) - Get access token for communicating with OCI distribution endpoints
* [setVisibility](#setvisibility) - Set visibility of a namespace with an existing metadata entry

## createRemoteSource

Expand Down Expand Up @@ -194,6 +195,7 @@ 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 @@ -202,17 +204,23 @@ $security = new Shared\Security(

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


$request = new Operations\GetNamespacesRequest();

$response = $sdk->artifacts->getNamespaces(

request: $request
);

if ($response->getNamespacesResponse !== null) {
// handle response
}
```

### Parameters

| Parameter | Type | Required | Description |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `$request` | [Operations\GetNamespacesRequest](../../Models/Operations/GetNamespacesRequest.md) | :heavy_check_mark: | The request object to use for the request. |

### Response

**[?Operations\GetNamespacesResponse](../../Models/Operations/GetNamespacesResponse.md)**
Expand Down Expand Up @@ -469,6 +477,57 @@ if ($response->preflightToken !== null) {

### Errors

| Error Type | Status Code | Content Type |
| --------------------- | --------------------- | --------------------- |
| Errorors\Error | 4XX | application/json |
| Errorors\SDKException | 5XX | \*/\* |

## setVisibility

Set visibility of a namespace with an existing metadata entry

### Example Usage

```php
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(
apiKey: '<YOUR_API_KEY_HERE>',
);

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

$request = new Operations\SetVisibilityRequest(
namespaceName: '<value>',
);

$response = $sdk->artifacts->setVisibility(
request: $request
);

if ($response->statusCode === 200) {
// handle response
}
```

### Parameters

| Parameter | Type | Required | Description |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `$request` | [Operations\SetVisibilityRequest](../../Models/Operations/SetVisibilityRequest.md) | :heavy_check_mark: | The request object to use for the request. |

### Response

**[?Operations\SetVisibilityResponse](../../Models/Operations/SetVisibilityResponse.md)**

### Errors

| Error Type | Status Code | Content Type |
| --------------------- | --------------------- | --------------------- |
| Errorors\Error | 4XX | application/json |
Expand Down
Loading

0 comments on commit 114b72e

Please sign in to comment.