Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.346.3
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jul 27, 2024
1 parent 8d1542f commit ba0638b
Show file tree
Hide file tree
Showing 255 changed files with 793 additions and 260 deletions.
30 changes: 21 additions & 9 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: 5b362866a3e7a85c830c6cb1f1cf4896
docChecksum: 312822a7ccdbf7c77dbbfeef49fb2053
docVersion: 0.4.0 .
speakeasyVersion: 1.346.0
generationVersion: 2.379.3
releaseVersion: 0.38.15
configChecksum: 140eb3e90ccd86ae17e741fc6a063d03
speakeasyVersion: 1.346.3
generationVersion: 2.379.6
releaseVersion: 0.38.16
configChecksum: c5381427220254106c55747bd3d61ccc
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 @@ -36,6 +36,7 @@ generatedFiles:
- src/ShortURLs.php
- src/Suggest.php
- src/Embeds.php
- src/Workspaces.php
- src/Events.php
- src/SDK.php
- src/SDKBuilder.php
Expand Down Expand Up @@ -153,6 +154,8 @@ generatedFiles:
- src/Models/Operations/GithubStorePublishingSecretsResponse.php
- src/Models/Operations/TriggerActionResponse.php
- src/Models/Operations/CreateFreeTrialResponse.php
- src/Models/Operations/GetOrganizationRequest.php
- src/Models/Operations/GetOrganizationResponse.php
- src/Models/Operations/GetOrganizationUsageResponse.php
- src/Models/Operations/GetOrganizationsResponse.php
- src/Models/Operations/GetChangesReportSignedUrlRequest.php
Expand Down Expand Up @@ -181,6 +184,8 @@ generatedFiles:
- src/Models/Operations/GetValidEmbedAccessTokensResponse.php
- src/Models/Operations/RevokeEmbedAccessTokenRequest.php
- src/Models/Operations/RevokeEmbedAccessTokenResponse.php
- src/Models/Operations/GetWorkspaceRequest.php
- src/Models/Operations/GetWorkspaceResponse.php
- src/Models/Operations/GetWorkspaceEventsByTargetRequest.php
- src/Models/Operations/GetWorkspaceEventsByTargetResponse.php
- src/Models/Operations/GetWorkspaceTargetsRequest.php
Expand Down Expand Up @@ -243,10 +248,10 @@ generatedFiles:
- src/Models/Shared/GithubMissingPublishingSecretsResponse.php
- src/Models/Shared/GithubStorePublishingSecretsRequest.php
- src/Models/Shared/GithubTriggerActionRequest.php
- src/Models/Shared/OrganizationUsageResponse.php
- src/Models/Shared/OrganizationUsage.php
- src/Models/Shared/OrganizationAccountType.php
- src/Models/Shared/Organization.php
- src/Models/Shared/OrganizationUsageResponse.php
- src/Models/Shared/OrganizationUsage.php
- src/Models/Shared/Type.php
- src/Models/Shared/Report.php
- src/Models/Shared/ShortURL.php
Expand All @@ -256,6 +261,7 @@ generatedFiles:
- src/Models/Shared/SuggestOperationIDsOpts.php
- src/Models/Shared/EmbedAccessTokenResponse.php
- src/Models/Shared/EmbedToken.php
- src/Models/Shared/Workspace.php
- src/Models/Shared/GenerateBumpType.php
- src/Models/Shared/OpenapiDiffBumpType.php
- src/Models/Shared/CliEvent.php
Expand Down Expand Up @@ -356,6 +362,8 @@ generatedFiles:
- docs/Models/Operations/GithubStorePublishingSecretsResponse.md
- docs/Models/Operations/TriggerActionResponse.md
- docs/Models/Operations/CreateFreeTrialResponse.md
- docs/Models/Operations/GetOrganizationRequest.md
- docs/Models/Operations/GetOrganizationResponse.md
- docs/Models/Operations/GetOrganizationUsageResponse.md
- docs/Models/Operations/GetOrganizationsResponse.md
- docs/Models/Operations/GetChangesReportSignedUrlRequest.md
Expand Down Expand Up @@ -384,6 +392,8 @@ generatedFiles:
- docs/Models/Operations/GetValidEmbedAccessTokensResponse.md
- docs/Models/Operations/RevokeEmbedAccessTokenRequest.md
- docs/Models/Operations/RevokeEmbedAccessTokenResponse.md
- docs/Models/Operations/GetWorkspaceRequest.md
- docs/Models/Operations/GetWorkspaceResponse.md
- docs/Models/Operations/GetWorkspaceEventsByTargetRequest.md
- docs/Models/Operations/GetWorkspaceEventsByTargetResponse.md
- docs/Models/Operations/GetWorkspaceTargetsRequest.md
Expand Down Expand Up @@ -446,10 +456,10 @@ generatedFiles:
- docs/Models/Shared/GithubMissingPublishingSecretsResponse.md
- docs/Models/Shared/GithubStorePublishingSecretsRequest.md
- docs/Models/Shared/GithubTriggerActionRequest.md
- docs/Models/Shared/OrganizationUsageResponse.md
- docs/Models/Shared/OrganizationUsage.md
- docs/Models/Shared/OrganizationAccountType.md
- docs/Models/Shared/Organization.md
- docs/Models/Shared/OrganizationUsageResponse.md
- docs/Models/Shared/OrganizationUsage.md
- docs/Models/Shared/Type.md
- docs/Models/Shared/Report.md
- docs/Models/Shared/ShortURL.md
Expand All @@ -459,6 +469,7 @@ generatedFiles:
- docs/Models/Shared/SuggestOperationIDsOpts.md
- docs/Models/Shared/EmbedAccessTokenResponse.md
- docs/Models/Shared/EmbedToken.md
- docs/Models/Shared/Workspace.md
- docs/Models/Shared/GenerateBumpType.md
- docs/Models/Shared/OpenapiDiffBumpType.md
- docs/Models/Shared/CliEvent.md
Expand All @@ -479,6 +490,7 @@ generatedFiles:
- docs/sdks/shorturls/README.md
- docs/sdks/suggest/README.md
- docs/sdks/embeds/README.md
- docs/sdks/workspaces/README.md
- docs/sdks/events/README.md
- USAGE.md
- .gitattributes
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ try {
### [Organizations](docs/sdks/organizations/README.md)

* [createFreeTrial](docs/sdks/organizations/README.md#createfreetrial) - Create a free trial for an organization
* [getOrganization](docs/sdks/organizations/README.md#getorganization) - Get organization
* [getOrganizationUsage](docs/sdks/organizations/README.md#getorganizationusage) - Get billing usage summary for a particular organization
* [getOrganizations](docs/sdks/organizations/README.md#getorganizations) - Get organizations for a user

Expand All @@ -157,6 +158,10 @@ try {
* [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.

### [Workspaces](docs/sdks/workspaces/README.md)

* [getWorkspace](docs/sdks/workspaces/README.md#getworkspace) - Get workspace

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

* [getWorkspaceEventsByTarget](docs/sdks/events/README.md#getworkspaceeventsbytarget) - Load recent events for a particular workspace
Expand Down Expand Up @@ -192,7 +197,7 @@ The default server can also be overridden globally by passing a URL to the `serv

A parameter is configured globally. This parameter may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed.

For example, you can set `workspaceID` to `'<value>'` at SDK initialization and then you do not have to pass the same value on calls to operations like `getWorkspaceEventsByTarget`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
For example, you can set `workspaceID` to `'<value>'` at SDK initialization and then you do not have to pass the same value on calls to operations like `getWorkspace`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.


### Available Globals
Expand Down Expand Up @@ -225,16 +230,11 @@ $sdk = SpeakeasyClientSDK\SDK::builder()
->build();

try {
$request = new Operations\GetWorkspaceEventsByTargetRequest();
$request->afterCreatedAt = DateTime::createFromFormat(
'Y-m-d\TH:i:s+',
'2024-04-01T04:00:29.393Z',
);
$request->targetID = '<value>';
$request = new Operations\GetWorkspaceRequest();

$response = $sdk->events->getWorkspaceEventsByTarget($request);
$response = $sdk->workspaces->getWorkspace($request);

if ($response->cliEventBatch !== null) {
if ($response->workspace !== null) {
// handle response
}
} catch (Throwable $e) {
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1044,4 +1044,14 @@ Based on:
### Generated
- [php v0.38.15] .
### Releases
- [Composer v0.38.15] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.38.15 - .
- [Composer v0.38.15] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.38.15 - .

## 2024-07-27 00:13:12
### Changes
Based on:
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
- Speakeasy CLI 1.346.3 (2.379.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.38.16] .
### Releases
- [Composer v0.38.16] https://packagist.org/packages/speakeasy-api/speakeasy-client-sdk-php#v0.38.16 - .
8 changes: 8 additions & 0 deletions docs/Models/Operations/GetOrganizationRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# GetOrganizationRequest


## Fields

| Field | Type | Required | Description |
| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- |
| `organizationID` | *string* | :heavy_check_mark: | Unique identifier of the organization. |
12 changes: 12 additions & 0 deletions docs/Models/Operations/GetOrganizationResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# GetOrganizationResponse


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `error` | [?\Speakeasy\SpeakeasyClientSDK\Models\Shared\Error](../../Models/Shared/Error.md) | :heavy_minus_sign: | Default error response |
| `organization` | [?\Speakeasy\SpeakeasyClientSDK\Models\Shared\Organization](../../Models/Shared/Organization.md) | :heavy_minus_sign: | OK |
| `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 |
8 changes: 8 additions & 0 deletions docs/Models/Operations/GetWorkspaceRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# GetWorkspaceRequest


## Fields

| Field | Type | Required | Description |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `workspaceID` | *?string* | :heavy_minus_sign: | Unique identifier of the workspace. |
12 changes: 12 additions & 0 deletions docs/Models/Operations/GetWorkspaceResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# GetWorkspaceResponse


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `error` | [?\Speakeasy\SpeakeasyClientSDK\Models\Shared\Error](../../Models/Shared/Error.md) | :heavy_minus_sign: | Default error response |
| `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 |
| `workspace` | [?\Speakeasy\SpeakeasyClientSDK\Models\Shared\Workspace](../../Models/Shared/Workspace.md) | :heavy_minus_sign: | OK |
1 change: 1 addition & 0 deletions docs/Models/Shared/Organization.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ A speakeasy organization
| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| `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 |
Expand Down
Loading

0 comments on commit ba0638b

Please sign in to comment.