From 63fc03d353dffd64fe43502c1115fa0ce228a255 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 1 Apr 2023 00:30:28 +0000 Subject: [PATCH 01/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.19.3 --- organization/README.md | 2 +- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/pylintrc | 12 +++++------- organization/setup.py | 2 +- .../src/epilot/models/shared/organization.py | 4 ++-- organization/src/epilot/organization_settings.py | 2 -- organization/src/epilot/sdk.py | 4 ++-- 8 files changed, 21 insertions(+), 19 deletions(-) diff --git a/organization/README.md b/organization/README.md index 8e9e99265..88a01d0a5 100755 --- a/organization/README.md +++ b/organization/README.md @@ -33,7 +33,7 @@ if res.organization is not None: -## SDK Available Operations +## Available Resources and Operations ### organization diff --git a/organization/RELEASES.md b/organization/RELEASES.md index f85ab81a5..aa06f0760 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -34,4 +34,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy + +## 2023-04-01 00:30:16 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 7f631f894..e2ba0fb1e 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.19.2 - generationVersion: 2.16.5 + speakeasyVersion: 1.19.3 + generationVersion: 2.16.7 generation: telemetryEnabled: false sdkClassName: epilot sdkFlattening: true singleTagPerOp: false python: - version: 1.2.2 + version: 1.2.3 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/pylintrc b/organization/pylintrc index 79b8008d0..1a0ea35b7 100755 --- a/organization/pylintrc +++ b/organization/pylintrc @@ -124,12 +124,7 @@ attr-naming-style=snake_case #attr-rgx= # Bad variable names which should always be refused, separated by a comma. -bad-names=foo, - bar, - baz, - toto, - tutu, - tata +bad-names= # Bad variable names regexes, separated by a comma. If names match any regex, # they will always be refused @@ -439,7 +434,10 @@ disable=raw-checker-failed, trailing-newlines, too-many-public-methods, too-many-locals, - too-many-lines + too-many-lines, + using-constant-test, + too-many-statements, + cyclic-import, # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option diff --git a/organization/setup.py b/organization/setup.py index f1f368155..a41a61c7b 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.2.2", + version="1.2.3", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/models/shared/organization.py b/organization/src/epilot/models/shared/organization.py index 8f2650291..59e7c9d73 100755 --- a/organization/src/epilot/models/shared/organization.py +++ b/organization/src/epilot/models/shared/organization.py @@ -19,8 +19,8 @@ class OrganizationAddress: street_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street_number'), 'exclude': lambda f: f is None }}) class OrganizationTypeEnum(str, Enum): - VENDOR = "Vendor" - PARTNER = "Partner" + VENDOR = 'Vendor' + PARTNER = 'Partner' @dataclass_json(undefined=Undefined.EXCLUDE) diff --git a/organization/src/epilot/organization_settings.py b/organization/src/epilot/organization_settings.py index b00fd3ea6..25cb8f415 100755 --- a/organization/src/epilot/organization_settings.py +++ b/organization/src/epilot/organization_settings.py @@ -38,8 +38,6 @@ def delete_settings_value(self, request: operations.DeleteSettingsValueRequest) res = operations.DeleteSettingsValueResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) - if http_res.status_code == 200: - pass return res diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 43e023f2c..c3718d4a5 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.2.2" - _gen_version: str = "2.16.5" + _sdk_version: str = "1.2.3" + _gen_version: str = "2.16.7" def __init__(self, security: shared.Security = None, From 3a1f6c0d45dab12b6a7553a8e22b78995546a09b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 6 Apr 2023 00:27:54 +0000 Subject: [PATCH 02/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.19.6 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index aa06f0760..bccda83f2 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -40,4 +40,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy + +## 2023-04-06 00:27:42 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index e2ba0fb1e..3c83a51c2 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.19.3 - generationVersion: 2.16.7 + speakeasyVersion: 1.19.6 + generationVersion: 2.17.8 generation: telemetryEnabled: false sdkClassName: epilot sdkFlattening: true singleTagPerOp: false python: - version: 1.2.3 + version: 1.3.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index a41a61c7b..d07172e77 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.2.3", + version="1.3.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index c3718d4a5..57bc1edf4 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.2.3" - _gen_version: str = "2.16.7" + _sdk_version: str = "1.3.0" + _gen_version: str = "2.17.8" def __init__(self, security: shared.Security = None, From bc47f861507bb9bd03ef0c9bc51675dc509de843 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 12 Apr 2023 00:28:28 +0000 Subject: [PATCH 03/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.19.7 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index bccda83f2..3d0a86471 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -46,4 +46,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy + +## 2023-04-12 00:28:17 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.19.7 (2.17.9) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 3c83a51c2..af22b373b 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.19.6 - generationVersion: 2.17.8 + speakeasyVersion: 1.19.7 + generationVersion: 2.17.9 generation: telemetryEnabled: false sdkClassName: epilot - sdkFlattening: true + sdkFlattening: false singleTagPerOp: false python: - version: 1.3.0 + version: 1.3.1 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index d07172e77..83c786a55 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.3.0", + version="1.3.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 57bc1edf4..01de780a9 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.3.0" - _gen_version: str = "2.17.8" + _sdk_version: str = "1.3.1" + _gen_version: str = "2.17.9" def __init__(self, security: shared.Security = None, From 0b4b77fd63f475442d0a92c6a90765e2573e2811 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 14 Apr 2023 00:27:23 +0000 Subject: [PATCH 04/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.20.0 --- organization/RELEASES.md | 8 +- organization/gen.yaml | 6 +- organization/pylintrc | 1 + organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 +- organization/src/epilot/utils/utils.py | 127 ++++++++++++++----------- 6 files changed, 84 insertions(+), 64 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 3d0a86471..4b8524892 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -52,4 +52,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.19.7 (2.17.9) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.19.7 (2.17.9) https://github.com/speakeasy-api/speakeasy + +## 2023-04-14 00:27:12 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.20.0 (2.18.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index af22b373b..607b93114 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,15 +2,15 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.19.7 - generationVersion: 2.17.9 + speakeasyVersion: 1.20.0 + generationVersion: 2.18.0 generation: telemetryEnabled: false sdkClassName: epilot sdkFlattening: false singleTagPerOp: false python: - version: 1.3.1 + version: 1.4.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/pylintrc b/organization/pylintrc index 1a0ea35b7..1ce47d88d 100755 --- a/organization/pylintrc +++ b/organization/pylintrc @@ -438,6 +438,7 @@ disable=raw-checker-failed, using-constant-test, too-many-statements, cyclic-import, + too-many-nested-blocks # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option diff --git a/organization/setup.py b/organization/setup.py index 83c786a55..0f86b3347 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.3.1", + version="1.4.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 01de780a9..4545cd0d7 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.3.1" - _gen_version: str = "2.17.9" + _sdk_version: str = "1.4.0" + _gen_version: str = "2.18.0" def __init__(self, security: shared.Security = None, diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py index 9d4fba324..986a86937 100755 --- a/organization/src/epilot/utils/utils.py +++ b/organization/src/epilot/utils/utils.py @@ -152,62 +152,71 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass if param_metadata is None: continue - if param_metadata.get('style', 'simple') == 'simple': - param = getattr( - path_params, field.name) if path_params is not None else None - param = _populate_from_globals( - field.name, param, 'pathParam', gbls) + param = getattr( + path_params, field.name) if path_params is not None else None + param = _populate_from_globals( + field.name, param, 'pathParam', gbls) - if param is None: - continue - - if isinstance(param, list): - pp_vals: list[str] = [] - for pp_val in param: - if pp_val is None: - continue - pp_vals.append(_val_to_string(pp_val)) - path = path.replace( - '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) - elif isinstance(param, dict): - pp_vals: list[str] = [] - for pp_key in param: - if param[pp_key] is None: - continue - if param_metadata.get('explode'): - pp_vals.append( - f"{pp_key}={_val_to_string(param[pp_key])}") - else: - pp_vals.append( - f"{pp_key},{_val_to_string(param[pp_key])}") - path = path.replace( - '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) - elif not isinstance(param, (str, int, float, complex, bool)): - pp_vals: list[str] = [] - param_fields: Tuple[Field, ...] = fields(param) - for param_field in param_fields: - param_value_metadata = param_field.metadata.get( - 'path_param') - if not param_value_metadata: - continue - - parm_name = param_value_metadata.get( - 'field_name', field.name) + if param is None: + continue - param_field_val = getattr(param, param_field.name) - if param_field_val is None: - continue - if param_metadata.get('explode'): - pp_vals.append( - f"{parm_name}={_val_to_string(param_field_val)}") - else: - pp_vals.append( - f"{parm_name},{_val_to_string(param_field_val)}") - path = path.replace( - '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) - else: + f_name = param_metadata.get("field_name", field.name) + serialization = param_metadata.get('serialization', '') + if serialization != '': + serialized_params = _get_serialized_params( + param_metadata, f_name, param) + for key, value in serialized_params.items(): path = path.replace( - '{' + param_metadata.get('field_name', field.name) + '}', _val_to_string(param), 1) + '{' + key + '}', value, 1) + else: + if param_metadata.get('style', 'simple') == 'simple': + if isinstance(param, list): + pp_vals: list[str] = [] + for pp_val in param: + if pp_val is None: + continue + pp_vals.append(_val_to_string(pp_val)) + path = path.replace( + '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) + elif isinstance(param, dict): + pp_vals: list[str] = [] + for pp_key in param: + if param[pp_key] is None: + continue + if param_metadata.get('explode'): + pp_vals.append( + f"{pp_key}={_val_to_string(param[pp_key])}") + else: + pp_vals.append( + f"{pp_key},{_val_to_string(param[pp_key])}") + path = path.replace( + '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) + elif not isinstance(param, (str, int, float, complex, bool)): + pp_vals: list[str] = [] + param_fields: Tuple[Field, ...] = fields(param) + for param_field in param_fields: + param_value_metadata = param_field.metadata.get( + 'path_param') + if not param_value_metadata: + continue + + parm_name = param_value_metadata.get( + 'field_name', field.name) + + param_field_val = getattr(param, param_field.name) + if param_field_val is None: + continue + if param_metadata.get('explode'): + pp_vals.append( + f"{parm_name}={_val_to_string(param_field_val)}") + else: + pp_vals.append( + f"{parm_name},{_val_to_string(param_field_val)}") + path = path.replace( + '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) + else: + path = path.replace( + '{' + param_metadata.get('field_name', field.name) + '}', _val_to_string(param), 1) return server_url.removesuffix("/") + path @@ -246,8 +255,12 @@ def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[ f_name = metadata.get("field_name") serialization = metadata.get('serialization', '') if serialization != '': - params = params | _get_serialized_query_params( - metadata, f_name, value) + serialized_parms = _get_serialized_params(metadata, f_name, value) + for key, value in serialized_parms.items(): + if key in params: + params[key].extend(value) + else: + params[key] = [value] else: style = metadata.get('style', 'form') if style == 'deepObject': @@ -282,8 +295,8 @@ def get_headers(headers_params: dataclass) -> dict[str, str]: return headers -def _get_serialized_query_params(metadata: dict, field_name: str, obj: any) -> dict[str, list[str]]: - params: dict[str, list[str]] = {} +def _get_serialized_params(metadata: dict, field_name: str, obj: any) -> dict[str, str]: + params: dict[str, str] = {} serialization = metadata.get('serialization', '') if serialization == 'json': From f96f53f14799366ab6c2a9f113ccdf7df146d763 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 18 Apr 2023 00:27:52 +0000 Subject: [PATCH 05/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.20.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 7 +++---- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 4b8524892..2d1d4eca8 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -58,4 +58,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.20.0 (2.18.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.20.0 (2.18.0) https://github.com/speakeasy-api/speakeasy + +## 2023-04-18 00:27:39 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.20.1 (2.18.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 607b93114..0c9507961 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,15 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.20.0 - generationVersion: 2.18.0 + speakeasyVersion: 1.20.1 + generationVersion: 2.18.1 generation: telemetryEnabled: false sdkClassName: epilot - sdkFlattening: false singleTagPerOp: false python: - version: 1.4.0 + version: 1.4.1 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index 0f86b3347..9e98bc1eb 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.4.0", + version="1.4.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 4545cd0d7..1efd13549 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.4.0" - _gen_version: str = "2.18.0" + _sdk_version: str = "1.4.1" + _gen_version: str = "2.18.1" def __init__(self, security: shared.Security = None, From ae2732aaab34e05752d1aa40e5c56096b6a7701f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 19 Apr 2023 00:30:15 +0000 Subject: [PATCH 06/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.20.2 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 2d1d4eca8..22698f037 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -64,4 +64,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.20.1 (2.18.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.20.1 (2.18.1) https://github.com/speakeasy-api/speakeasy + +## 2023-04-19 00:30:04 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.20.2 (2.18.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 0c9507961..6ff8f5991 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.20.1 - generationVersion: 2.18.1 + speakeasyVersion: 1.20.2 + generationVersion: 2.18.2 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.4.1 + version: 1.4.2 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index 9e98bc1eb..9fedb8a72 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.4.1", + version="1.4.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 1efd13549..f9aaa8d5b 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.4.1" - _gen_version: str = "2.18.1" + _sdk_version: str = "1.4.2" + _gen_version: str = "2.18.2" def __init__(self, security: shared.Security = None, From 6a515ab2415448018c8220e1d81ff4f0ade4774f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 21 Apr 2023 00:28:24 +0000 Subject: [PATCH 07/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.21.4 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 22698f037..df4090ff0 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -70,4 +70,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.20.2 (2.18.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.20.2 (2.18.2) https://github.com/speakeasy-api/speakeasy + +## 2023-04-21 00:28:13 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.21.4 (2.19.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 6ff8f5991..f8783104e 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.20.2 - generationVersion: 2.18.2 + speakeasyVersion: 1.21.4 + generationVersion: 2.19.1 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.4.2 + version: 1.5.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index 9fedb8a72..155a2f97a 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.4.2", + version="1.5.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index f9aaa8d5b..5bcae0cdb 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.4.2" - _gen_version: str = "2.18.2" + _sdk_version: str = "1.5.0" + _gen_version: str = "2.19.1" def __init__(self, security: shared.Security = None, From 43b60e2f95c90d09ea9e956c84367ebcd2295389 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 22 Apr 2023 00:28:26 +0000 Subject: [PATCH 08/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.22.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index df4090ff0..4c45135b1 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -76,4 +76,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.21.4 (2.19.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.21.4 (2.19.1) https://github.com/speakeasy-api/speakeasy + +## 2023-04-22 00:28:13 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.22.1 (2.20.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index f8783104e..3fcaed7a0 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.21.4 - generationVersion: 2.19.1 + speakeasyVersion: 1.22.1 + generationVersion: 2.20.1 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.5.0 + version: 1.6.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index 155a2f97a..f59645d4a 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.5.0", + version="1.6.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 5bcae0cdb..f096e0197 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.5.0" - _gen_version: str = "2.19.1" + _sdk_version: str = "1.6.0" + _gen_version: str = "2.20.1" def __init__(self, security: shared.Security = None, From 370e9ea99fcfefc79a957f3010905e24c40e4ecb Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 26 Apr 2023 00:28:59 +0000 Subject: [PATCH 09/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.23.1 --- organization/README.md | 18 ++-- organization/RELEASES.md | 8 +- organization/USAGE.md | 4 +- organization/docs/epilot/README.md | 8 ++ organization/docs/organization/README.md | 91 ++++++++++++++++ .../docs/organizationsettings/README.md | 100 ++++++++++++++++++ organization/files.gen | 3 + organization/gen.yaml | 6 +- organization/setup.py | 4 +- organization/src/epilot/sdk.py | 4 +- 10 files changed, 227 insertions(+), 19 deletions(-) create mode 100755 organization/docs/epilot/README.md create mode 100755 organization/docs/organization/README.md create mode 100755 organization/docs/organizationsettings/README.md diff --git a/organization/README.md b/organization/README.md index 88a01d0a5..b5768d6b7 100755 --- a/organization/README.md +++ b/organization/README.md @@ -12,7 +12,7 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=organi ```python import epilot -from epilot.models import operations, shared +from epilot.models import operations s = epilot.Epilot( security=shared.Security( @@ -24,7 +24,7 @@ s = epilot.Epilot( req = operations.GetOrganizationRequest( org_id="739224", ) - + res = s.organization.get_organization(req) if res.organization is not None: @@ -36,16 +36,16 @@ if res.organization is not None: ## Available Resources and Operations -### organization +### [organization](docs/organization/README.md) -* `get_organization` - getOrganization -* `update_organization` - updateOrganization +* [get_organization](docs/organization/README.md#get_organization) - getOrganization +* [update_organization](docs/organization/README.md#update_organization) - updateOrganization -### organization_settings +### [organization_settings](docs/organizationsettings/README.md) -* `delete_settings_value` - deleteSettingsValue -* `get_settings` - getSettings -* `put_settings_value` - putSettingsValue +* [delete_settings_value](docs/organizationsettings/README.md#delete_settings_value) - deleteSettingsValue +* [get_settings](docs/organizationsettings/README.md#get_settings) - getSettings +* [put_settings_value](docs/organizationsettings/README.md#put_settings_value) - putSettingsValue ### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 4c45135b1..d4345bf33 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -82,4 +82,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.22.1 (2.20.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.22.1 (2.20.1) https://github.com/speakeasy-api/speakeasy + +## 2023-04-26 00:28:48 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.23.1 (2.21.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/USAGE.md b/organization/USAGE.md index 07bd65102..dd0bb570c 100755 --- a/organization/USAGE.md +++ b/organization/USAGE.md @@ -1,7 +1,7 @@ ```python import epilot -from epilot.models import operations, shared +from epilot.models import operations s = epilot.Epilot( security=shared.Security( @@ -13,7 +13,7 @@ s = epilot.Epilot( req = operations.GetOrganizationRequest( org_id="739224", ) - + res = s.organization.get_organization(req) if res.organization is not None: diff --git a/organization/docs/epilot/README.md b/organization/docs/epilot/README.md new file mode 100755 index 000000000..96f4a6b1e --- /dev/null +++ b/organization/docs/epilot/README.md @@ -0,0 +1,8 @@ +# Epilot SDK + +## Overview + +Manage epilot tenant organizations + +### Available Operations + diff --git a/organization/docs/organization/README.md b/organization/docs/organization/README.md new file mode 100755 index 000000000..839380d5b --- /dev/null +++ b/organization/docs/organization/README.md @@ -0,0 +1,91 @@ +# organization + +## Overview + +Organization info + +### Available Operations + +* [get_organization](#get_organization) - getOrganization +* [update_organization](#update_organization) - updateOrganization + +## get_organization + +getOrganization + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = operations.GetOrganizationRequest( + org_id="739224", +) + +res = s.organization.get_organization(req) + +if res.organization is not None: + # handle response +``` + +## update_organization + +updateOrganization + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = operations.UpdateOrganizationRequest( + organization=shared.Organization( + address=shared.OrganizationAddress( + city="Laruecester", + country="Suriname", + postal_code="85846-6342", + street="092 Jasper Skyway", + street_number="placeat", + ), + email="someone@epilot.cloud", + free_user_limit=50, + id="739224", + is_unlicensed_org=False, + logo_thumbnail_url="https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png", + logo_url="https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png", + name="Epilot", + phone="49123123123", + pricing_tier="professional", + signature="

Thanks

", + style={ + "iusto": "excepturi", + "nisi": "recusandae", + "temporibus": "ab", + }, + symbol="EPI", + type="Vendor", + website="https://epilot.cloud", + ), + org_id="739224", +) + +res = s.organization.update_organization(req) + +if res.organization is not None: + # handle response +``` diff --git a/organization/docs/organizationsettings/README.md b/organization/docs/organizationsettings/README.md new file mode 100755 index 000000000..2e84540d1 --- /dev/null +++ b/organization/docs/organizationsettings/README.md @@ -0,0 +1,100 @@ +# organization_settings + +## Overview + +Organisation Settings + +### Available Operations + +* [delete_settings_value](#delete_settings_value) - deleteSettingsValue +* [get_settings](#get_settings) - getSettings +* [put_settings_value](#put_settings_value) - putSettingsValue + +## delete_settings_value + +Updates an organizatio nsetting + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = operations.DeleteSettingsValueRequest( + key="veritatis", + org_id="739224", +) + +res = s.organization_settings.delete_settings_value(req) + +if res.status_code == 200: + # handle response +``` + +## get_settings + +Get full organization settings object + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = operations.GetSettingsRequest( + org_id="739224", +) + +res = s.organization_settings.get_settings(req) + +if res.settings is not None: + # handle response +``` + +## put_settings_value + +Updates an organization setting + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + ), +) + + +req = operations.PutSettingsValueRequest( + request_body=[ + { + "repellendus": "sapiente", + "quo": "odit", + }, + ], + key="at", + org_id="739224", +) + +res = s.organization_settings.put_settings_value(req) + +if res.settings_value is not None: + # handle response +``` diff --git a/organization/files.gen b/organization/files.gen index 821f44718..923670b53 100755 --- a/organization/files.gen +++ b/organization/files.gen @@ -17,4 +17,7 @@ src/epilot/models/operations/__init__.py src/epilot/models/shared/organization.py src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py +docs/epilot/README.md +docs/organization/README.md +docs/organizationsettings/README.md USAGE.md \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 3fcaed7a0..2c35b20dc 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.22.1 - generationVersion: 2.20.1 + speakeasyVersion: 1.23.1 + generationVersion: 2.21.1 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.6.0 + version: 1.7.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index f59645d4a..e75e63e23 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,14 +10,14 @@ setuptools.setup( name="epilot-organization", - version="1.6.0", + version="1.7.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, long_description_content_type="text/markdown", packages=setuptools.find_packages(where="src"), install_requires=[ - "certifi==2022.12.07", + "certifi==2022.12.7", "charset-normalizer==2.1.1", "dataclasses-json-speakeasy==0.5.8", "idna==3.3", diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index f096e0197..47cc8e0f2 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.6.0" - _gen_version: str = "2.20.1" + _sdk_version: str = "1.7.0" + _gen_version: str = "2.21.1" def __init__(self, security: shared.Security = None, From c50b7e22bd85884038719297cebe139c5e48f4a4 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 27 Apr 2023 00:31:03 +0000 Subject: [PATCH 10/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.25.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index d4345bf33..e21965745 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -88,4 +88,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.23.1 (2.21.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.23.1 (2.21.1) https://github.com/speakeasy-api/speakeasy + +## 2023-04-27 00:30:50 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.25.1 (2.22.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 2c35b20dc..48ae2f9f0 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.23.1 - generationVersion: 2.21.1 + speakeasyVersion: 1.25.1 + generationVersion: 2.22.0 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.7.0 + version: 1.8.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index e75e63e23..95c0f7029 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.7.0", + version="1.8.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 47cc8e0f2..4639c586a 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.7.0" - _gen_version: str = "2.21.1" + _sdk_version: str = "1.8.0" + _gen_version: str = "2.22.0" def __init__(self, security: shared.Security = None, From ee923912cb9af72d598b8fa234f62c1af7a20ac8 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 28 Apr 2023 00:30:01 +0000 Subject: [PATCH 11/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.26.2 --- organization/RELEASES.md | 8 ++- organization/gen.yaml | 6 +- organization/setup.py | 2 +- .../models/operations/deletesettingsvalue.py | 15 +++-- .../models/operations/getorganization.py | 15 +++-- .../epilot/models/operations/getsettings.py | 15 +++-- .../models/operations/putsettingsvalue.py | 21 ++++--- .../models/operations/updateorganization.py | 18 ++++-- .../src/epilot/models/shared/organization.py | 60 ++++++++++++------- .../src/epilot/models/shared/security.py | 3 +- organization/src/epilot/sdk.py | 4 +- 11 files changed, 111 insertions(+), 56 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index e21965745..6dc71b830 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -94,4 +94,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.25.1 (2.22.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.25.1 (2.22.0) https://github.com/speakeasy-api/speakeasy + +## 2023-04-28 00:29:50 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.26.2 (2.23.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 48ae2f9f0..5220043e4 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.25.1 - generationVersion: 2.22.0 + speakeasyVersion: 1.26.2 + generationVersion: 2.23.2 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.8.0 + version: 1.9.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index 95c0f7029..76f8a748d 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.8.0", + version="1.9.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/models/operations/deletesettingsvalue.py b/organization/src/epilot/models/operations/deletesettingsvalue.py index 67a1884fd..369f4c59f 100755 --- a/organization/src/epilot/models/operations/deletesettingsvalue.py +++ b/organization/src/epilot/models/operations/deletesettingsvalue.py @@ -10,15 +10,20 @@ class DeleteSettingsValueRequest: key: str = dataclasses.field(metadata={'path_param': { 'field_name': 'key', 'style': 'simple', 'explode': False }}) - r"""Organization setting key""" + + r"""Organization setting key""" org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) - r"""The Id of the organization.""" + + r"""The Id of the organization.""" @dataclasses.dataclass class DeleteSettingsValueResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/organization/src/epilot/models/operations/getorganization.py b/organization/src/epilot/models/operations/getorganization.py index 150be9116..80af9cd75 100755 --- a/organization/src/epilot/models/operations/getorganization.py +++ b/organization/src/epilot/models/operations/getorganization.py @@ -11,15 +11,20 @@ class GetOrganizationRequest: org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) - r"""The Id of the organization.""" + + r"""The Id of the organization.""" @dataclasses.dataclass class GetOrganizationResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + organization: Optional[shared_organization.Organization] = dataclasses.field(default=None) - r"""The returned organization""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The returned organization""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/organization/src/epilot/models/operations/getsettings.py b/organization/src/epilot/models/operations/getsettings.py index 06c1f8884..4d3c680e7 100755 --- a/organization/src/epilot/models/operations/getsettings.py +++ b/organization/src/epilot/models/operations/getsettings.py @@ -10,15 +10,20 @@ class GetSettingsRequest: org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) - r"""The Id of the organization.""" + + r"""The Id of the organization.""" @dataclasses.dataclass class GetSettingsResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + settings: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""Returns the organization settings""" + + r"""Returns the organization settings""" \ No newline at end of file diff --git a/organization/src/epilot/models/operations/putsettingsvalue.py b/organization/src/epilot/models/operations/putsettingsvalue.py index e74656dfb..e3101490f 100755 --- a/organization/src/epilot/models/operations/putsettingsvalue.py +++ b/organization/src/epilot/models/operations/putsettingsvalue.py @@ -10,19 +10,26 @@ class PutSettingsValueRequest: key: str = dataclasses.field(metadata={'path_param': { 'field_name': 'key', 'style': 'simple', 'explode': False }}) - r"""Organization setting key""" + + r"""Organization setting key""" org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) - r"""The Id of the organization.""" + + r"""The Id of the organization.""" request_body: Optional[Any] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) - r"""Value to set""" + + r"""Value to set""" @dataclasses.dataclass class PutSettingsValueResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + settings_value: Optional[Any] = dataclasses.field(default=None) - r"""Returns the value of the setting""" + + r"""Returns the value of the setting""" \ No newline at end of file diff --git a/organization/src/epilot/models/operations/updateorganization.py b/organization/src/epilot/models/operations/updateorganization.py index 189b19e01..339b6ecd2 100755 --- a/organization/src/epilot/models/operations/updateorganization.py +++ b/organization/src/epilot/models/operations/updateorganization.py @@ -11,16 +11,22 @@ class UpdateOrganizationRequest: org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) - r"""The Id of the organization.""" - organization: Optional[shared_organization.Organization] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) + + r"""The Id of the organization.""" + organization: Optional[shared_organization.Organization] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) + @dataclasses.dataclass class UpdateOrganizationResponse: - content_type: str = dataclasses.field() - status_code: int = dataclasses.field() + content_type: str = dataclasses.field() + + status_code: int = dataclasses.field() + organization: Optional[shared_organization.Organization] = dataclasses.field(default=None) - r"""The updated organization""" - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + + r"""The updated organization""" + raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + \ No newline at end of file diff --git a/organization/src/epilot/models/shared/organization.py b/organization/src/epilot/models/shared/organization.py index 59e7c9d73..bcbf80abd 100755 --- a/organization/src/epilot/models/shared/organization.py +++ b/organization/src/epilot/models/shared/organization.py @@ -12,11 +12,16 @@ @dataclasses.dataclass class OrganizationAddress: - city: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('city'), 'exclude': lambda f: f is None }}) - country: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('country'), 'exclude': lambda f: f is None }}) - postal_code: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('postal_code'), 'exclude': lambda f: f is None }}) - street: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street'), 'exclude': lambda f: f is None }}) - street_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street_number'), 'exclude': lambda f: f is None }}) + city: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('city'), 'exclude': lambda f: f is None }}) + + country: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('country'), 'exclude': lambda f: f is None }}) + + postal_code: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('postal_code'), 'exclude': lambda f: f is None }}) + + street: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street'), 'exclude': lambda f: f is None }}) + + street_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street_number'), 'exclude': lambda f: f is None }}) + class OrganizationTypeEnum(str, Enum): VENDOR = 'Vendor' @@ -28,20 +33,35 @@ class OrganizationTypeEnum(str, Enum): class Organization: r"""The returned organization""" - address: Optional[OrganizationAddress] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('address'), 'exclude': lambda f: f is None }}) - email: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email'), 'exclude': lambda f: f is None }}) - free_user_limit: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('free_user_limit'), 'exclude': lambda f: f is None }}) - id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) - is_unlicensed_org: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_unlicensed_org'), 'exclude': lambda f: f is None }}) - logo_thumbnail_url: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logo_thumbnail_url'), 'exclude': lambda f: f is None }}) - logo_url: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logo_url'), 'exclude': lambda f: f is None }}) - name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - phone: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('phone'), 'exclude': lambda f: f is None }}) - pricing_tier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pricing_tier'), 'exclude': lambda f: f is None }}) - signature: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('signature'), 'exclude': lambda f: f is None }}) + address: Optional[OrganizationAddress] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('address'), 'exclude': lambda f: f is None }}) + + email: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email'), 'exclude': lambda f: f is None }}) + + free_user_limit: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('free_user_limit'), 'exclude': lambda f: f is None }}) + + id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) + + is_unlicensed_org: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_unlicensed_org'), 'exclude': lambda f: f is None }}) + + logo_thumbnail_url: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logo_thumbnail_url'), 'exclude': lambda f: f is None }}) + + logo_url: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logo_url'), 'exclude': lambda f: f is None }}) + + name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) + + phone: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('phone'), 'exclude': lambda f: f is None }}) + + pricing_tier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pricing_tier'), 'exclude': lambda f: f is None }}) + + signature: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('signature'), 'exclude': lambda f: f is None }}) + style: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('style'), 'exclude': lambda f: f is None }}) - r"""Organization style setting (e.g. font setting)""" - symbol: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('symbol'), 'exclude': lambda f: f is None }}) - type: Optional[OrganizationTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) - website: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('website'), 'exclude': lambda f: f is None }}) + + r"""Organization style setting (e.g. font setting)""" + symbol: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('symbol'), 'exclude': lambda f: f is None }}) + + type: Optional[OrganizationTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) + + website: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('website'), 'exclude': lambda f: f is None }}) + \ No newline at end of file diff --git a/organization/src/epilot/models/shared/security.py b/organization/src/epilot/models/shared/security.py index cca0d01c8..2157ebc16 100755 --- a/organization/src/epilot/models/shared/security.py +++ b/organization/src/epilot/models/shared/security.py @@ -7,5 +7,6 @@ @dataclasses.dataclass class Security: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) + \ No newline at end of file diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 4639c586a..3ccbe5d5f 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.8.0" - _gen_version: str = "2.22.0" + _sdk_version: str = "1.9.0" + _gen_version: str = "2.23.2" def __init__(self, security: shared.Security = None, From 401aebd537847eb55e3d8d3b157d408556471f98 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 29 Apr 2023 00:27:44 +0000 Subject: [PATCH 12/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.26.3 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- .../models/operations/deletesettingsvalue.py | 5 ----- .../models/operations/getorganization.py | 5 ----- .../epilot/models/operations/getsettings.py | 5 ----- .../models/operations/putsettingsvalue.py | 7 ------- .../models/operations/updateorganization.py | 6 ------ .../src/epilot/models/shared/organization.py | 20 ------------------- .../src/epilot/models/shared/security.py | 1 - organization/src/epilot/sdk.py | 4 ++-- 11 files changed, 13 insertions(+), 56 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 6dc71b830..1364df533 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -100,4 +100,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.26.2 (2.23.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.26.2 (2.23.2) https://github.com/speakeasy-api/speakeasy + +## 2023-04-29 00:27:32 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.26.3 (2.23.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 5220043e4..001a0f619 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.26.2 - generationVersion: 2.23.2 + speakeasyVersion: 1.26.3 + generationVersion: 2.23.3 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.9.0 + version: 1.9.1 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index 76f8a748d..a8a5ec8fe 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.9.0", + version="1.9.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/models/operations/deletesettingsvalue.py b/organization/src/epilot/models/operations/deletesettingsvalue.py index 369f4c59f..01aec70d7 100755 --- a/organization/src/epilot/models/operations/deletesettingsvalue.py +++ b/organization/src/epilot/models/operations/deletesettingsvalue.py @@ -10,10 +10,8 @@ class DeleteSettingsValueRequest: key: str = dataclasses.field(metadata={'path_param': { 'field_name': 'key', 'style': 'simple', 'explode': False }}) - r"""Organization setting key""" org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) - r"""The Id of the organization.""" @@ -21,9 +19,6 @@ class DeleteSettingsValueRequest: class DeleteSettingsValueResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/organization/src/epilot/models/operations/getorganization.py b/organization/src/epilot/models/operations/getorganization.py index 80af9cd75..4c85bf2b3 100755 --- a/organization/src/epilot/models/operations/getorganization.py +++ b/organization/src/epilot/models/operations/getorganization.py @@ -11,7 +11,6 @@ class GetOrganizationRequest: org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) - r"""The Id of the organization.""" @@ -19,12 +18,8 @@ class GetOrganizationRequest: class GetOrganizationResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - organization: Optional[shared_organization.Organization] = dataclasses.field(default=None) - r"""The returned organization""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/organization/src/epilot/models/operations/getsettings.py b/organization/src/epilot/models/operations/getsettings.py index 4d3c680e7..9ff027d03 100755 --- a/organization/src/epilot/models/operations/getsettings.py +++ b/organization/src/epilot/models/operations/getsettings.py @@ -10,7 +10,6 @@ class GetSettingsRequest: org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) - r"""The Id of the organization.""" @@ -18,12 +17,8 @@ class GetSettingsRequest: class GetSettingsResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - settings: Optional[dict[str, Any]] = dataclasses.field(default=None) - r"""Returns the organization settings""" \ No newline at end of file diff --git a/organization/src/epilot/models/operations/putsettingsvalue.py b/organization/src/epilot/models/operations/putsettingsvalue.py index e3101490f..d3cd11b4f 100755 --- a/organization/src/epilot/models/operations/putsettingsvalue.py +++ b/organization/src/epilot/models/operations/putsettingsvalue.py @@ -10,13 +10,10 @@ class PutSettingsValueRequest: key: str = dataclasses.field(metadata={'path_param': { 'field_name': 'key', 'style': 'simple', 'explode': False }}) - r"""Organization setting key""" org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) - r"""The Id of the organization.""" request_body: Optional[Any] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) - r"""Value to set""" @@ -24,12 +21,8 @@ class PutSettingsValueRequest: class PutSettingsValueResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - settings_value: Optional[Any] = dataclasses.field(default=None) - r"""Returns the value of the setting""" \ No newline at end of file diff --git a/organization/src/epilot/models/operations/updateorganization.py b/organization/src/epilot/models/operations/updateorganization.py index 339b6ecd2..802d7ba4b 100755 --- a/organization/src/epilot/models/operations/updateorganization.py +++ b/organization/src/epilot/models/operations/updateorganization.py @@ -11,22 +11,16 @@ class UpdateOrganizationRequest: org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) - r"""The Id of the organization.""" organization: Optional[shared_organization.Organization] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) - @dataclasses.dataclass class UpdateOrganizationResponse: content_type: str = dataclasses.field() - status_code: int = dataclasses.field() - organization: Optional[shared_organization.Organization] = dataclasses.field(default=None) - r"""The updated organization""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file diff --git a/organization/src/epilot/models/shared/organization.py b/organization/src/epilot/models/shared/organization.py index bcbf80abd..d10239ebe 100755 --- a/organization/src/epilot/models/shared/organization.py +++ b/organization/src/epilot/models/shared/organization.py @@ -13,15 +13,10 @@ class OrganizationAddress: city: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('city'), 'exclude': lambda f: f is None }}) - country: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('country'), 'exclude': lambda f: f is None }}) - postal_code: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('postal_code'), 'exclude': lambda f: f is None }}) - street: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street'), 'exclude': lambda f: f is None }}) - street_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street_number'), 'exclude': lambda f: f is None }}) - class OrganizationTypeEnum(str, Enum): VENDOR = 'Vendor' @@ -34,34 +29,19 @@ class Organization: r"""The returned organization""" address: Optional[OrganizationAddress] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('address'), 'exclude': lambda f: f is None }}) - email: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email'), 'exclude': lambda f: f is None }}) - free_user_limit: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('free_user_limit'), 'exclude': lambda f: f is None }}) - id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) - is_unlicensed_org: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_unlicensed_org'), 'exclude': lambda f: f is None }}) - logo_thumbnail_url: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logo_thumbnail_url'), 'exclude': lambda f: f is None }}) - logo_url: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logo_url'), 'exclude': lambda f: f is None }}) - name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - phone: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('phone'), 'exclude': lambda f: f is None }}) - pricing_tier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pricing_tier'), 'exclude': lambda f: f is None }}) - signature: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('signature'), 'exclude': lambda f: f is None }}) - style: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('style'), 'exclude': lambda f: f is None }}) - r"""Organization style setting (e.g. font setting)""" symbol: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('symbol'), 'exclude': lambda f: f is None }}) - type: Optional[OrganizationTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) - website: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('website'), 'exclude': lambda f: f is None }}) - \ No newline at end of file diff --git a/organization/src/epilot/models/shared/security.py b/organization/src/epilot/models/shared/security.py index 2157ebc16..7be3d6e93 100755 --- a/organization/src/epilot/models/shared/security.py +++ b/organization/src/epilot/models/shared/security.py @@ -8,5 +8,4 @@ class Security: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - \ No newline at end of file diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 3ccbe5d5f..e0aface3c 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.9.0" - _gen_version: str = "2.23.2" + _sdk_version: str = "1.9.1" + _gen_version: str = "2.23.3" def __init__(self, security: shared.Security = None, From df0984f1f1035629e0c6293ee150c3d9678f6a67 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sun, 30 Apr 2023 00:31:40 +0000 Subject: [PATCH 13/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.26.4 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 1364df533..e0ac466f7 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -106,4 +106,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.26.3 (2.23.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.26.3 (2.23.3) https://github.com/speakeasy-api/speakeasy + +## 2023-04-30 00:31:26 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.26.4 (2.23.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 001a0f619..c6ffeff86 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.26.3 - generationVersion: 2.23.3 + speakeasyVersion: 1.26.4 + generationVersion: 2.23.4 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.9.1 + version: 1.9.2 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index a8a5ec8fe..bcc63be59 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.9.1", + version="1.9.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index e0aface3c..6cd16ab60 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.9.1" - _gen_version: str = "2.23.3" + _sdk_version: str = "1.9.2" + _gen_version: str = "2.23.4" def __init__(self, security: shared.Security = None, From 445cfc9a579ae7cc19b1a798ed75304c3635ea37 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 2 May 2023 00:28:30 +0000 Subject: [PATCH 14/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.26.5 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index e0ac466f7..784ab37bc 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -112,4 +112,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.26.4 (2.23.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.26.4 (2.23.4) https://github.com/speakeasy-api/speakeasy + +## 2023-05-02 00:28:18 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.26.5 (2.23.6) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index c6ffeff86..28f7d63b2 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.26.4 - generationVersion: 2.23.4 + speakeasyVersion: 1.26.5 + generationVersion: 2.23.6 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.9.2 + version: 1.9.3 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index bcc63be59..5d290d373 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.9.2", + version="1.9.3", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 6cd16ab60..f63af6298 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.9.2" - _gen_version: str = "2.23.4" + _sdk_version: str = "1.9.3" + _gen_version: str = "2.23.6" def __init__(self, security: shared.Security = None, From 9438410c4bf1210d56e34cc4b4222ca2151688e8 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 3 May 2023 00:27:56 +0000 Subject: [PATCH 15/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.27.0 --- organization/README.md | 2 +- organization/RELEASES.md | 8 +++- organization/USAGE.md | 2 +- organization/docs/organization/README.md | 42 +++++++++---------- .../docs/organizationsettings/README.md | 14 +++---- organization/gen.yaml | 6 +-- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 +- organization/src/epilot/utils/utils.py | 2 +- 9 files changed, 44 insertions(+), 38 deletions(-) diff --git a/organization/README.md b/organization/README.md index b5768d6b7..4abd78db9 100755 --- a/organization/README.md +++ b/organization/README.md @@ -22,7 +22,7 @@ s = epilot.Epilot( req = operations.GetOrganizationRequest( - org_id="739224", + org_id='739224', ) res = s.organization.get_organization(req) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 784ab37bc..157bf9214 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -118,4 +118,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.26.5 (2.23.6) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.26.5 (2.23.6) https://github.com/speakeasy-api/speakeasy + +## 2023-05-03 00:27:45 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/USAGE.md b/organization/USAGE.md index dd0bb570c..71ee8e045 100755 --- a/organization/USAGE.md +++ b/organization/USAGE.md @@ -11,7 +11,7 @@ s = epilot.Epilot( req = operations.GetOrganizationRequest( - org_id="739224", + org_id='739224', ) res = s.organization.get_organization(req) diff --git a/organization/docs/organization/README.md b/organization/docs/organization/README.md index 839380d5b..d7b379792 100755 --- a/organization/docs/organization/README.md +++ b/organization/docs/organization/README.md @@ -27,7 +27,7 @@ s = epilot.Epilot( req = operations.GetOrganizationRequest( - org_id="739224", + org_id='739224', ) res = s.organization.get_organization(req) @@ -56,32 +56,32 @@ s = epilot.Epilot( req = operations.UpdateOrganizationRequest( organization=shared.Organization( address=shared.OrganizationAddress( - city="Laruecester", - country="Suriname", - postal_code="85846-6342", - street="092 Jasper Skyway", - street_number="placeat", + city='Laruecester', + country='Suriname', + postal_code='85846-6342', + street='092 Jasper Skyway', + street_number='placeat', ), - email="someone@epilot.cloud", + email='someone@epilot.cloud', free_user_limit=50, - id="739224", + id='739224', is_unlicensed_org=False, - logo_thumbnail_url="https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png", - logo_url="https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png", - name="Epilot", - phone="49123123123", - pricing_tier="professional", - signature="

Thanks

", + logo_thumbnail_url='https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png', + logo_url='https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png', + name='Epilot', + phone='49123123123', + pricing_tier='professional', + signature='

Thanks

', style={ - "iusto": "excepturi", - "nisi": "recusandae", - "temporibus": "ab", + "iusto": 'excepturi', + "nisi": 'recusandae', + "temporibus": 'ab', }, - symbol="EPI", - type="Vendor", - website="https://epilot.cloud", + symbol='EPI', + type=shared.OrganizationTypeEnum.VENDOR, + website='https://epilot.cloud', ), - org_id="739224", + org_id='739224', ) res = s.organization.update_organization(req) diff --git a/organization/docs/organizationsettings/README.md b/organization/docs/organizationsettings/README.md index 2e84540d1..07194abde 100755 --- a/organization/docs/organizationsettings/README.md +++ b/organization/docs/organizationsettings/README.md @@ -28,8 +28,8 @@ s = epilot.Epilot( req = operations.DeleteSettingsValueRequest( - key="veritatis", - org_id="739224", + key='veritatis', + org_id='739224', ) res = s.organization_settings.delete_settings_value(req) @@ -56,7 +56,7 @@ s = epilot.Epilot( req = operations.GetSettingsRequest( - org_id="739224", + org_id='739224', ) res = s.organization_settings.get_settings(req) @@ -85,12 +85,12 @@ s = epilot.Epilot( req = operations.PutSettingsValueRequest( request_body=[ { - "repellendus": "sapiente", - "quo": "odit", + "repellendus": 'sapiente', + "quo": 'odit', }, ], - key="at", - org_id="739224", + key='at', + org_id='739224', ) res = s.organization_settings.put_settings_value(req) diff --git a/organization/gen.yaml b/organization/gen.yaml index 28f7d63b2..61e98c828 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.26.5 - generationVersion: 2.23.6 + speakeasyVersion: 1.27.0 + generationVersion: 2.24.0 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.9.3 + version: 1.10.0 author: epilot description: Python Client SDK for Epilot packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index 5d290d373..288d4d0f2 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.9.3", + version="1.10.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index f63af6298..6c2fe10d6 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.9.3" - _gen_version: str = "2.23.6" + _sdk_version: str = "1.10.0" + _gen_version: str = "2.24.0" def __init__(self, security: shared.Security = None, diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py index 986a86937..63dce946b 100755 --- a/organization/src/epilot/utils/utils.py +++ b/organization/src/epilot/utils/utils.py @@ -731,7 +731,7 @@ def _val_to_string(val): if isinstance(val, datetime): return val.isoformat().replace('+00:00', 'Z') if isinstance(val, Enum): - return val.value + return str(val.value) return str(val) From 5e9a0e5c2fea98d3cc8d45fddb39678b8df99788 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 5 May 2023 00:27:09 +0000 Subject: [PATCH 16/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.29.0 --- organization/README.md | 1 - organization/RELEASES.md | 8 ++- organization/USAGE.md | 1 - organization/docs/organization/README.md | 2 - .../docs/organizationsettings/README.md | 3 -- organization/gen.yaml | 7 +-- organization/setup.py | 2 +- organization/src/epilot/organization.py | 2 + .../src/epilot/organization_settings.py | 3 ++ organization/src/epilot/sdk.py | 4 +- organization/src/epilot/utils/utils.py | 53 ++++++++++++------- 11 files changed, 52 insertions(+), 34 deletions(-) diff --git a/organization/README.md b/organization/README.md index 4abd78db9..57b63523c 100755 --- a/organization/README.md +++ b/organization/README.md @@ -20,7 +20,6 @@ s = epilot.Epilot( ), ) - req = operations.GetOrganizationRequest( org_id='739224', ) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 157bf9214..24049d165 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -124,4 +124,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-05 00:26:58 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.29.0 (2.26.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/USAGE.md b/organization/USAGE.md index 71ee8e045..aacce8d6e 100755 --- a/organization/USAGE.md +++ b/organization/USAGE.md @@ -9,7 +9,6 @@ s = epilot.Epilot( ), ) - req = operations.GetOrganizationRequest( org_id='739224', ) diff --git a/organization/docs/organization/README.md b/organization/docs/organization/README.md index d7b379792..0e918a18b 100755 --- a/organization/docs/organization/README.md +++ b/organization/docs/organization/README.md @@ -25,7 +25,6 @@ s = epilot.Epilot( ), ) - req = operations.GetOrganizationRequest( org_id='739224', ) @@ -52,7 +51,6 @@ s = epilot.Epilot( ), ) - req = operations.UpdateOrganizationRequest( organization=shared.Organization( address=shared.OrganizationAddress( diff --git a/organization/docs/organizationsettings/README.md b/organization/docs/organizationsettings/README.md index 07194abde..6d2f59dcc 100755 --- a/organization/docs/organizationsettings/README.md +++ b/organization/docs/organizationsettings/README.md @@ -26,7 +26,6 @@ s = epilot.Epilot( ), ) - req = operations.DeleteSettingsValueRequest( key='veritatis', org_id='739224', @@ -54,7 +53,6 @@ s = epilot.Epilot( ), ) - req = operations.GetSettingsRequest( org_id='739224', ) @@ -81,7 +79,6 @@ s = epilot.Epilot( ), ) - req = operations.PutSettingsValueRequest( request_body=[ { diff --git a/organization/gen.yaml b/organization/gen.yaml index 61e98c828..2c6426935 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,15 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.27.0 - generationVersion: 2.24.0 + speakeasyVersion: 1.29.0 + generationVersion: 2.26.0 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.10.0 + version: 1.11.0 author: epilot description: Python Client SDK for Epilot + maxMethodParams: 0 packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index 288d4d0f2..c6c7ea264 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.10.0", + version="1.11.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/organization.py b/organization/src/epilot/organization.py index 45de00621..f6a2adafa 100755 --- a/organization/src/epilot/organization.py +++ b/organization/src/epilot/organization.py @@ -22,6 +22,7 @@ def __init__(self, client: requests_http.Session, security_client: requests_http self._sdk_version = sdk_version self._gen_version = gen_version + def get_organization(self, request: operations.GetOrganizationRequest) -> operations.GetOrganizationResponse: r"""getOrganization""" base_url = self._server_url @@ -43,6 +44,7 @@ def get_organization(self, request: operations.GetOrganizationRequest) -> operat return res + def update_organization(self, request: operations.UpdateOrganizationRequest) -> operations.UpdateOrganizationResponse: r"""updateOrganization""" base_url = self._server_url diff --git a/organization/src/epilot/organization_settings.py b/organization/src/epilot/organization_settings.py index 25cb8f415..fce6417f1 100755 --- a/organization/src/epilot/organization_settings.py +++ b/organization/src/epilot/organization_settings.py @@ -22,6 +22,7 @@ def __init__(self, client: requests_http.Session, security_client: requests_http self._sdk_version = sdk_version self._gen_version = gen_version + def delete_settings_value(self, request: operations.DeleteSettingsValueRequest) -> operations.DeleteSettingsValueResponse: r"""deleteSettingsValue Updates an organizatio nsetting @@ -41,6 +42,7 @@ def delete_settings_value(self, request: operations.DeleteSettingsValueRequest) return res + def get_settings(self, request: operations.GetSettingsRequest) -> operations.GetSettingsResponse: r"""getSettings Get full organization settings object @@ -64,6 +66,7 @@ def get_settings(self, request: operations.GetSettingsRequest) -> operations.Get return res + def put_settings_value(self, request: operations.PutSettingsValueRequest) -> operations.PutSettingsValueResponse: r"""putSettingsValue Updates an organization setting diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 6c2fe10d6..00c131640 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.10.0" - _gen_version: str = "2.24.0" + _sdk_version: str = "1.11.0" + _gen_version: str = "2.26.0" def __init__(self, security: shared.Security = None, diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py index 63dce946b..a8b0d8f14 100755 --- a/organization/src/epilot/utils/utils.py +++ b/organization/src/epilot/utils/utils.py @@ -141,7 +141,8 @@ def _parse_basic_auth_scheme(client: SecurityClient, scheme: dataclass): client.client.headers['Authorization'] = f'Basic {base64.b64encode(data).decode()}' -def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass, gbls: dict[str, dict[str, dict[str, Any]]] = None) -> str: +def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass, + gbls: dict[str, dict[str, dict[str, Any]]] = None) -> str: path_param_fields: Tuple[Field, ...] = fields(clazz) for field in path_param_fields: request_metadata = field.metadata.get('request') @@ -233,7 +234,8 @@ def template_url(url_with_params: str, params: dict[str, str]) -> str: return url_with_params -def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[str, dict[str, Any]]] = None) -> dict[str, list[str]]: +def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[str, dict[str, Any]]] = None) -> dict[ + str, list[str]]: params: dict[str, list[str]] = {} param_fields: Tuple[Field, ...] = fields(clazz) @@ -267,8 +269,11 @@ def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[ params = params | _get_deep_object_query_params( metadata, f_name, value) elif style == 'form': - params = params | _get_form_query_params( - metadata, f_name, value) + params = params | _get_delimited_query_params( + metadata, f_name, value, ",") + elif style == 'pipeDelimited': + params = params | _get_delimited_query_params( + metadata, f_name, value, "|") else: raise Exception('not yet implemented') return params @@ -327,12 +332,15 @@ def _get_deep_object_query_params(metadata: dict, field_name: str, obj: any) -> if val is None: continue - if params.get(f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]') is None: - params[f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]'] = [ + if params.get( + f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]') is None: + params[ + f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]'] = [ ] params[ - f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]'].append(_val_to_string(val)) + f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]'].append( + _val_to_string(val)) else: params[ f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]'] = [ @@ -368,25 +376,28 @@ def _get_query_param_field_name(obj_field: Field) -> str: return obj_param_metadata.get("field_name", obj_field.name) -def _get_form_query_params(metadata: dict, field_name: str, obj: any) -> dict[str, list[str]]: - return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name) +def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, array_delimiter: str) -> dict[ + str, list[str]]: + return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name, array_delimiter) SERIALIZATION_METHOD_TO_CONTENT_TYPE = { - 'json': 'application/json', - 'form': 'application/x-www-form-urlencoded', + 'json': 'application/json', + 'form': 'application/x-www-form-urlencoded', 'multipart': 'multipart/form-data', - 'raw': 'application/octet-stream', - 'string': 'text/plain', + 'raw': 'application/octet-stream', + 'string': 'text/plain', } -def serialize_request_body(request: dataclass, request_field_name: str, serialization_method: str) -> Tuple[str, any, any]: +def serialize_request_body(request: dataclass, request_field_name: str, serialization_method: str) -> Tuple[ + str, any, any]: if request is None: return None, None, None, None if not is_dataclass(request) or not hasattr(request, request_field_name): - return serialize_content_type(request_field_name, SERIALIZATION_METHOD_TO_CONTENT_TYPE[serialization_method], request) + return serialize_content_type(request_field_name, SERIALIZATION_METHOD_TO_CONTENT_TYPE[serialization_method], + request) request_val = getattr(request, request_field_name) @@ -401,7 +412,8 @@ def serialize_request_body(request: dataclass, request_field_name: str, serializ if request_metadata is None: raise Exception('invalid request type') - return serialize_content_type(request_field_name, request_metadata.get('media_type', 'application/octet-stream'), request_val) + return serialize_content_type(request_field_name, request_metadata.get('media_type', 'application/octet-stream'), + request_val) def serialize_content_type(field_name: str, media_type: str, request: dataclass) -> Tuple[str, any, list[list[any]]]: @@ -474,7 +486,7 @@ def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, def serialize_dict(original: dict, explode: bool, field_name, existing: Optional[dict[str, list[str]]]) -> dict[ - str, list[str]]: + str, list[str]]: if existing is None: existing = [] @@ -514,7 +526,7 @@ def serialize_form_data(field_name: str, data: dataclass) -> dict[str, any]: else: if metadata.get('style', 'form') == 'form': form = form | _populate_form( - field_name, metadata.get('explode', True), val, _get_form_field_name) + field_name, metadata.get('explode', True), val, _get_form_field_name, ",") else: raise Exception( f'Invalid form style for field {field.name}') @@ -536,7 +548,8 @@ def _get_form_field_name(obj_field: Field) -> str: return obj_param_metadata.get("field_name", obj_field.name) -def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_func: Callable) -> dict[str, list[str]]: +def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_func: Callable, array_delimiter: str) -> \ + dict[str, list[str]]: params: dict[str, list[str]] = {} if obj is None: @@ -591,7 +604,7 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f items.append(_val_to_string(value)) if len(items) > 0: - params[field_name] = [','.join([str(item) for item in items])] + params[field_name] = [array_delimiter.join([str(item) for item in items])] else: params[field_name] = [_val_to_string(obj)] From 93553bc59ed95d8bc7e4373a20575dbf360d32e1 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 6 May 2023 00:26:08 +0000 Subject: [PATCH 17/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.29.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 24049d165..98d3fd712 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -130,4 +130,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.29.0 (2.26.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.29.0 (2.26.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-06 00:25:57 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.29.1 (2.26.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 2c6426935..cb1a8b576 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.29.0 - generationVersion: 2.26.0 + speakeasyVersion: 1.29.1 + generationVersion: 2.26.1 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.11.0 + version: 1.11.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index c6c7ea264..4cd582e28 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.11.0", + version="1.11.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 00c131640..c9e2bf147 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.11.0" - _gen_version: str = "2.26.0" + _sdk_version: str = "1.11.1" + _gen_version: str = "2.26.1" def __init__(self, security: shared.Security = None, From ee90d98d0ea9f00b0bc053c456b7c39456d9aed8 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 10 May 2023 00:28:05 +0000 Subject: [PATCH 18/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.29.2 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 98d3fd712..2737b3cf8 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -136,4 +136,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.29.1 (2.26.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.29.1 (2.26.1) https://github.com/speakeasy-api/speakeasy + +## 2023-05-10 00:27:53 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.29.2 (2.26.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index cb1a8b576..20f067141 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.29.1 - generationVersion: 2.26.1 + speakeasyVersion: 1.29.2 + generationVersion: 2.26.2 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.11.1 + version: 1.11.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 4cd582e28..517463f90 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.11.1", + version="1.11.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index c9e2bf147..5bce2e40b 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.11.1" - _gen_version: str = "2.26.1" + _sdk_version: str = "1.11.2" + _gen_version: str = "2.26.2" def __init__(self, security: shared.Security = None, From efaf8474b2a34a072c93f0993dab87a401af76f0 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 11 May 2023 00:28:07 +0000 Subject: [PATCH 19/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.30.0 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 2737b3cf8..a8b96db86 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -142,4 +142,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.29.2 (2.26.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.29.2 (2.26.2) https://github.com/speakeasy-api/speakeasy + +## 2023-05-11 00:27:56 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.30.0 (2.26.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 20f067141..0e9c376c2 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.29.2 - generationVersion: 2.26.2 + speakeasyVersion: 1.30.0 + generationVersion: 2.26.3 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.11.2 + version: 1.11.3 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 517463f90..db1b8aa83 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.11.2", + version="1.11.3", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 5bce2e40b..f73a2b228 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.11.2" - _gen_version: str = "2.26.2" + _sdk_version: str = "1.11.3" + _gen_version: str = "2.26.3" def __init__(self, security: shared.Security = None, From ae232992ed49969cf714851bd5c22ccee195c5ea Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 12 May 2023 00:28:19 +0000 Subject: [PATCH 20/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.30.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- organization/src/epilot/utils/utils.py | 16 ++++++++-------- 5 files changed, 21 insertions(+), 15 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index a8b96db86..fbacf2581 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -148,4 +148,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.30.0 (2.26.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.30.0 (2.26.3) https://github.com/speakeasy-api/speakeasy + +## 2023-05-12 00:28:08 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.30.1 (2.26.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 0e9c376c2..6ce2803f7 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.30.0 - generationVersion: 2.26.3 + speakeasyVersion: 1.30.1 + generationVersion: 2.26.4 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.11.3 + version: 1.11.4 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index db1b8aa83..986bd94bb 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.11.3", + version="1.11.4", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index f73a2b228..d69c237b5 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.11.3" - _gen_version: str = "2.26.3" + _sdk_version: str = "1.11.4" + _gen_version: str = "2.26.4" def __init__(self, security: shared.Security = None, diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py index a8b0d8f14..98719fbf7 100755 --- a/organization/src/epilot/utils/utils.py +++ b/organization/src/epilot/utils/utils.py @@ -376,9 +376,9 @@ def _get_query_param_field_name(obj_field: Field) -> str: return obj_param_metadata.get("field_name", obj_field.name) -def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, array_delimiter: str) -> dict[ +def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delimiter: str) -> dict[ str, list[str]]: - return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name, array_delimiter) + return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name, delimiter) SERIALIZATION_METHOD_TO_CONTENT_TYPE = { @@ -548,7 +548,7 @@ def _get_form_field_name(obj_field: Field) -> str: return obj_param_metadata.get("field_name", obj_field.name) -def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_func: Callable, array_delimiter: str) -> \ +def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_func: Callable, delimiter: str) -> \ dict[str, list[str]]: params: dict[str, list[str]] = {} @@ -572,10 +572,10 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f params[obj_field_name] = [_val_to_string(val)] else: items.append( - f'{obj_field_name},{_val_to_string(val)}') + f'{obj_field_name}{delimiter}{_val_to_string(val)}') if len(items) > 0: - params[field_name] = [','.join(items)] + params[field_name] = [delimiter.join(items)] elif isinstance(obj, dict): items = [] for key, value in obj.items(): @@ -585,10 +585,10 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f if explode: params[key] = _val_to_string(value) else: - items.append(f'{key},{_val_to_string(value)}') + items.append(f'{key}{delimiter}{_val_to_string(value)}') if len(items) > 0: - params[field_name] = [','.join(items)] + params[field_name] = [delimiter.join(items)] elif isinstance(obj, list): items = [] @@ -604,7 +604,7 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f items.append(_val_to_string(value)) if len(items) > 0: - params[field_name] = [array_delimiter.join([str(item) for item in items])] + params[field_name] = [delimiter.join([str(item) for item in items])] else: params[field_name] = [_val_to_string(obj)] From c48eb6bed9a62c4e1905fe18eda652e28ac68dd8 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 13 May 2023 00:26:42 +0000 Subject: [PATCH 21/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.31.1 --- organization/README.md | 2 +- organization/RELEASES.md | 8 +++++++- organization/USAGE.md | 2 +- organization/docs/organization/README.md | 4 ++-- organization/docs/organizationsettings/README.md | 6 +++--- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- organization/src/epilot/utils/utils.py | 2 +- 9 files changed, 21 insertions(+), 15 deletions(-) diff --git a/organization/README.md b/organization/README.md index 57b63523c..0a75c491a 100755 --- a/organization/README.md +++ b/organization/README.md @@ -16,7 +16,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", ), ) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index fbacf2581..024fefcea 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -154,4 +154,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.30.1 (2.26.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.30.1 (2.26.4) https://github.com/speakeasy-api/speakeasy + +## 2023-05-13 00:26:29 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.31.1 (2.27.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/USAGE.md b/organization/USAGE.md index aacce8d6e..acc45e958 100755 --- a/organization/USAGE.md +++ b/organization/USAGE.md @@ -5,7 +5,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", ), ) diff --git a/organization/docs/organization/README.md b/organization/docs/organization/README.md index 0e918a18b..0b748aa7c 100755 --- a/organization/docs/organization/README.md +++ b/organization/docs/organization/README.md @@ -21,7 +21,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -47,7 +47,7 @@ from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", ), ) diff --git a/organization/docs/organizationsettings/README.md b/organization/docs/organizationsettings/README.md index 6d2f59dcc..54ae36121 100755 --- a/organization/docs/organizationsettings/README.md +++ b/organization/docs/organizationsettings/README.md @@ -22,7 +22,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -49,7 +49,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", ), ) @@ -75,7 +75,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE", + epilot_auth="YOUR_BEARER_TOKEN_HERE", ), ) diff --git a/organization/gen.yaml b/organization/gen.yaml index 6ce2803f7..0a123a399 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.30.1 - generationVersion: 2.26.4 + speakeasyVersion: 1.31.1 + generationVersion: 2.27.0 generation: telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false python: - version: 1.11.4 + version: 1.12.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 986bd94bb..6618e0d6b 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.11.4", + version="1.12.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index d69c237b5..1ac194c08 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.11.4" - _gen_version: str = "2.26.4" + _sdk_version: str = "1.12.0" + _gen_version: str = "2.27.0" def __init__(self, security: shared.Security = None, diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py index 98719fbf7..6b39ecf74 100755 --- a/organization/src/epilot/utils/utils.py +++ b/organization/src/epilot/utils/utils.py @@ -112,7 +112,7 @@ def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: dict, client.client.headers[header_name] = value elif scheme_type == 'http': if sub_type == 'bearer': - client.client.headers[header_name] = value + client.client.headers[header_name] = value.lower().startswith('bearer ') and value or f'Bearer {value}' else: raise Exception('not supported') else: From 419a0f8d84ba7eaba0de3f7362623130f137a30a Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 16 May 2023 00:28:54 +0000 Subject: [PATCH 22/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.32.0 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 024fefcea..89b7e082f 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -160,4 +160,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.31.1 (2.27.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.31.1 (2.27.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-16 00:28:42 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.32.0 (2.28.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 0a123a399..f5400715e 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.31.1 - generationVersion: 2.27.0 + speakeasyVersion: 1.32.0 + generationVersion: 2.28.0 generation: - telemetryEnabled: false sdkClassName: epilot singleTagPerOp: false + telemetryEnabled: false python: - version: 1.12.0 + version: 1.13.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 6618e0d6b..bcb2801d6 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.12.0", + version="1.13.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 1ac194c08..e461406e4 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.12.0" - _gen_version: str = "2.27.0" + _sdk_version: str = "1.13.0" + _gen_version: str = "2.28.0" def __init__(self, security: shared.Security = None, From 9be4c81552742aff96f9aa4706b31befe14ca322 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 17 May 2023 00:31:33 +0000 Subject: [PATCH 23/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.33.2 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 89b7e082f..2ec153758 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -166,4 +166,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.32.0 (2.28.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.32.0 (2.28.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-17 00:31:21 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.33.2 (2.29.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index f5400715e..30cd0797a 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.32.0 - generationVersion: 2.28.0 + speakeasyVersion: 1.33.2 + generationVersion: 2.29.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.13.0 + version: 1.14.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index bcb2801d6..c2a6a0877 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.13.0", + version="1.14.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index e461406e4..7189d895d 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.13.0" - _gen_version: str = "2.28.0" + _sdk_version: str = "1.14.0" + _gen_version: str = "2.29.0" def __init__(self, security: shared.Security = None, From 014ed2ccde0e7b04afdf8d58b12108082179522d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 18 May 2023 00:28:22 +0000 Subject: [PATCH 24/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.34.0 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/organization.py | 7 ++++--- organization/src/epilot/organization_settings.py | 12 +++++++----- organization/src/epilot/sdk.py | 4 ++-- 6 files changed, 24 insertions(+), 15 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 2ec153758..f5df97ae0 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -172,4 +172,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.33.2 (2.29.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.33.2 (2.29.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-18 00:28:10 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.34.0 (2.30.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 30cd0797a..f97b992e2 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.33.2 - generationVersion: 2.29.0 + speakeasyVersion: 1.34.0 + generationVersion: 2.30.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.14.0 + version: 1.15.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index c2a6a0877..c0383927a 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.14.0", + version="1.15.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/organization.py b/organization/src/epilot/organization.py index f6a2adafa..327ab4367 100755 --- a/organization/src/epilot/organization.py +++ b/organization/src/epilot/organization.py @@ -28,11 +28,12 @@ def get_organization(self, request: operations.GetOrganizationRequest) -> operat base_url = self._server_url url = utils.generate_url(operations.GetOrganizationRequest, base_url, '/v2/organization/{org_id}', request) - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetOrganizationResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -50,11 +51,11 @@ def update_organization(self, request: operations.UpdateOrganizationRequest) -> base_url = self._server_url url = utils.generate_url(operations.UpdateOrganizationRequest, base_url, '/v2/organization/{org_id}', request) - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "organization", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client diff --git a/organization/src/epilot/organization_settings.py b/organization/src/epilot/organization_settings.py index fce6417f1..d7fa0ec4e 100755 --- a/organization/src/epilot/organization_settings.py +++ b/organization/src/epilot/organization_settings.py @@ -30,11 +30,12 @@ def delete_settings_value(self, request: operations.DeleteSettingsValueRequest) base_url = self._server_url url = utils.generate_url(operations.DeleteSettingsValueRequest, base_url, '/v2/organization/{org_id}/settings/{key}', request) - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client - http_res = client.request('DELETE', url) + http_res = client.request('DELETE', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.DeleteSettingsValueResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -50,11 +51,12 @@ def get_settings(self, request: operations.GetSettingsRequest) -> operations.Get base_url = self._server_url url = utils.generate_url(operations.GetSettingsRequest, base_url, '/v2/organization/{org_id}/settings', request) - + headers = {} + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client - http_res = client.request('GET', url) + http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') res = operations.GetSettingsResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res) @@ -74,11 +76,11 @@ def put_settings_value(self, request: operations.PutSettingsValueRequest) -> ope base_url = self._server_url url = utils.generate_url(operations.PutSettingsValueRequest, base_url, '/v2/organization/{org_id}/settings/{key}', request) - headers = {} req_content_type, data, form = utils.serialize_request_body(request, "request_body", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type + headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 7189d895d..0ab6c3b51 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.14.0" - _gen_version: str = "2.29.0" + _sdk_version: str = "1.15.0" + _gen_version: str = "2.30.0" def __init__(self, security: shared.Security = None, From 746d1e9aa199cca333ea24f188f2e78b629c8792 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 19 May 2023 00:29:23 +0000 Subject: [PATCH 25/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.35.0 --- organization/RELEASES.md | 8 +++++++- organization/docs/organization/README.md | 2 +- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/models/shared/__init__.py | 2 +- organization/src/epilot/models/shared/organization.py | 4 ++-- organization/src/epilot/organization.py | 2 ++ organization/src/epilot/organization_settings.py | 3 +++ organization/src/epilot/sdk.py | 4 ++-- 9 files changed, 22 insertions(+), 11 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index f5df97ae0..0096ddb18 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -178,4 +178,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.34.0 (2.30.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.34.0 (2.30.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-19 00:29:08 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.35.0 (2.31.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/docs/organization/README.md b/organization/docs/organization/README.md index 0b748aa7c..f138fc463 100755 --- a/organization/docs/organization/README.md +++ b/organization/docs/organization/README.md @@ -76,7 +76,7 @@ req = operations.UpdateOrganizationRequest( "temporibus": 'ab', }, symbol='EPI', - type=shared.OrganizationTypeEnum.VENDOR, + type=shared.OrganizationType.VENDOR, website='https://epilot.cloud', ), org_id='739224', diff --git a/organization/gen.yaml b/organization/gen.yaml index f97b992e2..0c09297b7 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.34.0 - generationVersion: 2.30.0 + speakeasyVersion: 1.35.0 + generationVersion: 2.31.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.15.0 + version: 1.16.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index c0383927a..ef7d64f88 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.15.0", + version="1.16.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/models/shared/__init__.py b/organization/src/epilot/models/shared/__init__.py index 656fa8656..fe19c2180 100755 --- a/organization/src/epilot/models/shared/__init__.py +++ b/organization/src/epilot/models/shared/__init__.py @@ -3,4 +3,4 @@ from .organization import * from .security import * -__all__ = ["Organization","OrganizationAddress","OrganizationTypeEnum","Security"] +__all__ = ["Organization","OrganizationAddress","OrganizationType","Security"] diff --git a/organization/src/epilot/models/shared/organization.py b/organization/src/epilot/models/shared/organization.py index d10239ebe..2a4bf834f 100755 --- a/organization/src/epilot/models/shared/organization.py +++ b/organization/src/epilot/models/shared/organization.py @@ -18,7 +18,7 @@ class OrganizationAddress: street: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street'), 'exclude': lambda f: f is None }}) street_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street_number'), 'exclude': lambda f: f is None }}) -class OrganizationTypeEnum(str, Enum): +class OrganizationType(str, Enum): VENDOR = 'Vendor' PARTNER = 'Partner' @@ -42,6 +42,6 @@ class Organization: style: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('style'), 'exclude': lambda f: f is None }}) r"""Organization style setting (e.g. font setting)""" symbol: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('symbol'), 'exclude': lambda f: f is None }}) - type: Optional[OrganizationTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) + type: Optional[OrganizationType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) website: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('website'), 'exclude': lambda f: f is None }}) \ No newline at end of file diff --git a/organization/src/epilot/organization.py b/organization/src/epilot/organization.py index 327ab4367..476dcbbd9 100755 --- a/organization/src/epilot/organization.py +++ b/organization/src/epilot/organization.py @@ -29,6 +29,7 @@ def get_organization(self, request: operations.GetOrganizationRequest) -> operat url = utils.generate_url(operations.GetOrganizationRequest, base_url, '/v2/organization/{org_id}', request) headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -55,6 +56,7 @@ def update_organization(self, request: operations.UpdateOrganizationRequest) -> req_content_type, data, form = utils.serialize_request_body(request, "organization", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client diff --git a/organization/src/epilot/organization_settings.py b/organization/src/epilot/organization_settings.py index d7fa0ec4e..a0fd33b81 100755 --- a/organization/src/epilot/organization_settings.py +++ b/organization/src/epilot/organization_settings.py @@ -31,6 +31,7 @@ def delete_settings_value(self, request: operations.DeleteSettingsValueRequest) url = utils.generate_url(operations.DeleteSettingsValueRequest, base_url, '/v2/organization/{org_id}/settings/{key}', request) headers = {} + headers['Accept'] = '*/*' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -52,6 +53,7 @@ def get_settings(self, request: operations.GetSettingsRequest) -> operations.Get url = utils.generate_url(operations.GetSettingsRequest, base_url, '/v2/organization/{org_id}/settings', request) headers = {} + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client @@ -80,6 +82,7 @@ def put_settings_value(self, request: operations.PutSettingsValueRequest) -> ope req_content_type, data, form = utils.serialize_request_body(request, "request_body", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type + headers['Accept'] = 'application/json' headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' client = self._security_client diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 0ab6c3b51..b96079c81 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.15.0" - _gen_version: str = "2.30.0" + _sdk_version: str = "1.16.0" + _gen_version: str = "2.31.0" def __init__(self, security: shared.Security = None, From 18a56547006950835cb145ecde1efbacfb421b3a Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 23 May 2023 00:29:55 +0000 Subject: [PATCH 26/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.37.5 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 0096ddb18..a90b71c90 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -184,4 +184,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.35.0 (2.31.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.35.0 (2.31.0) https://github.com/speakeasy-api/speakeasy + +## 2023-05-23 00:29:41 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.37.5 (2.32.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 0c09297b7..17238a9bc 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.35.0 - generationVersion: 2.31.0 + speakeasyVersion: 1.37.5 + generationVersion: 2.32.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.16.0 + version: 1.17.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index ef7d64f88..67fece655 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.16.0", + version="1.17.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index b96079c81..b5d822ea4 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.16.0" - _gen_version: str = "2.31.0" + _sdk_version: str = "1.17.0" + _gen_version: str = "2.32.2" def __init__(self, security: shared.Security = None, From 12ab076804566385b5c460fdc130cad8f6f428a7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 27 May 2023 00:31:03 +0000 Subject: [PATCH 27/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.39.0 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index a90b71c90..1137d92de 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -190,4 +190,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.37.5 (2.32.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.37.5 (2.32.2) https://github.com/speakeasy-api/speakeasy + +## 2023-05-27 00:30:47 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.39.0 (2.32.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 17238a9bc..9f749a71e 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.37.5 - generationVersion: 2.32.2 + speakeasyVersion: 1.39.0 + generationVersion: 2.32.7 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.17.0 + version: 1.17.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 67fece655..6e8fe302d 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.17.0", + version="1.17.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index b5d822ea4..3651e3cb5 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.17.0" - _gen_version: str = "2.32.2" + _sdk_version: str = "1.17.1" + _gen_version: str = "2.32.7" def __init__(self, security: shared.Security = None, From 148df67ee6d0cefde5dbdc5c9785f2bfdb981521 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 1 Jun 2023 00:41:30 +0000 Subject: [PATCH 28/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.40.2 --- organization/.gitignore | 5 +++++ organization/RELEASES.md | 8 +++++++- organization/files.gen | 1 + organization/gen.yaml | 6 +++--- organization/setup.py | 7 +++++-- organization/src/epilot/sdk.py | 4 ++-- 6 files changed, 23 insertions(+), 8 deletions(-) create mode 100755 organization/.gitignore diff --git a/organization/.gitignore b/organization/.gitignore new file mode 100755 index 000000000..9072ad43b --- /dev/null +++ b/organization/.gitignore @@ -0,0 +1,5 @@ +venv/ +src/*.egg-info/ +__pycache__/ +.pytest_cache/ +.python-version` \ No newline at end of file diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 1137d92de..df309be78 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -196,4 +196,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.39.0 (2.32.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.39.0 (2.32.7) https://github.com/speakeasy-api/speakeasy + +## 2023-06-01 00:41:16 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.40.2 (2.34.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/files.gen b/organization/files.gen index 923670b53..cb3f3c93d 100755 --- a/organization/files.gen +++ b/organization/files.gen @@ -1,6 +1,7 @@ src/epilot/organization.py src/epilot/organization_settings.py src/epilot/sdk.py +.gitignore pylintrc setup.py src/epilot/__init__.py diff --git a/organization/gen.yaml b/organization/gen.yaml index 9f749a71e..5bf3bc1bf 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.39.0 - generationVersion: 2.32.7 + speakeasyVersion: 1.40.2 + generationVersion: 2.34.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.17.1 + version: 1.18.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 6e8fe302d..400bf6c2c 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.17.1", + version="1.18.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, @@ -21,6 +21,7 @@ "charset-normalizer==2.1.1", "dataclasses-json-speakeasy==0.5.8", "idna==3.3", + "jsonpath-python==1.0.6 ", "marshmallow==3.17.1", "marshmallow-enum==1.5.1", "mypy-extensions==0.4.3", @@ -32,8 +33,10 @@ "typing-inspect==0.8.0", "typing_extensions==4.3.0", "urllib3==1.26.12", - "pylint==2.16.2", ], + extras_require={ + "dev":["pylint==2.16.2"] + }, package_dir={'': 'src'}, python_requires='>=3.9' ) diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 3651e3cb5..0424b421a 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.17.1" - _gen_version: str = "2.32.7" + _sdk_version: str = "1.18.0" + _gen_version: str = "2.34.2" def __init__(self, security: shared.Security = None, From 231ca85ef3d8bf4d641f8640180e2b6738fa8bfd Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 2 Jun 2023 00:34:05 +0000 Subject: [PATCH 29/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.40.3 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 34 +++++++++++++++++----------------- organization/src/epilot/sdk.py | 4 ++-- 4 files changed, 29 insertions(+), 23 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index df309be78..6ddd89e15 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -202,4 +202,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.40.2 (2.34.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.40.2 (2.34.2) https://github.com/speakeasy-api/speakeasy + +## 2023-06-02 00:33:52 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.40.3 (2.34.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 5bf3bc1bf..60299b651 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.40.2 - generationVersion: 2.34.2 + speakeasyVersion: 1.40.3 + generationVersion: 2.34.7 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.18.0 + version: 1.18.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 400bf6c2c..57bf250b0 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,29 +10,29 @@ setuptools.setup( name="epilot-organization", - version="1.18.0", + version="1.18.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, long_description_content_type="text/markdown", packages=setuptools.find_packages(where="src"), install_requires=[ - "certifi==2022.12.7", - "charset-normalizer==2.1.1", - "dataclasses-json-speakeasy==0.5.8", - "idna==3.3", - "jsonpath-python==1.0.6 ", - "marshmallow==3.17.1", - "marshmallow-enum==1.5.1", - "mypy-extensions==0.4.3", - "packaging==21.3", - "pyparsing==3.0.9", - "python-dateutil==2.8.2", - "requests==2.28.1", - "six==1.16.0", - "typing-inspect==0.8.0", - "typing_extensions==4.3.0", - "urllib3==1.26.12", + "certifi>=2022.12.7", + "charset-normalizer>=2.1.1", + "dataclasses-json-speakeasy>=0.5.8", + "idna>=3.3", + "jsonpath-python>=1.0.6 ", + "marshmallow>=3.17.1", + "marshmallow-enum>=1.5.1", + "mypy-extensions>=0.4.3", + "packaging>=21.3", + "pyparsing>=3.0.9", + "python-dateutil>=2.8.2", + "requests>=2.28.1", + "six>=1.16.0", + "typing-inspect>=0.8.0", + "typing_extensions>=4.3.0", + "urllib3>=1.26.12", ], extras_require={ "dev":["pylint==2.16.2"] diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 0424b421a..8ef4a07d4 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -22,8 +22,8 @@ class Epilot: _security_client: requests_http.Session _server_url: str = SERVERS[0] _language: str = "python" - _sdk_version: str = "1.18.0" - _gen_version: str = "2.34.2" + _sdk_version: str = "1.18.1" + _gen_version: str = "2.34.7" def __init__(self, security: shared.Security = None, From f3e591fd036fc43216fcf748fcfa53cd187de281 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 3 Jun 2023 00:31:43 +0000 Subject: [PATCH 30/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.43.0 --- organization/RELEASES.md | 8 ++- organization/files.gen | 1 + organization/gen.yaml | 6 +-- organization/setup.py | 2 +- organization/src/epilot/__init__.py | 1 + organization/src/epilot/organization.py | 32 ++++------- .../src/epilot/organization_settings.py | 38 +++++-------- organization/src/epilot/sdk.py | 54 +++++-------------- organization/src/epilot/sdkconfiguration.py | 27 ++++++++++ 9 files changed, 79 insertions(+), 90 deletions(-) create mode 100755 organization/src/epilot/sdkconfiguration.py diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 6ddd89e15..67f7f1730 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -208,4 +208,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.40.3 (2.34.7) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.40.3 (2.34.7) https://github.com/speakeasy-api/speakeasy + +## 2023-06-03 00:31:27 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.43.0 (2.35.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/files.gen b/organization/files.gen index cb3f3c93d..f5f7e770a 100755 --- a/organization/files.gen +++ b/organization/files.gen @@ -1,3 +1,4 @@ +src/epilot/sdkconfiguration.py src/epilot/organization.py src/epilot/organization_settings.py src/epilot/sdk.py diff --git a/organization/gen.yaml b/organization/gen.yaml index 60299b651..236fc789b 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.40.3 - generationVersion: 2.34.7 + speakeasyVersion: 1.43.0 + generationVersion: 2.35.3 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.18.1 + version: 1.19.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 57bf250b0..6d121d1e9 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.18.1", + version="1.19.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/__init__.py b/organization/src/epilot/__init__.py index b9e232018..e6c0deeb6 100755 --- a/organization/src/epilot/__init__.py +++ b/organization/src/epilot/__init__.py @@ -1,3 +1,4 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" from .sdk import * +from .sdkconfiguration import * diff --git a/organization/src/epilot/organization.py b/organization/src/epilot/organization.py index 476dcbbd9..522f6c52b 100755 --- a/organization/src/epilot/organization.py +++ b/organization/src/epilot/organization.py @@ -1,38 +1,28 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" -import requests as requests_http -from . import utils +from .sdkconfiguration import SDKConfiguration +from epilot import utils from epilot.models import operations, shared from typing import Optional class Organization: r"""Organization info""" - _client: requests_http.Session - _security_client: requests_http.Session - _server_url: str - _language: str - _sdk_version: str - _gen_version: str + sdk_configuration: SDKConfiguration - def __init__(self, client: requests_http.Session, security_client: requests_http.Session, server_url: str, language: str, sdk_version: str, gen_version: str) -> None: - self._client = client - self._security_client = security_client - self._server_url = server_url - self._language = language - self._sdk_version = sdk_version - self._gen_version = gen_version + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config def get_organization(self, request: operations.GetOrganizationRequest) -> operations.GetOrganizationResponse: r"""getOrganization""" - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.GetOrganizationRequest, base_url, '/v2/organization/{org_id}', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -49,7 +39,7 @@ def get_organization(self, request: operations.GetOrganizationRequest) -> operat def update_organization(self, request: operations.UpdateOrganizationRequest) -> operations.UpdateOrganizationResponse: r"""updateOrganization""" - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.UpdateOrganizationRequest, base_url, '/v2/organization/{org_id}', request) headers = {} @@ -57,9 +47,9 @@ def update_organization(self, request: operations.UpdateOrganizationRequest) -> if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('PATCH', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') diff --git a/organization/src/epilot/organization_settings.py b/organization/src/epilot/organization_settings.py index a0fd33b81..a7695d1e7 100755 --- a/organization/src/epilot/organization_settings.py +++ b/organization/src/epilot/organization_settings.py @@ -1,40 +1,30 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" -import requests as requests_http -from . import utils +from .sdkconfiguration import SDKConfiguration +from epilot import utils from epilot.models import operations from typing import Any, Optional class OrganizationSettings: r"""Organisation Settings""" - _client: requests_http.Session - _security_client: requests_http.Session - _server_url: str - _language: str - _sdk_version: str - _gen_version: str + sdk_configuration: SDKConfiguration - def __init__(self, client: requests_http.Session, security_client: requests_http.Session, server_url: str, language: str, sdk_version: str, gen_version: str) -> None: - self._client = client - self._security_client = security_client - self._server_url = server_url - self._language = language - self._sdk_version = sdk_version - self._gen_version = gen_version + def __init__(self, sdk_config: SDKConfiguration) -> None: + self.sdk_configuration = sdk_config def delete_settings_value(self, request: operations.DeleteSettingsValueRequest) -> operations.DeleteSettingsValueResponse: r"""deleteSettingsValue Updates an organizatio nsetting """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.DeleteSettingsValueRequest, base_url, '/v2/organization/{org_id}/settings/{key}', request) headers = {} headers['Accept'] = '*/*' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('DELETE', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -49,14 +39,14 @@ def get_settings(self, request: operations.GetSettingsRequest) -> operations.Get r"""getSettings Get full organization settings object """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.GetSettingsRequest, base_url, '/v2/organization/{org_id}/settings', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('GET', url, headers=headers) content_type = http_res.headers.get('Content-Type') @@ -75,7 +65,7 @@ def put_settings_value(self, request: operations.PutSettingsValueRequest) -> ope r"""putSettingsValue Updates an organization setting """ - base_url = self._server_url + base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = utils.generate_url(operations.PutSettingsValueRequest, base_url, '/v2/organization/{org_id}/settings/{key}', request) headers = {} @@ -83,9 +73,9 @@ def put_settings_value(self, request: operations.PutSettingsValueRequest) -> ope if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self._language} {self._sdk_version} {self._gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' - client = self._security_client + client = self.sdk_configuration.security_client http_res = client.request('PUT', url, data=data, files=form, headers=headers) content_type = http_res.headers.get('Content-Type') diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index 8ef4a07d4..e4e34b535 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -1,16 +1,12 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" import requests as requests_http -from . import utils from .organization import Organization from .organization_settings import OrganizationSettings +from .sdkconfiguration import SDKConfiguration +from epilot import utils from epilot.models import shared -SERVERS = [ - "https://organization-v2.sls.epilot.io", -] -"""Contains the list of servers available to the SDK""" - class Epilot: r"""Manage epilot tenant organizations""" organization: Organization @@ -18,15 +14,11 @@ class Epilot: organization_settings: OrganizationSettings r"""Organisation Settings""" - _client: requests_http.Session - _security_client: requests_http.Session - _server_url: str = SERVERS[0] - _language: str = "python" - _sdk_version: str = "1.18.1" - _gen_version: str = "2.34.7" + sdk_configuration: SDKConfiguration def __init__(self, security: shared.Security = None, + server_idx: int = None, server_url: str = None, url_params: dict[str, str] = None, client: requests_http.Session = None @@ -35,6 +27,8 @@ def __init__(self, :param security: The security details required for authentication :type security: shared.Security + :param server_idx: The index of the server to use for all operations + :type server_idx: int :param server_url: The server URL to use for all operations :type server_url: str :param url_params: Parameters to optionally template the server URL with @@ -42,40 +36,20 @@ def __init__(self, :param client: The requests.Session HTTP client to use for all operations :type client: requests_http.Session """ - self._client = requests_http.Session() + if client is None: + client = requests_http.Session() + security_client = utils.configure_security_client(client, security) if server_url is not None: if url_params is not None: - self._server_url = utils.template_url(server_url, url_params) - else: - self._server_url = server_url - - if client is not None: - self._client = client - - self._security_client = utils.configure_security_client(self._client, security) - + server_url = utils.template_url(server_url, url_params) + self.sdk_configuration = SDKConfiguration(client, security_client, server_url, server_idx) + self._init_sdks() def _init_sdks(self): - self.organization = Organization( - self._client, - self._security_client, - self._server_url, - self._language, - self._sdk_version, - self._gen_version - ) - - self.organization_settings = OrganizationSettings( - self._client, - self._security_client, - self._server_url, - self._language, - self._sdk_version, - self._gen_version - ) - + self.organization = Organization(self.sdk_configuration) + self.organization_settings = OrganizationSettings(self.sdk_configuration) \ No newline at end of file diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py new file mode 100755 index 000000000..0f81dbbde --- /dev/null +++ b/organization/src/epilot/sdkconfiguration.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import requests +from dataclasses import dataclass + +SERVERS = [ + 'https://organization-v2.sls.epilot.io', +] +"""Contains the list of servers available to the SDK""" + +@dataclass +class SDKConfiguration: + client: requests.Session + security_client: requests.Session + server_url: str = '' + server_idx: int = 0 + language: str = 'python' + sdk_version: str = '1.19.0' + gen_version: str = '2.35.3' + + def get_server_details(self) -> tuple[str, dict[str, str]]: + if self.server_url: + return self.server_url.removesuffix('/'), {} + if self.server_idx is None: + self.server_idx = 0 + + return SERVERS[self.server_idx], {} From 8a7128788ca18c1d0b86c6a794edb6fd78848e2c Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 7 Jun 2023 00:34:45 +0000 Subject: [PATCH 31/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.44.2 --- organization/RELEASES.md | 8 +++++++- organization/docs/epilot/README.md | 2 +- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 2 +- organization/src/epilot/sdkconfiguration.py | 5 +++-- 6 files changed, 16 insertions(+), 9 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 67f7f1730..4ad090c29 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -214,4 +214,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.43.0 (2.35.3) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.43.0 (2.35.3) https://github.com/speakeasy-api/speakeasy + +## 2023-06-07 00:34:30 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.44.2 (2.35.9) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/docs/epilot/README.md b/organization/docs/epilot/README.md index 96f4a6b1e..c62aed5c1 100755 --- a/organization/docs/epilot/README.md +++ b/organization/docs/epilot/README.md @@ -2,7 +2,7 @@ ## Overview -Manage epilot tenant organizations +Organization API: Manage epilot tenant organizations ### Available Operations diff --git a/organization/gen.yaml b/organization/gen.yaml index 236fc789b..e881ddf4b 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.43.0 - generationVersion: 2.35.3 + speakeasyVersion: 1.44.2 + generationVersion: 2.35.9 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.19.0 + version: 1.19.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 6d121d1e9..77bb65d04 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.19.0", + version="1.19.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index e4e34b535..be1d72efb 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -8,7 +8,7 @@ from epilot.models import shared class Epilot: - r"""Manage epilot tenant organizations""" + r"""Organization API: Manage epilot tenant organizations""" organization: Organization r"""Organization info""" organization_settings: OrganizationSettings diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 0f81dbbde..7644de8e9 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -3,6 +3,7 @@ import requests from dataclasses import dataclass + SERVERS = [ 'https://organization-v2.sls.epilot.io', ] @@ -15,8 +16,8 @@ class SDKConfiguration: server_url: str = '' server_idx: int = 0 language: str = 'python' - sdk_version: str = '1.19.0' - gen_version: str = '2.35.3' + sdk_version: str = '1.19.1' + gen_version: str = '2.35.9' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 6cef51e32be373ec06cce0acd309109b23e18245 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 8 Jun 2023 00:34:00 +0000 Subject: [PATCH 32/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.45.0 --- organization/README.md | 2 +- organization/RELEASES.md | 8 +++++++- organization/USAGE.md | 2 +- organization/docs/organization/README.md | 4 ++-- organization/docs/organizationsettings/README.md | 6 +++--- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/organization.py | 4 ++-- organization/src/epilot/organization_settings.py | 6 +++--- organization/src/epilot/sdkconfiguration.py | 5 +++-- 10 files changed, 26 insertions(+), 19 deletions(-) diff --git a/organization/README.md b/organization/README.md index 0a75c491a..340ec454e 100755 --- a/organization/README.md +++ b/organization/README.md @@ -16,7 +16,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", ), ) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 4ad090c29..9fc442eae 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -220,4 +220,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.44.2 (2.35.9) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.44.2 (2.35.9) https://github.com/speakeasy-api/speakeasy + +## 2023-06-08 00:33:43 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.45.0 (2.37.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/USAGE.md b/organization/USAGE.md index acc45e958..a76174355 100755 --- a/organization/USAGE.md +++ b/organization/USAGE.md @@ -5,7 +5,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", ), ) diff --git a/organization/docs/organization/README.md b/organization/docs/organization/README.md index f138fc463..24450e0ac 100755 --- a/organization/docs/organization/README.md +++ b/organization/docs/organization/README.md @@ -21,7 +21,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", ), ) @@ -47,7 +47,7 @@ from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", ), ) diff --git a/organization/docs/organizationsettings/README.md b/organization/docs/organizationsettings/README.md index 54ae36121..6dfcbf982 100755 --- a/organization/docs/organizationsettings/README.md +++ b/organization/docs/organizationsettings/README.md @@ -22,7 +22,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", ), ) @@ -49,7 +49,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", ), ) @@ -75,7 +75,7 @@ from epilot.models import operations s = epilot.Epilot( security=shared.Security( - epilot_auth="YOUR_BEARER_TOKEN_HERE", + epilot_auth="", ), ) diff --git a/organization/gen.yaml b/organization/gen.yaml index e881ddf4b..cca157851 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.44.2 - generationVersion: 2.35.9 + speakeasyVersion: 1.45.0 + generationVersion: 2.37.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.19.1 + version: 1.20.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 77bb65d04..0fc5f7068 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.19.1", + version="1.20.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/organization.py b/organization/src/epilot/organization.py index 522f6c52b..a441b3457 100755 --- a/organization/src/epilot/organization.py +++ b/organization/src/epilot/organization.py @@ -20,7 +20,7 @@ def get_organization(self, request: operations.GetOrganizationRequest) -> operat url = utils.generate_url(operations.GetOrganizationRequest, base_url, '/v2/organization/{org_id}', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -47,7 +47,7 @@ def update_organization(self, request: operations.UpdateOrganizationRequest) -> if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client diff --git a/organization/src/epilot/organization_settings.py b/organization/src/epilot/organization_settings.py index a7695d1e7..34775d753 100755 --- a/organization/src/epilot/organization_settings.py +++ b/organization/src/epilot/organization_settings.py @@ -22,7 +22,7 @@ def delete_settings_value(self, request: operations.DeleteSettingsValueRequest) url = utils.generate_url(operations.DeleteSettingsValueRequest, base_url, '/v2/organization/{org_id}/settings/{key}', request) headers = {} headers['Accept'] = '*/*' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -44,7 +44,7 @@ def get_settings(self, request: operations.GetSettingsRequest) -> operations.Get url = utils.generate_url(operations.GetSettingsRequest, base_url, '/v2/organization/{org_id}/settings', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client @@ -73,7 +73,7 @@ def put_settings_value(self, request: operations.PutSettingsValueRequest) -> ope if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version}' + headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' client = self.sdk_configuration.security_client diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 7644de8e9..9f86d67f1 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -16,8 +16,9 @@ class SDKConfiguration: server_url: str = '' server_idx: int = 0 language: str = 'python' - sdk_version: str = '1.19.1' - gen_version: str = '2.35.9' + openapi_doc_version: str = '1.0.0' + sdk_version: str = '1.20.0' + gen_version: str = '2.37.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From d7b7212db6b4dc18bea86745152f5a891a6e0772 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 9 Jun 2023 00:35:25 +0000 Subject: [PATCH 33/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.45.2 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 9fc442eae..edf9eb148 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -226,4 +226,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.45.0 (2.37.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.45.0 (2.37.0) https://github.com/speakeasy-api/speakeasy + +## 2023-06-09 00:35:08 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.45.2 (2.37.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index cca157851..114bceda1 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.45.0 - generationVersion: 2.37.0 + speakeasyVersion: 1.45.2 + generationVersion: 2.37.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.20.0 + version: 1.20.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 0fc5f7068..844b0bf3d 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.20.0", + version="1.20.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 9f86d67f1..9387b12c6 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.20.0' - gen_version: str = '2.37.0' + sdk_version: str = '1.20.1' + gen_version: str = '2.37.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From d2dff838d2099799402426bf01e81417e805c689 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 10 Jun 2023 00:31:34 +0000 Subject: [PATCH 34/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.47.0 --- organization/README.md | 14 +- organization/RELEASES.md | 8 +- .../operations/deletesettingsvaluerequest.md | 9 ++ .../operations/deletesettingsvalueresponse.md | 10 ++ .../operations/getorganizationrequest.md | 8 ++ .../operations/getorganizationresponse.md | 11 ++ .../models/operations/getsettingsrequest.md | 8 ++ .../models/operations/getsettingsresponse.md | 11 ++ .../operations/putsettingsvaluerequest.md | 10 ++ .../operations/putsettingsvalueresponse.md | 11 ++ .../operations/updateorganizationrequest.md | 9 ++ .../operations/updateorganizationresponse.md | 11 ++ .../docs/models/shared/organization.md | 24 ++++ .../docs/models/shared/organizationaddress.md | 12 ++ .../docs/models/shared/organizationtype.md | 9 ++ organization/docs/models/shared/security.md | 8 ++ organization/docs/organization/README.md | 89 ------------ .../docs/organizationsettings/README.md | 97 ------------- organization/docs/{ => sdks}/epilot/README.md | 0 organization/docs/sdks/organization/README.md | 113 +++++++++++++++ .../docs/sdks/organizationsettings/README.md | 133 ++++++++++++++++++ organization/files.gen | 22 ++- organization/gen.yaml | 6 +- organization/setup.py | 2 +- .../models/operations/deletesettingsvalue.py | 9 +- .../models/operations/getorganization.py | 9 +- .../epilot/models/operations/getsettings.py | 9 +- .../models/operations/putsettingsvalue.py | 9 +- .../models/operations/updateorganization.py | 9 +- .../src/epilot/models/shared/organization.py | 9 +- .../src/epilot/models/shared/security.py | 5 +- organization/src/epilot/sdkconfiguration.py | 4 +- 32 files changed, 474 insertions(+), 224 deletions(-) create mode 100755 organization/docs/models/operations/deletesettingsvaluerequest.md create mode 100755 organization/docs/models/operations/deletesettingsvalueresponse.md create mode 100755 organization/docs/models/operations/getorganizationrequest.md create mode 100755 organization/docs/models/operations/getorganizationresponse.md create mode 100755 organization/docs/models/operations/getsettingsrequest.md create mode 100755 organization/docs/models/operations/getsettingsresponse.md create mode 100755 organization/docs/models/operations/putsettingsvaluerequest.md create mode 100755 organization/docs/models/operations/putsettingsvalueresponse.md create mode 100755 organization/docs/models/operations/updateorganizationrequest.md create mode 100755 organization/docs/models/operations/updateorganizationresponse.md create mode 100755 organization/docs/models/shared/organization.md create mode 100755 organization/docs/models/shared/organizationaddress.md create mode 100755 organization/docs/models/shared/organizationtype.md create mode 100755 organization/docs/models/shared/security.md delete mode 100755 organization/docs/organization/README.md delete mode 100755 organization/docs/organizationsettings/README.md rename organization/docs/{ => sdks}/epilot/README.md (100%) create mode 100755 organization/docs/sdks/organization/README.md create mode 100755 organization/docs/sdks/organizationsettings/README.md diff --git a/organization/README.md b/organization/README.md index 340ec454e..b9ba96325 100755 --- a/organization/README.md +++ b/organization/README.md @@ -35,16 +35,16 @@ if res.organization is not None: ## Available Resources and Operations -### [organization](docs/organization/README.md) +### [organization](docs/sdks/organization/README.md) -* [get_organization](docs/organization/README.md#get_organization) - getOrganization -* [update_organization](docs/organization/README.md#update_organization) - updateOrganization +* [get_organization](docs/sdks/organization/README.md#get_organization) - getOrganization +* [update_organization](docs/sdks/organization/README.md#update_organization) - updateOrganization -### [organization_settings](docs/organizationsettings/README.md) +### [organization_settings](docs/sdks/organizationsettings/README.md) -* [delete_settings_value](docs/organizationsettings/README.md#delete_settings_value) - deleteSettingsValue -* [get_settings](docs/organizationsettings/README.md#get_settings) - getSettings -* [put_settings_value](docs/organizationsettings/README.md#put_settings_value) - putSettingsValue +* [delete_settings_value](docs/sdks/organizationsettings/README.md#delete_settings_value) - deleteSettingsValue +* [get_settings](docs/sdks/organizationsettings/README.md#get_settings) - getSettings +* [put_settings_value](docs/sdks/organizationsettings/README.md#put_settings_value) - putSettingsValue ### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index edf9eb148..2dab84fed 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -232,4 +232,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.45.2 (2.37.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.45.2 (2.37.2) https://github.com/speakeasy-api/speakeasy + +## 2023-06-10 00:31:17 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.47.0 (2.39.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/docs/models/operations/deletesettingsvaluerequest.md b/organization/docs/models/operations/deletesettingsvaluerequest.md new file mode 100755 index 000000000..0fa440538 --- /dev/null +++ b/organization/docs/models/operations/deletesettingsvaluerequest.md @@ -0,0 +1,9 @@ +# DeleteSettingsValueRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | +| `key` | *str* | :heavy_check_mark: | Organization setting key | | +| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/deletesettingsvalueresponse.md b/organization/docs/models/operations/deletesettingsvalueresponse.md new file mode 100755 index 000000000..235aff438 --- /dev/null +++ b/organization/docs/models/operations/deletesettingsvalueresponse.md @@ -0,0 +1,10 @@ +# DeleteSettingsValueResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/organization/docs/models/operations/getorganizationrequest.md b/organization/docs/models/operations/getorganizationrequest.md new file mode 100755 index 000000000..e0dc128ff --- /dev/null +++ b/organization/docs/models/operations/getorganizationrequest.md @@ -0,0 +1,8 @@ +# GetOrganizationRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | +| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/getorganizationresponse.md b/organization/docs/models/operations/getorganizationresponse.md new file mode 100755 index 000000000..568dd5cdb --- /dev/null +++ b/organization/docs/models/operations/getorganizationresponse.md @@ -0,0 +1,11 @@ +# GetOrganizationResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `organization` | [Optional[shared.Organization]](../../models/shared/organization.md) | :heavy_minus_sign: | The returned organization | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/organization/docs/models/operations/getsettingsrequest.md b/organization/docs/models/operations/getsettingsrequest.md new file mode 100755 index 000000000..8c39783cc --- /dev/null +++ b/organization/docs/models/operations/getsettingsrequest.md @@ -0,0 +1,8 @@ +# GetSettingsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | +| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/getsettingsresponse.md b/organization/docs/models/operations/getsettingsresponse.md new file mode 100755 index 000000000..f0cb67bc4 --- /dev/null +++ b/organization/docs/models/operations/getsettingsresponse.md @@ -0,0 +1,11 @@ +# GetSettingsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `settings` | dict[str, *Any*] | :heavy_minus_sign: | Returns the organization settings | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/organization/docs/models/operations/putsettingsvaluerequest.md b/organization/docs/models/operations/putsettingsvaluerequest.md new file mode 100755 index 000000000..5ae51bb29 --- /dev/null +++ b/organization/docs/models/operations/putsettingsvaluerequest.md @@ -0,0 +1,10 @@ +# PutSettingsValueRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | +| `request_body` | *Optional[Any]* | :heavy_minus_sign: | Value to set | | +| `key` | *str* | :heavy_check_mark: | Organization setting key | | +| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/putsettingsvalueresponse.md b/organization/docs/models/operations/putsettingsvalueresponse.md new file mode 100755 index 000000000..62ada0646 --- /dev/null +++ b/organization/docs/models/operations/putsettingsvalueresponse.md @@ -0,0 +1,11 @@ +# PutSettingsValueResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `settings_value` | *Optional[Any]* | :heavy_minus_sign: | Returns the value of the setting | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/organization/docs/models/operations/updateorganizationrequest.md b/organization/docs/models/operations/updateorganizationrequest.md new file mode 100755 index 000000000..fa6010e31 --- /dev/null +++ b/organization/docs/models/operations/updateorganizationrequest.md @@ -0,0 +1,9 @@ +# UpdateOrganizationRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `organization` | [Optional[shared.Organization]](../../models/shared/organization.md) | :heavy_minus_sign: | N/A | | +| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/updateorganizationresponse.md b/organization/docs/models/operations/updateorganizationresponse.md new file mode 100755 index 000000000..1503de554 --- /dev/null +++ b/organization/docs/models/operations/updateorganizationresponse.md @@ -0,0 +1,11 @@ +# UpdateOrganizationResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | N/A | +| `organization` | [Optional[shared.Organization]](../../models/shared/organization.md) | :heavy_minus_sign: | The updated organization | +| `status_code` | *int* | :heavy_check_mark: | N/A | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/organization/docs/models/shared/organization.md b/organization/docs/models/shared/organization.md new file mode 100755 index 000000000..7f6b475d9 --- /dev/null +++ b/organization/docs/models/shared/organization.md @@ -0,0 +1,24 @@ +# Organization + +The returned organization + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `address` | [Optional[OrganizationAddress]](../../models/shared/organizationaddress.md) | :heavy_minus_sign: | N/A | | +| `email` | *Optional[str]* | :heavy_minus_sign: | N/A | someone@epilot.cloud | +| `free_user_limit` | *Optional[float]* | :heavy_minus_sign: | N/A | 50 | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | 739224 | +| `is_unlicensed_org` | *Optional[bool]* | :heavy_minus_sign: | N/A | false | +| `logo_thumbnail_url` | *Optional[str]* | :heavy_minus_sign: | N/A | https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png | +| `logo_url` | *Optional[str]* | :heavy_minus_sign: | N/A | https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | Epilot | +| `phone` | *Optional[str]* | :heavy_minus_sign: | N/A | 49123123123 | +| `pricing_tier` | *Optional[str]* | :heavy_minus_sign: | N/A | professional | +| `signature` | *Optional[str]* | :heavy_minus_sign: | N/A |

Thanks

| +| `style` | dict[str, *Any*] | :heavy_minus_sign: | Organization style setting (e.g. font setting) | | +| `symbol` | *Optional[str]* | :heavy_minus_sign: | N/A | EPI | +| `type` | [Optional[OrganizationType]](../../models/shared/organizationtype.md) | :heavy_minus_sign: | N/A | | +| `website` | *Optional[str]* | :heavy_minus_sign: | N/A | https://epilot.cloud | \ No newline at end of file diff --git a/organization/docs/models/shared/organizationaddress.md b/organization/docs/models/shared/organizationaddress.md new file mode 100755 index 000000000..05487a59c --- /dev/null +++ b/organization/docs/models/shared/organizationaddress.md @@ -0,0 +1,12 @@ +# OrganizationAddress + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `city` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `country` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `postal_code` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `street` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `street_number` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/organization/docs/models/shared/organizationtype.md b/organization/docs/models/shared/organizationtype.md new file mode 100755 index 000000000..c91a9df64 --- /dev/null +++ b/organization/docs/models/shared/organizationtype.md @@ -0,0 +1,9 @@ +# OrganizationType + + +## Values + +| Name | Value | +| --------- | --------- | +| `VENDOR` | Vendor | +| `PARTNER` | Partner | \ No newline at end of file diff --git a/organization/docs/models/shared/security.md b/organization/docs/models/shared/security.md new file mode 100755 index 000000000..f06333390 --- /dev/null +++ b/organization/docs/models/shared/security.md @@ -0,0 +1,8 @@ +# Security + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/organization/docs/organization/README.md b/organization/docs/organization/README.md deleted file mode 100755 index 24450e0ac..000000000 --- a/organization/docs/organization/README.md +++ /dev/null @@ -1,89 +0,0 @@ -# organization - -## Overview - -Organization info - -### Available Operations - -* [get_organization](#get_organization) - getOrganization -* [update_organization](#update_organization) - updateOrganization - -## get_organization - -getOrganization - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - epilot_auth="", - ), -) - -req = operations.GetOrganizationRequest( - org_id='739224', -) - -res = s.organization.get_organization(req) - -if res.organization is not None: - # handle response -``` - -## update_organization - -updateOrganization - -### Example Usage - -```python -import epilot -from epilot.models import operations, shared - -s = epilot.Epilot( - security=shared.Security( - epilot_auth="", - ), -) - -req = operations.UpdateOrganizationRequest( - organization=shared.Organization( - address=shared.OrganizationAddress( - city='Laruecester', - country='Suriname', - postal_code='85846-6342', - street='092 Jasper Skyway', - street_number='placeat', - ), - email='someone@epilot.cloud', - free_user_limit=50, - id='739224', - is_unlicensed_org=False, - logo_thumbnail_url='https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png', - logo_url='https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png', - name='Epilot', - phone='49123123123', - pricing_tier='professional', - signature='

Thanks

', - style={ - "iusto": 'excepturi', - "nisi": 'recusandae', - "temporibus": 'ab', - }, - symbol='EPI', - type=shared.OrganizationType.VENDOR, - website='https://epilot.cloud', - ), - org_id='739224', -) - -res = s.organization.update_organization(req) - -if res.organization is not None: - # handle response -``` diff --git a/organization/docs/organizationsettings/README.md b/organization/docs/organizationsettings/README.md deleted file mode 100755 index 6dfcbf982..000000000 --- a/organization/docs/organizationsettings/README.md +++ /dev/null @@ -1,97 +0,0 @@ -# organization_settings - -## Overview - -Organisation Settings - -### Available Operations - -* [delete_settings_value](#delete_settings_value) - deleteSettingsValue -* [get_settings](#get_settings) - getSettings -* [put_settings_value](#put_settings_value) - putSettingsValue - -## delete_settings_value - -Updates an organizatio nsetting - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - epilot_auth="", - ), -) - -req = operations.DeleteSettingsValueRequest( - key='veritatis', - org_id='739224', -) - -res = s.organization_settings.delete_settings_value(req) - -if res.status_code == 200: - # handle response -``` - -## get_settings - -Get full organization settings object - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - epilot_auth="", - ), -) - -req = operations.GetSettingsRequest( - org_id='739224', -) - -res = s.organization_settings.get_settings(req) - -if res.settings is not None: - # handle response -``` - -## put_settings_value - -Updates an organization setting - -### Example Usage - -```python -import epilot -from epilot.models import operations - -s = epilot.Epilot( - security=shared.Security( - epilot_auth="", - ), -) - -req = operations.PutSettingsValueRequest( - request_body=[ - { - "repellendus": 'sapiente', - "quo": 'odit', - }, - ], - key='at', - org_id='739224', -) - -res = s.organization_settings.put_settings_value(req) - -if res.settings_value is not None: - # handle response -``` diff --git a/organization/docs/epilot/README.md b/organization/docs/sdks/epilot/README.md similarity index 100% rename from organization/docs/epilot/README.md rename to organization/docs/sdks/epilot/README.md diff --git a/organization/docs/sdks/organization/README.md b/organization/docs/sdks/organization/README.md new file mode 100755 index 000000000..9762a81ac --- /dev/null +++ b/organization/docs/sdks/organization/README.md @@ -0,0 +1,113 @@ +# organization + +## Overview + +Organization info + +### Available Operations + +* [get_organization](#get_organization) - getOrganization +* [update_organization](#update_organization) - updateOrganization + +## get_organization + +getOrganization + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.GetOrganizationRequest( + org_id='739224', +) + +res = s.organization.get_organization(req) + +if res.organization is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `request` | [operations.GetOrganizationRequest](../../models/operations/getorganizationrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.GetOrganizationResponse](../../models/operations/getorganizationresponse.md)** + + +## update_organization + +updateOrganization + +### Example Usage + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.UpdateOrganizationRequest( + organization=shared.Organization( + address=shared.OrganizationAddress( + city='Laruecester', + country='Suriname', + postal_code='85846-6342', + street='092 Jasper Skyway', + street_number='placeat', + ), + email='someone@epilot.cloud', + free_user_limit=50, + id='739224', + is_unlicensed_org=False, + logo_thumbnail_url='https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png', + logo_url='https://epilot-playground-organization-data.s3.eu-central-1.amazonaws.com/epilot-logo.png', + name='Epilot', + phone='49123123123', + pricing_tier='professional', + signature='

Thanks

', + style={ + "iusto": 'excepturi', + "nisi": 'recusandae', + "temporibus": 'ab', + }, + symbol='EPI', + type=shared.OrganizationType.VENDOR, + website='https://epilot.cloud', + ), + org_id='739224', +) + +res = s.organization.update_organization(req) + +if res.organization is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `request` | [operations.UpdateOrganizationRequest](../../models/operations/updateorganizationrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.UpdateOrganizationResponse](../../models/operations/updateorganizationresponse.md)** + diff --git a/organization/docs/sdks/organizationsettings/README.md b/organization/docs/sdks/organizationsettings/README.md new file mode 100755 index 000000000..b04c68611 --- /dev/null +++ b/organization/docs/sdks/organizationsettings/README.md @@ -0,0 +1,133 @@ +# organization_settings + +## Overview + +Organisation Settings + +### Available Operations + +* [delete_settings_value](#delete_settings_value) - deleteSettingsValue +* [get_settings](#get_settings) - getSettings +* [put_settings_value](#put_settings_value) - putSettingsValue + +## delete_settings_value + +Updates an organizatio nsetting + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.DeleteSettingsValueRequest( + key='veritatis', + org_id='739224', +) + +res = s.organization_settings.delete_settings_value(req) + +if res.status_code == 200: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `request` | [operations.DeleteSettingsValueRequest](../../models/operations/deletesettingsvaluerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.DeleteSettingsValueResponse](../../models/operations/deletesettingsvalueresponse.md)** + + +## get_settings + +Get full organization settings object + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.GetSettingsRequest( + org_id='739224', +) + +res = s.organization_settings.get_settings(req) + +if res.settings is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `request` | [operations.GetSettingsRequest](../../models/operations/getsettingsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.GetSettingsResponse](../../models/operations/getsettingsresponse.md)** + + +## put_settings_value + +Updates an organization setting + +### Example Usage + +```python +import epilot +from epilot.models import operations + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), +) + +req = operations.PutSettingsValueRequest( + request_body=[ + { + "repellendus": 'sapiente', + "quo": 'odit', + }, + ], + key='at', + org_id='739224', +) + +res = s.organization_settings.put_settings_value(req) + +if res.settings_value is not None: + # handle response +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `request` | [operations.PutSettingsValueRequest](../../models/operations/putsettingsvaluerequest.md) | :heavy_check_mark: | The request object to use for the request. | + + +### Response + +**[operations.PutSettingsValueResponse](../../models/operations/putsettingsvalueresponse.md)** + diff --git a/organization/files.gen b/organization/files.gen index f5f7e770a..0606dfc94 100755 --- a/organization/files.gen +++ b/organization/files.gen @@ -19,7 +19,21 @@ src/epilot/models/operations/__init__.py src/epilot/models/shared/organization.py src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py -docs/epilot/README.md -docs/organization/README.md -docs/organizationsettings/README.md -USAGE.md \ No newline at end of file +docs/sdks/epilot/README.md +docs/sdks/organization/README.md +docs/sdks/organizationsettings/README.md +USAGE.md +docs/models/operations/getorganizationrequest.md +docs/models/operations/getorganizationresponse.md +docs/models/operations/updateorganizationrequest.md +docs/models/operations/updateorganizationresponse.md +docs/models/operations/deletesettingsvaluerequest.md +docs/models/operations/deletesettingsvalueresponse.md +docs/models/operations/getsettingsrequest.md +docs/models/operations/getsettingsresponse.md +docs/models/operations/putsettingsvaluerequest.md +docs/models/operations/putsettingsvalueresponse.md +docs/models/shared/organizationaddress.md +docs/models/shared/organizationtype.md +docs/models/shared/organization.md +docs/models/shared/security.md \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 114bceda1..42bfe8a50 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.45.2 - generationVersion: 2.37.2 + speakeasyVersion: 1.47.0 + generationVersion: 2.39.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.20.1 + version: 1.21.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 844b0bf3d..a77c00fa4 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.20.1", + version="1.21.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/models/operations/deletesettingsvalue.py b/organization/src/epilot/models/operations/deletesettingsvalue.py index 01aec70d7..bbc11f016 100755 --- a/organization/src/epilot/models/operations/deletesettingsvalue.py +++ b/organization/src/epilot/models/operations/deletesettingsvalue.py @@ -6,19 +6,22 @@ from typing import Optional + @dataclasses.dataclass class DeleteSettingsValueRequest: - key: str = dataclasses.field(metadata={'path_param': { 'field_name': 'key', 'style': 'simple', 'explode': False }}) r"""Organization setting key""" org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) r"""The Id of the organization.""" + + + @dataclasses.dataclass class DeleteSettingsValueResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/organization/src/epilot/models/operations/getorganization.py b/organization/src/epilot/models/operations/getorganization.py index 4c85bf2b3..7f92696d2 100755 --- a/organization/src/epilot/models/operations/getorganization.py +++ b/organization/src/epilot/models/operations/getorganization.py @@ -7,19 +7,22 @@ from typing import Optional + @dataclasses.dataclass class GetOrganizationRequest: - org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) r"""The Id of the organization.""" + + + @dataclasses.dataclass class GetOrganizationResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() organization: Optional[shared_organization.Organization] = dataclasses.field(default=None) r"""The returned organization""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/organization/src/epilot/models/operations/getsettings.py b/organization/src/epilot/models/operations/getsettings.py index 9ff027d03..4f2ecd43c 100755 --- a/organization/src/epilot/models/operations/getsettings.py +++ b/organization/src/epilot/models/operations/getsettings.py @@ -6,19 +6,22 @@ from typing import Any, Optional + @dataclasses.dataclass class GetSettingsRequest: - org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) r"""The Id of the organization.""" + + + @dataclasses.dataclass class GetSettingsResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) settings: Optional[dict[str, Any]] = dataclasses.field(default=None) r"""Returns the organization settings""" - \ No newline at end of file + + diff --git a/organization/src/epilot/models/operations/putsettingsvalue.py b/organization/src/epilot/models/operations/putsettingsvalue.py index d3cd11b4f..737cb9281 100755 --- a/organization/src/epilot/models/operations/putsettingsvalue.py +++ b/organization/src/epilot/models/operations/putsettingsvalue.py @@ -6,9 +6,9 @@ from typing import Any, Optional + @dataclasses.dataclass class PutSettingsValueRequest: - key: str = dataclasses.field(metadata={'path_param': { 'field_name': 'key', 'style': 'simple', 'explode': False }}) r"""Organization setting key""" org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) @@ -17,12 +17,15 @@ class PutSettingsValueRequest: r"""Value to set""" + + + @dataclasses.dataclass class PutSettingsValueResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) settings_value: Optional[Any] = dataclasses.field(default=None) r"""Returns the value of the setting""" - \ No newline at end of file + + diff --git a/organization/src/epilot/models/operations/updateorganization.py b/organization/src/epilot/models/operations/updateorganization.py index 802d7ba4b..fc91532da 100755 --- a/organization/src/epilot/models/operations/updateorganization.py +++ b/organization/src/epilot/models/operations/updateorganization.py @@ -7,20 +7,23 @@ from typing import Optional + @dataclasses.dataclass class UpdateOrganizationRequest: - org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) r"""The Id of the organization.""" organization: Optional[shared_organization.Organization] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) + + + @dataclasses.dataclass class UpdateOrganizationResponse: - content_type: str = dataclasses.field() status_code: int = dataclasses.field() organization: Optional[shared_organization.Organization] = dataclasses.field(default=None) r"""The updated organization""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) - \ No newline at end of file + + diff --git a/organization/src/epilot/models/shared/organization.py b/organization/src/epilot/models/shared/organization.py index 2a4bf834f..fe72d11ce 100755 --- a/organization/src/epilot/models/shared/organization.py +++ b/organization/src/epilot/models/shared/organization.py @@ -9,25 +9,27 @@ @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class OrganizationAddress: - city: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('city'), 'exclude': lambda f: f is None }}) country: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('country'), 'exclude': lambda f: f is None }}) postal_code: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('postal_code'), 'exclude': lambda f: f is None }}) street: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street'), 'exclude': lambda f: f is None }}) street_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street_number'), 'exclude': lambda f: f is None }}) + + class OrganizationType(str, Enum): VENDOR = 'Vendor' PARTNER = 'Partner' @dataclass_json(undefined=Undefined.EXCLUDE) + @dataclasses.dataclass class Organization: r"""The returned organization""" - address: Optional[OrganizationAddress] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('address'), 'exclude': lambda f: f is None }}) email: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email'), 'exclude': lambda f: f is None }}) free_user_limit: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('free_user_limit'), 'exclude': lambda f: f is None }}) @@ -44,4 +46,5 @@ class Organization: symbol: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('symbol'), 'exclude': lambda f: f is None }}) type: Optional[OrganizationType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) website: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('website'), 'exclude': lambda f: f is None }}) - \ No newline at end of file + + diff --git a/organization/src/epilot/models/shared/security.py b/organization/src/epilot/models/shared/security.py index 7be3d6e93..e75e944ea 100755 --- a/organization/src/epilot/models/shared/security.py +++ b/organization/src/epilot/models/shared/security.py @@ -4,8 +4,9 @@ import dataclasses + @dataclasses.dataclass class Security: - epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) - \ No newline at end of file + + diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 9387b12c6..ddb2d5f57 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.20.1' - gen_version: str = '2.37.2' + sdk_version: str = '1.21.0' + gen_version: str = '2.39.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 8176dee18127667800ccec2919be9c81993731ad Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sun, 11 Jun 2023 00:36:51 +0000 Subject: [PATCH 35/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.47.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 2dab84fed..c16cc4f72 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -238,4 +238,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.47.0 (2.39.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.47.0 (2.39.0) https://github.com/speakeasy-api/speakeasy + +## 2023-06-11 00:36:35 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.47.1 (2.39.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 42bfe8a50..35c862011 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.47.0 - generationVersion: 2.39.0 + speakeasyVersion: 1.47.1 + generationVersion: 2.39.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.21.0 + version: 1.21.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index a77c00fa4..cce728d18 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.21.0", + version="1.21.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index ddb2d5f57..f0493bb7e 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.21.0' - gen_version: str = '2.39.0' + sdk_version: str = '1.21.1' + gen_version: str = '2.39.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 7ff5dad5d369c918177d18fadd9cb4977000008f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 14 Jun 2023 00:31:50 +0000 Subject: [PATCH 36/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.47.3 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- organization/src/epilot/utils/retries.py | 3 ++- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index c16cc4f72..88f033cc6 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -244,4 +244,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.47.1 (2.39.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.47.1 (2.39.2) https://github.com/speakeasy-api/speakeasy + +## 2023-06-14 00:31:37 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.47.3 (2.40.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 35c862011..70ae967e4 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.47.1 - generationVersion: 2.39.2 + speakeasyVersion: 1.47.3 + generationVersion: 2.40.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.21.1 + version: 1.22.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index cce728d18..3b86489c7 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.21.1", + version="1.22.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index f0493bb7e..e8e2786d7 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.21.1' - gen_version: str = '2.39.2' + sdk_version: str = '1.22.0' + gen_version: str = '2.40.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/organization/src/epilot/utils/retries.py b/organization/src/epilot/utils/retries.py index c6251d948..2138c1b5e 100755 --- a/organization/src/epilot/utils/retries.py +++ b/organization/src/epilot/utils/retries.py @@ -24,8 +24,9 @@ class RetryConfig: backoff: BackoffStrategy retry_connection_errors: bool - def __init__(self, strategy: str, retry_connection_errors: bool): + def __init__(self, strategy: str, backoff: BackoffStrategy, retry_connection_errors: bool): self.strategy = strategy + self.backoff = backoff self.retry_connection_errors = retry_connection_errors From 22d626ea96fd8655325164b88746b5da3bc196cd Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 16 Jun 2023 00:34:00 +0000 Subject: [PATCH 37/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.48.0 --- organization/.gitignore | 2 +- organization/RELEASES.md | 8 +++++++- organization/files.gen | 1 - organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 6 files changed, 14 insertions(+), 9 deletions(-) diff --git a/organization/.gitignore b/organization/.gitignore index 9072ad43b..648876d29 100755 --- a/organization/.gitignore +++ b/organization/.gitignore @@ -2,4 +2,4 @@ venv/ src/*.egg-info/ __pycache__/ .pytest_cache/ -.python-version` \ No newline at end of file +.python-version` diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 88f033cc6..0cab90019 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -250,4 +250,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.47.3 (2.40.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.47.3 (2.40.1) https://github.com/speakeasy-api/speakeasy + +## 2023-06-16 00:33:46 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.48.0 (2.41.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/files.gen b/organization/files.gen index 0606dfc94..a2ab2be88 100755 --- a/organization/files.gen +++ b/organization/files.gen @@ -2,7 +2,6 @@ src/epilot/sdkconfiguration.py src/epilot/organization.py src/epilot/organization_settings.py src/epilot/sdk.py -.gitignore pylintrc setup.py src/epilot/__init__.py diff --git a/organization/gen.yaml b/organization/gen.yaml index 70ae967e4..088d05b32 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.47.3 - generationVersion: 2.40.1 + speakeasyVersion: 1.48.0 + generationVersion: 2.41.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.22.0 + version: 1.23.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 3b86489c7..3131a74ae 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.22.0", + version="1.23.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index e8e2786d7..493f89e40 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.22.0' - gen_version: str = '2.40.1' + sdk_version: str = '1.23.0' + gen_version: str = '2.41.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 5252b09602020c2824f8728d508569885e30e38d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 20 Jun 2023 00:31:00 +0000 Subject: [PATCH 38/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.49.0 --- organization/.gitignore | 2 ++ organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/organization/.gitignore b/organization/.gitignore index 648876d29..8ac3f51d4 100755 --- a/organization/.gitignore +++ b/organization/.gitignore @@ -1,3 +1,5 @@ +.python-version +.DS_Store venv/ src/*.egg-info/ __pycache__/ diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 0cab90019..6df8ddee3 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -256,4 +256,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.48.0 (2.41.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.48.0 (2.41.1) https://github.com/speakeasy-api/speakeasy + +## 2023-06-20 00:30:47 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.49.0 (2.41.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 088d05b32..c06382414 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.48.0 - generationVersion: 2.41.1 + speakeasyVersion: 1.49.0 + generationVersion: 2.41.4 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.23.0 + version: 1.23.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 3131a74ae..62b68c439 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.23.0", + version="1.23.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 493f89e40..503957c48 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.23.0' - gen_version: str = '2.41.1' + sdk_version: str = '1.23.1' + gen_version: str = '2.41.4' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 344adac6ad15724139da4430be9b11a0de1224a9 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 21 Jun 2023 00:33:02 +0000 Subject: [PATCH 39/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.49.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 6df8ddee3..43dcfe0a0 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -262,4 +262,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.49.0 (2.41.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.49.0 (2.41.4) https://github.com/speakeasy-api/speakeasy + +## 2023-06-21 00:32:45 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index c06382414..d2f9a8bf1 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.49.0 - generationVersion: 2.41.4 + speakeasyVersion: 1.49.1 + generationVersion: 2.41.5 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.23.1 + version: 1.23.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 62b68c439..dcf5de9ea 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.23.1", + version="1.23.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 503957c48..f373e9ac1 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.23.1' - gen_version: str = '2.41.4' + sdk_version: str = '1.23.2' + gen_version: str = '2.41.5' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 18a74f8d4feacc13a38498b2ea64732e0a32e898 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 23 Jun 2023 00:37:36 +0000 Subject: [PATCH 40/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.50.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 43dcfe0a0..de6bd2564 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -268,4 +268,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy + +## 2023-06-23 00:37:20 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index d2f9a8bf1..45d618609 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.49.1 - generationVersion: 2.41.5 + speakeasyVersion: 1.50.1 + generationVersion: 2.43.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.23.2 + version: 1.24.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index dcf5de9ea..1e1664c2e 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.23.2", + version="1.24.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index f373e9ac1..561732ee7 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.23.2' - gen_version: str = '2.41.5' + sdk_version: str = '1.24.0' + gen_version: str = '2.43.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From b2f1dffd640f32eb707eade7c3047aa72b0d8bc5 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 27 Jun 2023 00:37:09 +0000 Subject: [PATCH 41/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.51.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index de6bd2564..9cdf4c5e7 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -274,4 +274,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy + +## 2023-06-27 00:36:55 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.51.1 (2.50.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 45d618609..6ed32ab12 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.50.1 - generationVersion: 2.43.2 + speakeasyVersion: 1.51.1 + generationVersion: 2.50.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.24.0 + version: 1.25.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 1e1664c2e..862b1ed2e 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.24.0", + version="1.25.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 561732ee7..e2f3ff0dd 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.24.0' - gen_version: str = '2.43.2' + sdk_version: str = '1.25.0' + gen_version: str = '2.50.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 4ffbf88642d3d2895f43659b4324905a959a7ad1 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 29 Jun 2023 00:36:25 +0000 Subject: [PATCH 42/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.51.3 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 9cdf4c5e7..12f3607b9 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -280,4 +280,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.51.1 (2.50.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.51.1 (2.50.2) https://github.com/speakeasy-api/speakeasy + +## 2023-06-29 00:36:10 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.51.3 (2.52.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 6ed32ab12..fc9f59348 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.51.1 - generationVersion: 2.50.2 + speakeasyVersion: 1.51.3 + generationVersion: 2.52.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.25.0 + version: 1.26.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 862b1ed2e..1fa4d7167 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.25.0", + version="1.26.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index e2f3ff0dd..885faac95 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.25.0' - gen_version: str = '2.50.2' + sdk_version: str = '1.26.0' + gen_version: str = '2.52.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 2c9448a1c94e1d365c01d1ae340b6f1df5de6e68 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 1 Jul 2023 00:41:01 +0000 Subject: [PATCH 43/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.52.0 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 12f3607b9..8cb107058 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -286,4 +286,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.51.3 (2.52.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.51.3 (2.52.2) https://github.com/speakeasy-api/speakeasy + +## 2023-07-01 00:40:48 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index fc9f59348..272011de2 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.51.3 - generationVersion: 2.52.2 + speakeasyVersion: 1.52.0 + generationVersion: 2.55.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.26.0 + version: 1.27.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 1fa4d7167..749ad8989 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.26.0", + version="1.27.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 885faac95..2ae5dfa73 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.26.0' - gen_version: str = '2.52.2' + sdk_version: str = '1.27.0' + gen_version: str = '2.55.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 6dfffd0152e4236397da2ffb3157b6a859e7400a Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 6 Jul 2023 00:38:28 +0000 Subject: [PATCH 44/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.52.2 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 8cb107058..4153557f5 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -292,4 +292,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-06 00:38:12 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.52.2 (2.57.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 272011de2..37dbef7e6 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.52.0 - generationVersion: 2.55.0 + speakeasyVersion: 1.52.2 + generationVersion: 2.57.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.27.0 + version: 1.28.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 749ad8989..cff955f0a 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.27.0", + version="1.28.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 2ae5dfa73..c7edd435f 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.27.0' - gen_version: str = '2.55.0' + sdk_version: str = '1.28.0' + gen_version: str = '2.57.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From f1d86336b5689ae570cfb2c35caffc95c285d6c7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 7 Jul 2023 00:37:50 +0000 Subject: [PATCH 45/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.53.0 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 4153557f5..510dd0d99 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -298,4 +298,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.52.2 (2.57.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.52.2 (2.57.2) https://github.com/speakeasy-api/speakeasy + +## 2023-07-07 00:37:36 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 37dbef7e6..da7e4cd2a 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.52.2 - generationVersion: 2.57.2 + speakeasyVersion: 1.53.0 + generationVersion: 2.58.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.28.0 + version: 1.29.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index cff955f0a..309830f79 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.28.0", + version="1.29.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index c7edd435f..d215d35dc 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.28.0' - gen_version: str = '2.57.2' + sdk_version: str = '1.29.0' + gen_version: str = '2.58.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 606b6ce188a5f23e40ca7285929428b1b795a97c Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 8 Jul 2023 00:35:52 +0000 Subject: [PATCH 46/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.53.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 510dd0d99..1cf0954a1 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -304,4 +304,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-08 00:35:38 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.53.1 (2.58.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index da7e4cd2a..b4fca036b 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.53.0 - generationVersion: 2.58.0 + speakeasyVersion: 1.53.1 + generationVersion: 2.58.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.29.0 + version: 1.29.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 309830f79..8df8fdca0 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.29.0", + version="1.29.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index d215d35dc..400b5917d 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.29.0' - gen_version: str = '2.58.0' + sdk_version: str = '1.29.1' + gen_version: str = '2.58.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 8704bdf4ad871a8b0bee5500f21ba5056096dfcd Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 11 Jul 2023 00:33:01 +0000 Subject: [PATCH 47/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.56.0 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 1cf0954a1..fa3ba5595 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -310,4 +310,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.53.1 (2.58.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.53.1 (2.58.2) https://github.com/speakeasy-api/speakeasy + +## 2023-07-11 00:32:47 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.56.0 (2.61.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index b4fca036b..0a246e0f3 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.53.1 - generationVersion: 2.58.2 + speakeasyVersion: 1.56.0 + generationVersion: 2.61.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.29.1 + version: 1.30.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 8df8fdca0..5de106c65 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.29.1", + version="1.30.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 400b5917d..687af1e6b 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.29.1' - gen_version: str = '2.58.2' + sdk_version: str = '1.30.0' + gen_version: str = '2.61.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 127ea2d65e6b6b4f4c06e995eaea9f0c34e82311 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 12 Jul 2023 00:39:17 +0000 Subject: [PATCH 48/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.56.3 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index fa3ba5595..a6298e48d 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -316,4 +316,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.56.0 (2.61.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.56.0 (2.61.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-12 00:39:01 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.56.3 (2.61.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 0a246e0f3..8fcf4d0d7 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.56.0 - generationVersion: 2.61.0 + speakeasyVersion: 1.56.3 + generationVersion: 2.61.4 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.30.0 + version: 1.30.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 5de106c65..5ebd246b7 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.30.0", + version="1.30.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 687af1e6b..1ec6ae22a 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.30.0' - gen_version: str = '2.61.0' + sdk_version: str = '1.30.1' + gen_version: str = '2.61.4' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From c0300a79f9cc7b13f789dea56d0ac0e4c4e1fcc2 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 13 Jul 2023 00:37:05 +0000 Subject: [PATCH 49/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.57.0 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index a6298e48d..83f05fd31 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -322,4 +322,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.56.3 (2.61.4) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.56.3 (2.61.4) https://github.com/speakeasy-api/speakeasy + +## 2023-07-13 00:36:51 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.57.0 (2.62.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 8fcf4d0d7..d14480e4e 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.56.3 - generationVersion: 2.61.4 + speakeasyVersion: 1.57.0 + generationVersion: 2.62.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.30.1 + version: 1.31.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 5ebd246b7..54ed9f278 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.30.1", + version="1.31.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 1ec6ae22a..275d47928 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.30.1' - gen_version: str = '2.61.4' + sdk_version: str = '1.31.0' + gen_version: str = '2.62.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 62cd6e4dbd2c3cf585046b2ea7515c92ef78db33 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 14 Jul 2023 00:37:52 +0000 Subject: [PATCH 50/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.59.0 --- organization/README.md | 4 +++- organization/RELEASES.md | 8 +++++++- organization/USAGE.md | 4 +++- organization/docs/sdks/organization/README.md | 2 +- organization/docs/sdks/organizationsettings/README.md | 6 +++--- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 8 files changed, 23 insertions(+), 13 deletions(-) diff --git a/organization/README.md b/organization/README.md index b9ba96325..ea0ddea50 100755 --- a/organization/README.md +++ b/organization/README.md @@ -10,9 +10,11 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=organi ## SDK Example Usage + + ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 83f05fd31..70fd46e74 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -328,4 +328,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.57.0 (2.62.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.57.0 (2.62.1) https://github.com/speakeasy-api/speakeasy + +## 2023-07-14 00:37:38 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.59.0 (2.65.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/USAGE.md b/organization/USAGE.md index a76174355..3e67c1280 100755 --- a/organization/USAGE.md +++ b/organization/USAGE.md @@ -1,7 +1,9 @@ + + ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( diff --git a/organization/docs/sdks/organization/README.md b/organization/docs/sdks/organization/README.md index 9762a81ac..2a182c57f 100755 --- a/organization/docs/sdks/organization/README.md +++ b/organization/docs/sdks/organization/README.md @@ -17,7 +17,7 @@ getOrganization ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( diff --git a/organization/docs/sdks/organizationsettings/README.md b/organization/docs/sdks/organizationsettings/README.md index b04c68611..710b64c08 100755 --- a/organization/docs/sdks/organizationsettings/README.md +++ b/organization/docs/sdks/organizationsettings/README.md @@ -18,7 +18,7 @@ Updates an organizatio nsetting ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( @@ -57,7 +57,7 @@ Get full organization settings object ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( @@ -95,7 +95,7 @@ Updates an organization setting ```python import epilot -from epilot.models import operations +from epilot.models import operations, shared s = epilot.Epilot( security=shared.Security( diff --git a/organization/gen.yaml b/organization/gen.yaml index d14480e4e..9f65b879b 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.57.0 - generationVersion: 2.62.1 + speakeasyVersion: 1.59.0 + generationVersion: 2.65.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.31.0 + version: 1.32.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 54ed9f278..d4166fc3d 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.31.0", + version="1.32.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 275d47928..6d227cced 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.31.0' - gen_version: str = '2.62.1' + sdk_version: str = '1.32.0' + gen_version: str = '2.65.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 8227fa46df0be31c2c2c24d1d0aca7d64d831105 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 18 Jul 2023 00:56:27 +0000 Subject: [PATCH 51/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.61.0 --- organization/RELEASES.md | 8 ++++++- organization/files.gen | 2 ++ organization/gen.yaml | 6 ++--- organization/pylintrc | 4 +++- organization/setup.py | 2 +- .../src/epilot/models/errors/__init__.py | 4 ++++ .../src/epilot/models/errors/sdkerror.py | 24 +++++++++++++++++++ organization/src/epilot/organization.py | 6 ++++- .../src/epilot/organization_settings.py | 6 ++++- organization/src/epilot/sdkconfiguration.py | 4 ++-- 10 files changed, 56 insertions(+), 10 deletions(-) create mode 100755 organization/src/epilot/models/errors/__init__.py create mode 100755 organization/src/epilot/models/errors/sdkerror.py diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 70fd46e74..b6bf2f2c3 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -334,4 +334,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.59.0 (2.65.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.59.0 (2.65.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-18 00:56:12 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.61.0 (2.70.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/files.gen b/organization/files.gen index a2ab2be88..4329ce0b8 100755 --- a/organization/files.gen +++ b/organization/files.gen @@ -6,6 +6,7 @@ pylintrc setup.py src/epilot/__init__.py src/epilot/models/__init__.py +src/epilot/models/errors/sdkerror.py src/epilot/utils/__init__.py src/epilot/utils/retries.py src/epilot/utils/utils.py @@ -18,6 +19,7 @@ src/epilot/models/operations/__init__.py src/epilot/models/shared/organization.py src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py +src/epilot/models/errors/__init__.py docs/sdks/epilot/README.md docs/sdks/organization/README.md docs/sdks/organizationsettings/README.md diff --git a/organization/gen.yaml b/organization/gen.yaml index 9f65b879b..cd2b4a578 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.59.0 - generationVersion: 2.65.0 + speakeasyVersion: 1.61.0 + generationVersion: 2.70.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.32.0 + version: 1.33.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/pylintrc b/organization/pylintrc index 1ce47d88d..21a389459 100755 --- a/organization/pylintrc +++ b/organization/pylintrc @@ -438,7 +438,9 @@ disable=raw-checker-failed, using-constant-test, too-many-statements, cyclic-import, - too-many-nested-blocks + too-many-nested-blocks, + too-many-boolean-expressions, + no-else-raise # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option diff --git a/organization/setup.py b/organization/setup.py index d4166fc3d..6bc4ddeaf 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.32.0", + version="1.33.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/models/errors/__init__.py b/organization/src/epilot/models/errors/__init__.py new file mode 100755 index 000000000..cfd848441 --- /dev/null +++ b/organization/src/epilot/models/errors/__init__.py @@ -0,0 +1,4 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +from .sdkerror import SDKError +__all__ = ["SDKError"] diff --git a/organization/src/epilot/models/errors/sdkerror.py b/organization/src/epilot/models/errors/sdkerror.py new file mode 100755 index 000000000..6bb02bbd6 --- /dev/null +++ b/organization/src/epilot/models/errors/sdkerror.py @@ -0,0 +1,24 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import requests as requests_http + + +class SDKError(Exception): + """Represents an error returned by the API.""" + message: str + status_code: int + body: str + raw_response: requests_http.Response + + def __init__(self, message: str, status_code: int, body: str, raw_response: requests_http.Response): + self.message = message + self.status_code = status_code + self.body = body + self.raw_response = raw_response + + def __str__(self): + body = '' + if len(self.body) > 0: + body = f'\n{self.body}' + + return f'{self.message}: Status {self.status_code}{body}' diff --git a/organization/src/epilot/organization.py b/organization/src/epilot/organization.py index a441b3457..084805f9c 100755 --- a/organization/src/epilot/organization.py +++ b/organization/src/epilot/organization.py @@ -2,7 +2,7 @@ from .sdkconfiguration import SDKConfiguration from epilot import utils -from epilot.models import operations, shared +from epilot.models import errors, operations, shared from typing import Optional class Organization: @@ -33,6 +33,8 @@ def get_organization(self, request: operations.GetOrganizationRequest) -> operat if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.Organization]) res.organization = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -60,6 +62,8 @@ def update_organization(self, request: operations.UpdateOrganizationRequest) -> if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[shared.Organization]) res.organization = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res diff --git a/organization/src/epilot/organization_settings.py b/organization/src/epilot/organization_settings.py index 34775d753..891ee6c99 100755 --- a/organization/src/epilot/organization_settings.py +++ b/organization/src/epilot/organization_settings.py @@ -2,7 +2,7 @@ from .sdkconfiguration import SDKConfiguration from epilot import utils -from epilot.models import operations +from epilot.models import errors, operations from typing import Any, Optional class OrganizationSettings: @@ -57,6 +57,8 @@ def get_settings(self, request: operations.GetSettingsRequest) -> operations.Get if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[dict[str, Any]]) res.settings = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res @@ -86,6 +88,8 @@ def put_settings_value(self, request: operations.PutSettingsValueRequest) -> ope if utils.match_content_type(content_type, 'application/json'): out = utils.unmarshal_json(http_res.text, Optional[Any]) res.settings_value = out + else: + raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) return res diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 6d227cced..3f95ee8e9 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.32.0' - gen_version: str = '2.65.0' + sdk_version: str = '1.33.0' + gen_version: str = '2.70.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From d5d515bbd955d1b251c6354fa164a88b60f317c3 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 19 Jul 2023 00:57:09 +0000 Subject: [PATCH 52/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.62.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index b6bf2f2c3..2db6d425c 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -340,4 +340,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.61.0 (2.70.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.61.0 (2.70.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-19 00:56:54 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.62.1 (2.70.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index cd2b4a578..b0f861ab3 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.61.0 - generationVersion: 2.70.0 + speakeasyVersion: 1.62.1 + generationVersion: 2.70.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.33.0 + version: 1.33.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 6bc4ddeaf..b0618aba6 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.33.0", + version="1.33.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 3f95ee8e9..7d4c97af3 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.33.0' - gen_version: str = '2.70.0' + sdk_version: str = '1.33.1' + gen_version: str = '2.70.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From a2ab024bf75e9bcdbcd468ab50b10bcd7cd97b7d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 22 Jul 2023 00:33:13 +0000 Subject: [PATCH 53/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.64.0 --- organization/RELEASES.md | 8 +++++++- organization/USAGE.md | 0 .../docs/models/operations/deletesettingsvaluerequest.md | 0 .../docs/models/operations/deletesettingsvalueresponse.md | 0 .../docs/models/operations/getorganizationrequest.md | 0 .../docs/models/operations/getorganizationresponse.md | 0 organization/docs/models/operations/getsettingsrequest.md | 0 .../docs/models/operations/getsettingsresponse.md | 0 .../docs/models/operations/putsettingsvaluerequest.md | 0 .../docs/models/operations/putsettingsvalueresponse.md | 0 .../docs/models/operations/updateorganizationrequest.md | 0 .../docs/models/operations/updateorganizationresponse.md | 0 organization/docs/models/shared/organization.md | 0 organization/docs/models/shared/organizationaddress.md | 0 organization/docs/models/shared/organizationtype.md | 0 organization/docs/models/shared/security.md | 0 organization/docs/sdks/epilot/README.md | 0 organization/docs/sdks/organization/README.md | 0 organization/docs/sdks/organizationsettings/README.md | 0 organization/gen.yaml | 6 +++--- organization/pylintrc | 0 organization/setup.py | 4 ++-- organization/src/epilot/__init__.py | 0 organization/src/epilot/models/__init__.py | 0 organization/src/epilot/models/errors/__init__.py | 0 organization/src/epilot/models/errors/sdkerror.py | 0 organization/src/epilot/models/operations/__init__.py | 0 .../src/epilot/models/operations/deletesettingsvalue.py | 0 .../src/epilot/models/operations/getorganization.py | 0 organization/src/epilot/models/operations/getsettings.py | 0 .../src/epilot/models/operations/putsettingsvalue.py | 0 .../src/epilot/models/operations/updateorganization.py | 0 organization/src/epilot/models/shared/__init__.py | 0 organization/src/epilot/models/shared/organization.py | 0 organization/src/epilot/models/shared/security.py | 0 organization/src/epilot/organization.py | 0 organization/src/epilot/organization_settings.py | 0 organization/src/epilot/sdk.py | 0 organization/src/epilot/sdkconfiguration.py | 4 ++-- organization/src/epilot/utils/__init__.py | 0 organization/src/epilot/utils/retries.py | 0 organization/src/epilot/utils/utils.py | 0 42 files changed, 14 insertions(+), 8 deletions(-) mode change 100755 => 100644 organization/USAGE.md mode change 100755 => 100644 organization/docs/models/operations/deletesettingsvaluerequest.md mode change 100755 => 100644 organization/docs/models/operations/deletesettingsvalueresponse.md mode change 100755 => 100644 organization/docs/models/operations/getorganizationrequest.md mode change 100755 => 100644 organization/docs/models/operations/getorganizationresponse.md mode change 100755 => 100644 organization/docs/models/operations/getsettingsrequest.md mode change 100755 => 100644 organization/docs/models/operations/getsettingsresponse.md mode change 100755 => 100644 organization/docs/models/operations/putsettingsvaluerequest.md mode change 100755 => 100644 organization/docs/models/operations/putsettingsvalueresponse.md mode change 100755 => 100644 organization/docs/models/operations/updateorganizationrequest.md mode change 100755 => 100644 organization/docs/models/operations/updateorganizationresponse.md mode change 100755 => 100644 organization/docs/models/shared/organization.md mode change 100755 => 100644 organization/docs/models/shared/organizationaddress.md mode change 100755 => 100644 organization/docs/models/shared/organizationtype.md mode change 100755 => 100644 organization/docs/models/shared/security.md mode change 100755 => 100644 organization/docs/sdks/epilot/README.md mode change 100755 => 100644 organization/docs/sdks/organization/README.md mode change 100755 => 100644 organization/docs/sdks/organizationsettings/README.md mode change 100755 => 100644 organization/pylintrc mode change 100755 => 100644 organization/setup.py mode change 100755 => 100644 organization/src/epilot/__init__.py mode change 100755 => 100644 organization/src/epilot/models/__init__.py mode change 100755 => 100644 organization/src/epilot/models/errors/__init__.py mode change 100755 => 100644 organization/src/epilot/models/errors/sdkerror.py mode change 100755 => 100644 organization/src/epilot/models/operations/__init__.py mode change 100755 => 100644 organization/src/epilot/models/operations/deletesettingsvalue.py mode change 100755 => 100644 organization/src/epilot/models/operations/getorganization.py mode change 100755 => 100644 organization/src/epilot/models/operations/getsettings.py mode change 100755 => 100644 organization/src/epilot/models/operations/putsettingsvalue.py mode change 100755 => 100644 organization/src/epilot/models/operations/updateorganization.py mode change 100755 => 100644 organization/src/epilot/models/shared/__init__.py mode change 100755 => 100644 organization/src/epilot/models/shared/organization.py mode change 100755 => 100644 organization/src/epilot/models/shared/security.py mode change 100755 => 100644 organization/src/epilot/organization.py mode change 100755 => 100644 organization/src/epilot/organization_settings.py mode change 100755 => 100644 organization/src/epilot/sdk.py mode change 100755 => 100644 organization/src/epilot/sdkconfiguration.py mode change 100755 => 100644 organization/src/epilot/utils/__init__.py mode change 100755 => 100644 organization/src/epilot/utils/retries.py mode change 100755 => 100644 organization/src/epilot/utils/utils.py diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 2db6d425c..c4db8e07c 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -346,4 +346,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.62.1 (2.70.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.62.1 (2.70.2) https://github.com/speakeasy-api/speakeasy + +## 2023-07-22 00:33:01 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.64.0 (2.71.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/USAGE.md b/organization/USAGE.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/operations/deletesettingsvaluerequest.md b/organization/docs/models/operations/deletesettingsvaluerequest.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/operations/deletesettingsvalueresponse.md b/organization/docs/models/operations/deletesettingsvalueresponse.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/operations/getorganizationrequest.md b/organization/docs/models/operations/getorganizationrequest.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/operations/getorganizationresponse.md b/organization/docs/models/operations/getorganizationresponse.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/operations/getsettingsrequest.md b/organization/docs/models/operations/getsettingsrequest.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/operations/getsettingsresponse.md b/organization/docs/models/operations/getsettingsresponse.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/operations/putsettingsvaluerequest.md b/organization/docs/models/operations/putsettingsvaluerequest.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/operations/putsettingsvalueresponse.md b/organization/docs/models/operations/putsettingsvalueresponse.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/operations/updateorganizationrequest.md b/organization/docs/models/operations/updateorganizationrequest.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/operations/updateorganizationresponse.md b/organization/docs/models/operations/updateorganizationresponse.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/shared/organization.md b/organization/docs/models/shared/organization.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/shared/organizationaddress.md b/organization/docs/models/shared/organizationaddress.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/shared/organizationtype.md b/organization/docs/models/shared/organizationtype.md old mode 100755 new mode 100644 diff --git a/organization/docs/models/shared/security.md b/organization/docs/models/shared/security.md old mode 100755 new mode 100644 diff --git a/organization/docs/sdks/epilot/README.md b/organization/docs/sdks/epilot/README.md old mode 100755 new mode 100644 diff --git a/organization/docs/sdks/organization/README.md b/organization/docs/sdks/organization/README.md old mode 100755 new mode 100644 diff --git a/organization/docs/sdks/organizationsettings/README.md b/organization/docs/sdks/organizationsettings/README.md old mode 100755 new mode 100644 diff --git a/organization/gen.yaml b/organization/gen.yaml index b0f861ab3..957461d2e 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.62.1 - generationVersion: 2.70.2 + speakeasyVersion: 1.64.0 + generationVersion: 2.71.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.33.1 + version: 1.34.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/pylintrc b/organization/pylintrc old mode 100755 new mode 100644 diff --git a/organization/setup.py b/organization/setup.py old mode 100755 new mode 100644 index b0618aba6..c33b90e26 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.33.1", + version="1.34.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, @@ -19,7 +19,7 @@ install_requires=[ "certifi>=2022.12.7", "charset-normalizer>=2.1.1", - "dataclasses-json-speakeasy>=0.5.8", + "dataclasses-json>=0.5.12", "idna>=3.3", "jsonpath-python>=1.0.6 ", "marshmallow>=3.17.1", diff --git a/organization/src/epilot/__init__.py b/organization/src/epilot/__init__.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/models/__init__.py b/organization/src/epilot/models/__init__.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/models/errors/__init__.py b/organization/src/epilot/models/errors/__init__.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/models/errors/sdkerror.py b/organization/src/epilot/models/errors/sdkerror.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/models/operations/__init__.py b/organization/src/epilot/models/operations/__init__.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/models/operations/deletesettingsvalue.py b/organization/src/epilot/models/operations/deletesettingsvalue.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/models/operations/getorganization.py b/organization/src/epilot/models/operations/getorganization.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/models/operations/getsettings.py b/organization/src/epilot/models/operations/getsettings.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/models/operations/putsettingsvalue.py b/organization/src/epilot/models/operations/putsettingsvalue.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/models/operations/updateorganization.py b/organization/src/epilot/models/operations/updateorganization.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/models/shared/__init__.py b/organization/src/epilot/models/shared/__init__.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/models/shared/organization.py b/organization/src/epilot/models/shared/organization.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/models/shared/security.py b/organization/src/epilot/models/shared/security.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/organization.py b/organization/src/epilot/organization.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/organization_settings.py b/organization/src/epilot/organization_settings.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py old mode 100755 new mode 100644 index 7d4c97af3..cfd5fed07 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.33.1' - gen_version: str = '2.70.2' + sdk_version: str = '1.34.0' + gen_version: str = '2.71.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/organization/src/epilot/utils/__init__.py b/organization/src/epilot/utils/__init__.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/utils/retries.py b/organization/src/epilot/utils/retries.py old mode 100755 new mode 100644 diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py old mode 100755 new mode 100644 From 1d27b921119b1093235ad8774c43935dd22c5891 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 26 Jul 2023 00:32:37 +0000 Subject: [PATCH 54/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.65.0 --- organization/RELEASES.md | 8 +++++++- organization/USAGE.md | 0 .../docs/models/operations/deletesettingsvaluerequest.md | 0 .../docs/models/operations/deletesettingsvalueresponse.md | 0 .../docs/models/operations/getorganizationrequest.md | 0 .../docs/models/operations/getorganizationresponse.md | 0 organization/docs/models/operations/getsettingsrequest.md | 0 .../docs/models/operations/getsettingsresponse.md | 0 .../docs/models/operations/putsettingsvaluerequest.md | 0 .../docs/models/operations/putsettingsvalueresponse.md | 0 .../docs/models/operations/updateorganizationrequest.md | 0 .../docs/models/operations/updateorganizationresponse.md | 0 organization/docs/models/shared/organization.md | 0 organization/docs/models/shared/organizationaddress.md | 0 organization/docs/models/shared/organizationtype.md | 0 organization/docs/models/shared/security.md | 0 organization/docs/sdks/epilot/README.md | 0 organization/docs/sdks/organization/README.md | 0 organization/docs/sdks/organizationsettings/README.md | 0 organization/gen.yaml | 6 +++--- organization/pylintrc | 0 organization/setup.py | 2 +- organization/src/epilot/__init__.py | 0 organization/src/epilot/models/__init__.py | 0 organization/src/epilot/models/errors/__init__.py | 0 organization/src/epilot/models/errors/sdkerror.py | 0 organization/src/epilot/models/operations/__init__.py | 0 .../src/epilot/models/operations/deletesettingsvalue.py | 0 .../src/epilot/models/operations/getorganization.py | 0 organization/src/epilot/models/operations/getsettings.py | 0 .../src/epilot/models/operations/putsettingsvalue.py | 0 .../src/epilot/models/operations/updateorganization.py | 0 organization/src/epilot/models/shared/__init__.py | 0 organization/src/epilot/models/shared/organization.py | 0 organization/src/epilot/models/shared/security.py | 0 organization/src/epilot/organization.py | 0 organization/src/epilot/organization_settings.py | 0 organization/src/epilot/sdk.py | 0 organization/src/epilot/sdkconfiguration.py | 4 ++-- organization/src/epilot/utils/__init__.py | 0 organization/src/epilot/utils/retries.py | 0 organization/src/epilot/utils/utils.py | 0 42 files changed, 13 insertions(+), 7 deletions(-) mode change 100644 => 100755 organization/USAGE.md mode change 100644 => 100755 organization/docs/models/operations/deletesettingsvaluerequest.md mode change 100644 => 100755 organization/docs/models/operations/deletesettingsvalueresponse.md mode change 100644 => 100755 organization/docs/models/operations/getorganizationrequest.md mode change 100644 => 100755 organization/docs/models/operations/getorganizationresponse.md mode change 100644 => 100755 organization/docs/models/operations/getsettingsrequest.md mode change 100644 => 100755 organization/docs/models/operations/getsettingsresponse.md mode change 100644 => 100755 organization/docs/models/operations/putsettingsvaluerequest.md mode change 100644 => 100755 organization/docs/models/operations/putsettingsvalueresponse.md mode change 100644 => 100755 organization/docs/models/operations/updateorganizationrequest.md mode change 100644 => 100755 organization/docs/models/operations/updateorganizationresponse.md mode change 100644 => 100755 organization/docs/models/shared/organization.md mode change 100644 => 100755 organization/docs/models/shared/organizationaddress.md mode change 100644 => 100755 organization/docs/models/shared/organizationtype.md mode change 100644 => 100755 organization/docs/models/shared/security.md mode change 100644 => 100755 organization/docs/sdks/epilot/README.md mode change 100644 => 100755 organization/docs/sdks/organization/README.md mode change 100644 => 100755 organization/docs/sdks/organizationsettings/README.md mode change 100644 => 100755 organization/pylintrc mode change 100644 => 100755 organization/setup.py mode change 100644 => 100755 organization/src/epilot/__init__.py mode change 100644 => 100755 organization/src/epilot/models/__init__.py mode change 100644 => 100755 organization/src/epilot/models/errors/__init__.py mode change 100644 => 100755 organization/src/epilot/models/errors/sdkerror.py mode change 100644 => 100755 organization/src/epilot/models/operations/__init__.py mode change 100644 => 100755 organization/src/epilot/models/operations/deletesettingsvalue.py mode change 100644 => 100755 organization/src/epilot/models/operations/getorganization.py mode change 100644 => 100755 organization/src/epilot/models/operations/getsettings.py mode change 100644 => 100755 organization/src/epilot/models/operations/putsettingsvalue.py mode change 100644 => 100755 organization/src/epilot/models/operations/updateorganization.py mode change 100644 => 100755 organization/src/epilot/models/shared/__init__.py mode change 100644 => 100755 organization/src/epilot/models/shared/organization.py mode change 100644 => 100755 organization/src/epilot/models/shared/security.py mode change 100644 => 100755 organization/src/epilot/organization.py mode change 100644 => 100755 organization/src/epilot/organization_settings.py mode change 100644 => 100755 organization/src/epilot/sdk.py mode change 100644 => 100755 organization/src/epilot/sdkconfiguration.py mode change 100644 => 100755 organization/src/epilot/utils/__init__.py mode change 100644 => 100755 organization/src/epilot/utils/retries.py mode change 100644 => 100755 organization/src/epilot/utils/utils.py diff --git a/organization/RELEASES.md b/organization/RELEASES.md index c4db8e07c..05b6cd1d9 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -352,4 +352,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.64.0 (2.71.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.64.0 (2.71.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-26 00:32:22 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/USAGE.md b/organization/USAGE.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/operations/deletesettingsvaluerequest.md b/organization/docs/models/operations/deletesettingsvaluerequest.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/operations/deletesettingsvalueresponse.md b/organization/docs/models/operations/deletesettingsvalueresponse.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/operations/getorganizationrequest.md b/organization/docs/models/operations/getorganizationrequest.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/operations/getorganizationresponse.md b/organization/docs/models/operations/getorganizationresponse.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/operations/getsettingsrequest.md b/organization/docs/models/operations/getsettingsrequest.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/operations/getsettingsresponse.md b/organization/docs/models/operations/getsettingsresponse.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/operations/putsettingsvaluerequest.md b/organization/docs/models/operations/putsettingsvaluerequest.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/operations/putsettingsvalueresponse.md b/organization/docs/models/operations/putsettingsvalueresponse.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/operations/updateorganizationrequest.md b/organization/docs/models/operations/updateorganizationrequest.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/operations/updateorganizationresponse.md b/organization/docs/models/operations/updateorganizationresponse.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/shared/organization.md b/organization/docs/models/shared/organization.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/shared/organizationaddress.md b/organization/docs/models/shared/organizationaddress.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/shared/organizationtype.md b/organization/docs/models/shared/organizationtype.md old mode 100644 new mode 100755 diff --git a/organization/docs/models/shared/security.md b/organization/docs/models/shared/security.md old mode 100644 new mode 100755 diff --git a/organization/docs/sdks/epilot/README.md b/organization/docs/sdks/epilot/README.md old mode 100644 new mode 100755 diff --git a/organization/docs/sdks/organization/README.md b/organization/docs/sdks/organization/README.md old mode 100644 new mode 100755 diff --git a/organization/docs/sdks/organizationsettings/README.md b/organization/docs/sdks/organizationsettings/README.md old mode 100644 new mode 100755 diff --git a/organization/gen.yaml b/organization/gen.yaml index 957461d2e..487562044 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.64.0 - generationVersion: 2.71.0 + speakeasyVersion: 1.65.0 + generationVersion: 2.73.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.34.0 + version: 1.35.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/pylintrc b/organization/pylintrc old mode 100644 new mode 100755 diff --git a/organization/setup.py b/organization/setup.py old mode 100644 new mode 100755 index c33b90e26..8126529d5 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.34.0", + version="1.35.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/__init__.py b/organization/src/epilot/__init__.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/models/__init__.py b/organization/src/epilot/models/__init__.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/models/errors/__init__.py b/organization/src/epilot/models/errors/__init__.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/models/errors/sdkerror.py b/organization/src/epilot/models/errors/sdkerror.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/models/operations/__init__.py b/organization/src/epilot/models/operations/__init__.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/models/operations/deletesettingsvalue.py b/organization/src/epilot/models/operations/deletesettingsvalue.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/models/operations/getorganization.py b/organization/src/epilot/models/operations/getorganization.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/models/operations/getsettings.py b/organization/src/epilot/models/operations/getsettings.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/models/operations/putsettingsvalue.py b/organization/src/epilot/models/operations/putsettingsvalue.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/models/operations/updateorganization.py b/organization/src/epilot/models/operations/updateorganization.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/models/shared/__init__.py b/organization/src/epilot/models/shared/__init__.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/models/shared/organization.py b/organization/src/epilot/models/shared/organization.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/models/shared/security.py b/organization/src/epilot/models/shared/security.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/organization.py b/organization/src/epilot/organization.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/organization_settings.py b/organization/src/epilot/organization_settings.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py old mode 100644 new mode 100755 index cfd5fed07..d184a9183 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.34.0' - gen_version: str = '2.71.0' + sdk_version: str = '1.35.0' + gen_version: str = '2.73.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/organization/src/epilot/utils/__init__.py b/organization/src/epilot/utils/__init__.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/utils/retries.py b/organization/src/epilot/utils/retries.py old mode 100644 new mode 100755 diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py old mode 100644 new mode 100755 From fb156776ff4f53e26cf5479f047c8dd3233d5bd5 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 27 Jul 2023 00:30:47 +0000 Subject: [PATCH 55/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.65.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 05b6cd1d9..f287aabe2 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -358,4 +358,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy + +## 2023-07-27 00:30:34 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.65.1 (2.73.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 487562044..4ae9314c8 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.65.0 - generationVersion: 2.73.0 + speakeasyVersion: 1.65.1 + generationVersion: 2.73.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.35.0 + version: 1.35.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 8126529d5..edc51e9de 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.35.0", + version="1.35.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index d184a9183..e41234c19 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.35.0' - gen_version: str = '2.73.0' + sdk_version: str = '1.35.1' + gen_version: str = '2.73.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From c4d7883361c5502ceba073118fc585ef6cc447b7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 28 Jul 2023 00:30:58 +0000 Subject: [PATCH 56/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.65.2 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index f287aabe2..653a90250 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -364,4 +364,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.65.1 (2.73.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.65.1 (2.73.1) https://github.com/speakeasy-api/speakeasy + +## 2023-07-28 00:30:45 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.65.2 (2.75.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 4ae9314c8..0db3fe028 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.65.1 - generationVersion: 2.73.1 + speakeasyVersion: 1.65.2 + generationVersion: 2.75.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.35.1 + version: 1.36.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index edc51e9de..353dab54a 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.35.1", + version="1.36.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index e41234c19..a2911c0b0 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.35.1' - gen_version: str = '2.73.1' + sdk_version: str = '1.36.0' + gen_version: str = '2.75.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 47fbe3cfee6174d1de2dff127250e9183259ffcf Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 1 Aug 2023 00:36:22 +0000 Subject: [PATCH 57/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.66.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 653a90250..06180c936 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -370,4 +370,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.65.2 (2.75.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.65.2 (2.75.1) https://github.com/speakeasy-api/speakeasy + +## 2023-08-01 00:36:07 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.66.1 (2.75.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 0db3fe028..fefb94452 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.65.2 - generationVersion: 2.75.1 + speakeasyVersion: 1.66.1 + generationVersion: 2.75.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.36.0 + version: 1.36.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 353dab54a..afe5f0530 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.36.0", + version="1.36.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index a2911c0b0..894e82c3c 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.36.0' - gen_version: str = '2.75.1' + sdk_version: str = '1.36.1' + gen_version: str = '2.75.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From ef3dc0f97b93fd644f682bbbf5c25ab4c3bb7c7b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 3 Aug 2023 00:32:38 +0000 Subject: [PATCH 58/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.68.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 06180c936..7be6d125c 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -376,4 +376,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.66.1 (2.75.2) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.66.1 (2.75.2) https://github.com/speakeasy-api/speakeasy + +## 2023-08-03 00:32:21 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.68.1 (2.77.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index fefb94452..01ba4fc4f 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.66.1 - generationVersion: 2.75.2 + speakeasyVersion: 1.68.1 + generationVersion: 2.77.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.36.1 + version: 1.37.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index afe5f0530..98b75e01d 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.36.1", + version="1.37.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 894e82c3c..84e8c4727 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.36.1' - gen_version: str = '2.75.2' + sdk_version: str = '1.37.0' + gen_version: str = '2.77.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From d76e89cd9afd8578ebebd0a062d401199def7035 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 4 Aug 2023 00:31:58 +0000 Subject: [PATCH 59/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.68.3 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 6 +++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- organization/src/epilot/utils/utils.py | 5 ++++- 5 files changed, 17 insertions(+), 8 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 7be6d125c..ea8b5c411 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -382,4 +382,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.68.1 (2.77.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.68.1 (2.77.1) https://github.com/speakeasy-api/speakeasy + +## 2023-08-04 00:31:45 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.68.3 (2.81.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 01ba4fc4f..9431ac83c 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.68.1 - generationVersion: 2.77.1 + speakeasyVersion: 1.68.3 + generationVersion: 2.81.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false python: - version: 1.37.0 + version: 1.38.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 98b75e01d..a1271c200 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.37.0", + version="1.38.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 84e8c4727..21d95a102 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.37.0' - gen_version: str = '2.77.1' + sdk_version: str = '1.38.0' + gen_version: str = '2.81.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py index 6b39ecf74..3456af651 100755 --- a/organization/src/epilot/utils/utils.py +++ b/organization/src/epilot/utils/utils.py @@ -678,7 +678,10 @@ def unmarshal_json(data, typ): unmarhsal = make_dataclass('Unmarhsal', [('res', typ)], bases=(DataClassJsonMixin,)) json_dict = json.loads(data) - out = unmarhsal.from_dict({"res": json_dict}) + try: + out = unmarhsal.from_dict({"res": json_dict}) + except AttributeError as attr_err: + raise AttributeError(f'unable to unmarshal {data} as {typ}') from attr_err return out.res From 6634ff0102f15f0ad3a1df8adfc3d5fed1905ece Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 8 Aug 2023 00:30:50 +0000 Subject: [PATCH 60/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.69.1 --- organization/RELEASES.md | 8 +++++++- organization/gen.yaml | 11 ++++++++--- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index ea8b5c411..c59a06524 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -388,4 +388,10 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.68.3 (2.81.1) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.68.3 (2.81.1) https://github.com/speakeasy-api/speakeasy + +## 2023-08-08 00:30:37 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.69.1 (2.82.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 9431ac83c..9ff01d9eb 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,14 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.68.3 - generationVersion: 2.81.1 + speakeasyVersion: 1.69.1 + generationVersion: 2.82.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false +features: + python: + core: 2.82.0 + globalSecurity: 2.81.1 + globalServerURLs: 2.81.1 python: - version: 1.38.0 + version: 1.39.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index a1271c200..51fcedb51 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.38.0", + version="1.39.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 21d95a102..1222ba17b 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.38.0' - gen_version: str = '2.81.1' + sdk_version: str = '1.39.0' + gen_version: str = '2.82.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 493f0ff0a3af9e2a01f2cc915a6ef6b8897edb26 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 15 Aug 2023 00:25:33 +0000 Subject: [PATCH 61/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.72.0 --- organization/RELEASES.md | 10 +++++++++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index c59a06524..531df4404 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -394,4 +394,12 @@ Based on: ### Changes Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml -- Speakeasy CLI 1.69.1 (2.82.0) https://github.com/speakeasy-api/speakeasy \ No newline at end of file +- Speakeasy CLI 1.69.1 (2.82.0) https://github.com/speakeasy-api/speakeasy + +## 2023-08-15 00:25:16 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.72.0 (2.84.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.40.0] organization \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 9ff01d9eb..321125564 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.69.1 - generationVersion: 2.82.0 + speakeasyVersion: 1.72.0 + generationVersion: 2.84.1 generation: sdkClassName: epilot singleTagPerOp: false @@ -12,9 +12,9 @@ features: python: core: 2.82.0 globalSecurity: 2.81.1 - globalServerURLs: 2.81.1 + globalServerURLs: 2.82.0 python: - version: 1.39.0 + version: 1.40.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 51fcedb51..d73c20bb6 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.39.0", + version="1.40.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 1222ba17b..fd73def91 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.39.0' - gen_version: str = '2.82.0' + sdk_version: str = '1.40.0' + gen_version: str = '2.84.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 78dee9c9c6e606d7a709f5937e8b7a7e3952b153 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 19 Aug 2023 00:24:15 +0000 Subject: [PATCH 62/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.74.3 --- organization/RELEASES.md | 10 +++++++++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- organization/src/epilot/utils/utils.py | 4 ++-- 5 files changed, 18 insertions(+), 10 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 531df4404..2a19c0514 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -402,4 +402,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.72.0 (2.84.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.40.0] organization \ No newline at end of file +- [python v1.40.0] organization + +## 2023-08-19 00:23:57 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.74.3 (2.86.6) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.40.1] organization \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 321125564..bd555da0a 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.72.0 - generationVersion: 2.84.1 + speakeasyVersion: 1.74.3 + generationVersion: 2.86.6 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.82.0 + core: 2.82.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.40.0 + version: 1.40.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index d73c20bb6..d13919b2d 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.40.0", + version="1.40.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index fd73def91..52248cb3e 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.40.0' - gen_version: str = '2.84.1' + sdk_version: str = '1.40.1' + gen_version: str = '2.86.6' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py index 3456af651..ea9792d0d 100755 --- a/organization/src/epilot/utils/utils.py +++ b/organization/src/epilot/utils/utils.py @@ -675,11 +675,11 @@ def _serialize_header(explode: bool, obj: any) -> str: def unmarshal_json(data, typ): - unmarhsal = make_dataclass('Unmarhsal', [('res', typ)], + unmarshal = make_dataclass('Unmarshal', [('res', typ)], bases=(DataClassJsonMixin,)) json_dict = json.loads(data) try: - out = unmarhsal.from_dict({"res": json_dict}) + out = unmarshal.from_dict({"res": json_dict}) except AttributeError as attr_err: raise AttributeError(f'unable to unmarshal {data} as {typ}') from attr_err return out.res From 965bdf2365c5a2a1323a04bcbad1b93d531a0d87 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 25 Aug 2023 00:25:56 +0000 Subject: [PATCH 63/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.74.11 --- organization/RELEASES.md | 10 +++++++++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 2a19c0514..8ba97ef9d 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -410,4 +410,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.74.3 (2.86.6) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.40.1] organization \ No newline at end of file +- [python v1.40.1] organization + +## 2023-08-25 00:25:41 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.74.11 (2.87.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.40.2] organization \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index bd555da0a..b1af92996 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.74.3 - generationVersion: 2.86.6 + speakeasyVersion: 1.74.11 + generationVersion: 2.87.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.82.1 + core: 2.82.2 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.40.1 + version: 1.40.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index d13919b2d..afaff86b6 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.40.1", + version="1.40.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 52248cb3e..af9ecff87 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.40.1' - gen_version: str = '2.86.6' + sdk_version: str = '1.40.2' + gen_version: str = '2.87.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From cae615979694ce5b616e1fbb134f4edc611420ec Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 26 Aug 2023 00:24:33 +0000 Subject: [PATCH 64/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.74.15 --- organization/RELEASES.md | 10 +++++++++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 8ba97ef9d..73b294556 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -418,4 +418,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.74.11 (2.87.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.40.2] organization \ No newline at end of file +- [python v1.40.2] organization + +## 2023-08-26 00:24:18 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.74.15 (2.88.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.41.0] organization \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index b1af92996..1754925a4 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.74.11 - generationVersion: 2.87.1 + speakeasyVersion: 1.74.15 + generationVersion: 2.88.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.82.2 + core: 2.83.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.40.2 + version: 1.41.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index afaff86b6..ee304ee92 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.40.2", + version="1.41.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index af9ecff87..695a95539 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.40.2' - gen_version: str = '2.87.1' + sdk_version: str = '1.41.0' + gen_version: str = '2.88.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 008512e087504d9950ea6aa5b4447141c1296bb3 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 29 Aug 2023 00:26:14 +0000 Subject: [PATCH 65/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.74.17 --- organization/RELEASES.md | 10 +++++++++- organization/gen.yaml | 8 ++++---- organization/pylintrc | 2 +- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 5 files changed, 17 insertions(+), 9 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 73b294556..ec68aa66d 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -426,4 +426,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.74.15 (2.88.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.41.0] organization \ No newline at end of file +- [python v1.41.0] organization + +## 2023-08-29 00:25:57 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.74.17 (2.88.5) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.41.1] organization \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 1754925a4..846f0e9ef 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.74.15 - generationVersion: 2.88.2 + speakeasyVersion: 1.74.17 + generationVersion: 2.88.5 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.83.1 + core: 2.83.2 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.41.0 + version: 1.41.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/pylintrc b/organization/pylintrc index 21a389459..ab6495dd6 100755 --- a/organization/pylintrc +++ b/organization/pylintrc @@ -621,7 +621,7 @@ additional-builtins= allow-global-unused-variables=yes # List of names allowed to shadow builtins -allowed-redefined-builtins= +allowed-redefined-builtins=id,object # List of strings which can identify a callback function by name. A callback # name must start or end with one of those strings. diff --git a/organization/setup.py b/organization/setup.py index ee304ee92..ce0b80a90 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.41.0", + version="1.41.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 695a95539..e604b5f96 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.41.0' - gen_version: str = '2.88.2' + sdk_version: str = '1.41.1' + gen_version: str = '2.88.5' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From ad7b02a749dfcb6931a47b30ffad2e3c3c6314f8 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 31 Aug 2023 00:26:17 +0000 Subject: [PATCH 66/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.75.0 --- organization/.gitattributes | 2 ++ organization/RELEASES.md | 10 +++++++++- organization/files.gen | 3 ++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 6 files changed, 20 insertions(+), 9 deletions(-) create mode 100755 organization/.gitattributes diff --git a/organization/.gitattributes b/organization/.gitattributes new file mode 100755 index 000000000..4d75d5900 --- /dev/null +++ b/organization/.gitattributes @@ -0,0 +1,2 @@ +# This allows generated code to be indexed correctly +*.py linguist-generated=false \ No newline at end of file diff --git a/organization/RELEASES.md b/organization/RELEASES.md index ec68aa66d..66b012dd5 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -434,4 +434,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.74.17 (2.88.5) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.41.1] organization \ No newline at end of file +- [python v1.41.1] organization + +## 2023-08-31 00:25:59 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.75.0 (2.89.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.42.0] organization \ No newline at end of file diff --git a/organization/files.gen b/organization/files.gen index 4329ce0b8..f11d4ef14 100755 --- a/organization/files.gen +++ b/organization/files.gen @@ -37,4 +37,5 @@ docs/models/operations/putsettingsvalueresponse.md docs/models/shared/organizationaddress.md docs/models/shared/organizationtype.md docs/models/shared/organization.md -docs/models/shared/security.md \ No newline at end of file +docs/models/shared/security.md +.gitattributes \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 846f0e9ef..c47143875 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.74.17 - generationVersion: 2.88.5 + speakeasyVersion: 1.75.0 + generationVersion: 2.89.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.83.2 + core: 2.84.0 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.41.1 + version: 1.42.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index ce0b80a90..1697dbbf3 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.41.1", + version="1.42.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index e604b5f96..53998a0f7 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.41.1' - gen_version: str = '2.88.5' + sdk_version: str = '1.42.0' + gen_version: str = '2.89.1' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From 5b0ab94fd5df1c65ee8dfda4429260e159747647 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 1 Sep 2023 00:28:28 +0000 Subject: [PATCH 67/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.77.0 --- organization/RELEASES.md | 10 +++++++++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 66b012dd5..a2d0fe549 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -442,4 +442,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.75.0 (2.89.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.42.0] organization \ No newline at end of file +- [python v1.42.0] organization + +## 2023-09-01 00:28:13 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.77.0 (2.91.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.0] organization \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index c47143875..c0478da4c 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.75.0 - generationVersion: 2.89.1 + speakeasyVersion: 1.77.0 + generationVersion: 2.91.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.84.0 + core: 2.85.0 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.42.0 + version: 1.43.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 1697dbbf3..6287d2a17 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.42.0", + version="1.43.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 53998a0f7..9c83a254c 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.42.0' - gen_version: str = '2.89.1' + sdk_version: str = '1.43.0' + gen_version: str = '2.91.2' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From ddd4d3f314c33c7b15bf777f0e731b27ee5f2cbc Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 2 Sep 2023 00:25:07 +0000 Subject: [PATCH 68/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.77.2 --- organization/RELEASES.md | 10 +++++++++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index a2d0fe549..f1da5815e 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -450,4 +450,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.77.0 (2.91.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.0] organization \ No newline at end of file +- [python v1.43.0] organization + +## 2023-09-02 00:24:50 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.77.2 (2.93.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.1] organization \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index c0478da4c..97d376e8d 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.77.0 - generationVersion: 2.91.2 + speakeasyVersion: 1.77.2 + generationVersion: 2.93.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.85.0 + core: 2.85.2 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.43.0 + version: 1.43.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 6287d2a17..7963c34d6 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.43.0", + version="1.43.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 9c83a254c..184cec21f 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.43.0' - gen_version: str = '2.91.2' + sdk_version: str = '1.43.1' + gen_version: str = '2.93.0' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: From de61b7086b5ac63df70750d7569d446b6614e4ef Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 5 Sep 2023 00:25:47 +0000 Subject: [PATCH 69/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.78.3 --- organization/RELEASES.md | 10 +++++++++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- organization/src/epilot/utils/utils.py | 19 +++++++++++-------- 5 files changed, 27 insertions(+), 16 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index f1da5815e..cee80f70e 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -458,4 +458,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.77.2 (2.93.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.1] organization \ No newline at end of file +- [python v1.43.1] organization + +## 2023-09-05 00:25:32 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.78.3 (2.96.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.2] organization \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 97d376e8d..2e53495f7 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.77.2 - generationVersion: 2.93.0 + speakeasyVersion: 1.78.3 + generationVersion: 2.96.3 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.85.2 + core: 2.85.3 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.43.1 + version: 1.43.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 7963c34d6..2448447f0 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.43.1", + version="1.43.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 184cec21f..ff8be7433 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -17,8 +17,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.43.1' - gen_version: str = '2.93.0' + sdk_version: str = '1.43.2' + gen_version: str = '2.96.3' def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py index ea9792d0d..c91b0c049 100755 --- a/organization/src/epilot/utils/utils.py +++ b/organization/src/epilot/utils/utils.py @@ -112,7 +112,8 @@ def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: dict, client.client.headers[header_name] = value elif scheme_type == 'http': if sub_type == 'bearer': - client.client.headers[header_name] = value.lower().startswith('bearer ') and value or f'Bearer {value}' + client.client.headers[header_name] = value.lower().startswith( + 'bearer ') and value or f'Bearer {value}' else: raise Exception('not supported') else: @@ -235,7 +236,7 @@ def template_url(url_with_params: str, params: dict[str, str]) -> str: def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[str, dict[str, Any]]] = None) -> dict[ - str, list[str]]: + str, list[str]]: params: dict[str, list[str]] = {} param_fields: Tuple[Field, ...] = fields(clazz) @@ -377,7 +378,7 @@ def _get_query_param_field_name(obj_field: Field) -> str: def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delimiter: str) -> dict[ - str, list[str]]: + str, list[str]]: return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name, delimiter) @@ -391,9 +392,9 @@ def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delim def serialize_request_body(request: dataclass, request_field_name: str, serialization_method: str) -> Tuple[ - str, any, any]: + str, any, any]: if request is None: - return None, None, None, None + return None, None, None if not is_dataclass(request) or not hasattr(request, request_field_name): return serialize_content_type(request_field_name, SERIALIZATION_METHOD_TO_CONTENT_TYPE[serialization_method], @@ -486,7 +487,7 @@ def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, def serialize_dict(original: dict, explode: bool, field_name, existing: Optional[dict[str, list[str]]]) -> dict[ - str, list[str]]: + str, list[str]]: if existing is None: existing = [] @@ -604,7 +605,8 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f items.append(_val_to_string(value)) if len(items) > 0: - params[field_name] = [delimiter.join([str(item) for item in items])] + params[field_name] = [delimiter.join( + [str(item) for item in items])] else: params[field_name] = [_val_to_string(obj)] @@ -681,7 +683,8 @@ def unmarshal_json(data, typ): try: out = unmarshal.from_dict({"res": json_dict}) except AttributeError as attr_err: - raise AttributeError(f'unable to unmarshal {data} as {typ}') from attr_err + raise AttributeError( + f'unable to unmarshal {data} as {typ}') from attr_err return out.res From 2854a8aee1f7a591cce52b901cc4455bd02213c2 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 12 Sep 2023 00:25:03 +0000 Subject: [PATCH 70/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.82.5 --- organization/RELEASES.md | 10 +++++- .../docs/models/shared/organization.md | 2 -- organization/docs/sdks/organization/README.md | 6 ++-- .../docs/sdks/organizationsettings/README.md | 13 +++----- organization/gen.yaml | 8 ++--- organization/setup.py | 2 +- .../src/epilot/models/shared/organization.py | 1 - organization/src/epilot/sdk.py | 9 +++-- organization/src/epilot/sdkconfiguration.py | 7 ++-- organization/src/epilot/utils/utils.py | 33 ++++++++++++++++++- 10 files changed, 64 insertions(+), 27 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index cee80f70e..91fae92c0 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -466,4 +466,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.78.3 (2.96.3) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.2] organization \ No newline at end of file +- [python v1.43.2] organization + +## 2023-09-12 00:24:48 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.82.5 (2.108.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.3] organization \ No newline at end of file diff --git a/organization/docs/models/shared/organization.md b/organization/docs/models/shared/organization.md index 7f6b475d9..49622bbf9 100755 --- a/organization/docs/models/shared/organization.md +++ b/organization/docs/models/shared/organization.md @@ -1,7 +1,5 @@ # Organization -The returned organization - ## Fields diff --git a/organization/docs/sdks/organization/README.md b/organization/docs/sdks/organization/README.md index 2a182c57f..7c650ab14 100755 --- a/organization/docs/sdks/organization/README.md +++ b/organization/docs/sdks/organization/README.md @@ -83,12 +83,10 @@ req = operations.UpdateOrganizationRequest( pricing_tier='professional', signature='

Thanks

', style={ - "iusto": 'excepturi', - "nisi": 'recusandae', - "temporibus": 'ab', + "voluptatum": 'iusto', }, symbol='EPI', - type=shared.OrganizationType.VENDOR, + type=shared.OrganizationType.PARTNER, website='https://epilot.cloud', ), org_id='739224', diff --git a/organization/docs/sdks/organizationsettings/README.md b/organization/docs/sdks/organizationsettings/README.md index 710b64c08..9cc463be8 100755 --- a/organization/docs/sdks/organizationsettings/README.md +++ b/organization/docs/sdks/organizationsettings/README.md @@ -27,7 +27,7 @@ s = epilot.Epilot( ) req = operations.DeleteSettingsValueRequest( - key='veritatis', + key='nisi', org_id='739224', ) @@ -104,13 +104,10 @@ s = epilot.Epilot( ) req = operations.PutSettingsValueRequest( - request_body=[ - { - "repellendus": 'sapiente', - "quo": 'odit', - }, - ], - key='at', + request_body={ + "temporibus": 'ab', + }, + key='quis', org_id='739224', ) diff --git a/organization/gen.yaml b/organization/gen.yaml index 2e53495f7..5df4d2ecd 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.78.3 - generationVersion: 2.96.3 + speakeasyVersion: 1.82.5 + generationVersion: 2.108.3 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.85.3 + core: 2.85.4 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.43.2 + version: 1.43.3 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 2448447f0..bff88ece5 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.43.2", + version="1.43.3", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/models/shared/organization.py b/organization/src/epilot/models/shared/organization.py index fe72d11ce..f072d3f9a 100755 --- a/organization/src/epilot/models/shared/organization.py +++ b/organization/src/epilot/models/shared/organization.py @@ -29,7 +29,6 @@ class OrganizationType(str, Enum): @dataclasses.dataclass class Organization: - r"""The returned organization""" address: Optional[OrganizationAddress] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('address'), 'exclude': lambda f: f is None }}) email: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email'), 'exclude': lambda f: f is None }}) free_user_limit: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('free_user_limit'), 'exclude': lambda f: f is None }}) diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index be1d72efb..c6300eee1 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -21,7 +21,8 @@ def __init__(self, server_idx: int = None, server_url: str = None, url_params: dict[str, str] = None, - client: requests_http.Session = None + client: requests_http.Session = None, + retry_config: utils.RetryConfig = None ) -> None: """Instantiates the SDK configuring it with the provided parameters. @@ -34,7 +35,9 @@ def __init__(self, :param url_params: Parameters to optionally template the server URL with :type url_params: dict[str, str] :param client: The requests.Session HTTP client to use for all operations - :type client: requests_http.Session + :type client: requests_http.Session + :param retry_config: The utils.RetryConfig to use globally + :type retry_config: utils.RetryConfig """ if client is None: client = requests_http.Session() @@ -45,7 +48,7 @@ def __init__(self, if url_params is not None: server_url = utils.template_url(server_url, url_params) - self.sdk_configuration = SDKConfiguration(client, security_client, server_url, server_idx) + self.sdk_configuration = SDKConfiguration(client, security_client, server_url, server_idx, retry_config=retry_config) self._init_sdks() diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index ff8be7433..e8da5c6ca 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -3,6 +3,8 @@ import requests from dataclasses import dataclass +from .utils.retries import RetryConfig + SERVERS = [ 'https://organization-v2.sls.epilot.io', @@ -17,8 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.43.2' - gen_version: str = '2.96.3' + sdk_version: str = '1.43.3' + gen_version: str = '2.108.3' + retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: if self.server_url: diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py index c91b0c049..05eafba6c 100755 --- a/organization/src/epilot/utils/utils.py +++ b/organization/src/epilot/utils/utils.py @@ -5,6 +5,7 @@ import re from dataclasses import Field, dataclass, fields, is_dataclass, make_dataclass from datetime import date, datetime +from decimal import Decimal from email.message import Message from enum import Enum from typing import Any, Callable, Optional, Tuple, Union, get_args, get_origin @@ -193,7 +194,7 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass f"{pp_key},{_val_to_string(param[pp_key])}") path = path.replace( '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) - elif not isinstance(param, (str, int, float, complex, bool)): + elif not isinstance(param, (str, int, float, complex, bool, Decimal)): pp_vals: list[str] = [] param_fields: Tuple[Field, ...] = fields(param) for param_field in param_fields: @@ -737,6 +738,36 @@ def datefromisoformat(date_str: str): return dateutil.parser.parse(date_str).date() +def bigintencoder(optional: bool): + def bigintencode(val: int): + if optional and val is None: + return None + return str(val) + + return bigintencode + + +def bigintdecoder(val): + return int(val) + + +def decimalencoder(optional: bool, as_str: bool): + def decimalencode(val: Decimal): + if optional and val is None: + return None + + if as_str: + return str(val) + + return float(val) + + return decimalencode + + +def decimaldecoder(val): + return Decimal(str(val)) + + def get_field_name(name): def override(_, _field_name=name): return _field_name From 962c7052980225ba9a23ea873f0aca08445f6b69 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 16 Sep 2023 00:25:39 +0000 Subject: [PATCH 71/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.86.0 --- organization/README.md | 4 ++-- organization/RELEASES.md | 10 +++++++++- organization/docs/sdks/organization/README.md | 2 +- organization/docs/sdks/organizationsettings/README.md | 2 +- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/organization/README.md b/organization/README.md index ea0ddea50..cd1c2fc5a 100755 --- a/organization/README.md +++ b/organization/README.md @@ -37,12 +37,12 @@ if res.organization is not None: ## Available Resources and Operations -### [organization](docs/sdks/organization/README.md) +### [Organization](docs/sdks/organization/README.md) * [get_organization](docs/sdks/organization/README.md#get_organization) - getOrganization * [update_organization](docs/sdks/organization/README.md#update_organization) - updateOrganization -### [organization_settings](docs/sdks/organizationsettings/README.md) +### [OrganizationSettings](docs/sdks/organizationsettings/README.md) * [delete_settings_value](docs/sdks/organizationsettings/README.md#delete_settings_value) - deleteSettingsValue * [get_settings](docs/sdks/organizationsettings/README.md#get_settings) - getSettings diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 91fae92c0..dc98295ae 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -474,4 +474,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.82.5 (2.108.3) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.3] organization \ No newline at end of file +- [python v1.43.3] organization + +## 2023-09-16 00:25:24 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.86.0 (2.115.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.4] organization \ No newline at end of file diff --git a/organization/docs/sdks/organization/README.md b/organization/docs/sdks/organization/README.md index 7c650ab14..6554b8bd9 100755 --- a/organization/docs/sdks/organization/README.md +++ b/organization/docs/sdks/organization/README.md @@ -1,4 +1,4 @@ -# organization +# Organization ## Overview diff --git a/organization/docs/sdks/organizationsettings/README.md b/organization/docs/sdks/organizationsettings/README.md index 9cc463be8..a349b5881 100755 --- a/organization/docs/sdks/organizationsettings/README.md +++ b/organization/docs/sdks/organizationsettings/README.md @@ -1,4 +1,4 @@ -# organization_settings +# OrganizationSettings ## Overview diff --git a/organization/gen.yaml b/organization/gen.yaml index 5df4d2ecd..93540ad78 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.82.5 - generationVersion: 2.108.3 + speakeasyVersion: 1.86.0 + generationVersion: 2.115.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.85.4 + core: 2.85.5 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.43.3 + version: 1.43.4 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index bff88ece5..043cd375b 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.43.3", + version="1.43.4", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index e8da5c6ca..0c96c7049 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -19,8 +19,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.43.3' - gen_version: str = '2.108.3' + sdk_version: str = '1.43.4' + gen_version: str = '2.115.2' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 245f9d9f09792c6605b89e508d4b1fdb7ba06c5e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 20 Sep 2023 00:26:51 +0000 Subject: [PATCH 72/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.88.0 --- organization/RELEASES.md | 10 +++++++++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index dc98295ae..64c30571f 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -482,4 +482,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.86.0 (2.115.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.4] organization \ No newline at end of file +- [python v1.43.4] organization + +## 2023-09-20 00:26:33 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.88.0 (2.118.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.43.5] organization \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 93540ad78..d20d13321 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.86.0 - generationVersion: 2.115.2 + speakeasyVersion: 1.88.0 + generationVersion: 2.118.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.85.5 + core: 2.85.6 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.43.4 + version: 1.43.5 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 043cd375b..c48717dde 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.43.4", + version="1.43.5", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 0c96c7049..88f98cfca 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -19,8 +19,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.43.4' - gen_version: str = '2.115.2' + sdk_version: str = '1.43.5' + gen_version: str = '2.118.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 435ab6e3c1ac3d3557b22986955687fa0124b2c7 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 26 Sep 2023 00:27:29 +0000 Subject: [PATCH 73/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.91.0 --- organization/README.md | 28 +++++++++++++++++-- organization/RELEASES.md | 10 ++++++- .../operations/deletesettingsvalueresponse.md | 6 ++-- .../operations/getorganizationresponse.md | 6 ++-- .../models/operations/getsettingsresponse.md | 6 ++-- .../operations/putsettingsvalueresponse.md | 6 ++-- .../operations/updateorganizationresponse.md | 6 ++-- organization/files.gen | 6 ++-- organization/gen.yaml | 8 +++--- organization/setup.py | 2 +- .../models/operations/deletesettingsvalue.py | 3 ++ .../models/operations/getorganization.py | 3 ++ .../epilot/models/operations/getsettings.py | 3 ++ .../models/operations/putsettingsvalue.py | 3 ++ .../models/operations/updateorganization.py | 3 ++ organization/src/epilot/sdkconfiguration.py | 4 +-- 16 files changed, 75 insertions(+), 28 deletions(-) diff --git a/organization/README.md b/organization/README.md index cd1c2fc5a..a03ff345c 100755 --- a/organization/README.md +++ b/organization/README.md @@ -10,8 +10,6 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=organi ## SDK Example Usage - - ```python import epilot from epilot.models import operations, shared @@ -49,4 +47,30 @@ if res.organization is not None: * [put_settings_value](docs/sdks/organizationsettings/README.md#put_settings_value) - putSettingsValue + + + + + + + + + + + +# Pagination + +Some of the endpoints in this SDK support pagination. To use pagination, you make your SDK calls as usual, but the +returned response object will have a `Next` method that can be called to pull down the next group of results. If the +return value of `Next` is `None`, then there are no more pages to be fetched. + +Here's an example of one such pagination call: + + + + + + + + ### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 64c30571f..5f169f861 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -490,4 +490,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.88.0 (2.118.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.43.5] organization \ No newline at end of file +- [python v1.43.5] organization + +## 2023-09-26 00:27:10 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.91.0 (2.129.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.44.0] organization \ No newline at end of file diff --git a/organization/docs/models/operations/deletesettingsvalueresponse.md b/organization/docs/models/operations/deletesettingsvalueresponse.md index 235aff438..a0b4ba270 100755 --- a/organization/docs/models/operations/deletesettingsvalueresponse.md +++ b/organization/docs/models/operations/deletesettingsvalueresponse.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/docs/models/operations/getorganizationresponse.md b/organization/docs/models/operations/getorganizationresponse.md index 568dd5cdb..653af4443 100755 --- a/organization/docs/models/operations/getorganizationresponse.md +++ b/organization/docs/models/operations/getorganizationresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `organization` | [Optional[shared.Organization]](../../models/shared/organization.md) | :heavy_minus_sign: | The returned organization | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/docs/models/operations/getsettingsresponse.md b/organization/docs/models/operations/getsettingsresponse.md index f0cb67bc4..460a6e027 100755 --- a/organization/docs/models/operations/getsettingsresponse.md +++ b/organization/docs/models/operations/getsettingsresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `settings` | dict[str, *Any*] | :heavy_minus_sign: | Returns the organization settings | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/docs/models/operations/putsettingsvalueresponse.md b/organization/docs/models/operations/putsettingsvalueresponse.md index 62ada0646..9db256032 100755 --- a/organization/docs/models/operations/putsettingsvalueresponse.md +++ b/organization/docs/models/operations/putsettingsvalueresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `settings_value` | *Optional[Any]* | :heavy_minus_sign: | Returns the value of the setting | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/docs/models/operations/updateorganizationresponse.md b/organization/docs/models/operations/updateorganizationresponse.md index 1503de554..e92f3a4e0 100755 --- a/organization/docs/models/operations/updateorganizationresponse.md +++ b/organization/docs/models/operations/updateorganizationresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | N/A | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | `organization` | [Optional[shared.Organization]](../../models/shared/organization.md) | :heavy_minus_sign: | The updated organization | -| `status_code` | *int* | :heavy_check_mark: | N/A | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/files.gen b/organization/files.gen index f11d4ef14..2f46a45d5 100755 --- a/organization/files.gen +++ b/organization/files.gen @@ -20,9 +20,6 @@ src/epilot/models/shared/organization.py src/epilot/models/shared/security.py src/epilot/models/shared/__init__.py src/epilot/models/errors/__init__.py -docs/sdks/epilot/README.md -docs/sdks/organization/README.md -docs/sdks/organizationsettings/README.md USAGE.md docs/models/operations/getorganizationrequest.md docs/models/operations/getorganizationresponse.md @@ -38,4 +35,7 @@ docs/models/shared/organizationaddress.md docs/models/shared/organizationtype.md docs/models/shared/organization.md docs/models/shared/security.md +docs/sdks/epilot/README.md +docs/sdks/organization/README.md +docs/sdks/organizationsettings/README.md .gitattributes \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index d20d13321..5cda9cde3 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.88.0 - generationVersion: 2.118.1 + speakeasyVersion: 1.91.0 + generationVersion: 2.129.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.85.6 + core: 2.86.0 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.43.5 + version: 1.44.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index c48717dde..11d20fe44 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.43.5", + version="1.44.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/models/operations/deletesettingsvalue.py b/organization/src/epilot/models/operations/deletesettingsvalue.py index bbc11f016..d9429fc7e 100755 --- a/organization/src/epilot/models/operations/deletesettingsvalue.py +++ b/organization/src/epilot/models/operations/deletesettingsvalue.py @@ -21,7 +21,10 @@ class DeleteSettingsValueRequest: @dataclasses.dataclass class DeleteSettingsValueResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/organization/src/epilot/models/operations/getorganization.py b/organization/src/epilot/models/operations/getorganization.py index 7f92696d2..dec13c583 100755 --- a/organization/src/epilot/models/operations/getorganization.py +++ b/organization/src/epilot/models/operations/getorganization.py @@ -20,9 +20,12 @@ class GetOrganizationRequest: @dataclasses.dataclass class GetOrganizationResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" organization: Optional[shared_organization.Organization] = dataclasses.field(default=None) r"""The returned organization""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/organization/src/epilot/models/operations/getsettings.py b/organization/src/epilot/models/operations/getsettings.py index 4f2ecd43c..0bf3d3c72 100755 --- a/organization/src/epilot/models/operations/getsettings.py +++ b/organization/src/epilot/models/operations/getsettings.py @@ -19,8 +19,11 @@ class GetSettingsRequest: @dataclasses.dataclass class GetSettingsResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" settings: Optional[dict[str, Any]] = dataclasses.field(default=None) r"""Returns the organization settings""" diff --git a/organization/src/epilot/models/operations/putsettingsvalue.py b/organization/src/epilot/models/operations/putsettingsvalue.py index 737cb9281..6ac3a3a62 100755 --- a/organization/src/epilot/models/operations/putsettingsvalue.py +++ b/organization/src/epilot/models/operations/putsettingsvalue.py @@ -23,8 +23,11 @@ class PutSettingsValueRequest: @dataclasses.dataclass class PutSettingsValueResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" settings_value: Optional[Any] = dataclasses.field(default=None) r"""Returns the value of the setting""" diff --git a/organization/src/epilot/models/operations/updateorganization.py b/organization/src/epilot/models/operations/updateorganization.py index fc91532da..2df839b16 100755 --- a/organization/src/epilot/models/operations/updateorganization.py +++ b/organization/src/epilot/models/operations/updateorganization.py @@ -21,9 +21,12 @@ class UpdateOrganizationRequest: @dataclasses.dataclass class UpdateOrganizationResponse: content_type: str = dataclasses.field() + r"""HTTP response content type for this operation""" status_code: int = dataclasses.field() + r"""HTTP response status code for this operation""" organization: Optional[shared_organization.Organization] = dataclasses.field(default=None) r"""The updated organization""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) + r"""Raw HTTP response; suitable for custom response parsing""" diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 88f98cfca..bdd56dcc9 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -19,8 +19,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.43.5' - gen_version: str = '2.118.1' + sdk_version: str = '1.44.0' + gen_version: str = '2.129.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 228f1a4a407daad2f98eb96c757b7b7b4a2e4828 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 27 Sep 2023 00:27:22 +0000 Subject: [PATCH 74/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.91.2 --- organization/README.md | 8 ++--- organization/RELEASES.md | 10 +++++- .../operations/putsettingsvaluerequest.md | 10 +++--- .../operations/putsettingsvalueresponse.md | 12 +++---- .../docs/models/shared/settingsvalue.md | 35 +++++++++++++++++++ organization/docs/sdks/epilot/README.md | 1 + organization/docs/sdks/organization/README.md | 1 + .../docs/sdks/organizationsettings/README.md | 7 ++-- organization/files.gen | 1 + organization/gen.yaml | 8 ++--- organization/setup.py | 4 +-- .../models/operations/putsettingsvalue.py | 6 ++-- .../src/epilot/organization_settings.py | 6 ++-- organization/src/epilot/sdkconfiguration.py | 4 +-- organization/src/epilot/utils/utils.py | 8 +++++ 15 files changed, 85 insertions(+), 36 deletions(-) create mode 100755 organization/docs/models/shared/settingsvalue.md diff --git a/organization/README.md b/organization/README.md index a03ff345c..229872350 100755 --- a/organization/README.md +++ b/organization/README.md @@ -35,12 +35,12 @@ if res.organization is not None: ## Available Resources and Operations -### [Organization](docs/sdks/organization/README.md) +### [organization](docs/sdks/organization/README.md) * [get_organization](docs/sdks/organization/README.md#get_organization) - getOrganization * [update_organization](docs/sdks/organization/README.md#update_organization) - updateOrganization -### [OrganizationSettings](docs/sdks/organizationsettings/README.md) +### [organization_settings](docs/sdks/organizationsettings/README.md) * [delete_settings_value](docs/sdks/organizationsettings/README.md#delete_settings_value) - deleteSettingsValue * [get_settings](docs/sdks/organizationsettings/README.md#get_settings) - getSettings @@ -51,8 +51,6 @@ if res.organization is not None: - - @@ -65,8 +63,6 @@ returned response object will have a `Next` method that can be called to pull do return value of `Next` is `None`, then there are no more pages to be fetched. Here's an example of one such pagination call: - - diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 5f169f861..0febc16fa 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -498,4 +498,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.91.0 (2.129.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.44.0] organization \ No newline at end of file +- [python v1.44.0] organization + +## 2023-09-27 00:27:08 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.91.2 (2.131.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.44.1] organization \ No newline at end of file diff --git a/organization/docs/models/operations/putsettingsvaluerequest.md b/organization/docs/models/operations/putsettingsvaluerequest.md index 5ae51bb29..bc1807322 100755 --- a/organization/docs/models/operations/putsettingsvaluerequest.md +++ b/organization/docs/models/operations/putsettingsvaluerequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | -| `request_body` | *Optional[Any]* | :heavy_minus_sign: | Value to set | | -| `key` | *str* | :heavy_check_mark: | Organization setting key | | -| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](../../models/shared/settingsvalue.md) | :heavy_minus_sign: | Value to set | | +| `key` | *str* | :heavy_check_mark: | Organization setting key | | +| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/putsettingsvalueresponse.md b/organization/docs/models/operations/putsettingsvalueresponse.md index 9db256032..4b0dae27c 100755 --- a/organization/docs/models/operations/putsettingsvalueresponse.md +++ b/organization/docs/models/operations/putsettingsvalueresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `settings_value` | *Optional[Any]* | :heavy_minus_sign: | Returns the value of the setting | -| `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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](../../models/shared/settingsvalue.md) | :heavy_minus_sign: | Returns the value of the setting | +| `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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/docs/models/shared/settingsvalue.md b/organization/docs/models/shared/settingsvalue.md new file mode 100755 index 000000000..32b568713 --- /dev/null +++ b/organization/docs/models/shared/settingsvalue.md @@ -0,0 +1,35 @@ +# SettingsValue + + +## Supported Types + +### + +```python +settingsValue: str = /* values here */ +``` + +### + +```python +settingsValue: float = /* values here */ +``` + +### + +```python +settingsValue: bool = /* values here */ +``` + +### + +```python +settingsValue: list[dict[str, Any]] = /* values here */ +``` + +### + +```python +settingsValue: dict[str, Any] = /* values here */ +``` + diff --git a/organization/docs/sdks/epilot/README.md b/organization/docs/sdks/epilot/README.md index c62aed5c1..7ae0f0900 100755 --- a/organization/docs/sdks/epilot/README.md +++ b/organization/docs/sdks/epilot/README.md @@ -1,5 +1,6 @@ # Epilot SDK + ## Overview Organization API: Manage epilot tenant organizations diff --git a/organization/docs/sdks/organization/README.md b/organization/docs/sdks/organization/README.md index 6554b8bd9..8fe0069d3 100755 --- a/organization/docs/sdks/organization/README.md +++ b/organization/docs/sdks/organization/README.md @@ -1,4 +1,5 @@ # Organization +(*organization*) ## Overview diff --git a/organization/docs/sdks/organizationsettings/README.md b/organization/docs/sdks/organizationsettings/README.md index a349b5881..ed6668001 100755 --- a/organization/docs/sdks/organizationsettings/README.md +++ b/organization/docs/sdks/organizationsettings/README.md @@ -1,4 +1,5 @@ # OrganizationSettings +(*organization_settings*) ## Overview @@ -104,10 +105,8 @@ s = epilot.Epilot( ) req = operations.PutSettingsValueRequest( - request_body={ - "temporibus": 'ab', - }, - key='quis', + settings_value=[], + key='recusandae', org_id='739224', ) diff --git a/organization/files.gen b/organization/files.gen index 2f46a45d5..deb01b085 100755 --- a/organization/files.gen +++ b/organization/files.gen @@ -34,6 +34,7 @@ docs/models/operations/putsettingsvalueresponse.md docs/models/shared/organizationaddress.md docs/models/shared/organizationtype.md docs/models/shared/organization.md +docs/models/shared/settingsvalue.md docs/models/shared/security.md docs/sdks/epilot/README.md docs/sdks/organization/README.md diff --git a/organization/gen.yaml b/organization/gen.yaml index 5cda9cde3..4f49bd48a 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.91.0 - generationVersion: 2.129.1 + speakeasyVersion: 1.91.2 + generationVersion: 2.131.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.86.0 + core: 2.86.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.44.0 + version: 1.44.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 11d20fe44..1094122de 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.44.0", + version="1.44.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, @@ -19,7 +19,7 @@ install_requires=[ "certifi>=2022.12.7", "charset-normalizer>=2.1.1", - "dataclasses-json>=0.5.12", + "dataclasses-json>=0.6.1", "idna>=3.3", "jsonpath-python>=1.0.6 ", "marshmallow>=3.17.1", diff --git a/organization/src/epilot/models/operations/putsettingsvalue.py b/organization/src/epilot/models/operations/putsettingsvalue.py index 6ac3a3a62..aa84f0305 100755 --- a/organization/src/epilot/models/operations/putsettingsvalue.py +++ b/organization/src/epilot/models/operations/putsettingsvalue.py @@ -3,7 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http -from typing import Any, Optional +from typing import Any, Optional, Union @@ -13,7 +13,7 @@ class PutSettingsValueRequest: r"""Organization setting key""" org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) r"""The Id of the organization.""" - request_body: Optional[Any] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) + settings_value: Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) r"""Value to set""" @@ -28,7 +28,7 @@ class PutSettingsValueResponse: r"""HTTP response status code for this operation""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) r"""Raw HTTP response; suitable for custom response parsing""" - settings_value: Optional[Any] = dataclasses.field(default=None) + settings_value: Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]] = dataclasses.field(default=None) r"""Returns the value of the setting""" diff --git a/organization/src/epilot/organization_settings.py b/organization/src/epilot/organization_settings.py index 891ee6c99..e49da999d 100755 --- a/organization/src/epilot/organization_settings.py +++ b/organization/src/epilot/organization_settings.py @@ -3,7 +3,7 @@ from .sdkconfiguration import SDKConfiguration from epilot import utils from epilot.models import errors, operations -from typing import Any, Optional +from typing import Any, Optional, Union class OrganizationSettings: r"""Organisation Settings""" @@ -71,7 +71,7 @@ def put_settings_value(self, request: operations.PutSettingsValueRequest) -> ope url = utils.generate_url(operations.PutSettingsValueRequest, base_url, '/v2/organization/{org_id}/settings/{key}', request) headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "request_body", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "settings_value", 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json' @@ -86,7 +86,7 @@ def put_settings_value(self, request: operations.PutSettingsValueRequest) -> ope if http_res.status_code == 200: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[Any]) + out = utils.unmarshal_json(http_res.text, Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]) res.settings_value = out else: raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index bdd56dcc9..6166cbfa5 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -19,8 +19,8 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.44.0' - gen_version: str = '2.129.1' + sdk_version: str = '1.44.1' + gen_version: str = '2.131.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py index 05eafba6c..b0aeb54de 100755 --- a/organization/src/epilot/utils/utils.py +++ b/organization/src/epilot/utils/utils.py @@ -1,5 +1,6 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" +import sys import base64 import json import re @@ -796,3 +797,10 @@ def _populate_from_globals(param_name: str, value: any, param_type: str, gbls: d value = global_value return value + + +def decoder_with_discriminator(field_name): + def decode_fx(obj): + kls = getattr(sys.modules['sdk.models.shared'], obj[field_name]) + return unmarshal_json(json.dumps(obj), kls) + return decode_fx From bb2bb5e449777d0a6711d813ac72efab12215dd2 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 29 Sep 2023 00:27:11 +0000 Subject: [PATCH 75/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.91.3 --- organization/RELEASES.md | 10 ++- .../operations/deletesettingsvaluerequest.md | 4 +- .../operations/deletesettingsvalueresponse.md | 4 +- .../operations/getorganizationrequest.md | 2 +- .../operations/getorganizationresponse.md | 6 +- .../models/operations/getsettingsrequest.md | 2 +- .../models/operations/getsettingsresponse.md | 4 +- .../operations/putsettingsvaluerequest.md | 10 +-- .../operations/putsettingsvalueresponse.md | 12 +-- .../operations/updateorganizationrequest.md | 8 +- .../operations/updateorganizationresponse.md | 6 +- .../docs/models/shared/organization.md | 4 +- organization/docs/models/shared/security.md | 2 +- organization/docs/sdks/organization/README.md | 12 +-- .../docs/sdks/organizationsettings/README.md | 4 +- organization/gen.yaml | 8 +- organization/pylintrc | 4 +- organization/setup.py | 2 +- .../src/epilot/models/shared/organization.py | 36 ++++----- organization/src/epilot/organization.py | 6 +- .../src/epilot/organization_settings.py | 8 +- organization/src/epilot/sdkconfiguration.py | 5 +- organization/src/epilot/utils/utils.py | 79 ++++++++++++++++--- 23 files changed, 153 insertions(+), 85 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 0febc16fa..c886ebce5 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -506,4 +506,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.91.2 (2.131.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.44.1] organization \ No newline at end of file +- [python v1.44.1] organization + +## 2023-09-29 00:26:52 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.91.3 (2.139.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.45.0] organization \ No newline at end of file diff --git a/organization/docs/models/operations/deletesettingsvaluerequest.md b/organization/docs/models/operations/deletesettingsvaluerequest.md index 0fa440538..48fad02fe 100755 --- a/organization/docs/models/operations/deletesettingsvaluerequest.md +++ b/organization/docs/models/operations/deletesettingsvaluerequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | --------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | -| `key` | *str* | :heavy_check_mark: | Organization setting key | | -| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file +| `key` | *Optional[str]* | :heavy_check_mark: | Organization setting key | | +| `org_id` | *Optional[str]* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/deletesettingsvalueresponse.md b/organization/docs/models/operations/deletesettingsvalueresponse.md index a0b4ba270..0521336ee 100755 --- a/organization/docs/models/operations/deletesettingsvalueresponse.md +++ b/organization/docs/models/operations/deletesettingsvalueresponse.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `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 | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *Optional[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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/docs/models/operations/getorganizationrequest.md b/organization/docs/models/operations/getorganizationrequest.md index e0dc128ff..144fbcafd 100755 --- a/organization/docs/models/operations/getorganizationrequest.md +++ b/organization/docs/models/operations/getorganizationrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | --------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | -| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file +| `org_id` | *Optional[str]* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/getorganizationresponse.md b/organization/docs/models/operations/getorganizationresponse.md index 653af4443..b14774b9d 100755 --- a/organization/docs/models/operations/getorganizationresponse.md +++ b/organization/docs/models/operations/getorganizationresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `organization` | [Optional[shared.Organization]](../../models/shared/organization.md) | :heavy_minus_sign: | The returned organization | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `organization` | [Optional[shared.Organization]](undefined/models/shared/organization.md) | :heavy_minus_sign: | The returned organization | +| `status_code` | *Optional[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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/docs/models/operations/getsettingsrequest.md b/organization/docs/models/operations/getsettingsrequest.md index 8c39783cc..7aa76b34c 100755 --- a/organization/docs/models/operations/getsettingsrequest.md +++ b/organization/docs/models/operations/getsettingsrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | --------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | -| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file +| `org_id` | *Optional[str]* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/getsettingsresponse.md b/organization/docs/models/operations/getsettingsresponse.md index 460a6e027..a5d75806e 100755 --- a/organization/docs/models/operations/getsettingsresponse.md +++ b/organization/docs/models/operations/getsettingsresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | | `settings` | dict[str, *Any*] | :heavy_minus_sign: | Returns the organization settings | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `status_code` | *Optional[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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/docs/models/operations/putsettingsvaluerequest.md b/organization/docs/models/operations/putsettingsvaluerequest.md index bc1807322..8158fcb6a 100755 --- a/organization/docs/models/operations/putsettingsvaluerequest.md +++ b/organization/docs/models/operations/putsettingsvaluerequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](../../models/shared/settingsvalue.md) | :heavy_minus_sign: | Value to set | | -| `key` | *str* | :heavy_check_mark: | Organization setting key | | -| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](undefined/models/shared/settingsvalue.md) | :heavy_minus_sign: | Value to set | | +| `key` | *Optional[str]* | :heavy_check_mark: | Organization setting key | | +| `org_id` | *Optional[str]* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/putsettingsvalueresponse.md b/organization/docs/models/operations/putsettingsvalueresponse.md index 4b0dae27c..c0699b0f8 100755 --- a/organization/docs/models/operations/putsettingsvalueresponse.md +++ b/organization/docs/models/operations/putsettingsvalueresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](../../models/shared/settingsvalue.md) | :heavy_minus_sign: | Returns the value of the setting | -| `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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](undefined/models/shared/settingsvalue.md) | :heavy_minus_sign: | Returns the value of the setting | +| `status_code` | *Optional[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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/docs/models/operations/updateorganizationrequest.md b/organization/docs/models/operations/updateorganizationrequest.md index fa6010e31..6a9534879 100755 --- a/organization/docs/models/operations/updateorganizationrequest.md +++ b/organization/docs/models/operations/updateorganizationrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `organization` | [Optional[shared.Organization]](../../models/shared/organization.md) | :heavy_minus_sign: | N/A | | -| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `organization` | [Optional[shared.Organization]](undefined/models/shared/organization.md) | :heavy_minus_sign: | N/A | | +| `org_id` | *Optional[str]* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/updateorganizationresponse.md b/organization/docs/models/operations/updateorganizationresponse.md index e92f3a4e0..247fa3f1d 100755 --- a/organization/docs/models/operations/updateorganizationresponse.md +++ b/organization/docs/models/operations/updateorganizationresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `organization` | [Optional[shared.Organization]](../../models/shared/organization.md) | :heavy_minus_sign: | The updated organization | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | +| `organization` | [Optional[shared.Organization]](undefined/models/shared/organization.md) | :heavy_minus_sign: | The updated organization | +| `status_code` | *Optional[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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/docs/models/shared/organization.md b/organization/docs/models/shared/organization.md index 49622bbf9..9472290de 100755 --- a/organization/docs/models/shared/organization.md +++ b/organization/docs/models/shared/organization.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `address` | [Optional[OrganizationAddress]](../../models/shared/organizationaddress.md) | :heavy_minus_sign: | N/A | | +| `address` | [Optional[shared.OrganizationAddress]](undefined/models/shared/organizationaddress.md) | :heavy_minus_sign: | N/A | | | `email` | *Optional[str]* | :heavy_minus_sign: | N/A | someone@epilot.cloud | | `free_user_limit` | *Optional[float]* | :heavy_minus_sign: | N/A | 50 | | `id` | *Optional[str]* | :heavy_minus_sign: | N/A | 739224 | @@ -18,5 +18,5 @@ | `signature` | *Optional[str]* | :heavy_minus_sign: | N/A |

Thanks

| | `style` | dict[str, *Any*] | :heavy_minus_sign: | Organization style setting (e.g. font setting) | | | `symbol` | *Optional[str]* | :heavy_minus_sign: | N/A | EPI | -| `type` | [Optional[OrganizationType]](../../models/shared/organizationtype.md) | :heavy_minus_sign: | N/A | | +| `type` | [Optional[shared.OrganizationType]](undefined/models/shared/organizationtype.md) | :heavy_minus_sign: | N/A | | | `website` | *Optional[str]* | :heavy_minus_sign: | N/A | https://epilot.cloud | \ No newline at end of file diff --git a/organization/docs/models/shared/security.md b/organization/docs/models/shared/security.md index f06333390..9e84312f5 100755 --- a/organization/docs/models/shared/security.md +++ b/organization/docs/models/shared/security.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `epilot_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/organization/docs/sdks/organization/README.md b/organization/docs/sdks/organization/README.md index 8fe0069d3..8a86f60ac 100755 --- a/organization/docs/sdks/organization/README.md +++ b/organization/docs/sdks/organization/README.md @@ -67,11 +67,11 @@ s = epilot.Epilot( req = operations.UpdateOrganizationRequest( organization=shared.Organization( address=shared.OrganizationAddress( - city='Laruecester', - country='Suriname', - postal_code='85846-6342', - street='092 Jasper Skyway', - street_number='placeat', + city='New Mollyville', + country='Guatemala', + postal_code='22468', + street='Dooley Row', + street_number='Savings DRAM laudantium', ), email='someone@epilot.cloud', free_user_limit=50, @@ -84,7 +84,7 @@ req = operations.UpdateOrganizationRequest( pricing_tier='professional', signature='

Thanks

', style={ - "voluptatum": 'iusto', + "molestias": 'wireless', }, symbol='EPI', type=shared.OrganizationType.PARTNER, diff --git a/organization/docs/sdks/organizationsettings/README.md b/organization/docs/sdks/organizationsettings/README.md index ed6668001..3534f2a35 100755 --- a/organization/docs/sdks/organizationsettings/README.md +++ b/organization/docs/sdks/organizationsettings/README.md @@ -28,7 +28,7 @@ s = epilot.Epilot( ) req = operations.DeleteSettingsValueRequest( - key='nisi', + key='', org_id='739224', ) @@ -106,7 +106,7 @@ s = epilot.Epilot( req = operations.PutSettingsValueRequest( settings_value=[], - key='recusandae', + key='', org_id='739224', ) diff --git a/organization/gen.yaml b/organization/gen.yaml index 4f49bd48a..a20289dc9 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.91.2 - generationVersion: 2.131.1 + speakeasyVersion: 1.91.3 + generationVersion: 2.139.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.86.1 + core: 2.87.0 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.44.1 + version: 1.45.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/pylintrc b/organization/pylintrc index ab6495dd6..2a6cf6912 100755 --- a/organization/pylintrc +++ b/organization/pylintrc @@ -116,12 +116,12 @@ argument-naming-style=snake_case #argument-rgx= # Naming style matching correct attribute names. -attr-naming-style=snake_case +#attr-naming-style=snake_case # Regular expression matching correct attribute names. Overrides attr-naming- # style. If left empty, attribute names will be checked with the set naming # style. -#attr-rgx= +attr-rgx=[^\W\d][^\W]*|__.*__$ # Bad variable names which should always be refused, separated by a comma. bad-names= diff --git a/organization/setup.py b/organization/setup.py index 1094122de..89234c9b8 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.44.1", + version="1.45.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/models/shared/organization.py b/organization/src/epilot/models/shared/organization.py index f072d3f9a..5767cba41 100755 --- a/organization/src/epilot/models/shared/organization.py +++ b/organization/src/epilot/models/shared/organization.py @@ -12,11 +12,11 @@ @dataclasses.dataclass class OrganizationAddress: - city: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('city'), 'exclude': lambda f: f is None }}) - country: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('country'), 'exclude': lambda f: f is None }}) - postal_code: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('postal_code'), 'exclude': lambda f: f is None }}) - street: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street'), 'exclude': lambda f: f is None }}) - street_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street_number'), 'exclude': lambda f: f is None }}) + city: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('city') }}) + country: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('country') }}) + postal_code: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('postal_code') }}) + street: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street') }}) + street_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('street_number') }}) @@ -30,20 +30,20 @@ class OrganizationType(str, Enum): @dataclasses.dataclass class Organization: address: Optional[OrganizationAddress] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('address'), 'exclude': lambda f: f is None }}) - email: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email'), 'exclude': lambda f: f is None }}) - free_user_limit: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('free_user_limit'), 'exclude': lambda f: f is None }}) + email: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('email') }}) + free_user_limit: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('free_user_limit') }}) id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id'), 'exclude': lambda f: f is None }}) - is_unlicensed_org: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_unlicensed_org'), 'exclude': lambda f: f is None }}) - logo_thumbnail_url: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logo_thumbnail_url'), 'exclude': lambda f: f is None }}) - logo_url: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logo_url'), 'exclude': lambda f: f is None }}) - name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name'), 'exclude': lambda f: f is None }}) - phone: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('phone'), 'exclude': lambda f: f is None }}) - pricing_tier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pricing_tier'), 'exclude': lambda f: f is None }}) - signature: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('signature'), 'exclude': lambda f: f is None }}) - style: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('style'), 'exclude': lambda f: f is None }}) + is_unlicensed_org: Optional[bool] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('is_unlicensed_org') }}) + logo_thumbnail_url: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logo_thumbnail_url') }}) + logo_url: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('logo_url') }}) + name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) + phone: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('phone') }}) + pricing_tier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pricing_tier') }}) + signature: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('signature') }}) + style: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('style') }}) r"""Organization style setting (e.g. font setting)""" - symbol: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('symbol'), 'exclude': lambda f: f is None }}) - type: Optional[OrganizationType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type'), 'exclude': lambda f: f is None }}) - website: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('website'), 'exclude': lambda f: f is None }}) + symbol: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('symbol') }}) + type: Optional[OrganizationType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) + website: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('website') }}) diff --git a/organization/src/epilot/organization.py b/organization/src/epilot/organization.py index 084805f9c..6a3c86ffd 100755 --- a/organization/src/epilot/organization.py +++ b/organization/src/epilot/organization.py @@ -20,7 +20,7 @@ def get_organization(self, request: operations.GetOrganizationRequest) -> operat url = utils.generate_url(operations.GetOrganizationRequest, base_url, '/v2/organization/{org_id}', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -45,11 +45,11 @@ def update_organization(self, request: operations.UpdateOrganizationRequest) -> url = utils.generate_url(operations.UpdateOrganizationRequest, base_url, '/v2/organization/{org_id}', request) headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "organization", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "organization", False, True, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client diff --git a/organization/src/epilot/organization_settings.py b/organization/src/epilot/organization_settings.py index e49da999d..c4cb5bb08 100755 --- a/organization/src/epilot/organization_settings.py +++ b/organization/src/epilot/organization_settings.py @@ -22,7 +22,7 @@ def delete_settings_value(self, request: operations.DeleteSettingsValueRequest) url = utils.generate_url(operations.DeleteSettingsValueRequest, base_url, '/v2/organization/{org_id}/settings/{key}', request) headers = {} headers['Accept'] = '*/*' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -44,7 +44,7 @@ def get_settings(self, request: operations.GetSettingsRequest) -> operations.Get url = utils.generate_url(operations.GetSettingsRequest, base_url, '/v2/organization/{org_id}/settings', request) headers = {} headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client @@ -71,11 +71,11 @@ def put_settings_value(self, request: operations.PutSettingsValueRequest) -> ope url = utils.generate_url(operations.PutSettingsValueRequest, base_url, '/v2/organization/{org_id}/settings/{key}', request) headers = {} - req_content_type, data, form = utils.serialize_request_body(request, "settings_value", 'json') + req_content_type, data, form = utils.serialize_request_body(request, "settings_value", False, True, 'json') if req_content_type not in ('multipart/form-data', 'multipart/mixed'): headers['content-type'] = req_content_type headers['Accept'] = 'application/json' - headers['user-agent'] = f'speakeasy-sdk/{self.sdk_configuration.language} {self.sdk_configuration.sdk_version} {self.sdk_configuration.gen_version} {self.sdk_configuration.openapi_doc_version}' + headers['user-agent'] = self.sdk_configuration.user_agent client = self.sdk_configuration.security_client diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 6166cbfa5..4a25da7e2 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -19,8 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.44.1' - gen_version: str = '2.131.1' + sdk_version: str = '1.45.0' + gen_version: str = '2.139.1' + user_agent: str = 'speakeasy-sdk/python 1.45.0 2.139.1 1.0.0 epilot-organization' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py index b0aeb54de..4388f3b74 100755 --- a/organization/src/epilot/utils/utils.py +++ b/organization/src/epilot/utils/utils.py @@ -1,9 +1,9 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" -import sys import base64 import json import re +import sys from dataclasses import Field, dataclass, fields, is_dataclass, make_dataclass from datetime import date, datetime from decimal import Decimal @@ -393,17 +393,22 @@ def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delim } -def serialize_request_body(request: dataclass, request_field_name: str, serialization_method: str) -> Tuple[ +def serialize_request_body(request: dataclass, request_field_name: str, nullable: bool, optional: bool, serialization_method: str, encoder=None) -> Tuple[ str, any, any]: if request is None: - return None, None, None + if not nullable and optional: + return None, None, None if not is_dataclass(request) or not hasattr(request, request_field_name): return serialize_content_type(request_field_name, SERIALIZATION_METHOD_TO_CONTENT_TYPE[serialization_method], - request) + request, encoder) request_val = getattr(request, request_field_name) + if request_val is None: + if not nullable and optional: + return None, None, None + request_fields: Tuple[Field, ...] = fields(request) request_metadata = None @@ -419,9 +424,9 @@ def serialize_request_body(request: dataclass, request_field_name: str, serializ request_val) -def serialize_content_type(field_name: str, media_type: str, request: dataclass) -> Tuple[str, any, list[list[any]]]: +def serialize_content_type(field_name: str, media_type: str, request: dataclass, encoder=None) -> Tuple[str, any, list[list[any]]]: if re.match(r'(application|text)\/.*?\+*json.*', media_type) is not None: - return media_type, marshal_json(request), None + return media_type, marshal_json(request, encoder), None if re.match(r'multipart\/.*', media_type) is not None: return serialize_multipart_form(media_type, request) if re.match(r'application\/x-www-form-urlencoded.*', media_type) is not None: @@ -678,7 +683,7 @@ def _serialize_header(explode: bool, obj: any) -> str: return '' -def unmarshal_json(data, typ): +def unmarshal_json(data, typ, decoder=None): unmarshal = make_dataclass('Unmarshal', [('res', typ)], bases=(DataClassJsonMixin,)) json_dict = json.loads(data) @@ -687,15 +692,19 @@ def unmarshal_json(data, typ): except AttributeError as attr_err: raise AttributeError( f'unable to unmarshal {data} as {typ}') from attr_err - return out.res + + return out.res if decoder is None else decoder(out.res) -def marshal_json(val): +def marshal_json(val, encoder=None): marshal = make_dataclass('Marshal', [('res', type(val))], bases=(DataClassJsonMixin,)) marshaller = marshal(res=val) json_dict = marshaller.to_dict() - return json.dumps(json_dict["res"]) + + val = json_dict["res"] if encoder is None else encoder(json_dict["res"]) + + return json.dumps(val) def match_content_type(content_type: str, pattern: str) -> boolean: @@ -769,6 +778,56 @@ def decimaldecoder(val): return Decimal(str(val)) +def map_encoder(optional: bool, value_encoder: Callable): + def map_encode(val: dict): + if optional and val is None: + return None + + encoded = {} + for key, value in val.items(): + encoded[key] = value_encoder(value) + + return encoded + + return map_encode + + +def map_decoder(value_decoder: Callable): + def map_decode(val: dict): + decoded = {} + for key, value in val.items(): + decoded[key] = value_decoder(value) + + return decoded + + return map_decode + + +def list_encoder(optional: bool, value_encoder: Callable): + def list_encode(val: list): + if optional and val is None: + return None + + encoded = [] + for value in val: + encoded.append(value_encoder(value)) + + return encoded + + return list_encode + + +def list_decoder(value_decoder: Callable): + def list_decode(val: list): + decoded = [] + for value in val: + decoded.append(value_decoder(value)) + + return decoded + + return list_decode + + def get_field_name(name): def override(_, _field_name=name): return _field_name From 17b5b399f23ef9ee0865d8d1a590f50da1b52466 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sun, 1 Oct 2023 00:31:16 +0000 Subject: [PATCH 76/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.92.2 --- organization/RELEASES.md | 10 +++++++++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 6 +++--- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index c886ebce5..4e02b4b89 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -514,4 +514,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.91.3 (2.139.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.45.0] organization \ No newline at end of file +- [python v1.45.0] organization + +## 2023-10-01 00:31:01 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.92.2 (2.142.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.46.0] organization \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index a20289dc9..1babb4ba4 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.91.3 - generationVersion: 2.139.1 + speakeasyVersion: 1.92.2 + generationVersion: 2.142.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.87.0 + core: 2.88.0 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.45.0 + version: 1.46.0 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index 89234c9b8..c6a87cf2c 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.45.0", + version="1.46.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 4a25da7e2..a8838e5b0 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.45.0' - gen_version: str = '2.139.1' - user_agent: str = 'speakeasy-sdk/python 1.45.0 2.139.1 1.0.0 epilot-organization' + sdk_version: str = '1.46.0' + gen_version: str = '2.142.2' + user_agent: str = 'speakeasy-sdk/python 1.46.0 2.142.2 1.0.0 epilot-organization' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From f0b9d136b90d9d11bf0968850c2a543d47850f1f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 2 Oct 2023 00:27:37 +0000 Subject: [PATCH 77/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.92.3 --- organization/RELEASES.md | 10 +++++++++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 6 +++--- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 4e02b4b89..8ab5d24df 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -522,4 +522,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.92.2 (2.142.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.46.0] organization \ No newline at end of file +- [python v1.46.0] organization + +## 2023-10-02 00:27:21 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.92.3 (2.143.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.46.1] organization \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 1babb4ba4..898866e27 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.92.2 - generationVersion: 2.142.2 + speakeasyVersion: 1.92.3 + generationVersion: 2.143.2 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.88.0 + core: 2.88.1 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.46.0 + version: 1.46.1 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index c6a87cf2c..e1d355bf8 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.46.0", + version="1.46.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index a8838e5b0..50df6e101 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.46.0' - gen_version: str = '2.142.2' - user_agent: str = 'speakeasy-sdk/python 1.46.0 2.142.2 1.0.0 epilot-organization' + sdk_version: str = '1.46.1' + gen_version: str = '2.143.2' + user_agent: str = 'speakeasy-sdk/python 1.46.1 2.143.2 1.0.0 epilot-organization' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From f0adb7a320db3da6f7485834229b30e806032bb4 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 5 Oct 2023 00:27:08 +0000 Subject: [PATCH 78/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.94.0 --- organization/RELEASES.md | 10 +++++++++- organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 6 +++--- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 8ab5d24df..d2ebad90a 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -530,4 +530,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.92.3 (2.143.2) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.46.1] organization \ No newline at end of file +- [python v1.46.1] organization + +## 2023-10-05 00:26:53 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.94.0 (2.147.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.46.2] organization \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 898866e27..a948bec62 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.92.3 - generationVersion: 2.143.2 + speakeasyVersion: 1.94.0 + generationVersion: 2.147.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.88.1 + core: 2.88.2 globalSecurity: 2.81.1 globalServerURLs: 2.82.0 python: - version: 1.46.1 + version: 1.46.2 author: epilot description: Python Client SDK for Epilot maxMethodParams: 0 diff --git a/organization/setup.py b/organization/setup.py index e1d355bf8..b9798ca77 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.46.1", + version="1.46.2", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 50df6e101..2260cbc2b 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.46.1' - gen_version: str = '2.143.2' - user_agent: str = 'speakeasy-sdk/python 1.46.1 2.143.2 1.0.0 epilot-organization' + sdk_version: str = '1.46.2' + gen_version: str = '2.147.0' + user_agent: str = 'speakeasy-sdk/python 1.46.2 2.147.0 1.0.0 epilot-organization' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 04917a36906b54629f07e314a8a2c79852d86411 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 7 Oct 2023 00:26:44 +0000 Subject: [PATCH 79/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.96.1 --- organization/RELEASES.md | 10 +++++++++- .../docs/models/operations/getsettingsresponse.md | 12 ++++++------ .../models/operations/putsettingsvaluerequest.md | 2 +- .../models/operations/putsettingsvalueresponse.md | 12 ++++++------ organization/docs/sdks/organization/README.md | 11 ++--------- .../docs/sdks/organizationsettings/README.md | 4 +++- organization/gen.yaml | 11 ++++++----- organization/setup.py | 2 +- organization/src/epilot/models/__init__.py | 1 + .../src/epilot/models/operations/putsettingsvalue.py | 3 ++- organization/src/epilot/sdk.py | 8 +++++--- organization/src/epilot/sdkconfiguration.py | 6 +++--- 12 files changed, 45 insertions(+), 37 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index d2ebad90a..80b8f02b4 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -538,4 +538,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.94.0 (2.147.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.46.2] organization \ No newline at end of file +- [python v1.46.2] organization + +## 2023-10-07 00:26:26 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.96.1 (2.150.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.47.0] organization \ No newline at end of file diff --git a/organization/docs/models/operations/getsettingsresponse.md b/organization/docs/models/operations/getsettingsresponse.md index a5d75806e..ac4c1f03c 100755 --- a/organization/docs/models/operations/getsettingsresponse.md +++ b/organization/docs/models/operations/getsettingsresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `settings` | dict[str, *Any*] | :heavy_minus_sign: | Returns the organization settings | -| `status_code` | *Optional[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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | | +| `settings` | dict[str, *Any*] | :heavy_minus_sign: | Returns the organization settings | [object Object] | +| `status_code` | *Optional[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_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/organization/docs/models/operations/putsettingsvaluerequest.md b/organization/docs/models/operations/putsettingsvaluerequest.md index 8158fcb6a..1bd1ceec3 100755 --- a/organization/docs/models/operations/putsettingsvaluerequest.md +++ b/organization/docs/models/operations/putsettingsvaluerequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](undefined/models/shared/settingsvalue.md) | :heavy_minus_sign: | Value to set | | +| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](undefined/models/shared/settingsvalue.md) | :heavy_minus_sign: | Value to set | [object Object] | | `key` | *Optional[str]* | :heavy_check_mark: | Organization setting key | | | `org_id` | *Optional[str]* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/putsettingsvalueresponse.md b/organization/docs/models/operations/putsettingsvalueresponse.md index c0699b0f8..b6e1d035e 100755 --- a/organization/docs/models/operations/putsettingsvalueresponse.md +++ b/organization/docs/models/operations/putsettingsvalueresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](undefined/models/shared/settingsvalue.md) | :heavy_minus_sign: | Returns the value of the setting | -| `status_code` | *Optional[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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | | +| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](undefined/models/shared/settingsvalue.md) | :heavy_minus_sign: | Returns the value of the setting | [object Object] | +| `status_code` | *Optional[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_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/organization/docs/sdks/organization/README.md b/organization/docs/sdks/organization/README.md index 8a86f60ac..a66378206 100755 --- a/organization/docs/sdks/organization/README.md +++ b/organization/docs/sdks/organization/README.md @@ -66,13 +66,7 @@ s = epilot.Epilot( req = operations.UpdateOrganizationRequest( organization=shared.Organization( - address=shared.OrganizationAddress( - city='New Mollyville', - country='Guatemala', - postal_code='22468', - street='Dooley Row', - street_number='Savings DRAM laudantium', - ), + address=shared.OrganizationAddress(), email='someone@epilot.cloud', free_user_limit=50, id='739224', @@ -84,10 +78,9 @@ req = operations.UpdateOrganizationRequest( pricing_tier='professional', signature='

Thanks

', style={ - "molestias": 'wireless', + "Jersey": 'Aubree', }, symbol='EPI', - type=shared.OrganizationType.PARTNER, website='https://epilot.cloud', ), org_id='739224', diff --git a/organization/docs/sdks/organizationsettings/README.md b/organization/docs/sdks/organizationsettings/README.md index 3534f2a35..77bdd616d 100755 --- a/organization/docs/sdks/organizationsettings/README.md +++ b/organization/docs/sdks/organizationsettings/README.md @@ -105,7 +105,9 @@ s = epilot.Epilot( ) req = operations.PutSettingsValueRequest( - settings_value=[], + { + "enabled": 'Solutions', + }, key='', org_id='739224', ) diff --git a/organization/gen.yaml b/organization/gen.yaml index a948bec62..2ccdc09ad 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,20 +2,21 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.94.0 - generationVersion: 2.147.0 + speakeasyVersion: 1.96.1 + generationVersion: 2.150.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.88.2 - globalSecurity: 2.81.1 + core: 2.88.4 + globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 1.46.2 + version: 1.47.0 author: epilot description: Python Client SDK for Epilot + flattenGlobalSecurity: false maxMethodParams: 0 packageName: epilot-organization diff --git a/organization/setup.py b/organization/setup.py index b9798ca77..1b26febe3 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.46.2", + version="1.47.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/models/__init__.py b/organization/src/epilot/models/__init__.py index 889f8adcf..36628d6cc 100755 --- a/organization/src/epilot/models/__init__.py +++ b/organization/src/epilot/models/__init__.py @@ -1,2 +1,3 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" +# __init__.py diff --git a/organization/src/epilot/models/operations/putsettingsvalue.py b/organization/src/epilot/models/operations/putsettingsvalue.py index aa84f0305..9ed02e625 100755 --- a/organization/src/epilot/models/operations/putsettingsvalue.py +++ b/organization/src/epilot/models/operations/putsettingsvalue.py @@ -3,7 +3,8 @@ from __future__ import annotations import dataclasses import requests as requests_http -from typing import Any, Optional, Union +from ..shared import settingsvalue as shared_settingsvalue +from typing import Optional, Union diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index c6300eee1..b11d1de16 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -17,7 +17,7 @@ class Epilot: sdk_configuration: SDKConfiguration def __init__(self, - security: shared.Security = None, + epilot_auth: str, server_idx: int = None, server_url: str = None, url_params: dict[str, str] = None, @@ -26,8 +26,8 @@ def __init__(self, ) -> None: """Instantiates the SDK configuring it with the provided parameters. - :param security: The security details required for authentication - :type security: shared.Security + :param epilot_auth: The epilot_auth required for authentication + :type epilot_auth: str :param server_idx: The index of the server to use for all operations :type server_idx: int :param server_url: The server URL to use for all operations @@ -42,8 +42,10 @@ def __init__(self, if client is None: client = requests_http.Session() + security_client = utils.configure_security_client(client, security) + if server_url is not None: if url_params is not None: server_url = utils.template_url(server_url, url_params) diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 2260cbc2b..70ded956b 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.46.2' - gen_version: str = '2.147.0' - user_agent: str = 'speakeasy-sdk/python 1.46.2 2.147.0 1.0.0 epilot-organization' + sdk_version: str = '1.47.0' + gen_version: str = '2.150.0' + user_agent: str = 'speakeasy-sdk/python 1.47.0 2.150.0 1.0.0 epilot-organization' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From 80c5486e617224da827a8208624ea78ef9434a09 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 13 Oct 2023 00:28:04 +0000 Subject: [PATCH 80/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.99.0 --- organization/README.md | 1 + organization/RELEASES.md | 10 +++++++++- organization/USAGE.md | 1 + .../models/operations/deletesettingsvaluerequest.md | 4 ++-- .../models/operations/deletesettingsvalueresponse.md | 4 ++-- .../docs/models/operations/getorganizationrequest.md | 2 +- .../models/operations/getorganizationresponse.md | 6 +++--- .../docs/models/operations/getsettingsrequest.md | 2 +- .../docs/models/operations/getsettingsresponse.md | 4 ++-- .../models/operations/putsettingsvaluerequest.md | 10 +++++----- .../models/operations/putsettingsvalueresponse.md | 12 ++++++------ .../models/operations/updateorganizationrequest.md | 8 ++++---- .../models/operations/updateorganizationresponse.md | 6 +++--- organization/docs/models/shared/organization.md | 4 ++-- organization/docs/models/shared/security.md | 2 +- organization/docs/sdks/organization/README.md | 2 ++ .../docs/sdks/organizationsettings/README.md | 3 +++ organization/gen.yaml | 8 ++++---- organization/setup.py | 2 +- organization/src/epilot/sdk.py | 6 +++--- organization/src/epilot/sdkconfiguration.py | 6 +++--- 21 files changed, 59 insertions(+), 44 deletions(-) diff --git a/organization/README.md b/organization/README.md index 229872350..555d18292 100755 --- a/organization/README.md +++ b/organization/README.md @@ -28,6 +28,7 @@ res = s.organization.get_organization(req) if res.organization is not None: # handle response + pass ``` diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 80b8f02b4..565dcf94e 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -546,4 +546,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.96.1 (2.150.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.47.0] organization \ No newline at end of file +- [python v1.47.0] organization + +## 2023-10-13 00:27:47 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.99.0 (2.154.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.47.1] organization \ No newline at end of file diff --git a/organization/USAGE.md b/organization/USAGE.md index 3e67c1280..010f74d71 100755 --- a/organization/USAGE.md +++ b/organization/USAGE.md @@ -19,5 +19,6 @@ res = s.organization.get_organization(req) if res.organization is not None: # handle response + pass ``` \ No newline at end of file diff --git a/organization/docs/models/operations/deletesettingsvaluerequest.md b/organization/docs/models/operations/deletesettingsvaluerequest.md index 48fad02fe..0fa440538 100755 --- a/organization/docs/models/operations/deletesettingsvaluerequest.md +++ b/organization/docs/models/operations/deletesettingsvaluerequest.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | --------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | -| `key` | *Optional[str]* | :heavy_check_mark: | Organization setting key | | -| `org_id` | *Optional[str]* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file +| `key` | *str* | :heavy_check_mark: | Organization setting key | | +| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/deletesettingsvalueresponse.md b/organization/docs/models/operations/deletesettingsvalueresponse.md index 0521336ee..a0b4ba270 100755 --- a/organization/docs/models/operations/deletesettingsvalueresponse.md +++ b/organization/docs/models/operations/deletesettingsvalueresponse.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this 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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/docs/models/operations/getorganizationrequest.md b/organization/docs/models/operations/getorganizationrequest.md index 144fbcafd..e0dc128ff 100755 --- a/organization/docs/models/operations/getorganizationrequest.md +++ b/organization/docs/models/operations/getorganizationrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | --------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | -| `org_id` | *Optional[str]* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file +| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/getorganizationresponse.md b/organization/docs/models/operations/getorganizationresponse.md index b14774b9d..653af4443 100755 --- a/organization/docs/models/operations/getorganizationresponse.md +++ b/organization/docs/models/operations/getorganizationresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `organization` | [Optional[shared.Organization]](undefined/models/shared/organization.md) | :heavy_minus_sign: | The returned organization | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `organization` | [Optional[shared.Organization]](../../models/shared/organization.md) | :heavy_minus_sign: | The returned organization | +| `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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/docs/models/operations/getsettingsrequest.md b/organization/docs/models/operations/getsettingsrequest.md index 7aa76b34c..8c39783cc 100755 --- a/organization/docs/models/operations/getsettingsrequest.md +++ b/organization/docs/models/operations/getsettingsrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | --------------------------- | --------------------------- | --------------------------- | --------------------------- | --------------------------- | -| `org_id` | *Optional[str]* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file +| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/getsettingsresponse.md b/organization/docs/models/operations/getsettingsresponse.md index ac4c1f03c..43087a6f1 100755 --- a/organization/docs/models/operations/getsettingsresponse.md +++ b/organization/docs/models/operations/getsettingsresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | | `settings` | dict[str, *Any*] | :heavy_minus_sign: | Returns the organization settings | [object Object] | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code 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_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/organization/docs/models/operations/putsettingsvaluerequest.md b/organization/docs/models/operations/putsettingsvaluerequest.md index 1bd1ceec3..60434daea 100755 --- a/organization/docs/models/operations/putsettingsvaluerequest.md +++ b/organization/docs/models/operations/putsettingsvaluerequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](undefined/models/shared/settingsvalue.md) | :heavy_minus_sign: | Value to set | [object Object] | -| `key` | *Optional[str]* | :heavy_check_mark: | Organization setting key | | -| `org_id` | *Optional[str]* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](../../models/shared/settingsvalue.md) | :heavy_minus_sign: | Value to set | [object Object] | +| `key` | *str* | :heavy_check_mark: | Organization setting key | | +| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/putsettingsvalueresponse.md b/organization/docs/models/operations/putsettingsvalueresponse.md index b6e1d035e..9851f3c53 100755 --- a/organization/docs/models/operations/putsettingsvalueresponse.md +++ b/organization/docs/models/operations/putsettingsvalueresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | | -| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](undefined/models/shared/settingsvalue.md) | :heavy_minus_sign: | Returns the value of the setting | [object Object] | -| `status_code` | *Optional[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_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | +| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](../../models/shared/settingsvalue.md) | :heavy_minus_sign: | Returns the value of the setting | [object Object] | +| `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_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/organization/docs/models/operations/updateorganizationrequest.md b/organization/docs/models/operations/updateorganizationrequest.md index 6a9534879..fa6010e31 100755 --- a/organization/docs/models/operations/updateorganizationrequest.md +++ b/organization/docs/models/operations/updateorganizationrequest.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `organization` | [Optional[shared.Organization]](undefined/models/shared/organization.md) | :heavy_minus_sign: | N/A | | -| `org_id` | *Optional[str]* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `organization` | [Optional[shared.Organization]](../../models/shared/organization.md) | :heavy_minus_sign: | N/A | | +| `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/updateorganizationresponse.md b/organization/docs/models/operations/updateorganizationresponse.md index 247fa3f1d..e92f3a4e0 100755 --- a/organization/docs/models/operations/updateorganizationresponse.md +++ b/organization/docs/models/operations/updateorganizationresponse.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *Optional[str]* | :heavy_check_mark: | HTTP response content type for this operation | -| `organization` | [Optional[shared.Organization]](undefined/models/shared/organization.md) | :heavy_minus_sign: | The updated organization | -| `status_code` | *Optional[int]* | :heavy_check_mark: | HTTP response status code for this operation | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `organization` | [Optional[shared.Organization]](../../models/shared/organization.md) | :heavy_minus_sign: | The updated organization | +| `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_minus_sign: | Raw HTTP response; suitable for custom response parsing | \ No newline at end of file diff --git a/organization/docs/models/shared/organization.md b/organization/docs/models/shared/organization.md index 9472290de..49622bbf9 100755 --- a/organization/docs/models/shared/organization.md +++ b/organization/docs/models/shared/organization.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -| `address` | [Optional[shared.OrganizationAddress]](undefined/models/shared/organizationaddress.md) | :heavy_minus_sign: | N/A | | +| `address` | [Optional[OrganizationAddress]](../../models/shared/organizationaddress.md) | :heavy_minus_sign: | N/A | | | `email` | *Optional[str]* | :heavy_minus_sign: | N/A | someone@epilot.cloud | | `free_user_limit` | *Optional[float]* | :heavy_minus_sign: | N/A | 50 | | `id` | *Optional[str]* | :heavy_minus_sign: | N/A | 739224 | @@ -18,5 +18,5 @@ | `signature` | *Optional[str]* | :heavy_minus_sign: | N/A |

Thanks

| | `style` | dict[str, *Any*] | :heavy_minus_sign: | Organization style setting (e.g. font setting) | | | `symbol` | *Optional[str]* | :heavy_minus_sign: | N/A | EPI | -| `type` | [Optional[shared.OrganizationType]](undefined/models/shared/organizationtype.md) | :heavy_minus_sign: | N/A | | +| `type` | [Optional[OrganizationType]](../../models/shared/organizationtype.md) | :heavy_minus_sign: | N/A | | | `website` | *Optional[str]* | :heavy_minus_sign: | N/A | https://epilot.cloud | \ No newline at end of file diff --git a/organization/docs/models/shared/security.md b/organization/docs/models/shared/security.md index 9e84312f5..f06333390 100755 --- a/organization/docs/models/shared/security.md +++ b/organization/docs/models/shared/security.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | Example | | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `epilot_auth` | *Optional[str]* | :heavy_check_mark: | N/A | | \ No newline at end of file +| `epilot_auth` | *str* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/organization/docs/sdks/organization/README.md b/organization/docs/sdks/organization/README.md index a66378206..7887234c7 100755 --- a/organization/docs/sdks/organization/README.md +++ b/organization/docs/sdks/organization/README.md @@ -34,6 +34,7 @@ res = s.organization.get_organization(req) if res.organization is not None: # handle response + pass ``` ### Parameters @@ -90,6 +91,7 @@ res = s.organization.update_organization(req) if res.organization is not None: # handle response + pass ``` ### Parameters diff --git a/organization/docs/sdks/organizationsettings/README.md b/organization/docs/sdks/organizationsettings/README.md index 77bdd616d..67ac8bcc8 100755 --- a/organization/docs/sdks/organizationsettings/README.md +++ b/organization/docs/sdks/organizationsettings/README.md @@ -36,6 +36,7 @@ res = s.organization_settings.delete_settings_value(req) if res.status_code == 200: # handle response + pass ``` ### Parameters @@ -74,6 +75,7 @@ res = s.organization_settings.get_settings(req) if res.settings is not None: # handle response + pass ``` ### Parameters @@ -116,6 +118,7 @@ res = s.organization_settings.put_settings_value(req) if res.settings_value is not None: # handle response + pass ``` ### Parameters diff --git a/organization/gen.yaml b/organization/gen.yaml index 2ccdc09ad..d132d3560 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.96.1 - generationVersion: 2.150.0 + speakeasyVersion: 1.99.0 + generationVersion: 2.154.1 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.88.4 + core: 2.88.6 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 1.47.0 + version: 1.47.1 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/organization/setup.py b/organization/setup.py index 1b26febe3..6559ffed7 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="1.47.0", + version="1.47.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index b11d1de16..f62716eba 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -17,7 +17,7 @@ class Epilot: sdk_configuration: SDKConfiguration def __init__(self, - epilot_auth: str, + security: shared.Security = None, server_idx: int = None, server_url: str = None, url_params: dict[str, str] = None, @@ -26,8 +26,8 @@ def __init__(self, ) -> None: """Instantiates the SDK configuring it with the provided parameters. - :param epilot_auth: The epilot_auth required for authentication - :type epilot_auth: str + :param security: The security details required for authentication + :type security: shared.Security :param server_idx: The index of the server to use for all operations :type server_idx: int :param server_url: The server URL to use for all operations diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 70ded956b..506a53e04 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -19,9 +19,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.47.0' - gen_version: str = '2.150.0' - user_agent: str = 'speakeasy-sdk/python 1.47.0 2.150.0 1.0.0 epilot-organization' + sdk_version: str = '1.47.1' + gen_version: str = '2.154.1' + user_agent: str = 'speakeasy-sdk/python 1.47.1 2.154.1 1.0.0 epilot-organization' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: From af779d6159ffc630f5efb8211c5601833e2ac72f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 18 Oct 2023 00:27:27 +0000 Subject: [PATCH 81/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.101.0 --- organization/RELEASES.md | 10 +- .../models/operations/getsettingsresponse.md | 2 +- .../operations/putsettingsvaluerequest.md | 2 +- .../operations/putsettingsvalueresponse.md | 2 +- .../docs/models/shared/organization.md | 2 +- .../docs/models/shared/settingsvalue.md | 4 +- organization/gen.yaml | 8 +- organization/pylintrc | 2 +- organization/setup.py | 26 ++-- .../models/operations/deletesettingsvalue.py | 2 - .../models/operations/getorganization.py | 2 - .../epilot/models/operations/getsettings.py | 6 +- .../models/operations/putsettingsvalue.py | 6 +- .../models/operations/updateorganization.py | 2 - .../src/epilot/models/shared/organization.py | 6 +- .../src/epilot/models/shared/security.py | 1 - .../src/epilot/organization_settings.py | 6 +- organization/src/epilot/sdk.py | 5 +- organization/src/epilot/sdkconfiguration.py | 13 +- organization/src/epilot/utils/retries.py | 5 +- organization/src/epilot/utils/utils.py | 117 ++++++++++-------- 21 files changed, 116 insertions(+), 113 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 565dcf94e..d9e3718dc 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -554,4 +554,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.99.0 (2.154.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v1.47.1] organization \ No newline at end of file +- [python v1.47.1] organization + +## 2023-10-18 00:27:13 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.101.0 (2.161.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.0.0] organization \ No newline at end of file diff --git a/organization/docs/models/operations/getsettingsresponse.md b/organization/docs/models/operations/getsettingsresponse.md index 43087a6f1..3b023f359 100755 --- a/organization/docs/models/operations/getsettingsresponse.md +++ b/organization/docs/models/operations/getsettingsresponse.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | | `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | -| `settings` | dict[str, *Any*] | :heavy_minus_sign: | Returns the organization settings | [object Object] | +| `settings` | Dict[str, *Any*] | :heavy_minus_sign: | Returns the organization settings | [object Object] | | `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_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/organization/docs/models/operations/putsettingsvaluerequest.md b/organization/docs/models/operations/putsettingsvaluerequest.md index 60434daea..cf5398f13 100755 --- a/organization/docs/models/operations/putsettingsvaluerequest.md +++ b/organization/docs/models/operations/putsettingsvaluerequest.md @@ -5,6 +5,6 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](../../models/shared/settingsvalue.md) | :heavy_minus_sign: | Value to set | [object Object] | +| `settings_value` | [Optional[Union[str, float, bool, List[Dict[str, Any]], Dict[str, Any]]]](../../models/shared/settingsvalue.md) | :heavy_minus_sign: | Value to set | [object Object] | | `key` | *str* | :heavy_check_mark: | Organization setting key | | | `org_id` | *str* | :heavy_check_mark: | The Id of the organization. | 739224 | \ No newline at end of file diff --git a/organization/docs/models/operations/putsettingsvalueresponse.md b/organization/docs/models/operations/putsettingsvalueresponse.md index 9851f3c53..89fb78814 100755 --- a/organization/docs/models/operations/putsettingsvalueresponse.md +++ b/organization/docs/models/operations/putsettingsvalueresponse.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | | `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | | -| `settings_value` | [Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]](../../models/shared/settingsvalue.md) | :heavy_minus_sign: | Returns the value of the setting | [object Object] | +| `settings_value` | [Optional[Union[str, float, bool, List[Dict[str, Any]], Dict[str, Any]]]](../../models/shared/settingsvalue.md) | :heavy_minus_sign: | Returns the value of the setting | [object Object] | | `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_minus_sign: | Raw HTTP response; suitable for custom response parsing | | \ No newline at end of file diff --git a/organization/docs/models/shared/organization.md b/organization/docs/models/shared/organization.md index 49622bbf9..789e14d9f 100755 --- a/organization/docs/models/shared/organization.md +++ b/organization/docs/models/shared/organization.md @@ -16,7 +16,7 @@ | `phone` | *Optional[str]* | :heavy_minus_sign: | N/A | 49123123123 | | `pricing_tier` | *Optional[str]* | :heavy_minus_sign: | N/A | professional | | `signature` | *Optional[str]* | :heavy_minus_sign: | N/A |

Thanks

| -| `style` | dict[str, *Any*] | :heavy_minus_sign: | Organization style setting (e.g. font setting) | | +| `style` | Dict[str, *Any*] | :heavy_minus_sign: | Organization style setting (e.g. font setting) | | | `symbol` | *Optional[str]* | :heavy_minus_sign: | N/A | EPI | | `type` | [Optional[OrganizationType]](../../models/shared/organizationtype.md) | :heavy_minus_sign: | N/A | | | `website` | *Optional[str]* | :heavy_minus_sign: | N/A | https://epilot.cloud | \ No newline at end of file diff --git a/organization/docs/models/shared/settingsvalue.md b/organization/docs/models/shared/settingsvalue.md index 32b568713..447c5305f 100755 --- a/organization/docs/models/shared/settingsvalue.md +++ b/organization/docs/models/shared/settingsvalue.md @@ -24,12 +24,12 @@ settingsValue: bool = /* values here */ ### ```python -settingsValue: list[dict[str, Any]] = /* values here */ +settingsValue: List[Dict[str, Any]] = /* values here */ ``` ### ```python -settingsValue: dict[str, Any] = /* values here */ +settingsValue: Dict[str, Any] = /* values here */ ``` diff --git a/organization/gen.yaml b/organization/gen.yaml index d132d3560..a57c5f181 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,19 +2,19 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.99.0 - generationVersion: 2.154.1 + speakeasyVersion: 1.101.0 + generationVersion: 2.161.0 generation: sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 2.88.6 + core: 3.0.2 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 1.47.1 + version: 2.0.0 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/organization/pylintrc b/organization/pylintrc index 2a6cf6912..1ed32214e 100755 --- a/organization/pylintrc +++ b/organization/pylintrc @@ -88,7 +88,7 @@ persistent=yes # Minimum Python version to use for version dependent checks. Will default to # the version used to run pylint. -py-version=3.9 +py-version=3.8 # Discover python modules and packages in the file system subtree. recursive=no diff --git a/organization/setup.py b/organization/setup.py index 6559ffed7..80d54c377 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,33 +10,31 @@ setuptools.setup( name="epilot-organization", - version="1.47.1", + version="2.0.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, long_description_content_type="text/markdown", packages=setuptools.find_packages(where="src"), install_requires=[ - "certifi>=2022.12.7", - "charset-normalizer>=2.1.1", + "certifi>=2023.7.22", + "charset-normalizer>=3.2.0", "dataclasses-json>=0.6.1", - "idna>=3.3", + "idna>=3.4", "jsonpath-python>=1.0.6 ", - "marshmallow>=3.17.1", - "marshmallow-enum>=1.5.1", - "mypy-extensions>=0.4.3", - "packaging>=21.3", - "pyparsing>=3.0.9", + "marshmallow>=3.19.0", + "mypy-extensions>=1.0.0", + "packaging>=23.1", "python-dateutil>=2.8.2", - "requests>=2.28.1", + "requests>=2.31.0", "six>=1.16.0", - "typing-inspect>=0.8.0", - "typing_extensions>=4.3.0", - "urllib3>=1.26.12", + "typing-inspect>=0.9.0", + "typing_extensions>=4.7.1", + "urllib3>=2.0.4", ], extras_require={ "dev":["pylint==2.16.2"] }, package_dir={'': 'src'}, - python_requires='>=3.9' + python_requires='>=3.8' ) diff --git a/organization/src/epilot/models/operations/deletesettingsvalue.py b/organization/src/epilot/models/operations/deletesettingsvalue.py index d9429fc7e..72cc3f392 100755 --- a/organization/src/epilot/models/operations/deletesettingsvalue.py +++ b/organization/src/epilot/models/operations/deletesettingsvalue.py @@ -6,7 +6,6 @@ from typing import Optional - @dataclasses.dataclass class DeleteSettingsValueRequest: key: str = dataclasses.field(metadata={'path_param': { 'field_name': 'key', 'style': 'simple', 'explode': False }}) @@ -17,7 +16,6 @@ class DeleteSettingsValueRequest: - @dataclasses.dataclass class DeleteSettingsValueResponse: content_type: str = dataclasses.field() diff --git a/organization/src/epilot/models/operations/getorganization.py b/organization/src/epilot/models/operations/getorganization.py index dec13c583..02730333c 100755 --- a/organization/src/epilot/models/operations/getorganization.py +++ b/organization/src/epilot/models/operations/getorganization.py @@ -7,7 +7,6 @@ from typing import Optional - @dataclasses.dataclass class GetOrganizationRequest: org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) @@ -16,7 +15,6 @@ class GetOrganizationRequest: - @dataclasses.dataclass class GetOrganizationResponse: content_type: str = dataclasses.field() diff --git a/organization/src/epilot/models/operations/getsettings.py b/organization/src/epilot/models/operations/getsettings.py index 0bf3d3c72..7dd87c013 100755 --- a/organization/src/epilot/models/operations/getsettings.py +++ b/organization/src/epilot/models/operations/getsettings.py @@ -3,8 +3,7 @@ from __future__ import annotations import dataclasses import requests as requests_http -from typing import Any, Optional - +from typing import Any, Dict, Optional @dataclasses.dataclass @@ -15,7 +14,6 @@ class GetSettingsRequest: - @dataclasses.dataclass class GetSettingsResponse: content_type: str = dataclasses.field() @@ -24,7 +22,7 @@ class GetSettingsResponse: r"""HTTP response status code for this operation""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) r"""Raw HTTP response; suitable for custom response parsing""" - settings: Optional[dict[str, Any]] = dataclasses.field(default=None) + settings: Optional[Dict[str, Any]] = dataclasses.field(default=None) r"""Returns the organization settings""" diff --git a/organization/src/epilot/models/operations/putsettingsvalue.py b/organization/src/epilot/models/operations/putsettingsvalue.py index 9ed02e625..bb67d6cae 100755 --- a/organization/src/epilot/models/operations/putsettingsvalue.py +++ b/organization/src/epilot/models/operations/putsettingsvalue.py @@ -7,20 +7,18 @@ from typing import Optional, Union - @dataclasses.dataclass class PutSettingsValueRequest: key: str = dataclasses.field(metadata={'path_param': { 'field_name': 'key', 'style': 'simple', 'explode': False }}) r"""Organization setting key""" org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) r"""The Id of the organization.""" - settings_value: Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) + settings_value: Optional[Union[str, float, bool, List[Dict[str, Any]], Dict[str, Any]]] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }}) r"""Value to set""" - @dataclasses.dataclass class PutSettingsValueResponse: content_type: str = dataclasses.field() @@ -29,7 +27,7 @@ class PutSettingsValueResponse: r"""HTTP response status code for this operation""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) r"""Raw HTTP response; suitable for custom response parsing""" - settings_value: Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]] = dataclasses.field(default=None) + settings_value: Optional[Union[str, float, bool, List[Dict[str, Any]], Dict[str, Any]]] = dataclasses.field(default=None) r"""Returns the value of the setting""" diff --git a/organization/src/epilot/models/operations/updateorganization.py b/organization/src/epilot/models/operations/updateorganization.py index 2df839b16..0945f0b8b 100755 --- a/organization/src/epilot/models/operations/updateorganization.py +++ b/organization/src/epilot/models/operations/updateorganization.py @@ -7,7 +7,6 @@ from typing import Optional - @dataclasses.dataclass class UpdateOrganizationRequest: org_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'org_id', 'style': 'simple', 'explode': False }}) @@ -17,7 +16,6 @@ class UpdateOrganizationRequest: - @dataclasses.dataclass class UpdateOrganizationResponse: content_type: str = dataclasses.field() diff --git a/organization/src/epilot/models/shared/organization.py b/organization/src/epilot/models/shared/organization.py index 5767cba41..4c40999da 100755 --- a/organization/src/epilot/models/shared/organization.py +++ b/organization/src/epilot/models/shared/organization.py @@ -5,11 +5,10 @@ from dataclasses_json import Undefined, dataclass_json from enum import Enum from epilot import utils -from typing import Any, Optional +from typing import Any, Dict, Optional @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class OrganizationAddress: city: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('city') }}) @@ -26,7 +25,6 @@ class OrganizationType(str, Enum): @dataclass_json(undefined=Undefined.EXCLUDE) - @dataclasses.dataclass class Organization: address: Optional[OrganizationAddress] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('address'), 'exclude': lambda f: f is None }}) @@ -40,7 +38,7 @@ class Organization: phone: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('phone') }}) pricing_tier: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('pricing_tier') }}) signature: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('signature') }}) - style: Optional[dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('style') }}) + style: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('style') }}) r"""Organization style setting (e.g. font setting)""" symbol: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('symbol') }}) type: Optional[OrganizationType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('type') }}) diff --git a/organization/src/epilot/models/shared/security.py b/organization/src/epilot/models/shared/security.py index e75e944ea..bb832caeb 100755 --- a/organization/src/epilot/models/shared/security.py +++ b/organization/src/epilot/models/shared/security.py @@ -4,7 +4,6 @@ import dataclasses - @dataclasses.dataclass class Security: epilot_auth: str = dataclasses.field(metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }}) diff --git a/organization/src/epilot/organization_settings.py b/organization/src/epilot/organization_settings.py index c4cb5bb08..ecdd3288e 100755 --- a/organization/src/epilot/organization_settings.py +++ b/organization/src/epilot/organization_settings.py @@ -3,7 +3,7 @@ from .sdkconfiguration import SDKConfiguration from epilot import utils from epilot.models import errors, operations -from typing import Any, Optional, Union +from typing import Any, Dict, Optional, Union class OrganizationSettings: r"""Organisation Settings""" @@ -55,7 +55,7 @@ def get_settings(self, request: operations.GetSettingsRequest) -> operations.Get if http_res.status_code == 200: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[dict[str, Any]]) + out = utils.unmarshal_json(http_res.text, Optional[Dict[str, Any]]) res.settings = out else: raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) @@ -86,7 +86,7 @@ def put_settings_value(self, request: operations.PutSettingsValueRequest) -> ope if http_res.status_code == 200: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[Union[str, float, bool, list[dict[str, Any]], dict[str, Any]]]) + out = utils.unmarshal_json(http_res.text, Optional[Union[str, float, bool, List[Dict[str, Any]], Dict[str, Any]]]) res.settings_value = out else: raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) diff --git a/organization/src/epilot/sdk.py b/organization/src/epilot/sdk.py index f62716eba..aa5828570 100755 --- a/organization/src/epilot/sdk.py +++ b/organization/src/epilot/sdk.py @@ -6,6 +6,7 @@ from .sdkconfiguration import SDKConfiguration from epilot import utils from epilot.models import shared +from typing import Dict class Epilot: r"""Organization API: Manage epilot tenant organizations""" @@ -20,7 +21,7 @@ def __init__(self, security: shared.Security = None, server_idx: int = None, server_url: str = None, - url_params: dict[str, str] = None, + url_params: Dict[str, str] = None, client: requests_http.Session = None, retry_config: utils.RetryConfig = None ) -> None: @@ -33,7 +34,7 @@ def __init__(self, :param server_url: The server URL to use for all operations :type server_url: str :param url_params: Parameters to optionally template the server URL with - :type url_params: dict[str, str] + :type url_params: Dict[str, str] :param client: The requests.Session HTTP client to use for all operations :type client: requests_http.Session :param retry_config: The utils.RetryConfig to use globally diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 506a53e04..33451cb6e 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -2,8 +2,9 @@ import requests from dataclasses import dataclass - +from typing import Dict, Tuple from .utils.retries import RetryConfig +from .utils import utils SERVERS = [ @@ -19,14 +20,14 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '1.47.1' - gen_version: str = '2.154.1' - user_agent: str = 'speakeasy-sdk/python 1.47.1 2.154.1 1.0.0 epilot-organization' + sdk_version: str = '2.0.0' + gen_version: str = '2.161.0' + user_agent: str = 'speakeasy-sdk/python 2.0.0 2.161.0 1.0.0 epilot-organization' retry_config: RetryConfig = None - def get_server_details(self) -> tuple[str, dict[str, str]]: + def get_server_details(self) -> Tuple[str, Dict[str, str]]: if self.server_url: - return self.server_url.removesuffix('/'), {} + return utils.remove_suffix(self.server_url, '/'), {} if self.server_idx is None: self.server_idx = 0 diff --git a/organization/src/epilot/utils/retries.py b/organization/src/epilot/utils/retries.py index 2138c1b5e..25f49a1f2 100755 --- a/organization/src/epilot/utils/retries.py +++ b/organization/src/epilot/utils/retries.py @@ -2,6 +2,7 @@ import random import time +from typing import List import requests @@ -32,9 +33,9 @@ def __init__(self, strategy: str, backoff: BackoffStrategy, retry_connection_err class Retries: config: RetryConfig - status_codes: list[str] + status_codes: List[str] - def __init__(self, config: RetryConfig, status_codes: list[str]): + def __init__(self, config: RetryConfig, status_codes: List[str]): self.config = config self.status_codes = status_codes diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py index 4388f3b74..ccfad9f7a 100755 --- a/organization/src/epilot/utils/utils.py +++ b/organization/src/epilot/utils/utils.py @@ -9,7 +9,8 @@ from decimal import Decimal from email.message import Message from enum import Enum -from typing import Any, Callable, Optional, Tuple, Union, get_args, get_origin +from typing import (Any, Callable, Dict, List, Optional, Tuple, Union, + get_args, get_origin) from xmlrpc.client import boolean import dateutil.parser @@ -19,14 +20,14 @@ class SecurityClient: client: requests.Session - query_params: dict[str, str] = {} + query_params: Dict[str, str] = {} def __init__(self, client: requests.Session): self.client = client def request(self, method, url, **kwargs): params = kwargs.get('params', {}) - kwargs["params"] = self.query_params | params + kwargs["params"] = {**self.query_params, **params} return self.client.request(method, url, **kwargs) @@ -69,7 +70,7 @@ def _parse_security_option(client: SecurityClient, option: dataclass): client, metadata, getattr(option, opt_field.name)) -def _parse_security_scheme(client: SecurityClient, scheme_metadata: dict, scheme: any): +def _parse_security_scheme(client: SecurityClient, scheme_metadata: Dict, scheme: any): scheme_type = scheme_metadata.get('type') sub_type = scheme_metadata.get('sub_type') @@ -93,7 +94,7 @@ def _parse_security_scheme(client: SecurityClient, scheme_metadata: dict, scheme client, scheme_metadata, scheme_metadata, scheme) -def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: dict, security_metadata: dict, value: any): +def _parse_security_scheme_value(client: SecurityClient, scheme_metadata: Dict, security_metadata: Dict, value: any): scheme_type = scheme_metadata.get('type') sub_type = scheme_metadata.get('sub_type') @@ -145,7 +146,7 @@ def _parse_basic_auth_scheme(client: SecurityClient, scheme: dataclass): def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass, - gbls: dict[str, dict[str, dict[str, Any]]] = None) -> str: + gbls: Dict[str, Dict[str, Dict[str, Any]]] = None) -> str: path_param_fields: Tuple[Field, ...] = fields(clazz) for field in path_param_fields: request_metadata = field.metadata.get('request') @@ -174,16 +175,16 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass '{' + key + '}', value, 1) else: if param_metadata.get('style', 'simple') == 'simple': - if isinstance(param, list): - pp_vals: list[str] = [] + if isinstance(param, List): + pp_vals: List[str] = [] for pp_val in param: if pp_val is None: continue pp_vals.append(_val_to_string(pp_val)) path = path.replace( '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) - elif isinstance(param, dict): - pp_vals: list[str] = [] + elif isinstance(param, Dict): + pp_vals: List[str] = [] for pp_key in param: if param[pp_key] is None: continue @@ -196,7 +197,7 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass path = path.replace( '{' + param_metadata.get('field_name', field.name) + '}', ",".join(pp_vals), 1) elif not isinstance(param, (str, int, float, complex, bool, Decimal)): - pp_vals: list[str] = [] + pp_vals: List[str] = [] param_fields: Tuple[Field, ...] = fields(param) for param_field in param_fields: param_value_metadata = param_field.metadata.get( @@ -222,14 +223,14 @@ def generate_url(clazz: type, server_url: str, path: str, path_params: dataclass path = path.replace( '{' + param_metadata.get('field_name', field.name) + '}', _val_to_string(param), 1) - return server_url.removesuffix("/") + path + return remove_suffix(server_url, '/') + path def is_optional(field): return get_origin(field) is Union and type(None) in get_args(field) -def template_url(url_with_params: str, params: dict[str, str]) -> str: +def template_url(url_with_params: str, params: Dict[str, str]) -> str: for key, value in params.items(): url_with_params = url_with_params.replace( '{' + key + '}', value) @@ -237,9 +238,9 @@ def template_url(url_with_params: str, params: dict[str, str]) -> str: return url_with_params -def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[str, dict[str, Any]]] = None) -> dict[ - str, list[str]]: - params: dict[str, list[str]] = {} +def get_query_params(clazz: type, query_params: dataclass, gbls: Dict[str, Dict[str, Dict[str, Any]]] = None) -> Dict[ + str, List[str]]: + params: Dict[str, List[str]] = {} param_fields: Tuple[Field, ...] = fields(clazz) for field in param_fields: @@ -269,24 +270,24 @@ def get_query_params(clazz: type, query_params: dataclass, gbls: dict[str, dict[ else: style = metadata.get('style', 'form') if style == 'deepObject': - params = params | _get_deep_object_query_params( - metadata, f_name, value) + params = {**params, **_get_deep_object_query_params( + metadata, f_name, value)} elif style == 'form': - params = params | _get_delimited_query_params( - metadata, f_name, value, ",") + params = {**params, **_get_delimited_query_params( + metadata, f_name, value, ",")} elif style == 'pipeDelimited': - params = params | _get_delimited_query_params( - metadata, f_name, value, "|") + params = {**params, **_get_delimited_query_params( + metadata, f_name, value, "|")} else: raise Exception('not yet implemented') return params -def get_headers(headers_params: dataclass) -> dict[str, str]: +def get_headers(headers_params: dataclass) -> Dict[str, str]: if headers_params is None: return {} - headers: dict[str, str] = {} + headers: Dict[str, str] = {} param_fields: Tuple[Field, ...] = fields(headers_params) for field in param_fields: @@ -303,8 +304,8 @@ def get_headers(headers_params: dataclass) -> dict[str, str]: return headers -def _get_serialized_params(metadata: dict, field_name: str, obj: any) -> dict[str, str]: - params: dict[str, str] = {} +def _get_serialized_params(metadata: Dict, field_name: str, obj: any) -> Dict[str, str]: + params: Dict[str, str] = {} serialization = metadata.get('serialization', '') if serialization == 'json': @@ -313,8 +314,8 @@ def _get_serialized_params(metadata: dict, field_name: str, obj: any) -> dict[st return params -def _get_deep_object_query_params(metadata: dict, field_name: str, obj: any) -> dict[str, list[str]]: - params: dict[str, list[str]] = {} +def _get_deep_object_query_params(metadata: Dict, field_name: str, obj: any) -> Dict[str, List[str]]: + params: Dict[str, List[str]] = {} if obj is None: return params @@ -330,7 +331,7 @@ def _get_deep_object_query_params(metadata: dict, field_name: str, obj: any) -> if obj_val is None: continue - if isinstance(obj_val, list): + if isinstance(obj_val, List): for val in obj_val: if val is None: continue @@ -348,12 +349,12 @@ def _get_deep_object_query_params(metadata: dict, field_name: str, obj: any) -> params[ f'{metadata.get("field_name", field_name)}[{obj_param_metadata.get("field_name", obj_field.name)}]'] = [ _val_to_string(obj_val)] - elif isinstance(obj, dict): + elif isinstance(obj, Dict): for key, value in obj.items(): if value is None: continue - if isinstance(value, list): + if isinstance(value, List): for val in value: if val is None: continue @@ -379,8 +380,8 @@ def _get_query_param_field_name(obj_field: Field) -> str: return obj_param_metadata.get("field_name", obj_field.name) -def _get_delimited_query_params(metadata: dict, field_name: str, obj: any, delimiter: str) -> dict[ - str, list[str]]: +def _get_delimited_query_params(metadata: Dict, field_name: str, obj: any, delimiter: str) -> Dict[ + str, List[str]]: return _populate_form(field_name, metadata.get("explode", True), obj, _get_query_param_field_name, delimiter) @@ -424,7 +425,7 @@ def serialize_request_body(request: dataclass, request_field_name: str, nullable request_val) -def serialize_content_type(field_name: str, media_type: str, request: dataclass, encoder=None) -> Tuple[str, any, list[list[any]]]: +def serialize_content_type(field_name: str, media_type: str, request: dataclass, encoder=None) -> Tuple[str, any, List[List[any]]]: if re.match(r'(application|text)\/.*?\+*json.*', media_type) is not None: return media_type, marshal_json(request, encoder), None if re.match(r'multipart\/.*', media_type) is not None: @@ -440,8 +441,8 @@ def serialize_content_type(field_name: str, media_type: str, request: dataclass, f"invalid request body type {type(request)} for mediaType {media_type}") -def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, any, list[list[any]]]: - form: list[list[any]] = [] +def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, any, List[List[any]]]: + form: List[List[any]] = [] request_fields = fields(request) for field in request_fields: @@ -482,7 +483,7 @@ def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, else: field_name = field_metadata.get( "field_name", field.name) - if isinstance(val, list): + if isinstance(val, List): for value in val: if value is None: continue @@ -493,8 +494,8 @@ def serialize_multipart_form(media_type: str, request: dataclass) -> Tuple[str, return media_type, None, form -def serialize_dict(original: dict, explode: bool, field_name, existing: Optional[dict[str, list[str]]]) -> dict[ - str, list[str]]: +def serialize_dict(original: Dict, explode: bool, field_name, existing: Optional[Dict[str, List[str]]]) -> Dict[ + str, List[str]]: if existing is None: existing = [] @@ -514,8 +515,8 @@ def serialize_dict(original: dict, explode: bool, field_name, existing: Optional return existing -def serialize_form_data(field_name: str, data: dataclass) -> dict[str, any]: - form: dict[str, list[str]] = {} +def serialize_form_data(field_name: str, data: dataclass) -> Dict[str, any]: + form: Dict[str, List[str]] = {} if is_dataclass(data): for field in fields(data): @@ -533,12 +534,12 @@ def serialize_form_data(field_name: str, data: dataclass) -> dict[str, any]: form[field_name] = [marshal_json(val)] else: if metadata.get('style', 'form') == 'form': - form = form | _populate_form( - field_name, metadata.get('explode', True), val, _get_form_field_name, ",") + form = {**form, **_populate_form( + field_name, metadata.get('explode', True), val, _get_form_field_name, ",")} else: raise Exception( f'Invalid form style for field {field.name}') - elif isinstance(data, dict): + elif isinstance(data, Dict): for key, value in data.items(): form[key] = [_val_to_string(value)] else: @@ -557,8 +558,8 @@ def _get_form_field_name(obj_field: Field) -> str: def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_func: Callable, delimiter: str) -> \ - dict[str, list[str]]: - params: dict[str, list[str]] = {} + Dict[str, List[str]]: + params: Dict[str, List[str]] = {} if obj is None: return params @@ -584,7 +585,7 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f if len(items) > 0: params[field_name] = [delimiter.join(items)] - elif isinstance(obj, dict): + elif isinstance(obj, Dict): items = [] for key, value in obj.items(): if value is None: @@ -597,7 +598,7 @@ def _populate_form(field_name: str, explode: boolean, obj: any, get_field_name_f if len(items) > 0: params[field_name] = [delimiter.join(items)] - elif isinstance(obj, list): + elif isinstance(obj, List): items = [] for value in obj: @@ -651,7 +652,7 @@ def _serialize_header(explode: bool, obj: any) -> str: if len(items) > 0: return ','.join(items) - elif isinstance(obj, dict): + elif isinstance(obj, Dict): items = [] for key, value in obj.items(): @@ -666,7 +667,7 @@ def _serialize_header(explode: bool, obj: any) -> str: if len(items) > 0: return ','.join([str(item) for item in items]) - elif isinstance(obj, list): + elif isinstance(obj, List): items = [] for value in obj: @@ -779,7 +780,7 @@ def decimaldecoder(val): def map_encoder(optional: bool, value_encoder: Callable): - def map_encode(val: dict): + def map_encode(val: Dict): if optional and val is None: return None @@ -793,7 +794,7 @@ def map_encode(val: dict): def map_decoder(value_decoder: Callable): - def map_decode(val: dict): + def map_decode(val: Dict): decoded = {} for key, value in val.items(): decoded[key] = value_decoder(value) @@ -804,7 +805,7 @@ def map_decode(val: dict): def list_encoder(optional: bool, value_encoder: Callable): - def list_encode(val: list): + def list_encode(val: List): if optional and val is None: return None @@ -818,7 +819,7 @@ def list_encode(val: list): def list_decoder(value_decoder: Callable): - def list_decode(val: list): + def list_decode(val: List): decoded = [] for value in val: decoded.append(value_decoder(value)) @@ -846,7 +847,7 @@ def _val_to_string(val): return str(val) -def _populate_from_globals(param_name: str, value: any, param_type: str, gbls: dict[str, dict[str, dict[str, Any]]]): +def _populate_from_globals(param_name: str, value: any, param_type: str, gbls: Dict[str, Dict[str, Dict[str, Any]]]): if value is None and gbls is not None: if 'parameters' in gbls: if param_type in gbls['parameters']: @@ -863,3 +864,9 @@ def decode_fx(obj): kls = getattr(sys.modules['sdk.models.shared'], obj[field_name]) return unmarshal_json(json.dumps(obj), kls) return decode_fx + + +def remove_suffix(input_string, suffix): + if suffix and input_string.endswith(suffix): + return input_string[:-len(suffix)] + return input_string From 4ca64aa2421c9ffb4522ebfa99eaf87cec7556d6 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 21 Oct 2023 00:26:08 +0000 Subject: [PATCH 82/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.104.0 --- organization/RELEASES.md | 10 +++++++++- organization/docs/sdks/organization/README.md | 2 +- .../docs/sdks/organizationsettings/README.md | 2 +- organization/gen.yaml | 11 ++++++---- organization/setup.py | 2 +- .../src/epilot/organization_settings.py | 2 +- organization/src/epilot/sdkconfiguration.py | 6 +++--- organization/src/epilot/utils/utils.py | 20 +++++++++++++++++++ 8 files changed, 43 insertions(+), 12 deletions(-) diff --git a/organization/RELEASES.md b/organization/RELEASES.md index d9e3718dc..641e121fd 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -562,4 +562,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.101.0 (2.161.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v2.0.0] organization \ No newline at end of file +- [python v2.0.0] organization + +## 2023-10-21 00:25:53 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.104.0 (2.169.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.1.0] organization \ No newline at end of file diff --git a/organization/docs/sdks/organization/README.md b/organization/docs/sdks/organization/README.md index 7887234c7..879b4810a 100755 --- a/organization/docs/sdks/organization/README.md +++ b/organization/docs/sdks/organization/README.md @@ -79,7 +79,7 @@ req = operations.UpdateOrganizationRequest( pricing_tier='professional', signature='

Thanks

', style={ - "Jersey": 'Aubree', + "key": 'string', }, symbol='EPI', website='https://epilot.cloud', diff --git a/organization/docs/sdks/organizationsettings/README.md b/organization/docs/sdks/organizationsettings/README.md index 67ac8bcc8..6c11d9cae 100755 --- a/organization/docs/sdks/organizationsettings/README.md +++ b/organization/docs/sdks/organizationsettings/README.md @@ -108,7 +108,7 @@ s = epilot.Epilot( req = operations.PutSettingsValueRequest( { - "enabled": 'Solutions', + "enabled": 'string', }, key='', org_id='739224', diff --git a/organization/gen.yaml b/organization/gen.yaml index a57c5f181..3bc6d4350 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,21 +2,24 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.101.0 - generationVersion: 2.161.0 + speakeasyVersion: 1.104.0 + generationVersion: 2.169.0 generation: + repoURL: https://github.com/epilot-dev/sdk-python.git sdkClassName: epilot singleTagPerOp: false telemetryEnabled: false features: python: - core: 3.0.2 + core: 3.3.0 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 2.0.0 + version: 2.1.0 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false + installationURL: https://github.com/epilot-dev/sdk-python.git#subdirectory=organization maxMethodParams: 0 packageName: epilot-organization + repoSubDirectory: organization diff --git a/organization/setup.py b/organization/setup.py index 80d54c377..20bfcd853 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="2.0.0", + version="2.1.0", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/organization_settings.py b/organization/src/epilot/organization_settings.py index ecdd3288e..b12f0d4e4 100755 --- a/organization/src/epilot/organization_settings.py +++ b/organization/src/epilot/organization_settings.py @@ -3,7 +3,7 @@ from .sdkconfiguration import SDKConfiguration from epilot import utils from epilot.models import errors, operations -from typing import Any, Dict, Optional, Union +from typing import Any, Dict, List, Optional, Union class OrganizationSettings: r"""Organisation Settings""" diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 33451cb6e..74d689cb3 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -20,9 +20,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '2.0.0' - gen_version: str = '2.161.0' - user_agent: str = 'speakeasy-sdk/python 2.0.0 2.161.0 1.0.0 epilot-organization' + sdk_version: str = '2.1.0' + gen_version: str = '2.169.0' + user_agent: str = 'speakeasy-sdk/python 2.1.0 2.169.0 1.0.0 epilot-organization' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: diff --git a/organization/src/epilot/utils/utils.py b/organization/src/epilot/utils/utils.py index ccfad9f7a..3ab126104 100755 --- a/organization/src/epilot/utils/utils.py +++ b/organization/src/epilot/utils/utils.py @@ -759,6 +759,8 @@ def bigintencode(val: int): def bigintdecoder(val): + if isinstance(val, float): + raise ValueError(f"{val} is a float") return int(val) @@ -828,6 +830,24 @@ def list_decode(val: List): return list_decode +def union_encoder(all_encoders: Dict[str, Callable]): + def selective_encoder(val: any): + if type(val) in all_encoders: + return all_encoders[type(val)](val) + return val + return selective_encoder + +def union_decoder(all_decoders: List[Callable]): + def selective_decoder(val: any): + decoded = val + for decoder in all_decoders: + try: + decoded = decoder(val) + break + except (TypeError, ValueError): + continue + return decoded + return selective_decoder def get_field_name(name): def override(_, _field_name=name): From 95cf244a57eb705762bc264274eded57a18f6b5c Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sat, 28 Oct 2023 00:25:52 +0000 Subject: [PATCH 83/83] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.109.0 --- organization/README.md | 99 +++++++++++++++++++++ organization/RELEASES.md | 10 ++- organization/gen.yaml | 8 +- organization/setup.py | 2 +- organization/src/epilot/sdkconfiguration.py | 6 +- 5 files changed, 116 insertions(+), 9 deletions(-) diff --git a/organization/README.md b/organization/README.md index 555d18292..344489065 100755 --- a/organization/README.md +++ b/organization/README.md @@ -66,6 +66,105 @@ return value of `Next` is `None`, then there are no more pages to be fetched. Here's an example of one such pagination call: + + + +# Error Handling + +Handling errors in your SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate Error type. + + + + + + + +# Server Selection + +## Select Server by Index + +You can override the default server globally by passing a server index to the `server_idx: int` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers: + +| # | Server | Variables | +| - | ------ | --------- | +| 0 | `https://organization-v2.sls.epilot.io` | None | + +For example: + + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), + server_idx=0 +) + +req = operations.GetOrganizationRequest( + org_id='739224', +) + +res = s.organization.get_organization(req) + +if res.organization is not None: + # handle response + pass +``` + + +## Override Server URL Per-Client + +The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example: + + +```python +import epilot +from epilot.models import operations, shared + +s = epilot.Epilot( + security=shared.Security( + epilot_auth="", + ), + server_url="https://organization-v2.sls.epilot.io" +) + +req = operations.GetOrganizationRequest( + org_id='739224', +) + +res = s.organization.get_organization(req) + +if res.organization is not None: + # handle response + pass +``` + + + + + +# Custom HTTP Client + +The Python SDK makes API calls using the (requests)[https://pypi.org/project/requests/] HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom `requests.Session` object. + + +For example, you could specify a header for every request that your sdk makes as follows: + +```python +import epilot +import requests + +http_client = requests.Session() +http_client.headers.update({'x-custom-header': 'someValue'}) +s = epilot.Epilot(client: http_client) +``` + + + + diff --git a/organization/RELEASES.md b/organization/RELEASES.md index 641e121fd..46ea4e0eb 100644 --- a/organization/RELEASES.md +++ b/organization/RELEASES.md @@ -570,4 +570,12 @@ Based on: - OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml - Speakeasy CLI 1.104.0 (2.169.0) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v2.1.0] organization \ No newline at end of file +- [python v2.1.0] organization + +## 2023-10-28 00:25:37 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/organization-v2.yaml +- Speakeasy CLI 1.109.0 (2.173.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.1.1] organization \ No newline at end of file diff --git a/organization/gen.yaml b/organization/gen.yaml index 3bc6d4350..4b18d8197 100644 --- a/organization/gen.yaml +++ b/organization/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: ff6632bc60e3c04c39f8eb7374536204 docVersion: 1.0.0 - speakeasyVersion: 1.104.0 - generationVersion: 2.169.0 + speakeasyVersion: 1.109.0 + generationVersion: 2.173.0 generation: repoURL: https://github.com/epilot-dev/sdk-python.git sdkClassName: epilot @@ -11,11 +11,11 @@ generation: telemetryEnabled: false features: python: - core: 3.3.0 + core: 3.3.1 globalSecurity: 2.82.0 globalServerURLs: 2.82.0 python: - version: 2.1.0 + version: 2.1.1 author: epilot description: Python Client SDK for Epilot flattenGlobalSecurity: false diff --git a/organization/setup.py b/organization/setup.py index 20bfcd853..0c74efe62 100755 --- a/organization/setup.py +++ b/organization/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="epilot-organization", - version="2.1.0", + version="2.1.1", author="epilot", description="Python Client SDK for Epilot", long_description=long_description, diff --git a/organization/src/epilot/sdkconfiguration.py b/organization/src/epilot/sdkconfiguration.py index 74d689cb3..53184b30b 100755 --- a/organization/src/epilot/sdkconfiguration.py +++ b/organization/src/epilot/sdkconfiguration.py @@ -20,9 +20,9 @@ class SDKConfiguration: server_idx: int = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '2.1.0' - gen_version: str = '2.169.0' - user_agent: str = 'speakeasy-sdk/python 2.1.0 2.169.0 1.0.0 epilot-organization' + sdk_version: str = '2.1.1' + gen_version: str = '2.173.0' + user_agent: str = 'speakeasy-sdk/python 2.1.1 2.173.0 1.0.0 epilot-organization' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: