Skip to content

Commit 1cb2bbf

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0, Speakeasy CLI 1.183.2
1 parent 32a9989 commit 1cb2bbf

File tree

9 files changed

+44
-15
lines changed

9 files changed

+44
-15
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 4 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: c81aa4e807522359d28c09ee16d252ba
4+
docChecksum: 90bb5b2f880d4a86868122f9a6b08d40
55
docVersion: 0.4.0
66
speakeasyVersion: internal
7-
generationVersion: 2.258.0
8-
releaseVersion: 5.2.2
9-
configChecksum: 45a62d301fb93165c7d0110e1b0f78fa
7+
generationVersion: 2.262.2
8+
releaseVersion: 5.2.3
9+
configChecksum: 82e0d29d54ca3c3a456181cbb266710e
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
@@ -182,6 +182,7 @@ generatedFiles:
182182
- docs/models/shared/valuechange.md
183183
- docs/models/shared/schemadiff.md
184184
- docs/models/shared/accessdetails.md
185+
- docs/models/shared/accounttype.md
185186
- docs/models/shared/apikeydetails.md
186187
- docs/models/shared/unboundedrequest.md
187188
- docs/models/shared/boundedrequest.md

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1226,4 +1226,14 @@ Based on:
12261226
### Generated
12271227
- [python v5.2.2] .
12281228
### Releases
1229-
- [PyPI v5.2.2] https://pypi.org/project/speakeasy-client-sdk-python/5.2.2 - .
1229+
- [PyPI v5.2.2] https://pypi.org/project/speakeasy-client-sdk-python/5.2.2 - .
1230+
1231+
## 2024-02-17 00:10:06
1232+
### Changes
1233+
Based on:
1234+
- OpenAPI Doc 0.4.0 https://docs.speakeasyapi.dev/openapi.yaml
1235+
- Speakeasy CLI 1.183.2 (2.262.2) https://github.com/speakeasy-api/speakeasy
1236+
### Generated
1237+
- [python v5.2.3] .
1238+
### Releases
1239+
- [PyPI v5.2.3] https://pypi.org/project/speakeasy-client-sdk-python/5.2.3 - .

docs/models/shared/accounttype.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# AccountType
2+
3+
4+
## Values
5+
6+
| Name | Value |
7+
| ------------ | ------------ |
8+
| `FREE` | free |
9+
| `SCALE_UP` | scale-up |
10+
| `ENTERPRISE` | enterprise |

docs/models/shared/apikeydetails.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- |
8-
| `workspace_id` | *str* | :heavy_check_mark: | N/A |
9-
| `generation_access_unlimited` | *Optional[bool]* | :heavy_minus_sign: | N/A |
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
8+
| `account_type` | [shared.AccountType](../../models/shared/accounttype.md) | :heavy_check_mark: | N/A |
9+
| `workspace_id` | *str* | :heavy_check_mark: | N/A |
10+
| `generation_access_unlimited` | *Optional[bool]* | :heavy_minus_sign: | N/A |

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ generation:
88
parameterOrderingFeb2024: false
99
requestResponseComponentNamesFeb2024: false
1010
python:
11-
version: 5.2.2
11+
version: 5.2.3
1212
author: Speakeasy
1313
clientServerStatusCodesAsErrors: true
1414
description: Speakeasy API Client SDK for Python

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="speakeasy-client-sdk-python",
13-
version="5.2.2",
13+
version="5.2.3",
1414
author="Speakeasy",
1515
description="Speakeasy API Client SDK for Python",
1616
long_description=long_description,

src/speakeasy/models/shared/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
from .versionmetadata import *
2222
from .versionmetadata_input import *
2323

24-
__all__ = ["API","APIEndpoint","APIEndpointInput","APIInput","APIKeyDetails","AccessDetails","BoundedRequest","CliEvent","EmbedAccessTokenResponse","EmbedToken","Filter","Filters","GenerateBumpType","GenerateOpenAPISpecDiff","InteractionType","RequestMetadata","Schema","SchemaDiff","Security","UnboundedRequest","ValueChange","VersionMetadata","VersionMetadataInput"]
24+
__all__ = ["API","APIEndpoint","APIEndpointInput","APIInput","APIKeyDetails","AccessDetails","AccountType","BoundedRequest","CliEvent","EmbedAccessTokenResponse","EmbedToken","Filter","Filters","GenerateBumpType","GenerateOpenAPISpecDiff","InteractionType","RequestMetadata","Schema","SchemaDiff","Security","UnboundedRequest","ValueChange","VersionMetadata","VersionMetadataInput"]

src/speakeasy/models/shared/apikeydetails.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,20 @@
33
from __future__ import annotations
44
import dataclasses
55
from dataclasses_json import Undefined, dataclass_json
6+
from enum import Enum
67
from speakeasy import utils
78
from typing import Optional
89

10+
class AccountType(str, Enum):
11+
FREE = 'free'
12+
SCALE_UP = 'scale-up'
13+
ENTERPRISE = 'enterprise'
14+
915

1016
@dataclass_json(undefined=Undefined.EXCLUDE)
1117
@dataclasses.dataclass
1218
class APIKeyDetails:
19+
account_type: AccountType = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('account_type') }})
1320
workspace_id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('workspace_id') }})
1421
generation_access_unlimited: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('generation_access_unlimited'), 'exclude': lambda f: f is None }})
1522

src/speakeasy/sdkconfiguration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class SDKConfiguration:
2525
globals: Dict[str, Dict[str, Dict[str, Any]]] = field(default_factory=Dict)
2626
language: str = 'python'
2727
openapi_doc_version: str = '0.4.0'
28-
sdk_version: str = '5.2.2'
29-
gen_version: str = '2.258.0'
30-
user_agent: str = 'speakeasy-sdk/python 5.2.2 2.258.0 0.4.0 speakeasy-client-sdk-python'
28+
sdk_version: str = '5.2.3'
29+
gen_version: str = '2.262.2'
30+
user_agent: str = 'speakeasy-sdk/python 5.2.3 2.262.2 0.4.0 speakeasy-client-sdk-python'
3131
retry_config: RetryConfig = None
3232

3333
def get_server_details(self) -> Tuple[str, Dict[str, str]]:

0 commit comments

Comments
 (0)