diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index f250281..ca2b784 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -4,16 +4,16 @@ management: docChecksum: 7ba09a9986f7230b7abacf151bbb031b docVersion: 1.0.1 speakeasyVersion: internal - generationVersion: 2.248.1 - releaseVersion: 0.4.0 - configChecksum: f94880d6c4ae69e0512ee8602378ee68 + generationVersion: 2.250.12 + releaseVersion: 0.5.0 + configChecksum: 8e053b256f630f229efa0c418de789a0 repoURL: https://github.com/speakeasy-sdks/keymate-api-python.git repoSubDirectory: . installationURL: https://github.com/speakeasy-sdks/keymate-api-python.git published: true features: python: - core: 4.4.4 + core: 4.4.5 flattening: 2.81.1 globalSecurity: 2.83.2 globalServerURLs: 2.82.1 diff --git a/RELEASES.md b/RELEASES.md index 3fe8bfb..63705e1 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -148,4 +148,14 @@ Based on: ### Generated - [python v0.4.0] . ### Releases -- [PyPI v0.4.0] https://pypi.org/project/Keymate-API/0.4.0 - . \ No newline at end of file +- [PyPI v0.4.0] https://pypi.org/project/Keymate-API/0.4.0 - . + +## 2024-02-07 00:15:46 +### Changes +Based on: +- OpenAPI Doc 1.0.1 +- Speakeasy CLI 1.170.1 (2.250.12) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.5.0] . +### Releases +- [PyPI v0.5.0] https://pypi.org/project/Keymate-API/0.5.0 - . \ No newline at end of file diff --git a/docs/models/operations/browsebyurlresponse.md b/docs/models/operations/browsebyurlresponse.md index 8f32142..47bebd0 100644 --- a/docs/models/operations/browsebyurlresponse.md +++ b/docs/models/operations/browsebyurlresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `two_hundred_application_json_object` | [Optional[operations.BrowseByURLResponseBody]](../../models/operations/browsebyurlresponsebody.md) | :heavy_minus_sign: | Successful operation | | `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `two_hundred_application_json_object` | [Optional[operations.BrowseByURLResponseBody]](../../models/operations/browsebyurlresponsebody.md) | :heavy_minus_sign: | Successful operation | | `default_application_json_object` | [Optional[operations.BrowseByURLResponseResponseBody]](../../models/operations/browsebyurlresponseresponsebody.md) | :heavy_minus_sign: | Error fetching search results | \ No newline at end of file diff --git a/docs/models/operations/browseresponse.md b/docs/models/operations/browseresponse.md index 672577b..83cd66b 100644 --- a/docs/models/operations/browseresponse.md +++ b/docs/models/operations/browseresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `two_hundred_application_json_object` | [Optional[operations.BrowseResponseBody]](../../models/operations/browseresponsebody.md) | :heavy_minus_sign: | Successful operation | | `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `two_hundred_application_json_object` | [Optional[operations.BrowseResponseBody]](../../models/operations/browseresponsebody.md) | :heavy_minus_sign: | Successful operation | | `default_application_json_object` | [Optional[operations.BrowseResponseResponseBody]](../../models/operations/browseresponseresponsebody.md) | :heavy_minus_sign: | Error fetching search results | \ No newline at end of file diff --git a/docs/models/operations/fastresponse.md b/docs/models/operations/fastresponse.md index cadebea..8fc384d 100644 --- a/docs/models/operations/fastresponse.md +++ b/docs/models/operations/fastresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `two_hundred_application_json_object` | [Optional[operations.FastResponseBody]](../../models/operations/fastresponsebody.md) | :heavy_minus_sign: | Successful operation | | `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `two_hundred_application_json_object` | [Optional[operations.FastResponseBody]](../../models/operations/fastresponsebody.md) | :heavy_minus_sign: | Successful operation | | `default_application_json_object` | [Optional[operations.FastResponseResponseBody]](../../models/operations/fastresponseresponsebody.md) | :heavy_minus_sign: | Error fetching search results | \ No newline at end of file diff --git a/docs/models/operations/hybridresponse.md b/docs/models/operations/hybridresponse.md index 6bf4812..adaf648 100644 --- a/docs/models/operations/hybridresponse.md +++ b/docs/models/operations/hybridresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `two_hundred_application_json_object` | [Optional[operations.HybridResponseBody]](../../models/operations/hybridresponsebody.md) | :heavy_minus_sign: | Successful operation | | `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `two_hundred_application_json_object` | [Optional[operations.HybridResponseBody]](../../models/operations/hybridresponsebody.md) | :heavy_minus_sign: | Successful operation | | `default_application_json_object` | [Optional[operations.HybridResponseResponseBody]](../../models/operations/hybridresponseresponsebody.md) | :heavy_minus_sign: | Error fetching search results | \ No newline at end of file diff --git a/docs/models/operations/keymateresponse.md b/docs/models/operations/keymateresponse.md index e3c5373..bda5ba3 100644 --- a/docs/models/operations/keymateresponse.md +++ b/docs/models/operations/keymateresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `two_hundred_application_json_object` | [Optional[operations.KeymateResponseBody]](../../models/operations/keymateresponsebody.md) | :heavy_minus_sign: | Successful operation | | `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `two_hundred_application_json_object` | [Optional[operations.KeymateResponseBody]](../../models/operations/keymateresponsebody.md) | :heavy_minus_sign: | Successful operation | | `default_application_json_object` | [Optional[operations.KeymateResponseResponseBody]](../../models/operations/keymateresponseresponsebody.md) | :heavy_minus_sign: | Error fetching search results | \ No newline at end of file diff --git a/docs/models/operations/searchandbrowseresponse.md b/docs/models/operations/searchandbrowseresponse.md index 6f27de8..29ba78d 100644 --- a/docs/models/operations/searchandbrowseresponse.md +++ b/docs/models/operations/searchandbrowseresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `two_hundred_application_json_object` | [Optional[operations.SearchAndBrowseResponseBody]](../../models/operations/searchandbrowseresponsebody.md) | :heavy_minus_sign: | Successful operation | | `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `two_hundred_application_json_object` | [Optional[operations.SearchAndBrowseResponseBody]](../../models/operations/searchandbrowseresponsebody.md) | :heavy_minus_sign: | Successful operation | | `default_application_json_object` | [Optional[operations.SearchAndBrowseResponseResponseBody]](../../models/operations/searchandbrowseresponseresponsebody.md) | :heavy_minus_sign: | Error fetching search results | \ No newline at end of file diff --git a/docs/models/operations/searchresponse.md b/docs/models/operations/searchresponse.md index 0156bb0..c432681 100644 --- a/docs/models/operations/searchresponse.md +++ b/docs/models/operations/searchresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `two_hundred_application_json_object` | [Optional[operations.SearchResponseBody]](../../models/operations/searchresponsebody.md) | :heavy_minus_sign: | Successful operation | | `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `two_hundred_application_json_object` | [Optional[operations.SearchResponseBody]](../../models/operations/searchresponsebody.md) | :heavy_minus_sign: | Successful operation | | `default_application_json_object` | [Optional[operations.SearchResponseResponseBody]](../../models/operations/searchresponseresponsebody.md) | :heavy_minus_sign: | Error fetching search results | \ No newline at end of file diff --git a/docs/models/operations/ultrafastsearchresponse.md b/docs/models/operations/ultrafastsearchresponse.md index 30460fc..e9cc903 100644 --- a/docs/models/operations/ultrafastsearchresponse.md +++ b/docs/models/operations/ultrafastsearchresponse.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `two_hundred_application_json_object` | [Optional[operations.UltrafastsearchResponseBody]](../../models/operations/ultrafastsearchresponsebody.md) | :heavy_minus_sign: | Successful operation | | `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | | `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing | +| `two_hundred_application_json_object` | [Optional[operations.UltrafastsearchResponseBody]](../../models/operations/ultrafastsearchresponsebody.md) | :heavy_minus_sign: | Successful operation | | `default_application_json_object` | [Optional[operations.UltrafastsearchResponseResponseBody]](../../models/operations/ultrafastsearchresponseresponsebody.md) | :heavy_minus_sign: | Error fetching search results | \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 096ff23..6e4a6c9 100644 --- a/gen.yaml +++ b/gen.yaml @@ -6,8 +6,9 @@ generation: fixes: nameResolutionDec2023: false parameterOrderingFeb2024: false + requestResponseComponentNamesFeb2024: false python: - version: 0.4.0 + version: 0.5.0 author: Keymate clientServerStatusCodesAsErrors: true description: Python Client SDK Generated by Keymate diff --git a/setup.py b/setup.py index e6ebc2f..e5ad088 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="Keymate-API", - version="0.4.0", + version="0.5.0", author="Keymate", description="Python Client SDK Generated by Keymate", long_description=long_description, diff --git a/src/keymate_api/models/errors/browse.py b/src/keymate_api/models/errors/browse.py index 1327af9..787e9da 100644 --- a/src/keymate_api/models/errors/browse.py +++ b/src/keymate_api/models/errors/browse.py @@ -13,10 +13,10 @@ @dataclasses.dataclass class BrowseResponseBody(Exception): r"""Bad request""" - error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) - r"""Error message""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: True }}) r"""Raw HTTP response; suitable for custom response parsing""" + error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) + r"""Error message""" def __str__(self) -> str: diff --git a/src/keymate_api/models/errors/browsebyurl.py b/src/keymate_api/models/errors/browsebyurl.py index 7377c1c..0d8a4b1 100644 --- a/src/keymate_api/models/errors/browsebyurl.py +++ b/src/keymate_api/models/errors/browsebyurl.py @@ -13,10 +13,10 @@ @dataclasses.dataclass class BrowseByURLResponseBody(Exception): r"""Bad request""" - error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) - r"""Error message""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: True }}) r"""Raw HTTP response; suitable for custom response parsing""" + error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) + r"""Error message""" def __str__(self) -> str: diff --git a/src/keymate_api/models/errors/fast.py b/src/keymate_api/models/errors/fast.py index 952c2bc..b4e6444 100644 --- a/src/keymate_api/models/errors/fast.py +++ b/src/keymate_api/models/errors/fast.py @@ -13,10 +13,10 @@ @dataclasses.dataclass class FastResponseBody(Exception): r"""Bad request""" - error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) - r"""Error message""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: True }}) r"""Raw HTTP response; suitable for custom response parsing""" + error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) + r"""Error message""" def __str__(self) -> str: diff --git a/src/keymate_api/models/errors/hybrid.py b/src/keymate_api/models/errors/hybrid.py index c0fcd4c..1bfd704 100644 --- a/src/keymate_api/models/errors/hybrid.py +++ b/src/keymate_api/models/errors/hybrid.py @@ -13,10 +13,10 @@ @dataclasses.dataclass class HybridResponseBody(Exception): r"""Bad request""" - error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) - r"""Error message""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: True }}) r"""Raw HTTP response; suitable for custom response parsing""" + error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) + r"""Error message""" def __str__(self) -> str: diff --git a/src/keymate_api/models/errors/keymate.py b/src/keymate_api/models/errors/keymate.py index 461c036..d7ce2e0 100644 --- a/src/keymate_api/models/errors/keymate.py +++ b/src/keymate_api/models/errors/keymate.py @@ -13,10 +13,10 @@ @dataclasses.dataclass class KeymateResponseBody(Exception): r"""Bad request""" - error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) - r"""Error message""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: True }}) r"""Raw HTTP response; suitable for custom response parsing""" + error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) + r"""Error message""" def __str__(self) -> str: diff --git a/src/keymate_api/models/errors/search.py b/src/keymate_api/models/errors/search.py index 945b53a..4a18605 100644 --- a/src/keymate_api/models/errors/search.py +++ b/src/keymate_api/models/errors/search.py @@ -13,10 +13,10 @@ @dataclasses.dataclass class SearchResponseBody(Exception): r"""Bad request""" - error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) - r"""Error message""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: True }}) r"""Raw HTTP response; suitable for custom response parsing""" + error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) + r"""Error message""" def __str__(self) -> str: diff --git a/src/keymate_api/models/errors/searchandbrowse.py b/src/keymate_api/models/errors/searchandbrowse.py index d53029e..02aa82d 100644 --- a/src/keymate_api/models/errors/searchandbrowse.py +++ b/src/keymate_api/models/errors/searchandbrowse.py @@ -13,10 +13,10 @@ @dataclasses.dataclass class SearchAndBrowseResponseBody(Exception): r"""Bad request""" - error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) - r"""Error message""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: True }}) r"""Raw HTTP response; suitable for custom response parsing""" + error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) + r"""Error message""" def __str__(self) -> str: diff --git a/src/keymate_api/models/errors/ultrafastsearch.py b/src/keymate_api/models/errors/ultrafastsearch.py index bdf9891..e72a20b 100644 --- a/src/keymate_api/models/errors/ultrafastsearch.py +++ b/src/keymate_api/models/errors/ultrafastsearch.py @@ -13,10 +13,10 @@ @dataclasses.dataclass class UltrafastsearchResponseBody(Exception): r"""Bad request""" - error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) - r"""Error message""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'exclude': lambda f: True }}) r"""Raw HTTP response; suitable for custom response parsing""" + error: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('error'), 'exclude': lambda f: f is None }}) + r"""Error message""" def __str__(self) -> str: diff --git a/src/keymate_api/models/operations/browse.py b/src/keymate_api/models/operations/browse.py index 18c082f..cebba45 100644 --- a/src/keymate_api/models/operations/browse.py +++ b/src/keymate_api/models/operations/browse.py @@ -62,10 +62,10 @@ class BrowseResponseBody: class BrowseResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" two_hundred_application_json_object: Optional[BrowseResponseBody] = dataclasses.field(default=None) r"""Successful operation""" default_application_json_object: Optional[BrowseResponseResponseBody] = dataclasses.field(default=None) diff --git a/src/keymate_api/models/operations/browsebyurl.py b/src/keymate_api/models/operations/browsebyurl.py index 23a2398..761541e 100644 --- a/src/keymate_api/models/operations/browsebyurl.py +++ b/src/keymate_api/models/operations/browsebyurl.py @@ -62,10 +62,10 @@ class BrowseByURLResponseBody: class BrowseByURLResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" two_hundred_application_json_object: Optional[BrowseByURLResponseBody] = dataclasses.field(default=None) r"""Successful operation""" default_application_json_object: Optional[BrowseByURLResponseResponseBody] = dataclasses.field(default=None) diff --git a/src/keymate_api/models/operations/document.py b/src/keymate_api/models/operations/document.py index f4372a6..6ae3702 100644 --- a/src/keymate_api/models/operations/document.py +++ b/src/keymate_api/models/operations/document.py @@ -62,10 +62,10 @@ class DocumentResponseBody: class DocumentResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[DocumentResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/fast.py b/src/keymate_api/models/operations/fast.py index 3038269..6143931 100644 --- a/src/keymate_api/models/operations/fast.py +++ b/src/keymate_api/models/operations/fast.py @@ -60,10 +60,10 @@ class FastResponseBody: class FastResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" two_hundred_application_json_object: Optional[FastResponseBody] = dataclasses.field(default=None) r"""Successful operation""" default_application_json_object: Optional[FastResponseResponseBody] = dataclasses.field(default=None) diff --git a/src/keymate_api/models/operations/halloween.py b/src/keymate_api/models/operations/halloween.py index 16f17cb..8e46c24 100644 --- a/src/keymate_api/models/operations/halloween.py +++ b/src/keymate_api/models/operations/halloween.py @@ -82,10 +82,10 @@ class HalloweenResponseBody: class HalloweenResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[HalloweenResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/help.py b/src/keymate_api/models/operations/help.py index 2719ef0..f1a7f87 100644 --- a/src/keymate_api/models/operations/help.py +++ b/src/keymate_api/models/operations/help.py @@ -82,10 +82,10 @@ class HelpResponseBody: class HelpResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[HelpResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/hybrid.py b/src/keymate_api/models/operations/hybrid.py index 6e23acf..8851554 100644 --- a/src/keymate_api/models/operations/hybrid.py +++ b/src/keymate_api/models/operations/hybrid.py @@ -60,10 +60,10 @@ class HybridResponseBody: class HybridResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" two_hundred_application_json_object: Optional[HybridResponseBody] = dataclasses.field(default=None) r"""Successful operation""" default_application_json_object: Optional[HybridResponseResponseBody] = dataclasses.field(default=None) diff --git a/src/keymate_api/models/operations/insert.py b/src/keymate_api/models/operations/insert.py index c4994a7..cc76392 100644 --- a/src/keymate_api/models/operations/insert.py +++ b/src/keymate_api/models/operations/insert.py @@ -38,10 +38,10 @@ class InsertResponseBody: class InsertResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[InsertResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/keymate.py b/src/keymate_api/models/operations/keymate.py index 23b46a4..97e0d24 100644 --- a/src/keymate_api/models/operations/keymate.py +++ b/src/keymate_api/models/operations/keymate.py @@ -60,10 +60,10 @@ class KeymateResponseBody: class KeymateResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" two_hundred_application_json_object: Optional[KeymateResponseBody] = dataclasses.field(default=None) r"""Successful operation""" default_application_json_object: Optional[KeymateResponseResponseBody] = dataclasses.field(default=None) diff --git a/src/keymate_api/models/operations/list.py b/src/keymate_api/models/operations/list.py index a41d119..29e64df 100644 --- a/src/keymate_api/models/operations/list.py +++ b/src/keymate_api/models/operations/list.py @@ -39,10 +39,10 @@ class ListResponseBody: class ListResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[ListResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/listpdfs.py b/src/keymate_api/models/operations/listpdfs.py index 3b3c614..7bc1d69 100644 --- a/src/keymate_api/models/operations/listpdfs.py +++ b/src/keymate_api/models/operations/listpdfs.py @@ -50,10 +50,10 @@ class ListpdfsResponseBody: class ListpdfsResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[ListpdfsResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/metadatakb.py b/src/keymate_api/models/operations/metadatakb.py index 57afb93..ac42a7f 100644 --- a/src/keymate_api/models/operations/metadatakb.py +++ b/src/keymate_api/models/operations/metadatakb.py @@ -58,10 +58,10 @@ class MetadatakbResponseBody: class MetadatakbResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[MetadatakbResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/pdfload.py b/src/keymate_api/models/operations/pdfload.py index 97bd10e..860bf05 100644 --- a/src/keymate_api/models/operations/pdfload.py +++ b/src/keymate_api/models/operations/pdfload.py @@ -30,10 +30,10 @@ class PdfloadResponseBody: class PdfloadResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[PdfloadResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/pdfpro.py b/src/keymate_api/models/operations/pdfpro.py index c4a0efa..083fdf2 100644 --- a/src/keymate_api/models/operations/pdfpro.py +++ b/src/keymate_api/models/operations/pdfpro.py @@ -62,10 +62,10 @@ class PdfproResponseBody: class PdfproResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[PdfproResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/pdfsearch.py b/src/keymate_api/models/operations/pdfsearch.py index 5d2ba9a..8ea0afb 100644 --- a/src/keymate_api/models/operations/pdfsearch.py +++ b/src/keymate_api/models/operations/pdfsearch.py @@ -58,10 +58,10 @@ class PdfsearchResponseBody: class PdfsearchResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[PdfsearchResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/pkb.py b/src/keymate_api/models/operations/pkb.py index 3685e3c..a1b881f 100644 --- a/src/keymate_api/models/operations/pkb.py +++ b/src/keymate_api/models/operations/pkb.py @@ -58,10 +58,10 @@ class PkbResponseBody: class PkbResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[PkbResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/query.py b/src/keymate_api/models/operations/query.py index ab8dcd1..0f6e34b 100644 --- a/src/keymate_api/models/operations/query.py +++ b/src/keymate_api/models/operations/query.py @@ -58,10 +58,10 @@ class QueryResponseBody: class QueryResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[QueryResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/queryusersknowledgebase.py b/src/keymate_api/models/operations/queryusersknowledgebase.py index 149d745..6ba616b 100644 --- a/src/keymate_api/models/operations/queryusersknowledgebase.py +++ b/src/keymate_api/models/operations/queryusersknowledgebase.py @@ -58,10 +58,10 @@ class QueryUsersKnowledgeBaseResponseBody: class QueryUsersKnowledgeBaseResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[QueryUsersKnowledgeBaseResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/resetknowledgebase.py b/src/keymate_api/models/operations/resetknowledgebase.py index dade5a4..a5b2a31 100644 --- a/src/keymate_api/models/operations/resetknowledgebase.py +++ b/src/keymate_api/models/operations/resetknowledgebase.py @@ -38,10 +38,10 @@ class ResetknowledgebaseResponseBody: class ResetknowledgebaseResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[ResetknowledgebaseResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/resetusersknowledgebase.py b/src/keymate_api/models/operations/resetusersknowledgebase.py index e06a6c2..3dc1677 100644 --- a/src/keymate_api/models/operations/resetusersknowledgebase.py +++ b/src/keymate_api/models/operations/resetusersknowledgebase.py @@ -38,10 +38,10 @@ class ResetUsersKnowledgeBaseResponseBody: class ResetUsersKnowledgeBaseResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[ResetUsersKnowledgeBaseResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/savetopkb.py b/src/keymate_api/models/operations/savetopkb.py index 69a7588..8fbbb07 100644 --- a/src/keymate_api/models/operations/savetopkb.py +++ b/src/keymate_api/models/operations/savetopkb.py @@ -38,10 +38,10 @@ class SavetopkbResponseBody: class SavetopkbResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[SavetopkbResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/search.py b/src/keymate_api/models/operations/search.py index f9d1733..ef2bfec 100644 --- a/src/keymate_api/models/operations/search.py +++ b/src/keymate_api/models/operations/search.py @@ -60,10 +60,10 @@ class SearchResponseBody: class SearchResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" two_hundred_application_json_object: Optional[SearchResponseBody] = dataclasses.field(default=None) r"""Successful operation""" default_application_json_object: Optional[SearchResponseResponseBody] = dataclasses.field(default=None) diff --git a/src/keymate_api/models/operations/searchandbrowse.py b/src/keymate_api/models/operations/searchandbrowse.py index 621bc03..c2f1581 100644 --- a/src/keymate_api/models/operations/searchandbrowse.py +++ b/src/keymate_api/models/operations/searchandbrowse.py @@ -60,10 +60,10 @@ class SearchAndBrowseResponseBody: class SearchAndBrowseResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" two_hundred_application_json_object: Optional[SearchAndBrowseResponseBody] = dataclasses.field(default=None) r"""Successful operation""" default_application_json_object: Optional[SearchAndBrowseResponseResponseBody] = dataclasses.field(default=None) diff --git a/src/keymate_api/models/operations/ultrafastsearch.py b/src/keymate_api/models/operations/ultrafastsearch.py index 9a89d79..43692ad 100644 --- a/src/keymate_api/models/operations/ultrafastsearch.py +++ b/src/keymate_api/models/operations/ultrafastsearch.py @@ -60,10 +60,10 @@ class UltrafastsearchResponseBody: class UltrafastsearchResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" two_hundred_application_json_object: Optional[UltrafastsearchResponseBody] = dataclasses.field(default=None) r"""Successful operation""" default_application_json_object: Optional[UltrafastsearchResponseResponseBody] = dataclasses.field(default=None) diff --git a/src/keymate_api/models/operations/upsert.py b/src/keymate_api/models/operations/upsert.py index 6b73f5e..744efea 100644 --- a/src/keymate_api/models/operations/upsert.py +++ b/src/keymate_api/models/operations/upsert.py @@ -38,10 +38,10 @@ class UpsertResponseBody: class UpsertResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[UpsertResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/upsertjson.py b/src/keymate_api/models/operations/upsertjson.py index 79bbd9a..94c3a94 100644 --- a/src/keymate_api/models/operations/upsertjson.py +++ b/src/keymate_api/models/operations/upsertjson.py @@ -39,10 +39,10 @@ class UpsertjsonResponseBody: class UpsertjsonResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[UpsertjsonResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/models/operations/upserttousersknowledgebase.py b/src/keymate_api/models/operations/upserttousersknowledgebase.py index 60cee13..21210dc 100644 --- a/src/keymate_api/models/operations/upserttousersknowledgebase.py +++ b/src/keymate_api/models/operations/upserttousersknowledgebase.py @@ -38,10 +38,10 @@ class UpsertToUsersKnowledgeBaseResponseBody: class UpsertToUsersKnowledgeBaseResponse: content_type: str = dataclasses.field() r"""HTTP response content type for this operation""" - raw_response: requests_http.Response = dataclasses.field() - r"""Raw HTTP response; suitable for custom response parsing""" status_code: int = dataclasses.field() r"""HTTP response status code for this operation""" + raw_response: requests_http.Response = dataclasses.field() + r"""Raw HTTP response; suitable for custom response parsing""" object: Optional[UpsertToUsersKnowledgeBaseResponseBody] = dataclasses.field(default=None) r"""Successful operation""" diff --git a/src/keymate_api/sdkconfiguration.py b/src/keymate_api/sdkconfiguration.py index 441d18b..1b456ce 100644 --- a/src/keymate_api/sdkconfiguration.py +++ b/src/keymate_api/sdkconfiguration.py @@ -21,9 +21,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.1' - sdk_version: str = '0.4.0' - gen_version: str = '2.248.1' - user_agent: str = 'speakeasy-sdk/python 0.4.0 2.248.1 1.0.1 Keymate-API' + sdk_version: str = '0.5.0' + gen_version: str = '2.250.12' + user_agent: str = 'speakeasy-sdk/python 0.5.0 2.250.12 1.0.1 Keymate-API' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: