Skip to content

Commit 5f3b0cf

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.346.3
1 parent 3749650 commit 5f3b0cf

File tree

204 files changed

+3189
-2586
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+3189
-2586
lines changed

.speakeasy/gen.lock

Lines changed: 29 additions & 13 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: 5b362866a3e7a85c830c6cb1f1cf4896
4+
docChecksum: 312822a7ccdbf7c77dbbfeef49fb2053
55
docVersion: 0.4.0 .
6-
speakeasyVersion: 1.332.1
7-
generationVersion: 2.366.1
8-
releaseVersion: 6.2.0
9-
configChecksum: 48969b4d7724988d84c0cce48b9a8753
6+
speakeasyVersion: 1.346.3
7+
generationVersion: 2.379.6
8+
releaseVersion: 6.3.0
9+
configChecksum: 511764c1ed21807dbbda4fcd048339ff
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
@@ -15,10 +15,11 @@ features:
1515
python:
1616
acceptHeaders: 3.0.0
1717
additionalDependencies: 1.0.0
18-
core: 5.0.0
18+
core: 5.2.4
1919
defaultEnabledRetries: 0.2.0
2020
deprecations: 3.0.0
2121
downloadStreams: 1.0.0
22+
envVarSecurityUsage: 0.2.0
2223
examples: 3.0.0
2324
globalSecurity: 3.0.0
2425
globalSecurityCallbacks: 1.0.0
@@ -30,6 +31,7 @@ features:
3031
responseFormat: 1.0.0
3132
retries: 3.0.0
3233
sdkHooks: 1.0.0
34+
serverEventsSentinels: 0.1.0
3335
serverIDs: 3.0.0
3436
uploadStreams: 1.0.0
3537
generatedFiles:
@@ -47,18 +49,22 @@ generatedFiles:
4749
- src/speakeasy_client_sdk_python/shorturls.py
4850
- src/speakeasy_client_sdk_python/suggest.py
4951
- src/speakeasy_client_sdk_python/embeds.py
52+
- src/speakeasy_client_sdk_python/workspaces.py
5053
- src/speakeasy_client_sdk_python/events.py
5154
- src/speakeasy_client_sdk_python/sdk.py
55+
- .vscode/settings.json
5256
- py.typed
5357
- pylintrc
5458
- pyproject.toml
5559
- scripts/publish.sh
5660
- src/speakeasy_client_sdk_python/__init__.py
5761
- src/speakeasy_client_sdk_python/basesdk.py
5862
- src/speakeasy_client_sdk_python/httpclient.py
63+
- src/speakeasy_client_sdk_python/py.typed
5964
- src/speakeasy_client_sdk_python/types/__init__.py
6065
- src/speakeasy_client_sdk_python/types/basemodel.py
6166
- src/speakeasy_client_sdk_python/utils/__init__.py
67+
- src/speakeasy_client_sdk_python/utils/annotations.py
6268
- src/speakeasy_client_sdk_python/utils/enums.py
6369
- src/speakeasy_client_sdk_python/utils/eventstreaming.py
6470
- src/speakeasy_client_sdk_python/utils/forms.py
@@ -122,6 +128,7 @@ generatedFiles:
122128
- src/speakeasy_client_sdk_python/models/operations/githubstorepublishingsecrets.py
123129
- src/speakeasy_client_sdk_python/models/operations/triggeraction.py
124130
- src/speakeasy_client_sdk_python/models/operations/createfreetrial.py
131+
- src/speakeasy_client_sdk_python/models/operations/getorganization.py
125132
- src/speakeasy_client_sdk_python/models/operations/getorganizationusage.py
126133
- src/speakeasy_client_sdk_python/models/operations/getorganizations.py
127134
- src/speakeasy_client_sdk_python/models/operations/getchangesreportsignedurl.py
@@ -134,11 +141,14 @@ generatedFiles:
134141
- src/speakeasy_client_sdk_python/models/operations/getembedaccesstoken.py
135142
- src/speakeasy_client_sdk_python/models/operations/getvalidembedaccesstokens.py
136143
- src/speakeasy_client_sdk_python/models/operations/revokeembedaccesstoken.py
144+
- src/speakeasy_client_sdk_python/models/operations/getworkspace.py
137145
- src/speakeasy_client_sdk_python/models/operations/getworkspaceeventsbytarget.py
138146
- src/speakeasy_client_sdk_python/models/operations/getworkspacetargets.py
139147
- src/speakeasy_client_sdk_python/models/operations/postworkspaceevents.py
140148
- src/speakeasy_client_sdk_python/models/operations/searchworkspaceevents.py
149+
- src/speakeasy_client_sdk_python/models/operations/__init__.py
141150
- src/speakeasy_client_sdk_python/models/errors/error.py
151+
- src/speakeasy_client_sdk_python/models/errors/__init__.py
142152
- src/speakeasy_client_sdk_python/models/shared/generateopenapispecdiff.py
143153
- src/speakeasy_client_sdk_python/models/shared/api.py
144154
- src/speakeasy_client_sdk_python/models/shared/api_input.py
@@ -183,24 +193,22 @@ generatedFiles:
183193
- src/speakeasy_client_sdk_python/models/shared/githubmissingpublishingsecretsresponse.py
184194
- src/speakeasy_client_sdk_python/models/shared/githubstorepublishingsecretsrequest.py
185195
- src/speakeasy_client_sdk_python/models/shared/githubtriggeractionrequest.py
196+
- src/speakeasy_client_sdk_python/models/shared/organization.py
186197
- src/speakeasy_client_sdk_python/models/shared/organizationusageresponse.py
187198
- src/speakeasy_client_sdk_python/models/shared/organizationusage.py
188-
- src/speakeasy_client_sdk_python/models/shared/organization.py
189199
- src/speakeasy_client_sdk_python/models/shared/report.py
190200
- src/speakeasy_client_sdk_python/models/shared/shorturl.py
191201
- src/speakeasy_client_sdk_python/models/shared/suggestedoperationids.py
192202
- src/speakeasy_client_sdk_python/models/shared/suggestoperationidsopts.py
193203
- src/speakeasy_client_sdk_python/models/shared/embedaccesstokenresponse.py
194204
- src/speakeasy_client_sdk_python/models/shared/embedtoken.py
205+
- src/speakeasy_client_sdk_python/models/shared/workspace.py
195206
- src/speakeasy_client_sdk_python/models/shared/clievent.py
196207
- src/speakeasy_client_sdk_python/models/shared/interactiontype.py
197208
- src/speakeasy_client_sdk_python/models/shared/targetsdk.py
198209
- src/speakeasy_client_sdk_python/models/shared/security.py
199-
- src/speakeasy_client_sdk_python/models/internal/globals.py
200-
- src/speakeasy_client_sdk_python/models/__init__.py
201-
- src/speakeasy_client_sdk_python/models/errors/__init__.py
202-
- src/speakeasy_client_sdk_python/models/operations/__init__.py
203210
- src/speakeasy_client_sdk_python/models/shared/__init__.py
211+
- src/speakeasy_client_sdk_python/models/internal/globals.py
204212
- src/speakeasy_client_sdk_python/models/internal/__init__.py
205213
- docs/models/operations/deleteapirequest.md
206214
- docs/models/operations/deleteapiresponse.md
@@ -296,6 +304,8 @@ generatedFiles:
296304
- docs/models/operations/githubstorepublishingsecretsresponse.md
297305
- docs/models/operations/triggeractionresponse.md
298306
- docs/models/operations/createfreetrialresponse.md
307+
- docs/models/operations/getorganizationrequest.md
308+
- docs/models/operations/getorganizationresponse.md
299309
- docs/models/operations/getorganizationusageresponse.md
300310
- docs/models/operations/getorganizationsresponse.md
301311
- docs/models/operations/getchangesreportsignedurlrequest.md
@@ -324,6 +334,9 @@ generatedFiles:
324334
- docs/models/operations/getvalidembedaccesstokensresponse.md
325335
- docs/models/operations/revokeembedaccesstokenrequest.md
326336
- docs/models/operations/revokeembedaccesstokenresponse.md
337+
- docs/models/operations/getworkspaceglobals.md
338+
- docs/models/operations/getworkspacerequest.md
339+
- docs/models/operations/getworkspaceresponse.md
327340
- docs/models/operations/getworkspaceeventsbytargetglobals.md
328341
- docs/models/operations/getworkspaceeventsbytargetrequest.md
329342
- docs/models/operations/getworkspaceeventsbytargetresponse.md
@@ -390,10 +403,10 @@ generatedFiles:
390403
- docs/models/shared/githubmissingpublishingsecretsresponse.md
391404
- docs/models/shared/githubstorepublishingsecretsrequest.md
392405
- docs/models/shared/githubtriggeractionrequest.md
393-
- docs/models/shared/organizationusageresponse.md
394-
- docs/models/shared/organizationusage.md
395406
- docs/models/shared/organizationaccounttype.md
396407
- docs/models/shared/organization.md
408+
- docs/models/shared/organizationusageresponse.md
409+
- docs/models/shared/organizationusage.md
397410
- docs/models/shared/type.md
398411
- docs/models/shared/report.md
399412
- docs/models/shared/shorturl.md
@@ -403,6 +416,7 @@ generatedFiles:
403416
- docs/models/shared/suggestoperationidsopts.md
404417
- docs/models/shared/embedaccesstokenresponse.md
405418
- docs/models/shared/embedtoken.md
419+
- docs/models/shared/workspace.md
406420
- docs/models/shared/generatebumptype.md
407421
- docs/models/shared/openapidiffbumptype.md
408422
- docs/models/shared/clievent.md
@@ -425,9 +439,11 @@ generatedFiles:
425439
- docs/sdks/shorturls/README.md
426440
- docs/sdks/suggest/README.md
427441
- docs/sdks/embeds/README.md
442+
- docs/sdks/workspaces/README.md
428443
- docs/sdks/events/README.md
429444
- USAGE.md
430445
- .gitattributes
431446
- src/speakeasy_client_sdk_python/_hooks/sdkhooks.py
432447
- src/speakeasy_client_sdk_python/_hooks/types.py
433448
- src/speakeasy_client_sdk_python/_hooks/__init__.py
449+
- CONTRIBUTING.md

