Skip to content

Commit 66ecef3

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.269.1
1 parent 6567c1b commit 66ecef3

17 files changed

+239
-32
lines changed

.speakeasy/gen.lock

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: b0b519b1-d1d3-43b2-82dd-b4292eadd4b0
33
management:
4-
docChecksum: 141a9989778e09b7c6bb43e496b49905
5-
docVersion: 0.4.0
6-
speakeasyVersion: 1.267.0
7-
generationVersion: 2.312.0
8-
releaseVersion: 5.6.10
9-
configChecksum: ca30bf8280c17f0b2d6fade804dc4733
4+
docChecksum: 0df832386c1fcd5f74fb87fea6d0e2b7
5+
docVersion: 0.4.0 .
6+
speakeasyVersion: 1.269.1
7+
generationVersion: 2.312.1
8+
releaseVersion: 5.6.11
9+
configChecksum: 0f63b6d40acff557a7ff2dc25c263d7b
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
@@ -92,6 +92,7 @@ generatedFiles:
9292
- src/speakeasy/models/operations/getvalidembedaccesstokens.py
9393
- src/speakeasy/models/operations/revokeembedaccesstoken.py
9494
- src/speakeasy/models/operations/getworkspaceevents.py
95+
- src/speakeasy/models/operations/getworkspaceeventsbysourcerevisiondigest.py
9596
- src/speakeasy/models/operations/getworkspacetargets.py
9697
- src/speakeasy/models/operations/postworkspaceevents.py
9798
- src/speakeasy/models/errors/error.py
@@ -233,6 +234,9 @@ generatedFiles:
233234
- docs/models/operations/getworkspaceeventsglobals.md
234235
- docs/models/operations/getworkspaceeventsrequest.md
235236
- docs/models/operations/getworkspaceeventsresponse.md
237+
- docs/models/operations/getworkspaceeventsbysourcerevisiondigestglobals.md
238+
- docs/models/operations/getworkspaceeventsbysourcerevisiondigestrequest.md
239+
- docs/models/operations/getworkspaceeventsbysourcerevisiondigestresponse.md
236240
- docs/models/operations/getworkspacetargetsglobals.md
237241
- docs/models/operations/getworkspacetargetsrequest.md
238242
- docs/models/operations/getworkspacetargetsresponse.md

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ if res.apis is not None:
116116
### [events](docs/sdks/events/README.md)
117117

