Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.4.0, Speakeasy CLI 1.204.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Mar 8, 2024
1 parent 5084680 commit 58e2b69
Show file tree
Hide file tree
Showing 32 changed files with 581 additions and 484 deletions.
18 changes: 10 additions & 8 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
lockVersion: 2.0.0
id: b0b519b1-d1d3-43b2-82dd-b4292eadd4b0
management:
docChecksum: 78317aabbf8200a3d43be677bd6fe435
docChecksum: 64b423d1904e6c12d31973957d033247
docVersion: 0.4.0
speakeasyVersion: 1.202.0
generationVersion: 2.277.0
releaseVersion: 5.3.2
configChecksum: affd4a37f328a37e21923e7294b7f345
speakeasyVersion: 1.204.1
generationVersion: 2.279.1
releaseVersion: 5.4.0
configChecksum: b7b3a76dd38b581e75d3bacbb60538ec
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
repoSubDirectory: .
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-python.git
published: true
features:
python:
core: 4.5.0
core: 4.5.1
downloadStreams: 0.0.2
examples: 2.81.3
globalSecurity: 2.83.4
globalServerURLs: 2.82.1
globals: 2.81.1
inputOutputModels: 2.83.1
responseFormat: 0.1.0
retries: 2.82.1
serverIDs: 2.81.1
generatedFiles:
Expand All @@ -33,6 +34,7 @@ generatedFiles:
- src/speakeasy/embeds.py
- src/speakeasy/events.py
- src/speakeasy/sdk.py
- py.typed
- pylintrc
- setup.py
- src/speakeasy/__init__.py
Expand Down Expand Up @@ -99,6 +101,7 @@ generatedFiles:
- src/speakeasy/models/shared/embedaccesstokenresponse.py
- src/speakeasy/models/shared/embedtoken.py
- src/speakeasy/models/shared/clievent.py
- src/speakeasy/models/shared/interactiontype.py
- src/speakeasy/models/shared/targetsdk.py
- src/speakeasy/models/shared/security.py
- src/speakeasy/models/__init__.py
Expand Down Expand Up @@ -207,8 +210,8 @@ generatedFiles:
- docs/models/shared/embedaccesstokenresponse.md
- docs/models/shared/embedtoken.md
- docs/models/shared/generatebumptype.md
- docs/models/shared/interactiontype.md
- docs/models/shared/clievent.md
- docs/models/shared/interactiontype.md
- docs/models/shared/targetsdk.md
- docs/models/shared/security.md
- docs/sdks/speakeasy/README.md
Expand All @@ -223,7 +226,6 @@ generatedFiles:
- docs/sdks/events/README.md
- USAGE.md
- .gitattributes
- src/speakeasy/_hooks/registration.py
- src/speakeasy/_hooks/sdkhooks.py
- src/speakeasy/_hooks/types.py
- src/speakeasy/_hooks/__init__.py
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ res = s.apis.get_apis(req)
if res.apis is not None:
# handle response
pass

```
<!-- End SDK Example Usage [usage] -->

Expand Down Expand Up @@ -143,6 +144,7 @@ except errors.SDKError as e:
if res.cli_event_batch is not None:
# handle response
pass

```
<!-- End Error Handling [errors] -->