.speakeasy/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: 6.2.0
13+
version: 6.3.0
1414
additionalDependencies:
1515
dev: {}
1616
main: {}

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
speakeasyVersion: 1.332.1
1+
speakeasyVersion: 1.346.3
22
sources:
33
speakeasy-openapi:
44
sourceNamespace: speakeasy-openapi
5-
sourceRevisionDigest: sha256:121b6a8fba2d6cc7179b89ab8591c1e2941f165008a40ce4f11129d7029625af
6-
sourceBlobDigest: sha256:006c8b9bf2fa7c9da133155e3cba4d985edd45e5ebf8e41639a771c7a207fca5
5+
sourceRevisionDigest: sha256:d406788bc634eed35f120d28218a266db43ece356bf8604e3d0e58c11186990e
6+
sourceBlobDigest: sha256:469530993014d334b464cacfcc662663e2e72db61a1ad2838b91e4c8fab4f3f3
77
tags:
88
- latest
99
- main
1010
targets:
1111
speakeasy-client-sdk-python:
1212
source: speakeasy-openapi
1313
sourceNamespace: speakeasy-openapi
14-
sourceRevisionDigest: sha256:121b6a8fba2d6cc7179b89ab8591c1e2941f165008a40ce4f11129d7029625af
15-
sourceBlobDigest: sha256:006c8b9bf2fa7c9da133155e3cba4d985edd45e5ebf8e41639a771c7a207fca5
14+
sourceRevisionDigest: sha256:d406788bc634eed35f120d28218a266db43ece356bf8604e3d0e58c11186990e
15+
sourceBlobDigest: sha256:469530993014d334b464cacfcc662663e2e72db61a1ad2838b91e4c8fab4f3f3
1616
outLocation: /github/workspace/repo
1717
workflow:
1818
workflowVersion: 1.0.0

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"python.testing.pytestArgs": ["tests", "-vv"],
3+
"python.testing.unittestEnabled": false,
4+
"python.testing.pytestEnabled": true
5+
}