118118
* [get_workspace_events](docs/sdks/events/README.md#get_workspace_events) - Load recent events for a particular workspace
119+
* [get_workspace_events_by_source_revision_digest](docs/sdks/events/README.md#get_workspace_events_by_source_revision_digest) - Load events for a particular workspace and source revision digest
119120
* [get_workspace_targets](docs/sdks/events/README.md#get_workspace_targets) - Load targets for a particular workspace
120121
* [post_workspace_events](docs/sdks/events/README.md#post_workspace_events) - Post events for a specific workspace
121122
<!-- End Available Resources and Operations [operations] -->

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,4 +1486,14 @@ Based on:
14861486
### Generated
14871487
- [python v5.6.10] .
14881488
### Releases
1489-
- [PyPI v5.6.10] https://pypi.org/project/speakeasy-client-sdk-python/5.6.10 - .
1489+
- [PyPI v5.6.10] https://pypi.org/project/speakeasy-client-sdk-python/5.6.10 - .
1490+
1491+
## 2024-04-23 00:11:00
1492+
### Changes
1493+
Based on:
1494+
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
1495+
- Speakeasy CLI 1.269.1 (2.312.1) https://github.com/speakeasy-api/speakeasy
1496+
### Generated
1497+
- [python v5.6.11] .
1498+
### Releases
1499+
- [PyPI v5.6.11] https://pypi.org/project/speakeasy-client-sdk-python/5.6.11 - .
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# GetWorkspaceEventsBySourceRevisionDigestGlobals
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `workspace_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# GetWorkspaceEventsBySourceRevisionDigestRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ |
8+
| `source_revision_digest` | *str* | :heavy_check_mark: | Unique identifier of the source revision digest. |
9+
| `workspace_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier of the workspace. |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# GetWorkspaceEventsBySourceRevisionDigestResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8+
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
9+
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
10+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
11+
| `cli_event_batch` | List[[shared.CliEvent](../../models/shared/clievent.md)] | :heavy_minus_sign: | Success |

docs/models/shared/annotations.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@ Annotations
55

66
## Fields
77

8-
| Field | Type | Required | Description |
9-
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
10-
| `org_opencontainers_image_authors` | *Optional[str]* | :heavy_minus_sign: | N/A |
11-
| `org_opencontainers_image_base_digest` | *Optional[str]* | :heavy_minus_sign: | N/A |
12-
| `org_opencontainers_image_base_name` | *Optional[str]* | :heavy_minus_sign: | N/A |
13-
| `org_opencontainers_image_created` | *Optional[str]* | :heavy_minus_sign: | N/A |
14-
| `org_opencontainers_image_description` | *Optional[str]* | :heavy_minus_sign: | N/A |
15-
| `org_opencontainers_image_documentation` | *Optional[str]* | :heavy_minus_sign: | N/A |
16-
| `org_opencontainers_image_licenses` | *Optional[str]* | :heavy_minus_sign: | N/A |
17-
| `org_opencontainers_image_ref_name` | *Optional[str]* | :heavy_minus_sign: | N/A |
18-
| `org_opencontainers_image_revision` | *Optional[str]* | :heavy_minus_sign: | N/A |
19-
| `org_opencontainers_image_source` | *Optional[str]* | :heavy_minus_sign: | N/A |
20-
| `org_opencontainers_image_title` | *Optional[str]* | :heavy_minus_sign: | N/A |
21-
| `org_opencontainers_image_url` | *Optional[str]* | :heavy_minus_sign: | N/A |
22-
| `org_opencontainers_image_vendor` | *Optional[str]* | :heavy_minus_sign: | N/A |
23-
| `org_opencontainers_image_version` | *Optional[str]* | :heavy_minus_sign: | N/A |
8+
| Field | Type | Required | Description |
9+
| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- |
10+
| `org_opencontainers_image_authors` | *Optional[str]* | :heavy_minus_sign: | The authors of the image |
11+
| `org_opencontainers_image_created` | *Optional[str]* | :heavy_minus_sign: | The time the image was created |
12+
| `org_opencontainers_image_description` | *Optional[str]* | :heavy_minus_sign: | Human-readable description of the software packaged in the image |
13+
| `org_opencontainers_image_documentation` | *Optional[str]* | :heavy_minus_sign: | The documentation URL of the image |
14+
| `org_opencontainers_image_licenses` | *Optional[str]* | :heavy_minus_sign: | N/A |
15+
| `org_opencontainers_image_ref_name` | *Optional[str]* | :heavy_minus_sign: | Name of the reference for a target |
16+
| `org_opencontainers_image_revision` | *Optional[str]* | :heavy_minus_sign: | Source control revision identifier |
17+
| `org_opencontainers_image_source` | *Optional[str]* | :heavy_minus_sign: | The URL to get source code for building the image |
18+
| `org_opencontainers_image_title` | *Optional[str]* | :heavy_minus_sign: | Human-readable title of the image |
19+
| `org_opencontainers_image_url` | *Optional[str]* | :heavy_minus_sign: | The URL of the image |
20+
| `org_opencontainers_image_vendor` | *Optional[str]* | :heavy_minus_sign: | Name of the distributing entity, organization or individual. |
21+
| `org_opencontainers_image_version` | *Optional[str]* | :heavy_minus_sign: | The version of the packaged software |

docs/models/shared/apikeydetails.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- |
88
| `account_type` | [shared.AccountType](../../models/shared/accounttype.md) | :heavy_check_mark: | N/A |
99
| `feature_flags` | List[[shared.FeatureFlags](../../models/shared/featureflags.md)] | :heavy_check_mark: | N/A |
10+
| `org_slug` | *str* | :heavy_check_mark: | N/A |
1011
| `workspace_id` | *str* | :heavy_check_mark: | N/A |
12+
| `workspace_slug` | *str* | :heavy_check_mark: | N/A |
1113
| `generation_access_unlimited` | *Optional[bool]* | :heavy_minus_sign: | N/A |

docs/sdks/events/README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ REST APIs for capturing event data
88
### Available Operations
99

1010
* [get_workspace_events](#get_workspace_events) - Load recent events for a particular workspace
11+
* [get_workspace_events_by_source_revision_digest](#get_workspace_events_by_source_revision_digest) - Load events for a particular workspace and source revision digest
1112
* [get_workspace_targets](#get_workspace_targets) - Load targets for a particular workspace
1213
* [post_workspace_events](#post_workspace_events) - Post events for a specific workspace
1314

@@ -55,6 +56,52 @@ if res.cli_event_batch is not None:
5556
| errors.Error | 5XX | application/json |
5657
| errors.SDKError | 4xx-5xx | */* |
5758

59+
## get_workspace_events_by_source_revision_digest
60+
61+
Load events for a particular workspace and source revision digest
62+
63+
### Example Usage
64+
65+
```python
66+
import speakeasy
67+
from speakeasy.models import operations, shared
68+
69+
s = speakeasy.Speakeasy(
70+
security=shared.Security(
71+
api_key="<YOUR_API_KEY_HERE>",
72+
),
73+
workspace_id='<value>',
74+
)
75+
76+
req = operations.GetWorkspaceEventsBySourceRevisionDigestRequest(
77+
source_revision_digest='<value>',
78+
)
79+
80+
res = s.events.get_workspace_events_by_source_revision_digest(req)
81+
82+
if res.cli_event_batch is not None:
83+
# handle response
84+
pass
85+
86+
```
87+
88+
### Parameters
89+
90+
| Parameter | Type | Required | Description |
91+
| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
92+
| `request` | [operations.GetWorkspaceEventsBySourceRevisionDigestRequest](../../models/operations/getworkspaceeventsbysourcerevisiondigestrequest.md) | :heavy_check_mark: | The request object to use for the request. |
93+
94+
95+
### Response
96+
97+
**[operations.GetWorkspaceEventsBySourceRevisionDigestResponse](../../models/operations/getworkspaceeventsbysourcerevisiondigestresponse.md)**
98+
### Errors
99+
100+
| Error Object | Status Code | Content Type |
101+
| ---------------- | ---------------- | ---------------- |
102+
| errors.Error | 5XX | application/json |
103+
| errors.SDKError | 4xx-5xx | */* |
104+
58105
## get_workspace_targets
59106

60107
Load targets for a particular workspace

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
python:
13-
version: 5.6.10
13+
version: 5.6.11
1414
additionalDependencies:
1515
dependencies: {}
1616
extraDependencies:

0 commit comments

Comments
 (0)