Expand Down Expand Up @@ -180,9 +182,10 @@ req = operations.DeleteAPIRequest(

res = s.apis.delete_api(req)

if res.status_code == 200:
if res is not None:
# handle response
pass

```


Expand All @@ -208,9 +211,10 @@ req = operations.DeleteAPIRequest(

res = s.apis.delete_api(req)

if res.status_code == 200:
if res is not None:
# handle response
pass

```
<!-- End Server Selection [server] -->

Expand Down Expand Up @@ -265,9 +269,10 @@ req = operations.DeleteAPIRequest(

res = s.apis.delete_api(req)

if res.status_code == 200:
if res is not None:
# handle response
pass

```
<!-- End Authentication [security] -->

Expand Down Expand Up @@ -308,6 +313,7 @@ res = s.events.get_workspace_events(req)
if res.cli_event_batch is not None:
# handle response
pass

```
<!-- End Global Parameters [global-parameters] -->

Expand Down Expand Up @@ -337,6 +343,7 @@ res = s.auth.get_workspace_access(req,
if res.access_details is not None:
# handle response
pass

```

If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
Expand All @@ -360,6 +367,7 @@ res = s.auth.get_workspace_access(req)
if res.access_details is not None:
# handle response
pass

```
<!-- End Retries [retries] -->

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1316,4 +1316,14 @@ Based on:
### Generated
- [python v5.3.2] .
### Releases
- [PyPI v5.3.2] https://pypi.org/project/speakeasy-client-sdk-python/5.3.2 - .
- [PyPI v5.3.2] https://pypi.org/project/speakeasy-client-sdk-python/5.3.2 - .

## 2024-03-08 00:10:44
### Changes
Based on:
- OpenAPI Doc 0.4.0 https://docs.speakeasyapi.dev/openapi.yaml
- Speakeasy CLI 1.204.1 (2.279.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v5.4.0] .
### Releases
- [PyPI v5.4.0] https://pypi.org/project/speakeasy-client-sdk-python/5.4.0 - .
1 change: 1 addition & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ res = s.apis.get_apis(req)
if res.apis is not None:
# handle response
pass

```
<!-- End SDK Example Usage [usage] -->
2 changes: 2 additions & 0 deletions docs/models/shared/interactiontype.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ Type of interaction.

| Name | Value |
| ----------------- | ----------------- |
| `CI_EXEC` | CI_EXEC |
| `CLI_EXEC` | CLI_EXEC |
| `TARGET_GENERATE` | TARGET_GENERATE |
| `TOMBSTONE` | TOMBSTONE |
| `AUTHENTICATE` | AUTHENTICATE |
| `QUICKSTART` | QUICKSTART |
| `RUN` | RUN |
Expand Down
1 change: 1 addition & 0 deletions docs/models/shared/targetsdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
| `id` | *str* | :heavy_check_mark: | Unique identifier of the target the same as `generate_gen_lock_id` |
| `last_event_created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Timestamp when the event was created in the database. |
| `last_event_id` | *str* | :heavy_check_mark: | Unique identifier of the last event for the target |
| `last_event_interaction_type` | [shared.InteractionType](../../models/shared/interactiontype.md) | :heavy_check_mark: | Type of interaction. |
| `commit_head` | *Optional[str]* | :heavy_minus_sign: | Remote commit ID. |
| `continuous_integration_environment` | *Optional[str]* | :heavy_minus_sign: | Name of the CI environment. |
| `generate_config_post_version` | *Optional[str]* | :heavy_minus_sign: | Version of the generated target (post generation) |
Expand Down
10 changes: 9 additions & 1 deletion docs/sdks/apiendpoints/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ req = operations.DeleteAPIEndpointRequest(

res = s.api_endpoints.delete_api_endpoint(req)

if res.status_code == 200:
if res is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -91,6 +92,7 @@ res = s.api_endpoints.find_api_endpoint(req)
if res.api_endpoint is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -138,6 +140,7 @@ res = s.api_endpoints.generate_open_api_spec_for_api_endpoint(req)
if res.generate_open_api_spec_diff is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -184,6 +187,7 @@ res = s.api_endpoints.generate_postman_collection_for_api_endpoint(req)
if res.postman_collection is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -228,6 +232,7 @@ res = s.api_endpoints.get_all_api_endpoints(req)
if res.api_endpoints is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -273,6 +278,7 @@ res = s.api_endpoints.get_all_for_version_api_endpoints(req)
if res.api_endpoints is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -319,6 +325,7 @@ res = s.api_endpoints.get_api_endpoint(req)
if res.api_endpoint is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -373,6 +380,7 @@ res = s.api_endpoints.upsert_api_endpoint(req)
if res.api_endpoint is not None:
# handle response
pass

```

### Parameters
Expand Down
8 changes: 7 additions & 1 deletion docs/sdks/apis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ req = operations.DeleteAPIRequest(

res = s.apis.delete_api(req)

if res.status_code == 200:
if res is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -87,6 +88,7 @@ res = s.apis.generate_open_api_spec(req)
if res.generate_open_api_spec_diff is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -132,6 +134,7 @@ res = s.apis.generate_postman_collection(req)
if res.postman_collection is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -177,6 +180,7 @@ res = s.apis.get_all_api_versions(req)
if res.apis is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -220,6 +224,7 @@ res = s.apis.get_apis(req)
if res.apis is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -270,6 +275,7 @@ res = s.apis.upsert_api(req)
if res.api is not None:
# handle response
pass

```

### Parameters
Expand Down
3 changes: 3 additions & 0 deletions docs/sdks/auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ res = s.auth.get_access_token(req)
if res.access_token is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -76,6 +77,7 @@ res = s.auth.get_workspace_access(req)
if res.access_details is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -118,6 +120,7 @@ res = s.auth.validate_api_key()
if res.api_key_details is not None:
# handle response
pass

```


Expand Down
5 changes: 4 additions & 1 deletion docs/sdks/embeds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ res = s.embeds.get_embed_access_token(req)
if res.embed_access_token_response is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -77,6 +78,7 @@ res = s.embeds.get_valid_embed_access_tokens()
if res.embed_tokens is not None:
# handle response
pass

```


Expand Down Expand Up @@ -112,9 +114,10 @@ req = operations.RevokeEmbedAccessTokenRequest(

res = s.embeds.revoke_embed_access_token(req)

if res.status_code == 200:
if res is not None:
# handle response
pass

```

### Parameters
Expand Down
5 changes: 4 additions & 1 deletion docs/sdks/events/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ res = s.events.get_workspace_events(req)
if res.cli_event_batch is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -78,6 +79,7 @@ res = s.events.get_workspace_targets(req)
if res.target_sdk_list is not None:
# handle response
pass

```

### Parameters
Expand Down Expand Up @@ -133,9 +135,10 @@ req = operations.PostWorkspaceEventsRequest(

res = s.events.post_workspace_events(req)

if res.status_code == 200:
if res is not None:
# handle response
pass

```

### Parameters
Expand Down
Loading

0 comments on commit 58e2b69

Please sign in to comment.