CONTRIBUTING.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Contributing to This Repository
2+
3+
Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.
4+
5+
## How to Report Issues
6+
7+
If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:
8+
9+
- A clear and descriptive title
10+
- Steps to reproduce the issue
11+
- Expected and actual behavior
12+
- Any relevant logs, screenshots, or error messages
13+
- Information about your environment (e.g., operating system, software versions)
14+
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed
15+
16+
## Issue Triage and Upstream Fixes
17+
18+
We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.
19+
20+
## Contact
21+
22+
If you have any questions or need further assistance, please feel free to reach out by opening an issue.
23+
24+
Thank you for your understanding and cooperation!
25+
26+
The Maintainers

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ s = Speakeasy(
3232
)
3333

3434

35-
res = s.apis.get_apis(request={})
35+
res = s.apis.get_apis()
3636

3737
if res.apis is not None:
3838
# handle response
@@ -55,7 +55,7 @@ async def main():
5555
api_key=os.getenv("API_KEY", ""),
5656
),
5757
)
58-
res = await s.apis.get_apis_async(request={})
58+
res = await s.apis.get_apis_async()
5959
if res.apis is not None:
6060
# handle response
6161
pass
@@ -143,6 +143,7 @@ asyncio.run(main())
143143
### [organizations](docs/sdks/organizations/README.md)
144144

145145
* [create_free_trial](docs/sdks/organizations/README.md#create_free_trial) - Create a free trial for an organization
146+
* [get_organization](docs/sdks/organizations/README.md#get_organization) - Get organization
146147
* [get_organization_usage](docs/sdks/organizations/README.md#get_organization_usage) - Get billing usage summary for a particular organization
147148
* [get_organizations](docs/sdks/organizations/README.md#get_organizations) - Get organizations for a user
148149

@@ -168,6 +169,10 @@ asyncio.run(main())
168169
* [get_valid_embed_access_tokens](docs/sdks/embeds/README.md#get_valid_embed_access_tokens) - Get all valid embed access tokens for the current workspace.
169170
* [revoke_embed_access_token](docs/sdks/embeds/README.md#revoke_embed_access_token) - Revoke an embed access EmbedToken.
170171

172+
### [workspaces](docs/sdks/workspaces/README.md)
173+
174+
* [get_workspace](docs/sdks/workspaces/README.md#get_workspace) - Get workspace
175+
171176
### [events](docs/sdks/events/README.md)
172177

173178
* [get_workspace_events_by_target](docs/sdks/events/README.md#get_workspace_events_by_target) - Load recent events for a particular workspace
@@ -420,7 +425,7 @@ if res is not None:
420425

421426
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.
422427

423-
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 `get_workspace_events_by_target`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
428+
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 `get_workspace`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
424429

425430

426431
### Available Globals
@@ -446,11 +451,9 @@ s = Speakeasy(
446451
)
447452

448453

449-
res = s.events.get_workspace_events_by_target(request={
450-
"target_id": "<value>",
451-
})
454+
res = s.workspaces.get_workspace()
452455

453-
if res.cli_event_batch is not None:
456+
if res.workspace is not None:
454457
# handle response
455458
pass
456459

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1756,4 +1756,14 @@ Based on:
17561756
### Generated
17571757
- [python v6.2.0] .
17581758
### Releases
1759-
- [PyPI v6.2.0] https://pypi.org/project/speakeasy-client-sdk-python/6.2.0 - .
1759+
- [PyPI v6.2.0] https://pypi.org/project/speakeasy-client-sdk-python/6.2.0 - .
1760+
1761+
## 2024-07-27 00:11:46
1762+
### Changes
1763+
Based on:
1764+
- OpenAPI Doc
1765+
- Speakeasy CLI 1.346.3 (2.379.6) https://github.com/speakeasy-api/speakeasy
1766+
### Generated
1767+
- [python v6.3.0] .
1768+
### Releases
1769+
- [PyPI v6.3.0] https://pypi.org/project/speakeasy-client-sdk-python/6.3.0 - .

USAGE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ s = Speakeasy(
1212
)
1313

1414

15-
res = s.apis.get_apis(request={})
15+
res = s.apis.get_apis()
1616

1717
if res.apis is not None:
1818
# handle response
@@ -35,7 +35,7 @@ async def main():
3535
api_key=os.getenv("API_KEY", ""),
3636
),
3737
)
38-
res = await s.apis.get_apis_async(request={})
38+
res = await s.apis.get_apis_async()
3939
if res.apis is not None:
4040
# handle response
4141
pass
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# GetOrganizationRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- |
8+
| `organization_id` | *str* | :heavy_check_mark: | Unique identifier of the organization. |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# GetOrganizationResponse
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` | [httpx.Response](https://www.python-httpx.org/api/#response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
11+
| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Default error response |
12+
| `organization` | [Optional[shared.Organization]](../../models/shared/organization.md) | :heavy_minus_sign: | OK |

0 commit comments

Comments
 (0)